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 |
Seeks an existing subscription to a point in time or to a given snapshot, whichever is provided in the request. 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. Note that both the subscription and the snapshot must be on the same topic. 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.subscriptions.seek
.
Synopsis
- type ProjectsSubscriptionsSeekResource = "v1" :> (CaptureMode "subscription" "seek" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] SeekRequest :> Post '[JSON] SeekResponse))))))))
- projectsSubscriptionsSeek :: SeekRequest -> Text -> ProjectsSubscriptionsSeek
- data ProjectsSubscriptionsSeek
- pssXgafv :: Lens' ProjectsSubscriptionsSeek (Maybe Xgafv)
- pssUploadProtocol :: Lens' ProjectsSubscriptionsSeek (Maybe Text)
- pssAccessToken :: Lens' ProjectsSubscriptionsSeek (Maybe Text)
- pssUploadType :: Lens' ProjectsSubscriptionsSeek (Maybe Text)
- pssPayload :: Lens' ProjectsSubscriptionsSeek SeekRequest
- pssSubscription :: Lens' ProjectsSubscriptionsSeek Text
- pssCallback :: Lens' ProjectsSubscriptionsSeek (Maybe Text)
REST Resource
type ProjectsSubscriptionsSeekResource = "v1" :> (CaptureMode "subscription" "seek" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] SeekRequest :> Post '[JSON] SeekResponse)))))))) Source #
A resource alias for pubsub.projects.subscriptions.seek
method which the
ProjectsSubscriptionsSeek
request conforms to.
Creating a Request
projectsSubscriptionsSeek Source #
Creates a value of ProjectsSubscriptionsSeek
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ProjectsSubscriptionsSeek Source #
Seeks an existing subscription to a point in time or to a given snapshot, whichever is provided in the request. 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. Note that both the subscription and the snapshot must be on the same topic. 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: projectsSubscriptionsSeek
smart constructor.
Instances
Request Lenses
pssUploadProtocol :: Lens' ProjectsSubscriptionsSeek (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
pssAccessToken :: Lens' ProjectsSubscriptionsSeek (Maybe Text) Source #
OAuth access token.
pssUploadType :: Lens' ProjectsSubscriptionsSeek (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
pssPayload :: Lens' ProjectsSubscriptionsSeek SeekRequest Source #
Multipart request metadata.
pssSubscription :: Lens' ProjectsSubscriptionsSeek Text Source #
The subscription to affect.
pssCallback :: Lens' ProjectsSubscriptionsSeek (Maybe Text) Source #
JSONP