Class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaSearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilter

Inherits:
Object
  • Object
show all
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

The filters that were extracted from the input query represented in a structured form.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1alphaSearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilter

Returns a new instance of GoogleCloudDiscoveryengineV1alphaSearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilter.



11997
11998
11999
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 11997

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#expressionGoogle::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaSearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilterExpression

The expression denoting the filter that was extracted from the input query. Corresponds to the JSON property expression



11995
11996
11997
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 11995

def expression
  @expression
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



12002
12003
12004
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 12002

def update!(**args)
  @expression = args[:expression] if args.key?(:expression)
end