public final class BillingAccount extends 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
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()
Output only.
|
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)
Output only.
|
getFactory, setFactory, toPrettyString, toStringentrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, 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 GenericJsonpublic BillingAccount clone()
clone in class GenericJsonCopyright © 2011–2020 Google. All rights reserved.