Debian Codegraph @

docs/dyn/compute_alpha.regionSslPolicies.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="compute_alpha.html">Compute Engine API</a> . <a href="compute_alpha.regionSslPolicies.html">regionSslPolicies</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="#delete">delete(project, region, sslPolicy, requestId=None, x__xgafv=None)</a></code></p>
82 <p class="firstline">Deletes the specified SSL policy. The SSL policy resource can be deleted</p>
83 <p class="toc_element">
84 <code><a href="#get">get(project, region, sslPolicy, x__xgafv=None)</a></code></p>
85 <p class="firstline">Lists all of the ordered rules present in a single specified policy.</p>
86 <p class="toc_element">
87 <code><a href="#insert">insert(project, region, body=None, requestId=None, x__xgafv=None)</a></code></p>
88 <p class="firstline">Creates a new policy in the specified project and region using the data</p>
89 <p class="toc_element">
90 <code><a href="#list">list(project, region, filter=None, maxResults=None, orderBy=None, pageToken=None, returnPartialSuccess=None, x__xgafv=None)</a></code></p>
91 <p class="firstline">Lists all the SSL policies that have been configured for the specified</p>
92 <p class="toc_element">
93 <code><a href="#listAvailableFeatures">listAvailableFeatures(project, region, filter=None, maxResults=None, orderBy=None, pageToken=None, returnPartialSuccess=None, x__xgafv=None)</a></code></p>
94 <p class="firstline">Lists all features that can be specified in the SSL policy when using</p>
95 <p class="toc_element">
96 <code><a href="#list_next">list_next()</a></code></p>
97 <p class="firstline">Retrieves the next page of results.</p>
98 <p class="toc_element">
99 <code><a href="#patch">patch(project, region, sslPolicy, body=None, requestId=None, x__xgafv=None)</a></code></p>
100 <p class="firstline">Patches the specified SSL policy with the data included in the request.</p>
101 <p class="toc_element">
102 <code><a href="#testIamPermissions">testIamPermissions(project, region, resource, body=None, x__xgafv=None)</a></code></p>
103 <p class="firstline">Returns permissions that a caller has on the specified resource.</p>
104 <h3>Method Details</h3>
105 <div class="method">
106 <code class="details" id="close">close()</code>
107 <pre>Close httplib2 connections.</pre>
108 </div>
109
110 <div class="method">
111 <code class="details" id="delete">delete(project, region, sslPolicy, requestId=None, x__xgafv=None)</code>
112 <pre>Deletes the specified SSL policy. The SSL policy resource can be deleted
113 only if it is not in use by any TargetHttpsProxy or TargetSslProxy
114 resources.
115
116 Args:
117 project: string, Project ID for this request. (required)
118 region: string, Name of the region scoping this request. (required)
119 sslPolicy: string, Name of the SSL policy to delete. The name must be 1-63 characters long,
120 and comply with RFC1035. (required)
121 requestId: string, An optional request ID to identify requests. Specify a unique request ID so
122 that if you must retry your request, the server will know to ignore the
123 request if it has already been completed.
124
125 For example, consider a situation where you make an initial request and
126 the request times out. If you make the request again with the same
127 request ID, the server can check if original operation with the same
128 request ID was received, and if so, will ignore the second request. This
129 prevents clients from accidentally creating duplicate commitments.
130
131 The request ID must be
132 a valid UUID with the exception that zero UUID is not supported
133 (00000000-0000-0000-0000-000000000000).
134 x__xgafv: string, V1 error format.
135 Allowed values
136 1 - v1 error format
137 2 - v2 error format
138
139 Returns:
140 An object of the form:
141
142 { # Represents an Operation resource.
143 #
144 # Google Compute Engine has three Operation resources:
145 #
146 # * [Global](/compute/docs/reference/rest/alpha/globalOperations)
147 # * [Regional](/compute/docs/reference/rest/alpha/regionOperations)
148 # * [Zonal](/compute/docs/reference/rest/alpha/zoneOperations)
149 #
150 # You can use an operation resource to manage asynchronous API requests.
151 # For more information, readHandling
152 # API responses.
153 #
154 # Operations can be global, regional or zonal.
155 #
156 # - For global operations, use the `globalOperations`
157 # resource.
158 # - For regional operations, use the
159 # `regionOperations` resource.
160 # - For zonal operations, use
161 # the `zoneOperations` resource.
162 #
163 #
164 #
165 # For more information, read
166 # Global, Regional, and Zonal Resources.
167 #
168 # Note that completed Operation resources have a limited
169 # retention period.
170 &quot;clientOperationId&quot;: &quot;A String&quot;, # [Output Only] The value of `requestId` if you provided it in the request.
171 # Not present otherwise.
172 &quot;creationTimestamp&quot;: &quot;A String&quot;, # [Deprecated] This field is deprecated.
173 &quot;description&quot;: &quot;A String&quot;, # [Output Only] A textual description of the operation, which is
174 # set when the operation is created.
175 &quot;endTime&quot;: &quot;A String&quot;, # [Output Only] The time that this operation was completed. This value is inRFC3339
176 # text format.
177 &quot;error&quot;: { # [Output Only] If errors are generated during processing of the operation,
178 # this field will be populated.
179 &quot;errors&quot;: [ # [Output Only] The array of errors encountered while processing this
180 # operation.
181 {
182 &quot;code&quot;: &quot;A String&quot;, # [Output Only] The error type identifier for this error.
183 &quot;errorDetails&quot;: [ # [Output Only] An optional list of messages that contain the error
184 # details. There is a set of defined message types to use for providing
185 # details.The syntax depends on the error code. For example,
186 # QuotaExceededInfo will have details when the error code is
187 # QUOTA_EXCEEDED.
188 {
189 &quot;errorInfo&quot;: { # Describes the cause of the error with structured details.
190 #
191 # Example of an error when contacting the &quot;pubsub.googleapis.com&quot; API when it
192 # is not enabled:
193 #
194 # { &quot;reason&quot;: &quot;API_DISABLED&quot;
195 # &quot;domain&quot;: &quot;googleapis.com&quot;
196 # &quot;metadata&quot;: {
197 # &quot;resource&quot;: &quot;projects/123&quot;,
198 # &quot;service&quot;: &quot;pubsub.googleapis.com&quot;
199 # }
200 # }
201 #
202 # This response indicates that the pubsub.googleapis.com API is not enabled.
203 #
204 # Example of an error that is returned when attempting to create a Spanner
205 # instance in a region that is out of stock:
206 #
207 # { &quot;reason&quot;: &quot;STOCKOUT&quot;
208 # &quot;domain&quot;: &quot;spanner.googleapis.com&quot;,
209 # &quot;metadata&quot;: {
210 # &quot;availableRegions&quot;: &quot;us-central1,us-east2&quot;
211 # }
212 # }
213 &quot;domain&quot;: &quot;A String&quot;, # The logical grouping to which the &quot;reason&quot; belongs. The error domain
214 # is typically the registered service name of the tool or product that
215 # generates the error. Example: &quot;pubsub.googleapis.com&quot;. If the error is
216 # generated by some common infrastructure, the error domain must be a
217 # globally unique value that identifies the infrastructure. For Google API
218 # infrastructure, the error domain is &quot;googleapis.com&quot;.
219 &quot;metadatas&quot;: { # Additional structured details about this error.
220 #
221 # Keys must match a regular expression of `a-z+` but should
222 # ideally be lowerCamelCase. Also, they must be limited to 64 characters in
223 # length. When identifying the current value of an exceeded limit, the units
224 # should be contained in the key, not the value. For example, rather than
225 # `{&quot;instanceLimit&quot;: &quot;100/request&quot;}`, should be returned as,
226 # `{&quot;instanceLimitPerRequest&quot;: &quot;100&quot;}`, if the client exceeds the number of
227 # instances that can be created in a single (batch) request.
228 &quot;a_key&quot;: &quot;A String&quot;,
229 },
230 &quot;reason&quot;: &quot;A String&quot;, # The reason of the error. This is a constant value that identifies the
231 # proximate cause of the error. Error reasons are unique within a particular
232 # domain of errors. This should be at most 63 characters and match a
233 # regular expression of `A-Z+[A-Z0-9]`, which represents
234 # UPPER_SNAKE_CASE.
235 },
236 &quot;help&quot;: { # Provides links to documentation or for performing an out of band action.
237 #
238 # For example, if a quota check failed with an error indicating the calling
239 # project hasn&#x27;t enabled the accessed service, this can contain a URL pointing
240 # directly to the right place in the developer console to flip the bit.
241 &quot;links&quot;: [ # URL(s) pointing to additional information on handling the current error.
242 { # Describes a URL link.
243 &quot;description&quot;: &quot;A String&quot;, # Describes what the link offers.
244 &quot;url&quot;: &quot;A String&quot;, # The URL of the link.
245 },
246 ],
247 },
248 &quot;localizedMessage&quot;: { # Provides a localized error message that is safe to return to the user
249 # which can be attached to an RPC error.
250 &quot;locale&quot;: &quot;A String&quot;, # The locale used following the specification defined at
251 # https://www.rfc-editor.org/rfc/bcp/bcp47.txt.
252 # Examples are: &quot;en-US&quot;, &quot;fr-CH&quot;, &quot;es-MX&quot;
253 &quot;message&quot;: &quot;A String&quot;, # The localized error message in the above locale.
254 },
255 &quot;quotaInfo&quot;: { # Additional details for quota exceeded error for resource quota.
256 &quot;dimensions&quot;: { # The map holding related quota dimensions.
257 &quot;a_key&quot;: &quot;A String&quot;,
258 },
259 &quot;futureLimit&quot;: 3.14, # Future quota limit being rolled out. The limit&#x27;s unit depends on the quota
260 # type or metric.
261 &quot;limit&quot;: 3.14, # Current effective quota limit. The limit&#x27;s unit depends on the quota type
262 # or metric.
263 &quot;limitName&quot;: &quot;A String&quot;, # The name of the quota limit.
264 &quot;metricName&quot;: &quot;A String&quot;, # The Compute Engine quota metric name.
265 &quot;rolloutStatus&quot;: &quot;A String&quot;, # Rollout status of the future quota limit.
266 },
267 },
268 ],
269 &quot;location&quot;: &quot;A String&quot;, # [Output Only] Indicates the field in the request that caused the error.
270 # This property is optional.
271 &quot;message&quot;: &quot;A String&quot;, # [Output Only] An optional, human-readable error message.
272 },
273 ],
274 },
275 &quot;getVersionOperationMetadata&quot;: {
276 &quot;inlineSbomInfo&quot;: {
277 &quot;currentComponentVersions&quot;: { # A mapping of components to their currently-applied versions or other
278 # appropriate identifiers.
279 &quot;a_key&quot;: &quot;A String&quot;,
280 },
281 &quot;targetComponentVersions&quot;: { # A mapping of components to their target versions or other appropriate
282 # identifiers.
283 &quot;a_key&quot;: &quot;A String&quot;,
284 },
285 },
286 },
287 &quot;httpErrorMessage&quot;: &quot;A String&quot;, # [Output Only] If the operation fails, this field contains the HTTP error
288 # message that was returned, such as `NOT FOUND`.
289 &quot;httpErrorStatusCode&quot;: 42, # [Output Only] If the operation fails, this field contains the HTTP error
290 # status code that was returned. For example, a `404` means the
291 # resource was not found.
292 &quot;id&quot;: &quot;A String&quot;, # [Output Only] The unique identifier for the operation. This identifier is
293 # defined by the server.
294 &quot;insertTime&quot;: &quot;A String&quot;, # [Output Only] The time that this operation was requested.
295 # This value is inRFC3339
296 # text format.
297 &quot;instancesBulkInsertOperationMetadata&quot;: {
298 &quot;perLocationStatus&quot;: { # Status information per location (location name is key).
299 # Example key: zones/us-central1-a
300 &quot;a_key&quot;: {
301 &quot;createdVmCount&quot;: 42, # [Output Only] Count of VMs successfully created so far.
302 &quot;deletedVmCount&quot;: 42, # [Output Only] Count of VMs that got deleted during rollback.
303 &quot;failedToCreateVmCount&quot;: 42, # [Output Only] Count of VMs that started creating but encountered an
304 # error.
305 &quot;status&quot;: &quot;A String&quot;, # [Output Only] Creation status of BulkInsert operation - information
306 # if the flow is rolling forward or rolling back.
307 &quot;targetVmCount&quot;: 42, # [Output Only] Count of VMs originally planned to be created.
308 },
309 },
310 },
311 &quot;kind&quot;: &quot;compute#operation&quot;, # Output only. [Output Only] Type of the resource. Always `compute#operation` for
312 # Operation resources.
313 &quot;name&quot;: &quot;A String&quot;, # [Output Only] Name of the operation.
314 &quot;operationGroupId&quot;: &quot;A String&quot;, # Output only. [Output Only] An ID that represents a group of operations, such as when a
315 # group of operations results from a `bulkInsert` API request.
316 &quot;operationType&quot;: &quot;A String&quot;, # [Output Only] The type of operation, such as `insert`,
317 # `update`, or `delete`, and so on.
318 &quot;progress&quot;: 42, # [Output Only] An optional progress indicator that ranges from 0 to 100.
319 # There is no requirement that this be linear or support any granularity of
320 # operations. This should not be used to guess when the operation will be
321 # complete. This number should monotonically increase as the operation
322 # progresses.
323 &quot;region&quot;: &quot;A String&quot;, # [Output Only] The URL of the region where the operation resides. Only
324 # applicable when performing regional operations.
325 &quot;selfLink&quot;: &quot;A String&quot;, # [Output Only] Server-defined URL for the resource.
326 &quot;selfLinkWithId&quot;: &quot;A String&quot;, # Output only. [Output Only] Server-defined URL for this resource with the resource id.
327 &quot;setCommonInstanceMetadataOperationMetadata&quot;: { # Output only. [Output Only] If the operation is for projects.setCommonInstanceMetadata,
328 # this field will contain information on all underlying zonal actions and
329 # their state.
330 &quot;clientOperationId&quot;: &quot;A String&quot;, # [Output Only] The client operation id.
331 &quot;perLocationOperations&quot;: { # [Output Only] Status information per location (location name is key).
332 # Example key: zones/us-central1-a
333 &quot;a_key&quot;: {
334 &quot;error&quot;: { # The `Status` type defines a logical error model that is suitable for # [Output Only] If state is `ABANDONED` or `FAILED`, this field is
335 # populated.
336 # different programming environments, including REST APIs and RPC APIs. It is
337 # used by [gRPC](https://github.com/grpc). Each `Status` message contains
338 # three pieces of data: error code, error message, and error details.
339 #
340 # You can find out more about this error model and how to work with it in the
341 # [API Design Guide](https://cloud.google.com/apis/design/errors).
342 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
343 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of
344 # message types for APIs to use.
345 {
346 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
347 },
348 ],
349 &quot;message&quot;: &quot;A String&quot;, # A developer-facing error message, which should be in English. Any
350 # user-facing error message should be localized and sent in the
351 # google.rpc.Status.details field, or localized by the client.
352 },
353 &quot;state&quot;: &quot;A String&quot;, # [Output Only] Status of the action, which can be one of the following:
354 # `PROPAGATING`, `PROPAGATED`, `ABANDONED`, `FAILED`, or `DONE`.
355 },
356 },
357 },
358 &quot;startTime&quot;: &quot;A String&quot;, # [Output Only] The time that this operation was started by the server.
359 # This value is inRFC3339
360 # text format.
361 &quot;status&quot;: &quot;A String&quot;, # [Output Only] The status of the operation, which can be one of the
362 # following:
363 # `PENDING`, `RUNNING`, or `DONE`.
364 &quot;statusMessage&quot;: &quot;A String&quot;, # [Output Only] An optional textual description of the current status of the
365 # operation.
366 &quot;targetId&quot;: &quot;A String&quot;, # [Output Only] The unique target ID, which identifies a specific incarnation
367 # of the target resource.
368 &quot;targetLink&quot;: &quot;A String&quot;, # [Output Only] The URL of the resource that the operation modifies. For
369 # operations related to creating a snapshot, this points to the disk
370 # that the snapshot was created from.
371 &quot;user&quot;: &quot;A String&quot;, # [Output Only] User who requested the operation, for example:
372 # `[email protected]` or
373 # `alice_smith_identifier (global/workforcePools/example-com-us-employees)`.
374 &quot;warnings&quot;: [ # [Output Only] If warning messages are generated during processing of the
375 # operation, this field will be populated.
376 {
377 &quot;code&quot;: &quot;A String&quot;, # [Output Only] A warning code, if applicable. For example, Compute
378 # Engine returns NO_RESULTS_ON_PAGE if there
379 # are no results in the response.
380 &quot;data&quot;: [ # [Output Only] Metadata about this warning in key:
381 # value format. For example:
382 #
383 # &quot;data&quot;: [
384 # {
385 # &quot;key&quot;: &quot;scope&quot;,
386 # &quot;value&quot;: &quot;zones/us-east1-d&quot;
387 # }
388 {
389 &quot;key&quot;: &quot;A String&quot;, # [Output Only] A key that provides more detail on the warning being
390 # returned. For example, for warnings where there are no results in a list
391 # request for a particular zone, this key might be scope and
392 # the key value might be the zone name. Other examples might be a key
393 # indicating a deprecated resource and a suggested replacement, or a
394 # warning about invalid network settings (for example, if an instance
395 # attempts to perform IP forwarding but is not enabled for IP forwarding).
396 &quot;value&quot;: &quot;A String&quot;, # [Output Only] A warning data value corresponding to the key.
397 },
398 ],
399 &quot;message&quot;: &quot;A String&quot;, # [Output Only] A human-readable description of the warning code.
400 },
401 ],
402 &quot;zone&quot;: &quot;A String&quot;, # [Output Only] The URL of the zone where the operation resides. Only
403 # applicable when performing per-zone operations.
404 }</pre>
405 </div>
406
407 <div class="method">
408 <code class="details" id="get">get(project, region, sslPolicy, x__xgafv=None)</code>
409 <pre>Lists all of the ordered rules present in a single specified policy.
410
411 Args:
412 project: string, Project ID for this request. (required)
413 region: string, Name of the region scoping this request. (required)
414 sslPolicy: string, Name of the SSL policy to update. The name must be 1-63 characters long,
415 and comply with RFC1035. (required)
416 x__xgafv: string, V1 error format.
417 Allowed values
418 1 - v1 error format
419 2 - v2 error format
420
421 Returns:
422 An object of the form:
423
424 { # Represents an SSL Policy resource.
425 #
426 # Use SSL policies to control SSL features, such as versions and cipher
427 # suites, that are offered by Application Load Balancers and proxy Network Load
428 # Balancers. For more information, read
429 # SSL policies overview.
430 &quot;creationTimestamp&quot;: &quot;A String&quot;, # Output only. [Output Only] Creation timestamp inRFC3339
431 # text format.
432 &quot;customFeatures&quot;: [ # A list of features enabled when the selected profile is CUSTOM. The
433 # method returns the set of features that can be
434 # specified in this list. This field must be empty if the profile is notCUSTOM.
435 &quot;A String&quot;,
436 ],
437 &quot;description&quot;: &quot;A String&quot;, # An optional description of this resource. Provide this property when you
438 # create the resource.
439 &quot;enabledFeatures&quot;: [ # Output only. [Output Only] The list of features enabled in the SSL policy.
440 &quot;A String&quot;,
441 ],
442 &quot;fingerprint&quot;: &quot;A String&quot;, # Fingerprint of this resource. A hash of the contents stored in this object.
443 # This field is used in optimistic locking. This field will be ignored when
444 # inserting a SslPolicy. An up-to-date fingerprint must be
445 # provided in order to update the SslPolicy, otherwise the
446 # request will fail with error 412 conditionNotMet.
447 #
448 # To see the latest fingerprint, make a get() request to
449 # retrieve an SslPolicy.
450 &quot;id&quot;: &quot;A String&quot;, # Output only. [Output Only] The unique identifier for the resource. This identifier is
451 # defined by the server.
452 &quot;kind&quot;: &quot;compute#sslPolicy&quot;, # Output only. [Output only] Type of the resource. Alwayscompute#sslPolicyfor SSL policies.
453 &quot;minTlsVersion&quot;: &quot;A String&quot;, # The minimum version of SSL protocol that can be used by the clients to
454 # establish a connection with the load balancer. This can be one ofTLS_1_0, TLS_1_1, TLS_1_2,TLS_1_3. When set to TLS_1_3, the profile field
455 # must be set to RESTRICTED.
456 &quot;name&quot;: &quot;A String&quot;, # Name of the resource. The name must be 1-63 characters long, and comply
457 # with RFC1035. Specifically, the name must be 1-63 characters
458 # long and match the regular expression
459 # `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character
460 # must be a lowercase letter, and all following characters must be a dash,
461 # lowercase letter, or digit, except the last character, which cannot be a
462 # dash.
463 &quot;postQuantumKeyExchange&quot;: &quot;A String&quot;, # One of DEFAULT, ENABLED, orDEFERRED. Controls whether the load balancer negotiates
464 # X25519MLKEM768 key exchange when clients advertise support for it. When set
465 # to DEFAULT, or if no SSL Policy is attached to the target
466 # proxy, the load balancer disallows X25519MLKEM768 key exchange before
467 # October 2026, and allows it afterward. When set to ENABLED,
468 # the load balancer allows X25519MLKEM768 key exchange. When set toDEFERRED, the load balancer disallows X25519MLKEM768 key
469 # exchange until October 2027, and allows it afterward.
470 &quot;profile&quot;: &quot;A String&quot;, # Profile specifies the set of SSL features that can be used by the load
471 # balancer when negotiating SSL with clients. This can be one ofCOMPATIBLE, MODERN, RESTRICTED,FIPS_202205, or CUSTOM. If usingCUSTOM, the set of SSL features to enable must be specified in
472 # the customFeatures field. If using FIPS_202205,
473 # the min_tls_version field must be set to TLS_1_2.
474 &quot;region&quot;: &quot;A String&quot;, # Output only. [Output Only] URL of the region where the regional SSL policy
475 # resides. This field is not applicable to global SSL policies.
476 &quot;selfLink&quot;: &quot;A String&quot;, # Output only. [Output Only] Server-defined URL for the resource.
477 &quot;selfLinkWithId&quot;: &quot;A String&quot;, # Output only. [Output Only] Server-defined URL for this resource with the resource id.
478 &quot;tlsSettings&quot;: { # The TLS settings for the server. # Security settings for the proxy. This field is only applicable to a
479 # global backend service with the loadBalancingScheme set toINTERNAL_SELF_MANAGED.
480 &quot;proxyTlsContext&quot;: { # [Deprecated] The TLS settings for the client or server. # Configures the mechanism to obtain security certificates and identity
481 # information.
482 # The TLS settings for the client or server.
483 &quot;certificateContext&quot;: { # [Deprecated] Defines the mechanism to obtain the client or server # Defines the mechanism to obtain the client or server certificate.
484 # certificate.
485 # Defines the mechanism to obtain the client or server certificate.
486 &quot;certificatePaths&quot;: { # [Deprecated] The paths to the mounted TLS Certificates and private key. # Specifies the certificate and private key paths. This field is
487 # applicable only if tlsCertificateSource is set to USE_PATH.
488 # The paths to the mounted TLS Certificates and private key.
489 &quot;certificatePath&quot;: &quot;A String&quot;, # The path to the file holding the client or server TLS certificate to use.
490 &quot;privateKeyPath&quot;: &quot;A String&quot;, # The path to the file holding the client or server private key.
491 },
492 &quot;certificateSource&quot;: &quot;A String&quot;, # Defines how TLS certificates are obtained.
493 &quot;sdsConfig&quot;: { # [Deprecated] The configuration to access the SDS server. # Specifies the config to retrieve certificates through SDS. This field
494 # is applicable only if tlsCertificateSource is set to USE_SDS.
495 # The configuration to access the SDS server.
496 &quot;grpcServiceConfig&quot;: { # [Deprecated] gRPC config to access the SDS server. # The configuration to access the SDS server over GRPC.
497 # gRPC config to access the SDS server.
498 &quot;callCredentials&quot;: { # [Deprecated] gRPC call credentials to access the SDS server. # The call credentials to access the SDS server.
499 # gRPC call credentials to access the SDS server.
500 &quot;callCredentialType&quot;: &quot;A String&quot;, # The type of call credentials to use for GRPC requests to the SDS server.
501 # This field can be set to one of the following:
502 #
503 # - GCE_VM: The local GCE VM service account credentials are used to access
504 # the SDS server.
505 # - FROM_PLUGIN: Custom authenticator credentials are used to access the
506 # SDS server.
507 &quot;fromPlugin&quot;: { # [Deprecated] Custom authenticator credentials. # Custom authenticator credentials. Valid if callCredentialType is
508 # FROM_PLUGIN.
509 # Custom authenticator credentials.
510 &quot;name&quot;: &quot;A String&quot;, # Plugin name.
511 &quot;structConfig&quot;: &quot;A String&quot;, # A text proto that conforms to a Struct type definition interpreted by the
512 # plugin.
513 },
514 },
515 &quot;channelCredentials&quot;: { # [Deprecated] gRPC channel credentials to access the SDS server. # The channel credentials to access the SDS server.
516 # gRPC channel credentials to access the SDS server.
517 &quot;certificates&quot;: { # [Deprecated] The paths to the mounted TLS Certificates and private key. # The call credentials to access the SDS server.
518 # The paths to the mounted TLS Certificates and private key.
519 &quot;certificatePath&quot;: &quot;A String&quot;, # The path to the file holding the client or server TLS certificate to use.
520 &quot;privateKeyPath&quot;: &quot;A String&quot;, # The path to the file holding the client or server private key.
521 },
522 &quot;channelCredentialType&quot;: &quot;A String&quot;, # The channel credentials to access the SDS server. This field can be set
523 # to one of the following:
524 # CERTIFICATES: Use TLS certificates to access the SDS server.
525 # GCE_VM: Use local GCE VM credentials to access the SDS server.
526 },
527 &quot;targetUri&quot;: &quot;A String&quot;, # The target URI of the SDS server.
528 },
529 },
530 },
531 &quot;validationContext&quot;: { # [Deprecated] Defines the mechanism to obtain the Certificate Authority # Defines the mechanism to obtain the Certificate Authority certificate to
532 # validate the client/server certificate. If omitted, the proxy will not
533 # validate the server or client certificate.
534 # certificate to validate the client/server certificate.
535 # validate the client/server certificate.
536 &quot;certificatePath&quot;: &quot;A String&quot;, # The path to the file holding the CA certificate to validate the
537 # client or server certificate.
538 &quot;sdsConfig&quot;: { # [Deprecated] The configuration to access the SDS server. # Specifies the config to retrieve certificates through SDS. This field
539 # is applicable only if tlsCertificateSource is set to USE_SDS.
540 # The configuration to access the SDS server.
541 &quot;grpcServiceConfig&quot;: { # [Deprecated] gRPC config to access the SDS server. # The configuration to access the SDS server over GRPC.
542 # gRPC config to access the SDS server.
543 &quot;callCredentials&quot;: { # [Deprecated] gRPC call credentials to access the SDS server. # The call credentials to access the SDS server.
544 # gRPC call credentials to access the SDS server.
545 &quot;callCredentialType&quot;: &quot;A String&quot;, # The type of call credentials to use for GRPC requests to the SDS server.
546 # This field can be set to one of the following:
547 #
548 # - GCE_VM: The local GCE VM service account credentials are used to access
549 # the SDS server.
550 # - FROM_PLUGIN: Custom authenticator credentials are used to access the
551 # SDS server.
552 &quot;fromPlugin&quot;: { # [Deprecated] Custom authenticator credentials. # Custom authenticator credentials. Valid if callCredentialType is
553 # FROM_PLUGIN.
554 # Custom authenticator credentials.
555 &quot;name&quot;: &quot;A String&quot;, # Plugin name.
556 &quot;structConfig&quot;: &quot;A String&quot;, # A text proto that conforms to a Struct type definition interpreted by the
557 # plugin.
558 },
559 },
560 &quot;channelCredentials&quot;: { # [Deprecated] gRPC channel credentials to access the SDS server. # The channel credentials to access the SDS server.
561 # gRPC channel credentials to access the SDS server.
562 &quot;certificates&quot;: { # [Deprecated] The paths to the mounted TLS Certificates and private key. # The call credentials to access the SDS server.
563 # The paths to the mounted TLS Certificates and private key.
564 &quot;certificatePath&quot;: &quot;A String&quot;, # The path to the file holding the client or server TLS certificate to use.
565 &quot;privateKeyPath&quot;: &quot;A String&quot;, # The path to the file holding the client or server private key.
566 },
567 &quot;channelCredentialType&quot;: &quot;A String&quot;, # The channel credentials to access the SDS server. This field can be set
568 # to one of the following:
569 # CERTIFICATES: Use TLS certificates to access the SDS server.
570 # GCE_VM: Use local GCE VM credentials to access the SDS server.
571 },
572 &quot;targetUri&quot;: &quot;A String&quot;, # The target URI of the SDS server.
573 },
574 },
575 &quot;validationSource&quot;: &quot;A String&quot;, # Defines how TLS certificates are obtained.
576 },
577 },
578 &quot;subjectAltNames&quot;: [ # A list of alternate names to verify the subject identity in the certificate
579 # presented by the client.
580 &quot;A String&quot;,
581 ],
582 &quot;tlsMode&quot;: &quot;A String&quot;, # Indicates whether connections should be secured using TLS. The value of
583 # this field determines how TLS is enforced. This field can be set to one
584 # of the following:
585 #
586 # - SIMPLE Secure connections with standard TLS semantics.
587 # - MUTUAL Secure connections to the backends using mutual
588 # TLS by presenting client certificates for authentication.
589 },
590 &quot;warnings&quot;: [ # Output only. [Output Only] If potential misconfigurations are detected for this
591 # SSL policy, this field will be populated with warning messages.
592 {
593 &quot;code&quot;: &quot;A String&quot;, # [Output Only] A warning code, if applicable. For example, Compute
594 # Engine returns NO_RESULTS_ON_PAGE if there
595 # are no results in the response.
596 &quot;data&quot;: [ # [Output Only] Metadata about this warning in key:
597 # value format. For example:
598 #
599 # &quot;data&quot;: [
600 # {
601 # &quot;key&quot;: &quot;scope&quot;,
602 # &quot;value&quot;: &quot;zones/us-east1-d&quot;
603 # }
604 {
605 &quot;key&quot;: &quot;A String&quot;, # [Output Only] A key that provides more detail on the warning being
606 # returned. For example, for warnings where there are no results in a list
607 # request for a particular zone, this key might be scope and
608 # the key value might be the zone name. Other examples might be a key
609 # indicating a deprecated resource and a suggested replacement, or a
610 # warning about invalid network settings (for example, if an instance
611 # attempts to perform IP forwarding but is not enabled for IP forwarding).
612 &quot;value&quot;: &quot;A String&quot;, # [Output Only] A warning data value corresponding to the key.
613 },
614 ],
615 &quot;message&quot;: &quot;A String&quot;, # [Output Only] A human-readable description of the warning code.
616 },
617 ],
618 }</pre>
619 </div>
620
621 <div class="method">
622 <code class="details" id="insert">insert(project, region, body=None, requestId=None, x__xgafv=None)</code>
623 <pre>Creates a new policy in the specified project and region using the data
624 included in the request.
625
626 Args:
627 project: string, Project ID for this request. (required)
628 region: string, Name of the region scoping this request. (required)
629 body: object, The request body.
630 The object takes the form of:
631
632 { # Represents an SSL Policy resource.
633 #
634 # Use SSL policies to control SSL features, such as versions and cipher
635 # suites, that are offered by Application Load Balancers and proxy Network Load
636 # Balancers. For more information, read
637 # SSL policies overview.
638 &quot;creationTimestamp&quot;: &quot;A String&quot;, # Output only. [Output Only] Creation timestamp inRFC3339
639 # text format.
640 &quot;customFeatures&quot;: [ # A list of features enabled when the selected profile is CUSTOM. The
641 # method returns the set of features that can be
642 # specified in this list. This field must be empty if the profile is notCUSTOM.
643 &quot;A String&quot;,
644 ],
645 &quot;description&quot;: &quot;A String&quot;, # An optional description of this resource. Provide this property when you
646 # create the resource.
647 &quot;enabledFeatures&quot;: [ # Output only. [Output Only] The list of features enabled in the SSL policy.
648 &quot;A String&quot;,
649 ],
650 &quot;fingerprint&quot;: &quot;A String&quot;, # Fingerprint of this resource. A hash of the contents stored in this object.
651 # This field is used in optimistic locking. This field will be ignored when
652 # inserting a SslPolicy. An up-to-date fingerprint must be
653 # provided in order to update the SslPolicy, otherwise the
654 # request will fail with error 412 conditionNotMet.
655 #
656 # To see the latest fingerprint, make a get() request to
657 # retrieve an SslPolicy.
658 &quot;id&quot;: &quot;A String&quot;, # Output only. [Output Only] The unique identifier for the resource. This identifier is
659 # defined by the server.
660 &quot;kind&quot;: &quot;compute#sslPolicy&quot;, # Output only. [Output only] Type of the resource. Alwayscompute#sslPolicyfor SSL policies.
661 &quot;minTlsVersion&quot;: &quot;A String&quot;, # The minimum version of SSL protocol that can be used by the clients to
662 # establish a connection with the load balancer. This can be one ofTLS_1_0, TLS_1_1, TLS_1_2,TLS_1_3. When set to TLS_1_3, the profile field
663 # must be set to RESTRICTED.
664 &quot;name&quot;: &quot;A String&quot;, # Name of the resource. The name must be 1-63 characters long, and comply
665 # with RFC1035. Specifically, the name must be 1-63 characters
666 # long and match the regular expression
667 # `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character
668 # must be a lowercase letter, and all following characters must be a dash,
669 # lowercase letter, or digit, except the last character, which cannot be a
670 # dash.
671 &quot;postQuantumKeyExchange&quot;: &quot;A String&quot;, # One of DEFAULT, ENABLED, orDEFERRED. Controls whether the load balancer negotiates
672 # X25519MLKEM768 key exchange when clients advertise support for it. When set
673 # to DEFAULT, or if no SSL Policy is attached to the target
674 # proxy, the load balancer disallows X25519MLKEM768 key exchange before
675 # October 2026, and allows it afterward. When set to ENABLED,
676 # the load balancer allows X25519MLKEM768 key exchange. When set toDEFERRED, the load balancer disallows X25519MLKEM768 key
677 # exchange until October 2027, and allows it afterward.
678 &quot;profile&quot;: &quot;A String&quot;, # Profile specifies the set of SSL features that can be used by the load
679 # balancer when negotiating SSL with clients. This can be one ofCOMPATIBLE, MODERN, RESTRICTED,FIPS_202205, or CUSTOM. If usingCUSTOM, the set of SSL features to enable must be specified in
680 # the customFeatures field. If using FIPS_202205,
681 # the min_tls_version field must be set to TLS_1_2.
682 &quot;region&quot;: &quot;A String&quot;, # Output only. [Output Only] URL of the region where the regional SSL policy
683 # resides. This field is not applicable to global SSL policies.
684 &quot;selfLink&quot;: &quot;A String&quot;, # Output only. [Output Only] Server-defined URL for the resource.
685 &quot;selfLinkWithId&quot;: &quot;A String&quot;, # Output only. [Output Only] Server-defined URL for this resource with the resource id.
686 &quot;tlsSettings&quot;: { # The TLS settings for the server. # Security settings for the proxy. This field is only applicable to a
687 # global backend service with the loadBalancingScheme set toINTERNAL_SELF_MANAGED.
688 &quot;proxyTlsContext&quot;: { # [Deprecated] The TLS settings for the client or server. # Configures the mechanism to obtain security certificates and identity
689 # information.
690 # The TLS settings for the client or server.
691 &quot;certificateContext&quot;: { # [Deprecated] Defines the mechanism to obtain the client or server # Defines the mechanism to obtain the client or server certificate.
692 # certificate.
693 # Defines the mechanism to obtain the client or server certificate.
694 &quot;certificatePaths&quot;: { # [Deprecated] The paths to the mounted TLS Certificates and private key. # Specifies the certificate and private key paths. This field is
695 # applicable only if tlsCertificateSource is set to USE_PATH.
696 # The paths to the mounted TLS Certificates and private key.
697 &quot;certificatePath&quot;: &quot;A String&quot;, # The path to the file holding the client or server TLS certificate to use.
698 &quot;privateKeyPath&quot;: &quot;A String&quot;, # The path to the file holding the client or server private key.
699 },
700 &quot;certificateSource&quot;: &quot;A String&quot;, # Defines how TLS certificates are obtained.
701 &quot;sdsConfig&quot;: { # [Deprecated] The configuration to access the SDS server. # Specifies the config to retrieve certificates through SDS. This field
702 # is applicable only if tlsCertificateSource is set to USE_SDS.
703 # The configuration to access the SDS server.
704 &quot;grpcServiceConfig&quot;: { # [Deprecated] gRPC config to access the SDS server. # The configuration to access the SDS server over GRPC.
705 # gRPC config to access the SDS server.
706 &quot;callCredentials&quot;: { # [Deprecated] gRPC call credentials to access the SDS server. # The call credentials to access the SDS server.
707 # gRPC call credentials to access the SDS server.
708 &quot;callCredentialType&quot;: &quot;A String&quot;, # The type of call credentials to use for GRPC requests to the SDS server.
709 # This field can be set to one of the following:
710 #
711 # - GCE_VM: The local GCE VM service account credentials are used to access
712 # the SDS server.
713 # - FROM_PLUGIN: Custom authenticator credentials are used to access the
714 # SDS server.
715 &quot;fromPlugin&quot;: { # [Deprecated] Custom authenticator credentials. # Custom authenticator credentials. Valid if callCredentialType is
716 # FROM_PLUGIN.
717 # Custom authenticator credentials.
718 &quot;name&quot;: &quot;A String&quot;, # Plugin name.
719 &quot;structConfig&quot;: &quot;A String&quot;, # A text proto that conforms to a Struct type definition interpreted by the
720 # plugin.
721 },
722 },
723 &quot;channelCredentials&quot;: { # [Deprecated] gRPC channel credentials to access the SDS server. # The channel credentials to access the SDS server.
724 # gRPC channel credentials to access the SDS server.
725 &quot;certificates&quot;: { # [Deprecated] The paths to the mounted TLS Certificates and private key. # The call credentials to access the SDS server.
726 # The paths to the mounted TLS Certificates and private key.
727 &quot;certificatePath&quot;: &quot;A String&quot;, # The path to the file holding the client or server TLS certificate to use.
728 &quot;privateKeyPath&quot;: &quot;A String&quot;, # The path to the file holding the client or server private key.
729 },
730 &quot;channelCredentialType&quot;: &quot;A String&quot;, # The channel credentials to access the SDS server. This field can be set
731 # to one of the following:
732 # CERTIFICATES: Use TLS certificates to access the SDS server.
733 # GCE_VM: Use local GCE VM credentials to access the SDS server.
734 },
735 &quot;targetUri&quot;: &quot;A String&quot;, # The target URI of the SDS server.
736 },
737 },
738 },
739 &quot;validationContext&quot;: { # [Deprecated] Defines the mechanism to obtain the Certificate Authority # Defines the mechanism to obtain the Certificate Authority certificate to
740 # validate the client/server certificate. If omitted, the proxy will not
741 # validate the server or client certificate.
742 # certificate to validate the client/server certificate.
743 # validate the client/server certificate.
744 &quot;certificatePath&quot;: &quot;A String&quot;, # The path to the file holding the CA certificate to validate the
745 # client or server certificate.
746 &quot;sdsConfig&quot;: { # [Deprecated] The configuration to access the SDS server. # Specifies the config to retrieve certificates through SDS. This field
747 # is applicable only if tlsCertificateSource is set to USE_SDS.
748 # The configuration to access the SDS server.
749 &quot;grpcServiceConfig&quot;: { # [Deprecated] gRPC config to access the SDS server. # The configuration to access the SDS server over GRPC.
750 # gRPC config to access the SDS server.
751 &quot;callCredentials&quot;: { # [Deprecated] gRPC call credentials to access the SDS server. # The call credentials to access the SDS server.
752 # gRPC call credentials to access the SDS server.
753 &quot;callCredentialType&quot;: &quot;A String&quot;, # The type of call credentials to use for GRPC requests to the SDS server.
754 # This field can be set to one of the following:
755 #
756 # - GCE_VM: The local GCE VM service account credentials are used to access
757 # the SDS server.
758 # - FROM_PLUGIN: Custom authenticator credentials are used to access the
759 # SDS server.
760 &quot;fromPlugin&quot;: { # [Deprecated] Custom authenticator credentials. # Custom authenticator credentials. Valid if callCredentialType is
761 # FROM_PLUGIN.
762 # Custom authenticator credentials.
763 &quot;name&quot;: &quot;A String&quot;, # Plugin name.
764 &quot;structConfig&quot;: &quot;A String&quot;, # A text proto that conforms to a Struct type definition interpreted by the
765 # plugin.
766 },
767 },
768 &quot;channelCredentials&quot;: { # [Deprecated] gRPC channel credentials to access the SDS server. # The channel credentials to access the SDS server.
769 # gRPC channel credentials to access the SDS server.
770 &quot;certificates&quot;: { # [Deprecated] The paths to the mounted TLS Certificates and private key. # The call credentials to access the SDS server.
771 # The paths to the mounted TLS Certificates and private key.
772 &quot;certificatePath&quot;: &quot;A String&quot;, # The path to the file holding the client or server TLS certificate to use.
773 &quot;privateKeyPath&quot;: &quot;A String&quot;, # The path to the file holding the client or server private key.
774 },
775 &quot;channelCredentialType&quot;: &quot;A String&quot;, # The channel credentials to access the SDS server. This field can be set
776 # to one of the following:
777 # CERTIFICATES: Use TLS certificates to access the SDS server.
778 # GCE_VM: Use local GCE VM credentials to access the SDS server.
779 },
780 &quot;targetUri&quot;: &quot;A String&quot;, # The target URI of the SDS server.
781 },
782 },
783 &quot;validationSource&quot;: &quot;A String&quot;, # Defines how TLS certificates are obtained.
784 },
785 },
786 &quot;subjectAltNames&quot;: [ # A list of alternate names to verify the subject identity in the certificate
787 # presented by the client.
788 &quot;A String&quot;,
789 ],
790 &quot;tlsMode&quot;: &quot;A String&quot;, # Indicates whether connections should be secured using TLS. The value of
791 # this field determines how TLS is enforced. This field can be set to one
792 # of the following:
793 #
794 # - SIMPLE Secure connections with standard TLS semantics.
795 # - MUTUAL Secure connections to the backends using mutual
796 # TLS by presenting client certificates for authentication.
797 },
798 &quot;warnings&quot;: [ # Output only. [Output Only] If potential misconfigurations are detected for this
799 # SSL policy, this field will be populated with warning messages.
800 {
801 &quot;code&quot;: &quot;A String&quot;, # [Output Only] A warning code, if applicable. For example, Compute
802 # Engine returns NO_RESULTS_ON_PAGE if there
803 # are no results in the response.
804 &quot;data&quot;: [ # [Output Only] Metadata about this warning in key:
805 # value format. For example:
806 #
807 # &quot;data&quot;: [
808 # {
809 # &quot;key&quot;: &quot;scope&quot;,
810 # &quot;value&quot;: &quot;zones/us-east1-d&quot;
811 # }
812 {
813 &quot;key&quot;: &quot;A String&quot;, # [Output Only] A key that provides more detail on the warning being
814 # returned. For example, for warnings where there are no results in a list
815 # request for a particular zone, this key might be scope and
816 # the key value might be the zone name. Other examples might be a key
817 # indicating a deprecated resource and a suggested replacement, or a
818 # warning about invalid network settings (for example, if an instance
819 # attempts to perform IP forwarding but is not enabled for IP forwarding).
820 &quot;value&quot;: &quot;A String&quot;, # [Output Only] A warning data value corresponding to the key.
821 },
822 ],
823 &quot;message&quot;: &quot;A String&quot;, # [Output Only] A human-readable description of the warning code.
824 },
825 ],
826 }
827
828 requestId: string, An optional request ID to identify requests. Specify a unique request ID so
829 that if you must retry your request, the server will know to ignore the
830 request if it has already been completed.
831
832 For example, consider a situation where you make an initial request and
833 the request times out. If you make the request again with the same
834 request ID, the server can check if original operation with the same
835 request ID was received, and if so, will ignore the second request. This
836 prevents clients from accidentally creating duplicate commitments.
837
838 The request ID must be
839 a valid UUID with the exception that zero UUID is not supported
840 (00000000-0000-0000-0000-000000000000).
841 x__xgafv: string, V1 error format.
842 Allowed values
843 1 - v1 error format
844 2 - v2 error format
845
846 Returns:
847 An object of the form:
848
849 { # Represents an Operation resource.
850 #
851 # Google Compute Engine has three Operation resources:
852 #
853 # * [Global](/compute/docs/reference/rest/alpha/globalOperations)
854 # * [Regional](/compute/docs/reference/rest/alpha/regionOperations)
855 # * [Zonal](/compute/docs/reference/rest/alpha/zoneOperations)
856 #
857 # You can use an operation resource to manage asynchronous API requests.
858 # For more information, readHandling
859 # API responses.
860 #
861 # Operations can be global, regional or zonal.
862 #
863 # - For global operations, use the `globalOperations`
864 # resource.
865 # - For regional operations, use the
866 # `regionOperations` resource.
867 # - For zonal operations, use
868 # the `zoneOperations` resource.
869 #
870 #
871 #
872 # For more information, read
873 # Global, Regional, and Zonal Resources.
874 #
875 # Note that completed Operation resources have a limited
876 # retention period.
877 &quot;clientOperationId&quot;: &quot;A String&quot;, # [Output Only] The value of `requestId` if you provided it in the request.
878 # Not present otherwise.
879 &quot;creationTimestamp&quot;: &quot;A String&quot;, # [Deprecated] This field is deprecated.
880 &quot;description&quot;: &quot;A String&quot;, # [Output Only] A textual description of the operation, which is
881 # set when the operation is created.
882 &quot;endTime&quot;: &quot;A String&quot;, # [Output Only] The time that this operation was completed. This value is inRFC3339
883 # text format.
884 &quot;error&quot;: { # [Output Only] If errors are generated during processing of the operation,
885 # this field will be populated.
886 &quot;errors&quot;: [ # [Output Only] The array of errors encountered while processing this
887 # operation.
888 {
889 &quot;code&quot;: &quot;A String&quot;, # [Output Only] The error type identifier for this error.
890 &quot;errorDetails&quot;: [ # [Output Only] An optional list of messages that contain the error
891 # details. There is a set of defined message types to use for providing
892 # details.The syntax depends on the error code. For example,
893 # QuotaExceededInfo will have details when the error code is
894 # QUOTA_EXCEEDED.
895 {
896 &quot;errorInfo&quot;: { # Describes the cause of the error with structured details.
897 #
898 # Example of an error when contacting the &quot;pubsub.googleapis.com&quot; API when it
899 # is not enabled:
900 #
901 # { &quot;reason&quot;: &quot;API_DISABLED&quot;
902 # &quot;domain&quot;: &quot;googleapis.com&quot;
903 # &quot;metadata&quot;: {
904 # &quot;resource&quot;: &quot;projects/123&quot;,
905 # &quot;service&quot;: &quot;pubsub.googleapis.com&quot;
906 # }
907 # }
908 #
909 # This response indicates that the pubsub.googleapis.com API is not enabled.
910 #
911 # Example of an error that is returned when attempting to create a Spanner
912 # instance in a region that is out of stock:
913 #
914 # { &quot;reason&quot;: &quot;STOCKOUT&quot;
915 # &quot;domain&quot;: &quot;spanner.googleapis.com&quot;,
916 # &quot;metadata&quot;: {
917 # &quot;availableRegions&quot;: &quot;us-central1,us-east2&quot;
918 # }
919 # }
920 &quot;domain&quot;: &quot;A String&quot;, # The logical grouping to which the &quot;reason&quot; belongs. The error domain
921 # is typically the registered service name of the tool or product that
922 # generates the error. Example: &quot;pubsub.googleapis.com&quot;. If the error is
923 # generated by some common infrastructure, the error domain must be a
924 # globally unique value that identifies the infrastructure. For Google API
925 # infrastructure, the error domain is &quot;googleapis.com&quot;.
926 &quot;metadatas&quot;: { # Additional structured details about this error.
927 #
928 # Keys must match a regular expression of `a-z+` but should
929 # ideally be lowerCamelCase. Also, they must be limited to 64 characters in
930 # length. When identifying the current value of an exceeded limit, the units
931 # should be contained in the key, not the value. For example, rather than
932 # `{&quot;instanceLimit&quot;: &quot;100/request&quot;}`, should be returned as,
933 # `{&quot;instanceLimitPerRequest&quot;: &quot;100&quot;}`, if the client exceeds the number of
934 # instances that can be created in a single (batch) request.
935 &quot;a_key&quot;: &quot;A String&quot;,
936 },
937 &quot;reason&quot;: &quot;A String&quot;, # The reason of the error. This is a constant value that identifies the
938 # proximate cause of the error. Error reasons are unique within a particular
939 # domain of errors. This should be at most 63 characters and match a
940 # regular expression of `A-Z+[A-Z0-9]`, which represents
941 # UPPER_SNAKE_CASE.
942 },
943 &quot;help&quot;: { # Provides links to documentation or for performing an out of band action.
944 #
945 # For example, if a quota check failed with an error indicating the calling
946 # project hasn&#x27;t enabled the accessed service, this can contain a URL pointing
947 # directly to the right place in the developer console to flip the bit.
948 &quot;links&quot;: [ # URL(s) pointing to additional information on handling the current error.
949 { # Describes a URL link.
950 &quot;description&quot;: &quot;A String&quot;, # Describes what the link offers.
951 &quot;url&quot;: &quot;A String&quot;, # The URL of the link.
952 },
953 ],
954 },
955 &quot;localizedMessage&quot;: { # Provides a localized error message that is safe to return to the user
956 # which can be attached to an RPC error.
957 &quot;locale&quot;: &quot;A String&quot;, # The locale used following the specification defined at
958 # https://www.rfc-editor.org/rfc/bcp/bcp47.txt.
959 # Examples are: &quot;en-US&quot;, &quot;fr-CH&quot;, &quot;es-MX&quot;
960 &quot;message&quot;: &quot;A String&quot;, # The localized error message in the above locale.
961 },
962 &quot;quotaInfo&quot;: { # Additional details for quota exceeded error for resource quota.
963 &quot;dimensions&quot;: { # The map holding related quota dimensions.
964 &quot;a_key&quot;: &quot;A String&quot;,
965 },
966 &quot;futureLimit&quot;: 3.14, # Future quota limit being rolled out. The limit&#x27;s unit depends on the quota
967 # type or metric.
968 &quot;limit&quot;: 3.14, # Current effective quota limit. The limit&#x27;s unit depends on the quota type
969 # or metric.
970 &quot;limitName&quot;: &quot;A String&quot;, # The name of the quota limit.
971 &quot;metricName&quot;: &quot;A String&quot;, # The Compute Engine quota metric name.
972 &quot;rolloutStatus&quot;: &quot;A String&quot;, # Rollout status of the future quota limit.
973 },
974 },
975 ],
976 &quot;location&quot;: &quot;A String&quot;, # [Output Only] Indicates the field in the request that caused the error.
977 # This property is optional.
978 &quot;message&quot;: &quot;A String&quot;, # [Output Only] An optional, human-readable error message.
979 },
980 ],
981 },
982 &quot;getVersionOperationMetadata&quot;: {
983 &quot;inlineSbomInfo&quot;: {
984 &quot;currentComponentVersions&quot;: { # A mapping of components to their currently-applied versions or other
985 # appropriate identifiers.
986 &quot;a_key&quot;: &quot;A String&quot;,
987 },
988 &quot;targetComponentVersions&quot;: { # A mapping of components to their target versions or other appropriate
989 # identifiers.
990 &quot;a_key&quot;: &quot;A String&quot;,
991 },
992 },
993 },
994 &quot;httpErrorMessage&quot;: &quot;A String&quot;, # [Output Only] If the operation fails, this field contains the HTTP error
995 # message that was returned, such as `NOT FOUND`.
996 &quot;httpErrorStatusCode&quot;: 42, # [Output Only] If the operation fails, this field contains the HTTP error
997 # status code that was returned. For example, a `404` means the
998 # resource was not found.
999 &quot;id&quot;: &quot;A String&quot;, # [Output Only] The unique identifier for the operation. This identifier is
1000 # defined by the server.
1001 &quot;insertTime&quot;: &quot;A String&quot;, # [Output Only] The time that this operation was requested.
1002 # This value is inRFC3339
1003 # text format.
1004 &quot;instancesBulkInsertOperationMetadata&quot;: {
1005 &quot;perLocationStatus&quot;: { # Status information per location (location name is key).
1006 # Example key: zones/us-central1-a
1007 &quot;a_key&quot;: {
1008 &quot;createdVmCount&quot;: 42, # [Output Only] Count of VMs successfully created so far.
1009 &quot;deletedVmCount&quot;: 42, # [Output Only] Count of VMs that got deleted during rollback.
1010 &quot;failedToCreateVmCount&quot;: 42, # [Output Only] Count of VMs that started creating but encountered an
1011 # error.
1012 &quot;status&quot;: &quot;A String&quot;, # [Output Only] Creation status of BulkInsert operation - information
1013 # if the flow is rolling forward or rolling back.
1014 &quot;targetVmCount&quot;: 42, # [Output Only] Count of VMs originally planned to be created.
1015 },
1016 },
1017 },
1018 &quot;kind&quot;: &quot;compute#operation&quot;, # Output only. [Output Only] Type of the resource. Always `compute#operation` for
1019 # Operation resources.
1020 &quot;name&quot;: &quot;A String&quot;, # [Output Only] Name of the operation.
1021 &quot;operationGroupId&quot;: &quot;A String&quot;, # Output only. [Output Only] An ID that represents a group of operations, such as when a
1022 # group of operations results from a `bulkInsert` API request.
1023 &quot;operationType&quot;: &quot;A String&quot;, # [Output Only] The type of operation, such as `insert`,
1024 # `update`, or `delete`, and so on.
1025 &quot;progress&quot;: 42, # [Output Only] An optional progress indicator that ranges from 0 to 100.
1026 # There is no requirement that this be linear or support any granularity of
1027 # operations. This should not be used to guess when the operation will be
1028 # complete. This number should monotonically increase as the operation
1029 # progresses.
1030 &quot;region&quot;: &quot;A String&quot;, # [Output Only] The URL of the region where the operation resides. Only
1031 # applicable when performing regional operations.
1032 &quot;selfLink&quot;: &quot;A String&quot;, # [Output Only] Server-defined URL for the resource.
1033 &quot;selfLinkWithId&quot;: &quot;A String&quot;, # Output only. [Output Only] Server-defined URL for this resource with the resource id.
1034 &quot;setCommonInstanceMetadataOperationMetadata&quot;: { # Output only. [Output Only] If the operation is for projects.setCommonInstanceMetadata,
1035 # this field will contain information on all underlying zonal actions and
1036 # their state.
1037 &quot;clientOperationId&quot;: &quot;A String&quot;, # [Output Only] The client operation id.
1038 &quot;perLocationOperations&quot;: { # [Output Only] Status information per location (location name is key).
1039 # Example key: zones/us-central1-a
1040 &quot;a_key&quot;: {
1041 &quot;error&quot;: { # The `Status` type defines a logical error model that is suitable for # [Output Only] If state is `ABANDONED` or `FAILED`, this field is
1042 # populated.
1043 # different programming environments, including REST APIs and RPC APIs. It is
1044 # used by [gRPC](https://github.com/grpc). Each `Status` message contains
1045 # three pieces of data: error code, error message, and error details.
1046 #
1047 # You can find out more about this error model and how to work with it in the
1048 # [API Design Guide](https://cloud.google.com/apis/design/errors).
1049 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
1050 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of
1051 # message types for APIs to use.
1052 {
1053 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
1054 },
1055 ],
1056 &quot;message&quot;: &quot;A String&quot;, # A developer-facing error message, which should be in English. Any
1057 # user-facing error message should be localized and sent in the
1058 # google.rpc.Status.details field, or localized by the client.
1059 },
1060 &quot;state&quot;: &quot;A String&quot;, # [Output Only] Status of the action, which can be one of the following:
1061 # `PROPAGATING`, `PROPAGATED`, `ABANDONED`, `FAILED`, or `DONE`.
1062 },
1063 },
1064 },
1065 &quot;startTime&quot;: &quot;A String&quot;, # [Output Only] The time that this operation was started by the server.
1066 # This value is inRFC3339
1067 # text format.
1068 &quot;status&quot;: &quot;A String&quot;, # [Output Only] The status of the operation, which can be one of the
1069 # following:
1070 # `PENDING`, `RUNNING`, or `DONE`.
1071 &quot;statusMessage&quot;: &quot;A String&quot;, # [Output Only] An optional textual description of the current status of the
1072 # operation.
1073 &quot;targetId&quot;: &quot;A String&quot;, # [Output Only] The unique target ID, which identifies a specific incarnation
1074 # of the target resource.
1075 &quot;targetLink&quot;: &quot;A String&quot;, # [Output Only] The URL of the resource that the operation modifies. For
1076 # operations related to creating a snapshot, this points to the disk
1077 # that the snapshot was created from.
1078 &quot;user&quot;: &quot;A String&quot;, # [Output Only] User who requested the operation, for example:
1079 # `[email protected]` or
1080 # `alice_smith_identifier (global/workforcePools/example-com-us-employees)`.
1081 &quot;warnings&quot;: [ # [Output Only] If warning messages are generated during processing of the
1082 # operation, this field will be populated.
1083 {
1084 &quot;code&quot;: &quot;A String&quot;, # [Output Only] A warning code, if applicable. For example, Compute
1085 # Engine returns NO_RESULTS_ON_PAGE if there
1086 # are no results in the response.
1087 &quot;data&quot;: [ # [Output Only] Metadata about this warning in key:
1088 # value format. For example:
1089 #
1090 # &quot;data&quot;: [
1091 # {
1092 # &quot;key&quot;: &quot;scope&quot;,
1093 # &quot;value&quot;: &quot;zones/us-east1-d&quot;
1094 # }
1095 {
1096 &quot;key&quot;: &quot;A String&quot;, # [Output Only] A key that provides more detail on the warning being
1097 # returned. For example, for warnings where there are no results in a list
1098 # request for a particular zone, this key might be scope and
1099 # the key value might be the zone name. Other examples might be a key
1100 # indicating a deprecated resource and a suggested replacement, or a
1101 # warning about invalid network settings (for example, if an instance
1102 # attempts to perform IP forwarding but is not enabled for IP forwarding).
1103 &quot;value&quot;: &quot;A String&quot;, # [Output Only] A warning data value corresponding to the key.
1104 },
1105 ],
1106 &quot;message&quot;: &quot;A String&quot;, # [Output Only] A human-readable description of the warning code.
1107 },
1108 ],
1109 &quot;zone&quot;: &quot;A String&quot;, # [Output Only] The URL of the zone where the operation resides. Only
1110 # applicable when performing per-zone operations.
1111 }</pre>
1112 </div>
1113
1114 <div class="method">
1115 <code class="details" id="list">list(project, region, filter=None, maxResults=None, orderBy=None, pageToken=None, returnPartialSuccess=None, x__xgafv=None)</code>
1116 <pre>Lists all the SSL policies that have been configured for the specified
1117 project and region.
1118
1119 Args:
1120 project: string, Project ID for this request. (required)
1121 region: string, Name of the region scoping this request. (required)
1122 filter: string, A filter expression that filters resources listed in the response. Most
1123 Compute resources support two types of filter expressions:
1124 expressions that support regular expressions and expressions that follow
1125 API improvement proposal AIP-160.
1126 These two types of filter expressions cannot be mixed in one request.
1127
1128 If you want to use AIP-160, your expression must specify the field name, an
1129 operator, and the value that you want to use for filtering. The value
1130 must be a string, a number, or a boolean. The operator
1131 must be either `=`, `!=`, `&gt;`, `&lt;`, `&lt;=`, `&gt;=` or `:`.
1132
1133 For example, if you are filtering Compute Engine instances, you can
1134 exclude instances named `example-instance` by specifying
1135 `name != example-instance`.
1136
1137 The `:*` comparison can be used to test whether a key has been defined.
1138 For example, to find all objects with `owner` label use:
1139 ```
1140 labels.owner:*
1141 ```
1142
1143 You can also filter nested fields. For example, you could specify
1144 `scheduling.automaticRestart = false` to include instances only
1145 if they are not scheduled for automatic restarts. You can use filtering
1146 on nested fields to filter based onresource labels.
1147
1148 To filter on multiple expressions, provide each separate expression within
1149 parentheses. For example:
1150 ```
1151 (scheduling.automaticRestart = true)
1152 (cpuPlatform = &quot;Intel Skylake&quot;)
1153 ```
1154 By default, each expression is an `AND` expression. However, you
1155 can include `AND` and `OR` expressions explicitly.
1156 For example:
1157 ```
1158 (cpuPlatform = &quot;Intel Skylake&quot;) OR
1159 (cpuPlatform = &quot;Intel Broadwell&quot;) AND
1160 (scheduling.automaticRestart = true)
1161 ```
1162
1163 If you want to use a regular expression, use the `eq` (equal) or `ne`
1164 (not equal) operator against a single un-parenthesized expression with or
1165 without quotes or against multiple parenthesized expressions. Examples:
1166
1167 `fieldname eq unquoted literal`
1168 `fieldname eq &#x27;single quoted literal&#x27;`
1169 `fieldname eq &quot;double quoted literal&quot;`
1170 `(fieldname1 eq literal) (fieldname2 ne &quot;literal&quot;)`
1171
1172 The literal value is interpreted as a regular expression using GoogleRE2 library syntax.
1173 The literal value must match the entire field.
1174
1175 For example, to filter for instances that do not end with name &quot;instance&quot;,
1176 you would use `name ne .*instance`.
1177
1178 You cannot combine constraints on multiple fields using regular
1179 expressions.
1180 maxResults: integer, The maximum number of results per page that should be returned.
1181 If the number of available results is larger than `maxResults`,
1182 Compute Engine returns a `nextPageToken` that can be used to get
1183 the next page of results in subsequent list requests. Acceptable values are
1184 `0` to `500`, inclusive. (Default: `500`)
1185 orderBy: string, Sorts list results by a certain order. By default, results
1186 are returned in alphanumerical order based on the resource name.
1187
1188 You can also sort results in descending order based on the creation
1189 timestamp using `orderBy=&quot;creationTimestamp desc&quot;`. This sorts
1190 results based on the `creationTimestamp` field in
1191 reverse chronological order (newest result first). Use this to sort
1192 resources like operations so that the newest operation is returned first.
1193
1194 Currently, only sorting by `name` or
1195 `creationTimestamp desc` is supported.
1196 pageToken: string, Specifies a page token to use. Set `pageToken` to the
1197 `nextPageToken` returned by a previous list request to get
1198 the next page of results.
1199 returnPartialSuccess: boolean, Opt-in for partial success behavior which provides partial results in case
1200 of failure. The default value is false.
1201
1202 For example, when partial success behavior is enabled, aggregatedList for a
1203 single zone scope either returns all resources in the zone or no resources,
1204 with an error code.
1205 x__xgafv: string, V1 error format.
1206 Allowed values
1207 1 - v1 error format
1208 2 - v2 error format
1209
1210 Returns:
1211 An object of the form:
1212
1213 {
1214 &quot;id&quot;: &quot;A String&quot;, # Output only. [Output Only] Unique identifier for the resource; defined by the server.
1215 &quot;items&quot;: [ # Output only. A list of SslPolicy resources.
1216 { # Represents an SSL Policy resource.
1217 #
1218 # Use SSL policies to control SSL features, such as versions and cipher
1219 # suites, that are offered by Application Load Balancers and proxy Network Load
1220 # Balancers. For more information, read
1221 # SSL policies overview.
1222 &quot;creationTimestamp&quot;: &quot;A String&quot;, # Output only. [Output Only] Creation timestamp inRFC3339
1223 # text format.
1224 &quot;customFeatures&quot;: [ # A list of features enabled when the selected profile is CUSTOM. The
1225 # method returns the set of features that can be
1226 # specified in this list. This field must be empty if the profile is notCUSTOM.
1227 &quot;A String&quot;,
1228 ],
1229 &quot;description&quot;: &quot;A String&quot;, # An optional description of this resource. Provide this property when you
1230 # create the resource.
1231 &quot;enabledFeatures&quot;: [ # Output only. [Output Only] The list of features enabled in the SSL policy.
1232 &quot;A String&quot;,
1233 ],
1234 &quot;fingerprint&quot;: &quot;A String&quot;, # Fingerprint of this resource. A hash of the contents stored in this object.
1235 # This field is used in optimistic locking. This field will be ignored when
1236 # inserting a SslPolicy. An up-to-date fingerprint must be
1237 # provided in order to update the SslPolicy, otherwise the
1238 # request will fail with error 412 conditionNotMet.
1239 #
1240 # To see the latest fingerprint, make a get() request to
1241 # retrieve an SslPolicy.
1242 &quot;id&quot;: &quot;A String&quot;, # Output only. [Output Only] The unique identifier for the resource. This identifier is
1243 # defined by the server.
1244 &quot;kind&quot;: &quot;compute#sslPolicy&quot;, # Output only. [Output only] Type of the resource. Alwayscompute#sslPolicyfor SSL policies.
1245 &quot;minTlsVersion&quot;: &quot;A String&quot;, # The minimum version of SSL protocol that can be used by the clients to
1246 # establish a connection with the load balancer. This can be one ofTLS_1_0, TLS_1_1, TLS_1_2,TLS_1_3. When set to TLS_1_3, the profile field
1247 # must be set to RESTRICTED.
1248 &quot;name&quot;: &quot;A String&quot;, # Name of the resource. The name must be 1-63 characters long, and comply
1249 # with RFC1035. Specifically, the name must be 1-63 characters
1250 # long and match the regular expression
1251 # `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character
1252 # must be a lowercase letter, and all following characters must be a dash,
1253 # lowercase letter, or digit, except the last character, which cannot be a
1254 # dash.
1255 &quot;postQuantumKeyExchange&quot;: &quot;A String&quot;, # One of DEFAULT, ENABLED, orDEFERRED. Controls whether the load balancer negotiates
1256 # X25519MLKEM768 key exchange when clients advertise support for it. When set
1257 # to DEFAULT, or if no SSL Policy is attached to the target
1258 # proxy, the load balancer disallows X25519MLKEM768 key exchange before
1259 # October 2026, and allows it afterward. When set to ENABLED,
1260 # the load balancer allows X25519MLKEM768 key exchange. When set toDEFERRED, the load balancer disallows X25519MLKEM768 key
1261 # exchange until October 2027, and allows it afterward.
1262 &quot;profile&quot;: &quot;A String&quot;, # Profile specifies the set of SSL features that can be used by the load
1263 # balancer when negotiating SSL with clients. This can be one ofCOMPATIBLE, MODERN, RESTRICTED,FIPS_202205, or CUSTOM. If usingCUSTOM, the set of SSL features to enable must be specified in
1264 # the customFeatures field. If using FIPS_202205,
1265 # the min_tls_version field must be set to TLS_1_2.
1266 &quot;region&quot;: &quot;A String&quot;, # Output only. [Output Only] URL of the region where the regional SSL policy
1267 # resides. This field is not applicable to global SSL policies.
1268 &quot;selfLink&quot;: &quot;A String&quot;, # Output only. [Output Only] Server-defined URL for the resource.
1269 &quot;selfLinkWithId&quot;: &quot;A String&quot;, # Output only. [Output Only] Server-defined URL for this resource with the resource id.
1270 &quot;tlsSettings&quot;: { # The TLS settings for the server. # Security settings for the proxy. This field is only applicable to a
1271 # global backend service with the loadBalancingScheme set toINTERNAL_SELF_MANAGED.
1272 &quot;proxyTlsContext&quot;: { # [Deprecated] The TLS settings for the client or server. # Configures the mechanism to obtain security certificates and identity
1273 # information.
1274 # The TLS settings for the client or server.
1275 &quot;certificateContext&quot;: { # [Deprecated] Defines the mechanism to obtain the client or server # Defines the mechanism to obtain the client or server certificate.
1276 # certificate.
1277 # Defines the mechanism to obtain the client or server certificate.
1278 &quot;certificatePaths&quot;: { # [Deprecated] The paths to the mounted TLS Certificates and private key. # Specifies the certificate and private key paths. This field is
1279 # applicable only if tlsCertificateSource is set to USE_PATH.
1280 # The paths to the mounted TLS Certificates and private key.
1281 &quot;certificatePath&quot;: &quot;A String&quot;, # The path to the file holding the client or server TLS certificate to use.
1282 &quot;privateKeyPath&quot;: &quot;A String&quot;, # The path to the file holding the client or server private key.
1283 },
1284 &quot;certificateSource&quot;: &quot;A String&quot;, # Defines how TLS certificates are obtained.
1285 &quot;sdsConfig&quot;: { # [Deprecated] The configuration to access the SDS server. # Specifies the config to retrieve certificates through SDS. This field
1286 # is applicable only if tlsCertificateSource is set to USE_SDS.
1287 # The configuration to access the SDS server.
1288 &quot;grpcServiceConfig&quot;: { # [Deprecated] gRPC config to access the SDS server. # The configuration to access the SDS server over GRPC.
1289 # gRPC config to access the SDS server.
1290 &quot;callCredentials&quot;: { # [Deprecated] gRPC call credentials to access the SDS server. # The call credentials to access the SDS server.
1291 # gRPC call credentials to access the SDS server.
1292 &quot;callCredentialType&quot;: &quot;A String&quot;, # The type of call credentials to use for GRPC requests to the SDS server.
1293 # This field can be set to one of the following:
1294 #
1295 # - GCE_VM: The local GCE VM service account credentials are used to access
1296 # the SDS server.
1297 # - FROM_PLUGIN: Custom authenticator credentials are used to access the
1298 # SDS server.
1299 &quot;fromPlugin&quot;: { # [Deprecated] Custom authenticator credentials. # Custom authenticator credentials. Valid if callCredentialType is
1300 # FROM_PLUGIN.
1301 # Custom authenticator credentials.
1302 &quot;name&quot;: &quot;A String&quot;, # Plugin name.
1303 &quot;structConfig&quot;: &quot;A String&quot;, # A text proto that conforms to a Struct type definition interpreted by the
1304 # plugin.
1305 },
1306 },
1307 &quot;channelCredentials&quot;: { # [Deprecated] gRPC channel credentials to access the SDS server. # The channel credentials to access the SDS server.
1308 # gRPC channel credentials to access the SDS server.
1309 &quot;certificates&quot;: { # [Deprecated] The paths to the mounted TLS Certificates and private key. # The call credentials to access the SDS server.
1310 # The paths to the mounted TLS Certificates and private key.
1311 &quot;certificatePath&quot;: &quot;A String&quot;, # The path to the file holding the client or server TLS certificate to use.
1312 &quot;privateKeyPath&quot;: &quot;A String&quot;, # The path to the file holding the client or server private key.
1313 },
1314 &quot;channelCredentialType&quot;: &quot;A String&quot;, # The channel credentials to access the SDS server. This field can be set
1315 # to one of the following:
1316 # CERTIFICATES: Use TLS certificates to access the SDS server.
1317 # GCE_VM: Use local GCE VM credentials to access the SDS server.
1318 },
1319 &quot;targetUri&quot;: &quot;A String&quot;, # The target URI of the SDS server.
1320 },
1321 },
1322 },
1323 &quot;validationContext&quot;: { # [Deprecated] Defines the mechanism to obtain the Certificate Authority # Defines the mechanism to obtain the Certificate Authority certificate to
1324 # validate the client/server certificate. If omitted, the proxy will not
1325 # validate the server or client certificate.
1326 # certificate to validate the client/server certificate.
1327 # validate the client/server certificate.
1328 &quot;certificatePath&quot;: &quot;A String&quot;, # The path to the file holding the CA certificate to validate the
1329 # client or server certificate.
1330 &quot;sdsConfig&quot;: { # [Deprecated] The configuration to access the SDS server. # Specifies the config to retrieve certificates through SDS. This field
1331 # is applicable only if tlsCertificateSource is set to USE_SDS.
1332 # The configuration to access the SDS server.
1333 &quot;grpcServiceConfig&quot;: { # [Deprecated] gRPC config to access the SDS server. # The configuration to access the SDS server over GRPC.
1334 # gRPC config to access the SDS server.
1335 &quot;callCredentials&quot;: { # [Deprecated] gRPC call credentials to access the SDS server. # The call credentials to access the SDS server.
1336 # gRPC call credentials to access the SDS server.
1337 &quot;callCredentialType&quot;: &quot;A String&quot;, # The type of call credentials to use for GRPC requests to the SDS server.
1338 # This field can be set to one of the following:
1339 #
1340 # - GCE_VM: The local GCE VM service account credentials are used to access
1341 # the SDS server.
1342 # - FROM_PLUGIN: Custom authenticator credentials are used to access the
1343 # SDS server.
1344 &quot;fromPlugin&quot;: { # [Deprecated] Custom authenticator credentials. # Custom authenticator credentials. Valid if callCredentialType is
1345 # FROM_PLUGIN.
1346 # Custom authenticator credentials.
1347 &quot;name&quot;: &quot;A String&quot;, # Plugin name.
1348 &quot;structConfig&quot;: &quot;A String&quot;, # A text proto that conforms to a Struct type definition interpreted by the
1349 # plugin.
1350 },
1351 },
1352 &quot;channelCredentials&quot;: { # [Deprecated] gRPC channel credentials to access the SDS server. # The channel credentials to access the SDS server.
1353 # gRPC channel credentials to access the SDS server.
1354 &quot;certificates&quot;: { # [Deprecated] The paths to the mounted TLS Certificates and private key. # The call credentials to access the SDS server.
1355 # The paths to the mounted TLS Certificates and private key.
1356 &quot;certificatePath&quot;: &quot;A String&quot;, # The path to the file holding the client or server TLS certificate to use.
1357 &quot;privateKeyPath&quot;: &quot;A String&quot;, # The path to the file holding the client or server private key.
1358 },
1359 &quot;channelCredentialType&quot;: &quot;A String&quot;, # The channel credentials to access the SDS server. This field can be set
1360 # to one of the following:
1361 # CERTIFICATES: Use TLS certificates to access the SDS server.
1362 # GCE_VM: Use local GCE VM credentials to access the SDS server.
1363 },
1364 &quot;targetUri&quot;: &quot;A String&quot;, # The target URI of the SDS server.
1365 },
1366 },
1367 &quot;validationSource&quot;: &quot;A String&quot;, # Defines how TLS certificates are obtained.
1368 },
1369 },
1370 &quot;subjectAltNames&quot;: [ # A list of alternate names to verify the subject identity in the certificate
1371 # presented by the client.
1372 &quot;A String&quot;,
1373 ],
1374 &quot;tlsMode&quot;: &quot;A String&quot;, # Indicates whether connections should be secured using TLS. The value of
1375 # this field determines how TLS is enforced. This field can be set to one
1376 # of the following:
1377 #
1378 # - SIMPLE Secure connections with standard TLS semantics.
1379 # - MUTUAL Secure connections to the backends using mutual
1380 # TLS by presenting client certificates for authentication.
1381 },
1382 &quot;warnings&quot;: [ # Output only. [Output Only] If potential misconfigurations are detected for this
1383 # SSL policy, this field will be populated with warning messages.
1384 {
1385 &quot;code&quot;: &quot;A String&quot;, # [Output Only] A warning code, if applicable. For example, Compute
1386 # Engine returns NO_RESULTS_ON_PAGE if there
1387 # are no results in the response.
1388 &quot;data&quot;: [ # [Output Only] Metadata about this warning in key:
1389 # value format. For example:
1390 #
1391 # &quot;data&quot;: [
1392 # {
1393 # &quot;key&quot;: &quot;scope&quot;,
1394 # &quot;value&quot;: &quot;zones/us-east1-d&quot;
1395 # }
1396 {
1397 &quot;key&quot;: &quot;A String&quot;, # [Output Only] A key that provides more detail on the warning being
1398 # returned. For example, for warnings where there are no results in a list
1399 # request for a particular zone, this key might be scope and
1400 # the key value might be the zone name. Other examples might be a key
1401 # indicating a deprecated resource and a suggested replacement, or a
1402 # warning about invalid network settings (for example, if an instance
1403 # attempts to perform IP forwarding but is not enabled for IP forwarding).
1404 &quot;value&quot;: &quot;A String&quot;, # [Output Only] A warning data value corresponding to the key.
1405 },
1406 ],
1407 &quot;message&quot;: &quot;A String&quot;, # [Output Only] A human-readable description of the warning code.
1408 },
1409 ],
1410 },
1411 ],
1412 &quot;kind&quot;: &quot;compute#sslPoliciesList&quot;, # Output only. [Output Only] Type of the resource. Alwayscompute#sslPoliciesList for lists of sslPolicies.
1413 &quot;nextPageToken&quot;: &quot;A String&quot;, # Output only. [Output Only] This token allows you to get the next page of results for
1414 # list requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for
1415 # the query parameter pageToken in the next list request.
1416 # Subsequent list requests will have their own nextPageToken to
1417 # continue paging through the results.
1418 &quot;selfLink&quot;: &quot;A String&quot;, # Output only. [Output Only] Server-defined URL for this resource.
1419 &quot;warning&quot;: { # [Output Only] Informational warning message.
1420 &quot;code&quot;: &quot;A String&quot;, # [Output Only] A warning code, if applicable. For example, Compute
1421 # Engine returns NO_RESULTS_ON_PAGE if there
1422 # are no results in the response.
1423 &quot;data&quot;: [ # [Output Only] Metadata about this warning in key:
1424 # value format. For example:
1425 #
1426 # &quot;data&quot;: [
1427 # {
1428 # &quot;key&quot;: &quot;scope&quot;,
1429 # &quot;value&quot;: &quot;zones/us-east1-d&quot;
1430 # }
1431 {
1432 &quot;key&quot;: &quot;A String&quot;, # [Output Only] A key that provides more detail on the warning being
1433 # returned. For example, for warnings where there are no results in a list
1434 # request for a particular zone, this key might be scope and
1435 # the key value might be the zone name. Other examples might be a key
1436 # indicating a deprecated resource and a suggested replacement, or a
1437 # warning about invalid network settings (for example, if an instance
1438 # attempts to perform IP forwarding but is not enabled for IP forwarding).
1439 &quot;value&quot;: &quot;A String&quot;, # [Output Only] A warning data value corresponding to the key.
1440 },
1441 ],
1442 &quot;message&quot;: &quot;A String&quot;, # [Output Only] A human-readable description of the warning code.
1443 },
1444 }</pre>
1445 </div>
1446
1447 <div class="method">
1448 <code class="details" id="listAvailableFeatures">listAvailableFeatures(project, region, filter=None, maxResults=None, orderBy=None, pageToken=None, returnPartialSuccess=None, x__xgafv=None)</code>
1449 <pre>Lists all features that can be specified in the SSL policy when using
1450 custom profile.
1451
1452 Args:
1453 project: string, Project ID for this request. (required)
1454 region: string, Name of the region scoping this request. (required)
1455 filter: string, A filter expression that filters resources listed in the response. Most
1456 Compute resources support two types of filter expressions:
1457 expressions that support regular expressions and expressions that follow
1458 API improvement proposal AIP-160.
1459 These two types of filter expressions cannot be mixed in one request.
1460
1461 If you want to use AIP-160, your expression must specify the field name, an
1462 operator, and the value that you want to use for filtering. The value
1463 must be a string, a number, or a boolean. The operator
1464 must be either `=`, `!=`, `&gt;`, `&lt;`, `&lt;=`, `&gt;=` or `:`.
1465
1466 For example, if you are filtering Compute Engine instances, you can
1467 exclude instances named `example-instance` by specifying
1468 `name != example-instance`.
1469
1470 The `:*` comparison can be used to test whether a key has been defined.
1471 For example, to find all objects with `owner` label use:
1472 ```
1473 labels.owner:*
1474 ```
1475
1476 You can also filter nested fields. For example, you could specify
1477 `scheduling.automaticRestart = false` to include instances only
1478 if they are not scheduled for automatic restarts. You can use filtering
1479 on nested fields to filter based onresource labels.
1480
1481 To filter on multiple expressions, provide each separate expression within
1482 parentheses. For example:
1483 ```
1484 (scheduling.automaticRestart = true)
1485 (cpuPlatform = &quot;Intel Skylake&quot;)
1486 ```
1487 By default, each expression is an `AND` expression. However, you
1488 can include `AND` and `OR` expressions explicitly.
1489 For example:
1490 ```
1491 (cpuPlatform = &quot;Intel Skylake&quot;) OR
1492 (cpuPlatform = &quot;Intel Broadwell&quot;) AND
1493 (scheduling.automaticRestart = true)
1494 ```
1495
1496 If you want to use a regular expression, use the `eq` (equal) or `ne`
1497 (not equal) operator against a single un-parenthesized expression with or
1498 without quotes or against multiple parenthesized expressions. Examples:
1499
1500 `fieldname eq unquoted literal`
1501 `fieldname eq &#x27;single quoted literal&#x27;`
1502 `fieldname eq &quot;double quoted literal&quot;`
1503 `(fieldname1 eq literal) (fieldname2 ne &quot;literal&quot;)`
1504
1505 The literal value is interpreted as a regular expression using GoogleRE2 library syntax.
1506 The literal value must match the entire field.
1507
1508 For example, to filter for instances that do not end with name &quot;instance&quot;,
1509 you would use `name ne .*instance`.
1510
1511 You cannot combine constraints on multiple fields using regular
1512 expressions.
1513 maxResults: integer, The maximum number of results per page that should be returned.
1514 If the number of available results is larger than `maxResults`,
1515 Compute Engine returns a `nextPageToken` that can be used to get
1516 the next page of results in subsequent list requests. Acceptable values are
1517 `0` to `500`, inclusive. (Default: `500`)
1518 orderBy: string, Sorts list results by a certain order. By default, results
1519 are returned in alphanumerical order based on the resource name.
1520
1521 You can also sort results in descending order based on the creation
1522 timestamp using `orderBy=&quot;creationTimestamp desc&quot;`. This sorts
1523 results based on the `creationTimestamp` field in
1524 reverse chronological order (newest result first). Use this to sort
1525 resources like operations so that the newest operation is returned first.
1526
1527 Currently, only sorting by `name` or
1528 `creationTimestamp desc` is supported.
1529 pageToken: string, Specifies a page token to use. Set `pageToken` to the
1530 `nextPageToken` returned by a previous list request to get
1531 the next page of results.
1532 returnPartialSuccess: boolean, Opt-in for partial success behavior which provides partial results in case
1533 of failure. The default value is false.
1534
1535 For example, when partial success behavior is enabled, aggregatedList for a
1536 single zone scope either returns all resources in the zone or no resources,
1537 with an error code.
1538 x__xgafv: string, V1 error format.
1539 Allowed values
1540 1 - v1 error format
1541 2 - v2 error format
1542
1543 Returns:
1544 An object of the form:
1545
1546 {
1547 &quot;features&quot;: [
1548 &quot;A String&quot;,
1549 ],
1550 }</pre>
1551 </div>
1552
1553 <div class="method">
1554 <code class="details" id="list_next">list_next()</code>
1555 <pre>Retrieves the next page of results.
1556
1557 Args:
1558 previous_request: The request for the previous page. (required)
1559 previous_response: The response from the request for the previous page. (required)
1560
1561 Returns:
1562 A request object that you can call &#x27;execute()&#x27; on to request the next
1563 page. Returns None if there are no more items in the collection.
1564 </pre>
1565 </div>
1566
1567 <div class="method">
1568 <code class="details" id="patch">patch(project, region, sslPolicy, body=None, requestId=None, x__xgafv=None)</code>
1569 <pre>Patches the specified SSL policy with the data included in the request.
1570
1571 Args:
1572 project: string, Project ID for this request. (required)
1573 region: string, Name of the region scoping this request. (required)
1574 sslPolicy: string, Name of the SSL policy to update. The name must be 1-63 characters long,
1575 and comply with RFC1035. (required)
1576 body: object, The request body.
1577 The object takes the form of:
1578
1579 { # Represents an SSL Policy resource.
1580 #
1581 # Use SSL policies to control SSL features, such as versions and cipher
1582 # suites, that are offered by Application Load Balancers and proxy Network Load
1583 # Balancers. For more information, read
1584 # SSL policies overview.
1585 &quot;creationTimestamp&quot;: &quot;A String&quot;, # Output only. [Output Only] Creation timestamp inRFC3339
1586 # text format.
1587 &quot;customFeatures&quot;: [ # A list of features enabled when the selected profile is CUSTOM. The
1588 # method returns the set of features that can be
1589 # specified in this list. This field must be empty if the profile is notCUSTOM.
1590 &quot;A String&quot;,
1591 ],
1592 &quot;description&quot;: &quot;A String&quot;, # An optional description of this resource. Provide this property when you
1593 # create the resource.
1594 &quot;enabledFeatures&quot;: [ # Output only. [Output Only] The list of features enabled in the SSL policy.
1595 &quot;A String&quot;,
1596 ],
1597 &quot;fingerprint&quot;: &quot;A String&quot;, # Fingerprint of this resource. A hash of the contents stored in this object.
1598 # This field is used in optimistic locking. This field will be ignored when
1599 # inserting a SslPolicy. An up-to-date fingerprint must be
1600 # provided in order to update the SslPolicy, otherwise the
1601 # request will fail with error 412 conditionNotMet.
1602 #
1603 # To see the latest fingerprint, make a get() request to
1604 # retrieve an SslPolicy.
1605 &quot;id&quot;: &quot;A String&quot;, # Output only. [Output Only] The unique identifier for the resource. This identifier is
1606 # defined by the server.
1607 &quot;kind&quot;: &quot;compute#sslPolicy&quot;, # Output only. [Output only] Type of the resource. Alwayscompute#sslPolicyfor SSL policies.
1608 &quot;minTlsVersion&quot;: &quot;A String&quot;, # The minimum version of SSL protocol that can be used by the clients to
1609 # establish a connection with the load balancer. This can be one ofTLS_1_0, TLS_1_1, TLS_1_2,TLS_1_3. When set to TLS_1_3, the profile field
1610 # must be set to RESTRICTED.
1611 &quot;name&quot;: &quot;A String&quot;, # Name of the resource. The name must be 1-63 characters long, and comply
1612 # with RFC1035. Specifically, the name must be 1-63 characters
1613 # long and match the regular expression
1614 # `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character
1615 # must be a lowercase letter, and all following characters must be a dash,
1616 # lowercase letter, or digit, except the last character, which cannot be a
1617 # dash.
1618 &quot;postQuantumKeyExchange&quot;: &quot;A String&quot;, # One of DEFAULT, ENABLED, orDEFERRED. Controls whether the load balancer negotiates
1619 # X25519MLKEM768 key exchange when clients advertise support for it. When set
1620 # to DEFAULT, or if no SSL Policy is attached to the target
1621 # proxy, the load balancer disallows X25519MLKEM768 key exchange before
1622 # October 2026, and allows it afterward. When set to ENABLED,
1623 # the load balancer allows X25519MLKEM768 key exchange. When set toDEFERRED, the load balancer disallows X25519MLKEM768 key
1624 # exchange until October 2027, and allows it afterward.
1625 &quot;profile&quot;: &quot;A String&quot;, # Profile specifies the set of SSL features that can be used by the load
1626 # balancer when negotiating SSL with clients. This can be one ofCOMPATIBLE, MODERN, RESTRICTED,FIPS_202205, or CUSTOM. If usingCUSTOM, the set of SSL features to enable must be specified in
1627 # the customFeatures field. If using FIPS_202205,
1628 # the min_tls_version field must be set to TLS_1_2.
1629 &quot;region&quot;: &quot;A String&quot;, # Output only. [Output Only] URL of the region where the regional SSL policy
1630 # resides. This field is not applicable to global SSL policies.
1631 &quot;selfLink&quot;: &quot;A String&quot;, # Output only. [Output Only] Server-defined URL for the resource.
1632 &quot;selfLinkWithId&quot;: &quot;A String&quot;, # Output only. [Output Only] Server-defined URL for this resource with the resource id.
1633 &quot;tlsSettings&quot;: { # The TLS settings for the server. # Security settings for the proxy. This field is only applicable to a
1634 # global backend service with the loadBalancingScheme set toINTERNAL_SELF_MANAGED.
1635 &quot;proxyTlsContext&quot;: { # [Deprecated] The TLS settings for the client or server. # Configures the mechanism to obtain security certificates and identity
1636 # information.
1637 # The TLS settings for the client or server.
1638 &quot;certificateContext&quot;: { # [Deprecated] Defines the mechanism to obtain the client or server # Defines the mechanism to obtain the client or server certificate.
1639 # certificate.
1640 # Defines the mechanism to obtain the client or server certificate.
1641 &quot;certificatePaths&quot;: { # [Deprecated] The paths to the mounted TLS Certificates and private key. # Specifies the certificate and private key paths. This field is
1642 # applicable only if tlsCertificateSource is set to USE_PATH.
1643 # The paths to the mounted TLS Certificates and private key.
1644 &quot;certificatePath&quot;: &quot;A String&quot;, # The path to the file holding the client or server TLS certificate to use.
1645 &quot;privateKeyPath&quot;: &quot;A String&quot;, # The path to the file holding the client or server private key.
1646 },
1647 &quot;certificateSource&quot;: &quot;A String&quot;, # Defines how TLS certificates are obtained.
1648 &quot;sdsConfig&quot;: { # [Deprecated] The configuration to access the SDS server. # Specifies the config to retrieve certificates through SDS. This field
1649 # is applicable only if tlsCertificateSource is set to USE_SDS.
1650 # The configuration to access the SDS server.
1651 &quot;grpcServiceConfig&quot;: { # [Deprecated] gRPC config to access the SDS server. # The configuration to access the SDS server over GRPC.
1652 # gRPC config to access the SDS server.
1653 &quot;callCredentials&quot;: { # [Deprecated] gRPC call credentials to access the SDS server. # The call credentials to access the SDS server.
1654 # gRPC call credentials to access the SDS server.
1655 &quot;callCredentialType&quot;: &quot;A String&quot;, # The type of call credentials to use for GRPC requests to the SDS server.
1656 # This field can be set to one of the following:
1657 #
1658 # - GCE_VM: The local GCE VM service account credentials are used to access
1659 # the SDS server.
1660 # - FROM_PLUGIN: Custom authenticator credentials are used to access the
1661 # SDS server.
1662 &quot;fromPlugin&quot;: { # [Deprecated] Custom authenticator credentials. # Custom authenticator credentials. Valid if callCredentialType is
1663 # FROM_PLUGIN.
1664 # Custom authenticator credentials.
1665 &quot;name&quot;: &quot;A String&quot;, # Plugin name.
1666 &quot;structConfig&quot;: &quot;A String&quot;, # A text proto that conforms to a Struct type definition interpreted by the
1667 # plugin.
1668 },
1669 },
1670 &quot;channelCredentials&quot;: { # [Deprecated] gRPC channel credentials to access the SDS server. # The channel credentials to access the SDS server.
1671 # gRPC channel credentials to access the SDS server.
1672 &quot;certificates&quot;: { # [Deprecated] The paths to the mounted TLS Certificates and private key. # The call credentials to access the SDS server.
1673 # The paths to the mounted TLS Certificates and private key.
1674 &quot;certificatePath&quot;: &quot;A String&quot;, # The path to the file holding the client or server TLS certificate to use.
1675 &quot;privateKeyPath&quot;: &quot;A String&quot;, # The path to the file holding the client or server private key.
1676 },
1677 &quot;channelCredentialType&quot;: &quot;A String&quot;, # The channel credentials to access the SDS server. This field can be set
1678 # to one of the following:
1679 # CERTIFICATES: Use TLS certificates to access the SDS server.
1680 # GCE_VM: Use local GCE VM credentials to access the SDS server.
1681 },
1682 &quot;targetUri&quot;: &quot;A String&quot;, # The target URI of the SDS server.
1683 },
1684 },
1685 },
1686 &quot;validationContext&quot;: { # [Deprecated] Defines the mechanism to obtain the Certificate Authority # Defines the mechanism to obtain the Certificate Authority certificate to
1687 # validate the client/server certificate. If omitted, the proxy will not
1688 # validate the server or client certificate.
1689 # certificate to validate the client/server certificate.
1690 # validate the client/server certificate.
1691 &quot;certificatePath&quot;: &quot;A String&quot;, # The path to the file holding the CA certificate to validate the
1692 # client or server certificate.
1693 &quot;sdsConfig&quot;: { # [Deprecated] The configuration to access the SDS server. # Specifies the config to retrieve certificates through SDS. This field
1694 # is applicable only if tlsCertificateSource is set to USE_SDS.
1695 # The configuration to access the SDS server.
1696 &quot;grpcServiceConfig&quot;: { # [Deprecated] gRPC config to access the SDS server. # The configuration to access the SDS server over GRPC.
1697 # gRPC config to access the SDS server.
1698 &quot;callCredentials&quot;: { # [Deprecated] gRPC call credentials to access the SDS server. # The call credentials to access the SDS server.
1699 # gRPC call credentials to access the SDS server.
1700 &quot;callCredentialType&quot;: &quot;A String&quot;, # The type of call credentials to use for GRPC requests to the SDS server.
1701 # This field can be set to one of the following:
1702 #
1703 # - GCE_VM: The local GCE VM service account credentials are used to access
1704 # the SDS server.
1705 # - FROM_PLUGIN: Custom authenticator credentials are used to access the
1706 # SDS server.
1707 &quot;fromPlugin&quot;: { # [Deprecated] Custom authenticator credentials. # Custom authenticator credentials. Valid if callCredentialType is
1708 # FROM_PLUGIN.
1709 # Custom authenticator credentials.
1710 &quot;name&quot;: &quot;A String&quot;, # Plugin name.
1711 &quot;structConfig&quot;: &quot;A String&quot;, # A text proto that conforms to a Struct type definition interpreted by the
1712 # plugin.
1713 },
1714 },
1715 &quot;channelCredentials&quot;: { # [Deprecated] gRPC channel credentials to access the SDS server. # The channel credentials to access the SDS server.
1716 # gRPC channel credentials to access the SDS server.
1717 &quot;certificates&quot;: { # [Deprecated] The paths to the mounted TLS Certificates and private key. # The call credentials to access the SDS server.
1718 # The paths to the mounted TLS Certificates and private key.
1719 &quot;certificatePath&quot;: &quot;A String&quot;, # The path to the file holding the client or server TLS certificate to use.
1720 &quot;privateKeyPath&quot;: &quot;A String&quot;, # The path to the file holding the client or server private key.
1721 },
1722 &quot;channelCredentialType&quot;: &quot;A String&quot;, # The channel credentials to access the SDS server. This field can be set
1723 # to one of the following:
1724 # CERTIFICATES: Use TLS certificates to access the SDS server.
1725 # GCE_VM: Use local GCE VM credentials to access the SDS server.
1726 },
1727 &quot;targetUri&quot;: &quot;A String&quot;, # The target URI of the SDS server.
1728 },
1729 },
1730 &quot;validationSource&quot;: &quot;A String&quot;, # Defines how TLS certificates are obtained.
1731 },
1732 },
1733 &quot;subjectAltNames&quot;: [ # A list of alternate names to verify the subject identity in the certificate
1734 # presented by the client.
1735 &quot;A String&quot;,
1736 ],
1737 &quot;tlsMode&quot;: &quot;A String&quot;, # Indicates whether connections should be secured using TLS. The value of
1738 # this field determines how TLS is enforced. This field can be set to one
1739 # of the following:
1740 #
1741 # - SIMPLE Secure connections with standard TLS semantics.
1742 # - MUTUAL Secure connections to the backends using mutual
1743 # TLS by presenting client certificates for authentication.
1744 },
1745 &quot;warnings&quot;: [ # Output only. [Output Only] If potential misconfigurations are detected for this
1746 # SSL policy, this field will be populated with warning messages.
1747 {
1748 &quot;code&quot;: &quot;A String&quot;, # [Output Only] A warning code, if applicable. For example, Compute
1749 # Engine returns NO_RESULTS_ON_PAGE if there
1750 # are no results in the response.
1751 &quot;data&quot;: [ # [Output Only] Metadata about this warning in key:
1752 # value format. For example:
1753 #
1754 # &quot;data&quot;: [
1755 # {
1756 # &quot;key&quot;: &quot;scope&quot;,
1757 # &quot;value&quot;: &quot;zones/us-east1-d&quot;
1758 # }
1759 {
1760 &quot;key&quot;: &quot;A String&quot;, # [Output Only] A key that provides more detail on the warning being
1761 # returned. For example, for warnings where there are no results in a list
1762 # request for a particular zone, this key might be scope and
1763 # the key value might be the zone name. Other examples might be a key
1764 # indicating a deprecated resource and a suggested replacement, or a
1765 # warning about invalid network settings (for example, if an instance
1766 # attempts to perform IP forwarding but is not enabled for IP forwarding).
1767 &quot;value&quot;: &quot;A String&quot;, # [Output Only] A warning data value corresponding to the key.
1768 },
1769 ],
1770 &quot;message&quot;: &quot;A String&quot;, # [Output Only] A human-readable description of the warning code.
1771 },
1772 ],
1773 }
1774
1775 requestId: string, An optional request ID to identify requests. Specify a unique request ID so
1776 that if you must retry your request, the server will know to ignore the
1777 request if it has already been completed.
1778
1779 For example, consider a situation where you make an initial request and
1780 the request times out. If you make the request again with the same
1781 request ID, the server can check if original operation with the same
1782 request ID was received, and if so, will ignore the second request. This
1783 prevents clients from accidentally creating duplicate commitments.
1784
1785 The request ID must be
1786 a valid UUID with the exception that zero UUID is not supported
1787 (00000000-0000-0000-0000-000000000000).
1788 x__xgafv: string, V1 error format.
1789 Allowed values
1790 1 - v1 error format
1791 2 - v2 error format
1792
1793 Returns:
1794 An object of the form:
1795
1796 { # Represents an Operation resource.
1797 #
1798 # Google Compute Engine has three Operation resources:
1799 #
1800 # * [Global](/compute/docs/reference/rest/alpha/globalOperations)
1801 # * [Regional](/compute/docs/reference/rest/alpha/regionOperations)
1802 # * [Zonal](/compute/docs/reference/rest/alpha/zoneOperations)
1803 #
1804 # You can use an operation resource to manage asynchronous API requests.
1805 # For more information, readHandling
1806 # API responses.
1807 #
1808 # Operations can be global, regional or zonal.
1809 #
1810 # - For global operations, use the `globalOperations`
1811 # resource.
1812 # - For regional operations, use the
1813 # `regionOperations` resource.
1814 # - For zonal operations, use
1815 # the `zoneOperations` resource.
1816 #
1817 #
1818 #
1819 # For more information, read
1820 # Global, Regional, and Zonal Resources.
1821 #
1822 # Note that completed Operation resources have a limited
1823 # retention period.
1824 &quot;clientOperationId&quot;: &quot;A String&quot;, # [Output Only] The value of `requestId` if you provided it in the request.
1825 # Not present otherwise.
1826 &quot;creationTimestamp&quot;: &quot;A String&quot;, # [Deprecated] This field is deprecated.
1827 &quot;description&quot;: &quot;A String&quot;, # [Output Only] A textual description of the operation, which is
1828 # set when the operation is created.
1829 &quot;endTime&quot;: &quot;A String&quot;, # [Output Only] The time that this operation was completed. This value is inRFC3339
1830 # text format.
1831 &quot;error&quot;: { # [Output Only] If errors are generated during processing of the operation,
1832 # this field will be populated.
1833 &quot;errors&quot;: [ # [Output Only] The array of errors encountered while processing this
1834 # operation.
1835 {
1836 &quot;code&quot;: &quot;A String&quot;, # [Output Only] The error type identifier for this error.
1837 &quot;errorDetails&quot;: [ # [Output Only] An optional list of messages that contain the error
1838 # details. There is a set of defined message types to use for providing
1839 # details.The syntax depends on the error code. For example,
1840 # QuotaExceededInfo will have details when the error code is
1841 # QUOTA_EXCEEDED.
1842 {
1843 &quot;errorInfo&quot;: { # Describes the cause of the error with structured details.
1844 #
1845 # Example of an error when contacting the &quot;pubsub.googleapis.com&quot; API when it
1846 # is not enabled:
1847 #
1848 # { &quot;reason&quot;: &quot;API_DISABLED&quot;
1849 # &quot;domain&quot;: &quot;googleapis.com&quot;
1850 # &quot;metadata&quot;: {
1851 # &quot;resource&quot;: &quot;projects/123&quot;,
1852 # &quot;service&quot;: &quot;pubsub.googleapis.com&quot;
1853 # }
1854 # }
1855 #
1856 # This response indicates that the pubsub.googleapis.com API is not enabled.
1857 #
1858 # Example of an error that is returned when attempting to create a Spanner
1859 # instance in a region that is out of stock:
1860 #
1861 # { &quot;reason&quot;: &quot;STOCKOUT&quot;
1862 # &quot;domain&quot;: &quot;spanner.googleapis.com&quot;,
1863 # &quot;metadata&quot;: {
1864 # &quot;availableRegions&quot;: &quot;us-central1,us-east2&quot;
1865 # }
1866 # }
1867 &quot;domain&quot;: &quot;A String&quot;, # The logical grouping to which the &quot;reason&quot; belongs. The error domain
1868 # is typically the registered service name of the tool or product that
1869 # generates the error. Example: &quot;pubsub.googleapis.com&quot;. If the error is
1870 # generated by some common infrastructure, the error domain must be a
1871 # globally unique value that identifies the infrastructure. For Google API
1872 # infrastructure, the error domain is &quot;googleapis.com&quot;.
1873 &quot;metadatas&quot;: { # Additional structured details about this error.
1874 #
1875 # Keys must match a regular expression of `a-z+` but should
1876 # ideally be lowerCamelCase. Also, they must be limited to 64 characters in
1877 # length. When identifying the current value of an exceeded limit, the units
1878 # should be contained in the key, not the value. For example, rather than
1879 # `{&quot;instanceLimit&quot;: &quot;100/request&quot;}`, should be returned as,
1880 # `{&quot;instanceLimitPerRequest&quot;: &quot;100&quot;}`, if the client exceeds the number of
1881 # instances that can be created in a single (batch) request.
1882 &quot;a_key&quot;: &quot;A String&quot;,
1883 },
1884 &quot;reason&quot;: &quot;A String&quot;, # The reason of the error. This is a constant value that identifies the
1885 # proximate cause of the error. Error reasons are unique within a particular
1886 # domain of errors. This should be at most 63 characters and match a
1887 # regular expression of `A-Z+[A-Z0-9]`, which represents
1888 # UPPER_SNAKE_CASE.
1889 },
1890 &quot;help&quot;: { # Provides links to documentation or for performing an out of band action.
1891 #
1892 # For example, if a quota check failed with an error indicating the calling
1893 # project hasn&#x27;t enabled the accessed service, this can contain a URL pointing
1894 # directly to the right place in the developer console to flip the bit.
1895 &quot;links&quot;: [ # URL(s) pointing to additional information on handling the current error.
1896 { # Describes a URL link.
1897 &quot;description&quot;: &quot;A String&quot;, # Describes what the link offers.
1898 &quot;url&quot;: &quot;A String&quot;, # The URL of the link.
1899 },
1900 ],
1901 },
1902 &quot;localizedMessage&quot;: { # Provides a localized error message that is safe to return to the user
1903 # which can be attached to an RPC error.
1904 &quot;locale&quot;: &quot;A String&quot;, # The locale used following the specification defined at
1905 # https://www.rfc-editor.org/rfc/bcp/bcp47.txt.
1906 # Examples are: &quot;en-US&quot;, &quot;fr-CH&quot;, &quot;es-MX&quot;
1907 &quot;message&quot;: &quot;A String&quot;, # The localized error message in the above locale.
1908 },
1909 &quot;quotaInfo&quot;: { # Additional details for quota exceeded error for resource quota.
1910 &quot;dimensions&quot;: { # The map holding related quota dimensions.
1911 &quot;a_key&quot;: &quot;A String&quot;,
1912 },
1913 &quot;futureLimit&quot;: 3.14, # Future quota limit being rolled out. The limit&#x27;s unit depends on the quota
1914 # type or metric.
1915 &quot;limit&quot;: 3.14, # Current effective quota limit. The limit&#x27;s unit depends on the quota type
1916 # or metric.
1917 &quot;limitName&quot;: &quot;A String&quot;, # The name of the quota limit.
1918 &quot;metricName&quot;: &quot;A String&quot;, # The Compute Engine quota metric name.
1919 &quot;rolloutStatus&quot;: &quot;A String&quot;, # Rollout status of the future quota limit.
1920 },
1921 },
1922 ],
1923 &quot;location&quot;: &quot;A String&quot;, # [Output Only] Indicates the field in the request that caused the error.
1924 # This property is optional.
1925 &quot;message&quot;: &quot;A String&quot;, # [Output Only] An optional, human-readable error message.
1926 },
1927 ],
1928 },
1929 &quot;getVersionOperationMetadata&quot;: {
1930 &quot;inlineSbomInfo&quot;: {
1931 &quot;currentComponentVersions&quot;: { # A mapping of components to their currently-applied versions or other
1932 # appropriate identifiers.
1933 &quot;a_key&quot;: &quot;A String&quot;,
1934 },
1935 &quot;targetComponentVersions&quot;: { # A mapping of components to their target versions or other appropriate
1936 # identifiers.
1937 &quot;a_key&quot;: &quot;A String&quot;,
1938 },
1939 },
1940 },
1941 &quot;httpErrorMessage&quot;: &quot;A String&quot;, # [Output Only] If the operation fails, this field contains the HTTP error
1942 # message that was returned, such as `NOT FOUND`.
1943 &quot;httpErrorStatusCode&quot;: 42, # [Output Only] If the operation fails, this field contains the HTTP error
1944 # status code that was returned. For example, a `404` means the
1945 # resource was not found.
1946 &quot;id&quot;: &quot;A String&quot;, # [Output Only] The unique identifier for the operation. This identifier is
1947 # defined by the server.
1948 &quot;insertTime&quot;: &quot;A String&quot;, # [Output Only] The time that this operation was requested.
1949 # This value is inRFC3339
1950 # text format.
1951 &quot;instancesBulkInsertOperationMetadata&quot;: {
1952 &quot;perLocationStatus&quot;: { # Status information per location (location name is key).
1953 # Example key: zones/us-central1-a
1954 &quot;a_key&quot;: {
1955 &quot;createdVmCount&quot;: 42, # [Output Only] Count of VMs successfully created so far.
1956 &quot;deletedVmCount&quot;: 42, # [Output Only] Count of VMs that got deleted during rollback.
1957 &quot;failedToCreateVmCount&quot;: 42, # [Output Only] Count of VMs that started creating but encountered an
1958 # error.
1959 &quot;status&quot;: &quot;A String&quot;, # [Output Only] Creation status of BulkInsert operation - information
1960 # if the flow is rolling forward or rolling back.
1961 &quot;targetVmCount&quot;: 42, # [Output Only] Count of VMs originally planned to be created.
1962 },
1963 },
1964 },
1965 &quot;kind&quot;: &quot;compute#operation&quot;, # Output only. [Output Only] Type of the resource. Always `compute#operation` for
1966 # Operation resources.
1967 &quot;name&quot;: &quot;A String&quot;, # [Output Only] Name of the operation.
1968 &quot;operationGroupId&quot;: &quot;A String&quot;, # Output only. [Output Only] An ID that represents a group of operations, such as when a
1969 # group of operations results from a `bulkInsert` API request.
1970 &quot;operationType&quot;: &quot;A String&quot;, # [Output Only] The type of operation, such as `insert`,
1971 # `update`, or `delete`, and so on.
1972 &quot;progress&quot;: 42, # [Output Only] An optional progress indicator that ranges from 0 to 100.
1973 # There is no requirement that this be linear or support any granularity of
1974 # operations. This should not be used to guess when the operation will be
1975 # complete. This number should monotonically increase as the operation
1976 # progresses.
1977 &quot;region&quot;: &quot;A String&quot;, # [Output Only] The URL of the region where the operation resides. Only
1978 # applicable when performing regional operations.
1979 &quot;selfLink&quot;: &quot;A String&quot;, # [Output Only] Server-defined URL for the resource.
1980 &quot;selfLinkWithId&quot;: &quot;A String&quot;, # Output only. [Output Only] Server-defined URL for this resource with the resource id.
1981 &quot;setCommonInstanceMetadataOperationMetadata&quot;: { # Output only. [Output Only] If the operation is for projects.setCommonInstanceMetadata,
1982 # this field will contain information on all underlying zonal actions and
1983 # their state.
1984 &quot;clientOperationId&quot;: &quot;A String&quot;, # [Output Only] The client operation id.
1985 &quot;perLocationOperations&quot;: { # [Output Only] Status information per location (location name is key).
1986 # Example key: zones/us-central1-a
1987 &quot;a_key&quot;: {
1988 &quot;error&quot;: { # The `Status` type defines a logical error model that is suitable for # [Output Only] If state is `ABANDONED` or `FAILED`, this field is
1989 # populated.
1990 # different programming environments, including REST APIs and RPC APIs. It is
1991 # used by [gRPC](https://github.com/grpc). Each `Status` message contains
1992 # three pieces of data: error code, error message, and error details.
1993 #
1994 # You can find out more about this error model and how to work with it in the
1995 # [API Design Guide](https://cloud.google.com/apis/design/errors).
1996 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
1997 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of
1998 # message types for APIs to use.
1999 {
2000 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
2001 },
2002 ],
2003 &quot;message&quot;: &quot;A String&quot;, # A developer-facing error message, which should be in English. Any
2004 # user-facing error message should be localized and sent in the
2005 # google.rpc.Status.details field, or localized by the client.
2006 },
2007 &quot;state&quot;: &quot;A String&quot;, # [Output Only] Status of the action, which can be one of the following:
2008 # `PROPAGATING`, `PROPAGATED`, `ABANDONED`, `FAILED`, or `DONE`.
2009 },
2010 },
2011 },
2012 &quot;startTime&quot;: &quot;A String&quot;, # [Output Only] The time that this operation was started by the server.
2013 # This value is inRFC3339
2014 # text format.
2015 &quot;status&quot;: &quot;A String&quot;, # [Output Only] The status of the operation, which can be one of the
2016 # following:
2017 # `PENDING`, `RUNNING`, or `DONE`.
2018 &quot;statusMessage&quot;: &quot;A String&quot;, # [Output Only] An optional textual description of the current status of the
2019 # operation.
2020 &quot;targetId&quot;: &quot;A String&quot;, # [Output Only] The unique target ID, which identifies a specific incarnation
2021 # of the target resource.
2022 &quot;targetLink&quot;: &quot;A String&quot;, # [Output Only] The URL of the resource that the operation modifies. For
2023 # operations related to creating a snapshot, this points to the disk
2024 # that the snapshot was created from.
2025 &quot;user&quot;: &quot;A String&quot;, # [Output Only] User who requested the operation, for example:
2026 # `[email protected]` or
2027 # `alice_smith_identifier (global/workforcePools/example-com-us-employees)`.
2028 &quot;warnings&quot;: [ # [Output Only] If warning messages are generated during processing of the
2029 # operation, this field will be populated.
2030 {
2031 &quot;code&quot;: &quot;A String&quot;, # [Output Only] A warning code, if applicable. For example, Compute
2032 # Engine returns NO_RESULTS_ON_PAGE if there
2033 # are no results in the response.
2034 &quot;data&quot;: [ # [Output Only] Metadata about this warning in key:
2035 # value format. For example:
2036 #
2037 # &quot;data&quot;: [
2038 # {
2039 # &quot;key&quot;: &quot;scope&quot;,
2040 # &quot;value&quot;: &quot;zones/us-east1-d&quot;
2041 # }
2042 {
2043 &quot;key&quot;: &quot;A String&quot;, # [Output Only] A key that provides more detail on the warning being
2044 # returned. For example, for warnings where there are no results in a list
2045 # request for a particular zone, this key might be scope and
2046 # the key value might be the zone name. Other examples might be a key
2047 # indicating a deprecated resource and a suggested replacement, or a
2048 # warning about invalid network settings (for example, if an instance
2049 # attempts to perform IP forwarding but is not enabled for IP forwarding).
2050 &quot;value&quot;: &quot;A String&quot;, # [Output Only] A warning data value corresponding to the key.
2051 },
2052 ],
2053 &quot;message&quot;: &quot;A String&quot;, # [Output Only] A human-readable description of the warning code.
2054 },
2055 ],
2056 &quot;zone&quot;: &quot;A String&quot;, # [Output Only] The URL of the zone where the operation resides. Only
2057 # applicable when performing per-zone operations.
2058 }</pre>
2059 </div>
2060
2061 <div class="method">
2062 <code class="details" id="testIamPermissions">testIamPermissions(project, region, resource, body=None, x__xgafv=None)</code>
2063 <pre>Returns permissions that a caller has on the specified resource.
2064
2065 Args:
2066 project: string, Project ID for this request. (required)
2067 region: string, The name of the region for this request. (required)
2068 resource: string, Name or id of the resource for this request. (required)
2069 body: object, The request body.
2070 The object takes the form of:
2071
2072 {
2073 &quot;permissions&quot;: [ # The set of permissions to check for the &#x27;resource&#x27;. Permissions with
2074 # wildcards (such as &#x27;*&#x27; or &#x27;storage.*&#x27;) are not allowed.
2075 &quot;A String&quot;,
2076 ],
2077 }
2078
2079 x__xgafv: string, V1 error format.
2080 Allowed values
2081 1 - v1 error format
2082 2 - v2 error format
2083
2084 Returns:
2085 An object of the form:
2086
2087 {
2088 &quot;permissions&quot;: [ # A subset of `TestPermissionsRequest.permissions` that the caller is
2089 # allowed.
2090 &quot;A String&quot;,
2091 ],
2092 }</pre>
2093 </div>
2094
2095 </body></html>