Class: Google::Apis::DeploymentmanagerAlpha::Deployment
- Inherits:
 - 
      Object
      
        
- Object
 - Google::Apis::DeploymentmanagerAlpha::Deployment
 
 
- 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 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
An optional user-provided description of the deployment.
 - 
  
    
      #fingerprint  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Provides a fingerprint to use in requests to modify a deployment, such as update(), stop(), and cancelPreview() requests.
 - 
  
    
      #id  ⇒ Fixnum 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Output only.
 - 
  
    
      #insert_time  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Output only.
 - 
  
    
      #labels  ⇒ Array<Google::Apis::DeploymentmanagerAlpha::DeploymentLabelEntry> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Map of labels; provided by the client when the resource is created or updated.
 - 
  
    
      #manifest  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Output only.
 - 
  
    
      #name  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Name of the resource; provided by the client when the resource is created.
 - 
  
    
      #operation  ⇒ Google::Apis::DeploymentmanagerAlpha::Operation 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
An Operation resource, used to manage asynchronous API requests.
 - 
  
    
      #outputs  ⇒ Array<Google::Apis::DeploymentmanagerAlpha::DeploymentOutputsEntry> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Output only.
 - 
  
    
      #self_link  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Output only.
 - 
  
    
      #target  ⇒ Google::Apis::DeploymentmanagerAlpha::TargetConfiguration 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Corresponds to the JSON property
target. - 
  
    
      #update  ⇒ Google::Apis::DeploymentmanagerAlpha::DeploymentUpdate 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Corresponds to the JSON property
update. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ Deployment 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    
A new instance of Deployment.
 - 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    
Update properties of this object.
 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ Deployment
Returns a new instance of Deployment
      615 616 617  | 
    
      # File 'generated/google/apis/deploymentmanager_alpha/classes.rb', line 615 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
      530 531 532  | 
    
      # File 'generated/google/apis/deploymentmanager_alpha/classes.rb', line 530 def credential @credential end  | 
  
#description ⇒ String
An optional user-provided description of the deployment.
Corresponds to the JSON property description
      535 536 537  | 
    
      # File 'generated/google/apis/deploymentmanager_alpha/classes.rb', line 535 def description @description end  | 
  
#fingerprint ⇒ String
Provides a fingerprint to use in requests to modify a deployment, such as
update(), stop(), and cancelPreview() requests. A fingerprint is a randomly
generated value that must be provided with update(), stop(), and cancelPreview(
) requests to perform optimistic locking. This ensures optimistic concurrency
so that only one request happens at a time.
The fingerprint is initially generated by Deployment Manager and changes after
every request to modify data. To get the latest fingerprint value, perform a
get() request to a deployment.
Corresponds to the JSON property fingerprint
NOTE: Values are automatically base64 encoded/decoded in the client library.
      548 549 550  | 
    
      # File 'generated/google/apis/deploymentmanager_alpha/classes.rb', line 548 def fingerprint @fingerprint end  | 
  
#id ⇒ Fixnum
Output only. Unique identifier for the resource; defined by the server.
Corresponds to the JSON property id
      553 554 555  | 
    
      # File 'generated/google/apis/deploymentmanager_alpha/classes.rb', line 553 def id @id end  | 
  
#insert_time ⇒ String
Output only. Timestamp when the deployment was created, in RFC3339 text format
.
Corresponds to the JSON property insertTime
      559 560 561  | 
    
      # File 'generated/google/apis/deploymentmanager_alpha/classes.rb', line 559 def insert_time @insert_time end  | 
  
#labels ⇒ Array<Google::Apis::DeploymentmanagerAlpha::DeploymentLabelEntry>
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
      568 569 570  | 
    
      # File 'generated/google/apis/deploymentmanager_alpha/classes.rb', line 568 def labels @labels end  | 
  
#manifest ⇒ String
Output only. URL of the manifest representing the last manifest that was
successfully deployed.
Corresponds to the JSON property manifest
      574 575 576  | 
    
      # File 'generated/google/apis/deploymentmanager_alpha/classes.rb', line 574 def manifest @manifest end  | 
  
#name ⇒ String
Name of the resource; provided by the client when the resource is created. The
name must be 1-63 characters long, and comply with RFC1035. Specifically, the
name must be 1-63 characters long and match the regular expression a-z? which means the first character must be a lowercase letter,
and all following characters must be a dash, lowercase letter, or digit,
except the last character, which cannot be a dash.
Corresponds to the JSON property name
      584 585 586  | 
    
      # File 'generated/google/apis/deploymentmanager_alpha/classes.rb', line 584 def name @name end  | 
  
#operation ⇒ Google::Apis::DeploymentmanagerAlpha::Operation
An Operation resource, used to manage asynchronous API requests. (==
resource_for v1.globalOperations ==) (== resource_for beta.globalOperations ==)
(== resource_for v1.regionOperations ==) (== resource_for beta.
regionOperations ==) (== resource_for v1.zoneOperations ==) (== resource_for
beta.zoneOperations ==)
Corresponds to the JSON property operation
      593 594 595  | 
    
      # File 'generated/google/apis/deploymentmanager_alpha/classes.rb', line 593 def operation @operation end  | 
  
#outputs ⇒ Array<Google::Apis::DeploymentmanagerAlpha::DeploymentOutputsEntry>
Output only. Map of outputs from the last manifest that deployed successfully.
Corresponds to the JSON property outputs
      598 599 600  | 
    
      # File 'generated/google/apis/deploymentmanager_alpha/classes.rb', line 598 def outputs @outputs end  | 
  
#self_link ⇒ String
Output only. Self link for the deployment.
Corresponds to the JSON property selfLink
      603 604 605  | 
    
      # File 'generated/google/apis/deploymentmanager_alpha/classes.rb', line 603 def self_link @self_link end  | 
  
#target ⇒ Google::Apis::DeploymentmanagerAlpha::TargetConfiguration
Corresponds to the JSON property target
      608 609 610  | 
    
      # File 'generated/google/apis/deploymentmanager_alpha/classes.rb', line 608 def target @target end  | 
  
#update ⇒ Google::Apis::DeploymentmanagerAlpha::DeploymentUpdate
Corresponds to the JSON property update
      613 614 615  | 
    
      # File 'generated/google/apis/deploymentmanager_alpha/classes.rb', line 613 def update @update end  | 
  
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
      620 621 622 623 624 625 626 627 628 629 630 631 632 633 634  | 
    
      # File 'generated/google/apis/deploymentmanager_alpha/classes.rb', line 620 def update!(**args) @credential = args[:credential] if args.key?(:credential) @description = args[:description] if args.key?(:description) @fingerprint = args[:fingerprint] if args.key?(:fingerprint) @id = args[:id] if args.key?(:id) @insert_time = args[:insert_time] if args.key?(:insert_time) @labels = args[:labels] if args.key?(:labels) @manifest = args[:manifest] if args.key?(:manifest) @name = args[:name] if args.key?(:name) @operation = args[:operation] if args.key?(:operation) @outputs = args[:outputs] if args.key?(:outputs) @self_link = args[:self_link] if args.key?(:self_link) @target = args[:target] if args.key?(:target) @update = args[:update] if args.key?(:update) end  |