Represents a snapshot of a job.
JSON representation |
---|
{ "id": string, "projectId": string, "sourceJobId": string, "creationTime": string, "ttl": string, "state": enum ( |
Fields | |
---|---|
id |
The unique ID of this snapshot. |
projectId |
The project this snapshot belongs to. |
sourceJobId |
The job this snapshot was created from. |
creationTime |
The time this snapshot was created. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
ttl |
The time after which this snapshot will be automatically deleted. A duration in seconds with up to nine fractional digits, ending with ' |
state |
State of the snapshot. |
pubsubMetadata[] |
Pub/Sub snapshot metadata. |
description |
User specified description of the snapshot. Maybe empty. |
diskSizeBytes |
The disk byte size of the snapshot. Only available for snapshots in READY state. |
region |
Cloud region where this snapshot lives in, e.g., "us-central1". |
SnapshotState
Snapshot state.
Enums | |
---|---|
UNKNOWN_SNAPSHOT_STATE |
Unknown state. |
PENDING |
Snapshot intent to create has been persisted, snapshotting of state has not yet started. |
RUNNING |
Snapshotting is being performed. |
READY |
Snapshot has been created and is ready to be used. |
FAILED |
Snapshot failed to be created. |
DELETED |
Snapshot has been deleted. |
PubsubSnapshotMetadata
Represents a Pubsub snapshot.
JSON representation |
---|
{ "topicName": string, "snapshotName": string, "expireTime": string } |
Fields | |
---|---|
topicName |
The name of the Pubsub topic. |
snapshotName |
The name of the Pubsub snapshot. |
expireTime |
The expire time of the Pubsub snapshot. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |