Lists operations that match the specified filter in the request. If the
server doesn't support this method, it returns UNIMPLEMENTED
. NOTE:
the name
binding allows API services to override the binding to use
different resource name schemes, such as users/*/operations
. To
override the binding, API services can add a binding such as
"/v1/{name=users/*}/operations"
to their service configuration. For
backwards compatibility, the default name includes the operations
collection id, however overriding users must ensure the name binding is
the parent resource, without the operations collection id.
Arguments
Parameters | |
---|---|
name |
Required. The name of the operation's parent resource.
|
filter |
The standard list filter.
|
pageSize |
The standard list page size.
|
pageToken |
The standard list page token.
|
location |
Location of the HTTP endpoint:
|
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 GoogleLongrunningListOperationsResponse
.
Subworkflow snippet
Some fields might be optional or required. To identify required fields, refer to the API documentation.
YAML
- list: call: googleapis.documentai.v1.projects.locations.operations.list args: name: ... filter: ... pageSize: ... pageToken: ... result: listResult
JSON
[ { "list": { "call": "googleapis.documentai.v1.projects.locations.operations.list", "args": { "name": "...", "filter": "...", "pageSize": "...", "pageToken": "..." }, "result": "listResult" } } ]