Method: operations.listOperations

  • Lists Optimization AI operations based on a specified filter.

  • Uses standard list parameters like filter, pageSize, and pageToken for querying.

  • Returns a list of operations matching the filter and a token for retrieving subsequent pages.

  • Employs gRPC Transcoding for the request URL structure.

  • Requires an empty request body and provides structured JSON response containing operation details.

Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns UNIMPLEMENTED.

HTTP request

POST https://optimization.googleapis.com/v1/{name=projects/*}/operations

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
name

string

The name of the operation's parent resource.

Query parameters

Parameters
filter

string

The standard list filter.

pageSize

integer

The standard list page size.

pageToken

string

The standard list page token.

Request body

The request body must be empty.

Response body

The response message for Operations.ListOperations.

If successful, the response body contains data with the following structure:

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.