# Memorystore V1 API - Class Google::Cloud::Memorystore::V1::AutomatedBackupConfig (v1.9.0)

1.9.0 (latest) 1.8.0 1.7.0 1.6.0 1.5.0 1.4.0 1.3.0 1.2.0 1.1.1 1.0.0 0.3.0 0.2.0 0.1.0 Reference documentation and code samples for the Memorystore V1 API class Google::Cloud::Memorystore::V1::AutomatedBackupConfig.

The automated backup config for an instance.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #automated_backup_mode

    def automated_backup_mode() -> ::Google::Cloud::Memorystore::V1::AutomatedBackupConfig::AutomatedBackupMode

**Returns**

- ([::Google::Cloud::Memorystore::V1::AutomatedBackupConfig::AutomatedBackupMode](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-memorystore-v1/latest/Google-Cloud-Memorystore-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::Memorystore::V1::AutomatedBackupConfig::AutomatedBackupMode

**Parameter**

- **value** ([::Google::Cloud::Memorystore::V1::AutomatedBackupConfig::AutomatedBackupMode](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-memorystore-v1/latest/Google-Cloud-Memorystore-V1-AutomatedBackupConfig-AutomatedBackupMode)) --- Optional. The automated backup mode. If the mode is disabled, the other fields will be ignored.
**Returns**

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

**Returns**

- ([::Google::Cloud::Memorystore::V1::AutomatedBackupConfig::FixedFrequencySchedule](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-memorystore-v1/latest/Google-Cloud-Memorystore-V1-AutomatedBackupConfig-FixedFrequencySchedule)) --- Optional. Trigger automated backups at a fixed frequency.

### #fixed_frequency_schedule=

    def fixed_frequency_schedule=(value) -> ::Google::Cloud::Memorystore::V1::AutomatedBackupConfig::FixedFrequencySchedule

**Parameter**

- **value** ([::Google::Cloud::Memorystore::V1::AutomatedBackupConfig::FixedFrequencySchedule](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-memorystore-v1/latest/Google-Cloud-Memorystore-V1-AutomatedBackupConfig-FixedFrequencySchedule)) --- Optional. Trigger automated backups at a fixed frequency.
**Returns**

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