google-cloud-compute-v1 3.4.0 → 3.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (175) hide show
  1. checksums.yaml +4 -4
  2. data/lib/google/cloud/compute/v1/accelerator_types/rest/client.rb +181 -14
  3. data/lib/google/cloud/compute/v1/addresses/rest/client.rb +237 -20
  4. data/lib/google/cloud/compute/v1/advice/credentials.rb +52 -0
  5. data/lib/google/cloud/compute/v1/advice/rest/client.rb +431 -0
  6. data/lib/google/cloud/compute/v1/advice/rest/service_stub.rb +144 -0
  7. data/lib/google/cloud/compute/v1/advice/rest.rb +51 -0
  8. data/lib/google/cloud/compute/v1/advice.rb +47 -0
  9. data/lib/google/cloud/compute/v1/autoscalers/rest/client.rb +334 -21
  10. data/lib/google/cloud/compute/v1/autoscalers/rest/service_stub.rb +64 -0
  11. data/lib/google/cloud/compute/v1/backend_buckets/rest/client.rb +198 -23
  12. data/lib/google/cloud/compute/v1/backend_services/rest/client.rb +499 -40
  13. data/lib/google/cloud/compute/v1/backend_services/rest/service_stub.rb +62 -0
  14. data/lib/google/cloud/compute/v1/compute_pb.rb +264 -25
  15. data/lib/google/cloud/compute/v1/cross_site_networks/credentials.rb +52 -0
  16. data/lib/google/cloud/compute/v1/cross_site_networks/rest/client.rb +975 -0
  17. data/lib/google/cloud/compute/v1/cross_site_networks/rest/service_stub.rb +391 -0
  18. data/lib/google/cloud/compute/v1/cross_site_networks/rest.rb +51 -0
  19. data/lib/google/cloud/compute/v1/cross_site_networks.rb +47 -0
  20. data/lib/google/cloud/compute/v1/disk_types/rest/client.rb +181 -14
  21. data/lib/google/cloud/compute/v1/disks/rest/client.rb +390 -42
  22. data/lib/google/cloud/compute/v1/external_vpn_gateways/rest/client.rb +118 -11
  23. data/lib/google/cloud/compute/v1/firewall_policies/rest/client.rb +240 -25
  24. data/lib/google/cloud/compute/v1/firewalls/rest/client.rb +238 -13
  25. data/lib/google/cloud/compute/v1/firewalls/rest/service_stub.rb +63 -0
  26. data/lib/google/cloud/compute/v1/forwarding_rules/rest/client.rb +258 -23
  27. data/lib/google/cloud/compute/v1/future_reservations/credentials.rb +52 -0
  28. data/lib/google/cloud/compute/v1/future_reservations/rest/client.rb +1287 -0
  29. data/lib/google/cloud/compute/v1/future_reservations/rest/service_stub.rb +520 -0
  30. data/lib/google/cloud/compute/v1/future_reservations/rest.rb +51 -0
  31. data/lib/google/cloud/compute/v1/future_reservations.rb +47 -0
  32. data/lib/google/cloud/compute/v1/global_addresses/rest/client.rb +126 -10
  33. data/lib/google/cloud/compute/v1/global_forwarding_rules/rest/client.rb +151 -15
  34. data/lib/google/cloud/compute/v1/global_network_endpoint_groups/rest/client.rb +246 -21
  35. data/lib/google/cloud/compute/v1/global_operations/rest/client.rb +203 -18
  36. data/lib/google/cloud/compute/v1/global_organization_operations/rest/client.rb +91 -9
  37. data/lib/google/cloud/compute/v1/global_public_delegated_prefixes/rest/client.rb +128 -10
  38. data/lib/google/cloud/compute/v1/health_checks/rest/client.rb +333 -21
  39. data/lib/google/cloud/compute/v1/health_checks/rest/service_stub.rb +63 -0
  40. data/lib/google/cloud/compute/v1/image_family_views/rest/client.rb +2 -1
  41. data/lib/google/cloud/compute/v1/images/rest/client.rb +161 -18
  42. data/lib/google/cloud/compute/v1/instance_group_manager_resize_requests/rest/client.rb +159 -24
  43. data/lib/google/cloud/compute/v1/instance_group_managers/rest/client.rb +920 -95
  44. data/lib/google/cloud/compute/v1/instance_groups/rest/client.rb +380 -40
  45. data/lib/google/cloud/compute/v1/instance_settings_service/rest/client.rb +13 -1
  46. data/lib/google/cloud/compute/v1/instance_templates/rest/client.rb +220 -20
  47. data/lib/google/cloud/compute/v1/instances/rest/client.rb +939 -104
  48. data/lib/google/cloud/compute/v1/instant_snapshots/rest/client.rb +235 -21
  49. data/lib/google/cloud/compute/v1/interconnect_attachment_groups/rest/client.rb +139 -14
  50. data/lib/google/cloud/compute/v1/interconnect_attachments/rest/client.rb +242 -21
  51. data/lib/google/cloud/compute/v1/interconnect_groups/rest/client.rb +139 -14
  52. data/lib/google/cloud/compute/v1/interconnect_locations/rest/client.rb +87 -7
  53. data/lib/google/cloud/compute/v1/interconnect_remote_locations/rest/client.rb +87 -7
  54. data/lib/google/cloud/compute/v1/interconnects/rest/client.rb +145 -14
  55. data/lib/google/cloud/compute/v1/license_codes/rest/client.rb +9 -2
  56. data/lib/google/cloud/compute/v1/licenses/rest/client.rb +161 -16
  57. data/lib/google/cloud/compute/v1/machine_images/rest/client.rb +124 -13
  58. data/lib/google/cloud/compute/v1/machine_types/rest/client.rb +181 -14
  59. data/lib/google/cloud/compute/v1/network_attachments/rest/client.rb +232 -20
  60. data/lib/google/cloud/compute/v1/network_edge_security_services/rest/client.rb +138 -12
  61. data/lib/google/cloud/compute/v1/network_endpoint_groups/rest/client.rb +361 -37
  62. data/lib/google/cloud/compute/v1/network_firewall_policies/rest/client.rb +354 -33
  63. data/lib/google/cloud/compute/v1/network_profiles/rest/client.rb +85 -6
  64. data/lib/google/cloud/compute/v1/networks/rest/client.rb +281 -23
  65. data/lib/google/cloud/compute/v1/node_groups/rest/client.rb +381 -32
  66. data/lib/google/cloud/compute/v1/node_templates/rest/client.rb +213 -19
  67. data/lib/google/cloud/compute/v1/node_types/rest/client.rb +181 -14
  68. data/lib/google/cloud/compute/v1/organization_security_policies/credentials.rb +52 -0
  69. data/lib/google/cloud/compute/v1/organization_security_policies/rest/client.rb +2259 -0
  70. data/lib/google/cloud/compute/v1/organization_security_policies/rest/service_stub.rb +1054 -0
  71. data/lib/google/cloud/compute/v1/organization_security_policies/rest.rb +51 -0
  72. data/lib/google/cloud/compute/v1/organization_security_policies.rb +47 -0
  73. data/lib/google/cloud/compute/v1/packet_mirrorings/rest/client.rb +226 -19
  74. data/lib/google/cloud/compute/v1/preview_features/credentials.rb +52 -0
  75. data/lib/google/cloud/compute/v1/preview_features/rest/client.rb +739 -0
  76. data/lib/google/cloud/compute/v1/preview_features/rest/service_stub.rb +267 -0
  77. data/lib/google/cloud/compute/v1/preview_features/rest.rb +51 -0
  78. data/lib/google/cloud/compute/v1/preview_features.rb +47 -0
  79. data/lib/google/cloud/compute/v1/projects/rest/client.rb +346 -30
  80. data/lib/google/cloud/compute/v1/public_advertised_prefixes/rest/client.rb +154 -12
  81. data/lib/google/cloud/compute/v1/public_delegated_prefixes/rest/client.rb +255 -22
  82. data/lib/google/cloud/compute/v1/region_autoscalers/rest/client.rb +238 -13
  83. data/lib/google/cloud/compute/v1/region_autoscalers/rest/service_stub.rb +64 -0
  84. data/lib/google/cloud/compute/v1/region_backend_services/rest/client.rb +260 -26
  85. data/lib/google/cloud/compute/v1/region_commitments/rest/client.rb +212 -18
  86. data/lib/google/cloud/compute/v1/region_composite_health_checks/credentials.rb +52 -0
  87. data/lib/google/cloud/compute/v1/region_composite_health_checks/rest/client.rb +1268 -0
  88. data/lib/google/cloud/compute/v1/region_composite_health_checks/rest/service_stub.rb +521 -0
  89. data/lib/google/cloud/compute/v1/region_composite_health_checks/rest.rb +51 -0
  90. data/lib/google/cloud/compute/v1/region_composite_health_checks.rb +47 -0
  91. data/lib/google/cloud/compute/v1/region_disk_types/rest/client.rb +83 -5
  92. data/lib/google/cloud/compute/v1/region_disks/rest/client.rb +269 -29
  93. data/lib/google/cloud/compute/v1/region_health_aggregation_policies/credentials.rb +52 -0
  94. data/lib/google/cloud/compute/v1/region_health_aggregation_policies/rest/client.rb +1268 -0
  95. data/lib/google/cloud/compute/v1/region_health_aggregation_policies/rest/service_stub.rb +521 -0
  96. data/lib/google/cloud/compute/v1/region_health_aggregation_policies/rest.rb +51 -0
  97. data/lib/google/cloud/compute/v1/region_health_aggregation_policies.rb +47 -0
  98. data/lib/google/cloud/compute/v1/region_health_check_services/rest/client.rb +427 -17
  99. data/lib/google/cloud/compute/v1/region_health_check_services/rest/service_stub.rb +125 -0
  100. data/lib/google/cloud/compute/v1/region_health_checks/rest/client.rb +238 -13
  101. data/lib/google/cloud/compute/v1/region_health_checks/rest/service_stub.rb +64 -0
  102. data/lib/google/cloud/compute/v1/region_health_sources/credentials.rb +52 -0
  103. data/lib/google/cloud/compute/v1/region_health_sources/rest/client.rb +1268 -0
  104. data/lib/google/cloud/compute/v1/region_health_sources/rest/service_stub.rb +521 -0
  105. data/lib/google/cloud/compute/v1/region_health_sources/rest.rb +51 -0
  106. data/lib/google/cloud/compute/v1/region_health_sources.rb +47 -0
  107. data/lib/google/cloud/compute/v1/region_instance_group_managers/rest/client.rb +750 -64
  108. data/lib/google/cloud/compute/v1/region_instance_groups/rest/client.rb +187 -14
  109. data/lib/google/cloud/compute/v1/region_instance_templates/rest/client.rb +115 -10
  110. data/lib/google/cloud/compute/v1/region_instances/rest/client.rb +15 -2
  111. data/lib/google/cloud/compute/v1/region_instant_snapshots/rest/client.rb +139 -13
  112. data/lib/google/cloud/compute/v1/region_network_endpoint_groups/rest/client.rb +264 -28
  113. data/lib/google/cloud/compute/v1/region_network_firewall_policies/rest/client.rb +213 -20
  114. data/lib/google/cloud/compute/v1/region_notification_endpoints/rest/client.rb +399 -11
  115. data/lib/google/cloud/compute/v1/region_notification_endpoints/rest/service_stub.rb +125 -0
  116. data/lib/google/cloud/compute/v1/region_operations/rest/client.rb +107 -10
  117. data/lib/google/cloud/compute/v1/region_security_policies/rest/client.rb +149 -14
  118. data/lib/google/cloud/compute/v1/region_ssl_certificates/rest/client.rb +116 -10
  119. data/lib/google/cloud/compute/v1/region_ssl_policies/rest/client.rb +220 -20
  120. data/lib/google/cloud/compute/v1/region_target_http_proxies/rest/client.rb +126 -10
  121. data/lib/google/cloud/compute/v1/region_target_https_proxies/rest/client.rb +158 -14
  122. data/lib/google/cloud/compute/v1/region_target_tcp_proxies/rest/client.rb +113 -9
  123. data/lib/google/cloud/compute/v1/region_url_maps/rest/client.rb +104 -14
  124. data/lib/google/cloud/compute/v1/region_zones/rest/client.rb +85 -6
  125. data/lib/google/cloud/compute/v1/regions/rest/client.rb +120 -7
  126. data/lib/google/cloud/compute/v1/reservation_blocks/rest/client.rb +396 -11
  127. data/lib/google/cloud/compute/v1/reservation_blocks/rest/service_stub.rb +194 -0
  128. data/lib/google/cloud/compute/v1/reservation_slots/credentials.rb +52 -0
  129. data/lib/google/cloud/compute/v1/reservation_slots/rest/client.rb +863 -0
  130. data/lib/google/cloud/compute/v1/reservation_slots/rest/service_stub.rb +338 -0
  131. data/lib/google/cloud/compute/v1/reservation_slots/rest.rb +51 -0
  132. data/lib/google/cloud/compute/v1/reservation_slots.rb +47 -0
  133. data/lib/google/cloud/compute/v1/reservation_sub_blocks/rest/client.rb +642 -12
  134. data/lib/google/cloud/compute/v1/reservation_sub_blocks/rest/service_stub.rb +327 -3
  135. data/lib/google/cloud/compute/v1/reservations/rest/client.rb +257 -24
  136. data/lib/google/cloud/compute/v1/resource_policies/rest/client.rb +224 -19
  137. data/lib/google/cloud/compute/v1/rest.rb +10 -0
  138. data/lib/google/cloud/compute/v1/routers/rest/client.rb +555 -50
  139. data/lib/google/cloud/compute/v1/routes/rest/client.rb +202 -8
  140. data/lib/google/cloud/compute/v1/routes/rest/service_stub.rb +63 -0
  141. data/lib/google/cloud/compute/v1/security_policies/rest/client.rb +316 -26
  142. data/lib/google/cloud/compute/v1/service_attachments/rest/client.rb +231 -21
  143. data/lib/google/cloud/compute/v1/snapshot_settings_service/rest/client.rb +13 -1
  144. data/lib/google/cloud/compute/v1/snapshots/rest/client.rb +130 -13
  145. data/lib/google/cloud/compute/v1/ssl_certificates/rest/client.rb +210 -17
  146. data/lib/google/cloud/compute/v1/ssl_policies/rest/client.rb +315 -27
  147. data/lib/google/cloud/compute/v1/storage_pool_types/rest/client.rb +181 -14
  148. data/lib/google/cloud/compute/v1/storage_pools/rest/client.rb +321 -28
  149. data/lib/google/cloud/compute/v1/subnetworks/rest/client.rb +378 -34
  150. data/lib/google/cloud/compute/v1/target_grpc_proxies/rest/client.rb +128 -10
  151. data/lib/google/cloud/compute/v1/target_http_proxies/rest/client.rb +240 -20
  152. data/lib/google/cloud/compute/v1/target_https_proxies/rest/client.rb +306 -30
  153. data/lib/google/cloud/compute/v1/target_instances/rest/client.rb +227 -20
  154. data/lib/google/cloud/compute/v1/target_pools/rest/client.rb +294 -26
  155. data/lib/google/cloud/compute/v1/target_ssl_proxies/rest/client.rb +281 -19
  156. data/lib/google/cloud/compute/v1/target_ssl_proxies/rest/service_stub.rb +63 -0
  157. data/lib/google/cloud/compute/v1/target_tcp_proxies/rest/client.rb +329 -20
  158. data/lib/google/cloud/compute/v1/target_tcp_proxies/rest/service_stub.rb +63 -0
  159. data/lib/google/cloud/compute/v1/target_vpn_gateways/rest/client.rb +224 -19
  160. data/lib/google/cloud/compute/v1/url_maps/rest/client.rb +354 -24
  161. data/lib/google/cloud/compute/v1/url_maps/rest/service_stub.rb +63 -0
  162. data/lib/google/cloud/compute/v1/version.rb +1 -1
  163. data/lib/google/cloud/compute/v1/vpn_gateways/rest/client.rb +224 -19
  164. data/lib/google/cloud/compute/v1/vpn_tunnels/rest/client.rb +224 -19
  165. data/lib/google/cloud/compute/v1/wire_groups/credentials.rb +52 -0
  166. data/lib/google/cloud/compute/v1/wire_groups/rest/client.rb +980 -0
  167. data/lib/google/cloud/compute/v1/wire_groups/rest/service_stub.rb +396 -0
  168. data/lib/google/cloud/compute/v1/wire_groups/rest.rb +51 -0
  169. data/lib/google/cloud/compute/v1/wire_groups.rb +47 -0
  170. data/lib/google/cloud/compute/v1/zone_operations/rest/client.rb +106 -10
  171. data/lib/google/cloud/compute/v1/zones/rest/client.rb +83 -5
  172. data/lib/google/cloud/compute/v1.rb +10 -0
  173. data/proto_docs/google/api/client.rb +149 -29
  174. data/proto_docs/google/cloud/compute/v1/compute.rb +43929 -5522
  175. metadata +52 -2
@@ -190,7 +190,10 @@ module Google
190
190
  # Service calls
191
191
 
192
192
  ##
193
- # Retrieves an aggregated list of disk types. To prevent failure, Google recommends that you set the `returnPartialSuccess` parameter to `true`.
193
+ # Retrieves an aggregated list of disk types.
194
+ #
195
+ # To prevent failure, it is recommended that you set the
196
+ # `returnPartialSuccess` parameter to `true`.
194
197
  #
195
198
  # @overload aggregated_list(request, options = nil)
196
199
  # Pass arguments to `aggregated_list` via a request object, either of type
@@ -208,21 +211,106 @@ module Google
208
211
  # the default parameter values, pass an empty Hash as a request object (see above).
209
212
  #
210
213
  # @param filter [::String]
211
- # 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.
214
+ # A filter expression that filters resources listed in the response. Most
215
+ # Compute resources support two types of filter expressions:
216
+ # expressions that support regular expressions and expressions that follow
217
+ # API improvement proposal AIP-160.
218
+ # These two types of filter expressions cannot be mixed in one request.
219
+ #
220
+ # If you want to use AIP-160, your expression must specify the field name, an
221
+ # operator, and the value that you want to use for filtering. The value
222
+ # must be a string, a number, or a boolean. The operator
223
+ # must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.
224
+ #
225
+ # For example, if you are filtering Compute Engine instances, you can
226
+ # exclude instances named `example-instance` by specifying
227
+ # `name != example-instance`.
228
+ #
229
+ # The `:*` comparison can be used to test whether a key has been defined.
230
+ # For example, to find all objects with `owner` label use:
231
+ # ```
232
+ # labels.owner:*
233
+ # ```
234
+ #
235
+ # You can also filter nested fields. For example, you could specify
236
+ # `scheduling.automaticRestart = false` to include instances only
237
+ # if they are not scheduled for automatic restarts. You can use filtering
238
+ # on nested fields to filter based onresource labels.
239
+ #
240
+ # To filter on multiple expressions, provide each separate expression within
241
+ # parentheses. For example:
242
+ # ```
243
+ # (scheduling.automaticRestart = true)
244
+ # (cpuPlatform = "Intel Skylake")
245
+ # ```
246
+ # By default, each expression is an `AND` expression. However, you
247
+ # can include `AND` and `OR` expressions explicitly.
248
+ # For example:
249
+ # ```
250
+ # (cpuPlatform = "Intel Skylake") OR
251
+ # (cpuPlatform = "Intel Broadwell") AND
252
+ # (scheduling.automaticRestart = true)
253
+ # ```
254
+ #
255
+ # If you want to use a regular expression, use the `eq` (equal) or `ne`
256
+ # (not equal) operator against a single un-parenthesized expression with or
257
+ # without quotes or against multiple parenthesized expressions. Examples:
258
+ #
259
+ # `fieldname eq unquoted literal`
260
+ # `fieldname eq 'single quoted literal'`
261
+ # `fieldname eq "double quoted literal"`
262
+ # `(fieldname1 eq literal) (fieldname2 ne "literal")`
263
+ #
264
+ # The literal value is interpreted as a regular expression using GoogleRE2 library syntax.
265
+ # The literal value must match the entire field.
266
+ #
267
+ # For example, to filter for instances that do not end with name "instance",
268
+ # you would use `name ne .*instance`.
269
+ #
270
+ # You cannot combine constraints on multiple fields using regular
271
+ # expressions.
212
272
  # @param include_all_scopes [::Boolean]
213
- # 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.
273
+ # Indicates whether every visible scope for each scope type (zone, region,
274
+ # global) should be included in the response. For new resource types added
275
+ # after this field, the flag has no effect as new resource types will always
276
+ # include every visible scope for each scope type in response. For resource
277
+ # types which predate this field, if this flag is omitted or false, only
278
+ # scopes of the scope types where the resource type is expected to be found
279
+ # will be included.
214
280
  # @param max_results [::Integer]
215
- # 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`)
281
+ # The maximum number of results per page that should be returned.
282
+ # If the number of available results is larger than `maxResults`,
283
+ # Compute Engine returns a `nextPageToken` that can be used to get
284
+ # the next page of results in subsequent list requests. Acceptable values are
285
+ # `0` to `500`, inclusive. (Default: `500`)
216
286
  # @param order_by [::String]
217
- # 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.
287
+ # Sorts list results by a certain order. By default, results
288
+ # are returned in alphanumerical order based on the resource name.
289
+ #
290
+ # You can also sort results in descending order based on the creation
291
+ # timestamp using `orderBy="creationTimestamp desc"`. This sorts
292
+ # results based on the `creationTimestamp` field in
293
+ # reverse chronological order (newest result first). Use this to sort
294
+ # resources like operations so that the newest operation is returned first.
295
+ #
296
+ # Currently, only sorting by `name` or
297
+ # `creationTimestamp desc` is supported.
218
298
  # @param page_token [::String]
219
- # Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.
299
+ # Specifies a page token to use. Set `pageToken` to the
300
+ # `nextPageToken` returned by a previous list request to get
301
+ # the next page of results.
220
302
  # @param project [::String]
221
303
  # Project ID for this request.
222
304
  # @param return_partial_success [::Boolean]
223
- # 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.
305
+ # Opt-in for partial success behavior which provides partial results in case
306
+ # of failure. The default value is false.
307
+ #
308
+ # For example, when partial success behavior is enabled, aggregatedList for a
309
+ # single zone scope either returns all resources in the zone or no resources,
310
+ # with an error code.
224
311
  # @param service_project_number [::Integer]
225
- # The Shared VPC service project id or service project number for which aggregated list request is invoked for subnetworks list-usable api.
312
+ # The Shared VPC service project id or service project number for which
313
+ # aggregated list request is invoked for subnetworks list-usable api.
226
314
  # @yield [result, operation] Access the result along with the TransportOperation object
227
315
  # @yieldparam result [::Gapic::Rest::PagedEnumerable<::String, ::Google::Cloud::Compute::V1::DiskTypesScopedList>]
228
316
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
@@ -366,7 +454,8 @@ module Google
366
454
  end
367
455
 
368
456
  ##
369
- # Retrieves a list of disk types available to the specified project.
457
+ # Retrieves a list of disk types available to the specified
458
+ # project.
370
459
  #
371
460
  # @overload list(request, options = nil)
372
461
  # Pass arguments to `list` via a request object, either of type
@@ -384,17 +473,95 @@ module Google
384
473
  # the default parameter values, pass an empty Hash as a request object (see above).
385
474
  #
386
475
  # @param filter [::String]
387
- # 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.
476
+ # A filter expression that filters resources listed in the response. Most
477
+ # Compute resources support two types of filter expressions:
478
+ # expressions that support regular expressions and expressions that follow
479
+ # API improvement proposal AIP-160.
480
+ # These two types of filter expressions cannot be mixed in one request.
481
+ #
482
+ # If you want to use AIP-160, your expression must specify the field name, an
483
+ # operator, and the value that you want to use for filtering. The value
484
+ # must be a string, a number, or a boolean. The operator
485
+ # must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.
486
+ #
487
+ # For example, if you are filtering Compute Engine instances, you can
488
+ # exclude instances named `example-instance` by specifying
489
+ # `name != example-instance`.
490
+ #
491
+ # The `:*` comparison can be used to test whether a key has been defined.
492
+ # For example, to find all objects with `owner` label use:
493
+ # ```
494
+ # labels.owner:*
495
+ # ```
496
+ #
497
+ # You can also filter nested fields. For example, you could specify
498
+ # `scheduling.automaticRestart = false` to include instances only
499
+ # if they are not scheduled for automatic restarts. You can use filtering
500
+ # on nested fields to filter based onresource labels.
501
+ #
502
+ # To filter on multiple expressions, provide each separate expression within
503
+ # parentheses. For example:
504
+ # ```
505
+ # (scheduling.automaticRestart = true)
506
+ # (cpuPlatform = "Intel Skylake")
507
+ # ```
508
+ # By default, each expression is an `AND` expression. However, you
509
+ # can include `AND` and `OR` expressions explicitly.
510
+ # For example:
511
+ # ```
512
+ # (cpuPlatform = "Intel Skylake") OR
513
+ # (cpuPlatform = "Intel Broadwell") AND
514
+ # (scheduling.automaticRestart = true)
515
+ # ```
516
+ #
517
+ # If you want to use a regular expression, use the `eq` (equal) or `ne`
518
+ # (not equal) operator against a single un-parenthesized expression with or
519
+ # without quotes or against multiple parenthesized expressions. Examples:
520
+ #
521
+ # `fieldname eq unquoted literal`
522
+ # `fieldname eq 'single quoted literal'`
523
+ # `fieldname eq "double quoted literal"`
524
+ # `(fieldname1 eq literal) (fieldname2 ne "literal")`
525
+ #
526
+ # The literal value is interpreted as a regular expression using GoogleRE2 library syntax.
527
+ # The literal value must match the entire field.
528
+ #
529
+ # For example, to filter for instances that do not end with name "instance",
530
+ # you would use `name ne .*instance`.
531
+ #
532
+ # You cannot combine constraints on multiple fields using regular
533
+ # expressions.
388
534
  # @param max_results [::Integer]
389
- # 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`)
535
+ # The maximum number of results per page that should be returned.
536
+ # If the number of available results is larger than `maxResults`,
537
+ # Compute Engine returns a `nextPageToken` that can be used to get
538
+ # the next page of results in subsequent list requests. Acceptable values are
539
+ # `0` to `500`, inclusive. (Default: `500`)
390
540
  # @param order_by [::String]
391
- # 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.
541
+ # Sorts list results by a certain order. By default, results
542
+ # are returned in alphanumerical order based on the resource name.
543
+ #
544
+ # You can also sort results in descending order based on the creation
545
+ # timestamp using `orderBy="creationTimestamp desc"`. This sorts
546
+ # results based on the `creationTimestamp` field in
547
+ # reverse chronological order (newest result first). Use this to sort
548
+ # resources like operations so that the newest operation is returned first.
549
+ #
550
+ # Currently, only sorting by `name` or
551
+ # `creationTimestamp desc` is supported.
392
552
  # @param page_token [::String]
393
- # Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.
553
+ # Specifies a page token to use. Set `pageToken` to the
554
+ # `nextPageToken` returned by a previous list request to get
555
+ # the next page of results.
394
556
  # @param project [::String]
395
557
  # Project ID for this request.
396
558
  # @param return_partial_success [::Boolean]
397
- # 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.
559
+ # Opt-in for partial success behavior which provides partial results in case
560
+ # of failure. The default value is false.
561
+ #
562
+ # For example, when partial success behavior is enabled, aggregatedList for a
563
+ # single zone scope either returns all resources in the zone or no resources,
564
+ # with an error code.
398
565
  # @param zone [::String]
399
566
  # The name of the zone for this request.
400
567
  # @yield [result, operation] Access the result along with the TransportOperation object