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.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
ProjectBillingInfo() |
| Modifier and Type | Method and Description |
|---|---|
ProjectBillingInfo |
clone() |
String |
getBillingAccountName()
The resource name of the billing account associated with the project, if any.
|
Boolean |
getBillingEnabled()
True if the project is associated with an open billing account, to which usage on the project
is charged.
|
String |
getName()
The resource name for the `ProjectBillingInfo`; has the form
`projects/{project_id}/billingInfo`.
|
String |
getProjectId()
The ID of the project that this `ProjectBillingInfo` represents, such as `tokyo-rain-123`.
|
ProjectBillingInfo |
set(String fieldName,
Object value) |
ProjectBillingInfo |
setBillingAccountName(String billingAccountName)
The resource name of the billing account associated with the project, if any.
|
ProjectBillingInfo |
setBillingEnabled(Boolean billingEnabled)
True if the project is associated with an open billing account, to which usage on the project
is charged.
|
ProjectBillingInfo |
setName(String name)
The resource name for the `ProjectBillingInfo`; has the form
`projects/{project_id}/billingInfo`.
|
ProjectBillingInfo |
setProjectId(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, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllpublic String getBillingAccountName()
null for nonepublic ProjectBillingInfo setBillingAccountName(String billingAccountName)
billingAccountName - billingAccountName or null for nonepublic Boolean getBillingEnabled()
null for nonepublic ProjectBillingInfo setBillingEnabled(Boolean billingEnabled)
billingEnabled - billingEnabled or null for nonepublic String getName()
null for nonepublic ProjectBillingInfo setName(String name)
name - name or null for nonepublic String getProjectId()
null for nonepublic ProjectBillingInfo setProjectId(String projectId)
projectId - projectId or null for nonepublic ProjectBillingInfo set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic ProjectBillingInfo clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2019 Google. All rights reserved.