OrganizationsBillingAccounts
class OrganizationsBillingAccounts extends Resource (View source)
The "billingAccounts" collection of methods.
Typical usage is:
$cloudbillingService = new Google\Service\Cloudbilling(...);
$billingAccounts = $cloudbillingService->organizations_billingAccounts;
Methods
This method creates billing subaccounts.
Lists the billing accounts that the current authenticated user has permission to view.
Changes which parent organization a billing account belongs to.
Details
BillingAccount
create(string $parent, BillingAccount $postBody, array $optParams = [])
This method creates billing subaccounts.
Google Cloud resellers should use the Channel Services APIs, accounts.custom
ers.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. (billingAccounts.create)
ListBillingAccountsResponse
listOrganizationsBillingAccounts(string $parent, array $optParams = [])
Lists the billing accounts that the current authenticated user has permission to view.
(billingAccounts.listOrganizationsBillingAccounts)
BillingAccount
move(string $destinationParent, string $name, array $optParams = [])
Changes which parent organization a billing account belongs to.
(billingAccounts.move)