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 |
Snapshot the state of a streaming job.
See: Dataflow API Reference for dataflow.projects.locations.jobs.snapshot
.
Synopsis
- type ProjectsLocationsJobsSnapshotResource = "v1b3" :> ("projects" :> (Capture "projectId" Text :> ("locations" :> (Capture "location" Text :> ("jobs" :> (CaptureMode "jobId" "snapshot" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] SnapshotJobRequest :> Post '[JSON] Snapshot)))))))))))))
- projectsLocationsJobsSnapshot :: Text -> Text -> SnapshotJobRequest -> Text -> ProjectsLocationsJobsSnapshot
- data ProjectsLocationsJobsSnapshot
- pljsXgafv :: Lens' ProjectsLocationsJobsSnapshot (Maybe Xgafv)
- pljsJobId :: Lens' ProjectsLocationsJobsSnapshot Text
- pljsUploadProtocol :: Lens' ProjectsLocationsJobsSnapshot (Maybe Text)
- pljsLocation :: Lens' ProjectsLocationsJobsSnapshot Text
- pljsAccessToken :: Lens' ProjectsLocationsJobsSnapshot (Maybe Text)
- pljsUploadType :: Lens' ProjectsLocationsJobsSnapshot (Maybe Text)
- pljsPayload :: Lens' ProjectsLocationsJobsSnapshot SnapshotJobRequest
- pljsProjectId :: Lens' ProjectsLocationsJobsSnapshot Text
- pljsCallback :: Lens' ProjectsLocationsJobsSnapshot (Maybe Text)
REST Resource
type ProjectsLocationsJobsSnapshotResource = "v1b3" :> ("projects" :> (Capture "projectId" Text :> ("locations" :> (Capture "location" Text :> ("jobs" :> (CaptureMode "jobId" "snapshot" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] SnapshotJobRequest :> Post '[JSON] Snapshot))))))))))))) Source #
A resource alias for dataflow.projects.locations.jobs.snapshot
method which the
ProjectsLocationsJobsSnapshot
request conforms to.
Creating a Request
projectsLocationsJobsSnapshot Source #
:: Text | |
-> Text | |
-> SnapshotJobRequest | |
-> Text | |
-> ProjectsLocationsJobsSnapshot |
Creates a value of ProjectsLocationsJobsSnapshot
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ProjectsLocationsJobsSnapshot Source #
Snapshot the state of a streaming job.
See: projectsLocationsJobsSnapshot
smart constructor.
Instances
Request Lenses
pljsUploadProtocol :: Lens' ProjectsLocationsJobsSnapshot (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
pljsLocation :: Lens' ProjectsLocationsJobsSnapshot Text Source #
The location that contains this job.
pljsAccessToken :: Lens' ProjectsLocationsJobsSnapshot (Maybe Text) Source #
OAuth access token.
pljsUploadType :: Lens' ProjectsLocationsJobsSnapshot (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
pljsPayload :: Lens' ProjectsLocationsJobsSnapshot SnapshotJobRequest Source #
Multipart request metadata.
pljsProjectId :: Lens' ProjectsLocationsJobsSnapshot Text Source #
The project which owns the job to be snapshotted.
pljsCallback :: Lens' ProjectsLocationsJobsSnapshot (Maybe Text) Source #
JSONP