For projects.regions.workflowTemplates, the resource name of the template has the following format: projects/{projectId}/regions/{region}/workflowTemplates/{template_id}
For projects.locations.workflowTemplates, the resource name of the template has the following format: projects/{projectId}/locations/{location}/workflowTemplates/{template_id}
[[["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 the process for updating a workflow template using a PUT HTTP request to the specified URL.\u003c/p\u003e\n"],["\u003cp\u003eThe URL for the PUT request utilizes gRPC Transcoding syntax and requires a \u003ccode\u003etemplate.name\u003c/code\u003e path parameter in the format of a resource name.\u003c/p\u003e\n"],["\u003cp\u003eThe request body must include an instance of \u003ccode\u003eWorkflowTemplate\u003c/code\u003e for the update operation.\u003c/p\u003e\n"],["\u003cp\u003eA successful request returns an instance of \u003ccode\u003eWorkflowTemplate\u003c/code\u003e in the response body.\u003c/p\u003e\n"],["\u003cp\u003eUpdating the workflow template requires the \u003ccode\u003ehttps://www.googleapis.com/auth/cloud-platform\u003c/code\u003e OAuth scope.\u003c/p\u003e\n"]]],[],null,["# Method: projects.regions.workflowTemplates.update\n\n- [HTTP request](#body.HTTP_TEMPLATE)\n- [Path parameters](#body.PATH_PARAMETERS)\n- [Request body](#body.request_body)\n- [Response body](#body.response_body)\n- [Authorization scopes](#body.aspect)\n- [Try it!](#try-it)\n\nUpdates (replaces) workflow template. The updated template must contain version that matches the current server version.\n\n### HTTP request\n\n`PUT https://dataproc.googleapis.com/v1/{template.name=projects/*/regions/*/workflowTemplates/*}`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Path parameters\n\n### Request body\n\nThe request body contains an instance of [WorkflowTemplate](/dataproc/docs/reference/rest/v1/projects.locations.workflowTemplates#WorkflowTemplate).\n\n### Response body\n\nIf successful, the response body contains an instance of [WorkflowTemplate](/dataproc/docs/reference/rest/v1/projects.locations.workflowTemplates#WorkflowTemplate).\n\n### Authorization scopes\n\nRequires the following OAuth scope:\n\n- `https://www.googleapis.com/auth/cloud-platform`\n\nFor more information, see the [Authentication Overview](/docs/authentication#authorization-gcp)."]]