Method: projects.locations.deploymentResourcePools.queryDeployedModels

List DeployedModels that have been deployed on this DeploymentResourcePool.

HTTP request

GET https://{service-endpoint}/v1/{deploymentResourcePool}:queryDeployedModels

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

Path parameters

Parameters
deploymentResourcePool

string

Required. The name of the target DeploymentResourcePool to query. Format: projects/{project}/locations/{location}/deploymentResourcePools/{deploymentResourcePool}

Query parameters

Parameters
pageSize

integer

The maximum number of DeployedModels to return. The service may return fewer than this value.

pageToken

string

A page token, received from a previous deploymentResourcePools.queryDeployedModels call. Provide this to retrieve the subsequent page.

When paginating, all other parameters provided to deploymentResourcePools.queryDeployedModels must match the call that provided the page token.

Request body

The request body must be empty.

Response body

Response message for deploymentResourcePools.queryDeployedModels method.

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

JSON representation
{
  "deployedModels": [
    {
      object (DeployedModel)
    }
  ],
  "nextPageToken": string,
  "deployedModelRefs": [
    {
      object (DeployedModelRef)
    }
  ],
  "totalDeployedModelCount": integer,
  "totalEndpointCount": integer
}
Fields
deployedModels[]
(deprecated)

object (DeployedModel)

DEPRECATED Use deployedModelRefs instead.

nextPageToken

string

A token, which can be sent as pageToken to retrieve the next page. If this field is omitted, there are no subsequent pages.

deployedModelRefs[]

object (DeployedModelRef)

References to the DeployedModels that share the specified deploymentResourcePool.

totalDeployedModelCount

integer

The total number of DeployedModels on this DeploymentResourcePool.

totalEndpointCount

integer

The total number of Endpoints that have DeployedModels on this DeploymentResourcePool.

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 deploymentResourcePool resource:

  • aiplatform.deploymentResourcePools.queryDeployedModels

For more information, see the IAM documentation.