Kubernetes Engine V1 API - Class Google::Cloud::Container::V1::RecurringMaintenanceWindow (v1.15.0)

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
Returns
  • (::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
Parameter
  • 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.
Returns
  • (::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
Returns
  • (::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,FR

    To repeat some window daily (equivalent to the DailyMaintenanceWindow): FREQ=DAILY

    For the first weekend of every month: FREQ=MONTHLY;BYSETPOS=1;BYDAY=SA,SU

    The FREQ values of HOURLY, MINUTELY, and SECONDLY are not supported.

#recurrence=

def recurrence=(value) -> ::String
Parameter
  • 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,FR

    To repeat some window daily (equivalent to the DailyMaintenanceWindow): FREQ=DAILY

    For the first weekend of every month: FREQ=MONTHLY;BYSETPOS=1;BYDAY=SA,SU

    The FREQ values of HOURLY, MINUTELY, and SECONDLY are not supported.

Returns
  • (::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,FR

    To repeat some window daily (equivalent to the DailyMaintenanceWindow): FREQ=DAILY

    For the first weekend of every month: FREQ=MONTHLY;BYSETPOS=1;BYDAY=SA,SU

    The FREQ values of HOURLY, MINUTELY, and SECONDLY are not supported.

#window_duration

def window_duration() -> ::Google::Protobuf::Duration
Returns

#window_duration=

def window_duration=(value) -> ::Google::Protobuf::Duration
Parameter
Returns

#window_start_time

def window_start_time() -> ::Google::Type::TimeOfDay
Returns

#window_start_time=

def window_start_time=(value) -> ::Google::Type::TimeOfDay
Parameter
  • value (::Google::Type::TimeOfDay) — Required. Start time of the window on days that it is scheduled, assuming UTC timezone.
Returns