Google Cloud Contact Center Insights V1 Client - Class ConversationSummarizationSuggestionData (1.8.0)

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

Namespace

Google \ Cloud \ ContactCenterInsights \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
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
TypeDescription
string

setText

The summarization content that is concatenated into one string.

Parameter
NameDescription
var string
Returns
TypeDescription
$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
TypeDescription
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
NameDescription
var array|Google\Protobuf\Internal\MapField
Returns
TypeDescription
$this

getConfidence

The confidence score of the summarization.

Returns
TypeDescription
float

setConfidence

The confidence score of the summarization.

Parameter
NameDescription
var float
Returns
TypeDescription
$this

getMetadata

A map that contains metadata about the summarization and the document from which it originates.

Returns
TypeDescription
Google\Protobuf\Internal\MapField

setMetadata

A map that contains metadata about the summarization and the document from which it originates.

Parameter
NameDescription
var array|Google\Protobuf\Internal\MapField
Returns
TypeDescription
$this

getAnswerRecord

The name of the answer record.

Format: projects/{project}/locations/{location}/answerRecords/{answer_record}

Returns
TypeDescription
string

setAnswerRecord

The name of the answer record.

Format: projects/{project}/locations/{location}/answerRecords/{answer_record}

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getConversationModel

The name of the model that generates this summary.

Format: projects/{project}/locations/{location}/conversationModels/{conversation_model}

Returns
TypeDescription
string

setConversationModel

The name of the model that generates this summary.

Format: projects/{project}/locations/{location}/conversationModels/{conversation_model}

Parameter
NameDescription
var string
Returns
TypeDescription
$this