Class ExclusionWindow (0.5.9)

ExclusionWindow(mapping=None, *, ignore_unknown_fields=False, **kwargs)

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

This message has oneof_ fields (mutually exclusive fields). For each oneof, at most one member field can be set at the same time. Setting any member of the oneof automatically clears all other members.

.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields

Attributes

Name Description
start_time google.type.timeofday_pb2.TimeOfDay
Required. Specifies the start time of the window using time of the day in UTC.
duration google.protobuf.duration_pb2.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 google.type.date_pb2.Date
No recurrence. The exclusion window occurs only once and on this date in UTC. This field is a member of oneof_ recurrence.
daily bool
The exclusion window occurs every day if set to "True". Specifying this field to "False" is an error. This field is a member of oneof_ recurrence.
days_of_week google.cloud.gke_backup_v1.types.ExclusionWindow.DayOfWeekList
The exclusion window occurs on these days of each week in UTC. This field is a member of oneof_ recurrence.

Classes

DayOfWeekList

DayOfWeekList(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Holds repeated DaysOfWeek values as a container.