Google Cloud Ai Platform V1 Client - Class BatchImportModelEvaluationSlicesRequest (0.21.0)

Reference documentation and code samples for the Google Cloud Ai Platform V1 Client class BatchImportModelEvaluationSlicesRequest.

Request message for ModelService.BatchImportModelEvaluationSlices

Generated from protobuf message google.cloud.aiplatform.v1.BatchImportModelEvaluationSlicesRequest

Namespace

Google \ Cloud \ AIPlatform \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ parent string

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

↳ model_evaluation_slices array<Google\Cloud\AIPlatform\V1\ModelEvaluationSlice>

Required. Model evaluation slice resource to be imported.

getParent

Required. The name of the parent ModelEvaluation resource.

Format: projects/{project}/locations/{location}/models/{model}/evaluations/{evaluation}

Returns
TypeDescription
string

setParent

Required. The name of the parent ModelEvaluation resource.

Format: projects/{project}/locations/{location}/models/{model}/evaluations/{evaluation}

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getModelEvaluationSlices

Required. Model evaluation slice resource to be imported.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setModelEvaluationSlices

Required. Model evaluation slice resource to be imported.

Parameter
NameDescription
var array<Google\Cloud\AIPlatform\V1\ModelEvaluationSlice>
Returns
TypeDescription
$this

static::build

Parameters
NameDescription
parent string

Required. The name of the parent ModelEvaluation resource. Format: projects/{project}/locations/{location}/models/{model}/evaluations/{evaluation} Please see Google\Cloud\AIPlatform\V1\ModelServiceClient::modelEvaluationName() for help formatting this field.

modelEvaluationSlices array<Google\Cloud\AIPlatform\V1\ModelEvaluationSlice>

Required. Model evaluation slice resource to be imported.

Returns
TypeDescription
Google\Cloud\AIPlatform\V1\BatchImportModelEvaluationSlicesRequest