class Google::Apis::ComputeV1::ResourcePolicyWeeklyCycle
Time window specified for weekly operations.
Attributes
day_of_weeks[RW]
Up to 7 intervals/windows, one for each day of the week. Corresponds to the JSON property `dayOfWeeks` @return [Array<Google::Apis::ComputeV1::ResourcePolicyWeeklyCycleDayOfWeek>]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/compute_v1/classes.rb, line 29110 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/compute_v1/classes.rb, line 29115 def update!(**args) @day_of_weeks = args[:day_of_weeks] if args.key?(:day_of_weeks) end