Stackdriver Monitoring V3 Client - Class UpdateGroupRequest (1.2.2)

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

The UpdateGroup request.

Generated from protobuf message google.monitoring.v3.UpdateGroupRequest

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ group Google\Cloud\Monitoring\V3\Group

Required. The new definition of the group. All fields of the existing group, excepting name, are replaced with the corresponding fields of this group.

↳ validate_only bool

If true, validate this request but do not update the existing group.

getGroup

Required. The new definition of the group. All fields of the existing group, excepting name, are replaced with the corresponding fields of this group.

Generated from protobuf field .google.monitoring.v3.Group group = 2 [(.google.api.field_behavior) = REQUIRED];

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

hasGroup

clearGroup

setGroup

Required. The new definition of the group. All fields of the existing group, excepting name, are replaced with the corresponding fields of this group.

Generated from protobuf field .google.monitoring.v3.Group group = 2 [(.google.api.field_behavior) = REQUIRED];

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

getValidateOnly

If true, validate this request but do not update the existing group.

Generated from protobuf field bool validate_only = 3;

Returns
TypeDescription
bool

setValidateOnly

If true, validate this request but do not update the existing group.

Generated from protobuf field bool validate_only = 3;

Parameter
NameDescription
var bool
Returns
TypeDescription
$this