Liking cljdoc? Tell your friends :D

happygapi.cloudbilling.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

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
raw docstring

create$clj

(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.
raw docstring

get$clj

(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).
raw docstring

getIamPolicy$clj

(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).
raw docstring

list$clj

(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).
raw docstring

move$clj

(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.
raw docstring

patch$clj

(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.
raw docstring

projects-list$clj

(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).
raw docstring

setIamPolicy$clj

(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).
raw docstring

subAccounts-create$clj

(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.
raw docstring

subAccounts-list$clj

(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).
raw docstring

testIamPermissions$clj

(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.
raw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close