public final class SkuCostEstimate
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 |
|---|
SkuCostEstimate() |
| Modifier and Type | Method and Description |
|---|---|
SkuCostEstimate |
clone() |
CostEstimate |
getCostEstimate()
The estimated cost for the usage on this SKU.
|
String |
getSku()
The resource name for the SKU.
|
Double |
getUsageAmount()
The amount of usage on this SKU.
|
String |
getUsageUnit()
The unit for the usage on this SKU.
|
SkuCostEstimate |
set(String fieldName,
Object value) |
SkuCostEstimate |
setCostEstimate(CostEstimate costEstimate)
The estimated cost for the usage on this SKU.
|
SkuCostEstimate |
setSku(String sku)
The resource name for the SKU.
|
SkuCostEstimate |
setUsageAmount(Double usageAmount)
The amount of usage on this SKU.
|
SkuCostEstimate |
setUsageUnit(String usageUnit)
The unit for the usage on this SKU.
|
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 CostEstimate getCostEstimate()
null for nonepublic SkuCostEstimate setCostEstimate(CostEstimate costEstimate)
costEstimate - costEstimate or null for nonepublic String getSku()
null for nonepublic SkuCostEstimate setSku(String sku)
sku - sku or null for nonepublic Double getUsageAmount()
null for nonepublic SkuCostEstimate setUsageAmount(Double usageAmount)
usageAmount - usageAmount or null for nonepublic String getUsageUnit()
null for nonepublic SkuCostEstimate setUsageUnit(String usageUnit)
usageUnit - usageUnit or null for nonepublic SkuCostEstimate set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic SkuCostEstimate clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2024 Google. All rights reserved.