Google Cloud Ai Platform V1 Client - Class ExactMatchInput (1.3.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 Google\Cloud\AIPlatform\V1\ExactMatchSpec

Required. Spec for exact match metric.

↳ instances array<Google\Cloud\AIPlatform\V1\ExactMatchInstance>

Required. Repeated exact match instances.

getMetricSpec

Required. Spec for exact match metric.

Returns
Type Description
Google\Cloud\AIPlatform\V1\ExactMatchSpec|null

hasMetricSpec

clearMetricSpec

setMetricSpec

Required. Spec for exact match metric.

Parameter
Name Description
var Google\Cloud\AIPlatform\V1\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<Google\Cloud\AIPlatform\V1\ExactMatchInstance>
Returns
Type Description
$this