Reference documentation and code samples for the Kubernetes Engine V1 API class Google::Cloud::Container::V1::RecurringMaintenanceWindow.
Represents an arbitrary window of time that recurs. Will replace RecurringTimeWindow.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#delay_until
def delay_until() -> ::Google::Type::Date- (::Google::Type::Date) — Optional. Specifies the date before which will not be scheduled. Depending on the recurrence, this may be the date the first window appears. Days are measured in the UTC timezone. This setting must be used when INTERVAL>1 or FREQ=WEEKLY/MONTHLY and no BYDAY specified.
#delay_until=
def delay_until=(value) -> ::Google::Type::Date- value (::Google::Type::Date) — Optional. Specifies the date before which will not be scheduled. Depending on the recurrence, this may be the date the first window appears. Days are measured in the UTC timezone. This setting must be used when INTERVAL>1 or FREQ=WEEKLY/MONTHLY and no BYDAY specified.
- (::Google::Type::Date) — Optional. Specifies the date before which will not be scheduled. Depending on the recurrence, this may be the date the first window appears. Days are measured in the UTC timezone. This setting must be used when INTERVAL>1 or FREQ=WEEKLY/MONTHLY and no BYDAY specified.
#recurrence
def recurrence() -> ::String-
(::String) — Required. An RRULE (https://tools.ietf.org/html/rfc5545#section-3.8.5.3)
for how this window recurs.
For example, to have something repeat every weekday, you'd use:
FREQ=WEEKLY;BYDAY=MO,TU,WE,TH,FRTo repeat some window daily (equivalent to the DailyMaintenanceWindow):
FREQ=DAILYFor the first weekend of every month:
FREQ=MONTHLY;BYSETPOS=1;BYDAY=SA,SUThe FREQ values of HOURLY, MINUTELY, and SECONDLY are not supported.
#recurrence=
def recurrence=(value) -> ::String-
value (::String) — Required. An RRULE (https://tools.ietf.org/html/rfc5545#section-3.8.5.3)
for how this window recurs.
For example, to have something repeat every weekday, you'd use:
FREQ=WEEKLY;BYDAY=MO,TU,WE,TH,FRTo repeat some window daily (equivalent to the DailyMaintenanceWindow):
FREQ=DAILYFor the first weekend of every month:
FREQ=MONTHLY;BYSETPOS=1;BYDAY=SA,SUThe FREQ values of HOURLY, MINUTELY, and SECONDLY are not supported.
-
(::String) — Required. An RRULE (https://tools.ietf.org/html/rfc5545#section-3.8.5.3)
for how this window recurs.
For example, to have something repeat every weekday, you'd use:
FREQ=WEEKLY;BYDAY=MO,TU,WE,TH,FRTo repeat some window daily (equivalent to the DailyMaintenanceWindow):
FREQ=DAILYFor the first weekend of every month:
FREQ=MONTHLY;BYSETPOS=1;BYDAY=SA,SUThe FREQ values of HOURLY, MINUTELY, and SECONDLY are not supported.
#window_duration
def window_duration() -> ::Google::Protobuf::Duration- (::Google::Protobuf::Duration) — Required. Duration of the window.
#window_duration=
def window_duration=(value) -> ::Google::Protobuf::Duration- value (::Google::Protobuf::Duration) — Required. Duration of the window.
- (::Google::Protobuf::Duration) — Required. Duration of the window.
#window_start_time
def window_start_time() -> ::Google::Type::TimeOfDay- (::Google::Type::TimeOfDay) — Required. Start time of the window on days that it is scheduled, assuming UTC timezone.
#window_start_time=
def window_start_time=(value) -> ::Google::Type::TimeOfDay- value (::Google::Type::TimeOfDay) — Required. Start time of the window on days that it is scheduled, assuming UTC timezone.
- (::Google::Type::TimeOfDay) — Required. Start time of the window on days that it is scheduled, assuming UTC timezone.