Debian Codegraph @

docs/dyn/certificatemanager_v1.projects.locations.trustConfigs.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="certificatemanager_v1.html">Certificate Manager API</a> . <a href="certificatemanager_v1.projects.html">projects</a> . <a href="certificatemanager_v1.projects.locations.html">locations</a> . <a href="certificatemanager_v1.projects.locations.trustConfigs.html">trustConfigs</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, trustConfigId=None, x__xgafv=None)</a></code></p>
82 <p class="firstline">Creates a new TrustConfig in a given project and location.</p>
83 <p class="toc_element">
84 <code><a href="#delete">delete(name, etag=None, x__xgafv=None)</a></code></p>
85 <p class="firstline">Deletes a single TrustConfig.</p>
86 <p class="toc_element">
87 <code><a href="#get">get(name, x__xgafv=None)</a></code></p>
88 <p class="firstline">Gets details of a single TrustConfig.</p>
89 <p class="toc_element">
90 <code><a href="#list">list(parent, filter=None, orderBy=None, pageSize=None, pageToken=None, x__xgafv=None)</a></code></p>
91 <p class="firstline">Lists TrustConfigs in a given project and location.</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="#patch">patch(name, body=None, updateMask=None, x__xgafv=None)</a></code></p>
97 <p class="firstline">Updates a TrustConfig.</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, trustConfigId=None, x__xgafv=None)</code>
106 <pre>Creates a new TrustConfig in a given project and location.
107
108 Args:
109 parent: string, Required. The parent resource of the TrustConfig. Must be in the format `projects/*/locations/*`. (required)
110 body: object, The request body.
111 The object takes the form of:
112
113 { # Defines a trust config.
114 &quot;allowlistedCertificates&quot;: [ # Optional. A certificate matching an allowlisted certificate is always considered valid as long as the certificate is parseable, proof of private key possession is established, and constraints on the certificate&#x27;s SAN field are met.
115 { # Defines an allowlisted certificate.
116 &quot;pemCertificate&quot;: &quot;A String&quot;, # Required. PEM certificate that is allowlisted. The certificate can be up to 5k bytes, and must be a parseable X.509 certificate.
117 },
118 ],
119 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The creation timestamp of a TrustConfig.
120 &quot;description&quot;: &quot;A String&quot;, # Optional. One or more paragraphs of text description of a TrustConfig.
121 &quot;etag&quot;: &quot;A String&quot;, # This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.
122 &quot;labels&quot;: { # Optional. Set of labels associated with a TrustConfig.
123 &quot;a_key&quot;: &quot;A String&quot;,
124 },
125 &quot;name&quot;: &quot;A String&quot;, # Identifier. A user-defined name of the trust config. TrustConfig names must be unique globally and match pattern `projects/*/locations/*/trustConfigs/*`.
126 &quot;spiffeTrustStores&quot;: { # Optional. Defines a mapping from a trust domain to a TrustStore. This is used for SPIFFE certificate validation.
127 &quot;a_key&quot;: { # Defines a trust store.
128 &quot;intermediateCas&quot;: [ # Optional. Set of intermediate CA certificates used for the path building phase of chain validation. The field is currently not supported if TrustConfig is used for the workload certificate feature.
129 { # Defines an intermediate CA.
130 &quot;pemCertificate&quot;: &quot;A String&quot;, # PEM intermediate certificate used for building up paths for validation. Each certificate provided in PEM format may occupy up to 5kB.
131 },
132 ],
133 &quot;trustAnchors&quot;: [ # Optional. List of Trust Anchors to be used while performing validation against a given TrustStore.
134 { # Defines a trust anchor.
135 &quot;pemCertificate&quot;: &quot;A String&quot;, # PEM root certificate of the PKI used for validation. Each certificate provided in PEM format may occupy up to 5kB.
136 },
137 ],
138 },
139 },
140 &quot;trustStores&quot;: [ # Optional. Set of trust stores to perform validation against. This field is supported when TrustConfig is configured with Load Balancers, currently not supported for SPIFFE certificate validation. Only one TrustStore specified is currently allowed.
141 { # Defines a trust store.
142 &quot;intermediateCas&quot;: [ # Optional. Set of intermediate CA certificates used for the path building phase of chain validation. The field is currently not supported if TrustConfig is used for the workload certificate feature.
143 { # Defines an intermediate CA.
144 &quot;pemCertificate&quot;: &quot;A String&quot;, # PEM intermediate certificate used for building up paths for validation. Each certificate provided in PEM format may occupy up to 5kB.
145 },
146 ],
147 &quot;trustAnchors&quot;: [ # Optional. List of Trust Anchors to be used while performing validation against a given TrustStore.
148 { # Defines a trust anchor.
149 &quot;pemCertificate&quot;: &quot;A String&quot;, # PEM root certificate of the PKI used for validation. Each certificate provided in PEM format may occupy up to 5kB.
150 },
151 ],
152 },
153 ],
154 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The last update timestamp of a TrustConfig.
155 }
156
157 trustConfigId: string, Required. A user-provided name of the TrustConfig. Must match the regexp `[a-z0-9-]{1,63}`.
158 x__xgafv: string, V1 error format.
159 Allowed values
160 1 - v1 error format
161 2 - v2 error format
162
163 Returns:
164 An object of the form:
165
166 { # This resource represents a long-running operation that is the result of a network API call.
167 &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.
168 &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.
169 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
170 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
171 {
172 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
173 },
174 ],
175 &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.
176 },
177 &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.
178 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
179 },
180 &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}`.
181 &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`.
182 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
183 },
184 }</pre>
185 </div>
186
187 <div class="method">
188 <code class="details" id="delete">delete(name, etag=None, x__xgafv=None)</code>
189 <pre>Deletes a single TrustConfig.
190
191 Args:
192 name: string, Required. A name of the TrustConfig to delete. Must be in the format `projects/*/locations/*/trustConfigs/*`. (required)
193 etag: string, Optional. The current etag of the TrustConfig. If an etag is provided and does not match the current etag of the resource, deletion will be blocked and an ABORTED error will be returned.
194 x__xgafv: string, V1 error format.
195 Allowed values
196 1 - v1 error format
197 2 - v2 error format
198
199 Returns:
200 An object of the form:
201
202 { # This resource represents a long-running operation that is the result of a network API call.
203 &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.
204 &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.
205 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
206 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
207 {
208 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
209 },
210 ],
211 &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.
212 },
213 &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.
214 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
215 },
216 &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}`.
217 &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`.
218 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
219 },
220 }</pre>
221 </div>
222
223 <div class="method">
224 <code class="details" id="get">get(name, x__xgafv=None)</code>
225 <pre>Gets details of a single TrustConfig.
226
227 Args:
228 name: string, Required. A name of the TrustConfig to describe. Must be in the format `projects/*/locations/*/trustConfigs/*`. (required)
229 x__xgafv: string, V1 error format.
230 Allowed values
231 1 - v1 error format
232 2 - v2 error format
233
234 Returns:
235 An object of the form:
236
237 { # Defines a trust config.
238 &quot;allowlistedCertificates&quot;: [ # Optional. A certificate matching an allowlisted certificate is always considered valid as long as the certificate is parseable, proof of private key possession is established, and constraints on the certificate&#x27;s SAN field are met.
239 { # Defines an allowlisted certificate.
240 &quot;pemCertificate&quot;: &quot;A String&quot;, # Required. PEM certificate that is allowlisted. The certificate can be up to 5k bytes, and must be a parseable X.509 certificate.
241 },
242 ],
243 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The creation timestamp of a TrustConfig.
244 &quot;description&quot;: &quot;A String&quot;, # Optional. One or more paragraphs of text description of a TrustConfig.
245 &quot;etag&quot;: &quot;A String&quot;, # This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.
246 &quot;labels&quot;: { # Optional. Set of labels associated with a TrustConfig.
247 &quot;a_key&quot;: &quot;A String&quot;,
248 },
249 &quot;name&quot;: &quot;A String&quot;, # Identifier. A user-defined name of the trust config. TrustConfig names must be unique globally and match pattern `projects/*/locations/*/trustConfigs/*`.
250 &quot;spiffeTrustStores&quot;: { # Optional. Defines a mapping from a trust domain to a TrustStore. This is used for SPIFFE certificate validation.
251 &quot;a_key&quot;: { # Defines a trust store.
252 &quot;intermediateCas&quot;: [ # Optional. Set of intermediate CA certificates used for the path building phase of chain validation. The field is currently not supported if TrustConfig is used for the workload certificate feature.
253 { # Defines an intermediate CA.
254 &quot;pemCertificate&quot;: &quot;A String&quot;, # PEM intermediate certificate used for building up paths for validation. Each certificate provided in PEM format may occupy up to 5kB.
255 },
256 ],
257 &quot;trustAnchors&quot;: [ # Optional. List of Trust Anchors to be used while performing validation against a given TrustStore.
258 { # Defines a trust anchor.
259 &quot;pemCertificate&quot;: &quot;A String&quot;, # PEM root certificate of the PKI used for validation. Each certificate provided in PEM format may occupy up to 5kB.
260 },
261 ],
262 },
263 },
264 &quot;trustStores&quot;: [ # Optional. Set of trust stores to perform validation against. This field is supported when TrustConfig is configured with Load Balancers, currently not supported for SPIFFE certificate validation. Only one TrustStore specified is currently allowed.
265 { # Defines a trust store.
266 &quot;intermediateCas&quot;: [ # Optional. Set of intermediate CA certificates used for the path building phase of chain validation. The field is currently not supported if TrustConfig is used for the workload certificate feature.
267 { # Defines an intermediate CA.
268 &quot;pemCertificate&quot;: &quot;A String&quot;, # PEM intermediate certificate used for building up paths for validation. Each certificate provided in PEM format may occupy up to 5kB.
269 },
270 ],
271 &quot;trustAnchors&quot;: [ # Optional. List of Trust Anchors to be used while performing validation against a given TrustStore.
272 { # Defines a trust anchor.
273 &quot;pemCertificate&quot;: &quot;A String&quot;, # PEM root certificate of the PKI used for validation. Each certificate provided in PEM format may occupy up to 5kB.
274 },
275 ],
276 },
277 ],
278 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The last update timestamp of a TrustConfig.
279 }</pre>
280 </div>
281
282 <div class="method">
283 <code class="details" id="list">list(parent, filter=None, orderBy=None, pageSize=None, pageToken=None, x__xgafv=None)</code>
284 <pre>Lists TrustConfigs in a given project and location.
285
286 Args:
287 parent: string, Required. The project and location from which the TrustConfigs should be listed, specified in the format `projects/*/locations/*`. (required)
288 filter: string, Optional. Filter expression to restrict the TrustConfigs returned.
289 orderBy: string, Optional. A list of TrustConfig field names used to specify the order of the returned results. The default sorting order is ascending. To specify descending order for a field, add a suffix `&quot; desc&quot;`.
290 pageSize: integer, Optional. Maximum number of TrustConfigs to return per call.
291 pageToken: string, Optional. The value returned by the last `ListTrustConfigsResponse`. Indicates that this is a continuation of a prior `ListTrustConfigs` call, and that the system should return the next page of data.
292 x__xgafv: string, V1 error format.
293 Allowed values
294 1 - v1 error format
295 2 - v2 error format
296
297 Returns:
298 An object of the form:
299
300 { # Response for the `ListTrustConfigs` method.
301 &quot;nextPageToken&quot;: &quot;A String&quot;, # If there might be more results than those appearing in this response, then `next_page_token` is included. To get the next set of results, call this method again using the value of `next_page_token` as `page_token`.
302 &quot;trustConfigs&quot;: [ # A list of TrustConfigs for the parent resource.
303 { # Defines a trust config.
304 &quot;allowlistedCertificates&quot;: [ # Optional. A certificate matching an allowlisted certificate is always considered valid as long as the certificate is parseable, proof of private key possession is established, and constraints on the certificate&#x27;s SAN field are met.
305 { # Defines an allowlisted certificate.
306 &quot;pemCertificate&quot;: &quot;A String&quot;, # Required. PEM certificate that is allowlisted. The certificate can be up to 5k bytes, and must be a parseable X.509 certificate.
307 },
308 ],
309 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The creation timestamp of a TrustConfig.
310 &quot;description&quot;: &quot;A String&quot;, # Optional. One or more paragraphs of text description of a TrustConfig.
311 &quot;etag&quot;: &quot;A String&quot;, # This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.
312 &quot;labels&quot;: { # Optional. Set of labels associated with a TrustConfig.
313 &quot;a_key&quot;: &quot;A String&quot;,
314 },
315 &quot;name&quot;: &quot;A String&quot;, # Identifier. A user-defined name of the trust config. TrustConfig names must be unique globally and match pattern `projects/*/locations/*/trustConfigs/*`.
316 &quot;spiffeTrustStores&quot;: { # Optional. Defines a mapping from a trust domain to a TrustStore. This is used for SPIFFE certificate validation.
317 &quot;a_key&quot;: { # Defines a trust store.
318 &quot;intermediateCas&quot;: [ # Optional. Set of intermediate CA certificates used for the path building phase of chain validation. The field is currently not supported if TrustConfig is used for the workload certificate feature.
319 { # Defines an intermediate CA.
320 &quot;pemCertificate&quot;: &quot;A String&quot;, # PEM intermediate certificate used for building up paths for validation. Each certificate provided in PEM format may occupy up to 5kB.
321 },
322 ],
323 &quot;trustAnchors&quot;: [ # Optional. List of Trust Anchors to be used while performing validation against a given TrustStore.
324 { # Defines a trust anchor.
325 &quot;pemCertificate&quot;: &quot;A String&quot;, # PEM root certificate of the PKI used for validation. Each certificate provided in PEM format may occupy up to 5kB.
326 },
327 ],
328 },
329 },
330 &quot;trustStores&quot;: [ # Optional. Set of trust stores to perform validation against. This field is supported when TrustConfig is configured with Load Balancers, currently not supported for SPIFFE certificate validation. Only one TrustStore specified is currently allowed.
331 { # Defines a trust store.
332 &quot;intermediateCas&quot;: [ # Optional. Set of intermediate CA certificates used for the path building phase of chain validation. The field is currently not supported if TrustConfig is used for the workload certificate feature.
333 { # Defines an intermediate CA.
334 &quot;pemCertificate&quot;: &quot;A String&quot;, # PEM intermediate certificate used for building up paths for validation. Each certificate provided in PEM format may occupy up to 5kB.
335 },
336 ],
337 &quot;trustAnchors&quot;: [ # Optional. List of Trust Anchors to be used while performing validation against a given TrustStore.
338 { # Defines a trust anchor.
339 &quot;pemCertificate&quot;: &quot;A String&quot;, # PEM root certificate of the PKI used for validation. Each certificate provided in PEM format may occupy up to 5kB.
340 },
341 ],
342 },
343 ],
344 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The last update timestamp of a TrustConfig.
345 },
346 ],
347 &quot;unreachable&quot;: [ # Locations that could not be reached.
348 &quot;A String&quot;,
349 ],
350 }</pre>
351 </div>
352
353 <div class="method">
354 <code class="details" id="list_next">list_next()</code>
355 <pre>Retrieves the next page of results.
356
357 Args:
358 previous_request: The request for the previous page. (required)
359 previous_response: The response from the request for the previous page. (required)
360
361 Returns:
362 A request object that you can call &#x27;execute()&#x27; on to request the next
363 page. Returns None if there are no more items in the collection.
364 </pre>
365 </div>
366
367 <div class="method">
368 <code class="details" id="patch">patch(name, body=None, updateMask=None, x__xgafv=None)</code>
369 <pre>Updates a TrustConfig.
370
371 Args:
372 name: string, Identifier. A user-defined name of the trust config. TrustConfig names must be unique globally and match pattern `projects/*/locations/*/trustConfigs/*`. (required)
373 body: object, The request body.
374 The object takes the form of:
375
376 { # Defines a trust config.
377 &quot;allowlistedCertificates&quot;: [ # Optional. A certificate matching an allowlisted certificate is always considered valid as long as the certificate is parseable, proof of private key possession is established, and constraints on the certificate&#x27;s SAN field are met.
378 { # Defines an allowlisted certificate.
379 &quot;pemCertificate&quot;: &quot;A String&quot;, # Required. PEM certificate that is allowlisted. The certificate can be up to 5k bytes, and must be a parseable X.509 certificate.
380 },
381 ],
382 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The creation timestamp of a TrustConfig.
383 &quot;description&quot;: &quot;A String&quot;, # Optional. One or more paragraphs of text description of a TrustConfig.
384 &quot;etag&quot;: &quot;A String&quot;, # This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.
385 &quot;labels&quot;: { # Optional. Set of labels associated with a TrustConfig.
386 &quot;a_key&quot;: &quot;A String&quot;,
387 },
388 &quot;name&quot;: &quot;A String&quot;, # Identifier. A user-defined name of the trust config. TrustConfig names must be unique globally and match pattern `projects/*/locations/*/trustConfigs/*`.
389 &quot;spiffeTrustStores&quot;: { # Optional. Defines a mapping from a trust domain to a TrustStore. This is used for SPIFFE certificate validation.
390 &quot;a_key&quot;: { # Defines a trust store.
391 &quot;intermediateCas&quot;: [ # Optional. Set of intermediate CA certificates used for the path building phase of chain validation. The field is currently not supported if TrustConfig is used for the workload certificate feature.
392 { # Defines an intermediate CA.
393 &quot;pemCertificate&quot;: &quot;A String&quot;, # PEM intermediate certificate used for building up paths for validation. Each certificate provided in PEM format may occupy up to 5kB.
394 },
395 ],
396 &quot;trustAnchors&quot;: [ # Optional. List of Trust Anchors to be used while performing validation against a given TrustStore.
397 { # Defines a trust anchor.
398 &quot;pemCertificate&quot;: &quot;A String&quot;, # PEM root certificate of the PKI used for validation. Each certificate provided in PEM format may occupy up to 5kB.
399 },
400 ],
401 },
402 },
403 &quot;trustStores&quot;: [ # Optional. Set of trust stores to perform validation against. This field is supported when TrustConfig is configured with Load Balancers, currently not supported for SPIFFE certificate validation. Only one TrustStore specified is currently allowed.
404 { # Defines a trust store.
405 &quot;intermediateCas&quot;: [ # Optional. Set of intermediate CA certificates used for the path building phase of chain validation. The field is currently not supported if TrustConfig is used for the workload certificate feature.
406 { # Defines an intermediate CA.
407 &quot;pemCertificate&quot;: &quot;A String&quot;, # PEM intermediate certificate used for building up paths for validation. Each certificate provided in PEM format may occupy up to 5kB.
408 },
409 ],
410 &quot;trustAnchors&quot;: [ # Optional. List of Trust Anchors to be used while performing validation against a given TrustStore.
411 { # Defines a trust anchor.
412 &quot;pemCertificate&quot;: &quot;A String&quot;, # PEM root certificate of the PKI used for validation. Each certificate provided in PEM format may occupy up to 5kB.
413 },
414 ],
415 },
416 ],
417 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The last update timestamp of a TrustConfig.
418 }
419
420 updateMask: string, Required. The update mask applies to the resource. For the `FieldMask` definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask.
421 x__xgafv: string, V1 error format.
422 Allowed values
423 1 - v1 error format
424 2 - v2 error format
425
426 Returns:
427 An object of the form:
428
429 { # This resource represents a long-running operation that is the result of a network API call.
430 &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.
431 &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.
432 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
433 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
434 {
435 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
436 },
437 ],
438 &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.
439 },
440 &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.
441 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
442 },
443 &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}`.
444 &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`.
445 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
446 },
447 }</pre>
448 </div>
449
450 </body></html>