Stackdriver Monitoring V3 Client - Class UpdateServiceLevelObjectiveRequest (1.2.2)

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

The UpdateServiceLevelObjective request.

Generated from protobuf message google.monitoring.v3.UpdateServiceLevelObjectiveRequest

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ service_level_objective Google\Cloud\Monitoring\V3\ServiceLevelObjective

Required. The ServiceLevelObjective 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.

getServiceLevelObjective

Required. The ServiceLevelObjective to draw updates from.

The given name specifies the resource to update.

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

Returns
Type Description
Google\Cloud\Monitoring\V3\ServiceLevelObjective|null

hasServiceLevelObjective

clearServiceLevelObjective

setServiceLevelObjective

Required. The ServiceLevelObjective to draw updates from.

The given name specifies the resource to update.

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

Parameter
Name Description
var Google\Cloud\Monitoring\V3\ServiceLevelObjective
Returns
Type Description
$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
Type Description
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
Name Description
var Google\Protobuf\FieldMask
Returns
Type Description
$this