Resource: Snapshot
A snapshot resource. Snapshots are used in subscriptions.seek operations, which allow you to manage message acknowledgments in bulk. That is, you can set the acknowledgment state of messages in an existing subscription to the state captured by a snapshot.
JSON representation |
---|
{ "name": string, "topic": string, "expireTime": string, "labels": { string: string, ... } } |
Fields | |
---|---|
name |
Optional. The name of the snapshot. |
topic |
Optional. The name of the topic from which this snapshot is retaining messages. |
expire |
Optional. The snapshot is guaranteed to exist up until this time. A newly-created snapshot expires no later than 7 days from the time of its creation. Its exact lifetime is determined at creation by the existing backlog in the source subscription. Specifically, the lifetime of the snapshot is A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
labels |
Optional. See Creating and managing labels. An object containing a list of |
Methods |
|
---|---|
|
Creates a snapshot from the requested subscription. |
|
Removes an existing snapshot. |
|
Gets the configuration details of a snapshot. |
|
Gets the access control policy for a resource. |
|
Lists the existing snapshots. |
|
Updates an existing snapshot by updating the fields specified in the update mask. |
|
Sets the access control policy on the specified resource. |
|
Returns permissions that a caller has on the specified resource. |