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
integer
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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-06-20 UTC."],[[["\u003cp\u003eThis page details how to retrieve a workflow template using an HTTP GET request, including both the latest version and previously instantiated versions.\u003c/p\u003e\n"],["\u003cp\u003eThe request URL utilizes gRPC Transcoding syntax and requires a \u003ccode\u003ename\u003c/code\u003e path parameter to specify the resource name of the workflow template, which follows a specific format based on whether it is a regional or a location-based template.\u003c/p\u003e\n"],["\u003cp\u003eAn optional \u003ccode\u003eversion\u003c/code\u003e query parameter can be used to retrieve a specific previously instantiated version of the template; otherwise, the latest version is retrieved.\u003c/p\u003e\n"],["\u003cp\u003eThe request body for retrieving a workflow template must be empty, and a successful response will contain an instance of the \u003ccode\u003eWorkflowTemplate\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eAuthorization to retrieve a template requires the \u003ccode\u003edataproc.workflowTemplates.get\u003c/code\u003e IAM permission on the specified resource \u003ccode\u003ename\u003c/code\u003e and the \u003ccode\u003ehttps://www.googleapis.com/auth/cloud-platform\u003c/code\u003e OAuth scope.\u003c/p\u003e\n"]]],[],null,[]]