Lists Workflows in a given project and location. The default order is not specified.
Arguments
Parameters | |
---|---|
parent |
Required. Project and location from which the workflows should be listed. Format: projects/{project}/locations/{location}
|
filter |
Filter to restrict results to specific workflows.
|
orderBy |
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.
|
pageSize |
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 |
A page token, received from a previous
|
Raised exceptions
Exceptions | |
---|---|
ConnectionError |
In case of a network problem (such as DNS failure or refused connection). |
HttpError |
If the response status is >= 400 (excluding 429 and 503). |
TimeoutError |
If a long-running operation takes longer to finish than the specified timeout limit. |
TypeError |
If an operation or function receives an argument of the wrong type. |
ValueError |
If an operation or function receives an argument of the right type but an inappropriate value. For example, a negative timeout. |
Response
If successful, the response contains an instance of ListWorkflowsResponse
.
Subworkflow snippet
Some fields might be optional or required. To identify required fields, refer to the API documentation.
YAML
- list: call: googleapis.workflows.v1beta.projects.locations.workflows.list args: parent: ... filter: ... orderBy: ... pageSize: ... pageToken: ... result: listResult
JSON
[ { "list": { "call": "googleapis.workflows.v1beta.projects.locations.workflows.list", "args": { "parent": "...", "filter": "...", "orderBy": "...", "pageSize": "...", "pageToken": "..." }, "result": "listResult" } } ]