Google Cloud Ai Platform V1 Client - Class ExactMatchInput (1.12.0)

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

Input for exact match metric.

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

Namespace

Google \ Cloud \ AIPlatform \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ metric_spec ExactMatchSpec

Required. Spec for exact match metric.

↳ instances array<ExactMatchInstance>

Required. Repeated exact match instances.

getMetricSpec

Required. Spec for exact match metric.

Returns
Type Description
ExactMatchSpec|null

hasMetricSpec

clearMetricSpec

setMetricSpec

Required. Spec for exact match metric.

Parameter
Name Description
var ExactMatchSpec
Returns
Type Description
$this

getInstances

Required. Repeated exact match instances.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setInstances

Required. Repeated exact match instances.

Parameter
Name Description
var array<ExactMatchInstance>
Returns
Type Description
$this