Method: projects.locations.operations.list

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/v1beta1/{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

number

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 data with the following structure:

The response message for Operations.ListOperations.

JSON representation
{
  "operations": [
    {
      object (Operation)
    }
  ],
  "nextPageToken": string
}
Fields
operations[]

object (Operation)

A list of operations that matches the specified filter in the request.

nextPageToken

string

The standard List next-page token.

Authorization Scopes

Requires the following OAuth scope:

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

For more information, see the Authentication Overview.