text property

Contains the human-readable name for the returned result.

For establishment results, this is usually the business name and address. text is recommended for developers who wish to show a single UI element. Developers who wish to show two separate, but related, UI elements may want to use structured_format instead. They are two different ways to represent a Place prediction. Users should not try to parse structured_format into text or vice versa. This text may be different from the display_name returned by GetPlace. May be in mixed languages if the request input and language_code are in different languages or if the Place does not have a translation from the local language to language_code.

Implementation

GoogleMapsPlacesV1AutocompletePlacesResponseSuggestionFormattableText? text;