Reference documentation and code samples for the Google Cloud Dialogflow V2 Client class SectionToken.
A pair of section name and input token count of the input summary section.
Generated from protobuf message google.cloud.dialogflow.v2.SummarizationEvaluationMetrics.SectionToken
Namespace
Google \ Cloud \ Dialogflow \ V2 \ SummarizationEvaluationMetricsMethods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ section |
string
Output only. The name of the summary instruction. |
↳ token_count |
int|string
Output only. Token count. |
getSection
Output only. The name of the summary instruction.
| Returns | |
|---|---|
| Type | Description |
string |
|
setSection
Output only. The name of the summary instruction.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getTokenCount
Output only. Token count.
| Returns | |
|---|---|
| Type | Description |
int|string |
|
hasTokenCount
clearTokenCount
setTokenCount
Output only. Token count.
| Parameter | |
|---|---|
| Name | Description |
var |
int|string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|