Class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaSearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilterExpression
- Inherits:
-
Object
- Object
- Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaSearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilterExpression
- 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 expression denoting the filter that was extracted from the input query.
Instance Attribute Summary collapse
-
#and_expr ⇒ Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaSearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilterAndExpression
Logical
And
operator. -
#geolocation_constraint ⇒ Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaSearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilterGeolocationConstraint
Constraint of a geolocation field.
-
#number_constraint ⇒ Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaSearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilterNumberConstraint
Constraint expression of a number field.
-
#or_expr ⇒ Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaSearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilterOrExpression
Logical
Or
operator. -
#string_constraint ⇒ Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaSearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilterStringConstraint
Constraint expression of a string field.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1alphaSearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilterExpression
constructor
A new instance of GoogleCloudDiscoveryengineV1alphaSearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilterExpression.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1alphaSearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilterExpression
Returns a new instance of GoogleCloudDiscoveryengineV1alphaSearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilterExpression.
16221 16222 16223 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 16221 def initialize(**args) update!(**args) end |
Instance Attribute Details
#and_expr ⇒ Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaSearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilterAndExpression
Logical And
operator.
Corresponds to the JSON property andExpr
16198 16199 16200 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 16198 def and_expr @and_expr end |
#geolocation_constraint ⇒ Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaSearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilterGeolocationConstraint
Constraint of a geolocation field. Name of the geolocation field as defined in
the schema.
Corresponds to the JSON property geolocationConstraint
16204 16205 16206 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 16204 def geolocation_constraint @geolocation_constraint end |
#number_constraint ⇒ Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaSearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilterNumberConstraint
Constraint expression of a number field. Example: price < 100.
Corresponds to the JSON property numberConstraint
16209 16210 16211 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 16209 def number_constraint @number_constraint end |
#or_expr ⇒ Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaSearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilterOrExpression
Logical Or
operator.
Corresponds to the JSON property orExpr
16214 16215 16216 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 16214 def or_expr @or_expr end |
#string_constraint ⇒ Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaSearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilterStringConstraint
Constraint expression of a string field.
Corresponds to the JSON property stringConstraint
16219 16220 16221 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 16219 def string_constraint @string_constraint end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
16226 16227 16228 16229 16230 16231 16232 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 16226 def update!(**args) @and_expr = args[:and_expr] if args.key?(:and_expr) @geolocation_constraint = args[:geolocation_constraint] if args.key?(:geolocation_constraint) @number_constraint = args[:number_constraint] if args.key?(:number_constraint) @or_expr = args[:or_expr] if args.key?(:or_expr) @string_constraint = args[:string_constraint] if args.key?(:string_constraint) end |