google-cloud-compute-v1 3.4.0 → 3.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (214) hide show
  1. checksums.yaml +4 -4
  2. data/lib/google/cloud/compute/v1/accelerator_types/rest/client.rb +181 -14
  3. data/lib/google/cloud/compute/v1/addresses/rest/client.rb +237 -20
  4. data/lib/google/cloud/compute/v1/advice/credentials.rb +52 -0
  5. data/lib/google/cloud/compute/v1/advice/rest/client.rb +431 -0
  6. data/lib/google/cloud/compute/v1/advice/rest/service_stub.rb +144 -0
  7. data/lib/google/cloud/compute/v1/advice/rest.rb +51 -0
  8. data/lib/google/cloud/compute/v1/advice.rb +47 -0
  9. data/lib/google/cloud/compute/v1/autoscalers/rest/client.rb +334 -21
  10. data/lib/google/cloud/compute/v1/autoscalers/rest/service_stub.rb +64 -0
  11. data/lib/google/cloud/compute/v1/backend_buckets/rest/client.rb +573 -23
  12. data/lib/google/cloud/compute/v1/backend_buckets/rest/service_stub.rb +122 -0
  13. data/lib/google/cloud/compute/v1/backend_services/rest/client.rb +499 -40
  14. data/lib/google/cloud/compute/v1/backend_services/rest/service_stub.rb +62 -0
  15. data/lib/google/cloud/compute/v1/compute_pb.rb +357 -25
  16. data/lib/google/cloud/compute/v1/cross_site_networks/credentials.rb +52 -0
  17. data/lib/google/cloud/compute/v1/cross_site_networks/rest/client.rb +975 -0
  18. data/lib/google/cloud/compute/v1/cross_site_networks/rest/service_stub.rb +391 -0
  19. data/lib/google/cloud/compute/v1/cross_site_networks/rest.rb +51 -0
  20. data/lib/google/cloud/compute/v1/cross_site_networks.rb +47 -0
  21. data/lib/google/cloud/compute/v1/disk_types/rest/client.rb +181 -14
  22. data/lib/google/cloud/compute/v1/disks/rest/client.rb +508 -42
  23. data/lib/google/cloud/compute/v1/disks/rest/service_stub.rb +64 -0
  24. data/lib/google/cloud/compute/v1/external_vpn_gateways/rest/client.rb +118 -11
  25. data/lib/google/cloud/compute/v1/firewall_policies/rest/client.rb +240 -25
  26. data/lib/google/cloud/compute/v1/firewalls/rest/client.rb +238 -13
  27. data/lib/google/cloud/compute/v1/firewalls/rest/service_stub.rb +63 -0
  28. data/lib/google/cloud/compute/v1/forwarding_rules/rest/client.rb +258 -23
  29. data/lib/google/cloud/compute/v1/future_reservations/credentials.rb +52 -0
  30. data/lib/google/cloud/compute/v1/future_reservations/rest/client.rb +1287 -0
  31. data/lib/google/cloud/compute/v1/future_reservations/rest/service_stub.rb +520 -0
  32. data/lib/google/cloud/compute/v1/future_reservations/rest.rb +51 -0
  33. data/lib/google/cloud/compute/v1/future_reservations.rb +47 -0
  34. data/lib/google/cloud/compute/v1/global_addresses/rest/client.rb +126 -10
  35. data/lib/google/cloud/compute/v1/global_forwarding_rules/rest/client.rb +151 -15
  36. data/lib/google/cloud/compute/v1/global_network_endpoint_groups/rest/client.rb +246 -21
  37. data/lib/google/cloud/compute/v1/global_operations/rest/client.rb +203 -18
  38. data/lib/google/cloud/compute/v1/global_organization_operations/rest/client.rb +91 -9
  39. data/lib/google/cloud/compute/v1/global_public_delegated_prefixes/rest/client.rb +128 -10
  40. data/lib/google/cloud/compute/v1/health_checks/rest/client.rb +333 -21
  41. data/lib/google/cloud/compute/v1/health_checks/rest/service_stub.rb +63 -0
  42. data/lib/google/cloud/compute/v1/image_family_views/rest/client.rb +2 -1
  43. data/lib/google/cloud/compute/v1/images/rest/client.rb +161 -18
  44. data/lib/google/cloud/compute/v1/instance_group_manager_resize_requests/rest/client.rb +159 -24
  45. data/lib/google/cloud/compute/v1/instance_group_managers/rest/client.rb +920 -95
  46. data/lib/google/cloud/compute/v1/instance_groups/rest/client.rb +380 -40
  47. data/lib/google/cloud/compute/v1/instance_settings_service/rest/client.rb +13 -1
  48. data/lib/google/cloud/compute/v1/instance_templates/rest/client.rb +220 -20
  49. data/lib/google/cloud/compute/v1/instances/rest/client.rb +939 -104
  50. data/lib/google/cloud/compute/v1/instant_snapshot_groups/credentials.rb +52 -0
  51. data/lib/google/cloud/compute/v1/instant_snapshot_groups/rest/client.rb +1145 -0
  52. data/lib/google/cloud/compute/v1/instant_snapshot_groups/rest/service_stub.rb +523 -0
  53. data/lib/google/cloud/compute/v1/instant_snapshot_groups/rest.rb +51 -0
  54. data/lib/google/cloud/compute/v1/instant_snapshot_groups.rb +47 -0
  55. data/lib/google/cloud/compute/v1/instant_snapshots/rest/client.rb +235 -21
  56. data/lib/google/cloud/compute/v1/interconnect_attachment_groups/rest/client.rb +139 -14
  57. data/lib/google/cloud/compute/v1/interconnect_attachments/rest/client.rb +242 -21
  58. data/lib/google/cloud/compute/v1/interconnect_groups/rest/client.rb +139 -14
  59. data/lib/google/cloud/compute/v1/interconnect_locations/rest/client.rb +87 -7
  60. data/lib/google/cloud/compute/v1/interconnect_remote_locations/rest/client.rb +87 -7
  61. data/lib/google/cloud/compute/v1/interconnects/rest/client.rb +145 -14
  62. data/lib/google/cloud/compute/v1/license_codes/rest/client.rb +9 -2
  63. data/lib/google/cloud/compute/v1/licenses/rest/client.rb +161 -16
  64. data/lib/google/cloud/compute/v1/machine_images/rest/client.rb +124 -13
  65. data/lib/google/cloud/compute/v1/machine_types/rest/client.rb +181 -14
  66. data/lib/google/cloud/compute/v1/network_attachments/rest/client.rb +232 -20
  67. data/lib/google/cloud/compute/v1/network_edge_security_services/rest/client.rb +138 -12
  68. data/lib/google/cloud/compute/v1/network_endpoint_groups/rest/client.rb +361 -37
  69. data/lib/google/cloud/compute/v1/network_firewall_policies/rest/client.rb +354 -33
  70. data/lib/google/cloud/compute/v1/network_profiles/rest/client.rb +85 -6
  71. data/lib/google/cloud/compute/v1/networks/rest/client.rb +281 -23
  72. data/lib/google/cloud/compute/v1/node_groups/rest/client.rb +381 -32
  73. data/lib/google/cloud/compute/v1/node_templates/rest/client.rb +213 -19
  74. data/lib/google/cloud/compute/v1/node_types/rest/client.rb +181 -14
  75. data/lib/google/cloud/compute/v1/organization_security_policies/credentials.rb +52 -0
  76. data/lib/google/cloud/compute/v1/organization_security_policies/rest/client.rb +2259 -0
  77. data/lib/google/cloud/compute/v1/organization_security_policies/rest/service_stub.rb +1054 -0
  78. data/lib/google/cloud/compute/v1/organization_security_policies/rest.rb +51 -0
  79. data/lib/google/cloud/compute/v1/organization_security_policies.rb +47 -0
  80. data/lib/google/cloud/compute/v1/packet_mirrorings/rest/client.rb +226 -19
  81. data/lib/google/cloud/compute/v1/preview_features/credentials.rb +52 -0
  82. data/lib/google/cloud/compute/v1/preview_features/rest/client.rb +739 -0
  83. data/lib/google/cloud/compute/v1/preview_features/rest/service_stub.rb +267 -0
  84. data/lib/google/cloud/compute/v1/preview_features/rest.rb +51 -0
  85. data/lib/google/cloud/compute/v1/preview_features.rb +47 -0
  86. data/lib/google/cloud/compute/v1/projects/rest/client.rb +346 -30
  87. data/lib/google/cloud/compute/v1/public_advertised_prefixes/rest/client.rb +154 -12
  88. data/lib/google/cloud/compute/v1/public_delegated_prefixes/rest/client.rb +255 -22
  89. data/lib/google/cloud/compute/v1/region_autoscalers/rest/client.rb +238 -13
  90. data/lib/google/cloud/compute/v1/region_autoscalers/rest/service_stub.rb +64 -0
  91. data/lib/google/cloud/compute/v1/region_backend_buckets/credentials.rb +52 -0
  92. data/lib/google/cloud/compute/v1/region_backend_buckets/rest/client.rb +1450 -0
  93. data/lib/google/cloud/compute/v1/region_backend_buckets/rest/service_stub.rb +649 -0
  94. data/lib/google/cloud/compute/v1/region_backend_buckets/rest.rb +51 -0
  95. data/lib/google/cloud/compute/v1/region_backend_buckets.rb +47 -0
  96. data/lib/google/cloud/compute/v1/region_backend_services/rest/client.rb +260 -26
  97. data/lib/google/cloud/compute/v1/region_commitments/rest/client.rb +212 -18
  98. data/lib/google/cloud/compute/v1/region_composite_health_checks/credentials.rb +52 -0
  99. data/lib/google/cloud/compute/v1/region_composite_health_checks/rest/client.rb +1363 -0
  100. data/lib/google/cloud/compute/v1/region_composite_health_checks/rest/service_stub.rb +584 -0
  101. data/lib/google/cloud/compute/v1/region_composite_health_checks/rest.rb +51 -0
  102. data/lib/google/cloud/compute/v1/region_composite_health_checks.rb +47 -0
  103. data/lib/google/cloud/compute/v1/region_disk_types/rest/client.rb +83 -5
  104. data/lib/google/cloud/compute/v1/region_disks/rest/client.rb +387 -29
  105. data/lib/google/cloud/compute/v1/region_disks/rest/service_stub.rb +64 -0
  106. data/lib/google/cloud/compute/v1/region_health_aggregation_policies/credentials.rb +52 -0
  107. data/lib/google/cloud/compute/v1/region_health_aggregation_policies/rest/client.rb +1268 -0
  108. data/lib/google/cloud/compute/v1/region_health_aggregation_policies/rest/service_stub.rb +521 -0
  109. data/lib/google/cloud/compute/v1/region_health_aggregation_policies/rest.rb +51 -0
  110. data/lib/google/cloud/compute/v1/region_health_aggregation_policies.rb +47 -0
  111. data/lib/google/cloud/compute/v1/region_health_check_services/rest/client.rb +427 -17
  112. data/lib/google/cloud/compute/v1/region_health_check_services/rest/service_stub.rb +125 -0
  113. data/lib/google/cloud/compute/v1/region_health_checks/rest/client.rb +238 -13
  114. data/lib/google/cloud/compute/v1/region_health_checks/rest/service_stub.rb +64 -0
  115. data/lib/google/cloud/compute/v1/region_health_sources/credentials.rb +52 -0
  116. data/lib/google/cloud/compute/v1/region_health_sources/rest/client.rb +1363 -0
  117. data/lib/google/cloud/compute/v1/region_health_sources/rest/service_stub.rb +584 -0
  118. data/lib/google/cloud/compute/v1/region_health_sources/rest.rb +51 -0
  119. data/lib/google/cloud/compute/v1/region_health_sources.rb +47 -0
  120. data/lib/google/cloud/compute/v1/region_instance_group_manager_resize_requests/credentials.rb +52 -0
  121. data/lib/google/cloud/compute/v1/region_instance_group_manager_resize_requests/rest/client.rb +1002 -0
  122. data/lib/google/cloud/compute/v1/region_instance_group_manager_resize_requests/rest/service_stub.rb +400 -0
  123. data/lib/google/cloud/compute/v1/region_instance_group_manager_resize_requests/rest.rb +51 -0
  124. data/lib/google/cloud/compute/v1/region_instance_group_manager_resize_requests.rb +47 -0
  125. data/lib/google/cloud/compute/v1/region_instance_group_managers/rest/client.rb +750 -64
  126. data/lib/google/cloud/compute/v1/region_instance_groups/rest/client.rb +187 -14
  127. data/lib/google/cloud/compute/v1/region_instance_templates/rest/client.rb +115 -10
  128. data/lib/google/cloud/compute/v1/region_instances/rest/client.rb +15 -2
  129. data/lib/google/cloud/compute/v1/region_instant_snapshot_groups/credentials.rb +52 -0
  130. data/lib/google/cloud/compute/v1/region_instant_snapshot_groups/rest/client.rb +1146 -0
  131. data/lib/google/cloud/compute/v1/region_instant_snapshot_groups/rest/service_stub.rb +523 -0
  132. data/lib/google/cloud/compute/v1/region_instant_snapshot_groups/rest.rb +51 -0
  133. data/lib/google/cloud/compute/v1/region_instant_snapshot_groups.rb +47 -0
  134. data/lib/google/cloud/compute/v1/region_instant_snapshots/rest/client.rb +139 -13
  135. data/lib/google/cloud/compute/v1/region_network_endpoint_groups/rest/client.rb +264 -28
  136. data/lib/google/cloud/compute/v1/region_network_firewall_policies/rest/client.rb +213 -20
  137. data/lib/google/cloud/compute/v1/region_notification_endpoints/rest/client.rb +399 -11
  138. data/lib/google/cloud/compute/v1/region_notification_endpoints/rest/service_stub.rb +125 -0
  139. data/lib/google/cloud/compute/v1/region_operations/rest/client.rb +107 -10
  140. data/lib/google/cloud/compute/v1/region_security_policies/rest/client.rb +149 -14
  141. data/lib/google/cloud/compute/v1/region_snapshot_settings/credentials.rb +52 -0
  142. data/lib/google/cloud/compute/v1/region_snapshot_settings/rest/client.rb +561 -0
  143. data/lib/google/cloud/compute/v1/region_snapshot_settings/rest/service_stub.rb +206 -0
  144. data/lib/google/cloud/compute/v1/region_snapshot_settings/rest.rb +51 -0
  145. data/lib/google/cloud/compute/v1/region_snapshot_settings.rb +47 -0
  146. data/lib/google/cloud/compute/v1/region_snapshots/credentials.rb +52 -0
  147. data/lib/google/cloud/compute/v1/region_snapshots/rest/client.rb +1388 -0
  148. data/lib/google/cloud/compute/v1/region_snapshots/rest/service_stub.rb +651 -0
  149. data/lib/google/cloud/compute/v1/region_snapshots/rest.rb +51 -0
  150. data/lib/google/cloud/compute/v1/region_snapshots.rb +47 -0
  151. data/lib/google/cloud/compute/v1/region_ssl_certificates/rest/client.rb +116 -10
  152. data/lib/google/cloud/compute/v1/region_ssl_policies/rest/client.rb +220 -20
  153. data/lib/google/cloud/compute/v1/region_target_http_proxies/rest/client.rb +126 -10
  154. data/lib/google/cloud/compute/v1/region_target_https_proxies/rest/client.rb +158 -14
  155. data/lib/google/cloud/compute/v1/region_target_tcp_proxies/rest/client.rb +113 -9
  156. data/lib/google/cloud/compute/v1/region_url_maps/rest/client.rb +104 -14
  157. data/lib/google/cloud/compute/v1/region_zones/rest/client.rb +85 -6
  158. data/lib/google/cloud/compute/v1/regions/rest/client.rb +120 -7
  159. data/lib/google/cloud/compute/v1/reservation_blocks/rest/client.rb +396 -11
  160. data/lib/google/cloud/compute/v1/reservation_blocks/rest/service_stub.rb +194 -0
  161. data/lib/google/cloud/compute/v1/reservation_slots/credentials.rb +52 -0
  162. data/lib/google/cloud/compute/v1/reservation_slots/rest/client.rb +863 -0
  163. data/lib/google/cloud/compute/v1/reservation_slots/rest/service_stub.rb +338 -0
  164. data/lib/google/cloud/compute/v1/reservation_slots/rest.rb +51 -0
  165. data/lib/google/cloud/compute/v1/reservation_slots.rb +47 -0
  166. data/lib/google/cloud/compute/v1/reservation_sub_blocks/rest/client.rb +642 -12
  167. data/lib/google/cloud/compute/v1/reservation_sub_blocks/rest/service_stub.rb +327 -3
  168. data/lib/google/cloud/compute/v1/reservations/rest/client.rb +257 -24
  169. data/lib/google/cloud/compute/v1/resource_policies/rest/client.rb +224 -19
  170. data/lib/google/cloud/compute/v1/rest.rb +17 -0
  171. data/lib/google/cloud/compute/v1/routers/rest/client.rb +555 -50
  172. data/lib/google/cloud/compute/v1/routes/rest/client.rb +202 -8
  173. data/lib/google/cloud/compute/v1/routes/rest/service_stub.rb +63 -0
  174. data/lib/google/cloud/compute/v1/security_policies/rest/client.rb +316 -26
  175. data/lib/google/cloud/compute/v1/service_attachments/rest/client.rb +231 -21
  176. data/lib/google/cloud/compute/v1/snapshot_settings_service/rest/client.rb +13 -1
  177. data/lib/google/cloud/compute/v1/snapshots/rest/client.rb +245 -13
  178. data/lib/google/cloud/compute/v1/snapshots/rest/service_stub.rb +63 -0
  179. data/lib/google/cloud/compute/v1/ssl_certificates/rest/client.rb +210 -17
  180. data/lib/google/cloud/compute/v1/ssl_policies/rest/client.rb +315 -27
  181. data/lib/google/cloud/compute/v1/storage_pool_types/rest/client.rb +181 -14
  182. data/lib/google/cloud/compute/v1/storage_pools/rest/client.rb +321 -28
  183. data/lib/google/cloud/compute/v1/subnetworks/rest/client.rb +378 -34
  184. data/lib/google/cloud/compute/v1/target_grpc_proxies/rest/client.rb +128 -10
  185. data/lib/google/cloud/compute/v1/target_http_proxies/rest/client.rb +240 -20
  186. data/lib/google/cloud/compute/v1/target_https_proxies/rest/client.rb +306 -30
  187. data/lib/google/cloud/compute/v1/target_instances/rest/client.rb +227 -20
  188. data/lib/google/cloud/compute/v1/target_pools/rest/client.rb +294 -26
  189. data/lib/google/cloud/compute/v1/target_ssl_proxies/rest/client.rb +281 -19
  190. data/lib/google/cloud/compute/v1/target_ssl_proxies/rest/service_stub.rb +63 -0
  191. data/lib/google/cloud/compute/v1/target_tcp_proxies/rest/client.rb +329 -20
  192. data/lib/google/cloud/compute/v1/target_tcp_proxies/rest/service_stub.rb +63 -0
  193. data/lib/google/cloud/compute/v1/target_vpn_gateways/rest/client.rb +224 -19
  194. data/lib/google/cloud/compute/v1/url_maps/rest/client.rb +354 -24
  195. data/lib/google/cloud/compute/v1/url_maps/rest/service_stub.rb +63 -0
  196. data/lib/google/cloud/compute/v1/version.rb +1 -1
  197. data/lib/google/cloud/compute/v1/vpn_gateways/rest/client.rb +224 -19
  198. data/lib/google/cloud/compute/v1/vpn_tunnels/rest/client.rb +224 -19
  199. data/lib/google/cloud/compute/v1/wire_groups/credentials.rb +52 -0
  200. data/lib/google/cloud/compute/v1/wire_groups/rest/client.rb +980 -0
  201. data/lib/google/cloud/compute/v1/wire_groups/rest/service_stub.rb +396 -0
  202. data/lib/google/cloud/compute/v1/wire_groups/rest.rb +51 -0
  203. data/lib/google/cloud/compute/v1/wire_groups.rb +47 -0
  204. data/lib/google/cloud/compute/v1/zone_operations/rest/client.rb +106 -10
  205. data/lib/google/cloud/compute/v1/zone_vm_extension_policies/credentials.rb +52 -0
  206. data/lib/google/cloud/compute/v1/zone_vm_extension_policies/rest/client.rb +975 -0
  207. data/lib/google/cloud/compute/v1/zone_vm_extension_policies/rest/service_stub.rb +396 -0
  208. data/lib/google/cloud/compute/v1/zone_vm_extension_policies/rest.rb +51 -0
  209. data/lib/google/cloud/compute/v1/zone_vm_extension_policies.rb +47 -0
  210. data/lib/google/cloud/compute/v1/zones/rest/client.rb +83 -5
  211. data/lib/google/cloud/compute/v1.rb +17 -0
  212. data/proto_docs/google/api/client.rb +149 -29
  213. data/proto_docs/google/cloud/compute/v1/compute.rb +47064 -5503
  214. metadata +87 -2
@@ -247,7 +247,19 @@ module Google
247
247
  # @param region [::String]
248
248
  # Name of the region scoping this request.
249
249
  # @param request_id [::String]
250
- # 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).
250
+ # An optional request ID to identify requests. Specify a unique request ID so
251
+ # that if you must retry your request, the server will know to ignore the
252
+ # request if it has already been completed.
253
+ #
254
+ # For example, consider a situation where you make an initial request and
255
+ # the request times out. If you make the request again with the same
256
+ # request ID, the server can check if original operation with the same
257
+ # request ID was received, and if so, will ignore the second request. This
258
+ # prevents clients from accidentally creating duplicate commitments.
259
+ #
260
+ # The request ID must be
261
+ # a valid UUID with the exception that zero UUID is not supported
262
+ # (00000000-0000-0000-0000-000000000000).
251
263
  # @param target_pool [::String]
252
264
  # Name of the target pool to add a health check to.
253
265
  # @param target_pools_add_health_check_request_resource [::Google::Cloud::Compute::V1::TargetPoolsAddHealthCheckRequest, ::Hash]
@@ -343,7 +355,19 @@ module Google
343
355
  # @param region [::String]
344
356
  # Name of the region scoping this request.
345
357
  # @param request_id [::String]
346
- # 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).
358
+ # An optional request ID to identify requests. Specify a unique request ID so
359
+ # that if you must retry your request, the server will know to ignore the
360
+ # request if it has already been completed.
361
+ #
362
+ # For example, consider a situation where you make an initial request and
363
+ # the request times out. If you make the request again with the same
364
+ # request ID, the server can check if original operation with the same
365
+ # request ID was received, and if so, will ignore the second request. This
366
+ # prevents clients from accidentally creating duplicate commitments.
367
+ #
368
+ # The request ID must be
369
+ # a valid UUID with the exception that zero UUID is not supported
370
+ # (00000000-0000-0000-0000-000000000000).
347
371
  # @param target_pool [::String]
348
372
  # Name of the TargetPool resource to add instances to.
349
373
  # @param target_pools_add_instance_request_resource [::Google::Cloud::Compute::V1::TargetPoolsAddInstanceRequest, ::Hash]
@@ -417,7 +441,10 @@ module Google
417
441
  end
418
442
 
419
443
  ##
420
- # Retrieves an aggregated list of target pools. To prevent failure, Google recommends that you set the `returnPartialSuccess` parameter to `true`.
444
+ # Retrieves an aggregated list of target pools.
445
+ #
446
+ # To prevent failure, Google recommends that you set the
447
+ # `returnPartialSuccess` parameter to `true`.
421
448
  #
422
449
  # @overload aggregated_list(request, options = nil)
423
450
  # Pass arguments to `aggregated_list` via a request object, either of type
@@ -435,21 +462,106 @@ module Google
435
462
  # the default parameter values, pass an empty Hash as a request object (see above).
436
463
  #
437
464
  # @param filter [::String]
438
- # 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.
465
+ # A filter expression that filters resources listed in the response. Most
466
+ # Compute resources support two types of filter expressions:
467
+ # expressions that support regular expressions and expressions that follow
468
+ # API improvement proposal AIP-160.
469
+ # These two types of filter expressions cannot be mixed in one request.
470
+ #
471
+ # If you want to use AIP-160, your expression must specify the field name, an
472
+ # operator, and the value that you want to use for filtering. The value
473
+ # must be a string, a number, or a boolean. The operator
474
+ # must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.
475
+ #
476
+ # For example, if you are filtering Compute Engine instances, you can
477
+ # exclude instances named `example-instance` by specifying
478
+ # `name != example-instance`.
479
+ #
480
+ # The `:*` comparison can be used to test whether a key has been defined.
481
+ # For example, to find all objects with `owner` label use:
482
+ # ```
483
+ # labels.owner:*
484
+ # ```
485
+ #
486
+ # You can also filter nested fields. For example, you could specify
487
+ # `scheduling.automaticRestart = false` to include instances only
488
+ # if they are not scheduled for automatic restarts. You can use filtering
489
+ # on nested fields to filter based onresource labels.
490
+ #
491
+ # To filter on multiple expressions, provide each separate expression within
492
+ # parentheses. For example:
493
+ # ```
494
+ # (scheduling.automaticRestart = true)
495
+ # (cpuPlatform = "Intel Skylake")
496
+ # ```
497
+ # By default, each expression is an `AND` expression. However, you
498
+ # can include `AND` and `OR` expressions explicitly.
499
+ # For example:
500
+ # ```
501
+ # (cpuPlatform = "Intel Skylake") OR
502
+ # (cpuPlatform = "Intel Broadwell") AND
503
+ # (scheduling.automaticRestart = true)
504
+ # ```
505
+ #
506
+ # If you want to use a regular expression, use the `eq` (equal) or `ne`
507
+ # (not equal) operator against a single un-parenthesized expression with or
508
+ # without quotes or against multiple parenthesized expressions. Examples:
509
+ #
510
+ # `fieldname eq unquoted literal`
511
+ # `fieldname eq 'single quoted literal'`
512
+ # `fieldname eq "double quoted literal"`
513
+ # `(fieldname1 eq literal) (fieldname2 ne "literal")`
514
+ #
515
+ # The literal value is interpreted as a regular expression using GoogleRE2 library syntax.
516
+ # The literal value must match the entire field.
517
+ #
518
+ # For example, to filter for instances that do not end with name "instance",
519
+ # you would use `name ne .*instance`.
520
+ #
521
+ # You cannot combine constraints on multiple fields using regular
522
+ # expressions.
439
523
  # @param include_all_scopes [::Boolean]
440
- # 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.
524
+ # Indicates whether every visible scope for each scope type (zone, region,
525
+ # global) should be included in the response. For new resource types added
526
+ # after this field, the flag has no effect as new resource types will always
527
+ # include every visible scope for each scope type in response. For resource
528
+ # types which predate this field, if this flag is omitted or false, only
529
+ # scopes of the scope types where the resource type is expected to be found
530
+ # will be included.
441
531
  # @param max_results [::Integer]
442
- # 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`)
532
+ # The maximum number of results per page that should be returned.
533
+ # If the number of available results is larger than `maxResults`,
534
+ # Compute Engine returns a `nextPageToken` that can be used to get
535
+ # the next page of results in subsequent list requests. Acceptable values are
536
+ # `0` to `500`, inclusive. (Default: `500`)
443
537
  # @param order_by [::String]
444
- # 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.
538
+ # Sorts list results by a certain order. By default, results
539
+ # are returned in alphanumerical order based on the resource name.
540
+ #
541
+ # You can also sort results in descending order based on the creation
542
+ # timestamp using `orderBy="creationTimestamp desc"`. This sorts
543
+ # results based on the `creationTimestamp` field in
544
+ # reverse chronological order (newest result first). Use this to sort
545
+ # resources like operations so that the newest operation is returned first.
546
+ #
547
+ # Currently, only sorting by `name` or
548
+ # `creationTimestamp desc` is supported.
445
549
  # @param page_token [::String]
446
- # Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.
550
+ # Specifies a page token to use. Set `pageToken` to the
551
+ # `nextPageToken` returned by a previous list request to get
552
+ # the next page of results.
447
553
  # @param project [::String]
448
554
  # Project ID for this request.
449
555
  # @param return_partial_success [::Boolean]
450
- # 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.
556
+ # Opt-in for partial success behavior which provides partial results in case
557
+ # of failure. The default value is false.
558
+ #
559
+ # For example, when partial success behavior is enabled, aggregatedList for a
560
+ # single zone scope either returns all resources in the zone or no resources,
561
+ # with an error code.
451
562
  # @param service_project_number [::Integer]
452
- # The Shared VPC service project id or service project number for which aggregated list request is invoked for subnetworks list-usable api.
563
+ # The Shared VPC service project id or service project number for which
564
+ # aggregated list request is invoked for subnetworks list-usable api.
453
565
  # @yield [result, operation] Access the result along with the TransportOperation object
454
566
  # @yieldparam result [::Gapic::Rest::PagedEnumerable<::String, ::Google::Cloud::Compute::V1::TargetPoolsScopedList>]
455
567
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
@@ -533,7 +645,19 @@ module Google
533
645
  # @param region [::String]
534
646
  # Name of the region scoping this request.
535
647
  # @param request_id [::String]
536
- # 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).
648
+ # An optional request ID to identify requests. Specify a unique request ID so
649
+ # that if you must retry your request, the server will know to ignore the
650
+ # request if it has already been completed.
651
+ #
652
+ # For example, consider a situation where you make an initial request and
653
+ # the request times out. If you make the request again with the same
654
+ # request ID, the server can check if original operation with the same
655
+ # request ID was received, and if so, will ignore the second request. This
656
+ # prevents clients from accidentally creating duplicate commitments.
657
+ #
658
+ # The request ID must be
659
+ # a valid UUID with the exception that zero UUID is not supported
660
+ # (00000000-0000-0000-0000-000000000000).
537
661
  # @param target_pool [::String]
538
662
  # Name of the TargetPool resource to delete.
539
663
  # @yield [result, operation] Access the result along with the TransportOperation object
@@ -687,7 +811,8 @@ module Google
687
811
  end
688
812
 
689
813
  ##
690
- # Gets the most recent health check results for each IP for the instance that is referenced by the given target pool.
814
+ # Gets the most recent health check results for each IP for the
815
+ # instance that is referenced by the given target pool.
691
816
  #
692
817
  # @overload get_health(request, options = nil)
693
818
  # Pass arguments to `get_health` via a request object, either of type
@@ -771,7 +896,8 @@ module Google
771
896
  end
772
897
 
773
898
  ##
774
- # Creates a target pool in the specified project and region using the data included in the request.
899
+ # Creates a target pool in the specified project and region using
900
+ # the data included in the request.
775
901
  #
776
902
  # @overload insert(request, options = nil)
777
903
  # Pass arguments to `insert` via a request object, either of type
@@ -793,7 +919,19 @@ module Google
793
919
  # @param region [::String]
794
920
  # Name of the region scoping this request.
795
921
  # @param request_id [::String]
796
- # 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).
922
+ # An optional request ID to identify requests. Specify a unique request ID so
923
+ # that if you must retry your request, the server will know to ignore the
924
+ # request if it has already been completed.
925
+ #
926
+ # For example, consider a situation where you make an initial request and
927
+ # the request times out. If you make the request again with the same
928
+ # request ID, the server can check if original operation with the same
929
+ # request ID was received, and if so, will ignore the second request. This
930
+ # prevents clients from accidentally creating duplicate commitments.
931
+ #
932
+ # The request ID must be
933
+ # a valid UUID with the exception that zero UUID is not supported
934
+ # (00000000-0000-0000-0000-000000000000).
797
935
  # @param target_pool_resource [::Google::Cloud::Compute::V1::TargetPool, ::Hash]
798
936
  # The body resource for this request
799
937
  # @yield [result, operation] Access the result along with the TransportOperation object
@@ -865,7 +1003,8 @@ module Google
865
1003
  end
866
1004
 
867
1005
  ##
868
- # Retrieves a list of target pools available to the specified project and region.
1006
+ # Retrieves a list of target pools available to the specified
1007
+ # project and region.
869
1008
  #
870
1009
  # @overload list(request, options = nil)
871
1010
  # Pass arguments to `list` via a request object, either of type
@@ -883,19 +1022,97 @@ module Google
883
1022
  # the default parameter values, pass an empty Hash as a request object (see above).
884
1023
  #
885
1024
  # @param filter [::String]
886
- # 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.
1025
+ # A filter expression that filters resources listed in the response. Most
1026
+ # Compute resources support two types of filter expressions:
1027
+ # expressions that support regular expressions and expressions that follow
1028
+ # API improvement proposal AIP-160.
1029
+ # These two types of filter expressions cannot be mixed in one request.
1030
+ #
1031
+ # If you want to use AIP-160, your expression must specify the field name, an
1032
+ # operator, and the value that you want to use for filtering. The value
1033
+ # must be a string, a number, or a boolean. The operator
1034
+ # must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.
1035
+ #
1036
+ # For example, if you are filtering Compute Engine instances, you can
1037
+ # exclude instances named `example-instance` by specifying
1038
+ # `name != example-instance`.
1039
+ #
1040
+ # The `:*` comparison can be used to test whether a key has been defined.
1041
+ # For example, to find all objects with `owner` label use:
1042
+ # ```
1043
+ # labels.owner:*
1044
+ # ```
1045
+ #
1046
+ # You can also filter nested fields. For example, you could specify
1047
+ # `scheduling.automaticRestart = false` to include instances only
1048
+ # if they are not scheduled for automatic restarts. You can use filtering
1049
+ # on nested fields to filter based onresource labels.
1050
+ #
1051
+ # To filter on multiple expressions, provide each separate expression within
1052
+ # parentheses. For example:
1053
+ # ```
1054
+ # (scheduling.automaticRestart = true)
1055
+ # (cpuPlatform = "Intel Skylake")
1056
+ # ```
1057
+ # By default, each expression is an `AND` expression. However, you
1058
+ # can include `AND` and `OR` expressions explicitly.
1059
+ # For example:
1060
+ # ```
1061
+ # (cpuPlatform = "Intel Skylake") OR
1062
+ # (cpuPlatform = "Intel Broadwell") AND
1063
+ # (scheduling.automaticRestart = true)
1064
+ # ```
1065
+ #
1066
+ # If you want to use a regular expression, use the `eq` (equal) or `ne`
1067
+ # (not equal) operator against a single un-parenthesized expression with or
1068
+ # without quotes or against multiple parenthesized expressions. Examples:
1069
+ #
1070
+ # `fieldname eq unquoted literal`
1071
+ # `fieldname eq 'single quoted literal'`
1072
+ # `fieldname eq "double quoted literal"`
1073
+ # `(fieldname1 eq literal) (fieldname2 ne "literal")`
1074
+ #
1075
+ # The literal value is interpreted as a regular expression using GoogleRE2 library syntax.
1076
+ # The literal value must match the entire field.
1077
+ #
1078
+ # For example, to filter for instances that do not end with name "instance",
1079
+ # you would use `name ne .*instance`.
1080
+ #
1081
+ # You cannot combine constraints on multiple fields using regular
1082
+ # expressions.
887
1083
  # @param max_results [::Integer]
888
- # 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`)
1084
+ # The maximum number of results per page that should be returned.
1085
+ # If the number of available results is larger than `maxResults`,
1086
+ # Compute Engine returns a `nextPageToken` that can be used to get
1087
+ # the next page of results in subsequent list requests. Acceptable values are
1088
+ # `0` to `500`, inclusive. (Default: `500`)
889
1089
  # @param order_by [::String]
890
- # 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.
1090
+ # Sorts list results by a certain order. By default, results
1091
+ # are returned in alphanumerical order based on the resource name.
1092
+ #
1093
+ # You can also sort results in descending order based on the creation
1094
+ # timestamp using `orderBy="creationTimestamp desc"`. This sorts
1095
+ # results based on the `creationTimestamp` field in
1096
+ # reverse chronological order (newest result first). Use this to sort
1097
+ # resources like operations so that the newest operation is returned first.
1098
+ #
1099
+ # Currently, only sorting by `name` or
1100
+ # `creationTimestamp desc` is supported.
891
1101
  # @param page_token [::String]
892
- # Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.
1102
+ # Specifies a page token to use. Set `pageToken` to the
1103
+ # `nextPageToken` returned by a previous list request to get
1104
+ # the next page of results.
893
1105
  # @param project [::String]
894
1106
  # Project ID for this request.
895
1107
  # @param region [::String]
896
1108
  # Name of the region scoping this request.
897
1109
  # @param return_partial_success [::Boolean]
898
- # 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.
1110
+ # Opt-in for partial success behavior which provides partial results in case
1111
+ # of failure. The default value is false.
1112
+ #
1113
+ # For example, when partial success behavior is enabled, aggregatedList for a
1114
+ # single zone scope either returns all resources in the zone or no resources,
1115
+ # with an error code.
899
1116
  # @yield [result, operation] Access the result along with the TransportOperation object
900
1117
  # @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Compute::V1::TargetPool>]
901
1118
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
@@ -979,7 +1196,19 @@ module Google
979
1196
  # @param region [::String]
980
1197
  # Name of the region for this request.
981
1198
  # @param request_id [::String]
982
- # 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).
1199
+ # An optional request ID to identify requests. Specify a unique request ID so
1200
+ # that if you must retry your request, the server will know to ignore the
1201
+ # request if it has already been completed.
1202
+ #
1203
+ # For example, consider a situation where you make an initial request and
1204
+ # the request times out. If you make the request again with the same
1205
+ # request ID, the server can check if original operation with the same
1206
+ # request ID was received, and if so, will ignore the second request. This
1207
+ # prevents clients from accidentally creating duplicate commitments.
1208
+ #
1209
+ # The request ID must be
1210
+ # a valid UUID with the exception that zero UUID is not supported
1211
+ # (00000000-0000-0000-0000-000000000000).
983
1212
  # @param target_pool [::String]
984
1213
  # Name of the target pool to remove health checks from.
985
1214
  # @param target_pools_remove_health_check_request_resource [::Google::Cloud::Compute::V1::TargetPoolsRemoveHealthCheckRequest, ::Hash]
@@ -1075,7 +1304,19 @@ module Google
1075
1304
  # @param region [::String]
1076
1305
  # Name of the region scoping this request.
1077
1306
  # @param request_id [::String]
1078
- # 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).
1307
+ # An optional request ID to identify requests. Specify a unique request ID so
1308
+ # that if you must retry your request, the server will know to ignore the
1309
+ # request if it has already been completed.
1310
+ #
1311
+ # For example, consider a situation where you make an initial request and
1312
+ # the request times out. If you make the request again with the same
1313
+ # request ID, the server can check if original operation with the same
1314
+ # request ID was received, and if so, will ignore the second request. This
1315
+ # prevents clients from accidentally creating duplicate commitments.
1316
+ #
1317
+ # The request ID must be
1318
+ # a valid UUID with the exception that zero UUID is not supported
1319
+ # (00000000-0000-0000-0000-000000000000).
1079
1320
  # @param target_pool [::String]
1080
1321
  # Name of the TargetPool resource to remove instances from.
1081
1322
  # @param target_pools_remove_instance_request_resource [::Google::Cloud::Compute::V1::TargetPoolsRemoveInstanceRequest, ::Hash]
@@ -1173,7 +1414,19 @@ module Google
1173
1414
  # @param region [::String]
1174
1415
  # Name of the region scoping this request.
1175
1416
  # @param request_id [::String]
1176
- # 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).
1417
+ # An optional request ID to identify requests. Specify a unique request ID so
1418
+ # that if you must retry your request, the server will know to ignore the
1419
+ # request if it has already been completed.
1420
+ #
1421
+ # For example, consider a situation where you make an initial request and
1422
+ # the request times out. If you make the request again with the same
1423
+ # request ID, the server can check if original operation with the same
1424
+ # request ID was received, and if so, will ignore the second request. This
1425
+ # prevents clients from accidentally creating duplicate commitments.
1426
+ #
1427
+ # The request ID must be
1428
+ # a valid UUID with the exception that zero UUID is not supported
1429
+ # (00000000-0000-0000-0000-000000000000).
1177
1430
  # @param target_pool [::String]
1178
1431
  # Name of the TargetPool resource to set a backup pool for.
1179
1432
  # @param target_reference_resource [::Google::Cloud::Compute::V1::TargetReference, ::Hash]
@@ -1247,7 +1500,9 @@ module Google
1247
1500
  end
1248
1501
 
1249
1502
  ##
1250
- # Sets the Google Cloud Armor security policy for the specified target pool. For more information, see Google Cloud Armor Overview
1503
+ # Sets the Google Cloud Armor security policy for the specified target pool.
1504
+ # For more information, seeGoogle
1505
+ # Cloud Armor Overview
1251
1506
  #
1252
1507
  # @overload set_security_policy(request, options = nil)
1253
1508
  # Pass arguments to `set_security_policy` via a request object, either of type
@@ -1269,11 +1524,24 @@ module Google
1269
1524
  # @param region [::String]
1270
1525
  # Name of the region scoping this request.
1271
1526
  # @param request_id [::String]
1272
- # 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).
1527
+ # An optional request ID to identify requests. Specify a unique request ID so
1528
+ # that if you must retry your request, the server will know to ignore the
1529
+ # request if it has already been completed.
1530
+ #
1531
+ # For example, consider a situation where you make an initial request and
1532
+ # the request times out. If you make the request again with the same
1533
+ # request ID, the server can check if original operation with the same
1534
+ # request ID was received, and if so, will ignore the second request. This
1535
+ # prevents clients from accidentally creating duplicate commitments.
1536
+ #
1537
+ # The request ID must be
1538
+ # a valid UUID with the exception that zero UUID is not supported
1539
+ # (00000000-0000-0000-0000-000000000000).
1273
1540
  # @param security_policy_reference_resource [::Google::Cloud::Compute::V1::SecurityPolicyReference, ::Hash]
1274
1541
  # The body resource for this request
1275
1542
  # @param target_pool [::String]
1276
- # Name of the TargetPool resource to which the security policy should be set. The name should conform to RFC1035.
1543
+ # Name of the TargetPool resource to which the security policy should be
1544
+ # set. The name should conform to RFC1035.
1277
1545
  # @yield [result, operation] Access the result along with the TransportOperation object
1278
1546
  # @yieldparam result [::Gapic::GenericLRO::Operation]
1279
1547
  # @yieldparam operation [::Gapic::Rest::TransportOperation]