Skip to content

Commit 5b090ef

Browse files
feat(composer): update the api
#### composer:v1 The following keys were added: - resources.projects.resources.locations.resources.environments.resources.userWorkloadsConfigMaps.methods.create (Total Keys: 12) - resources.projects.resources.locations.resources.environments.resources.userWorkloadsConfigMaps.methods.delete (Total Keys: 11) - resources.projects.resources.locations.resources.environments.resources.userWorkloadsConfigMaps.methods.get (Total Keys: 11) - resources.projects.resources.locations.resources.environments.resources.userWorkloadsConfigMaps.methods.list (Total Keys: 16) - resources.projects.resources.locations.resources.environments.resources.userWorkloadsConfigMaps.methods.update (Total Keys: 12) - resources.projects.resources.locations.resources.environments.resources.userWorkloadsSecrets.methods.create (Total Keys: 12) - resources.projects.resources.locations.resources.environments.resources.userWorkloadsSecrets.methods.delete (Total Keys: 11) - resources.projects.resources.locations.resources.environments.resources.userWorkloadsSecrets.methods.get (Total Keys: 11) - resources.projects.resources.locations.resources.environments.resources.userWorkloadsSecrets.methods.list (Total Keys: 16) - resources.projects.resources.locations.resources.environments.resources.userWorkloadsSecrets.methods.update (Total Keys: 12) - schemas.ListUserWorkloadsConfigMapsResponse (Total Keys: 5) - schemas.ListUserWorkloadsSecretsResponse (Total Keys: 5) - schemas.UserWorkloadsConfigMap (Total Keys: 5) - schemas.UserWorkloadsSecret (Total Keys: 5)
1 parent 542d1b0 commit 5b090ef

5 files changed

+878
-2
lines changed

docs/dyn/composer_v1.projects.locations.environments.html

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,16 @@
7474

7575
<h1><a href="composer_v1.html">Cloud Composer API</a> . <a href="composer_v1.projects.html">projects</a> . <a href="composer_v1.projects.locations.html">locations</a> . <a href="composer_v1.projects.locations.environments.html">environments</a></h1>
7676
<h2>Instance Methods</h2>
77+
<p class="toc_element">
78+
<code><a href="composer_v1.projects.locations.environments.userWorkloadsConfigMaps.html">userWorkloadsConfigMaps()</a></code>
79+
</p>
80+
<p class="firstline">Returns the userWorkloadsConfigMaps Resource.</p>
81+
82+
<p class="toc_element">
83+
<code><a href="composer_v1.projects.locations.environments.userWorkloadsSecrets.html">userWorkloadsSecrets()</a></code>
84+
</p>
85+
<p class="firstline">Returns the userWorkloadsSecrets Resource.</p>
86+
7787
<p class="toc_element">
7888
<code><a href="composer_v1.projects.locations.environments.workloads.html">workloads()</a></code>
7989
</p>
Lines changed: 251 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,251 @@
1+
<html><body>
2+
<style>
3+
4+
body, h1, h2, h3, div, span, p, pre, a {
5+
margin: 0;
6+
padding: 0;
7+
border: 0;
8+
font-weight: inherit;
9+
font-style: inherit;
10+
font-size: 100%;
11+
font-family: inherit;
12+
vertical-align: baseline;
13+
}
14+
15+
body {
16+
font-size: 13px;
17+
padding: 1em;
18+
}
19+
20+
h1 {
21+
font-size: 26px;
22+
margin-bottom: 1em;
23+
}
24+
25+
h2 {
26+
font-size: 24px;
27+
margin-bottom: 1em;
28+
}
29+
30+
h3 {
31+
font-size: 20px;
32+
margin-bottom: 1em;
33+
margin-top: 1em;
34+
}
35+
36+
pre, code {
37+
line-height: 1.5;
38+
font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace;
39+
}
40+
41+
pre {
42+
margin-top: 0.5em;
43+
}
44+
45+
h1, h2, h3, p {
46+
font-family: Arial, sans serif;
47+
}
48+
49+
h1, h2, h3 {
50+
border-bottom: solid #CCC 1px;
51+
}
52+
53+
.toc_element {
54+
margin-top: 0.5em;
55+
}
56+
57+
.firstline {
58+
margin-left: 2 em;
59+
}
60+
61+
.method {
62+
margin-top: 1em;
63+
border: solid 1px #CCC;
64+
padding: 1em;
65+
background: #EEE;
66+
}
67+
68+
.details {
69+
font-weight: bold;
70+
font-size: 14px;
71+
}
72+
73+
</style>
74+
75+
<h1><a href="composer_v1.html">Cloud Composer API</a> . <a href="composer_v1.projects.html">projects</a> . <a href="composer_v1.projects.locations.html">locations</a> . <a href="composer_v1.projects.locations.environments.html">environments</a> . <a href="composer_v1.projects.locations.environments.userWorkloadsConfigMaps.html">userWorkloadsConfigMaps</a></h1>
76+
<h2>Instance Methods</h2>
77+
<p class="toc_element">
78+
<code><a href="#close">close()</a></code></p>
79+
<p class="firstline">Close httplib2 connections.</p>
80+
<p class="toc_element">
81+
<code><a href="#create">create(parent, body=None, x__xgafv=None)</a></code></p>
82+
<p class="firstline">Creates a user workloads ConfigMap. This method is supported for Cloud Composer environments in versions composer-3.*.*-airflow-*.*.* and newer.</p>
83+
<p class="toc_element">
84+
<code><a href="#delete">delete(name, x__xgafv=None)</a></code></p>
85+
<p class="firstline">Deletes a user workloads ConfigMap. This method is supported for Cloud Composer environments in versions composer-3.*.*-airflow-*.*.* and newer.</p>
86+
<p class="toc_element">
87+
<code><a href="#get">get(name, x__xgafv=None)</a></code></p>
88+
<p class="firstline">Gets an existing user workloads ConfigMap. This method is supported for Cloud Composer environments in versions composer-3.*.*-airflow-*.*.* and newer.</p>
89+
<p class="toc_element">
90+
<code><a href="#list">list(parent, pageSize=None, pageToken=None, x__xgafv=None)</a></code></p>
91+
<p class="firstline">Lists user workloads ConfigMaps. This method is supported for Cloud Composer environments in versions composer-3.*.*-airflow-*.*.* and newer.</p>
92+
<p class="toc_element">
93+
<code><a href="#list_next">list_next()</a></code></p>
94+
<p class="firstline">Retrieves the next page of results.</p>
95+
<p class="toc_element">
96+
<code><a href="#update">update(name, body=None, x__xgafv=None)</a></code></p>
97+
<p class="firstline">Updates a user workloads ConfigMap. This method is supported for Cloud Composer environments in versions composer-3.*.*-airflow-*.*.* and newer.</p>
98+
<h3>Method Details</h3>
99+
<div class="method">
100+
<code class="details" id="close">close()</code>
101+
<pre>Close httplib2 connections.</pre>
102+
</div>
103+
104+
<div class="method">
105+
<code class="details" id="create">create(parent, body=None, x__xgafv=None)</code>
106+
<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: &quot;projects/{projectId}/locations/{locationId}/environments/{environmentId}&quot; (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+
&quot;data&quot;: { # Optional. The &quot;data&quot; field of Kubernetes ConfigMap, organized in key-value pairs. For details see: https://kubernetes.io/docs/concepts/configuration/configmap/
115+
&quot;a_key&quot;: &quot;A String&quot;,
116+
},
117+
&quot;name&quot;: &quot;A String&quot;, # Identifier. The resource name of the ConfigMap, in the form: &quot;projects/{projectId}/locations/{locationId}/environments/{environmentId}/userWorkloadsConfigMaps/{userWorkloadsConfigMapId}&quot;
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+
&quot;data&quot;: { # Optional. The &quot;data&quot; field of Kubernetes ConfigMap, organized in key-value pairs. For details see: https://kubernetes.io/docs/concepts/configuration/configmap/
130+
&quot;a_key&quot;: &quot;A String&quot;,
131+
},
132+
&quot;name&quot;: &quot;A String&quot;, # Identifier. The resource name of the ConfigMap, in the form: &quot;projects/{projectId}/locations/{locationId}/environments/{environmentId}/userWorkloadsConfigMaps/{userWorkloadsConfigMapId}&quot;
133+
}</pre>
134+
</div>
135+
136+
<div class="method">
137+
<code class="details" id="delete">delete(name, x__xgafv=None)</code>
138+
<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: &quot;projects/{projectId}/locations/{locationId}/environments/{environmentId}/userWorkloadsConfigMaps/{userWorkloadsConfigMapId}&quot; (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); }
151+
}</pre>
152+
</div>
153+
154+
<div class="method">
155+
<code class="details" id="get">get(name, x__xgafv=None)</code>
156+
<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: &quot;projects/{projectId}/locations/{locationId}/environments/{environmentId}/userWorkloadsConfigMaps/{userWorkloadsConfigMapId}&quot; (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+
&quot;data&quot;: { # Optional. The &quot;data&quot; field of Kubernetes ConfigMap, organized in key-value pairs. For details see: https://kubernetes.io/docs/concepts/configuration/configmap/
170+
&quot;a_key&quot;: &quot;A String&quot;,
171+
},
172+
&quot;name&quot;: &quot;A String&quot;, # Identifier. The resource name of the ConfigMap, in the form: &quot;projects/{projectId}/locations/{locationId}/environments/{environmentId}/userWorkloadsConfigMaps/{userWorkloadsConfigMapId}&quot;
173+
}</pre>
174+
</div>
175+
176+
<div class="method">
177+
<code class="details" id="list">list(parent, pageSize=None, pageToken=None, x__xgafv=None)</code>
178+
<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: &quot;projects/{projectId}/locations/{locationId}/environments/{environmentId}&quot; (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+
&quot;nextPageToken&quot;: &quot;A String&quot;, # The page token used to query for the next page if one exists.
194+
&quot;userWorkloadsConfigMaps&quot;: [ # The list of ConfigMaps returned by a ListUserWorkloadsConfigMapsRequest.
195+
{ # User workloads ConfigMap used by Airflow tasks that run with Kubernetes executor or KubernetesPodOperator.
196+
&quot;data&quot;: { # Optional. The &quot;data&quot; field of Kubernetes ConfigMap, organized in key-value pairs. For details see: https://kubernetes.io/docs/concepts/configuration/configmap/
197+
&quot;a_key&quot;: &quot;A String&quot;,
198+
},
199+
&quot;name&quot;: &quot;A String&quot;, # Identifier. The resource name of the ConfigMap, in the form: &quot;projects/{projectId}/locations/{locationId}/environments/{environmentId}/userWorkloadsConfigMaps/{userWorkloadsConfigMapId}&quot;
200+
},
201+
],
202+
}</pre>
203+
</div>
204+
205+
<div class="method">
206+
<code class="details" id="list_next">list_next()</code>
207+
<pre>Retrieves the next page of results.
208+
209+
Args:
210+
previous_request: The request for the previous page. (required)
211+
previous_response: The response from the request for the previous page. (required)
212+
213+
Returns:
214+
A request object that you can call &#x27;execute()&#x27; on to request the next
215+
page. Returns None if there are no more items in the collection.
216+
</pre>
217+
</div>
218+
219+
<div class="method">
220+
<code class="details" id="update">update(name, body=None, x__xgafv=None)</code>
221+
<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: &quot;projects/{projectId}/locations/{locationId}/environments/{environmentId}/userWorkloadsConfigMaps/{userWorkloadsConfigMapId}&quot; (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+
&quot;data&quot;: { # Optional. The &quot;data&quot; field of Kubernetes ConfigMap, organized in key-value pairs. For details see: https://kubernetes.io/docs/concepts/configuration/configmap/
230+
&quot;a_key&quot;: &quot;A String&quot;,
231+
},
232+
&quot;name&quot;: &quot;A String&quot;, # Identifier. The resource name of the ConfigMap, in the form: &quot;projects/{projectId}/locations/{locationId}/environments/{environmentId}/userWorkloadsConfigMaps/{userWorkloadsConfigMapId}&quot;
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+
&quot;data&quot;: { # Optional. The &quot;data&quot; field of Kubernetes ConfigMap, organized in key-value pairs. For details see: https://kubernetes.io/docs/concepts/configuration/configmap/
245+
&quot;a_key&quot;: &quot;A String&quot;,
246+
},
247+
&quot;name&quot;: &quot;A String&quot;, # Identifier. The resource name of the ConfigMap, in the form: &quot;projects/{projectId}/locations/{locationId}/environments/{environmentId}/userWorkloadsConfigMaps/{userWorkloadsConfigMapId}&quot;
248+
}</pre>
249+
</div>
250+
251+
</body></html>

0 commit comments

Comments
 (0)