public final class BillingAccount
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 |
|---|
BillingAccount() |
| Modifier and Type | Method and Description |
|---|---|
BillingAccount |
clone() |
String |
getDisplayName()
The display name given to the billing account, such as `My Billing Account`.
|
String |
getMasterBillingAccount()
If this account is a [subaccount](https://cloud.google.com/billing/docs/concepts), then this
will be the resource name of the master billing account that it is being resold through.
|
String |
getName()
The resource name of the billing account.
|
Boolean |
getOpen()
True if the billing account is open, and will therefore be charged for any usage on associated
projects.
|
BillingAccount |
set(String fieldName,
Object value) |
BillingAccount |
setDisplayName(String displayName)
The display name given to the billing account, such as `My Billing Account`.
|
BillingAccount |
setMasterBillingAccount(String masterBillingAccount)
If this account is a [subaccount](https://cloud.google.com/billing/docs/concepts), then this
will be the resource name of the master billing account that it is being resold through.
|
BillingAccount |
setName(String name)
The resource name of the billing account.
|
BillingAccount |
setOpen(Boolean open)
True if the billing account is open, and will therefore be charged for any usage on associated
projects.
|
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 getDisplayName()
null for nonepublic BillingAccount setDisplayName(String displayName)
displayName - displayName or null for nonepublic String getMasterBillingAccount()
null for nonepublic BillingAccount setMasterBillingAccount(String masterBillingAccount)
masterBillingAccount - masterBillingAccount or null for nonepublic String getName()
null for nonepublic BillingAccount setName(String name)
name - name or null for nonepublic Boolean getOpen()
null for nonepublic BillingAccount setOpen(Boolean open)
open - open or null for nonepublic BillingAccount set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic BillingAccount clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2019 Google. All rights reserved.