Google Cloud Retail V2 Client - Class Condition (1.0.1)

Reference documentation and code samples for the Google Cloud Retail V2 Client class Condition.

Enum describing under which condition query expansion should occur.

Protobuf type google.cloud.retail.v2.SearchRequest.QueryExpansionSpec.Condition

Methods

name

Parameter
NameDescription
value mixed

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: 3

Automatic query expansion built by Google Retail Search.

Generated from protobuf enum AUTO = 3;