pending_actions Transportation and Logistics documentation is being deprecated. The updated documentation is available on the
Mobility Services site.
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 2022-11-04 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 2022-11-04 UTC."],[[["Addresses are represented using a JSON structure encompassing a formatted address and address components."],["`formattedAddress` provides a complete, human-readable address, while `addressComponents` breaks it down into individual parts like street, city, and country."],["Each address component includes a long and short text representation, along with its type, aiding in detailed address parsing."],["The `lines` field within the formatted address provides individual lines of the address, ensuring proper formatting and structure."]]],["The provided content details the structure of an address, broken down into JSON representations and fields. An address has a `formattedAddress` (a human-readable string with at least one line) and `addressComponents`. Each `addressComponent` includes the `componentText` (full name), `componentTextShortForm` (abbreviation), and `types` (classification of the component, see link provided for more details). All address related details are provided.\n"]]