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
- (::Boolean) — The exclusion window occurs every day if set to "True". Specifying this field to "False" is an error.
#daily=
def daily=(value) -> ::Boolean
- value (::Boolean) — The exclusion window occurs every day if set to "True". Specifying this field to "False" is an error.
- (::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
- (::Google::Cloud::GkeBackup::V1::ExclusionWindow::DayOfWeekList) — The exclusion window occurs on these days of each week in UTC.
#days_of_week=
def days_of_week=(value) -> ::Google::Cloud::GkeBackup::V1::ExclusionWindow::DayOfWeekList
- value (::Google::Cloud::GkeBackup::V1::ExclusionWindow::DayOfWeekList) — The exclusion window occurs on these days of each week in UTC.
- (::Google::Cloud::GkeBackup::V1::ExclusionWindow::DayOfWeekList) — The exclusion window occurs on these days of each week in UTC.
#duration
def duration() -> ::Google::Protobuf::Duration
-
(::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
-
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)
-
(::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
- (::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
- value (::Google::Type::Date) — No recurrence. The exclusion window occurs only once and on this date in UTC.
- (::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
- (::Google::Type::TimeOfDay) — Required. Specifies the start time of the window using time of the day in UTC.
#start_time=
def start_time=(value) -> ::Google::Type::TimeOfDay
- value (::Google::Type::TimeOfDay) — Required. Specifies the start time of the window using time of the day in UTC.
- (::Google::Type::TimeOfDay) — Required. Specifies the start time of the window using time of the day in UTC.