Class NumberConstraint (0.13.1)

NumberConstraint(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Constraint expression of a number field. Example: price < 100.

Attributes

Name Description
field_name str
Name of the numerical field as defined in the schema.
comparison google.cloud.discoveryengine_v1alpha.types.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.NumberConstraint.Comparison
The comparison operation performed between the field value and the value specified in the constraint.
value float
The value specified in the numerical constraint.
query_segment str
Identifies the keywords within the search query that match a filter.

Classes

Comparison

Comparison(value)

The comparison operation that was performed.