public final class Resources
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 App Engine Admin 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 |
|---|
Resources() |
| Modifier and Type | Method and Description |
|---|---|
Resources |
clone() |
Double |
getCpu()
Number of CPU cores needed.
|
Double |
getDiskGb()
Disk size (GB) needed.
|
String |
getKmsKeyReference()
The name of the encryption key that is stored in Google Cloud KMS.
|
Double |
getMemoryGb()
Memory (GB) needed.
|
List<Volume> |
getVolumes()
User specified volumes.
|
Resources |
set(String fieldName,
Object value) |
Resources |
setCpu(Double cpu)
Number of CPU cores needed.
|
Resources |
setDiskGb(Double diskGb)
Disk size (GB) needed.
|
Resources |
setKmsKeyReference(String kmsKeyReference)
The name of the encryption key that is stored in Google Cloud KMS.
|
Resources |
setMemoryGb(Double memoryGb)
Memory (GB) needed.
|
Resources |
setVolumes(List<Volume> volumes)
User specified volumes.
|
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 Double getCpu()
null for nonepublic Resources setCpu(Double cpu)
cpu - cpu or null for nonepublic Double getDiskGb()
null for nonepublic Resources setDiskGb(Double diskGb)
diskGb - diskGb or null for nonepublic String getKmsKeyReference()
null for nonepublic Resources setKmsKeyReference(String kmsKeyReference)
kmsKeyReference - kmsKeyReference or null for nonepublic Double getMemoryGb()
null for nonepublic Resources setMemoryGb(Double memoryGb)
memoryGb - memoryGb or null for nonepublic Resources setVolumes(List<Volume> volumes)
volumes - volumes or null for nonepublic Resources set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic Resources clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2024 Google. All rights reserved.