Class: Google::Cloud::AlloyDB::V1alpha::AutomatedBackupPolicy

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/alloydb/v1alpha/resources.rb

Overview

Message describing the user-specified automated backup policy.

All fields in the automated backup policy are optional. Defaults for each field are provided if they are not set.

Defined Under Namespace

Classes: LabelsEntry, QuantityBasedRetention, TimeBasedRetention, WeeklySchedule

Instance Attribute Summary collapse

Instance Attribute Details

#backup_window::Google::Protobuf::Duration



194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
# File 'proto_docs/google/cloud/alloydb/v1alpha/resources.rb', line 194

class AutomatedBackupPolicy
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # 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.
  # @!attribute [rw] start_times
  #   @return [::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.
  # @!attribute [rw] days_of_week
  #   @return [::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.
  class WeeklySchedule
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # A time based retention policy specifies that all backups within a certain
  # time period should be retained.
  # @!attribute [rw] retention_period
  #   @return [::Google::Protobuf::Duration]
  #     The retention period.
  class TimeBasedRetention
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # A quantity based policy specifies that a certain number of the most recent
  # successful backups should be retained.
  # @!attribute [rw] count
  #   @return [::Integer]
  #     The number of backups to retain.
  class QuantityBasedRetention
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end

#enabled::Boolean



194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
# File 'proto_docs/google/cloud/alloydb/v1alpha/resources.rb', line 194

class AutomatedBackupPolicy
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # 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.
  # @!attribute [rw] start_times
  #   @return [::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.
  # @!attribute [rw] days_of_week
  #   @return [::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.
  class WeeklySchedule
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # A time based retention policy specifies that all backups within a certain
  # time period should be retained.
  # @!attribute [rw] retention_period
  #   @return [::Google::Protobuf::Duration]
  #     The retention period.
  class TimeBasedRetention
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # A quantity based policy specifies that a certain number of the most recent
  # successful backups should be retained.
  # @!attribute [rw] count
  #   @return [::Integer]
  #     The number of backups to retain.
  class QuantityBasedRetention
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end

#encryption_config::Google::Cloud::AlloyDB::V1alpha::EncryptionConfig



194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
# File 'proto_docs/google/cloud/alloydb/v1alpha/resources.rb', line 194

class AutomatedBackupPolicy
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # 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.
  # @!attribute [rw] start_times
  #   @return [::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.
  # @!attribute [rw] days_of_week
  #   @return [::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.
  class WeeklySchedule
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # A time based retention policy specifies that all backups within a certain
  # time period should be retained.
  # @!attribute [rw] retention_period
  #   @return [::Google::Protobuf::Duration]
  #     The retention period.
  class TimeBasedRetention
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # A quantity based policy specifies that a certain number of the most recent
  # successful backups should be retained.
  # @!attribute [rw] count
  #   @return [::Integer]
  #     The number of backups to retain.
  class QuantityBasedRetention
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end

#labels::Google::Protobuf::Map{::String => ::String}



194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
# File 'proto_docs/google/cloud/alloydb/v1alpha/resources.rb', line 194

class AutomatedBackupPolicy
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # 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.
  # @!attribute [rw] start_times
  #   @return [::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.
  # @!attribute [rw] days_of_week
  #   @return [::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.
  class WeeklySchedule
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # A time based retention policy specifies that all backups within a certain
  # time period should be retained.
  # @!attribute [rw] retention_period
  #   @return [::Google::Protobuf::Duration]
  #     The retention period.
  class TimeBasedRetention
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # A quantity based policy specifies that a certain number of the most recent
  # successful backups should be retained.
  # @!attribute [rw] count
  #   @return [::Integer]
  #     The number of backups to retain.
  class QuantityBasedRetention
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end

#location::String



194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
# File 'proto_docs/google/cloud/alloydb/v1alpha/resources.rb', line 194

class AutomatedBackupPolicy
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # 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.
  # @!attribute [rw] start_times
  #   @return [::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.
  # @!attribute [rw] days_of_week
  #   @return [::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.
  class WeeklySchedule
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # A time based retention policy specifies that all backups within a certain
  # time period should be retained.
  # @!attribute [rw] retention_period
  #   @return [::Google::Protobuf::Duration]
  #     The retention period.
  class TimeBasedRetention
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # A quantity based policy specifies that a certain number of the most recent
  # successful backups should be retained.
  # @!attribute [rw] count
  #   @return [::Integer]
  #     The number of backups to retain.
  class QuantityBasedRetention
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end

#quantity_based_retention::Google::Cloud::AlloyDB::V1alpha::AutomatedBackupPolicy::QuantityBasedRetention



194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
# File 'proto_docs/google/cloud/alloydb/v1alpha/resources.rb', line 194

class AutomatedBackupPolicy
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # 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.
  # @!attribute [rw] start_times
  #   @return [::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.
  # @!attribute [rw] days_of_week
  #   @return [::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.
  class WeeklySchedule
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # A time based retention policy specifies that all backups within a certain
  # time period should be retained.
  # @!attribute [rw] retention_period
  #   @return [::Google::Protobuf::Duration]
  #     The retention period.
  class TimeBasedRetention
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # A quantity based policy specifies that a certain number of the most recent
  # successful backups should be retained.
  # @!attribute [rw] count
  #   @return [::Integer]
  #     The number of backups to retain.
  class QuantityBasedRetention
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end

#time_based_retention::Google::Cloud::AlloyDB::V1alpha::AutomatedBackupPolicy::TimeBasedRetention



194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
# File 'proto_docs/google/cloud/alloydb/v1alpha/resources.rb', line 194

class AutomatedBackupPolicy
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # 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.
  # @!attribute [rw] start_times
  #   @return [::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.
  # @!attribute [rw] days_of_week
  #   @return [::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.
  class WeeklySchedule
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # A time based retention policy specifies that all backups within a certain
  # time period should be retained.
  # @!attribute [rw] retention_period
  #   @return [::Google::Protobuf::Duration]
  #     The retention period.
  class TimeBasedRetention
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # A quantity based policy specifies that a certain number of the most recent
  # successful backups should be retained.
  # @!attribute [rw] count
  #   @return [::Integer]
  #     The number of backups to retain.
  class QuantityBasedRetention
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end

#weekly_schedule::Google::Cloud::AlloyDB::V1alpha::AutomatedBackupPolicy::WeeklySchedule



194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
# File 'proto_docs/google/cloud/alloydb/v1alpha/resources.rb', line 194

class AutomatedBackupPolicy
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # 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.
  # @!attribute [rw] start_times
  #   @return [::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.
  # @!attribute [rw] days_of_week
  #   @return [::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.
  class WeeklySchedule
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # A time based retention policy specifies that all backups within a certain
  # time period should be retained.
  # @!attribute [rw] retention_period
  #   @return [::Google::Protobuf::Duration]
  #     The retention period.
  class TimeBasedRetention
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # A quantity based policy specifies that a certain number of the most recent
  # successful backups should be retained.
  # @!attribute [rw] count
  #   @return [::Integer]
  #     The number of backups to retain.
  class QuantityBasedRetention
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end