You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<pclass="firstline">Creates a user workloads ConfigMap. This method is supported for Cloud Composer environments in versions composer-3.*.*-airflow-*.*.* and newer.</p>
<pclass="firstline">Deletes a user workloads ConfigMap. This method is supported for Cloud Composer environments in versions composer-3.*.*-airflow-*.*.* and newer.</p>
<pclass="firstline">Gets an existing user workloads ConfigMap. This method is supported for Cloud Composer environments in versions composer-3.*.*-airflow-*.*.* and newer.</p>
<pclass="firstline">Lists user workloads ConfigMaps. This method is supported for Cloud Composer environments in versions composer-3.*.*-airflow-*.*.* and newer.</p>
<pclass="firstline">Updates a user workloads ConfigMap. This method is supported for Cloud Composer environments in versions composer-3.*.*-airflow-*.*.* and newer.</p>
<pre>Creates a user workloads ConfigMap. This method is supported for Cloud Composer environments in versions composer-3.*.*-airflow-*.*.* and newer.
107
+
108
+
Args:
109
+
parent: string, Required. The environment name to create a ConfigMap for, in the form: "projects/{projectId}/locations/{locationId}/environments/{environmentId}" (required)
110
+
body: object, The request body.
111
+
The object takes the form of:
112
+
113
+
{ # User workloads ConfigMap used by Airflow tasks that run with Kubernetes executor or KubernetesPodOperator.
114
+
"data": { # Optional. The "data" field of Kubernetes ConfigMap, organized in key-value pairs. For details see: https://kubernetes.io/docs/concepts/configuration/configmap/
115
+
"a_key": "A String",
116
+
},
117
+
"name": "A String", # Identifier. The resource name of the ConfigMap, in the form: "projects/{projectId}/locations/{locationId}/environments/{environmentId}/userWorkloadsConfigMaps/{userWorkloadsConfigMapId}"
118
+
}
119
+
120
+
x__xgafv: string, V1 error format.
121
+
Allowed values
122
+
1 - v1 error format
123
+
2 - v2 error format
124
+
125
+
Returns:
126
+
An object of the form:
127
+
128
+
{ # User workloads ConfigMap used by Airflow tasks that run with Kubernetes executor or KubernetesPodOperator.
129
+
"data": { # Optional. The "data" field of Kubernetes ConfigMap, organized in key-value pairs. For details see: https://kubernetes.io/docs/concepts/configuration/configmap/
130
+
"a_key": "A String",
131
+
},
132
+
"name": "A String", # Identifier. The resource name of the ConfigMap, in the form: "projects/{projectId}/locations/{locationId}/environments/{environmentId}/userWorkloadsConfigMaps/{userWorkloadsConfigMapId}"
<pre>Deletes a user workloads ConfigMap. This method is supported for Cloud Composer environments in versions composer-3.*.*-airflow-*.*.* and newer.
139
+
140
+
Args:
141
+
name: string, Required. The ConfigMap to delete, in the form: "projects/{projectId}/locations/{locationId}/environments/{environmentId}/userWorkloadsConfigMaps/{userWorkloadsConfigMapId}" (required)
142
+
x__xgafv: string, V1 error format.
143
+
Allowed values
144
+
1 - v1 error format
145
+
2 - v2 error format
146
+
147
+
Returns:
148
+
An object of the form:
149
+
150
+
{ # A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }
<pre>Gets an existing user workloads ConfigMap. This method is supported for Cloud Composer environments in versions composer-3.*.*-airflow-*.*.* and newer.
157
+
158
+
Args:
159
+
name: string, Required. The resource name of the ConfigMap to get, in the form: "projects/{projectId}/locations/{locationId}/environments/{environmentId}/userWorkloadsConfigMaps/{userWorkloadsConfigMapId}" (required)
160
+
x__xgafv: string, V1 error format.
161
+
Allowed values
162
+
1 - v1 error format
163
+
2 - v2 error format
164
+
165
+
Returns:
166
+
An object of the form:
167
+
168
+
{ # User workloads ConfigMap used by Airflow tasks that run with Kubernetes executor or KubernetesPodOperator.
169
+
"data": { # Optional. The "data" field of Kubernetes ConfigMap, organized in key-value pairs. For details see: https://kubernetes.io/docs/concepts/configuration/configmap/
170
+
"a_key": "A String",
171
+
},
172
+
"name": "A String", # Identifier. The resource name of the ConfigMap, in the form: "projects/{projectId}/locations/{locationId}/environments/{environmentId}/userWorkloadsConfigMaps/{userWorkloadsConfigMapId}"
<pre>Lists user workloads ConfigMaps. This method is supported for Cloud Composer environments in versions composer-3.*.*-airflow-*.*.* and newer.
179
+
180
+
Args:
181
+
parent: string, Required. List ConfigMaps in the given environment, in the form: "projects/{projectId}/locations/{locationId}/environments/{environmentId}" (required)
182
+
pageSize: integer, Optional. The maximum number of ConfigMaps to return.
183
+
pageToken: string, Optional. The next_page_token value returned from a previous List request, if any.
184
+
x__xgafv: string, V1 error format.
185
+
Allowed values
186
+
1 - v1 error format
187
+
2 - v2 error format
188
+
189
+
Returns:
190
+
An object of the form:
191
+
192
+
{ # The user workloads ConfigMaps for a given environment.
193
+
"nextPageToken": "A String", # The page token used to query for the next page if one exists.
194
+
"userWorkloadsConfigMaps": [ # The list of ConfigMaps returned by a ListUserWorkloadsConfigMapsRequest.
195
+
{ # User workloads ConfigMap used by Airflow tasks that run with Kubernetes executor or KubernetesPodOperator.
196
+
"data": { # Optional. The "data" field of Kubernetes ConfigMap, organized in key-value pairs. For details see: https://kubernetes.io/docs/concepts/configuration/configmap/
197
+
"a_key": "A String",
198
+
},
199
+
"name": "A String", # Identifier. The resource name of the ConfigMap, in the form: "projects/{projectId}/locations/{locationId}/environments/{environmentId}/userWorkloadsConfigMaps/{userWorkloadsConfigMapId}"
<pre>Updates a user workloads ConfigMap. This method is supported for Cloud Composer environments in versions composer-3.*.*-airflow-*.*.* and newer.
222
+
223
+
Args:
224
+
name: string, Identifier. The resource name of the ConfigMap, in the form: "projects/{projectId}/locations/{locationId}/environments/{environmentId}/userWorkloadsConfigMaps/{userWorkloadsConfigMapId}" (required)
225
+
body: object, The request body.
226
+
The object takes the form of:
227
+
228
+
{ # User workloads ConfigMap used by Airflow tasks that run with Kubernetes executor or KubernetesPodOperator.
229
+
"data": { # Optional. The "data" field of Kubernetes ConfigMap, organized in key-value pairs. For details see: https://kubernetes.io/docs/concepts/configuration/configmap/
230
+
"a_key": "A String",
231
+
},
232
+
"name": "A String", # Identifier. The resource name of the ConfigMap, in the form: "projects/{projectId}/locations/{locationId}/environments/{environmentId}/userWorkloadsConfigMaps/{userWorkloadsConfigMapId}"
233
+
}
234
+
235
+
x__xgafv: string, V1 error format.
236
+
Allowed values
237
+
1 - v1 error format
238
+
2 - v2 error format
239
+
240
+
Returns:
241
+
An object of the form:
242
+
243
+
{ # User workloads ConfigMap used by Airflow tasks that run with Kubernetes executor or KubernetesPodOperator.
244
+
"data": { # Optional. The "data" field of Kubernetes ConfigMap, organized in key-value pairs. For details see: https://kubernetes.io/docs/concepts/configuration/configmap/
245
+
"a_key": "A String",
246
+
},
247
+
"name": "A String", # Identifier. The resource name of the ConfigMap, in the form: "projects/{projectId}/locations/{locationId}/environments/{environmentId}/userWorkloadsConfigMaps/{userWorkloadsConfigMapId}"
0 commit comments