Google Cloud Discovery Engine V1 Client - Class Condition (0.7.1)

Reference documentation and code samples for the Google Cloud Discovery Engine V1 Client class Condition.

Enum describing under which condition query expansion should occur.

Protobuf type google.cloud.discoveryengine.v1.SearchRequest.QueryExpansionSpec.Condition

Namespace

Google \ Cloud \ DiscoveryEngine \ V1 \ SearchRequest \ QueryExpansionSpec

Methods

static::name

Parameter
NameDescription
value mixed

static::value

Parameter
NameDescription
name mixed

Constants

CONDITION_UNSPECIFIED

Value: 0

Unspecified query expansion condition. In this case, server behavior defaults to Condition.DISABLED.

Generated from protobuf enum CONDITION_UNSPECIFIED = 0;

DISABLED

Value: 1

Disabled query expansion. Only the exact search query is used, even if SearchResponse.total_size is zero.

Generated from protobuf enum DISABLED = 1;

AUTO

Value: 2

Automatic query expansion built by the Search API.

Generated from protobuf enum AUTO = 2;