Reference documentation and code samples for the Google Cloud Compute V1 API class Google::Cloud::Compute::V1::ResourcePolicyWeeklyCycle.
Time window specified for weekly operations.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#day_of_weeks
def day_of_weeks() -> ::Array<::Google::Cloud::Compute::V1::ResourcePolicyWeeklyCycleDayOfWeek>
Returns
- (::Array<::Google::Cloud::Compute::V1::ResourcePolicyWeeklyCycleDayOfWeek>) — Up to 7 intervals/windows, one for each day of the week.
#day_of_weeks=
def day_of_weeks=(value) -> ::Array<::Google::Cloud::Compute::V1::ResourcePolicyWeeklyCycleDayOfWeek>
Parameter
- value (::Array<::Google::Cloud::Compute::V1::ResourcePolicyWeeklyCycleDayOfWeek>) — Up to 7 intervals/windows, one for each day of the week.
Returns
- (::Array<::Google::Cloud::Compute::V1::ResourcePolicyWeeklyCycleDayOfWeek>) — Up to 7 intervals/windows, one for each day of the week.