queryDeployedModels method

  1. @override
Future<QueryDeployedModelsResponse> queryDeployedModels(
  1. QueryDeployedModelsRequest request
)
override

List DeployedModels that have been deployed on this DeploymentResourcePool.

Throws a http.ClientException if there were problems communicating with the API service. Throws a ServiceException if the API method failed for any reason.

Implementation

@override
Future<QueryDeployedModelsResponse> queryDeployedModels(
  QueryDeployedModelsRequest request,
) async {
  if (isClosed) throw StateError('Service is closed');

  if (_queryDeployedModels case final queryDeployedModels?) {
    return queryDeployedModels(request);
  }
  throw UnsupportedError('queryDeployedModels');
}