Debian Codegraph @

docs/dyn/composer_v1beta1.projects.locations.environments.userWorkloadsSecrets.html

raw
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_v1beta1.html">Cloud Composer API</a> . <a href="composer_v1beta1.projects.html">projects</a> . <a href="composer_v1beta1.projects.locations.html">locations</a> . <a href="composer_v1beta1.projects.locations.environments.html">environments</a> . <a href="composer_v1beta1.projects.locations.environments.userWorkloadsSecrets.html">userWorkloadsSecrets</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 Secret. This method is supported for Cloud Composer environments in versions composer-3-airflow-*.*.*-build.* 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 Secret. This method is supported for Cloud Composer environments in versions composer-3-airflow-*.*.*-build.* 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 Secret. Values of the "data" field in the response are cleared. This method is supported for Cloud Composer environments in versions composer-3-airflow-*.*.*-build.* 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 Secrets. This method is supported for Cloud Composer environments in versions composer-3-airflow-*.*.*-build.* 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 Secret. This method is supported for Cloud Composer environments in versions composer-3-airflow-*.*.*-build.* 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 Secret. This method is supported for Cloud Composer environments in versions composer-3-airflow-*.*.*-build.* and newer.
107
108 Args:
109 parent: string, Required. The environment name to create a Secret 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 Secret used by Airflow tasks that run with Kubernetes executor or KubernetesPodOperator.
114 &quot;data&quot;: { # Optional. The &quot;data&quot; field of Kubernetes Secret, organized in key-value pairs, which can contain sensitive values such as a password, a token, or a key. The values for all keys have to be base64-encoded strings. For details see: https://kubernetes.io/docs/concepts/configuration/secret/ Example: { &quot;example&quot;: &quot;ZXhhbXBsZV92YWx1ZQ==&quot;, &quot;another-example&quot;: &quot;YW5vdGhlcl9leGFtcGxlX3ZhbHVl&quot; }
115 &quot;a_key&quot;: &quot;A String&quot;,
116 },
117 &quot;name&quot;: &quot;A String&quot;, # Identifier. The resource name of the Secret, in the form: &quot;projects/{projectId}/locations/{locationId}/environments/{environmentId}/userWorkloadsSecrets/{userWorkloadsSecretId}&quot;
118 &quot;type&quot;: &quot;A String&quot;, # Optional. The &quot;type&quot; field of Kubernetes Secret. For details see: https://kubernetes.io/docs/concepts/configuration/secret/#secret-types
119 }
120
121 x__xgafv: string, V1 error format.
122 Allowed values
123 1 - v1 error format
124 2 - v2 error format
125
126 Returns:
127 An object of the form:
128
129 { # User workloads Secret used by Airflow tasks that run with Kubernetes executor or KubernetesPodOperator.
130 &quot;data&quot;: { # Optional. The &quot;data&quot; field of Kubernetes Secret, organized in key-value pairs, which can contain sensitive values such as a password, a token, or a key. The values for all keys have to be base64-encoded strings. For details see: https://kubernetes.io/docs/concepts/configuration/secret/ Example: { &quot;example&quot;: &quot;ZXhhbXBsZV92YWx1ZQ==&quot;, &quot;another-example&quot;: &quot;YW5vdGhlcl9leGFtcGxlX3ZhbHVl&quot; }
131 &quot;a_key&quot;: &quot;A String&quot;,
132 },
133 &quot;name&quot;: &quot;A String&quot;, # Identifier. The resource name of the Secret, in the form: &quot;projects/{projectId}/locations/{locationId}/environments/{environmentId}/userWorkloadsSecrets/{userWorkloadsSecretId}&quot;
134 &quot;type&quot;: &quot;A String&quot;, # Optional. The &quot;type&quot; field of Kubernetes Secret. For details see: https://kubernetes.io/docs/concepts/configuration/secret/#secret-types
135 }</pre>
136 </div>
137
138 <div class="method">
139 <code class="details" id="delete">delete(name, x__xgafv=None)</code>
140 <pre>Deletes a user workloads Secret. This method is supported for Cloud Composer environments in versions composer-3-airflow-*.*.*-build.* and newer.
141
142 Args:
143 name: string, Required. The Secret to delete, in the form: &quot;projects/{projectId}/locations/{locationId}/environments/{environmentId}/userWorkloadsSecrets/{userWorkloadsSecretId}&quot; (required)
144 x__xgafv: string, V1 error format.
145 Allowed values
146 1 - v1 error format
147 2 - v2 error format
148
149 Returns:
150 An object of the form:
151
152 { # 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); }
153 }</pre>
154 </div>
155
156 <div class="method">
157 <code class="details" id="get">get(name, x__xgafv=None)</code>
158 <pre>Gets an existing user workloads Secret. Values of the &quot;data&quot; field in the response are cleared. This method is supported for Cloud Composer environments in versions composer-3-airflow-*.*.*-build.* and newer.
159
160 Args:
161 name: string, Required. The resource name of the Secret to get, in the form: &quot;projects/{projectId}/locations/{locationId}/environments/{environmentId}/userWorkloadsSecrets/{userWorkloadsSecretId}&quot; (required)
162 x__xgafv: string, V1 error format.
163 Allowed values
164 1 - v1 error format
165 2 - v2 error format
166
167 Returns:
168 An object of the form:
169
170 { # User workloads Secret used by Airflow tasks that run with Kubernetes executor or KubernetesPodOperator.
171 &quot;data&quot;: { # Optional. The &quot;data&quot; field of Kubernetes Secret, organized in key-value pairs, which can contain sensitive values such as a password, a token, or a key. The values for all keys have to be base64-encoded strings. For details see: https://kubernetes.io/docs/concepts/configuration/secret/ Example: { &quot;example&quot;: &quot;ZXhhbXBsZV92YWx1ZQ==&quot;, &quot;another-example&quot;: &quot;YW5vdGhlcl9leGFtcGxlX3ZhbHVl&quot; }
172 &quot;a_key&quot;: &quot;A String&quot;,
173 },
174 &quot;name&quot;: &quot;A String&quot;, # Identifier. The resource name of the Secret, in the form: &quot;projects/{projectId}/locations/{locationId}/environments/{environmentId}/userWorkloadsSecrets/{userWorkloadsSecretId}&quot;
175 &quot;type&quot;: &quot;A String&quot;, # Optional. The &quot;type&quot; field of Kubernetes Secret. For details see: https://kubernetes.io/docs/concepts/configuration/secret/#secret-types
176 }</pre>
177 </div>
178
179 <div class="method">
180 <code class="details" id="list">list(parent, pageSize=None, pageToken=None, x__xgafv=None)</code>
181 <pre>Lists user workloads Secrets. This method is supported for Cloud Composer environments in versions composer-3-airflow-*.*.*-build.* and newer.
182
183 Args:
184 parent: string, Required. List Secrets in the given environment, in the form: &quot;projects/{projectId}/locations/{locationId}/environments/{environmentId}&quot; (required)
185 pageSize: integer, Optional. The maximum number of Secrets to return.
186 pageToken: string, Optional. The next_page_token value returned from a previous List request, if any.
187 x__xgafv: string, V1 error format.
188 Allowed values
189 1 - v1 error format
190 2 - v2 error format
191
192 Returns:
193 An object of the form:
194
195 { # The user workloads Secrets for a given environment.
196 &quot;nextPageToken&quot;: &quot;A String&quot;, # The page token used to query for the next page if one exists.
197 &quot;userWorkloadsSecrets&quot;: [ # The list of Secrets returned by a ListUserWorkloadsSecretsRequest.
198 { # User workloads Secret used by Airflow tasks that run with Kubernetes executor or KubernetesPodOperator.
199 &quot;data&quot;: { # Optional. The &quot;data&quot; field of Kubernetes Secret, organized in key-value pairs, which can contain sensitive values such as a password, a token, or a key. The values for all keys have to be base64-encoded strings. For details see: https://kubernetes.io/docs/concepts/configuration/secret/ Example: { &quot;example&quot;: &quot;ZXhhbXBsZV92YWx1ZQ==&quot;, &quot;another-example&quot;: &quot;YW5vdGhlcl9leGFtcGxlX3ZhbHVl&quot; }
200 &quot;a_key&quot;: &quot;A String&quot;,
201 },
202 &quot;name&quot;: &quot;A String&quot;, # Identifier. The resource name of the Secret, in the form: &quot;projects/{projectId}/locations/{locationId}/environments/{environmentId}/userWorkloadsSecrets/{userWorkloadsSecretId}&quot;
203 &quot;type&quot;: &quot;A String&quot;, # Optional. The &quot;type&quot; field of Kubernetes Secret. For details see: https://kubernetes.io/docs/concepts/configuration/secret/#secret-types
204 },
205 ],
206 }</pre>
207 </div>
208
209 <div class="method">
210 <code class="details" id="list_next">list_next()</code>
211 <pre>Retrieves the next page of results.
212
213 Args:
214 previous_request: The request for the previous page. (required)
215 previous_response: The response from the request for the previous page. (required)
216
217 Returns:
218 A request object that you can call &#x27;execute()&#x27; on to request the next
219 page. Returns None if there are no more items in the collection.
220 </pre>
221 </div>
222
223 <div class="method">
224 <code class="details" id="update">update(name, body=None, x__xgafv=None)</code>
225 <pre>Updates a user workloads Secret. This method is supported for Cloud Composer environments in versions composer-3-airflow-*.*.*-build.* and newer.
226
227 Args:
228 name: string, Identifier. The resource name of the Secret, in the form: &quot;projects/{projectId}/locations/{locationId}/environments/{environmentId}/userWorkloadsSecrets/{userWorkloadsSecretId}&quot; (required)
229 body: object, The request body.
230 The object takes the form of:
231
232 { # User workloads Secret used by Airflow tasks that run with Kubernetes executor or KubernetesPodOperator.
233 &quot;data&quot;: { # Optional. The &quot;data&quot; field of Kubernetes Secret, organized in key-value pairs, which can contain sensitive values such as a password, a token, or a key. The values for all keys have to be base64-encoded strings. For details see: https://kubernetes.io/docs/concepts/configuration/secret/ Example: { &quot;example&quot;: &quot;ZXhhbXBsZV92YWx1ZQ==&quot;, &quot;another-example&quot;: &quot;YW5vdGhlcl9leGFtcGxlX3ZhbHVl&quot; }
234 &quot;a_key&quot;: &quot;A String&quot;,
235 },
236 &quot;name&quot;: &quot;A String&quot;, # Identifier. The resource name of the Secret, in the form: &quot;projects/{projectId}/locations/{locationId}/environments/{environmentId}/userWorkloadsSecrets/{userWorkloadsSecretId}&quot;
237 &quot;type&quot;: &quot;A String&quot;, # Optional. The &quot;type&quot; field of Kubernetes Secret. For details see: https://kubernetes.io/docs/concepts/configuration/secret/#secret-types
238 }
239
240 x__xgafv: string, V1 error format.
241 Allowed values
242 1 - v1 error format
243 2 - v2 error format
244
245 Returns:
246 An object of the form:
247
248 { # User workloads Secret used by Airflow tasks that run with Kubernetes executor or KubernetesPodOperator.
249 &quot;data&quot;: { # Optional. The &quot;data&quot; field of Kubernetes Secret, organized in key-value pairs, which can contain sensitive values such as a password, a token, or a key. The values for all keys have to be base64-encoded strings. For details see: https://kubernetes.io/docs/concepts/configuration/secret/ Example: { &quot;example&quot;: &quot;ZXhhbXBsZV92YWx1ZQ==&quot;, &quot;another-example&quot;: &quot;YW5vdGhlcl9leGFtcGxlX3ZhbHVl&quot; }
250 &quot;a_key&quot;: &quot;A String&quot;,
251 },
252 &quot;name&quot;: &quot;A String&quot;, # Identifier. The resource name of the Secret, in the form: &quot;projects/{projectId}/locations/{locationId}/environments/{environmentId}/userWorkloadsSecrets/{userWorkloadsSecretId}&quot;
253 &quot;type&quot;: &quot;A String&quot;, # Optional. The &quot;type&quot; field of Kubernetes Secret. For details see: https://kubernetes.io/docs/concepts/configuration/secret/#secret-types
254 }</pre>
255 </div>
256
257 </body></html>