Skip to content

Commit fb8e305

Browse files
feat: Automated regeneration of cloudbilling v1 client (googleapis#20430)
Auto-created at 2024-10-20 09:47:05 +0000 using the toys pull request generator.
1 parent 2bf3f5a commit fb8e305

File tree

5 files changed

+22
-3
lines changed

5 files changed

+22
-3
lines changed

api_names_out.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57960,6 +57960,7 @@
5796057960
"/cloudbilling:v1/AuditLogConfig/exemptedMembers/exempted_member": exempted_member
5796157961
"/cloudbilling:v1/AuditLogConfig/logType": log_type
5796257962
"/cloudbilling:v1/BillingAccount": billing_account
57963+
"/cloudbilling:v1/BillingAccount/currencyCode": currency_code
5796357964
"/cloudbilling:v1/BillingAccount/displayName": display_name
5796457965
"/cloudbilling:v1/BillingAccount/masterBillingAccount": master_billing_account
5796557966
"/cloudbilling:v1/BillingAccount/name": name

generated/google-apis-cloudbilling_v1/CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
# Release history for google-apis-cloudbilling_v1
22

3+
### v0.38.0 (2024-10-20)
4+
5+
* Regenerated from discovery document revision 20241011
6+
* Regenerated using generator version 0.15.1
7+
38
### v0.37.0 (2024-05-26)
49

510
* Regenerated from discovery document revision 20240517

generated/google-apis-cloudbilling_v1/lib/google/apis/cloudbilling_v1/classes.rb

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,17 @@ def update!(**args)
130130
class BillingAccount
131131
include Google::Apis::Core::Hashable
132132

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+
133144
# The display name given to the billing account, such as `My Billing Account`.
134145
# This name is displayed in the Google Cloud Console.
135146
# Corresponds to the JSON property `displayName`
@@ -175,6 +186,7 @@ def initialize(**args)
175186

176187
# Update properties of this object
177188
def update!(**args)
189+
@currency_code = args[:currency_code] if args.key?(:currency_code)
178190
@display_name = args[:display_name] if args.key?(:display_name)
179191
@master_billing_account = args[:master_billing_account] if args.key?(:master_billing_account)
180192
@name = args[:name] if args.key?(:name)

generated/google-apis-cloudbilling_v1/lib/google/apis/cloudbilling_v1/gem_version.rb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@ module Google
1616
module Apis
1717
module CloudbillingV1
1818
# Version of the google-apis-cloudbilling_v1 gem
19-
GEM_VERSION = "0.37.0"
19+
GEM_VERSION = "0.38.0"
2020

2121
# Version of the code generator used to generate this client
22-
GENERATOR_VERSION = "0.15.0"
22+
GENERATOR_VERSION = "0.15.1"
2323

2424
# Revision of the discovery document this client was generated from
25-
REVISION = "20240517"
25+
REVISION = "20241011"
2626
end
2727
end
2828
end

generated/google-apis-cloudbilling_v1/lib/google/apis/cloudbilling_v1/representations.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -195,6 +195,7 @@ class Representation < Google::Apis::Core::JsonRepresentation
195195
class BillingAccount
196196
# @private
197197
class Representation < Google::Apis::Core::JsonRepresentation
198+
property :currency_code, as: 'currencyCode'
198199
property :display_name, as: 'displayName'
199200
property :master_billing_account, as: 'masterBillingAccount'
200201
property :name, as: 'name'

0 commit comments

Comments
 (0)