google-cloud-compute-v1 3.4.0 → 3.6.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 (214) 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 +237 -20
  4. data/lib/google/cloud/compute/v1/advice/credentials.rb +52 -0
  5. data/lib/google/cloud/compute/v1/advice/rest/client.rb +431 -0
  6. data/lib/google/cloud/compute/v1/advice/rest/service_stub.rb +144 -0
  7. data/lib/google/cloud/compute/v1/advice/rest.rb +51 -0
  8. data/lib/google/cloud/compute/v1/advice.rb +47 -0
  9. data/lib/google/cloud/compute/v1/autoscalers/rest/client.rb +334 -21
  10. data/lib/google/cloud/compute/v1/autoscalers/rest/service_stub.rb +64 -0
  11. data/lib/google/cloud/compute/v1/backend_buckets/rest/client.rb +573 -23
  12. data/lib/google/cloud/compute/v1/backend_buckets/rest/service_stub.rb +122 -0
  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 +357 -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 +508 -42
  23. data/lib/google/cloud/compute/v1/disks/rest/service_stub.rb +64 -0
  24. data/lib/google/cloud/compute/v1/external_vpn_gateways/rest/client.rb +118 -11
  25. data/lib/google/cloud/compute/v1/firewall_policies/rest/client.rb +240 -25
  26. data/lib/google/cloud/compute/v1/firewalls/rest/client.rb +238 -13
  27. data/lib/google/cloud/compute/v1/firewalls/rest/service_stub.rb +63 -0
  28. data/lib/google/cloud/compute/v1/forwarding_rules/rest/client.rb +258 -23
  29. data/lib/google/cloud/compute/v1/future_reservations/credentials.rb +52 -0
  30. data/lib/google/cloud/compute/v1/future_reservations/rest/client.rb +1287 -0
  31. data/lib/google/cloud/compute/v1/future_reservations/rest/service_stub.rb +520 -0
  32. data/lib/google/cloud/compute/v1/future_reservations/rest.rb +51 -0
  33. data/lib/google/cloud/compute/v1/future_reservations.rb +47 -0
  34. data/lib/google/cloud/compute/v1/global_addresses/rest/client.rb +126 -10
  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 +380 -40
  47. data/lib/google/cloud/compute/v1/instance_settings_service/rest/client.rb +13 -1
  48. data/lib/google/cloud/compute/v1/instance_templates/rest/client.rb +220 -20
  49. data/lib/google/cloud/compute/v1/instances/rest/client.rb +939 -104
  50. data/lib/google/cloud/compute/v1/instant_snapshot_groups/credentials.rb +52 -0
  51. data/lib/google/cloud/compute/v1/instant_snapshot_groups/rest/client.rb +1145 -0
  52. data/lib/google/cloud/compute/v1/instant_snapshot_groups/rest/service_stub.rb +523 -0
  53. data/lib/google/cloud/compute/v1/instant_snapshot_groups/rest.rb +51 -0
  54. data/lib/google/cloud/compute/v1/instant_snapshot_groups.rb +47 -0
  55. data/lib/google/cloud/compute/v1/instant_snapshots/rest/client.rb +235 -21
  56. data/lib/google/cloud/compute/v1/interconnect_attachment_groups/rest/client.rb +139 -14
  57. data/lib/google/cloud/compute/v1/interconnect_attachments/rest/client.rb +242 -21
  58. data/lib/google/cloud/compute/v1/interconnect_groups/rest/client.rb +139 -14
  59. data/lib/google/cloud/compute/v1/interconnect_locations/rest/client.rb +87 -7
  60. data/lib/google/cloud/compute/v1/interconnect_remote_locations/rest/client.rb +87 -7
  61. data/lib/google/cloud/compute/v1/interconnects/rest/client.rb +145 -14
  62. data/lib/google/cloud/compute/v1/license_codes/rest/client.rb +9 -2
  63. data/lib/google/cloud/compute/v1/licenses/rest/client.rb +161 -16
  64. data/lib/google/cloud/compute/v1/machine_images/rest/client.rb +124 -13
  65. data/lib/google/cloud/compute/v1/machine_types/rest/client.rb +181 -14
  66. data/lib/google/cloud/compute/v1/network_attachments/rest/client.rb +232 -20
  67. data/lib/google/cloud/compute/v1/network_edge_security_services/rest/client.rb +138 -12
  68. data/lib/google/cloud/compute/v1/network_endpoint_groups/rest/client.rb +361 -37
  69. data/lib/google/cloud/compute/v1/network_firewall_policies/rest/client.rb +354 -33
  70. data/lib/google/cloud/compute/v1/network_profiles/rest/client.rb +85 -6
  71. data/lib/google/cloud/compute/v1/networks/rest/client.rb +281 -23
  72. data/lib/google/cloud/compute/v1/node_groups/rest/client.rb +381 -32
  73. data/lib/google/cloud/compute/v1/node_templates/rest/client.rb +213 -19
  74. data/lib/google/cloud/compute/v1/node_types/rest/client.rb +181 -14
  75. data/lib/google/cloud/compute/v1/organization_security_policies/credentials.rb +52 -0
  76. data/lib/google/cloud/compute/v1/organization_security_policies/rest/client.rb +2259 -0
  77. data/lib/google/cloud/compute/v1/organization_security_policies/rest/service_stub.rb +1054 -0
  78. data/lib/google/cloud/compute/v1/organization_security_policies/rest.rb +51 -0
  79. data/lib/google/cloud/compute/v1/organization_security_policies.rb +47 -0
  80. data/lib/google/cloud/compute/v1/packet_mirrorings/rest/client.rb +226 -19
  81. data/lib/google/cloud/compute/v1/preview_features/credentials.rb +52 -0
  82. data/lib/google/cloud/compute/v1/preview_features/rest/client.rb +739 -0
  83. data/lib/google/cloud/compute/v1/preview_features/rest/service_stub.rb +267 -0
  84. data/lib/google/cloud/compute/v1/preview_features/rest.rb +51 -0
  85. data/lib/google/cloud/compute/v1/preview_features.rb +47 -0
  86. data/lib/google/cloud/compute/v1/projects/rest/client.rb +346 -30
  87. data/lib/google/cloud/compute/v1/public_advertised_prefixes/rest/client.rb +154 -12
  88. data/lib/google/cloud/compute/v1/public_delegated_prefixes/rest/client.rb +255 -22
  89. data/lib/google/cloud/compute/v1/region_autoscalers/rest/client.rb +238 -13
  90. data/lib/google/cloud/compute/v1/region_autoscalers/rest/service_stub.rb +64 -0
  91. data/lib/google/cloud/compute/v1/region_backend_buckets/credentials.rb +52 -0
  92. data/lib/google/cloud/compute/v1/region_backend_buckets/rest/client.rb +1450 -0
  93. data/lib/google/cloud/compute/v1/region_backend_buckets/rest/service_stub.rb +649 -0
  94. data/lib/google/cloud/compute/v1/region_backend_buckets/rest.rb +51 -0
  95. data/lib/google/cloud/compute/v1/region_backend_buckets.rb +47 -0
  96. data/lib/google/cloud/compute/v1/region_backend_services/rest/client.rb +260 -26
  97. data/lib/google/cloud/compute/v1/region_commitments/rest/client.rb +212 -18
  98. data/lib/google/cloud/compute/v1/region_composite_health_checks/credentials.rb +52 -0
  99. data/lib/google/cloud/compute/v1/region_composite_health_checks/rest/client.rb +1363 -0
  100. data/lib/google/cloud/compute/v1/region_composite_health_checks/rest/service_stub.rb +584 -0
  101. data/lib/google/cloud/compute/v1/region_composite_health_checks/rest.rb +51 -0
  102. data/lib/google/cloud/compute/v1/region_composite_health_checks.rb +47 -0
  103. data/lib/google/cloud/compute/v1/region_disk_types/rest/client.rb +83 -5
  104. data/lib/google/cloud/compute/v1/region_disks/rest/client.rb +387 -29
  105. data/lib/google/cloud/compute/v1/region_disks/rest/service_stub.rb +64 -0
  106. data/lib/google/cloud/compute/v1/region_health_aggregation_policies/credentials.rb +52 -0
  107. data/lib/google/cloud/compute/v1/region_health_aggregation_policies/rest/client.rb +1268 -0
  108. data/lib/google/cloud/compute/v1/region_health_aggregation_policies/rest/service_stub.rb +521 -0
  109. data/lib/google/cloud/compute/v1/region_health_aggregation_policies/rest.rb +51 -0
  110. data/lib/google/cloud/compute/v1/region_health_aggregation_policies.rb +47 -0
  111. data/lib/google/cloud/compute/v1/region_health_check_services/rest/client.rb +427 -17
  112. data/lib/google/cloud/compute/v1/region_health_check_services/rest/service_stub.rb +125 -0
  113. data/lib/google/cloud/compute/v1/region_health_checks/rest/client.rb +238 -13
  114. data/lib/google/cloud/compute/v1/region_health_checks/rest/service_stub.rb +64 -0
  115. data/lib/google/cloud/compute/v1/region_health_sources/credentials.rb +52 -0
  116. data/lib/google/cloud/compute/v1/region_health_sources/rest/client.rb +1363 -0
  117. data/lib/google/cloud/compute/v1/region_health_sources/rest/service_stub.rb +584 -0
  118. data/lib/google/cloud/compute/v1/region_health_sources/rest.rb +51 -0
  119. data/lib/google/cloud/compute/v1/region_health_sources.rb +47 -0
  120. data/lib/google/cloud/compute/v1/region_instance_group_manager_resize_requests/credentials.rb +52 -0
  121. data/lib/google/cloud/compute/v1/region_instance_group_manager_resize_requests/rest/client.rb +1002 -0
  122. data/lib/google/cloud/compute/v1/region_instance_group_manager_resize_requests/rest/service_stub.rb +400 -0
  123. data/lib/google/cloud/compute/v1/region_instance_group_manager_resize_requests/rest.rb +51 -0
  124. data/lib/google/cloud/compute/v1/region_instance_group_manager_resize_requests.rb +47 -0
  125. data/lib/google/cloud/compute/v1/region_instance_group_managers/rest/client.rb +750 -64
  126. data/lib/google/cloud/compute/v1/region_instance_groups/rest/client.rb +187 -14
  127. data/lib/google/cloud/compute/v1/region_instance_templates/rest/client.rb +115 -10
  128. data/lib/google/cloud/compute/v1/region_instances/rest/client.rb +15 -2
  129. data/lib/google/cloud/compute/v1/region_instant_snapshot_groups/credentials.rb +52 -0
  130. data/lib/google/cloud/compute/v1/region_instant_snapshot_groups/rest/client.rb +1146 -0
  131. data/lib/google/cloud/compute/v1/region_instant_snapshot_groups/rest/service_stub.rb +523 -0
  132. data/lib/google/cloud/compute/v1/region_instant_snapshot_groups/rest.rb +51 -0
  133. data/lib/google/cloud/compute/v1/region_instant_snapshot_groups.rb +47 -0
  134. data/lib/google/cloud/compute/v1/region_instant_snapshots/rest/client.rb +139 -13
  135. data/lib/google/cloud/compute/v1/region_network_endpoint_groups/rest/client.rb +264 -28
  136. data/lib/google/cloud/compute/v1/region_network_firewall_policies/rest/client.rb +213 -20
  137. data/lib/google/cloud/compute/v1/region_notification_endpoints/rest/client.rb +399 -11
  138. data/lib/google/cloud/compute/v1/region_notification_endpoints/rest/service_stub.rb +125 -0
  139. data/lib/google/cloud/compute/v1/region_operations/rest/client.rb +107 -10
  140. data/lib/google/cloud/compute/v1/region_security_policies/rest/client.rb +149 -14
  141. data/lib/google/cloud/compute/v1/region_snapshot_settings/credentials.rb +52 -0
  142. data/lib/google/cloud/compute/v1/region_snapshot_settings/rest/client.rb +561 -0
  143. data/lib/google/cloud/compute/v1/region_snapshot_settings/rest/service_stub.rb +206 -0
  144. data/lib/google/cloud/compute/v1/region_snapshot_settings/rest.rb +51 -0
  145. data/lib/google/cloud/compute/v1/region_snapshot_settings.rb +47 -0
  146. data/lib/google/cloud/compute/v1/region_snapshots/credentials.rb +52 -0
  147. data/lib/google/cloud/compute/v1/region_snapshots/rest/client.rb +1388 -0
  148. data/lib/google/cloud/compute/v1/region_snapshots/rest/service_stub.rb +651 -0
  149. data/lib/google/cloud/compute/v1/region_snapshots/rest.rb +51 -0
  150. data/lib/google/cloud/compute/v1/region_snapshots.rb +47 -0
  151. data/lib/google/cloud/compute/v1/region_ssl_certificates/rest/client.rb +116 -10
  152. data/lib/google/cloud/compute/v1/region_ssl_policies/rest/client.rb +220 -20
  153. data/lib/google/cloud/compute/v1/region_target_http_proxies/rest/client.rb +126 -10
  154. data/lib/google/cloud/compute/v1/region_target_https_proxies/rest/client.rb +158 -14
  155. data/lib/google/cloud/compute/v1/region_target_tcp_proxies/rest/client.rb +113 -9
  156. data/lib/google/cloud/compute/v1/region_url_maps/rest/client.rb +104 -14
  157. data/lib/google/cloud/compute/v1/region_zones/rest/client.rb +85 -6
  158. data/lib/google/cloud/compute/v1/regions/rest/client.rb +120 -7
  159. data/lib/google/cloud/compute/v1/reservation_blocks/rest/client.rb +396 -11
  160. data/lib/google/cloud/compute/v1/reservation_blocks/rest/service_stub.rb +194 -0
  161. data/lib/google/cloud/compute/v1/reservation_slots/credentials.rb +52 -0
  162. data/lib/google/cloud/compute/v1/reservation_slots/rest/client.rb +863 -0
  163. data/lib/google/cloud/compute/v1/reservation_slots/rest/service_stub.rb +338 -0
  164. data/lib/google/cloud/compute/v1/reservation_slots/rest.rb +51 -0
  165. data/lib/google/cloud/compute/v1/reservation_slots.rb +47 -0
  166. data/lib/google/cloud/compute/v1/reservation_sub_blocks/rest/client.rb +642 -12
  167. data/lib/google/cloud/compute/v1/reservation_sub_blocks/rest/service_stub.rb +327 -3
  168. data/lib/google/cloud/compute/v1/reservations/rest/client.rb +257 -24
  169. data/lib/google/cloud/compute/v1/resource_policies/rest/client.rb +224 -19
  170. data/lib/google/cloud/compute/v1/rest.rb +17 -0
  171. data/lib/google/cloud/compute/v1/routers/rest/client.rb +555 -50
  172. data/lib/google/cloud/compute/v1/routes/rest/client.rb +202 -8
  173. data/lib/google/cloud/compute/v1/routes/rest/service_stub.rb +63 -0
  174. data/lib/google/cloud/compute/v1/security_policies/rest/client.rb +316 -26
  175. data/lib/google/cloud/compute/v1/service_attachments/rest/client.rb +231 -21
  176. data/lib/google/cloud/compute/v1/snapshot_settings_service/rest/client.rb +13 -1
  177. data/lib/google/cloud/compute/v1/snapshots/rest/client.rb +245 -13
  178. data/lib/google/cloud/compute/v1/snapshots/rest/service_stub.rb +63 -0
  179. data/lib/google/cloud/compute/v1/ssl_certificates/rest/client.rb +210 -17
  180. data/lib/google/cloud/compute/v1/ssl_policies/rest/client.rb +315 -27
  181. data/lib/google/cloud/compute/v1/storage_pool_types/rest/client.rb +181 -14
  182. data/lib/google/cloud/compute/v1/storage_pools/rest/client.rb +321 -28
  183. data/lib/google/cloud/compute/v1/subnetworks/rest/client.rb +378 -34
  184. data/lib/google/cloud/compute/v1/target_grpc_proxies/rest/client.rb +128 -10
  185. data/lib/google/cloud/compute/v1/target_http_proxies/rest/client.rb +240 -20
  186. data/lib/google/cloud/compute/v1/target_https_proxies/rest/client.rb +306 -30
  187. data/lib/google/cloud/compute/v1/target_instances/rest/client.rb +227 -20
  188. data/lib/google/cloud/compute/v1/target_pools/rest/client.rb +294 -26
  189. data/lib/google/cloud/compute/v1/target_ssl_proxies/rest/client.rb +281 -19
  190. data/lib/google/cloud/compute/v1/target_ssl_proxies/rest/service_stub.rb +63 -0
  191. data/lib/google/cloud/compute/v1/target_tcp_proxies/rest/client.rb +329 -20
  192. data/lib/google/cloud/compute/v1/target_tcp_proxies/rest/service_stub.rb +63 -0
  193. data/lib/google/cloud/compute/v1/target_vpn_gateways/rest/client.rb +224 -19
  194. data/lib/google/cloud/compute/v1/url_maps/rest/client.rb +354 -24
  195. data/lib/google/cloud/compute/v1/url_maps/rest/service_stub.rb +63 -0
  196. data/lib/google/cloud/compute/v1/version.rb +1 -1
  197. data/lib/google/cloud/compute/v1/vpn_gateways/rest/client.rb +224 -19
  198. data/lib/google/cloud/compute/v1/vpn_tunnels/rest/client.rb +224 -19
  199. data/lib/google/cloud/compute/v1/wire_groups/credentials.rb +52 -0
  200. data/lib/google/cloud/compute/v1/wire_groups/rest/client.rb +980 -0
  201. data/lib/google/cloud/compute/v1/wire_groups/rest/service_stub.rb +396 -0
  202. data/lib/google/cloud/compute/v1/wire_groups/rest.rb +51 -0
  203. data/lib/google/cloud/compute/v1/wire_groups.rb +47 -0
  204. data/lib/google/cloud/compute/v1/zone_operations/rest/client.rb +106 -10
  205. data/lib/google/cloud/compute/v1/zone_vm_extension_policies/credentials.rb +52 -0
  206. data/lib/google/cloud/compute/v1/zone_vm_extension_policies/rest/client.rb +975 -0
  207. data/lib/google/cloud/compute/v1/zone_vm_extension_policies/rest/service_stub.rb +396 -0
  208. data/lib/google/cloud/compute/v1/zone_vm_extension_policies/rest.rb +51 -0
  209. data/lib/google/cloud/compute/v1/zone_vm_extension_policies.rb +47 -0
  210. data/lib/google/cloud/compute/v1/zones/rest/client.rb +83 -5
  211. data/lib/google/cloud/compute/v1.rb +17 -0
  212. data/proto_docs/google/api/client.rb +149 -29
  213. data/proto_docs/google/cloud/compute/v1/compute.rb +47064 -5503
  214. metadata +87 -2
@@ -217,7 +217,10 @@ module Google
217
217
  # Service calls
218
218
 
219
219
  ##
220
- # Retrieves the list of network endpoint groups and sorts them by zone. To prevent failure, Google recommends that you set the `returnPartialSuccess` parameter to `true`.
220
+ # Retrieves the list of network endpoint groups and sorts them by zone.
221
+ #
222
+ # To prevent failure, Google recommends that you set the
223
+ # `returnPartialSuccess` parameter to `true`.
221
224
  #
222
225
  # @overload aggregated_list(request, options = nil)
223
226
  # Pass arguments to `aggregated_list` via a request object, either of type
@@ -235,21 +238,106 @@ module Google
235
238
  # the default parameter values, pass an empty Hash as a request object (see above).
236
239
  #
237
240
  # @param filter [::String]
238
- # 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.
241
+ # A filter expression that filters resources listed in the response. Most
242
+ # Compute resources support two types of filter expressions:
243
+ # expressions that support regular expressions and expressions that follow
244
+ # API improvement proposal AIP-160.
245
+ # These two types of filter expressions cannot be mixed in one request.
246
+ #
247
+ # If you want to use AIP-160, your expression must specify the field name, an
248
+ # operator, and the value that you want to use for filtering. The value
249
+ # must be a string, a number, or a boolean. The operator
250
+ # must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.
251
+ #
252
+ # For example, if you are filtering Compute Engine instances, you can
253
+ # exclude instances named `example-instance` by specifying
254
+ # `name != example-instance`.
255
+ #
256
+ # The `:*` comparison can be used to test whether a key has been defined.
257
+ # For example, to find all objects with `owner` label use:
258
+ # ```
259
+ # labels.owner:*
260
+ # ```
261
+ #
262
+ # You can also filter nested fields. For example, you could specify
263
+ # `scheduling.automaticRestart = false` to include instances only
264
+ # if they are not scheduled for automatic restarts. You can use filtering
265
+ # on nested fields to filter based onresource labels.
266
+ #
267
+ # To filter on multiple expressions, provide each separate expression within
268
+ # parentheses. For example:
269
+ # ```
270
+ # (scheduling.automaticRestart = true)
271
+ # (cpuPlatform = "Intel Skylake")
272
+ # ```
273
+ # By default, each expression is an `AND` expression. However, you
274
+ # can include `AND` and `OR` expressions explicitly.
275
+ # For example:
276
+ # ```
277
+ # (cpuPlatform = "Intel Skylake") OR
278
+ # (cpuPlatform = "Intel Broadwell") AND
279
+ # (scheduling.automaticRestart = true)
280
+ # ```
281
+ #
282
+ # If you want to use a regular expression, use the `eq` (equal) or `ne`
283
+ # (not equal) operator against a single un-parenthesized expression with or
284
+ # without quotes or against multiple parenthesized expressions. Examples:
285
+ #
286
+ # `fieldname eq unquoted literal`
287
+ # `fieldname eq 'single quoted literal'`
288
+ # `fieldname eq "double quoted literal"`
289
+ # `(fieldname1 eq literal) (fieldname2 ne "literal")`
290
+ #
291
+ # The literal value is interpreted as a regular expression using GoogleRE2 library syntax.
292
+ # The literal value must match the entire field.
293
+ #
294
+ # For example, to filter for instances that do not end with name "instance",
295
+ # you would use `name ne .*instance`.
296
+ #
297
+ # You cannot combine constraints on multiple fields using regular
298
+ # expressions.
239
299
  # @param include_all_scopes [::Boolean]
240
- # 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.
300
+ # Indicates whether every visible scope for each scope type (zone, region,
301
+ # global) should be included in the response. For new resource types added
302
+ # after this field, the flag has no effect as new resource types will always
303
+ # include every visible scope for each scope type in response. For resource
304
+ # types which predate this field, if this flag is omitted or false, only
305
+ # scopes of the scope types where the resource type is expected to be found
306
+ # will be included.
241
307
  # @param max_results [::Integer]
242
- # 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`)
308
+ # The maximum number of results per page that should be returned.
309
+ # If the number of available results is larger than `maxResults`,
310
+ # Compute Engine returns a `nextPageToken` that can be used to get
311
+ # the next page of results in subsequent list requests. Acceptable values are
312
+ # `0` to `500`, inclusive. (Default: `500`)
243
313
  # @param order_by [::String]
244
- # 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.
314
+ # Sorts list results by a certain order. By default, results
315
+ # are returned in alphanumerical order based on the resource name.
316
+ #
317
+ # You can also sort results in descending order based on the creation
318
+ # timestamp using `orderBy="creationTimestamp desc"`. This sorts
319
+ # results based on the `creationTimestamp` field in
320
+ # reverse chronological order (newest result first). Use this to sort
321
+ # resources like operations so that the newest operation is returned first.
322
+ #
323
+ # Currently, only sorting by `name` or
324
+ # `creationTimestamp desc` is supported.
245
325
  # @param page_token [::String]
246
- # Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.
326
+ # Specifies a page token to use. Set `pageToken` to the
327
+ # `nextPageToken` returned by a previous list request to get
328
+ # the next page of results.
247
329
  # @param project [::String]
248
330
  # Project ID for this request.
249
331
  # @param return_partial_success [::Boolean]
250
- # 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.
332
+ # Opt-in for partial success behavior which provides partial results in case
333
+ # of failure. The default value is false.
334
+ #
335
+ # For example, when partial success behavior is enabled, aggregatedList for a
336
+ # single zone scope either returns all resources in the zone or no resources,
337
+ # with an error code.
251
338
  # @param service_project_number [::Integer]
252
- # The Shared VPC service project id or service project number for which aggregated list request is invoked for subnetworks list-usable api.
339
+ # The Shared VPC service project id or service project number for which
340
+ # aggregated list request is invoked for subnetworks list-usable api.
253
341
  # @yield [result, operation] Access the result along with the TransportOperation object
254
342
  # @yieldparam result [::Gapic::Rest::PagedEnumerable<::String, ::Google::Cloud::Compute::V1::NetworkEndpointGroupsScopedList>]
255
343
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
@@ -329,15 +417,29 @@ module Google
329
417
  # the default parameter values, pass an empty Hash as a request object (see above).
330
418
  #
331
419
  # @param network_endpoint_group [::String]
332
- # The name of the network endpoint group where you are attaching network endpoints to. It should comply with RFC1035.
420
+ # The name of the network endpoint group where you are attaching network
421
+ # endpoints to. It should comply with RFC1035.
333
422
  # @param network_endpoint_groups_attach_endpoints_request_resource [::Google::Cloud::Compute::V1::NetworkEndpointGroupsAttachEndpointsRequest, ::Hash]
334
423
  # The body resource for this request
335
424
  # @param project [::String]
336
425
  # Project ID for this request.
337
426
  # @param request_id [::String]
338
- # 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).
427
+ # An optional request ID to identify requests. Specify a unique request ID so
428
+ # that if you must retry your request, the server will know to ignore the
429
+ # request if it has already been completed.
430
+ #
431
+ # For example, consider a situation where you make an initial request and
432
+ # the request times out. If you make the request again with the same
433
+ # request ID, the server can check if original operation with the same
434
+ # request ID was received, and if so, will ignore the second request. This
435
+ # prevents clients from accidentally creating duplicate commitments.
436
+ #
437
+ # The request ID must be
438
+ # a valid UUID with the exception that zero UUID is not supported
439
+ # (00000000-0000-0000-0000-000000000000).
339
440
  # @param zone [::String]
340
- # The name of the zone where the network endpoint group is located. It should comply with RFC1035.
441
+ # The name of the zone where
442
+ # the network endpoint group is located. It should comply with RFC1035.
341
443
  # @yield [result, operation] Access the result along with the TransportOperation object
342
444
  # @yieldparam result [::Gapic::GenericLRO::Operation]
343
445
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
@@ -407,7 +509,10 @@ module Google
407
509
  end
408
510
 
409
511
  ##
410
- # Deletes the specified network endpoint group. The network endpoints in the NEG and the VM instances they belong to are not terminated when the NEG is deleted. Note that the NEG cannot be deleted if there are backend services referencing it.
512
+ # Deletes the specified network endpoint group. The network endpoints in the
513
+ # NEG and the VM instances they belong to are not terminated when the NEG is
514
+ # deleted. Note that the NEG cannot be deleted if there are backend services
515
+ # referencing it.
411
516
  #
412
517
  # @overload delete(request, options = nil)
413
518
  # Pass arguments to `delete` via a request object, either of type
@@ -425,13 +530,27 @@ module Google
425
530
  # the default parameter values, pass an empty Hash as a request object (see above).
426
531
  #
427
532
  # @param network_endpoint_group [::String]
428
- # The name of the network endpoint group to delete. It should comply with RFC1035.
533
+ # The name of the network endpoint group to delete. It should comply with
534
+ # RFC1035.
429
535
  # @param project [::String]
430
536
  # Project ID for this request.
431
537
  # @param request_id [::String]
432
- # 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).
538
+ # An optional request ID to identify requests. Specify a unique request ID so
539
+ # that if you must retry your request, the server will know to ignore the
540
+ # request if it has already been completed.
541
+ #
542
+ # For example, consider a situation where you make an initial request and
543
+ # the request times out. If you make the request again with the same
544
+ # request ID, the server can check if original operation with the same
545
+ # request ID was received, and if so, will ignore the second request. This
546
+ # prevents clients from accidentally creating duplicate commitments.
547
+ #
548
+ # The request ID must be
549
+ # a valid UUID with the exception that zero UUID is not supported
550
+ # (00000000-0000-0000-0000-000000000000).
433
551
  # @param zone [::String]
434
- # The name of the zone where the network endpoint group is located. It should comply with RFC1035.
552
+ # The name of the zone where
553
+ # the network endpoint group is located. It should comply with RFC1035.
435
554
  # @yield [result, operation] Access the result along with the TransportOperation object
436
555
  # @yieldparam result [::Gapic::GenericLRO::Operation]
437
556
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
@@ -501,7 +620,8 @@ module Google
501
620
  end
502
621
 
503
622
  ##
504
- # Detach a list of network endpoints from the specified network endpoint group.
623
+ # Detach a list of network endpoints from the specified network endpoint
624
+ # group.
505
625
  #
506
626
  # @overload detach_network_endpoints(request, options = nil)
507
627
  # Pass arguments to `detach_network_endpoints` via a request object, either of type
@@ -519,15 +639,29 @@ module Google
519
639
  # the default parameter values, pass an empty Hash as a request object (see above).
520
640
  #
521
641
  # @param network_endpoint_group [::String]
522
- # The name of the network endpoint group where you are removing network endpoints. It should comply with RFC1035.
642
+ # The name of the network endpoint group where you are removing network
643
+ # endpoints. It should comply with RFC1035.
523
644
  # @param network_endpoint_groups_detach_endpoints_request_resource [::Google::Cloud::Compute::V1::NetworkEndpointGroupsDetachEndpointsRequest, ::Hash]
524
645
  # The body resource for this request
525
646
  # @param project [::String]
526
647
  # Project ID for this request.
527
648
  # @param request_id [::String]
528
- # 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).
649
+ # An optional request ID to identify requests. Specify a unique request ID so
650
+ # that if you must retry your request, the server will know to ignore the
651
+ # request if it has already been completed.
652
+ #
653
+ # For example, consider a situation where you make an initial request and
654
+ # the request times out. If you make the request again with the same
655
+ # request ID, the server can check if original operation with the same
656
+ # request ID was received, and if so, will ignore the second request. This
657
+ # prevents clients from accidentally creating duplicate commitments.
658
+ #
659
+ # The request ID must be
660
+ # a valid UUID with the exception that zero UUID is not supported
661
+ # (00000000-0000-0000-0000-000000000000).
529
662
  # @param zone [::String]
530
- # The name of the zone where the network endpoint group is located. It should comply with RFC1035.
663
+ # The name of the zone where
664
+ # the network endpoint group is located. It should comply with RFC1035.
531
665
  # @yield [result, operation] Access the result along with the TransportOperation object
532
666
  # @yieldparam result [::Gapic::GenericLRO::Operation]
533
667
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
@@ -619,7 +753,8 @@ module Google
619
753
  # @param project [::String]
620
754
  # Project ID for this request.
621
755
  # @param zone [::String]
622
- # The name of the zone where the network endpoint group is located. It should comply with RFC1035.
756
+ # The name of the zone where
757
+ # the network endpoint group is located. It should comply with RFC1035.
623
758
  # @yield [result, operation] Access the result along with the TransportOperation object
624
759
  # @yieldparam result [::Google::Cloud::Compute::V1::NetworkEndpointGroup]
625
760
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
@@ -679,7 +814,22 @@ module Google
679
814
  end
680
815
 
681
816
  ##
682
- # Creates a network endpoint group in the specified project using the parameters that are included in the request.
817
+ # Creates a network endpoint group in the specified project using the
818
+ # parameters that are included in the request.
819
+ #
820
+ # Note: Use the following APIs to manage network endpoint groups:
821
+ #
822
+ # -
823
+ # To manage NEGs with zonal scope (such as zonal NEGs, hybrid connectivity
824
+ # NEGs): zonal
825
+ # API
826
+ # -
827
+ # To manage NEGs with regional scope (such as regional internet NEGs,
828
+ # serverless NEGs, Private Service Connect NEGs): regional
829
+ # API
830
+ # -
831
+ # To manage NEGs with global scope (such as global internet NEGs):global
832
+ # API
683
833
  #
684
834
  # @overload insert(request, options = nil)
685
835
  # Pass arguments to `insert` via a request object, either of type
@@ -701,9 +851,23 @@ module Google
701
851
  # @param project [::String]
702
852
  # Project ID for this request.
703
853
  # @param request_id [::String]
704
- # 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).
854
+ # An optional request ID to identify requests. Specify a unique request ID so
855
+ # that if you must retry your request, the server will know to ignore the
856
+ # request if it has already been completed.
857
+ #
858
+ # For example, consider a situation where you make an initial request and
859
+ # the request times out. If you make the request again with the same
860
+ # request ID, the server can check if original operation with the same
861
+ # request ID was received, and if so, will ignore the second request. This
862
+ # prevents clients from accidentally creating duplicate commitments.
863
+ #
864
+ # The request ID must be
865
+ # a valid UUID with the exception that zero UUID is not supported
866
+ # (00000000-0000-0000-0000-000000000000).
705
867
  # @param zone [::String]
706
- # The name of the zone where you want to create the network endpoint group. It should comply with RFC1035.
868
+ # The name of the zone where
869
+ # you want to create the network endpoint group. It should comply with
870
+ # RFC1035.
707
871
  # @yield [result, operation] Access the result along with the TransportOperation object
708
872
  # @yieldparam result [::Gapic::GenericLRO::Operation]
709
873
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
@@ -773,7 +937,8 @@ module Google
773
937
  end
774
938
 
775
939
  ##
776
- # Retrieves the list of network endpoint groups that are located in the specified project and zone.
940
+ # Retrieves the list of network endpoint groups that are located in the
941
+ # specified project and zone.
777
942
  #
778
943
  # @overload list(request, options = nil)
779
944
  # Pass arguments to `list` via a request object, either of type
@@ -791,19 +956,98 @@ module Google
791
956
  # the default parameter values, pass an empty Hash as a request object (see above).
792
957
  #
793
958
  # @param filter [::String]
794
- # 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.
959
+ # A filter expression that filters resources listed in the response. Most
960
+ # Compute resources support two types of filter expressions:
961
+ # expressions that support regular expressions and expressions that follow
962
+ # API improvement proposal AIP-160.
963
+ # These two types of filter expressions cannot be mixed in one request.
964
+ #
965
+ # If you want to use AIP-160, your expression must specify the field name, an
966
+ # operator, and the value that you want to use for filtering. The value
967
+ # must be a string, a number, or a boolean. The operator
968
+ # must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.
969
+ #
970
+ # For example, if you are filtering Compute Engine instances, you can
971
+ # exclude instances named `example-instance` by specifying
972
+ # `name != example-instance`.
973
+ #
974
+ # The `:*` comparison can be used to test whether a key has been defined.
975
+ # For example, to find all objects with `owner` label use:
976
+ # ```
977
+ # labels.owner:*
978
+ # ```
979
+ #
980
+ # You can also filter nested fields. For example, you could specify
981
+ # `scheduling.automaticRestart = false` to include instances only
982
+ # if they are not scheduled for automatic restarts. You can use filtering
983
+ # on nested fields to filter based onresource labels.
984
+ #
985
+ # To filter on multiple expressions, provide each separate expression within
986
+ # parentheses. For example:
987
+ # ```
988
+ # (scheduling.automaticRestart = true)
989
+ # (cpuPlatform = "Intel Skylake")
990
+ # ```
991
+ # By default, each expression is an `AND` expression. However, you
992
+ # can include `AND` and `OR` expressions explicitly.
993
+ # For example:
994
+ # ```
995
+ # (cpuPlatform = "Intel Skylake") OR
996
+ # (cpuPlatform = "Intel Broadwell") AND
997
+ # (scheduling.automaticRestart = true)
998
+ # ```
999
+ #
1000
+ # If you want to use a regular expression, use the `eq` (equal) or `ne`
1001
+ # (not equal) operator against a single un-parenthesized expression with or
1002
+ # without quotes or against multiple parenthesized expressions. Examples:
1003
+ #
1004
+ # `fieldname eq unquoted literal`
1005
+ # `fieldname eq 'single quoted literal'`
1006
+ # `fieldname eq "double quoted literal"`
1007
+ # `(fieldname1 eq literal) (fieldname2 ne "literal")`
1008
+ #
1009
+ # The literal value is interpreted as a regular expression using GoogleRE2 library syntax.
1010
+ # The literal value must match the entire field.
1011
+ #
1012
+ # For example, to filter for instances that do not end with name "instance",
1013
+ # you would use `name ne .*instance`.
1014
+ #
1015
+ # You cannot combine constraints on multiple fields using regular
1016
+ # expressions.
795
1017
  # @param max_results [::Integer]
796
- # 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`)
1018
+ # The maximum number of results per page that should be returned.
1019
+ # If the number of available results is larger than `maxResults`,
1020
+ # Compute Engine returns a `nextPageToken` that can be used to get
1021
+ # the next page of results in subsequent list requests. Acceptable values are
1022
+ # `0` to `500`, inclusive. (Default: `500`)
797
1023
  # @param order_by [::String]
798
- # 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.
1024
+ # Sorts list results by a certain order. By default, results
1025
+ # are returned in alphanumerical order based on the resource name.
1026
+ #
1027
+ # You can also sort results in descending order based on the creation
1028
+ # timestamp using `orderBy="creationTimestamp desc"`. This sorts
1029
+ # results based on the `creationTimestamp` field in
1030
+ # reverse chronological order (newest result first). Use this to sort
1031
+ # resources like operations so that the newest operation is returned first.
1032
+ #
1033
+ # Currently, only sorting by `name` or
1034
+ # `creationTimestamp desc` is supported.
799
1035
  # @param page_token [::String]
800
- # Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.
1036
+ # Specifies a page token to use. Set `pageToken` to the
1037
+ # `nextPageToken` returned by a previous list request to get
1038
+ # the next page of results.
801
1039
  # @param project [::String]
802
1040
  # Project ID for this request.
803
1041
  # @param return_partial_success [::Boolean]
804
- # 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.
1042
+ # Opt-in for partial success behavior which provides partial results in case
1043
+ # of failure. The default value is false.
1044
+ #
1045
+ # For example, when partial success behavior is enabled, aggregatedList for a
1046
+ # single zone scope either returns all resources in the zone or no resources,
1047
+ # with an error code.
805
1048
  # @param zone [::String]
806
- # The name of the zone where the network endpoint group is located. It should comply with RFC1035.
1049
+ # The name of thezone
1050
+ # where the network endpoint group is located. It should comply with RFC1035.
807
1051
  # @yield [result, operation] Access the result along with the TransportOperation object
808
1052
  # @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Compute::V1::NetworkEndpointGroup>]
809
1053
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
@@ -883,23 +1127,103 @@ module Google
883
1127
  # the default parameter values, pass an empty Hash as a request object (see above).
884
1128
  #
885
1129
  # @param filter [::String]
886
- # 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.
1130
+ # A filter expression that filters resources listed in the response. Most
1131
+ # Compute resources support two types of filter expressions:
1132
+ # expressions that support regular expressions and expressions that follow
1133
+ # API improvement proposal AIP-160.
1134
+ # These two types of filter expressions cannot be mixed in one request.
1135
+ #
1136
+ # If you want to use AIP-160, your expression must specify the field name, an
1137
+ # operator, and the value that you want to use for filtering. The value
1138
+ # must be a string, a number, or a boolean. The operator
1139
+ # must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.
1140
+ #
1141
+ # For example, if you are filtering Compute Engine instances, you can
1142
+ # exclude instances named `example-instance` by specifying
1143
+ # `name != example-instance`.
1144
+ #
1145
+ # The `:*` comparison can be used to test whether a key has been defined.
1146
+ # For example, to find all objects with `owner` label use:
1147
+ # ```
1148
+ # labels.owner:*
1149
+ # ```
1150
+ #
1151
+ # You can also filter nested fields. For example, you could specify
1152
+ # `scheduling.automaticRestart = false` to include instances only
1153
+ # if they are not scheduled for automatic restarts. You can use filtering
1154
+ # on nested fields to filter based onresource labels.
1155
+ #
1156
+ # To filter on multiple expressions, provide each separate expression within
1157
+ # parentheses. For example:
1158
+ # ```
1159
+ # (scheduling.automaticRestart = true)
1160
+ # (cpuPlatform = "Intel Skylake")
1161
+ # ```
1162
+ # By default, each expression is an `AND` expression. However, you
1163
+ # can include `AND` and `OR` expressions explicitly.
1164
+ # For example:
1165
+ # ```
1166
+ # (cpuPlatform = "Intel Skylake") OR
1167
+ # (cpuPlatform = "Intel Broadwell") AND
1168
+ # (scheduling.automaticRestart = true)
1169
+ # ```
1170
+ #
1171
+ # If you want to use a regular expression, use the `eq` (equal) or `ne`
1172
+ # (not equal) operator against a single un-parenthesized expression with or
1173
+ # without quotes or against multiple parenthesized expressions. Examples:
1174
+ #
1175
+ # `fieldname eq unquoted literal`
1176
+ # `fieldname eq 'single quoted literal'`
1177
+ # `fieldname eq "double quoted literal"`
1178
+ # `(fieldname1 eq literal) (fieldname2 ne "literal")`
1179
+ #
1180
+ # The literal value is interpreted as a regular expression using GoogleRE2 library syntax.
1181
+ # The literal value must match the entire field.
1182
+ #
1183
+ # For example, to filter for instances that do not end with name "instance",
1184
+ # you would use `name ne .*instance`.
1185
+ #
1186
+ # You cannot combine constraints on multiple fields using regular
1187
+ # expressions.
887
1188
  # @param max_results [::Integer]
888
- # 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`)
1189
+ # The maximum number of results per page that should be returned.
1190
+ # If the number of available results is larger than `maxResults`,
1191
+ # Compute Engine returns a `nextPageToken` that can be used to get
1192
+ # the next page of results in subsequent list requests. Acceptable values are
1193
+ # `0` to `500`, inclusive. (Default: `500`)
889
1194
  # @param network_endpoint_group [::String]
890
- # The name of the network endpoint group from which you want to generate a list of included network endpoints. It should comply with RFC1035.
1195
+ # The name of the network endpoint group from which you want to generate a
1196
+ # list of included network endpoints. It should comply with RFC1035.
891
1197
  # @param network_endpoint_groups_list_endpoints_request_resource [::Google::Cloud::Compute::V1::NetworkEndpointGroupsListEndpointsRequest, ::Hash]
892
1198
  # The body resource for this request
893
1199
  # @param order_by [::String]
894
- # 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.
1200
+ # Sorts list results by a certain order. By default, results
1201
+ # are returned in alphanumerical order based on the resource name.
1202
+ #
1203
+ # You can also sort results in descending order based on the creation
1204
+ # timestamp using `orderBy="creationTimestamp desc"`. This sorts
1205
+ # results based on the `creationTimestamp` field in
1206
+ # reverse chronological order (newest result first). Use this to sort
1207
+ # resources like operations so that the newest operation is returned first.
1208
+ #
1209
+ # Currently, only sorting by `name` or
1210
+ # `creationTimestamp desc` is supported.
895
1211
  # @param page_token [::String]
896
- # Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.
1212
+ # Specifies a page token to use. Set `pageToken` to the
1213
+ # `nextPageToken` returned by a previous list request to get
1214
+ # the next page of results.
897
1215
  # @param project [::String]
898
1216
  # Project ID for this request.
899
1217
  # @param return_partial_success [::Boolean]
900
- # 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.
1218
+ # Opt-in for partial success behavior which provides partial results in case
1219
+ # of failure. The default value is false.
1220
+ #
1221
+ # For example, when partial success behavior is enabled, aggregatedList for a
1222
+ # single zone scope either returns all resources in the zone or no resources,
1223
+ # with an error code.
901
1224
  # @param zone [::String]
902
- # The name of the zone where the network endpoint group is located. It should comply with RFC1035.
1225
+ # The name of the zone where
1226
+ # the network endpoint group is located. It should comply with RFC1035.
903
1227
  # @yield [result, operation] Access the result along with the TransportOperation object
904
1228
  # @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Compute::V1::NetworkEndpointWithHealthStatus>]
905
1229
  # @yieldparam operation [::Gapic::Rest::TransportOperation]