Class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaSearchResponseNaturalLanguageQueryUnderstandingInfo
- Inherits:
-
Object
- Object
- Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaSearchResponseNaturalLanguageQueryUnderstandingInfo
- 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
Information describing what natural language understanding was done on the input query.
Instance Attribute Summary collapse
-
#extracted_filters ⇒ String
The filters that were extracted from the input query.
-
#rewritten_query ⇒ String
Rewritten input query minus the extracted filters.
-
#structured_extracted_filter ⇒ Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaSearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilter
The filters that were extracted from the input query represented in a structured form.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1alphaSearchResponseNaturalLanguageQueryUnderstandingInfo
constructor
A new instance of GoogleCloudDiscoveryengineV1alphaSearchResponseNaturalLanguageQueryUnderstandingInfo.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1alphaSearchResponseNaturalLanguageQueryUnderstandingInfo
Returns a new instance of GoogleCloudDiscoveryengineV1alphaSearchResponseNaturalLanguageQueryUnderstandingInfo.
16140 16141 16142 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 16140 def initialize(**args) update!(**args) end |
Instance Attribute Details
#extracted_filters ⇒ String
The filters that were extracted from the input query.
Corresponds to the JSON property extractedFilters
16127 16128 16129 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 16127 def extracted_filters @extracted_filters end |
#rewritten_query ⇒ String
Rewritten input query minus the extracted filters.
Corresponds to the JSON property rewrittenQuery
16132 16133 16134 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 16132 def rewritten_query @rewritten_query end |
#structured_extracted_filter ⇒ Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaSearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilter
The filters that were extracted from the input query represented in a
structured form.
Corresponds to the JSON property structuredExtractedFilter
16138 16139 16140 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 16138 def structured_extracted_filter @structured_extracted_filter end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
16145 16146 16147 16148 16149 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 16145 def update!(**args) @extracted_filters = args[:extracted_filters] if args.key?(:extracted_filters) @rewritten_query = args[:rewritten_query] if args.key?(:rewritten_query) @structured_extracted_filter = args[:structured_extracted_filter] if args.key?(:structured_extracted_filter) end |