public class Cloudbilling.Organizations.BillingAccounts extends Object
| Modifier and Type | Class and Description |
|---|---|
class |
Cloudbilling.Organizations.BillingAccounts.Create |
class |
Cloudbilling.Organizations.BillingAccounts.List |
class |
Cloudbilling.Organizations.BillingAccounts.Move |
| Constructor and Description |
|---|
BillingAccounts() |
| Modifier and Type | Method and Description |
|---|---|
Cloudbilling.Organizations.BillingAccounts.Create |
create(String parent,
BillingAccount content)
This method creates [billing
subaccounts](https://cloud.google.com/billing/docs/concepts#subaccounts).
|
Cloudbilling.Organizations.BillingAccounts.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).
|
Cloudbilling.Organizations.BillingAccounts.Move |
move(String destinationParent,
String name)
Changes which parent organization a billing account belongs to.
|
public Cloudbilling.Organizations.BillingAccounts.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.Organizations.BillingAccounts.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`IOExceptionpublic Cloudbilling.Organizations.BillingAccounts.Move move(String destinationParent, String name) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.destinationParent - Required. The resource name of the Organization to move the billing account under. Must be of the
form `organizations/{organization_id}`.name - Required. The resource name of the billing account to move. Must be of the form
`billingAccounts/{billing_account_id}`. The specified billing account cannot be a
subaccount, since a subaccount always belongs to the same organization as its parent
account.IOExceptionCopyright © 2011–2024 Google. All rights reserved.