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
@@ -220,7 +220,10 @@ module Google
220
220
  # Service calls
221
221
 
222
222
  ##
223
- # Retrieves an aggregated list of instantSnapshots. To prevent failure, Google recommends that you set the `returnPartialSuccess` parameter to `true`.
223
+ # Retrieves an aggregated list of instantSnapshots.
224
+ #
225
+ # To prevent failure, Google recommends that you set the
226
+ # `returnPartialSuccess` parameter to `true`.
224
227
  #
225
228
  # @overload aggregated_list(request, options = nil)
226
229
  # Pass arguments to `aggregated_list` via a request object, either of type
@@ -238,21 +241,106 @@ module Google
238
241
  # the default parameter values, pass an empty Hash as a request object (see above).
239
242
  #
240
243
  # @param filter [::String]
241
- # 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.
244
+ # A filter expression that filters resources listed in the response. Most
245
+ # Compute resources support two types of filter expressions:
246
+ # expressions that support regular expressions and expressions that follow
247
+ # API improvement proposal AIP-160.
248
+ # These two types of filter expressions cannot be mixed in one request.
249
+ #
250
+ # If you want to use AIP-160, your expression must specify the field name, an
251
+ # operator, and the value that you want to use for filtering. The value
252
+ # must be a string, a number, or a boolean. The operator
253
+ # must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.
254
+ #
255
+ # For example, if you are filtering Compute Engine instances, you can
256
+ # exclude instances named `example-instance` by specifying
257
+ # `name != example-instance`.
258
+ #
259
+ # The `:*` comparison can be used to test whether a key has been defined.
260
+ # For example, to find all objects with `owner` label use:
261
+ # ```
262
+ # labels.owner:*
263
+ # ```
264
+ #
265
+ # You can also filter nested fields. For example, you could specify
266
+ # `scheduling.automaticRestart = false` to include instances only
267
+ # if they are not scheduled for automatic restarts. You can use filtering
268
+ # on nested fields to filter based onresource labels.
269
+ #
270
+ # To filter on multiple expressions, provide each separate expression within
271
+ # parentheses. For example:
272
+ # ```
273
+ # (scheduling.automaticRestart = true)
274
+ # (cpuPlatform = "Intel Skylake")
275
+ # ```
276
+ # By default, each expression is an `AND` expression. However, you
277
+ # can include `AND` and `OR` expressions explicitly.
278
+ # For example:
279
+ # ```
280
+ # (cpuPlatform = "Intel Skylake") OR
281
+ # (cpuPlatform = "Intel Broadwell") AND
282
+ # (scheduling.automaticRestart = true)
283
+ # ```
284
+ #
285
+ # If you want to use a regular expression, use the `eq` (equal) or `ne`
286
+ # (not equal) operator against a single un-parenthesized expression with or
287
+ # without quotes or against multiple parenthesized expressions. Examples:
288
+ #
289
+ # `fieldname eq unquoted literal`
290
+ # `fieldname eq 'single quoted literal'`
291
+ # `fieldname eq "double quoted literal"`
292
+ # `(fieldname1 eq literal) (fieldname2 ne "literal")`
293
+ #
294
+ # The literal value is interpreted as a regular expression using GoogleRE2 library syntax.
295
+ # The literal value must match the entire field.
296
+ #
297
+ # For example, to filter for instances that do not end with name "instance",
298
+ # you would use `name ne .*instance`.
299
+ #
300
+ # You cannot combine constraints on multiple fields using regular
301
+ # expressions.
242
302
  # @param include_all_scopes [::Boolean]
243
- # 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.
303
+ # Indicates whether every visible scope for each scope type (zone, region,
304
+ # global) should be included in the response. For new resource types added
305
+ # after this field, the flag has no effect as new resource types will always
306
+ # include every visible scope for each scope type in response. For resource
307
+ # types which predate this field, if this flag is omitted or false, only
308
+ # scopes of the scope types where the resource type is expected to be found
309
+ # will be included.
244
310
  # @param max_results [::Integer]
245
- # 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`)
311
+ # The maximum number of results per page that should be returned.
312
+ # If the number of available results is larger than `maxResults`,
313
+ # Compute Engine returns a `nextPageToken` that can be used to get
314
+ # the next page of results in subsequent list requests. Acceptable values are
315
+ # `0` to `500`, inclusive. (Default: `500`)
246
316
  # @param order_by [::String]
247
- # 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.
317
+ # Sorts list results by a certain order. By default, results
318
+ # are returned in alphanumerical order based on the resource name.
319
+ #
320
+ # You can also sort results in descending order based on the creation
321
+ # timestamp using `orderBy="creationTimestamp desc"`. This sorts
322
+ # results based on the `creationTimestamp` field in
323
+ # reverse chronological order (newest result first). Use this to sort
324
+ # resources like operations so that the newest operation is returned first.
325
+ #
326
+ # Currently, only sorting by `name` or
327
+ # `creationTimestamp desc` is supported.
248
328
  # @param page_token [::String]
249
- # Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.
329
+ # Specifies a page token to use. Set `pageToken` to the
330
+ # `nextPageToken` returned by a previous list request to get
331
+ # the next page of results.
250
332
  # @param project [::String]
251
333
  # Project ID for this request.
252
334
  # @param return_partial_success [::Boolean]
253
- # 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.
335
+ # Opt-in for partial success behavior which provides partial results in case
336
+ # of failure. The default value is false.
337
+ #
338
+ # For example, when partial success behavior is enabled, aggregatedList for a
339
+ # single zone scope either returns all resources in the zone or no resources,
340
+ # with an error code.
254
341
  # @param service_project_number [::Integer]
255
- # The Shared VPC service project id or service project number for which aggregated list request is invoked for subnetworks list-usable api.
342
+ # The Shared VPC service project id or service project number for which
343
+ # aggregated list request is invoked for subnetworks list-usable api.
256
344
  # @yield [result, operation] Access the result along with the TransportOperation object
257
345
  # @yieldparam result [::Gapic::Rest::PagedEnumerable<::String, ::Google::Cloud::Compute::V1::InstantSnapshotsScopedList>]
258
346
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
@@ -314,7 +402,14 @@ module Google
314
402
  end
315
403
 
316
404
  ##
317
- # Deletes the specified InstantSnapshot resource. Keep in mind that deleting a single instantSnapshot might not necessarily delete all the data on that instantSnapshot. If any data on the instantSnapshot that is marked for deletion is needed for subsequent instantSnapshots, the data will be moved to the next corresponding instantSnapshot. For more information, see Deleting instantSnapshots.
405
+ # Deletes the specified InstantSnapshot resource. Keep in mind that deleting
406
+ # a single instantSnapshot might not necessarily delete all the data on that
407
+ # instantSnapshot. If any data on the instantSnapshot that is marked for
408
+ # deletion is needed for subsequent instantSnapshots, the data will be moved
409
+ # to the next corresponding instantSnapshot.
410
+ #
411
+ # For more information, seeDeleting
412
+ # instantSnapshots.
318
413
  #
319
414
  # @overload delete(request, options = nil)
320
415
  # Pass arguments to `delete` via a request object, either of type
@@ -336,7 +431,19 @@ module Google
336
431
  # @param project [::String]
337
432
  # Project ID for this request.
338
433
  # @param request_id [::String]
339
- # 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).
434
+ # An optional request ID to identify requests. Specify a unique request ID so
435
+ # that if you must retry your request, the server will know to ignore the
436
+ # request if it has already been completed.
437
+ #
438
+ # For example, consider a situation where you make an initial request and
439
+ # the request times out. If you make the request again with the same
440
+ # request ID, the server can check if original operation with the same
441
+ # request ID was received, and if so, will ignore the second request. This
442
+ # prevents clients from accidentally creating duplicate commitments.
443
+ #
444
+ # The request ID must be
445
+ # a valid UUID with the exception that zero UUID is not supported
446
+ # (00000000-0000-0000-0000-000000000000).
340
447
  # @param zone [::String]
341
448
  # The name of the zone for this request.
342
449
  # @yield [result, operation] Access the result along with the TransportOperation object
@@ -490,7 +597,8 @@ module Google
490
597
  end
491
598
 
492
599
  ##
493
- # Gets the access control policy for a resource. May be empty if no such policy or resource exists.
600
+ # Gets the access control policy for a resource. May be empty if no such
601
+ # policy or resource exists.
494
602
  #
495
603
  # @overload get_iam_policy(request, options = nil)
496
604
  # Pass arguments to `get_iam_policy` via a request object, either of type
@@ -596,7 +704,19 @@ module Google
596
704
  # @param project [::String]
597
705
  # Project ID for this request.
598
706
  # @param request_id [::String]
599
- # 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).
707
+ # An optional request ID to identify requests. Specify a unique request ID so
708
+ # that if you must retry your request, the server will know to ignore the
709
+ # request if it has already been completed.
710
+ #
711
+ # For example, consider a situation where you make an initial request and
712
+ # the request times out. If you make the request again with the same
713
+ # request ID, the server can check if original operation with the same
714
+ # request ID was received, and if so, will ignore the second request. This
715
+ # prevents clients from accidentally creating duplicate commitments.
716
+ #
717
+ # The request ID must be
718
+ # a valid UUID with the exception that zero UUID is not supported
719
+ # (00000000-0000-0000-0000-000000000000).
600
720
  # @param zone [::String]
601
721
  # Name of the zone for this request.
602
722
  # @yield [result, operation] Access the result along with the TransportOperation object
@@ -668,7 +788,8 @@ module Google
668
788
  end
669
789
 
670
790
  ##
671
- # Retrieves the list of InstantSnapshot resources contained within the specified zone.
791
+ # Retrieves the list of InstantSnapshot resources contained within
792
+ # the specified zone.
672
793
  #
673
794
  # @overload list(request, options = nil)
674
795
  # Pass arguments to `list` via a request object, either of type
@@ -686,17 +807,95 @@ module Google
686
807
  # the default parameter values, pass an empty Hash as a request object (see above).
687
808
  #
688
809
  # @param filter [::String]
689
- # 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.
810
+ # A filter expression that filters resources listed in the response. Most
811
+ # Compute resources support two types of filter expressions:
812
+ # expressions that support regular expressions and expressions that follow
813
+ # API improvement proposal AIP-160.
814
+ # These two types of filter expressions cannot be mixed in one request.
815
+ #
816
+ # If you want to use AIP-160, your expression must specify the field name, an
817
+ # operator, and the value that you want to use for filtering. The value
818
+ # must be a string, a number, or a boolean. The operator
819
+ # must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.
820
+ #
821
+ # For example, if you are filtering Compute Engine instances, you can
822
+ # exclude instances named `example-instance` by specifying
823
+ # `name != example-instance`.
824
+ #
825
+ # The `:*` comparison can be used to test whether a key has been defined.
826
+ # For example, to find all objects with `owner` label use:
827
+ # ```
828
+ # labels.owner:*
829
+ # ```
830
+ #
831
+ # You can also filter nested fields. For example, you could specify
832
+ # `scheduling.automaticRestart = false` to include instances only
833
+ # if they are not scheduled for automatic restarts. You can use filtering
834
+ # on nested fields to filter based onresource labels.
835
+ #
836
+ # To filter on multiple expressions, provide each separate expression within
837
+ # parentheses. For example:
838
+ # ```
839
+ # (scheduling.automaticRestart = true)
840
+ # (cpuPlatform = "Intel Skylake")
841
+ # ```
842
+ # By default, each expression is an `AND` expression. However, you
843
+ # can include `AND` and `OR` expressions explicitly.
844
+ # For example:
845
+ # ```
846
+ # (cpuPlatform = "Intel Skylake") OR
847
+ # (cpuPlatform = "Intel Broadwell") AND
848
+ # (scheduling.automaticRestart = true)
849
+ # ```
850
+ #
851
+ # If you want to use a regular expression, use the `eq` (equal) or `ne`
852
+ # (not equal) operator against a single un-parenthesized expression with or
853
+ # without quotes or against multiple parenthesized expressions. Examples:
854
+ #
855
+ # `fieldname eq unquoted literal`
856
+ # `fieldname eq 'single quoted literal'`
857
+ # `fieldname eq "double quoted literal"`
858
+ # `(fieldname1 eq literal) (fieldname2 ne "literal")`
859
+ #
860
+ # The literal value is interpreted as a regular expression using GoogleRE2 library syntax.
861
+ # The literal value must match the entire field.
862
+ #
863
+ # For example, to filter for instances that do not end with name "instance",
864
+ # you would use `name ne .*instance`.
865
+ #
866
+ # You cannot combine constraints on multiple fields using regular
867
+ # expressions.
690
868
  # @param max_results [::Integer]
691
- # 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`)
869
+ # The maximum number of results per page that should be returned.
870
+ # If the number of available results is larger than `maxResults`,
871
+ # Compute Engine returns a `nextPageToken` that can be used to get
872
+ # the next page of results in subsequent list requests. Acceptable values are
873
+ # `0` to `500`, inclusive. (Default: `500`)
692
874
  # @param order_by [::String]
693
- # 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.
875
+ # Sorts list results by a certain order. By default, results
876
+ # are returned in alphanumerical order based on the resource name.
877
+ #
878
+ # You can also sort results in descending order based on the creation
879
+ # timestamp using `orderBy="creationTimestamp desc"`. This sorts
880
+ # results based on the `creationTimestamp` field in
881
+ # reverse chronological order (newest result first). Use this to sort
882
+ # resources like operations so that the newest operation is returned first.
883
+ #
884
+ # Currently, only sorting by `name` or
885
+ # `creationTimestamp desc` is supported.
694
886
  # @param page_token [::String]
695
- # Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.
887
+ # Specifies a page token to use. Set `pageToken` to the
888
+ # `nextPageToken` returned by a previous list request to get
889
+ # the next page of results.
696
890
  # @param project [::String]
697
891
  # Project ID for this request.
698
892
  # @param return_partial_success [::Boolean]
699
- # 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.
893
+ # Opt-in for partial success behavior which provides partial results in case
894
+ # of failure. The default value is false.
895
+ #
896
+ # For example, when partial success behavior is enabled, aggregatedList for a
897
+ # single zone scope either returns all resources in the zone or no resources,
898
+ # with an error code.
700
899
  # @param zone [::String]
701
900
  # The name of the zone for this request.
702
901
  # @yield [result, operation] Access the result along with the TransportOperation object
@@ -760,7 +959,8 @@ module Google
760
959
  end
761
960
 
762
961
  ##
763
- # Sets the access control policy on the specified resource. Replaces any existing policy.
962
+ # Sets the access control policy on the specified resource.
963
+ # Replaces any existing policy.
764
964
  #
765
965
  # @overload set_iam_policy(request, options = nil)
766
966
  # Pass arguments to `set_iam_policy` via a request object, either of type
@@ -844,7 +1044,9 @@ module Google
844
1044
  end
845
1045
 
846
1046
  ##
847
- # Sets the labels on a instantSnapshot in the given zone. To learn more about labels, read the Labeling Resources documentation.
1047
+ # Sets the labels on a instantSnapshot in the given zone. To learn more about
1048
+ # labels, read the Labeling
1049
+ # Resources documentation.
848
1050
  #
849
1051
  # @overload set_labels(request, options = nil)
850
1052
  # Pass arguments to `set_labels` via a request object, either of type
@@ -864,7 +1066,19 @@ module Google
864
1066
  # @param project [::String]
865
1067
  # Project ID for this request.
866
1068
  # @param request_id [::String]
867
- # 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).
1069
+ # An optional request ID to identify requests. Specify a unique request ID so
1070
+ # that if you must retry your request, the server will know to ignore the
1071
+ # request if it has already been completed.
1072
+ #
1073
+ # For example, consider a situation where you make an initial request and
1074
+ # the request times out. If you make the request again with the same
1075
+ # request ID, the server can check if original operation with the same
1076
+ # request ID was received, and if so, will ignore the second request. This
1077
+ # prevents clients from accidentally creating duplicate commitments.
1078
+ #
1079
+ # The request ID must be
1080
+ # a valid UUID with the exception that zero UUID is not supported
1081
+ # (00000000-0000-0000-0000-000000000000).
868
1082
  # @param resource [::String]
869
1083
  # Name or id of the resource for this request.
870
1084
  # @param zone [::String]
@@ -242,7 +242,20 @@ module Google
242
242
  # @param project [::String]
243
243
  # Project ID for this request.
244
244
  # @param request_id [::String]
245
- # An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). end_interface: MixerMutationRequestBuilder
245
+ # An optional request ID to identify requests. Specify a unique request ID so
246
+ # that if you must retry your request, the server will know to ignore the
247
+ # request if it has already been completed.
248
+ #
249
+ # For example, consider a situation where you make an initial request and
250
+ # the request times out. If you make the request again with the same
251
+ # request ID, the server can check if original operation with the same
252
+ # request ID was received, and if so, will ignore the second request. This
253
+ # prevents clients from accidentally creating duplicate commitments.
254
+ #
255
+ # The request ID must be
256
+ # a valid UUID with the exception that zero UUID is not supported
257
+ # (00000000-0000-0000-0000-000000000000).
258
+ # end_interface: MixerMutationRequestBuilder
246
259
  # @yield [result, operation] Access the result along with the TransportOperation object
247
260
  # @yieldparam result [::Gapic::GenericLRO::Operation]
248
261
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
@@ -311,7 +324,8 @@ module Google
311
324
  end
312
325
 
313
326
  ##
314
- # Returns the specified InterconnectAttachmentGroup resource in the given scope.
327
+ # Returns the specified InterconnectAttachmentGroup resource in the given
328
+ # scope.
315
329
  #
316
330
  # @overload get(request, options = nil)
317
331
  # Pass arguments to `get` via a request object, either of type
@@ -391,7 +405,8 @@ module Google
391
405
  end
392
406
 
393
407
  ##
394
- # Gets the access control policy for a resource. May be empty if no such policy or resource exists.
408
+ # Gets the access control policy for a resource. May be empty if no such
409
+ # policy or resource exists.
395
410
  #
396
411
  # @overload get_iam_policy(request, options = nil)
397
412
  # Pass arguments to `get_iam_policy` via a request object, either of type
@@ -473,7 +488,8 @@ module Google
473
488
  end
474
489
 
475
490
  ##
476
- # Returns the InterconnectAttachmentStatuses for the specified InterconnectAttachmentGroup resource.
491
+ # Returns the InterconnectAttachmentStatuses for the specified
492
+ # InterconnectAttachmentGroup resource.
477
493
  #
478
494
  # @overload get_operational_status(request, options = nil)
479
495
  # Pass arguments to `get_operational_status` via a request object, either of type
@@ -553,7 +569,8 @@ module Google
553
569
  end
554
570
 
555
571
  ##
556
- # Creates a InterconnectAttachmentGroup in the specified project in the given scope using the parameters that are included in the request.
572
+ # Creates a InterconnectAttachmentGroup in the specified project in the given
573
+ # scope using the parameters that are included in the request.
557
574
  #
558
575
  # @overload insert(request, options = nil)
559
576
  # Pass arguments to `insert` via a request object, either of type
@@ -575,7 +592,20 @@ module Google
575
592
  # @param project [::String]
576
593
  # Project ID for this request.
577
594
  # @param request_id [::String]
578
- # An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). end_interface: MixerMutationRequestBuilder
595
+ # An optional request ID to identify requests. Specify a unique request ID so
596
+ # that if you must retry your request, the server will know to ignore the
597
+ # request if it has already been completed.
598
+ #
599
+ # For example, consider a situation where you make an initial request and
600
+ # the request times out. If you make the request again with the same
601
+ # request ID, the server can check if original operation with the same
602
+ # request ID was received, and if so, will ignore the second request. This
603
+ # prevents clients from accidentally creating duplicate commitments.
604
+ #
605
+ # The request ID must be
606
+ # a valid UUID with the exception that zero UUID is not supported
607
+ # (00000000-0000-0000-0000-000000000000).
608
+ # end_interface: MixerMutationRequestBuilder
579
609
  # @yield [result, operation] Access the result along with the TransportOperation object
580
610
  # @yieldparam result [::Gapic::GenericLRO::Operation]
581
611
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
@@ -662,17 +692,95 @@ module Google
662
692
  # the default parameter values, pass an empty Hash as a request object (see above).
663
693
  #
664
694
  # @param filter [::String]
665
- # 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.
695
+ # A filter expression that filters resources listed in the response. Most
696
+ # Compute resources support two types of filter expressions:
697
+ # expressions that support regular expressions and expressions that follow
698
+ # API improvement proposal AIP-160.
699
+ # These two types of filter expressions cannot be mixed in one request.
700
+ #
701
+ # If you want to use AIP-160, your expression must specify the field name, an
702
+ # operator, and the value that you want to use for filtering. The value
703
+ # must be a string, a number, or a boolean. The operator
704
+ # must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.
705
+ #
706
+ # For example, if you are filtering Compute Engine instances, you can
707
+ # exclude instances named `example-instance` by specifying
708
+ # `name != example-instance`.
709
+ #
710
+ # The `:*` comparison can be used to test whether a key has been defined.
711
+ # For example, to find all objects with `owner` label use:
712
+ # ```
713
+ # labels.owner:*
714
+ # ```
715
+ #
716
+ # You can also filter nested fields. For example, you could specify
717
+ # `scheduling.automaticRestart = false` to include instances only
718
+ # if they are not scheduled for automatic restarts. You can use filtering
719
+ # on nested fields to filter based onresource labels.
720
+ #
721
+ # To filter on multiple expressions, provide each separate expression within
722
+ # parentheses. For example:
723
+ # ```
724
+ # (scheduling.automaticRestart = true)
725
+ # (cpuPlatform = "Intel Skylake")
726
+ # ```
727
+ # By default, each expression is an `AND` expression. However, you
728
+ # can include `AND` and `OR` expressions explicitly.
729
+ # For example:
730
+ # ```
731
+ # (cpuPlatform = "Intel Skylake") OR
732
+ # (cpuPlatform = "Intel Broadwell") AND
733
+ # (scheduling.automaticRestart = true)
734
+ # ```
735
+ #
736
+ # If you want to use a regular expression, use the `eq` (equal) or `ne`
737
+ # (not equal) operator against a single un-parenthesized expression with or
738
+ # without quotes or against multiple parenthesized expressions. Examples:
739
+ #
740
+ # `fieldname eq unquoted literal`
741
+ # `fieldname eq 'single quoted literal'`
742
+ # `fieldname eq "double quoted literal"`
743
+ # `(fieldname1 eq literal) (fieldname2 ne "literal")`
744
+ #
745
+ # The literal value is interpreted as a regular expression using GoogleRE2 library syntax.
746
+ # The literal value must match the entire field.
747
+ #
748
+ # For example, to filter for instances that do not end with name "instance",
749
+ # you would use `name ne .*instance`.
750
+ #
751
+ # You cannot combine constraints on multiple fields using regular
752
+ # expressions.
666
753
  # @param max_results [::Integer]
667
- # 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`)
754
+ # The maximum number of results per page that should be returned.
755
+ # If the number of available results is larger than `maxResults`,
756
+ # Compute Engine returns a `nextPageToken` that can be used to get
757
+ # the next page of results in subsequent list requests. Acceptable values are
758
+ # `0` to `500`, inclusive. (Default: `500`)
668
759
  # @param order_by [::String]
669
- # 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.
760
+ # Sorts list results by a certain order. By default, results
761
+ # are returned in alphanumerical order based on the resource name.
762
+ #
763
+ # You can also sort results in descending order based on the creation
764
+ # timestamp using `orderBy="creationTimestamp desc"`. This sorts
765
+ # results based on the `creationTimestamp` field in
766
+ # reverse chronological order (newest result first). Use this to sort
767
+ # resources like operations so that the newest operation is returned first.
768
+ #
769
+ # Currently, only sorting by `name` or
770
+ # `creationTimestamp desc` is supported.
670
771
  # @param page_token [::String]
671
- # Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.
772
+ # Specifies a page token to use. Set `pageToken` to the
773
+ # `nextPageToken` returned by a previous list request to get
774
+ # the next page of results.
672
775
  # @param project [::String]
673
776
  # Project ID for this request.
674
777
  # @param return_partial_success [::Boolean]
675
- # 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.
778
+ # Opt-in for partial success behavior which provides partial results in case
779
+ # of failure. The default value is false.
780
+ #
781
+ # For example, when partial success behavior is enabled, aggregatedList for a
782
+ # single zone scope either returns all resources in the zone or no resources,
783
+ # with an error code.
676
784
  # @yield [result, operation] Access the result along with the TransportOperation object
677
785
  # @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Compute::V1::InterconnectAttachmentGroup>]
678
786
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
@@ -734,7 +842,10 @@ module Google
734
842
  end
735
843
 
736
844
  ##
737
- # Patches the specified InterconnectAttachmentGroup resource with the data included in the request. This method supports PATCH semantics and uses JSON merge patch format and processing rules.
845
+ # Patches the specified InterconnectAttachmentGroup resource with the data
846
+ # included in the request. This method supports PATCH
847
+ # semantics and usesJSON merge
848
+ # patch format and processing rules.
738
849
  #
739
850
  # @overload patch(request, options = nil)
740
851
  # Pass arguments to `patch` via a request object, either of type
@@ -758,7 +869,20 @@ module Google
758
869
  # @param project [::String]
759
870
  # Project ID for this request.
760
871
  # @param request_id [::String]
761
- # An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). end_interface: MixerMutationRequestBuilder
872
+ # An optional request ID to identify requests. Specify a unique request ID so
873
+ # that if you must retry your request, the server will know to ignore the
874
+ # request if it has already been completed.
875
+ #
876
+ # For example, consider a situation where you make an initial request and
877
+ # the request times out. If you make the request again with the same
878
+ # request ID, the server can check if original operation with the same
879
+ # request ID was received, and if so, will ignore the second request. This
880
+ # prevents clients from accidentally creating duplicate commitments.
881
+ #
882
+ # The request ID must be
883
+ # a valid UUID with the exception that zero UUID is not supported
884
+ # (00000000-0000-0000-0000-000000000000).
885
+ # end_interface: MixerMutationRequestBuilder
762
886
  # @param update_mask [::String]
763
887
  # The list of fields to update.
764
888
  # @yield [result, operation] Access the result along with the TransportOperation object
@@ -829,7 +953,8 @@ module Google
829
953
  end
830
954
 
831
955
  ##
832
- # Sets the access control policy on the specified resource. Replaces any existing policy.
956
+ # Sets the access control policy on the specified resource.
957
+ # Replaces any existing policy.
833
958
  #
834
959
  # @overload set_iam_policy(request, options = nil)
835
960
  # Pass arguments to `set_iam_policy` via a request object, either of type