Method: projects.locations.workflowTemplates.get

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/*/locations/*/workflowTemplates/*}

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
name

string

Required. The "resource name" of the workflow template, as described in https://cloud.google.com/apis/design/resource_names of the form projects/{projectId}/regions/{region}/workflowTemplates/{template_id}

Authorization requires the following Google IAM permission on the specified resource name:

  • dataproc.workflowTemplates.get

Query parameters

Parameters
version

number

Optional. The version of workflow template to retrieve. Only previously instatiated 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.

Try it!

Was this page helpful? Let us know how we did:

Send feedback about...

Cloud Dataproc