Class: Google::Cloud::AlloyDB::V1beta::MaintenanceUpdatePolicy
- Inherits:
-
Object
- Object
- Google::Cloud::AlloyDB::V1beta::MaintenanceUpdatePolicy
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/alloydb/v1beta/resources.rb
Overview
MaintenanceUpdatePolicy defines the policy for system updates.
Defined Under Namespace
Classes: DenyMaintenancePeriod, MaintenanceWindow
Instance Attribute Summary collapse
-
#deny_maintenance_periods ⇒ ::Array<::Google::Cloud::AlloyDB::V1beta::MaintenanceUpdatePolicy::DenyMaintenancePeriod>
Periods to deny maintenance.
-
#maintenance_windows ⇒ ::Array<::Google::Cloud::AlloyDB::V1beta::MaintenanceUpdatePolicy::MaintenanceWindow>
Preferred windows to perform maintenance.
Instance Attribute Details
#deny_maintenance_periods ⇒ ::Array<::Google::Cloud::AlloyDB::V1beta::MaintenanceUpdatePolicy::DenyMaintenancePeriod>
Returns Periods to deny maintenance. Currently limited to 1.
339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 |
# File 'proto_docs/google/cloud/alloydb/v1beta/resources.rb', line 339 class MaintenanceUpdatePolicy include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # MaintenanceWindow specifies a preferred day and time for maintenance. # @!attribute [rw] day # @return [::Google::Type::DayOfWeek] # Preferred day of the week for maintenance, e.g. MONDAY, TUESDAY, etc. # @!attribute [rw] start_time # @return [::Google::Type::TimeOfDay] # Preferred time to start the maintenance operation on the specified day. # Maintenance will start within 1 hour of this time. class MaintenanceWindow include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # DenyMaintenancePeriod definition. Excepting emergencies, maintenance # will not be scheduled to start within this deny period. The start_date must # be less than the end_date. # @!attribute [rw] start_date # @return [::Google::Type::Date] # Deny period start date. # This can be: # * A full date, with non-zero year, month and day values OR # * A month and day value, with a zero year for recurring # @!attribute [rw] end_date # @return [::Google::Type::Date] # Deny period end date. # This can be: # * A full date, with non-zero year, month and day values OR # * A month and day value, with a zero year for recurring # @!attribute [rw] time # @return [::Google::Type::TimeOfDay] # Time in UTC when the deny period starts on start_date and ends on # end_date. This can be: # * Full time OR # * All zeros for 00:00:00 UTC class DenyMaintenancePeriod include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#maintenance_windows ⇒ ::Array<::Google::Cloud::AlloyDB::V1beta::MaintenanceUpdatePolicy::MaintenanceWindow>
Returns Preferred windows to perform maintenance. Currently limited to 1.
339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 |
# File 'proto_docs/google/cloud/alloydb/v1beta/resources.rb', line 339 class MaintenanceUpdatePolicy include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # MaintenanceWindow specifies a preferred day and time for maintenance. # @!attribute [rw] day # @return [::Google::Type::DayOfWeek] # Preferred day of the week for maintenance, e.g. MONDAY, TUESDAY, etc. # @!attribute [rw] start_time # @return [::Google::Type::TimeOfDay] # Preferred time to start the maintenance operation on the specified day. # Maintenance will start within 1 hour of this time. class MaintenanceWindow include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # DenyMaintenancePeriod definition. Excepting emergencies, maintenance # will not be scheduled to start within this deny period. The start_date must # be less than the end_date. # @!attribute [rw] start_date # @return [::Google::Type::Date] # Deny period start date. # This can be: # * A full date, with non-zero year, month and day values OR # * A month and day value, with a zero year for recurring # @!attribute [rw] end_date # @return [::Google::Type::Date] # Deny period end date. # This can be: # * A full date, with non-zero year, month and day values OR # * A month and day value, with a zero year for recurring # @!attribute [rw] time # @return [::Google::Type::TimeOfDay] # Time in UTC when the deny period starts on start_date and ends on # end_date. This can be: # * Full time OR # * All zeros for 00:00:00 UTC class DenyMaintenancePeriod include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |