Table of Contents

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

string

LongText

Full text description of the component.

[JsonPropertyName("longText")]
public string? LongText { get; set; }

Property Value

string

ShortText

Abbreviated text of the component, if available.

[JsonPropertyName("shortText")]
public string? ShortText { get; set; }

Property Value

string

Types

Types of this address component.

[JsonPropertyName("types")]
public List<string>? Types { get; set; }

Property Value

List<string>