Class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAnswerQueryRequestQueryUnderstandingSpec
- Inherits:
-
Object
- Object
- Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAnswerQueryRequestQueryUnderstandingSpec
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/discoveryengine_v1beta/classes.rb,
lib/google/apis/discoveryengine_v1beta/representations.rb,
lib/google/apis/discoveryengine_v1beta/representations.rb
Overview
Query understanding specification.
Instance Attribute Summary collapse
-
#query_classification_spec ⇒ Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAnswerQueryRequestQueryUnderstandingSpecQueryClassificationSpec
Query classification specification.
-
#query_rephraser_spec ⇒ Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAnswerQueryRequestQueryUnderstandingSpecQueryRephraserSpec
Query rephraser specification.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1betaAnswerQueryRequestQueryUnderstandingSpec
constructor
A new instance of GoogleCloudDiscoveryengineV1betaAnswerQueryRequestQueryUnderstandingSpec.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1betaAnswerQueryRequestQueryUnderstandingSpec
Returns a new instance of GoogleCloudDiscoveryengineV1betaAnswerQueryRequestQueryUnderstandingSpec.
5829 5830 5831 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 5829 def initialize(**args) update!(**args) end |
Instance Attribute Details
#query_classification_spec ⇒ Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAnswerQueryRequestQueryUnderstandingSpecQueryClassificationSpec
Query classification specification.
Corresponds to the JSON property queryClassificationSpec
5822 5823 5824 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 5822 def query_classification_spec @query_classification_spec end |
#query_rephraser_spec ⇒ Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAnswerQueryRequestQueryUnderstandingSpecQueryRephraserSpec
Query rephraser specification.
Corresponds to the JSON property queryRephraserSpec
5827 5828 5829 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 5827 def query_rephraser_spec @query_rephraser_spec end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5834 5835 5836 5837 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 5834 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 |