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. Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. 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. |