Method: projects.locations.workflows.get

Gets details of a single workflow.

HTTP request

GET https://workflows.googleapis.com/v1/{name=projects/*/locations/*/workflows/*}

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
name

string

Required. Name of the workflow for which information should be retrieved. Format: projects/{project}/locations/{location}/workflows/{workflow}

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

  • workflows.workflows.get

Query parameters

Parameters
revisionId

string

Optional. The revision of the workflow to retrieve. If the revisionId is empty, the latest revision is retrieved. The format is "000001-a4d", where the first six characters define the zero-padded decimal revision number. They are followed by a hyphen and three hexadecimal characters.

Request body

The request body must be empty.

Response body

If successful, the response body contains an instance of Workflow.

Authorization Scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/cloud-platform

For more information, see the Authentication Overview.