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:

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

  • 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.

¿Te sirvió esta página? Envíanos tu opinión:

Enviar comentarios sobre…

AutoML Natural Language
¿Necesitas ayuda? Visita nuestra página de asistencia.