public class Cloudbilling.BillingAccounts extends Object
Modifier and Type | Class and Description |
---|---|
class |
Cloudbilling.BillingAccounts.Create |
class |
Cloudbilling.BillingAccounts.Get |
class |
Cloudbilling.BillingAccounts.GetIamPolicy |
class |
Cloudbilling.BillingAccounts.List |
class |
Cloudbilling.BillingAccounts.Patch |
class |
Cloudbilling.BillingAccounts.Projects
The "projects" collection of methods.
|
class |
Cloudbilling.BillingAccounts.SetIamPolicy |
class |
Cloudbilling.BillingAccounts.TestIamPermissions |
Constructor and Description |
---|
BillingAccounts() |
Modifier and Type | Method and Description |
---|---|
Cloudbilling.BillingAccounts.Create |
create(BillingAccount content)
Creates a billing account.
|
Cloudbilling.BillingAccounts.Get |
get(String name)
Gets information about a billing account.
|
Cloudbilling.BillingAccounts.GetIamPolicy |
getIamPolicy(String resource)
Gets the access control policy for a billing account.
|
Cloudbilling.BillingAccounts.List |
list()
Lists the billing accounts that the current authenticated user has permission to
[view](https://cloud.google.com/billing/docs/how-to/billing-access).
|
Cloudbilling.BillingAccounts.Patch |
patch(String name,
BillingAccount content)
Updates a billing account's fields.
|
Cloudbilling.BillingAccounts.Projects |
projects()
An accessor for creating requests from the Projects collection.
|
Cloudbilling.BillingAccounts.SetIamPolicy |
setIamPolicy(String resource,
SetIamPolicyRequest content)
Sets the access control policy for a billing account.
|
Cloudbilling.BillingAccounts.TestIamPermissions |
testIamPermissions(String resource,
TestIamPermissionsRequest content)
Tests the access control policy for a billing account.
|
public Cloudbilling.BillingAccounts.Create create(BillingAccount content) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.content
- the BillingAccount
IOException
public Cloudbilling.BillingAccounts.Get get(String name) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.name
- Required. The resource name of the billing account to retrieve. For example,
`billingAccounts/012345-567890-ABCDEF`.IOException
public Cloudbilling.BillingAccounts.GetIamPolicy getIamPolicy(String resource) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.resource
- REQUIRED: The resource for which the policy is being requested. See the operation documentation for
the appropriate value for this field.IOException
public Cloudbilling.BillingAccounts.List list() throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.IOException
public Cloudbilling.BillingAccounts.Patch patch(String name, BillingAccount content) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.name
- Required. The name of the billing account resource to be updated.content
- the BillingAccount
IOException
public Cloudbilling.BillingAccounts.SetIamPolicy setIamPolicy(String resource, SetIamPolicyRequest content) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.resource
- REQUIRED: The resource for which the policy is being specified. See the operation documentation for
the appropriate value for this field.content
- the SetIamPolicyRequest
IOException
public Cloudbilling.BillingAccounts.TestIamPermissions testIamPermissions(String resource, TestIamPermissionsRequest content) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.resource
- REQUIRED: The resource for which the policy detail is being requested. See the operation
documentation for the appropriate value for this field.content
- the TestIamPermissionsRequest
IOException
public Cloudbilling.BillingAccounts.Projects projects()
The typical use is:
Cloudbilling cloudbilling = new Cloudbilling(...);
Cloudbilling.Projects.List request = cloudbilling.projects().list(parameters ...)
Copyright © 2011–2020 Google. All rights reserved.