View Source GoogleApi.DiscoveryEngine.V1beta.Model.GoogleCloudDiscoveryengineV1betaSearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilterStringConstraint (google_api_discovery_engine v0.16.0)

Constraint expression of a string field.

Attributes

  • fieldName (type: String.t, default: nil) - Name of the string field as defined in the schema.
  • querySegment (type: String.t, default: nil) - Identifies the keywords within the search query that match a filter.
  • values (type: list(String.t), default: nil) - Values of the string field. The record will only be returned if the field value matches one of the values specified here.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() ::
  %GoogleApi.DiscoveryEngine.V1beta.Model.GoogleCloudDiscoveryengineV1betaSearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilterStringConstraint{
    fieldName: String.t() | nil,
    querySegment: String.t() | nil,
    values: [String.t()] | nil
  }

Functions

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

Unwrap a decoded JSON object into its complex fields.