Resource: Snapshot
Snapshot is a point-in-time version of a Volume's content.
JSON representation |
---|
{
"name": string,
"state": enum ( |
Fields | |
---|---|
name |
Identifier. The resource name of the snapshot. Format: |
state |
Output only. The snapshot state. |
stateDetails |
Output only. State details of the storage pool |
description |
A description of the snapshot with 2048 characters or less. Requests with longer descriptions will be rejected. |
usedBytes |
Output only. Current storage usage for the snapshot in bytes. |
createTime |
Output only. The time when the snapshot was created. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
labels |
Resource labels to represent user provided metadata. An object containing a list of |
State
The Snapshot States
Enums | |
---|---|
STATE_UNSPECIFIED |
Unspecified Snapshot State |
READY |
Snapshot State is Ready |
CREATING |
Snapshot State is Creating |
DELETING |
Snapshot State is Deleting |
UPDATING |
Snapshot State is Updating |
DISABLED |
Snapshot State is Disabled |
ERROR |
Snapshot State is Error |
Methods |
|
---|---|
|
Create a new snapshot for a volume. |
|
Deletes a snapshot. |
|
Describe a snapshot for a volume. |
|
Returns descriptions of all snapshots for a volume. |
|
Updates the settings of a specific snapshot. |