Class BackupSchedule
BackupSchedule expresses the automated backup creation specification for a Spanner database.
Implements
Inherited Members
Namespace: Google.Apis.Spanner.v1.Data
Assembly: Google.Apis.Spanner.v1.dll
Syntax
public class BackupSchedule : IDirectResponseSchema
Properties
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
EncryptionConfig
Optional. The encryption configuration that is used to encrypt the backup. If this field is not specified, the backup uses the same encryption configuration as the database.
Declaration
[JsonProperty("encryptionConfig")]
public virtual CreateBackupEncryptionConfig EncryptionConfig { get; set; }
Property Value
| Type | Description |
|---|---|
| CreateBackupEncryptionConfig |
FullBackupSpec
The schedule creates only full backups.
Declaration
[JsonProperty("fullBackupSpec")]
public virtual FullBackupSpec FullBackupSpec { get; set; }
Property Value
| Type | Description |
|---|---|
| FullBackupSpec |
IncrementalBackupSpec
The schedule creates incremental backup chains.
Declaration
[JsonProperty("incrementalBackupSpec")]
public virtual IncrementalBackupSpec IncrementalBackupSpec { get; set; }
Property Value
| Type | Description |
|---|---|
| IncrementalBackupSpec |
Name
Identifier. Output only for the CreateBackupSchedule operation. Required for the UpdateBackupSchedule
operation. A globally unique identifier for the backup schedule which cannot be changed. Values are of the
form projects//instances//databases//backupSchedules/a-z*[a-z0-9] The final segment of the name must be
between 2 and 60 characters in length.
Declaration
[JsonProperty("name")]
public virtual string Name { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
RetentionDuration
Optional. The retention duration of a backup that must be at least 6 hours and at most 366 days. The backup is eligible to be automatically deleted once the retention period has elapsed.
Declaration
[JsonProperty("retentionDuration")]
public virtual object RetentionDuration { get; set; }
Property Value
| Type | Description |
|---|---|
| object |
Spec
Optional. The schedule specification based on which the backup creations are triggered.
Declaration
[JsonProperty("spec")]
public virtual BackupScheduleSpec Spec { get; set; }
Property Value
| Type | Description |
|---|---|
| BackupScheduleSpec |
UpdateTime
object representation of UpdateTimeRaw.
Declaration
[JsonIgnore]
[Obsolete("This property is obsolete and may behave unexpectedly; please use UpdateTimeDateTimeOffset instead.")]
public virtual object UpdateTime { get; set; }
Property Value
| Type | Description |
|---|---|
| object |
UpdateTimeDateTimeOffset
DateTimeOffset representation of UpdateTimeRaw.
Declaration
[JsonIgnore]
public virtual DateTimeOffset? UpdateTimeDateTimeOffset { get; set; }
Property Value
| Type | Description |
|---|---|
| DateTimeOffset? |
UpdateTimeRaw
Output only. The timestamp at which the schedule was last updated. If the schedule has never been updated, this field contains the timestamp when the schedule was first created.
Declaration
[JsonProperty("updateTime")]
public virtual string UpdateTimeRaw { get; set; }
Property Value
| Type | Description |
|---|---|
| string |