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
@@ -219,7 +219,10 @@ module Google
219
219
  # Service calls
220
220
 
221
221
  ##
222
- # Adds a list of instances to the specified instance group. All of the instances in the instance group must be in the same network/subnetwork. Read Adding instances for more information.
222
+ # Adds a list of instances to the specified instance group. All of the
223
+ # instances in the instance group must be in the same network/subnetwork.
224
+ # Read
225
+ # Adding instances for more information.
223
226
  #
224
227
  # @overload add_instances(request, options = nil)
225
228
  # Pass arguments to `add_instances` via a request object, either of type
@@ -243,9 +246,22 @@ module Google
243
246
  # @param project [::String]
244
247
  # Project ID for this request.
245
248
  # @param request_id [::String]
246
- # 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).
247
262
  # @param zone [::String]
248
- # The name of the zone where the instance group is located.
263
+ # The name of the zone
264
+ # where the instance group is located.
249
265
  # @yield [result, operation] Access the result along with the TransportOperation object
250
266
  # @yieldparam result [::Gapic::GenericLRO::Operation]
251
267
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
@@ -315,7 +331,10 @@ module Google
315
331
  end
316
332
 
317
333
  ##
318
- # Retrieves the list of instance groups and sorts them by zone. To prevent failure, Google recommends that you set the `returnPartialSuccess` parameter to `true`.
334
+ # Retrieves the list of instance groups and sorts them by zone.
335
+ #
336
+ # To prevent failure, Google recommends that you set the
337
+ # `returnPartialSuccess` parameter to `true`.
319
338
  #
320
339
  # @overload aggregated_list(request, options = nil)
321
340
  # Pass arguments to `aggregated_list` via a request object, either of type
@@ -333,21 +352,106 @@ module Google
333
352
  # the default parameter values, pass an empty Hash as a request object (see above).
334
353
  #
335
354
  # @param filter [::String]
336
- # 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.
355
+ # A filter expression that filters resources listed in the response. Most
356
+ # Compute resources support two types of filter expressions:
357
+ # expressions that support regular expressions and expressions that follow
358
+ # API improvement proposal AIP-160.
359
+ # These two types of filter expressions cannot be mixed in one request.
360
+ #
361
+ # If you want to use AIP-160, your expression must specify the field name, an
362
+ # operator, and the value that you want to use for filtering. The value
363
+ # must be a string, a number, or a boolean. The operator
364
+ # must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.
365
+ #
366
+ # For example, if you are filtering Compute Engine instances, you can
367
+ # exclude instances named `example-instance` by specifying
368
+ # `name != example-instance`.
369
+ #
370
+ # The `:*` comparison can be used to test whether a key has been defined.
371
+ # For example, to find all objects with `owner` label use:
372
+ # ```
373
+ # labels.owner:*
374
+ # ```
375
+ #
376
+ # You can also filter nested fields. For example, you could specify
377
+ # `scheduling.automaticRestart = false` to include instances only
378
+ # if they are not scheduled for automatic restarts. You can use filtering
379
+ # on nested fields to filter based onresource labels.
380
+ #
381
+ # To filter on multiple expressions, provide each separate expression within
382
+ # parentheses. For example:
383
+ # ```
384
+ # (scheduling.automaticRestart = true)
385
+ # (cpuPlatform = "Intel Skylake")
386
+ # ```
387
+ # By default, each expression is an `AND` expression. However, you
388
+ # can include `AND` and `OR` expressions explicitly.
389
+ # For example:
390
+ # ```
391
+ # (cpuPlatform = "Intel Skylake") OR
392
+ # (cpuPlatform = "Intel Broadwell") AND
393
+ # (scheduling.automaticRestart = true)
394
+ # ```
395
+ #
396
+ # If you want to use a regular expression, use the `eq` (equal) or `ne`
397
+ # (not equal) operator against a single un-parenthesized expression with or
398
+ # without quotes or against multiple parenthesized expressions. Examples:
399
+ #
400
+ # `fieldname eq unquoted literal`
401
+ # `fieldname eq 'single quoted literal'`
402
+ # `fieldname eq "double quoted literal"`
403
+ # `(fieldname1 eq literal) (fieldname2 ne "literal")`
404
+ #
405
+ # The literal value is interpreted as a regular expression using GoogleRE2 library syntax.
406
+ # The literal value must match the entire field.
407
+ #
408
+ # For example, to filter for instances that do not end with name "instance",
409
+ # you would use `name ne .*instance`.
410
+ #
411
+ # You cannot combine constraints on multiple fields using regular
412
+ # expressions.
337
413
  # @param include_all_scopes [::Boolean]
338
- # 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.
414
+ # Indicates whether every visible scope for each scope type (zone, region,
415
+ # global) should be included in the response. For new resource types added
416
+ # after this field, the flag has no effect as new resource types will always
417
+ # include every visible scope for each scope type in response. For resource
418
+ # types which predate this field, if this flag is omitted or false, only
419
+ # scopes of the scope types where the resource type is expected to be found
420
+ # will be included.
339
421
  # @param max_results [::Integer]
340
- # 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`)
422
+ # The maximum number of results per page that should be returned.
423
+ # If the number of available results is larger than `maxResults`,
424
+ # Compute Engine returns a `nextPageToken` that can be used to get
425
+ # the next page of results in subsequent list requests. Acceptable values are
426
+ # `0` to `500`, inclusive. (Default: `500`)
341
427
  # @param order_by [::String]
342
- # 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.
428
+ # Sorts list results by a certain order. By default, results
429
+ # are returned in alphanumerical order based on the resource name.
430
+ #
431
+ # You can also sort results in descending order based on the creation
432
+ # timestamp using `orderBy="creationTimestamp desc"`. This sorts
433
+ # results based on the `creationTimestamp` field in
434
+ # reverse chronological order (newest result first). Use this to sort
435
+ # resources like operations so that the newest operation is returned first.
436
+ #
437
+ # Currently, only sorting by `name` or
438
+ # `creationTimestamp desc` is supported.
343
439
  # @param page_token [::String]
344
- # Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.
440
+ # Specifies a page token to use. Set `pageToken` to the
441
+ # `nextPageToken` returned by a previous list request to get
442
+ # the next page of results.
345
443
  # @param project [::String]
346
444
  # Project ID for this request.
347
445
  # @param return_partial_success [::Boolean]
348
- # 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.
446
+ # Opt-in for partial success behavior which provides partial results in case
447
+ # of failure. The default value is false.
448
+ #
449
+ # For example, when partial success behavior is enabled, aggregatedList for a
450
+ # single zone scope either returns all resources in the zone or no resources,
451
+ # with an error code.
349
452
  # @param service_project_number [::Integer]
350
- # The Shared VPC service project id or service project number for which aggregated list request is invoked for subnetworks list-usable api.
453
+ # The Shared VPC service project id or service project number for which
454
+ # aggregated list request is invoked for subnetworks list-usable api.
351
455
  # @yield [result, operation] Access the result along with the TransportOperation object
352
456
  # @yieldparam result [::Gapic::Rest::PagedEnumerable<::String, ::Google::Cloud::Compute::V1::InstanceGroupsScopedList>]
353
457
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
@@ -409,7 +513,10 @@ module Google
409
513
  end
410
514
 
411
515
  ##
412
- # Deletes the specified instance group. The instances in the group are not deleted. Note that instance group must not belong to a backend service. Read Deleting an instance group for more information.
516
+ # Deletes the specified instance group. The instances in the group are not
517
+ # deleted. Note that instance group must not belong to a backend service.
518
+ # Read
519
+ # Deleting an instance group for more information.
413
520
  #
414
521
  # @overload delete(request, options = nil)
415
522
  # Pass arguments to `delete` via a request object, either of type
@@ -431,9 +538,22 @@ module Google
431
538
  # @param project [::String]
432
539
  # Project ID for this request.
433
540
  # @param request_id [::String]
434
- # 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).
541
+ # An optional request ID to identify requests. Specify a unique request ID so
542
+ # that if you must retry your request, the server will know to ignore the
543
+ # request if it has already been completed.
544
+ #
545
+ # For example, consider a situation where you make an initial request and
546
+ # the request times out. If you make the request again with the same
547
+ # request ID, the server can check if original operation with the same
548
+ # request ID was received, and if so, will ignore the second request. This
549
+ # prevents clients from accidentally creating duplicate commitments.
550
+ #
551
+ # The request ID must be
552
+ # a valid UUID with the exception that zero UUID is not supported
553
+ # (00000000-0000-0000-0000-000000000000).
435
554
  # @param zone [::String]
436
- # The name of the zone where the instance group is located.
555
+ # The name of the zone
556
+ # where the instance group is located.
437
557
  # @yield [result, operation] Access the result along with the TransportOperation object
438
558
  # @yieldparam result [::Gapic::GenericLRO::Operation]
439
559
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
@@ -503,7 +623,12 @@ module Google
503
623
  end
504
624
 
505
625
  ##
506
- # Returns the specified zonal instance group. Get a list of available zonal instance groups by making a list() request. For managed instance groups, use the instanceGroupManagers or regionInstanceGroupManagers methods instead.
626
+ # Returns the specified zonal instance group. Get a list of available zonal
627
+ # instance groups by making a list() request.
628
+ #
629
+ # For managed instance groups, use theinstanceGroupManagers
630
+ # or regionInstanceGroupManagers
631
+ # methods instead.
507
632
  #
508
633
  # @overload get(request, options = nil)
509
634
  # Pass arguments to `get` via a request object, either of type
@@ -525,7 +650,8 @@ module Google
525
650
  # @param project [::String]
526
651
  # Project ID for this request.
527
652
  # @param zone [::String]
528
- # The name of the zone where the instance group is located.
653
+ # The name of the zone
654
+ # where the instance group is located.
529
655
  # @yield [result, operation] Access the result along with the TransportOperation object
530
656
  # @yieldparam result [::Google::Cloud::Compute::V1::InstanceGroup]
531
657
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
@@ -585,7 +711,8 @@ module Google
585
711
  end
586
712
 
587
713
  ##
588
- # Creates an instance group in the specified project using the parameters that are included in the request.
714
+ # Creates an instance group in the specified project using the
715
+ # parameters that are included in the request.
589
716
  #
590
717
  # @overload insert(request, options = nil)
591
718
  # Pass arguments to `insert` via a request object, either of type
@@ -607,9 +734,22 @@ module Google
607
734
  # @param project [::String]
608
735
  # Project ID for this request.
609
736
  # @param request_id [::String]
610
- # 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).
737
+ # An optional request ID to identify requests. Specify a unique request ID so
738
+ # that if you must retry your request, the server will know to ignore the
739
+ # request if it has already been completed.
740
+ #
741
+ # For example, consider a situation where you make an initial request and
742
+ # the request times out. If you make the request again with the same
743
+ # request ID, the server can check if original operation with the same
744
+ # request ID was received, and if so, will ignore the second request. This
745
+ # prevents clients from accidentally creating duplicate commitments.
746
+ #
747
+ # The request ID must be
748
+ # a valid UUID with the exception that zero UUID is not supported
749
+ # (00000000-0000-0000-0000-000000000000).
611
750
  # @param zone [::String]
612
- # The name of the zone where you want to create the instance group.
751
+ # The name of the zone
752
+ # where you want to create the instance group.
613
753
  # @yield [result, operation] Access the result along with the TransportOperation object
614
754
  # @yieldparam result [::Gapic::GenericLRO::Operation]
615
755
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
@@ -679,7 +819,12 @@ module Google
679
819
  end
680
820
 
681
821
  ##
682
- # Retrieves the list of zonal instance group resources contained within the specified zone. For managed instance groups, use the instanceGroupManagers or regionInstanceGroupManagers methods instead.
822
+ # Retrieves the list of zonal instance group resources contained within the
823
+ # specified zone.
824
+ #
825
+ # For managed instance groups, use theinstanceGroupManagers
826
+ # or regionInstanceGroupManagers
827
+ # methods instead.
683
828
  #
684
829
  # @overload list(request, options = nil)
685
830
  # Pass arguments to `list` via a request object, either of type
@@ -697,19 +842,98 @@ module Google
697
842
  # the default parameter values, pass an empty Hash as a request object (see above).
698
843
  #
699
844
  # @param filter [::String]
700
- # 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.
845
+ # A filter expression that filters resources listed in the response. Most
846
+ # Compute resources support two types of filter expressions:
847
+ # expressions that support regular expressions and expressions that follow
848
+ # API improvement proposal AIP-160.
849
+ # These two types of filter expressions cannot be mixed in one request.
850
+ #
851
+ # If you want to use AIP-160, your expression must specify the field name, an
852
+ # operator, and the value that you want to use for filtering. The value
853
+ # must be a string, a number, or a boolean. The operator
854
+ # must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.
855
+ #
856
+ # For example, if you are filtering Compute Engine instances, you can
857
+ # exclude instances named `example-instance` by specifying
858
+ # `name != example-instance`.
859
+ #
860
+ # The `:*` comparison can be used to test whether a key has been defined.
861
+ # For example, to find all objects with `owner` label use:
862
+ # ```
863
+ # labels.owner:*
864
+ # ```
865
+ #
866
+ # You can also filter nested fields. For example, you could specify
867
+ # `scheduling.automaticRestart = false` to include instances only
868
+ # if they are not scheduled for automatic restarts. You can use filtering
869
+ # on nested fields to filter based onresource labels.
870
+ #
871
+ # To filter on multiple expressions, provide each separate expression within
872
+ # parentheses. For example:
873
+ # ```
874
+ # (scheduling.automaticRestart = true)
875
+ # (cpuPlatform = "Intel Skylake")
876
+ # ```
877
+ # By default, each expression is an `AND` expression. However, you
878
+ # can include `AND` and `OR` expressions explicitly.
879
+ # For example:
880
+ # ```
881
+ # (cpuPlatform = "Intel Skylake") OR
882
+ # (cpuPlatform = "Intel Broadwell") AND
883
+ # (scheduling.automaticRestart = true)
884
+ # ```
885
+ #
886
+ # If you want to use a regular expression, use the `eq` (equal) or `ne`
887
+ # (not equal) operator against a single un-parenthesized expression with or
888
+ # without quotes or against multiple parenthesized expressions. Examples:
889
+ #
890
+ # `fieldname eq unquoted literal`
891
+ # `fieldname eq 'single quoted literal'`
892
+ # `fieldname eq "double quoted literal"`
893
+ # `(fieldname1 eq literal) (fieldname2 ne "literal")`
894
+ #
895
+ # The literal value is interpreted as a regular expression using GoogleRE2 library syntax.
896
+ # The literal value must match the entire field.
897
+ #
898
+ # For example, to filter for instances that do not end with name "instance",
899
+ # you would use `name ne .*instance`.
900
+ #
901
+ # You cannot combine constraints on multiple fields using regular
902
+ # expressions.
701
903
  # @param max_results [::Integer]
702
- # 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`)
904
+ # The maximum number of results per page that should be returned.
905
+ # If the number of available results is larger than `maxResults`,
906
+ # Compute Engine returns a `nextPageToken` that can be used to get
907
+ # the next page of results in subsequent list requests. Acceptable values are
908
+ # `0` to `500`, inclusive. (Default: `500`)
703
909
  # @param order_by [::String]
704
- # 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.
910
+ # Sorts list results by a certain order. By default, results
911
+ # are returned in alphanumerical order based on the resource name.
912
+ #
913
+ # You can also sort results in descending order based on the creation
914
+ # timestamp using `orderBy="creationTimestamp desc"`. This sorts
915
+ # results based on the `creationTimestamp` field in
916
+ # reverse chronological order (newest result first). Use this to sort
917
+ # resources like operations so that the newest operation is returned first.
918
+ #
919
+ # Currently, only sorting by `name` or
920
+ # `creationTimestamp desc` is supported.
705
921
  # @param page_token [::String]
706
- # Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.
922
+ # Specifies a page token to use. Set `pageToken` to the
923
+ # `nextPageToken` returned by a previous list request to get
924
+ # the next page of results.
707
925
  # @param project [::String]
708
926
  # Project ID for this request.
709
927
  # @param return_partial_success [::Boolean]
710
- # 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.
928
+ # Opt-in for partial success behavior which provides partial results in case
929
+ # of failure. The default value is false.
930
+ #
931
+ # For example, when partial success behavior is enabled, aggregatedList for a
932
+ # single zone scope either returns all resources in the zone or no resources,
933
+ # with an error code.
711
934
  # @param zone [::String]
712
- # The name of the zone where the instance group is located.
935
+ # The name of thezone
936
+ # where the instance group is located.
713
937
  # @yield [result, operation] Access the result along with the TransportOperation object
714
938
  # @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Compute::V1::InstanceGroup>]
715
939
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
@@ -771,7 +995,10 @@ module Google
771
995
  end
772
996
 
773
997
  ##
774
- # Lists the instances in the specified instance group. The orderBy query parameter is not supported. The filter query parameter is supported, but only for expressions that use `eq` (equal) or `ne` (not equal) operators.
998
+ # Lists the instances in the specified instance group.
999
+ # The orderBy query parameter is not supported.
1000
+ # The filter query parameter is supported, but only for
1001
+ # expressions that use `eq` (equal) or `ne` (not equal) operators.
775
1002
  #
776
1003
  # @overload list_instances(request, options = nil)
777
1004
  # Pass arguments to `list_instances` via a request object, either of type
@@ -789,23 +1016,103 @@ module Google
789
1016
  # the default parameter values, pass an empty Hash as a request object (see above).
790
1017
  #
791
1018
  # @param filter [::String]
792
- # 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.
1019
+ # A filter expression that filters resources listed in the response. Most
1020
+ # Compute resources support two types of filter expressions:
1021
+ # expressions that support regular expressions and expressions that follow
1022
+ # API improvement proposal AIP-160.
1023
+ # These two types of filter expressions cannot be mixed in one request.
1024
+ #
1025
+ # If you want to use AIP-160, your expression must specify the field name, an
1026
+ # operator, and the value that you want to use for filtering. The value
1027
+ # must be a string, a number, or a boolean. The operator
1028
+ # must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.
1029
+ #
1030
+ # For example, if you are filtering Compute Engine instances, you can
1031
+ # exclude instances named `example-instance` by specifying
1032
+ # `name != example-instance`.
1033
+ #
1034
+ # The `:*` comparison can be used to test whether a key has been defined.
1035
+ # For example, to find all objects with `owner` label use:
1036
+ # ```
1037
+ # labels.owner:*
1038
+ # ```
1039
+ #
1040
+ # You can also filter nested fields. For example, you could specify
1041
+ # `scheduling.automaticRestart = false` to include instances only
1042
+ # if they are not scheduled for automatic restarts. You can use filtering
1043
+ # on nested fields to filter based onresource labels.
1044
+ #
1045
+ # To filter on multiple expressions, provide each separate expression within
1046
+ # parentheses. For example:
1047
+ # ```
1048
+ # (scheduling.automaticRestart = true)
1049
+ # (cpuPlatform = "Intel Skylake")
1050
+ # ```
1051
+ # By default, each expression is an `AND` expression. However, you
1052
+ # can include `AND` and `OR` expressions explicitly.
1053
+ # For example:
1054
+ # ```
1055
+ # (cpuPlatform = "Intel Skylake") OR
1056
+ # (cpuPlatform = "Intel Broadwell") AND
1057
+ # (scheduling.automaticRestart = true)
1058
+ # ```
1059
+ #
1060
+ # If you want to use a regular expression, use the `eq` (equal) or `ne`
1061
+ # (not equal) operator against a single un-parenthesized expression with or
1062
+ # without quotes or against multiple parenthesized expressions. Examples:
1063
+ #
1064
+ # `fieldname eq unquoted literal`
1065
+ # `fieldname eq 'single quoted literal'`
1066
+ # `fieldname eq "double quoted literal"`
1067
+ # `(fieldname1 eq literal) (fieldname2 ne "literal")`
1068
+ #
1069
+ # The literal value is interpreted as a regular expression using GoogleRE2 library syntax.
1070
+ # The literal value must match the entire field.
1071
+ #
1072
+ # For example, to filter for instances that do not end with name "instance",
1073
+ # you would use `name ne .*instance`.
1074
+ #
1075
+ # You cannot combine constraints on multiple fields using regular
1076
+ # expressions.
793
1077
  # @param instance_group [::String]
794
- # The name of the instance group from which you want to generate a list of included instances.
1078
+ # The name of the instance group from which you want to generate a list
1079
+ # of included instances.
795
1080
  # @param instance_groups_list_instances_request_resource [::Google::Cloud::Compute::V1::InstanceGroupsListInstancesRequest, ::Hash]
796
1081
  # The body resource for this request
797
1082
  # @param max_results [::Integer]
798
- # 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`)
1083
+ # The maximum number of results per page that should be returned.
1084
+ # If the number of available results is larger than `maxResults`,
1085
+ # Compute Engine returns a `nextPageToken` that can be used to get
1086
+ # the next page of results in subsequent list requests. Acceptable values are
1087
+ # `0` to `500`, inclusive. (Default: `500`)
799
1088
  # @param order_by [::String]
800
- # 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.
1089
+ # Sorts list results by a certain order. By default, results
1090
+ # are returned in alphanumerical order based on the resource name.
1091
+ #
1092
+ # You can also sort results in descending order based on the creation
1093
+ # timestamp using `orderBy="creationTimestamp desc"`. This sorts
1094
+ # results based on the `creationTimestamp` field in
1095
+ # reverse chronological order (newest result first). Use this to sort
1096
+ # resources like operations so that the newest operation is returned first.
1097
+ #
1098
+ # Currently, only sorting by `name` or
1099
+ # `creationTimestamp desc` is supported.
801
1100
  # @param page_token [::String]
802
- # Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.
1101
+ # Specifies a page token to use. Set `pageToken` to the
1102
+ # `nextPageToken` returned by a previous list request to get
1103
+ # the next page of results.
803
1104
  # @param project [::String]
804
1105
  # Project ID for this request.
805
1106
  # @param return_partial_success [::Boolean]
806
- # 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.
1107
+ # Opt-in for partial success behavior which provides partial results in case
1108
+ # of failure. The default value is false.
1109
+ #
1110
+ # For example, when partial success behavior is enabled, aggregatedList for a
1111
+ # single zone scope either returns all resources in the zone or no resources,
1112
+ # with an error code.
807
1113
  # @param zone [::String]
808
- # The name of the zone where the instance group is located.
1114
+ # The name of the zone
1115
+ # where the instance group is located.
809
1116
  # @yield [result, operation] Access the result along with the TransportOperation object
810
1117
  # @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Compute::V1::InstanceWithNamedPorts>]
811
1118
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
@@ -867,7 +1174,13 @@ module Google
867
1174
  end
868
1175
 
869
1176
  ##
870
- # Removes one or more instances from the specified instance group, but does not delete those instances. If the group is part of a backend service that has enabled connection draining, it can take up to 60 seconds after the connection draining duration before the VM instance is removed or deleted.
1177
+ # Removes one or more instances from the specified instance group, but does
1178
+ # not delete those instances.
1179
+ #
1180
+ # If the group is part of a backend
1181
+ # service that has enabled
1182
+ # connection draining, it can take up to 60 seconds after the connection
1183
+ # draining duration before the VM instance is removed or deleted.
871
1184
  #
872
1185
  # @overload remove_instances(request, options = nil)
873
1186
  # Pass arguments to `remove_instances` via a request object, either of type
@@ -885,15 +1198,29 @@ module Google
885
1198
  # the default parameter values, pass an empty Hash as a request object (see above).
886
1199
  #
887
1200
  # @param instance_group [::String]
888
- # The name of the instance group where the specified instances will be removed.
1201
+ # The name of the instance group where the specified instances will be
1202
+ # removed.
889
1203
  # @param instance_groups_remove_instances_request_resource [::Google::Cloud::Compute::V1::InstanceGroupsRemoveInstancesRequest, ::Hash]
890
1204
  # The body resource for this request
891
1205
  # @param project [::String]
892
1206
  # Project ID for this request.
893
1207
  # @param request_id [::String]
894
- # 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).
1208
+ # An optional request ID to identify requests. Specify a unique request ID so
1209
+ # that if you must retry your request, the server will know to ignore the
1210
+ # request if it has already been completed.
1211
+ #
1212
+ # For example, consider a situation where you make an initial request and
1213
+ # the request times out. If you make the request again with the same
1214
+ # request ID, the server can check if original operation with the same
1215
+ # request ID was received, and if so, will ignore the second request. This
1216
+ # prevents clients from accidentally creating duplicate commitments.
1217
+ #
1218
+ # The request ID must be
1219
+ # a valid UUID with the exception that zero UUID is not supported
1220
+ # (00000000-0000-0000-0000-000000000000).
895
1221
  # @param zone [::String]
896
- # The name of the zone where the instance group is located.
1222
+ # The name of the zone
1223
+ # where the instance group is located.
897
1224
  # @yield [result, operation] Access the result along with the TransportOperation object
898
1225
  # @yieldparam result [::Gapic::GenericLRO::Operation]
899
1226
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
@@ -987,9 +1314,22 @@ module Google
987
1314
  # @param project [::String]
988
1315
  # Project ID for this request.
989
1316
  # @param request_id [::String]
990
- # 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).
1317
+ # An optional request ID to identify requests. Specify a unique request ID so
1318
+ # that if you must retry your request, the server will know to ignore the
1319
+ # request if it has already been completed.
1320
+ #
1321
+ # For example, consider a situation where you make an initial request and
1322
+ # the request times out. If you make the request again with the same
1323
+ # request ID, the server can check if original operation with the same
1324
+ # request ID was received, and if so, will ignore the second request. This
1325
+ # prevents clients from accidentally creating duplicate commitments.
1326
+ #
1327
+ # The request ID must be
1328
+ # a valid UUID with the exception that zero UUID is not supported
1329
+ # (00000000-0000-0000-0000-000000000000).
991
1330
  # @param zone [::String]
992
- # The name of the zone where the instance group is located.
1331
+ # The name of the zone
1332
+ # where the instance group is located.
993
1333
  # @yield [result, operation] Access the result along with the TransportOperation object
994
1334
  # @yieldparam result [::Gapic::GenericLRO::Operation]
995
1335
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
@@ -299,7 +299,19 @@ module Google
299
299
  # @param project [::String]
300
300
  # Project ID for this request.
301
301
  # @param request_id [::String]
302
- # 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).
302
+ # An optional request ID to identify requests. Specify a unique request ID so
303
+ # that if you must retry your request, the server will know to ignore the
304
+ # request if it has already been completed.
305
+ #
306
+ # For example, consider a situation where you make an initial request and
307
+ # the request times out. If you make the request again with the same
308
+ # request ID, the server can check if original operation with the same
309
+ # request ID was received, and if so, will ignore the second request. This
310
+ # prevents clients from accidentally creating duplicate commitments.
311
+ #
312
+ # The request ID must be
313
+ # a valid UUID with the exception that zero UUID is not supported
314
+ # (00000000-0000-0000-0000-000000000000).
303
315
  # @param update_mask [::String]
304
316
  # update_mask indicates fields to be updated as part of this request.
305
317
  # @param zone [::String]