Stackdriver Monitoring V3 Client - Class UpdateGroupRequest (1.10.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

Namespace

Google \ Cloud \ Monitoring \ V3

Methods

__construct

Constructor.

Parameters
Name Description
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.

Returns
Type Description
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.

Parameter
Name Description
var Google\Cloud\Monitoring\V3\Group
Returns
Type Description
$this

getValidateOnly

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

Returns
Type Description
bool

setValidateOnly

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

Parameter
Name Description
var bool
Returns
Type Description
$this

static::build

Parameter
Name Description
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.

Returns
Type Description
Google\Cloud\Monitoring\V3\UpdateGroupRequest