googleapis.com – cloudbilling
Allows developers to manage billing for their Google Cloud Platform projects programmatically.
- Homepage
- https://api.apis.guru/v2/specs/googleapis.com:cloudbilling/v1.json
- Provider
- googleapis.com:cloudbilling / cloudbilling
- OpenAPI version
- 3.0.0
- Spec (JSON)
- https://api.apis.guru/v2/specs/googleapis.com/cloudbilling/v1/openapi.json
- Spec (YAML)
- https://api.apis.guru/v2/specs/googleapis.com/cloudbilling/v1/openapi.yaml
Tools (14)
Extracted live via the executor SDK.
-
billingAccounts.cloudbillingBillingAccountsCreateThis method creates . Google Cloud resellers should use the Channel Services APIs, and . When creating a subaccount, the current authenticated user must have the
billing.accounts.updateIAM permission on the parent account, which is typically given to billing account . This method will return an error if the parent account has not been provisioned as a reseller account. -
billingAccounts.cloudbillingBillingAccountsGetGets information about a billing account. The current authenticated user must be a .
-
billingAccounts.cloudbillingBillingAccountsGetIamPolicyGets the access control policy for a billing account. The caller must have the
billing.accounts.getIamPolicypermission on the account, which is often given to billing account . -
billingAccounts.cloudbillingBillingAccountsListLists the billing accounts that the current authenticated user has permission to .
-
billingAccounts.cloudbillingBillingAccountsPatchUpdates a billing account's fields. Currently the only field that can be edited is
display_name. The current authenticated user must have thebilling.accounts.updateIAM permission, which is typically given to the of the billing account. -
billingAccounts.cloudbillingBillingAccountsProjectsListLists the projects associated with a billing account. The current authenticated user must have the
billing.resourceAssociations.listIAM permission, which is often given to billing account . -
billingAccounts.cloudbillingBillingAccountsSetIamPolicySets the access control policy for a billing account. Replaces any existing policy. The caller must have the
billing.accounts.setIamPolicypermission on the account, which is often given to billing account . -
billingAccounts.cloudbillingBillingAccountsTestIamPermissionsTests 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.
-
projects.cloudbillingProjectsGetBillingInfoGets the billing information for a project. The current authenticated user must have the
resourcemanager.projects.getpermission for the project, which can be granted by assigning the role. -
projects.cloudbillingProjectsUpdateBillingInfoSets or updates the billing account associated with a project. You specify the new billing account by setting the
billing_account_namein theProjectBillingInforesource to the resource name of a billing account. Associating a project with an open billing account enables billing on the project and allows charges for resource usage. If the project already had a billing account, this method changes the billing account used for resource usage charges. Note: Incurred charges that have not yet been reported in the transaction history of the Google Cloud Console might be billed to the new billing account, even if the charge occurred before the new billing account was assigned to the project. The current authenticated user must have ownership privileges for both the and the . You can disable billing on the project by setting thebilling_account_namefield to empty. This action disassociates the current billing account from the project. Any billable activity of your in-use services will stop, and your application could stop functioning as expected. Any unbilled charges to date will be billed to the previously associated account. The current authenticated user must be either an owner of the project or an owner of the billing account for the project. Note that associating a project with a closed billing account will have much the same effect as disabling billing on the project: any paid resources used by the project will be shut down. Thus, unless you wish to disable billing, you should always call this method with the name of an open billing account. -
services.cloudbillingServicesListLists all public cloud services.
-
services.cloudbillingServicesSkusListLists all publicly available SKUs for a given cloud service.
-
openapi.previewSpecPreview an OpenAPI document before adding it as a source
-
openapi.addSourceAdd an OpenAPI source and register its operations as tools