Class: Google::Apis::ClouddeployV1::CancelRolloutRequest
- Inherits:
-
Object
- Object
- Google::Apis::ClouddeployV1::CancelRolloutRequest
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/clouddeploy_v1/classes.rb,
lib/google/apis/clouddeploy_v1/representations.rb,
lib/google/apis/clouddeploy_v1/representations.rb
Overview
The request object used by CancelRollout
.
Instance Attribute Summary collapse
-
#override_deploy_policy ⇒ Array<String>
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ CancelRolloutRequest
constructor
A new instance of CancelRolloutRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ CancelRolloutRequest
Returns a new instance of CancelRolloutRequest.
1087 1088 1089 |
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 1087 def initialize(**args) update!(**args) end |
Instance Attribute Details
#override_deploy_policy ⇒ Array<String>
Optional. Deploy policies to override. Format is projects/
project/locations/
location/deployPolicies/
deployPolicy`.
Corresponds to the JSON property
overrideDeployPolicy`
1085 1086 1087 |
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 1085 def override_deploy_policy @override_deploy_policy end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1092 1093 1094 |
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 1092 def update!(**args) @override_deploy_policy = args[:override_deploy_policy] if args.key?(:override_deploy_policy) end |