Class: Google::Apis::DeploymentmanagerV2beta2::ImportFile
- Inherits:
-
Object
- Object
- Google::Apis::DeploymentmanagerV2beta2::ImportFile
- Includes:
- Core::Hashable
- Defined in:
- generated/google/apis/deploymentmanager_v2beta2/classes.rb,
generated/google/apis/deploymentmanager_v2beta2/representations.rb,
generated/google/apis/deploymentmanager_v2beta2/representations.rb
Instance Attribute Summary collapse
-
#content ⇒ String
The contents of the file.
-
#name ⇒ String
The name of the file.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ImportFile
constructor
A new instance of ImportFile.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ ImportFile
Returns a new instance of ImportFile
201 202 203 |
# File 'generated/google/apis/deploymentmanager_v2beta2/classes.rb', line 201 def initialize(**args) update!(**args) end |
Instance Attribute Details
#content ⇒ String
The contents of the file.
Corresponds to the JSON property content
194 195 196 |
# File 'generated/google/apis/deploymentmanager_v2beta2/classes.rb', line 194 def content @content end |
#name ⇒ String
The name of the file.
Corresponds to the JSON property name
199 200 201 |
# File 'generated/google/apis/deploymentmanager_v2beta2/classes.rb', line 199 def name @name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
206 207 208 209 |
# File 'generated/google/apis/deploymentmanager_v2beta2/classes.rb', line 206 def update!(**args) @content = args[:content] unless args[:content].nil? @name = args[:name] unless args[:name].nil? end |