public final class DiskType
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 |
|---|
DiskType() |
| Modifier and Type | Method and Description |
|---|---|
DiskType |
clone() |
java.lang.String |
getCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
|
java.lang.Long |
getDefaultDiskSizeGb()
[Output Only] Server-defined default disk size in GB.
|
DeprecationStatus |
getDeprecated()
[Output Only] The deprecation status associated with this disk type.
|
java.lang.String |
getDescription()
[Output Only] An optional description of this resource.
|
java.math.BigInteger |
getId()
[Output Only] The unique identifier for the resource.
|
java.lang.String |
getKind()
[Output Only] Type of the resource.
|
java.lang.String |
getName()
[Output Only] Name of the resource.
|
java.lang.String |
getSelfLink()
[Output Only] Server-defined URL for the resource.
|
java.lang.String |
getValidDiskSize()
[Output Only] An optional textual description of the valid disk size, such as "10GB-10TB".
|
java.lang.String |
getZone()
[Output Only] URL of the zone where the disk type resides.
|
DiskType |
set(java.lang.String fieldName,
java.lang.Object value) |
DiskType |
setCreationTimestamp(java.lang.String creationTimestamp)
[Output Only] Creation timestamp in RFC3339 text format.
|
DiskType |
setDefaultDiskSizeGb(java.lang.Long defaultDiskSizeGb)
[Output Only] Server-defined default disk size in GB.
|
DiskType |
setDeprecated(DeprecationStatus deprecated)
[Output Only] The deprecation status associated with this disk type.
|
DiskType |
setDescription(java.lang.String description)
[Output Only] An optional description of this resource.
|
DiskType |
setId(java.math.BigInteger id)
[Output Only] The unique identifier for the resource.
|
DiskType |
setKind(java.lang.String kind)
[Output Only] Type of the resource.
|
DiskType |
setName(java.lang.String name)
[Output Only] Name of the resource.
|
DiskType |
setSelfLink(java.lang.String selfLink)
[Output Only] Server-defined URL for the resource.
|
DiskType |
setValidDiskSize(java.lang.String validDiskSize)
[Output Only] An optional textual description of the valid disk size, such as "10GB-10TB".
|
DiskType |
setZone(java.lang.String zone)
[Output Only] URL of the zone where the disk type resides.
|
getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeyspublic java.lang.String getCreationTimestamp()
null for nonepublic DiskType setCreationTimestamp(java.lang.String creationTimestamp)
creationTimestamp - creationTimestamp or null for nonepublic java.lang.Long getDefaultDiskSizeGb()
null for nonepublic DiskType setDefaultDiskSizeGb(java.lang.Long defaultDiskSizeGb)
defaultDiskSizeGb - defaultDiskSizeGb or null for nonepublic DeprecationStatus getDeprecated()
null for nonepublic DiskType setDeprecated(DeprecationStatus deprecated)
deprecated - deprecated or null for nonepublic java.lang.String getDescription()
null for nonepublic DiskType setDescription(java.lang.String description)
description - description or null for nonepublic java.math.BigInteger getId()
null for nonepublic DiskType setId(java.math.BigInteger id)
id - id or null for nonepublic java.lang.String getKind()
null for nonepublic DiskType setKind(java.lang.String kind)
kind - kind or null for nonepublic java.lang.String getName()
null for nonepublic DiskType setName(java.lang.String name)
name - name or null for nonepublic java.lang.String getSelfLink()
null for nonepublic DiskType setSelfLink(java.lang.String selfLink)
selfLink - selfLink or null for nonepublic java.lang.String getValidDiskSize()
null for nonepublic DiskType setValidDiskSize(java.lang.String validDiskSize)
validDiskSize - validDiskSize or null for nonepublic java.lang.String getZone()
null for nonepublic DiskType setZone(java.lang.String zone)
zone - zone or null for nonepublic DiskType set(java.lang.String fieldName, java.lang.Object value)
set in class com.google.api.client.json.GenericJsonpublic DiskType clone()
clone in class com.google.api.client.json.GenericJson