Google Cloud Ai Platform V1 Client - Class BatchImportModelEvaluationSlicesRequest (0.10.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

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}

Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {

Returns
TypeDescription
string

setParent

Required. The name of the parent ModelEvaluation resource.

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

Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getModelEvaluationSlices

Required. Model evaluation slice resource to be imported.

Generated from protobuf field repeated .google.cloud.aiplatform.v1.ModelEvaluationSlice model_evaluation_slices = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setModelEvaluationSlices

Required. Model evaluation slice resource to be imported.

Generated from protobuf field repeated .google.cloud.aiplatform.v1.ModelEvaluationSlice model_evaluation_slices = 2 [(.google.api.field_behavior) = REQUIRED];

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