Class: Google::Cloud::AlloyDB::V1beta::AutomatedBackupPolicy::WeeklySchedule
- Inherits:
-
Object
- Object
- Google::Cloud::AlloyDB::V1beta::AutomatedBackupPolicy::WeeklySchedule
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/alloydb/v1beta/resources.rb
Overview
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.
Instance Attribute Summary collapse
-
#days_of_week ⇒ ::Array<::Google::Type::DayOfWeek>
The days of the week to perform a backup.
-
#start_times ⇒ ::Array<::Google::Type::TimeOfDay>
The times during the day to start a backup.
Instance Attribute Details
#days_of_week ⇒ ::Array<::Google::Type::DayOfWeek>
Returns 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.
215 216 217 218 |
# File 'proto_docs/google/cloud/alloydb/v1beta/resources.rb', line 215 class WeeklySchedule include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#start_times ⇒ ::Array<::Google::Type::TimeOfDay>
Returns 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.
215 216 217 218 |
# File 'proto_docs/google/cloud/alloydb/v1beta/resources.rb', line 215 class WeeklySchedule include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |