Class: Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaSerializedFile
- Inherits:
-
Object
- Object
- Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaSerializedFile
- 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
-
#content ⇒ String
String representation of the file content.
-
#file ⇒ String
File information like Integration version, Integration Config variables etc.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudIntegrationsV1alphaSerializedFile
constructor
A new instance of GoogleCloudIntegrationsV1alphaSerializedFile.
-
#update!(**args) ⇒ Object
Update properties of this object.
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
#content ⇒ String
String representation of the file content.
Corresponds to the JSON property content
10158 10159 10160 |
# File 'lib/google/apis/integrations_v1/classes.rb', line 10158 def content @content end |
#file ⇒ String
File information like Integration version, Integration Config variables etc.
Corresponds to the JSON property file
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 |