Reference documentation and code samples for the Discovery Engine V1BETA API class Google::Cloud::DiscoveryEngine::V1beta::SearchResponse::NaturalLanguageQueryUnderstandingInfo::StructuredExtractedFilter::Expression.
The expression denoting the filter that was extracted from the input query.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#and_expr
def and_expr() -> ::Google::Cloud::DiscoveryEngine::V1beta::SearchResponse::NaturalLanguageQueryUnderstandingInfo::StructuredExtractedFilter::AndExpression-
(::Google::Cloud::DiscoveryEngine::V1beta::SearchResponse::NaturalLanguageQueryUnderstandingInfo::StructuredExtractedFilter::AndExpression) — Logical "And" compound operator connecting multiple expressions.
Note: The following fields are mutually exclusive:
and_expr,string_constraint,number_constraint,geolocation_constraint,or_expr. If a field in that set is populated, all other fields in the set will automatically be cleared.
#and_expr=
def and_expr=(value) -> ::Google::Cloud::DiscoveryEngine::V1beta::SearchResponse::NaturalLanguageQueryUnderstandingInfo::StructuredExtractedFilter::AndExpression-
value (::Google::Cloud::DiscoveryEngine::V1beta::SearchResponse::NaturalLanguageQueryUnderstandingInfo::StructuredExtractedFilter::AndExpression) — Logical "And" compound operator connecting multiple expressions.
Note: The following fields are mutually exclusive:
and_expr,string_constraint,number_constraint,geolocation_constraint,or_expr. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::Google::Cloud::DiscoveryEngine::V1beta::SearchResponse::NaturalLanguageQueryUnderstandingInfo::StructuredExtractedFilter::AndExpression) — Logical "And" compound operator connecting multiple expressions.
Note: The following fields are mutually exclusive:
and_expr,string_constraint,number_constraint,geolocation_constraint,or_expr. If a field in that set is populated, all other fields in the set will automatically be cleared.
#geolocation_constraint
def geolocation_constraint() -> ::Google::Cloud::DiscoveryEngine::V1beta::SearchResponse::NaturalLanguageQueryUnderstandingInfo::StructuredExtractedFilter::GeolocationConstraint-
(::Google::Cloud::DiscoveryEngine::V1beta::SearchResponse::NaturalLanguageQueryUnderstandingInfo::StructuredExtractedFilter::GeolocationConstraint) — Geolocation constraint expression.
Note: The following fields are mutually exclusive:
geolocation_constraint,string_constraint,number_constraint,and_expr,or_expr. If a field in that set is populated, all other fields in the set will automatically be cleared.
#geolocation_constraint=
def geolocation_constraint=(value) -> ::Google::Cloud::DiscoveryEngine::V1beta::SearchResponse::NaturalLanguageQueryUnderstandingInfo::StructuredExtractedFilter::GeolocationConstraint-
value (::Google::Cloud::DiscoveryEngine::V1beta::SearchResponse::NaturalLanguageQueryUnderstandingInfo::StructuredExtractedFilter::GeolocationConstraint) — Geolocation constraint expression.
Note: The following fields are mutually exclusive:
geolocation_constraint,string_constraint,number_constraint,and_expr,or_expr. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::Google::Cloud::DiscoveryEngine::V1beta::SearchResponse::NaturalLanguageQueryUnderstandingInfo::StructuredExtractedFilter::GeolocationConstraint) — Geolocation constraint expression.
Note: The following fields are mutually exclusive:
geolocation_constraint,string_constraint,number_constraint,and_expr,or_expr. If a field in that set is populated, all other fields in the set will automatically be cleared.
#number_constraint
def number_constraint() -> ::Google::Cloud::DiscoveryEngine::V1beta::SearchResponse::NaturalLanguageQueryUnderstandingInfo::StructuredExtractedFilter::NumberConstraint-
(::Google::Cloud::DiscoveryEngine::V1beta::SearchResponse::NaturalLanguageQueryUnderstandingInfo::StructuredExtractedFilter::NumberConstraint) — Numerical constraint expression.
Note: The following fields are mutually exclusive:
number_constraint,string_constraint,geolocation_constraint,and_expr,or_expr. If a field in that set is populated, all other fields in the set will automatically be cleared.
#number_constraint=
def number_constraint=(value) -> ::Google::Cloud::DiscoveryEngine::V1beta::SearchResponse::NaturalLanguageQueryUnderstandingInfo::StructuredExtractedFilter::NumberConstraint-
value (::Google::Cloud::DiscoveryEngine::V1beta::SearchResponse::NaturalLanguageQueryUnderstandingInfo::StructuredExtractedFilter::NumberConstraint) — Numerical constraint expression.
Note: The following fields are mutually exclusive:
number_constraint,string_constraint,geolocation_constraint,and_expr,or_expr. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::Google::Cloud::DiscoveryEngine::V1beta::SearchResponse::NaturalLanguageQueryUnderstandingInfo::StructuredExtractedFilter::NumberConstraint) — Numerical constraint expression.
Note: The following fields are mutually exclusive:
number_constraint,string_constraint,geolocation_constraint,and_expr,or_expr. If a field in that set is populated, all other fields in the set will automatically be cleared.
#or_expr
def or_expr() -> ::Google::Cloud::DiscoveryEngine::V1beta::SearchResponse::NaturalLanguageQueryUnderstandingInfo::StructuredExtractedFilter::OrExpression-
(::Google::Cloud::DiscoveryEngine::V1beta::SearchResponse::NaturalLanguageQueryUnderstandingInfo::StructuredExtractedFilter::OrExpression) — Logical "Or" compound operator connecting multiple expressions.
Note: The following fields are mutually exclusive:
or_expr,string_constraint,number_constraint,geolocation_constraint,and_expr. If a field in that set is populated, all other fields in the set will automatically be cleared.
#or_expr=
def or_expr=(value) -> ::Google::Cloud::DiscoveryEngine::V1beta::SearchResponse::NaturalLanguageQueryUnderstandingInfo::StructuredExtractedFilter::OrExpression-
value (::Google::Cloud::DiscoveryEngine::V1beta::SearchResponse::NaturalLanguageQueryUnderstandingInfo::StructuredExtractedFilter::OrExpression) — Logical "Or" compound operator connecting multiple expressions.
Note: The following fields are mutually exclusive:
or_expr,string_constraint,number_constraint,geolocation_constraint,and_expr. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::Google::Cloud::DiscoveryEngine::V1beta::SearchResponse::NaturalLanguageQueryUnderstandingInfo::StructuredExtractedFilter::OrExpression) — Logical "Or" compound operator connecting multiple expressions.
Note: The following fields are mutually exclusive:
or_expr,string_constraint,number_constraint,geolocation_constraint,and_expr. If a field in that set is populated, all other fields in the set will automatically be cleared.
#string_constraint
def string_constraint() -> ::Google::Cloud::DiscoveryEngine::V1beta::SearchResponse::NaturalLanguageQueryUnderstandingInfo::StructuredExtractedFilter::StringConstraint-
(::Google::Cloud::DiscoveryEngine::V1beta::SearchResponse::NaturalLanguageQueryUnderstandingInfo::StructuredExtractedFilter::StringConstraint) — String constraint expression.
Note: The following fields are mutually exclusive:
string_constraint,number_constraint,geolocation_constraint,and_expr,or_expr. If a field in that set is populated, all other fields in the set will automatically be cleared.
#string_constraint=
def string_constraint=(value) -> ::Google::Cloud::DiscoveryEngine::V1beta::SearchResponse::NaturalLanguageQueryUnderstandingInfo::StructuredExtractedFilter::StringConstraint-
value (::Google::Cloud::DiscoveryEngine::V1beta::SearchResponse::NaturalLanguageQueryUnderstandingInfo::StructuredExtractedFilter::StringConstraint) — String constraint expression.
Note: The following fields are mutually exclusive:
string_constraint,number_constraint,geolocation_constraint,and_expr,or_expr. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::Google::Cloud::DiscoveryEngine::V1beta::SearchResponse::NaturalLanguageQueryUnderstandingInfo::StructuredExtractedFilter::StringConstraint) — String constraint expression.
Note: The following fields are mutually exclusive:
string_constraint,number_constraint,geolocation_constraint,and_expr,or_expr. If a field in that set is populated, all other fields in the set will automatically be cleared.