View Source GoogleApi.DiscoveryEngine.V1beta.Model.GoogleCloudDiscoveryengineV1betaSearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilterNumberConstraint (google_api_discovery_engine v0.22.0)

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

Attributes

  • comparison (type: String.t, default: nil) - The comparison operation performed between the field value and the value specified in the constraint.
  • fieldName (type: String.t, default: nil) - Name of the numerical field as defined in the schema.
  • querySegment (type: String.t, default: nil) - Identifies the keywords within the search query that match a filter.
  • value (type: float(), default: nil) - The value specified in the numerical constraint.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() ::
  %GoogleApi.DiscoveryEngine.V1beta.Model.GoogleCloudDiscoveryengineV1betaSearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilterNumberConstraint{
    comparison: String.t() | nil,
    fieldName: String.t() | nil,
    querySegment: String.t() | nil,
    value: float() | nil
  }

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.