Google Cloud Memorystore for Redis V1 API - Class Google::Cloud::Redis::Cluster::V1::AutomatedBackupConfig (v0.6.0)

Reference documentation and code samples for the Google Cloud Memorystore for Redis V1 API class Google::Cloud::Redis::Cluster::V1::AutomatedBackupConfig.

The automated backup config for a cluster.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#automated_backup_mode

def automated_backup_mode() -> ::Google::Cloud::Redis::Cluster::V1::AutomatedBackupConfig::AutomatedBackupMode
Returns

#automated_backup_mode=

def automated_backup_mode=(value) -> ::Google::Cloud::Redis::Cluster::V1::AutomatedBackupConfig::AutomatedBackupMode
Parameter
Returns

#fixed_frequency_schedule

def fixed_frequency_schedule() -> ::Google::Cloud::Redis::Cluster::V1::AutomatedBackupConfig::FixedFrequencySchedule
Returns

#fixed_frequency_schedule=

def fixed_frequency_schedule=(value) -> ::Google::Cloud::Redis::Cluster::V1::AutomatedBackupConfig::FixedFrequencySchedule
Parameter
Returns

#retention

def retention() -> ::Google::Protobuf::Duration
Returns
  • (::Google::Protobuf::Duration) — Optional. How long to keep automated backups before the backups are deleted. The value should be between 1 day and 365 days. If not specified, the default value is 35 days.

#retention=

def retention=(value) -> ::Google::Protobuf::Duration
Parameter
  • value (::Google::Protobuf::Duration) — Optional. How long to keep automated backups before the backups are deleted. The value should be between 1 day and 365 days. If not specified, the default value is 35 days.
Returns
  • (::Google::Protobuf::Duration) — Optional. How long to keep automated backups before the backups are deleted. The value should be between 1 day and 365 days. If not specified, the default value is 35 days.