Method: projects.locations.workflows.list

Lists Workflows in a given project and location. The default order is not specified.

HTTP request

GET https://workflows.googleapis.com/v1beta/{parent=projects/*/locations/*}/workflows

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
parent

string

Required. Project and location from which the workflows should be listed. Format: projects/{project}/locations/{location}

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

  • workflows.workflows.list

Query parameters

Parameters
pageSize

integer

Maximum number of workflows to return per call. The service may return fewer than this value. If the value is not specified, a default value of 500 will be used. The maximum permitted value is 1000 and values greater than 1000 will be coerced down to 1000.

pageToken

string

A page token, received from a previous workflows.list call. Provide this to retrieve the subsequent page.

When paginating, all other parameters provided to workflows.list must match the call that provided the page token.

filter

string

Filter to restrict results to specific workflows.

orderBy

string

Comma-separated list of fields that that specify the order of the results. Default sorting order for a field is ascending. To specify descending order for a field, append a " desc" suffix. If not specified, the results will be returned in an unspecified order.

Request body

The request body must be empty.

Response body

If successful, the response body contains data with the following structure:

Response for the workflows.list method.

JSON representation
{
  "workflows": [
    {
      object (Workflow)
    }
  ],
  "nextPageToken": string,
  "unreachable": [
    string
  ]
}
Fields
workflows[]

object (Workflow)

The workflows which match the request.

nextPageToken

string

A token, which can be sent as pageToken to retrieve the next page. If this field is omitted, there are no subsequent pages.

unreachable[]

string

Unreachable resources.

Authorization Scopes

Requires the following OAuth scope:

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

For more information, see the Authentication Overview.