Class: Google::Apis::DeploymentmanagerAlpha::DeploymentUpdate
- Inherits:
-
Object
- Object
- Google::Apis::DeploymentmanagerAlpha::DeploymentUpdate
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/deploymentmanager_alpha/classes.rb,
generated/google/apis/deploymentmanager_alpha/representations.rb,
generated/google/apis/deploymentmanager_alpha/representations.rb
Instance Attribute Summary collapse
-
#credential ⇒ Google::Apis::DeploymentmanagerAlpha::Credential
The credential used by Deployment Manager and TypeProvider.
-
#description ⇒ String
Output only.
-
#labels ⇒ Array<Google::Apis::DeploymentmanagerAlpha::DeploymentUpdateLabelEntry>
Output only.
-
#manifest ⇒ String
Output only.
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
722 723 724 |
# File 'generated/google/apis/deploymentmanager_alpha/classes.rb', line 722 def initialize(**args) update!(**args) end |
Instance Attribute Details
#credential ⇒ Google::Apis::DeploymentmanagerAlpha::Credential
The credential used by Deployment Manager and TypeProvider. Only one of the
options is permitted.
Corresponds to the JSON property credential
699 700 701 |
# File 'generated/google/apis/deploymentmanager_alpha/classes.rb', line 699 def credential @credential end |
#description ⇒ String
Output only. An optional user-provided description of the deployment after the
current update has been applied.
Corresponds to the JSON property description
705 706 707 |
# File 'generated/google/apis/deploymentmanager_alpha/classes.rb', line 705 def description @description end |
#labels ⇒ Array<Google::Apis::DeploymentmanagerAlpha::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
714 715 716 |
# File 'generated/google/apis/deploymentmanager_alpha/classes.rb', line 714 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
720 721 722 |
# File 'generated/google/apis/deploymentmanager_alpha/classes.rb', line 720 def manifest @manifest end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
727 728 729 730 731 732 |
# File 'generated/google/apis/deploymentmanager_alpha/classes.rb', line 727 def update!(**args) @credential = args[:credential] if args.key?(:credential) @description = args[:description] if args.key?(:description) @labels = args[:labels] if args.key?(:labels) @manifest = args[:manifest] if args.key?(:manifest) end |