Reference documentation and code samples for the Google Cloud Gke Backup V1 Client class Schedule.
Defines scheduling parameters for automatically creating Backups via this BackupPlan.
Generated from protobuf message google.cloud.gkebackup.v1.BackupPlan.Schedule
Namespace
Google \ Cloud \ GkeBackup \ V1 \ BackupPlanMethods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ cron_schedule
string
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
Google\Cloud\GkeBackup\V1\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
Output only. Start time of next scheduled backup under this BackupPlan by either cron_schedule or rpo config.
getCronSchedule
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.
string
setCronSchedule
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.
var
string
$this
getPaused
Optional. This flag denotes whether automatic Backup creation is paused for this BackupPlan.
Default: False
bool
setPaused
Optional. This flag denotes whether automatic Backup creation is paused for this BackupPlan.
Default: False
var
bool
$this
getRpoConfig
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.
hasRpoConfig
clearRpoConfig
setRpoConfig
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.
$this
getNextScheduledBackupTime
Output only. Start time of next scheduled backup under this BackupPlan by either cron_schedule or rpo config.
hasNextScheduledBackupTime
clearNextScheduledBackupTime
setNextScheduledBackupTime
Output only. Start time of next scheduled backup under this BackupPlan by either cron_schedule or rpo config.
$this