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 new workflow template.
See: Cloud Dataproc API Reference for dataproc.projects.regions.workflowTemplates.create
.
Synopsis
- type ProjectsRegionsWorkflowTemplatesCreateResource = "v1" :> (Capture "parent" Text :> ("workflowTemplates" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] WorkflowTemplate :> Post '[JSON] WorkflowTemplate)))))))))
- projectsRegionsWorkflowTemplatesCreate :: Text -> WorkflowTemplate -> ProjectsRegionsWorkflowTemplatesCreate
- data ProjectsRegionsWorkflowTemplatesCreate
- prwtcParent :: Lens' ProjectsRegionsWorkflowTemplatesCreate Text
- prwtcXgafv :: Lens' ProjectsRegionsWorkflowTemplatesCreate (Maybe Xgafv)
- prwtcUploadProtocol :: Lens' ProjectsRegionsWorkflowTemplatesCreate (Maybe Text)
- prwtcAccessToken :: Lens' ProjectsRegionsWorkflowTemplatesCreate (Maybe Text)
- prwtcUploadType :: Lens' ProjectsRegionsWorkflowTemplatesCreate (Maybe Text)
- prwtcPayload :: Lens' ProjectsRegionsWorkflowTemplatesCreate WorkflowTemplate
- prwtcCallback :: Lens' ProjectsRegionsWorkflowTemplatesCreate (Maybe Text)
REST Resource
type ProjectsRegionsWorkflowTemplatesCreateResource = "v1" :> (Capture "parent" Text :> ("workflowTemplates" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] WorkflowTemplate :> Post '[JSON] WorkflowTemplate))))))))) Source #
A resource alias for dataproc.projects.regions.workflowTemplates.create
method which the
ProjectsRegionsWorkflowTemplatesCreate
request conforms to.
Creating a Request
projectsRegionsWorkflowTemplatesCreate Source #
Creates a value of ProjectsRegionsWorkflowTemplatesCreate
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ProjectsRegionsWorkflowTemplatesCreate Source #
Creates new workflow template.
See: projectsRegionsWorkflowTemplatesCreate
smart constructor.
Instances
Request Lenses
prwtcParent :: Lens' ProjectsRegionsWorkflowTemplatesCreate Text Source #
Required. The "resource name" of the region, as described in https://cloud.google.com/apis/design/resource_names of the form projects/{project_id}/regions/{region}
prwtcXgafv :: Lens' ProjectsRegionsWorkflowTemplatesCreate (Maybe Xgafv) Source #
V1 error format.
prwtcUploadProtocol :: Lens' ProjectsRegionsWorkflowTemplatesCreate (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
prwtcAccessToken :: Lens' ProjectsRegionsWorkflowTemplatesCreate (Maybe Text) Source #
OAuth access token.
prwtcUploadType :: Lens' ProjectsRegionsWorkflowTemplatesCreate (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
prwtcPayload :: Lens' ProjectsRegionsWorkflowTemplatesCreate WorkflowTemplate Source #
Multipart request metadata.