public final class RecoverableSnapshotOriginalSnapshot
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 |
|---|
RecoverableSnapshotOriginalSnapshot() |
| Modifier and Type | Method and Description |
|---|---|
RecoverableSnapshotOriginalSnapshot |
clone() |
byte[] |
decodeLabelFingerprint()
A fingerprint for the labels being applied to this snapshot, which is essentially a hash of the
labels set used for optimistic locking.
|
RecoverableSnapshotOriginalSnapshot |
encodeLabelFingerprint(byte[] labelFingerprint)
A fingerprint for the labels being applied to this snapshot, which is essentially a hash of the
labels set used for optimistic locking.
|
String |
getArchitecture()
Output only.
|
Boolean |
getAutoCreated()
Output only.
|
String |
getAutoCreatedBy()
ResourceKey of the resource policy or flow which created this auto snapshot
|
String |
getChainName()
Creates the new snapshot in the snapshot chain labeled with the specified name.
|
Long |
getCreationSizeBytes()
Output only.
|
String |
getCreationTimestamp()
Output only.
|
String |
getDeletionTimestamp()
Output only.
|
String |
getDescription()
An optional description of this resource.
|
Long |
getDiskSizeGb()
Output only.
|
Long |
getDownloadBytes()
Output only.
|
Boolean |
getEnableConfidentialCompute()
Output only.
|
Boolean |
getFull()
Indicates the created snapshot is a full snapshot.
|
List<GuestOsFeature> |
getGuestOsFeatures()
Output only.
|
BigInteger |
getId()
Output only.
|
String |
getLabelFingerprint()
A fingerprint for the labels being applied to this snapshot, which is essentially a hash of the
labels set used for optimistic locking.
|
Map<String,String> |
getLabels()
Labels to apply to this snapshot.
|
List<Long> |
getLicenseCodes()
Output only.
|
List<String> |
getLicenses()
Output only.
|
Integer |
getMaxRetentionDays()
Number of days the snapshot should be retained before being deleted automatically.
|
String |
getName()
Name of the original snapshot provided by the client.
|
String |
getRegion()
Output only.
|
Boolean |
getSatisfiesPzi()
Output only.
|
Boolean |
getSatisfiesPzs()
Output only.
|
String |
getSelfLink()
Output only.
|
String |
getSelfLinkWithId()
Output only.
|
CustomerEncryptionKey |
getSnapshotEncryptionKey()
Encrypts the snapshot using acustomer-supplied encryption key.
|
String |
getSnapshotGroupId()
Output only.
|
String |
getSnapshotGroupName()
Output only.
|
String |
getSnapshotType()
Indicates the type of the snapshot.
|
String |
getSourceDisk()
The source disk used to create this snapshot.
|
CustomerEncryptionKey |
getSourceDiskEncryptionKey()
The customer-supplied encryption key of the source disk.
|
String |
getSourceDiskForRecoveryCheckpoint()
The source disk whose recovery checkpoint will be used to create this snapshot.
|
String |
getSourceDiskId()
Output only.
|
String |
getSourceInstantSnapshot()
The source instant snapshot used to create this snapshot.
|
CustomerEncryptionKey |
getSourceInstantSnapshotEncryptionKey()
Customer provided encryption key when creating Snapshot from Instant Snapshot.
|
String |
getSourceInstantSnapshotId()
Output only.
|
String |
getSourceSnapshotSchedulePolicy()
Output only.
|
String |
getSourceSnapshotSchedulePolicyId()
Output only.
|
Long |
getStorageBytes()
Output only.
|
String |
getStorageBytesStatus()
Output only.
|
List<String> |
getStorageLocations()
Cloud Storage bucket storage location of the snapshot (regional or multi-regional).
|
RecoverableSnapshotOriginalSnapshot |
set(String fieldName,
Object value) |
RecoverableSnapshotOriginalSnapshot |
setArchitecture(String architecture)
Output only.
|
RecoverableSnapshotOriginalSnapshot |
setAutoCreated(Boolean autoCreated)
Output only.
|
RecoverableSnapshotOriginalSnapshot |
setAutoCreatedBy(String autoCreatedBy)
ResourceKey of the resource policy or flow which created this auto snapshot
|
RecoverableSnapshotOriginalSnapshot |
setChainName(String chainName)
Creates the new snapshot in the snapshot chain labeled with the specified name.
|
RecoverableSnapshotOriginalSnapshot |
setCreationSizeBytes(Long creationSizeBytes)
Output only.
|
RecoverableSnapshotOriginalSnapshot |
setCreationTimestamp(String creationTimestamp)
Output only.
|
RecoverableSnapshotOriginalSnapshot |
setDeletionTimestamp(String deletionTimestamp)
Output only.
|
RecoverableSnapshotOriginalSnapshot |
setDescription(String description)
An optional description of this resource.
|
RecoverableSnapshotOriginalSnapshot |
setDiskSizeGb(Long diskSizeGb)
Output only.
|
RecoverableSnapshotOriginalSnapshot |
setDownloadBytes(Long downloadBytes)
Output only.
|
RecoverableSnapshotOriginalSnapshot |
setEnableConfidentialCompute(Boolean enableConfidentialCompute)
Output only.
|
RecoverableSnapshotOriginalSnapshot |
setFull(Boolean full)
Indicates the created snapshot is a full snapshot.
|
RecoverableSnapshotOriginalSnapshot |
setGuestOsFeatures(List<GuestOsFeature> guestOsFeatures)
Output only.
|
RecoverableSnapshotOriginalSnapshot |
setId(BigInteger id)
Output only.
|
RecoverableSnapshotOriginalSnapshot |
setLabelFingerprint(String labelFingerprint)
A fingerprint for the labels being applied to this snapshot, which is essentially a hash of the
labels set used for optimistic locking.
|
RecoverableSnapshotOriginalSnapshot |
setLabels(Map<String,String> labels)
Labels to apply to this snapshot.
|
RecoverableSnapshotOriginalSnapshot |
setLicenseCodes(List<Long> licenseCodes)
Output only.
|
RecoverableSnapshotOriginalSnapshot |
setLicenses(List<String> licenses)
Output only.
|
RecoverableSnapshotOriginalSnapshot |
setMaxRetentionDays(Integer maxRetentionDays)
Number of days the snapshot should be retained before being deleted automatically.
|
RecoverableSnapshotOriginalSnapshot |
setName(String name)
Name of the original snapshot provided by the client.
|
RecoverableSnapshotOriginalSnapshot |
setRegion(String region)
Output only.
|
RecoverableSnapshotOriginalSnapshot |
setSatisfiesPzi(Boolean satisfiesPzi)
Output only.
|
RecoverableSnapshotOriginalSnapshot |
setSatisfiesPzs(Boolean satisfiesPzs)
Output only.
|
RecoverableSnapshotOriginalSnapshot |
setSelfLink(String selfLink)
Output only.
|
RecoverableSnapshotOriginalSnapshot |
setSelfLinkWithId(String selfLinkWithId)
Output only.
|
RecoverableSnapshotOriginalSnapshot |
setSnapshotEncryptionKey(CustomerEncryptionKey snapshotEncryptionKey)
Encrypts the snapshot using acustomer-supplied encryption key.
|
RecoverableSnapshotOriginalSnapshot |
setSnapshotGroupId(String snapshotGroupId)
Output only.
|
RecoverableSnapshotOriginalSnapshot |
setSnapshotGroupName(String snapshotGroupName)
Output only.
|
RecoverableSnapshotOriginalSnapshot |
setSnapshotType(String snapshotType)
Indicates the type of the snapshot.
|
RecoverableSnapshotOriginalSnapshot |
setSourceDisk(String sourceDisk)
The source disk used to create this snapshot.
|
RecoverableSnapshotOriginalSnapshot |
setSourceDiskEncryptionKey(CustomerEncryptionKey sourceDiskEncryptionKey)
The customer-supplied encryption key of the source disk.
|
RecoverableSnapshotOriginalSnapshot |
setSourceDiskForRecoveryCheckpoint(String sourceDiskForRecoveryCheckpoint)
The source disk whose recovery checkpoint will be used to create this snapshot.
|
RecoverableSnapshotOriginalSnapshot |
setSourceDiskId(String sourceDiskId)
Output only.
|
RecoverableSnapshotOriginalSnapshot |
setSourceInstantSnapshot(String sourceInstantSnapshot)
The source instant snapshot used to create this snapshot.
|
RecoverableSnapshotOriginalSnapshot |
setSourceInstantSnapshotEncryptionKey(CustomerEncryptionKey sourceInstantSnapshotEncryptionKey)
Customer provided encryption key when creating Snapshot from Instant Snapshot.
|
RecoverableSnapshotOriginalSnapshot |
setSourceInstantSnapshotId(String sourceInstantSnapshotId)
Output only.
|
RecoverableSnapshotOriginalSnapshot |
setSourceSnapshotSchedulePolicy(String sourceSnapshotSchedulePolicy)
Output only.
|
RecoverableSnapshotOriginalSnapshot |
setSourceSnapshotSchedulePolicyId(String sourceSnapshotSchedulePolicyId)
Output only.
|
RecoverableSnapshotOriginalSnapshot |
setStorageBytes(Long storageBytes)
Output only.
|
RecoverableSnapshotOriginalSnapshot |
setStorageBytesStatus(String storageBytesStatus)
Output only.
|
RecoverableSnapshotOriginalSnapshot |
setStorageLocations(List<String> storageLocations)
Cloud Storage bucket storage location of the snapshot (regional or multi-regional).
|
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 RecoverableSnapshotOriginalSnapshot setArchitecture(String architecture)
architecture - architecture or null for nonepublic Boolean getAutoCreated()
null for nonepublic RecoverableSnapshotOriginalSnapshot setAutoCreated(Boolean autoCreated)
autoCreated - autoCreated or null for nonepublic String getAutoCreatedBy()
null for nonepublic RecoverableSnapshotOriginalSnapshot setAutoCreatedBy(String autoCreatedBy)
autoCreatedBy - autoCreatedBy or null for nonepublic String getChainName()
null for nonepublic RecoverableSnapshotOriginalSnapshot setChainName(String chainName)
chainName - chainName or null for nonepublic Long getCreationSizeBytes()
null for nonepublic RecoverableSnapshotOriginalSnapshot setCreationSizeBytes(Long creationSizeBytes)
creationSizeBytes - creationSizeBytes or null for nonepublic String getCreationTimestamp()
null for nonepublic RecoverableSnapshotOriginalSnapshot setCreationTimestamp(String creationTimestamp)
creationTimestamp - creationTimestamp or null for nonepublic String getDeletionTimestamp()
null for nonepublic RecoverableSnapshotOriginalSnapshot setDeletionTimestamp(String deletionTimestamp)
deletionTimestamp - deletionTimestamp or null for nonepublic String getDescription()
null for nonepublic RecoverableSnapshotOriginalSnapshot setDescription(String description)
description - description or null for nonepublic Long getDiskSizeGb()
null for nonepublic RecoverableSnapshotOriginalSnapshot setDiskSizeGb(Long diskSizeGb)
diskSizeGb - diskSizeGb or null for nonepublic Long getDownloadBytes()
null for nonepublic RecoverableSnapshotOriginalSnapshot setDownloadBytes(Long downloadBytes)
downloadBytes - downloadBytes or null for nonepublic Boolean getEnableConfidentialCompute()
null for nonepublic RecoverableSnapshotOriginalSnapshot setEnableConfidentialCompute(Boolean enableConfidentialCompute)
enableConfidentialCompute - enableConfidentialCompute or null for nonepublic Boolean getFull()
null for nonepublic RecoverableSnapshotOriginalSnapshot setFull(Boolean full)
full - full or null for nonepublic List<GuestOsFeature> getGuestOsFeatures()
null for nonepublic RecoverableSnapshotOriginalSnapshot setGuestOsFeatures(List<GuestOsFeature> guestOsFeatures)
guestOsFeatures - guestOsFeatures or null for nonepublic BigInteger getId()
null for nonepublic RecoverableSnapshotOriginalSnapshot setId(BigInteger id)
id - id or null for nonepublic String getLabelFingerprint()
null for nonedecodeLabelFingerprint()public byte[] decodeLabelFingerprint()
null for nonegetLabelFingerprint()public RecoverableSnapshotOriginalSnapshot setLabelFingerprint(String labelFingerprint)
labelFingerprint - labelFingerprint or null for none#encodeLabelFingerprint()public RecoverableSnapshotOriginalSnapshot encodeLabelFingerprint(byte[] labelFingerprint)
The value is encoded Base64 or {@code null} for none.
public Map<String,String> getLabels()
null for nonepublic RecoverableSnapshotOriginalSnapshot setLabels(Map<String,String> labels)
labels - labels or null for nonepublic List<Long> getLicenseCodes()
null for nonepublic RecoverableSnapshotOriginalSnapshot setLicenseCodes(List<Long> licenseCodes)
licenseCodes - licenseCodes or null for nonepublic List<String> getLicenses()
null for nonepublic RecoverableSnapshotOriginalSnapshot setLicenses(List<String> licenses)
licenses - licenses or null for nonepublic Integer getMaxRetentionDays()
null for nonepublic RecoverableSnapshotOriginalSnapshot setMaxRetentionDays(Integer maxRetentionDays)
maxRetentionDays - maxRetentionDays or null for nonepublic String getName()
null for nonepublic RecoverableSnapshotOriginalSnapshot setName(String name)
name - name or null for nonepublic String getRegion()
null for nonepublic RecoverableSnapshotOriginalSnapshot setRegion(String region)
region - region or null for nonepublic Boolean getSatisfiesPzi()
null for nonepublic RecoverableSnapshotOriginalSnapshot setSatisfiesPzi(Boolean satisfiesPzi)
satisfiesPzi - satisfiesPzi or null for nonepublic Boolean getSatisfiesPzs()
null for nonepublic RecoverableSnapshotOriginalSnapshot setSatisfiesPzs(Boolean satisfiesPzs)
satisfiesPzs - satisfiesPzs or null for nonepublic String getSelfLink()
null for nonepublic RecoverableSnapshotOriginalSnapshot setSelfLink(String selfLink)
selfLink - selfLink or null for nonepublic String getSelfLinkWithId()
null for nonepublic RecoverableSnapshotOriginalSnapshot setSelfLinkWithId(String selfLinkWithId)
selfLinkWithId - selfLinkWithId or null for nonepublic CustomerEncryptionKey getSnapshotEncryptionKey()
null for nonepublic RecoverableSnapshotOriginalSnapshot setSnapshotEncryptionKey(CustomerEncryptionKey snapshotEncryptionKey)
snapshotEncryptionKey - snapshotEncryptionKey or null for nonepublic String getSnapshotGroupId()
null for nonepublic RecoverableSnapshotOriginalSnapshot setSnapshotGroupId(String snapshotGroupId)
snapshotGroupId - snapshotGroupId or null for nonepublic String getSnapshotGroupName()
null for nonepublic RecoverableSnapshotOriginalSnapshot setSnapshotGroupName(String snapshotGroupName)
snapshotGroupName - snapshotGroupName or null for nonepublic String getSnapshotType()
null for nonepublic RecoverableSnapshotOriginalSnapshot setSnapshotType(String snapshotType)
snapshotType - snapshotType or null for nonepublic String getSourceDisk()
null for nonepublic RecoverableSnapshotOriginalSnapshot setSourceDisk(String sourceDisk)
sourceDisk - sourceDisk or null for nonepublic CustomerEncryptionKey getSourceDiskEncryptionKey()
null for nonepublic RecoverableSnapshotOriginalSnapshot setSourceDiskEncryptionKey(CustomerEncryptionKey sourceDiskEncryptionKey)
sourceDiskEncryptionKey - sourceDiskEncryptionKey or null for nonepublic String getSourceDiskForRecoveryCheckpoint()
null for nonepublic RecoverableSnapshotOriginalSnapshot setSourceDiskForRecoveryCheckpoint(String sourceDiskForRecoveryCheckpoint)
sourceDiskForRecoveryCheckpoint - sourceDiskForRecoveryCheckpoint or null for nonepublic String getSourceDiskId()
null for nonepublic RecoverableSnapshotOriginalSnapshot setSourceDiskId(String sourceDiskId)
sourceDiskId - sourceDiskId or null for nonepublic String getSourceInstantSnapshot()
null for nonepublic RecoverableSnapshotOriginalSnapshot setSourceInstantSnapshot(String sourceInstantSnapshot)
sourceInstantSnapshot - sourceInstantSnapshot or null for nonepublic CustomerEncryptionKey getSourceInstantSnapshotEncryptionKey()
null for nonepublic RecoverableSnapshotOriginalSnapshot setSourceInstantSnapshotEncryptionKey(CustomerEncryptionKey sourceInstantSnapshotEncryptionKey)
sourceInstantSnapshotEncryptionKey - sourceInstantSnapshotEncryptionKey or null for nonepublic String getSourceInstantSnapshotId()
null for nonepublic RecoverableSnapshotOriginalSnapshot setSourceInstantSnapshotId(String sourceInstantSnapshotId)
sourceInstantSnapshotId - sourceInstantSnapshotId or null for nonepublic String getSourceSnapshotSchedulePolicy()
null for nonepublic RecoverableSnapshotOriginalSnapshot setSourceSnapshotSchedulePolicy(String sourceSnapshotSchedulePolicy)
sourceSnapshotSchedulePolicy - sourceSnapshotSchedulePolicy or null for nonepublic String getSourceSnapshotSchedulePolicyId()
null for nonepublic RecoverableSnapshotOriginalSnapshot setSourceSnapshotSchedulePolicyId(String sourceSnapshotSchedulePolicyId)
sourceSnapshotSchedulePolicyId - sourceSnapshotSchedulePolicyId or null for nonepublic Long getStorageBytes()
null for nonepublic RecoverableSnapshotOriginalSnapshot setStorageBytes(Long storageBytes)
storageBytes - storageBytes or null for nonepublic String getStorageBytesStatus()
null for nonepublic RecoverableSnapshotOriginalSnapshot setStorageBytesStatus(String storageBytesStatus)
storageBytesStatus - storageBytesStatus or null for nonepublic List<String> getStorageLocations()
null for nonepublic RecoverableSnapshotOriginalSnapshot setStorageLocations(List<String> storageLocations)
storageLocations - storageLocations or null for nonepublic RecoverableSnapshotOriginalSnapshot set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic RecoverableSnapshotOriginalSnapshot clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2026 Google. All rights reserved.