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
@@ -268,11 +268,7 @@ module Google
268
268
  # @param project [::String]
269
269
  # Project ID for this request.
270
270
  # @param request_id [::String]
271
- # 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.
272
- #
273
- # 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.
274
- #
275
- # The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
271
+ # 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).
276
272
  # @param zone [::String]
277
273
  # The name of the zone for this request.
278
274
  # @yield [result, response] Access the result along with the Faraday response object
@@ -342,11 +338,7 @@ module Google
342
338
  # @param project [::String]
343
339
  # Project ID for this request.
344
340
  # @param request_id [::String]
345
- # 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.
346
- #
347
- # 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.
348
- #
349
- # The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
341
+ # 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).
350
342
  # @param zone [::String]
351
343
  # The name of the zone for this request.
352
344
  # @yield [result, response] Access the result along with the Faraday response object
@@ -390,7 +382,7 @@ module Google
390
382
  end
391
383
 
392
384
  ##
393
- # Retrieves aggregated list of all of the instances in your project across all regions and zones.
385
+ # Retrieves an aggregated list of all of the instances in your project across all regions and zones. The performance of this method degrades when a filter is specified on a project that has a very large number of instances.
394
386
  #
395
387
  # @overload aggregated_list(request, options = nil)
396
388
  # Pass arguments to `aggregated_list` via a request object, either of type
@@ -410,23 +402,13 @@ module Google
410
402
  # the default parameter values, pass an empty Hash as a request object (see above).
411
403
  #
412
404
  # @param filter [::String]
413
- # 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 `<`.
414
- #
415
- # For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`.
416
- #
417
- # 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.
418
- #
419
- # 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) ```
405
+ # 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) ```
420
406
  # @param include_all_scopes [::Boolean]
421
407
  # 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.
422
408
  # @param max_results [::Integer]
423
409
  # 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`)
424
410
  # @param order_by [::String]
425
- # Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name.
426
- #
427
- # 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.
428
- #
429
- # Currently, only sorting by `name` or `creationTimestamp desc` is supported.
411
+ # 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.
430
412
  # @param page_token [::String]
431
413
  # Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.
432
414
  # @param project [::String]
@@ -502,11 +484,7 @@ module Google
502
484
  # @param project [::String]
503
485
  # Project ID for this request.
504
486
  # @param request_id [::String]
505
- # 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.
506
- #
507
- # 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.
508
- #
509
- # The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
487
+ # 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).
510
488
  # @param zone [::String]
511
489
  # The name of the zone for this request.
512
490
  # @yield [result, response] Access the result along with the Faraday response object
@@ -574,11 +552,7 @@ module Google
574
552
  # @param project [::String]
575
553
  # Project ID for this request.
576
554
  # @param request_id [::String]
577
- # 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.
578
- #
579
- # 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.
580
- #
581
- # The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
555
+ # 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).
582
556
  # @param zone [::String]
583
557
  # The name of the zone for this request.
584
558
  # @yield [result, response] Access the result along with the Faraday response object
@@ -646,11 +620,7 @@ module Google
646
620
  # @param project [::String]
647
621
  # Project ID for this request.
648
622
  # @param request_id [::String]
649
- # 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.
650
- #
651
- # 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.
652
- #
653
- # The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
623
+ # 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).
654
624
  # @param zone [::String]
655
625
  # The name of the zone for this request.
656
626
  # @yield [result, response] Access the result along with the Faraday response object
@@ -722,11 +692,7 @@ module Google
722
692
  # @param project [::String]
723
693
  # Project ID for this request.
724
694
  # @param request_id [::String]
725
- # 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.
726
- #
727
- # 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.
728
- #
729
- # The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
695
+ # 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).
730
696
  # @param zone [::String]
731
697
  # The name of the zone for this request.
732
698
  # @yield [result, response] Access the result along with the Faraday response object
@@ -796,11 +762,7 @@ module Google
796
762
  # @param project [::String]
797
763
  # Project ID for this request.
798
764
  # @param request_id [::String]
799
- # 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.
800
- #
801
- # 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.
802
- #
803
- # The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
765
+ # 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).
804
766
  # @param zone [::String]
805
767
  # The name of the zone for this request.
806
768
  # @yield [result, response] Access the result along with the Faraday response object
@@ -1203,11 +1165,7 @@ module Google
1203
1165
  # @param project [::String]
1204
1166
  # Project ID for this request.
1205
1167
  # @param start [::Integer]
1206
- # Specifies the starting byte position of the output to return. To start with the first byte of output to the specified port, omit this field or set it to `0`.
1207
- #
1208
- # If the output for that byte position is available, this field matches the `start` parameter sent with the request. If the amount of serial console output exceeds the size of the buffer (1 MB), the oldest output is discarded and is no longer available. If the requested start position refers to discarded output, the start position is adjusted to the oldest output still available, and the adjusted start position is returned as the `start` property value.
1209
- #
1210
- # You can also provide a negative start position, which translates to the most recent number of bytes written to the serial port. For example, -3 is interpreted as the most recent 3 bytes written to the serial console.
1168
+ # Specifies the starting byte position of the output to return. To start with the first byte of output to the specified port, omit this field or set it to `0`. If the output for that byte position is available, this field matches the `start` parameter sent with the request. If the amount of serial console output exceeds the size of the buffer (1 MB), the oldest output is discarded and is no longer available. If the requested start position refers to discarded output, the start position is adjusted to the oldest output still available, and the adjusted start position is returned as the `start` property value. You can also provide a negative start position, which translates to the most recent number of bytes written to the serial port. For example, -3 is interpreted as the most recent 3 bytes written to the serial console.
1211
1169
  # @param zone [::String]
1212
1170
  # The name of the zone for this request.
1213
1171
  # @yield [result, response] Access the result along with the Faraday response object
@@ -1339,18 +1297,9 @@ module Google
1339
1297
  # @param project [::String]
1340
1298
  # Project ID for this request.
1341
1299
  # @param request_id [::String]
1342
- # 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.
1343
- #
1344
- # 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.
1345
- #
1346
- # The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
1300
+ # 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).
1347
1301
  # @param source_instance_template [::String]
1348
- # Specifies instance template to create the instance.
1349
- #
1350
- # This field is optional. It can be a full or partial URL. For example, the following are all valid URLs to an instance template:
1351
- # - https://www.googleapis.com/compute/v1/projects/project/global/instanceTemplates/instanceTemplate
1352
- # - projects/project/global/instanceTemplates/instanceTemplate
1353
- # - global/instanceTemplates/instanceTemplate
1302
+ # Specifies instance template to create the instance. This field is optional. It can be a full or partial URL. For example, the following are all valid URLs to an instance template: - https://www.googleapis.com/compute/v1/projects/project /global/instanceTemplates/instanceTemplate - projects/project/global/instanceTemplates/instanceTemplate - global/instanceTemplates/instanceTemplate
1354
1303
  # @param zone [::String]
1355
1304
  # The name of the zone for this request.
1356
1305
  # @yield [result, response] Access the result along with the Faraday response object
@@ -1414,21 +1363,11 @@ module Google
1414
1363
  # the default parameter values, pass an empty Hash as a request object (see above).
1415
1364
  #
1416
1365
  # @param filter [::String]
1417
- # 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 `<`.
1418
- #
1419
- # For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`.
1420
- #
1421
- # 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.
1422
- #
1423
- # 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) ```
1366
+ # 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) ```
1424
1367
  # @param max_results [::Integer]
1425
1368
  # 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`)
1426
1369
  # @param order_by [::String]
1427
- # Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name.
1428
- #
1429
- # 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.
1430
- #
1431
- # Currently, only sorting by `name` or `creationTimestamp desc` is supported.
1370
+ # 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.
1432
1371
  # @param page_token [::String]
1433
1372
  # Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.
1434
1373
  # @param project [::String]
@@ -1498,23 +1437,13 @@ module Google
1498
1437
  # the default parameter values, pass an empty Hash as a request object (see above).
1499
1438
  #
1500
1439
  # @param filter [::String]
1501
- # 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 `<`.
1502
- #
1503
- # For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`.
1504
- #
1505
- # 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.
1506
- #
1507
- # 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) ```
1440
+ # 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) ```
1508
1441
  # @param instance [::String]
1509
1442
  # Name of the target instance scoping this request, or '-' if the request should span over all instances in the container.
1510
1443
  # @param max_results [::Integer]
1511
1444
  # 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`)
1512
1445
  # @param order_by [::String]
1513
- # Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name.
1514
- #
1515
- # 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.
1516
- #
1517
- # Currently, only sorting by `name` or `creationTimestamp desc` is supported.
1446
+ # 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.
1518
1447
  # @param page_token [::String]
1519
1448
  # Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.
1520
1449
  # @param project [::String]
@@ -1590,11 +1519,7 @@ module Google
1590
1519
  # @param project [::String]
1591
1520
  # Project ID for this request.
1592
1521
  # @param request_id [::String]
1593
- # 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.
1594
- #
1595
- # 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.
1596
- #
1597
- # The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
1522
+ # 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).
1598
1523
  # @param zone [::String]
1599
1524
  # The name of the zone for this request.
1600
1525
  # @yield [result, response] Access the result along with the Faraday response object
@@ -1662,11 +1587,7 @@ module Google
1662
1587
  # @param project [::String]
1663
1588
  # Project ID for this request.
1664
1589
  # @param request_id [::String]
1665
- # 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.
1666
- #
1667
- # 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.
1668
- #
1669
- # The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
1590
+ # 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).
1670
1591
  # @param zone [::String]
1671
1592
  # The name of the zone for this request.
1672
1593
  # @yield [result, response] Access the result along with the Faraday response object
@@ -1709,6 +1630,71 @@ module Google
1709
1630
  raise ::Google::Cloud::Error.from_error(gapic_error)
1710
1631
  end
1711
1632
 
1633
+ ##
1634
+ # Sends diagnostic interrupt to the instance.
1635
+ #
1636
+ # @overload send_diagnostic_interrupt(request, options = nil)
1637
+ # Pass arguments to `send_diagnostic_interrupt` via a request object, either of type
1638
+ # {::Google::Cloud::Compute::V1::SendDiagnosticInterruptInstanceRequest} or an equivalent Hash.
1639
+ #
1640
+ # @param request [::Google::Cloud::Compute::V1::SendDiagnosticInterruptInstanceRequest, ::Hash]
1641
+ # A request object representing the call parameters. Required. To specify no
1642
+ # parameters, or to keep all the default parameter values, pass an empty Hash.
1643
+ # @param options [::Gapic::CallOptions, ::Hash]
1644
+ # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
1645
+ # Note: currently retry functionality is not implemented. While it is possible
1646
+ # to set it using ::Gapic::CallOptions, it will not be applied
1647
+ #
1648
+ # @overload send_diagnostic_interrupt(instance: nil, project: nil, zone: nil)
1649
+ # Pass arguments to `send_diagnostic_interrupt` via keyword arguments. Note that at
1650
+ # least one keyword argument is required. To specify no parameters, or to keep all
1651
+ # the default parameter values, pass an empty Hash as a request object (see above).
1652
+ #
1653
+ # @param instance [::String]
1654
+ # Name of the instance scoping this request.
1655
+ # @param project [::String]
1656
+ # Project ID for this request.
1657
+ # @param zone [::String]
1658
+ # The name of the zone for this request.
1659
+ # @yield [result, response] Access the result along with the Faraday response object
1660
+ # @yieldparam result [::Google::Cloud::Compute::V1::SendDiagnosticInterruptInstanceResponse]
1661
+ # @yieldparam response [::Faraday::Response]
1662
+ #
1663
+ # @return [::Google::Cloud::Compute::V1::SendDiagnosticInterruptInstanceResponse]
1664
+ #
1665
+ # @raise [::Google::Cloud::Error] if the REST call is aborted.
1666
+ def send_diagnostic_interrupt request, options = nil
1667
+ raise ::ArgumentError, "request must be provided" if request.nil?
1668
+
1669
+ request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::Compute::V1::SendDiagnosticInterruptInstanceRequest
1670
+
1671
+ # Converts hash and nil to an options object
1672
+ options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
1673
+
1674
+ # Customize the options with defaults
1675
+ call_metadata = @config.rpcs.send_diagnostic_interrupt.metadata.to_h
1676
+
1677
+ # Set x-goog-api-client header
1678
+ call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1679
+ lib_name: @config.lib_name, lib_version: @config.lib_version,
1680
+ gapic_version: ::Google::Cloud::Compute::V1::VERSION,
1681
+ transports_version_send: [:rest]
1682
+
1683
+ options.apply_defaults timeout: @config.rpcs.send_diagnostic_interrupt.timeout,
1684
+ metadata: call_metadata
1685
+
1686
+ options.apply_defaults timeout: @config.timeout,
1687
+ metadata: @config.metadata
1688
+
1689
+ @instances_stub.send_diagnostic_interrupt request, options do |result, response|
1690
+ yield result, response if block_given?
1691
+ return result
1692
+ end
1693
+ rescue ::Faraday::Error => e
1694
+ gapic_error = ::Gapic::Rest::Error.wrap_faraday_error e
1695
+ raise ::Google::Cloud::Error.from_error(gapic_error)
1696
+ end
1697
+
1712
1698
  ##
1713
1699
  # Sets deletion protection on the instance.
1714
1700
  #
@@ -1734,11 +1720,7 @@ module Google
1734
1720
  # @param project [::String]
1735
1721
  # Project ID for this request.
1736
1722
  # @param request_id [::String]
1737
- # 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.
1738
- #
1739
- # 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.
1740
- #
1741
- # The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
1723
+ # 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).
1742
1724
  # @param resource [::String]
1743
1725
  # Name or id of the resource for this request.
1744
1726
  # @param zone [::String]
@@ -1812,11 +1794,7 @@ module Google
1812
1794
  # @param project [::String]
1813
1795
  # Project ID for this request.
1814
1796
  # @param request_id [::String]
1815
- # 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.
1816
- #
1817
- # 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.
1818
- #
1819
- # The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
1797
+ # 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).
1820
1798
  # @param zone [::String]
1821
1799
  # The name of the zone for this request.
1822
1800
  # @yield [result, response] Access the result along with the Faraday response object
@@ -1953,11 +1931,7 @@ module Google
1953
1931
  # @param project [::String]
1954
1932
  # Project ID for this request.
1955
1933
  # @param request_id [::String]
1956
- # 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.
1957
- #
1958
- # 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.
1959
- #
1960
- # The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
1934
+ # 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).
1961
1935
  # @param zone [::String]
1962
1936
  # The name of the zone for this request.
1963
1937
  # @yield [result, response] Access the result along with the Faraday response object
@@ -2027,11 +2001,7 @@ module Google
2027
2001
  # @param project [::String]
2028
2002
  # Project ID for this request.
2029
2003
  # @param request_id [::String]
2030
- # 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.
2031
- #
2032
- # 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.
2033
- #
2034
- # The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
2004
+ # 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).
2035
2005
  # @param zone [::String]
2036
2006
  # The name of the zone for this request.
2037
2007
  # @yield [result, response] Access the result along with the Faraday response object
@@ -2101,11 +2071,7 @@ module Google
2101
2071
  # @param project [::String]
2102
2072
  # Project ID for this request.
2103
2073
  # @param request_id [::String]
2104
- # 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.
2105
- #
2106
- # 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.
2107
- #
2108
- # The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
2074
+ # 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).
2109
2075
  # @param zone [::String]
2110
2076
  # The name of the zone for this request.
2111
2077
  # @yield [result, response] Access the result along with the Faraday response object
@@ -2175,11 +2141,7 @@ module Google
2175
2141
  # @param project [::String]
2176
2142
  # Project ID for this request.
2177
2143
  # @param request_id [::String]
2178
- # 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.
2179
- #
2180
- # 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.
2181
- #
2182
- # The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
2144
+ # 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).
2183
2145
  # @param zone [::String]
2184
2146
  # The name of the zone for this request.
2185
2147
  # @yield [result, response] Access the result along with the Faraday response object
@@ -2249,11 +2211,7 @@ module Google
2249
2211
  # @param project [::String]
2250
2212
  # Project ID for this request.
2251
2213
  # @param request_id [::String]
2252
- # 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.
2253
- #
2254
- # 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.
2255
- #
2256
- # The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
2214
+ # 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).
2257
2215
  # @param zone [::String]
2258
2216
  # The name of the zone for this request.
2259
2217
  # @yield [result, response] Access the result along with the Faraday response object
@@ -2321,11 +2279,7 @@ module Google
2321
2279
  # @param project [::String]
2322
2280
  # Project ID for this request.
2323
2281
  # @param request_id [::String]
2324
- # 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.
2325
- #
2326
- # 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.
2327
- #
2328
- # The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
2282
+ # 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).
2329
2283
  # @param scheduling_resource [::Google::Cloud::Compute::V1::Scheduling, ::Hash]
2330
2284
  # The body resource for this request
2331
2285
  # @param zone [::String]
@@ -2397,11 +2351,7 @@ module Google
2397
2351
  # @param project [::String]
2398
2352
  # Project ID for this request.
2399
2353
  # @param request_id [::String]
2400
- # 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.
2401
- #
2402
- # 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.
2403
- #
2404
- # The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
2354
+ # 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).
2405
2355
  # @param zone [::String]
2406
2356
  # The name of the zone for this request.
2407
2357
  # @yield [result, response] Access the result along with the Faraday response object
@@ -2469,11 +2419,7 @@ module Google
2469
2419
  # @param project [::String]
2470
2420
  # Project ID for this request.
2471
2421
  # @param request_id [::String]
2472
- # 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.
2473
- #
2474
- # 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.
2475
- #
2476
- # The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
2422
+ # 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).
2477
2423
  # @param shielded_instance_integrity_policy_resource [::Google::Cloud::Compute::V1::ShieldedInstanceIntegrityPolicy, ::Hash]
2478
2424
  # The body resource for this request
2479
2425
  # @param zone [::String]
@@ -2543,11 +2489,7 @@ module Google
2543
2489
  # @param project [::String]
2544
2490
  # Project ID for this request.
2545
2491
  # @param request_id [::String]
2546
- # 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.
2547
- #
2548
- # 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.
2549
- #
2550
- # The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
2492
+ # 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).
2551
2493
  # @param tags_resource [::Google::Cloud::Compute::V1::Tags, ::Hash]
2552
2494
  # The body resource for this request
2553
2495
  # @param zone [::String]
@@ -2683,11 +2625,7 @@ module Google
2683
2625
  # @param project [::String]
2684
2626
  # Project ID for this request.
2685
2627
  # @param request_id [::String]
2686
- # 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.
2687
- #
2688
- # 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.
2689
- #
2690
- # The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
2628
+ # 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).
2691
2629
  # @param zone [::String]
2692
2630
  # The name of the zone for this request.
2693
2631
  # @yield [result, response] Access the result along with the Faraday response object
@@ -2757,11 +2695,7 @@ module Google
2757
2695
  # @param project [::String]
2758
2696
  # Project ID for this request.
2759
2697
  # @param request_id [::String]
2760
- # 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.
2761
- #
2762
- # 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.
2763
- #
2764
- # The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
2698
+ # 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).
2765
2699
  # @param zone [::String]
2766
2700
  # The name of the zone for this request.
2767
2701
  # @yield [result, response] Access the result along with the Faraday response object
@@ -2829,11 +2763,7 @@ module Google
2829
2763
  # @param project [::String]
2830
2764
  # Project ID for this request.
2831
2765
  # @param request_id [::String]
2832
- # 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.
2833
- #
2834
- # 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.
2835
- #
2836
- # The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
2766
+ # 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).
2837
2767
  # @param zone [::String]
2838
2768
  # The name of the zone for this request.
2839
2769
  # @yield [result, response] Access the result along with the Faraday response object
@@ -2944,7 +2874,7 @@ module Google
2944
2874
  end
2945
2875
 
2946
2876
  ##
2947
- # Updates an instance only if the necessary resources are available. This method can update only a specific set of instance properties. See Updating a running instance for a list of updatable instance properties.
2877
+ # Updates an instance only if the necessary resources are available. This method can update only a specific set of instance properties. See Updating a running instance for a list of updatable instance properties.
2948
2878
  #
2949
2879
  # @overload update(request, options = nil)
2950
2880
  # Pass arguments to `update` via a request object, either of type
@@ -2974,11 +2904,7 @@ module Google
2974
2904
  # @param project [::String]
2975
2905
  # Project ID for this request.
2976
2906
  # @param request_id [::String]
2977
- # 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.
2978
- #
2979
- # 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.
2980
- #
2981
- # The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
2907
+ # 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).
2982
2908
  # @param zone [::String]
2983
2909
  # The name of the zone for this request.
2984
2910
  # @yield [result, response] Access the result along with the Faraday response object
@@ -3050,11 +2976,7 @@ module Google
3050
2976
  # @param project [::String]
3051
2977
  # Project ID for this request.
3052
2978
  # @param request_id [::String]
3053
- # 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.
3054
- #
3055
- # 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.
3056
- #
3057
- # The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
2979
+ # 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).
3058
2980
  # @param zone [::String]
3059
2981
  # The name of the zone for this request.
3060
2982
  # @yield [result, response] Access the result along with the Faraday response object
@@ -3124,11 +3046,7 @@ module Google
3124
3046
  # @param project [::String]
3125
3047
  # Project ID for this request.
3126
3048
  # @param request_id [::String]
3127
- # 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.
3128
- #
3129
- # 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.
3130
- #
3131
- # The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
3049
+ # 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).
3132
3050
  # @param zone [::String]
3133
3051
  # The name of the zone for this request.
3134
3052
  # @yield [result, response] Access the result along with the Faraday response object
@@ -3200,11 +3118,7 @@ module Google
3200
3118
  # @param project [::String]
3201
3119
  # Project ID for this request.
3202
3120
  # @param request_id [::String]
3203
- # 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.
3204
- #
3205
- # 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.
3206
- #
3207
- # The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
3121
+ # 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).
3208
3122
  # @param zone [::String]
3209
3123
  # The name of the zone for this request.
3210
3124
  # @yield [result, response] Access the result along with the Faraday response object
@@ -3272,11 +3186,7 @@ module Google
3272
3186
  # @param project [::String]
3273
3187
  # Project ID for this request.
3274
3188
  # @param request_id [::String]
3275
- # 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.
3276
- #
3277
- # 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.
3278
- #
3279
- # The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
3189
+ # 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).
3280
3190
  # @param shielded_instance_config_resource [::Google::Cloud::Compute::V1::ShieldedInstanceConfig, ::Hash]
3281
3191
  # The body resource for this request
3282
3192
  # @param zone [::String]
@@ -3521,6 +3431,11 @@ module Google
3521
3431
  #
3522
3432
  attr_reader :reset
3523
3433
  ##
3434
+ # RPC-specific configuration for `send_diagnostic_interrupt`
3435
+ # @return [::Gapic::Config::Method]
3436
+ #
3437
+ attr_reader :send_diagnostic_interrupt
3438
+ ##
3524
3439
  # RPC-specific configuration for `set_deletion_protection`
3525
3440
  # @return [::Gapic::Config::Method]
3526
3441
  #
@@ -3673,6 +3588,8 @@ module Google
3673
3588
  @remove_resource_policies = ::Gapic::Config::Method.new remove_resource_policies_config
3674
3589
  reset_config = parent_rpcs.reset if parent_rpcs.respond_to? :reset
3675
3590
  @reset = ::Gapic::Config::Method.new reset_config
3591
+ send_diagnostic_interrupt_config = parent_rpcs.send_diagnostic_interrupt if parent_rpcs.respond_to? :send_diagnostic_interrupt
3592
+ @send_diagnostic_interrupt = ::Gapic::Config::Method.new send_diagnostic_interrupt_config
3676
3593
  set_deletion_protection_config = parent_rpcs.set_deletion_protection if parent_rpcs.respond_to? :set_deletion_protection
3677
3594
  @set_deletion_protection = ::Gapic::Config::Method.new set_deletion_protection_config
3678
3595
  set_disk_auto_delete_config = parent_rpcs.set_disk_auto_delete if parent_rpcs.respond_to? :set_disk_auto_delete