Google Cloud Database Center V1beta Client - Class MaintenanceInfo (0.5.0)

Reference documentation and code samples for the Google Cloud Database Center V1beta Client class MaintenanceInfo.

MaintenanceInfo to capture the maintenance details of database resource.

Generated from protobuf message google.cloud.databasecenter.v1beta.MaintenanceInfo

Namespace

Google \ Cloud \ DatabaseCenter \ V1beta

Methods

__construct

Constructor.

Parameters
Name
Description
data
array

Optional. Data for populating the Message object.

↳ maintenance_schedule
ResourceMaintenanceSchedule

Optional. Maintenance window for the database resource.

↳ deny_maintenance_schedules
array< ResourceMaintenanceDenySchedule >

Optional. List of Deny maintenance period for the database resource.

↳ maintenance_version
string

Output only. Current Maintenance version of the database resource. Example: "MYSQL_8_0_41.R20250531.01_15"

getMaintenanceSchedule

Optional. Maintenance window for the database resource.

Returns
Type
Description

hasMaintenanceSchedule

clearMaintenanceSchedule

setMaintenanceSchedule

Optional. Maintenance window for the database resource.

Parameter
Name
Description
Returns
Type
Description
$this

getDenyMaintenanceSchedules

Optional. List of Deny maintenance period for the database resource.

setDenyMaintenanceSchedules

Optional. List of Deny maintenance period for the database resource.

Parameter
Name
Description
Returns
Type
Description
$this

getMaintenanceVersion

Output only. Current Maintenance version of the database resource. Example: "MYSQL_8_0_41.R20250531.01_15"

Returns
Type
Description
string

setMaintenanceVersion

Output only. Current Maintenance version of the database resource. Example: "MYSQL_8_0_41.R20250531.01_15"

Parameter
Name
Description
var
string
Returns
Type
Description
$this
Design a Mobile Site
View Site in Mobile | Classic
Share by: