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

住所の一部を記述するこのコンポーネントの名前。(例: 「神奈川県川崎市」「Amphitheatre Parkway」)

componentTextShortForm

string

コンポーネント テキストの短縮形。たとえば、「カリフォルニア」は「CA」、米国は「US」などです。

types[]

string

住所の一部を記述するこのコンポーネントのタイプ。サポートされているタイプの一覧については、https://developers.google.com/places/web-service/supported_types#table2 をご覧ください。