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