Class GoogleMapsPlacesV1AutocompletePlacesResponseSuggestionStructuredFormat
Contains a breakdown of a Place or query prediction into main text and secondary text. For Place predictions, the main text contains the specific name of the Place. For query predictions, the main text contains the query. The secondary text contains additional disambiguating features (such as a city or region) to further identify the Place or refine the query.
Implements
Inherited Members
Namespace: Google.Apis.MapsPlaces.v1.Data
Assembly: Google.Apis.MapsPlaces.v1.dll
Syntax
public class GoogleMapsPlacesV1AutocompletePlacesResponseSuggestionStructuredFormat : IDirectResponseSchema
Properties
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
MainText
Represents the name of the Place or query.
Declaration
[JsonProperty("mainText")]
public virtual GoogleMapsPlacesV1AutocompletePlacesResponseSuggestionFormattableText MainText { get; set; }
Property Value
Type | Description |
---|---|
GoogleMapsPlacesV1AutocompletePlacesResponseSuggestionFormattableText |
SecondaryText
Represents additional disambiguating features (such as a city or region) to further identify the Place or refine the query.
Declaration
[JsonProperty("secondaryText")]
public virtual GoogleMapsPlacesV1AutocompletePlacesResponseSuggestionFormattableText SecondaryText { get; set; }
Property Value
Type | Description |
---|---|
GoogleMapsPlacesV1AutocompletePlacesResponseSuggestionFormattableText |