Method: publishers.models.list

Lists publisher models in Model Garden.

Endpoint

get https://{endpoint}/v1beta1/{parent}/models

Where {service-endpoint} is one of the supported service endpoints.

Path parameters

parent string

Required. The name of the Publisher from which to list the PublisherModels. Format: publishers/{publisher}

Query parameters

filter string

Optional. The standard list filter.

pageSize integer

Optional. The standard list page size.

pageToken string

Optional. The standard list page token. Typically obtained via ListPublisherModelsResponse.next_page_token of the previous ModelGardenService.ListPublisherModels call.

view enum (PublisherModelView)

Optional. PublisherModel view specifying which fields to read.

orderBy string

Optional. A comma-separated list of fields to order by, sorted in ascending order. Use "desc" after a field name for descending.

languageCode string

Optional. The IETF BCP-47 language code representing the language in which the publisher models' text information should be written in. If not set, by default English (en).

listAllVersions boolean

Optional. List all publisher model versions if the flag is set to true.

Request body

The request body must be empty.

Response body

Response message for ModelGardenService.ListPublisherModels.

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

Fields
publisherModels[] object (PublisherModel)

List of PublisherModels in the requested page.

nextPageToken string

A token to retrieve next page of results. Pass to [models.list.page_token][] to obtain that page.

JSON representation
{
  "publisherModels": [
    {
      object (PublisherModel)
    }
  ],
  "nextPageToken": string
}