Airflow Summit 2023
Join the Airflow community on September 19—21 during the Airflow Summit 2023 conference to learn more about Airflow and share your expertise. Call for papers is now open

Method: projects.locations.environments.create

Stay organized with collections Save and categorize content based on your preferences.

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.