Google Cloud Ai Platform V1 Client - Class BatchImportEvaluatedAnnotationsRequest (1.5.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
Name Description
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
Type Description
string

setParent

Required. The name of the parent ModelEvaluationSlice resource.

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

Parameter
Name Description
var string
Returns
Type Description
$this

getEvaluatedAnnotations

Required. Evaluated annotations resource to be imported.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setEvaluatedAnnotations

Required. Evaluated annotations resource to be imported.

Parameter
Name Description
var array<Google\Cloud\AIPlatform\V1\EvaluatedAnnotation>
Returns
Type Description
$this

static::build

Parameters
Name Description
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
Type Description
Google\Cloud\AIPlatform\V1\BatchImportEvaluatedAnnotationsRequest