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.Flags
AbstractMap.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()
Output only.
|
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)
Output only.
|
BillingAccount |
setOpen(Boolean open)
Output only.
|
getFactory, setFactory, toPrettyString, toString
entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, isEmpty, keySet, size, values
finalize, getClass, notify, notifyAll, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
public 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 GenericJson
public BillingAccount clone()
clone
in class GenericJson
Copyright © 2011–2020 Google. All rights reserved.