Method: projects.locations.environments.create

Create a new environment.

HTTP request

POST https://composer.googleapis.com/v1beta1/{parent=projects/*/locations/*}/environments

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
parent

string

The parent must be of the form "projects/{projectId}/locations/{locationId}".

Authorization requires the following IAM permission on the specified resource parent:

  • composer.environments.create

Request body

The request body contains an instance of Environment.

Response body

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

Authorization scopes

Requires the following OAuth scope:

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

For more information, see the Authentication Overview.