- HTTP request
- Path parameters
- Query parameters
- Request body
- Response body
- Authorization scopes
- Try it!
Retrieves the latest workflow template.
Can retrieve previously instantiated template by specifying optional version parameter.
HTTP request
 GET https://dataproc.googleapis.com/v1/{name=projects/*/regions/*/workflowTemplates/*} 
The URL uses gRPC Transcoding syntax.
Path parameters
name 
 string 
Required. The resource name of the workflow template, as described in https://cloud.google.com/apis/design/resource_names .
-  For projects.regions.workflowTemplates.get, the resource name of the template has the following format:projects/{projectId}/regions/{region}/workflowTemplates/{template_id}
-  For projects.locations.workflowTemplates.get, the resource name of the template has the following format:projects/{projectId}/locations/{location}/workflowTemplates/{template_id}
Authorization requires the following IAM 
permission on the specified resource name 
:
-  dataproc.workflowTemplates.get
Query parameters
| Parameters | |
|---|---|
| version |   Optional. The version of workflow template to retrieve. Only previously instantiated versions can be retrieved. If unspecified, retrieves the current version. | 
Request body
The request body must be empty.
Response body
If successful, the response body contains an instance of  WorkflowTemplate 
 
.
Authorization scopes
Requires the following OAuth scope:
-  https://www.googleapis.com/auth/cloud-platform
For more information, see the Authentication Overview .

