Reference documentation and code samples for the Stackdriver Monitoring V3 Client class CreateGroupRequest.
The CreateGroup
request.
Generated from protobuf message google.monitoring.v3.CreateGroupRequest
Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ name
string
Required. The project in which to create the group. The format is: projects/[PROJECT_ID_OR_NUMBER]
↳ group
Google\Cloud\Monitoring\V3\Group
Required. A group definition. It is an error to define the name
field because the system assigns the name.
↳ validate_only
bool
If true, validate this request but do not create the group.
getName
Required. The project in which to create the group. The format is: projects/[PROJECT_ID_OR_NUMBER]
Generated from protobuf field string name = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
string
setName
Required. The project in which to create the group. The format is: projects/[PROJECT_ID_OR_NUMBER]
Generated from protobuf field string name = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
var
string
$this
getGroup
Required. A group definition. It is an error to define the name
field because
the system assigns the name.
Generated from protobuf field .google.monitoring.v3.Group group = 2 [(.google.api.field_behavior) = REQUIRED];
hasGroup
clearGroup
setGroup
Required. A group definition. It is an error to define the name
field because
the system assigns the name.
Generated from protobuf field .google.monitoring.v3.Group group = 2 [(.google.api.field_behavior) = REQUIRED];
$this
getValidateOnly
If true, validate this request but do not create the group.
Generated from protobuf field bool validate_only = 3;
bool
setValidateOnly
If true, validate this request but do not create the group.
Generated from protobuf field bool validate_only = 3;
var
bool
$this