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.locations.workflowTemplates.create
.
Synopsis
- type ProjectsLocationsWorkflowTemplatesCreateResource = "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)))))))))
- projectsLocationsWorkflowTemplatesCreate :: Text -> WorkflowTemplate -> ProjectsLocationsWorkflowTemplatesCreate
- data ProjectsLocationsWorkflowTemplatesCreate
- plwtcParent :: Lens' ProjectsLocationsWorkflowTemplatesCreate Text
- plwtcXgafv :: Lens' ProjectsLocationsWorkflowTemplatesCreate (Maybe Xgafv)
- plwtcUploadProtocol :: Lens' ProjectsLocationsWorkflowTemplatesCreate (Maybe Text)
- plwtcAccessToken :: Lens' ProjectsLocationsWorkflowTemplatesCreate (Maybe Text)
- plwtcUploadType :: Lens' ProjectsLocationsWorkflowTemplatesCreate (Maybe Text)
- plwtcPayload :: Lens' ProjectsLocationsWorkflowTemplatesCreate WorkflowTemplate
- plwtcCallback :: Lens' ProjectsLocationsWorkflowTemplatesCreate (Maybe Text)
REST Resource
type ProjectsLocationsWorkflowTemplatesCreateResource = "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.locations.workflowTemplates.create
method which the
ProjectsLocationsWorkflowTemplatesCreate
request conforms to.
Creating a Request
projectsLocationsWorkflowTemplatesCreate Source #
Creates a value of ProjectsLocationsWorkflowTemplatesCreate
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ProjectsLocationsWorkflowTemplatesCreate Source #
Creates new workflow template.
See: projectsLocationsWorkflowTemplatesCreate
smart constructor.
Instances
Request Lenses
plwtcParent :: Lens' ProjectsLocationsWorkflowTemplatesCreate 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}
plwtcXgafv :: Lens' ProjectsLocationsWorkflowTemplatesCreate (Maybe Xgafv) Source #
V1 error format.
plwtcUploadProtocol :: Lens' ProjectsLocationsWorkflowTemplatesCreate (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
plwtcAccessToken :: Lens' ProjectsLocationsWorkflowTemplatesCreate (Maybe Text) Source #
OAuth access token.
plwtcUploadType :: Lens' ProjectsLocationsWorkflowTemplatesCreate (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
plwtcPayload :: Lens' ProjectsLocationsWorkflowTemplatesCreate WorkflowTemplate Source #
Multipart request metadata.