class Google::Apis::ClouddeployV1::ApproveRolloutRequest

The request object used by ‘ApproveRollout`.

Attributes

approved[RW]

Required. True = approve; false = reject Corresponds to the JSON property ‘approved` @return [Boolean]

approved?[RW]

Required. True = approve; false = reject Corresponds to the JSON property ‘approved` @return [Boolean]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/clouddeploy_v1/classes.rb, line 56
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/clouddeploy_v1/classes.rb, line 61
def update!(**args)
  @approved = args[:approved] if args.key?(:approved)
end