Google Cloud Dialogflow V2 Client - Class Summary (1.8.0)

Reference documentation and code samples for the Google Cloud Dialogflow V2 Client class Summary.

Generated summary for a conversation.

Generated from protobuf message google.cloud.dialogflow.v2.GenerateStatelessSummaryResponse.Summary

Namespace

Google \ Cloud \ Dialogflow \ V2 \ GenerateStatelessSummaryResponse

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ text string

The summary content that is concatenated into one string.

↳ text_sections array|Google\Protobuf\Internal\MapField

The summary 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.

↳ baseline_model_version string

The baseline model version used to generate this summary. It is empty if a baseline model was not used to generate this summary.

getText

The summary content that is concatenated into one string.

Returns
TypeDescription
string

setText

The summary content that is concatenated into one string.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getTextSections

The summary 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 summary 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

getBaselineModelVersion

The baseline model version used to generate this summary. It is empty if a baseline model was not used to generate this summary.

Returns
TypeDescription
string

setBaselineModelVersion

The baseline model version used to generate this summary. It is empty if a baseline model was not used to generate this summary.

Parameter
NameDescription
var string
Returns
TypeDescription
$this