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

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

Input for summarization verbosity metric.

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

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

Required. Spec for summarization verbosity score metric.

↳ instance Google\Cloud\AIPlatform\V1\SummarizationVerbosityInstance

Required. Summarization verbosity instance.

getMetricSpec

Required. Spec for summarization verbosity score metric.

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

hasMetricSpec

clearMetricSpec

setMetricSpec

Required. Spec for summarization verbosity score metric.

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

getInstance

Required. Summarization verbosity instance.

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

hasInstance

clearInstance

setInstance

Required. Summarization verbosity instance.

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