class CreateGroupRequest extends Message

The CreateGroup request.

Protobuf type Google\Monitoring\V3\CreateGroupRequest

Methods

__construct()

No description

string
getName()

The project in which to create the group. The format is "projects/{project_id_or_number}".

setName(string $var)

The project in which to create the group. The format is "projects/{project_id_or_number}".

getGroup()

A group definition. It is an error to define the name field because the system assigns the name.

setGroup(Group $var)

A group definition. It is an error to define the name field because the system assigns the name.

bool
getValidateOnly()

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

setValidateOnly(bool $var)

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

Details

at line 39
__construct()

at line 51
string getName()

The project in which to create the group. The format is "projects/{project_id_or_number}".

Generated from protobuf field string name = 4;

Return Value

string

at line 63
setName(string $var)

The project in which to create the group. The format is "projects/{project_id_or_number}".

Generated from protobuf field string name = 4;

Parameters

string $var

at line 76
Group getGroup()

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;

Return Value

Group

at line 88
setGroup(Group $var)

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;

Parameters

Group $var

at line 100
bool getValidateOnly()

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

Generated from protobuf field bool validate_only = 3;

Return Value

bool

at line 111
setValidateOnly(bool $var)

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

Generated from protobuf field bool validate_only = 3;

Parameters

bool $var