Google Cloud Dialogflow V2 Client - Class Sections (1.12.2)

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

Custom sections to return when requesting a summary of a conversation.

This is only supported when baseline_model_version == '2.0'. Supported features: CONVERSATION_SUMMARIZATION, CONVERSATION_SUMMARIZATION_VOICE.

Generated from protobuf message google.cloud.dialogflow.v2.HumanAgentAssistantConfig.SuggestionQueryConfig.Sections

Namespace

Google \ Cloud \ Dialogflow \ V2 \ HumanAgentAssistantConfig \ SuggestionQueryConfig

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ section_types array

The selected sections chosen to return when requesting a summary of a conversation. A duplicate selected section will be treated as a single selected section. If section types are not provided, the default will be {SITUATION, ACTION, RESULT}.

getSectionTypes

The selected sections chosen to return when requesting a summary of a conversation. A duplicate selected section will be treated as a single selected section. If section types are not provided, the default will be {SITUATION, ACTION, RESULT}.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setSectionTypes

The selected sections chosen to return when requesting a summary of a conversation. A duplicate selected section will be treated as a single selected section. If section types are not provided, the default will be {SITUATION, ACTION, RESULT}.

Parameter
Name Description
var int[]
Returns
Type Description
$this