Method: projects.locations.environments.userWorkloadsConfigMaps.create

Creates a user workloads ConfigMap.

This method is supported for Cloud Composer environments in versions composer-3.*.*-airflow-*.*.* and newer.

HTTP request

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

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
parent

string

Required. The environment name to create a ConfigMap for, in the form: "projects/{projectId}/locations/{locationId}/environments/{environmentId}"

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

  • composer.userworkloadsconfigmaps.create

Request body

The request body contains an instance of UserWorkloadsConfigMap.

Response body

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

Authorization scopes

Requires the following OAuth scope:

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

For more information, see the Authentication Overview.