Stackdriver Monitoring V3 Client - Class UpdateGroupRequest (1.6.0)

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
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.

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.

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

getValidateOnly

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

Returns
TypeDescription
bool

setValidateOnly

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

Parameter
NameDescription
var bool
Returns
TypeDescription
$this

static::build

Parameter
NameDescription
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
TypeDescription
Google\Cloud\Monitoring\V3\UpdateGroupRequest