Google Cloud Ai Platform V1 Client - Class ToolCallValidInput (1.8.0)

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

Input for tool call valid metric.

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

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

Required. Spec for tool call valid metric.

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

Required. Repeated tool call valid instances.

getMetricSpec

Required. Spec for tool call valid metric.

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

hasMetricSpec

clearMetricSpec

setMetricSpec

Required. Spec for tool call valid metric.

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

getInstances

Required. Repeated tool call valid instances.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setInstances

Required. Repeated tool call valid instances.

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