google-cloud-compute-v1 3.4.0 → 3.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (175) hide show
  1. checksums.yaml +4 -4
  2. data/lib/google/cloud/compute/v1/accelerator_types/rest/client.rb +181 -14
  3. data/lib/google/cloud/compute/v1/addresses/rest/client.rb +237 -20
  4. data/lib/google/cloud/compute/v1/advice/credentials.rb +52 -0
  5. data/lib/google/cloud/compute/v1/advice/rest/client.rb +431 -0
  6. data/lib/google/cloud/compute/v1/advice/rest/service_stub.rb +144 -0
  7. data/lib/google/cloud/compute/v1/advice/rest.rb +51 -0
  8. data/lib/google/cloud/compute/v1/advice.rb +47 -0
  9. data/lib/google/cloud/compute/v1/autoscalers/rest/client.rb +334 -21
  10. data/lib/google/cloud/compute/v1/autoscalers/rest/service_stub.rb +64 -0
  11. data/lib/google/cloud/compute/v1/backend_buckets/rest/client.rb +198 -23
  12. data/lib/google/cloud/compute/v1/backend_services/rest/client.rb +499 -40
  13. data/lib/google/cloud/compute/v1/backend_services/rest/service_stub.rb +62 -0
  14. data/lib/google/cloud/compute/v1/compute_pb.rb +264 -25
  15. data/lib/google/cloud/compute/v1/cross_site_networks/credentials.rb +52 -0
  16. data/lib/google/cloud/compute/v1/cross_site_networks/rest/client.rb +975 -0
  17. data/lib/google/cloud/compute/v1/cross_site_networks/rest/service_stub.rb +391 -0
  18. data/lib/google/cloud/compute/v1/cross_site_networks/rest.rb +51 -0
  19. data/lib/google/cloud/compute/v1/cross_site_networks.rb +47 -0
  20. data/lib/google/cloud/compute/v1/disk_types/rest/client.rb +181 -14
  21. data/lib/google/cloud/compute/v1/disks/rest/client.rb +390 -42
  22. data/lib/google/cloud/compute/v1/external_vpn_gateways/rest/client.rb +118 -11
  23. data/lib/google/cloud/compute/v1/firewall_policies/rest/client.rb +240 -25
  24. data/lib/google/cloud/compute/v1/firewalls/rest/client.rb +238 -13
  25. data/lib/google/cloud/compute/v1/firewalls/rest/service_stub.rb +63 -0
  26. data/lib/google/cloud/compute/v1/forwarding_rules/rest/client.rb +258 -23
  27. data/lib/google/cloud/compute/v1/future_reservations/credentials.rb +52 -0
  28. data/lib/google/cloud/compute/v1/future_reservations/rest/client.rb +1287 -0
  29. data/lib/google/cloud/compute/v1/future_reservations/rest/service_stub.rb +520 -0
  30. data/lib/google/cloud/compute/v1/future_reservations/rest.rb +51 -0
  31. data/lib/google/cloud/compute/v1/future_reservations.rb +47 -0
  32. data/lib/google/cloud/compute/v1/global_addresses/rest/client.rb +126 -10
  33. data/lib/google/cloud/compute/v1/global_forwarding_rules/rest/client.rb +151 -15
  34. data/lib/google/cloud/compute/v1/global_network_endpoint_groups/rest/client.rb +246 -21
  35. data/lib/google/cloud/compute/v1/global_operations/rest/client.rb +203 -18
  36. data/lib/google/cloud/compute/v1/global_organization_operations/rest/client.rb +91 -9
  37. data/lib/google/cloud/compute/v1/global_public_delegated_prefixes/rest/client.rb +128 -10
  38. data/lib/google/cloud/compute/v1/health_checks/rest/client.rb +333 -21
  39. data/lib/google/cloud/compute/v1/health_checks/rest/service_stub.rb +63 -0
  40. data/lib/google/cloud/compute/v1/image_family_views/rest/client.rb +2 -1
  41. data/lib/google/cloud/compute/v1/images/rest/client.rb +161 -18
  42. data/lib/google/cloud/compute/v1/instance_group_manager_resize_requests/rest/client.rb +159 -24
  43. data/lib/google/cloud/compute/v1/instance_group_managers/rest/client.rb +920 -95
  44. data/lib/google/cloud/compute/v1/instance_groups/rest/client.rb +380 -40
  45. data/lib/google/cloud/compute/v1/instance_settings_service/rest/client.rb +13 -1
  46. data/lib/google/cloud/compute/v1/instance_templates/rest/client.rb +220 -20
  47. data/lib/google/cloud/compute/v1/instances/rest/client.rb +939 -104
  48. data/lib/google/cloud/compute/v1/instant_snapshots/rest/client.rb +235 -21
  49. data/lib/google/cloud/compute/v1/interconnect_attachment_groups/rest/client.rb +139 -14
  50. data/lib/google/cloud/compute/v1/interconnect_attachments/rest/client.rb +242 -21
  51. data/lib/google/cloud/compute/v1/interconnect_groups/rest/client.rb +139 -14
  52. data/lib/google/cloud/compute/v1/interconnect_locations/rest/client.rb +87 -7
  53. data/lib/google/cloud/compute/v1/interconnect_remote_locations/rest/client.rb +87 -7
  54. data/lib/google/cloud/compute/v1/interconnects/rest/client.rb +145 -14
  55. data/lib/google/cloud/compute/v1/license_codes/rest/client.rb +9 -2
  56. data/lib/google/cloud/compute/v1/licenses/rest/client.rb +161 -16
  57. data/lib/google/cloud/compute/v1/machine_images/rest/client.rb +124 -13
  58. data/lib/google/cloud/compute/v1/machine_types/rest/client.rb +181 -14
  59. data/lib/google/cloud/compute/v1/network_attachments/rest/client.rb +232 -20
  60. data/lib/google/cloud/compute/v1/network_edge_security_services/rest/client.rb +138 -12
  61. data/lib/google/cloud/compute/v1/network_endpoint_groups/rest/client.rb +361 -37
  62. data/lib/google/cloud/compute/v1/network_firewall_policies/rest/client.rb +354 -33
  63. data/lib/google/cloud/compute/v1/network_profiles/rest/client.rb +85 -6
  64. data/lib/google/cloud/compute/v1/networks/rest/client.rb +281 -23
  65. data/lib/google/cloud/compute/v1/node_groups/rest/client.rb +381 -32
  66. data/lib/google/cloud/compute/v1/node_templates/rest/client.rb +213 -19
  67. data/lib/google/cloud/compute/v1/node_types/rest/client.rb +181 -14
  68. data/lib/google/cloud/compute/v1/organization_security_policies/credentials.rb +52 -0
  69. data/lib/google/cloud/compute/v1/organization_security_policies/rest/client.rb +2259 -0
  70. data/lib/google/cloud/compute/v1/organization_security_policies/rest/service_stub.rb +1054 -0
  71. data/lib/google/cloud/compute/v1/organization_security_policies/rest.rb +51 -0
  72. data/lib/google/cloud/compute/v1/organization_security_policies.rb +47 -0
  73. data/lib/google/cloud/compute/v1/packet_mirrorings/rest/client.rb +226 -19
  74. data/lib/google/cloud/compute/v1/preview_features/credentials.rb +52 -0
  75. data/lib/google/cloud/compute/v1/preview_features/rest/client.rb +739 -0
  76. data/lib/google/cloud/compute/v1/preview_features/rest/service_stub.rb +267 -0
  77. data/lib/google/cloud/compute/v1/preview_features/rest.rb +51 -0
  78. data/lib/google/cloud/compute/v1/preview_features.rb +47 -0
  79. data/lib/google/cloud/compute/v1/projects/rest/client.rb +346 -30
  80. data/lib/google/cloud/compute/v1/public_advertised_prefixes/rest/client.rb +154 -12
  81. data/lib/google/cloud/compute/v1/public_delegated_prefixes/rest/client.rb +255 -22
  82. data/lib/google/cloud/compute/v1/region_autoscalers/rest/client.rb +238 -13
  83. data/lib/google/cloud/compute/v1/region_autoscalers/rest/service_stub.rb +64 -0
  84. data/lib/google/cloud/compute/v1/region_backend_services/rest/client.rb +260 -26
  85. data/lib/google/cloud/compute/v1/region_commitments/rest/client.rb +212 -18
  86. data/lib/google/cloud/compute/v1/region_composite_health_checks/credentials.rb +52 -0
  87. data/lib/google/cloud/compute/v1/region_composite_health_checks/rest/client.rb +1268 -0
  88. data/lib/google/cloud/compute/v1/region_composite_health_checks/rest/service_stub.rb +521 -0
  89. data/lib/google/cloud/compute/v1/region_composite_health_checks/rest.rb +51 -0
  90. data/lib/google/cloud/compute/v1/region_composite_health_checks.rb +47 -0
  91. data/lib/google/cloud/compute/v1/region_disk_types/rest/client.rb +83 -5
  92. data/lib/google/cloud/compute/v1/region_disks/rest/client.rb +269 -29
  93. data/lib/google/cloud/compute/v1/region_health_aggregation_policies/credentials.rb +52 -0
  94. data/lib/google/cloud/compute/v1/region_health_aggregation_policies/rest/client.rb +1268 -0
  95. data/lib/google/cloud/compute/v1/region_health_aggregation_policies/rest/service_stub.rb +521 -0
  96. data/lib/google/cloud/compute/v1/region_health_aggregation_policies/rest.rb +51 -0
  97. data/lib/google/cloud/compute/v1/region_health_aggregation_policies.rb +47 -0
  98. data/lib/google/cloud/compute/v1/region_health_check_services/rest/client.rb +427 -17
  99. data/lib/google/cloud/compute/v1/region_health_check_services/rest/service_stub.rb +125 -0
  100. data/lib/google/cloud/compute/v1/region_health_checks/rest/client.rb +238 -13
  101. data/lib/google/cloud/compute/v1/region_health_checks/rest/service_stub.rb +64 -0
  102. data/lib/google/cloud/compute/v1/region_health_sources/credentials.rb +52 -0
  103. data/lib/google/cloud/compute/v1/region_health_sources/rest/client.rb +1268 -0
  104. data/lib/google/cloud/compute/v1/region_health_sources/rest/service_stub.rb +521 -0
  105. data/lib/google/cloud/compute/v1/region_health_sources/rest.rb +51 -0
  106. data/lib/google/cloud/compute/v1/region_health_sources.rb +47 -0
  107. data/lib/google/cloud/compute/v1/region_instance_group_managers/rest/client.rb +750 -64
  108. data/lib/google/cloud/compute/v1/region_instance_groups/rest/client.rb +187 -14
  109. data/lib/google/cloud/compute/v1/region_instance_templates/rest/client.rb +115 -10
  110. data/lib/google/cloud/compute/v1/region_instances/rest/client.rb +15 -2
  111. data/lib/google/cloud/compute/v1/region_instant_snapshots/rest/client.rb +139 -13
  112. data/lib/google/cloud/compute/v1/region_network_endpoint_groups/rest/client.rb +264 -28
  113. data/lib/google/cloud/compute/v1/region_network_firewall_policies/rest/client.rb +213 -20
  114. data/lib/google/cloud/compute/v1/region_notification_endpoints/rest/client.rb +399 -11
  115. data/lib/google/cloud/compute/v1/region_notification_endpoints/rest/service_stub.rb +125 -0
  116. data/lib/google/cloud/compute/v1/region_operations/rest/client.rb +107 -10
  117. data/lib/google/cloud/compute/v1/region_security_policies/rest/client.rb +149 -14
  118. data/lib/google/cloud/compute/v1/region_ssl_certificates/rest/client.rb +116 -10
  119. data/lib/google/cloud/compute/v1/region_ssl_policies/rest/client.rb +220 -20
  120. data/lib/google/cloud/compute/v1/region_target_http_proxies/rest/client.rb +126 -10
  121. data/lib/google/cloud/compute/v1/region_target_https_proxies/rest/client.rb +158 -14
  122. data/lib/google/cloud/compute/v1/region_target_tcp_proxies/rest/client.rb +113 -9
  123. data/lib/google/cloud/compute/v1/region_url_maps/rest/client.rb +104 -14
  124. data/lib/google/cloud/compute/v1/region_zones/rest/client.rb +85 -6
  125. data/lib/google/cloud/compute/v1/regions/rest/client.rb +120 -7
  126. data/lib/google/cloud/compute/v1/reservation_blocks/rest/client.rb +396 -11
  127. data/lib/google/cloud/compute/v1/reservation_blocks/rest/service_stub.rb +194 -0
  128. data/lib/google/cloud/compute/v1/reservation_slots/credentials.rb +52 -0
  129. data/lib/google/cloud/compute/v1/reservation_slots/rest/client.rb +863 -0
  130. data/lib/google/cloud/compute/v1/reservation_slots/rest/service_stub.rb +338 -0
  131. data/lib/google/cloud/compute/v1/reservation_slots/rest.rb +51 -0
  132. data/lib/google/cloud/compute/v1/reservation_slots.rb +47 -0
  133. data/lib/google/cloud/compute/v1/reservation_sub_blocks/rest/client.rb +642 -12
  134. data/lib/google/cloud/compute/v1/reservation_sub_blocks/rest/service_stub.rb +327 -3
  135. data/lib/google/cloud/compute/v1/reservations/rest/client.rb +257 -24
  136. data/lib/google/cloud/compute/v1/resource_policies/rest/client.rb +224 -19
  137. data/lib/google/cloud/compute/v1/rest.rb +10 -0
  138. data/lib/google/cloud/compute/v1/routers/rest/client.rb +555 -50
  139. data/lib/google/cloud/compute/v1/routes/rest/client.rb +202 -8
  140. data/lib/google/cloud/compute/v1/routes/rest/service_stub.rb +63 -0
  141. data/lib/google/cloud/compute/v1/security_policies/rest/client.rb +316 -26
  142. data/lib/google/cloud/compute/v1/service_attachments/rest/client.rb +231 -21
  143. data/lib/google/cloud/compute/v1/snapshot_settings_service/rest/client.rb +13 -1
  144. data/lib/google/cloud/compute/v1/snapshots/rest/client.rb +130 -13
  145. data/lib/google/cloud/compute/v1/ssl_certificates/rest/client.rb +210 -17
  146. data/lib/google/cloud/compute/v1/ssl_policies/rest/client.rb +315 -27
  147. data/lib/google/cloud/compute/v1/storage_pool_types/rest/client.rb +181 -14
  148. data/lib/google/cloud/compute/v1/storage_pools/rest/client.rb +321 -28
  149. data/lib/google/cloud/compute/v1/subnetworks/rest/client.rb +378 -34
  150. data/lib/google/cloud/compute/v1/target_grpc_proxies/rest/client.rb +128 -10
  151. data/lib/google/cloud/compute/v1/target_http_proxies/rest/client.rb +240 -20
  152. data/lib/google/cloud/compute/v1/target_https_proxies/rest/client.rb +306 -30
  153. data/lib/google/cloud/compute/v1/target_instances/rest/client.rb +227 -20
  154. data/lib/google/cloud/compute/v1/target_pools/rest/client.rb +294 -26
  155. data/lib/google/cloud/compute/v1/target_ssl_proxies/rest/client.rb +281 -19
  156. data/lib/google/cloud/compute/v1/target_ssl_proxies/rest/service_stub.rb +63 -0
  157. data/lib/google/cloud/compute/v1/target_tcp_proxies/rest/client.rb +329 -20
  158. data/lib/google/cloud/compute/v1/target_tcp_proxies/rest/service_stub.rb +63 -0
  159. data/lib/google/cloud/compute/v1/target_vpn_gateways/rest/client.rb +224 -19
  160. data/lib/google/cloud/compute/v1/url_maps/rest/client.rb +354 -24
  161. data/lib/google/cloud/compute/v1/url_maps/rest/service_stub.rb +63 -0
  162. data/lib/google/cloud/compute/v1/version.rb +1 -1
  163. data/lib/google/cloud/compute/v1/vpn_gateways/rest/client.rb +224 -19
  164. data/lib/google/cloud/compute/v1/vpn_tunnels/rest/client.rb +224 -19
  165. data/lib/google/cloud/compute/v1/wire_groups/credentials.rb +52 -0
  166. data/lib/google/cloud/compute/v1/wire_groups/rest/client.rb +980 -0
  167. data/lib/google/cloud/compute/v1/wire_groups/rest/service_stub.rb +396 -0
  168. data/lib/google/cloud/compute/v1/wire_groups/rest.rb +51 -0
  169. data/lib/google/cloud/compute/v1/wire_groups.rb +47 -0
  170. data/lib/google/cloud/compute/v1/zone_operations/rest/client.rb +106 -10
  171. data/lib/google/cloud/compute/v1/zones/rest/client.rb +83 -5
  172. data/lib/google/cloud/compute/v1.rb +10 -0
  173. data/proto_docs/google/api/client.rb +149 -29
  174. data/proto_docs/google/cloud/compute/v1/compute.rb +43929 -5522
  175. metadata +52 -2
@@ -232,7 +232,19 @@ module Google
232
232
  # @param project [::String]
233
233
  # Project ID for this request.
234
234
  # @param request_id [::String]
235
- # 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).
235
+ # An optional request ID to identify requests. Specify a unique request ID so
236
+ # that if you must retry your request, the server will know to ignore the
237
+ # request if it has already been completed.
238
+ #
239
+ # For example, consider a situation where you make an initial request and
240
+ # the request times out. If you make the request again with the same
241
+ # request ID, the server can check if original operation with the same
242
+ # request ID was received, and if so, will ignore the second request. This
243
+ # prevents clients from accidentally creating duplicate commitments.
244
+ #
245
+ # The request ID must be
246
+ # a valid UUID with the exception that zero UUID is not supported
247
+ # (00000000-0000-0000-0000-000000000000).
236
248
  # @yield [result, operation] Access the result along with the TransportOperation object
237
249
  # @yieldparam result [::Gapic::GenericLRO::Operation]
238
250
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
@@ -381,7 +393,8 @@ module Google
381
393
  end
382
394
 
383
395
  ##
384
- # Creates an address resource in the specified project by using the data included in the request.
396
+ # Creates an address resource in the specified project by using the data
397
+ # included in the request.
385
398
  #
386
399
  # @overload insert(request, options = nil)
387
400
  # Pass arguments to `insert` via a request object, either of type
@@ -403,7 +416,19 @@ module Google
403
416
  # @param project [::String]
404
417
  # Project ID for this request.
405
418
  # @param request_id [::String]
406
- # 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).
419
+ # An optional request ID to identify requests. Specify a unique request ID so
420
+ # that if you must retry your request, the server will know to ignore the
421
+ # request if it has already been completed.
422
+ #
423
+ # For example, consider a situation where you make an initial request and
424
+ # the request times out. If you make the request again with the same
425
+ # request ID, the server can check if original operation with the same
426
+ # request ID was received, and if so, will ignore the second request. This
427
+ # prevents clients from accidentally creating duplicate commitments.
428
+ #
429
+ # The request ID must be
430
+ # a valid UUID with the exception that zero UUID is not supported
431
+ # (00000000-0000-0000-0000-000000000000).
407
432
  # @yield [result, operation] Access the result along with the TransportOperation object
408
433
  # @yieldparam result [::Gapic::GenericLRO::Operation]
409
434
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
@@ -490,17 +515,95 @@ module Google
490
515
  # the default parameter values, pass an empty Hash as a request object (see above).
491
516
  #
492
517
  # @param filter [::String]
493
- # A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions.
518
+ # A filter expression that filters resources listed in the response. Most
519
+ # Compute resources support two types of filter expressions:
520
+ # expressions that support regular expressions and expressions that follow
521
+ # API improvement proposal AIP-160.
522
+ # These two types of filter expressions cannot be mixed in one request.
523
+ #
524
+ # If you want to use AIP-160, your expression must specify the field name, an
525
+ # operator, and the value that you want to use for filtering. The value
526
+ # must be a string, a number, or a boolean. The operator
527
+ # must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.
528
+ #
529
+ # For example, if you are filtering Compute Engine instances, you can
530
+ # exclude instances named `example-instance` by specifying
531
+ # `name != example-instance`.
532
+ #
533
+ # The `:*` comparison can be used to test whether a key has been defined.
534
+ # For example, to find all objects with `owner` label use:
535
+ # ```
536
+ # labels.owner:*
537
+ # ```
538
+ #
539
+ # You can also filter nested fields. For example, you could specify
540
+ # `scheduling.automaticRestart = false` to include instances only
541
+ # if they are not scheduled for automatic restarts. You can use filtering
542
+ # on nested fields to filter based onresource labels.
543
+ #
544
+ # To filter on multiple expressions, provide each separate expression within
545
+ # parentheses. For example:
546
+ # ```
547
+ # (scheduling.automaticRestart = true)
548
+ # (cpuPlatform = "Intel Skylake")
549
+ # ```
550
+ # By default, each expression is an `AND` expression. However, you
551
+ # can include `AND` and `OR` expressions explicitly.
552
+ # For example:
553
+ # ```
554
+ # (cpuPlatform = "Intel Skylake") OR
555
+ # (cpuPlatform = "Intel Broadwell") AND
556
+ # (scheduling.automaticRestart = true)
557
+ # ```
558
+ #
559
+ # If you want to use a regular expression, use the `eq` (equal) or `ne`
560
+ # (not equal) operator against a single un-parenthesized expression with or
561
+ # without quotes or against multiple parenthesized expressions. Examples:
562
+ #
563
+ # `fieldname eq unquoted literal`
564
+ # `fieldname eq 'single quoted literal'`
565
+ # `fieldname eq "double quoted literal"`
566
+ # `(fieldname1 eq literal) (fieldname2 ne "literal")`
567
+ #
568
+ # The literal value is interpreted as a regular expression using GoogleRE2 library syntax.
569
+ # The literal value must match the entire field.
570
+ #
571
+ # For example, to filter for instances that do not end with name "instance",
572
+ # you would use `name ne .*instance`.
573
+ #
574
+ # You cannot combine constraints on multiple fields using regular
575
+ # expressions.
494
576
  # @param max_results [::Integer]
495
- # 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`)
577
+ # The maximum number of results per page that should be returned.
578
+ # If the number of available results is larger than `maxResults`,
579
+ # Compute Engine returns a `nextPageToken` that can be used to get
580
+ # the next page of results in subsequent list requests. Acceptable values are
581
+ # `0` to `500`, inclusive. (Default: `500`)
496
582
  # @param order_by [::String]
497
- # 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.
583
+ # Sorts list results by a certain order. By default, results
584
+ # are returned in alphanumerical order based on the resource name.
585
+ #
586
+ # You can also sort results in descending order based on the creation
587
+ # timestamp using `orderBy="creationTimestamp desc"`. This sorts
588
+ # results based on the `creationTimestamp` field in
589
+ # reverse chronological order (newest result first). Use this to sort
590
+ # resources like operations so that the newest operation is returned first.
591
+ #
592
+ # Currently, only sorting by `name` or
593
+ # `creationTimestamp desc` is supported.
498
594
  # @param page_token [::String]
499
- # Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.
595
+ # Specifies a page token to use. Set `pageToken` to the
596
+ # `nextPageToken` returned by a previous list request to get
597
+ # the next page of results.
500
598
  # @param project [::String]
501
599
  # Project ID for this request.
502
600
  # @param return_partial_success [::Boolean]
503
- # Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope either returns all resources in the zone or no resources, with an error code.
601
+ # Opt-in for partial success behavior which provides partial results in case
602
+ # of failure. The default value is false.
603
+ #
604
+ # For example, when partial success behavior is enabled, aggregatedList for a
605
+ # single zone scope either returns all resources in the zone or no resources,
606
+ # with an error code.
504
607
  # @yield [result, operation] Access the result along with the TransportOperation object
505
608
  # @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Compute::V1::Address>]
506
609
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
@@ -586,7 +689,19 @@ module Google
586
689
  # @param project [::String]
587
690
  # Source project ID which the Address is moved from.
588
691
  # @param request_id [::String]
589
- # 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).
692
+ # An optional request ID to identify requests. Specify a unique request ID so
693
+ # that if you must retry your request, the server will know to ignore the
694
+ # request if it has already been completed.
695
+ #
696
+ # For example, consider a situation where you make an initial request and
697
+ # the request times out. If you make the request again with the same
698
+ # request ID, the server can check if original operation with the same
699
+ # request ID was received, and if so, will ignore the second request. This
700
+ # prevents clients from accidentally creating duplicate commitments.
701
+ #
702
+ # The request ID must be
703
+ # a valid UUID with the exception that zero UUID is not supported
704
+ # (00000000-0000-0000-0000-000000000000).
590
705
  # @yield [result, operation] Access the result along with the TransportOperation object
591
706
  # @yieldparam result [::Gapic::GenericLRO::Operation]
592
707
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
@@ -655,7 +770,8 @@ module Google
655
770
  end
656
771
 
657
772
  ##
658
- # Sets the labels on a GlobalAddress. To learn more about labels, read the Labeling Resources documentation.
773
+ # Sets the labels on a GlobalAddress. To learn more about labels, read theLabeling
774
+ # Resources documentation.
659
775
  #
660
776
  # @overload set_labels(request, options = nil)
661
777
  # Pass arguments to `set_labels` via a request object, either of type
@@ -232,7 +232,19 @@ module Google
232
232
  # @param project [::String]
233
233
  # Project ID for this request.
234
234
  # @param request_id [::String]
235
- # 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).
235
+ # An optional request ID to identify requests. Specify a unique request ID so
236
+ # that if you must retry your request, the server will know to ignore the
237
+ # request if it has already been completed.
238
+ #
239
+ # For example, consider a situation where you make an initial request and
240
+ # the request times out. If you make the request again with the same
241
+ # request ID, the server can check if original operation with the same
242
+ # request ID was received, and if so, will ignore the second request. This
243
+ # prevents clients from accidentally creating duplicate commitments.
244
+ #
245
+ # The request ID must be
246
+ # a valid UUID with the exception that zero UUID is not supported
247
+ # (00000000-0000-0000-0000-000000000000).
236
248
  # @yield [result, operation] Access the result along with the TransportOperation object
237
249
  # @yieldparam result [::Gapic::GenericLRO::Operation]
238
250
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
@@ -301,7 +313,8 @@ module Google
301
313
  end
302
314
 
303
315
  ##
304
- # Returns the specified GlobalForwardingRule resource. Gets a list of available forwarding rules by making a list() request.
316
+ # Returns the specified GlobalForwardingRule resource. Gets a list of
317
+ # available forwarding rules by making a list() request.
305
318
  #
306
319
  # @overload get(request, options = nil)
307
320
  # Pass arguments to `get` via a request object, either of type
@@ -381,7 +394,8 @@ module Google
381
394
  end
382
395
 
383
396
  ##
384
- # Creates a GlobalForwardingRule resource in the specified project using the data included in the request.
397
+ # Creates a GlobalForwardingRule resource in the specified project using
398
+ # the data included in the request.
385
399
  #
386
400
  # @overload insert(request, options = nil)
387
401
  # Pass arguments to `insert` via a request object, either of type
@@ -403,7 +417,19 @@ module Google
403
417
  # @param project [::String]
404
418
  # Project ID for this request.
405
419
  # @param request_id [::String]
406
- # 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).
420
+ # An optional request ID to identify requests. Specify a unique request ID so
421
+ # that if you must retry your request, the server will know to ignore the
422
+ # request if it has already been completed.
423
+ #
424
+ # For example, consider a situation where you make an initial request and
425
+ # the request times out. If you make the request again with the same
426
+ # request ID, the server can check if original operation with the same
427
+ # request ID was received, and if so, will ignore the second request. This
428
+ # prevents clients from accidentally creating duplicate commitments.
429
+ #
430
+ # The request ID must be
431
+ # a valid UUID with the exception that zero UUID is not supported
432
+ # (00000000-0000-0000-0000-000000000000).
407
433
  # @yield [result, operation] Access the result along with the TransportOperation object
408
434
  # @yieldparam result [::Gapic::GenericLRO::Operation]
409
435
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
@@ -472,7 +498,8 @@ module Google
472
498
  end
473
499
 
474
500
  ##
475
- # Retrieves a list of GlobalForwardingRule resources available to the specified project.
501
+ # Retrieves a list of GlobalForwardingRule resources available to the
502
+ # specified project.
476
503
  #
477
504
  # @overload list(request, options = nil)
478
505
  # Pass arguments to `list` via a request object, either of type
@@ -490,17 +517,95 @@ module Google
490
517
  # the default parameter values, pass an empty Hash as a request object (see above).
491
518
  #
492
519
  # @param filter [::String]
493
- # A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions.
520
+ # A filter expression that filters resources listed in the response. Most
521
+ # Compute resources support two types of filter expressions:
522
+ # expressions that support regular expressions and expressions that follow
523
+ # API improvement proposal AIP-160.
524
+ # These two types of filter expressions cannot be mixed in one request.
525
+ #
526
+ # If you want to use AIP-160, your expression must specify the field name, an
527
+ # operator, and the value that you want to use for filtering. The value
528
+ # must be a string, a number, or a boolean. The operator
529
+ # must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.
530
+ #
531
+ # For example, if you are filtering Compute Engine instances, you can
532
+ # exclude instances named `example-instance` by specifying
533
+ # `name != example-instance`.
534
+ #
535
+ # The `:*` comparison can be used to test whether a key has been defined.
536
+ # For example, to find all objects with `owner` label use:
537
+ # ```
538
+ # labels.owner:*
539
+ # ```
540
+ #
541
+ # You can also filter nested fields. For example, you could specify
542
+ # `scheduling.automaticRestart = false` to include instances only
543
+ # if they are not scheduled for automatic restarts. You can use filtering
544
+ # on nested fields to filter based onresource labels.
545
+ #
546
+ # To filter on multiple expressions, provide each separate expression within
547
+ # parentheses. For example:
548
+ # ```
549
+ # (scheduling.automaticRestart = true)
550
+ # (cpuPlatform = "Intel Skylake")
551
+ # ```
552
+ # By default, each expression is an `AND` expression. However, you
553
+ # can include `AND` and `OR` expressions explicitly.
554
+ # For example:
555
+ # ```
556
+ # (cpuPlatform = "Intel Skylake") OR
557
+ # (cpuPlatform = "Intel Broadwell") AND
558
+ # (scheduling.automaticRestart = true)
559
+ # ```
560
+ #
561
+ # If you want to use a regular expression, use the `eq` (equal) or `ne`
562
+ # (not equal) operator against a single un-parenthesized expression with or
563
+ # without quotes or against multiple parenthesized expressions. Examples:
564
+ #
565
+ # `fieldname eq unquoted literal`
566
+ # `fieldname eq 'single quoted literal'`
567
+ # `fieldname eq "double quoted literal"`
568
+ # `(fieldname1 eq literal) (fieldname2 ne "literal")`
569
+ #
570
+ # The literal value is interpreted as a regular expression using GoogleRE2 library syntax.
571
+ # The literal value must match the entire field.
572
+ #
573
+ # For example, to filter for instances that do not end with name "instance",
574
+ # you would use `name ne .*instance`.
575
+ #
576
+ # You cannot combine constraints on multiple fields using regular
577
+ # expressions.
494
578
  # @param max_results [::Integer]
495
- # 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`)
579
+ # The maximum number of results per page that should be returned.
580
+ # If the number of available results is larger than `maxResults`,
581
+ # Compute Engine returns a `nextPageToken` that can be used to get
582
+ # the next page of results in subsequent list requests. Acceptable values are
583
+ # `0` to `500`, inclusive. (Default: `500`)
496
584
  # @param order_by [::String]
497
- # 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.
585
+ # Sorts list results by a certain order. By default, results
586
+ # are returned in alphanumerical order based on the resource name.
587
+ #
588
+ # You can also sort results in descending order based on the creation
589
+ # timestamp using `orderBy="creationTimestamp desc"`. This sorts
590
+ # results based on the `creationTimestamp` field in
591
+ # reverse chronological order (newest result first). Use this to sort
592
+ # resources like operations so that the newest operation is returned first.
593
+ #
594
+ # Currently, only sorting by `name` or
595
+ # `creationTimestamp desc` is supported.
498
596
  # @param page_token [::String]
499
- # Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.
597
+ # Specifies a page token to use. Set `pageToken` to the
598
+ # `nextPageToken` returned by a previous list request to get
599
+ # the next page of results.
500
600
  # @param project [::String]
501
601
  # Project ID for this request.
502
602
  # @param return_partial_success [::Boolean]
503
- # Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope either returns all resources in the zone or no resources, with an error code.
603
+ # Opt-in for partial success behavior which provides partial results in case
604
+ # of failure. The default value is false.
605
+ #
606
+ # For example, when partial success behavior is enabled, aggregatedList for a
607
+ # single zone scope either returns all resources in the zone or no resources,
608
+ # with an error code.
504
609
  # @yield [result, operation] Access the result along with the TransportOperation object
505
610
  # @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Compute::V1::ForwardingRule>]
506
611
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
@@ -562,7 +667,11 @@ module Google
562
667
  end
563
668
 
564
669
  ##
565
- # Updates the specified forwarding rule with the data included in the request. This method supports PATCH semantics and uses the JSON merge patch format and processing rules. Currently, you can only patch the network_tier field.
670
+ # Updates the specified forwarding rule with the data included in the
671
+ # request. This method supportsPATCH
672
+ # semantics and uses theJSON merge
673
+ # patch format and processing rules. Currently, you can only
674
+ # patch the network_tier field.
566
675
  #
567
676
  # @overload patch(request, options = nil)
568
677
  # Pass arguments to `patch` via a request object, either of type
@@ -586,7 +695,19 @@ module Google
586
695
  # @param project [::String]
587
696
  # Project ID for this request.
588
697
  # @param request_id [::String]
589
- # 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).
698
+ # An optional request ID to identify requests. Specify a unique request ID so
699
+ # that if you must retry your request, the server will know to ignore the
700
+ # request if it has already been completed.
701
+ #
702
+ # For example, consider a situation where you make an initial request and
703
+ # the request times out. If you make the request again with the same
704
+ # request ID, the server can check if original operation with the same
705
+ # request ID was received, and if so, will ignore the second request. This
706
+ # prevents clients from accidentally creating duplicate commitments.
707
+ #
708
+ # The request ID must be
709
+ # a valid UUID with the exception that zero UUID is not supported
710
+ # (00000000-0000-0000-0000-000000000000).
590
711
  # @yield [result, operation] Access the result along with the TransportOperation object
591
712
  # @yieldparam result [::Gapic::GenericLRO::Operation]
592
713
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
@@ -655,7 +776,9 @@ module Google
655
776
  end
656
777
 
657
778
  ##
658
- # Sets the labels on the specified resource. To learn more about labels, read the Labeling resources documentation.
779
+ # Sets the labels on the specified resource. To learn more about labels,
780
+ # read the
781
+ # Labeling resources documentation.
659
782
  #
660
783
  # @overload set_labels(request, options = nil)
661
784
  # Pass arguments to `set_labels` via a request object, either of type
@@ -746,7 +869,8 @@ module Google
746
869
  end
747
870
 
748
871
  ##
749
- # Changes target URL for the GlobalForwardingRule resource. The new target should be of the same type as the old target.
872
+ # Changes target URL for the GlobalForwardingRule resource. The new target
873
+ # should be of the same type as the old target.
750
874
  #
751
875
  # @overload set_target(request, options = nil)
752
876
  # Pass arguments to `set_target` via a request object, either of type
@@ -768,7 +892,19 @@ module Google
768
892
  # @param project [::String]
769
893
  # Project ID for this request.
770
894
  # @param request_id [::String]
771
- # 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).
895
+ # An optional request ID to identify requests. Specify a unique request ID so
896
+ # that if you must retry your request, the server will know to ignore the
897
+ # request if it has already been completed.
898
+ #
899
+ # For example, consider a situation where you make an initial request and
900
+ # the request times out. If you make the request again with the same
901
+ # request ID, the server can check if original operation with the same
902
+ # request ID was received, and if so, will ignore the second request. This
903
+ # prevents clients from accidentally creating duplicate commitments.
904
+ #
905
+ # The request ID must be
906
+ # a valid UUID with the exception that zero UUID is not supported
907
+ # (00000000-0000-0000-0000-000000000000).
772
908
  # @param target_reference_resource [::Google::Cloud::Compute::V1::TargetReference, ::Hash]
773
909
  # The body resource for this request
774
910
  # @yield [result, operation] Access the result along with the TransportOperation object