Method: operations.list
Stay organized with collections
Save and categorize content based on your preferences.
Full name: projects.locations.operations.list
Lists service operations that match the specified filter in the request.
HTTP request
GET https://{endpoint}/v1/{name}
Where {endpoint}
is one of the supported service endpoints.
Path parameters
Parameters |
name |
string
Not used. It takes the form projects/{project}/locations/{location}/operations .
|
Query parameters
Parameters |
filter |
string
A string for filtering Operations . The following filter fields are supported:
Type : Required. Only = operator is allowed. Can be:
BATCH_PROCESS_DOCUMENTS
CREATE_PROCESSOR
CREATE_PROCESSOR_VERSION
DELETE_PROCESSOR
DELETE_PROCESSOR_VERSION
DEPLOY_PROCESSOR_VERSION
DISABLE_PROCESSOR
ENABLE_PROCESSOR
HUMAN_REVIEW
SET_DEFAULT_PROCESSOR_VERSION
UNDEPLOY_PROCESSOR_VERSION
CreateTime : The time this job was created, in ISO 8601 format. Allowed operators are >= , > , <= , and < .
UpdateTime : The time this job was last updated, in ISO 8601 format. Allowed operators are >= , > , <= , and < .
ResourceName : The name of the resource. For example projects/123/locations/us . Allowed operators are : (prefix) and = (exact match).
State : Can be DONE , RUNNING , CANCELLED , or FAILED . Allowed operators are = , and != .
Filter expression supports conjunction AND and disjunction OR logical operators as well as () grouping operator. Examples:
Type=CREATE_PROCESSOR AND (ResourceName:projects/123/locations/us OR CreateTime>2022-08-07)
Type=HUMAN_REVIEW AND State=DONE
|
pageSize |
integer
The maximum number of operations to return. If unspecified, defaults to 100 . The maximum value is 100 .
|
pageToken |
string
The standard list page token.
|
Request body
The request body must be empty.
Response body
If successful, the response body contains an instance of ListOperationsResponse
.
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/cloud-platform
For more information, see the Authentication Overview.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-04-07 UTC.
[{
"type": "thumb-down",
"id": "hardToUnderstand",
"label":"Hard to understand"
},{
"type": "thumb-down",
"id": "incorrectInformationOrSampleCode",
"label":"Incorrect information or sample code"
},{
"type": "thumb-down",
"id": "missingTheInformationSamplesINeed",
"label":"Missing the information/samples I need"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"Other"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"Easy to understand"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"Solved my problem"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"Other"
}]
{"lastModified": "Last updated 2024-04-07 UTC."}
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-04-07 UTC."]]