Address
Stay organized with collections
Save and categorize content based on your preferences.
Fields |
formattedAddress |
object (FormattedAddress )
A full, human-readable address for this place.
|
addressComponents[] |
object (AddressComponent )
A list of address components.
|
AddressComponent
An address component that describes one part of the address.
JSON representation |
{
"componentText": string,
"componentTextShortForm": string,
"types": [
string
]
} |
Fields |
componentText |
string
The name of this component describing part of the address. Examples include "California", "Amphitheatre Parkway".
|
componentTextShortForm |
string
The short form of the component text. Examples include "CA" for "California", and "US" for "United States".
|
types[] |
string
The types of this component describing part of the address. For a list of supported types, see https://developers.google.com/places/web-service/supported_types#table2
|
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-08-27 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-27 UTC."],[[["\u003cp\u003eAddresses are structured with a human-readable format and individual address components.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eformattedAddress\u003c/code\u003e field provides a complete, human-readable address.\u003c/p\u003e\n"],["\u003cp\u003eAddress components are broken down into \u003ccode\u003ecomponentText\u003c/code\u003e, a potentially shorter \u003ccode\u003ecomponentTextShortForm\u003c/code\u003e, and address \u003ccode\u003etypes\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eDevelopers can access detailed information about address component types through provided documentation.\u003c/p\u003e\n"]]],[],null,["# Address\n\n- [JSON representation](#SCHEMA_REPRESENTATION)\n- [FormattedAddress](#FormattedAddress)\n - [JSON representation](#FormattedAddress.SCHEMA_REPRESENTATION)\n- [AddressComponent](#AddressComponent)\n - [JSON representation](#AddressComponent.SCHEMA_REPRESENTATION)\n\nAddress of a place.\n\n| JSON representation |\n|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"formattedAddress\": { object (/maps/documentation/mobility/location-selection-api/reference/rest/v1beta/Address#FormattedAddress) }, \"addressComponents\": [ { object (/maps/documentation/mobility/location-selection-api/reference/rest/v1beta/Address#AddressComponent) } ] } ``` |\n\n| Fields ||\n|-----------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `formattedAddress` | `object (`[FormattedAddress](/maps/documentation/mobility/location-selection-api/reference/rest/v1beta/Address#FormattedAddress)`)` A full, human-readable address for this place. |\n| `addressComponents[]` | `object (`[AddressComponent](/maps/documentation/mobility/location-selection-api/reference/rest/v1beta/Address#AddressComponent)`)` A list of address components. |\n\nFormattedAddress\n----------------\n\nA full, human-readable address for the entity containing this message.\n\n| JSON representation |\n|---------------------------------|\n| ``` { \"lines\": [ string ] } ``` |\n\n| Fields ||\n|-----------|------------------------------------------------------------------------------------------|\n| `lines[]` | `string` The lines of text that describe the address. At least one line must be present. |\n\nAddressComponent\n----------------\n\nAn address component that describes one part of the address.\n\n| JSON representation |\n|--------------------------------------------------------------------------------------------|\n| ``` { \"componentText\": string, \"componentTextShortForm\": string, \"types\": [ string ] } ``` |\n\n| Fields ||\n|--------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `componentText` | `string` The name of this component describing part of the address. Examples include \"California\", \"Amphitheatre Parkway\". |\n| `componentTextShortForm` | `string` The short form of the component text. Examples include \"CA\" for \"California\", and \"US\" for \"United States\". |\n| `types[]` | `string` The types of this component describing part of the address. For a list of supported types, see \u003chttps://developers.google.com/places/web-service/supported_types#table2\u003e |"]]