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 |
Updates (replaces) workflow template. The updated template must contain version that matches the current server version.
See: Cloud Dataproc API Reference for dataproc.projects.locations.workflowTemplates.update
.
Synopsis
- type ProjectsLocationsWorkflowTemplatesUpdateResource = "v1" :> (Capture "name" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] WorkflowTemplate :> Put '[JSON] WorkflowTemplate))))))))
- projectsLocationsWorkflowTemplatesUpdate :: WorkflowTemplate -> Text -> ProjectsLocationsWorkflowTemplatesUpdate
- data ProjectsLocationsWorkflowTemplatesUpdate
- plwtuXgafv :: Lens' ProjectsLocationsWorkflowTemplatesUpdate (Maybe Xgafv)
- plwtuUploadProtocol :: Lens' ProjectsLocationsWorkflowTemplatesUpdate (Maybe Text)
- plwtuAccessToken :: Lens' ProjectsLocationsWorkflowTemplatesUpdate (Maybe Text)
- plwtuUploadType :: Lens' ProjectsLocationsWorkflowTemplatesUpdate (Maybe Text)
- plwtuPayload :: Lens' ProjectsLocationsWorkflowTemplatesUpdate WorkflowTemplate
- plwtuName :: Lens' ProjectsLocationsWorkflowTemplatesUpdate Text
- plwtuCallback :: Lens' ProjectsLocationsWorkflowTemplatesUpdate (Maybe Text)
REST Resource
type ProjectsLocationsWorkflowTemplatesUpdateResource = "v1" :> (Capture "name" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] WorkflowTemplate :> Put '[JSON] WorkflowTemplate)))))))) Source #
A resource alias for dataproc.projects.locations.workflowTemplates.update
method which the
ProjectsLocationsWorkflowTemplatesUpdate
request conforms to.
Creating a Request
projectsLocationsWorkflowTemplatesUpdate Source #
Creates a value of ProjectsLocationsWorkflowTemplatesUpdate
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ProjectsLocationsWorkflowTemplatesUpdate Source #
Updates (replaces) workflow template. The updated template must contain version that matches the current server version.
See: projectsLocationsWorkflowTemplatesUpdate
smart constructor.
Instances
Request Lenses
plwtuXgafv :: Lens' ProjectsLocationsWorkflowTemplatesUpdate (Maybe Xgafv) Source #
V1 error format.
plwtuUploadProtocol :: Lens' ProjectsLocationsWorkflowTemplatesUpdate (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
plwtuAccessToken :: Lens' ProjectsLocationsWorkflowTemplatesUpdate (Maybe Text) Source #
OAuth access token.
plwtuUploadType :: Lens' ProjectsLocationsWorkflowTemplatesUpdate (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
plwtuPayload :: Lens' ProjectsLocationsWorkflowTemplatesUpdate WorkflowTemplate Source #
Multipart request metadata.