public final class Image extends 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: http://code.google.com/p/google-api-java-client/wiki/Json
Upgrade warning: starting with version 1.12 getResponseHeaders()
is removed, instead use
JsonHttpRequest.getLastResponseHeaders()
Modifier and Type | Class and Description |
---|---|
static class |
Image.RawDisk
The raw disk image parameters.
|
GenericData.Flags
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
Image() |
Modifier and Type | Method and Description |
---|---|
String |
getCreationTimestamp()
Creation timestamp in RFC3339 text format (output only).
|
DeprecationStatus |
getDeprecated()
The deprecation status associated with this image.
|
String |
getDescription()
Textual description of the resource; provided by the client when the resource is created.
|
com.google.common.primitives.UnsignedLong |
getId()
Unique identifier for the resource; defined by the server (output only).
|
String |
getKind()
Type of the resource.
|
String |
getName()
Name of the resource; provided by the client when the resource is created.
|
String |
getPreferredKernel()
An optional URL of the preferred kernel for use with this disk image.
|
Image.RawDisk |
getRawDisk()
The raw disk image parameters.
|
String |
getSelfLink()
Server defined URL for the resource (output only).
|
String |
getSourceType()
Must be "RAW"; provided by the client when the disk image is created.
|
String |
getStatus()
Status of the image (output only).
|
Image |
setCreationTimestamp(String creationTimestamp)
Creation timestamp in RFC3339 text format (output only).
|
Image |
setDeprecated(DeprecationStatus deprecated)
The deprecation status associated with this image.
|
Image |
setDescription(String description)
Textual description of the resource; provided by the client when the resource is created.
|
Image |
setId(com.google.common.primitives.UnsignedLong id)
Unique identifier for the resource; defined by the server (output only).
|
Image |
setKind(String kind)
Type of the resource.
|
Image |
setName(String name)
Name of the resource; provided by the client when the resource is created.
|
Image |
setPreferredKernel(String preferredKernel)
An optional URL of the preferred kernel for use with this disk image.
|
Image |
setRawDisk(Image.RawDisk rawDisk)
The raw disk image parameters.
|
Image |
setSelfLink(String selfLink)
Server defined URL for the resource (output only).
|
Image |
setSourceType(String sourceType)
Must be "RAW"; provided by the client when the disk image is created.
|
Image |
setStatus(String status)
Status of the image (output only).
|
clone, getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, set, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
public String getCreationTimestamp()
null
.public Image setCreationTimestamp(String creationTimestamp)
null
.public DeprecationStatus getDeprecated()
null
.public Image setDeprecated(DeprecationStatus deprecated)
null
.public String getDescription()
null
.public Image setDescription(String description)
null
.public com.google.common.primitives.UnsignedLong getId()
null
.public Image setId(com.google.common.primitives.UnsignedLong id)
null
.public String getKind()
null
.public String getName()
null
.public Image setName(String name)
null
.public String getPreferredKernel()
null
.public Image setPreferredKernel(String preferredKernel)
null
.public Image.RawDisk getRawDisk()
null
.public Image setRawDisk(Image.RawDisk rawDisk)
null
.public String getSelfLink()
null
.public Image setSelfLink(String selfLink)
null
.public String getSourceType()
null
.public Image setSourceType(String sourceType)
null
.public String getStatus()
null
.public Image setStatus(String status)
null
.