ListModelsOptions interface

Firebase ML is deprecated and will be shut down on June 15, 2027. To host custom models, you must migrate to another solution. You can use Cloud Storage for Firebase as an alternative for hosting custom models. For more info, see https://firebase.google.com/docs/ml/migrate-to-cloud-storage

Interface representing options for listing Models.

Signature:

export interface ListModelsOptions 

Properties

Property Type Description
filter string An expression that specifies how to filter the results.Examples:
display_name = your_model
display_name : experimental_*
tags: face_detector AND tags: experimental
state.published = true

See https://firebase.google.com/docs/ml/manage-hosted-models#list_your_projects_models | | pageSize | number | The number of results to return in each page. | | pageToken | string | A token that specifies the result page to return. |

ListModelsOptions.filter

An expression that specifies how to filter the results.

Examples:

display_name = your_model
display_name : experimental_*
tags: face_detector AND tags: experimental
state.published = true

See https://firebase.google.com/docs/ml/manage-hosted-models#list_your_projects_models

Signature:

filter?: string;

ListModelsOptions.pageSize

The number of results to return in each page.

Signature:

pageSize?: number;

ListModelsOptions.pageToken

A token that specifies the result page to return.

Signature:

pageToken?: string;