Class AutocompletePlacesResponse.Types.Suggestion.Types.StructuredFormat
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
Namespace: Google.Maps.Places.V1
Assembly: Google.Maps.Places.V1.dll
Syntax
public sealed class AutocompletePlacesResponse.Types.Suggestion.Types.StructuredFormat : IMessage<AutocompletePlacesResponse.Types.Suggestion.Types.StructuredFormat>, IEquatable<AutocompletePlacesResponse.Types.Suggestion.Types.StructuredFormat>, IDeepCloneable<AutocompletePlacesResponse.Types.Suggestion.Types.StructuredFormat>, IBufferMessage, IMessage
Constructors
StructuredFormat()
Declaration
public StructuredFormat()
StructuredFormat(StructuredFormat)
Declaration
public StructuredFormat(AutocompletePlacesResponse.Types.Suggestion.Types.StructuredFormat other)
Parameters
Type | Name | Description |
---|---|---|
AutocompletePlacesResponse.Types.Suggestion.Types.StructuredFormat | other |
Properties
MainText
Represents the name of the Place or query.
Declaration
public AutocompletePlacesResponse.Types.Suggestion.Types.FormattableText MainText { get; set; }
Property Value
Type | Description |
---|---|
AutocompletePlacesResponse.Types.Suggestion.Types.FormattableText |
SecondaryText
Represents additional disambiguating features (such as a city or region) to further identify the Place or refine the query.
Declaration
public AutocompletePlacesResponse.Types.Suggestion.Types.FormattableText SecondaryText { get; set; }
Property Value
Type | Description |
---|---|
AutocompletePlacesResponse.Types.Suggestion.Types.FormattableText |