public final class AllocationAggregateReservation
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 |
|---|
AllocationAggregateReservation() |
| Modifier and Type | Method and Description |
|---|---|
AllocationAggregateReservation |
clone() |
Integer |
getHostCount()
Count of reserved hosts of specified VM family.
|
Integer |
getInUseHostCount()
Output only.
|
Integer |
getInUseInstanceCount()
Output only.
|
List<AllocationAggregateReservationReservedResourceInfo> |
getInUseResources()
Output only.
|
List<AllocationAggregateReservationReservedResourceInfo> |
getReservedResources()
List of reserved resources (CPUs, memory, accelerators).
|
String |
getVmFamily()
The VM family that all instances scheduled against this reservation must belong to.
|
String |
getWorkloadType()
The workload type of the instances that will target this reservation.
|
AllocationAggregateReservation |
set(String fieldName,
Object value) |
AllocationAggregateReservation |
setHostCount(Integer hostCount)
Count of reserved hosts of specified VM family.
|
AllocationAggregateReservation |
setInUseHostCount(Integer inUseHostCount)
Output only.
|
AllocationAggregateReservation |
setInUseInstanceCount(Integer inUseInstanceCount)
Output only.
|
AllocationAggregateReservation |
setInUseResources(List<AllocationAggregateReservationReservedResourceInfo> inUseResources)
Output only.
|
AllocationAggregateReservation |
setReservedResources(List<AllocationAggregateReservationReservedResourceInfo> reservedResources)
List of reserved resources (CPUs, memory, accelerators).
|
AllocationAggregateReservation |
setVmFamily(String vmFamily)
The VM family that all instances scheduled against this reservation must belong to.
|
AllocationAggregateReservation |
setWorkloadType(String workloadType)
The workload type of the instances that will target this reservation.
|
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 Integer getHostCount()
null for nonepublic AllocationAggregateReservation setHostCount(Integer hostCount)
hostCount - hostCount or null for nonepublic Integer getInUseHostCount()
null for nonepublic AllocationAggregateReservation setInUseHostCount(Integer inUseHostCount)
inUseHostCount - inUseHostCount or null for nonepublic Integer getInUseInstanceCount()
null for nonepublic AllocationAggregateReservation setInUseInstanceCount(Integer inUseInstanceCount)
inUseInstanceCount - inUseInstanceCount or null for nonepublic List<AllocationAggregateReservationReservedResourceInfo> getInUseResources()
null for nonepublic AllocationAggregateReservation setInUseResources(List<AllocationAggregateReservationReservedResourceInfo> inUseResources)
inUseResources - inUseResources or null for nonepublic List<AllocationAggregateReservationReservedResourceInfo> getReservedResources()
null for nonepublic AllocationAggregateReservation setReservedResources(List<AllocationAggregateReservationReservedResourceInfo> reservedResources)
reservedResources - reservedResources or null for nonepublic String getVmFamily()
null for nonepublic AllocationAggregateReservation setVmFamily(String vmFamily)
vmFamily - vmFamily or null for nonepublic String getWorkloadType()
null for nonepublic AllocationAggregateReservation setWorkloadType(String workloadType)
workloadType - workloadType or null for nonepublic AllocationAggregateReservation set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic AllocationAggregateReservation clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2026 Google. All rights reserved.