Debian Codegraph @

docs/dyn/iam_v1.projects.locations.workloadIdentityPools.providers.keys.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="iam_v1.html">Identity and Access Management (IAM) API</a> . <a href="iam_v1.projects.html">projects</a> . <a href="iam_v1.projects.locations.html">locations</a> . <a href="iam_v1.projects.locations.workloadIdentityPools.html">workloadIdentityPools</a> . <a href="iam_v1.projects.locations.workloadIdentityPools.providers.html">providers</a> . <a href="iam_v1.projects.locations.workloadIdentityPools.providers.keys.html">keys</a></h1>
76 <h2>Instance Methods</h2>
77 <p class="toc_element">
78 <code><a href="iam_v1.projects.locations.workloadIdentityPools.providers.keys.operations.html">operations()</a></code>
79 </p>
80 <p class="firstline">Returns the operations Resource.</p>
81
82 <p class="toc_element">
83 <code><a href="#close">close()</a></code></p>
84 <p class="firstline">Close httplib2 connections.</p>
85 <p class="toc_element">
86 <code><a href="#create">create(parent, body=None, workloadIdentityPoolProviderKeyId=None, x__xgafv=None)</a></code></p>
87 <p class="firstline">Create a new WorkloadIdentityPoolProviderKey in a WorkloadIdentityPoolProvider.</p>
88 <p class="toc_element">
89 <code><a href="#delete">delete(name, x__xgafv=None)</a></code></p>
90 <p class="firstline">Deletes an WorkloadIdentityPoolProviderKey. You can undelete a key for 30 days. After 30 days, deletion is permanent.</p>
91 <p class="toc_element">
92 <code><a href="#get">get(name, x__xgafv=None)</a></code></p>
93 <p class="firstline">Gets an individual WorkloadIdentityPoolProviderKey.</p>
94 <p class="toc_element">
95 <code><a href="#list">list(parent, pageSize=None, pageToken=None, showDeleted=None, x__xgafv=None)</a></code></p>
96 <p class="firstline">Lists all non-deleted WorkloadIdentityPoolProviderKeys in a project. If show_deleted is set to `true`, then deleted pools are also listed.</p>
97 <p class="toc_element">
98 <code><a href="#list_next">list_next()</a></code></p>
99 <p class="firstline">Retrieves the next page of results.</p>
100 <p class="toc_element">
101 <code><a href="#undelete">undelete(name, body=None, x__xgafv=None)</a></code></p>
102 <p class="firstline">Undeletes an WorkloadIdentityPoolProviderKey, as long as it was deleted fewer than 30 days ago.</p>
103 <h3>Method Details</h3>
104 <div class="method">
105 <code class="details" id="close">close()</code>
106 <pre>Close httplib2 connections.</pre>
107 </div>
108
109 <div class="method">
110 <code class="details" id="create">create(parent, body=None, workloadIdentityPoolProviderKeyId=None, x__xgafv=None)</code>
111 <pre>Create a new WorkloadIdentityPoolProviderKey in a WorkloadIdentityPoolProvider.
112
113 Args:
114 parent: string, Required. The parent provider resource to create the key in. (required)
115 body: object, The request body.
116 The object takes the form of:
117
118 { # Represents a public key configuration for your workload identity pool provider. The key can be configured in your identity provider to encrypt the SAML assertions. Google holds the corresponding private key which it uses to decrypt encrypted tokens.
119 &quot;expireTime&quot;: &quot;A String&quot;, # Output only. Time after which the key will be permanently purged and cannot be recovered. Note that the key may get purged before this timestamp if the total limit of keys per provider is crossed.
120 &quot;keyData&quot;: { # Represents a public key data along with its format. # Immutable. Public half of the asymmetric key.
121 &quot;format&quot;: &quot;A String&quot;, # Output only. The format of the key.
122 &quot;key&quot;: &quot;A String&quot;, # Output only. The key data. The format of the key is represented by the format field.
123 &quot;keySpec&quot;: &quot;A String&quot;, # Required. The specifications for the key.
124 &quot;notAfterTime&quot;: &quot;A String&quot;, # Output only. Latest timestamp when this key is valid. Attempts to use this key after this time will fail. Only present if the key data represents a X.509 certificate.
125 &quot;notBeforeTime&quot;: &quot;A String&quot;, # Output only. Earliest timestamp when this key is valid. Attempts to use this key before this time will fail. Only present if the key data represents a X.509 certificate.
126 },
127 &quot;name&quot;: &quot;A String&quot;, # Identifier. The resource name of the key.
128 &quot;state&quot;: &quot;A String&quot;, # Output only. The state of the key.
129 &quot;use&quot;: &quot;A String&quot;, # Required. The purpose of the key.
130 }
131
132 workloadIdentityPoolProviderKeyId: string, Required. The ID to use for the key, which becomes the final component of the resource name. This value should be 4-32 characters, and may contain the characters [a-z0-9-].
133 x__xgafv: string, V1 error format.
134 Allowed values
135 1 - v1 error format
136 2 - v2 error format
137
138 Returns:
139 An object of the form:
140
141 { # This resource represents a long-running operation that is the result of a network API call.
142 &quot;done&quot;: True or False, # If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.
143 &quot;error&quot;: { # The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors). # The error result of the operation in case of failure or cancellation.
144 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
145 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
146 {
147 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
148 },
149 ],
150 &quot;message&quot;: &quot;A String&quot;, # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
151 },
152 &quot;metadata&quot;: { # Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.
153 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
154 },
155 &quot;name&quot;: &quot;A String&quot;, # The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.
156 &quot;response&quot;: { # The normal, successful response of the operation. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.
157 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
158 },
159 }</pre>
160 </div>
161
162 <div class="method">
163 <code class="details" id="delete">delete(name, x__xgafv=None)</code>
164 <pre>Deletes an WorkloadIdentityPoolProviderKey. You can undelete a key for 30 days. After 30 days, deletion is permanent.
165
166 Args:
167 name: string, Required. The name of the encryption key to delete. (required)
168 x__xgafv: string, V1 error format.
169 Allowed values
170 1 - v1 error format
171 2 - v2 error format
172
173 Returns:
174 An object of the form:
175
176 { # This resource represents a long-running operation that is the result of a network API call.
177 &quot;done&quot;: True or False, # If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.
178 &quot;error&quot;: { # The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors). # The error result of the operation in case of failure or cancellation.
179 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
180 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
181 {
182 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
183 },
184 ],
185 &quot;message&quot;: &quot;A String&quot;, # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
186 },
187 &quot;metadata&quot;: { # Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.
188 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
189 },
190 &quot;name&quot;: &quot;A String&quot;, # The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.
191 &quot;response&quot;: { # The normal, successful response of the operation. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.
192 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
193 },
194 }</pre>
195 </div>
196
197 <div class="method">
198 <code class="details" id="get">get(name, x__xgafv=None)</code>
199 <pre>Gets an individual WorkloadIdentityPoolProviderKey.
200
201 Args:
202 name: string, Required. The name of the key to retrieve. (required)
203 x__xgafv: string, V1 error format.
204 Allowed values
205 1 - v1 error format
206 2 - v2 error format
207
208 Returns:
209 An object of the form:
210
211 { # Represents a public key configuration for your workload identity pool provider. The key can be configured in your identity provider to encrypt the SAML assertions. Google holds the corresponding private key which it uses to decrypt encrypted tokens.
212 &quot;expireTime&quot;: &quot;A String&quot;, # Output only. Time after which the key will be permanently purged and cannot be recovered. Note that the key may get purged before this timestamp if the total limit of keys per provider is crossed.
213 &quot;keyData&quot;: { # Represents a public key data along with its format. # Immutable. Public half of the asymmetric key.
214 &quot;format&quot;: &quot;A String&quot;, # Output only. The format of the key.
215 &quot;key&quot;: &quot;A String&quot;, # Output only. The key data. The format of the key is represented by the format field.
216 &quot;keySpec&quot;: &quot;A String&quot;, # Required. The specifications for the key.
217 &quot;notAfterTime&quot;: &quot;A String&quot;, # Output only. Latest timestamp when this key is valid. Attempts to use this key after this time will fail. Only present if the key data represents a X.509 certificate.
218 &quot;notBeforeTime&quot;: &quot;A String&quot;, # Output only. Earliest timestamp when this key is valid. Attempts to use this key before this time will fail. Only present if the key data represents a X.509 certificate.
219 },
220 &quot;name&quot;: &quot;A String&quot;, # Identifier. The resource name of the key.
221 &quot;state&quot;: &quot;A String&quot;, # Output only. The state of the key.
222 &quot;use&quot;: &quot;A String&quot;, # Required. The purpose of the key.
223 }</pre>
224 </div>
225
226 <div class="method">
227 <code class="details" id="list">list(parent, pageSize=None, pageToken=None, showDeleted=None, x__xgafv=None)</code>
228 <pre>Lists all non-deleted WorkloadIdentityPoolProviderKeys in a project. If show_deleted is set to `true`, then deleted pools are also listed.
229
230 Args:
231 parent: string, Required. The parent provider resource to list encryption keys for. (required)
232 pageSize: integer, The maximum number of keys to return. If unspecified, all keys are returned. The maximum value is 10; values above 10 are truncated to 10.
233 pageToken: string, A page token, received from a previous `ListWorkloadIdentityPoolProviderKeys` call. Provide this to retrieve the subsequent page.
234 showDeleted: boolean, Whether to return soft deleted resources as well.
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 { # Response message for ListWorkloadIdentityPoolProviderKeys.
244 &quot;nextPageToken&quot;: &quot;A String&quot;, # A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.
245 &quot;workloadIdentityPoolProviderKeys&quot;: [ # A list of WorkloadIdentityPoolProviderKey
246 { # Represents a public key configuration for your workload identity pool provider. The key can be configured in your identity provider to encrypt the SAML assertions. Google holds the corresponding private key which it uses to decrypt encrypted tokens.
247 &quot;expireTime&quot;: &quot;A String&quot;, # Output only. Time after which the key will be permanently purged and cannot be recovered. Note that the key may get purged before this timestamp if the total limit of keys per provider is crossed.
248 &quot;keyData&quot;: { # Represents a public key data along with its format. # Immutable. Public half of the asymmetric key.
249 &quot;format&quot;: &quot;A String&quot;, # Output only. The format of the key.
250 &quot;key&quot;: &quot;A String&quot;, # Output only. The key data. The format of the key is represented by the format field.
251 &quot;keySpec&quot;: &quot;A String&quot;, # Required. The specifications for the key.
252 &quot;notAfterTime&quot;: &quot;A String&quot;, # Output only. Latest timestamp when this key is valid. Attempts to use this key after this time will fail. Only present if the key data represents a X.509 certificate.
253 &quot;notBeforeTime&quot;: &quot;A String&quot;, # Output only. Earliest timestamp when this key is valid. Attempts to use this key before this time will fail. Only present if the key data represents a X.509 certificate.
254 },
255 &quot;name&quot;: &quot;A String&quot;, # Identifier. The resource name of the key.
256 &quot;state&quot;: &quot;A String&quot;, # Output only. The state of the key.
257 &quot;use&quot;: &quot;A String&quot;, # Required. The purpose of the key.
258 },
259 ],
260 }</pre>
261 </div>
262
263 <div class="method">
264 <code class="details" id="list_next">list_next()</code>
265 <pre>Retrieves the next page of results.
266
267 Args:
268 previous_request: The request for the previous page. (required)
269 previous_response: The response from the request for the previous page. (required)
270
271 Returns:
272 A request object that you can call &#x27;execute()&#x27; on to request the next
273 page. Returns None if there are no more items in the collection.
274 </pre>
275 </div>
276
277 <div class="method">
278 <code class="details" id="undelete">undelete(name, body=None, x__xgafv=None)</code>
279 <pre>Undeletes an WorkloadIdentityPoolProviderKey, as long as it was deleted fewer than 30 days ago.
280
281 Args:
282 name: string, Required. The name of the encryption key to undelete. (required)
283 body: object, The request body.
284 The object takes the form of:
285
286 { # Request message for UndeleteWorkloadIdentityPoolProviderKey.
287 }
288
289 x__xgafv: string, V1 error format.
290 Allowed values
291 1 - v1 error format
292 2 - v2 error format
293
294 Returns:
295 An object of the form:
296
297 { # This resource represents a long-running operation that is the result of a network API call.
298 &quot;done&quot;: True or False, # If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.
299 &quot;error&quot;: { # The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors). # The error result of the operation in case of failure or cancellation.
300 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
301 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
302 {
303 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
304 },
305 ],
306 &quot;message&quot;: &quot;A String&quot;, # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
307 },
308 &quot;metadata&quot;: { # Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.
309 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
310 },
311 &quot;name&quot;: &quot;A String&quot;, # The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.
312 &quot;response&quot;: { # The normal, successful response of the operation. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.
313 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
314 },
315 }</pre>
316 </div>
317
318 </body></html>