BillingAccountsSubAccounts
class BillingAccountsSubAccounts extends Resource (View source)
The "subAccounts" collection of methods.
Typical usage is:
$cloudbillingService = new Google\Service\Cloudbilling(...);
$subAccounts = $cloudbillingService->billingAccounts_subAccounts;
Methods
This method creates billing subaccounts.
Lists the billing accounts that the current authenticated user has permission to view.
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. (subAccounts.create)
ListBillingAccountsResponse
listBillingAccountsSubAccounts(string $parent, array $optParams = [])
Lists the billing accounts that the current authenticated user has permission to view.
(subAccounts.listBillingAccountsSubAccounts)