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.locations.jobs.create
.
Synopsis
- type ProjectsLocationsJobsCreateResource = "v1b3" :> ("projects" :> (Capture "projectId" Text :> ("locations" :> (Capture "location" Text :> ("jobs" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" 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))))))))))))))
- projectsLocationsJobsCreate :: Text -> Job -> Text -> ProjectsLocationsJobsCreate
- data ProjectsLocationsJobsCreate
- pljcXgafv :: Lens' ProjectsLocationsJobsCreate (Maybe Xgafv)
- pljcUploadProtocol :: Lens' ProjectsLocationsJobsCreate (Maybe Text)
- pljcLocation :: Lens' ProjectsLocationsJobsCreate Text
- pljcAccessToken :: Lens' ProjectsLocationsJobsCreate (Maybe Text)
- pljcUploadType :: Lens' ProjectsLocationsJobsCreate (Maybe Text)
- pljcPayload :: Lens' ProjectsLocationsJobsCreate Job
- pljcView :: Lens' ProjectsLocationsJobsCreate (Maybe Text)
- pljcProjectId :: Lens' ProjectsLocationsJobsCreate Text
- pljcReplaceJobId :: Lens' ProjectsLocationsJobsCreate (Maybe Text)
- pljcCallback :: Lens' ProjectsLocationsJobsCreate (Maybe Text)
REST Resource
type ProjectsLocationsJobsCreateResource = "v1b3" :> ("projects" :> (Capture "projectId" Text :> ("locations" :> (Capture "location" Text :> ("jobs" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" 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.locations.jobs.create
method which the
ProjectsLocationsJobsCreate
request conforms to.
Creating a Request
projectsLocationsJobsCreate Source #
Creates a value of ProjectsLocationsJobsCreate
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ProjectsLocationsJobsCreate Source #
Creates a Cloud Dataflow job.
See: projectsLocationsJobsCreate
smart constructor.
Instances
Request Lenses
pljcUploadProtocol :: Lens' ProjectsLocationsJobsCreate (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
pljcLocation :: Lens' ProjectsLocationsJobsCreate Text Source #
The location that contains this job.
pljcAccessToken :: Lens' ProjectsLocationsJobsCreate (Maybe Text) Source #
OAuth access token.
pljcUploadType :: Lens' ProjectsLocationsJobsCreate (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
pljcPayload :: Lens' ProjectsLocationsJobsCreate Job Source #
Multipart request metadata.
pljcView :: Lens' ProjectsLocationsJobsCreate (Maybe Text) Source #
The level of information requested in response.
pljcProjectId :: Lens' ProjectsLocationsJobsCreate Text Source #
The ID of the Cloud Platform project that the job belongs to.
pljcReplaceJobId :: Lens' ProjectsLocationsJobsCreate (Maybe Text) Source #
Deprecated. This field is now in the Job message.
pljcCallback :: Lens' ProjectsLocationsJobsCreate (Maybe Text) Source #
JSONP