# Class Schedule (0.8.1)

0.8.1 (latest) 0.8.0 0.7.0 0.6.0 0.5.19 0.4.4 0.3.0 0.2.2 0.1.1

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

Defines scheduling parameters for automatically creating
Backups via this BackupPlan.

| ## Attributes ||
|---|---|
| **Name** | **Description** |
| `cron_schedule` | `str` Optional. A standard `cron `__ string that defines a repeating schedule for creating Backups via this BackupPlan. This is mutually exclusive with the rpo_config field since at most one schedule can be defined for a BackupPlan. If this is defined, then backup_retain_days must also be defined. Default (empty): no automatic backup creation will occur. |
| `paused` | `bool` Optional. This flag denotes whether automatic Backup creation is paused for this BackupPlan. Default: False |
| `rpo_config` | `https://docs.cloud.google.com/python/docs/reference/gkebackup/latest/google.cloud.gke_backup_v1.types.RpoConfig` Optional. Defines the RPO schedule configuration for this BackupPlan. This is mutually exclusive with the cron_schedule field since at most one schedule can be defined for a BackupPLan. If this is defined, then backup_retain_days must also be defined. Default (empty): no automatic backup creation will occur. |
| `next_scheduled_backup_time` | `google.protobuf.timestamp_pb2.Timestamp` Output only. Start time of next scheduled backup under this BackupPlan by either cron_schedule or rpo config. |