public final class ProjectBillingInfo
extends com.google.api.client.json.GenericJson
This is the Java data model class that specifies how to parse/serialize into the JSON that is transmitted over HTTP when working with the Cloud Billing API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
com.google.api.client.util.GenericData.Flags| Constructor and Description |
|---|
ProjectBillingInfo() |
| Modifier and Type | Method and Description |
|---|---|
ProjectBillingInfo |
clone() |
java.lang.String |
getBillingAccountName()
The resource name of the billing account associated with the project, if any.
|
java.lang.Boolean |
getBillingEnabled()
True if the project is associated with an open billing account, to which usage on the project
is charged.
|
java.lang.String |
getName()
The resource name for the `ProjectBillingInfo`; has the form
`projects/{project_id}/billingInfo`.
|
java.lang.String |
getProjectId()
The ID of the project that this `ProjectBillingInfo` represents, such as `tokyo-rain-123`.
|
ProjectBillingInfo |
set(java.lang.String fieldName,
java.lang.Object value) |
ProjectBillingInfo |
setBillingAccountName(java.lang.String billingAccountName)
The resource name of the billing account associated with the project, if any.
|
ProjectBillingInfo |
setBillingEnabled(java.lang.Boolean billingEnabled)
True if the project is associated with an open billing account, to which usage on the project
is charged.
|
ProjectBillingInfo |
setName(java.lang.String name)
The resource name for the `ProjectBillingInfo`; has the form
`projects/{project_id}/billingInfo`.
|
ProjectBillingInfo |
setProjectId(java.lang.String projectId)
The ID of the project that this `ProjectBillingInfo` represents, such as `tokyo-rain-123`.
|
getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, valuespublic java.lang.String getBillingAccountName()
null for nonepublic ProjectBillingInfo setBillingAccountName(java.lang.String billingAccountName)
billingAccountName - billingAccountName or null for nonepublic java.lang.Boolean getBillingEnabled()
null for nonepublic ProjectBillingInfo setBillingEnabled(java.lang.Boolean billingEnabled)
billingEnabled - billingEnabled or null for nonepublic java.lang.String getName()
null for nonepublic ProjectBillingInfo setName(java.lang.String name)
name - name or null for nonepublic java.lang.String getProjectId()
null for nonepublic ProjectBillingInfo setProjectId(java.lang.String projectId)
projectId - projectId or null for nonepublic ProjectBillingInfo set(java.lang.String fieldName, java.lang.Object value)
set in class com.google.api.client.json.GenericJsonpublic ProjectBillingInfo clone()
clone in class com.google.api.client.json.GenericJson