google-apis-cloudbilling_v1 0.36.0 → 0.38.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: 87e6b0d4500d7946727ace577e6c6688801bab18fc01156fc675892c76ed02d9
4
- data.tar.gz: 35c3edb51ccdb7fb72e4ad7e116879e9d335de065030b6fd2237f8b21e9546b4
3
+ metadata.gz: 9910208a1ab637db0e6ff72308703af1cc28d8bd557c257a8be38ece0d0b0bde
4
+ data.tar.gz: 442374a0ce01364bbefe13e66a1d6d6e0eccb52d7cfc5dfc99c7dc6364b2ef23
5
5
  SHA512:
6
- metadata.gz: 85dc28aeabbf5eaf6b04d08887a8a731e441a41e566d8ba857f09b6204fc85a8858c9c9fe1c4005398328d06d489edbe61cb51ac78727613d417057bd60ee632
7
- data.tar.gz: 17535a74a269d85259f1f014cc6d02eef558995d62e83f148b1e6848b4b8920b28f10a345a53fd76afa027f1ba789b3c29e4fa4bbbcfbd73632f0d341deb75fa
6
+ metadata.gz: 469f60daa0b24656cfbc37b89a3cb1f8cfc4f8471a3df8a7d2e029ffe0dac65d104d0fee0915d3cceed32be583e868f7e5d1bb23bb2f7715d71e9197c4ce758f
7
+ data.tar.gz: b1aa48b83b84683d87375e8d62d43999c597eefe73cd866611b69066fdbcfc8caad7a579f791257297e360983e1388b2d6476ccdc52761acbf09464006a83b01
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # Release history for google-apis-cloudbilling_v1
2
2
 
3
+ ### v0.38.0 (2024-10-20)
4
+
5
+ * Regenerated from discovery document revision 20241011
6
+ * Regenerated using generator version 0.15.1
7
+
8
+ ### v0.37.0 (2024-05-26)
9
+
10
+ * Regenerated from discovery document revision 20240517
11
+
3
12
  ### v0.36.0 (2024-05-19)
4
13
 
5
14
  * Regenerated using generator version 0.15.0
@@ -130,6 +130,17 @@ module Google
130
130
  class BillingAccount
131
131
  include Google::Apis::Core::Hashable
132
132
 
133
+ # Optional. The currency in which the billing account is billed and charged,
134
+ # represented as an ISO 4217 code such as `USD`. Billing account currency is
135
+ # determined at the time of billing account creation and cannot be updated
136
+ # subsequently, so this field should not be set on update requests. In addition,
137
+ # a subaccount always matches the currency of its parent billing account, so
138
+ # this field should not be set on subaccount creation requests. Clients can read
139
+ # this field to determine the currency of an existing billing account.
140
+ # Corresponds to the JSON property `currencyCode`
141
+ # @return [String]
142
+ attr_accessor :currency_code
143
+
133
144
  # The display name given to the billing account, such as `My Billing Account`.
134
145
  # This name is displayed in the Google Cloud Console.
135
146
  # Corresponds to the JSON property `displayName`
@@ -175,6 +186,7 @@ module Google
175
186
 
176
187
  # Update properties of this object
177
188
  def update!(**args)
189
+ @currency_code = args[:currency_code] if args.key?(:currency_code)
178
190
  @display_name = args[:display_name] if args.key?(:display_name)
179
191
  @master_billing_account = args[:master_billing_account] if args.key?(:master_billing_account)
180
192
  @name = args[:name] if args.key?(:name)
@@ -855,12 +867,12 @@ module Google
855
867
  # @return [String]
856
868
  attr_accessor :display_name
857
869
 
858
- # The resource name for the service. Example: "services/DA34-426B-A397"
870
+ # The resource name for the service. Example: "services/6F81-5844-456A"
859
871
  # Corresponds to the JSON property `name`
860
872
  # @return [String]
861
873
  attr_accessor :name
862
874
 
863
- # The identifier for the service. Example: "DA34-426B-A397"
875
+ # The identifier for the service. Example: "6F81-5844-456A"
864
876
  # Corresponds to the JSON property `serviceId`
865
877
  # @return [String]
866
878
  attr_accessor :service_id
@@ -931,7 +943,7 @@ module Google
931
943
  end
932
944
  end
933
945
 
934
- # Encapsulates a single SKU in Google Cloud Platform
946
+ # Encapsulates a single SKU in Google Cloud
935
947
  class Sku
936
948
  include Google::Apis::Core::Hashable
937
949
 
@@ -951,8 +963,8 @@ module Google
951
963
  # @return [Google::Apis::CloudbillingV1::GeoTaxonomy]
952
964
  attr_accessor :geo_taxonomy
953
965
 
954
- # The resource name for the SKU. Example: "services/DA34-426B-A397/skus/AA95-
955
- # CD31-42FE"
966
+ # The resource name for the SKU. Example: "services/6F81-5844-456A/skus/D041-
967
+ # B8A1-6E0B"
956
968
  # Corresponds to the JSON property `name`
957
969
  # @return [String]
958
970
  attr_accessor :name
@@ -974,7 +986,7 @@ module Google
974
986
  # @return [Array<String>]
975
987
  attr_accessor :service_regions
976
988
 
977
- # The identifier for the SKU. Example: "AA95-CD31-42FE"
989
+ # The identifier for the SKU. Example: "D041-B8A1-6E0B"
978
990
  # Corresponds to the JSON property `skuId`
979
991
  # @return [String]
980
992
  attr_accessor :sku_id
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module CloudbillingV1
18
18
  # Version of the google-apis-cloudbilling_v1 gem
19
- GEM_VERSION = "0.36.0"
19
+ GEM_VERSION = "0.38.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.15.0"
22
+ GENERATOR_VERSION = "0.15.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20240119"
25
+ REVISION = "20241011"
26
26
  end
27
27
  end
28
28
  end
@@ -195,6 +195,7 @@ module Google
195
195
  class BillingAccount
196
196
  # @private
197
197
  class Representation < Google::Apis::Core::JsonRepresentation
198
+ property :currency_code, as: 'currencyCode'
198
199
  property :display_name, as: 'displayName'
199
200
  property :master_billing_account, as: 'masterBillingAccount'
200
201
  property :name, as: 'name'
@@ -773,7 +773,7 @@ module Google
773
773
 
774
774
  # Lists all publicly available SKUs for a given cloud service.
775
775
  # @param [String] parent
776
- # Required. The name of the service. Example: "services/DA34-426B-A397"
776
+ # Required. The name of the service. Example: "services/6F81-5844-456A"
777
777
  # @param [String] currency_code
778
778
  # The ISO 4217 currency code for the pricing info in the response proto. Will
779
779
  # use the conversion rate as of start_time. Optional. If not specified USD will
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-cloudbilling_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.36.0
4
+ version: 0.38.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: 2024-05-19 00:00:00.000000000 Z
11
+ date: 2024-10-27 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_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-cloudbilling_v1/v0.36.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-cloudbilling_v1/v0.38.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-cloudbilling_v1
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.5.6
78
+ rubygems_version: 3.5.21
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for Cloud Billing API V1