Stackdriver Monitoring V3 Client - Class UpdateServiceRequest (1.2.2)

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

The UpdateService request.

Generated from protobuf message google.monitoring.v3.UpdateServiceRequest

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ service Google\Cloud\Monitoring\V3\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.

Generated from protobuf field .google.monitoring.v3.Service service = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
Google\Cloud\Monitoring\V3\Service|null

hasService

clearService

setService

Required. The Service to draw updates from.

The given name specifies the resource to update.

Generated from protobuf field .google.monitoring.v3.Service service = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
var Google\Cloud\Monitoring\V3\Service
Returns
TypeDescription
$this

getUpdateMask

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

Generated from protobuf field .google.protobuf.FieldMask update_mask = 2;

Returns
TypeDescription
Google\Protobuf\FieldMask|null

hasUpdateMask

clearUpdateMask

setUpdateMask

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

Generated from protobuf field .google.protobuf.FieldMask update_mask = 2;

Parameter
NameDescription
var Google\Protobuf\FieldMask
Returns
TypeDescription
$this