class Google::Apis::DeploymentmanagerAlpha::DeploymentUpdate

Attributes

credential[RW]

The credential used by Deployment Manager and TypeProvider. Only one of the options is permitted. Corresponds to the JSON property `credential` @return [Google::Apis::DeploymentmanagerAlpha::Credential]

description[RW]

Output only. An optional user-provided description of the deployment after the current update has been applied. Corresponds to the JSON property `description` @return [String]

labels[RW]

Map of One Platform 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]([- a-z0-9]*)?` Label values must be between 0 and 63 characters long and must conform to the regular expression `([a-z](*[a-z0-9])?)?`. Corresponds to the JSON property `labels` @return [Array<Google::Apis::DeploymentmanagerAlpha::DeploymentUpdateLabelEntry>]

manifest[RW]

Output only. URL of the manifest representing the update configuration of this deployment. Corresponds to the JSON property `manifest` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/deploymentmanager_alpha/classes.rb, line 684
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/deploymentmanager_alpha/classes.rb, line 689
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