public final class PersistentDisk
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 |
|---|
PersistentDisk() |
| Modifier and Type | Method and Description |
|---|---|
PersistentDisk |
clone() |
Usage |
getDiskSize()
Specifies the size of disk.
|
String |
getDiskType()
The [disk type](https://cloud.google.com/compute/docs/disks#disk-types).
|
Usage |
getProvisionedIops()
Indicates how many IOPS to provision for the disk for extreme persistent disks.
|
String |
getScope()
The geographic scope of the disk.
|
PersistentDisk |
set(String fieldName,
Object value) |
PersistentDisk |
setDiskSize(Usage diskSize)
Specifies the size of disk.
|
PersistentDisk |
setDiskType(String diskType)
The [disk type](https://cloud.google.com/compute/docs/disks#disk-types).
|
PersistentDisk |
setProvisionedIops(Usage provisionedIops)
Indicates how many IOPS to provision for the disk for extreme persistent disks.
|
PersistentDisk |
setScope(String scope)
The geographic scope of the disk.
|
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 Usage getDiskSize()
null for nonepublic PersistentDisk setDiskSize(Usage diskSize)
diskSize - diskSize or null for nonepublic String getDiskType()
null for nonepublic PersistentDisk setDiskType(String diskType)
diskType - diskType or null for nonepublic Usage getProvisionedIops()
null for nonepublic PersistentDisk setProvisionedIops(Usage provisionedIops)
provisionedIops - provisionedIops or null for nonepublic String getScope()
null for nonepublic PersistentDisk setScope(String scope)
scope - scope or null for nonepublic PersistentDisk set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic PersistentDisk clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2024 Google. All rights reserved.