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/api/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/api/reference/rest/v1/billingAccounts
raw docstring

create$clj

(create$ auth parameters body)

https://cloud.google.com/billing/api/reference/rest/v1/billingAccounts/create

Required parameters: none

Optional parameters: none

Body:

{:name string, :open boolean, :displayName string, :masterBillingAccount 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 as a reseller account.

https://cloud.google.com/billing/api/reference/rest/v1/billingAccounts/create

Required parameters: none

Optional parameters: none

Body: 

{:name string,
 :open boolean,
 :displayName string,
 :masterBillingAccount 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 as a reseller account.
sourceraw docstring

get$clj

(get$ auth parameters)

https://cloud.google.com/billing/api/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/api/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).
sourceraw docstring

getIamPolicy$clj

(getIamPolicy$ auth parameters)

https://cloud.google.com/billing/api/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/api/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).
sourceraw docstring

list$clj

(list$ auth parameters)

https://cloud.google.com/billing/api/reference/rest/v1/billingAccounts/list

Required parameters: none

Optional parameters: pageSize, filter, pageToken

Lists the billing accounts that the current authenticated user has permission to view.

https://cloud.google.com/billing/api/reference/rest/v1/billingAccounts/list

Required parameters: none

Optional parameters: pageSize, filter, pageToken

Lists the billing accounts that the current authenticated user has permission to [view](https://cloud.google.com/billing/docs/how-to/billing-access).
sourceraw docstring

patch$clj

(patch$ auth parameters body)

https://cloud.google.com/billing/api/reference/rest/v1/billingAccounts/patch

Required parameters: name

Optional parameters: updateMask

Body:

{:name string, :open boolean, :displayName string, :masterBillingAccount 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/api/reference/rest/v1/billingAccounts/patch

Required parameters: name

Optional parameters: updateMask

Body: 

{:name string,
 :open boolean,
 :displayName string,
 :masterBillingAccount 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.
sourceraw docstring

projects-list$clj

(projects-list$ auth parameters)

https://cloud.google.com/billing/api/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/api/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).
sourceraw docstring

setIamPolicy$clj

(setIamPolicy$ auth parameters body)

https://cloud.google.com/billing/api/reference/rest/v1/billingAccounts/setIamPolicy

Required parameters: resource

Optional parameters: none

Body:

{:updateMask string, :policy {:etag string, :version integer, :bindings [Binding], :auditConfigs [AuditConfig]}}

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/api/reference/rest/v1/billingAccounts/setIamPolicy

Required parameters: resource

Optional parameters: none

Body: 

{:updateMask string,
 :policy {:etag string,
          :version integer,
          :bindings [Binding],
          :auditConfigs [AuditConfig]}}

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).
sourceraw docstring

testIamPermissions$clj

(testIamPermissions$ auth parameters body)

https://cloud.google.com/billing/api/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/api/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.
sourceraw docstring

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

× close