Class: Google::Cloud::AlloyDB::V1::AutomatedBackupPolicy::WeeklySchedule

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/alloydb/v1/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

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.

Returns:

  • (::Array<::Google::Type::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.



215
216
217
218
# File 'proto_docs/google/cloud/alloydb/v1/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.

Returns:

  • (::Array<::Google::Type::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.



215
216
217
218
# File 'proto_docs/google/cloud/alloydb/v1/resources.rb', line 215

class WeeklySchedule
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end