Google Cloud Discovery Engine V1 Client - Class ResultDisplayType (1.17.0)
Stay organized with collections
Save and categorize content based on your preferences.
Reference documentation and code samples for the Google Cloud Discovery Engine V1 Client class ResultDisplayType.
The type of result to display in the ucs widget.
Protobuf type google.cloud.discoveryengine.v1.WidgetConfig.ResultDisplayType
Namespace
Google \ Cloud \ DiscoveryEngine \ V1 \ WidgetConfig
Methods
static::name
Parameter
Name
Description
value
mixed
static::value
Parameter
Name
Description
name
mixed
Constants
RESULT_DISPLAY_TYPE_UNSPECIFIED
Value: 0
Unspecified display type (default to showing snippet).
Generated from protobuf enum RESULT_DISPLAY_TYPE_UNSPECIFIED = 0;
SNIPPET
Value: 1
Display results from the snippet field.
Generated from protobuf enum SNIPPET = 1;
EXTRACTIVE_ANSWER
Value: 2
Display results from extractive answers field.
Generated from protobuf enum EXTRACTIVE_ANSWER = 2;
[[["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 2026-11-17 UTC."],[],[]]