google-apis-cloudbilling_v1beta 0.11.0 → 0.13.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c326b1eca622443a1d8e916c02897d91cc4d420c2f99890014dd1ee0c4336f5a
4
- data.tar.gz: 1edc24ac169b96821b9b890dab7c89287303680554fe8baaff83c3a7af67d345
3
+ metadata.gz: 0fdfbd73aace5efa9d54f12d9c6271119ef5403ea662d24b9ca4d5f17654446f
4
+ data.tar.gz: 25bd4632b390712612e2df9c30e843ac546365163c944b234ea1c68347a7a7d0
5
5
  SHA512:
6
- metadata.gz: dbfce509ada879344f7e59348bf8716fcd1ce102e5a9097440cd2f85b9015c9bed1b7d5540810fb6f3c7aea36f3906bb962975ad41dd81ffd01f34e86fbfe9ad
7
- data.tar.gz: 936ef0c01e2a42a5d1640147b3155fb32b58d9ffa43c0f9e79c83598e7f80ce1d3135127d51359933a7f47fdf2d56ac259aecb037600babf6085251dd2c9307b
6
+ metadata.gz: 6a41239deea7d07f314fc2da3551b02b424804fa5d1f92d9bd673afff31fba90a58dbe5a603fd88673cd9f3dd12ab1433c4c18e307c7ad2b37d45ade871cb478
7
+ data.tar.gz: de451fb17cfc29afbb68e1fd82ec25aaf75f920ea4777bc28fd20f581c385ebbad984e4551874dbd1deeeb4a178ea3887e35c78d64ea5e879f6d5d3a686eed34
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-cloudbilling_v1beta
2
2
 
3
+ ### v0.13.0 (2023-12-17)
4
+
5
+ * Regenerated from discovery document revision 20231208
6
+
7
+ ### v0.12.0 (2023-11-19)
8
+
9
+ * Regenerated from discovery document revision 20231115
10
+
3
11
  ### v0.11.0 (2023-09-03)
4
12
 
5
13
  * Regenerated from discovery document revision 20230825
@@ -47,11 +47,11 @@ module Google
47
47
  end
48
48
  end
49
49
 
50
- # Specifies usage for Cloud CDN egress.
50
+ # Specifies usage for Cloud CDN Data Transfer.
51
51
  class CloudCdnEgressWorkload
52
52
  include Google::Apis::Core::Hashable
53
53
 
54
- # The destination for the cache egress charges.
54
+ # The destination for the cache data transfer.
55
55
  # Corresponds to the JSON property `cacheEgressDestination`
56
56
  # @return [String]
57
57
  attr_accessor :cache_egress_destination
@@ -109,8 +109,9 @@ module Google
109
109
  end
110
110
  end
111
111
 
112
- # The interconnect egress only includes the Interconnect Egress. Please use the
113
- # standard egress traffic interface to specify your standard egress usage.
112
+ # Includes the estimate for Interconnect Data Transfer only. To specify usage
113
+ # for data transfer between VMs and internet end-points, use the Standard Tier
114
+ # Internet Data Transfer interface.
114
115
  class CloudInterconnectEgressWorkload
115
116
  include Google::Apis::Core::Hashable
116
117
 
@@ -120,8 +121,8 @@ module Google
120
121
  attr_accessor :egress_rate
121
122
 
122
123
  # Locations in the [Interconnect connection location table](https://cloud.google.
123
- # com/vpc/network-pricing#interconnect-pricing). This is the interconnect egress
124
- # charges.
124
+ # com/vpc/network-pricing#interconnect-pricing). These are the Interconnect Data
125
+ # Transfer charges.
125
126
  # Corresponds to the JSON property `interconnectConnectionLocation`
126
127
  # @return [String]
127
128
  attr_accessor :interconnect_connection_location
@@ -174,10 +175,11 @@ module Google
174
175
  end
175
176
  end
176
177
 
177
- # Specification of a network type. Network egress within Google Cloud applies
178
- # when you move or copy data from one Cloud Storage bucket to another or when
179
- # another Google Cloud service accesses data in your Cloud Storage bucket.This
180
- # includes the network egress within Google Cloud and the general network usage.
178
+ # Specification of a network type. Network data transfer within Google Cloud
179
+ # applies when you move or copy data from one Cloud Storage bucket to another or
180
+ # when another Google Cloud service accesses data in your Cloud Storage bucket.
181
+ # This includes the network data transfer within Google Cloud and the general
182
+ # network usage.
181
183
  class CloudStorageEgressWorkload
182
184
  include Google::Apis::Core::Hashable
183
185
 
@@ -768,7 +770,7 @@ module Google
768
770
  end
769
771
  end
770
772
 
771
- # Encapsulates the latest price for the given billing account SKU.
773
+ # Encapsulates the latest price for a billing account SKU.
772
774
  class GoogleCloudBillingBillingaccountpricesV1betaBillingAccountPrice
773
775
  include Google::Apis::Core::Hashable
774
776
 
@@ -794,7 +796,7 @@ module Google
794
796
  # @return [Google::Apis::CloudbillingV1beta::GoogleCloudBillingBillingaccountpricesV1betaRate]
795
797
  attr_accessor :rate
796
798
 
797
- # Type of the price. It can have values: ["unspecified", "rate"].
799
+ # Type of the price. The possible values are: ["unspecified", "rate"].
798
800
  # Corresponds to the JSON property `valueType`
799
801
  # @return [String]
800
802
  attr_accessor :value_type
@@ -920,6 +922,32 @@ module Google
920
922
  end
921
923
  end
922
924
 
925
+ # Response message for ListBillingAccountPrices.
926
+ class GoogleCloudBillingBillingaccountpricesV1betaListBillingAccountPricesResponse
927
+ include Google::Apis::Core::Hashable
928
+
929
+ # The returned billing account prices.
930
+ # Corresponds to the JSON property `billingAccountPrices`
931
+ # @return [Array<Google::Apis::CloudbillingV1beta::GoogleCloudBillingBillingaccountpricesV1betaBillingAccountPrice>]
932
+ attr_accessor :billing_account_prices
933
+
934
+ # Token that can be sent as `page_token` in the subsequent request to retrieve
935
+ # the next page. If this field is empty, there are no subsequent pages.
936
+ # Corresponds to the JSON property `nextPageToken`
937
+ # @return [String]
938
+ attr_accessor :next_page_token
939
+
940
+ def initialize(**args)
941
+ update!(**args)
942
+ end
943
+
944
+ # Update properties of this object
945
+ def update!(**args)
946
+ @billing_account_prices = args[:billing_account_prices] if args.key?(:billing_account_prices)
947
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
948
+ end
949
+ end
950
+
923
951
  # Encapsulates a contract feature that the list price (DefaultPrice) will be
924
952
  # used for the price if the current list price drops lower than the custom fixed
925
953
  # price. Available to new contracts after March 21, 2022. Applies to all fixed
@@ -1758,7 +1786,33 @@ module Google
1758
1786
  end
1759
1787
  end
1760
1788
 
1761
- # Encapsulates the latest price for the given SKU.
1789
+ # Response message for ListPrices.
1790
+ class GoogleCloudBillingPricesV1betaListPricesResponse
1791
+ include Google::Apis::Core::Hashable
1792
+
1793
+ # Token that can be sent as `page_token` in the subsequent request to retrieve
1794
+ # the next page. If this field is empty, there are no subsequent pages.
1795
+ # Corresponds to the JSON property `nextPageToken`
1796
+ # @return [String]
1797
+ attr_accessor :next_page_token
1798
+
1799
+ # The returned publicly listed prices.
1800
+ # Corresponds to the JSON property `prices`
1801
+ # @return [Array<Google::Apis::CloudbillingV1beta::GoogleCloudBillingPricesV1betaPrice>]
1802
+ attr_accessor :prices
1803
+
1804
+ def initialize(**args)
1805
+ update!(**args)
1806
+ end
1807
+
1808
+ # Update properties of this object
1809
+ def update!(**args)
1810
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
1811
+ @prices = args[:prices] if args.key?(:prices)
1812
+ end
1813
+ end
1814
+
1815
+ # Encapsulates the latest price for a SKU.
1762
1816
  class GoogleCloudBillingPricesV1betaPrice
1763
1817
  include Google::Apis::Core::Hashable
1764
1818
 
@@ -2204,12 +2258,12 @@ module Google
2204
2258
  end
2205
2259
  end
2206
2260
 
2207
- # Egress traffic between two regions.
2261
+ # Data transfer between two regions.
2208
2262
  class InterRegionEgress
2209
2263
  include Google::Apis::Core::Hashable
2210
2264
 
2211
- # Which [region](https://cloud.google.com/compute/docs/regions-zones) the egress
2212
- # data goes to.
2265
+ # Which [region](https://cloud.google.com/compute/docs/regions-zones) the data
2266
+ # is transferred to.
2213
2267
  # Corresponds to the JSON property `destinationRegion`
2214
2268
  # @return [String]
2215
2269
  attr_accessor :destination_region
@@ -2219,8 +2273,8 @@ module Google
2219
2273
  # @return [Google::Apis::CloudbillingV1beta::Usage]
2220
2274
  attr_accessor :egress_rate
2221
2275
 
2222
- # Which [region](https://cloud.google.com/compute/docs/regions-zones) the egress
2223
- # data comes from.
2276
+ # Which [region](https://cloud.google.com/compute/docs/regions-zones) the data
2277
+ # is transferred from.
2224
2278
  # Corresponds to the JSON property `sourceRegion`
2225
2279
  # @return [String]
2226
2280
  attr_accessor :source_region
@@ -2237,9 +2291,9 @@ module Google
2237
2291
  end
2238
2292
  end
2239
2293
 
2240
- # Egress traffic within the same region. When source region and destination
2241
- # region are in the same zone, using the internal IP addresses, there isn't any
2242
- # egress charge.
2294
+ # Data transfer within the same region. When the source region and destination
2295
+ # region are in the same zone, using internal IP addresses, there isn't any
2296
+ # charge for data transfer.
2243
2297
  class IntraRegionEgress
2244
2298
  include Google::Apis::Core::Hashable
2245
2299
 
@@ -2397,7 +2451,7 @@ module Google
2397
2451
  end
2398
2452
  end
2399
2453
 
2400
- # Specify Premium Tier Internet egress networking.
2454
+ # Specify a Premium Tier Internet Data Transfer networking workload.
2401
2455
  class PremiumTierEgressWorkload
2402
2456
  include Google::Apis::Core::Hashable
2403
2457
 
@@ -2411,8 +2465,8 @@ module Google
2411
2465
  # @return [Google::Apis::CloudbillingV1beta::Usage]
2412
2466
  attr_accessor :egress_rate
2413
2467
 
2414
- # Which [region](https://cloud.google.com/compute/docs/regions-zones) the egress
2415
- # data comes from.
2468
+ # Which [region](https://cloud.google.com/compute/docs/regions-zones) the data
2469
+ # comes from.
2416
2470
  # Corresponds to the JSON property `sourceRegion`
2417
2471
  # @return [String]
2418
2472
  attr_accessor :source_region
@@ -2675,7 +2729,7 @@ module Google
2675
2729
  end
2676
2730
  end
2677
2731
 
2678
- # Specify Standard Tier Internet egress networking.
2732
+ # Specify Standard Tier Internet Data Transfer.
2679
2733
  class StandardTierEgressWorkload
2680
2734
  include Google::Apis::Core::Hashable
2681
2735
 
@@ -2684,8 +2738,8 @@ module Google
2684
2738
  # @return [Google::Apis::CloudbillingV1beta::Usage]
2685
2739
  attr_accessor :egress_rate
2686
2740
 
2687
- # Which [region](https://cloud.google.com/compute/docs/regions-zones) the egress
2688
- # data comes from.
2741
+ # Which [region](https://cloud.google.com/compute/docs/regions-zones) the data
2742
+ # is transferred from.
2689
2743
  # Corresponds to the JSON property `sourceRegion`
2690
2744
  # @return [String]
2691
2745
  attr_accessor :source_region
@@ -2889,18 +2943,18 @@ module Google
2889
2943
  end
2890
2944
  end
2891
2945
 
2892
- # Specify VM to VM egress.
2946
+ # Specify VM to VM data transfer.
2893
2947
  class VmToVmEgressWorkload
2894
2948
  include Google::Apis::Core::Hashable
2895
2949
 
2896
- # Egress traffic between two regions.
2950
+ # Data transfer between two regions.
2897
2951
  # Corresponds to the JSON property `interRegionEgress`
2898
2952
  # @return [Google::Apis::CloudbillingV1beta::InterRegionEgress]
2899
2953
  attr_accessor :inter_region_egress
2900
2954
 
2901
- # Egress traffic within the same region. When source region and destination
2902
- # region are in the same zone, using the internal IP addresses, there isn't any
2903
- # egress charge.
2955
+ # Data transfer within the same region. When the source region and destination
2956
+ # region are in the same zone, using internal IP addresses, there isn't any
2957
+ # charge for data transfer.
2904
2958
  # Corresponds to the JSON property `intraRegionEgress`
2905
2959
  # @return [Google::Apis::CloudbillingV1beta::IntraRegionEgress]
2906
2960
  attr_accessor :intra_region_egress
@@ -2923,7 +2977,7 @@ module Google
2923
2977
  class Workload
2924
2978
  include Google::Apis::Core::Hashable
2925
2979
 
2926
- # Specifies usage for Cloud CDN egress.
2980
+ # Specifies usage for Cloud CDN Data Transfer.
2927
2981
  # Corresponds to the JSON property `cloudCdnEgressWorkload`
2928
2982
  # @return [Google::Apis::CloudbillingV1beta::CloudCdnEgressWorkload]
2929
2983
  attr_accessor :cloud_cdn_egress_workload
@@ -2933,8 +2987,9 @@ module Google
2933
2987
  # @return [Google::Apis::CloudbillingV1beta::CloudCdnWorkload]
2934
2988
  attr_accessor :cloud_cdn_workload
2935
2989
 
2936
- # The interconnect egress only includes the Interconnect Egress. Please use the
2937
- # standard egress traffic interface to specify your standard egress usage.
2990
+ # Includes the estimate for Interconnect Data Transfer only. To specify usage
2991
+ # for data transfer between VMs and internet end-points, use the Standard Tier
2992
+ # Internet Data Transfer interface.
2938
2993
  # Corresponds to the JSON property `cloudInterconnectEgressWorkload`
2939
2994
  # @return [Google::Apis::CloudbillingV1beta::CloudInterconnectEgressWorkload]
2940
2995
  attr_accessor :cloud_interconnect_egress_workload
@@ -2944,10 +2999,11 @@ module Google
2944
2999
  # @return [Google::Apis::CloudbillingV1beta::CloudInterconnectWorkload]
2945
3000
  attr_accessor :cloud_interconnect_workload
2946
3001
 
2947
- # Specification of a network type. Network egress within Google Cloud applies
2948
- # when you move or copy data from one Cloud Storage bucket to another or when
2949
- # another Google Cloud service accesses data in your Cloud Storage bucket.This
2950
- # includes the network egress within Google Cloud and the general network usage.
3002
+ # Specification of a network type. Network data transfer within Google Cloud
3003
+ # applies when you move or copy data from one Cloud Storage bucket to another or
3004
+ # when another Google Cloud service accesses data in your Cloud Storage bucket.
3005
+ # This includes the network data transfer within Google Cloud and the general
3006
+ # network usage.
2951
3007
  # Corresponds to the JSON property `cloudStorageEgressWorkload`
2952
3008
  # @return [Google::Apis::CloudbillingV1beta::CloudStorageEgressWorkload]
2953
3009
  attr_accessor :cloud_storage_egress_workload
@@ -2968,17 +3024,17 @@ module Google
2968
3024
  # @return [String]
2969
3025
  attr_accessor :name
2970
3026
 
2971
- # Specify Premium Tier Internet egress networking.
3027
+ # Specify a Premium Tier Internet Data Transfer networking workload.
2972
3028
  # Corresponds to the JSON property `premiumTierEgressWorkload`
2973
3029
  # @return [Google::Apis::CloudbillingV1beta::PremiumTierEgressWorkload]
2974
3030
  attr_accessor :premium_tier_egress_workload
2975
3031
 
2976
- # Specify Standard Tier Internet egress networking.
3032
+ # Specify Standard Tier Internet Data Transfer.
2977
3033
  # Corresponds to the JSON property `standardTierEgressWorkload`
2978
3034
  # @return [Google::Apis::CloudbillingV1beta::StandardTierEgressWorkload]
2979
3035
  attr_accessor :standard_tier_egress_workload
2980
3036
 
2981
- # Specify VM to VM egress.
3037
+ # Specify VM to VM data transfer.
2982
3038
  # Corresponds to the JSON property `vmToVmEgressWorkload`
2983
3039
  # @return [Google::Apis::CloudbillingV1beta::VmToVmEgressWorkload]
2984
3040
  attr_accessor :vm_to_vm_egress_workload
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module CloudbillingV1beta
18
18
  # Version of the google-apis-cloudbilling_v1beta gem
19
- GEM_VERSION = "0.11.0"
19
+ GEM_VERSION = "0.13.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.12.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20230825"
25
+ REVISION = "20231208"
26
26
  end
27
27
  end
28
28
  end
@@ -190,6 +190,12 @@ module Google
190
190
  include Google::Apis::Core::JsonObjectSupport
191
191
  end
192
192
 
193
+ class GoogleCloudBillingBillingaccountpricesV1betaListBillingAccountPricesResponse
194
+ class Representation < Google::Apis::Core::JsonRepresentation; end
195
+
196
+ include Google::Apis::Core::JsonObjectSupport
197
+ end
198
+
193
199
  class GoogleCloudBillingBillingaccountpricesV1betaListPriceAsCeiling
194
200
  class Representation < Google::Apis::Core::JsonRepresentation; end
195
201
 
@@ -370,6 +376,12 @@ module Google
370
376
  include Google::Apis::Core::JsonObjectSupport
371
377
  end
372
378
 
379
+ class GoogleCloudBillingPricesV1betaListPricesResponse
380
+ class Representation < Google::Apis::Core::JsonRepresentation; end
381
+
382
+ include Google::Apis::Core::JsonObjectSupport
383
+ end
384
+
373
385
  class GoogleCloudBillingPricesV1betaPrice
374
386
  class Representation < Google::Apis::Core::JsonRepresentation; end
375
387
 
@@ -897,6 +909,15 @@ module Google
897
909
  end
898
910
  end
899
911
 
912
+ class GoogleCloudBillingBillingaccountpricesV1betaListBillingAccountPricesResponse
913
+ # @private
914
+ class Representation < Google::Apis::Core::JsonRepresentation
915
+ collection :billing_account_prices, as: 'billingAccountPrices', class: Google::Apis::CloudbillingV1beta::GoogleCloudBillingBillingaccountpricesV1betaBillingAccountPrice, decorator: Google::Apis::CloudbillingV1beta::GoogleCloudBillingBillingaccountpricesV1betaBillingAccountPrice::Representation
916
+
917
+ property :next_page_token, as: 'nextPageToken'
918
+ end
919
+ end
920
+
900
921
  class GoogleCloudBillingBillingaccountpricesV1betaListPriceAsCeiling
901
922
  # @private
902
923
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1176,6 +1197,15 @@ module Google
1176
1197
  end
1177
1198
  end
1178
1199
 
1200
+ class GoogleCloudBillingPricesV1betaListPricesResponse
1201
+ # @private
1202
+ class Representation < Google::Apis::Core::JsonRepresentation
1203
+ property :next_page_token, as: 'nextPageToken'
1204
+ collection :prices, as: 'prices', class: Google::Apis::CloudbillingV1beta::GoogleCloudBillingPricesV1betaPrice, decorator: Google::Apis::CloudbillingV1beta::GoogleCloudBillingPricesV1betaPrice::Representation
1205
+
1206
+ end
1207
+ end
1208
+
1179
1209
  class GoogleCloudBillingPricesV1betaPrice
1180
1210
  # @private
1181
1211
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -376,13 +376,13 @@ module Google
376
376
  execute_or_queue_command(command, &block)
377
377
  end
378
378
 
379
- # Gets the latest price for the given billing account SKU.
379
+ # Gets the latest price for SKUs available to your Cloud Billing account.
380
380
  # @param [String] name
381
- # Required. Name of the latest billing account price to retrieve. Format:
381
+ # Required. Name of the billing account price to retrieve. Format:
382
382
  # billingAccounts/`billing_account`/skus/`sku`/price
383
383
  # @param [String] currency_code
384
- # Optional. ISO-4217 currency code for the price. If not specified, currency of
385
- # billing account will be used.
384
+ # Optional. ISO-4217 currency code for the price. If not specified, the currency
385
+ # of the billing account is used.
386
386
  # @param [String] fields
387
387
  # Selector specifying which fields to include in a partial response.
388
388
  # @param [String] quota_user
@@ -411,6 +411,51 @@ module Google
411
411
  execute_or_queue_command(command, &block)
412
412
  end
413
413
 
414
+ # Lists the latest prices for SKUs available to your Cloud Billing account.
415
+ # @param [String] parent
416
+ # Required. To list all Billing Account SKUs, use `-` as the SKU ID. Format: `
417
+ # billingAccounts/`billing_account`/skus/-` Note: Specifying an actual SKU
418
+ # resource id will return a collection of one Billing Account Price.
419
+ # @param [String] currency_code
420
+ # Optional. ISO-4217 currency code for the price. If not specified, currency of
421
+ # billing account will be used.
422
+ # @param [Fixnum] page_size
423
+ # Optional. Maximum number of billing account price to return. Results may
424
+ # return fewer than this value. Default value is 50 and maximum value is 5000.
425
+ # @param [String] page_token
426
+ # Optional. Page token received from a previous ListBillingAccountPrices call to
427
+ # retrieve the next page of results. If this field is empty, the first page is
428
+ # returned.
429
+ # @param [String] fields
430
+ # Selector specifying which fields to include in a partial response.
431
+ # @param [String] quota_user
432
+ # Available to use for quota purposes for server-side applications. Can be any
433
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
434
+ # @param [Google::Apis::RequestOptions] options
435
+ # Request-specific options
436
+ #
437
+ # @yield [result, err] Result & error if block supplied
438
+ # @yieldparam result [Google::Apis::CloudbillingV1beta::GoogleCloudBillingBillingaccountpricesV1betaListBillingAccountPricesResponse] parsed result object
439
+ # @yieldparam err [StandardError] error object if request failed
440
+ #
441
+ # @return [Google::Apis::CloudbillingV1beta::GoogleCloudBillingBillingaccountpricesV1betaListBillingAccountPricesResponse]
442
+ #
443
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
444
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
445
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
446
+ def list_billing_account_sku_prices(parent, currency_code: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
447
+ command = make_simple_command(:get, 'v1beta/{+parent}/prices', options)
448
+ command.response_representation = Google::Apis::CloudbillingV1beta::GoogleCloudBillingBillingaccountpricesV1betaListBillingAccountPricesResponse::Representation
449
+ command.response_class = Google::Apis::CloudbillingV1beta::GoogleCloudBillingBillingaccountpricesV1betaListBillingAccountPricesResponse
450
+ command.params['parent'] = parent unless parent.nil?
451
+ command.query['currencyCode'] = currency_code unless currency_code.nil?
452
+ command.query['pageSize'] = page_size unless page_size.nil?
453
+ command.query['pageToken'] = page_token unless page_token.nil?
454
+ command.query['fields'] = fields unless fields.nil?
455
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
456
+ execute_or_queue_command(command, &block)
457
+ end
458
+
414
459
  # Gets a publicly listed SKU group.
415
460
  # @param [String] name
416
461
  # Required. The name of the SKU group to retrieve. Format: skuGroups/`sku_group`
@@ -579,6 +624,50 @@ module Google
579
624
  execute_or_queue_command(command, &block)
580
625
  end
581
626
 
627
+ # Lists the latest prices for all SKUs.
628
+ # @param [String] parent
629
+ # Required. To list the prices for all SKUs, use `-` as the SKU ID. Format: `
630
+ # skus/-` Specifying a specific SKU ID returns a collection with one Price
631
+ # object for the SKU.
632
+ # @param [String] currency_code
633
+ # Optional. ISO-4217 currency code for the price. If not specified, USD will be
634
+ # used.
635
+ # @param [Fixnum] page_size
636
+ # Optional. Maximum number of prices to return. Results may return fewer than
637
+ # this value. Default value is 50 and maximum value is 5000.
638
+ # @param [String] page_token
639
+ # Optional. Page token received from a previous ListPrices call to retrieve the
640
+ # next page of results. If this field is empty, the first page is returned.
641
+ # @param [String] fields
642
+ # Selector specifying which fields to include in a partial response.
643
+ # @param [String] quota_user
644
+ # Available to use for quota purposes for server-side applications. Can be any
645
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
646
+ # @param [Google::Apis::RequestOptions] options
647
+ # Request-specific options
648
+ #
649
+ # @yield [result, err] Result & error if block supplied
650
+ # @yieldparam result [Google::Apis::CloudbillingV1beta::GoogleCloudBillingPricesV1betaListPricesResponse] parsed result object
651
+ # @yieldparam err [StandardError] error object if request failed
652
+ #
653
+ # @return [Google::Apis::CloudbillingV1beta::GoogleCloudBillingPricesV1betaListPricesResponse]
654
+ #
655
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
656
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
657
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
658
+ def list_sku_prices(parent, currency_code: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
659
+ command = make_simple_command(:get, 'v1beta/{+parent}/prices', options)
660
+ command.response_representation = Google::Apis::CloudbillingV1beta::GoogleCloudBillingPricesV1betaListPricesResponse::Representation
661
+ command.response_class = Google::Apis::CloudbillingV1beta::GoogleCloudBillingPricesV1betaListPricesResponse
662
+ command.params['parent'] = parent unless parent.nil?
663
+ command.query['currencyCode'] = currency_code unless currency_code.nil?
664
+ command.query['pageSize'] = page_size unless page_size.nil?
665
+ command.query['pageToken'] = page_token unless page_token.nil?
666
+ command.query['fields'] = fields unless fields.nil?
667
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
668
+ execute_or_queue_command(command, &block)
669
+ end
670
+
582
671
  # Estimate list prices using a `CostScenario` without a defined `billingAccount`.
583
672
  # @param [Google::Apis::CloudbillingV1beta::EstimateCostScenarioWithListPriceRequest] estimate_cost_scenario_with_list_price_request_object
584
673
  # @param [String] fields
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-cloudbilling_v1beta
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.11.0
4
+ version: 0.13.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-09-03 00:00:00.000000000 Z
11
+ date: 2023-12-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -58,7 +58,7 @@ licenses:
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
60
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-cloudbilling_v1beta/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-cloudbilling_v1beta/v0.11.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-cloudbilling_v1beta/v0.13.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-cloudbilling_v1beta
63
63
  post_install_message:
64
64
  rdoc_options: []