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 |
Updates the state of an existing Cloud Dataflow job.
See: Dataflow API Reference for dataflow.projects.jobs.update
.
Synopsis
- type ProjectsJobsUpdateResource = "v1b3" :> ("projects" :> (Capture "projectId" Text :> ("jobs" :> (Capture "jobId" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "location" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] Job :> Put '[JSON] Job))))))))))))
- projectsJobsUpdate :: Text -> Job -> Text -> ProjectsJobsUpdate
- data ProjectsJobsUpdate
- pjuXgafv :: Lens' ProjectsJobsUpdate (Maybe Xgafv)
- pjuJobId :: Lens' ProjectsJobsUpdate Text
- pjuUploadProtocol :: Lens' ProjectsJobsUpdate (Maybe Text)
- pjuLocation :: Lens' ProjectsJobsUpdate (Maybe Text)
- pjuAccessToken :: Lens' ProjectsJobsUpdate (Maybe Text)
- pjuUploadType :: Lens' ProjectsJobsUpdate (Maybe Text)
- pjuPayload :: Lens' ProjectsJobsUpdate Job
- pjuProjectId :: Lens' ProjectsJobsUpdate Text
- pjuCallback :: Lens' ProjectsJobsUpdate (Maybe Text)
REST Resource
type ProjectsJobsUpdateResource = "v1b3" :> ("projects" :> (Capture "projectId" Text :> ("jobs" :> (Capture "jobId" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "location" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] Job :> Put '[JSON] Job)))))))))))) Source #
A resource alias for dataflow.projects.jobs.update
method which the
ProjectsJobsUpdate
request conforms to.
Creating a Request
Creates a value of ProjectsJobsUpdate
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ProjectsJobsUpdate Source #
Updates the state of an existing Cloud Dataflow job.
See: projectsJobsUpdate
smart constructor.
Instances
Request Lenses
pjuUploadProtocol :: Lens' ProjectsJobsUpdate (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
pjuLocation :: Lens' ProjectsJobsUpdate (Maybe Text) Source #
The location that contains this job.
pjuAccessToken :: Lens' ProjectsJobsUpdate (Maybe Text) Source #
OAuth access token.
pjuUploadType :: Lens' ProjectsJobsUpdate (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
pjuPayload :: Lens' ProjectsJobsUpdate Job Source #
Multipart request metadata.
pjuProjectId :: Lens' ProjectsJobsUpdate Text Source #
The ID of the Cloud Platform project that the job belongs to.
pjuCallback :: Lens' ProjectsJobsUpdate (Maybe Text) Source #
JSONP