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
@@ -215,7 +215,14 @@ module Google
215
215
  # Service calls
216
216
 
217
217
  ##
218
- # Deletes the specified InstantSnapshot resource. Keep in mind that deleting a single instantSnapshot might not necessarily delete all the data on that instantSnapshot. If any data on the instantSnapshot that is marked for deletion is needed for subsequent instantSnapshots, the data will be moved to the next corresponding instantSnapshot. For more information, see Deleting instantSnapshots.
218
+ # Deletes the specified InstantSnapshot resource. Keep in mind that deleting
219
+ # a single instantSnapshot might not necessarily delete all the data on that
220
+ # instantSnapshot. If any data on the instantSnapshot that is marked for
221
+ # deletion is needed for subsequent instantSnapshots, the data will be moved
222
+ # to the next corresponding instantSnapshot.
223
+ #
224
+ # For more information, seeDeleting
225
+ # instantSnapshots.
219
226
  #
220
227
  # @overload delete(request, options = nil)
221
228
  # Pass arguments to `delete` via a request object, either of type
@@ -239,7 +246,19 @@ module Google
239
246
  # @param region [::String]
240
247
  # The name of the region for this request.
241
248
  # @param request_id [::String]
242
- # 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).
249
+ # An optional request ID to identify requests. Specify a unique request ID so
250
+ # that if you must retry your request, the server will know to ignore the
251
+ # request if it has already been completed.
252
+ #
253
+ # For example, consider a situation where you make an initial request and
254
+ # the request times out. If you make the request again with the same
255
+ # request ID, the server can check if original operation with the same
256
+ # request ID was received, and if so, will ignore the second request. This
257
+ # prevents clients from accidentally creating duplicate commitments.
258
+ #
259
+ # The request ID must be
260
+ # a valid UUID with the exception that zero UUID is not supported
261
+ # (00000000-0000-0000-0000-000000000000).
243
262
  # @yield [result, operation] Access the result along with the TransportOperation object
244
263
  # @yieldparam result [::Gapic::GenericLRO::Operation]
245
264
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
@@ -391,7 +410,8 @@ module Google
391
410
  end
392
411
 
393
412
  ##
394
- # Gets the access control policy for a resource. May be empty if no such policy or resource exists.
413
+ # Gets the access control policy for a resource. May be empty if no such
414
+ # policy or resource exists.
395
415
  #
396
416
  # @overload get_iam_policy(request, options = nil)
397
417
  # Pass arguments to `get_iam_policy` via a request object, either of type
@@ -499,7 +519,19 @@ module Google
499
519
  # @param region [::String]
500
520
  # Name of the region for this request.
501
521
  # @param request_id [::String]
502
- # 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).
503
535
  # @yield [result, operation] Access the result along with the TransportOperation object
504
536
  # @yieldparam result [::Gapic::GenericLRO::Operation]
505
537
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
@@ -569,7 +601,8 @@ module Google
569
601
  end
570
602
 
571
603
  ##
572
- # Retrieves the list of InstantSnapshot resources contained within the specified region.
604
+ # Retrieves the list of InstantSnapshot resources contained within
605
+ # the specified region.
573
606
  #
574
607
  # @overload list(request, options = nil)
575
608
  # Pass arguments to `list` via a request object, either of type
@@ -587,19 +620,97 @@ module Google
587
620
  # the default parameter values, pass an empty Hash as a request object (see above).
588
621
  #
589
622
  # @param filter [::String]
590
- # 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.
623
+ # A filter expression that filters resources listed in the response. Most
624
+ # Compute resources support two types of filter expressions:
625
+ # expressions that support regular expressions and expressions that follow
626
+ # API improvement proposal AIP-160.
627
+ # These two types of filter expressions cannot be mixed in one request.
628
+ #
629
+ # If you want to use AIP-160, your expression must specify the field name, an
630
+ # operator, and the value that you want to use for filtering. The value
631
+ # must be a string, a number, or a boolean. The operator
632
+ # must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.
633
+ #
634
+ # For example, if you are filtering Compute Engine instances, you can
635
+ # exclude instances named `example-instance` by specifying
636
+ # `name != example-instance`.
637
+ #
638
+ # The `:*` comparison can be used to test whether a key has been defined.
639
+ # For example, to find all objects with `owner` label use:
640
+ # ```
641
+ # labels.owner:*
642
+ # ```
643
+ #
644
+ # You can also filter nested fields. For example, you could specify
645
+ # `scheduling.automaticRestart = false` to include instances only
646
+ # if they are not scheduled for automatic restarts. You can use filtering
647
+ # on nested fields to filter based onresource labels.
648
+ #
649
+ # To filter on multiple expressions, provide each separate expression within
650
+ # parentheses. For example:
651
+ # ```
652
+ # (scheduling.automaticRestart = true)
653
+ # (cpuPlatform = "Intel Skylake")
654
+ # ```
655
+ # By default, each expression is an `AND` expression. However, you
656
+ # can include `AND` and `OR` expressions explicitly.
657
+ # For example:
658
+ # ```
659
+ # (cpuPlatform = "Intel Skylake") OR
660
+ # (cpuPlatform = "Intel Broadwell") AND
661
+ # (scheduling.automaticRestart = true)
662
+ # ```
663
+ #
664
+ # If you want to use a regular expression, use the `eq` (equal) or `ne`
665
+ # (not equal) operator against a single un-parenthesized expression with or
666
+ # without quotes or against multiple parenthesized expressions. Examples:
667
+ #
668
+ # `fieldname eq unquoted literal`
669
+ # `fieldname eq 'single quoted literal'`
670
+ # `fieldname eq "double quoted literal"`
671
+ # `(fieldname1 eq literal) (fieldname2 ne "literal")`
672
+ #
673
+ # The literal value is interpreted as a regular expression using GoogleRE2 library syntax.
674
+ # The literal value must match the entire field.
675
+ #
676
+ # For example, to filter for instances that do not end with name "instance",
677
+ # you would use `name ne .*instance`.
678
+ #
679
+ # You cannot combine constraints on multiple fields using regular
680
+ # expressions.
591
681
  # @param max_results [::Integer]
592
- # 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`)
682
+ # The maximum number of results per page that should be returned.
683
+ # If the number of available results is larger than `maxResults`,
684
+ # Compute Engine returns a `nextPageToken` that can be used to get
685
+ # the next page of results in subsequent list requests. Acceptable values are
686
+ # `0` to `500`, inclusive. (Default: `500`)
593
687
  # @param order_by [::String]
594
- # 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.
688
+ # Sorts list results by a certain order. By default, results
689
+ # are returned in alphanumerical order based on the resource name.
690
+ #
691
+ # You can also sort results in descending order based on the creation
692
+ # timestamp using `orderBy="creationTimestamp desc"`. This sorts
693
+ # results based on the `creationTimestamp` field in
694
+ # reverse chronological order (newest result first). Use this to sort
695
+ # resources like operations so that the newest operation is returned first.
696
+ #
697
+ # Currently, only sorting by `name` or
698
+ # `creationTimestamp desc` is supported.
595
699
  # @param page_token [::String]
596
- # Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.
700
+ # Specifies a page token to use. Set `pageToken` to the
701
+ # `nextPageToken` returned by a previous list request to get
702
+ # the next page of results.
597
703
  # @param project [::String]
598
704
  # Project ID for this request.
599
705
  # @param region [::String]
600
706
  # The name of the region for this request.
601
707
  # @param return_partial_success [::Boolean]
602
- # 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.
708
+ # Opt-in for partial success behavior which provides partial results in case
709
+ # of failure. The default value is false.
710
+ #
711
+ # For example, when partial success behavior is enabled, aggregatedList for a
712
+ # single zone scope either returns all resources in the zone or no resources,
713
+ # with an error code.
603
714
  # @yield [result, operation] Access the result along with the TransportOperation object
604
715
  # @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Compute::V1::InstantSnapshot>]
605
716
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
@@ -661,7 +772,8 @@ module Google
661
772
  end
662
773
 
663
774
  ##
664
- # Sets the access control policy on the specified resource. Replaces any existing policy.
775
+ # Sets the access control policy on the specified resource.
776
+ # Replaces any existing policy.
665
777
  #
666
778
  # @overload set_iam_policy(request, options = nil)
667
779
  # Pass arguments to `set_iam_policy` via a request object, either of type
@@ -745,7 +857,9 @@ module Google
745
857
  end
746
858
 
747
859
  ##
748
- # Sets the labels on a instantSnapshot in the given region. To learn more about labels, read the Labeling Resources documentation.
860
+ # Sets the labels on a instantSnapshot in the given region. To learn more
861
+ # about labels, read the Labeling
862
+ # Resources documentation.
749
863
  #
750
864
  # @overload set_labels(request, options = nil)
751
865
  # Pass arguments to `set_labels` via a request object, either of type
@@ -769,7 +883,19 @@ module Google
769
883
  # @param region_set_labels_request_resource [::Google::Cloud::Compute::V1::RegionSetLabelsRequest, ::Hash]
770
884
  # The body resource for this request
771
885
  # @param request_id [::String]
772
- # 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).
886
+ # An optional request ID to identify requests. Specify a unique request ID so
887
+ # that if you must retry your request, the server will know to ignore the
888
+ # request if it has already been completed.
889
+ #
890
+ # For example, consider a situation where you make an initial request and
891
+ # the request times out. If you make the request again with the same
892
+ # request ID, the server can check if original operation with the same
893
+ # request ID was received, and if so, will ignore the second request. This
894
+ # prevents clients from accidentally creating duplicate commitments.
895
+ #
896
+ # The request ID must be
897
+ # a valid UUID with the exception that zero UUID is not supported
898
+ # (00000000-0000-0000-0000-000000000000).
773
899
  # @param resource [::String]
774
900
  # Name or id of the resource for this request.
775
901
  # @yield [result, operation] Access the result along with the TransportOperation object
@@ -228,15 +228,30 @@ module Google
228
228
  # the default parameter values, pass an empty Hash as a request object (see above).
229
229
  #
230
230
  # @param network_endpoint_group [::String]
231
- # The name of the network endpoint group where you are attaching network endpoints to. It should comply with RFC1035.
231
+ # The name of the network endpoint group where you are attaching network
232
+ # endpoints to. It should comply with RFC1035.
232
233
  # @param project [::String]
233
234
  # Project ID for this request.
234
235
  # @param region [::String]
235
- # The name of the region where you want to create the network endpoint group. It should comply with RFC1035.
236
+ # The name of the region where
237
+ # you want to create the network endpoint group. It should comply with
238
+ # RFC1035.
236
239
  # @param region_network_endpoint_groups_attach_endpoints_request_resource [::Google::Cloud::Compute::V1::RegionNetworkEndpointGroupsAttachEndpointsRequest, ::Hash]
237
240
  # The body resource for this request
238
241
  # @param request_id [::String]
239
- # 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).
242
+ # An optional request ID to identify requests. Specify a unique request ID so
243
+ # that if you must retry your request, the server will know to ignore the
244
+ # request if it has already been completed.
245
+ #
246
+ # For example, consider a situation where you make an initial request and
247
+ # the request times out. If you make the request again with the same
248
+ # request ID, the server can check if original operation with the same
249
+ # request ID was received, and if so, will ignore the second request. This
250
+ # prevents clients from accidentally creating duplicate commitments.
251
+ #
252
+ # The request ID must be
253
+ # a valid UUID with the exception that zero UUID is not supported
254
+ # (00000000-0000-0000-0000-000000000000).
240
255
  # @yield [result, operation] Access the result along with the TransportOperation object
241
256
  # @yieldparam result [::Gapic::GenericLRO::Operation]
242
257
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
@@ -306,7 +321,8 @@ module Google
306
321
  end
307
322
 
308
323
  ##
309
- # Deletes the specified network endpoint group. Note that the NEG cannot be deleted if it is configured as a backend of a backend service.
324
+ # Deletes the specified network endpoint group. Note that the NEG cannot be
325
+ # deleted if it is configured as a backend of a backend service.
310
326
  #
311
327
  # @overload delete(request, options = nil)
312
328
  # Pass arguments to `delete` via a request object, either of type
@@ -324,13 +340,27 @@ module Google
324
340
  # the default parameter values, pass an empty Hash as a request object (see above).
325
341
  #
326
342
  # @param network_endpoint_group [::String]
327
- # The name of the network endpoint group to delete. It should comply with RFC1035.
343
+ # The name of the network endpoint group to delete. It should comply with
344
+ # RFC1035.
328
345
  # @param project [::String]
329
346
  # Project ID for this request.
330
347
  # @param region [::String]
331
- # The name of the region where the network endpoint group is located. It should comply with RFC1035.
348
+ # The name of the region where
349
+ # the network endpoint group is located. It should comply with RFC1035.
332
350
  # @param request_id [::String]
333
- # 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).
351
+ # An optional request ID to identify requests. Specify a unique request ID so
352
+ # that if you must retry your request, the server will know to ignore the
353
+ # request if it has already been completed.
354
+ #
355
+ # For example, consider a situation where you make an initial request and
356
+ # the request times out. If you make the request again with the same
357
+ # request ID, the server can check if original operation with the same
358
+ # request ID was received, and if so, will ignore the second request. This
359
+ # prevents clients from accidentally creating duplicate commitments.
360
+ #
361
+ # The request ID must be
362
+ # a valid UUID with the exception that zero UUID is not supported
363
+ # (00000000-0000-0000-0000-000000000000).
334
364
  # @yield [result, operation] Access the result along with the TransportOperation object
335
365
  # @yieldparam result [::Gapic::GenericLRO::Operation]
336
366
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
@@ -418,15 +448,31 @@ module Google
418
448
  # the default parameter values, pass an empty Hash as a request object (see above).
419
449
  #
420
450
  # @param network_endpoint_group [::String]
421
- # The name of the network endpoint group you are detaching network endpoints from. It should comply with RFC1035.
451
+ # The name of the network endpoint group you are detaching network
452
+ # endpoints from. It should comply with RFC1035.
422
453
  # @param project [::String]
423
454
  # Project ID for this request.
424
455
  # @param region [::String]
425
- # The name of the region where the network endpoint group is located. It should comply with RFC1035.
456
+ # The name of the region where
457
+ # the network endpoint group is located. It should comply with
458
+ # RFC1035.
426
459
  # @param region_network_endpoint_groups_detach_endpoints_request_resource [::Google::Cloud::Compute::V1::RegionNetworkEndpointGroupsDetachEndpointsRequest, ::Hash]
427
460
  # The body resource for this request
428
461
  # @param request_id [::String]
429
- # 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). end_interface: MixerMutationRequestBuilder
462
+ # An optional request ID to identify requests. Specify a unique request ID so
463
+ # that if you must retry your request, the server will know to ignore the
464
+ # request if it has already been completed.
465
+ #
466
+ # For example, consider a situation where you make an initial request and
467
+ # the request times out. If you make the request again with the same
468
+ # request ID, the server can check if original operation with the same
469
+ # request ID was received, and if so, will ignore the second request. This
470
+ # prevents clients from accidentally creating duplicate commitments.
471
+ #
472
+ # The request ID must be
473
+ # a valid UUID with the exception that zero UUID is not supported
474
+ # (00000000-0000-0000-0000-000000000000).
475
+ # end_interface: MixerMutationRequestBuilder
430
476
  # @yield [result, operation] Access the result along with the TransportOperation object
431
477
  # @yieldparam result [::Gapic::GenericLRO::Operation]
432
478
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
@@ -518,7 +564,8 @@ module Google
518
564
  # @param project [::String]
519
565
  # Project ID for this request.
520
566
  # @param region [::String]
521
- # The name of the region where the network endpoint group is located. It should comply with RFC1035.
567
+ # The name of the region where
568
+ # the network endpoint group is located. It should comply with RFC1035.
522
569
  # @yield [result, operation] Access the result along with the TransportOperation object
523
570
  # @yieldparam result [::Google::Cloud::Compute::V1::NetworkEndpointGroup]
524
571
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
@@ -578,7 +625,22 @@ module Google
578
625
  end
579
626
 
580
627
  ##
581
- # Creates a network endpoint group in the specified project using the parameters that are included in the request.
628
+ # Creates a network endpoint group in the specified project using the
629
+ # parameters that are included in the request.
630
+ #
631
+ # Note: Use the following APIs to manage network endpoint groups:
632
+ #
633
+ # -
634
+ # To manage NEGs with zonal scope (such as zonal NEGs, hybrid connectivity
635
+ # NEGs): zonal
636
+ # API
637
+ # -
638
+ # To manage NEGs with regional scope (such as regional internet NEGs,
639
+ # serverless NEGs, Private Service Connect NEGs): regional
640
+ # API
641
+ # -
642
+ # To manage NEGs with global scope (such as global internet NEGs):global
643
+ # API
582
644
  #
583
645
  # @overload insert(request, options = nil)
584
646
  # Pass arguments to `insert` via a request object, either of type
@@ -600,9 +662,23 @@ module Google
600
662
  # @param project [::String]
601
663
  # Project ID for this request.
602
664
  # @param region [::String]
603
- # The name of the region where you want to create the network endpoint group. It should comply with RFC1035.
665
+ # The name of the region where
666
+ # you want to create the network endpoint group. It should comply with
667
+ # RFC1035.
604
668
  # @param request_id [::String]
605
- # 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).
669
+ # An optional request ID to identify requests. Specify a unique request ID so
670
+ # that if you must retry your request, the server will know to ignore the
671
+ # request if it has already been completed.
672
+ #
673
+ # For example, consider a situation where you make an initial request and
674
+ # the request times out. If you make the request again with the same
675
+ # request ID, the server can check if original operation with the same
676
+ # request ID was received, and if so, will ignore the second request. This
677
+ # prevents clients from accidentally creating duplicate commitments.
678
+ #
679
+ # The request ID must be
680
+ # a valid UUID with the exception that zero UUID is not supported
681
+ # (00000000-0000-0000-0000-000000000000).
606
682
  # @yield [result, operation] Access the result along with the TransportOperation object
607
683
  # @yieldparam result [::Gapic::GenericLRO::Operation]
608
684
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
@@ -672,7 +748,8 @@ module Google
672
748
  end
673
749
 
674
750
  ##
675
- # Retrieves the list of regional network endpoint groups available to the specified project in the given region.
751
+ # Retrieves the list of regional network endpoint groups available to the
752
+ # specified project in the given region.
676
753
  #
677
754
  # @overload list(request, options = nil)
678
755
  # Pass arguments to `list` via a request object, either of type
@@ -690,19 +767,98 @@ module Google
690
767
  # the default parameter values, pass an empty Hash as a request object (see above).
691
768
  #
692
769
  # @param filter [::String]
693
- # 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.
770
+ # A filter expression that filters resources listed in the response. Most
771
+ # Compute resources support two types of filter expressions:
772
+ # expressions that support regular expressions and expressions that follow
773
+ # API improvement proposal AIP-160.
774
+ # These two types of filter expressions cannot be mixed in one request.
775
+ #
776
+ # If you want to use AIP-160, your expression must specify the field name, an
777
+ # operator, and the value that you want to use for filtering. The value
778
+ # must be a string, a number, or a boolean. The operator
779
+ # must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.
780
+ #
781
+ # For example, if you are filtering Compute Engine instances, you can
782
+ # exclude instances named `example-instance` by specifying
783
+ # `name != example-instance`.
784
+ #
785
+ # The `:*` comparison can be used to test whether a key has been defined.
786
+ # For example, to find all objects with `owner` label use:
787
+ # ```
788
+ # labels.owner:*
789
+ # ```
790
+ #
791
+ # You can also filter nested fields. For example, you could specify
792
+ # `scheduling.automaticRestart = false` to include instances only
793
+ # if they are not scheduled for automatic restarts. You can use filtering
794
+ # on nested fields to filter based onresource labels.
795
+ #
796
+ # To filter on multiple expressions, provide each separate expression within
797
+ # parentheses. For example:
798
+ # ```
799
+ # (scheduling.automaticRestart = true)
800
+ # (cpuPlatform = "Intel Skylake")
801
+ # ```
802
+ # By default, each expression is an `AND` expression. However, you
803
+ # can include `AND` and `OR` expressions explicitly.
804
+ # For example:
805
+ # ```
806
+ # (cpuPlatform = "Intel Skylake") OR
807
+ # (cpuPlatform = "Intel Broadwell") AND
808
+ # (scheduling.automaticRestart = true)
809
+ # ```
810
+ #
811
+ # If you want to use a regular expression, use the `eq` (equal) or `ne`
812
+ # (not equal) operator against a single un-parenthesized expression with or
813
+ # without quotes or against multiple parenthesized expressions. Examples:
814
+ #
815
+ # `fieldname eq unquoted literal`
816
+ # `fieldname eq 'single quoted literal'`
817
+ # `fieldname eq "double quoted literal"`
818
+ # `(fieldname1 eq literal) (fieldname2 ne "literal")`
819
+ #
820
+ # The literal value is interpreted as a regular expression using GoogleRE2 library syntax.
821
+ # The literal value must match the entire field.
822
+ #
823
+ # For example, to filter for instances that do not end with name "instance",
824
+ # you would use `name ne .*instance`.
825
+ #
826
+ # You cannot combine constraints on multiple fields using regular
827
+ # expressions.
694
828
  # @param max_results [::Integer]
695
- # 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`)
829
+ # The maximum number of results per page that should be returned.
830
+ # If the number of available results is larger than `maxResults`,
831
+ # Compute Engine returns a `nextPageToken` that can be used to get
832
+ # the next page of results in subsequent list requests. Acceptable values are
833
+ # `0` to `500`, inclusive. (Default: `500`)
696
834
  # @param order_by [::String]
697
- # 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.
835
+ # Sorts list results by a certain order. By default, results
836
+ # are returned in alphanumerical order based on the resource name.
837
+ #
838
+ # You can also sort results in descending order based on the creation
839
+ # timestamp using `orderBy="creationTimestamp desc"`. This sorts
840
+ # results based on the `creationTimestamp` field in
841
+ # reverse chronological order (newest result first). Use this to sort
842
+ # resources like operations so that the newest operation is returned first.
843
+ #
844
+ # Currently, only sorting by `name` or
845
+ # `creationTimestamp desc` is supported.
698
846
  # @param page_token [::String]
699
- # Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.
847
+ # Specifies a page token to use. Set `pageToken` to the
848
+ # `nextPageToken` returned by a previous list request to get
849
+ # the next page of results.
700
850
  # @param project [::String]
701
851
  # Project ID for this request.
702
852
  # @param region [::String]
703
- # The name of the region where the network endpoint group is located. It should comply with RFC1035.
853
+ # The name of theregion
854
+ # where the network endpoint group is located. It should comply with RFC1035.
704
855
  # @param return_partial_success [::Boolean]
705
- # 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.
856
+ # Opt-in for partial success behavior which provides partial results in case
857
+ # of failure. The default value is false.
858
+ #
859
+ # For example, when partial success behavior is enabled, aggregatedList for a
860
+ # single zone scope either returns all resources in the zone or no resources,
861
+ # with an error code.
706
862
  # @yield [result, operation] Access the result along with the TransportOperation object
707
863
  # @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Compute::V1::NetworkEndpointGroup>]
708
864
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
@@ -782,21 +938,101 @@ module Google
782
938
  # the default parameter values, pass an empty Hash as a request object (see above).
783
939
  #
784
940
  # @param filter [::String]
785
- # 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.
941
+ # A filter expression that filters resources listed in the response. Most
942
+ # Compute resources support two types of filter expressions:
943
+ # expressions that support regular expressions and expressions that follow
944
+ # API improvement proposal AIP-160.
945
+ # These two types of filter expressions cannot be mixed in one request.
946
+ #
947
+ # If you want to use AIP-160, your expression must specify the field name, an
948
+ # operator, and the value that you want to use for filtering. The value
949
+ # must be a string, a number, or a boolean. The operator
950
+ # must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.
951
+ #
952
+ # For example, if you are filtering Compute Engine instances, you can
953
+ # exclude instances named `example-instance` by specifying
954
+ # `name != example-instance`.
955
+ #
956
+ # The `:*` comparison can be used to test whether a key has been defined.
957
+ # For example, to find all objects with `owner` label use:
958
+ # ```
959
+ # labels.owner:*
960
+ # ```
961
+ #
962
+ # You can also filter nested fields. For example, you could specify
963
+ # `scheduling.automaticRestart = false` to include instances only
964
+ # if they are not scheduled for automatic restarts. You can use filtering
965
+ # on nested fields to filter based onresource labels.
966
+ #
967
+ # To filter on multiple expressions, provide each separate expression within
968
+ # parentheses. For example:
969
+ # ```
970
+ # (scheduling.automaticRestart = true)
971
+ # (cpuPlatform = "Intel Skylake")
972
+ # ```
973
+ # By default, each expression is an `AND` expression. However, you
974
+ # can include `AND` and `OR` expressions explicitly.
975
+ # For example:
976
+ # ```
977
+ # (cpuPlatform = "Intel Skylake") OR
978
+ # (cpuPlatform = "Intel Broadwell") AND
979
+ # (scheduling.automaticRestart = true)
980
+ # ```
981
+ #
982
+ # If you want to use a regular expression, use the `eq` (equal) or `ne`
983
+ # (not equal) operator against a single un-parenthesized expression with or
984
+ # without quotes or against multiple parenthesized expressions. Examples:
985
+ #
986
+ # `fieldname eq unquoted literal`
987
+ # `fieldname eq 'single quoted literal'`
988
+ # `fieldname eq "double quoted literal"`
989
+ # `(fieldname1 eq literal) (fieldname2 ne "literal")`
990
+ #
991
+ # The literal value is interpreted as a regular expression using GoogleRE2 library syntax.
992
+ # The literal value must match the entire field.
993
+ #
994
+ # For example, to filter for instances that do not end with name "instance",
995
+ # you would use `name ne .*instance`.
996
+ #
997
+ # You cannot combine constraints on multiple fields using regular
998
+ # expressions.
786
999
  # @param max_results [::Integer]
787
- # 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`)
1000
+ # The maximum number of results per page that should be returned.
1001
+ # If the number of available results is larger than `maxResults`,
1002
+ # Compute Engine returns a `nextPageToken` that can be used to get
1003
+ # the next page of results in subsequent list requests. Acceptable values are
1004
+ # `0` to `500`, inclusive. (Default: `500`)
788
1005
  # @param network_endpoint_group [::String]
789
- # The name of the network endpoint group from which you want to generate a list of included network endpoints. It should comply with RFC1035.
1006
+ # The name of the network endpoint group from which you want to generate a
1007
+ # list of included network endpoints. It should comply with RFC1035.
790
1008
  # @param order_by [::String]
791
- # 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.
1009
+ # Sorts list results by a certain order. By default, results
1010
+ # are returned in alphanumerical order based on the resource name.
1011
+ #
1012
+ # You can also sort results in descending order based on the creation
1013
+ # timestamp using `orderBy="creationTimestamp desc"`. This sorts
1014
+ # results based on the `creationTimestamp` field in
1015
+ # reverse chronological order (newest result first). Use this to sort
1016
+ # resources like operations so that the newest operation is returned first.
1017
+ #
1018
+ # Currently, only sorting by `name` or
1019
+ # `creationTimestamp desc` is supported.
792
1020
  # @param page_token [::String]
793
- # Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.
1021
+ # Specifies a page token to use. Set `pageToken` to the
1022
+ # `nextPageToken` returned by a previous list request to get
1023
+ # the next page of results.
794
1024
  # @param project [::String]
795
1025
  # Project ID for this request.
796
1026
  # @param region [::String]
797
- # The name of the region where the network endpoint group is located. It should comply with RFC1035.
1027
+ # The name of theregion
1028
+ # where the network endpoint group is located. It should comply with RFC1035.
798
1029
  # @param return_partial_success [::Boolean]
799
- # 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.
1030
+ # Opt-in for partial success behavior which provides partial results in case
1031
+ # of failure. The default value is false.
1032
+ #
1033
+ # For example, when partial success behavior is enabled, aggregatedList for a
1034
+ # single zone scope either returns all resources in the zone or no resources,
1035
+ # with an error code.
800
1036
  # @yield [result, operation] Access the result along with the TransportOperation object
801
1037
  # @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Compute::V1::NetworkEndpointWithHealthStatus>]
802
1038
  # @yieldparam operation [::Gapic::Rest::TransportOperation]