Backup for GKE v1 API - Class BackupPlan.Types.Schedule (2.4.0)

public sealed class BackupPlan.Types.Schedule : IMessage<BackupPlan.Types.Schedule>, IEquatable<BackupPlan.Types.Schedule>, IDeepCloneable<BackupPlan.Types.Schedule>, IBufferMessage, IMessage

Reference documentation and code samples for the Backup for GKE v1 API class BackupPlan.Types.Schedule.

Defines scheduling parameters for automatically creating Backups via this BackupPlan.

Inheritance

object > BackupPlan.Types.Schedule

Namespace

Google.Cloud.GkeBackup.V1

Assembly

Google.Cloud.GkeBackup.V1.dll

Constructors

Schedule()

public Schedule()

Schedule(Schedule)

public Schedule(BackupPlan.Types.Schedule other)
Parameter
NameDescription
otherBackupPlanTypesSchedule

Properties

CronSchedule

public string CronSchedule { get; set; }

Optional. A standard cron string that defines a repeating schedule for creating Backups via this BackupPlan. This is mutually exclusive with the [rpo_config][google.cloud.gkebackup.v1.BackupPlan.Schedule.rpo_config] field since at most one schedule can be defined for a BackupPlan. If this is defined, then [backup_retain_days][google.cloud.gkebackup.v1.BackupPlan.RetentionPolicy.backup_retain_days] must also be defined.

Default (empty): no automatic backup creation will occur.

Property Value
TypeDescription
string

NextScheduledBackupTime

public Timestamp NextScheduledBackupTime { get; set; }

Output only. Start time of next scheduled backup under this BackupPlan by either cron_schedule or rpo config.

Property Value
TypeDescription
Timestamp

Paused

public bool Paused { get; set; }

Optional. This flag denotes whether automatic Backup creation is paused for this BackupPlan.

Default: False

Property Value
TypeDescription
bool

RpoConfig

public RpoConfig RpoConfig { get; set; }

Optional. Defines the RPO schedule configuration for this BackupPlan. This is mutually exclusive with the [cron_schedule][google.cloud.gkebackup.v1.BackupPlan.Schedule.cron_schedule] field since at most one schedule can be defined for a BackupPLan. If this is defined, then [backup_retain_days][google.cloud.gkebackup.v1.BackupPlan.RetentionPolicy.backup_retain_days] must also be defined.

Default (empty): no automatic backup creation will occur.

Property Value
TypeDescription
RpoConfig