class ProjectsLocationsModelsEvaluations extends Resource (View source)

The "evaluations" collection of methods.

Typical usage is:

 $aiplatformService = new Google\Service\Aiplatform(...);
 $evaluations = $aiplatformService->projects_locations_models_evaluations;

Methods

get(string $name, array $optParams = [])

Gets a ModelEvaluation. (evaluations.get)

import(string $parent, GoogleCloudAiplatformV1ImportModelEvaluationRequest $postBody, array $optParams = [])

Imports an externally generated ModelEvaluation. (evaluations.import)

listProjectsLocationsModelsEvaluations(string $parent, array $optParams = [])

Lists ModelEvaluations in a Model.

Details

GoogleCloudAiplatformV1ModelEvaluation get(string $name, array $optParams = [])

Gets a ModelEvaluation. (evaluations.get)

Parameters

string $name

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

array $optParams

Optional parameters.

Return Value

GoogleCloudAiplatformV1ModelEvaluation

Exceptions

Exception

GoogleCloudAiplatformV1ModelEvaluation import(string $parent, GoogleCloudAiplatformV1ImportModelEvaluationRequest $postBody, array $optParams = [])

Imports an externally generated ModelEvaluation. (evaluations.import)

Parameters

string $parent

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

GoogleCloudAiplatformV1ImportModelEvaluationRequest $postBody
array $optParams

Optional parameters.

Return Value

GoogleCloudAiplatformV1ModelEvaluation

Exceptions

Exception

GoogleCloudAiplatformV1ListModelEvaluationsResponse listProjectsLocationsModelsEvaluations(string $parent, array $optParams = [])

Lists ModelEvaluations in a Model.

(evaluations.listProjectsLocationsModelsEvaluations)

Parameters

string $parent

Required. The resource name of the Model to list the ModelEvaluations from. Format: projects/{project}/locations/{location}/models/{model}

array $optParams

Optional parameters.

Return Value

GoogleCloudAiplatformV1ListModelEvaluationsResponse

Exceptions

Exception