REST Resource: recoverableSnapshots

Resource: RecoverableSnapshot

Represents a RecoverableSnapshot resource.

A RecoverableSnapshot represents a snapshot in recycle bin.

JSON representation
{
  "kind": string,
  "id": string,
  "name": string,
  "description": string,
  "creationTimestamp": string,
  "purgeTimestamp": string,
  "status": enum (Status),
  "originalResource": {
    object (OriginalSnapshot)
  },
  "satisfiesPzs": boolean,
  "satisfiesPzi": boolean,
  "selfLink": string,
  "selfLinkWithId": string
}
Fields
kind

string

Output only. Type of the resource. Always compute#recoverableSnapshot for RecoverableSnapshot resources.

id

string (uint64 format)

Output only. The unique identifier for the resource. This identifier is defined by the server.

name

string

Output only. Identifier. Name of the recoverable snapshot generated on the deletion of the snapshot. The name will be 1-63 characters long, and comply with RFC1035. Specifically, the name will be 1-63 characters long and match the regular expression [a-z]([-a-z0-9]*[a-z0-9])? which means the first character will be a lowercase letter, and all following characters can be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.

description

string

Optional. An optional description of this resource.

creationTimestamp

string

Output only. Creation timestamp in RFC3339 text format.

purgeTimestamp

string

Output only. Purge timestamp of recoverable snapshot in RFC3339 text format.

status

enum (Status)

Output only. Status of the recoverable snapshot.

originalResource

object (OriginalSnapshot)

Output only. Output Only] The original snapshot resource.

satisfiesPzs

boolean

Output only. Reserved for future use.

satisfiesPzi

boolean

Output only. Reserved for future use.

Status

Enums
UNKNOWN
CREATING Recoverable Snapshot creation is in progress.
FAILED Recoverable Snapshot creation failed.
READY Recoverable Snapshot has been created successfully.
DELETING Recovered Snapshot is currently being deleted.
RECOVERING Recoverable Snapshot is currently being recovered.

OriginalSnapshot

JSON representation
{
  "deletionTimestamp": string,
  "id": string,
  "creationTimestamp": string,
  "name": string,
  "description": string,
  "sourceDisk": string,
  "sourceDiskId": string,
  "diskSizeGb": string,
  "storageBytes": string,
  "storageBytesStatus": enum (StorageBytesStatus),
  "licenses": [
    string
  ],
  "snapshotEncryptionKey": {
    object (CustomerEncryptionKey)
  },
  "sourceDiskEncryptionKey": {
    object (CustomerEncryptionKey)
  },
  "selfLink": string,
  "selfLinkWithId": string,
  "labels": {
    string: string,
    ...
  },
  "labelFingerprint": string,
  "licenseCodes": [
    string
  ],
  "storageLocations": [
    string
  ],
  "autoCreated": boolean,
  "guestOsFeatures": [
    {
      object (GuestOsFeature)
    }
  ],
  "downloadBytes": string,
  "chainName": string,
  "satisfiesPzs": boolean,
  "sourceSnapshotSchedulePolicy": string,
  "sourceSnapshotSchedulePolicyId": string,
  "sourceInstantSnapshot": string,
  "sourceInstantSnapshotId": string,
  "architecture": enum (Architecture),
  "snapshotType": enum (SnapshotType),
  "creationSizeBytes": string,
  "maxRetentionDays": integer,
  "enableConfidentialCompute": boolean,
  "sourceDiskForRecoveryCheckpoint": string,
  "sourceInstantSnapshotEncryptionKey": {
    object (CustomerEncryptionKey)
  },
  "region": string,
  "satisfiesPzi": boolean,
  "snapshotGroupName": string,
  "snapshotGroupId": string
}
Fields
deletionTimestamp

string

Output only. Deletion timestamp of snapshot in RFC3339 text format.

id

string (uint64 format)

Output only. The unique identifier for the original snapshot. This identifier is defined by the server.

creationTimestamp

string

Output only. Creation timestamp in RFC3339 text format.

name

string

Name of the original snapshot provided by the client. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression [a-z]([-a-z0-9]*[a-z0-9])? which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.

description

string

An optional description of this resource.

sourceDisk

string

The source disk used to create this snapshot.

sourceDiskId

string

Output only. The ID value of the disk used to create this snapshot

diskSizeGb

string (int64 format)

Output only. Size of the source disk, specified in GB.

storageBytes

string (int64 format)

Output only. A size of the storage used by the snapshot.

storageBytesStatus

enum (StorageBytesStatus)

Output only. [Deprecated] Instead, check the storageBytes field. After snapshot creation, the storageBytesStatus field is always UP_TO_DATE. Output only. An indicator whether storageBytes is in a stable state or it is being adjusted as a result of shared storage reallocation. This status can either be unset, meaning the snapshot is being created, or UP_TO_DATE, meaning the size of the snapshot is up-to-date.

licenses[]

string

Output only. A list of public visible licenses that apply to this snapshot.

snapshotEncryptionKey

object (CustomerEncryptionKey)

Encrypts the snapshot using a customer-supplied encryption key.

After you encrypt a snapshot using a customer-supplied key, you must provide the same key if you use the snapshot later. For example, you must provide the encryption key when you create a disk from the encrypted snapshot in a future request.

Customer-supplied encryption keys do not protect access to metadata of the snapshot.

If you do not provide an encryption key when creating the snapshot, then the snapshot will be encrypted using an automatically generated key and you do not need to provide a key to use the snapshot later.

sourceDiskEncryptionKey

object (CustomerEncryptionKey)

The customer-supplied encryption key of the source disk. Required if the source disk is protected by a customer-supplied encryption key.

labels

map (key: string, value: string)

Labels to apply to this snapshot. These can be later modified by the setLabels method. Label values may be empty.

labelFingerprint

string (bytes format)

A fingerprint for the labels being applied to this snapshot, which is essentially a hash of the labels set used for optimistic locking. The fingerprint is initially generated by Compute Engine and changes after every request to modify or update labels. You must always provide an up-to-date fingerprint hash in order to update or change labels, otherwise the request will fail with error 412 conditionNotMet.

To see the latest fingerprint, make a get() request to retrieve a snapshot.

A base64-encoded string.

licenseCodes[]

string (int64 format)

Output only. Integer license codes indicating which licenses are attached to this snapshot.

storageLocations[]

string

Cloud Storage bucket storage location of the snapshot (regional or multi-regional).

autoCreated

boolean

Output only. Set to true if snapshots are automatically created by applying resource policy on the target disk.

guestOsFeatures[]

object (GuestOsFeature)

Output only. A list of features to enable on the guest operating system. Applicable only for bootable images. Read Enabling guest operating system features to see a list of available options.

downloadBytes

string (int64 format)

Output only. Number of bytes downloaded to restore a snapshot to a disk.

chainName

string

Creates the new snapshot in the snapshot chain labeled with the specified name. The chain name must be 1-63 characters long and comply with RFC1035. This is an uncommon option only for advanced service owners who needs to create separate snapshot chains, for example, for chargeback tracking. When you describe your snapshot resource, this field is visible only if it has a non-empty value.

satisfiesPzs

boolean

Output only. Reserved for future use.

sourceSnapshotSchedulePolicy

string

Output only. URL of the resource policy which created this scheduled snapshot.

sourceSnapshotSchedulePolicyId

string

Output only. ID of the resource policy which created this scheduled snapshot.

sourceInstantSnapshot

string

The source instant snapshot used to create this snapshot.

sourceInstantSnapshotId

string

Output only. The unique ID of the instant snapshot used to create this snapshot. This value identifies the exact instant snapshot that was used to create this persistent disk. For example, if you created the persistent disk from an instant snapshot that was later deleted and recreated under the same name, the source instant snapshot ID would identify the exact instant snapshot that was used.

architecture

enum (Architecture)

Output only. The architecture of the snapshot. Valid values are ARM64 or X86_64.

snapshotType

enum (SnapshotType)

Indicates the type of the snapshot.

creationSizeBytes

string (int64 format)

Output only. Size in bytes of the snapshot at creation time.

maxRetentionDays

integer

Number of days the snapshot should be retained before being deleted automatically.

enableConfidentialCompute

boolean

Output only. Whether this snapshot is created from a confidential compute mode disk. Output only.: This field is not set by user, but from source disk.

sourceDiskForRecoveryCheckpoint

string

The source disk whose recovery checkpoint will be used to create this snapshot.

sourceInstantSnapshotEncryptionKey

object (CustomerEncryptionKey)

Customer provided encryption key when creating Snapshot from Instant Snapshot.

region

string

Output only. URL of the region where the snapshot resides. Only applicable for regional snapshots.

satisfiesPzi

boolean

Output only. Reserved for future use.

snapshotGroupName

string

Output only. The snapshot group that this snapshot belongs to. The usage of snapshot group feature is restricted.

snapshotGroupId

string

Output only. The unique ID of the snapshot group that this snapshot belongs to. The usage of snapshot group feature is restricted.

StorageBytesStatus

Enums
UP_TO_DATE
UPDATING

SnapshotType

Enums
STANDARD
ARCHIVE

Methods

delete

The method compute.beta.RecoverableSnapshotsService.Delete is not available in Cloud de Confiance by S3NS.

get

The method compute.beta.RecoverableSnapshotsService.Get is not available in Cloud de Confiance by S3NS.

getIamPolicy

The method compute.beta.RecoverableSnapshotsService.GetPolicy is not available in Cloud de Confiance by S3NS.

list

The method compute.beta.RecoverableSnapshotsService.List is not available in Cloud de Confiance by S3NS.

recover

The method compute.beta.RecoverableSnapshotsService.Recover is not available in Cloud de Confiance by S3NS.

setIamPolicy

The method compute.beta.RecoverableSnapshotsService.SetPolicy is not available in Cloud de Confiance by S3NS.

testIamPermissions

The method compute.beta.RecoverableSnapshotsService.TestPermissions is not available in Cloud de Confiance by S3NS.