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.
Optional. The automated backup mode. If the mode is disabled, the other
fields will be ignored.
Returns
Type
Description
int
setAutomatedBackupMode
Optional. The automated backup mode. If the mode is disabled, the other
fields will be ignored.
Parameter
Name
Description
var
int
Returns
Type
Description
$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.
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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Google Cloud Memorystore V1 Client - Class AutomatedBackupConfig (0.4.2)\n\nVersion latestkeyboard_arrow_down\n\n- [0.4.2 (latest)](/php/docs/reference/cloud-memorystore/latest/V1.AutomatedBackupConfig)\n- [0.4.1](/php/docs/reference/cloud-memorystore/0.4.1/V1.AutomatedBackupConfig)\n- [0.3.0](/php/docs/reference/cloud-memorystore/0.3.0/V1.AutomatedBackupConfig)\n- [0.2.0](/php/docs/reference/cloud-memorystore/0.2.0/V1.AutomatedBackupConfig)\n- [0.1.1](/php/docs/reference/cloud-memorystore/0.1.1/V1.AutomatedBackupConfig) \nReference documentation and code samples for the Google Cloud Memorystore V1 Client class AutomatedBackupConfig.\n\nThe automated backup config for an instance.\n\nGenerated from protobuf message `google.cloud.memorystore.v1.AutomatedBackupConfig`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ Memorystore \\\\ V1\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getFixedFrequencySchedule\n\nOptional. Trigger automated backups at a fixed frequency.\n\n### hasFixedFrequencySchedule\n\n### setFixedFrequencySchedule\n\nOptional. Trigger automated backups at a fixed frequency.\n\n### getAutomatedBackupMode\n\nOptional. The automated backup mode. If the mode is disabled, the other\nfields will be ignored.\n\n### setAutomatedBackupMode\n\nOptional. The automated backup mode. If the mode is disabled, the other\nfields will be ignored.\n\n### getRetention\n\nOptional. How long to keep automated backups before the backups are\ndeleted. The value should be between 1 day and 365 days. If not specified,\nthe default value is 35 days.\n\n### hasRetention\n\n### clearRetention\n\n### setRetention\n\nOptional. How long to keep automated backups before the backups are\ndeleted. The value should be between 1 day and 365 days. If not specified,\nthe default value is 35 days.\n\n### getSchedule"]]