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
@@ -220,7 +220,10 @@ module Google
220
220
  # Service calls
221
221
 
222
222
  ##
223
- # Retrieves an aggregated list of resource policies. To prevent failure, Google recommends that you set the `returnPartialSuccess` parameter to `true`.
223
+ # Retrieves an aggregated list of resource policies.
224
+ #
225
+ # To prevent failure, Google recommends that you set the
226
+ # `returnPartialSuccess` parameter to `true`.
224
227
  #
225
228
  # @overload aggregated_list(request, options = nil)
226
229
  # Pass arguments to `aggregated_list` via a request object, either of type
@@ -238,21 +241,106 @@ module Google
238
241
  # the default parameter values, pass an empty Hash as a request object (see above).
239
242
  #
240
243
  # @param filter [::String]
241
- # A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions.
244
+ # A filter expression that filters resources listed in the response. Most
245
+ # Compute resources support two types of filter expressions:
246
+ # expressions that support regular expressions and expressions that follow
247
+ # API improvement proposal AIP-160.
248
+ # These two types of filter expressions cannot be mixed in one request.
249
+ #
250
+ # If you want to use AIP-160, your expression must specify the field name, an
251
+ # operator, and the value that you want to use for filtering. The value
252
+ # must be a string, a number, or a boolean. The operator
253
+ # must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.
254
+ #
255
+ # For example, if you are filtering Compute Engine instances, you can
256
+ # exclude instances named `example-instance` by specifying
257
+ # `name != example-instance`.
258
+ #
259
+ # The `:*` comparison can be used to test whether a key has been defined.
260
+ # For example, to find all objects with `owner` label use:
261
+ # ```
262
+ # labels.owner:*
263
+ # ```
264
+ #
265
+ # You can also filter nested fields. For example, you could specify
266
+ # `scheduling.automaticRestart = false` to include instances only
267
+ # if they are not scheduled for automatic restarts. You can use filtering
268
+ # on nested fields to filter based onresource labels.
269
+ #
270
+ # To filter on multiple expressions, provide each separate expression within
271
+ # parentheses. For example:
272
+ # ```
273
+ # (scheduling.automaticRestart = true)
274
+ # (cpuPlatform = "Intel Skylake")
275
+ # ```
276
+ # By default, each expression is an `AND` expression. However, you
277
+ # can include `AND` and `OR` expressions explicitly.
278
+ # For example:
279
+ # ```
280
+ # (cpuPlatform = "Intel Skylake") OR
281
+ # (cpuPlatform = "Intel Broadwell") AND
282
+ # (scheduling.automaticRestart = true)
283
+ # ```
284
+ #
285
+ # If you want to use a regular expression, use the `eq` (equal) or `ne`
286
+ # (not equal) operator against a single un-parenthesized expression with or
287
+ # without quotes or against multiple parenthesized expressions. Examples:
288
+ #
289
+ # `fieldname eq unquoted literal`
290
+ # `fieldname eq 'single quoted literal'`
291
+ # `fieldname eq "double quoted literal"`
292
+ # `(fieldname1 eq literal) (fieldname2 ne "literal")`
293
+ #
294
+ # The literal value is interpreted as a regular expression using GoogleRE2 library syntax.
295
+ # The literal value must match the entire field.
296
+ #
297
+ # For example, to filter for instances that do not end with name "instance",
298
+ # you would use `name ne .*instance`.
299
+ #
300
+ # You cannot combine constraints on multiple fields using regular
301
+ # expressions.
242
302
  # @param include_all_scopes [::Boolean]
243
- # Indicates whether every visible scope for each scope type (zone, region, global) should be included in the response. For new resource types added after this field, the flag has no effect as new resource types will always include every visible scope for each scope type in response. For resource types which predate this field, if this flag is omitted or false, only scopes of the scope types where the resource type is expected to be found will be included.
303
+ # Indicates whether every visible scope for each scope type (zone, region,
304
+ # global) should be included in the response. For new resource types added
305
+ # after this field, the flag has no effect as new resource types will always
306
+ # include every visible scope for each scope type in response. For resource
307
+ # types which predate this field, if this flag is omitted or false, only
308
+ # scopes of the scope types where the resource type is expected to be found
309
+ # will be included.
244
310
  # @param max_results [::Integer]
245
- # The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)
311
+ # The maximum number of results per page that should be returned.
312
+ # If the number of available results is larger than `maxResults`,
313
+ # Compute Engine returns a `nextPageToken` that can be used to get
314
+ # the next page of results in subsequent list requests. Acceptable values are
315
+ # `0` to `500`, inclusive. (Default: `500`)
246
316
  # @param order_by [::String]
247
- # Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.
317
+ # Sorts list results by a certain order. By default, results
318
+ # are returned in alphanumerical order based on the resource name.
319
+ #
320
+ # You can also sort results in descending order based on the creation
321
+ # timestamp using `orderBy="creationTimestamp desc"`. This sorts
322
+ # results based on the `creationTimestamp` field in
323
+ # reverse chronological order (newest result first). Use this to sort
324
+ # resources like operations so that the newest operation is returned first.
325
+ #
326
+ # Currently, only sorting by `name` or
327
+ # `creationTimestamp desc` is supported.
248
328
  # @param page_token [::String]
249
- # Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.
329
+ # Specifies a page token to use. Set `pageToken` to the
330
+ # `nextPageToken` returned by a previous list request to get
331
+ # the next page of results.
250
332
  # @param project [::String]
251
333
  # Project ID for this request.
252
334
  # @param return_partial_success [::Boolean]
253
- # Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope either returns all resources in the zone or no resources, with an error code.
335
+ # Opt-in for partial success behavior which provides partial results in case
336
+ # of failure. The default value is false.
337
+ #
338
+ # For example, when partial success behavior is enabled, aggregatedList for a
339
+ # single zone scope either returns all resources in the zone or no resources,
340
+ # with an error code.
254
341
  # @param service_project_number [::Integer]
255
- # The Shared VPC service project id or service project number for which aggregated list request is invoked for subnetworks list-usable api.
342
+ # The Shared VPC service project id or service project number for which
343
+ # aggregated list request is invoked for subnetworks list-usable api.
256
344
  # @yield [result, operation] Access the result along with the TransportOperation object
257
345
  # @yieldparam result [::Gapic::Rest::PagedEnumerable<::String, ::Google::Cloud::Compute::V1::ResourcePoliciesScopedList>]
258
346
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
@@ -336,7 +424,19 @@ module Google
336
424
  # @param region [::String]
337
425
  # Name of the region for this request.
338
426
  # @param request_id [::String]
339
- # An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).
427
+ # An optional request ID to identify requests. Specify a unique request ID so
428
+ # that if you must retry your request, the server will know to ignore the
429
+ # request if it has already been completed.
430
+ #
431
+ # For example, consider a situation where you make an initial request and
432
+ # the request times out. If you make the request again with the same
433
+ # request ID, the server can check if original operation with the same
434
+ # request ID was received, and if so, will ignore the second request. This
435
+ # prevents clients from accidentally creating duplicate commitments.
436
+ #
437
+ # The request ID must be
438
+ # a valid UUID with the exception that zero UUID is not supported
439
+ # (00000000-0000-0000-0000-000000000000).
340
440
  # @param resource_policy [::String]
341
441
  # Name of the resource policy to delete.
342
442
  # @yield [result, operation] Access the result along with the TransportOperation object
@@ -490,7 +590,8 @@ module Google
490
590
  end
491
591
 
492
592
  ##
493
- # Gets the access control policy for a resource. May be empty if no such policy or resource exists.
593
+ # Gets the access control policy for a resource. May be empty if no such
594
+ # policy or resource exists.
494
595
  #
495
596
  # @overload get_iam_policy(request, options = nil)
496
597
  # Pass arguments to `get_iam_policy` via a request object, either of type
@@ -596,7 +697,19 @@ module Google
596
697
  # @param region [::String]
597
698
  # Name of the region for this request.
598
699
  # @param request_id [::String]
599
- # An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).
700
+ # An optional request ID to identify requests. Specify a unique request ID so
701
+ # that if you must retry your request, the server will know to ignore the
702
+ # request if it has already been completed.
703
+ #
704
+ # For example, consider a situation where you make an initial request and
705
+ # the request times out. If you make the request again with the same
706
+ # request ID, the server can check if original operation with the same
707
+ # request ID was received, and if so, will ignore the second request. This
708
+ # prevents clients from accidentally creating duplicate commitments.
709
+ #
710
+ # The request ID must be
711
+ # a valid UUID with the exception that zero UUID is not supported
712
+ # (00000000-0000-0000-0000-000000000000).
600
713
  # @param resource_policy_resource [::Google::Cloud::Compute::V1::ResourcePolicy, ::Hash]
601
714
  # The body resource for this request
602
715
  # @yield [result, operation] Access the result along with the TransportOperation object
@@ -668,7 +781,8 @@ module Google
668
781
  end
669
782
 
670
783
  ##
671
- # A list all the resource policies that have been configured for the specified project in specified region.
784
+ # A list all the resource policies that have been configured for the
785
+ # specified project in specified region.
672
786
  #
673
787
  # @overload list(request, options = nil)
674
788
  # Pass arguments to `list` via a request object, either of type
@@ -686,19 +800,97 @@ module Google
686
800
  # the default parameter values, pass an empty Hash as a request object (see above).
687
801
  #
688
802
  # @param filter [::String]
689
- # A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions.
803
+ # A filter expression that filters resources listed in the response. Most
804
+ # Compute resources support two types of filter expressions:
805
+ # expressions that support regular expressions and expressions that follow
806
+ # API improvement proposal AIP-160.
807
+ # These two types of filter expressions cannot be mixed in one request.
808
+ #
809
+ # If you want to use AIP-160, your expression must specify the field name, an
810
+ # operator, and the value that you want to use for filtering. The value
811
+ # must be a string, a number, or a boolean. The operator
812
+ # must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.
813
+ #
814
+ # For example, if you are filtering Compute Engine instances, you can
815
+ # exclude instances named `example-instance` by specifying
816
+ # `name != example-instance`.
817
+ #
818
+ # The `:*` comparison can be used to test whether a key has been defined.
819
+ # For example, to find all objects with `owner` label use:
820
+ # ```
821
+ # labels.owner:*
822
+ # ```
823
+ #
824
+ # You can also filter nested fields. For example, you could specify
825
+ # `scheduling.automaticRestart = false` to include instances only
826
+ # if they are not scheduled for automatic restarts. You can use filtering
827
+ # on nested fields to filter based onresource labels.
828
+ #
829
+ # To filter on multiple expressions, provide each separate expression within
830
+ # parentheses. For example:
831
+ # ```
832
+ # (scheduling.automaticRestart = true)
833
+ # (cpuPlatform = "Intel Skylake")
834
+ # ```
835
+ # By default, each expression is an `AND` expression. However, you
836
+ # can include `AND` and `OR` expressions explicitly.
837
+ # For example:
838
+ # ```
839
+ # (cpuPlatform = "Intel Skylake") OR
840
+ # (cpuPlatform = "Intel Broadwell") AND
841
+ # (scheduling.automaticRestart = true)
842
+ # ```
843
+ #
844
+ # If you want to use a regular expression, use the `eq` (equal) or `ne`
845
+ # (not equal) operator against a single un-parenthesized expression with or
846
+ # without quotes or against multiple parenthesized expressions. Examples:
847
+ #
848
+ # `fieldname eq unquoted literal`
849
+ # `fieldname eq 'single quoted literal'`
850
+ # `fieldname eq "double quoted literal"`
851
+ # `(fieldname1 eq literal) (fieldname2 ne "literal")`
852
+ #
853
+ # The literal value is interpreted as a regular expression using GoogleRE2 library syntax.
854
+ # The literal value must match the entire field.
855
+ #
856
+ # For example, to filter for instances that do not end with name "instance",
857
+ # you would use `name ne .*instance`.
858
+ #
859
+ # You cannot combine constraints on multiple fields using regular
860
+ # expressions.
690
861
  # @param max_results [::Integer]
691
- # The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)
862
+ # The maximum number of results per page that should be returned.
863
+ # If the number of available results is larger than `maxResults`,
864
+ # Compute Engine returns a `nextPageToken` that can be used to get
865
+ # the next page of results in subsequent list requests. Acceptable values are
866
+ # `0` to `500`, inclusive. (Default: `500`)
692
867
  # @param order_by [::String]
693
- # Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.
868
+ # Sorts list results by a certain order. By default, results
869
+ # are returned in alphanumerical order based on the resource name.
870
+ #
871
+ # You can also sort results in descending order based on the creation
872
+ # timestamp using `orderBy="creationTimestamp desc"`. This sorts
873
+ # results based on the `creationTimestamp` field in
874
+ # reverse chronological order (newest result first). Use this to sort
875
+ # resources like operations so that the newest operation is returned first.
876
+ #
877
+ # Currently, only sorting by `name` or
878
+ # `creationTimestamp desc` is supported.
694
879
  # @param page_token [::String]
695
- # Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.
880
+ # Specifies a page token to use. Set `pageToken` to the
881
+ # `nextPageToken` returned by a previous list request to get
882
+ # the next page of results.
696
883
  # @param project [::String]
697
884
  # Project ID for this request.
698
885
  # @param region [::String]
699
886
  # Name of the region for this request.
700
887
  # @param return_partial_success [::Boolean]
701
- # 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.
888
+ # Opt-in for partial success behavior which provides partial results in case
889
+ # of failure. The default value is false.
890
+ #
891
+ # For example, when partial success behavior is enabled, aggregatedList for a
892
+ # single zone scope either returns all resources in the zone or no resources,
893
+ # with an error code.
702
894
  # @yield [result, operation] Access the result along with the TransportOperation object
703
895
  # @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Compute::V1::ResourcePolicy>]
704
896
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
@@ -782,7 +974,19 @@ module Google
782
974
  # @param region [::String]
783
975
  # Name of the region for this request.
784
976
  # @param request_id [::String]
785
- # 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).
977
+ # An optional request ID to identify requests. Specify a unique request ID so
978
+ # that if you must retry your request, the server will know to ignore the
979
+ # request if it has already been completed.
980
+ #
981
+ # For example, consider a situation where you make an initial request and
982
+ # the request times out. If you make the request again with the same
983
+ # request ID, the server can check if original operation with the same
984
+ # request ID was received, and if so, will ignore the second request. This
985
+ # prevents clients from accidentally creating duplicate commitments.
986
+ #
987
+ # The request ID must be
988
+ # a valid UUID with the exception that zero UUID is not supported
989
+ # (00000000-0000-0000-0000-000000000000).
786
990
  # @param resource_policy [::String]
787
991
  # Id of the resource policy to patch.
788
992
  # @param resource_policy_resource [::Google::Cloud::Compute::V1::ResourcePolicy, ::Hash]
@@ -858,7 +1062,8 @@ module Google
858
1062
  end
859
1063
 
860
1064
  ##
861
- # Sets the access control policy on the specified resource. Replaces any existing policy.
1065
+ # Sets the access control policy on the specified resource.
1066
+ # Replaces any existing policy.
862
1067
  #
863
1068
  # @overload set_iam_policy(request, options = nil)
864
1069
  # Pass arguments to `set_iam_policy` via a request object, either of type
@@ -18,15 +18,18 @@
18
18
 
19
19
  require "google/cloud/compute/v1/accelerator_types/rest"
20
20
  require "google/cloud/compute/v1/addresses/rest"
21
+ require "google/cloud/compute/v1/advice/rest"
21
22
  require "google/cloud/compute/v1/autoscalers/rest"
22
23
  require "google/cloud/compute/v1/backend_buckets/rest"
23
24
  require "google/cloud/compute/v1/backend_services/rest"
25
+ require "google/cloud/compute/v1/cross_site_networks/rest"
24
26
  require "google/cloud/compute/v1/disk_types/rest"
25
27
  require "google/cloud/compute/v1/disks/rest"
26
28
  require "google/cloud/compute/v1/external_vpn_gateways/rest"
27
29
  require "google/cloud/compute/v1/firewall_policies/rest"
28
30
  require "google/cloud/compute/v1/firewalls/rest"
29
31
  require "google/cloud/compute/v1/forwarding_rules/rest"
32
+ require "google/cloud/compute/v1/future_reservations/rest"
30
33
  require "google/cloud/compute/v1/global_addresses/rest"
31
34
  require "google/cloud/compute/v1/global_forwarding_rules/rest"
32
35
  require "google/cloud/compute/v1/global_network_endpoint_groups/rest"
@@ -62,17 +65,22 @@ require "google/cloud/compute/v1/networks/rest"
62
65
  require "google/cloud/compute/v1/node_groups/rest"
63
66
  require "google/cloud/compute/v1/node_templates/rest"
64
67
  require "google/cloud/compute/v1/node_types/rest"
68
+ require "google/cloud/compute/v1/organization_security_policies/rest"
65
69
  require "google/cloud/compute/v1/packet_mirrorings/rest"
70
+ require "google/cloud/compute/v1/preview_features/rest"
66
71
  require "google/cloud/compute/v1/projects/rest"
67
72
  require "google/cloud/compute/v1/public_advertised_prefixes/rest"
68
73
  require "google/cloud/compute/v1/public_delegated_prefixes/rest"
69
74
  require "google/cloud/compute/v1/region_autoscalers/rest"
70
75
  require "google/cloud/compute/v1/region_backend_services/rest"
71
76
  require "google/cloud/compute/v1/region_commitments/rest"
77
+ require "google/cloud/compute/v1/region_composite_health_checks/rest"
72
78
  require "google/cloud/compute/v1/region_disk_types/rest"
73
79
  require "google/cloud/compute/v1/region_disks/rest"
80
+ require "google/cloud/compute/v1/region_health_aggregation_policies/rest"
74
81
  require "google/cloud/compute/v1/region_health_check_services/rest"
75
82
  require "google/cloud/compute/v1/region_health_checks/rest"
83
+ require "google/cloud/compute/v1/region_health_sources/rest"
76
84
  require "google/cloud/compute/v1/region_instance_group_managers/rest"
77
85
  require "google/cloud/compute/v1/region_instance_groups/rest"
78
86
  require "google/cloud/compute/v1/region_instance_templates/rest"
@@ -92,6 +100,7 @@ require "google/cloud/compute/v1/region_url_maps/rest"
92
100
  require "google/cloud/compute/v1/region_zones/rest"
93
101
  require "google/cloud/compute/v1/regions/rest"
94
102
  require "google/cloud/compute/v1/reservation_blocks/rest"
103
+ require "google/cloud/compute/v1/reservation_slots/rest"
95
104
  require "google/cloud/compute/v1/reservation_sub_blocks/rest"
96
105
  require "google/cloud/compute/v1/reservations/rest"
97
106
  require "google/cloud/compute/v1/resource_policies/rest"
@@ -117,6 +126,7 @@ require "google/cloud/compute/v1/target_vpn_gateways/rest"
117
126
  require "google/cloud/compute/v1/url_maps/rest"
118
127
  require "google/cloud/compute/v1/vpn_gateways/rest"
119
128
  require "google/cloud/compute/v1/vpn_tunnels/rest"
129
+ require "google/cloud/compute/v1/wire_groups/rest"
120
130
  require "google/cloud/compute/v1/zone_operations/rest"
121
131
  require "google/cloud/compute/v1/zones/rest"
122
132
  require "google/cloud/compute/v1/version"