Address

場所の住所。

JSON 表現
{
  "formattedAddress": {
    object (FormattedAddress)
  },
  "addressComponents": [
    {
      object (AddressComponent)
    }
  ]
}
フィールド
formattedAddress

object (FormattedAddress)

この場所の完全な住所(人が読める形式)。

addressComponents[]

object (AddressComponent)

住所コンポーネントのリスト。

FormattedAddress

このメッセージが含まれているエンティティの、人が読める形式の完全なアドレス。

JSON 表現
{
  "lines": [
    string
  ]
}
フィールド
lines[]

string

住所を説明するテキスト行。少なくとも 1 行が必要です。

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 をご覧ください。