v1

latestOpenAPI 3.0.0Creative Commons Attribution 3.02026-07-13226495.2 KB
projects

Creates a user workloads ConfigMap. This method is supported for Cloud Composer environments in versions composer-3-airflow-..-build. and newer.

post/v1/{+parent}/userWorkloadsConfigMaps

Path parameters

parentstring required

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

Request body

namestring

Identifier. The resource name of the ConfigMap, in the form: "projects/{projectId}/locations/{locationId}/environments/{environmentId}/userWorkloadsConfigMaps/{userWorkloadsConfigMapId}"

dataobject

Optional. The "data" field of Kubernetes ConfigMap, organized in key-value pairs. For details see: https://kubernetes.io/docs/concepts/configuration/configmap/ Example: { "example_key": "example_value", "another_key": "another_value" }

Response

Successful response