Debian Codegraph @

docs/dyn/compute_beta.networkEdgeSecurityServices.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.networkEdgeSecurityServices.html">networkEdgeSecurityServices</a></h1>
76 <h2>Instance Methods</h2>
77 <p class="toc_element">
78 <code><a href="#aggregatedList">aggregatedList(project, filter=None, includeAllScopes=None, maxResults=None, orderBy=None, pageToken=None, returnPartialSuccess=None, serviceProjectNumber=None, x__xgafv=None)</a></code></p>
79 <p class="firstline">Retrieves the list of all NetworkEdgeSecurityService resources available to</p>
80 <p class="toc_element">
81 <code><a href="#aggregatedList_next">aggregatedList_next()</a></code></p>
82 <p class="firstline">Retrieves the next page of results.</p>
83 <p class="toc_element">
84 <code><a href="#close">close()</a></code></p>
85 <p class="firstline">Close httplib2 connections.</p>
86 <p class="toc_element">
87 <code><a href="#delete">delete(project, region, networkEdgeSecurityService, requestId=None, x__xgafv=None)</a></code></p>
88 <p class="firstline">Deletes the specified service.</p>
89 <p class="toc_element">
90 <code><a href="#get">get(project, region, networkEdgeSecurityService, x__xgafv=None)</a></code></p>
91 <p class="firstline">Gets a specified NetworkEdgeSecurityService.</p>
92 <p class="toc_element">
93 <code><a href="#insert">insert(project, region, body=None, requestId=None, validateOnly=None, x__xgafv=None)</a></code></p>
94 <p class="firstline">Creates a new service in the specified project using the data included in</p>
95 <p class="toc_element">
96 <code><a href="#patch">patch(project, region, networkEdgeSecurityService, body=None, paths=None, requestId=None, updateMask=None, x__xgafv=None)</a></code></p>
97 <p class="firstline">Patches the specified policy with the data included in the request.</p>
98 <h3>Method Details</h3>
99 <div class="method">
100 <code class="details" id="aggregatedList">aggregatedList(project, filter=None, includeAllScopes=None, maxResults=None, orderBy=None, pageToken=None, returnPartialSuccess=None, serviceProjectNumber=None, x__xgafv=None)</code>
101 <pre>Retrieves the list of all NetworkEdgeSecurityService resources available to
102 the specified project.
103
104 To prevent failure, Google recommends that you set the
105 `returnPartialSuccess` parameter to `true`.
106
107 Args:
108 project: string, Name of the project scoping this request. (required)
109 filter: string, A filter expression that filters resources listed in the response. Most
110 Compute resources support two types of filter expressions:
111 expressions that support regular expressions and expressions that follow
112 API improvement proposal AIP-160.
113 These two types of filter expressions cannot be mixed in one request.
114
115 If you want to use AIP-160, your expression must specify the field name, an
116 operator, and the value that you want to use for filtering. The value
117 must be a string, a number, or a boolean. The operator
118 must be either `=`, `!=`, `&gt;`, `&lt;`, `&lt;=`, `&gt;=` or `:`.
119
120 For example, if you are filtering Compute Engine instances, you can
121 exclude instances named `example-instance` by specifying
122 `name != example-instance`.
123
124 The `:*` comparison can be used to test whether a key has been defined.
125 For example, to find all objects with `owner` label use:
126 ```
127 labels.owner:*
128 ```
129
130 You can also filter nested fields. For example, you could specify
131 `scheduling.automaticRestart = false` to include instances only
132 if they are not scheduled for automatic restarts. You can use filtering
133 on nested fields to filter based onresource labels.
134
135 To filter on multiple expressions, provide each separate expression within
136 parentheses. For example:
137 ```
138 (scheduling.automaticRestart = true)
139 (cpuPlatform = &quot;Intel Skylake&quot;)
140 ```
141 By default, each expression is an `AND` expression. However, you
142 can include `AND` and `OR` expressions explicitly.
143 For example:
144 ```
145 (cpuPlatform = &quot;Intel Skylake&quot;) OR
146 (cpuPlatform = &quot;Intel Broadwell&quot;) AND
147 (scheduling.automaticRestart = true)
148 ```
149
150 If you want to use a regular expression, use the `eq` (equal) or `ne`
151 (not equal) operator against a single un-parenthesized expression with or
152 without quotes or against multiple parenthesized expressions. Examples:
153
154 `fieldname eq unquoted literal`
155 `fieldname eq &#x27;single quoted literal&#x27;`
156 `fieldname eq &quot;double quoted literal&quot;`
157 `(fieldname1 eq literal) (fieldname2 ne &quot;literal&quot;)`
158
159 The literal value is interpreted as a regular expression using GoogleRE2 library syntax.
160 The literal value must match the entire field.
161
162 For example, to filter for instances that do not end with name &quot;instance&quot;,
163 you would use `name ne .*instance`.
164
165 You cannot combine constraints on multiple fields using regular
166 expressions.
167 includeAllScopes: boolean, Indicates whether every visible scope for each scope type (zone, region,
168 global) should be included in the response. For new resource types added
169 after this field, the flag has no effect as new resource types will always
170 include every visible scope for each scope type in response. For resource
171 types which predate this field, if this flag is omitted or false, only
172 scopes of the scope types where the resource type is expected to be found
173 will be included.
174 maxResults: integer, The maximum number of results per page that should be returned.
175 If the number of available results is larger than `maxResults`,
176 Compute Engine returns a `nextPageToken` that can be used to get
177 the next page of results in subsequent list requests. Acceptable values are
178 `0` to `500`, inclusive. (Default: `500`)
179 orderBy: string, Sorts list results by a certain order. By default, results
180 are returned in alphanumerical order based on the resource name.
181
182 You can also sort results in descending order based on the creation
183 timestamp using `orderBy=&quot;creationTimestamp desc&quot;`. This sorts
184 results based on the `creationTimestamp` field in
185 reverse chronological order (newest result first). Use this to sort
186 resources like operations so that the newest operation is returned first.
187
188 Currently, only sorting by `name` or
189 `creationTimestamp desc` is supported.
190 pageToken: string, Specifies a page token to use. Set `pageToken` to the
191 `nextPageToken` returned by a previous list request to get
192 the next page of results.
193 returnPartialSuccess: boolean, Opt-in for partial success behavior which provides partial results in case
194 of failure. The default value is false.
195
196 For example, when partial success behavior is enabled, aggregatedList for a
197 single zone scope either returns all resources in the zone or no resources,
198 with an error code.
199 serviceProjectNumber: string, The Shared VPC service project id or service project number for which
200 aggregated list request is invoked for subnetworks list-usable api.
201 x__xgafv: string, V1 error format.
202 Allowed values
203 1 - v1 error format
204 2 - v2 error format
205
206 Returns:
207 An object of the form:
208
209 {
210 &quot;etag&quot;: &quot;A String&quot;,
211 &quot;id&quot;: &quot;A String&quot;, # [Output Only] Unique identifier for the resource; defined by the server.
212 &quot;items&quot;: { # A list of NetworkEdgeSecurityServicesScopedList resources.
213 &quot;a_key&quot;: { # Name of the scope containing this set of security policies.
214 &quot;networkEdgeSecurityServices&quot;: [ # A list of NetworkEdgeSecurityServices contained in this scope.
215 { # Represents a Google Cloud Armor network edge security service resource.
216 &quot;creationTimestamp&quot;: &quot;A String&quot;, # Output only. [Output Only] Creation timestamp inRFC3339
217 # text format.
218 &quot;description&quot;: &quot;A String&quot;, # An optional description of this resource. Provide this property when you
219 # create the resource.
220 &quot;fingerprint&quot;: &quot;A String&quot;, # Fingerprint of this resource. A hash of the contents stored in this object.
221 # This field is used in optimistic locking. This field will be ignored when
222 # inserting a NetworkEdgeSecurityService. An up-to-date fingerprint must be
223 # provided in order to update the NetworkEdgeSecurityService,
224 # otherwise the request will fail with error412 conditionNotMet.
225 #
226 # To see the latest fingerprint, make a get() request to
227 # retrieve a NetworkEdgeSecurityService.
228 &quot;id&quot;: &quot;A String&quot;, # Output only. [Output Only] The unique identifier for the resource. This identifier is
229 # defined by the server.
230 &quot;kind&quot;: &quot;compute#networkEdgeSecurityService&quot;, # Output only. [Output only] Type of the resource. Alwayscompute#networkEdgeSecurityService for
231 # NetworkEdgeSecurityServices
232 &quot;name&quot;: &quot;A String&quot;, # Name of the resource. Provided by the client when the resource is created.
233 # The name must be 1-63 characters long, and comply withRFC1035.
234 # Specifically, the name must be 1-63 characters long and match the regular
235 # expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first
236 # character must be a lowercase letter, and all following characters must
237 # be a dash, lowercase letter, or digit, except the last character, which
238 # cannot be a dash.
239 &quot;region&quot;: &quot;A String&quot;, # Output only. [Output Only] URL of the region where the resource resides. You must
240 # specify this field as part of the HTTP request URL. It is not settable as a
241 # field in the request body.
242 &quot;securityPolicy&quot;: &quot;A String&quot;, # The resource URL for the network edge security service associated with this
243 # network edge security service.
244 &quot;selfLink&quot;: &quot;A String&quot;, # Output only. [Output Only] Server-defined URL for the resource.
245 &quot;selfLinkWithId&quot;: &quot;A String&quot;, # Output only. [Output Only] Server-defined URL for this resource with the resource id.
246 },
247 ],
248 &quot;warning&quot;: { # Informational warning which replaces the list of
249 # security policies when the list is empty.
250 &quot;code&quot;: &quot;A String&quot;, # [Output Only] A warning code, if applicable. For example, Compute
251 # Engine returns NO_RESULTS_ON_PAGE if there
252 # are no results in the response.
253 &quot;data&quot;: [ # [Output Only] Metadata about this warning in key:
254 # value format. For example:
255 #
256 # &quot;data&quot;: [
257 # {
258 # &quot;key&quot;: &quot;scope&quot;,
259 # &quot;value&quot;: &quot;zones/us-east1-d&quot;
260 # }
261 {
262 &quot;key&quot;: &quot;A String&quot;, # [Output Only] A key that provides more detail on the warning being
263 # returned. For example, for warnings where there are no results in a list
264 # request for a particular zone, this key might be scope and
265 # the key value might be the zone name. Other examples might be a key
266 # indicating a deprecated resource and a suggested replacement, or a
267 # warning about invalid network settings (for example, if an instance
268 # attempts to perform IP forwarding but is not enabled for IP forwarding).
269 &quot;value&quot;: &quot;A String&quot;, # [Output Only] A warning data value corresponding to the key.
270 },
271 ],
272 &quot;message&quot;: &quot;A String&quot;, # [Output Only] A human-readable description of the warning code.
273 },
274 },
275 },
276 &quot;kind&quot;: &quot;compute#networkEdgeSecurityServiceAggregatedList&quot;, # Output only. [Output Only] Type of resource. Alwayscompute#networkEdgeSecurityServiceAggregatedList for lists of
277 # Network Edge Security Services.
278 &quot;nextPageToken&quot;: &quot;A String&quot;, # [Output Only] This token allows you to get the next page of results for
279 # list requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for
280 # the query parameter pageToken in the next list request.
281 # Subsequent list requests will have their own nextPageToken to
282 # continue paging through the results.
283 &quot;selfLink&quot;: &quot;A String&quot;, # Output only. [Output Only] Server-defined URL for this resource.
284 &quot;unreachables&quot;: [ # Output only. [Output Only] Unreachable resources.
285 &quot;A String&quot;,
286 ],
287 &quot;warning&quot;: { # [Output Only] Informational warning message.
288 &quot;code&quot;: &quot;A String&quot;, # [Output Only] A warning code, if applicable. For example, Compute
289 # Engine returns NO_RESULTS_ON_PAGE if there
290 # are no results in the response.
291 &quot;data&quot;: [ # [Output Only] Metadata about this warning in key:
292 # value format. For example:
293 #
294 # &quot;data&quot;: [
295 # {
296 # &quot;key&quot;: &quot;scope&quot;,
297 # &quot;value&quot;: &quot;zones/us-east1-d&quot;
298 # }
299 {
300 &quot;key&quot;: &quot;A String&quot;, # [Output Only] A key that provides more detail on the warning being
301 # returned. For example, for warnings where there are no results in a list
302 # request for a particular zone, this key might be scope and
303 # the key value might be the zone name. Other examples might be a key
304 # indicating a deprecated resource and a suggested replacement, or a
305 # warning about invalid network settings (for example, if an instance
306 # attempts to perform IP forwarding but is not enabled for IP forwarding).
307 &quot;value&quot;: &quot;A String&quot;, # [Output Only] A warning data value corresponding to the key.
308 },
309 ],
310 &quot;message&quot;: &quot;A String&quot;, # [Output Only] A human-readable description of the warning code.
311 },
312 }</pre>
313 </div>
314
315 <div class="method">
316 <code class="details" id="aggregatedList_next">aggregatedList_next()</code>
317 <pre>Retrieves the next page of results.
318
319 Args:
320 previous_request: The request for the previous page. (required)
321 previous_response: The response from the request for the previous page. (required)
322
323 Returns:
324 A request object that you can call &#x27;execute()&#x27; on to request the next
325 page. Returns None if there are no more items in the collection.
326 </pre>
327 </div>
328
329 <div class="method">
330 <code class="details" id="close">close()</code>
331 <pre>Close httplib2 connections.</pre>
332 </div>
333
334 <div class="method">
335 <code class="details" id="delete">delete(project, region, networkEdgeSecurityService, requestId=None, x__xgafv=None)</code>
336 <pre>Deletes the specified service.
337
338 Args:
339 project: string, Project ID for this request. (required)
340 region: string, Name of the region scoping this request. (required)
341 networkEdgeSecurityService: string, Name of the network edge security service to delete. (required)
342 requestId: string, An optional request ID to identify requests. Specify a unique request ID so
343 that if you must retry your request, the server will know to ignore the
344 request if it has already been completed.
345
346 For example, consider a situation where you make an initial request and
347 the request times out. If you make the request again with the same
348 request ID, the server can check if original operation with the same
349 request ID was received, and if so, will ignore the second request. This
350 prevents clients from accidentally creating duplicate commitments.
351
352 The request ID must be
353 a valid UUID with the exception that zero UUID is not supported
354 (00000000-0000-0000-0000-000000000000).
355 x__xgafv: string, V1 error format.
356 Allowed values
357 1 - v1 error format
358 2 - v2 error format
359
360 Returns:
361 An object of the form:
362
363 { # Represents an Operation resource.
364 #
365 # Google Compute Engine has three Operation resources:
366 #
367 # * [Global](/compute/docs/reference/rest/beta/globalOperations)
368 # * [Regional](/compute/docs/reference/rest/beta/regionOperations)
369 # * [Zonal](/compute/docs/reference/rest/beta/zoneOperations)
370 #
371 # You can use an operation resource to manage asynchronous API requests.
372 # For more information, readHandling
373 # API responses.
374 #
375 # Operations can be global, regional or zonal.
376 #
377 # - For global operations, use the `globalOperations`
378 # resource.
379 # - For regional operations, use the
380 # `regionOperations` resource.
381 # - For zonal operations, use
382 # the `zoneOperations` resource.
383 #
384 #
385 #
386 # For more information, read
387 # Global, Regional, and Zonal Resources.
388 #
389 # Note that completed Operation resources have a limited
390 # retention period.
391 &quot;clientOperationId&quot;: &quot;A String&quot;, # [Output Only] The value of `requestId` if you provided it in the request.
392 # Not present otherwise.
393 &quot;creationTimestamp&quot;: &quot;A String&quot;, # [Deprecated] This field is deprecated.
394 &quot;description&quot;: &quot;A String&quot;, # [Output Only] A textual description of the operation, which is
395 # set when the operation is created.
396 &quot;endTime&quot;: &quot;A String&quot;, # [Output Only] The time that this operation was completed. This value is inRFC3339
397 # text format.
398 &quot;error&quot;: { # [Output Only] If errors are generated during processing of the operation,
399 # this field will be populated.
400 &quot;errors&quot;: [ # [Output Only] The array of errors encountered while processing this
401 # operation.
402 {
403 &quot;code&quot;: &quot;A String&quot;, # [Output Only] The error type identifier for this error.
404 &quot;errorDetails&quot;: [ # [Output Only] An optional list of messages that contain the error
405 # details. There is a set of defined message types to use for providing
406 # details.The syntax depends on the error code. For example,
407 # QuotaExceededInfo will have details when the error code is
408 # QUOTA_EXCEEDED.
409 {
410 &quot;errorInfo&quot;: { # Describes the cause of the error with structured details.
411 #
412 # Example of an error when contacting the &quot;pubsub.googleapis.com&quot; API when it
413 # is not enabled:
414 #
415 # { &quot;reason&quot;: &quot;API_DISABLED&quot;
416 # &quot;domain&quot;: &quot;googleapis.com&quot;
417 # &quot;metadata&quot;: {
418 # &quot;resource&quot;: &quot;projects/123&quot;,
419 # &quot;service&quot;: &quot;pubsub.googleapis.com&quot;
420 # }
421 # }
422 #
423 # This response indicates that the pubsub.googleapis.com API is not enabled.
424 #
425 # Example of an error that is returned when attempting to create a Spanner
426 # instance in a region that is out of stock:
427 #
428 # { &quot;reason&quot;: &quot;STOCKOUT&quot;
429 # &quot;domain&quot;: &quot;spanner.googleapis.com&quot;,
430 # &quot;metadata&quot;: {
431 # &quot;availableRegions&quot;: &quot;us-central1,us-east2&quot;
432 # }
433 # }
434 &quot;domain&quot;: &quot;A String&quot;, # The logical grouping to which the &quot;reason&quot; belongs. The error domain
435 # is typically the registered service name of the tool or product that
436 # generates the error. Example: &quot;pubsub.googleapis.com&quot;. If the error is
437 # generated by some common infrastructure, the error domain must be a
438 # globally unique value that identifies the infrastructure. For Google API
439 # infrastructure, the error domain is &quot;googleapis.com&quot;.
440 &quot;metadatas&quot;: { # Additional structured details about this error.
441 #
442 # Keys must match a regular expression of `a-z+` but should
443 # ideally be lowerCamelCase. Also, they must be limited to 64 characters in
444 # length. When identifying the current value of an exceeded limit, the units
445 # should be contained in the key, not the value. For example, rather than
446 # `{&quot;instanceLimit&quot;: &quot;100/request&quot;}`, should be returned as,
447 # `{&quot;instanceLimitPerRequest&quot;: &quot;100&quot;}`, if the client exceeds the number of
448 # instances that can be created in a single (batch) request.
449 &quot;a_key&quot;: &quot;A String&quot;,
450 },
451 &quot;reason&quot;: &quot;A String&quot;, # The reason of the error. This is a constant value that identifies the
452 # proximate cause of the error. Error reasons are unique within a particular
453 # domain of errors. This should be at most 63 characters and match a
454 # regular expression of `A-Z+[A-Z0-9]`, which represents
455 # UPPER_SNAKE_CASE.
456 },
457 &quot;help&quot;: { # Provides links to documentation or for performing an out of band action.
458 #
459 # For example, if a quota check failed with an error indicating the calling
460 # project hasn&#x27;t enabled the accessed service, this can contain a URL pointing
461 # directly to the right place in the developer console to flip the bit.
462 &quot;links&quot;: [ # URL(s) pointing to additional information on handling the current error.
463 { # Describes a URL link.
464 &quot;description&quot;: &quot;A String&quot;, # Describes what the link offers.
465 &quot;url&quot;: &quot;A String&quot;, # The URL of the link.
466 },
467 ],
468 },
469 &quot;localizedMessage&quot;: { # Provides a localized error message that is safe to return to the user
470 # which can be attached to an RPC error.
471 &quot;locale&quot;: &quot;A String&quot;, # The locale used following the specification defined at
472 # https://www.rfc-editor.org/rfc/bcp/bcp47.txt.
473 # Examples are: &quot;en-US&quot;, &quot;fr-CH&quot;, &quot;es-MX&quot;
474 &quot;message&quot;: &quot;A String&quot;, # The localized error message in the above locale.
475 },
476 &quot;quotaInfo&quot;: { # Additional details for quota exceeded error for resource quota.
477 &quot;dimensions&quot;: { # The map holding related quota dimensions.
478 &quot;a_key&quot;: &quot;A String&quot;,
479 },
480 &quot;futureLimit&quot;: 3.14, # Future quota limit being rolled out. The limit&#x27;s unit depends on the quota
481 # type or metric.
482 &quot;limit&quot;: 3.14, # Current effective quota limit. The limit&#x27;s unit depends on the quota type
483 # or metric.
484 &quot;limitName&quot;: &quot;A String&quot;, # The name of the quota limit.
485 &quot;metricName&quot;: &quot;A String&quot;, # The Compute Engine quota metric name.
486 &quot;rolloutStatus&quot;: &quot;A String&quot;, # Rollout status of the future quota limit.
487 },
488 },
489 ],
490 &quot;location&quot;: &quot;A String&quot;, # [Output Only] Indicates the field in the request that caused the error.
491 # This property is optional.
492 &quot;message&quot;: &quot;A String&quot;, # [Output Only] An optional, human-readable error message.
493 },
494 ],
495 },
496 &quot;getVersionOperationMetadata&quot;: {
497 &quot;inlineSbomInfo&quot;: {
498 &quot;currentComponentVersions&quot;: { # A mapping of components to their currently-applied versions or other
499 # appropriate identifiers.
500 &quot;a_key&quot;: &quot;A String&quot;,
501 },
502 &quot;targetComponentVersions&quot;: { # A mapping of components to their target versions or other appropriate
503 # identifiers.
504 &quot;a_key&quot;: &quot;A String&quot;,
505 },
506 },
507 },
508 &quot;httpErrorMessage&quot;: &quot;A String&quot;, # [Output Only] If the operation fails, this field contains the HTTP error
509 # message that was returned, such as `NOT FOUND`.
510 &quot;httpErrorStatusCode&quot;: 42, # [Output Only] If the operation fails, this field contains the HTTP error
511 # status code that was returned. For example, a `404` means the
512 # resource was not found.
513 &quot;id&quot;: &quot;A String&quot;, # [Output Only] The unique identifier for the operation. This identifier is
514 # defined by the server.
515 &quot;insertTime&quot;: &quot;A String&quot;, # [Output Only] The time that this operation was requested.
516 # This value is inRFC3339
517 # text format.
518 &quot;instancesBulkInsertOperationMetadata&quot;: {
519 &quot;perLocationStatus&quot;: { # Status information per location (location name is key).
520 # Example key: zones/us-central1-a
521 &quot;a_key&quot;: {
522 &quot;createdVmCount&quot;: 42, # [Output Only] Count of VMs successfully created so far.
523 &quot;deletedVmCount&quot;: 42, # [Output Only] Count of VMs that got deleted during rollback.
524 &quot;failedToCreateVmCount&quot;: 42, # [Output Only] Count of VMs that started creating but encountered an
525 # error.
526 &quot;status&quot;: &quot;A String&quot;, # [Output Only] Creation status of BulkInsert operation - information
527 # if the flow is rolling forward or rolling back.
528 &quot;targetVmCount&quot;: 42, # [Output Only] Count of VMs originally planned to be created.
529 },
530 },
531 },
532 &quot;kind&quot;: &quot;compute#operation&quot;, # Output only. [Output Only] Type of the resource. Always `compute#operation` for
533 # Operation resources.
534 &quot;name&quot;: &quot;A String&quot;, # [Output Only] Name of the operation.
535 &quot;operationGroupId&quot;: &quot;A String&quot;, # Output only. [Output Only] An ID that represents a group of operations, such as when a
536 # group of operations results from a `bulkInsert` API request.
537 &quot;operationType&quot;: &quot;A String&quot;, # [Output Only] The type of operation, such as `insert`,
538 # `update`, or `delete`, and so on.
539 &quot;progress&quot;: 42, # [Output Only] An optional progress indicator that ranges from 0 to 100.
540 # There is no requirement that this be linear or support any granularity of
541 # operations. This should not be used to guess when the operation will be
542 # complete. This number should monotonically increase as the operation
543 # progresses.
544 &quot;region&quot;: &quot;A String&quot;, # [Output Only] The URL of the region where the operation resides. Only
545 # applicable when performing regional operations.
546 &quot;selfLink&quot;: &quot;A String&quot;, # [Output Only] Server-defined URL for the resource.
547 &quot;setCommonInstanceMetadataOperationMetadata&quot;: { # Output only. [Output Only] If the operation is for projects.setCommonInstanceMetadata,
548 # this field will contain information on all underlying zonal actions and
549 # their state.
550 &quot;clientOperationId&quot;: &quot;A String&quot;, # [Output Only] The client operation id.
551 &quot;perLocationOperations&quot;: { # [Output Only] Status information per location (location name is key).
552 # Example key: zones/us-central1-a
553 &quot;a_key&quot;: {
554 &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
555 # populated.
556 # different programming environments, including REST APIs and RPC APIs. It is
557 # used by [gRPC](https://github.com/grpc). Each `Status` message contains
558 # three pieces of data: error code, error message, and error details.
559 #
560 # You can find out more about this error model and how to work with it in the
561 # [API Design Guide](https://cloud.google.com/apis/design/errors).
562 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
563 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of
564 # message types for APIs to use.
565 {
566 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
567 },
568 ],
569 &quot;message&quot;: &quot;A String&quot;, # A developer-facing error message, which should be in English. Any
570 # user-facing error message should be localized and sent in the
571 # google.rpc.Status.details field, or localized by the client.
572 },
573 &quot;state&quot;: &quot;A String&quot;, # [Output Only] Status of the action, which can be one of the following:
574 # `PROPAGATING`, `PROPAGATED`, `ABANDONED`, `FAILED`, or `DONE`.
575 },
576 },
577 },
578 &quot;startTime&quot;: &quot;A String&quot;, # [Output Only] The time that this operation was started by the server.
579 # This value is inRFC3339
580 # text format.
581 &quot;status&quot;: &quot;A String&quot;, # [Output Only] The status of the operation, which can be one of the
582 # following:
583 # `PENDING`, `RUNNING`, or `DONE`.
584 &quot;statusMessage&quot;: &quot;A String&quot;, # [Output Only] An optional textual description of the current status of the
585 # operation.
586 &quot;targetId&quot;: &quot;A String&quot;, # [Output Only] The unique target ID, which identifies a specific incarnation
587 # of the target resource.
588 &quot;targetLink&quot;: &quot;A String&quot;, # [Output Only] The URL of the resource that the operation modifies. For
589 # operations related to creating a snapshot, this points to the disk
590 # that the snapshot was created from.
591 &quot;user&quot;: &quot;A String&quot;, # [Output Only] User who requested the operation, for example:
592 # `[email protected]` or
593 # `alice_smith_identifier (global/workforcePools/example-com-us-employees)`.
594 &quot;warnings&quot;: [ # [Output Only] If warning messages are generated during processing of the
595 # operation, this field will be populated.
596 {
597 &quot;code&quot;: &quot;A String&quot;, # [Output Only] A warning code, if applicable. For example, Compute
598 # Engine returns NO_RESULTS_ON_PAGE if there
599 # are no results in the response.
600 &quot;data&quot;: [ # [Output Only] Metadata about this warning in key:
601 # value format. For example:
602 #
603 # &quot;data&quot;: [
604 # {
605 # &quot;key&quot;: &quot;scope&quot;,
606 # &quot;value&quot;: &quot;zones/us-east1-d&quot;
607 # }
608 {
609 &quot;key&quot;: &quot;A String&quot;, # [Output Only] A key that provides more detail on the warning being
610 # returned. For example, for warnings where there are no results in a list
611 # request for a particular zone, this key might be scope and
612 # the key value might be the zone name. Other examples might be a key
613 # indicating a deprecated resource and a suggested replacement, or a
614 # warning about invalid network settings (for example, if an instance
615 # attempts to perform IP forwarding but is not enabled for IP forwarding).
616 &quot;value&quot;: &quot;A String&quot;, # [Output Only] A warning data value corresponding to the key.
617 },
618 ],
619 &quot;message&quot;: &quot;A String&quot;, # [Output Only] A human-readable description of the warning code.
620 },
621 ],
622 &quot;zone&quot;: &quot;A String&quot;, # [Output Only] The URL of the zone where the operation resides. Only
623 # applicable when performing per-zone operations.
624 }</pre>
625 </div>
626
627 <div class="method">
628 <code class="details" id="get">get(project, region, networkEdgeSecurityService, x__xgafv=None)</code>
629 <pre>Gets a specified NetworkEdgeSecurityService.
630
631 Args:
632 project: string, Project ID for this request. (required)
633 region: string, Name of the region scoping this request. (required)
634 networkEdgeSecurityService: string, Name of the network edge security service to get. (required)
635 x__xgafv: string, V1 error format.
636 Allowed values
637 1 - v1 error format
638 2 - v2 error format
639
640 Returns:
641 An object of the form:
642
643 { # Represents a Google Cloud Armor network edge security service resource.
644 &quot;creationTimestamp&quot;: &quot;A String&quot;, # Output only. [Output Only] Creation timestamp inRFC3339
645 # text format.
646 &quot;description&quot;: &quot;A String&quot;, # An optional description of this resource. Provide this property when you
647 # create the resource.
648 &quot;fingerprint&quot;: &quot;A String&quot;, # Fingerprint of this resource. A hash of the contents stored in this object.
649 # This field is used in optimistic locking. This field will be ignored when
650 # inserting a NetworkEdgeSecurityService. An up-to-date fingerprint must be
651 # provided in order to update the NetworkEdgeSecurityService,
652 # otherwise the request will fail with error412 conditionNotMet.
653 #
654 # To see the latest fingerprint, make a get() request to
655 # retrieve a NetworkEdgeSecurityService.
656 &quot;id&quot;: &quot;A String&quot;, # Output only. [Output Only] The unique identifier for the resource. This identifier is
657 # defined by the server.
658 &quot;kind&quot;: &quot;compute#networkEdgeSecurityService&quot;, # Output only. [Output only] Type of the resource. Alwayscompute#networkEdgeSecurityService for
659 # NetworkEdgeSecurityServices
660 &quot;name&quot;: &quot;A String&quot;, # Name of the resource. Provided by the client when the resource is created.
661 # The name must be 1-63 characters long, and comply withRFC1035.
662 # Specifically, the name must be 1-63 characters long and match the regular
663 # expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first
664 # character must be a lowercase letter, and all following characters must
665 # be a dash, lowercase letter, or digit, except the last character, which
666 # cannot be a dash.
667 &quot;region&quot;: &quot;A String&quot;, # Output only. [Output Only] URL of the region where the resource resides. You must
668 # specify this field as part of the HTTP request URL. It is not settable as a
669 # field in the request body.
670 &quot;securityPolicy&quot;: &quot;A String&quot;, # The resource URL for the network edge security service associated with this
671 # network edge security service.
672 &quot;selfLink&quot;: &quot;A String&quot;, # Output only. [Output Only] Server-defined URL for the resource.
673 &quot;selfLinkWithId&quot;: &quot;A String&quot;, # Output only. [Output Only] Server-defined URL for this resource with the resource id.
674 }</pre>
675 </div>
676
677 <div class="method">
678 <code class="details" id="insert">insert(project, region, body=None, requestId=None, validateOnly=None, x__xgafv=None)</code>
679 <pre>Creates a new service in the specified project using the data included in
680 the request.
681
682 Args:
683 project: string, Project ID for this request. (required)
684 region: string, Name of the region scoping this request. (required)
685 body: object, The request body.
686 The object takes the form of:
687
688 { # Represents a Google Cloud Armor network edge security service resource.
689 &quot;creationTimestamp&quot;: &quot;A String&quot;, # Output only. [Output Only] Creation timestamp inRFC3339
690 # text format.
691 &quot;description&quot;: &quot;A String&quot;, # An optional description of this resource. Provide this property when you
692 # create the resource.
693 &quot;fingerprint&quot;: &quot;A String&quot;, # Fingerprint of this resource. A hash of the contents stored in this object.
694 # This field is used in optimistic locking. This field will be ignored when
695 # inserting a NetworkEdgeSecurityService. An up-to-date fingerprint must be
696 # provided in order to update the NetworkEdgeSecurityService,
697 # otherwise the request will fail with error412 conditionNotMet.
698 #
699 # To see the latest fingerprint, make a get() request to
700 # retrieve a NetworkEdgeSecurityService.
701 &quot;id&quot;: &quot;A String&quot;, # Output only. [Output Only] The unique identifier for the resource. This identifier is
702 # defined by the server.
703 &quot;kind&quot;: &quot;compute#networkEdgeSecurityService&quot;, # Output only. [Output only] Type of the resource. Alwayscompute#networkEdgeSecurityService for
704 # NetworkEdgeSecurityServices
705 &quot;name&quot;: &quot;A String&quot;, # Name of the resource. Provided by the client when the resource is created.
706 # The name must be 1-63 characters long, and comply withRFC1035.
707 # Specifically, the name must be 1-63 characters long and match the regular
708 # expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first
709 # character must be a lowercase letter, and all following characters must
710 # be a dash, lowercase letter, or digit, except the last character, which
711 # cannot be a dash.
712 &quot;region&quot;: &quot;A String&quot;, # Output only. [Output Only] URL of the region where the resource resides. You must
713 # specify this field as part of the HTTP request URL. It is not settable as a
714 # field in the request body.
715 &quot;securityPolicy&quot;: &quot;A String&quot;, # The resource URL for the network edge security service associated with this
716 # network edge security service.
717 &quot;selfLink&quot;: &quot;A String&quot;, # Output only. [Output Only] Server-defined URL for the resource.
718 &quot;selfLinkWithId&quot;: &quot;A String&quot;, # Output only. [Output Only] Server-defined URL for this resource with the resource id.
719 }
720
721 requestId: string, An optional request ID to identify requests. Specify a unique request ID so
722 that if you must retry your request, the server will know to ignore the
723 request if it has already been completed.
724
725 For example, consider a situation where you make an initial request and
726 the request times out. If you make the request again with the same
727 request ID, the server can check if original operation with the same
728 request ID was received, and if so, will ignore the second request. This
729 prevents clients from accidentally creating duplicate commitments.
730
731 The request ID must be
732 a valid UUID with the exception that zero UUID is not supported
733 (00000000-0000-0000-0000-000000000000).
734 validateOnly: boolean, If true, the request will not be committed.
735 x__xgafv: string, V1 error format.
736 Allowed values
737 1 - v1 error format
738 2 - v2 error format
739
740 Returns:
741 An object of the form:
742
743 { # Represents an Operation resource.
744 #
745 # Google Compute Engine has three Operation resources:
746 #
747 # * [Global](/compute/docs/reference/rest/beta/globalOperations)
748 # * [Regional](/compute/docs/reference/rest/beta/regionOperations)
749 # * [Zonal](/compute/docs/reference/rest/beta/zoneOperations)
750 #
751 # You can use an operation resource to manage asynchronous API requests.
752 # For more information, readHandling
753 # API responses.
754 #
755 # Operations can be global, regional or zonal.
756 #
757 # - For global operations, use the `globalOperations`
758 # resource.
759 # - For regional operations, use the
760 # `regionOperations` resource.
761 # - For zonal operations, use
762 # the `zoneOperations` resource.
763 #
764 #
765 #
766 # For more information, read
767 # Global, Regional, and Zonal Resources.
768 #
769 # Note that completed Operation resources have a limited
770 # retention period.
771 &quot;clientOperationId&quot;: &quot;A String&quot;, # [Output Only] The value of `requestId` if you provided it in the request.
772 # Not present otherwise.
773 &quot;creationTimestamp&quot;: &quot;A String&quot;, # [Deprecated] This field is deprecated.
774 &quot;description&quot;: &quot;A String&quot;, # [Output Only] A textual description of the operation, which is
775 # set when the operation is created.
776 &quot;endTime&quot;: &quot;A String&quot;, # [Output Only] The time that this operation was completed. This value is inRFC3339
777 # text format.
778 &quot;error&quot;: { # [Output Only] If errors are generated during processing of the operation,
779 # this field will be populated.
780 &quot;errors&quot;: [ # [Output Only] The array of errors encountered while processing this
781 # operation.
782 {
783 &quot;code&quot;: &quot;A String&quot;, # [Output Only] The error type identifier for this error.
784 &quot;errorDetails&quot;: [ # [Output Only] An optional list of messages that contain the error
785 # details. There is a set of defined message types to use for providing
786 # details.The syntax depends on the error code. For example,
787 # QuotaExceededInfo will have details when the error code is
788 # QUOTA_EXCEEDED.
789 {
790 &quot;errorInfo&quot;: { # Describes the cause of the error with structured details.
791 #
792 # Example of an error when contacting the &quot;pubsub.googleapis.com&quot; API when it
793 # is not enabled:
794 #
795 # { &quot;reason&quot;: &quot;API_DISABLED&quot;
796 # &quot;domain&quot;: &quot;googleapis.com&quot;
797 # &quot;metadata&quot;: {
798 # &quot;resource&quot;: &quot;projects/123&quot;,
799 # &quot;service&quot;: &quot;pubsub.googleapis.com&quot;
800 # }
801 # }
802 #
803 # This response indicates that the pubsub.googleapis.com API is not enabled.
804 #
805 # Example of an error that is returned when attempting to create a Spanner
806 # instance in a region that is out of stock:
807 #
808 # { &quot;reason&quot;: &quot;STOCKOUT&quot;
809 # &quot;domain&quot;: &quot;spanner.googleapis.com&quot;,
810 # &quot;metadata&quot;: {
811 # &quot;availableRegions&quot;: &quot;us-central1,us-east2&quot;
812 # }
813 # }
814 &quot;domain&quot;: &quot;A String&quot;, # The logical grouping to which the &quot;reason&quot; belongs. The error domain
815 # is typically the registered service name of the tool or product that
816 # generates the error. Example: &quot;pubsub.googleapis.com&quot;. If the error is
817 # generated by some common infrastructure, the error domain must be a
818 # globally unique value that identifies the infrastructure. For Google API
819 # infrastructure, the error domain is &quot;googleapis.com&quot;.
820 &quot;metadatas&quot;: { # Additional structured details about this error.
821 #
822 # Keys must match a regular expression of `a-z+` but should
823 # ideally be lowerCamelCase. Also, they must be limited to 64 characters in
824 # length. When identifying the current value of an exceeded limit, the units
825 # should be contained in the key, not the value. For example, rather than
826 # `{&quot;instanceLimit&quot;: &quot;100/request&quot;}`, should be returned as,
827 # `{&quot;instanceLimitPerRequest&quot;: &quot;100&quot;}`, if the client exceeds the number of
828 # instances that can be created in a single (batch) request.
829 &quot;a_key&quot;: &quot;A String&quot;,
830 },
831 &quot;reason&quot;: &quot;A String&quot;, # The reason of the error. This is a constant value that identifies the
832 # proximate cause of the error. Error reasons are unique within a particular
833 # domain of errors. This should be at most 63 characters and match a
834 # regular expression of `A-Z+[A-Z0-9]`, which represents
835 # UPPER_SNAKE_CASE.
836 },
837 &quot;help&quot;: { # Provides links to documentation or for performing an out of band action.
838 #
839 # For example, if a quota check failed with an error indicating the calling
840 # project hasn&#x27;t enabled the accessed service, this can contain a URL pointing
841 # directly to the right place in the developer console to flip the bit.
842 &quot;links&quot;: [ # URL(s) pointing to additional information on handling the current error.
843 { # Describes a URL link.
844 &quot;description&quot;: &quot;A String&quot;, # Describes what the link offers.
845 &quot;url&quot;: &quot;A String&quot;, # The URL of the link.
846 },
847 ],
848 },
849 &quot;localizedMessage&quot;: { # Provides a localized error message that is safe to return to the user
850 # which can be attached to an RPC error.
851 &quot;locale&quot;: &quot;A String&quot;, # The locale used following the specification defined at
852 # https://www.rfc-editor.org/rfc/bcp/bcp47.txt.
853 # Examples are: &quot;en-US&quot;, &quot;fr-CH&quot;, &quot;es-MX&quot;
854 &quot;message&quot;: &quot;A String&quot;, # The localized error message in the above locale.
855 },
856 &quot;quotaInfo&quot;: { # Additional details for quota exceeded error for resource quota.
857 &quot;dimensions&quot;: { # The map holding related quota dimensions.
858 &quot;a_key&quot;: &quot;A String&quot;,
859 },
860 &quot;futureLimit&quot;: 3.14, # Future quota limit being rolled out. The limit&#x27;s unit depends on the quota
861 # type or metric.
862 &quot;limit&quot;: 3.14, # Current effective quota limit. The limit&#x27;s unit depends on the quota type
863 # or metric.
864 &quot;limitName&quot;: &quot;A String&quot;, # The name of the quota limit.
865 &quot;metricName&quot;: &quot;A String&quot;, # The Compute Engine quota metric name.
866 &quot;rolloutStatus&quot;: &quot;A String&quot;, # Rollout status of the future quota limit.
867 },
868 },
869 ],
870 &quot;location&quot;: &quot;A String&quot;, # [Output Only] Indicates the field in the request that caused the error.
871 # This property is optional.
872 &quot;message&quot;: &quot;A String&quot;, # [Output Only] An optional, human-readable error message.
873 },
874 ],
875 },
876 &quot;getVersionOperationMetadata&quot;: {
877 &quot;inlineSbomInfo&quot;: {
878 &quot;currentComponentVersions&quot;: { # A mapping of components to their currently-applied versions or other
879 # appropriate identifiers.
880 &quot;a_key&quot;: &quot;A String&quot;,
881 },
882 &quot;targetComponentVersions&quot;: { # A mapping of components to their target versions or other appropriate
883 # identifiers.
884 &quot;a_key&quot;: &quot;A String&quot;,
885 },
886 },
887 },
888 &quot;httpErrorMessage&quot;: &quot;A String&quot;, # [Output Only] If the operation fails, this field contains the HTTP error
889 # message that was returned, such as `NOT FOUND`.
890 &quot;httpErrorStatusCode&quot;: 42, # [Output Only] If the operation fails, this field contains the HTTP error
891 # status code that was returned. For example, a `404` means the
892 # resource was not found.
893 &quot;id&quot;: &quot;A String&quot;, # [Output Only] The unique identifier for the operation. This identifier is
894 # defined by the server.
895 &quot;insertTime&quot;: &quot;A String&quot;, # [Output Only] The time that this operation was requested.
896 # This value is inRFC3339
897 # text format.
898 &quot;instancesBulkInsertOperationMetadata&quot;: {
899 &quot;perLocationStatus&quot;: { # Status information per location (location name is key).
900 # Example key: zones/us-central1-a
901 &quot;a_key&quot;: {
902 &quot;createdVmCount&quot;: 42, # [Output Only] Count of VMs successfully created so far.
903 &quot;deletedVmCount&quot;: 42, # [Output Only] Count of VMs that got deleted during rollback.
904 &quot;failedToCreateVmCount&quot;: 42, # [Output Only] Count of VMs that started creating but encountered an
905 # error.
906 &quot;status&quot;: &quot;A String&quot;, # [Output Only] Creation status of BulkInsert operation - information
907 # if the flow is rolling forward or rolling back.
908 &quot;targetVmCount&quot;: 42, # [Output Only] Count of VMs originally planned to be created.
909 },
910 },
911 },
912 &quot;kind&quot;: &quot;compute#operation&quot;, # Output only. [Output Only] Type of the resource. Always `compute#operation` for
913 # Operation resources.
914 &quot;name&quot;: &quot;A String&quot;, # [Output Only] Name of the operation.
915 &quot;operationGroupId&quot;: &quot;A String&quot;, # Output only. [Output Only] An ID that represents a group of operations, such as when a
916 # group of operations results from a `bulkInsert` API request.
917 &quot;operationType&quot;: &quot;A String&quot;, # [Output Only] The type of operation, such as `insert`,
918 # `update`, or `delete`, and so on.
919 &quot;progress&quot;: 42, # [Output Only] An optional progress indicator that ranges from 0 to 100.
920 # There is no requirement that this be linear or support any granularity of
921 # operations. This should not be used to guess when the operation will be
922 # complete. This number should monotonically increase as the operation
923 # progresses.
924 &quot;region&quot;: &quot;A String&quot;, # [Output Only] The URL of the region where the operation resides. Only
925 # applicable when performing regional operations.
926 &quot;selfLink&quot;: &quot;A String&quot;, # [Output Only] Server-defined URL for the resource.
927 &quot;setCommonInstanceMetadataOperationMetadata&quot;: { # Output only. [Output Only] If the operation is for projects.setCommonInstanceMetadata,
928 # this field will contain information on all underlying zonal actions and
929 # their state.
930 &quot;clientOperationId&quot;: &quot;A String&quot;, # [Output Only] The client operation id.
931 &quot;perLocationOperations&quot;: { # [Output Only] Status information per location (location name is key).
932 # Example key: zones/us-central1-a
933 &quot;a_key&quot;: {
934 &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
935 # populated.
936 # different programming environments, including REST APIs and RPC APIs. It is
937 # used by [gRPC](https://github.com/grpc). Each `Status` message contains
938 # three pieces of data: error code, error message, and error details.
939 #
940 # You can find out more about this error model and how to work with it in the
941 # [API Design Guide](https://cloud.google.com/apis/design/errors).
942 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
943 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of
944 # message types for APIs to use.
945 {
946 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
947 },
948 ],
949 &quot;message&quot;: &quot;A String&quot;, # A developer-facing error message, which should be in English. Any
950 # user-facing error message should be localized and sent in the
951 # google.rpc.Status.details field, or localized by the client.
952 },
953 &quot;state&quot;: &quot;A String&quot;, # [Output Only] Status of the action, which can be one of the following:
954 # `PROPAGATING`, `PROPAGATED`, `ABANDONED`, `FAILED`, or `DONE`.
955 },
956 },
957 },
958 &quot;startTime&quot;: &quot;A String&quot;, # [Output Only] The time that this operation was started by the server.
959 # This value is inRFC3339
960 # text format.
961 &quot;status&quot;: &quot;A String&quot;, # [Output Only] The status of the operation, which can be one of the
962 # following:
963 # `PENDING`, `RUNNING`, or `DONE`.
964 &quot;statusMessage&quot;: &quot;A String&quot;, # [Output Only] An optional textual description of the current status of the
965 # operation.
966 &quot;targetId&quot;: &quot;A String&quot;, # [Output Only] The unique target ID, which identifies a specific incarnation
967 # of the target resource.
968 &quot;targetLink&quot;: &quot;A String&quot;, # [Output Only] The URL of the resource that the operation modifies. For
969 # operations related to creating a snapshot, this points to the disk
970 # that the snapshot was created from.
971 &quot;user&quot;: &quot;A String&quot;, # [Output Only] User who requested the operation, for example:
972 # `[email protected]` or
973 # `alice_smith_identifier (global/workforcePools/example-com-us-employees)`.
974 &quot;warnings&quot;: [ # [Output Only] If warning messages are generated during processing of the
975 # operation, this field will be populated.
976 {
977 &quot;code&quot;: &quot;A String&quot;, # [Output Only] A warning code, if applicable. For example, Compute
978 # Engine returns NO_RESULTS_ON_PAGE if there
979 # are no results in the response.
980 &quot;data&quot;: [ # [Output Only] Metadata about this warning in key:
981 # value format. For example:
982 #
983 # &quot;data&quot;: [
984 # {
985 # &quot;key&quot;: &quot;scope&quot;,
986 # &quot;value&quot;: &quot;zones/us-east1-d&quot;
987 # }
988 {
989 &quot;key&quot;: &quot;A String&quot;, # [Output Only] A key that provides more detail on the warning being
990 # returned. For example, for warnings where there are no results in a list
991 # request for a particular zone, this key might be scope and
992 # the key value might be the zone name. Other examples might be a key
993 # indicating a deprecated resource and a suggested replacement, or a
994 # warning about invalid network settings (for example, if an instance
995 # attempts to perform IP forwarding but is not enabled for IP forwarding).
996 &quot;value&quot;: &quot;A String&quot;, # [Output Only] A warning data value corresponding to the key.
997 },
998 ],
999 &quot;message&quot;: &quot;A String&quot;, # [Output Only] A human-readable description of the warning code.
1000 },
1001 ],
1002 &quot;zone&quot;: &quot;A String&quot;, # [Output Only] The URL of the zone where the operation resides. Only
1003 # applicable when performing per-zone operations.
1004 }</pre>
1005 </div>
1006
1007 <div class="method">
1008 <code class="details" id="patch">patch(project, region, networkEdgeSecurityService, body=None, paths=None, requestId=None, updateMask=None, x__xgafv=None)</code>
1009 <pre>Patches the specified policy with the data included in the request.
1010
1011 Args:
1012 project: string, Project ID for this request. (required)
1013 region: string, Name of the region scoping this request. (required)
1014 networkEdgeSecurityService: string, Name of the network edge security service to update. (required)
1015 body: object, The request body.
1016 The object takes the form of:
1017
1018 { # Represents a Google Cloud Armor network edge security service resource.
1019 &quot;creationTimestamp&quot;: &quot;A String&quot;, # Output only. [Output Only] Creation timestamp inRFC3339
1020 # text format.
1021 &quot;description&quot;: &quot;A String&quot;, # An optional description of this resource. Provide this property when you
1022 # create the resource.
1023 &quot;fingerprint&quot;: &quot;A String&quot;, # Fingerprint of this resource. A hash of the contents stored in this object.
1024 # This field is used in optimistic locking. This field will be ignored when
1025 # inserting a NetworkEdgeSecurityService. An up-to-date fingerprint must be
1026 # provided in order to update the NetworkEdgeSecurityService,
1027 # otherwise the request will fail with error412 conditionNotMet.
1028 #
1029 # To see the latest fingerprint, make a get() request to
1030 # retrieve a NetworkEdgeSecurityService.
1031 &quot;id&quot;: &quot;A String&quot;, # Output only. [Output Only] The unique identifier for the resource. This identifier is
1032 # defined by the server.
1033 &quot;kind&quot;: &quot;compute#networkEdgeSecurityService&quot;, # Output only. [Output only] Type of the resource. Alwayscompute#networkEdgeSecurityService for
1034 # NetworkEdgeSecurityServices
1035 &quot;name&quot;: &quot;A String&quot;, # Name of the resource. Provided by the client when the resource is created.
1036 # The name must be 1-63 characters long, and comply withRFC1035.
1037 # Specifically, the name must be 1-63 characters long and match the regular
1038 # expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first
1039 # character must be a lowercase letter, and all following characters must
1040 # be a dash, lowercase letter, or digit, except the last character, which
1041 # cannot be a dash.
1042 &quot;region&quot;: &quot;A String&quot;, # Output only. [Output Only] URL of the region where the resource resides. You must
1043 # specify this field as part of the HTTP request URL. It is not settable as a
1044 # field in the request body.
1045 &quot;securityPolicy&quot;: &quot;A String&quot;, # The resource URL for the network edge security service associated with this
1046 # network edge security service.
1047 &quot;selfLink&quot;: &quot;A String&quot;, # Output only. [Output Only] Server-defined URL for the resource.
1048 &quot;selfLinkWithId&quot;: &quot;A String&quot;, # Output only. [Output Only] Server-defined URL for this resource with the resource id.
1049 }
1050
1051 paths: string, A parameter (repeated)
1052 requestId: string, An optional request ID to identify requests. Specify a unique request ID so
1053 that if you must retry your request, the server will know to ignore the
1054 request if it has already been completed.
1055
1056 For example, consider a situation where you make an initial request and
1057 the request times out. If you make the request again with the same
1058 request ID, the server can check if original operation with the same
1059 request ID was received, and if so, will ignore the second request. This
1060 prevents clients from accidentally creating duplicate commitments.
1061
1062 The request ID must be
1063 a valid UUID with the exception that zero UUID is not supported
1064 (00000000-0000-0000-0000-000000000000).
1065 updateMask: string, Indicates fields to be updated as part of this request.
1066 x__xgafv: string, V1 error format.
1067 Allowed values
1068 1 - v1 error format
1069 2 - v2 error format
1070
1071 Returns:
1072 An object of the form:
1073
1074 { # Represents an Operation resource.
1075 #
1076 # Google Compute Engine has three Operation resources:
1077 #
1078 # * [Global](/compute/docs/reference/rest/beta/globalOperations)
1079 # * [Regional](/compute/docs/reference/rest/beta/regionOperations)
1080 # * [Zonal](/compute/docs/reference/rest/beta/zoneOperations)
1081 #
1082 # You can use an operation resource to manage asynchronous API requests.
1083 # For more information, readHandling
1084 # API responses.
1085 #
1086 # Operations can be global, regional or zonal.
1087 #
1088 # - For global operations, use the `globalOperations`
1089 # resource.
1090 # - For regional operations, use the
1091 # `regionOperations` resource.
1092 # - For zonal operations, use
1093 # the `zoneOperations` resource.
1094 #
1095 #
1096 #
1097 # For more information, read
1098 # Global, Regional, and Zonal Resources.
1099 #
1100 # Note that completed Operation resources have a limited
1101 # retention period.
1102 &quot;clientOperationId&quot;: &quot;A String&quot;, # [Output Only] The value of `requestId` if you provided it in the request.
1103 # Not present otherwise.
1104 &quot;creationTimestamp&quot;: &quot;A String&quot;, # [Deprecated] This field is deprecated.
1105 &quot;description&quot;: &quot;A String&quot;, # [Output Only] A textual description of the operation, which is
1106 # set when the operation is created.
1107 &quot;endTime&quot;: &quot;A String&quot;, # [Output Only] The time that this operation was completed. This value is inRFC3339
1108 # text format.
1109 &quot;error&quot;: { # [Output Only] If errors are generated during processing of the operation,
1110 # this field will be populated.
1111 &quot;errors&quot;: [ # [Output Only] The array of errors encountered while processing this
1112 # operation.
1113 {
1114 &quot;code&quot;: &quot;A String&quot;, # [Output Only] The error type identifier for this error.
1115 &quot;errorDetails&quot;: [ # [Output Only] An optional list of messages that contain the error
1116 # details. There is a set of defined message types to use for providing
1117 # details.The syntax depends on the error code. For example,
1118 # QuotaExceededInfo will have details when the error code is
1119 # QUOTA_EXCEEDED.
1120 {
1121 &quot;errorInfo&quot;: { # Describes the cause of the error with structured details.
1122 #
1123 # Example of an error when contacting the &quot;pubsub.googleapis.com&quot; API when it
1124 # is not enabled:
1125 #
1126 # { &quot;reason&quot;: &quot;API_DISABLED&quot;
1127 # &quot;domain&quot;: &quot;googleapis.com&quot;
1128 # &quot;metadata&quot;: {
1129 # &quot;resource&quot;: &quot;projects/123&quot;,
1130 # &quot;service&quot;: &quot;pubsub.googleapis.com&quot;
1131 # }
1132 # }
1133 #
1134 # This response indicates that the pubsub.googleapis.com API is not enabled.
1135 #
1136 # Example of an error that is returned when attempting to create a Spanner
1137 # instance in a region that is out of stock:
1138 #
1139 # { &quot;reason&quot;: &quot;STOCKOUT&quot;
1140 # &quot;domain&quot;: &quot;spanner.googleapis.com&quot;,
1141 # &quot;metadata&quot;: {
1142 # &quot;availableRegions&quot;: &quot;us-central1,us-east2&quot;
1143 # }
1144 # }
1145 &quot;domain&quot;: &quot;A String&quot;, # The logical grouping to which the &quot;reason&quot; belongs. The error domain
1146 # is typically the registered service name of the tool or product that
1147 # generates the error. Example: &quot;pubsub.googleapis.com&quot;. If the error is
1148 # generated by some common infrastructure, the error domain must be a
1149 # globally unique value that identifies the infrastructure. For Google API
1150 # infrastructure, the error domain is &quot;googleapis.com&quot;.
1151 &quot;metadatas&quot;: { # Additional structured details about this error.
1152 #
1153 # Keys must match a regular expression of `a-z+` but should
1154 # ideally be lowerCamelCase. Also, they must be limited to 64 characters in
1155 # length. When identifying the current value of an exceeded limit, the units
1156 # should be contained in the key, not the value. For example, rather than
1157 # `{&quot;instanceLimit&quot;: &quot;100/request&quot;}`, should be returned as,
1158 # `{&quot;instanceLimitPerRequest&quot;: &quot;100&quot;}`, if the client exceeds the number of
1159 # instances that can be created in a single (batch) request.
1160 &quot;a_key&quot;: &quot;A String&quot;,
1161 },
1162 &quot;reason&quot;: &quot;A String&quot;, # The reason of the error. This is a constant value that identifies the
1163 # proximate cause of the error. Error reasons are unique within a particular
1164 # domain of errors. This should be at most 63 characters and match a
1165 # regular expression of `A-Z+[A-Z0-9]`, which represents
1166 # UPPER_SNAKE_CASE.
1167 },
1168 &quot;help&quot;: { # Provides links to documentation or for performing an out of band action.
1169 #
1170 # For example, if a quota check failed with an error indicating the calling
1171 # project hasn&#x27;t enabled the accessed service, this can contain a URL pointing
1172 # directly to the right place in the developer console to flip the bit.
1173 &quot;links&quot;: [ # URL(s) pointing to additional information on handling the current error.
1174 { # Describes a URL link.
1175 &quot;description&quot;: &quot;A String&quot;, # Describes what the link offers.
1176 &quot;url&quot;: &quot;A String&quot;, # The URL of the link.
1177 },
1178 ],
1179 },
1180 &quot;localizedMessage&quot;: { # Provides a localized error message that is safe to return to the user
1181 # which can be attached to an RPC error.
1182 &quot;locale&quot;: &quot;A String&quot;, # The locale used following the specification defined at
1183 # https://www.rfc-editor.org/rfc/bcp/bcp47.txt.
1184 # Examples are: &quot;en-US&quot;, &quot;fr-CH&quot;, &quot;es-MX&quot;
1185 &quot;message&quot;: &quot;A String&quot;, # The localized error message in the above locale.
1186 },
1187 &quot;quotaInfo&quot;: { # Additional details for quota exceeded error for resource quota.
1188 &quot;dimensions&quot;: { # The map holding related quota dimensions.
1189 &quot;a_key&quot;: &quot;A String&quot;,
1190 },
1191 &quot;futureLimit&quot;: 3.14, # Future quota limit being rolled out. The limit&#x27;s unit depends on the quota
1192 # type or metric.
1193 &quot;limit&quot;: 3.14, # Current effective quota limit. The limit&#x27;s unit depends on the quota type
1194 # or metric.
1195 &quot;limitName&quot;: &quot;A String&quot;, # The name of the quota limit.
1196 &quot;metricName&quot;: &quot;A String&quot;, # The Compute Engine quota metric name.
1197 &quot;rolloutStatus&quot;: &quot;A String&quot;, # Rollout status of the future quota limit.
1198 },
1199 },
1200 ],
1201 &quot;location&quot;: &quot;A String&quot;, # [Output Only] Indicates the field in the request that caused the error.
1202 # This property is optional.
1203 &quot;message&quot;: &quot;A String&quot;, # [Output Only] An optional, human-readable error message.
1204 },
1205 ],
1206 },
1207 &quot;getVersionOperationMetadata&quot;: {
1208 &quot;inlineSbomInfo&quot;: {
1209 &quot;currentComponentVersions&quot;: { # A mapping of components to their currently-applied versions or other
1210 # appropriate identifiers.
1211 &quot;a_key&quot;: &quot;A String&quot;,
1212 },
1213 &quot;targetComponentVersions&quot;: { # A mapping of components to their target versions or other appropriate
1214 # identifiers.
1215 &quot;a_key&quot;: &quot;A String&quot;,
1216 },
1217 },
1218 },
1219 &quot;httpErrorMessage&quot;: &quot;A String&quot;, # [Output Only] If the operation fails, this field contains the HTTP error
1220 # message that was returned, such as `NOT FOUND`.
1221 &quot;httpErrorStatusCode&quot;: 42, # [Output Only] If the operation fails, this field contains the HTTP error
1222 # status code that was returned. For example, a `404` means the
1223 # resource was not found.
1224 &quot;id&quot;: &quot;A String&quot;, # [Output Only] The unique identifier for the operation. This identifier is
1225 # defined by the server.
1226 &quot;insertTime&quot;: &quot;A String&quot;, # [Output Only] The time that this operation was requested.
1227 # This value is inRFC3339
1228 # text format.
1229 &quot;instancesBulkInsertOperationMetadata&quot;: {
1230 &quot;perLocationStatus&quot;: { # Status information per location (location name is key).
1231 # Example key: zones/us-central1-a
1232 &quot;a_key&quot;: {
1233 &quot;createdVmCount&quot;: 42, # [Output Only] Count of VMs successfully created so far.
1234 &quot;deletedVmCount&quot;: 42, # [Output Only] Count of VMs that got deleted during rollback.
1235 &quot;failedToCreateVmCount&quot;: 42, # [Output Only] Count of VMs that started creating but encountered an
1236 # error.
1237 &quot;status&quot;: &quot;A String&quot;, # [Output Only] Creation status of BulkInsert operation - information
1238 # if the flow is rolling forward or rolling back.
1239 &quot;targetVmCount&quot;: 42, # [Output Only] Count of VMs originally planned to be created.
1240 },
1241 },
1242 },
1243 &quot;kind&quot;: &quot;compute#operation&quot;, # Output only. [Output Only] Type of the resource. Always `compute#operation` for
1244 # Operation resources.
1245 &quot;name&quot;: &quot;A String&quot;, # [Output Only] Name of the operation.
1246 &quot;operationGroupId&quot;: &quot;A String&quot;, # Output only. [Output Only] An ID that represents a group of operations, such as when a
1247 # group of operations results from a `bulkInsert` API request.
1248 &quot;operationType&quot;: &quot;A String&quot;, # [Output Only] The type of operation, such as `insert`,
1249 # `update`, or `delete`, and so on.
1250 &quot;progress&quot;: 42, # [Output Only] An optional progress indicator that ranges from 0 to 100.
1251 # There is no requirement that this be linear or support any granularity of
1252 # operations. This should not be used to guess when the operation will be
1253 # complete. This number should monotonically increase as the operation
1254 # progresses.
1255 &quot;region&quot;: &quot;A String&quot;, # [Output Only] The URL of the region where the operation resides. Only
1256 # applicable when performing regional operations.
1257 &quot;selfLink&quot;: &quot;A String&quot;, # [Output Only] Server-defined URL for the resource.
1258 &quot;setCommonInstanceMetadataOperationMetadata&quot;: { # Output only. [Output Only] If the operation is for projects.setCommonInstanceMetadata,
1259 # this field will contain information on all underlying zonal actions and
1260 # their state.
1261 &quot;clientOperationId&quot;: &quot;A String&quot;, # [Output Only] The client operation id.
1262 &quot;perLocationOperations&quot;: { # [Output Only] Status information per location (location name is key).
1263 # Example key: zones/us-central1-a
1264 &quot;a_key&quot;: {
1265 &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
1266 # populated.
1267 # different programming environments, including REST APIs and RPC APIs. It is
1268 # used by [gRPC](https://github.com/grpc). Each `Status` message contains
1269 # three pieces of data: error code, error message, and error details.
1270 #
1271 # You can find out more about this error model and how to work with it in the
1272 # [API Design Guide](https://cloud.google.com/apis/design/errors).
1273 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
1274 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of
1275 # message types for APIs to use.
1276 {
1277 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
1278 },
1279 ],
1280 &quot;message&quot;: &quot;A String&quot;, # A developer-facing error message, which should be in English. Any
1281 # user-facing error message should be localized and sent in the
1282 # google.rpc.Status.details field, or localized by the client.
1283 },
1284 &quot;state&quot;: &quot;A String&quot;, # [Output Only] Status of the action, which can be one of the following:
1285 # `PROPAGATING`, `PROPAGATED`, `ABANDONED`, `FAILED`, or `DONE`.
1286 },
1287 },
1288 },
1289 &quot;startTime&quot;: &quot;A String&quot;, # [Output Only] The time that this operation was started by the server.
1290 # This value is inRFC3339
1291 # text format.
1292 &quot;status&quot;: &quot;A String&quot;, # [Output Only] The status of the operation, which can be one of the
1293 # following:
1294 # `PENDING`, `RUNNING`, or `DONE`.
1295 &quot;statusMessage&quot;: &quot;A String&quot;, # [Output Only] An optional textual description of the current status of the
1296 # operation.
1297 &quot;targetId&quot;: &quot;A String&quot;, # [Output Only] The unique target ID, which identifies a specific incarnation
1298 # of the target resource.
1299 &quot;targetLink&quot;: &quot;A String&quot;, # [Output Only] The URL of the resource that the operation modifies. For
1300 # operations related to creating a snapshot, this points to the disk
1301 # that the snapshot was created from.
1302 &quot;user&quot;: &quot;A String&quot;, # [Output Only] User who requested the operation, for example:
1303 # `[email protected]` or
1304 # `alice_smith_identifier (global/workforcePools/example-com-us-employees)`.
1305 &quot;warnings&quot;: [ # [Output Only] If warning messages are generated during processing of the
1306 # operation, this field will be populated.
1307 {
1308 &quot;code&quot;: &quot;A String&quot;, # [Output Only] A warning code, if applicable. For example, Compute
1309 # Engine returns NO_RESULTS_ON_PAGE if there
1310 # are no results in the response.
1311 &quot;data&quot;: [ # [Output Only] Metadata about this warning in key:
1312 # value format. For example:
1313 #
1314 # &quot;data&quot;: [
1315 # {
1316 # &quot;key&quot;: &quot;scope&quot;,
1317 # &quot;value&quot;: &quot;zones/us-east1-d&quot;
1318 # }
1319 {
1320 &quot;key&quot;: &quot;A String&quot;, # [Output Only] A key that provides more detail on the warning being
1321 # returned. For example, for warnings where there are no results in a list
1322 # request for a particular zone, this key might be scope and
1323 # the key value might be the zone name. Other examples might be a key
1324 # indicating a deprecated resource and a suggested replacement, or a
1325 # warning about invalid network settings (for example, if an instance
1326 # attempts to perform IP forwarding but is not enabled for IP forwarding).
1327 &quot;value&quot;: &quot;A String&quot;, # [Output Only] A warning data value corresponding to the key.
1328 },
1329 ],
1330 &quot;message&quot;: &quot;A String&quot;, # [Output Only] A human-readable description of the warning code.
1331 },
1332 ],
1333 &quot;zone&quot;: &quot;A String&quot;, # [Output Only] The URL of the zone where the operation resides. Only
1334 # applicable when performing per-zone operations.
1335 }</pre>
1336 </div>
1337
1338 </body></html>