Method: projects.groups.create

Creates a new group.

HTTP request

POST https://monitoring.googleapis.com/v3/{name}/groups

Path parameters

Parameters
name

string

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

Query parameters

Parameters
validateOnly

boolean

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

Request body

The request body contains an instance of Group.

Response body

If successful, the response body contains a newly created instance of Group.

Authorization

Requires one of the following OAuth scopes:

  • https://www.googleapis.com/auth/cloud-platform
  • https://www.googleapis.com/auth/monitoring

For more information, see the Auth Guide.

Monitor your resources on the go

Get the Google Cloud Console app to help you manage your projects.

Send feedback about...

Stackdriver Monitoring