Skip to content

Commit 5284100

Browse files
feat: Automated regeneration of CloudBilling client (googleapis#12331)
Auto-created at 2024-10-15 13:18:38 +0000 using the toys pull request generator.
1 parent c2866ed commit 5284100

File tree

4 files changed

+6
-3
lines changed

4 files changed

+6
-3
lines changed

clients/cloud_billing/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ Install this package from [Hex](https://hex.pm) by adding
1111

1212
```elixir
1313
def deps do
14-
[{:google_api_cloud_billing, "~> 0.25"}]
14+
[{:google_api_cloud_billing, "~> 0.26"}]
1515
end
1616
```
1717

clients/cloud_billing/lib/google_api/cloud_billing/v1/metadata.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ defmodule GoogleApi.CloudBilling.V1 do
2020
API client metadata for GoogleApi.CloudBilling.V1.
2121
"""
2222

23-
@discovery_revision "20240517"
23+
@discovery_revision "20241011"
2424

2525
def discovery_revision(), do: @discovery_revision
2626
end

clients/cloud_billing/lib/google_api/cloud_billing/v1/model/billing_account.ex

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ defmodule GoogleApi.CloudBilling.V1.Model.BillingAccount do
2121
2222
## Attributes
2323
24+
* `currencyCode` (*type:* `String.t`, *default:* `nil`) - 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.
2425
* `displayName` (*type:* `String.t`, *default:* `nil`) - The display name given to the billing account, such as `My Billing Account`. This name is displayed in the Google Cloud Console.
2526
* `masterBillingAccount` (*type:* `String.t`, *default:* `nil`) - If this account is a [subaccount](https://cloud.google.com/billing/docs/concepts), then this will be the resource name of the parent billing account that it is being resold through. Otherwise this will be empty.
2627
* `name` (*type:* `String.t`, *default:* `nil`) - Output only. The resource name of the billing account. The resource name has the form `billingAccounts/{billing_account_id}`. For example, `billingAccounts/012345-567890-ABCDEF` would be the resource name for billing account `012345-567890-ABCDEF`.
@@ -31,13 +32,15 @@ defmodule GoogleApi.CloudBilling.V1.Model.BillingAccount do
3132
use GoogleApi.Gax.ModelBase
3233

3334
@type t :: %__MODULE__{
35+
:currencyCode => String.t() | nil,
3436
:displayName => String.t() | nil,
3537
:masterBillingAccount => String.t() | nil,
3638
:name => String.t() | nil,
3739
:open => boolean() | nil,
3840
:parent => String.t() | nil
3941
}
4042

43+
field(:currencyCode)
4144
field(:displayName)
4245
field(:masterBillingAccount)
4346
field(:name)

clients/cloud_billing/mix.exs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
defmodule GoogleApi.CloudBilling.Mixfile do
1919
use Mix.Project
2020

21-
@version "0.25.0"
21+
@version "0.26.0"
2222

2323
def project() do
2424
[

0 commit comments

Comments
 (0)