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
- (::Google::Cloud::Redis::Cluster::V1::AutomatedBackupConfig::AutomatedBackupMode) — Optional. The automated backup mode. If the mode is disabled, the other fields will be ignored.
#automated_backup_mode=
def automated_backup_mode=(value) -> ::Google::Cloud::Redis::Cluster::V1::AutomatedBackupConfig::AutomatedBackupMode
Parameter
- value (::Google::Cloud::Redis::Cluster::V1::AutomatedBackupConfig::AutomatedBackupMode) — Optional. The automated backup mode. If the mode is disabled, the other fields will be ignored.
Returns
- (::Google::Cloud::Redis::Cluster::V1::AutomatedBackupConfig::AutomatedBackupMode) — Optional. The automated backup mode. If the mode is disabled, the other fields will be ignored.
#fixed_frequency_schedule
def fixed_frequency_schedule() -> ::Google::Cloud::Redis::Cluster::V1::AutomatedBackupConfig::FixedFrequencySchedule
Returns
- (::Google::Cloud::Redis::Cluster::V1::AutomatedBackupConfig::FixedFrequencySchedule) — Optional. Trigger automated backups at a fixed frequency.
#fixed_frequency_schedule=
def fixed_frequency_schedule=(value) -> ::Google::Cloud::Redis::Cluster::V1::AutomatedBackupConfig::FixedFrequencySchedule
Parameter
- value (::Google::Cloud::Redis::Cluster::V1::AutomatedBackupConfig::FixedFrequencySchedule) — Optional. Trigger automated backups at a fixed frequency.
Returns
- (::Google::Cloud::Redis::Cluster::V1::AutomatedBackupConfig::FixedFrequencySchedule) — Optional. Trigger automated backups at a fixed frequency.
#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.