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 |
Creates a Cloud Dataflow job.
See: Dataflow API Reference for dataflow.projects.jobs.create
.
Synopsis
- type ProjectsJobsCreateResource = "v1b3" :> ("projects" :> (Capture "projectId" Text :> ("jobs" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "location" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "view" Text :> (QueryParam "replaceJobId" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] Job :> Post '[JSON] Job)))))))))))))
- projectsJobsCreate :: Job -> Text -> ProjectsJobsCreate
- data ProjectsJobsCreate
- pjcXgafv :: Lens' ProjectsJobsCreate (Maybe Xgafv)
- pjcUploadProtocol :: Lens' ProjectsJobsCreate (Maybe Text)
- pjcLocation :: Lens' ProjectsJobsCreate (Maybe Text)
- pjcAccessToken :: Lens' ProjectsJobsCreate (Maybe Text)
- pjcUploadType :: Lens' ProjectsJobsCreate (Maybe Text)
- pjcPayload :: Lens' ProjectsJobsCreate Job
- pjcView :: Lens' ProjectsJobsCreate (Maybe Text)
- pjcProjectId :: Lens' ProjectsJobsCreate Text
- pjcReplaceJobId :: Lens' ProjectsJobsCreate (Maybe Text)
- pjcCallback :: Lens' ProjectsJobsCreate (Maybe Text)
REST Resource
type ProjectsJobsCreateResource = "v1b3" :> ("projects" :> (Capture "projectId" Text :> ("jobs" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "location" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "view" Text :> (QueryParam "replaceJobId" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] Job :> Post '[JSON] Job))))))))))))) Source #
A resource alias for dataflow.projects.jobs.create
method which the
ProjectsJobsCreate
request conforms to.
Creating a Request
Creates a value of ProjectsJobsCreate
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ProjectsJobsCreate Source #
Creates a Cloud Dataflow job.
See: projectsJobsCreate
smart constructor.
Instances
Request Lenses
pjcUploadProtocol :: Lens' ProjectsJobsCreate (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
pjcLocation :: Lens' ProjectsJobsCreate (Maybe Text) Source #
The location that contains this job.
pjcAccessToken :: Lens' ProjectsJobsCreate (Maybe Text) Source #
OAuth access token.
pjcUploadType :: Lens' ProjectsJobsCreate (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
pjcPayload :: Lens' ProjectsJobsCreate Job Source #
Multipart request metadata.
pjcView :: Lens' ProjectsJobsCreate (Maybe Text) Source #
The level of information requested in response.
pjcProjectId :: Lens' ProjectsJobsCreate Text Source #
The ID of the Cloud Platform project that the job belongs to.
pjcReplaceJobId :: Lens' ProjectsJobsCreate (Maybe Text) Source #
Deprecated. This field is now in the Job message.
pjcCallback :: Lens' ProjectsJobsCreate (Maybe Text) Source #
JSONP