Google Cloud Discovery Engine V1 Client - Class ResultDisplayType (1.17.0)

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;