Google Cloud Ai Platform V1 Client - Class ToolParameterKVMatchInput (1.5.0)

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

Input for tool parameter key value match metric.

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

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\ToolParameterKVMatchSpec

Required. Spec for tool parameter key value match metric.

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

Required. Repeated tool parameter key value match instances.

getMetricSpec

Required. Spec for tool parameter key value match metric.

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

hasMetricSpec

clearMetricSpec

setMetricSpec

Required. Spec for tool parameter key value match metric.

Parameter
Name Description
var Google\Cloud\AIPlatform\V1\ToolParameterKVMatchSpec
Returns
Type Description
$this

getInstances

Required. Repeated tool parameter key value match instances.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setInstances

Required. Repeated tool parameter key value match instances.

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