Class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1AnswerQueryRequestQueryUnderstandingSpec
- Inherits:
-
Object
- Object
- Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1AnswerQueryRequestQueryUnderstandingSpec
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/discoveryengine_v1/classes.rb,
lib/google/apis/discoveryengine_v1/representations.rb,
lib/google/apis/discoveryengine_v1/representations.rb
Overview
Query understanding specification.
Instance Attribute Summary collapse
-
#query_classification_spec ⇒ Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1AnswerQueryRequestQueryUnderstandingSpecQueryClassificationSpec
Query classification specification.
-
#query_rephraser_spec ⇒ Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1AnswerQueryRequestQueryUnderstandingSpecQueryRephraserSpec
Query rephraser specification.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1AnswerQueryRequestQueryUnderstandingSpec
constructor
A new instance of GoogleCloudDiscoveryengineV1AnswerQueryRequestQueryUnderstandingSpec.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1AnswerQueryRequestQueryUnderstandingSpec
Returns a new instance of GoogleCloudDiscoveryengineV1AnswerQueryRequestQueryUnderstandingSpec.
1164 1165 1166 |
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 1164 def initialize(**args) update!(**args) end |
Instance Attribute Details
#query_classification_spec ⇒ Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1AnswerQueryRequestQueryUnderstandingSpecQueryClassificationSpec
Query classification specification.
Corresponds to the JSON property queryClassificationSpec
1157 1158 1159 |
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 1157 def query_classification_spec @query_classification_spec end |
#query_rephraser_spec ⇒ Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1AnswerQueryRequestQueryUnderstandingSpecQueryRephraserSpec
Query rephraser specification.
Corresponds to the JSON property queryRephraserSpec
1162 1163 1164 |
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 1162 def query_rephraser_spec @query_rephraser_spec end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1169 1170 1171 1172 |
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 1169 def update!(**args) @query_classification_spec = args[:query_classification_spec] if args.key?(:query_classification_spec) @query_rephraser_spec = args[:query_rephraser_spec] if args.key?(:query_rephraser_spec) end |