google-cloud-compute-v1 3.3.0 → 3.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (182) 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 +330 -20
  4. data/lib/google/cloud/compute/v1/addresses/rest/service_stub.rb +64 -0
  5. data/lib/google/cloud/compute/v1/advice/credentials.rb +52 -0
  6. data/lib/google/cloud/compute/v1/advice/rest/client.rb +431 -0
  7. data/lib/google/cloud/compute/v1/advice/rest/service_stub.rb +144 -0
  8. data/lib/google/cloud/compute/v1/advice/rest.rb +51 -0
  9. data/lib/google/cloud/compute/v1/advice.rb +47 -0
  10. data/lib/google/cloud/compute/v1/autoscalers/rest/client.rb +334 -21
  11. data/lib/google/cloud/compute/v1/autoscalers/rest/service_stub.rb +64 -0
  12. data/lib/google/cloud/compute/v1/backend_buckets/rest/client.rb +198 -23
  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 +281 -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 +390 -42
  23. data/lib/google/cloud/compute/v1/external_vpn_gateways/rest/client.rb +118 -11
  24. data/lib/google/cloud/compute/v1/firewall_policies/rest/client.rb +240 -25
  25. data/lib/google/cloud/compute/v1/firewalls/rest/client.rb +238 -13
  26. data/lib/google/cloud/compute/v1/firewalls/rest/service_stub.rb +63 -0
  27. data/lib/google/cloud/compute/v1/forwarding_rules/rest/client.rb +258 -23
  28. data/lib/google/cloud/compute/v1/future_reservations/credentials.rb +52 -0
  29. data/lib/google/cloud/compute/v1/future_reservations/rest/client.rb +1287 -0
  30. data/lib/google/cloud/compute/v1/future_reservations/rest/service_stub.rb +520 -0
  31. data/lib/google/cloud/compute/v1/future_reservations/rest.rb +51 -0
  32. data/lib/google/cloud/compute/v1/future_reservations.rb +47 -0
  33. data/lib/google/cloud/compute/v1/global_addresses/rest/client.rb +217 -10
  34. data/lib/google/cloud/compute/v1/global_addresses/rest/service_stub.rb +63 -0
  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 +473 -40
  47. data/lib/google/cloud/compute/v1/instance_groups/rest/service_stub.rb +64 -0
  48. data/lib/google/cloud/compute/v1/instance_settings_service/rest/client.rb +13 -1
  49. data/lib/google/cloud/compute/v1/instance_templates/rest/client.rb +220 -20
  50. data/lib/google/cloud/compute/v1/instances/rest/client.rb +1144 -99
  51. data/lib/google/cloud/compute/v1/instances/rest/service_stub.rb +127 -0
  52. data/lib/google/cloud/compute/v1/instant_snapshots/rest/client.rb +235 -21
  53. data/lib/google/cloud/compute/v1/interconnect_attachment_groups/rest/client.rb +139 -14
  54. data/lib/google/cloud/compute/v1/interconnect_attachments/rest/client.rb +242 -21
  55. data/lib/google/cloud/compute/v1/interconnect_groups/rest/client.rb +139 -14
  56. data/lib/google/cloud/compute/v1/interconnect_locations/rest/client.rb +87 -7
  57. data/lib/google/cloud/compute/v1/interconnect_remote_locations/rest/client.rb +87 -7
  58. data/lib/google/cloud/compute/v1/interconnects/rest/client.rb +145 -14
  59. data/lib/google/cloud/compute/v1/license_codes/rest/client.rb +9 -2
  60. data/lib/google/cloud/compute/v1/licenses/rest/client.rb +161 -16
  61. data/lib/google/cloud/compute/v1/machine_images/rest/client.rb +124 -13
  62. data/lib/google/cloud/compute/v1/machine_types/rest/client.rb +181 -14
  63. data/lib/google/cloud/compute/v1/network_attachments/rest/client.rb +232 -20
  64. data/lib/google/cloud/compute/v1/network_edge_security_services/rest/client.rb +138 -12
  65. data/lib/google/cloud/compute/v1/network_endpoint_groups/rest/client.rb +361 -37
  66. data/lib/google/cloud/compute/v1/network_firewall_policies/rest/client.rb +354 -33
  67. data/lib/google/cloud/compute/v1/network_profiles/rest/client.rb +85 -6
  68. data/lib/google/cloud/compute/v1/networks/rest/client.rb +281 -23
  69. data/lib/google/cloud/compute/v1/node_groups/rest/client.rb +381 -32
  70. data/lib/google/cloud/compute/v1/node_templates/rest/client.rb +213 -19
  71. data/lib/google/cloud/compute/v1/node_types/rest/client.rb +181 -14
  72. data/lib/google/cloud/compute/v1/organization_security_policies/credentials.rb +52 -0
  73. data/lib/google/cloud/compute/v1/organization_security_policies/rest/client.rb +2259 -0
  74. data/lib/google/cloud/compute/v1/organization_security_policies/rest/service_stub.rb +1054 -0
  75. data/lib/google/cloud/compute/v1/organization_security_policies/rest.rb +51 -0
  76. data/lib/google/cloud/compute/v1/organization_security_policies.rb +47 -0
  77. data/lib/google/cloud/compute/v1/packet_mirrorings/rest/client.rb +226 -19
  78. data/lib/google/cloud/compute/v1/preview_features/credentials.rb +52 -0
  79. data/lib/google/cloud/compute/v1/preview_features/rest/client.rb +739 -0
  80. data/lib/google/cloud/compute/v1/preview_features/rest/service_stub.rb +267 -0
  81. data/lib/google/cloud/compute/v1/preview_features/rest.rb +51 -0
  82. data/lib/google/cloud/compute/v1/preview_features.rb +47 -0
  83. data/lib/google/cloud/compute/v1/projects/rest/client.rb +346 -30
  84. data/lib/google/cloud/compute/v1/public_advertised_prefixes/rest/client.rb +154 -12
  85. data/lib/google/cloud/compute/v1/public_delegated_prefixes/rest/client.rb +255 -22
  86. data/lib/google/cloud/compute/v1/region_autoscalers/rest/client.rb +238 -13
  87. data/lib/google/cloud/compute/v1/region_autoscalers/rest/service_stub.rb +64 -0
  88. data/lib/google/cloud/compute/v1/region_backend_services/rest/client.rb +260 -26
  89. data/lib/google/cloud/compute/v1/region_commitments/rest/client.rb +212 -18
  90. data/lib/google/cloud/compute/v1/region_composite_health_checks/credentials.rb +52 -0
  91. data/lib/google/cloud/compute/v1/region_composite_health_checks/rest/client.rb +1268 -0
  92. data/lib/google/cloud/compute/v1/region_composite_health_checks/rest/service_stub.rb +521 -0
  93. data/lib/google/cloud/compute/v1/region_composite_health_checks/rest.rb +51 -0
  94. data/lib/google/cloud/compute/v1/region_composite_health_checks.rb +47 -0
  95. data/lib/google/cloud/compute/v1/region_disk_types/rest/client.rb +83 -5
  96. data/lib/google/cloud/compute/v1/region_disks/rest/client.rb +269 -29
  97. data/lib/google/cloud/compute/v1/region_health_aggregation_policies/credentials.rb +52 -0
  98. data/lib/google/cloud/compute/v1/region_health_aggregation_policies/rest/client.rb +1268 -0
  99. data/lib/google/cloud/compute/v1/region_health_aggregation_policies/rest/service_stub.rb +521 -0
  100. data/lib/google/cloud/compute/v1/region_health_aggregation_policies/rest.rb +51 -0
  101. data/lib/google/cloud/compute/v1/region_health_aggregation_policies.rb +47 -0
  102. data/lib/google/cloud/compute/v1/region_health_check_services/rest/client.rb +427 -17
  103. data/lib/google/cloud/compute/v1/region_health_check_services/rest/service_stub.rb +125 -0
  104. data/lib/google/cloud/compute/v1/region_health_checks/rest/client.rb +238 -13
  105. data/lib/google/cloud/compute/v1/region_health_checks/rest/service_stub.rb +64 -0
  106. data/lib/google/cloud/compute/v1/region_health_sources/credentials.rb +52 -0
  107. data/lib/google/cloud/compute/v1/region_health_sources/rest/client.rb +1268 -0
  108. data/lib/google/cloud/compute/v1/region_health_sources/rest/service_stub.rb +521 -0
  109. data/lib/google/cloud/compute/v1/region_health_sources/rest.rb +51 -0
  110. data/lib/google/cloud/compute/v1/region_health_sources.rb +47 -0
  111. data/lib/google/cloud/compute/v1/region_instance_group_managers/rest/client.rb +750 -64
  112. data/lib/google/cloud/compute/v1/region_instance_groups/rest/client.rb +280 -14
  113. data/lib/google/cloud/compute/v1/region_instance_groups/rest/service_stub.rb +64 -0
  114. data/lib/google/cloud/compute/v1/region_instance_templates/rest/client.rb +115 -10
  115. data/lib/google/cloud/compute/v1/region_instances/rest/client.rb +15 -2
  116. data/lib/google/cloud/compute/v1/region_instant_snapshots/rest/client.rb +139 -13
  117. data/lib/google/cloud/compute/v1/region_network_endpoint_groups/rest/client.rb +264 -28
  118. data/lib/google/cloud/compute/v1/region_network_firewall_policies/rest/client.rb +213 -20
  119. data/lib/google/cloud/compute/v1/region_notification_endpoints/rest/client.rb +399 -11
  120. data/lib/google/cloud/compute/v1/region_notification_endpoints/rest/service_stub.rb +125 -0
  121. data/lib/google/cloud/compute/v1/region_operations/rest/client.rb +107 -10
  122. data/lib/google/cloud/compute/v1/region_security_policies/rest/client.rb +149 -14
  123. data/lib/google/cloud/compute/v1/region_ssl_certificates/rest/client.rb +116 -10
  124. data/lib/google/cloud/compute/v1/region_ssl_policies/rest/client.rb +220 -20
  125. data/lib/google/cloud/compute/v1/region_target_http_proxies/rest/client.rb +126 -10
  126. data/lib/google/cloud/compute/v1/region_target_https_proxies/rest/client.rb +158 -14
  127. data/lib/google/cloud/compute/v1/region_target_tcp_proxies/rest/client.rb +113 -9
  128. data/lib/google/cloud/compute/v1/region_url_maps/rest/client.rb +104 -14
  129. data/lib/google/cloud/compute/v1/region_zones/rest/client.rb +85 -6
  130. data/lib/google/cloud/compute/v1/regions/rest/client.rb +120 -7
  131. data/lib/google/cloud/compute/v1/reservation_blocks/rest/client.rb +396 -11
  132. data/lib/google/cloud/compute/v1/reservation_blocks/rest/service_stub.rb +194 -0
  133. data/lib/google/cloud/compute/v1/reservation_slots/credentials.rb +52 -0
  134. data/lib/google/cloud/compute/v1/reservation_slots/rest/client.rb +863 -0
  135. data/lib/google/cloud/compute/v1/reservation_slots/rest/service_stub.rb +338 -0
  136. data/lib/google/cloud/compute/v1/reservation_slots/rest.rb +51 -0
  137. data/lib/google/cloud/compute/v1/reservation_slots.rb +47 -0
  138. data/lib/google/cloud/compute/v1/reservation_sub_blocks/rest/client.rb +642 -12
  139. data/lib/google/cloud/compute/v1/reservation_sub_blocks/rest/service_stub.rb +327 -3
  140. data/lib/google/cloud/compute/v1/reservations/rest/client.rb +257 -24
  141. data/lib/google/cloud/compute/v1/resource_policies/rest/client.rb +224 -19
  142. data/lib/google/cloud/compute/v1/rest.rb +10 -0
  143. data/lib/google/cloud/compute/v1/routers/rest/client.rb +555 -50
  144. data/lib/google/cloud/compute/v1/routes/rest/client.rb +202 -8
  145. data/lib/google/cloud/compute/v1/routes/rest/service_stub.rb +63 -0
  146. data/lib/google/cloud/compute/v1/security_policies/rest/client.rb +316 -26
  147. data/lib/google/cloud/compute/v1/service_attachments/rest/client.rb +234 -22
  148. data/lib/google/cloud/compute/v1/snapshot_settings_service/rest/client.rb +13 -1
  149. data/lib/google/cloud/compute/v1/snapshots/rest/client.rb +130 -13
  150. data/lib/google/cloud/compute/v1/ssl_certificates/rest/client.rb +210 -17
  151. data/lib/google/cloud/compute/v1/ssl_policies/rest/client.rb +315 -27
  152. data/lib/google/cloud/compute/v1/storage_pool_types/rest/client.rb +181 -14
  153. data/lib/google/cloud/compute/v1/storage_pools/rest/client.rb +321 -28
  154. data/lib/google/cloud/compute/v1/subnetworks/rest/client.rb +378 -34
  155. data/lib/google/cloud/compute/v1/target_grpc_proxies/rest/client.rb +128 -10
  156. data/lib/google/cloud/compute/v1/target_http_proxies/rest/client.rb +240 -20
  157. data/lib/google/cloud/compute/v1/target_https_proxies/rest/client.rb +306 -30
  158. data/lib/google/cloud/compute/v1/target_instances/rest/client.rb +320 -20
  159. data/lib/google/cloud/compute/v1/target_instances/rest/service_stub.rb +64 -0
  160. data/lib/google/cloud/compute/v1/target_pools/rest/client.rb +387 -26
  161. data/lib/google/cloud/compute/v1/target_pools/rest/service_stub.rb +64 -0
  162. data/lib/google/cloud/compute/v1/target_ssl_proxies/rest/client.rb +281 -19
  163. data/lib/google/cloud/compute/v1/target_ssl_proxies/rest/service_stub.rb +63 -0
  164. data/lib/google/cloud/compute/v1/target_tcp_proxies/rest/client.rb +329 -20
  165. data/lib/google/cloud/compute/v1/target_tcp_proxies/rest/service_stub.rb +63 -0
  166. data/lib/google/cloud/compute/v1/target_vpn_gateways/rest/client.rb +224 -19
  167. data/lib/google/cloud/compute/v1/url_maps/rest/client.rb +354 -24
  168. data/lib/google/cloud/compute/v1/url_maps/rest/service_stub.rb +63 -0
  169. data/lib/google/cloud/compute/v1/version.rb +1 -1
  170. data/lib/google/cloud/compute/v1/vpn_gateways/rest/client.rb +224 -19
  171. data/lib/google/cloud/compute/v1/vpn_tunnels/rest/client.rb +224 -19
  172. data/lib/google/cloud/compute/v1/wire_groups/credentials.rb +52 -0
  173. data/lib/google/cloud/compute/v1/wire_groups/rest/client.rb +980 -0
  174. data/lib/google/cloud/compute/v1/wire_groups/rest/service_stub.rb +396 -0
  175. data/lib/google/cloud/compute/v1/wire_groups/rest.rb +51 -0
  176. data/lib/google/cloud/compute/v1/wire_groups.rb +47 -0
  177. data/lib/google/cloud/compute/v1/zone_operations/rest/client.rb +106 -10
  178. data/lib/google/cloud/compute/v1/zones/rest/client.rb +83 -5
  179. data/lib/google/cloud/compute/v1.rb +10 -0
  180. data/proto_docs/google/api/client.rb +149 -29
  181. data/proto_docs/google/cloud/compute/v1/compute.rb +44226 -5514
  182. metadata +52 -2
@@ -194,7 +194,10 @@ module Google
194
194
  # Service calls
195
195
 
196
196
  ##
197
- # Retrieves an aggregated list of all operations. To prevent failure, Google recommends that you set the `returnPartialSuccess` parameter to `true`.
197
+ # Retrieves an aggregated list of all operations.
198
+ #
199
+ # To prevent failure, Google recommends that you set the
200
+ # `returnPartialSuccess` parameter to `true`.
198
201
  #
199
202
  # @overload aggregated_list(request, options = nil)
200
203
  # Pass arguments to `aggregated_list` via a request object, either of type
@@ -212,21 +215,106 @@ module Google
212
215
  # the default parameter values, pass an empty Hash as a request object (see above).
213
216
  #
214
217
  # @param filter [::String]
215
- # 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.
218
+ # A filter expression that filters resources listed in the response. Most
219
+ # Compute resources support two types of filter expressions:
220
+ # expressions that support regular expressions and expressions that follow
221
+ # API improvement proposal AIP-160.
222
+ # These two types of filter expressions cannot be mixed in one request.
223
+ #
224
+ # If you want to use AIP-160, your expression must specify the field name, an
225
+ # operator, and the value that you want to use for filtering. The value
226
+ # must be a string, a number, or a boolean. The operator
227
+ # must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.
228
+ #
229
+ # For example, if you are filtering Compute Engine instances, you can
230
+ # exclude instances named `example-instance` by specifying
231
+ # `name != example-instance`.
232
+ #
233
+ # The `:*` comparison can be used to test whether a key has been defined.
234
+ # For example, to find all objects with `owner` label use:
235
+ # ```
236
+ # labels.owner:*
237
+ # ```
238
+ #
239
+ # You can also filter nested fields. For example, you could specify
240
+ # `scheduling.automaticRestart = false` to include instances only
241
+ # if they are not scheduled for automatic restarts. You can use filtering
242
+ # on nested fields to filter based onresource labels.
243
+ #
244
+ # To filter on multiple expressions, provide each separate expression within
245
+ # parentheses. For example:
246
+ # ```
247
+ # (scheduling.automaticRestart = true)
248
+ # (cpuPlatform = "Intel Skylake")
249
+ # ```
250
+ # By default, each expression is an `AND` expression. However, you
251
+ # can include `AND` and `OR` expressions explicitly.
252
+ # For example:
253
+ # ```
254
+ # (cpuPlatform = "Intel Skylake") OR
255
+ # (cpuPlatform = "Intel Broadwell") AND
256
+ # (scheduling.automaticRestart = true)
257
+ # ```
258
+ #
259
+ # If you want to use a regular expression, use the `eq` (equal) or `ne`
260
+ # (not equal) operator against a single un-parenthesized expression with or
261
+ # without quotes or against multiple parenthesized expressions. Examples:
262
+ #
263
+ # `fieldname eq unquoted literal`
264
+ # `fieldname eq 'single quoted literal'`
265
+ # `fieldname eq "double quoted literal"`
266
+ # `(fieldname1 eq literal) (fieldname2 ne "literal")`
267
+ #
268
+ # The literal value is interpreted as a regular expression using GoogleRE2 library syntax.
269
+ # The literal value must match the entire field.
270
+ #
271
+ # For example, to filter for instances that do not end with name "instance",
272
+ # you would use `name ne .*instance`.
273
+ #
274
+ # You cannot combine constraints on multiple fields using regular
275
+ # expressions.
216
276
  # @param include_all_scopes [::Boolean]
217
- # 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.
277
+ # Indicates whether every visible scope for each scope type (zone, region,
278
+ # global) should be included in the response. For new resource types added
279
+ # after this field, the flag has no effect as new resource types will always
280
+ # include every visible scope for each scope type in response. For resource
281
+ # types which predate this field, if this flag is omitted or false, only
282
+ # scopes of the scope types where the resource type is expected to be found
283
+ # will be included.
218
284
  # @param max_results [::Integer]
219
- # 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`)
285
+ # The maximum number of results per page that should be returned.
286
+ # If the number of available results is larger than `maxResults`,
287
+ # Compute Engine returns a `nextPageToken` that can be used to get
288
+ # the next page of results in subsequent list requests. Acceptable values are
289
+ # `0` to `500`, inclusive. (Default: `500`)
220
290
  # @param order_by [::String]
221
- # 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.
291
+ # Sorts list results by a certain order. By default, results
292
+ # are returned in alphanumerical order based on the resource name.
293
+ #
294
+ # You can also sort results in descending order based on the creation
295
+ # timestamp using `orderBy="creationTimestamp desc"`. This sorts
296
+ # results based on the `creationTimestamp` field in
297
+ # reverse chronological order (newest result first). Use this to sort
298
+ # resources like operations so that the newest operation is returned first.
299
+ #
300
+ # Currently, only sorting by `name` or
301
+ # `creationTimestamp desc` is supported.
222
302
  # @param page_token [::String]
223
- # Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.
303
+ # Specifies a page token to use. Set `pageToken` to the
304
+ # `nextPageToken` returned by a previous list request to get
305
+ # the next page of results.
224
306
  # @param project [::String]
225
307
  # Project ID for this request.
226
308
  # @param return_partial_success [::Boolean]
227
- # 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.
309
+ # Opt-in for partial success behavior which provides partial results in case
310
+ # of failure. The default value is false.
311
+ #
312
+ # For example, when partial success behavior is enabled, aggregatedList for a
313
+ # single zone scope either returns all resources in the zone or no resources,
314
+ # with an error code.
228
315
  # @param service_project_number [::Integer]
229
- # The Shared VPC service project id or service project number for which aggregated list request is invoked for subnetworks list-usable api.
316
+ # The Shared VPC service project id or service project number for which
317
+ # aggregated list request is invoked for subnetworks list-usable api.
230
318
  # @yield [result, operation] Access the result along with the TransportOperation object
231
319
  # @yieldparam result [::Gapic::Rest::PagedEnumerable<::String, ::Google::Cloud::Compute::V1::OperationsScopedList>]
232
320
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
@@ -306,7 +394,8 @@ module Google
306
394
  # the default parameter values, pass an empty Hash as a request object (see above).
307
395
  #
308
396
  # @param operation [::String]
309
- # Name of the Operations resource to delete, or its unique numeric identifier.
397
+ # Name of the Operations resource to delete, or its unique numeric
398
+ # identifier.
310
399
  # @param project [::String]
311
400
  # Project ID for this request.
312
401
  # @yield [result, operation] Access the result along with the TransportOperation object
@@ -386,7 +475,8 @@ module Google
386
475
  # the default parameter values, pass an empty Hash as a request object (see above).
387
476
  #
388
477
  # @param operation [::String]
389
- # Name of the Operations resource to return, or its unique numeric identifier.
478
+ # Name of the Operations resource to return, or its unique numeric
479
+ # identifier.
390
480
  # @param project [::String]
391
481
  # Project ID for this request.
392
482
  # @yield [result, operation] Access the result along with the TransportOperation object
@@ -448,7 +538,8 @@ module Google
448
538
  end
449
539
 
450
540
  ##
451
- # Retrieves a list of Operation resources contained within the specified project.
541
+ # Retrieves a list of Operation resources contained within the specified
542
+ # project.
452
543
  #
453
544
  # @overload list(request, options = nil)
454
545
  # Pass arguments to `list` via a request object, either of type
@@ -466,17 +557,95 @@ module Google
466
557
  # the default parameter values, pass an empty Hash as a request object (see above).
467
558
  #
468
559
  # @param filter [::String]
469
- # 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.
560
+ # A filter expression that filters resources listed in the response. Most
561
+ # Compute resources support two types of filter expressions:
562
+ # expressions that support regular expressions and expressions that follow
563
+ # API improvement proposal AIP-160.
564
+ # These two types of filter expressions cannot be mixed in one request.
565
+ #
566
+ # If you want to use AIP-160, your expression must specify the field name, an
567
+ # operator, and the value that you want to use for filtering. The value
568
+ # must be a string, a number, or a boolean. The operator
569
+ # must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.
570
+ #
571
+ # For example, if you are filtering Compute Engine instances, you can
572
+ # exclude instances named `example-instance` by specifying
573
+ # `name != example-instance`.
574
+ #
575
+ # The `:*` comparison can be used to test whether a key has been defined.
576
+ # For example, to find all objects with `owner` label use:
577
+ # ```
578
+ # labels.owner:*
579
+ # ```
580
+ #
581
+ # You can also filter nested fields. For example, you could specify
582
+ # `scheduling.automaticRestart = false` to include instances only
583
+ # if they are not scheduled for automatic restarts. You can use filtering
584
+ # on nested fields to filter based onresource labels.
585
+ #
586
+ # To filter on multiple expressions, provide each separate expression within
587
+ # parentheses. For example:
588
+ # ```
589
+ # (scheduling.automaticRestart = true)
590
+ # (cpuPlatform = "Intel Skylake")
591
+ # ```
592
+ # By default, each expression is an `AND` expression. However, you
593
+ # can include `AND` and `OR` expressions explicitly.
594
+ # For example:
595
+ # ```
596
+ # (cpuPlatform = "Intel Skylake") OR
597
+ # (cpuPlatform = "Intel Broadwell") AND
598
+ # (scheduling.automaticRestart = true)
599
+ # ```
600
+ #
601
+ # If you want to use a regular expression, use the `eq` (equal) or `ne`
602
+ # (not equal) operator against a single un-parenthesized expression with or
603
+ # without quotes or against multiple parenthesized expressions. Examples:
604
+ #
605
+ # `fieldname eq unquoted literal`
606
+ # `fieldname eq 'single quoted literal'`
607
+ # `fieldname eq "double quoted literal"`
608
+ # `(fieldname1 eq literal) (fieldname2 ne "literal")`
609
+ #
610
+ # The literal value is interpreted as a regular expression using GoogleRE2 library syntax.
611
+ # The literal value must match the entire field.
612
+ #
613
+ # For example, to filter for instances that do not end with name "instance",
614
+ # you would use `name ne .*instance`.
615
+ #
616
+ # You cannot combine constraints on multiple fields using regular
617
+ # expressions.
470
618
  # @param max_results [::Integer]
471
- # 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`)
619
+ # The maximum number of results per page that should be returned.
620
+ # If the number of available results is larger than `maxResults`,
621
+ # Compute Engine returns a `nextPageToken` that can be used to get
622
+ # the next page of results in subsequent list requests. Acceptable values are
623
+ # `0` to `500`, inclusive. (Default: `500`)
472
624
  # @param order_by [::String]
473
- # 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.
625
+ # Sorts list results by a certain order. By default, results
626
+ # are returned in alphanumerical order based on the resource name.
627
+ #
628
+ # You can also sort results in descending order based on the creation
629
+ # timestamp using `orderBy="creationTimestamp desc"`. This sorts
630
+ # results based on the `creationTimestamp` field in
631
+ # reverse chronological order (newest result first). Use this to sort
632
+ # resources like operations so that the newest operation is returned first.
633
+ #
634
+ # Currently, only sorting by `name` or
635
+ # `creationTimestamp desc` is supported.
474
636
  # @param page_token [::String]
475
- # Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.
637
+ # Specifies a page token to use. Set `pageToken` to the
638
+ # `nextPageToken` returned by a previous list request to get
639
+ # the next page of results.
476
640
  # @param project [::String]
477
641
  # Project ID for this request.
478
642
  # @param return_partial_success [::Boolean]
479
- # 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.
643
+ # Opt-in for partial success behavior which provides partial results in case
644
+ # of failure. The default value is false.
645
+ #
646
+ # For example, when partial success behavior is enabled, aggregatedList for a
647
+ # single zone scope either returns all resources in the zone or no resources,
648
+ # with an error code.
480
649
  # @yield [result, operation] Access the result along with the TransportOperation object
481
650
  # @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Compute::V1::Operation>]
482
651
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
@@ -538,7 +707,22 @@ module Google
538
707
  end
539
708
 
540
709
  ##
541
- # Waits for the specified Operation resource to return as `DONE` or for the request to approach the 2 minute deadline, and retrieves the specified Operation resource. This method differs from the `GET` method in that it waits for no more than the default deadline (2 minutes) and then returns the current state of the operation, which might be `DONE` or still in progress. This method is called on a best-effort basis. Specifically: - In uncommon cases, when the server is overloaded, the request might return before the default deadline is reached, or might return after zero seconds. - If the default deadline is reached, there is no guarantee that the operation is actually done when the method returns. Be prepared to retry if the operation is not `DONE`.
710
+ # Waits for the specified Operation resource to return as `DONE`
711
+ # or for the request to approach the 2 minute deadline, and retrieves the
712
+ # specified Operation resource. This method differs from the
713
+ # `GET` method in that it waits for no more than the default
714
+ # deadline (2 minutes) and then returns the current state of the operation,
715
+ # which might be `DONE` or still in progress.
716
+ #
717
+ # This method is called on a best-effort basis. Specifically:
718
+ #
719
+ #
720
+ # - In uncommon cases, when the server is overloaded, the request might
721
+ # return before the default deadline is reached, or might return after zero
722
+ # seconds.
723
+ # - If the default deadline is reached, there is no guarantee that the
724
+ # operation is actually done when the method returns. Be prepared to retry
725
+ # if the operation is not `DONE`.
542
726
  #
543
727
  # @overload wait(request, options = nil)
544
728
  # Pass arguments to `wait` via a request object, either of type
@@ -556,7 +740,8 @@ module Google
556
740
  # the default parameter values, pass an empty Hash as a request object (see above).
557
741
  #
558
742
  # @param operation [::String]
559
- # Name of the Operations resource to return, or its unique numeric identifier.
743
+ # Name of the Operations resource to return, or its unique numeric
744
+ # identifier.
560
745
  # @param project [::String]
561
746
  # Project ID for this request.
562
747
  # @yield [result, operation] Access the result along with the TransportOperation object
@@ -205,7 +205,8 @@ module Google
205
205
  # the default parameter values, pass an empty Hash as a request object (see above).
206
206
  #
207
207
  # @param operation [::String]
208
- # Name of the Operations resource to delete, or its unique numeric identifier.
208
+ # Name of the Operations resource to delete, or its unique numeric
209
+ # identifier.
209
210
  # @param parent_id [::String]
210
211
  # Parent ID for this request.
211
212
  # @yield [result, operation] Access the result along with the TransportOperation object
@@ -267,7 +268,8 @@ module Google
267
268
  end
268
269
 
269
270
  ##
270
- # Retrieves the specified Operations resource. Gets a list of operations by making a `list()` request.
271
+ # Retrieves the specified Operations resource. Gets a list of operations
272
+ # by making a `list()` request.
271
273
  #
272
274
  # @overload get(request, options = nil)
273
275
  # Pass arguments to `get` via a request object, either of type
@@ -285,7 +287,8 @@ module Google
285
287
  # the default parameter values, pass an empty Hash as a request object (see above).
286
288
  #
287
289
  # @param operation [::String]
288
- # Name of the Operations resource to return. Parent is derived from this field.
290
+ # Name of the Operations resource to return. Parent is derived from this
291
+ # field.
289
292
  # @param parent_id [::String]
290
293
  # Parent ID for this request. Not used. Parent is derived from resource_id.
291
294
  # @yield [result, operation] Access the result along with the TransportOperation object
@@ -347,7 +350,8 @@ module Google
347
350
  end
348
351
 
349
352
  ##
350
- # Retrieves a list of Operation resources contained within the specified organization.
353
+ # Retrieves a list of Operation resources contained within the specified
354
+ # organization.
351
355
  #
352
356
  # @overload list(request, options = nil)
353
357
  # Pass arguments to `list` via a request object, either of type
@@ -365,17 +369,95 @@ module Google
365
369
  # the default parameter values, pass an empty Hash as a request object (see above).
366
370
  #
367
371
  # @param filter [::String]
368
- # 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.
372
+ # A filter expression that filters resources listed in the response. Most
373
+ # Compute resources support two types of filter expressions:
374
+ # expressions that support regular expressions and expressions that follow
375
+ # API improvement proposal AIP-160.
376
+ # These two types of filter expressions cannot be mixed in one request.
377
+ #
378
+ # If you want to use AIP-160, your expression must specify the field name, an
379
+ # operator, and the value that you want to use for filtering. The value
380
+ # must be a string, a number, or a boolean. The operator
381
+ # must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.
382
+ #
383
+ # For example, if you are filtering Compute Engine instances, you can
384
+ # exclude instances named `example-instance` by specifying
385
+ # `name != example-instance`.
386
+ #
387
+ # The `:*` comparison can be used to test whether a key has been defined.
388
+ # For example, to find all objects with `owner` label use:
389
+ # ```
390
+ # labels.owner:*
391
+ # ```
392
+ #
393
+ # You can also filter nested fields. For example, you could specify
394
+ # `scheduling.automaticRestart = false` to include instances only
395
+ # if they are not scheduled for automatic restarts. You can use filtering
396
+ # on nested fields to filter based onresource labels.
397
+ #
398
+ # To filter on multiple expressions, provide each separate expression within
399
+ # parentheses. For example:
400
+ # ```
401
+ # (scheduling.automaticRestart = true)
402
+ # (cpuPlatform = "Intel Skylake")
403
+ # ```
404
+ # By default, each expression is an `AND` expression. However, you
405
+ # can include `AND` and `OR` expressions explicitly.
406
+ # For example:
407
+ # ```
408
+ # (cpuPlatform = "Intel Skylake") OR
409
+ # (cpuPlatform = "Intel Broadwell") AND
410
+ # (scheduling.automaticRestart = true)
411
+ # ```
412
+ #
413
+ # If you want to use a regular expression, use the `eq` (equal) or `ne`
414
+ # (not equal) operator against a single un-parenthesized expression with or
415
+ # without quotes or against multiple parenthesized expressions. Examples:
416
+ #
417
+ # `fieldname eq unquoted literal`
418
+ # `fieldname eq 'single quoted literal'`
419
+ # `fieldname eq "double quoted literal"`
420
+ # `(fieldname1 eq literal) (fieldname2 ne "literal")`
421
+ #
422
+ # The literal value is interpreted as a regular expression using GoogleRE2 library syntax.
423
+ # The literal value must match the entire field.
424
+ #
425
+ # For example, to filter for instances that do not end with name "instance",
426
+ # you would use `name ne .*instance`.
427
+ #
428
+ # You cannot combine constraints on multiple fields using regular
429
+ # expressions.
369
430
  # @param max_results [::Integer]
370
- # 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`)
431
+ # The maximum number of results per page that should be returned.
432
+ # If the number of available results is larger than `maxResults`,
433
+ # Compute Engine returns a `nextPageToken` that can be used to get
434
+ # the next page of results in subsequent list requests. Acceptable values are
435
+ # `0` to `500`, inclusive. (Default: `500`)
371
436
  # @param order_by [::String]
372
- # 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.
437
+ # Sorts list results by a certain order. By default, results
438
+ # are returned in alphanumerical order based on the resource name.
439
+ #
440
+ # You can also sort results in descending order based on the creation
441
+ # timestamp using `orderBy="creationTimestamp desc"`. This sorts
442
+ # results based on the `creationTimestamp` field in
443
+ # reverse chronological order (newest result first). Use this to sort
444
+ # resources like operations so that the newest operation is returned first.
445
+ #
446
+ # Currently, only sorting by `name` or
447
+ # `creationTimestamp desc` is supported.
373
448
  # @param page_token [::String]
374
- # Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.
449
+ # Specifies a page token to use. Set `pageToken` to the
450
+ # `nextPageToken` returned by a previous list request to get
451
+ # the next page of results.
375
452
  # @param parent_id [::String]
376
453
  # Parent ID for this request.
377
454
  # @param return_partial_success [::Boolean]
378
- # 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.
455
+ # Opt-in for partial success behavior which provides partial results in case
456
+ # of failure. The default value is false.
457
+ #
458
+ # For example, when partial success behavior is enabled, aggregatedList for a
459
+ # single zone scope either returns all resources in the zone or no resources,
460
+ # with an error code.
379
461
  # @yield [result, operation] Access the result along with the TransportOperation object
380
462
  # @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Compute::V1::Operation>]
381
463
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
@@ -228,7 +228,19 @@ module Google
228
228
  # @param public_delegated_prefix [::String]
229
229
  # Name of the PublicDelegatedPrefix resource to delete.
230
230
  # @param request_id [::String]
231
- # 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).
231
+ # An optional request ID to identify requests. Specify a unique request ID so
232
+ # that if you must retry your request, the server will know to ignore the
233
+ # request if it has already been completed.
234
+ #
235
+ # For example, consider a situation where you make an initial request and
236
+ # the request times out. If you make the request again with the same
237
+ # request ID, the server can check if original operation with the same
238
+ # request ID was received, and if so, will ignore the second request. This
239
+ # prevents clients from accidentally creating duplicate commitments.
240
+ #
241
+ # The request ID must be
242
+ # a valid UUID with the exception that zero UUID is not supported
243
+ # (00000000-0000-0000-0000-000000000000).
232
244
  # @yield [result, operation] Access the result along with the TransportOperation object
233
245
  # @yieldparam result [::Gapic::GenericLRO::Operation]
234
246
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
@@ -377,7 +389,8 @@ module Google
377
389
  end
378
390
 
379
391
  ##
380
- # Creates a global PublicDelegatedPrefix in the specified project using the parameters that are included in the request.
392
+ # Creates a global PublicDelegatedPrefix in the specified project using the
393
+ # parameters that are included in the request.
381
394
  #
382
395
  # @overload insert(request, options = nil)
383
396
  # Pass arguments to `insert` via a request object, either of type
@@ -399,7 +412,19 @@ module Google
399
412
  # @param public_delegated_prefix_resource [::Google::Cloud::Compute::V1::PublicDelegatedPrefix, ::Hash]
400
413
  # The body resource for this request
401
414
  # @param request_id [::String]
402
- # 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).
415
+ # An optional request ID to identify requests. Specify a unique request ID so
416
+ # that if you must retry your request, the server will know to ignore the
417
+ # request if it has already been completed.
418
+ #
419
+ # For example, consider a situation where you make an initial request and
420
+ # the request times out. If you make the request again with the same
421
+ # request ID, the server can check if original operation with the same
422
+ # request ID was received, and if so, will ignore the second request. This
423
+ # prevents clients from accidentally creating duplicate commitments.
424
+ #
425
+ # The request ID must be
426
+ # a valid UUID with the exception that zero UUID is not supported
427
+ # (00000000-0000-0000-0000-000000000000).
403
428
  # @yield [result, operation] Access the result along with the TransportOperation object
404
429
  # @yieldparam result [::Gapic::GenericLRO::Operation]
405
430
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
@@ -486,17 +511,95 @@ module Google
486
511
  # the default parameter values, pass an empty Hash as a request object (see above).
487
512
  #
488
513
  # @param filter [::String]
489
- # 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.
514
+ # A filter expression that filters resources listed in the response. Most
515
+ # Compute resources support two types of filter expressions:
516
+ # expressions that support regular expressions and expressions that follow
517
+ # API improvement proposal AIP-160.
518
+ # These two types of filter expressions cannot be mixed in one request.
519
+ #
520
+ # If you want to use AIP-160, your expression must specify the field name, an
521
+ # operator, and the value that you want to use for filtering. The value
522
+ # must be a string, a number, or a boolean. The operator
523
+ # must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.
524
+ #
525
+ # For example, if you are filtering Compute Engine instances, you can
526
+ # exclude instances named `example-instance` by specifying
527
+ # `name != example-instance`.
528
+ #
529
+ # The `:*` comparison can be used to test whether a key has been defined.
530
+ # For example, to find all objects with `owner` label use:
531
+ # ```
532
+ # labels.owner:*
533
+ # ```
534
+ #
535
+ # You can also filter nested fields. For example, you could specify
536
+ # `scheduling.automaticRestart = false` to include instances only
537
+ # if they are not scheduled for automatic restarts. You can use filtering
538
+ # on nested fields to filter based onresource labels.
539
+ #
540
+ # To filter on multiple expressions, provide each separate expression within
541
+ # parentheses. For example:
542
+ # ```
543
+ # (scheduling.automaticRestart = true)
544
+ # (cpuPlatform = "Intel Skylake")
545
+ # ```
546
+ # By default, each expression is an `AND` expression. However, you
547
+ # can include `AND` and `OR` expressions explicitly.
548
+ # For example:
549
+ # ```
550
+ # (cpuPlatform = "Intel Skylake") OR
551
+ # (cpuPlatform = "Intel Broadwell") AND
552
+ # (scheduling.automaticRestart = true)
553
+ # ```
554
+ #
555
+ # If you want to use a regular expression, use the `eq` (equal) or `ne`
556
+ # (not equal) operator against a single un-parenthesized expression with or
557
+ # without quotes or against multiple parenthesized expressions. Examples:
558
+ #
559
+ # `fieldname eq unquoted literal`
560
+ # `fieldname eq 'single quoted literal'`
561
+ # `fieldname eq "double quoted literal"`
562
+ # `(fieldname1 eq literal) (fieldname2 ne "literal")`
563
+ #
564
+ # The literal value is interpreted as a regular expression using GoogleRE2 library syntax.
565
+ # The literal value must match the entire field.
566
+ #
567
+ # For example, to filter for instances that do not end with name "instance",
568
+ # you would use `name ne .*instance`.
569
+ #
570
+ # You cannot combine constraints on multiple fields using regular
571
+ # expressions.
490
572
  # @param max_results [::Integer]
491
- # 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`)
573
+ # The maximum number of results per page that should be returned.
574
+ # If the number of available results is larger than `maxResults`,
575
+ # Compute Engine returns a `nextPageToken` that can be used to get
576
+ # the next page of results in subsequent list requests. Acceptable values are
577
+ # `0` to `500`, inclusive. (Default: `500`)
492
578
  # @param order_by [::String]
493
- # 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.
579
+ # Sorts list results by a certain order. By default, results
580
+ # are returned in alphanumerical order based on the resource name.
581
+ #
582
+ # You can also sort results in descending order based on the creation
583
+ # timestamp using `orderBy="creationTimestamp desc"`. This sorts
584
+ # results based on the `creationTimestamp` field in
585
+ # reverse chronological order (newest result first). Use this to sort
586
+ # resources like operations so that the newest operation is returned first.
587
+ #
588
+ # Currently, only sorting by `name` or
589
+ # `creationTimestamp desc` is supported.
494
590
  # @param page_token [::String]
495
- # Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.
591
+ # Specifies a page token to use. Set `pageToken` to the
592
+ # `nextPageToken` returned by a previous list request to get
593
+ # the next page of results.
496
594
  # @param project [::String]
497
595
  # Project ID for this request.
498
596
  # @param return_partial_success [::Boolean]
499
- # 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.
597
+ # Opt-in for partial success behavior which provides partial results in case
598
+ # of failure. The default value is false.
599
+ #
600
+ # For example, when partial success behavior is enabled, aggregatedList for a
601
+ # single zone scope either returns all resources in the zone or no resources,
602
+ # with an error code.
500
603
  # @yield [result, operation] Access the result along with the TransportOperation object
501
604
  # @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Compute::V1::PublicDelegatedPrefix>]
502
605
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
@@ -558,7 +661,10 @@ module Google
558
661
  end
559
662
 
560
663
  ##
561
- # Patches the specified global PublicDelegatedPrefix resource with the data included in the request. This method supports PATCH semantics and uses JSON merge patch format and processing rules.
664
+ # Patches the specified global PublicDelegatedPrefix resource with the data
665
+ # included in the request. This method supportsPATCH
666
+ # semantics and usesJSON merge
667
+ # patch format and processing rules.
562
668
  #
563
669
  # @overload patch(request, options = nil)
564
670
  # Pass arguments to `patch` via a request object, either of type
@@ -582,7 +688,19 @@ module Google
582
688
  # @param public_delegated_prefix_resource [::Google::Cloud::Compute::V1::PublicDelegatedPrefix, ::Hash]
583
689
  # The body resource for this request
584
690
  # @param request_id [::String]
585
- # 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).
691
+ # An optional request ID to identify requests. Specify a unique request ID so
692
+ # that if you must retry your request, the server will know to ignore the
693
+ # request if it has already been completed.
694
+ #
695
+ # For example, consider a situation where you make an initial request and
696
+ # the request times out. If you make the request again with the same
697
+ # request ID, the server can check if original operation with the same
698
+ # request ID was received, and if so, will ignore the second request. This
699
+ # prevents clients from accidentally creating duplicate commitments.
700
+ #
701
+ # The request ID must be
702
+ # a valid UUID with the exception that zero UUID is not supported
703
+ # (00000000-0000-0000-0000-000000000000).
586
704
  # @yield [result, operation] Access the result along with the TransportOperation object
587
705
  # @yieldparam result [::Gapic::GenericLRO::Operation]
588
706
  # @yieldparam operation [::Gapic::Rest::TransportOperation]