public final class GoogleCloudBillingBillingaccountpricesV1betaUnitInfo
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 |
|---|
GoogleCloudBillingBillingaccountpricesV1betaUnitInfo() |
| Modifier and Type | Method and Description |
|---|---|
GoogleCloudBillingBillingaccountpricesV1betaUnitInfo |
clone() |
String |
getUnit()
Shorthand for the unit.
|
String |
getUnitDescription()
Human-readable description of the unit.
|
Decimal |
getUnitQuantity()
Unit quantity for the tier.
|
GoogleCloudBillingBillingaccountpricesV1betaUnitInfo |
set(String fieldName,
Object value) |
GoogleCloudBillingBillingaccountpricesV1betaUnitInfo |
setUnit(String unit)
Shorthand for the unit.
|
GoogleCloudBillingBillingaccountpricesV1betaUnitInfo |
setUnitDescription(String unitDescription)
Human-readable description of the unit.
|
GoogleCloudBillingBillingaccountpricesV1betaUnitInfo |
setUnitQuantity(Decimal unitQuantity)
Unit quantity for the tier.
|
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 GoogleCloudBillingBillingaccountpricesV1betaUnitInfo()
public String getUnit()
null for nonepublic GoogleCloudBillingBillingaccountpricesV1betaUnitInfo setUnit(String unit)
unit - unit or null for nonepublic String getUnitDescription()
null for nonepublic GoogleCloudBillingBillingaccountpricesV1betaUnitInfo setUnitDescription(String unitDescription)
unitDescription - unitDescription or null for nonepublic Decimal getUnitQuantity()
null for nonepublic GoogleCloudBillingBillingaccountpricesV1betaUnitInfo setUnitQuantity(Decimal unitQuantity)
unitQuantity - unitQuantity or null for nonepublic GoogleCloudBillingBillingaccountpricesV1betaUnitInfo set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic GoogleCloudBillingBillingaccountpricesV1betaUnitInfo clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2025 Google. All rights reserved.