Google Cloud Ai Platform V1 Client - Class BatchImportEvaluatedAnnotationsRequest (0.29.0)

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

Request message for ModelService.BatchImportEvaluatedAnnotations

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

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 ModelEvaluationSlice resource. Format: projects/{project}/locations/{location}/models/{model}/evaluations/{evaluation}/slices/{slice}

↳ evaluated_annotations array<Google\Cloud\AIPlatform\V1\EvaluatedAnnotation>

Required. Evaluated annotations resource to be imported.

getParent

Required. The name of the parent ModelEvaluationSlice resource.

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

Returns
TypeDescription
string

setParent

Required. The name of the parent ModelEvaluationSlice resource.

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

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getEvaluatedAnnotations

Required. Evaluated annotations resource to be imported.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setEvaluatedAnnotations

Required. Evaluated annotations resource to be imported.

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

static::build

Parameters
NameDescription
parent string

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

evaluatedAnnotations array<Google\Cloud\AIPlatform\V1\EvaluatedAnnotation>

Required. Evaluated annotations resource to be imported.

Returns
TypeDescription
Google\Cloud\AIPlatform\V1\BatchImportEvaluatedAnnotationsRequest