class ProjectsLocationsModelsEvaluationsSlices extends Resource (View source)

The "slices" collection of methods.

Typical usage is:

 $aiplatformService = new Google\Service\Aiplatform(...);
 $slices = $aiplatformService->projects_locations_models_evaluations_slices;

Methods

batchImport(string $parent, GoogleCloudAiplatformV1BatchImportEvaluatedAnnotationsRequest $postBody, array $optParams = [])

Imports a list of externally generated EvaluatedAnnotations.

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

Gets a ModelEvaluationSlice. (slices.get)

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

Lists ModelEvaluationSlices in a ModelEvaluation.

Details

GoogleCloudAiplatformV1BatchImportEvaluatedAnnotationsResponse batchImport(string $parent, GoogleCloudAiplatformV1BatchImportEvaluatedAnnotationsRequest $postBody, array $optParams = [])

Imports a list of externally generated EvaluatedAnnotations.

(slices.batchImport)

Parameters

string $parent

Required. The name of the parent ModelEvaluationSlice resource. Format: projects/{project}/locations/{location}/models/{model}/eva luations/{evaluation}/slices/{slice}

GoogleCloudAiplatformV1BatchImportEvaluatedAnnotationsRequest $postBody
array $optParams

Optional parameters.

Return Value

GoogleCloudAiplatformV1BatchImportEvaluatedAnnotationsResponse

Exceptions

Exception

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

Gets a ModelEvaluationSlice. (slices.get)

Parameters

string $name

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

array $optParams

Optional parameters.

Return Value

GoogleCloudAiplatformV1ModelEvaluationSlice

Exceptions

Exception

GoogleCloudAiplatformV1ListModelEvaluationSlicesResponse listProjectsLocationsModelsEvaluationsSlices(string $parent, array $optParams = [])

Lists ModelEvaluationSlices in a ModelEvaluation.

(slices.listProjectsLocationsModelsEvaluationsSlices)

Parameters

string $parent

Required. The resource name of the ModelEvaluation to list the ModelEvaluationSlices from. Format: projects/{project}/locations/{l ocation}/models/{model}/evaluations/{evaluation}

array $optParams

Optional parameters.

Return Value

GoogleCloudAiplatformV1ListModelEvaluationSlicesResponse

Exceptions

Exception