public final class CapacityHistoryResponse
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 Compute Engine 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 |
|---|
CapacityHistoryResponse() |
| Modifier and Type | Method and Description |
|---|---|
CapacityHistoryResponse |
clone() |
String |
getLocation()
Output only.
|
String |
getMachineType()
The machine type for which the capacity history is returned.
|
List<CapacityHistoryResponsePreemptionRecord> |
getPreemptionHistory()
The preemption history for the requested machine type and location.
|
List<CapacityHistoryResponsePriceRecord> |
getPriceHistory()
The price history for the requested machine type and location.
|
CapacityHistoryResponse |
set(String fieldName,
Object value) |
CapacityHistoryResponse |
setLocation(String location)
Output only.
|
CapacityHistoryResponse |
setMachineType(String machineType)
The machine type for which the capacity history is returned.
|
CapacityHistoryResponse |
setPreemptionHistory(List<CapacityHistoryResponsePreemptionRecord> preemptionHistory)
The preemption history for the requested machine type and location.
|
CapacityHistoryResponse |
setPriceHistory(List<CapacityHistoryResponsePriceRecord> priceHistory)
The price history for the requested machine type and location.
|
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 getLocation()
null for nonepublic CapacityHistoryResponse setLocation(String location)
location - location or null for nonepublic String getMachineType()
null for nonepublic CapacityHistoryResponse setMachineType(String machineType)
machineType - machineType or null for nonepublic List<CapacityHistoryResponsePreemptionRecord> getPreemptionHistory()
null for nonepublic CapacityHistoryResponse setPreemptionHistory(List<CapacityHistoryResponsePreemptionRecord> preemptionHistory)
preemptionHistory - preemptionHistory or null for nonepublic List<CapacityHistoryResponsePriceRecord> getPriceHistory()
null for nonepublic CapacityHistoryResponse setPriceHistory(List<CapacityHistoryResponsePriceRecord> priceHistory)
priceHistory - priceHistory or null for nonepublic CapacityHistoryResponse set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic CapacityHistoryResponse clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2026 Google. All rights reserved.