Class: Google::Apis::ClouddeployV1::AdvanceRolloutOperation
- Inherits:
-
Object
- Object
- Google::Apis::ClouddeployV1::AdvanceRolloutOperation
- 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
Contains the information of an automated advance-rollout operation.
Instance Attribute Summary collapse
-
#destination_phase ⇒ String
Output only.
-
#rollout ⇒ String
Output only.
-
#source_phase ⇒ String
Output only.
-
#wait ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ AdvanceRolloutOperation
constructor
A new instance of AdvanceRolloutOperation.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ AdvanceRolloutOperation
Returns a new instance of AdvanceRolloutOperation.
116 117 118 |
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 116 def initialize(**args) update!(**args) end |
Instance Attribute Details
#destination_phase ⇒ String
Output only. The phase the rollout will be advanced to.
Corresponds to the JSON property destinationPhase
99 100 101 |
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 99 def destination_phase @destination_phase end |
#rollout ⇒ String
Output only. The name of the rollout that initiates the AutomationRun
.
Corresponds to the JSON property rollout
104 105 106 |
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 104 def rollout @rollout end |
#source_phase ⇒ String
Output only. The phase of a deployment that initiated the operation.
Corresponds to the JSON property sourcePhase
109 110 111 |
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 109 def source_phase @source_phase end |
#wait ⇒ String
Output only. How long the operation will be paused.
Corresponds to the JSON property wait
114 115 116 |
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 114 def wait @wait end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
121 122 123 124 125 126 |
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 121 def update!(**args) @destination_phase = args[:destination_phase] if args.key?(:destination_phase) @rollout = args[:rollout] if args.key?(:rollout) @source_phase = args[:source_phase] if args.key?(:source_phase) @wait = args[:wait] if args.key?(:wait) end |