AlloyDB V1ALPHA API - Class Google::Cloud::AlloyDB::V1alpha::ContinuousBackupConfig (v0.3.0)

Reference documentation and code samples for the AlloyDB V1ALPHA API class Google::Cloud::AlloyDB::V1alpha::ContinuousBackupConfig.

ContinuousBackupConfig describes the continuous backups recovery configurations of a cluster.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#enabled

def enabled() -> ::Boolean
Returns
  • (::Boolean) — Whether ContinuousBackup is enabled.

#enabled=

def enabled=(value) -> ::Boolean
Parameter
  • value (::Boolean) — Whether ContinuousBackup is enabled.
Returns
  • (::Boolean) — Whether ContinuousBackup is enabled.

#encryption_config

def encryption_config() -> ::Google::Cloud::AlloyDB::V1alpha::EncryptionConfig
Returns
  • (::Google::Cloud::AlloyDB::V1alpha::EncryptionConfig) — 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.

#encryption_config=

def encryption_config=(value) -> ::Google::Cloud::AlloyDB::V1alpha::EncryptionConfig
Parameter
  • value (::Google::Cloud::AlloyDB::V1alpha::EncryptionConfig) — 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.
Returns
  • (::Google::Cloud::AlloyDB::V1alpha::EncryptionConfig) — 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.

#recovery_window_days

def recovery_window_days() -> ::Integer
Returns
  • (::Integer) — The number of days that are eligible to restore from using PITR. To support the entire recovery window, backups and logs are retained for one day more than the recovery window. If not set, defaults to 14 days.

#recovery_window_days=

def recovery_window_days=(value) -> ::Integer
Parameter
  • value (::Integer) — The number of days that are eligible to restore from using PITR. To support the entire recovery window, backups and logs are retained for one day more than the recovery window. If not set, defaults to 14 days.
Returns
  • (::Integer) — The number of days that are eligible to restore from using PITR. To support the entire recovery window, backups and logs are retained for one day more than the recovery window. If not set, defaults to 14 days.