Google Cloud Maintenance Api V1beta Client - Class MaintenanceControl (0.3.2)

Beta

This library is covered by thePre-GA Offerings Terms of the Terms of Service. Pre-GA libraries might have limited support, and changes to pre-GA libraries might not be compatible with other pre-GA versions. For more information, see thelaunch stage descriptions.

Reference documentation and code samples for the Google Cloud Maintenance Api V1beta Client class MaintenanceControl.

The control of the maintenance.

Generated from protobuf messagegoogle.cloud.maintenance.api.v1beta.MaintenanceControl

Namespace

Google \ Cloud \ Maintenance \ Api \ V1beta

Methods

__construct

Constructor.

Parameters
NameDescription
dataarray

Optional. Data for populating the Message object.

↳ controlint

The control of the resource maintenance.

↳ is_custombool

Indicates whether the control is available only in Service Producer API (not through Unified Maintenance).

↳ documentationstring

Link to Service Producer documentation about maintenance control. Provided only whenisCustom istrue.

getControl

The control of the resource maintenance.

Returns
TypeDescription
intEnum of typeControl.

setControl

The control of the resource maintenance.

Parameter
NameDescription
varint

Enum of typeControl.

Returns
TypeDescription
$this

getIsCustom

Indicates whether the control is available only in Service Producer API(not through Unified Maintenance).

Returns
TypeDescription
bool

setIsCustom

Indicates whether the control is available only in Service Producer API(not through Unified Maintenance).

Parameter
NameDescription
varbool
Returns
TypeDescription
$this

getDocumentation

Link to Service Producer documentation about maintenance control. Providedonly whenisCustom istrue.

Returns
TypeDescription
string

setDocumentation

Link to Service Producer documentation about maintenance control. Providedonly whenisCustom istrue.

Parameter
NameDescription
varstring
Returns
TypeDescription
$this

Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2026-01-24 UTC.