View Source GoogleApi.DiscoveryEngine.V1beta.Model.GoogleCloudDiscoveryengineV1betaSearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilterGeolocationConstraint (google_api_discovery_engine v0.27.0)

Constraint of a geolocation field. Name of the geolocation field as defined in the schema.

Attributes

  • address (type: String.t, default: nil) - The reference address that was inferred from the input query. The proximity of the reference address to the geolocation field will be used to filter the results.
  • fieldName (type: String.t, default: nil) - The name of the geolocation field as defined in the schema.
  • latitude (type: float(), default: nil) - The latitude of the geolocation inferred from the input query.
  • longitude (type: float(), default: nil) - The longitude of the geolocation inferred from the input query.
  • radiusInMeters (type: number(), default: nil) - The radius in meters around the address. The record is returned if the location of the geolocation field is within the radius.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() ::
  %GoogleApi.DiscoveryEngine.V1beta.Model.GoogleCloudDiscoveryengineV1betaSearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilterGeolocationConstraint{
    address: String.t() | nil,
    fieldName: String.t() | nil,
    latitude: float() | nil,
    longitude: float() | nil,
    radiusInMeters: number() | nil
  }

Functions

decode(value, options)

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

Unwrap a decoded JSON object into its complex fields.