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