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.templates.create
.
Synopsis
- type ProjectsTemplatesCreateResource = "v1b3" :> ("projects" :> (Capture "projectId" 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))))))))))
- projectsTemplatesCreate :: CreateJobFromTemplateRequest -> Text -> ProjectsTemplatesCreate
- data ProjectsTemplatesCreate
- ptcXgafv :: Lens' ProjectsTemplatesCreate (Maybe Xgafv)
- ptcUploadProtocol :: Lens' ProjectsTemplatesCreate (Maybe Text)
- ptcAccessToken :: Lens' ProjectsTemplatesCreate (Maybe Text)
- ptcUploadType :: Lens' ProjectsTemplatesCreate (Maybe Text)
- ptcPayload :: Lens' ProjectsTemplatesCreate CreateJobFromTemplateRequest
- ptcProjectId :: Lens' ProjectsTemplatesCreate Text
- ptcCallback :: Lens' ProjectsTemplatesCreate (Maybe Text)
REST Resource
type ProjectsTemplatesCreateResource = "v1b3" :> ("projects" :> (Capture "projectId" 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.templates.create
method which the
ProjectsTemplatesCreate
request conforms to.
Creating a Request
projectsTemplatesCreate Source #
Creates a value of ProjectsTemplatesCreate
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ProjectsTemplatesCreate Source #
Creates a Cloud Dataflow job from a template.
See: projectsTemplatesCreate
smart constructor.
Instances
Request Lenses
ptcUploadProtocol :: Lens' ProjectsTemplatesCreate (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
ptcAccessToken :: Lens' ProjectsTemplatesCreate (Maybe Text) Source #
OAuth access token.
ptcUploadType :: Lens' ProjectsTemplatesCreate (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
ptcPayload :: Lens' ProjectsTemplatesCreate CreateJobFromTemplateRequest Source #
Multipart request metadata.
ptcProjectId :: Lens' ProjectsTemplatesCreate Text Source #
Required. The ID of the Cloud Platform project that the job belongs to.
ptcCallback :: Lens' ProjectsTemplatesCreate (Maybe Text) Source #
JSONP