Stackdriver Monitoring V3 Client - Class UpdateServiceRequest (1.11.1)

Reference documentation and code samples for the Stackdriver Monitoring V3 Client class UpdateServiceRequest.

The UpdateService request.

Generated from protobuf message google.monitoring.v3.UpdateServiceRequest

Namespace

Google \ Cloud \ Monitoring \ V3

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ service Service

Required. The Service to draw updates from. The given name specifies the resource to update.

↳ update_mask Google\Protobuf\FieldMask

A set of field paths defining which fields to use for the update.

getService

Required. The Service to draw updates from.

The given name specifies the resource to update.

Returns
Type Description
Service|null

hasService

clearService

setService

Required. The Service to draw updates from.

The given name specifies the resource to update.

Parameter
Name Description
var Service
Returns
Type Description
$this

getUpdateMask

A set of field paths defining which fields to use for the update.

Returns
Type Description
Google\Protobuf\FieldMask|null

hasUpdateMask

clearUpdateMask

setUpdateMask

A set of field paths defining which fields to use for the update.

Parameter
Name Description
var Google\Protobuf\FieldMask
Returns
Type Description
$this

static::build

Parameter
Name Description
service Service

Required. The Service to draw updates from. The given name specifies the resource to update.

Returns
Type Description
UpdateServiceRequest