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

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

Optional. 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
ResourceMaintenanceSchedule|null

hasMaintenanceSchedule

clearMaintenanceSchedule

setMaintenanceSchedule

Optional. Maintenance window for the database resource.

Parameter
Name Description
var ResourceMaintenanceSchedule
Returns
Type Description
$this

getDenyMaintenanceSchedules

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

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setDenyMaintenanceSchedules

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

Parameter
Name Description
var array<ResourceMaintenanceDenySchedule>
Returns
Type Description
$this

getMaintenanceVersion

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

Returns
Type Description
string

setMaintenanceVersion

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

Parameter
Name Description
var string
Returns
Type Description
$this