public final class VmResourceBasedCud
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 |
|---|
VmResourceBasedCud() |
| Modifier and Type | Method and Description |
|---|---|
VmResourceBasedCud |
clone() |
GuestAccelerator |
getGuestAccelerator()
Guest accelerator, known as GPU.
|
String |
getMachineSeries()
The machine series for CUD.
|
Double |
getMemorySizeGb()
Memory size of the VM in GB (2^30 bytes).
|
String |
getPlan()
Commitment usage plan.
|
String |
getRegion()
The region where the VM runs.
|
Long |
getVirtualCpuCount()
The number of vCPUs.
|
VmResourceBasedCud |
set(String fieldName,
Object value) |
VmResourceBasedCud |
setGuestAccelerator(GuestAccelerator guestAccelerator)
Guest accelerator, known as GPU.
|
VmResourceBasedCud |
setMachineSeries(String machineSeries)
The machine series for CUD.
|
VmResourceBasedCud |
setMemorySizeGb(Double memorySizeGb)
Memory size of the VM in GB (2^30 bytes).
|
VmResourceBasedCud |
setPlan(String plan)
Commitment usage plan.
|
VmResourceBasedCud |
setRegion(String region)
The region where the VM runs.
|
VmResourceBasedCud |
setVirtualCpuCount(Long virtualCpuCount)
The number of vCPUs.
|
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 GuestAccelerator getGuestAccelerator()
null for nonepublic VmResourceBasedCud setGuestAccelerator(GuestAccelerator guestAccelerator)
guestAccelerator - guestAccelerator or null for nonepublic String getMachineSeries()
null for nonepublic VmResourceBasedCud setMachineSeries(String machineSeries)
machineSeries - machineSeries or null for nonepublic Double getMemorySizeGb()
null for nonepublic VmResourceBasedCud setMemorySizeGb(Double memorySizeGb)
memorySizeGb - memorySizeGb or null for nonepublic String getPlan()
null for nonepublic VmResourceBasedCud setPlan(String plan)
plan - plan or null for nonepublic String getRegion()
null for nonepublic VmResourceBasedCud setRegion(String region)
region - region or null for nonepublic Long getVirtualCpuCount()
null for nonepublic VmResourceBasedCud setVirtualCpuCount(Long virtualCpuCount)
virtualCpuCount - virtualCpuCount or null for nonepublic VmResourceBasedCud set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic VmResourceBasedCud clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2024 Google. All rights reserved.