Class: Google::Apis::DeploymentmanagerV2::DeploymentUpdate
- Inherits:
-
Object
- Object
- Google::Apis::DeploymentmanagerV2::DeploymentUpdate
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/deploymentmanager_v2/classes.rb,
generated/google/apis/deploymentmanager_v2/representations.rb,
generated/google/apis/deploymentmanager_v2/representations.rb
Instance Attribute Summary collapse
-
#labels ⇒ Array<Google::Apis::DeploymentmanagerV2::DeploymentUpdateLabelEntry>
[Output Only] Map of labels; provided by the client when the resource is created or updated.
-
#manifest ⇒ String
[Output Only] URL of the manifest representing the update configuration of this deployment.
Instance Method Summary collapse
-
#initialize(**args) ⇒ DeploymentUpdate
constructor
A new instance of DeploymentUpdate.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ DeploymentUpdate
Returns a new instance of DeploymentUpdate.
303 304 305 |
# File 'generated/google/apis/deploymentmanager_v2/classes.rb', line 303 def initialize(**args) update!(**args) end |
Instance Attribute Details
#labels ⇒ Array<Google::Apis::DeploymentmanagerV2::DeploymentUpdateLabelEntry>
[Output Only] Map of labels; provided by the client when the resource is
created or updated. Specifically: Label keys must be between 1 and 63
characters long and must conform to the following regular expression: a-z? Label values must be between 0 and 63 characters long and
must conform to the regular expression (a-z?)?
Corresponds to the JSON property labels
295 296 297 |
# File 'generated/google/apis/deploymentmanager_v2/classes.rb', line 295 def labels @labels end |
#manifest ⇒ String
[Output Only] URL of the manifest representing the update configuration of
this deployment.
Corresponds to the JSON property manifest
301 302 303 |
# File 'generated/google/apis/deploymentmanager_v2/classes.rb', line 301 def manifest @manifest end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
308 309 310 311 |
# File 'generated/google/apis/deploymentmanager_v2/classes.rb', line 308 def update!(**args) @labels = args[:labels] if args.key?(:labels) @manifest = args[:manifest] if args.key?(:manifest) end |