Backup for GKE V1 API - Class Google::Cloud::GkeBackup::V1::ExclusionWindow (v0.10.0)

Reference documentation and code samples for the Backup for GKE V1 API class Google::Cloud::GkeBackup::V1::ExclusionWindow.

Defines a time window during which no backup should happen. All time and date are in UTC.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#daily

def daily() -> ::Boolean
Returns
  • (::Boolean) — The exclusion window occurs every day if set to "True". Specifying this field to "False" is an error.

#daily=

def daily=(value) -> ::Boolean
Parameter
  • value (::Boolean) — The exclusion window occurs every day if set to "True". Specifying this field to "False" is an error.
Returns
  • (::Boolean) — The exclusion window occurs every day if set to "True". Specifying this field to "False" is an error.

#days_of_week

def days_of_week() -> ::Google::Cloud::GkeBackup::V1::ExclusionWindow::DayOfWeekList
Returns

#days_of_week=

def days_of_week=(value) -> ::Google::Cloud::GkeBackup::V1::ExclusionWindow::DayOfWeekList
Parameter
Returns

#duration

def duration() -> ::Google::Protobuf::Duration
Returns
  • (::Google::Protobuf::Duration) —

    Required. Specifies duration of the window. Duration must be >= 5 minutes and < (target RPO - 20 minutes). Additional restrictions based on the recurrence type to allow some time for backup to happen:

    • single_occurrence_date: no restriction, but UI may warn about this when duration >= target RPO
    • daily window: duration < 24 hours
    • weekly window:
      • days of week includes all seven days of a week: duration < 24 hours
      • all other weekly window: duration < 168 hours (i.e., 24 * 7 hours)

#duration=

def duration=(value) -> ::Google::Protobuf::Duration
Parameter
  • value (::Google::Protobuf::Duration) —

    Required. Specifies duration of the window. Duration must be >= 5 minutes and < (target RPO - 20 minutes). Additional restrictions based on the recurrence type to allow some time for backup to happen:

    • single_occurrence_date: no restriction, but UI may warn about this when duration >= target RPO
    • daily window: duration < 24 hours
    • weekly window:
      • days of week includes all seven days of a week: duration < 24 hours
      • all other weekly window: duration < 168 hours (i.e., 24 * 7 hours)
Returns
  • (::Google::Protobuf::Duration) —

    Required. Specifies duration of the window. Duration must be >= 5 minutes and < (target RPO - 20 minutes). Additional restrictions based on the recurrence type to allow some time for backup to happen:

    • single_occurrence_date: no restriction, but UI may warn about this when duration >= target RPO
    • daily window: duration < 24 hours
    • weekly window:
      • days of week includes all seven days of a week: duration < 24 hours
      • all other weekly window: duration < 168 hours (i.e., 24 * 7 hours)

#single_occurrence_date

def single_occurrence_date() -> ::Google::Type::Date
Returns
  • (::Google::Type::Date) — No recurrence. The exclusion window occurs only once and on this date in UTC.

#single_occurrence_date=

def single_occurrence_date=(value) -> ::Google::Type::Date
Parameter
  • value (::Google::Type::Date) — No recurrence. The exclusion window occurs only once and on this date in UTC.
Returns
  • (::Google::Type::Date) — No recurrence. The exclusion window occurs only once and on this date in UTC.

#start_time

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

#start_time=

def start_time=(value) -> ::Google::Type::TimeOfDay
Parameter
Returns