Method: environmentGroups.create

Full name: projects.locations.instances.environmentGroups.create

Creates a new EnvironmentGroup. Use this method to define a logical set of environments. Each group must have a unique display name, and only environments the user has access to can be added.

HTTP request


POST https://chronicle.africa-south1.rep.googleapis.com/v1alpha/{parent}/environmentGroups

Path parameters

Parameters
parent

string

Required. The instance to create the EnvironmentGroup for. Format: projects/{project}/locations/{location}/instances/{instance}

Request body

The request body contains an instance of EnvironmentGroup.

Response body

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

Authorization scopes

Requires one of the following OAuth scopes:

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

For more information, see the Authentication Overview.

IAM Permissions

Requires the following IAM permission on the parent resource:

  • chronicle.environmentGroups.update

For more information, see the IAM documentation.