Method: projects.locations.models.evaluations.import

Imports an externally generated ModelEvaluation.

HTTP request

POST https://{service-endpoint}/v1/{parent}/evaluations:import

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

Path parameters

Parameters
parent

string

Required. The name of the parent model resource. Format: projects/{project}/locations/{location}/models/{model}

Request body

The request body contains data with the following structure:

JSON representation
{
  "modelEvaluation": {
    object (ModelEvaluation)
  }
}
Fields
modelEvaluation

object (ModelEvaluation)

Required. Model evaluation resource to be imported.

Response body

If successful, the response body contains an instance of ModelEvaluation.

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:

  • aiplatform.modelEvaluations.import

For more information, see the IAM documentation.