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 |
Retrieves the latest workflow template.Can retrieve previously instantiated template by specifying optional version parameter.
See: Cloud Dataproc API Reference for dataproc.projects.regions.workflowTemplates.get
.
Synopsis
- type ProjectsRegionsWorkflowTemplatesGetResource = "v1" :> (Capture "name" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "version" (Textual Int32) :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] WorkflowTemplate))))))))
- projectsRegionsWorkflowTemplatesGet :: Text -> ProjectsRegionsWorkflowTemplatesGet
- data ProjectsRegionsWorkflowTemplatesGet
- prwtgXgafv :: Lens' ProjectsRegionsWorkflowTemplatesGet (Maybe Xgafv)
- prwtgUploadProtocol :: Lens' ProjectsRegionsWorkflowTemplatesGet (Maybe Text)
- prwtgAccessToken :: Lens' ProjectsRegionsWorkflowTemplatesGet (Maybe Text)
- prwtgUploadType :: Lens' ProjectsRegionsWorkflowTemplatesGet (Maybe Text)
- prwtgName :: Lens' ProjectsRegionsWorkflowTemplatesGet Text
- prwtgVersion :: Lens' ProjectsRegionsWorkflowTemplatesGet (Maybe Int32)
- prwtgCallback :: Lens' ProjectsRegionsWorkflowTemplatesGet (Maybe Text)
REST Resource
type ProjectsRegionsWorkflowTemplatesGetResource = "v1" :> (Capture "name" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "version" (Textual Int32) :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] WorkflowTemplate)))))))) Source #
A resource alias for dataproc.projects.regions.workflowTemplates.get
method which the
ProjectsRegionsWorkflowTemplatesGet
request conforms to.
Creating a Request
projectsRegionsWorkflowTemplatesGet Source #
Creates a value of ProjectsRegionsWorkflowTemplatesGet
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ProjectsRegionsWorkflowTemplatesGet Source #
Retrieves the latest workflow template.Can retrieve previously instantiated template by specifying optional version parameter.
See: projectsRegionsWorkflowTemplatesGet
smart constructor.
Instances
Request Lenses
prwtgXgafv :: Lens' ProjectsRegionsWorkflowTemplatesGet (Maybe Xgafv) Source #
V1 error format.
prwtgUploadProtocol :: Lens' ProjectsRegionsWorkflowTemplatesGet (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
prwtgAccessToken :: Lens' ProjectsRegionsWorkflowTemplatesGet (Maybe Text) Source #
OAuth access token.
prwtgUploadType :: Lens' ProjectsRegionsWorkflowTemplatesGet (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
prwtgName :: Lens' ProjectsRegionsWorkflowTemplatesGet Text Source #
Required. The "resource name" of the workflow template, as described in https://cloud.google.com/apis/design/resource_names of the form projects/{project_id}/regions/{region}/workflowTemplates/{template_id}
prwtgVersion :: Lens' ProjectsRegionsWorkflowTemplatesGet (Maybe Int32) Source #
Optional. The version of workflow template to retrieve. Only previously instatiated versions can be retrieved.If unspecified, retrieves the current version.