public class Cloudbilling.Projects extends Object
Modifier and Type | Class and Description |
---|---|
class |
Cloudbilling.Projects.GetBillingInfo |
class |
Cloudbilling.Projects.UpdateBillingInfo |
Constructor and Description |
---|
Projects() |
Modifier and Type | Method and Description |
---|---|
Cloudbilling.Projects.GetBillingInfo |
getBillingInfo(String name)
Gets the billing information for a project.
|
Cloudbilling.Projects.UpdateBillingInfo |
updateBillingInfo(String name,
ProjectBillingInfo content)
Sets or updates the billing account associated with a project.
|
public Cloudbilling.Projects.GetBillingInfo getBillingInfo(String name) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.name
- Required. The resource name of the project for which billing information is retrieved. For example,
`projects/tokyo-rain-123`.IOException
public Cloudbilling.Projects.UpdateBillingInfo updateBillingInfo(String name, ProjectBillingInfo content) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.name
- Required. The resource name of the project associated with the billing information that you want to
update. For example, `projects/tokyo-rain-123`.content
- the ProjectBillingInfo
IOException
Copyright © 2011–2020 Google. All rights reserved.