Method: projects.locations.operations.list
Stay organized with collections
Save and categorize content based on your preferences.
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.
HTTP request
GET https://automl.googleapis.com/v1/{name}/operations
Path parameters
Parameters |
name |
string
The name of the operation's parent resource.
|
Query parameters
Parameters |
filter |
string
An expression for filtering the results of the request.
operation_id - for = or !=.
done - for = or !=.
worksOn - for = or !=.
Some examples of using the filter are:
done=true --> The operation has finished running.
worksOn = projects/my-project/locations/us-central1/datasets/5 --> The operation works on a dataset with ID 5.
worksOn = projects/my-project/locations/us-central1/models/15 --> The operation works on a model with ID 15.
|
pageSize |
integer
The standard list page size.
|
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 2019-12-17 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 2019-12-17 UTC."],[[["This API endpoint retrieves a list of operations that match a specified filter, returning `UNIMPLEMENTED` if not supported by the server."],["The `name` path parameter specifies the parent resource of the operations being listed, and can be overridden by API services to use different resource name schemes."],["The `filter` query parameter allows for refining the operation list based on properties such as `operation_id`, `done` status, and `worksOn` resources, using equality or inequality comparisons."],["The request body must be empty for this endpoint, and the successful response will contain a `ListOperationsResponse` object."],["Authorization for this endpoint requires the `https://www.googleapis.com/auth/cloud-platform` OAuth scope."]]],[]]