Reference documentation and code samples for the Google Cloud Memorystore V1 Client class AutomatedBackupConfig.
The automated backup config for an instance.
Generated from protobuf message google.cloud.memorystore.v1.AutomatedBackupConfig
Namespace
Google \ Cloud \ Memorystore \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ fixed_frequency_schedule
AutomatedBackupConfig\FixedFrequencySchedule
Optional. Trigger automated backups at a fixed frequency.
↳ automated_backup_mode
int
Optional. The automated backup mode. If the mode is disabled, the other fields will be ignored.
↳ retention
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.
getFixedFrequencySchedule
Optional. Trigger automated backups at a fixed frequency.
hasFixedFrequencySchedule
setFixedFrequencySchedule
Optional. Trigger automated backups at a fixed frequency.
$this
getAutomatedBackupMode
Optional. The automated backup mode. If the mode is disabled, the other fields will be ignored.
int
setAutomatedBackupMode
Optional. The automated backup mode. If the mode is disabled, the other fields will be ignored.
var
int
$this
getRetention
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.
hasRetention
clearRetention
setRetention
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.
$this
getSchedule
string