Class: Google::Apis::ComputeBeta::ResourcePolicyWeeklyCycle
- Inherits:
-
Object
- Object
- Google::Apis::ComputeBeta::ResourcePolicyWeeklyCycle
- Defined in:
- generated/google/apis/compute_beta/classes.rb,
generated/google/apis/compute_beta/representations.rb,
generated/google/apis/compute_beta/representations.rb
Overview
Time window specified for weekly operations.
Instance Attribute Summary collapse
-
#day_of_weeks ⇒ Array<Google::Apis::ComputeBeta::ResourcePolicyWeeklyCycleDayOfWeek>
Up to 7 intervals/windows, one for each day of the week.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ResourcePolicyWeeklyCycle
constructor
A new instance of ResourcePolicyWeeklyCycle.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Google::Apis::Core::JsonObjectSupport
Methods included from Google::Apis::Core::Hashable
Constructor Details
#initialize(**args) ⇒ ResourcePolicyWeeklyCycle
Returns a new instance of ResourcePolicyWeeklyCycle
21962 21963 21964 |
# File 'generated/google/apis/compute_beta/classes.rb', line 21962 def initialize(**args) update!(**args) end |
Instance Attribute Details
#day_of_weeks ⇒ Array<Google::Apis::ComputeBeta::ResourcePolicyWeeklyCycleDayOfWeek>
Up to 7 intervals/windows, one for each day of the week.
Corresponds to the JSON property dayOfWeeks
21960 21961 21962 |
# File 'generated/google/apis/compute_beta/classes.rb', line 21960 def day_of_weeks @day_of_weeks end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
21967 21968 21969 |
# File 'generated/google/apis/compute_beta/classes.rb', line 21967 def update!(**args) @day_of_weeks = args[:day_of_weeks] if args.key?(:day_of_weeks) end |