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

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

Input for groundedness metric.

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

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

Required. Spec for groundedness metric.

↳ instance Google\Cloud\AIPlatform\V1\GroundednessInstance

Required. Groundedness instance.

getMetricSpec

Required. Spec for groundedness metric.

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

hasMetricSpec

clearMetricSpec

setMetricSpec

Required. Spec for groundedness metric.

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

getInstance

Required. Groundedness instance.

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

hasInstance

clearInstance

setInstance

Required. Groundedness instance.

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