Snapshot the state of a streaming job.
HTTP request
POST https://dataflow.googleapis.com/v1b3/projects/{projectId}/locations/{location}/jobs/{jobId}:snapshot
The URL uses gRPC Transcoding syntax.
Path parameters
| Parameters | |
|---|---|
projectId
|
The project which owns the job to be snapshotted. |
location
|
The location that contains this job. |
jobId
|
The job to be snapshotted. |
Request body
The request body contains data with the following structure:
| JSON representation |
|---|
{ "ttl" : string , "snapshotSources" : boolean , "description" : string } |
| Fields | |
|---|---|
ttl
|
TTL for the snapshot. A duration in seconds with up to nine fractional digits, ending with ' |
snapshotSources
|
If true, perform snapshots for sources which support this. |
description
|
User specified description of the snapshot. Maybe empty. |
Response body
If successful, the response body contains an instance of Snapshot
.
Authorization scopes
Requires one of the following OAuth scopes:
-
https://www.googleapis.com/auth/compute -
https://www.googleapis.com/auth/cloud-platform
For more information, see the Authentication Overview .

