class Google::Apis::DeploymentmanagerV2::DeploymentsStopRequest
Attributes
fingerprint[RW]
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` @return [String]
Public Class Methods
new(**args)
click to toggle source
# File generated/google/apis/deploymentmanager_v2/classes.rb, line 291 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File generated/google/apis/deploymentmanager_v2/classes.rb, line 296 def update!(**args) @fingerprint = args[:fingerprint] if args.key?(:fingerprint) end