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 from a template.
See: Dataflow API Reference for dataflow.projects.locations.templates.create
.
Synopsis
- type ProjectsLocationsTemplatesCreateResource = "v1b3" :> ("projects" :> (Capture "projectId" Text :> ("locations" :> (Capture "location" Text :> ("templates" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] CreateJobFromTemplateRequest :> Post '[JSON] Job))))))))))))
- projectsLocationsTemplatesCreate :: Text -> CreateJobFromTemplateRequest -> Text -> ProjectsLocationsTemplatesCreate
- data ProjectsLocationsTemplatesCreate
- pltcXgafv :: Lens' ProjectsLocationsTemplatesCreate (Maybe Xgafv)
- pltcUploadProtocol :: Lens' ProjectsLocationsTemplatesCreate (Maybe Text)
- pltcLocation :: Lens' ProjectsLocationsTemplatesCreate Text
- pltcAccessToken :: Lens' ProjectsLocationsTemplatesCreate (Maybe Text)
- pltcUploadType :: Lens' ProjectsLocationsTemplatesCreate (Maybe Text)
- pltcPayload :: Lens' ProjectsLocationsTemplatesCreate CreateJobFromTemplateRequest
- pltcProjectId :: Lens' ProjectsLocationsTemplatesCreate Text
- pltcCallback :: Lens' ProjectsLocationsTemplatesCreate (Maybe Text)
REST Resource
type ProjectsLocationsTemplatesCreateResource = "v1b3" :> ("projects" :> (Capture "projectId" Text :> ("locations" :> (Capture "location" Text :> ("templates" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] CreateJobFromTemplateRequest :> Post '[JSON] Job)))))))))))) Source #
A resource alias for dataflow.projects.locations.templates.create
method which the
ProjectsLocationsTemplatesCreate
request conforms to.
Creating a Request
projectsLocationsTemplatesCreate Source #
Creates a value of ProjectsLocationsTemplatesCreate
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ProjectsLocationsTemplatesCreate Source #
Creates a Cloud Dataflow job from a template.
See: projectsLocationsTemplatesCreate
smart constructor.
Instances
Request Lenses
pltcUploadProtocol :: Lens' ProjectsLocationsTemplatesCreate (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
pltcLocation :: Lens' ProjectsLocationsTemplatesCreate Text Source #
The location to which to direct the request.
pltcAccessToken :: Lens' ProjectsLocationsTemplatesCreate (Maybe Text) Source #
OAuth access token.
pltcUploadType :: Lens' ProjectsLocationsTemplatesCreate (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
pltcPayload :: Lens' ProjectsLocationsTemplatesCreate CreateJobFromTemplateRequest Source #
Multipart request metadata.
pltcProjectId :: Lens' ProjectsLocationsTemplatesCreate Text Source #
Required. The ID of the Cloud Platform project that the job belongs to.