This legacy version of AutoML Video Intelligence is deprecated and will no longer be available on Google Cloud after January 23, 2024. All the functionality of legacy AutoML Video Intelligence and new features are available on the Vertex AI platform. See Migrate to Vertex AI to learn how to migrate your resources.

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: test for existence of metadata.

  • datasetId: = or != a dataset ID.

  • displayName: =, !=, and regex(). Uses re2 syntax.

Some examples of using the filter are:

  • videoClassificationModelMetadata:* --> The model has videoClassificationModelMetadata.

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

  • regex(displayName, "^A") -> The models's display name starts with "A".

pageSize

number

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.