Discovery Engine v1beta API - Class SearchResponse.Types.NaturalLanguageQueryUnderstandingInfo.Types.StructuredExtractedFilter.Types.GeolocationConstraint (1.0.0-beta23)

public sealed class SearchResponse.Types.NaturalLanguageQueryUnderstandingInfo.Types.StructuredExtractedFilter.Types.GeolocationConstraint : IMessage<SearchResponse.Types.NaturalLanguageQueryUnderstandingInfo.Types.StructuredExtractedFilter.Types.GeolocationConstraint>, IEquatable<SearchResponse.Types.NaturalLanguageQueryUnderstandingInfo.Types.StructuredExtractedFilter.Types.GeolocationConstraint>, IDeepCloneable<SearchResponse.Types.NaturalLanguageQueryUnderstandingInfo.Types.StructuredExtractedFilter.Types.GeolocationConstraint>, IBufferMessage, IMessage

Reference documentation and code samples for the Discovery Engine v1beta API class SearchResponse.Types.NaturalLanguageQueryUnderstandingInfo.Types.StructuredExtractedFilter.Types.GeolocationConstraint.

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

Inheritance

object > SearchResponse.Types.NaturalLanguageQueryUnderstandingInfo.Types.StructuredExtractedFilter.Types.GeolocationConstraint

Namespace

Google.Cloud.DiscoveryEngine.V1Beta

Assembly

Google.Cloud.DiscoveryEngine.V1Beta.dll

Constructors

GeolocationConstraint()

public GeolocationConstraint()

GeolocationConstraint(GeolocationConstraint)

public GeolocationConstraint(SearchResponse.Types.NaturalLanguageQueryUnderstandingInfo.Types.StructuredExtractedFilter.Types.GeolocationConstraint other)
Parameter
Name Description
other SearchResponseTypesNaturalLanguageQueryUnderstandingInfoTypesStructuredExtractedFilterTypesGeolocationConstraint

Properties

Address

public string Address { get; set; }

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.

Property Value
Type Description
string

FieldName

public string FieldName { get; set; }

The name of the geolocation field as defined in the schema.

Property Value
Type Description
string

Latitude

public double Latitude { get; set; }

The latitude of the geolocation inferred from the input query.

Property Value
Type Description
double

Longitude

public double Longitude { get; set; }

The longitude of the geolocation inferred from the input query.

Property Value
Type Description
double

RadiusInMeters

public float RadiusInMeters { get; set; }

The radius in meters around the address. The record is returned if the location of the geolocation field is within the radius.

Property Value
Type Description
float