Class AddressComponent
- Namespace
- GoogleMapsApi.Entities.PlacesNew.Response
- Assembly
- GoogleMapsApi.dll
A structured component of a place's address.
public sealed class AddressComponent
- Inheritance
-
AddressComponent
- Inherited Members
Properties
LanguageCode
BCP-47 language code of the component text.
[JsonPropertyName("languageCode")]
public string? LanguageCode { get; set; }
Property Value
LongText
Full text description of the component.
[JsonPropertyName("longText")]
public string? LongText { get; set; }
Property Value
ShortText
Abbreviated text of the component, if available.
[JsonPropertyName("shortText")]
public string? ShortText { get; set; }
Property Value
Types
Types of this address component.
[JsonPropertyName("types")]
public List<string>? Types { get; set; }