Class: Google::Apis::DeploymentmanagerAlpha::DeploymentsStopRequest
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::DeploymentmanagerAlpha::DeploymentsStopRequest
 
- 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
- 
  
    
      #fingerprint  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Specifies a fingerprint for stop() requests. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ DeploymentsStopRequest 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of DeploymentsStopRequest. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ DeploymentsStopRequest
Returns a new instance of DeploymentsStopRequest
| 828 829 830 | # File 'generated/google/apis/deploymentmanager_alpha/classes.rb', line 828 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#fingerprint ⇒ String
Specifies a fingerprint for stop() requests. A fingerprint is a randomly
generated value that must be provided in stop() requests to perform optimistic
locking. This ensures optimistic concurrency so that the deployment does not
have conflicting requests (e.g. if someone attempts to make a new update
request while another user attempts to stop an ongoing update request, this
would prevent a collision).
The fingerprint is initially generated by Deployment Manager and changes after
every request to modify a deployment. To get the latest fingerprint value,
perform a get() request on the deployment.
Corresponds to the JSON property fingerprint
NOTE: Values are automatically base64 encoded/decoded in the client library.
| 826 827 828 | # File 'generated/google/apis/deploymentmanager_alpha/classes.rb', line 826 def fingerprint @fingerprint end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 833 834 835 | # File 'generated/google/apis/deploymentmanager_alpha/classes.rb', line 833 def update!(**args) @fingerprint = args[:fingerprint] if args.key?(:fingerprint) end |