google-cloud-compute-v1 3.3.0 → 3.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (182) hide show
  1. checksums.yaml +4 -4
  2. data/lib/google/cloud/compute/v1/accelerator_types/rest/client.rb +181 -14
  3. data/lib/google/cloud/compute/v1/addresses/rest/client.rb +330 -20
  4. data/lib/google/cloud/compute/v1/addresses/rest/service_stub.rb +64 -0
  5. data/lib/google/cloud/compute/v1/advice/credentials.rb +52 -0
  6. data/lib/google/cloud/compute/v1/advice/rest/client.rb +431 -0
  7. data/lib/google/cloud/compute/v1/advice/rest/service_stub.rb +144 -0
  8. data/lib/google/cloud/compute/v1/advice/rest.rb +51 -0
  9. data/lib/google/cloud/compute/v1/advice.rb +47 -0
  10. data/lib/google/cloud/compute/v1/autoscalers/rest/client.rb +334 -21
  11. data/lib/google/cloud/compute/v1/autoscalers/rest/service_stub.rb +64 -0
  12. data/lib/google/cloud/compute/v1/backend_buckets/rest/client.rb +198 -23
  13. data/lib/google/cloud/compute/v1/backend_services/rest/client.rb +499 -40
  14. data/lib/google/cloud/compute/v1/backend_services/rest/service_stub.rb +62 -0
  15. data/lib/google/cloud/compute/v1/compute_pb.rb +281 -25
  16. data/lib/google/cloud/compute/v1/cross_site_networks/credentials.rb +52 -0
  17. data/lib/google/cloud/compute/v1/cross_site_networks/rest/client.rb +975 -0
  18. data/lib/google/cloud/compute/v1/cross_site_networks/rest/service_stub.rb +391 -0
  19. data/lib/google/cloud/compute/v1/cross_site_networks/rest.rb +51 -0
  20. data/lib/google/cloud/compute/v1/cross_site_networks.rb +47 -0
  21. data/lib/google/cloud/compute/v1/disk_types/rest/client.rb +181 -14
  22. data/lib/google/cloud/compute/v1/disks/rest/client.rb +390 -42
  23. data/lib/google/cloud/compute/v1/external_vpn_gateways/rest/client.rb +118 -11
  24. data/lib/google/cloud/compute/v1/firewall_policies/rest/client.rb +240 -25
  25. data/lib/google/cloud/compute/v1/firewalls/rest/client.rb +238 -13
  26. data/lib/google/cloud/compute/v1/firewalls/rest/service_stub.rb +63 -0
  27. data/lib/google/cloud/compute/v1/forwarding_rules/rest/client.rb +258 -23
  28. data/lib/google/cloud/compute/v1/future_reservations/credentials.rb +52 -0
  29. data/lib/google/cloud/compute/v1/future_reservations/rest/client.rb +1287 -0
  30. data/lib/google/cloud/compute/v1/future_reservations/rest/service_stub.rb +520 -0
  31. data/lib/google/cloud/compute/v1/future_reservations/rest.rb +51 -0
  32. data/lib/google/cloud/compute/v1/future_reservations.rb +47 -0
  33. data/lib/google/cloud/compute/v1/global_addresses/rest/client.rb +217 -10
  34. data/lib/google/cloud/compute/v1/global_addresses/rest/service_stub.rb +63 -0
  35. data/lib/google/cloud/compute/v1/global_forwarding_rules/rest/client.rb +151 -15
  36. data/lib/google/cloud/compute/v1/global_network_endpoint_groups/rest/client.rb +246 -21
  37. data/lib/google/cloud/compute/v1/global_operations/rest/client.rb +203 -18
  38. data/lib/google/cloud/compute/v1/global_organization_operations/rest/client.rb +91 -9
  39. data/lib/google/cloud/compute/v1/global_public_delegated_prefixes/rest/client.rb +128 -10
  40. data/lib/google/cloud/compute/v1/health_checks/rest/client.rb +333 -21
  41. data/lib/google/cloud/compute/v1/health_checks/rest/service_stub.rb +63 -0
  42. data/lib/google/cloud/compute/v1/image_family_views/rest/client.rb +2 -1
  43. data/lib/google/cloud/compute/v1/images/rest/client.rb +161 -18
  44. data/lib/google/cloud/compute/v1/instance_group_manager_resize_requests/rest/client.rb +159 -24
  45. data/lib/google/cloud/compute/v1/instance_group_managers/rest/client.rb +920 -95
  46. data/lib/google/cloud/compute/v1/instance_groups/rest/client.rb +473 -40
  47. data/lib/google/cloud/compute/v1/instance_groups/rest/service_stub.rb +64 -0
  48. data/lib/google/cloud/compute/v1/instance_settings_service/rest/client.rb +13 -1
  49. data/lib/google/cloud/compute/v1/instance_templates/rest/client.rb +220 -20
  50. data/lib/google/cloud/compute/v1/instances/rest/client.rb +1144 -99
  51. data/lib/google/cloud/compute/v1/instances/rest/service_stub.rb +127 -0
  52. data/lib/google/cloud/compute/v1/instant_snapshots/rest/client.rb +235 -21
  53. data/lib/google/cloud/compute/v1/interconnect_attachment_groups/rest/client.rb +139 -14
  54. data/lib/google/cloud/compute/v1/interconnect_attachments/rest/client.rb +242 -21
  55. data/lib/google/cloud/compute/v1/interconnect_groups/rest/client.rb +139 -14
  56. data/lib/google/cloud/compute/v1/interconnect_locations/rest/client.rb +87 -7
  57. data/lib/google/cloud/compute/v1/interconnect_remote_locations/rest/client.rb +87 -7
  58. data/lib/google/cloud/compute/v1/interconnects/rest/client.rb +145 -14
  59. data/lib/google/cloud/compute/v1/license_codes/rest/client.rb +9 -2
  60. data/lib/google/cloud/compute/v1/licenses/rest/client.rb +161 -16
  61. data/lib/google/cloud/compute/v1/machine_images/rest/client.rb +124 -13
  62. data/lib/google/cloud/compute/v1/machine_types/rest/client.rb +181 -14
  63. data/lib/google/cloud/compute/v1/network_attachments/rest/client.rb +232 -20
  64. data/lib/google/cloud/compute/v1/network_edge_security_services/rest/client.rb +138 -12
  65. data/lib/google/cloud/compute/v1/network_endpoint_groups/rest/client.rb +361 -37
  66. data/lib/google/cloud/compute/v1/network_firewall_policies/rest/client.rb +354 -33
  67. data/lib/google/cloud/compute/v1/network_profiles/rest/client.rb +85 -6
  68. data/lib/google/cloud/compute/v1/networks/rest/client.rb +281 -23
  69. data/lib/google/cloud/compute/v1/node_groups/rest/client.rb +381 -32
  70. data/lib/google/cloud/compute/v1/node_templates/rest/client.rb +213 -19
  71. data/lib/google/cloud/compute/v1/node_types/rest/client.rb +181 -14
  72. data/lib/google/cloud/compute/v1/organization_security_policies/credentials.rb +52 -0
  73. data/lib/google/cloud/compute/v1/organization_security_policies/rest/client.rb +2259 -0
  74. data/lib/google/cloud/compute/v1/organization_security_policies/rest/service_stub.rb +1054 -0
  75. data/lib/google/cloud/compute/v1/organization_security_policies/rest.rb +51 -0
  76. data/lib/google/cloud/compute/v1/organization_security_policies.rb +47 -0
  77. data/lib/google/cloud/compute/v1/packet_mirrorings/rest/client.rb +226 -19
  78. data/lib/google/cloud/compute/v1/preview_features/credentials.rb +52 -0
  79. data/lib/google/cloud/compute/v1/preview_features/rest/client.rb +739 -0
  80. data/lib/google/cloud/compute/v1/preview_features/rest/service_stub.rb +267 -0
  81. data/lib/google/cloud/compute/v1/preview_features/rest.rb +51 -0
  82. data/lib/google/cloud/compute/v1/preview_features.rb +47 -0
  83. data/lib/google/cloud/compute/v1/projects/rest/client.rb +346 -30
  84. data/lib/google/cloud/compute/v1/public_advertised_prefixes/rest/client.rb +154 -12
  85. data/lib/google/cloud/compute/v1/public_delegated_prefixes/rest/client.rb +255 -22
  86. data/lib/google/cloud/compute/v1/region_autoscalers/rest/client.rb +238 -13
  87. data/lib/google/cloud/compute/v1/region_autoscalers/rest/service_stub.rb +64 -0
  88. data/lib/google/cloud/compute/v1/region_backend_services/rest/client.rb +260 -26
  89. data/lib/google/cloud/compute/v1/region_commitments/rest/client.rb +212 -18
  90. data/lib/google/cloud/compute/v1/region_composite_health_checks/credentials.rb +52 -0
  91. data/lib/google/cloud/compute/v1/region_composite_health_checks/rest/client.rb +1268 -0
  92. data/lib/google/cloud/compute/v1/region_composite_health_checks/rest/service_stub.rb +521 -0
  93. data/lib/google/cloud/compute/v1/region_composite_health_checks/rest.rb +51 -0
  94. data/lib/google/cloud/compute/v1/region_composite_health_checks.rb +47 -0
  95. data/lib/google/cloud/compute/v1/region_disk_types/rest/client.rb +83 -5
  96. data/lib/google/cloud/compute/v1/region_disks/rest/client.rb +269 -29
  97. data/lib/google/cloud/compute/v1/region_health_aggregation_policies/credentials.rb +52 -0
  98. data/lib/google/cloud/compute/v1/region_health_aggregation_policies/rest/client.rb +1268 -0
  99. data/lib/google/cloud/compute/v1/region_health_aggregation_policies/rest/service_stub.rb +521 -0
  100. data/lib/google/cloud/compute/v1/region_health_aggregation_policies/rest.rb +51 -0
  101. data/lib/google/cloud/compute/v1/region_health_aggregation_policies.rb +47 -0
  102. data/lib/google/cloud/compute/v1/region_health_check_services/rest/client.rb +427 -17
  103. data/lib/google/cloud/compute/v1/region_health_check_services/rest/service_stub.rb +125 -0
  104. data/lib/google/cloud/compute/v1/region_health_checks/rest/client.rb +238 -13
  105. data/lib/google/cloud/compute/v1/region_health_checks/rest/service_stub.rb +64 -0
  106. data/lib/google/cloud/compute/v1/region_health_sources/credentials.rb +52 -0
  107. data/lib/google/cloud/compute/v1/region_health_sources/rest/client.rb +1268 -0
  108. data/lib/google/cloud/compute/v1/region_health_sources/rest/service_stub.rb +521 -0
  109. data/lib/google/cloud/compute/v1/region_health_sources/rest.rb +51 -0
  110. data/lib/google/cloud/compute/v1/region_health_sources.rb +47 -0
  111. data/lib/google/cloud/compute/v1/region_instance_group_managers/rest/client.rb +750 -64
  112. data/lib/google/cloud/compute/v1/region_instance_groups/rest/client.rb +280 -14
  113. data/lib/google/cloud/compute/v1/region_instance_groups/rest/service_stub.rb +64 -0
  114. data/lib/google/cloud/compute/v1/region_instance_templates/rest/client.rb +115 -10
  115. data/lib/google/cloud/compute/v1/region_instances/rest/client.rb +15 -2
  116. data/lib/google/cloud/compute/v1/region_instant_snapshots/rest/client.rb +139 -13
  117. data/lib/google/cloud/compute/v1/region_network_endpoint_groups/rest/client.rb +264 -28
  118. data/lib/google/cloud/compute/v1/region_network_firewall_policies/rest/client.rb +213 -20
  119. data/lib/google/cloud/compute/v1/region_notification_endpoints/rest/client.rb +399 -11
  120. data/lib/google/cloud/compute/v1/region_notification_endpoints/rest/service_stub.rb +125 -0
  121. data/lib/google/cloud/compute/v1/region_operations/rest/client.rb +107 -10
  122. data/lib/google/cloud/compute/v1/region_security_policies/rest/client.rb +149 -14
  123. data/lib/google/cloud/compute/v1/region_ssl_certificates/rest/client.rb +116 -10
  124. data/lib/google/cloud/compute/v1/region_ssl_policies/rest/client.rb +220 -20
  125. data/lib/google/cloud/compute/v1/region_target_http_proxies/rest/client.rb +126 -10
  126. data/lib/google/cloud/compute/v1/region_target_https_proxies/rest/client.rb +158 -14
  127. data/lib/google/cloud/compute/v1/region_target_tcp_proxies/rest/client.rb +113 -9
  128. data/lib/google/cloud/compute/v1/region_url_maps/rest/client.rb +104 -14
  129. data/lib/google/cloud/compute/v1/region_zones/rest/client.rb +85 -6
  130. data/lib/google/cloud/compute/v1/regions/rest/client.rb +120 -7
  131. data/lib/google/cloud/compute/v1/reservation_blocks/rest/client.rb +396 -11
  132. data/lib/google/cloud/compute/v1/reservation_blocks/rest/service_stub.rb +194 -0
  133. data/lib/google/cloud/compute/v1/reservation_slots/credentials.rb +52 -0
  134. data/lib/google/cloud/compute/v1/reservation_slots/rest/client.rb +863 -0
  135. data/lib/google/cloud/compute/v1/reservation_slots/rest/service_stub.rb +338 -0
  136. data/lib/google/cloud/compute/v1/reservation_slots/rest.rb +51 -0
  137. data/lib/google/cloud/compute/v1/reservation_slots.rb +47 -0
  138. data/lib/google/cloud/compute/v1/reservation_sub_blocks/rest/client.rb +642 -12
  139. data/lib/google/cloud/compute/v1/reservation_sub_blocks/rest/service_stub.rb +327 -3
  140. data/lib/google/cloud/compute/v1/reservations/rest/client.rb +257 -24
  141. data/lib/google/cloud/compute/v1/resource_policies/rest/client.rb +224 -19
  142. data/lib/google/cloud/compute/v1/rest.rb +10 -0
  143. data/lib/google/cloud/compute/v1/routers/rest/client.rb +555 -50
  144. data/lib/google/cloud/compute/v1/routes/rest/client.rb +202 -8
  145. data/lib/google/cloud/compute/v1/routes/rest/service_stub.rb +63 -0
  146. data/lib/google/cloud/compute/v1/security_policies/rest/client.rb +316 -26
  147. data/lib/google/cloud/compute/v1/service_attachments/rest/client.rb +234 -22
  148. data/lib/google/cloud/compute/v1/snapshot_settings_service/rest/client.rb +13 -1
  149. data/lib/google/cloud/compute/v1/snapshots/rest/client.rb +130 -13
  150. data/lib/google/cloud/compute/v1/ssl_certificates/rest/client.rb +210 -17
  151. data/lib/google/cloud/compute/v1/ssl_policies/rest/client.rb +315 -27
  152. data/lib/google/cloud/compute/v1/storage_pool_types/rest/client.rb +181 -14
  153. data/lib/google/cloud/compute/v1/storage_pools/rest/client.rb +321 -28
  154. data/lib/google/cloud/compute/v1/subnetworks/rest/client.rb +378 -34
  155. data/lib/google/cloud/compute/v1/target_grpc_proxies/rest/client.rb +128 -10
  156. data/lib/google/cloud/compute/v1/target_http_proxies/rest/client.rb +240 -20
  157. data/lib/google/cloud/compute/v1/target_https_proxies/rest/client.rb +306 -30
  158. data/lib/google/cloud/compute/v1/target_instances/rest/client.rb +320 -20
  159. data/lib/google/cloud/compute/v1/target_instances/rest/service_stub.rb +64 -0
  160. data/lib/google/cloud/compute/v1/target_pools/rest/client.rb +387 -26
  161. data/lib/google/cloud/compute/v1/target_pools/rest/service_stub.rb +64 -0
  162. data/lib/google/cloud/compute/v1/target_ssl_proxies/rest/client.rb +281 -19
  163. data/lib/google/cloud/compute/v1/target_ssl_proxies/rest/service_stub.rb +63 -0
  164. data/lib/google/cloud/compute/v1/target_tcp_proxies/rest/client.rb +329 -20
  165. data/lib/google/cloud/compute/v1/target_tcp_proxies/rest/service_stub.rb +63 -0
  166. data/lib/google/cloud/compute/v1/target_vpn_gateways/rest/client.rb +224 -19
  167. data/lib/google/cloud/compute/v1/url_maps/rest/client.rb +354 -24
  168. data/lib/google/cloud/compute/v1/url_maps/rest/service_stub.rb +63 -0
  169. data/lib/google/cloud/compute/v1/version.rb +1 -1
  170. data/lib/google/cloud/compute/v1/vpn_gateways/rest/client.rb +224 -19
  171. data/lib/google/cloud/compute/v1/vpn_tunnels/rest/client.rb +224 -19
  172. data/lib/google/cloud/compute/v1/wire_groups/credentials.rb +52 -0
  173. data/lib/google/cloud/compute/v1/wire_groups/rest/client.rb +980 -0
  174. data/lib/google/cloud/compute/v1/wire_groups/rest/service_stub.rb +396 -0
  175. data/lib/google/cloud/compute/v1/wire_groups/rest.rb +51 -0
  176. data/lib/google/cloud/compute/v1/wire_groups.rb +47 -0
  177. data/lib/google/cloud/compute/v1/zone_operations/rest/client.rb +106 -10
  178. data/lib/google/cloud/compute/v1/zones/rest/client.rb +83 -5
  179. data/lib/google/cloud/compute/v1.rb +10 -0
  180. data/proto_docs/google/api/client.rb +149 -29
  181. data/proto_docs/google/cloud/compute/v1/compute.rb +44226 -5514
  182. metadata +52 -2
@@ -232,7 +232,19 @@ module Google
232
232
  # @param public_advertised_prefix [::String]
233
233
  # The name of the public advertised prefix. It should comply with RFC1035.
234
234
  # @param request_id [::String]
235
- # An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).
235
+ # An optional request ID to identify requests. Specify a unique request ID so
236
+ # that if you must retry your request, the server will know to ignore the
237
+ # request if it has already been completed.
238
+ #
239
+ # For example, consider a situation where you make an initial request and
240
+ # the request times out. If you make the request again with the same
241
+ # request ID, the server can check if original operation with the same
242
+ # request ID was received, and if so, will ignore the second request. This
243
+ # prevents clients from accidentally creating duplicate commitments.
244
+ #
245
+ # The request ID must be
246
+ # a valid UUID with the exception that zero UUID is not supported
247
+ # (00000000-0000-0000-0000-000000000000).
236
248
  # @yield [result, operation] Access the result along with the TransportOperation object
237
249
  # @yieldparam result [::Gapic::GenericLRO::Operation]
238
250
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
@@ -323,7 +335,19 @@ module Google
323
335
  # @param public_advertised_prefix [::String]
324
336
  # Name of the PublicAdvertisedPrefix resource to delete.
325
337
  # @param request_id [::String]
326
- # An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).
338
+ # An optional request ID to identify requests. Specify a unique request ID so
339
+ # that if you must retry your request, the server will know to ignore the
340
+ # request if it has already been completed.
341
+ #
342
+ # For example, consider a situation where you make an initial request and
343
+ # the request times out. If you make the request again with the same
344
+ # request ID, the server can check if original operation with the same
345
+ # request ID was received, and if so, will ignore the second request. This
346
+ # prevents clients from accidentally creating duplicate commitments.
347
+ #
348
+ # The request ID must be
349
+ # a valid UUID with the exception that zero UUID is not supported
350
+ # (00000000-0000-0000-0000-000000000000).
327
351
  # @yield [result, operation] Access the result along with the TransportOperation object
328
352
  # @yieldparam result [::Gapic::GenericLRO::Operation]
329
353
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
@@ -472,7 +496,8 @@ module Google
472
496
  end
473
497
 
474
498
  ##
475
- # Creates a PublicAdvertisedPrefix in the specified project using the parameters that are included in the request.
499
+ # Creates a PublicAdvertisedPrefix in the specified project
500
+ # using the parameters that are included in the request.
476
501
  #
477
502
  # @overload insert(request, options = nil)
478
503
  # Pass arguments to `insert` via a request object, either of type
@@ -494,7 +519,19 @@ module Google
494
519
  # @param public_advertised_prefix_resource [::Google::Cloud::Compute::V1::PublicAdvertisedPrefix, ::Hash]
495
520
  # The body resource for this request
496
521
  # @param request_id [::String]
497
- # An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).
522
+ # An optional request ID to identify requests. Specify a unique request ID so
523
+ # that if you must retry your request, the server will know to ignore the
524
+ # request if it has already been completed.
525
+ #
526
+ # For example, consider a situation where you make an initial request and
527
+ # the request times out. If you make the request again with the same
528
+ # request ID, the server can check if original operation with the same
529
+ # request ID was received, and if so, will ignore the second request. This
530
+ # prevents clients from accidentally creating duplicate commitments.
531
+ #
532
+ # The request ID must be
533
+ # a valid UUID with the exception that zero UUID is not supported
534
+ # (00000000-0000-0000-0000-000000000000).
498
535
  # @yield [result, operation] Access the result along with the TransportOperation object
499
536
  # @yieldparam result [::Gapic::GenericLRO::Operation]
500
537
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
@@ -581,17 +618,95 @@ module Google
581
618
  # the default parameter values, pass an empty Hash as a request object (see above).
582
619
  #
583
620
  # @param filter [::String]
584
- # A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions.
621
+ # A filter expression that filters resources listed in the response. Most
622
+ # Compute resources support two types of filter expressions:
623
+ # expressions that support regular expressions and expressions that follow
624
+ # API improvement proposal AIP-160.
625
+ # These two types of filter expressions cannot be mixed in one request.
626
+ #
627
+ # If you want to use AIP-160, your expression must specify the field name, an
628
+ # operator, and the value that you want to use for filtering. The value
629
+ # must be a string, a number, or a boolean. The operator
630
+ # must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.
631
+ #
632
+ # For example, if you are filtering Compute Engine instances, you can
633
+ # exclude instances named `example-instance` by specifying
634
+ # `name != example-instance`.
635
+ #
636
+ # The `:*` comparison can be used to test whether a key has been defined.
637
+ # For example, to find all objects with `owner` label use:
638
+ # ```
639
+ # labels.owner:*
640
+ # ```
641
+ #
642
+ # You can also filter nested fields. For example, you could specify
643
+ # `scheduling.automaticRestart = false` to include instances only
644
+ # if they are not scheduled for automatic restarts. You can use filtering
645
+ # on nested fields to filter based onresource labels.
646
+ #
647
+ # To filter on multiple expressions, provide each separate expression within
648
+ # parentheses. For example:
649
+ # ```
650
+ # (scheduling.automaticRestart = true)
651
+ # (cpuPlatform = "Intel Skylake")
652
+ # ```
653
+ # By default, each expression is an `AND` expression. However, you
654
+ # can include `AND` and `OR` expressions explicitly.
655
+ # For example:
656
+ # ```
657
+ # (cpuPlatform = "Intel Skylake") OR
658
+ # (cpuPlatform = "Intel Broadwell") AND
659
+ # (scheduling.automaticRestart = true)
660
+ # ```
661
+ #
662
+ # If you want to use a regular expression, use the `eq` (equal) or `ne`
663
+ # (not equal) operator against a single un-parenthesized expression with or
664
+ # without quotes or against multiple parenthesized expressions. Examples:
665
+ #
666
+ # `fieldname eq unquoted literal`
667
+ # `fieldname eq 'single quoted literal'`
668
+ # `fieldname eq "double quoted literal"`
669
+ # `(fieldname1 eq literal) (fieldname2 ne "literal")`
670
+ #
671
+ # The literal value is interpreted as a regular expression using GoogleRE2 library syntax.
672
+ # The literal value must match the entire field.
673
+ #
674
+ # For example, to filter for instances that do not end with name "instance",
675
+ # you would use `name ne .*instance`.
676
+ #
677
+ # You cannot combine constraints on multiple fields using regular
678
+ # expressions.
585
679
  # @param max_results [::Integer]
586
- # The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)
680
+ # The maximum number of results per page that should be returned.
681
+ # If the number of available results is larger than `maxResults`,
682
+ # Compute Engine returns a `nextPageToken` that can be used to get
683
+ # the next page of results in subsequent list requests. Acceptable values are
684
+ # `0` to `500`, inclusive. (Default: `500`)
587
685
  # @param order_by [::String]
588
- # Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.
686
+ # Sorts list results by a certain order. By default, results
687
+ # are returned in alphanumerical order based on the resource name.
688
+ #
689
+ # You can also sort results in descending order based on the creation
690
+ # timestamp using `orderBy="creationTimestamp desc"`. This sorts
691
+ # results based on the `creationTimestamp` field in
692
+ # reverse chronological order (newest result first). Use this to sort
693
+ # resources like operations so that the newest operation is returned first.
694
+ #
695
+ # Currently, only sorting by `name` or
696
+ # `creationTimestamp desc` is supported.
589
697
  # @param page_token [::String]
590
- # Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.
698
+ # Specifies a page token to use. Set `pageToken` to the
699
+ # `nextPageToken` returned by a previous list request to get
700
+ # the next page of results.
591
701
  # @param project [::String]
592
702
  # Project ID for this request.
593
703
  # @param return_partial_success [::Boolean]
594
- # Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope either returns all resources in the zone or no resources, with an error code.
704
+ # Opt-in for partial success behavior which provides partial results in case
705
+ # of failure. The default value is false.
706
+ #
707
+ # For example, when partial success behavior is enabled, aggregatedList for a
708
+ # single zone scope either returns all resources in the zone or no resources,
709
+ # with an error code.
595
710
  # @yield [result, operation] Access the result along with the TransportOperation object
596
711
  # @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Compute::V1::PublicAdvertisedPrefix>]
597
712
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
@@ -653,7 +768,10 @@ module Google
653
768
  end
654
769
 
655
770
  ##
656
- # Patches the specified Router resource with the data included in the request. This method supports PATCH semantics and uses JSON merge patch format and processing rules.
771
+ # Patches the specified Router resource with the data included in the
772
+ # request. This method supportsPATCH
773
+ # semantics and usesJSON merge
774
+ # patch format and processing rules.
657
775
  #
658
776
  # @overload patch(request, options = nil)
659
777
  # Pass arguments to `patch` via a request object, either of type
@@ -677,7 +795,19 @@ module Google
677
795
  # @param public_advertised_prefix_resource [::Google::Cloud::Compute::V1::PublicAdvertisedPrefix, ::Hash]
678
796
  # The body resource for this request
679
797
  # @param request_id [::String]
680
- # An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).
798
+ # An optional request ID to identify requests. Specify a unique request ID so
799
+ # that if you must retry your request, the server will know to ignore the
800
+ # request if it has already been completed.
801
+ #
802
+ # For example, consider a situation where you make an initial request and
803
+ # the request times out. If you make the request again with the same
804
+ # request ID, the server can check if original operation with the same
805
+ # request ID was received, and if so, will ignore the second request. This
806
+ # prevents clients from accidentally creating duplicate commitments.
807
+ #
808
+ # The request ID must be
809
+ # a valid UUID with the exception that zero UUID is not supported
810
+ # (00000000-0000-0000-0000-000000000000).
681
811
  # @yield [result, operation] Access the result along with the TransportOperation object
682
812
  # @yieldparam result [::Gapic::GenericLRO::Operation]
683
813
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
@@ -768,7 +898,19 @@ module Google
768
898
  # @param public_advertised_prefix [::String]
769
899
  # The name of the public advertised prefix. It should comply with RFC1035.
770
900
  # @param request_id [::String]
771
- # An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).
901
+ # An optional request ID to identify requests. Specify a unique request ID so
902
+ # that if you must retry your request, the server will know to ignore the
903
+ # request if it has already been completed.
904
+ #
905
+ # For example, consider a situation where you make an initial request and
906
+ # the request times out. If you make the request again with the same
907
+ # request ID, the server can check if original operation with the same
908
+ # request ID was received, and if so, will ignore the second request. This
909
+ # prevents clients from accidentally creating duplicate commitments.
910
+ #
911
+ # The request ID must be
912
+ # a valid UUID with the exception that zero UUID is not supported
913
+ # (00000000-0000-0000-0000-000000000000).
772
914
  # @yield [result, operation] Access the result along with the TransportOperation object
773
915
  # @yieldparam result [::Gapic::GenericLRO::Operation]
774
916
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
@@ -215,7 +215,11 @@ module Google
215
215
  # Service calls
216
216
 
217
217
  ##
218
- # Lists all PublicDelegatedPrefix resources owned by the specific project across all scopes. To prevent failure, Google recommends that you set the `returnPartialSuccess` parameter to `true`.
218
+ # Lists all PublicDelegatedPrefix resources owned by the specific project
219
+ # across all scopes.
220
+ #
221
+ # To prevent failure, Google recommends that you set the
222
+ # `returnPartialSuccess` parameter to `true`.
219
223
  #
220
224
  # @overload aggregated_list(request, options = nil)
221
225
  # Pass arguments to `aggregated_list` via a request object, either of type
@@ -233,21 +237,106 @@ module Google
233
237
  # the default parameter values, pass an empty Hash as a request object (see above).
234
238
  #
235
239
  # @param filter [::String]
236
- # A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions.
240
+ # A filter expression that filters resources listed in the response. Most
241
+ # Compute resources support two types of filter expressions:
242
+ # expressions that support regular expressions and expressions that follow
243
+ # API improvement proposal AIP-160.
244
+ # These two types of filter expressions cannot be mixed in one request.
245
+ #
246
+ # If you want to use AIP-160, your expression must specify the field name, an
247
+ # operator, and the value that you want to use for filtering. The value
248
+ # must be a string, a number, or a boolean. The operator
249
+ # must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.
250
+ #
251
+ # For example, if you are filtering Compute Engine instances, you can
252
+ # exclude instances named `example-instance` by specifying
253
+ # `name != example-instance`.
254
+ #
255
+ # The `:*` comparison can be used to test whether a key has been defined.
256
+ # For example, to find all objects with `owner` label use:
257
+ # ```
258
+ # labels.owner:*
259
+ # ```
260
+ #
261
+ # You can also filter nested fields. For example, you could specify
262
+ # `scheduling.automaticRestart = false` to include instances only
263
+ # if they are not scheduled for automatic restarts. You can use filtering
264
+ # on nested fields to filter based onresource labels.
265
+ #
266
+ # To filter on multiple expressions, provide each separate expression within
267
+ # parentheses. For example:
268
+ # ```
269
+ # (scheduling.automaticRestart = true)
270
+ # (cpuPlatform = "Intel Skylake")
271
+ # ```
272
+ # By default, each expression is an `AND` expression. However, you
273
+ # can include `AND` and `OR` expressions explicitly.
274
+ # For example:
275
+ # ```
276
+ # (cpuPlatform = "Intel Skylake") OR
277
+ # (cpuPlatform = "Intel Broadwell") AND
278
+ # (scheduling.automaticRestart = true)
279
+ # ```
280
+ #
281
+ # If you want to use a regular expression, use the `eq` (equal) or `ne`
282
+ # (not equal) operator against a single un-parenthesized expression with or
283
+ # without quotes or against multiple parenthesized expressions. Examples:
284
+ #
285
+ # `fieldname eq unquoted literal`
286
+ # `fieldname eq 'single quoted literal'`
287
+ # `fieldname eq "double quoted literal"`
288
+ # `(fieldname1 eq literal) (fieldname2 ne "literal")`
289
+ #
290
+ # The literal value is interpreted as a regular expression using GoogleRE2 library syntax.
291
+ # The literal value must match the entire field.
292
+ #
293
+ # For example, to filter for instances that do not end with name "instance",
294
+ # you would use `name ne .*instance`.
295
+ #
296
+ # You cannot combine constraints on multiple fields using regular
297
+ # expressions.
237
298
  # @param include_all_scopes [::Boolean]
238
- # Indicates whether every visible scope for each scope type (zone, region, global) should be included in the response. For new resource types added after this field, the flag has no effect as new resource types will always include every visible scope for each scope type in response. For resource types which predate this field, if this flag is omitted or false, only scopes of the scope types where the resource type is expected to be found will be included.
299
+ # Indicates whether every visible scope for each scope type (zone, region,
300
+ # global) should be included in the response. For new resource types added
301
+ # after this field, the flag has no effect as new resource types will always
302
+ # include every visible scope for each scope type in response. For resource
303
+ # types which predate this field, if this flag is omitted or false, only
304
+ # scopes of the scope types where the resource type is expected to be found
305
+ # will be included.
239
306
  # @param max_results [::Integer]
240
- # The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)
307
+ # The maximum number of results per page that should be returned.
308
+ # If the number of available results is larger than `maxResults`,
309
+ # Compute Engine returns a `nextPageToken` that can be used to get
310
+ # the next page of results in subsequent list requests. Acceptable values are
311
+ # `0` to `500`, inclusive. (Default: `500`)
241
312
  # @param order_by [::String]
242
- # Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.
313
+ # Sorts list results by a certain order. By default, results
314
+ # are returned in alphanumerical order based on the resource name.
315
+ #
316
+ # You can also sort results in descending order based on the creation
317
+ # timestamp using `orderBy="creationTimestamp desc"`. This sorts
318
+ # results based on the `creationTimestamp` field in
319
+ # reverse chronological order (newest result first). Use this to sort
320
+ # resources like operations so that the newest operation is returned first.
321
+ #
322
+ # Currently, only sorting by `name` or
323
+ # `creationTimestamp desc` is supported.
243
324
  # @param page_token [::String]
244
- # Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.
325
+ # Specifies a page token to use. Set `pageToken` to the
326
+ # `nextPageToken` returned by a previous list request to get
327
+ # the next page of results.
245
328
  # @param project [::String]
246
329
  # Name of the project scoping this request.
247
330
  # @param return_partial_success [::Boolean]
248
- # Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope either returns all resources in the zone or no resources, with an error code.
331
+ # Opt-in for partial success behavior which provides partial results in case
332
+ # of failure. The default value is false.
333
+ #
334
+ # For example, when partial success behavior is enabled, aggregatedList for a
335
+ # single zone scope either returns all resources in the zone or no resources,
336
+ # with an error code.
249
337
  # @param service_project_number [::Integer]
250
- # The Shared VPC service project id or service project number for which aggregated list request is invoked for subnetworks list-usable api.
338
+ # The Shared VPC service project id or service project number for which
339
+ # aggregated list request is invoked for subnetworks list-usable api.
251
340
  # @yield [result, operation] Access the result along with the TransportOperation object
252
341
  # @yieldparam result [::Gapic::Rest::PagedEnumerable<::String, ::Google::Cloud::Compute::V1::PublicDelegatedPrefixesScopedList>]
253
342
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
@@ -331,9 +420,22 @@ module Google
331
420
  # @param public_delegated_prefix [::String]
332
421
  # The name of the public delegated prefix. It should comply with RFC1035.
333
422
  # @param region [::String]
334
- # The name of the region where the public delegated prefix is located. It should comply with RFC1035.
423
+ # The name of theregion where
424
+ # the public delegated prefix is located. It should comply with RFC1035.
335
425
  # @param request_id [::String]
336
- # An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).
426
+ # An optional request ID to identify requests. Specify a unique request ID so
427
+ # that if you must retry your request, the server will know to ignore the
428
+ # request if it has already been completed.
429
+ #
430
+ # For example, consider a situation where you make an initial request and
431
+ # the request times out. If you make the request again with the same
432
+ # request ID, the server can check if original operation with the same
433
+ # request ID was received, and if so, will ignore the second request. This
434
+ # prevents clients from accidentally creating duplicate commitments.
435
+ #
436
+ # The request ID must be
437
+ # a valid UUID with the exception that zero UUID is not supported
438
+ # (00000000-0000-0000-0000-000000000000).
337
439
  # @yield [result, operation] Access the result along with the TransportOperation object
338
440
  # @yieldparam result [::Gapic::GenericLRO::Operation]
339
441
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
@@ -427,7 +529,19 @@ module Google
427
529
  # @param region [::String]
428
530
  # Name of the region of this request.
429
531
  # @param request_id [::String]
430
- # An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).
532
+ # An optional request ID to identify requests. Specify a unique request ID so
533
+ # that if you must retry your request, the server will know to ignore the
534
+ # request if it has already been completed.
535
+ #
536
+ # For example, consider a situation where you make an initial request and
537
+ # the request times out. If you make the request again with the same
538
+ # request ID, the server can check if original operation with the same
539
+ # request ID was received, and if so, will ignore the second request. This
540
+ # prevents clients from accidentally creating duplicate commitments.
541
+ #
542
+ # The request ID must be
543
+ # a valid UUID with the exception that zero UUID is not supported
544
+ # (00000000-0000-0000-0000-000000000000).
431
545
  # @yield [result, operation] Access the result along with the TransportOperation object
432
546
  # @yieldparam result [::Gapic::GenericLRO::Operation]
433
547
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
@@ -579,7 +693,8 @@ module Google
579
693
  end
580
694
 
581
695
  ##
582
- # Creates a PublicDelegatedPrefix in the specified project in the given region using the parameters that are included in the request.
696
+ # Creates a PublicDelegatedPrefix in the specified project in the given
697
+ # region using the parameters that are included in the request.
583
698
  #
584
699
  # @overload insert(request, options = nil)
585
700
  # Pass arguments to `insert` via a request object, either of type
@@ -603,7 +718,19 @@ module Google
603
718
  # @param region [::String]
604
719
  # Name of the region of this request.
605
720
  # @param request_id [::String]
606
- # An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).
721
+ # 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).
607
734
  # @yield [result, operation] Access the result along with the TransportOperation object
608
735
  # @yieldparam result [::Gapic::GenericLRO::Operation]
609
736
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
@@ -691,19 +818,97 @@ module Google
691
818
  # the default parameter values, pass an empty Hash as a request object (see above).
692
819
  #
693
820
  # @param filter [::String]
694
- # A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions.
821
+ # A filter expression that filters resources listed in the response. Most
822
+ # Compute resources support two types of filter expressions:
823
+ # expressions that support regular expressions and expressions that follow
824
+ # API improvement proposal AIP-160.
825
+ # These two types of filter expressions cannot be mixed in one request.
826
+ #
827
+ # If you want to use AIP-160, your expression must specify the field name, an
828
+ # operator, and the value that you want to use for filtering. The value
829
+ # must be a string, a number, or a boolean. The operator
830
+ # must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.
831
+ #
832
+ # For example, if you are filtering Compute Engine instances, you can
833
+ # exclude instances named `example-instance` by specifying
834
+ # `name != example-instance`.
835
+ #
836
+ # The `:*` comparison can be used to test whether a key has been defined.
837
+ # For example, to find all objects with `owner` label use:
838
+ # ```
839
+ # labels.owner:*
840
+ # ```
841
+ #
842
+ # You can also filter nested fields. For example, you could specify
843
+ # `scheduling.automaticRestart = false` to include instances only
844
+ # if they are not scheduled for automatic restarts. You can use filtering
845
+ # on nested fields to filter based onresource labels.
846
+ #
847
+ # To filter on multiple expressions, provide each separate expression within
848
+ # parentheses. For example:
849
+ # ```
850
+ # (scheduling.automaticRestart = true)
851
+ # (cpuPlatform = "Intel Skylake")
852
+ # ```
853
+ # By default, each expression is an `AND` expression. However, you
854
+ # can include `AND` and `OR` expressions explicitly.
855
+ # For example:
856
+ # ```
857
+ # (cpuPlatform = "Intel Skylake") OR
858
+ # (cpuPlatform = "Intel Broadwell") AND
859
+ # (scheduling.automaticRestart = true)
860
+ # ```
861
+ #
862
+ # If you want to use a regular expression, use the `eq` (equal) or `ne`
863
+ # (not equal) operator against a single un-parenthesized expression with or
864
+ # without quotes or against multiple parenthesized expressions. Examples:
865
+ #
866
+ # `fieldname eq unquoted literal`
867
+ # `fieldname eq 'single quoted literal'`
868
+ # `fieldname eq "double quoted literal"`
869
+ # `(fieldname1 eq literal) (fieldname2 ne "literal")`
870
+ #
871
+ # The literal value is interpreted as a regular expression using GoogleRE2 library syntax.
872
+ # The literal value must match the entire field.
873
+ #
874
+ # For example, to filter for instances that do not end with name "instance",
875
+ # you would use `name ne .*instance`.
876
+ #
877
+ # You cannot combine constraints on multiple fields using regular
878
+ # expressions.
695
879
  # @param max_results [::Integer]
696
- # The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)
880
+ # The maximum number of results per page that should be returned.
881
+ # If the number of available results is larger than `maxResults`,
882
+ # Compute Engine returns a `nextPageToken` that can be used to get
883
+ # the next page of results in subsequent list requests. Acceptable values are
884
+ # `0` to `500`, inclusive. (Default: `500`)
697
885
  # @param order_by [::String]
698
- # Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.
886
+ # Sorts list results by a certain order. By default, results
887
+ # are returned in alphanumerical order based on the resource name.
888
+ #
889
+ # You can also sort results in descending order based on the creation
890
+ # timestamp using `orderBy="creationTimestamp desc"`. This sorts
891
+ # results based on the `creationTimestamp` field in
892
+ # reverse chronological order (newest result first). Use this to sort
893
+ # resources like operations so that the newest operation is returned first.
894
+ #
895
+ # Currently, only sorting by `name` or
896
+ # `creationTimestamp desc` is supported.
699
897
  # @param page_token [::String]
700
- # Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.
898
+ # Specifies a page token to use. Set `pageToken` to the
899
+ # `nextPageToken` returned by a previous list request to get
900
+ # the next page of results.
701
901
  # @param project [::String]
702
902
  # Project ID for this request.
703
903
  # @param region [::String]
704
904
  # Name of the region of this request.
705
905
  # @param return_partial_success [::Boolean]
706
- # Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope either returns all resources in the zone or no resources, with an error code.
906
+ # Opt-in for partial success behavior which provides partial results in case
907
+ # of failure. The default value is false.
908
+ #
909
+ # For example, when partial success behavior is enabled, aggregatedList for a
910
+ # single zone scope either returns all resources in the zone or no resources,
911
+ # with an error code.
707
912
  # @yield [result, operation] Access the result along with the TransportOperation object
708
913
  # @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Compute::V1::PublicDelegatedPrefix>]
709
914
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
@@ -765,7 +970,10 @@ module Google
765
970
  end
766
971
 
767
972
  ##
768
- # Patches the specified PublicDelegatedPrefix resource with the data included in the request. This method supports PATCH semantics and uses JSON merge patch format and processing rules.
973
+ # Patches the specified PublicDelegatedPrefix resource with the data included
974
+ # in the request. This method supportsPATCH
975
+ # semantics and usesJSON merge
976
+ # patch format and processing rules.
769
977
  #
770
978
  # @overload patch(request, options = nil)
771
979
  # Pass arguments to `patch` via a request object, either of type
@@ -791,7 +999,19 @@ module Google
791
999
  # @param region [::String]
792
1000
  # Name of the region for this request.
793
1001
  # @param request_id [::String]
794
- # An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).
1002
+ # An optional request ID to identify requests. Specify a unique request ID so
1003
+ # that if you must retry your request, the server will know to ignore the
1004
+ # request if it has already been completed.
1005
+ #
1006
+ # For example, consider a situation where you make an initial request and
1007
+ # the request times out. If you make the request again with the same
1008
+ # request ID, the server can check if original operation with the same
1009
+ # request ID was received, and if so, will ignore the second request. This
1010
+ # prevents clients from accidentally creating duplicate commitments.
1011
+ #
1012
+ # The request ID must be
1013
+ # a valid UUID with the exception that zero UUID is not supported
1014
+ # (00000000-0000-0000-0000-000000000000).
795
1015
  # @yield [result, operation] Access the result along with the TransportOperation object
796
1016
  # @yieldparam result [::Gapic::GenericLRO::Operation]
797
1017
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
@@ -883,9 +1103,22 @@ module Google
883
1103
  # @param public_delegated_prefix [::String]
884
1104
  # The name of the public delegated prefix. It should comply with RFC1035.
885
1105
  # @param region [::String]
886
- # The name of the region where the public delegated prefix is located. It should comply with RFC1035.
1106
+ # The name of theregion where
1107
+ # the public delegated prefix is located. It should comply with RFC1035.
887
1108
  # @param request_id [::String]
888
- # An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).
1109
+ # An optional request ID to identify requests. Specify a unique request ID so
1110
+ # that if you must retry your request, the server will know to ignore the
1111
+ # request if it has already been completed.
1112
+ #
1113
+ # For example, consider a situation where you make an initial request and
1114
+ # the request times out. If you make the request again with the same
1115
+ # request ID, the server can check if original operation with the same
1116
+ # request ID was received, and if so, will ignore the second request. This
1117
+ # prevents clients from accidentally creating duplicate commitments.
1118
+ #
1119
+ # The request ID must be
1120
+ # a valid UUID with the exception that zero UUID is not supported
1121
+ # (00000000-0000-0000-0000-000000000000).
889
1122
  # @yield [result, operation] Access the result along with the TransportOperation object
890
1123
  # @yieldparam result [::Gapic::GenericLRO::Operation]
891
1124
  # @yieldparam operation [::Gapic::Rest::TransportOperation]