Class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaSearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilterExpression
- Inherits:
-
Object
- Object
- Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaSearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilterExpression
- 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
The expression denoting the filter that was extracted from the input query.
Instance Attribute Summary collapse
-
#and_expr ⇒ Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaSearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilterAndExpression
Logical
Andoperator. -
#geolocation_constraint ⇒ Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaSearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilterGeolocationConstraint
Constraint of a geolocation field.
-
#number_constraint ⇒ Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaSearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilterNumberConstraint
Constraint expression of a number field.
-
#or_expr ⇒ Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaSearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilterOrExpression
Logical
Oroperator. -
#string_constraint ⇒ Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaSearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilterStringConstraint
Constraint expression of a string field.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1betaSearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilterExpression
constructor
A new instance of GoogleCloudDiscoveryengineV1betaSearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilterExpression.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1betaSearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilterExpression
Returns a new instance of GoogleCloudDiscoveryengineV1betaSearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilterExpression.
32483 32484 32485 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 32483 def initialize(**args) update!(**args) end |
Instance Attribute Details
#and_expr ⇒ Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaSearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilterAndExpression
Logical And operator.
Corresponds to the JSON property andExpr
32460 32461 32462 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 32460 def and_expr @and_expr end |
#geolocation_constraint ⇒ Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaSearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilterGeolocationConstraint
Constraint of a geolocation field. Name of the geolocation field as defined in
the schema.
Corresponds to the JSON property geolocationConstraint
32466 32467 32468 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 32466 def geolocation_constraint @geolocation_constraint end |
#number_constraint ⇒ Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaSearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilterNumberConstraint
Constraint expression of a number field. Example: price < 100.
Corresponds to the JSON property numberConstraint
32471 32472 32473 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 32471 def number_constraint @number_constraint end |
#or_expr ⇒ Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaSearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilterOrExpression
Logical Or operator.
Corresponds to the JSON property orExpr
32476 32477 32478 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 32476 def or_expr @or_expr end |
#string_constraint ⇒ Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaSearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilterStringConstraint
Constraint expression of a string field.
Corresponds to the JSON property stringConstraint
32481 32482 32483 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 32481 def string_constraint @string_constraint end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
32488 32489 32490 32491 32492 32493 32494 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 32488 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 |