public sealed class SearchResponse.Types.NaturalLanguageQueryUnderstandingInfo.Types.StructuredExtractedFilter.Types.NumberConstraint : IMessage<SearchResponse.Types.NaturalLanguageQueryUnderstandingInfo.Types.StructuredExtractedFilter.Types.NumberConstraint>, IEquatable<SearchResponse.Types.NaturalLanguageQueryUnderstandingInfo.Types.StructuredExtractedFilter.Types.NumberConstraint>, IDeepCloneable<SearchResponse.Types.NaturalLanguageQueryUnderstandingInfo.Types.StructuredExtractedFilter.Types.NumberConstraint>, IBufferMessage, IMessage
Reference documentation and code samples for the Discovery Engine v1beta API class SearchResponse.Types.NaturalLanguageQueryUnderstandingInfo.Types.StructuredExtractedFilter.Types.NumberConstraint.
Constraint expression of a number field. Example: price < 100.
Inheritance
object > SearchResponse.Types.NaturalLanguageQueryUnderstandingInfo.Types.StructuredExtractedFilter.Types.NumberConstraintImplements
IMessageSearchResponseTypesNaturalLanguageQueryUnderstandingInfoTypesStructuredExtractedFilterTypesNumberConstraint, IEquatableSearchResponseTypesNaturalLanguageQueryUnderstandingInfoTypesStructuredExtractedFilterTypesNumberConstraint, IDeepCloneableSearchResponseTypesNaturalLanguageQueryUnderstandingInfoTypesStructuredExtractedFilterTypesNumberConstraint, IBufferMessage, IMessageNamespace
Google.Cloud.DiscoveryEngine.V1BetaAssembly
Google.Cloud.DiscoveryEngine.V1Beta.dll
Constructors
NumberConstraint()
public NumberConstraint()
NumberConstraint(NumberConstraint)
public NumberConstraint(SearchResponse.Types.NaturalLanguageQueryUnderstandingInfo.Types.StructuredExtractedFilter.Types.NumberConstraint other)
Parameter | |
---|---|
Name | Description |
other |
SearchResponseTypesNaturalLanguageQueryUnderstandingInfoTypesStructuredExtractedFilterTypesNumberConstraint |
Properties
Comparison
public SearchResponse.Types.NaturalLanguageQueryUnderstandingInfo.Types.StructuredExtractedFilter.Types.NumberConstraint.Types.Comparison Comparison { get; set; }
The comparison operation performed between the field value and the value specified in the constraint.
Property Value | |
---|---|
Type | Description |
SearchResponseTypesNaturalLanguageQueryUnderstandingInfoTypesStructuredExtractedFilterTypesNumberConstraintTypesComparison |
FieldName
public string FieldName { get; set; }
Name of the numerical field as defined in the schema.
Property Value | |
---|---|
Type | Description |
string |
Value
public double Value { get; set; }
The value specified in the numerical constraint.
Property Value | |
---|---|
Type | Description |
double |