Class: Google::Apis::ClouddeployV1::AdvanceRolloutRequest

Inherits:
Object
  • Object
show all
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 AdvanceRollout.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ AdvanceRolloutRequest

Returns a new instance of AdvanceRolloutRequest.



138
139
140
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 138

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#phase_idString

Required. The phase ID to advance the Rollout to. Corresponds to the JSON property phaseId

Returns:

  • (String)


136
137
138
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 136

def phase_id
  @phase_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



143
144
145
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 143

def update!(**args)
  @phase_id = args[:phase_id] if args.key?(:phase_id)
end