Reference documentation and code samples for the Database Center V1BETA API class Google::Cloud::DatabaseCenter::V1beta::MaintenanceInfo.
MaintenanceInfo to capture the maintenance details of database resource.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#current_version_release_date
def current_version_release_date() -> ::Google::Type::Date
Returns
- (::Google::Type::Date) — Output only. The date when the maintenance version was released.
#deny_maintenance_schedules
def deny_maintenance_schedules() -> ::Array<::Google::Cloud::DatabaseCenter::V1beta::ResourceMaintenanceDenySchedule>
Returns
- (::Array<::Google::Cloud::DatabaseCenter::V1beta::ResourceMaintenanceDenySchedule>) — Optional. List of Deny maintenance period for the database resource.
#deny_maintenance_schedules=
def deny_maintenance_schedules=(value) -> ::Array<::Google::Cloud::DatabaseCenter::V1beta::ResourceMaintenanceDenySchedule>
Parameter
- value (::Array<::Google::Cloud::DatabaseCenter::V1beta::ResourceMaintenanceDenySchedule>) — Optional. List of Deny maintenance period for the database resource.
Returns
- (::Array<::Google::Cloud::DatabaseCenter::V1beta::ResourceMaintenanceDenySchedule>) — Optional. List of Deny maintenance period for the database resource.
#maintenance_schedule
def maintenance_schedule() -> ::Google::Cloud::DatabaseCenter::V1beta::ResourceMaintenanceSchedule
Returns
- (::Google::Cloud::DatabaseCenter::V1beta::ResourceMaintenanceSchedule) — Optional. Maintenance window for the database resource.
#maintenance_schedule=
def maintenance_schedule=(value) -> ::Google::Cloud::DatabaseCenter::V1beta::ResourceMaintenanceSchedule
Parameter
- value (::Google::Cloud::DatabaseCenter::V1beta::ResourceMaintenanceSchedule) — Optional. Maintenance window for the database resource.
Returns
- (::Google::Cloud::DatabaseCenter::V1beta::ResourceMaintenanceSchedule) — Optional. Maintenance window for the database resource.
#maintenance_version
def maintenance_version() -> ::String
Returns
- (::String) — Output only. Current Maintenance version of the database resource. Example: "MYSQL_8_0_41.R20250531.01_15"
#possible_failure_reasons
def possible_failure_reasons() -> ::Array<::Google::Cloud::DatabaseCenter::V1beta::PossibleFailureReason>
Returns
- (::Array<::Google::Cloud::DatabaseCenter::V1beta::PossibleFailureReason>) — Output only. List of possible reasons why the maintenance is not completed. This is an optional field and is only populated if there are any reasons for failures recorded for the maintenance by DB Center. FAILURE maintenance status may not always have a failure reason.
#previous_maintenance_version
def previous_maintenance_version() -> ::String
Returns
- (::String) — Output only. Previous maintenance version of the database resource. Example: "MYSQL_8_0_41.R20250531.01_15". This is available once a minor version maintenance is complete on a database resource.
#state
def state() -> ::Google::Cloud::DatabaseCenter::V1beta::MaintenanceState
Returns
- (::Google::Cloud::DatabaseCenter::V1beta::MaintenanceState) — Output only. Resource maintenance state. This is to capture the current state of the maintenance.
#upcoming_maintenance
def upcoming_maintenance() -> ::Google::Cloud::DatabaseCenter::V1beta::UpcomingMaintenance
Returns
- (::Google::Cloud::DatabaseCenter::V1beta::UpcomingMaintenance) — Output only. Upcoming maintenance window for the database resource. This is only populated for an engine, if upcoming maintenance is scheduled for the resource. This schedule is generated per engine and engine version, and there is only one upcoming maintenance window at any given time. In case of upcoming maintenance, the maintenance_state will be set to SCHEDULED first, and then IN_PROGRESS when the maintenance window starts.