StructuredExtractedFilter(mapping=None, *, ignore_unknown_fields=False, **kwargs)The filters that were extracted from the input query represented in a structured form.
Attribute |
|
|---|---|
| Name | Description |
expression |
google.cloud.discoveryengine_v1.types.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.Expression
The expression denoting the filter that was extracted from the input query in a structured form. It can be a simple expression denoting a single string, numerical or geolocation constraint or a compound expression which is a combination of multiple expressions connected using logical (OR and AND) operators. |
Classes
AndExpression
AndExpression(mapping=None, *, ignore_unknown_fields=False, **kwargs)Logical And operator.
Expression
Expression(mapping=None, *, ignore_unknown_fields=False, **kwargs)The expression denoting the filter that was extracted from the input query.
This message has oneof_ fields (mutually exclusive fields).
For each oneof, at most one member field can be set at the same time.
Setting any member of the oneof automatically clears all other
members.
.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields
GeolocationConstraint
GeolocationConstraint(mapping=None, *, ignore_unknown_fields=False, **kwargs)Constraint of a geolocation field. Name of the geolocation field as defined in the schema.
NumberConstraint
NumberConstraint(mapping=None, *, ignore_unknown_fields=False, **kwargs)Constraint expression of a number field. Example: price < 100.
OrExpression
OrExpression(mapping=None, *, ignore_unknown_fields=False, **kwargs)Logical Or operator.
StringConstraint
StringConstraint(mapping=None, *, ignore_unknown_fields=False, **kwargs)Constraint expression of a string field.