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

Reference documentation and code samples for the AlloyDB V1 API class Google::Cloud::AlloyDB::V1::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::V1::EncryptionConfig
Returns
  • (::Google::Cloud::AlloyDB::V1::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::V1::EncryptionConfig
Parameter
  • value (::Google::Cloud::AlloyDB::V1::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::V1::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 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.

#recovery_window_days=

def recovery_window_days=(value) -> ::Integer
Parameter
  • value (::Integer) — 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.
Returns
  • (::Integer) — 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.