Class: Google::Apis::ClouddeployV1::ApproveRolloutRequest
- Inherits:
-
Object
- Object
- Google::Apis::ClouddeployV1::ApproveRolloutRequest
- 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 ApproveRollout.
Instance Attribute Summary collapse
-
#approved ⇒ Boolean
(also: #approved?)
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ApproveRolloutRequest
constructor
A new instance of ApproveRolloutRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ApproveRolloutRequest
Returns a new instance of ApproveRolloutRequest.
155 156 157 |
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 155 def initialize(**args) update!(**args) end |
Instance Attribute Details
#approved ⇒ Boolean Also known as: approved?
Required. True = approve; false = reject
Corresponds to the JSON property approved
152 153 154 |
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 152 def approved @approved end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
160 161 162 |
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 160 def update!(**args) @approved = args[:approved] if args.key?(:approved) end |