Debian Codegraph @

docs/dyn/compute_beta.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_beta.html">Compute Engine API</a> . <a href="compute_beta.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/beta/globalOperations)
147 # * [Regional](/compute/docs/reference/rest/beta/regionOperations)
148 # * [Zonal](/compute/docs/reference/rest/beta/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;setCommonInstanceMetadataOperationMetadata&quot;: { # Output only. [Output Only] If the operation is for projects.setCommonInstanceMetadata,
327 # this field will contain information on all underlying zonal actions and
328 # their state.
329 &quot;clientOperationId&quot;: &quot;A String&quot;, # [Output Only] The client operation id.
330 &quot;perLocationOperations&quot;: { # [Output Only] Status information per location (location name is key).
331 # Example key: zones/us-central1-a
332 &quot;a_key&quot;: {
333 &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
334 # populated.
335 # different programming environments, including REST APIs and RPC APIs. It is
336 # used by [gRPC](https://github.com/grpc). Each `Status` message contains
337 # three pieces of data: error code, error message, and error details.
338 #
339 # You can find out more about this error model and how to work with it in the
340 # [API Design Guide](https://cloud.google.com/apis/design/errors).
341 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
342 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of
343 # message types for APIs to use.
344 {
345 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
346 },
347 ],
348 &quot;message&quot;: &quot;A String&quot;, # A developer-facing error message, which should be in English. Any
349 # user-facing error message should be localized and sent in the
350 # google.rpc.Status.details field, or localized by the client.
351 },
352 &quot;state&quot;: &quot;A String&quot;, # [Output Only] Status of the action, which can be one of the following:
353 # `PROPAGATING`, `PROPAGATED`, `ABANDONED`, `FAILED`, or `DONE`.
354 },
355 },
356 },
357 &quot;startTime&quot;: &quot;A String&quot;, # [Output Only] The time that this operation was started by the server.
358 # This value is inRFC3339
359 # text format.
360 &quot;status&quot;: &quot;A String&quot;, # [Output Only] The status of the operation, which can be one of the
361 # following:
362 # `PENDING`, `RUNNING`, or `DONE`.
363 &quot;statusMessage&quot;: &quot;A String&quot;, # [Output Only] An optional textual description of the current status of the
364 # operation.
365 &quot;targetId&quot;: &quot;A String&quot;, # [Output Only] The unique target ID, which identifies a specific incarnation
366 # of the target resource.
367 &quot;targetLink&quot;: &quot;A String&quot;, # [Output Only] The URL of the resource that the operation modifies. For
368 # operations related to creating a snapshot, this points to the disk
369 # that the snapshot was created from.
370 &quot;user&quot;: &quot;A String&quot;, # [Output Only] User who requested the operation, for example:
371 # `[email protected]` or
372 # `alice_smith_identifier (global/workforcePools/example-com-us-employees)`.
373 &quot;warnings&quot;: [ # [Output Only] If warning messages are generated during processing of the
374 # operation, this field will be populated.
375 {
376 &quot;code&quot;: &quot;A String&quot;, # [Output Only] A warning code, if applicable. For example, Compute
377 # Engine returns NO_RESULTS_ON_PAGE if there
378 # are no results in the response.
379 &quot;data&quot;: [ # [Output Only] Metadata about this warning in key:
380 # value format. For example:
381 #
382 # &quot;data&quot;: [
383 # {
384 # &quot;key&quot;: &quot;scope&quot;,
385 # &quot;value&quot;: &quot;zones/us-east1-d&quot;
386 # }
387 {
388 &quot;key&quot;: &quot;A String&quot;, # [Output Only] A key that provides more detail on the warning being
389 # returned. For example, for warnings where there are no results in a list
390 # request for a particular zone, this key might be scope and
391 # the key value might be the zone name. Other examples might be a key
392 # indicating a deprecated resource and a suggested replacement, or a
393 # warning about invalid network settings (for example, if an instance
394 # attempts to perform IP forwarding but is not enabled for IP forwarding).
395 &quot;value&quot;: &quot;A String&quot;, # [Output Only] A warning data value corresponding to the key.
396 },
397 ],
398 &quot;message&quot;: &quot;A String&quot;, # [Output Only] A human-readable description of the warning code.
399 },
400 ],
401 &quot;zone&quot;: &quot;A String&quot;, # [Output Only] The URL of the zone where the operation resides. Only
402 # applicable when performing per-zone operations.
403 }</pre>
404 </div>
405
406 <div class="method">
407 <code class="details" id="get">get(project, region, sslPolicy, x__xgafv=None)</code>
408 <pre>Lists all of the ordered rules present in a single specified policy.
409
410 Args:
411 project: string, Project ID for this request. (required)
412 region: string, Name of the region scoping this request. (required)
413 sslPolicy: string, Name of the SSL policy to update. The name must be 1-63 characters long,
414 and comply with RFC1035. (required)
415 x__xgafv: string, V1 error format.
416 Allowed values
417 1 - v1 error format
418 2 - v2 error format
419
420 Returns:
421 An object of the form:
422
423 { # Represents an SSL Policy resource.
424 #
425 # Use SSL policies to control SSL features, such as versions and cipher
426 # suites, that are offered by Application Load Balancers and proxy Network Load
427 # Balancers. For more information, read
428 # SSL policies overview.
429 &quot;creationTimestamp&quot;: &quot;A String&quot;, # Output only. [Output Only] Creation timestamp inRFC3339
430 # text format.
431 &quot;customFeatures&quot;: [ # A list of features enabled when the selected profile is CUSTOM. The
432 # method returns the set of features that can be
433 # specified in this list. This field must be empty if the profile is notCUSTOM.
434 &quot;A String&quot;,
435 ],
436 &quot;description&quot;: &quot;A String&quot;, # An optional description of this resource. Provide this property when you
437 # create the resource.
438 &quot;enabledFeatures&quot;: [ # Output only. [Output Only] The list of features enabled in the SSL policy.
439 &quot;A String&quot;,
440 ],
441 &quot;fingerprint&quot;: &quot;A String&quot;, # Fingerprint of this resource. A hash of the contents stored in this object.
442 # This field is used in optimistic locking. This field will be ignored when
443 # inserting a SslPolicy. An up-to-date fingerprint must be
444 # provided in order to update the SslPolicy, otherwise the
445 # request will fail with error 412 conditionNotMet.
446 #
447 # To see the latest fingerprint, make a get() request to
448 # retrieve an SslPolicy.
449 &quot;id&quot;: &quot;A String&quot;, # Output only. [Output Only] The unique identifier for the resource. This identifier is
450 # defined by the server.
451 &quot;kind&quot;: &quot;compute#sslPolicy&quot;, # Output only. [Output only] Type of the resource. Alwayscompute#sslPolicyfor SSL policies.
452 &quot;minTlsVersion&quot;: &quot;A String&quot;, # The minimum version of SSL protocol that can be used by the clients to
453 # 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
454 # must be set to RESTRICTED.
455 &quot;name&quot;: &quot;A String&quot;, # Name of the resource. The name must be 1-63 characters long, and comply
456 # with RFC1035. Specifically, the name must be 1-63 characters
457 # long and match the regular expression
458 # `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character
459 # must be a lowercase letter, and all following characters must be a dash,
460 # lowercase letter, or digit, except the last character, which cannot be a
461 # dash.
462 &quot;postQuantumKeyExchange&quot;: &quot;A String&quot;, # One of DEFAULT, ENABLED, orDEFERRED. Controls whether the load balancer negotiates
463 # X25519MLKEM768 key exchange when clients advertise support for it. When set
464 # to DEFAULT, or if no SSL Policy is attached to the target
465 # proxy, the load balancer disallows X25519MLKEM768 key exchange before
466 # October 2026, and allows it afterward. When set to ENABLED,
467 # the load balancer allows X25519MLKEM768 key exchange. When set toDEFERRED, the load balancer disallows X25519MLKEM768 key
468 # exchange until October 2027, and allows it afterward.
469 &quot;profile&quot;: &quot;A String&quot;, # Profile specifies the set of SSL features that can be used by the load
470 # 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
471 # the customFeatures field. If using FIPS_202205,
472 # the min_tls_version field must be set to TLS_1_2.
473 &quot;region&quot;: &quot;A String&quot;, # Output only. [Output Only] URL of the region where the regional SSL policy
474 # resides. This field is not applicable to global SSL policies.
475 &quot;selfLink&quot;: &quot;A String&quot;, # Output only. [Output Only] Server-defined URL for the resource.
476 &quot;warnings&quot;: [ # Output only. [Output Only] If potential misconfigurations are detected for this
477 # SSL policy, this field will be populated with warning messages.
478 {
479 &quot;code&quot;: &quot;A String&quot;, # [Output Only] A warning code, if applicable. For example, Compute
480 # Engine returns NO_RESULTS_ON_PAGE if there
481 # are no results in the response.
482 &quot;data&quot;: [ # [Output Only] Metadata about this warning in key:
483 # value format. For example:
484 #
485 # &quot;data&quot;: [
486 # {
487 # &quot;key&quot;: &quot;scope&quot;,
488 # &quot;value&quot;: &quot;zones/us-east1-d&quot;
489 # }
490 {
491 &quot;key&quot;: &quot;A String&quot;, # [Output Only] A key that provides more detail on the warning being
492 # returned. For example, for warnings where there are no results in a list
493 # request for a particular zone, this key might be scope and
494 # the key value might be the zone name. Other examples might be a key
495 # indicating a deprecated resource and a suggested replacement, or a
496 # warning about invalid network settings (for example, if an instance
497 # attempts to perform IP forwarding but is not enabled for IP forwarding).
498 &quot;value&quot;: &quot;A String&quot;, # [Output Only] A warning data value corresponding to the key.
499 },
500 ],
501 &quot;message&quot;: &quot;A String&quot;, # [Output Only] A human-readable description of the warning code.
502 },
503 ],
504 }</pre>
505 </div>
506
507 <div class="method">
508 <code class="details" id="insert">insert(project, region, body=None, requestId=None, x__xgafv=None)</code>
509 <pre>Creates a new policy in the specified project and region using the data
510 included in the request.
511
512 Args:
513 project: string, Project ID for this request. (required)
514 region: string, Name of the region scoping this request. (required)
515 body: object, The request body.
516 The object takes the form of:
517
518 { # Represents an SSL Policy resource.
519 #
520 # Use SSL policies to control SSL features, such as versions and cipher
521 # suites, that are offered by Application Load Balancers and proxy Network Load
522 # Balancers. For more information, read
523 # SSL policies overview.
524 &quot;creationTimestamp&quot;: &quot;A String&quot;, # Output only. [Output Only] Creation timestamp inRFC3339
525 # text format.
526 &quot;customFeatures&quot;: [ # A list of features enabled when the selected profile is CUSTOM. The
527 # method returns the set of features that can be
528 # specified in this list. This field must be empty if the profile is notCUSTOM.
529 &quot;A String&quot;,
530 ],
531 &quot;description&quot;: &quot;A String&quot;, # An optional description of this resource. Provide this property when you
532 # create the resource.
533 &quot;enabledFeatures&quot;: [ # Output only. [Output Only] The list of features enabled in the SSL policy.
534 &quot;A String&quot;,
535 ],
536 &quot;fingerprint&quot;: &quot;A String&quot;, # Fingerprint of this resource. A hash of the contents stored in this object.
537 # This field is used in optimistic locking. This field will be ignored when
538 # inserting a SslPolicy. An up-to-date fingerprint must be
539 # provided in order to update the SslPolicy, otherwise the
540 # request will fail with error 412 conditionNotMet.
541 #
542 # To see the latest fingerprint, make a get() request to
543 # retrieve an SslPolicy.
544 &quot;id&quot;: &quot;A String&quot;, # Output only. [Output Only] The unique identifier for the resource. This identifier is
545 # defined by the server.
546 &quot;kind&quot;: &quot;compute#sslPolicy&quot;, # Output only. [Output only] Type of the resource. Alwayscompute#sslPolicyfor SSL policies.
547 &quot;minTlsVersion&quot;: &quot;A String&quot;, # The minimum version of SSL protocol that can be used by the clients to
548 # 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
549 # must be set to RESTRICTED.
550 &quot;name&quot;: &quot;A String&quot;, # Name of the resource. The name must be 1-63 characters long, and comply
551 # with RFC1035. Specifically, the name must be 1-63 characters
552 # long and match the regular expression
553 # `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character
554 # must be a lowercase letter, and all following characters must be a dash,
555 # lowercase letter, or digit, except the last character, which cannot be a
556 # dash.
557 &quot;postQuantumKeyExchange&quot;: &quot;A String&quot;, # One of DEFAULT, ENABLED, orDEFERRED. Controls whether the load balancer negotiates
558 # X25519MLKEM768 key exchange when clients advertise support for it. When set
559 # to DEFAULT, or if no SSL Policy is attached to the target
560 # proxy, the load balancer disallows X25519MLKEM768 key exchange before
561 # October 2026, and allows it afterward. When set to ENABLED,
562 # the load balancer allows X25519MLKEM768 key exchange. When set toDEFERRED, the load balancer disallows X25519MLKEM768 key
563 # exchange until October 2027, and allows it afterward.
564 &quot;profile&quot;: &quot;A String&quot;, # Profile specifies the set of SSL features that can be used by the load
565 # 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
566 # the customFeatures field. If using FIPS_202205,
567 # the min_tls_version field must be set to TLS_1_2.
568 &quot;region&quot;: &quot;A String&quot;, # Output only. [Output Only] URL of the region where the regional SSL policy
569 # resides. This field is not applicable to global SSL policies.
570 &quot;selfLink&quot;: &quot;A String&quot;, # Output only. [Output Only] Server-defined URL for the resource.
571 &quot;warnings&quot;: [ # Output only. [Output Only] If potential misconfigurations are detected for this
572 # SSL policy, this field will be populated with warning messages.
573 {
574 &quot;code&quot;: &quot;A String&quot;, # [Output Only] A warning code, if applicable. For example, Compute
575 # Engine returns NO_RESULTS_ON_PAGE if there
576 # are no results in the response.
577 &quot;data&quot;: [ # [Output Only] Metadata about this warning in key:
578 # value format. For example:
579 #
580 # &quot;data&quot;: [
581 # {
582 # &quot;key&quot;: &quot;scope&quot;,
583 # &quot;value&quot;: &quot;zones/us-east1-d&quot;
584 # }
585 {
586 &quot;key&quot;: &quot;A String&quot;, # [Output Only] A key that provides more detail on the warning being
587 # returned. For example, for warnings where there are no results in a list
588 # request for a particular zone, this key might be scope and
589 # the key value might be the zone name. Other examples might be a key
590 # indicating a deprecated resource and a suggested replacement, or a
591 # warning about invalid network settings (for example, if an instance
592 # attempts to perform IP forwarding but is not enabled for IP forwarding).
593 &quot;value&quot;: &quot;A String&quot;, # [Output Only] A warning data value corresponding to the key.
594 },
595 ],
596 &quot;message&quot;: &quot;A String&quot;, # [Output Only] A human-readable description of the warning code.
597 },
598 ],
599 }
600
601 requestId: string, An optional request ID to identify requests. Specify a unique request ID so
602 that if you must retry your request, the server will know to ignore the
603 request if it has already been completed.
604
605 For example, consider a situation where you make an initial request and
606 the request times out. If you make the request again with the same
607 request ID, the server can check if original operation with the same
608 request ID was received, and if so, will ignore the second request. This
609 prevents clients from accidentally creating duplicate commitments.
610
611 The request ID must be
612 a valid UUID with the exception that zero UUID is not supported
613 (00000000-0000-0000-0000-000000000000).
614 x__xgafv: string, V1 error format.
615 Allowed values
616 1 - v1 error format
617 2 - v2 error format
618
619 Returns:
620 An object of the form:
621
622 { # Represents an Operation resource.
623 #
624 # Google Compute Engine has three Operation resources:
625 #
626 # * [Global](/compute/docs/reference/rest/beta/globalOperations)
627 # * [Regional](/compute/docs/reference/rest/beta/regionOperations)
628 # * [Zonal](/compute/docs/reference/rest/beta/zoneOperations)
629 #
630 # You can use an operation resource to manage asynchronous API requests.
631 # For more information, readHandling
632 # API responses.
633 #
634 # Operations can be global, regional or zonal.
635 #
636 # - For global operations, use the `globalOperations`
637 # resource.
638 # - For regional operations, use the
639 # `regionOperations` resource.
640 # - For zonal operations, use
641 # the `zoneOperations` resource.
642 #
643 #
644 #
645 # For more information, read
646 # Global, Regional, and Zonal Resources.
647 #
648 # Note that completed Operation resources have a limited
649 # retention period.
650 &quot;clientOperationId&quot;: &quot;A String&quot;, # [Output Only] The value of `requestId` if you provided it in the request.
651 # Not present otherwise.
652 &quot;creationTimestamp&quot;: &quot;A String&quot;, # [Deprecated] This field is deprecated.
653 &quot;description&quot;: &quot;A String&quot;, # [Output Only] A textual description of the operation, which is
654 # set when the operation is created.
655 &quot;endTime&quot;: &quot;A String&quot;, # [Output Only] The time that this operation was completed. This value is inRFC3339
656 # text format.
657 &quot;error&quot;: { # [Output Only] If errors are generated during processing of the operation,
658 # this field will be populated.
659 &quot;errors&quot;: [ # [Output Only] The array of errors encountered while processing this
660 # operation.
661 {
662 &quot;code&quot;: &quot;A String&quot;, # [Output Only] The error type identifier for this error.
663 &quot;errorDetails&quot;: [ # [Output Only] An optional list of messages that contain the error
664 # details. There is a set of defined message types to use for providing
665 # details.The syntax depends on the error code. For example,
666 # QuotaExceededInfo will have details when the error code is
667 # QUOTA_EXCEEDED.
668 {
669 &quot;errorInfo&quot;: { # Describes the cause of the error with structured details.
670 #
671 # Example of an error when contacting the &quot;pubsub.googleapis.com&quot; API when it
672 # is not enabled:
673 #
674 # { &quot;reason&quot;: &quot;API_DISABLED&quot;
675 # &quot;domain&quot;: &quot;googleapis.com&quot;
676 # &quot;metadata&quot;: {
677 # &quot;resource&quot;: &quot;projects/123&quot;,
678 # &quot;service&quot;: &quot;pubsub.googleapis.com&quot;
679 # }
680 # }
681 #
682 # This response indicates that the pubsub.googleapis.com API is not enabled.
683 #
684 # Example of an error that is returned when attempting to create a Spanner
685 # instance in a region that is out of stock:
686 #
687 # { &quot;reason&quot;: &quot;STOCKOUT&quot;
688 # &quot;domain&quot;: &quot;spanner.googleapis.com&quot;,
689 # &quot;metadata&quot;: {
690 # &quot;availableRegions&quot;: &quot;us-central1,us-east2&quot;
691 # }
692 # }
693 &quot;domain&quot;: &quot;A String&quot;, # The logical grouping to which the &quot;reason&quot; belongs. The error domain
694 # is typically the registered service name of the tool or product that
695 # generates the error. Example: &quot;pubsub.googleapis.com&quot;. If the error is
696 # generated by some common infrastructure, the error domain must be a
697 # globally unique value that identifies the infrastructure. For Google API
698 # infrastructure, the error domain is &quot;googleapis.com&quot;.
699 &quot;metadatas&quot;: { # Additional structured details about this error.
700 #
701 # Keys must match a regular expression of `a-z+` but should
702 # ideally be lowerCamelCase. Also, they must be limited to 64 characters in
703 # length. When identifying the current value of an exceeded limit, the units
704 # should be contained in the key, not the value. For example, rather than
705 # `{&quot;instanceLimit&quot;: &quot;100/request&quot;}`, should be returned as,
706 # `{&quot;instanceLimitPerRequest&quot;: &quot;100&quot;}`, if the client exceeds the number of
707 # instances that can be created in a single (batch) request.
708 &quot;a_key&quot;: &quot;A String&quot;,
709 },
710 &quot;reason&quot;: &quot;A String&quot;, # The reason of the error. This is a constant value that identifies the
711 # proximate cause of the error. Error reasons are unique within a particular
712 # domain of errors. This should be at most 63 characters and match a
713 # regular expression of `A-Z+[A-Z0-9]`, which represents
714 # UPPER_SNAKE_CASE.
715 },
716 &quot;help&quot;: { # Provides links to documentation or for performing an out of band action.
717 #
718 # For example, if a quota check failed with an error indicating the calling
719 # project hasn&#x27;t enabled the accessed service, this can contain a URL pointing
720 # directly to the right place in the developer console to flip the bit.
721 &quot;links&quot;: [ # URL(s) pointing to additional information on handling the current error.
722 { # Describes a URL link.
723 &quot;description&quot;: &quot;A String&quot;, # Describes what the link offers.
724 &quot;url&quot;: &quot;A String&quot;, # The URL of the link.
725 },
726 ],
727 },
728 &quot;localizedMessage&quot;: { # Provides a localized error message that is safe to return to the user
729 # which can be attached to an RPC error.
730 &quot;locale&quot;: &quot;A String&quot;, # The locale used following the specification defined at
731 # https://www.rfc-editor.org/rfc/bcp/bcp47.txt.
732 # Examples are: &quot;en-US&quot;, &quot;fr-CH&quot;, &quot;es-MX&quot;
733 &quot;message&quot;: &quot;A String&quot;, # The localized error message in the above locale.
734 },
735 &quot;quotaInfo&quot;: { # Additional details for quota exceeded error for resource quota.
736 &quot;dimensions&quot;: { # The map holding related quota dimensions.
737 &quot;a_key&quot;: &quot;A String&quot;,
738 },
739 &quot;futureLimit&quot;: 3.14, # Future quota limit being rolled out. The limit&#x27;s unit depends on the quota
740 # type or metric.
741 &quot;limit&quot;: 3.14, # Current effective quota limit. The limit&#x27;s unit depends on the quota type
742 # or metric.
743 &quot;limitName&quot;: &quot;A String&quot;, # The name of the quota limit.
744 &quot;metricName&quot;: &quot;A String&quot;, # The Compute Engine quota metric name.
745 &quot;rolloutStatus&quot;: &quot;A String&quot;, # Rollout status of the future quota limit.
746 },
747 },
748 ],
749 &quot;location&quot;: &quot;A String&quot;, # [Output Only] Indicates the field in the request that caused the error.
750 # This property is optional.
751 &quot;message&quot;: &quot;A String&quot;, # [Output Only] An optional, human-readable error message.
752 },
753 ],
754 },
755 &quot;getVersionOperationMetadata&quot;: {
756 &quot;inlineSbomInfo&quot;: {
757 &quot;currentComponentVersions&quot;: { # A mapping of components to their currently-applied versions or other
758 # appropriate identifiers.
759 &quot;a_key&quot;: &quot;A String&quot;,
760 },
761 &quot;targetComponentVersions&quot;: { # A mapping of components to their target versions or other appropriate
762 # identifiers.
763 &quot;a_key&quot;: &quot;A String&quot;,
764 },
765 },
766 },
767 &quot;httpErrorMessage&quot;: &quot;A String&quot;, # [Output Only] If the operation fails, this field contains the HTTP error
768 # message that was returned, such as `NOT FOUND`.
769 &quot;httpErrorStatusCode&quot;: 42, # [Output Only] If the operation fails, this field contains the HTTP error
770 # status code that was returned. For example, a `404` means the
771 # resource was not found.
772 &quot;id&quot;: &quot;A String&quot;, # [Output Only] The unique identifier for the operation. This identifier is
773 # defined by the server.
774 &quot;insertTime&quot;: &quot;A String&quot;, # [Output Only] The time that this operation was requested.
775 # This value is inRFC3339
776 # text format.
777 &quot;instancesBulkInsertOperationMetadata&quot;: {
778 &quot;perLocationStatus&quot;: { # Status information per location (location name is key).
779 # Example key: zones/us-central1-a
780 &quot;a_key&quot;: {
781 &quot;createdVmCount&quot;: 42, # [Output Only] Count of VMs successfully created so far.
782 &quot;deletedVmCount&quot;: 42, # [Output Only] Count of VMs that got deleted during rollback.
783 &quot;failedToCreateVmCount&quot;: 42, # [Output Only] Count of VMs that started creating but encountered an
784 # error.
785 &quot;status&quot;: &quot;A String&quot;, # [Output Only] Creation status of BulkInsert operation - information
786 # if the flow is rolling forward or rolling back.
787 &quot;targetVmCount&quot;: 42, # [Output Only] Count of VMs originally planned to be created.
788 },
789 },
790 },
791 &quot;kind&quot;: &quot;compute#operation&quot;, # Output only. [Output Only] Type of the resource. Always `compute#operation` for
792 # Operation resources.
793 &quot;name&quot;: &quot;A String&quot;, # [Output Only] Name of the operation.
794 &quot;operationGroupId&quot;: &quot;A String&quot;, # Output only. [Output Only] An ID that represents a group of operations, such as when a
795 # group of operations results from a `bulkInsert` API request.
796 &quot;operationType&quot;: &quot;A String&quot;, # [Output Only] The type of operation, such as `insert`,
797 # `update`, or `delete`, and so on.
798 &quot;progress&quot;: 42, # [Output Only] An optional progress indicator that ranges from 0 to 100.
799 # There is no requirement that this be linear or support any granularity of
800 # operations. This should not be used to guess when the operation will be
801 # complete. This number should monotonically increase as the operation
802 # progresses.
803 &quot;region&quot;: &quot;A String&quot;, # [Output Only] The URL of the region where the operation resides. Only
804 # applicable when performing regional operations.
805 &quot;selfLink&quot;: &quot;A String&quot;, # [Output Only] Server-defined URL for the resource.
806 &quot;setCommonInstanceMetadataOperationMetadata&quot;: { # Output only. [Output Only] If the operation is for projects.setCommonInstanceMetadata,
807 # this field will contain information on all underlying zonal actions and
808 # their state.
809 &quot;clientOperationId&quot;: &quot;A String&quot;, # [Output Only] The client operation id.
810 &quot;perLocationOperations&quot;: { # [Output Only] Status information per location (location name is key).
811 # Example key: zones/us-central1-a
812 &quot;a_key&quot;: {
813 &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
814 # populated.
815 # different programming environments, including REST APIs and RPC APIs. It is
816 # used by [gRPC](https://github.com/grpc). Each `Status` message contains
817 # three pieces of data: error code, error message, and error details.
818 #
819 # You can find out more about this error model and how to work with it in the
820 # [API Design Guide](https://cloud.google.com/apis/design/errors).
821 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
822 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of
823 # message types for APIs to use.
824 {
825 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
826 },
827 ],
828 &quot;message&quot;: &quot;A String&quot;, # A developer-facing error message, which should be in English. Any
829 # user-facing error message should be localized and sent in the
830 # google.rpc.Status.details field, or localized by the client.
831 },
832 &quot;state&quot;: &quot;A String&quot;, # [Output Only] Status of the action, which can be one of the following:
833 # `PROPAGATING`, `PROPAGATED`, `ABANDONED`, `FAILED`, or `DONE`.
834 },
835 },
836 },
837 &quot;startTime&quot;: &quot;A String&quot;, # [Output Only] The time that this operation was started by the server.
838 # This value is inRFC3339
839 # text format.
840 &quot;status&quot;: &quot;A String&quot;, # [Output Only] The status of the operation, which can be one of the
841 # following:
842 # `PENDING`, `RUNNING`, or `DONE`.
843 &quot;statusMessage&quot;: &quot;A String&quot;, # [Output Only] An optional textual description of the current status of the
844 # operation.
845 &quot;targetId&quot;: &quot;A String&quot;, # [Output Only] The unique target ID, which identifies a specific incarnation
846 # of the target resource.
847 &quot;targetLink&quot;: &quot;A String&quot;, # [Output Only] The URL of the resource that the operation modifies. For
848 # operations related to creating a snapshot, this points to the disk
849 # that the snapshot was created from.
850 &quot;user&quot;: &quot;A String&quot;, # [Output Only] User who requested the operation, for example:
851 # `[email protected]` or
852 # `alice_smith_identifier (global/workforcePools/example-com-us-employees)`.
853 &quot;warnings&quot;: [ # [Output Only] If warning messages are generated during processing of the
854 # operation, this field will be populated.
855 {
856 &quot;code&quot;: &quot;A String&quot;, # [Output Only] A warning code, if applicable. For example, Compute
857 # Engine returns NO_RESULTS_ON_PAGE if there
858 # are no results in the response.
859 &quot;data&quot;: [ # [Output Only] Metadata about this warning in key:
860 # value format. For example:
861 #
862 # &quot;data&quot;: [
863 # {
864 # &quot;key&quot;: &quot;scope&quot;,
865 # &quot;value&quot;: &quot;zones/us-east1-d&quot;
866 # }
867 {
868 &quot;key&quot;: &quot;A String&quot;, # [Output Only] A key that provides more detail on the warning being
869 # returned. For example, for warnings where there are no results in a list
870 # request for a particular zone, this key might be scope and
871 # the key value might be the zone name. Other examples might be a key
872 # indicating a deprecated resource and a suggested replacement, or a
873 # warning about invalid network settings (for example, if an instance
874 # attempts to perform IP forwarding but is not enabled for IP forwarding).
875 &quot;value&quot;: &quot;A String&quot;, # [Output Only] A warning data value corresponding to the key.
876 },
877 ],
878 &quot;message&quot;: &quot;A String&quot;, # [Output Only] A human-readable description of the warning code.
879 },
880 ],
881 &quot;zone&quot;: &quot;A String&quot;, # [Output Only] The URL of the zone where the operation resides. Only
882 # applicable when performing per-zone operations.
883 }</pre>
884 </div>
885
886 <div class="method">
887 <code class="details" id="list">list(project, region, filter=None, maxResults=None, orderBy=None, pageToken=None, returnPartialSuccess=None, x__xgafv=None)</code>
888 <pre>Lists all the SSL policies that have been configured for the specified
889 project and region.
890
891 Args:
892 project: string, Project ID for this request. (required)
893 region: string, Name of the region scoping this request. (required)
894 filter: string, A filter expression that filters resources listed in the response. Most
895 Compute resources support two types of filter expressions:
896 expressions that support regular expressions and expressions that follow
897 API improvement proposal AIP-160.
898 These two types of filter expressions cannot be mixed in one request.
899
900 If you want to use AIP-160, your expression must specify the field name, an
901 operator, and the value that you want to use for filtering. The value
902 must be a string, a number, or a boolean. The operator
903 must be either `=`, `!=`, `&gt;`, `&lt;`, `&lt;=`, `&gt;=` or `:`.
904
905 For example, if you are filtering Compute Engine instances, you can
906 exclude instances named `example-instance` by specifying
907 `name != example-instance`.
908
909 The `:*` comparison can be used to test whether a key has been defined.
910 For example, to find all objects with `owner` label use:
911 ```
912 labels.owner:*
913 ```
914
915 You can also filter nested fields. For example, you could specify
916 `scheduling.automaticRestart = false` to include instances only
917 if they are not scheduled for automatic restarts. You can use filtering
918 on nested fields to filter based onresource labels.
919
920 To filter on multiple expressions, provide each separate expression within
921 parentheses. For example:
922 ```
923 (scheduling.automaticRestart = true)
924 (cpuPlatform = &quot;Intel Skylake&quot;)
925 ```
926 By default, each expression is an `AND` expression. However, you
927 can include `AND` and `OR` expressions explicitly.
928 For example:
929 ```
930 (cpuPlatform = &quot;Intel Skylake&quot;) OR
931 (cpuPlatform = &quot;Intel Broadwell&quot;) AND
932 (scheduling.automaticRestart = true)
933 ```
934
935 If you want to use a regular expression, use the `eq` (equal) or `ne`
936 (not equal) operator against a single un-parenthesized expression with or
937 without quotes or against multiple parenthesized expressions. Examples:
938
939 `fieldname eq unquoted literal`
940 `fieldname eq &#x27;single quoted literal&#x27;`
941 `fieldname eq &quot;double quoted literal&quot;`
942 `(fieldname1 eq literal) (fieldname2 ne &quot;literal&quot;)`
943
944 The literal value is interpreted as a regular expression using GoogleRE2 library syntax.
945 The literal value must match the entire field.
946
947 For example, to filter for instances that do not end with name &quot;instance&quot;,
948 you would use `name ne .*instance`.
949
950 You cannot combine constraints on multiple fields using regular
951 expressions.
952 maxResults: integer, The maximum number of results per page that should be returned.
953 If the number of available results is larger than `maxResults`,
954 Compute Engine returns a `nextPageToken` that can be used to get
955 the next page of results in subsequent list requests. Acceptable values are
956 `0` to `500`, inclusive. (Default: `500`)
957 orderBy: string, Sorts list results by a certain order. By default, results
958 are returned in alphanumerical order based on the resource name.
959
960 You can also sort results in descending order based on the creation
961 timestamp using `orderBy=&quot;creationTimestamp desc&quot;`. This sorts
962 results based on the `creationTimestamp` field in
963 reverse chronological order (newest result first). Use this to sort
964 resources like operations so that the newest operation is returned first.
965
966 Currently, only sorting by `name` or
967 `creationTimestamp desc` is supported.
968 pageToken: string, Specifies a page token to use. Set `pageToken` to the
969 `nextPageToken` returned by a previous list request to get
970 the next page of results.
971 returnPartialSuccess: boolean, Opt-in for partial success behavior which provides partial results in case
972 of failure. The default value is false.
973
974 For example, when partial success behavior is enabled, aggregatedList for a
975 single zone scope either returns all resources in the zone or no resources,
976 with an error code.
977 x__xgafv: string, V1 error format.
978 Allowed values
979 1 - v1 error format
980 2 - v2 error format
981
982 Returns:
983 An object of the form:
984
985 {
986 &quot;id&quot;: &quot;A String&quot;, # Output only. [Output Only] Unique identifier for the resource; defined by the server.
987 &quot;items&quot;: [ # Output only. A list of SslPolicy resources.
988 { # Represents an SSL Policy resource.
989 #
990 # Use SSL policies to control SSL features, such as versions and cipher
991 # suites, that are offered by Application Load Balancers and proxy Network Load
992 # Balancers. For more information, read
993 # SSL policies overview.
994 &quot;creationTimestamp&quot;: &quot;A String&quot;, # Output only. [Output Only] Creation timestamp inRFC3339
995 # text format.
996 &quot;customFeatures&quot;: [ # A list of features enabled when the selected profile is CUSTOM. The
997 # method returns the set of features that can be
998 # specified in this list. This field must be empty if the profile is notCUSTOM.
999 &quot;A String&quot;,
1000 ],
1001 &quot;description&quot;: &quot;A String&quot;, # An optional description of this resource. Provide this property when you
1002 # create the resource.
1003 &quot;enabledFeatures&quot;: [ # Output only. [Output Only] The list of features enabled in the SSL policy.
1004 &quot;A String&quot;,
1005 ],
1006 &quot;fingerprint&quot;: &quot;A String&quot;, # Fingerprint of this resource. A hash of the contents stored in this object.
1007 # This field is used in optimistic locking. This field will be ignored when
1008 # inserting a SslPolicy. An up-to-date fingerprint must be
1009 # provided in order to update the SslPolicy, otherwise the
1010 # request will fail with error 412 conditionNotMet.
1011 #
1012 # To see the latest fingerprint, make a get() request to
1013 # retrieve an SslPolicy.
1014 &quot;id&quot;: &quot;A String&quot;, # Output only. [Output Only] The unique identifier for the resource. This identifier is
1015 # defined by the server.
1016 &quot;kind&quot;: &quot;compute#sslPolicy&quot;, # Output only. [Output only] Type of the resource. Alwayscompute#sslPolicyfor SSL policies.
1017 &quot;minTlsVersion&quot;: &quot;A String&quot;, # The minimum version of SSL protocol that can be used by the clients to
1018 # 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
1019 # must be set to RESTRICTED.
1020 &quot;name&quot;: &quot;A String&quot;, # Name of the resource. The name must be 1-63 characters long, and comply
1021 # with RFC1035. Specifically, the name must be 1-63 characters
1022 # long and match the regular expression
1023 # `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character
1024 # must be a lowercase letter, and all following characters must be a dash,
1025 # lowercase letter, or digit, except the last character, which cannot be a
1026 # dash.
1027 &quot;postQuantumKeyExchange&quot;: &quot;A String&quot;, # One of DEFAULT, ENABLED, orDEFERRED. Controls whether the load balancer negotiates
1028 # X25519MLKEM768 key exchange when clients advertise support for it. When set
1029 # to DEFAULT, or if no SSL Policy is attached to the target
1030 # proxy, the load balancer disallows X25519MLKEM768 key exchange before
1031 # October 2026, and allows it afterward. When set to ENABLED,
1032 # the load balancer allows X25519MLKEM768 key exchange. When set toDEFERRED, the load balancer disallows X25519MLKEM768 key
1033 # exchange until October 2027, and allows it afterward.
1034 &quot;profile&quot;: &quot;A String&quot;, # Profile specifies the set of SSL features that can be used by the load
1035 # 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
1036 # the customFeatures field. If using FIPS_202205,
1037 # the min_tls_version field must be set to TLS_1_2.
1038 &quot;region&quot;: &quot;A String&quot;, # Output only. [Output Only] URL of the region where the regional SSL policy
1039 # resides. This field is not applicable to global SSL policies.
1040 &quot;selfLink&quot;: &quot;A String&quot;, # Output only. [Output Only] Server-defined URL for the resource.
1041 &quot;warnings&quot;: [ # Output only. [Output Only] If potential misconfigurations are detected for this
1042 # SSL policy, this field will be populated with warning messages.
1043 {
1044 &quot;code&quot;: &quot;A String&quot;, # [Output Only] A warning code, if applicable. For example, Compute
1045 # Engine returns NO_RESULTS_ON_PAGE if there
1046 # are no results in the response.
1047 &quot;data&quot;: [ # [Output Only] Metadata about this warning in key:
1048 # value format. For example:
1049 #
1050 # &quot;data&quot;: [
1051 # {
1052 # &quot;key&quot;: &quot;scope&quot;,
1053 # &quot;value&quot;: &quot;zones/us-east1-d&quot;
1054 # }
1055 {
1056 &quot;key&quot;: &quot;A String&quot;, # [Output Only] A key that provides more detail on the warning being
1057 # returned. For example, for warnings where there are no results in a list
1058 # request for a particular zone, this key might be scope and
1059 # the key value might be the zone name. Other examples might be a key
1060 # indicating a deprecated resource and a suggested replacement, or a
1061 # warning about invalid network settings (for example, if an instance
1062 # attempts to perform IP forwarding but is not enabled for IP forwarding).
1063 &quot;value&quot;: &quot;A String&quot;, # [Output Only] A warning data value corresponding to the key.
1064 },
1065 ],
1066 &quot;message&quot;: &quot;A String&quot;, # [Output Only] A human-readable description of the warning code.
1067 },
1068 ],
1069 },
1070 ],
1071 &quot;kind&quot;: &quot;compute#sslPoliciesList&quot;, # Output only. [Output Only] Type of the resource. Alwayscompute#sslPoliciesList for lists of sslPolicies.
1072 &quot;nextPageToken&quot;: &quot;A String&quot;, # Output only. [Output Only] This token allows you to get the next page of results for
1073 # list requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for
1074 # the query parameter pageToken in the next list request.
1075 # Subsequent list requests will have their own nextPageToken to
1076 # continue paging through the results.
1077 &quot;selfLink&quot;: &quot;A String&quot;, # Output only. [Output Only] Server-defined URL for this resource.
1078 &quot;warning&quot;: { # [Output Only] Informational warning message.
1079 &quot;code&quot;: &quot;A String&quot;, # [Output Only] A warning code, if applicable. For example, Compute
1080 # Engine returns NO_RESULTS_ON_PAGE if there
1081 # are no results in the response.
1082 &quot;data&quot;: [ # [Output Only] Metadata about this warning in key:
1083 # value format. For example:
1084 #
1085 # &quot;data&quot;: [
1086 # {
1087 # &quot;key&quot;: &quot;scope&quot;,
1088 # &quot;value&quot;: &quot;zones/us-east1-d&quot;
1089 # }
1090 {
1091 &quot;key&quot;: &quot;A String&quot;, # [Output Only] A key that provides more detail on the warning being
1092 # returned. For example, for warnings where there are no results in a list
1093 # request for a particular zone, this key might be scope and
1094 # the key value might be the zone name. Other examples might be a key
1095 # indicating a deprecated resource and a suggested replacement, or a
1096 # warning about invalid network settings (for example, if an instance
1097 # attempts to perform IP forwarding but is not enabled for IP forwarding).
1098 &quot;value&quot;: &quot;A String&quot;, # [Output Only] A warning data value corresponding to the key.
1099 },
1100 ],
1101 &quot;message&quot;: &quot;A String&quot;, # [Output Only] A human-readable description of the warning code.
1102 },
1103 }</pre>
1104 </div>
1105
1106 <div class="method">
1107 <code class="details" id="listAvailableFeatures">listAvailableFeatures(project, region, filter=None, maxResults=None, orderBy=None, pageToken=None, returnPartialSuccess=None, x__xgafv=None)</code>
1108 <pre>Lists all features that can be specified in the SSL policy when using
1109 custom profile.
1110
1111 Args:
1112 project: string, Project ID for this request. (required)
1113 region: string, Name of the region scoping this request. (required)
1114 filter: string, A filter expression that filters resources listed in the response. Most
1115 Compute resources support two types of filter expressions:
1116 expressions that support regular expressions and expressions that follow
1117 API improvement proposal AIP-160.
1118 These two types of filter expressions cannot be mixed in one request.
1119
1120 If you want to use AIP-160, your expression must specify the field name, an
1121 operator, and the value that you want to use for filtering. The value
1122 must be a string, a number, or a boolean. The operator
1123 must be either `=`, `!=`, `&gt;`, `&lt;`, `&lt;=`, `&gt;=` or `:`.
1124
1125 For example, if you are filtering Compute Engine instances, you can
1126 exclude instances named `example-instance` by specifying
1127 `name != example-instance`.
1128
1129 The `:*` comparison can be used to test whether a key has been defined.
1130 For example, to find all objects with `owner` label use:
1131 ```
1132 labels.owner:*
1133 ```
1134
1135 You can also filter nested fields. For example, you could specify
1136 `scheduling.automaticRestart = false` to include instances only
1137 if they are not scheduled for automatic restarts. You can use filtering
1138 on nested fields to filter based onresource labels.
1139
1140 To filter on multiple expressions, provide each separate expression within
1141 parentheses. For example:
1142 ```
1143 (scheduling.automaticRestart = true)
1144 (cpuPlatform = &quot;Intel Skylake&quot;)
1145 ```
1146 By default, each expression is an `AND` expression. However, you
1147 can include `AND` and `OR` expressions explicitly.
1148 For example:
1149 ```
1150 (cpuPlatform = &quot;Intel Skylake&quot;) OR
1151 (cpuPlatform = &quot;Intel Broadwell&quot;) AND
1152 (scheduling.automaticRestart = true)
1153 ```
1154
1155 If you want to use a regular expression, use the `eq` (equal) or `ne`
1156 (not equal) operator against a single un-parenthesized expression with or
1157 without quotes or against multiple parenthesized expressions. Examples:
1158
1159 `fieldname eq unquoted literal`
1160 `fieldname eq &#x27;single quoted literal&#x27;`
1161 `fieldname eq &quot;double quoted literal&quot;`
1162 `(fieldname1 eq literal) (fieldname2 ne &quot;literal&quot;)`
1163
1164 The literal value is interpreted as a regular expression using GoogleRE2 library syntax.
1165 The literal value must match the entire field.
1166
1167 For example, to filter for instances that do not end with name &quot;instance&quot;,
1168 you would use `name ne .*instance`.
1169
1170 You cannot combine constraints on multiple fields using regular
1171 expressions.
1172 maxResults: integer, The maximum number of results per page that should be returned.
1173 If the number of available results is larger than `maxResults`,
1174 Compute Engine returns a `nextPageToken` that can be used to get
1175 the next page of results in subsequent list requests. Acceptable values are
1176 `0` to `500`, inclusive. (Default: `500`)
1177 orderBy: string, Sorts list results by a certain order. By default, results
1178 are returned in alphanumerical order based on the resource name.
1179
1180 You can also sort results in descending order based on the creation
1181 timestamp using `orderBy=&quot;creationTimestamp desc&quot;`. This sorts
1182 results based on the `creationTimestamp` field in
1183 reverse chronological order (newest result first). Use this to sort
1184 resources like operations so that the newest operation is returned first.
1185
1186 Currently, only sorting by `name` or
1187 `creationTimestamp desc` is supported.
1188 pageToken: string, Specifies a page token to use. Set `pageToken` to the
1189 `nextPageToken` returned by a previous list request to get
1190 the next page of results.
1191 returnPartialSuccess: boolean, Opt-in for partial success behavior which provides partial results in case
1192 of failure. The default value is false.
1193
1194 For example, when partial success behavior is enabled, aggregatedList for a
1195 single zone scope either returns all resources in the zone or no resources,
1196 with an error code.
1197 x__xgafv: string, V1 error format.
1198 Allowed values
1199 1 - v1 error format
1200 2 - v2 error format
1201
1202 Returns:
1203 An object of the form:
1204
1205 {
1206 &quot;features&quot;: [
1207 &quot;A String&quot;,
1208 ],
1209 }</pre>
1210 </div>
1211
1212 <div class="method">
1213 <code class="details" id="list_next">list_next()</code>
1214 <pre>Retrieves the next page of results.
1215
1216 Args:
1217 previous_request: The request for the previous page. (required)
1218 previous_response: The response from the request for the previous page. (required)
1219
1220 Returns:
1221 A request object that you can call &#x27;execute()&#x27; on to request the next
1222 page. Returns None if there are no more items in the collection.
1223 </pre>
1224 </div>
1225
1226 <div class="method">
1227 <code class="details" id="patch">patch(project, region, sslPolicy, body=None, requestId=None, x__xgafv=None)</code>
1228 <pre>Patches the specified SSL policy with the data included in the request.
1229
1230 Args:
1231 project: string, Project ID for this request. (required)
1232 region: string, Name of the region scoping this request. (required)
1233 sslPolicy: string, Name of the SSL policy to update. The name must be 1-63 characters long,
1234 and comply with RFC1035. (required)
1235 body: object, The request body.
1236 The object takes the form of:
1237
1238 { # Represents an SSL Policy resource.
1239 #
1240 # Use SSL policies to control SSL features, such as versions and cipher
1241 # suites, that are offered by Application Load Balancers and proxy Network Load
1242 # Balancers. For more information, read
1243 # SSL policies overview.
1244 &quot;creationTimestamp&quot;: &quot;A String&quot;, # Output only. [Output Only] Creation timestamp inRFC3339
1245 # text format.
1246 &quot;customFeatures&quot;: [ # A list of features enabled when the selected profile is CUSTOM. The
1247 # method returns the set of features that can be
1248 # specified in this list. This field must be empty if the profile is notCUSTOM.
1249 &quot;A String&quot;,
1250 ],
1251 &quot;description&quot;: &quot;A String&quot;, # An optional description of this resource. Provide this property when you
1252 # create the resource.
1253 &quot;enabledFeatures&quot;: [ # Output only. [Output Only] The list of features enabled in the SSL policy.
1254 &quot;A String&quot;,
1255 ],
1256 &quot;fingerprint&quot;: &quot;A String&quot;, # Fingerprint of this resource. A hash of the contents stored in this object.
1257 # This field is used in optimistic locking. This field will be ignored when
1258 # inserting a SslPolicy. An up-to-date fingerprint must be
1259 # provided in order to update the SslPolicy, otherwise the
1260 # request will fail with error 412 conditionNotMet.
1261 #
1262 # To see the latest fingerprint, make a get() request to
1263 # retrieve an SslPolicy.
1264 &quot;id&quot;: &quot;A String&quot;, # Output only. [Output Only] The unique identifier for the resource. This identifier is
1265 # defined by the server.
1266 &quot;kind&quot;: &quot;compute#sslPolicy&quot;, # Output only. [Output only] Type of the resource. Alwayscompute#sslPolicyfor SSL policies.
1267 &quot;minTlsVersion&quot;: &quot;A String&quot;, # The minimum version of SSL protocol that can be used by the clients to
1268 # 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
1269 # must be set to RESTRICTED.
1270 &quot;name&quot;: &quot;A String&quot;, # Name of the resource. The name must be 1-63 characters long, and comply
1271 # with RFC1035. Specifically, the name must be 1-63 characters
1272 # long and match the regular expression
1273 # `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character
1274 # must be a lowercase letter, and all following characters must be a dash,
1275 # lowercase letter, or digit, except the last character, which cannot be a
1276 # dash.
1277 &quot;postQuantumKeyExchange&quot;: &quot;A String&quot;, # One of DEFAULT, ENABLED, orDEFERRED. Controls whether the load balancer negotiates
1278 # X25519MLKEM768 key exchange when clients advertise support for it. When set
1279 # to DEFAULT, or if no SSL Policy is attached to the target
1280 # proxy, the load balancer disallows X25519MLKEM768 key exchange before
1281 # October 2026, and allows it afterward. When set to ENABLED,
1282 # the load balancer allows X25519MLKEM768 key exchange. When set toDEFERRED, the load balancer disallows X25519MLKEM768 key
1283 # exchange until October 2027, and allows it afterward.
1284 &quot;profile&quot;: &quot;A String&quot;, # Profile specifies the set of SSL features that can be used by the load
1285 # 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
1286 # the customFeatures field. If using FIPS_202205,
1287 # the min_tls_version field must be set to TLS_1_2.
1288 &quot;region&quot;: &quot;A String&quot;, # Output only. [Output Only] URL of the region where the regional SSL policy
1289 # resides. This field is not applicable to global SSL policies.
1290 &quot;selfLink&quot;: &quot;A String&quot;, # Output only. [Output Only] Server-defined URL for the resource.
1291 &quot;warnings&quot;: [ # Output only. [Output Only] If potential misconfigurations are detected for this
1292 # SSL policy, this field will be populated with warning messages.
1293 {
1294 &quot;code&quot;: &quot;A String&quot;, # [Output Only] A warning code, if applicable. For example, Compute
1295 # Engine returns NO_RESULTS_ON_PAGE if there
1296 # are no results in the response.
1297 &quot;data&quot;: [ # [Output Only] Metadata about this warning in key:
1298 # value format. For example:
1299 #
1300 # &quot;data&quot;: [
1301 # {
1302 # &quot;key&quot;: &quot;scope&quot;,
1303 # &quot;value&quot;: &quot;zones/us-east1-d&quot;
1304 # }
1305 {
1306 &quot;key&quot;: &quot;A String&quot;, # [Output Only] A key that provides more detail on the warning being
1307 # returned. For example, for warnings where there are no results in a list
1308 # request for a particular zone, this key might be scope and
1309 # the key value might be the zone name. Other examples might be a key
1310 # indicating a deprecated resource and a suggested replacement, or a
1311 # warning about invalid network settings (for example, if an instance
1312 # attempts to perform IP forwarding but is not enabled for IP forwarding).
1313 &quot;value&quot;: &quot;A String&quot;, # [Output Only] A warning data value corresponding to the key.
1314 },
1315 ],
1316 &quot;message&quot;: &quot;A String&quot;, # [Output Only] A human-readable description of the warning code.
1317 },
1318 ],
1319 }
1320
1321 requestId: string, An optional request ID to identify requests. Specify a unique request ID so
1322 that if you must retry your request, the server will know to ignore the
1323 request if it has already been completed.
1324
1325 For example, consider a situation where you make an initial request and
1326 the request times out. If you make the request again with the same
1327 request ID, the server can check if original operation with the same
1328 request ID was received, and if so, will ignore the second request. This
1329 prevents clients from accidentally creating duplicate commitments.
1330
1331 The request ID must be
1332 a valid UUID with the exception that zero UUID is not supported
1333 (00000000-0000-0000-0000-000000000000).
1334 x__xgafv: string, V1 error format.
1335 Allowed values
1336 1 - v1 error format
1337 2 - v2 error format
1338
1339 Returns:
1340 An object of the form:
1341
1342 { # Represents an Operation resource.
1343 #
1344 # Google Compute Engine has three Operation resources:
1345 #
1346 # * [Global](/compute/docs/reference/rest/beta/globalOperations)
1347 # * [Regional](/compute/docs/reference/rest/beta/regionOperations)
1348 # * [Zonal](/compute/docs/reference/rest/beta/zoneOperations)
1349 #
1350 # You can use an operation resource to manage asynchronous API requests.
1351 # For more information, readHandling
1352 # API responses.
1353 #
1354 # Operations can be global, regional or zonal.
1355 #
1356 # - For global operations, use the `globalOperations`
1357 # resource.
1358 # - For regional operations, use the
1359 # `regionOperations` resource.
1360 # - For zonal operations, use
1361 # the `zoneOperations` resource.
1362 #
1363 #
1364 #
1365 # For more information, read
1366 # Global, Regional, and Zonal Resources.
1367 #
1368 # Note that completed Operation resources have a limited
1369 # retention period.
1370 &quot;clientOperationId&quot;: &quot;A String&quot;, # [Output Only] The value of `requestId` if you provided it in the request.
1371 # Not present otherwise.
1372 &quot;creationTimestamp&quot;: &quot;A String&quot;, # [Deprecated] This field is deprecated.
1373 &quot;description&quot;: &quot;A String&quot;, # [Output Only] A textual description of the operation, which is
1374 # set when the operation is created.
1375 &quot;endTime&quot;: &quot;A String&quot;, # [Output Only] The time that this operation was completed. This value is inRFC3339
1376 # text format.
1377 &quot;error&quot;: { # [Output Only] If errors are generated during processing of the operation,
1378 # this field will be populated.
1379 &quot;errors&quot;: [ # [Output Only] The array of errors encountered while processing this
1380 # operation.
1381 {
1382 &quot;code&quot;: &quot;A String&quot;, # [Output Only] The error type identifier for this error.
1383 &quot;errorDetails&quot;: [ # [Output Only] An optional list of messages that contain the error
1384 # details. There is a set of defined message types to use for providing
1385 # details.The syntax depends on the error code. For example,
1386 # QuotaExceededInfo will have details when the error code is
1387 # QUOTA_EXCEEDED.
1388 {
1389 &quot;errorInfo&quot;: { # Describes the cause of the error with structured details.
1390 #
1391 # Example of an error when contacting the &quot;pubsub.googleapis.com&quot; API when it
1392 # is not enabled:
1393 #
1394 # { &quot;reason&quot;: &quot;API_DISABLED&quot;
1395 # &quot;domain&quot;: &quot;googleapis.com&quot;
1396 # &quot;metadata&quot;: {
1397 # &quot;resource&quot;: &quot;projects/123&quot;,
1398 # &quot;service&quot;: &quot;pubsub.googleapis.com&quot;
1399 # }
1400 # }
1401 #
1402 # This response indicates that the pubsub.googleapis.com API is not enabled.
1403 #
1404 # Example of an error that is returned when attempting to create a Spanner
1405 # instance in a region that is out of stock:
1406 #
1407 # { &quot;reason&quot;: &quot;STOCKOUT&quot;
1408 # &quot;domain&quot;: &quot;spanner.googleapis.com&quot;,
1409 # &quot;metadata&quot;: {
1410 # &quot;availableRegions&quot;: &quot;us-central1,us-east2&quot;
1411 # }
1412 # }
1413 &quot;domain&quot;: &quot;A String&quot;, # The logical grouping to which the &quot;reason&quot; belongs. The error domain
1414 # is typically the registered service name of the tool or product that
1415 # generates the error. Example: &quot;pubsub.googleapis.com&quot;. If the error is
1416 # generated by some common infrastructure, the error domain must be a
1417 # globally unique value that identifies the infrastructure. For Google API
1418 # infrastructure, the error domain is &quot;googleapis.com&quot;.
1419 &quot;metadatas&quot;: { # Additional structured details about this error.
1420 #
1421 # Keys must match a regular expression of `a-z+` but should
1422 # ideally be lowerCamelCase. Also, they must be limited to 64 characters in
1423 # length. When identifying the current value of an exceeded limit, the units
1424 # should be contained in the key, not the value. For example, rather than
1425 # `{&quot;instanceLimit&quot;: &quot;100/request&quot;}`, should be returned as,
1426 # `{&quot;instanceLimitPerRequest&quot;: &quot;100&quot;}`, if the client exceeds the number of
1427 # instances that can be created in a single (batch) request.
1428 &quot;a_key&quot;: &quot;A String&quot;,
1429 },
1430 &quot;reason&quot;: &quot;A String&quot;, # The reason of the error. This is a constant value that identifies the
1431 # proximate cause of the error. Error reasons are unique within a particular
1432 # domain of errors. This should be at most 63 characters and match a
1433 # regular expression of `A-Z+[A-Z0-9]`, which represents
1434 # UPPER_SNAKE_CASE.
1435 },
1436 &quot;help&quot;: { # Provides links to documentation or for performing an out of band action.
1437 #
1438 # For example, if a quota check failed with an error indicating the calling
1439 # project hasn&#x27;t enabled the accessed service, this can contain a URL pointing
1440 # directly to the right place in the developer console to flip the bit.
1441 &quot;links&quot;: [ # URL(s) pointing to additional information on handling the current error.
1442 { # Describes a URL link.
1443 &quot;description&quot;: &quot;A String&quot;, # Describes what the link offers.
1444 &quot;url&quot;: &quot;A String&quot;, # The URL of the link.
1445 },
1446 ],
1447 },
1448 &quot;localizedMessage&quot;: { # Provides a localized error message that is safe to return to the user
1449 # which can be attached to an RPC error.
1450 &quot;locale&quot;: &quot;A String&quot;, # The locale used following the specification defined at
1451 # https://www.rfc-editor.org/rfc/bcp/bcp47.txt.
1452 # Examples are: &quot;en-US&quot;, &quot;fr-CH&quot;, &quot;es-MX&quot;
1453 &quot;message&quot;: &quot;A String&quot;, # The localized error message in the above locale.
1454 },
1455 &quot;quotaInfo&quot;: { # Additional details for quota exceeded error for resource quota.
1456 &quot;dimensions&quot;: { # The map holding related quota dimensions.
1457 &quot;a_key&quot;: &quot;A String&quot;,
1458 },
1459 &quot;futureLimit&quot;: 3.14, # Future quota limit being rolled out. The limit&#x27;s unit depends on the quota
1460 # type or metric.
1461 &quot;limit&quot;: 3.14, # Current effective quota limit. The limit&#x27;s unit depends on the quota type
1462 # or metric.
1463 &quot;limitName&quot;: &quot;A String&quot;, # The name of the quota limit.
1464 &quot;metricName&quot;: &quot;A String&quot;, # The Compute Engine quota metric name.
1465 &quot;rolloutStatus&quot;: &quot;A String&quot;, # Rollout status of the future quota limit.
1466 },
1467 },
1468 ],
1469 &quot;location&quot;: &quot;A String&quot;, # [Output Only] Indicates the field in the request that caused the error.
1470 # This property is optional.
1471 &quot;message&quot;: &quot;A String&quot;, # [Output Only] An optional, human-readable error message.
1472 },
1473 ],
1474 },
1475 &quot;getVersionOperationMetadata&quot;: {
1476 &quot;inlineSbomInfo&quot;: {
1477 &quot;currentComponentVersions&quot;: { # A mapping of components to their currently-applied versions or other
1478 # appropriate identifiers.
1479 &quot;a_key&quot;: &quot;A String&quot;,
1480 },
1481 &quot;targetComponentVersions&quot;: { # A mapping of components to their target versions or other appropriate
1482 # identifiers.
1483 &quot;a_key&quot;: &quot;A String&quot;,
1484 },
1485 },
1486 },
1487 &quot;httpErrorMessage&quot;: &quot;A String&quot;, # [Output Only] If the operation fails, this field contains the HTTP error
1488 # message that was returned, such as `NOT FOUND`.
1489 &quot;httpErrorStatusCode&quot;: 42, # [Output Only] If the operation fails, this field contains the HTTP error
1490 # status code that was returned. For example, a `404` means the
1491 # resource was not found.
1492 &quot;id&quot;: &quot;A String&quot;, # [Output Only] The unique identifier for the operation. This identifier is
1493 # defined by the server.
1494 &quot;insertTime&quot;: &quot;A String&quot;, # [Output Only] The time that this operation was requested.
1495 # This value is inRFC3339
1496 # text format.
1497 &quot;instancesBulkInsertOperationMetadata&quot;: {
1498 &quot;perLocationStatus&quot;: { # Status information per location (location name is key).
1499 # Example key: zones/us-central1-a
1500 &quot;a_key&quot;: {
1501 &quot;createdVmCount&quot;: 42, # [Output Only] Count of VMs successfully created so far.
1502 &quot;deletedVmCount&quot;: 42, # [Output Only] Count of VMs that got deleted during rollback.
1503 &quot;failedToCreateVmCount&quot;: 42, # [Output Only] Count of VMs that started creating but encountered an
1504 # error.
1505 &quot;status&quot;: &quot;A String&quot;, # [Output Only] Creation status of BulkInsert operation - information
1506 # if the flow is rolling forward or rolling back.
1507 &quot;targetVmCount&quot;: 42, # [Output Only] Count of VMs originally planned to be created.
1508 },
1509 },
1510 },
1511 &quot;kind&quot;: &quot;compute#operation&quot;, # Output only. [Output Only] Type of the resource. Always `compute#operation` for
1512 # Operation resources.
1513 &quot;name&quot;: &quot;A String&quot;, # [Output Only] Name of the operation.
1514 &quot;operationGroupId&quot;: &quot;A String&quot;, # Output only. [Output Only] An ID that represents a group of operations, such as when a
1515 # group of operations results from a `bulkInsert` API request.
1516 &quot;operationType&quot;: &quot;A String&quot;, # [Output Only] The type of operation, such as `insert`,
1517 # `update`, or `delete`, and so on.
1518 &quot;progress&quot;: 42, # [Output Only] An optional progress indicator that ranges from 0 to 100.
1519 # There is no requirement that this be linear or support any granularity of
1520 # operations. This should not be used to guess when the operation will be
1521 # complete. This number should monotonically increase as the operation
1522 # progresses.
1523 &quot;region&quot;: &quot;A String&quot;, # [Output Only] The URL of the region where the operation resides. Only
1524 # applicable when performing regional operations.
1525 &quot;selfLink&quot;: &quot;A String&quot;, # [Output Only] Server-defined URL for the resource.
1526 &quot;setCommonInstanceMetadataOperationMetadata&quot;: { # Output only. [Output Only] If the operation is for projects.setCommonInstanceMetadata,
1527 # this field will contain information on all underlying zonal actions and
1528 # their state.
1529 &quot;clientOperationId&quot;: &quot;A String&quot;, # [Output Only] The client operation id.
1530 &quot;perLocationOperations&quot;: { # [Output Only] Status information per location (location name is key).
1531 # Example key: zones/us-central1-a
1532 &quot;a_key&quot;: {
1533 &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
1534 # populated.
1535 # different programming environments, including REST APIs and RPC APIs. It is
1536 # used by [gRPC](https://github.com/grpc). Each `Status` message contains
1537 # three pieces of data: error code, error message, and error details.
1538 #
1539 # You can find out more about this error model and how to work with it in the
1540 # [API Design Guide](https://cloud.google.com/apis/design/errors).
1541 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
1542 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of
1543 # message types for APIs to use.
1544 {
1545 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
1546 },
1547 ],
1548 &quot;message&quot;: &quot;A String&quot;, # A developer-facing error message, which should be in English. Any
1549 # user-facing error message should be localized and sent in the
1550 # google.rpc.Status.details field, or localized by the client.
1551 },
1552 &quot;state&quot;: &quot;A String&quot;, # [Output Only] Status of the action, which can be one of the following:
1553 # `PROPAGATING`, `PROPAGATED`, `ABANDONED`, `FAILED`, or `DONE`.
1554 },
1555 },
1556 },
1557 &quot;startTime&quot;: &quot;A String&quot;, # [Output Only] The time that this operation was started by the server.
1558 # This value is inRFC3339
1559 # text format.
1560 &quot;status&quot;: &quot;A String&quot;, # [Output Only] The status of the operation, which can be one of the
1561 # following:
1562 # `PENDING`, `RUNNING`, or `DONE`.
1563 &quot;statusMessage&quot;: &quot;A String&quot;, # [Output Only] An optional textual description of the current status of the
1564 # operation.
1565 &quot;targetId&quot;: &quot;A String&quot;, # [Output Only] The unique target ID, which identifies a specific incarnation
1566 # of the target resource.
1567 &quot;targetLink&quot;: &quot;A String&quot;, # [Output Only] The URL of the resource that the operation modifies. For
1568 # operations related to creating a snapshot, this points to the disk
1569 # that the snapshot was created from.
1570 &quot;user&quot;: &quot;A String&quot;, # [Output Only] User who requested the operation, for example:
1571 # `[email protected]` or
1572 # `alice_smith_identifier (global/workforcePools/example-com-us-employees)`.
1573 &quot;warnings&quot;: [ # [Output Only] If warning messages are generated during processing of the
1574 # operation, this field will be populated.
1575 {
1576 &quot;code&quot;: &quot;A String&quot;, # [Output Only] A warning code, if applicable. For example, Compute
1577 # Engine returns NO_RESULTS_ON_PAGE if there
1578 # are no results in the response.
1579 &quot;data&quot;: [ # [Output Only] Metadata about this warning in key:
1580 # value format. For example:
1581 #
1582 # &quot;data&quot;: [
1583 # {
1584 # &quot;key&quot;: &quot;scope&quot;,
1585 # &quot;value&quot;: &quot;zones/us-east1-d&quot;
1586 # }
1587 {
1588 &quot;key&quot;: &quot;A String&quot;, # [Output Only] A key that provides more detail on the warning being
1589 # returned. For example, for warnings where there are no results in a list
1590 # request for a particular zone, this key might be scope and
1591 # the key value might be the zone name. Other examples might be a key
1592 # indicating a deprecated resource and a suggested replacement, or a
1593 # warning about invalid network settings (for example, if an instance
1594 # attempts to perform IP forwarding but is not enabled for IP forwarding).
1595 &quot;value&quot;: &quot;A String&quot;, # [Output Only] A warning data value corresponding to the key.
1596 },
1597 ],
1598 &quot;message&quot;: &quot;A String&quot;, # [Output Only] A human-readable description of the warning code.
1599 },
1600 ],
1601 &quot;zone&quot;: &quot;A String&quot;, # [Output Only] The URL of the zone where the operation resides. Only
1602 # applicable when performing per-zone operations.
1603 }</pre>
1604 </div>
1605
1606 <div class="method">
1607 <code class="details" id="testIamPermissions">testIamPermissions(project, region, resource, body=None, x__xgafv=None)</code>
1608 <pre>Returns permissions that a caller has on the specified resource.
1609
1610 Args:
1611 project: string, Project ID for this request. (required)
1612 region: string, The name of the region for this request. (required)
1613 resource: string, Name or id of the resource for this request. (required)
1614 body: object, The request body.
1615 The object takes the form of:
1616
1617 {
1618 &quot;permissions&quot;: [ # The set of permissions to check for the &#x27;resource&#x27;. Permissions with
1619 # wildcards (such as &#x27;*&#x27; or &#x27;storage.*&#x27;) are not allowed.
1620 &quot;A String&quot;,
1621 ],
1622 }
1623
1624 x__xgafv: string, V1 error format.
1625 Allowed values
1626 1 - v1 error format
1627 2 - v2 error format
1628
1629 Returns:
1630 An object of the form:
1631
1632 {
1633 &quot;permissions&quot;: [ # A subset of `TestPermissionsRequest.permissions` that the caller is
1634 # allowed.
1635 &quot;A String&quot;,
1636 ],
1637 }</pre>
1638 </div>
1639
1640 </body></html>