v1

latestOpenAPI 3.0.0Creative Commons Attribution 3.02026-07-133370117.8 KB
projects

Lists the names of the snapshots on this topic. Snapshots are used in 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.

get/v1/{+topic}/snapshots

Path parameters

topicstring required

Required. The name of the topic that snapshots are attached to. Format is projects/{project}/topics/{topic}.

Query parameters

pageSizeinteger

Optional. Maximum number of snapshot names to return.

pageTokenstring

Optional. The value returned by the last ListTopicSnapshotsResponse; indicates that this is a continuation of a prior ListTopicSnapshots call, and that the system should return the next page of data.

Response

Successful response