Class Place.Types.AddressComponent
The structured components that form the formatted address, if this information is available.
Implements
Namespace: Google.Maps.Places.V1
Assembly: Google.Maps.Places.V1.dll
Syntax
public sealed class Place.Types.AddressComponent : IMessage<Place.Types.AddressComponent>, IEquatable<Place.Types.AddressComponent>, IDeepCloneable<Place.Types.AddressComponent>, IBufferMessage, IMessage
Constructors
AddressComponent()
Declaration
public AddressComponent()
AddressComponent(AddressComponent)
Declaration
public AddressComponent(Place.Types.AddressComponent other)
Parameters
Type | Name | Description |
---|---|---|
Place.Types.AddressComponent | other |
Properties
LanguageCode
The language used to format this components, in CLDR notation.
Declaration
public string LanguageCode { get; set; }
Property Value
Type | Description |
---|---|
string |
LongText
The full text description or name of the address component. For example, an address component for the country Australia may have a long_name of "Australia".
Declaration
public string LongText { get; set; }
Property Value
Type | Description |
---|---|
string |
ShortText
An abbreviated textual name for the address component, if available. For example, an address component for the country of Australia may have a short_name of "AU".
Declaration
public string ShortText { get; set; }
Property Value
Type | Description |
---|---|
string |
Types_
An array indicating the type(s) of the address component.
Declaration
public RepeatedField<string> Types_ { get; }
Property Value
Type | Description |
---|---|
RepeatedField<string> |