public final class InPlaceSnapshot 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: https://developers.google.com/api-client-library/java/google-http-java-client/json
GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description | 
|---|
InPlaceSnapshot()  | 
| Modifier and Type | Method and Description | 
|---|---|
InPlaceSnapshot | 
clone()  | 
byte[] | 
decodeLabelFingerprint()
A fingerprint for the labels being applied to this InPlaceSnapshot, which is essentially a hash
 of the labels set used for optimistic locking. 
 | 
InPlaceSnapshot | 
encodeLabelFingerprint(byte[] labelFingerprint)
A fingerprint for the labels being applied to this InPlaceSnapshot, which is essentially a hash
 of the labels set used for optimistic locking. 
 | 
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. 
 | 
Boolean | 
getGuestFlush()
Specifies to create an application consistent in-place snapshot by informing the OS to prepare
 for the snapshot process. 
 | 
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 InPlaceSnapshot, which is essentially a hash
 of the labels set used for optimistic locking. 
 | 
Map<String,String> | 
getLabels()
Labels to apply to this InPlaceSnapshot. 
 | 
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 in-place snapshot resides. 
 | 
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 in-place snapshot. 
 | 
String | 
getSourceDiskId()
[Output Only] The ID value of the disk used to create this InPlaceSnapshot. 
 | 
String | 
getStatus()
[Output Only] The status of the inPlaceSnapshot. 
 | 
String | 
getZone()
[Output Only] URL of the zone where the in-place snapshot resides. 
 | 
InPlaceSnapshot | 
set(String fieldName,
   Object value)  | 
InPlaceSnapshot | 
setCreationTimestamp(String creationTimestamp)
[Output Only] Creation timestamp in RFC3339 text format. 
 | 
InPlaceSnapshot | 
setDescription(String description)
An optional description of this resource. 
 | 
InPlaceSnapshot | 
setDiskSizeGb(Long diskSizeGb)
[Output Only] Size of the source disk, specified in GB. 
 | 
InPlaceSnapshot | 
setGuestFlush(Boolean guestFlush)
Specifies to create an application consistent in-place snapshot by informing the OS to prepare
 for the snapshot process. 
 | 
InPlaceSnapshot | 
setId(BigInteger id)
[Output Only] The unique identifier for the resource. 
 | 
InPlaceSnapshot | 
setKind(String kind)
[Output Only] Type of the resource. 
 | 
InPlaceSnapshot | 
setLabelFingerprint(String labelFingerprint)
A fingerprint for the labels being applied to this InPlaceSnapshot, which is essentially a hash
 of the labels set used for optimistic locking. 
 | 
InPlaceSnapshot | 
setLabels(Map<String,String> labels)
Labels to apply to this InPlaceSnapshot. 
 | 
InPlaceSnapshot | 
setName(String name)
Name of the resource; provided by the client when the resource is created. 
 | 
InPlaceSnapshot | 
setRegion(String region)
[Output Only] URL of the region where the in-place snapshot resides. 
 | 
InPlaceSnapshot | 
setSelfLink(String selfLink)
[Output Only] Server-defined URL for the resource. 
 | 
InPlaceSnapshot | 
setSelfLinkWithId(String selfLinkWithId)
[Output Only] Server-defined URL for this resource's resource id. 
 | 
InPlaceSnapshot | 
setSourceDisk(String sourceDisk)
URL of the source disk used to create this in-place snapshot. 
 | 
InPlaceSnapshot | 
setSourceDiskId(String sourceDiskId)
[Output Only] The ID value of the disk used to create this InPlaceSnapshot. 
 | 
InPlaceSnapshot | 
setStatus(String status)
[Output Only] The status of the inPlaceSnapshot. 
 | 
InPlaceSnapshot | 
setZone(String zone)
[Output Only] URL of the zone where the in-place 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 getCreationTimestamp()
null for nonepublic InPlaceSnapshot setCreationTimestamp(String creationTimestamp)
creationTimestamp - creationTimestamp or null for nonepublic String getDescription()
null for nonepublic InPlaceSnapshot setDescription(String description)
description - description or null for nonepublic Long getDiskSizeGb()
null for nonepublic InPlaceSnapshot setDiskSizeGb(Long diskSizeGb)
diskSizeGb - diskSizeGb or null for nonepublic Boolean getGuestFlush()
null for nonepublic InPlaceSnapshot setGuestFlush(Boolean guestFlush)
guestFlush - guestFlush or null for nonepublic BigInteger getId()
null for nonepublic InPlaceSnapshot setId(BigInteger id)
id - id or null for nonepublic String getKind()
null for nonepublic InPlaceSnapshot setKind(String kind)
kind - kind or null for nonepublic String getLabelFingerprint()
null for nonedecodeLabelFingerprint()public byte[] decodeLabelFingerprint()
null for nonegetLabelFingerprint()public InPlaceSnapshot setLabelFingerprint(String labelFingerprint)
labelFingerprint - labelFingerprint or null for none#encodeLabelFingerprint()public InPlaceSnapshot encodeLabelFingerprint(byte[] labelFingerprint)
 The value is encoded Base64 or {@code null} for none.
 
public Map<String,String> getLabels()
null for nonepublic InPlaceSnapshot setLabels(Map<String,String> labels)
labels - labels or null for nonepublic String getName()
null for nonepublic InPlaceSnapshot setName(String name)
name - name or null for nonepublic String getRegion()
null for nonepublic InPlaceSnapshot setRegion(String region)
region - region or null for nonepublic String getSelfLink()
null for nonepublic InPlaceSnapshot setSelfLink(String selfLink)
selfLink - selfLink or null for nonepublic String getSelfLinkWithId()
null for nonepublic InPlaceSnapshot setSelfLinkWithId(String selfLinkWithId)
selfLinkWithId - selfLinkWithId or null for nonepublic String getSourceDisk()
null for nonepublic InPlaceSnapshot setSourceDisk(String sourceDisk)
sourceDisk - sourceDisk or null for nonepublic String getSourceDiskId()
null for nonepublic InPlaceSnapshot setSourceDiskId(String sourceDiskId)
sourceDiskId - sourceDiskId or null for nonepublic String getStatus()
null for nonepublic InPlaceSnapshot setStatus(String status)
status - status or null for nonepublic String getZone()
null for nonepublic InPlaceSnapshot setZone(String zone)
zone - zone or null for nonepublic InPlaceSnapshot set(String fieldName, Object value)
set in class GenericJsonpublic InPlaceSnapshot clone()
clone in class GenericJsonCopyright © 2011–2020 Google. All rights reserved.