diff --git a/clients/cloud_billing/lib/google_api/cloud_billing/v1/api/billing_accounts.ex b/clients/cloud_billing/lib/google_api/cloud_billing/v1/api/billing_accounts.ex index 375b9c90c4..91e9545d33 100644 --- a/clients/cloud_billing/lib/google_api/cloud_billing/v1/api/billing_accounts.ex +++ b/clients/cloud_billing/lib/google_api/cloud_billing/v1/api/billing_accounts.ex @@ -26,7 +26,7 @@ defmodule GoogleApi.CloudBilling.V1.Api.BillingAccounts do @library_version Mix.Project.config() |> Keyword.get(:version, "") @doc """ - Creates a billing account. This method can only be used to create [billing subaccounts](https://cloud.google.com/billing/docs/concepts) by Google Cloud resellers. When creating a subaccount, the current authenticated user must have the `billing.accounts.update` IAM permission on the master account, which is typically given to billing account [administrators](https://cloud.google.com/billing/docs/how-to/billing-access). This method will return an error if the master account has not been provisioned as a reseller account. + This method creates [billing subaccounts](https://cloud.google.com/billing/docs/concepts#subaccounts). Google Cloud resellers should use the Channel Services APIs, [accounts.customers.create](https://cloud.google.com/channel/docs/reference/rest/v1/accounts.customers/create) and [accounts.customers.entitlements.create](https://cloud.google.com/channel/docs/reference/rest/v1/accounts.customers.entitlements/create). When creating a subaccount, the current authenticated user must have the `billing.accounts.update` IAM permission on the parent account, which is typically given to billing account [administrators](https://cloud.google.com/billing/docs/how-to/billing-access). This method will return an error if the parent account has not been provisioned as a reseller account. ## Parameters diff --git a/clients/cloud_billing/lib/google_api/cloud_billing/v1/connection.ex b/clients/cloud_billing/lib/google_api/cloud_billing/v1/connection.ex index 72a6c7c592..e323cc7532 100644 --- a/clients/cloud_billing/lib/google_api/cloud_billing/v1/connection.ex +++ b/clients/cloud_billing/lib/google_api/cloud_billing/v1/connection.ex @@ -30,7 +30,7 @@ defmodule GoogleApi.CloudBilling.V1.Connection do # View your Google Cloud Platform billing accounts "https://www.googleapis.com/auth/cloud-billing.readonly", - # View and manage your data across Google Cloud Platform services + # See, edit, configure, and delete your Google Cloud Platform data "https://www.googleapis.com/auth/cloud-platform" ], otp_app: :google_api_cloud_billing, diff --git a/clients/cloud_billing/lib/google_api/cloud_billing/v1/metadata.ex b/clients/cloud_billing/lib/google_api/cloud_billing/v1/metadata.ex index fbf2611dd6..e49f353999 100644 --- a/clients/cloud_billing/lib/google_api/cloud_billing/v1/metadata.ex +++ b/clients/cloud_billing/lib/google_api/cloud_billing/v1/metadata.ex @@ -20,7 +20,7 @@ defmodule GoogleApi.CloudBilling.V1 do API client metadata for GoogleApi.CloudBilling.V1. """ - @discovery_revision "20201017" + @discovery_revision "20210322" def discovery_revision(), do: @discovery_revision end diff --git a/clients/cloud_billing/lib/google_api/cloud_billing/v1/model/billing_account.ex b/clients/cloud_billing/lib/google_api/cloud_billing/v1/model/billing_account.ex index 42907bc9f0..a132e99d8f 100644 --- a/clients/cloud_billing/lib/google_api/cloud_billing/v1/model/billing_account.ex +++ b/clients/cloud_billing/lib/google_api/cloud_billing/v1/model/billing_account.ex @@ -22,7 +22,7 @@ defmodule GoogleApi.CloudBilling.V1.Model.BillingAccount do ## Attributes * `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. - * `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 master billing account that it is being resold through. Otherwise this will be empty. + * `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. * `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`. * `open` (*type:* `boolean()`, *default:* `nil`) - Output only. True if the billing account is open, and will therefore be charged for any usage on associated projects. False if the billing account is closed, and therefore projects associated with it will be unable to use paid services. """ diff --git a/clients/cloud_billing/mix.exs b/clients/cloud_billing/mix.exs index b3dafdb7ca..e60a757a4d 100644 --- a/clients/cloud_billing/mix.exs +++ b/clients/cloud_billing/mix.exs @@ -18,7 +18,7 @@ defmodule GoogleApi.CloudBilling.Mixfile do use Mix.Project - @version "0.23.0" + @version "0.23.1" def project() do [ diff --git a/clients/cloud_billing/synth.metadata b/clients/cloud_billing/synth.metadata index cb6bdb2433..ee2f65488b 100644 --- a/clients/cloud_billing/synth.metadata +++ b/clients/cloud_billing/synth.metadata @@ -4,7 +4,7 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/elixir-google-api.git", - "sha": "809f8ef24b747a3a39b01ef329390379aacf4fed" + "sha": "9b6f6214236cf1fb1429f5d125c826b3dccbb4e4" } } ]