0.10.4 (latest) 0.10.3 0.9.0 0.8.0 0.7.0 0.6.0 0.5.0 0.4.0 0.3.0 0.2.5 0.1.7

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

`StandardSchedule` defines a schedule that run within the confines
of a defined window of days. We can define recurrence type for
schedule as HOURLY, DAILY, WEEKLY, MONTHLY or YEARLY.

| ## Attributes ||
|---|---|
| **Name** | **Description** |
| `recurrence_type` | `https://docs.cloud.google.com/python/docs/reference/backupdr/latest/google.cloud.backupdr_v1beta.types.StandardSchedule.RecurrenceType` Required. Specifies the `RecurrenceType` for the schedule. |
| `hourly_frequency` | `int` Optional. Specifies frequency for hourly backups. A hourly frequency of 2 means jobs will run every 2 hours from start time till end time defined. This is required for `recurrence_type`, `HOURLY` and is not applicable otherwise. A validation error will occur if a value is supplied and `recurrence_type` is not `HOURLY`. The supported values for each resource type are as follows: - `compute.googleapis.com/Instance`: 1-23 - `compute.googleapis.com/Disk`: 1-23 - `sqladmin.googleapis.com/Instance`: 6-23 - `alloydb.googleapis.com/Cluster`: 1-23 - `file.googleapis.com/Instance`: 1-23 Refer to link https://cloud.google.com/backup-disaster-recovery/docs/concepts/cloud_best_practices for more details. |
| `days_of_week` | `MutableSequence[google.type.dayofweek_pb2.DayOfWeek]` Optional. Specifies days of week like, MONDAY or TUESDAY, on which jobs will run. This is required for `recurrence_type`, `WEEKLY` and is not applicable otherwise. A validation error will occur if a value is supplied and `recurrence_type` is not `WEEKLY`. |
| `days_of_month` | `MutableSequence[int]` Optional. Specifies days of months like 1, 5, or 14 on which jobs will run. Values for `days_of_month` are only applicable for `recurrence_type`, `MONTHLY` and `YEARLY`. A validation error will occur if other values are supplied. |
| `week_day_of_month` | `https://docs.cloud.google.com/python/docs/reference/backupdr/latest/google.cloud.backupdr_v1beta.types.WeekDayOfMonth` Optional. Specifies a week day of the month like, FIRST SUNDAY or LAST MONDAY, on which jobs will run. This will be specified by two fields in `WeekDayOfMonth`, one for the day, e.g. `MONDAY`, and one for the week, e.g. `LAST`. This field is only applicable for `recurrence_type`, `MONTHLY` and `YEARLY`. A validation error will occur if other values are supplied. |
| `months` | `MutableSequence[google.type.month_pb2.Month]` Optional. Specifies the months of year, like `FEBRUARY` and/or `MAY`, on which jobs will run. This field is only applicable when `recurrence_type` is `YEARLY`. A validation error will occur if other values are supplied. |
| `backup_window` | `https://docs.cloud.google.com/python/docs/reference/backupdr/latest/google.cloud.backupdr_v1beta.types.BackupWindow` Required. A BackupWindow defines the window of day during which backup jobs will run. Jobs are queued at the beginning of the window and will be marked as `NOT_RUN` if they do not start by the end of the window. Note: running jobs will not be cancelled at the end of the window. |
| `time_zone` | `str` Required. The time zone to be used when interpreting the schedule. The value of this field must be a time zone name from the IANA tz database. See https://en.wikipedia.org/wiki/List_of_tz_database_time_zones for the list of valid timezone names. For e.g., Europe/Paris. |

## Classes

### RecurrenceType

    RecurrenceType(value)

`RecurrenceTypes` enumerates the applicable periodicity for the
schedule.