public final class Sku
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 |
|---|
Sku() |
| Modifier and Type | Method and Description |
|---|---|
Sku |
clone() |
Category |
getCategory()
The category hierarchy of this SKU, purely for organizational purpose.
|
String |
getDescription()
A human readable description of the SKU, has a maximum length of 256 characters.
|
String |
getName()
The resource name for the SKU.
|
List<PricingInfo> |
getPricingInfo()
A timeline of pricing info for this SKU in chronological order.
|
String |
getServiceProviderName()
Identifies the service provider.
|
List<String> |
getServiceRegions()
List of service regions this SKU is offered at.
|
String |
getSkuId()
The identifier for the SKU.
|
Sku |
set(String fieldName,
Object value) |
Sku |
setCategory(Category category)
The category hierarchy of this SKU, purely for organizational purpose.
|
Sku |
setDescription(String description)
A human readable description of the SKU, has a maximum length of 256 characters.
|
Sku |
setName(String name)
The resource name for the SKU.
|
Sku |
setPricingInfo(List<PricingInfo> pricingInfo)
A timeline of pricing info for this SKU in chronological order.
|
Sku |
setServiceProviderName(String serviceProviderName)
Identifies the service provider.
|
Sku |
setServiceRegions(List<String> serviceRegions)
List of service regions this SKU is offered at.
|
Sku |
setSkuId(String skuId)
The identifier for the SKU.
|
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 Category getCategory()
null for nonepublic Sku setCategory(Category category)
category - category or null for nonepublic String getDescription()
null for nonepublic Sku setDescription(String description)
description - description or null for nonepublic String getName()
null for nonepublic Sku setName(String name)
name - name or null for nonepublic List<PricingInfo> getPricingInfo()
null for nonepublic Sku setPricingInfo(List<PricingInfo> pricingInfo)
pricingInfo - pricingInfo or null for nonepublic String getServiceProviderName()
null for nonepublic Sku setServiceProviderName(String serviceProviderName)
serviceProviderName - serviceProviderName or null for nonepublic List<String> getServiceRegions()
null for nonepublic Sku setServiceRegions(List<String> serviceRegions)
serviceRegions - serviceRegions or null for nonepublic String getSkuId()
null for nonepublic Sku setSkuId(String skuId)
skuId - skuId or null for nonepublic Sku set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic Sku clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2019 Google. All rights reserved.