Class: Google::Apis::GkehubV1alpha::WaveSchedule

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

Instance Method Summary collapse

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_timeString

Output only. The time at which the wave ends. Corresponds to the JSON property waveEndTime

Returns:

  • (String)


7323
7324
7325
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 7323

def wave_end_time
  @wave_end_time
end

#wave_numberFixnum

Output only. The wave number to which this schedule applies. Corresponds to the JSON property waveNumber

Returns:

  • (Fixnum)


7328
7329
7330
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 7328

def wave_number
  @wave_number
end

#wave_start_timeString

Output only. The time at which the wave starts. Corresponds to the JSON property waveStartTime

Returns:

  • (String)


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