public sealed class ContinuousBackupConfig : IMessage<ContinuousBackupConfig>, IEquatable<ContinuousBackupConfig>, IDeepCloneable<ContinuousBackupConfig>, IBufferMessage, IMessage
Reference documentation and code samples for the AlloyDB v1 API class ContinuousBackupConfig.
ContinuousBackupConfig describes the continuous backups recovery configurations of a cluster.
Implements
IMessageContinuousBackupConfig, IEquatableContinuousBackupConfig, IDeepCloneableContinuousBackupConfig, IBufferMessage, IMessageNamespace
Google.Cloud.AlloyDb.V1Assembly
Google.Cloud.AlloyDb.V1.dll
Constructors
ContinuousBackupConfig()
public ContinuousBackupConfig()
ContinuousBackupConfig(ContinuousBackupConfig)
public ContinuousBackupConfig(ContinuousBackupConfig other)
Parameter | |
---|---|
Name | Description |
other | ContinuousBackupConfig |
Properties
Enabled
public bool Enabled { get; set; }
Whether ContinuousBackup is enabled.
Property Value | |
---|---|
Type | Description |
bool |
EncryptionConfig
public EncryptionConfig EncryptionConfig { get; set; }
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.
Property Value | |
---|---|
Type | Description |
EncryptionConfig |
HasEnabled
public bool HasEnabled { get; }
Gets whether the "enabled" field is set
Property Value | |
---|---|
Type | Description |
bool |
RecoveryWindowDays
public int RecoveryWindowDays { get; set; }
The number of days backups and logs will be retained, which determines the window of time that data is recoverable for. If not set, it defaults to 14 days.
Property Value | |
---|---|
Type | Description |
int |