public final class ComputeVmWorkload
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 |
|---|
ComputeVmWorkload() |
| Modifier and Type | Method and Description |
|---|---|
ComputeVmWorkload |
clone() |
Boolean |
getEnableConfidentialCompute()
Defines whether each instance has confidential compute enabled.
|
GuestAccelerator |
getGuestAccelerator()
Guest accelerators attached to each machine.
|
Usage |
getInstancesRunning()
VM usage.
|
List<String> |
getLicenses()
Premium image licenses used by each instance.
|
MachineType |
getMachineType()
The machine type.
|
List<PersistentDisk> |
getPersistentDisks()
Persistent disks attached to each instance.
|
Boolean |
getPreemptible()
Defines whether each instance is preemptible.
|
String |
getRegion()
The [region](https://cloud.google.com/compute/docs/regions-zones) where the VMs run.
|
ComputeVmWorkload |
set(String fieldName,
Object value) |
ComputeVmWorkload |
setEnableConfidentialCompute(Boolean enableConfidentialCompute)
Defines whether each instance has confidential compute enabled.
|
ComputeVmWorkload |
setGuestAccelerator(GuestAccelerator guestAccelerator)
Guest accelerators attached to each machine.
|
ComputeVmWorkload |
setInstancesRunning(Usage instancesRunning)
VM usage.
|
ComputeVmWorkload |
setLicenses(List<String> licenses)
Premium image licenses used by each instance.
|
ComputeVmWorkload |
setMachineType(MachineType machineType)
The machine type.
|
ComputeVmWorkload |
setPersistentDisks(List<PersistentDisk> persistentDisks)
Persistent disks attached to each instance.
|
ComputeVmWorkload |
setPreemptible(Boolean preemptible)
Defines whether each instance is preemptible.
|
ComputeVmWorkload |
setRegion(String region)
The [region](https://cloud.google.com/compute/docs/regions-zones) where the VMs run.
|
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 Boolean getEnableConfidentialCompute()
null for nonepublic ComputeVmWorkload setEnableConfidentialCompute(Boolean enableConfidentialCompute)
enableConfidentialCompute - enableConfidentialCompute or null for nonepublic GuestAccelerator getGuestAccelerator()
null for nonepublic ComputeVmWorkload setGuestAccelerator(GuestAccelerator guestAccelerator)
guestAccelerator - guestAccelerator or null for nonepublic Usage getInstancesRunning()
null for nonepublic ComputeVmWorkload setInstancesRunning(Usage instancesRunning)
instancesRunning - instancesRunning or null for nonepublic List<String> getLicenses()
null for nonepublic ComputeVmWorkload setLicenses(List<String> licenses)
licenses - licenses or null for nonepublic MachineType getMachineType()
null for nonepublic ComputeVmWorkload setMachineType(MachineType machineType)
machineType - machineType or null for nonepublic List<PersistentDisk> getPersistentDisks()
null for nonepublic ComputeVmWorkload setPersistentDisks(List<PersistentDisk> persistentDisks)
persistentDisks - persistentDisks or null for nonepublic Boolean getPreemptible()
null for nonepublic ComputeVmWorkload setPreemptible(Boolean preemptible)
preemptible - preemptible or null for nonepublic String getRegion()
null for nonepublic ComputeVmWorkload setRegion(String region)
region - region or null for nonepublic ComputeVmWorkload set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic ComputeVmWorkload clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2024 Google. All rights reserved.