Class: Google::Apis::GkehubV1alpha::Schedule

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

Schedule represents the schedule of the Rollout.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ Schedule

Returns a new instance of Schedule.



6461
6462
6463
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 6461

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

Instance Attribute Details

#wavesArray<Google::Apis::GkehubV1alpha::WaveSchedule>

Output only. The schedule of each wave in the Rollout. Corresponds to the JSON property waves



6459
6460
6461
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 6459

def waves
  @waves
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



6466
6467
6468
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 6466

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