From fb8e30597db8b179c4930d9c21ab265841bf75a5 Mon Sep 17 00:00:00 2001 From: yoshi-code-bot <70984784+yoshi-code-bot@users.noreply.github.com> Date: Sun, 20 Oct 2024 02:50:27 -0700 Subject: [PATCH] feat: Automated regeneration of cloudbilling v1 client (#20430) Auto-created at 2024-10-20 09:47:05 +0000 using the toys pull request generator. --- api_names_out.yaml | 1 + generated/google-apis-cloudbilling_v1/CHANGELOG.md | 5 +++++ .../lib/google/apis/cloudbilling_v1/classes.rb | 12 ++++++++++++ .../lib/google/apis/cloudbilling_v1/gem_version.rb | 6 +++--- .../google/apis/cloudbilling_v1/representations.rb | 1 + 5 files changed, 22 insertions(+), 3 deletions(-) diff --git a/api_names_out.yaml b/api_names_out.yaml index ab8fe50aac4..9e5659a9cb5 100644 --- a/api_names_out.yaml +++ b/api_names_out.yaml @@ -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 diff --git a/generated/google-apis-cloudbilling_v1/CHANGELOG.md b/generated/google-apis-cloudbilling_v1/CHANGELOG.md index 83c99f28bd4..ea03d168c81 100644 --- a/generated/google-apis-cloudbilling_v1/CHANGELOG.md +++ b/generated/google-apis-cloudbilling_v1/CHANGELOG.md @@ -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 diff --git a/generated/google-apis-cloudbilling_v1/lib/google/apis/cloudbilling_v1/classes.rb b/generated/google-apis-cloudbilling_v1/lib/google/apis/cloudbilling_v1/classes.rb index f86c72fd05f..c0df5324ce1 100644 --- a/generated/google-apis-cloudbilling_v1/lib/google/apis/cloudbilling_v1/classes.rb +++ b/generated/google-apis-cloudbilling_v1/lib/google/apis/cloudbilling_v1/classes.rb @@ -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` @@ -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) diff --git a/generated/google-apis-cloudbilling_v1/lib/google/apis/cloudbilling_v1/gem_version.rb b/generated/google-apis-cloudbilling_v1/lib/google/apis/cloudbilling_v1/gem_version.rb index 2ab907a3dcf..767eab508ee 100644 --- a/generated/google-apis-cloudbilling_v1/lib/google/apis/cloudbilling_v1/gem_version.rb +++ b/generated/google-apis-cloudbilling_v1/lib/google/apis/cloudbilling_v1/gem_version.rb @@ -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 diff --git a/generated/google-apis-cloudbilling_v1/lib/google/apis/cloudbilling_v1/representations.rb b/generated/google-apis-cloudbilling_v1/lib/google/apis/cloudbilling_v1/representations.rb index e4ead425ad5..2d2519e7b27 100644 --- a/generated/google-apis-cloudbilling_v1/lib/google/apis/cloudbilling_v1/representations.rb +++ b/generated/google-apis-cloudbilling_v1/lib/google/apis/cloudbilling_v1/representations.rb @@ -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'