public final class DisksResizeRequest
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.Flags| Constructor and Description |
|---|
DisksResizeRequest() |
| Modifier and Type | Method and Description |
|---|---|
DisksResizeRequest |
clone() |
java.lang.Long |
getSizeGb()
The new size of the persistent disk, which is specified in GB.
|
DisksResizeRequest |
set(java.lang.String fieldName,
java.lang.Object value) |
DisksResizeRequest |
setSizeGb(java.lang.Long sizeGb)
The new size of the persistent disk, which is specified in GB.
|
getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeyspublic java.lang.Long getSizeGb()
null for nonepublic DisksResizeRequest setSizeGb(java.lang.Long sizeGb)
sizeGb - sizeGb or null for nonepublic DisksResizeRequest set(java.lang.String fieldName, java.lang.Object value)
set in class com.google.api.client.json.GenericJsonpublic DisksResizeRequest clone()
clone in class com.google.api.client.json.GenericJson