HEX
Server: Apache/2.4.65 (Ubuntu)
System: Linux ielts-store-v2 6.8.0-1036-gcp #38~22.04.1-Ubuntu SMP Thu Aug 14 01:19:18 UTC 2025 x86_64
User: root (0)
PHP: 7.2.34-54+ubuntu20.04.1+deb.sury.org+1
Disabled: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,
Upload Files
File: //snap/google-cloud-cli/396/lib/googlecloudsdk/schemas/gkebackup/v1/ExclusionWindows.yaml
$schema: "http://json-schema.org/draft-06/schema#"

title: gkebackup v1 exclusion windows export schema
description: Specifying the exclusion windows yaml definition
type: object
additionalProperties: false
properties:
  exclusionWindows:
    description: |-
      User specified time windows during which backup can NOT happen for this
      BackupPlan - backups should start and finish outside of any given
      exclusion window. Note: backup jobs will be scheduled to start and finish
      outside the duration of the window as much as possible, but running jobs
      will not get canceled when it runs into the window. All the time and date
      values in exclusion_windows entry in the API are in UTC. We only allow <=1
      recurrence (daily or weekly) exclusion window for a BackupPlan while no
      restriction on number of single occurrence windows.
    type: array
    items:
      type: object
      required:
      - duration
      - startTime
      additionalProperties: false
      properties:
        daily:
          description: |-
            The exclusion window occurs every day if set to "True". Specifying this
            field to "False" is an error.
          type: boolean
        daysOfWeek:
          description: The exclusion window occurs on these days of each week in UTC.
          type: object
          additionalProperties: false
          properties:
            daysOfWeek:
              description: A list of days of week.
              type: array
              items:
                type: string
                enum:
                - DAY_OF_WEEK_UNSPECIFIED
                - FRIDAY
                - MONDAY
                - SATURDAY
                - SUNDAY
                - THURSDAY
                - TUESDAY
                - WEDNESDAY
        duration:
          description: |-
            Specifies duration of the window. Restrictions for duration based on the
            recurrence type to allow some time for backup to
          type: string
        singleOccurrenceDate:
          description: |-
            No recurrence. The exclusion window occurs only once and on this date in
            UTC.
          type: object
          additionalProperties: false
          properties:
            day:
              description: |-
                Day of a month. Must be from 1 to 31 and valid for the year and month, or
                0 to specify a year by itself or a year and month where the day isn't
                significant.
              type: integer
            month:
              description: |-
                Month of a year. Must be from 1 to 12, or 0 to specify a year without a
                month and day.
              type: integer
            year:
              description: |-
                Year of the date. Must be from 1 to 9999, or 0 to specify a date without a
                year.
              type: integer
        startTime:
          description: |-
            Specifies the start time of the window using time of the day in UTC.
          type: object
          additionalProperties: false
          properties:
            hours:
              description: |-
                Hours of day in 24 hour format. Should be from 0 to 23. An API may choose
                to allow the value "24:00:00" for scenarios like business closing time.
              type: integer
            minutes:
              description: Minutes of hour of day. Must be from 0 to 59.
              type: integer
            nanos:
              description: |-
                Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
              type: integer
            seconds:
              description: |-
                Seconds of minutes of the time. Must normally be from 0 to 59. An API may
                allow the value 60 if it allows leap-seconds.
              type: integer