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 information about a snapshot.
See: Dataflow API Reference for dataflow.projects.snapshots.get
.
Synopsis
- type ProjectsSnapshotsGetResource = "v1b3" :> ("projects" :> (Capture "projectId" Text :> ("snapshots" :> (Capture "snapshotId" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "location" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] Snapshot)))))))))))
- projectsSnapshotsGet :: Text -> Text -> ProjectsSnapshotsGet
- data ProjectsSnapshotsGet
- psgXgafv :: Lens' ProjectsSnapshotsGet (Maybe Xgafv)
- psgUploadProtocol :: Lens' ProjectsSnapshotsGet (Maybe Text)
- psgLocation :: Lens' ProjectsSnapshotsGet (Maybe Text)
- psgAccessToken :: Lens' ProjectsSnapshotsGet (Maybe Text)
- psgUploadType :: Lens' ProjectsSnapshotsGet (Maybe Text)
- psgProjectId :: Lens' ProjectsSnapshotsGet Text
- psgCallback :: Lens' ProjectsSnapshotsGet (Maybe Text)
- psgSnapshotId :: Lens' ProjectsSnapshotsGet Text
REST Resource
type ProjectsSnapshotsGetResource = "v1b3" :> ("projects" :> (Capture "projectId" Text :> ("snapshots" :> (Capture "snapshotId" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "location" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] Snapshot))))))))))) Source #
A resource alias for dataflow.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 information about a snapshot.
See: projectsSnapshotsGet
smart constructor.
Instances
Request Lenses
psgUploadProtocol :: Lens' ProjectsSnapshotsGet (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
psgLocation :: Lens' ProjectsSnapshotsGet (Maybe Text) Source #
The location that contains this snapshot.
psgAccessToken :: Lens' ProjectsSnapshotsGet (Maybe Text) Source #
OAuth access token.
psgUploadType :: Lens' ProjectsSnapshotsGet (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
psgProjectId :: Lens' ProjectsSnapshotsGet Text Source #
The ID of the Cloud Platform project that the snapshot belongs to.
psgCallback :: Lens' ProjectsSnapshotsGet (Maybe Text) Source #
JSONP
psgSnapshotId :: Lens' ProjectsSnapshotsGet Text Source #
The ID of the snapshot.