Cloud Billing API: billingAccounts. Allows developers to manage billing for their Google Cloud Platform projects programmatically. See: https://cloud.google.com/billing/docs/apisdocs/reference/rest/v1/billingAccounts
Cloud Billing API: billingAccounts. Allows developers to manage billing for their Google Cloud Platform projects programmatically. See: https://cloud.google.com/billing/docs/apisdocs/reference/rest/v1/billingAccounts
(create$ auth parameters body)
https://cloud.google.com/billing/docs/apisapi/reference/rest/v1/billingAccounts/create
Required parameters: none
Optional parameters: parent
Body:
{:name string, :open boolean, :displayName string, :masterBillingAccount string, :parent string}
This method creates billing subaccounts. Google Cloud resellers should use the Channel Services APIs, accounts.customers.create and 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. This method will return an error if the parent account has not been provisioned for subaccounts.
https://cloud.google.com/billing/docs/apisapi/reference/rest/v1/billingAccounts/create Required parameters: none Optional parameters: parent Body: {:name string, :open boolean, :displayName string, :masterBillingAccount string, :parent string} 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 for subaccounts.
(get$ auth parameters)
https://cloud.google.com/billing/docs/apisapi/reference/rest/v1/billingAccounts/get
Required parameters: name
Optional parameters: none
Gets information about a billing account. The current authenticated user must be a viewer of the billing account.
https://cloud.google.com/billing/docs/apisapi/reference/rest/v1/billingAccounts/get Required parameters: name Optional parameters: none Gets information about a billing account. The current authenticated user must be a [viewer of the billing account](https://cloud.google.com/billing/docs/how-to/billing-access).
(getIamPolicy$ auth parameters)
https://cloud.google.com/billing/docs/apisapi/reference/rest/v1/billingAccounts/getIamPolicy
Required parameters: resource
Optional parameters: options.requestedPolicyVersion
Gets the access control policy for a billing account. The caller must have the billing.accounts.getIamPolicy
permission on the account, which is often given to billing account viewers.
https://cloud.google.com/billing/docs/apisapi/reference/rest/v1/billingAccounts/getIamPolicy Required parameters: resource Optional parameters: options.requestedPolicyVersion Gets the access control policy for a billing account. The caller must have the `billing.accounts.getIamPolicy` permission on the account, which is often given to billing account [viewers](https://cloud.google.com/billing/docs/how-to/billing-access).
(list$ auth parameters)
https://cloud.google.com/billing/docs/apisapi/reference/rest/v1/billingAccounts/list
Required parameters: none
Optional parameters: pageSize, pageToken, filter, parent
Lists the billing accounts that the current authenticated user has permission to view.
https://cloud.google.com/billing/docs/apisapi/reference/rest/v1/billingAccounts/list Required parameters: none Optional parameters: pageSize, pageToken, filter, parent Lists the billing accounts that the current authenticated user has permission to [view](https://cloud.google.com/billing/docs/how-to/billing-access).
(move$ auth parameters body)
https://cloud.google.com/billing/docs/apisapi/reference/rest/v1/billingAccounts/move
Required parameters: name
Optional parameters: none
Body:
{:destinationParent string}
Changes which parent organization a billing account belongs to.
https://cloud.google.com/billing/docs/apisapi/reference/rest/v1/billingAccounts/move Required parameters: name Optional parameters: none Body: {:destinationParent string} Changes which parent organization a billing account belongs to.
(patch$ auth parameters body)
https://cloud.google.com/billing/docs/apisapi/reference/rest/v1/billingAccounts/patch
Required parameters: name
Optional parameters: updateMask
Body:
{:name string, :open boolean, :displayName string, :masterBillingAccount string, :parent string}
Updates a billing account's fields. Currently the only field that can be edited is display_name
. The current authenticated user must have the billing.accounts.update
IAM permission, which is typically given to the administrator of the billing account.
https://cloud.google.com/billing/docs/apisapi/reference/rest/v1/billingAccounts/patch Required parameters: name Optional parameters: updateMask Body: {:name string, :open boolean, :displayName string, :masterBillingAccount string, :parent string} Updates a billing account's fields. Currently the only field that can be edited is `display_name`. The current authenticated user must have the `billing.accounts.update` IAM permission, which is typically given to the [administrator](https://cloud.google.com/billing/docs/how-to/billing-access) of the billing account.
(projects-list$ auth parameters)
https://cloud.google.com/billing/docs/apisapi/reference/rest/v1/billingAccounts/projects/list
Required parameters: name
Optional parameters: pageSize, pageToken
Lists the projects associated with a billing account. The current authenticated user must have the billing.resourceAssociations.list
IAM permission, which is often given to billing account viewers.
https://cloud.google.com/billing/docs/apisapi/reference/rest/v1/billingAccounts/projects/list Required parameters: name Optional parameters: pageSize, pageToken Lists the projects associated with a billing account. The current authenticated user must have the `billing.resourceAssociations.list` IAM permission, which is often given to billing account [viewers](https://cloud.google.com/billing/docs/how-to/billing-access).
(setIamPolicy$ auth parameters body)
https://cloud.google.com/billing/docs/apisapi/reference/rest/v1/billingAccounts/setIamPolicy
Required parameters: resource
Optional parameters: none
Body:
{:policy {:version integer, :bindings [Binding], :auditConfigs [AuditConfig], :etag string}, :updateMask string}
Sets the access control policy for a billing account. Replaces any existing policy. The caller must have the billing.accounts.setIamPolicy
permission on the account, which is often given to billing account administrators.
https://cloud.google.com/billing/docs/apisapi/reference/rest/v1/billingAccounts/setIamPolicy Required parameters: resource Optional parameters: none Body: {:policy {:version integer, :bindings [Binding], :auditConfigs [AuditConfig], :etag string}, :updateMask string} Sets the access control policy for a billing account. Replaces any existing policy. The caller must have the `billing.accounts.setIamPolicy` permission on the account, which is often given to billing account [administrators](https://cloud.google.com/billing/docs/how-to/billing-access).
(subAccounts-create$ auth parameters body)
https://cloud.google.com/billing/docs/apisapi/reference/rest/v1/billingAccounts/subAccounts/create
Required parameters: parent
Optional parameters: none
Body:
{:name string, :open boolean, :displayName string, :masterBillingAccount string, :parent string}
This method creates billing subaccounts. Google Cloud resellers should use the Channel Services APIs, accounts.customers.create and 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. This method will return an error if the parent account has not been provisioned for subaccounts.
https://cloud.google.com/billing/docs/apisapi/reference/rest/v1/billingAccounts/subAccounts/create Required parameters: parent Optional parameters: none Body: {:name string, :open boolean, :displayName string, :masterBillingAccount string, :parent string} 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 for subaccounts.
(subAccounts-list$ auth parameters)
https://cloud.google.com/billing/docs/apisapi/reference/rest/v1/billingAccounts/subAccounts/list
Required parameters: parent
Optional parameters: pageSize, pageToken, filter
Lists the billing accounts that the current authenticated user has permission to view.
https://cloud.google.com/billing/docs/apisapi/reference/rest/v1/billingAccounts/subAccounts/list Required parameters: parent Optional parameters: pageSize, pageToken, filter Lists the billing accounts that the current authenticated user has permission to [view](https://cloud.google.com/billing/docs/how-to/billing-access).
(testIamPermissions$ auth parameters body)
https://cloud.google.com/billing/docs/apisapi/reference/rest/v1/billingAccounts/testIamPermissions
Required parameters: resource
Optional parameters: none
Body:
{:permissions [string]}
Tests the access control policy for a billing account. This method takes the resource and a set of permissions as input and returns the subset of the input permissions that the caller is allowed for that resource.
https://cloud.google.com/billing/docs/apisapi/reference/rest/v1/billingAccounts/testIamPermissions Required parameters: resource Optional parameters: none Body: {:permissions [string]} Tests the access control policy for a billing account. This method takes the resource and a set of permissions as input and returns the subset of the input permissions that the caller is allowed for that resource.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close