Google Cloud Discovery Engine V1 Client - Class NaturalLanguageQueryUnderstandingConfig (1.11.0)

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

Configuration for Natural Language Query Understanding.

Generated from protobuf message google.cloud.discoveryengine.v1.NaturalLanguageQueryUnderstandingConfig

Namespace

Google \ Cloud \ DiscoveryEngine \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ mode int

Mode of Natural Language Query Understanding. If this field is unset, the behavior defaults to NaturalLanguageQueryUnderstandingConfig.Mode.DISABLED.

getMode

Mode of Natural Language Query Understanding. If this field is unset, the behavior defaults to NaturalLanguageQueryUnderstandingConfig.Mode.DISABLED.

Returns
Type Description
int Enum of type Mode.

setMode

Mode of Natural Language Query Understanding. If this field is unset, the behavior defaults to NaturalLanguageQueryUnderstandingConfig.Mode.DISABLED.

Parameter
Name Description
var int

Enum of type Mode.

Returns
Type Description
$this