Full name: publishers.models.list
Lists publisher models in Model Garden.
Endpoint
gethttps://{service-endpoint}/v1beta1/{parent}/models
Where {service-endpoint} is one of the supported service endpoints.
Path parameters
parentstring
Required. The name of the Publisher from which to list the PublisherModels. Format: publishers/{publisher}
Query parameters
filterstring
Optional. The standard list filter.
pageSizeinteger
Optional. The standard list page size.
pageTokenstring
Optional. The standard list page token. Typically obtained via ListPublisherModelsResponse.next_page_token of the previous ModelGardenService.ListPublisherModels call.
Optional. PublisherModel view specifying which fields to read.
orderBystring
Optional. A comma-separated list of fields to order by, sorted in ascending order. Use "desc" after a field name for descending.
languageCodestring
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).
listAllVersionsboolean
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:
List of PublisherModels in the requested page.
nextPageTokenstring
A token to retrieve next page of results. Pass to [models.list.page_token][] to obtain that page.
| JSON representation |
|---|
{
"publisherModels": [
{
object ( |