Method: projects.locations.models.list

Lists models.

HTTP request

GET https://automl.googleapis.com/v1beta1/{parent}/models

Path parameters

Parameters
parent

string

Resource name of the project, from which to list the models.

Authorization requires the following Google IAM permission on the specified resource parent:

  • automl.models.list

Query parameters

Parameters
filter

string

An expression for filtering the results of the request.

  • model_metadata - for existence of the case (e.g. videoClassificationModelMetadata:*).
  • datasetId - for = or !=. Some examples of using the filter are:
  • imageClassificationModelMetadata:* --> The model has imageClassificationModelMetadata.

  • datasetId=5 --> The model was created from a dataset with ID 5.
pageSize

integer

Requested page size.

pageToken

string

A token identifying a page of results for the server to return Typically obtained via ListModelsResponse.next_page_token of the previous AutoMl.ListModels call.

Request body

The request body must be empty.

Response body

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

Response message for AutoMl.ListModels.

JSON representation
{
  "model": [
    {
      object (Model)
    }
  ],
  "nextPageToken": string
}
Fields
model[]

object (Model)

List of models in the requested page.

nextPageToken

string

A token to retrieve next page of results. Pass to ListModelsRequest.page_token to obtain that page.

Authorization Scopes

Requires the following OAuth scope:

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

For more information, see the Authentication Overview.