Class: Google::Apis::GkehubV1alpha::WaveSchedule
- Inherits:
-
Object
- Object
- Google::Apis::GkehubV1alpha::WaveSchedule
- 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
WaveSchedule represents the schedule of a single rollout wave.
Instance Attribute Summary collapse
-
#wave_end_time ⇒ String
Output only.
-
#wave_number ⇒ Fixnum
Output only.
-
#wave_start_time ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ WaveSchedule
constructor
A new instance of WaveSchedule.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ WaveSchedule
Returns a new instance of WaveSchedule.
7335 7336 7337 |
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 7335 def initialize(**args) update!(**args) end |
Instance Attribute Details
#wave_end_time ⇒ String
Output only. The time at which the wave ends.
Corresponds to the JSON property waveEndTime
7323 7324 7325 |
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 7323 def wave_end_time @wave_end_time end |
#wave_number ⇒ Fixnum
Output only. The wave number to which this schedule applies.
Corresponds to the JSON property waveNumber
7328 7329 7330 |
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 7328 def wave_number @wave_number end |
#wave_start_time ⇒ String
Output only. The time at which the wave starts.
Corresponds to the JSON property waveStartTime
7333 7334 7335 |
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 7333 def wave_start_time @wave_start_time end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
7340 7341 7342 7343 7344 |
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 7340 def update!(**args) @wave_end_time = args[:wave_end_time] if args.key?(:wave_end_time) @wave_number = args[:wave_number] if args.key?(:wave_number) @wave_start_time = args[:wave_start_time] if args.key?(:wave_start_time) end |