Reference documentation and code samples for the Google Cloud Maintenance Api V1beta Client class MaintenanceControl.
The control of the maintenance.
Generated from protobuf message google.cloud.maintenance.api.v1beta.MaintenanceControl
Namespace
Google \ Cloud \ Maintenance \ Api \ V1betaMethods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ control |
int
The control of the resource maintenance. |
↳ is_custom |
bool
Indicates whether the control is available only in Service Producer API (not through Unified Maintenance). |
↳ documentation |
string
Link to Service Producer documentation about maintenance control. Provided only when |
getControl
The control of the resource maintenance.
Returns | |
---|---|
Type | Description |
int |
setControl
The control of the resource maintenance.
Parameter | |
---|---|
Name | Description |
var |
int
|
Returns | |
---|---|
Type | Description |
$this |
getIsCustom
Indicates whether the control is available only in Service Producer API (not through Unified Maintenance).
Returns | |
---|---|
Type | Description |
bool |
setIsCustom
Indicates whether the control is available only in Service Producer API (not through Unified Maintenance).
Parameter | |
---|---|
Name | Description |
var |
bool
|
Returns | |
---|---|
Type | Description |
$this |
getDocumentation
Link to Service Producer documentation about maintenance control. Provided
only when isCustom
is true
.
Returns | |
---|---|
Type | Description |
string |
setDocumentation
Link to Service Producer documentation about maintenance control. Provided
only when isCustom
is true
.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |