Method: projects.locations.instances.models.list

Lists models.

HTTP request

GET https://financialservices.googleapis.com/v1/{parent=projects/*/locations/*/instances/*}/models

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
parent

string

Required. The parent of the Model is the Instance.

Authorization requires the following IAM permission on the specified resource parent:

  • financialservices.v1models.list

Query parameters

Parameters
pageSize

integer

The number of resources to be included in the response. The response contains a nextPageToken, which can be used to retrieve the next page of resources.

pageToken

string

In case of paginated results, this is the token that was returned in the previous ListModelsResponse. It should be copied here to retrieve the next page of resources. Empty will give the first page of ListModelsRequest, and the last page will return an empty pageToken.

filter

string

Specify a filter to narrow search results.

orderBy

string

Specify a field to use for ordering.

Request body

The request body must be empty.

Response body

Response for retrieving a list of Models

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

JSON representation
{
  "models": [
    {
      object (Model)
    }
  ],
  "nextPageToken": string,
  "unreachable": [
    string
  ]
}
Fields
models[]

object (Model)

List of Model resources

nextPageToken

string

This token should be passed to the next ListModelsRequest to retrieve the next page of Models (empty indicicates we are done).

unreachable[]

string

Locations that could not be reached.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/cloud-platform

For more information, see the Authentication Overview.

IAM Permissions

Requires the following IAM permission on the parent resource:

  • financialservices.v1models.list

For more information, see the IAM documentation.