A weekly schedule starts a backup at prescribed start times within a
day, for the specified days of the week.
The weekly schedule message is flexible and can be used to create
many types of schedules. For example, to have a daily backup that
starts at 22:00, configure the start_times field to have one
element "22:00" and the days_of_week field to have all seven
days of the week.
Attributes
Name
Description
start_times
MutableSequence[google.type.timeofday_pb2.TimeOfDay]
The times during the day to start a backup.
The start times are assumed to be in UTC and to
be an exact hour (e.g., 04:00:00).
If no start times are provided, a single fixed
start time is chosen arbitrarily.
days_of_week
MutableSequence[google.type.dayofweek_pb2.DayOfWeek]
The days of the week to perform a backup.
If this field is left empty, the default of
every day of the week is used.
[[["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,["# Class WeeklySchedule (0.4.8)\n\nVersion latestkeyboard_arrow_down\n\n- [0.4.8 (latest)](/python/docs/reference/alloydb/latest/google.cloud.alloydb_v1beta.types.AutomatedBackupPolicy.WeeklySchedule)\n- [0.4.7](/python/docs/reference/alloydb/0.4.7/google.cloud.alloydb_v1beta.types.AutomatedBackupPolicy.WeeklySchedule)\n- [0.3.16](/python/docs/reference/alloydb/0.3.16/google.cloud.alloydb_v1beta.types.AutomatedBackupPolicy.WeeklySchedule)\n- [0.2.1](/python/docs/reference/alloydb/0.2.1/google.cloud.alloydb_v1beta.types.AutomatedBackupPolicy.WeeklySchedule)\n- [0.1.1](/python/docs/reference/alloydb/0.1.1/google.cloud.alloydb_v1beta.types.AutomatedBackupPolicy.WeeklySchedule) \n\n WeeklySchedule(mapping=None, *, ignore_unknown_fields=False, **kwargs)\n\nA weekly schedule starts a backup at prescribed start times within a\nday, for the specified days of the week.\n\nThe weekly schedule message is flexible and can be used to create\nmany types of schedules. For example, to have a daily backup that\nstarts at 22:00, configure the `start_times` field to have one\nelement \"22:00\" and the `days_of_week` field to have all seven\ndays of the week."]]