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 \ WidgetConfigMethods
static::name
| Parameter | |
|---|---|
| Name | Description |
value |
mixed
|
static::value
| Parameter | |
|---|---|
| Name | Description |
name |
mixed
|
Constants
RESULT_DISPLAY_TYPE_UNSPECIFIED
Value: 0Unspecified display type (default to showing snippet).
Generated from protobuf enum RESULT_DISPLAY_TYPE_UNSPECIFIED = 0;
SNIPPET
Value: 1Display results from the snippet field.
Generated from protobuf enum SNIPPET = 1;
EXTRACTIVE_ANSWER
Value: 2Display results from extractive answers field.
Generated from protobuf enum EXTRACTIVE_ANSWER = 2;