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.locations.workflowTemplates.get
.
Synopsis
- type ProjectsLocationsWorkflowTemplatesGetResource = "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))))))))
- projectsLocationsWorkflowTemplatesGet :: Text -> ProjectsLocationsWorkflowTemplatesGet
- data ProjectsLocationsWorkflowTemplatesGet
- plwtgXgafv :: Lens' ProjectsLocationsWorkflowTemplatesGet (Maybe Xgafv)
- plwtgUploadProtocol :: Lens' ProjectsLocationsWorkflowTemplatesGet (Maybe Text)
- plwtgAccessToken :: Lens' ProjectsLocationsWorkflowTemplatesGet (Maybe Text)
- plwtgUploadType :: Lens' ProjectsLocationsWorkflowTemplatesGet (Maybe Text)
- plwtgName :: Lens' ProjectsLocationsWorkflowTemplatesGet Text
- plwtgVersion :: Lens' ProjectsLocationsWorkflowTemplatesGet (Maybe Int32)
- plwtgCallback :: Lens' ProjectsLocationsWorkflowTemplatesGet (Maybe Text)
REST Resource
type ProjectsLocationsWorkflowTemplatesGetResource = "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.locations.workflowTemplates.get
method which the
ProjectsLocationsWorkflowTemplatesGet
request conforms to.
Creating a Request
projectsLocationsWorkflowTemplatesGet Source #
Creates a value of ProjectsLocationsWorkflowTemplatesGet
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ProjectsLocationsWorkflowTemplatesGet Source #
Retrieves the latest workflow template.Can retrieve previously instantiated template by specifying optional version parameter.
See: projectsLocationsWorkflowTemplatesGet
smart constructor.
Instances
Request Lenses
plwtgXgafv :: Lens' ProjectsLocationsWorkflowTemplatesGet (Maybe Xgafv) Source #
V1 error format.
plwtgUploadProtocol :: Lens' ProjectsLocationsWorkflowTemplatesGet (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
plwtgAccessToken :: Lens' ProjectsLocationsWorkflowTemplatesGet (Maybe Text) Source #
OAuth access token.
plwtgUploadType :: Lens' ProjectsLocationsWorkflowTemplatesGet (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
plwtgName :: Lens' ProjectsLocationsWorkflowTemplatesGet 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}
plwtgVersion :: Lens' ProjectsLocationsWorkflowTemplatesGet (Maybe Int32) Source #
Optional. The version of workflow template to retrieve. Only previously instatiated versions can be retrieved.If unspecified, retrieves the current version.