Class AutomatedBackupPolicy
Message describing the user-specified automated backup policy. All fields in the automated backup policy are optional. Defaults for each field are provided if they are not set.
Implements
Inherited Members
Namespace: Google.Apis.CloudAlloyDBAdmin.v1.Data
Assembly: Google.Apis.CloudAlloyDBAdmin.v1.dll
Syntax
public class AutomatedBackupPolicy : IDirectResponseSchema
Properties
BackupWindow
The length of the time window during which a backup can be taken. If a backup does not succeed within this time window, it will be canceled and considered failed. The backup window must be at least 5 minutes long. There is no upper bound on the window. If not set, it defaults to 1 hour.
Declaration
[JsonProperty("backupWindow")]
public virtual object BackupWindow { get; set; }
Property Value
Type | Description |
---|---|
object |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
Enabled
Whether automated automated backups are enabled. If not set, defaults to true.
Declaration
[JsonProperty("enabled")]
public virtual bool? Enabled { get; set; }
Property Value
Type | Description |
---|---|
bool? |
EncryptionConfig
Optional. The encryption config can be specified to encrypt the backups with a customer-managed encryption key (CMEK). When this field is not specified, the backup will then use default encryption scheme to protect the user data.
Declaration
[JsonProperty("encryptionConfig")]
public virtual EncryptionConfig EncryptionConfig { get; set; }
Property Value
Type | Description |
---|---|
EncryptionConfig |
Labels
Labels to apply to backups created using this configuration.
Declaration
[JsonProperty("labels")]
public virtual IDictionary<string, string> Labels { get; set; }
Property Value
Type | Description |
---|---|
IDictionary<string, string> |
Location
The location where the backup will be stored. Currently, the only supported option is to store the backup in the same region as the cluster. If empty, defaults to the region of the cluster.
Declaration
[JsonProperty("location")]
public virtual string Location { get; set; }
Property Value
Type | Description |
---|---|
string |
QuantityBasedRetention
Quantity-based Backup retention policy to retain recent backups.
Declaration
[JsonProperty("quantityBasedRetention")]
public virtual QuantityBasedRetention QuantityBasedRetention { get; set; }
Property Value
Type | Description |
---|---|
QuantityBasedRetention |
TimeBasedRetention
Time-based Backup retention policy.
Declaration
[JsonProperty("timeBasedRetention")]
public virtual TimeBasedRetention TimeBasedRetention { get; set; }
Property Value
Type | Description |
---|---|
TimeBasedRetention |
WeeklySchedule
Weekly schedule for the Backup.
Declaration
[JsonProperty("weeklySchedule")]
public virtual WeeklySchedule WeeklySchedule { get; set; }
Property Value
Type | Description |
---|---|
WeeklySchedule |