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.jobs.snapshot
.
Synopsis
- type ProjectsJobsSnapshotResource = "v1b3" :> ("projects" :> (Capture "projectId" 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)))))))))))
- projectsJobsSnapshot :: Text -> SnapshotJobRequest -> Text -> ProjectsJobsSnapshot
- data ProjectsJobsSnapshot
- pjsXgafv :: Lens' ProjectsJobsSnapshot (Maybe Xgafv)
- pjsJobId :: Lens' ProjectsJobsSnapshot Text
- pjsUploadProtocol :: Lens' ProjectsJobsSnapshot (Maybe Text)
- pjsAccessToken :: Lens' ProjectsJobsSnapshot (Maybe Text)
- pjsUploadType :: Lens' ProjectsJobsSnapshot (Maybe Text)
- pjsPayload :: Lens' ProjectsJobsSnapshot SnapshotJobRequest
- pjsProjectId :: Lens' ProjectsJobsSnapshot Text
- pjsCallback :: Lens' ProjectsJobsSnapshot (Maybe Text)
REST Resource
type ProjectsJobsSnapshotResource = "v1b3" :> ("projects" :> (Capture "projectId" 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.jobs.snapshot
method which the
ProjectsJobsSnapshot
request conforms to.
Creating a Request
Creates a value of ProjectsJobsSnapshot
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ProjectsJobsSnapshot Source #
Snapshot the state of a streaming job.
See: projectsJobsSnapshot
smart constructor.
Instances
Request Lenses
pjsUploadProtocol :: Lens' ProjectsJobsSnapshot (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
pjsAccessToken :: Lens' ProjectsJobsSnapshot (Maybe Text) Source #
OAuth access token.
pjsUploadType :: Lens' ProjectsJobsSnapshot (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
pjsPayload :: Lens' ProjectsJobsSnapshot SnapshotJobRequest Source #
Multipart request metadata.
pjsProjectId :: Lens' ProjectsJobsSnapshot Text Source #
The project which owns the job to be snapshotted.
pjsCallback :: Lens' ProjectsJobsSnapshot (Maybe Text) Source #
JSONP