Address

地点的地址。

JSON 表示法
{
  "formattedAddress": {
    object (FormattedAddress)
  },
  "addressComponents": [
    {
      object (AddressComponent)
    }
  ]
}
字段
formattedAddress

object (FormattedAddress)

此地点的直观易懂的完整地址。

addressComponents[]

object (AddressComponent)

地址组成部分的列表。

FormattedAddress

包含此消息的实体的人类可读完整地址。

JSON 表示法
{
  "lines": [
    string
  ]
}
字段
lines[]

string

描述地址的文本行。其中必须至少有一行。

AddressComponent

描述地址一部分的地址组成部分。

JSON 表示法
{
  "componentText": string,
  "componentTextShortForm": string,
  "types": [
    string
  ]
}
字段
componentText

string

此组件的名称,用于描述地址的一部分。例如,“California”(加利福尼亚州)、“Amphitheatre Parkway”。

componentTextShortForm

string

组件文本的简短形式。例如,“CA”表示“加利福尼亚州”,“US”表示“美国”。

types[]

string

此组成部分的类型,用于描述地址的一部分。如需查看支持的类型的列表,请参阅 https://developers.google.com/places/web-service/supported_types#table2