v1

latestOpenAPI 3.0.0Creative Commons Attribution 3.02026-07-1333131212.7 KB
projects

Creates a new group.

post/v3/{+name}/groups

Path parameters

namestring required

Required. The project (https://cloud.google.com/monitoring/api/v3#project_name) in which to create the group. The format is: projects/[PROJECT_ID_OR_NUMBER]

Query parameters

validateOnlyboolean

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

Request body

filterstring

The filter used to determine which monitored resources belong to this group.

namestring

Output only. The name of this group. The format is: projects/[PROJECT_ID_OR_NUMBER]/groups/[GROUP_ID] When creating a group, this field is ignored and a new name is created consisting of the project specified in the call to CreateGroup and a unique [GROUP_ID] that is generated automatically.

displayNamestring

A user-assigned name for this group, used only for display purposes.

isClusterboolean

If true, the members of this group are considered to be a cluster. The system can perform additional analysis on groups that are clusters.

parentNamestring

The name of the group's parent, if it has one. The format is: projects/[PROJECT_ID_OR_NUMBER]/groups/[GROUP_ID] For groups with no parent, parent_name is the empty string, "".

Response

Successful response