Class: Google::Apis::GkehubV1alpha::RolloutStage
- Inherits:
-
Object
- Object
- Google::Apis::GkehubV1alpha::RolloutStage
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/gkehub_v1alpha/classes.rb,
lib/google/apis/gkehub_v1alpha/representations.rb,
lib/google/apis/gkehub_v1alpha/representations.rb
Overview
Stage represents a single stage in the Rollout.
Instance Attribute Summary collapse
-
#end_time ⇒ String
Optional.
-
#soak_duration ⇒ String
Optional.
-
#stage_number ⇒ Fixnum
Output only.
-
#start_time ⇒ String
Optional.
-
#state ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ RolloutStage
constructor
A new instance of RolloutStage.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ RolloutStage
Returns a new instance of RolloutStage.
6388 6389 6390 |
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 6388 def initialize(**args) update!(**args) end |
Instance Attribute Details
#end_time ⇒ String
Optional. Output only. The time at which the wave ended.
Corresponds to the JSON property endTime
6366 6367 6368 |
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 6366 def end_time @end_time end |
#soak_duration ⇒ String
Optional. Duration to soak after this wave before starting the next wave.
Corresponds to the JSON property soakDuration
6371 6372 6373 |
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 6371 def soak_duration @soak_duration end |
#stage_number ⇒ Fixnum
Output only. The wave number to which this status applies.
Corresponds to the JSON property stageNumber
6376 6377 6378 |
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 6376 def stage_number @stage_number end |
#start_time ⇒ String
Optional. Output only. The time at which the wave started.
Corresponds to the JSON property startTime
6381 6382 6383 |
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 6381 def start_time @start_time end |
#state ⇒ String
Output only. The state of the wave.
Corresponds to the JSON property state
6386 6387 6388 |
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 6386 def state @state end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
6393 6394 6395 6396 6397 6398 6399 |
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 6393 def update!(**args) @end_time = args[:end_time] if args.key?(:end_time) @soak_duration = args[:soak_duration] if args.key?(:soak_duration) @stage_number = args[:stage_number] if args.key?(:stage_number) @start_time = args[:start_time] if args.key?(:start_time) @state = args[:state] if args.key?(:state) end |