google-apis-cloudbilling_v1beta 0.12.0 → 0.14.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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 2b9c755b10d10b4a177c1895a53dc5b0499da8ca9af32c5f8b2eb75b8fdb11c7
4
- data.tar.gz: 80cbb4965411ee808997b3194df8baf5d767c95a3f9a21550c20c31240e13628
3
+ metadata.gz: 69656f2578531c56aa84aeaf52c2c6fcb0654fce1daea575440019743b8613a7
4
+ data.tar.gz: '0841439b1dada0c4a64733b186076c5ae518a8f1a9852a08d893ae317986539b'
5
5
  SHA512:
6
- metadata.gz: 2db404036e5ada5507da3c2636676d0d2bc20fb446069464f5f0c7da61484f4abaef9d5baee34674964590bbfa2b68af4acd84e9527b884cef9ed9568a28a817
7
- data.tar.gz: 7c9f7fc26e6ae1d41c0b6751e4e5a41e441928825c8e1864195f4fb70c52947b53a94def4a3575ca2b2a18db844870f447ef438f0e0baa21e1e8bb641df3d194
6
+ metadata.gz: c8ad9b59d3c0b3ed315a06c1e9c8ea8eaf44cceeec2daadef908d49d222d3d721f282ea248d0df6dedb5adb1f9a147123bdf026775986bce165a9ce0bc725a2b
7
+ data.tar.gz: 91482653e5b46608fa3d027c50b5fea10fb0126c426cf99a1ee003aa0fbef69b24e999adcdcfa641410e5214535b9a3bd5342fe606b22c30b0846b016be1c267
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # Release history for google-apis-cloudbilling_v1beta
2
2
 
3
+ ### v0.14.0 (2024-01-23)
4
+
5
+ * Regenerated from discovery document revision 20231215
6
+ * Regenerated using generator version 0.13.0
7
+
8
+ ### v0.13.0 (2023-12-17)
9
+
10
+ * Regenerated from discovery document revision 20231208
11
+
3
12
  ### v0.12.0 (2023-11-19)
4
13
 
5
14
  * Regenerated from discovery document revision 20231115
@@ -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
 
@@ -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,6 +1786,32 @@ module Google
1758
1786
  end
1759
1787
  end
1760
1788
 
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
+
1761
1815
  # Encapsulates the latest price for a SKU.
1762
1816
  class GoogleCloudBillingPricesV1betaPrice
1763
1817
  include Google::Apis::Core::Hashable
@@ -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.12.0"
19
+ GEM_VERSION = "0.14.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.12.0"
22
+ GENERATOR_VERSION = "0.13.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20231115"
25
+ REVISION = "20231215"
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
@@ -33,6 +33,8 @@ module Google
33
33
  #
34
34
  # @see https://cloud.google.com/billing/docs/apis
35
35
  class CloudbillingService < Google::Apis::Core::BaseService
36
+ DEFAULT_ENDPOINT_TEMPLATE = "https://cloudbilling.$UNIVERSE_DOMAIN$/"
37
+
36
38
  # @return [String]
37
39
  # API key. Your API key identifies your project and provides you with API access,
38
40
  # quota, and reports. Required unless you provide an OAuth 2.0 token.
@@ -44,7 +46,7 @@ module Google
44
46
  attr_accessor :quota_user
45
47
 
46
48
  def initialize
47
- super('https://cloudbilling.googleapis.com/', '',
49
+ super(DEFAULT_ENDPOINT_TEMPLATE, '',
48
50
  client_name: 'google-apis-cloudbilling_v1beta',
49
51
  client_version: Google::Apis::CloudbillingV1beta::GEM_VERSION)
50
52
  @batch_path = 'batch'
@@ -411,6 +413,51 @@ module Google
411
413
  execute_or_queue_command(command, &block)
412
414
  end
413
415
 
416
+ # Lists the latest prices for SKUs available to your Cloud Billing account.
417
+ # @param [String] parent
418
+ # Required. To list all Billing Account SKUs, use `-` as the SKU ID. Format: `
419
+ # billingAccounts/`billing_account`/skus/-` Note: Specifying an actual SKU
420
+ # resource id will return a collection of one Billing Account Price.
421
+ # @param [String] currency_code
422
+ # Optional. ISO-4217 currency code for the price. If not specified, currency of
423
+ # billing account will be used.
424
+ # @param [Fixnum] page_size
425
+ # Optional. Maximum number of billing account price to return. Results may
426
+ # return fewer than this value. Default value is 50 and maximum value is 5000.
427
+ # @param [String] page_token
428
+ # Optional. Page token received from a previous ListBillingAccountPrices call to
429
+ # retrieve the next page of results. If this field is empty, the first page is
430
+ # returned.
431
+ # @param [String] fields
432
+ # Selector specifying which fields to include in a partial response.
433
+ # @param [String] quota_user
434
+ # Available to use for quota purposes for server-side applications. Can be any
435
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
436
+ # @param [Google::Apis::RequestOptions] options
437
+ # Request-specific options
438
+ #
439
+ # @yield [result, err] Result & error if block supplied
440
+ # @yieldparam result [Google::Apis::CloudbillingV1beta::GoogleCloudBillingBillingaccountpricesV1betaListBillingAccountPricesResponse] parsed result object
441
+ # @yieldparam err [StandardError] error object if request failed
442
+ #
443
+ # @return [Google::Apis::CloudbillingV1beta::GoogleCloudBillingBillingaccountpricesV1betaListBillingAccountPricesResponse]
444
+ #
445
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
446
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
447
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
448
+ def list_billing_account_sku_prices(parent, currency_code: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
449
+ command = make_simple_command(:get, 'v1beta/{+parent}/prices', options)
450
+ command.response_representation = Google::Apis::CloudbillingV1beta::GoogleCloudBillingBillingaccountpricesV1betaListBillingAccountPricesResponse::Representation
451
+ command.response_class = Google::Apis::CloudbillingV1beta::GoogleCloudBillingBillingaccountpricesV1betaListBillingAccountPricesResponse
452
+ command.params['parent'] = parent unless parent.nil?
453
+ command.query['currencyCode'] = currency_code unless currency_code.nil?
454
+ command.query['pageSize'] = page_size unless page_size.nil?
455
+ command.query['pageToken'] = page_token unless page_token.nil?
456
+ command.query['fields'] = fields unless fields.nil?
457
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
458
+ execute_or_queue_command(command, &block)
459
+ end
460
+
414
461
  # Gets a publicly listed SKU group.
415
462
  # @param [String] name
416
463
  # Required. The name of the SKU group to retrieve. Format: skuGroups/`sku_group`
@@ -579,6 +626,50 @@ module Google
579
626
  execute_or_queue_command(command, &block)
580
627
  end
581
628
 
629
+ # Lists the latest prices for all SKUs.
630
+ # @param [String] parent
631
+ # Required. To list the prices for all SKUs, use `-` as the SKU ID. Format: `
632
+ # skus/-` Specifying a specific SKU ID returns a collection with one Price
633
+ # object for the SKU.
634
+ # @param [String] currency_code
635
+ # Optional. ISO-4217 currency code for the price. If not specified, USD will be
636
+ # used.
637
+ # @param [Fixnum] page_size
638
+ # Optional. Maximum number of prices to return. Results may return fewer than
639
+ # this value. Default value is 50 and maximum value is 5000.
640
+ # @param [String] page_token
641
+ # Optional. Page token received from a previous ListPrices call to retrieve the
642
+ # next page of results. If this field is empty, the first page is returned.
643
+ # @param [String] fields
644
+ # Selector specifying which fields to include in a partial response.
645
+ # @param [String] quota_user
646
+ # Available to use for quota purposes for server-side applications. Can be any
647
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
648
+ # @param [Google::Apis::RequestOptions] options
649
+ # Request-specific options
650
+ #
651
+ # @yield [result, err] Result & error if block supplied
652
+ # @yieldparam result [Google::Apis::CloudbillingV1beta::GoogleCloudBillingPricesV1betaListPricesResponse] parsed result object
653
+ # @yieldparam err [StandardError] error object if request failed
654
+ #
655
+ # @return [Google::Apis::CloudbillingV1beta::GoogleCloudBillingPricesV1betaListPricesResponse]
656
+ #
657
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
658
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
659
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
660
+ def list_sku_prices(parent, currency_code: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
661
+ command = make_simple_command(:get, 'v1beta/{+parent}/prices', options)
662
+ command.response_representation = Google::Apis::CloudbillingV1beta::GoogleCloudBillingPricesV1betaListPricesResponse::Representation
663
+ command.response_class = Google::Apis::CloudbillingV1beta::GoogleCloudBillingPricesV1betaListPricesResponse
664
+ command.params['parent'] = parent unless parent.nil?
665
+ command.query['currencyCode'] = currency_code unless currency_code.nil?
666
+ command.query['pageSize'] = page_size unless page_size.nil?
667
+ command.query['pageToken'] = page_token unless page_token.nil?
668
+ command.query['fields'] = fields unless fields.nil?
669
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
670
+ execute_or_queue_command(command, &block)
671
+ end
672
+
582
673
  # Estimate list prices using a `CostScenario` without a defined `billingAccount`.
583
674
  # @param [Google::Apis::CloudbillingV1beta::EstimateCostScenarioWithListPriceRequest] estimate_cost_scenario_with_list_price_request_object
584
675
  # @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.12.0
4
+ version: 0.14.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-11-19 00:00:00.000000000 Z
11
+ date: 2024-01-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -16,7 +16,7 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: 0.11.0
19
+ version: 0.12.0
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
22
  version: 2.a
@@ -26,7 +26,7 @@ dependencies:
26
26
  requirements:
27
27
  - - ">="
28
28
  - !ruby/object:Gem::Version
29
- version: 0.11.0
29
+ version: 0.12.0
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 2.a
@@ -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.12.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-cloudbilling_v1beta/v0.14.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: []
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
75
75
  - !ruby/object:Gem::Version
76
76
  version: '0'
77
77
  requirements: []
78
- rubygems_version: 3.4.19
78
+ rubygems_version: 3.5.3
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for Cloud Billing API V1beta