Reference documentation and code samples for the Database Center V1BETA API class Google::Cloud::DatabaseCenter::V1beta::ResourceMaintenanceSchedule.
Maintenance window for the database resource. It specifies preferred time and day of the week and phase in some cases, when the maintenance can start.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#day
def day() -> ::Google::Type::DayOfWeek
Returns
- (::Google::Type::DayOfWeek) — Optional. Preferred day of the week for maintenance, e.g. MONDAY, TUESDAY, etc.
#day=
def day=(value) -> ::Google::Type::DayOfWeek
Parameter
- value (::Google::Type::DayOfWeek) — Optional. Preferred day of the week for maintenance, e.g. MONDAY, TUESDAY, etc.
Returns
- (::Google::Type::DayOfWeek) — Optional. Preferred day of the week for maintenance, e.g. MONDAY, TUESDAY, etc.
#phase
def phase() -> ::Google::Cloud::DatabaseCenter::V1beta::Phase
Returns
- (::Google::Cloud::DatabaseCenter::V1beta::Phase) — Optional. Phase of the maintenance window. This is to capture order of maintenance. For example, for Cloud SQL resources, this can be used to capture if the maintenance window is in Week1, Week2, Week5, etc. Non production resources are usually part of early phase. For more details, refer to Cloud SQL resources - https://cloud.google.com/sql/docs/mysql/maintenance
#phase=
def phase=(value) -> ::Google::Cloud::DatabaseCenter::V1beta::Phase
Parameter
- value (::Google::Cloud::DatabaseCenter::V1beta::Phase) — Optional. Phase of the maintenance window. This is to capture order of maintenance. For example, for Cloud SQL resources, this can be used to capture if the maintenance window is in Week1, Week2, Week5, etc. Non production resources are usually part of early phase. For more details, refer to Cloud SQL resources - https://cloud.google.com/sql/docs/mysql/maintenance
Returns
- (::Google::Cloud::DatabaseCenter::V1beta::Phase) — Optional. Phase of the maintenance window. This is to capture order of maintenance. For example, for Cloud SQL resources, this can be used to capture if the maintenance window is in Week1, Week2, Week5, etc. Non production resources are usually part of early phase. For more details, refer to Cloud SQL resources - https://cloud.google.com/sql/docs/mysql/maintenance
#start_time
def start_time() -> ::Google::Type::TimeOfDay
Returns
- (::Google::Type::TimeOfDay) — Optional. Preferred time to start the maintenance operation on the specified day.
#start_time=
def start_time=(value) -> ::Google::Type::TimeOfDay
Parameter
- value (::Google::Type::TimeOfDay) — Optional. Preferred time to start the maintenance operation on the specified day.
Returns
- (::Google::Type::TimeOfDay) — Optional. Preferred time to start the maintenance operation on the specified day.