Skip to content

Commit

Permalink
feat: Automated regeneration of cloudbilling v1 client (#20430)
Browse files Browse the repository at this point in the history
Auto-created at 2024-10-20 09:47:05 +0000 using the toys pull request generator.
  • Loading branch information
yoshi-code-bot authored Oct 20, 2024
1 parent 2bf3f5a commit fb8e305
Show file tree
Hide file tree
Showing 5 changed files with 22 additions and 3 deletions.
1 change: 1 addition & 0 deletions api_names_out.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -57960,6 +57960,7 @@
"/cloudbilling:v1/AuditLogConfig/exemptedMembers/exempted_member": exempted_member
"/cloudbilling:v1/AuditLogConfig/logType": log_type
"/cloudbilling:v1/BillingAccount": billing_account
"/cloudbilling:v1/BillingAccount/currencyCode": currency_code
"/cloudbilling:v1/BillingAccount/displayName": display_name
"/cloudbilling:v1/BillingAccount/masterBillingAccount": master_billing_account
"/cloudbilling:v1/BillingAccount/name": name
Expand Down
5 changes: 5 additions & 0 deletions generated/google-apis-cloudbilling_v1/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# Release history for google-apis-cloudbilling_v1

### v0.38.0 (2024-10-20)

* Regenerated from discovery document revision 20241011
* Regenerated using generator version 0.15.1

### v0.37.0 (2024-05-26)

* Regenerated from discovery document revision 20240517
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,17 @@ def update!(**args)
class BillingAccount
include Google::Apis::Core::Hashable

# Optional. The currency in which the billing account is billed and charged,
# represented as an ISO 4217 code such as `USD`. Billing account currency is
# determined at the time of billing account creation and cannot be updated
# subsequently, so this field should not be set on update requests. In addition,
# a subaccount always matches the currency of its parent billing account, so
# this field should not be set on subaccount creation requests. Clients can read
# this field to determine the currency of an existing billing account.
# Corresponds to the JSON property `currencyCode`
# @return [String]
attr_accessor :currency_code

# The display name given to the billing account, such as `My Billing Account`.
# This name is displayed in the Google Cloud Console.
# Corresponds to the JSON property `displayName`
Expand Down Expand Up @@ -175,6 +186,7 @@ def initialize(**args)

# Update properties of this object
def update!(**args)
@currency_code = args[:currency_code] if args.key?(:currency_code)
@display_name = args[:display_name] if args.key?(:display_name)
@master_billing_account = args[:master_billing_account] if args.key?(:master_billing_account)
@name = args[:name] if args.key?(:name)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,13 @@ module Google
module Apis
module CloudbillingV1
# Version of the google-apis-cloudbilling_v1 gem
GEM_VERSION = "0.37.0"
GEM_VERSION = "0.38.0"

# Version of the code generator used to generate this client
GENERATOR_VERSION = "0.15.0"
GENERATOR_VERSION = "0.15.1"

# Revision of the discovery document this client was generated from
REVISION = "20240517"
REVISION = "20241011"
end
end
end
Original file line number Diff line number Diff line change
Expand Up @@ -195,6 +195,7 @@ class Representation < Google::Apis::Core::JsonRepresentation
class BillingAccount
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :currency_code, as: 'currencyCode'
property :display_name, as: 'displayName'
property :master_billing_account, as: 'masterBillingAccount'
property :name, as: 'name'
Expand Down

0 comments on commit fb8e305

Please sign in to comment.