Reference documentation and code samples for the Google Cloud Discovery Engine V1 Client class QueryUnderstandingSpec.
Query understanding specification.
Generated from protobuf message google.cloud.discoveryengine.v1.AnswerQueryRequest.QueryUnderstandingSpec
Namespace
Google \ Cloud \ DiscoveryEngine \ V1 \ AnswerQueryRequestMethods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ query_classification_spec |
QueryUnderstandingSpec\QueryClassificationSpec
Query classification specification. |
↳ query_rephraser_spec |
QueryUnderstandingSpec\QueryRephraserSpec
Query rephraser specification. |
getQueryClassificationSpec
Query classification specification.
Returns | |
---|---|
Type | Description |
QueryUnderstandingSpec\QueryClassificationSpec|null |
hasQueryClassificationSpec
clearQueryClassificationSpec
setQueryClassificationSpec
Query classification specification.
Parameter | |
---|---|
Name | Description |
var |
QueryUnderstandingSpec\QueryClassificationSpec
|
Returns | |
---|---|
Type | Description |
$this |
getQueryRephraserSpec
Query rephraser specification.
Returns | |
---|---|
Type | Description |
QueryUnderstandingSpec\QueryRephraserSpec|null |
hasQueryRephraserSpec
clearQueryRephraserSpec
setQueryRephraserSpec
Query rephraser specification.
Parameter | |
---|---|
Name | Description |
var |
QueryUnderstandingSpec\QueryRephraserSpec
|
Returns | |
---|---|
Type | Description |
$this |