Optional. Version of the feature. If not set, default to latest version. Current candidates are ["1.0"].
↳ output_language_code
string
Optional. The target language of the generated summary. The language code for conversation will be used if this field is empty. Supported 2.0 and later versions.
getSummarizationSections
Optional. List of sections. Note it contains both predefined section sand
customer defined sections.
Optional. Version of the feature. If not set, default to latest version.
Current candidates are ["1.0"].
Returns
Type
Description
string
setVersion
Optional. Version of the feature. If not set, default to latest version.
Current candidates are ["1.0"].
Parameter
Name
Description
var
string
Returns
Type
Description
$this
getOutputLanguageCode
Optional. The target language of the generated summary. The language code
for conversation will be used if this field is empty. Supported 2.0 and
later versions.
Returns
Type
Description
string
setOutputLanguageCode
Optional. The target language of the generated summary. The language code
for conversation will be used if this field is empty. Supported 2.0 and
later versions.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Google Cloud Dialogflow V2 Client - Class SummarizationContext (2.1.2)\n\nVersion latestkeyboard_arrow_down\n\n- [2.1.2 (latest)](/php/docs/reference/cloud-dialogflow/latest/V2.SummarizationContext)\n- [2.1.1](/php/docs/reference/cloud-dialogflow/2.1.1/V2.SummarizationContext)\n- [2.0.1](/php/docs/reference/cloud-dialogflow/2.0.1/V2.SummarizationContext)\n- [1.17.2](/php/docs/reference/cloud-dialogflow/1.17.2/V2.SummarizationContext)\n- [1.16.0](/php/docs/reference/cloud-dialogflow/1.16.0/V2.SummarizationContext)\n- [1.15.1](/php/docs/reference/cloud-dialogflow/1.15.1/V2.SummarizationContext)\n- [1.14.0](/php/docs/reference/cloud-dialogflow/1.14.0/V2.SummarizationContext)\n- [1.13.0](/php/docs/reference/cloud-dialogflow/1.13.0/V2.SummarizationContext)\n- [1.12.3](/php/docs/reference/cloud-dialogflow/1.12.3/V2.SummarizationContext)\n- [1.11.0](/php/docs/reference/cloud-dialogflow/1.11.0/V2.SummarizationContext)\n- [1.10.2](/php/docs/reference/cloud-dialogflow/1.10.2/V2.SummarizationContext)\n- [1.9.0](/php/docs/reference/cloud-dialogflow/1.9.0/V2.SummarizationContext)\n- [1.8.0](/php/docs/reference/cloud-dialogflow/1.8.0/V2.SummarizationContext)\n- [1.7.2](/php/docs/reference/cloud-dialogflow/1.7.2/V2.SummarizationContext)\n- [1.6.0](/php/docs/reference/cloud-dialogflow/1.6.0/V2.SummarizationContext)\n- [1.5.0](/php/docs/reference/cloud-dialogflow/1.5.0/V2.SummarizationContext)\n- [1.4.0](/php/docs/reference/cloud-dialogflow/1.4.0/V2.SummarizationContext)\n- [1.3.2](/php/docs/reference/cloud-dialogflow/1.3.2/V2.SummarizationContext)\n- [1.2.0](/php/docs/reference/cloud-dialogflow/1.2.0/V2.SummarizationContext)\n- [1.1.1](/php/docs/reference/cloud-dialogflow/1.1.1/V2.SummarizationContext)\n- [1.0.1](/php/docs/reference/cloud-dialogflow/1.0.1/V2.SummarizationContext) \nReference documentation and code samples for the Google Cloud Dialogflow V2 Client class SummarizationContext.\n\nSummarization context that customer can configure.\n\nGenerated from protobuf message `google.cloud.dialogflow.v2.SummarizationContext`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ Dialogflow \\\\ V2\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getSummarizationSections\n\nOptional. List of sections. Note it contains both predefined section sand\ncustomer defined sections.\n\n### setSummarizationSections\n\nOptional. List of sections. Note it contains both predefined section sand\ncustomer defined sections.\n\n### getFewShotExamples\n\nOptional. List of few shot examples.\n\n### setFewShotExamples\n\nOptional. List of few shot examples.\n\n### getVersion\n\nOptional. Version of the feature. If not set, default to latest version.\n\nCurrent candidates are \\[\"1.0\"\\].\n\n### setVersion\n\nOptional. Version of the feature. If not set, default to latest version.\n\nCurrent candidates are \\[\"1.0\"\\].\n\n### getOutputLanguageCode\n\nOptional. The target language of the generated summary. The language code\nfor conversation will be used if this field is empty. Supported 2.0 and\nlater versions.\n\n### setOutputLanguageCode\n\nOptional. The target language of the generated summary. The language code\nfor conversation will be used if this field is empty. Supported 2.0 and\nlater versions."]]