public final class InstantSnapshot
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.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
InstantSnapshot() |
| Modifier and Type | Method and Description |
|---|---|
InstantSnapshot |
clone() |
byte[] |
decodeLabelFingerprint()
A fingerprint for the labels being applied to this InstantSnapshot, which is essentially a hash
of the labels set used for optimistic locking.
|
InstantSnapshot |
encodeLabelFingerprint(byte[] labelFingerprint)
A fingerprint for the labels being applied to this InstantSnapshot, which is essentially a hash
of the labels set used for optimistic locking.
|
String |
getArchitecture()
[Output Only] The architecture of the instant snapshot.
|
String |
getCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
|
String |
getDescription()
An optional description of this resource.
|
Long |
getDiskSizeGb()
[Output Only] Size of the source disk, specified in GB.
|
BigInteger |
getId()
[Output Only] The unique identifier for the resource.
|
String |
getKind()
[Output Only] Type of the resource.
|
String |
getLabelFingerprint()
A fingerprint for the labels being applied to this InstantSnapshot, which is essentially a hash
of the labels set used for optimistic locking.
|
Map<String,String> |
getLabels()
Labels to apply to this InstantSnapshot.
|
String |
getName()
Name of the resource; provided by the client when the resource is created.
|
String |
getRegion()
[Output Only] URL of the region where the instant snapshot resides.
|
InstantSnapshotResourceStatus |
getResourceStatus()
[Output Only] Status information for the instant snapshot resource.
|
Boolean |
getSatisfiesPzi()
Output only.
|
Boolean |
getSatisfiesPzs()
[Output Only] Reserved for future use.
|
String |
getSelfLink()
[Output Only] Server-defined URL for the resource.
|
String |
getSelfLinkWithId()
[Output Only] Server-defined URL for this resource's resource id.
|
String |
getSourceDisk()
URL of the source disk used to create this instant snapshot.
|
String |
getSourceDiskId()
[Output Only] The ID value of the disk used to create this InstantSnapshot.
|
String |
getStatus()
[Output Only] The status of the instantSnapshot.
|
String |
getZone()
[Output Only] URL of the zone where the instant snapshot resides.
|
InstantSnapshot |
set(String fieldName,
Object value) |
InstantSnapshot |
setArchitecture(String architecture)
[Output Only] The architecture of the instant snapshot.
|
InstantSnapshot |
setCreationTimestamp(String creationTimestamp)
[Output Only] Creation timestamp in RFC3339 text format.
|
InstantSnapshot |
setDescription(String description)
An optional description of this resource.
|
InstantSnapshot |
setDiskSizeGb(Long diskSizeGb)
[Output Only] Size of the source disk, specified in GB.
|
InstantSnapshot |
setId(BigInteger id)
[Output Only] The unique identifier for the resource.
|
InstantSnapshot |
setKind(String kind)
[Output Only] Type of the resource.
|
InstantSnapshot |
setLabelFingerprint(String labelFingerprint)
A fingerprint for the labels being applied to this InstantSnapshot, which is essentially a hash
of the labels set used for optimistic locking.
|
InstantSnapshot |
setLabels(Map<String,String> labels)
Labels to apply to this InstantSnapshot.
|
InstantSnapshot |
setName(String name)
Name of the resource; provided by the client when the resource is created.
|
InstantSnapshot |
setRegion(String region)
[Output Only] URL of the region where the instant snapshot resides.
|
InstantSnapshot |
setResourceStatus(InstantSnapshotResourceStatus resourceStatus)
[Output Only] Status information for the instant snapshot resource.
|
InstantSnapshot |
setSatisfiesPzi(Boolean satisfiesPzi)
Output only.
|
InstantSnapshot |
setSatisfiesPzs(Boolean satisfiesPzs)
[Output Only] Reserved for future use.
|
InstantSnapshot |
setSelfLink(String selfLink)
[Output Only] Server-defined URL for the resource.
|
InstantSnapshot |
setSelfLinkWithId(String selfLinkWithId)
[Output Only] Server-defined URL for this resource's resource id.
|
InstantSnapshot |
setSourceDisk(String sourceDisk)
URL of the source disk used to create this instant snapshot.
|
InstantSnapshot |
setSourceDiskId(String sourceDiskId)
[Output Only] The ID value of the disk used to create this InstantSnapshot.
|
InstantSnapshot |
setStatus(String status)
[Output Only] The status of the instantSnapshot.
|
InstantSnapshot |
setZone(String zone)
[Output Only] URL of the zone where the instant snapshot resides.
|
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 String getArchitecture()
null for nonepublic InstantSnapshot setArchitecture(String architecture)
architecture - architecture or null for nonepublic String getCreationTimestamp()
null for nonepublic InstantSnapshot setCreationTimestamp(String creationTimestamp)
creationTimestamp - creationTimestamp or null for nonepublic String getDescription()
null for nonepublic InstantSnapshot setDescription(String description)
description - description or null for nonepublic Long getDiskSizeGb()
null for nonepublic InstantSnapshot setDiskSizeGb(Long diskSizeGb)
diskSizeGb - diskSizeGb or null for nonepublic BigInteger getId()
null for nonepublic InstantSnapshot setId(BigInteger id)
id - id or null for nonepublic String getKind()
null for nonepublic InstantSnapshot setKind(String kind)
kind - kind or null for nonepublic String getLabelFingerprint()
null for nonedecodeLabelFingerprint()public byte[] decodeLabelFingerprint()
null for nonegetLabelFingerprint()public InstantSnapshot setLabelFingerprint(String labelFingerprint)
labelFingerprint - labelFingerprint or null for none#encodeLabelFingerprint()public InstantSnapshot encodeLabelFingerprint(byte[] labelFingerprint)
The value is encoded Base64 or {@code null} for none.
public Map<String,String> getLabels()
null for nonepublic InstantSnapshot setLabels(Map<String,String> labels)
labels - labels or null for nonepublic String getName()
null for nonepublic InstantSnapshot setName(String name)
name - name or null for nonepublic String getRegion()
null for nonepublic InstantSnapshot setRegion(String region)
region - region or null for nonepublic InstantSnapshotResourceStatus getResourceStatus()
null for nonepublic InstantSnapshot setResourceStatus(InstantSnapshotResourceStatus resourceStatus)
resourceStatus - resourceStatus or null for nonepublic Boolean getSatisfiesPzi()
null for nonepublic InstantSnapshot setSatisfiesPzi(Boolean satisfiesPzi)
satisfiesPzi - satisfiesPzi or null for nonepublic Boolean getSatisfiesPzs()
null for nonepublic InstantSnapshot setSatisfiesPzs(Boolean satisfiesPzs)
satisfiesPzs - satisfiesPzs or null for nonepublic String getSelfLink()
null for nonepublic InstantSnapshot setSelfLink(String selfLink)
selfLink - selfLink or null for nonepublic String getSelfLinkWithId()
null for nonepublic InstantSnapshot setSelfLinkWithId(String selfLinkWithId)
selfLinkWithId - selfLinkWithId or null for nonepublic String getSourceDisk()
null for nonepublic InstantSnapshot setSourceDisk(String sourceDisk)
sourceDisk - sourceDisk or null for nonepublic String getSourceDiskId()
null for nonepublic InstantSnapshot setSourceDiskId(String sourceDiskId)
sourceDiskId - sourceDiskId or null for nonepublic String getStatus()
null for nonepublic InstantSnapshot setStatus(String status)
status - status or null for nonepublic String getZone()
null for nonepublic InstantSnapshot setZone(String zone)
zone - zone or null for nonepublic InstantSnapshot set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic InstantSnapshot clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2024 Google. All rights reserved.