Class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaAnswerQueryRequestQueryUnderstandingSpec
- Inherits:
-
Object
- Object
- Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaAnswerQueryRequestQueryUnderstandingSpec
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/discoveryengine_v1alpha/classes.rb,
lib/google/apis/discoveryengine_v1alpha/representations.rb,
lib/google/apis/discoveryengine_v1alpha/representations.rb
Overview
Query understanding specification.
Instance Attribute Summary collapse
-
#query_classification_spec ⇒ Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaAnswerQueryRequestQueryUnderstandingSpecQueryClassificationSpec
Query classification specification.
-
#query_rephraser_spec ⇒ Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaAnswerQueryRequestQueryUnderstandingSpecQueryRephraserSpec
Query rephraser specification.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1alphaAnswerQueryRequestQueryUnderstandingSpec
constructor
A new instance of GoogleCloudDiscoveryengineV1alphaAnswerQueryRequestQueryUnderstandingSpec.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1alphaAnswerQueryRequestQueryUnderstandingSpec
Returns a new instance of GoogleCloudDiscoveryengineV1alphaAnswerQueryRequestQueryUnderstandingSpec.
3006 3007 3008 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 3006 def initialize(**args) update!(**args) end |
Instance Attribute Details
#query_classification_spec ⇒ Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaAnswerQueryRequestQueryUnderstandingSpecQueryClassificationSpec
Query classification specification.
Corresponds to the JSON property queryClassificationSpec
2999 3000 3001 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 2999 def query_classification_spec @query_classification_spec end |
#query_rephraser_spec ⇒ Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaAnswerQueryRequestQueryUnderstandingSpecQueryRephraserSpec
Query rephraser specification.
Corresponds to the JSON property queryRephraserSpec
3004 3005 3006 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 3004 def query_rephraser_spec @query_rephraser_spec end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3011 3012 3013 3014 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 3011 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 |