public sealed class ExclusionWindow : IMessage<ExclusionWindow>, IEquatable<ExclusionWindow>, IDeepCloneable<ExclusionWindow>, IBufferMessage, IMessageReference documentation and code samples for the Backup for GKE v1 API class ExclusionWindow.
Defines a time window during which no backup should happen. All time and date are in UTC.
Implements
IMessageExclusionWindow, IEquatableExclusionWindow, IDeepCloneableExclusionWindow, IBufferMessage, IMessageNamespace
Google.Cloud.GkeBackup.V1Assembly
Google.Cloud.GkeBackup.V1.dll
Constructors
ExclusionWindow()
public ExclusionWindow()ExclusionWindow(ExclusionWindow)
public ExclusionWindow(ExclusionWindow other)| Parameter | |
|---|---|
| Name | Description |
other |
ExclusionWindow |
Properties
Daily
public bool Daily { get; set; }The exclusion window occurs every day if set to "True". Specifying this field to "False" is an error.
| Property Value | |
|---|---|
| Type | Description |
bool |
|
DaysOfWeek
public ExclusionWindow.Types.DayOfWeekList DaysOfWeek { get; set; }The exclusion window occurs on these days of each week in UTC.
| Property Value | |
|---|---|
| Type | Description |
ExclusionWindowTypesDayOfWeekList |
|
Duration
public Duration Duration { get; set; }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)
| Property Value | |
|---|---|
| Type | Description |
Duration |
|
HasDaily
public bool HasDaily { get; }Gets whether the "daily" field is set
| Property Value | |
|---|---|
| Type | Description |
bool |
|
RecurrenceCase
public ExclusionWindow.RecurrenceOneofCase RecurrenceCase { get; }| Property Value | |
|---|---|
| Type | Description |
ExclusionWindowRecurrenceOneofCase |
|
SingleOccurrenceDate
public Date SingleOccurrenceDate { get; set; }No recurrence. The exclusion window occurs only once and on this date in UTC.
| Property Value | |
|---|---|
| Type | Description |
Date |
|
StartTime
public TimeOfDay StartTime { get; set; }Required. Specifies the start time of the window using time of the day in UTC.
| Property Value | |
|---|---|
| Type | Description |
TimeOfDay |
|