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
@@ -218,7 +218,10 @@ module Google
218
218
  # Service calls
219
219
 
220
220
  ##
221
- # Retrieves an aggregated list of node templates. To prevent failure, Google recommends that you set the `returnPartialSuccess` parameter to `true`.
221
+ # Retrieves an aggregated list of node templates.
222
+ #
223
+ # To prevent failure, Google recommends that you set the
224
+ # `returnPartialSuccess` parameter to `true`.
222
225
  #
223
226
  # @overload aggregated_list(request, options = nil)
224
227
  # Pass arguments to `aggregated_list` via a request object, either of type
@@ -236,21 +239,106 @@ module Google
236
239
  # the default parameter values, pass an empty Hash as a request object (see above).
237
240
  #
238
241
  # @param filter [::String]
239
- # 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.
242
+ # A filter expression that filters resources listed in the response. Most
243
+ # Compute resources support two types of filter expressions:
244
+ # expressions that support regular expressions and expressions that follow
245
+ # API improvement proposal AIP-160.
246
+ # These two types of filter expressions cannot be mixed in one request.
247
+ #
248
+ # If you want to use AIP-160, your expression must specify the field name, an
249
+ # operator, and the value that you want to use for filtering. The value
250
+ # must be a string, a number, or a boolean. The operator
251
+ # must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.
252
+ #
253
+ # For example, if you are filtering Compute Engine instances, you can
254
+ # exclude instances named `example-instance` by specifying
255
+ # `name != example-instance`.
256
+ #
257
+ # The `:*` comparison can be used to test whether a key has been defined.
258
+ # For example, to find all objects with `owner` label use:
259
+ # ```
260
+ # labels.owner:*
261
+ # ```
262
+ #
263
+ # You can also filter nested fields. For example, you could specify
264
+ # `scheduling.automaticRestart = false` to include instances only
265
+ # if they are not scheduled for automatic restarts. You can use filtering
266
+ # on nested fields to filter based onresource labels.
267
+ #
268
+ # To filter on multiple expressions, provide each separate expression within
269
+ # parentheses. For example:
270
+ # ```
271
+ # (scheduling.automaticRestart = true)
272
+ # (cpuPlatform = "Intel Skylake")
273
+ # ```
274
+ # By default, each expression is an `AND` expression. However, you
275
+ # can include `AND` and `OR` expressions explicitly.
276
+ # For example:
277
+ # ```
278
+ # (cpuPlatform = "Intel Skylake") OR
279
+ # (cpuPlatform = "Intel Broadwell") AND
280
+ # (scheduling.automaticRestart = true)
281
+ # ```
282
+ #
283
+ # If you want to use a regular expression, use the `eq` (equal) or `ne`
284
+ # (not equal) operator against a single un-parenthesized expression with or
285
+ # without quotes or against multiple parenthesized expressions. Examples:
286
+ #
287
+ # `fieldname eq unquoted literal`
288
+ # `fieldname eq 'single quoted literal'`
289
+ # `fieldname eq "double quoted literal"`
290
+ # `(fieldname1 eq literal) (fieldname2 ne "literal")`
291
+ #
292
+ # The literal value is interpreted as a regular expression using GoogleRE2 library syntax.
293
+ # The literal value must match the entire field.
294
+ #
295
+ # For example, to filter for instances that do not end with name "instance",
296
+ # you would use `name ne .*instance`.
297
+ #
298
+ # You cannot combine constraints on multiple fields using regular
299
+ # expressions.
240
300
  # @param include_all_scopes [::Boolean]
241
- # 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.
301
+ # Indicates whether every visible scope for each scope type (zone, region,
302
+ # global) should be included in the response. For new resource types added
303
+ # after this field, the flag has no effect as new resource types will always
304
+ # include every visible scope for each scope type in response. For resource
305
+ # types which predate this field, if this flag is omitted or false, only
306
+ # scopes of the scope types where the resource type is expected to be found
307
+ # will be included.
242
308
  # @param max_results [::Integer]
243
- # 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`)
309
+ # The maximum number of results per page that should be returned.
310
+ # If the number of available results is larger than `maxResults`,
311
+ # Compute Engine returns a `nextPageToken` that can be used to get
312
+ # the next page of results in subsequent list requests. Acceptable values are
313
+ # `0` to `500`, inclusive. (Default: `500`)
244
314
  # @param order_by [::String]
245
- # 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.
315
+ # Sorts list results by a certain order. By default, results
316
+ # are returned in alphanumerical order based on the resource name.
317
+ #
318
+ # You can also sort results in descending order based on the creation
319
+ # timestamp using `orderBy="creationTimestamp desc"`. This sorts
320
+ # results based on the `creationTimestamp` field in
321
+ # reverse chronological order (newest result first). Use this to sort
322
+ # resources like operations so that the newest operation is returned first.
323
+ #
324
+ # Currently, only sorting by `name` or
325
+ # `creationTimestamp desc` is supported.
246
326
  # @param page_token [::String]
247
- # Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.
327
+ # Specifies a page token to use. Set `pageToken` to the
328
+ # `nextPageToken` returned by a previous list request to get
329
+ # the next page of results.
248
330
  # @param project [::String]
249
331
  # Project ID for this request.
250
332
  # @param return_partial_success [::Boolean]
251
- # 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.
333
+ # Opt-in for partial success behavior which provides partial results in case
334
+ # of failure. The default value is false.
335
+ #
336
+ # For example, when partial success behavior is enabled, aggregatedList for a
337
+ # single zone scope either returns all resources in the zone or no resources,
338
+ # with an error code.
252
339
  # @param service_project_number [::Integer]
253
- # The Shared VPC service project id or service project number for which aggregated list request is invoked for subnetworks list-usable api.
340
+ # The Shared VPC service project id or service project number for which
341
+ # aggregated list request is invoked for subnetworks list-usable api.
254
342
  # @yield [result, operation] Access the result along with the TransportOperation object
255
343
  # @yieldparam result [::Gapic::Rest::PagedEnumerable<::String, ::Google::Cloud::Compute::V1::NodeTemplatesScopedList>]
256
344
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
@@ -336,7 +424,19 @@ module Google
336
424
  # @param region [::String]
337
425
  # The 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
  # @yield [result, operation] Access the result along with the TransportOperation object
341
441
  # @yieldparam result [::Gapic::GenericLRO::Operation]
342
442
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
@@ -488,7 +588,8 @@ module Google
488
588
  end
489
589
 
490
590
  ##
491
- # Gets the access control policy for a resource. May be empty if no such policy or resource exists.
591
+ # Gets the access control policy for a resource. May be empty if no such
592
+ # policy or resource exists.
492
593
  #
493
594
  # @overload get_iam_policy(request, options = nil)
494
595
  # Pass arguments to `get_iam_policy` via a request object, either of type
@@ -572,7 +673,8 @@ module Google
572
673
  end
573
674
 
574
675
  ##
575
- # Creates a NodeTemplate resource in the specified project using the data included in the request.
676
+ # Creates a NodeTemplate resource in the specified project using the data
677
+ # included in the request.
576
678
  #
577
679
  # @overload insert(request, options = nil)
578
680
  # Pass arguments to `insert` via a request object, either of type
@@ -596,7 +698,19 @@ module Google
596
698
  # @param region [::String]
597
699
  # The name of the region for this request.
598
700
  # @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).
701
+ # An optional request ID to identify requests. Specify a unique request ID so
702
+ # that if you must retry your request, the server will know to ignore the
703
+ # request if it has already been completed.
704
+ #
705
+ # For example, consider a situation where you make an initial request and
706
+ # the request times out. If you make the request again with the same
707
+ # request ID, the server can check if original operation with the same
708
+ # request ID was received, and if so, will ignore the second request. This
709
+ # prevents clients from accidentally creating duplicate commitments.
710
+ #
711
+ # The request ID must be
712
+ # a valid UUID with the exception that zero UUID is not supported
713
+ # (00000000-0000-0000-0000-000000000000).
600
714
  # @yield [result, operation] Access the result along with the TransportOperation object
601
715
  # @yieldparam result [::Gapic::GenericLRO::Operation]
602
716
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
@@ -666,7 +780,8 @@ module Google
666
780
  end
667
781
 
668
782
  ##
669
- # Retrieves a list of node templates available to the specified project.
783
+ # Retrieves a list of node templates available to the specified
784
+ # project.
670
785
  #
671
786
  # @overload list(request, options = nil)
672
787
  # Pass arguments to `list` via a request object, either of type
@@ -684,19 +799,97 @@ module Google
684
799
  # the default parameter values, pass an empty Hash as a request object (see above).
685
800
  #
686
801
  # @param filter [::String]
687
- # 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.
802
+ # A filter expression that filters resources listed in the response. Most
803
+ # Compute resources support two types of filter expressions:
804
+ # expressions that support regular expressions and expressions that follow
805
+ # API improvement proposal AIP-160.
806
+ # These two types of filter expressions cannot be mixed in one request.
807
+ #
808
+ # If you want to use AIP-160, your expression must specify the field name, an
809
+ # operator, and the value that you want to use for filtering. The value
810
+ # must be a string, a number, or a boolean. The operator
811
+ # must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.
812
+ #
813
+ # For example, if you are filtering Compute Engine instances, you can
814
+ # exclude instances named `example-instance` by specifying
815
+ # `name != example-instance`.
816
+ #
817
+ # The `:*` comparison can be used to test whether a key has been defined.
818
+ # For example, to find all objects with `owner` label use:
819
+ # ```
820
+ # labels.owner:*
821
+ # ```
822
+ #
823
+ # You can also filter nested fields. For example, you could specify
824
+ # `scheduling.automaticRestart = false` to include instances only
825
+ # if they are not scheduled for automatic restarts. You can use filtering
826
+ # on nested fields to filter based onresource labels.
827
+ #
828
+ # To filter on multiple expressions, provide each separate expression within
829
+ # parentheses. For example:
830
+ # ```
831
+ # (scheduling.automaticRestart = true)
832
+ # (cpuPlatform = "Intel Skylake")
833
+ # ```
834
+ # By default, each expression is an `AND` expression. However, you
835
+ # can include `AND` and `OR` expressions explicitly.
836
+ # For example:
837
+ # ```
838
+ # (cpuPlatform = "Intel Skylake") OR
839
+ # (cpuPlatform = "Intel Broadwell") AND
840
+ # (scheduling.automaticRestart = true)
841
+ # ```
842
+ #
843
+ # If you want to use a regular expression, use the `eq` (equal) or `ne`
844
+ # (not equal) operator against a single un-parenthesized expression with or
845
+ # without quotes or against multiple parenthesized expressions. Examples:
846
+ #
847
+ # `fieldname eq unquoted literal`
848
+ # `fieldname eq 'single quoted literal'`
849
+ # `fieldname eq "double quoted literal"`
850
+ # `(fieldname1 eq literal) (fieldname2 ne "literal")`
851
+ #
852
+ # The literal value is interpreted as a regular expression using GoogleRE2 library syntax.
853
+ # The literal value must match the entire field.
854
+ #
855
+ # For example, to filter for instances that do not end with name "instance",
856
+ # you would use `name ne .*instance`.
857
+ #
858
+ # You cannot combine constraints on multiple fields using regular
859
+ # expressions.
688
860
  # @param max_results [::Integer]
689
- # 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`)
861
+ # The maximum number of results per page that should be returned.
862
+ # If the number of available results is larger than `maxResults`,
863
+ # Compute Engine returns a `nextPageToken` that can be used to get
864
+ # the next page of results in subsequent list requests. Acceptable values are
865
+ # `0` to `500`, inclusive. (Default: `500`)
690
866
  # @param order_by [::String]
691
- # 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.
867
+ # Sorts list results by a certain order. By default, results
868
+ # are returned in alphanumerical order based on the resource name.
869
+ #
870
+ # You can also sort results in descending order based on the creation
871
+ # timestamp using `orderBy="creationTimestamp desc"`. This sorts
872
+ # results based on the `creationTimestamp` field in
873
+ # reverse chronological order (newest result first). Use this to sort
874
+ # resources like operations so that the newest operation is returned first.
875
+ #
876
+ # Currently, only sorting by `name` or
877
+ # `creationTimestamp desc` is supported.
692
878
  # @param page_token [::String]
693
- # Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.
879
+ # Specifies a page token to use. Set `pageToken` to the
880
+ # `nextPageToken` returned by a previous list request to get
881
+ # the next page of results.
694
882
  # @param project [::String]
695
883
  # Project ID for this request.
696
884
  # @param region [::String]
697
885
  # The name of the region for this request.
698
886
  # @param return_partial_success [::Boolean]
699
- # Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope either returns all resources in the zone or no resources, with an error code.
887
+ # Opt-in for partial success behavior which provides partial results in case
888
+ # of failure. The default value is false.
889
+ #
890
+ # For example, when partial success behavior is enabled, aggregatedList for a
891
+ # single zone scope either returns all resources in the zone or no resources,
892
+ # with an error code.
700
893
  # @yield [result, operation] Access the result along with the TransportOperation object
701
894
  # @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Compute::V1::NodeTemplate>]
702
895
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
@@ -758,7 +951,8 @@ module Google
758
951
  end
759
952
 
760
953
  ##
761
- # Sets the access control policy on the specified resource. Replaces any existing policy.
954
+ # Sets the access control policy on the specified resource.
955
+ # Replaces any existing policy.
762
956
  #
763
957
  # @overload set_iam_policy(request, options = nil)
764
958
  # Pass arguments to `set_iam_policy` via a request object, either of type
@@ -190,7 +190,10 @@ module Google
190
190
  # Service calls
191
191
 
192
192
  ##
193
- # Retrieves an aggregated list of node types. To prevent failure, Google recommends that you set the `returnPartialSuccess` parameter to `true`.
193
+ # Retrieves an aggregated list of node types.
194
+ #
195
+ # To prevent failure, Google recommends 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::NodeTypesScopedList>]
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 node types available to the specified project.
457
+ # Retrieves a list of node 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
@@ -0,0 +1,52 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright 2026 Google LLC
4
+ #
5
+ # Licensed under the Apache License, Version 2.0 (the "License");
6
+ # you may not use this file except in compliance with the License.
7
+ # You may obtain a copy of the License at
8
+ #
9
+ # https://www.apache.org/licenses/LICENSE-2.0
10
+ #
11
+ # Unless required by applicable law or agreed to in writing, software
12
+ # distributed under the License is distributed on an "AS IS" BASIS,
13
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ # See the License for the specific language governing permissions and
15
+ # limitations under the License.
16
+
17
+ # Auto-generated by gapic-generator-ruby. DO NOT EDIT!
18
+
19
+ require "googleauth"
20
+
21
+ module Google
22
+ module Cloud
23
+ module Compute
24
+ module V1
25
+ module OrganizationSecurityPolicies
26
+ # Credentials for the OrganizationSecurityPolicies API.
27
+ class Credentials < ::Google::Auth::Credentials
28
+ self.scope = [
29
+ "https://www.googleapis.com/auth/compute",
30
+ "https://www.googleapis.com/auth/cloud-platform"
31
+ ]
32
+ self.env_vars = [
33
+ "COMPUTE_CREDENTIALS",
34
+ "COMPUTE_KEYFILE",
35
+ "GOOGLE_CLOUD_CREDENTIALS",
36
+ "GOOGLE_CLOUD_KEYFILE",
37
+ "GCLOUD_KEYFILE",
38
+ "COMPUTE_CREDENTIALS_JSON",
39
+ "COMPUTE_KEYFILE_JSON",
40
+ "GOOGLE_CLOUD_CREDENTIALS_JSON",
41
+ "GOOGLE_CLOUD_KEYFILE_JSON",
42
+ "GCLOUD_KEYFILE_JSON"
43
+ ]
44
+ self.paths = [
45
+ "~/.config/google_cloud/application_default_credentials.json"
46
+ ]
47
+ end
48
+ end
49
+ end
50
+ end
51
+ end
52
+ end