google-cloud-compute-v1 0.3.0 → 0.4.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (97) hide show
  1. checksums.yaml +4 -4
  2. data/lib/google/cloud/compute/v1/accelerator_types/rest/client.rb +4 -24
  3. data/lib/google/cloud/compute/v1/addresses/rest/client.rb +6 -34
  4. data/lib/google/cloud/compute/v1/autoscalers/rest/client.rb +8 -44
  5. data/lib/google/cloud/compute/v1/backend_buckets/rest/client.rb +8 -42
  6. data/lib/google/cloud/compute/v1/backend_services/rest/client.rb +14 -66
  7. data/lib/google/cloud/compute/v1/compute_pb.rb +8137 -7777
  8. data/lib/google/cloud/compute/v1/disk_types/rest/client.rb +4 -24
  9. data/lib/google/cloud/compute/v1/disks/rest/client.rb +11 -59
  10. data/lib/google/cloud/compute/v1/external_vpn_gateways/rest/client.rb +4 -22
  11. data/lib/google/cloud/compute/v1/firewall_policies/rest/client.rb +13 -63
  12. data/lib/google/cloud/compute/v1/firewalls/rest/client.rb +6 -32
  13. data/lib/google/cloud/compute/v1/forwarding_rules/rest/client.rb +9 -49
  14. data/lib/google/cloud/compute/v1/global_addresses/rest/client.rb +4 -22
  15. data/lib/google/cloud/compute/v1/global_forwarding_rules/rest/client.rb +7 -33
  16. data/lib/google/cloud/compute/v1/global_network_endpoint_groups/rest/client.rb +8 -44
  17. data/lib/google/cloud/compute/v1/global_operations/rest/client.rb +6 -30
  18. data/lib/google/cloud/compute/v1/global_organization_operations/rest/client.rb +2 -12
  19. data/lib/google/cloud/compute/v1/global_public_delegated_prefixes/rest/client.rb +5 -27
  20. data/lib/google/cloud/compute/v1/health_checks/rest/client.rb +8 -44
  21. data/lib/google/cloud/compute/v1/image_family_views/credentials.rb +53 -0
  22. data/lib/google/cloud/compute/v1/image_family_views/rest/client.rb +313 -0
  23. data/lib/google/cloud/compute/v1/image_family_views/rest/service_stub.rb +89 -0
  24. data/lib/google/cloud/compute/v1/image_family_views/rest.rb +33 -0
  25. data/lib/google/cloud/compute/v1/image_family_views.rb +44 -0
  26. data/lib/google/cloud/compute/v1/images/rest/client.rb +7 -35
  27. data/lib/google/cloud/compute/v1/instance_group_managers/rest/client.rb +30 -150
  28. data/lib/google/cloud/compute/v1/instance_groups/rest/client.rb +16 -72
  29. data/lib/google/cloud/compute/v1/instance_templates/rest/client.rb +4 -22
  30. data/lib/google/cloud/compute/v1/instances/rest/client.rb +111 -194
  31. data/lib/google/cloud/compute/v1/instances/rest/service_stub.rb +43 -0
  32. data/lib/google/cloud/compute/v1/interconnect_attachments/rest/client.rb +7 -39
  33. data/lib/google/cloud/compute/v1/interconnect_locations/rest/client.rb +2 -12
  34. data/lib/google/cloud/compute/v1/interconnects/rest/client.rb +5 -27
  35. data/lib/google/cloud/compute/v1/license_codes/rest/client.rb +2 -2
  36. data/lib/google/cloud/compute/v1/licenses/rest/client.rb +11 -29
  37. data/lib/google/cloud/compute/v1/machine_types/rest/client.rb +4 -24
  38. data/lib/google/cloud/compute/v1/network_endpoint_groups/rest/client.rb +10 -56
  39. data/lib/google/cloud/compute/v1/networks/rest/client.rb +12 -60
  40. data/lib/google/cloud/compute/v1/node_groups/rest/client.rb +12 -66
  41. data/lib/google/cloud/compute/v1/node_templates/rest/client.rb +6 -34
  42. data/lib/google/cloud/compute/v1/node_types/rest/client.rb +4 -24
  43. data/lib/google/cloud/compute/v1/packet_mirrorings/rest/client.rb +7 -39
  44. data/lib/google/cloud/compute/v1/projects/rest/client.rb +13 -69
  45. data/lib/google/cloud/compute/v1/public_advertised_prefixes/rest/client.rb +5 -27
  46. data/lib/google/cloud/compute/v1/public_delegated_prefixes/rest/client.rb +7 -39
  47. data/lib/google/cloud/compute/v1/region_autoscalers/rest/client.rb +6 -32
  48. data/lib/google/cloud/compute/v1/region_backend_services/rest/client.rb +9 -35
  49. data/lib/google/cloud/compute/v1/region_commitments/rest/client.rb +6 -30
  50. data/lib/google/cloud/compute/v1/region_disk_types/rest/client.rb +2 -12
  51. data/lib/google/cloud/compute/v1/region_disks/rest/client.rb +9 -47
  52. data/lib/google/cloud/compute/v1/region_health_check_services/rest/client.rb +5 -27
  53. data/lib/google/cloud/compute/v1/region_health_checks/rest/client.rb +6 -32
  54. data/lib/google/cloud/compute/v1/region_instance_group_managers/rest/client.rb +27 -133
  55. data/lib/google/cloud/compute/v1/region_instance_groups/rest/client.rb +5 -29
  56. data/lib/google/cloud/compute/v1/region_instances/rest/client.rb +1 -5
  57. data/lib/google/cloud/compute/v1/region_network_endpoint_groups/rest/client.rb +4 -22
  58. data/lib/google/cloud/compute/v1/region_notification_endpoints/rest/client.rb +4 -22
  59. data/lib/google/cloud/compute/v1/region_operations/rest/client.rb +3 -17
  60. data/lib/google/cloud/compute/v1/region_ssl_certificates/rest/client.rb +4 -22
  61. data/lib/google/cloud/compute/v1/region_target_http_proxies/rest/client.rb +5 -27
  62. data/lib/google/cloud/compute/v1/region_target_https_proxies/rest/client.rb +6 -32
  63. data/lib/google/cloud/compute/v1/region_url_maps/rest/client.rb +2 -12
  64. data/lib/google/cloud/compute/v1/regions/rest/client.rb +2 -12
  65. data/lib/google/cloud/compute/v1/reservations/rest/client.rb +7 -39
  66. data/lib/google/cloud/compute/v1/resource_policies/rest/client.rb +6 -34
  67. data/lib/google/cloud/compute/v1/routers/rest/client.rb +10 -56
  68. data/lib/google/cloud/compute/v1/routes/rest/client.rb +4 -22
  69. data/lib/google/cloud/compute/v1/security_policies/rest/client.rb +7 -39
  70. data/lib/google/cloud/compute/v1/service_attachments/credentials.rb +52 -0
  71. data/lib/google/cloud/compute/v1/service_attachments/rest/client.rb +924 -0
  72. data/lib/google/cloud/compute/v1/service_attachments/rest/service_stub.rb +458 -0
  73. data/lib/google/cloud/compute/v1/service_attachments/rest.rb +33 -0
  74. data/lib/google/cloud/compute/v1/service_attachments.rb +44 -0
  75. data/lib/google/cloud/compute/v1/snapshots/rest/client.rb +4 -20
  76. data/lib/google/cloud/compute/v1/ssl_certificates/rest/client.rb +6 -34
  77. data/lib/google/cloud/compute/v1/ssl_policies/rest/client.rb +7 -39
  78. data/lib/google/cloud/compute/v1/subnetworks/rest/client.rb +11 -61
  79. data/lib/google/cloud/compute/v1/target_grpc_proxies/rest/client.rb +5 -27
  80. data/lib/google/cloud/compute/v1/target_http_proxies/rest/client.rb +9 -45
  81. data/lib/google/cloud/compute/v1/target_https_proxies/rest/client.rb +12 -60
  82. data/lib/google/cloud/compute/v1/target_instances/rest/client.rb +6 -34
  83. data/lib/google/cloud/compute/v1/target_pools/rest/client.rb +11 -59
  84. data/lib/google/cloud/compute/v1/target_ssl_proxies/rest/client.rb +8 -42
  85. data/lib/google/cloud/compute/v1/target_tcp_proxies/rest/client.rb +6 -32
  86. data/lib/google/cloud/compute/v1/target_vpn_gateways/rest/client.rb +6 -34
  87. data/lib/google/cloud/compute/v1/url_maps/rest/client.rb +10 -52
  88. data/lib/google/cloud/compute/v1/version.rb +1 -1
  89. data/lib/google/cloud/compute/v1/vpn_gateways/rest/client.rb +7 -39
  90. data/lib/google/cloud/compute/v1/vpn_tunnels/rest/client.rb +6 -34
  91. data/lib/google/cloud/compute/v1/zone_operations/rest/client.rb +3 -17
  92. data/lib/google/cloud/compute/v1/zones/rest/client.rb +2 -12
  93. data/lib/google/cloud/compute/v1.rb +2 -0
  94. data/proto_docs/google/api/field_behavior.rb +6 -0
  95. data/proto_docs/google/cloud/compute/v1/compute.rb +18905 -21502
  96. data/proto_docs/google/cloud/extended_operations.rb +51 -0
  97. metadata +30 -3
@@ -173,11 +173,7 @@ module Google
173
173
  # Service calls
174
174
 
175
175
  ##
176
- # Flags the specified instances to be immediately removed from the managed instance group. Abandoning an instance does not delete the instance, but it does remove the instance from any target pools that are applied by the managed instance group. This method reduces the targetSize of the managed instance group by the number of instances that you abandon. This operation is marked as DONE when the action is scheduled even if the instances have not yet been removed from the group. You must separately verify the status of the abandoning action with the listmanagedinstances method.
177
- #
178
- # 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 has elapsed before the VM instance is removed or deleted.
179
- #
180
- # You can specify a maximum of 1000 instances with this method per request.
176
+ # Flags the specified instances to be immediately removed from the managed instance group. Abandoning an instance does not delete the instance, but it does remove the instance from any target pools that are applied by the managed instance group. This method reduces the targetSize of the managed instance group by the number of instances that you abandon. This operation is marked as DONE when the action is scheduled even if the instances have not yet been removed from the group. You must separately verify the status of the abandoning action with the listmanagedinstances method. 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 has elapsed before the VM instance is removed or deleted. You can specify a maximum of 1000 instances with this method per request.
181
177
  #
182
178
  # @overload abandon_instances(request, options = nil)
183
179
  # Pass arguments to `abandon_instances` via a request object, either of type
@@ -205,11 +201,7 @@ module Google
205
201
  # @param region_instance_group_managers_abandon_instances_request_resource [::Google::Cloud::Compute::V1::RegionInstanceGroupManagersAbandonInstancesRequest, ::Hash]
206
202
  # The body resource for this request
207
203
  # @param request_id [::String]
208
- # 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.
209
- #
210
- # 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.
211
- #
212
- # The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
204
+ # 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).
213
205
  # @yield [result, response] Access the result along with the Faraday response object
214
206
  # @yieldparam result [::Gapic::Rest::BaseOperation]
215
207
  # @yieldparam response [::Faraday::Response]
@@ -347,11 +339,7 @@ module Google
347
339
  # @param region_instance_group_managers_create_instances_request_resource [::Google::Cloud::Compute::V1::RegionInstanceGroupManagersCreateInstancesRequest, ::Hash]
348
340
  # The body resource for this request
349
341
  # @param request_id [::String]
350
- # 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.
351
- #
352
- # 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.
353
- #
354
- # The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
342
+ # 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. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).
355
343
  # @yield [result, response] Access the result along with the Faraday response object
356
344
  # @yieldparam result [::Gapic::Rest::BaseOperation]
357
345
  # @yieldparam response [::Faraday::Response]
@@ -419,11 +407,7 @@ module Google
419
407
  # @param region [::String]
420
408
  # Name of the region scoping this request.
421
409
  # @param request_id [::String]
422
- # 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.
423
- #
424
- # 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.
425
- #
426
- # The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
410
+ # An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).
427
411
  # @yield [result, response] Access the result along with the Faraday response object
428
412
  # @yieldparam result [::Gapic::Rest::BaseOperation]
429
413
  # @yieldparam response [::Faraday::Response]
@@ -465,11 +449,7 @@ module Google
465
449
  end
466
450
 
467
451
  ##
468
- # Flags the specified instances in the managed instance group to be immediately deleted. The instances are also removed from any target pools of which they were a member. This method reduces the targetSize of the managed instance group by the number of instances that you delete. The deleteInstances operation is marked DONE if the deleteInstances request is successful. The underlying actions take additional time. You must separately verify the status of the deleting action with the listmanagedinstances method.
469
- #
470
- # 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 has elapsed before the VM instance is removed or deleted.
471
- #
472
- # You can specify a maximum of 1000 instances with this method per request.
452
+ # Flags the specified instances in the managed instance group to be immediately deleted. The instances are also removed from any target pools of which they were a member. This method reduces the targetSize of the managed instance group by the number of instances that you delete. The deleteInstances operation is marked DONE if the deleteInstances request is successful. The underlying actions take additional time. You must separately verify the status of the deleting action with the listmanagedinstances method. 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 has elapsed before the VM instance is removed or deleted. You can specify a maximum of 1000 instances with this method per request.
473
453
  #
474
454
  # @overload delete_instances(request, options = nil)
475
455
  # Pass arguments to `delete_instances` via a request object, either of type
@@ -497,11 +477,7 @@ module Google
497
477
  # @param region_instance_group_managers_delete_instances_request_resource [::Google::Cloud::Compute::V1::RegionInstanceGroupManagersDeleteInstancesRequest, ::Hash]
498
478
  # The body resource for this request
499
479
  # @param request_id [::String]
500
- # 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.
501
- #
502
- # 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.
503
- #
504
- # The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
480
+ # 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).
505
481
  # @yield [result, response] Access the result along with the Faraday response object
506
482
  # @yieldparam result [::Gapic::Rest::BaseOperation]
507
483
  # @yieldparam response [::Faraday::Response]
@@ -676,9 +652,7 @@ module Google
676
652
  end
677
653
 
678
654
  ##
679
- # Creates a managed instance group using the information that you specify in the request. After the group is created, instances in the group are created using the specified instance template. This operation is marked as DONE when the group is created even if the instances in the group have not yet been created. You must separately verify the status of the individual instances with the listmanagedinstances method.
680
- #
681
- # A regional managed instance group can contain up to 2000 instances.
655
+ # Creates a managed instance group using the information that you specify in the request. After the group is created, instances in the group are created using the specified instance template. This operation is marked as DONE when the group is created even if the instances in the group have not yet been created. You must separately verify the status of the individual instances with the listmanagedinstances method. A regional managed instance group can contain up to 2000 instances.
682
656
  #
683
657
  # @overload insert(request, options = nil)
684
658
  # Pass arguments to `insert` via a request object, either of type
@@ -704,11 +678,7 @@ module Google
704
678
  # @param region [::String]
705
679
  # Name of the region scoping this request.
706
680
  # @param request_id [::String]
707
- # 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.
708
- #
709
- # 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.
710
- #
711
- # The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
681
+ # 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).
712
682
  # @yield [result, response] Access the result along with the Faraday response object
713
683
  # @yieldparam result [::Gapic::Rest::BaseOperation]
714
684
  # @yieldparam response [::Faraday::Response]
@@ -770,21 +740,11 @@ module Google
770
740
  # the default parameter values, pass an empty Hash as a request object (see above).
771
741
  #
772
742
  # @param filter [::String]
773
- # A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison operator must be either `=`, `!=`, `>`, or `<`.
774
- #
775
- # For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`.
776
- #
777
- # 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.
778
- #
779
- # 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) ```
743
+ # A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison 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`. 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) ```
780
744
  # @param max_results [::Integer]
781
745
  # 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`)
782
746
  # @param order_by [::String]
783
- # Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name.
784
- #
785
- # 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.
786
- #
787
- # Currently, only sorting by `name` or `creationTimestamp desc` is supported.
747
+ # 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.
788
748
  # @param page_token [::String]
789
749
  # Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.
790
750
  # @param project [::String]
@@ -854,23 +814,13 @@ module Google
854
814
  # the default parameter values, pass an empty Hash as a request object (see above).
855
815
  #
856
816
  # @param filter [::String]
857
- # A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison operator must be either `=`, `!=`, `>`, or `<`.
858
- #
859
- # For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`.
860
- #
861
- # 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.
862
- #
863
- # 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) ```
817
+ # A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison 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`. 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) ```
864
818
  # @param instance_group_manager [::String]
865
- # The name of the managed instance group. It must be a string that meets the requirements in RFC1035, or an unsigned long integer: must match regexp pattern: (?:[a-z](?:[-a-z0-9]\\{0,61}[a-z0-9])?)|[1-9][0-9]\\{0,19}.
819
+ # The name of the managed instance group. It must be a string that meets the requirements in RFC1035, or an unsigned long integer: must match regexp pattern: (?:[a-z](?:[-a-z0-9]\\{0,61}[a-z0-9])?)|1-9\\{0,19}.
866
820
  # @param max_results [::Integer]
867
821
  # 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`)
868
822
  # @param order_by [::String]
869
- # Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name.
870
- #
871
- # 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.
872
- #
873
- # Currently, only sorting by `name` or `creationTimestamp desc` is supported.
823
+ # 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.
874
824
  # @param page_token [::String]
875
825
  # Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.
876
826
  # @param project [::String]
@@ -940,23 +890,13 @@ module Google
940
890
  # the default parameter values, pass an empty Hash as a request object (see above).
941
891
  #
942
892
  # @param filter [::String]
943
- # A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison operator must be either `=`, `!=`, `>`, or `<`.
944
- #
945
- # For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`.
946
- #
947
- # 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.
948
- #
949
- # 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) ```
893
+ # A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison 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`. 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) ```
950
894
  # @param instance_group_manager [::String]
951
895
  # The name of the managed instance group.
952
896
  # @param max_results [::Integer]
953
897
  # 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`)
954
898
  # @param order_by [::String]
955
- # Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name.
956
- #
957
- # 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.
958
- #
959
- # Currently, only sorting by `name` or `creationTimestamp desc` is supported.
899
+ # 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.
960
900
  # @param page_token [::String]
961
901
  # Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.
962
902
  # @param project [::String]
@@ -1026,23 +966,13 @@ module Google
1026
966
  # the default parameter values, pass an empty Hash as a request object (see above).
1027
967
  #
1028
968
  # @param filter [::String]
1029
- # A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison operator must be either `=`, `!=`, `>`, or `<`.
1030
- #
1031
- # For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`.
1032
- #
1033
- # 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.
1034
- #
1035
- # 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) ```
969
+ # A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison 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`. 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) ```
1036
970
  # @param instance_group_manager [::String]
1037
971
  # The name of the managed instance group. It should conform to RFC1035.
1038
972
  # @param max_results [::Integer]
1039
973
  # 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`)
1040
974
  # @param order_by [::String]
1041
- # Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name.
1042
- #
1043
- # 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.
1044
- #
1045
- # Currently, only sorting by `name` or `creationTimestamp desc` is supported.
975
+ # 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.
1046
976
  # @param page_token [::String]
1047
977
  # Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.
1048
978
  # @param project [::String]
@@ -1092,7 +1022,7 @@ module Google
1092
1022
  end
1093
1023
 
1094
1024
  ##
1095
- # Updates a managed instance group using the information that you specify in the request. This operation is marked as DONE when the group is patched even if the instances in the group are still in the process of being patched. You must separately verify the status of the individual instances with the listmanagedinstances method. This method supports PATCH semantics and uses the JSON merge patch format and processing rules.
1025
+ # Updates a managed instance group using the information that you specify in the request. This operation is marked as DONE when the group is patched even if the instances in the group are still in the process of being patched. You must separately verify the status of the individual instances with the listmanagedinstances method. This method supports PATCH semantics and uses the JSON merge patch format and processing rules. If you update your group to specify a new template or instance configuration, it's possible that your intended specification for each VM in the group is different from the current state of that VM. To learn how to apply an updated configuration to the VMs in a MIG, see Updating instances in a MIG.
1096
1026
  #
1097
1027
  # @overload patch(request, options = nil)
1098
1028
  # Pass arguments to `patch` via a request object, either of type
@@ -1120,11 +1050,7 @@ module Google
1120
1050
  # @param region [::String]
1121
1051
  # Name of the region scoping this request.
1122
1052
  # @param request_id [::String]
1123
- # 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.
1124
- #
1125
- # 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.
1126
- #
1127
- # The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
1053
+ # 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).
1128
1054
  # @yield [result, response] Access the result along with the Faraday response object
1129
1055
  # @yieldparam result [::Gapic::Rest::BaseOperation]
1130
1056
  # @yieldparam response [::Faraday::Response]
@@ -1194,11 +1120,7 @@ module Google
1194
1120
  # @param region_instance_group_manager_patch_instance_config_req_resource [::Google::Cloud::Compute::V1::RegionInstanceGroupManagerPatchInstanceConfigReq, ::Hash]
1195
1121
  # The body resource for this request
1196
1122
  # @param request_id [::String]
1197
- # 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.
1198
- #
1199
- # 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.
1200
- #
1201
- # The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
1123
+ # 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).
1202
1124
  # @yield [result, response] Access the result along with the Faraday response object
1203
1125
  # @yieldparam result [::Gapic::Rest::BaseOperation]
1204
1126
  # @yieldparam response [::Faraday::Response]
@@ -1240,11 +1162,7 @@ module Google
1240
1162
  end
1241
1163
 
1242
1164
  ##
1243
- # Flags the specified VM instances in the managed instance group to be immediately recreated. Each instance is recreated using the group's current configuration. This operation is marked as DONE when the flag is set even if the instances have not yet been recreated. You must separately verify the status of each instance by checking its currentAction field; for more information, see Checking the status of managed instances.
1244
- #
1245
- # 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 has elapsed before the VM instance is removed or deleted.
1246
- #
1247
- # You can specify a maximum of 1000 instances with this method per request.
1165
+ # Flags the specified VM instances in the managed instance group to be immediately recreated. Each instance is recreated using the group's current configuration. This operation is marked as DONE when the flag is set even if the instances have not yet been recreated. You must separately verify the status of each instance by checking its currentAction field; for more information, see Checking the status of managed 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 has elapsed before the VM instance is removed or deleted. You can specify a maximum of 1000 instances with this method per request.
1248
1166
  #
1249
1167
  # @overload recreate_instances(request, options = nil)
1250
1168
  # Pass arguments to `recreate_instances` via a request object, either of type
@@ -1272,11 +1190,7 @@ module Google
1272
1190
  # @param region_instance_group_managers_recreate_request_resource [::Google::Cloud::Compute::V1::RegionInstanceGroupManagersRecreateRequest, ::Hash]
1273
1191
  # The body resource for this request
1274
1192
  # @param request_id [::String]
1275
- # 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.
1276
- #
1277
- # 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.
1278
- #
1279
- # The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
1193
+ # 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).
1280
1194
  # @yield [result, response] Access the result along with the Faraday response object
1281
1195
  # @yieldparam result [::Gapic::Rest::BaseOperation]
1282
1196
  # @yieldparam response [::Faraday::Response]
@@ -1318,11 +1232,7 @@ module Google
1318
1232
  end
1319
1233
 
1320
1234
  ##
1321
- # Changes the intended size of the managed instance group. If you increase the size, the group creates new instances using the current instance template. If you decrease the size, the group deletes one or more instances.
1322
- #
1323
- # The resize operation is marked DONE if the resize request is successful. The underlying actions take additional time. You must separately verify the status of the creating or deleting actions with the listmanagedinstances method.
1324
- #
1325
- # 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 has elapsed before the VM instance is removed or deleted.
1235
+ # Changes the intended size of the managed instance group. If you increase the size, the group creates new instances using the current instance template. If you decrease the size, the group deletes one or more instances. The resize operation is marked DONE if the resize request is successful. The underlying actions take additional time. You must separately verify the status of the creating or deleting actions with the listmanagedinstances method. 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 has elapsed before the VM instance is removed or deleted.
1326
1236
  #
1327
1237
  # @overload resize(request, options = nil)
1328
1238
  # Pass arguments to `resize` via a request object, either of type
@@ -1348,11 +1258,7 @@ module Google
1348
1258
  # @param region [::String]
1349
1259
  # Name of the region scoping this request.
1350
1260
  # @param request_id [::String]
1351
- # 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.
1352
- #
1353
- # 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.
1354
- #
1355
- # The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
1261
+ # 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).
1356
1262
  # @param size [::Integer]
1357
1263
  # Number of instances that should exist in this instance group manager.
1358
1264
  # @yield [result, response] Access the result along with the Faraday response object
@@ -1424,11 +1330,7 @@ module Google
1424
1330
  # @param region_instance_group_managers_set_template_request_resource [::Google::Cloud::Compute::V1::RegionInstanceGroupManagersSetTemplateRequest, ::Hash]
1425
1331
  # The body resource for this request
1426
1332
  # @param request_id [::String]
1427
- # 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.
1428
- #
1429
- # 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.
1430
- #
1431
- # The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
1333
+ # 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).
1432
1334
  # @yield [result, response] Access the result along with the Faraday response object
1433
1335
  # @yieldparam result [::Gapic::Rest::BaseOperation]
1434
1336
  # @yieldparam response [::Faraday::Response]
@@ -1498,11 +1400,7 @@ module Google
1498
1400
  # @param region_instance_group_managers_set_target_pools_request_resource [::Google::Cloud::Compute::V1::RegionInstanceGroupManagersSetTargetPoolsRequest, ::Hash]
1499
1401
  # The body resource for this request
1500
1402
  # @param request_id [::String]
1501
- # 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.
1502
- #
1503
- # 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.
1504
- #
1505
- # The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
1403
+ # 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).
1506
1404
  # @yield [result, response] Access the result along with the Faraday response object
1507
1405
  # @yieldparam result [::Gapic::Rest::BaseOperation]
1508
1406
  # @yieldparam response [::Faraday::Response]
@@ -1572,11 +1470,7 @@ module Google
1572
1470
  # @param region_instance_group_manager_update_instance_config_req_resource [::Google::Cloud::Compute::V1::RegionInstanceGroupManagerUpdateInstanceConfigReq, ::Hash]
1573
1471
  # The body resource for this request
1574
1472
  # @param request_id [::String]
1575
- # 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.
1576
- #
1577
- # 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.
1578
- #
1579
- # The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
1473
+ # 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).
1580
1474
  # @yield [result, response] Access the result along with the Faraday response object
1581
1475
  # @yieldparam result [::Gapic::Rest::BaseOperation]
1582
1476
  # @yieldparam response [::Faraday::Response]
@@ -225,21 +225,11 @@ module Google
225
225
  # the default parameter values, pass an empty Hash as a request object (see above).
226
226
  #
227
227
  # @param filter [::String]
228
- # A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison operator must be either `=`, `!=`, `>`, or `<`.
229
- #
230
- # For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`.
231
- #
232
- # 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.
233
- #
234
- # 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) ```
228
+ # A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison 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`. 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) ```
235
229
  # @param max_results [::Integer]
236
230
  # 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`)
237
231
  # @param order_by [::String]
238
- # Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name.
239
- #
240
- # 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.
241
- #
242
- # Currently, only sorting by `name` or `creationTimestamp desc` is supported.
232
+ # 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.
243
233
  # @param page_token [::String]
244
234
  # Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.
245
235
  # @param project [::String]
@@ -309,23 +299,13 @@ module Google
309
299
  # the default parameter values, pass an empty Hash as a request object (see above).
310
300
  #
311
301
  # @param filter [::String]
312
- # A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison operator must be either `=`, `!=`, `>`, or `<`.
313
- #
314
- # For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`.
315
- #
316
- # 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.
317
- #
318
- # 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) ```
302
+ # A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison 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`. 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) ```
319
303
  # @param instance_group [::String]
320
304
  # Name of the regional instance group for which we want to list the instances.
321
305
  # @param max_results [::Integer]
322
306
  # 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`)
323
307
  # @param order_by [::String]
324
- # Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name.
325
- #
326
- # 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.
327
- #
328
- # Currently, only sorting by `name` or `creationTimestamp desc` is supported.
308
+ # 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.
329
309
  # @param page_token [::String]
330
310
  # Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.
331
311
  # @param project [::String]
@@ -405,11 +385,7 @@ module Google
405
385
  # @param region_instance_groups_set_named_ports_request_resource [::Google::Cloud::Compute::V1::RegionInstanceGroupsSetNamedPortsRequest, ::Hash]
406
386
  # The body resource for this request
407
387
  # @param request_id [::String]
408
- # 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.
409
- #
410
- # 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.
411
- #
412
- # The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
388
+ # 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).
413
389
  # @yield [result, response] Access the result along with the Faraday response object
414
390
  # @yieldparam result [::Gapic::Rest::BaseOperation]
415
391
  # @yieldparam response [::Faraday::Response]
@@ -154,11 +154,7 @@ module Google
154
154
  # @param region [::String]
155
155
  # The name of the region for this request.
156
156
  # @param request_id [::String]
157
- # 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.
158
- #
159
- # 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.
160
- #
161
- # The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
157
+ # 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).
162
158
  # @yield [result, response] Access the result along with the Faraday response object
163
159
  # @yieldparam result [::Gapic::Rest::BaseOperation]
164
160
  # @yieldparam response [::Faraday::Response]
@@ -166,11 +166,7 @@ module Google
166
166
  # @param region [::String]
167
167
  # The name of the region where the network endpoint group is located. It should comply with RFC1035.
168
168
  # @param request_id [::String]
169
- # 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.
170
- #
171
- # 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.
172
- #
173
- # The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
169
+ # 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).
174
170
  # @yield [result, response] Access the result along with the Faraday response object
175
171
  # @yieldparam result [::Gapic::Rest::BaseOperation]
176
172
  # @yieldparam response [::Faraday::Response]
@@ -303,11 +299,7 @@ module Google
303
299
  # @param region [::String]
304
300
  # The name of the region where you want to create the network endpoint group. It should comply with RFC1035.
305
301
  # @param request_id [::String]
306
- # 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.
307
- #
308
- # 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.
309
- #
310
- # 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 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).
311
303
  # @yield [result, response] Access the result along with the Faraday response object
312
304
  # @yieldparam result [::Gapic::Rest::BaseOperation]
313
305
  # @yieldparam response [::Faraday::Response]
@@ -369,21 +361,11 @@ module Google
369
361
  # the default parameter values, pass an empty Hash as a request object (see above).
370
362
  #
371
363
  # @param filter [::String]
372
- # A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison operator must be either `=`, `!=`, `>`, or `<`.
373
- #
374
- # For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`.
375
- #
376
- # 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.
377
- #
378
- # 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) ```
364
+ # A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison 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`. 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) ```
379
365
  # @param max_results [::Integer]
380
366
  # 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`)
381
367
  # @param order_by [::String]
382
- # Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name.
383
- #
384
- # 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.
385
- #
386
- # Currently, only sorting by `name` or `creationTimestamp desc` is supported.
368
+ # 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.
387
369
  # @param page_token [::String]
388
370
  # Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.
389
371
  # @param project [::String]
@@ -166,11 +166,7 @@ module Google
166
166
  # @param region [::String]
167
167
  # Name of the region scoping this request.
168
168
  # @param request_id [::String]
169
- # 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.
170
- #
171
- # 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.
172
- #
173
- # The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
169
+ # 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
174
170
  # @yield [result, response] Access the result along with the Faraday response object
175
171
  # @yieldparam result [::Gapic::Rest::BaseOperation]
176
172
  # @yieldparam response [::Faraday::Response]
@@ -303,11 +299,7 @@ module Google
303
299
  # @param region [::String]
304
300
  # Name of the region scoping this request.
305
301
  # @param request_id [::String]
306
- # 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.
307
- #
308
- # 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.
309
- #
310
- # 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 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
311
303
  # @yield [result, response] Access the result along with the Faraday response object
312
304
  # @yieldparam result [::Gapic::Rest::BaseOperation]
313
305
  # @yieldparam response [::Faraday::Response]
@@ -369,21 +361,11 @@ module Google
369
361
  # the default parameter values, pass an empty Hash as a request object (see above).
370
362
  #
371
363
  # @param filter [::String]
372
- # A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison operator must be either `=`, `!=`, `>`, or `<`.
373
- #
374
- # For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`.
375
- #
376
- # 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.
377
- #
378
- # 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) ```
364
+ # A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison 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`. 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) ```
379
365
  # @param max_results [::Integer]
380
366
  # 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`)
381
367
  # @param order_by [::String]
382
- # Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name.
383
- #
384
- # 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.
385
- #
386
- # Currently, only sorting by `name` or `creationTimestamp desc` is supported.
368
+ # 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.
387
369
  # @param page_token [::String]
388
370
  # Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.
389
371
  # @param project [::String]