public class Cloudbilling.BillingAccounts.SubAccounts extends Object
| Modifier and Type | Class and Description |
|---|---|
class |
Cloudbilling.BillingAccounts.SubAccounts.Create |
class |
Cloudbilling.BillingAccounts.SubAccounts.List |
| Constructor and Description |
|---|
SubAccounts() |
| Modifier and Type | Method and Description |
|---|---|
Cloudbilling.BillingAccounts.SubAccounts.Create |
create(String parent,
BillingAccount content)
This method creates [billing
subaccounts](https://cloud.google.com/billing/docs/concepts#subaccounts).
|
Cloudbilling.BillingAccounts.SubAccounts.List |
list(String parent)
Lists the billing accounts that the current authenticated user has permission to
[view](https://cloud.google.com/billing/docs/how-to/billing-access).
|
public Cloudbilling.BillingAccounts.SubAccounts.Create create(String parent, BillingAccount content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.parent - Optional. The parent to create a billing account from. Format: -
`billingAccounts/{billing_account_id}`, for example,
`billingAccounts/012345-567890-ABCDEF`content - the BillingAccountIOExceptionpublic Cloudbilling.BillingAccounts.SubAccounts.List list(String parent) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.parent - Optional. The parent resource to list billing accounts from. Format: -
`organizations/{organization_id}`, for example, `organizations/12345678` -
`billingAccounts/{billing_account_id}`, for example,
`billingAccounts/012345-567890-ABCDEF`IOExceptionCopyright © 2011–2024 Google. All rights reserved.