Reference documentation and code samples for the Google Cloud Contact Center Insights V1 Client class ConversationSummarizationSuggestionData.
Conversation summarization suggestion data.
Generated from protobuf message google.cloud.contactcenterinsights.v1.ConversationSummarizationSuggestionData
Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ text |
string
The summarization content that is concatenated into one string. |
↳ text_sections |
array|Google\Protobuf\Internal\MapField
The summarization content that is divided into sections. The key is the section's name and the value is the section's content. There is no specific format for the key or value. |
↳ confidence |
float
The confidence score of the summarization. |
↳ metadata |
array|Google\Protobuf\Internal\MapField
A map that contains metadata about the summarization and the document from which it originates. |
↳ answer_record |
string
The name of the answer record. Format: projects/{project}/locations/{location}/answerRecords/{answer_record} |
↳ conversation_model |
string
The name of the model that generates this summary. Format: projects/{project}/locations/{location}/conversationModels/{conversation_model} |
getText
The summarization content that is concatenated into one string.
Returns | |
---|---|
Type | Description |
string |
setText
The summarization content that is concatenated into one string.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getTextSections
The summarization content that is divided into sections. The key is the section's name and the value is the section's content. There is no specific format for the key or value.
Returns | |
---|---|
Type | Description |
Google\Protobuf\Internal\MapField |
setTextSections
The summarization content that is divided into sections. The key is the section's name and the value is the section's content. There is no specific format for the key or value.
Parameter | |
---|---|
Name | Description |
var |
array|Google\Protobuf\Internal\MapField
|
Returns | |
---|---|
Type | Description |
$this |
getConfidence
The confidence score of the summarization.
Returns | |
---|---|
Type | Description |
float |
setConfidence
The confidence score of the summarization.
Parameter | |
---|---|
Name | Description |
var |
float
|
Returns | |
---|---|
Type | Description |
$this |
getMetadata
A map that contains metadata about the summarization and the document from which it originates.
Returns | |
---|---|
Type | Description |
Google\Protobuf\Internal\MapField |
setMetadata
A map that contains metadata about the summarization and the document from which it originates.
Parameter | |
---|---|
Name | Description |
var |
array|Google\Protobuf\Internal\MapField
|
Returns | |
---|---|
Type | Description |
$this |
getAnswerRecord
The name of the answer record.
Format: projects/{project}/locations/{location}/answerRecords/{answer_record}
Returns | |
---|---|
Type | Description |
string |
setAnswerRecord
The name of the answer record.
Format: projects/{project}/locations/{location}/answerRecords/{answer_record}
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getConversationModel
The name of the model that generates this summary.
Format: projects/{project}/locations/{location}/conversationModels/{conversation_model}
Returns | |
---|---|
Type | Description |
string |
setConversationModel
The name of the model that generates this summary.
Format: projects/{project}/locations/{location}/conversationModels/{conversation_model}
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |