Class: Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaSerializedFile

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/integrations_v1/classes.rb,
lib/google/apis/integrations_v1/representations.rb,
lib/google/apis/integrations_v1/representations.rb

Overview

To store string representation of Integration file.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudIntegrationsV1alphaSerializedFile

Returns a new instance of GoogleCloudIntegrationsV1alphaSerializedFile.



10165
10166
10167
# File 'lib/google/apis/integrations_v1/classes.rb', line 10165

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#contentString

String representation of the file content. Corresponds to the JSON property content

Returns:

  • (String)


10158
10159
10160
# File 'lib/google/apis/integrations_v1/classes.rb', line 10158

def content
  @content
end

#fileString

File information like Integration version, Integration Config variables etc. Corresponds to the JSON property file

Returns:

  • (String)


10163
10164
10165
# File 'lib/google/apis/integrations_v1/classes.rb', line 10163

def file
  @file
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



10170
10171
10172
10173
# File 'lib/google/apis/integrations_v1/classes.rb', line 10170

def update!(**args)
  @content = args[:content] if args.key?(:content)
  @file = args[:file] if args.key?(:file)
end