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 |
Gets the configuration details of a snapshot. 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.snapshots.get
.
Synopsis
- type ProjectsSnapshotsGetResource = "v1" :> (Capture "snapshot" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] Snapshot)))))))
- projectsSnapshotsGet :: Text -> ProjectsSnapshotsGet
- data ProjectsSnapshotsGet
- psgsXgafv :: Lens' ProjectsSnapshotsGet (Maybe Xgafv)
- psgsSnapshot :: Lens' ProjectsSnapshotsGet Text
- psgsUploadProtocol :: Lens' ProjectsSnapshotsGet (Maybe Text)
- psgsAccessToken :: Lens' ProjectsSnapshotsGet (Maybe Text)
- psgsUploadType :: Lens' ProjectsSnapshotsGet (Maybe Text)
- psgsCallback :: Lens' ProjectsSnapshotsGet (Maybe Text)
REST Resource
type ProjectsSnapshotsGetResource = "v1" :> (Capture "snapshot" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] Snapshot))))))) Source #
A resource alias for pubsub.projects.snapshots.get
method which the
ProjectsSnapshotsGet
request conforms to.
Creating a Request
Creates a value of ProjectsSnapshotsGet
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ProjectsSnapshotsGet Source #
Gets the configuration details of a snapshot. 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: projectsSnapshotsGet
smart constructor.
Instances
Request Lenses
psgsSnapshot :: Lens' ProjectsSnapshotsGet Text Source #
The name of the snapshot to get. Format is `projects/{project}/snapshots/{snap}`.
psgsUploadProtocol :: Lens' ProjectsSnapshotsGet (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
psgsAccessToken :: Lens' ProjectsSnapshotsGet (Maybe Text) Source #
OAuth access token.
psgsUploadType :: Lens' ProjectsSnapshotsGet (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
psgsCallback :: Lens' ProjectsSnapshotsGet (Maybe Text) Source #
JSONP