# Google Cloud Memorystore for Redis V1 API - Class Google::Cloud::Redis::Cluster::V1::AutomatedBackupConfig (v1.7.0)

1.7.0 (latest) 1.6.0 1.5.1 1.4.0 1.3.1 1.2.0 1.1.0 1.0.1 0.6.0 0.5.0 0.4.2 0.3.0 0.2.2 0.1.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**

- ([::Google::Cloud::Redis::Cluster::V1::AutomatedBackupConfig::AutomatedBackupMode](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-redis-cluster-v1/latest/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](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-redis-cluster-v1/latest/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](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-redis-cluster-v1/latest/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](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-redis-cluster-v1/latest/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](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-redis-cluster-v1/latest/Google-Cloud-Redis-Cluster-V1-AutomatedBackupConfig-FixedFrequencySchedule)) --- Optional. Trigger automated backups at a fixed frequency.
**Returns**

- ([::Google::Cloud::Redis::Cluster::V1::AutomatedBackupConfig::FixedFrequencySchedule](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-redis-cluster-v1/latest/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](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-redis-cluster-v1/latest/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](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-redis-cluster-v1/latest/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](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-redis-cluster-v1/latest/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.