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 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 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)
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Google Cloud Gke Backup V1 Client - Class ExclusionWindow (1.2.1)\n\nVersion latestkeyboard_arrow_down\n\n- [1.2.1 (latest)](/php/docs/reference/cloud-gke-backup/latest/V1.ExclusionWindow)\n- [1.2.0](/php/docs/reference/cloud-gke-backup/1.2.0/V1.ExclusionWindow)\n- [1.0.3](/php/docs/reference/cloud-gke-backup/1.0.3/V1.ExclusionWindow)\n- [0.8.1](/php/docs/reference/cloud-gke-backup/0.8.1/V1.ExclusionWindow)\n- [0.7.2](/php/docs/reference/cloud-gke-backup/0.7.2/V1.ExclusionWindow)\n- [0.6.0](/php/docs/reference/cloud-gke-backup/0.6.0/V1.ExclusionWindow)\n- [0.5.3](/php/docs/reference/cloud-gke-backup/0.5.3/V1.ExclusionWindow)\n- [0.4.0](/php/docs/reference/cloud-gke-backup/0.4.0/V1.ExclusionWindow)\n- [0.3.1](/php/docs/reference/cloud-gke-backup/0.3.1/V1.ExclusionWindow)\n- [0.2.0](/php/docs/reference/cloud-gke-backup/0.2.0/V1.ExclusionWindow)\n- [0.1.7](/php/docs/reference/cloud-gke-backup/0.1.7/V1.ExclusionWindow) \nReference documentation and code samples for the Google Cloud Gke Backup V1 Client class ExclusionWindow.\n\nDefines a time window during which no backup should\nhappen. All time and date are in UTC.\n\nGenerated from protobuf message `google.cloud.gkebackup.v1.ExclusionWindow`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ GkeBackup \\\\ V1\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getStartTime\n\nRequired. Specifies the start time of the window using time of the day in\nUTC.\n\n### hasStartTime\n\n### clearStartTime\n\n### setStartTime\n\nRequired. Specifies the start time of the window using time of the day in\nUTC.\n\n### getDuration\n\nRequired. Specifies duration of the window.\n\nDuration must be \\\u003e= 5 minutes and \\\u003c (target RPO - 20 minutes).\nAdditional restrictions based on the recurrence type to allow some time for\nbackup to happen:\n\n- single_occurrence_date: no restriction, but UI may warn about this when duration \\\u003e= target RPO\n- daily window: duration \\\u003c 24 hours\n- weekly window:\n - days of week includes all seven days of a week: duration \\\u003c 24 hours\n - all other weekly window: duration \\\u003c 168 hours (i.e., 24 \\* 7 hours)\n\n### hasDuration\n\n### clearDuration\n\n### setDuration\n\nRequired. Specifies duration of the window.\n\nDuration must be \\\u003e= 5 minutes and \\\u003c (target RPO - 20 minutes).\nAdditional restrictions based on the recurrence type to allow some time for\nbackup to happen:\n\n- single_occurrence_date: no restriction, but UI may warn about this when duration \\\u003e= target RPO\n- daily window: duration \\\u003c 24 hours\n- weekly window:\n - days of week includes all seven days of a week: duration \\\u003c 24 hours\n - all other weekly window: duration \\\u003c 168 hours (i.e., 24 \\* 7 hours)\n\n### getSingleOccurrenceDate\n\nNo recurrence. The exclusion window occurs only once and on this\ndate in UTC.\n\n### hasSingleOccurrenceDate\n\n### setSingleOccurrenceDate\n\nNo recurrence. The exclusion window occurs only once and on this\ndate in UTC.\n\n### getDaily\n\nThe exclusion window occurs every day if set to \"True\".\n\nSpecifying this field to \"False\" is an error.\n\n### hasDaily\n\n### setDaily\n\nThe exclusion window occurs every day if set to \"True\".\n\nSpecifying this field to \"False\" is an error.\n\n### getDaysOfWeek\n\nThe exclusion window occurs on these days of each week in UTC.\n\n### hasDaysOfWeek\n\n### setDaysOfWeek\n\nThe exclusion window occurs on these days of each week in UTC.\n\n### getRecurrence"]]