Google Cloud Maintenance Api V1beta Client - Class Maintenance (0.1.0)

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

Maintenance is the maintenance details of a resource's maintenance.

Generated from protobuf message google.cloud.maintenance.api.v1beta.ResourceMaintenance.Maintenance

Namespace

Google \ Cloud \ Maintenance \ Api \ V1beta \ ResourceMaintenance

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ maintenance_name string

Maintenance is the name of the corresponding maintenance resource following the standard naming scheme: "{maintenance-id}"

↳ title string

Output only. The title of the maintenance.

↳ description string

Output only. The description of the maintenance.

↳ category int

Output only. The category of the maintenance.

getMaintenanceName

Maintenance is the name of the corresponding maintenance resource following the standard naming scheme: "{maintenance-id}"

Returns
Type Description
string

setMaintenanceName

Maintenance is the name of the corresponding maintenance resource following the standard naming scheme: "{maintenance-id}"

Parameter
Name Description
var string
Returns
Type Description
$this

getTitle

Output only. The title of the maintenance.

Returns
Type Description
string

setTitle

Output only. The title of the maintenance.

Parameter
Name Description
var string
Returns
Type Description
$this

getDescription

Output only. The description of the maintenance.

Returns
Type Description
string

setDescription

Output only. The description of the maintenance.

Parameter
Name Description
var string
Returns
Type Description
$this

getCategory

Output only. The category of the maintenance.

Returns
Type Description
int Enum of type MaintenanceCategory.

setCategory

Output only. The category of the maintenance.

Parameter
Name Description
var int

Enum of type MaintenanceCategory.

Returns
Type Description
$this