Copyright | (c) 2015-2016 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
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. BETA: This feature is part of a beta release. This API might be changed in backward-incompatible ways and is not recommended for production use. It is not subject to any SLA or deprecation policy.
See: Cloud Pub/Sub API Reference for pubsub.projects.topics.snapshots.list
.
Synopsis
- type ProjectsTopicsSnapshotsListResource = "v1" :> (Capture "topic" Text :> ("snapshots" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "pageToken" Text :> (QueryParam "pageSize" (Textual Int32) :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] ListTopicSnapshotsResponse))))))))))
- projectsTopicsSnapshotsList :: Text -> ProjectsTopicsSnapshotsList
- data ProjectsTopicsSnapshotsList
- ptsltXgafv :: Lens' ProjectsTopicsSnapshotsList (Maybe Xgafv)
- ptsltUploadProtocol :: Lens' ProjectsTopicsSnapshotsList (Maybe Text)
- ptsltAccessToken :: Lens' ProjectsTopicsSnapshotsList (Maybe Text)
- ptsltUploadType :: Lens' ProjectsTopicsSnapshotsList (Maybe Text)
- ptsltTopic :: Lens' ProjectsTopicsSnapshotsList Text
- ptsltPageToken :: Lens' ProjectsTopicsSnapshotsList (Maybe Text)
- ptsltPageSize :: Lens' ProjectsTopicsSnapshotsList (Maybe Int32)
- ptsltCallback :: Lens' ProjectsTopicsSnapshotsList (Maybe Text)
REST Resource
type ProjectsTopicsSnapshotsListResource = "v1" :> (Capture "topic" Text :> ("snapshots" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "pageToken" Text :> (QueryParam "pageSize" (Textual Int32) :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] ListTopicSnapshotsResponse)))))))))) Source #
A resource alias for pubsub.projects.topics.snapshots.list
method which the
ProjectsTopicsSnapshotsList
request conforms to.
Creating a Request
projectsTopicsSnapshotsList Source #
Creates a value of ProjectsTopicsSnapshotsList
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ProjectsTopicsSnapshotsList Source #
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. BETA: This feature is part of a beta release. This API might be changed in backward-incompatible ways and is not recommended for production use. It is not subject to any SLA or deprecation policy.
See: projectsTopicsSnapshotsList
smart constructor.
Instances
Request Lenses
ptsltXgafv :: Lens' ProjectsTopicsSnapshotsList (Maybe Xgafv) Source #
V1 error format.
ptsltUploadProtocol :: Lens' ProjectsTopicsSnapshotsList (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
ptsltAccessToken :: Lens' ProjectsTopicsSnapshotsList (Maybe Text) Source #
OAuth access token.
ptsltUploadType :: Lens' ProjectsTopicsSnapshotsList (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
ptsltTopic :: Lens' ProjectsTopicsSnapshotsList Text Source #
The name of the topic that snapshots are attached to. Format is `projects/{project}/topics/{topic}`.
ptsltPageToken :: Lens' ProjectsTopicsSnapshotsList (Maybe Text) Source #
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.
ptsltPageSize :: Lens' ProjectsTopicsSnapshotsList (Maybe Int32) Source #
Maximum number of snapshot names to return.
ptsltCallback :: Lens' ProjectsTopicsSnapshotsList (Maybe Text) Source #
JSONP