The Geo data of a location, including latitude, longitude, and address.
JSON representation
{"latitude": number,"longitude": number,// Union field addresses can be only one of the following:"address": {object (PostalAddress)},"unstructuredAddress": string// End of list of possible types for union field addresses.}
Fields
latitude
number
Latitude in degrees. (optional)
longitude
number
Longitude in degrees. (optional)
Union field addresses. Address for a location, could either be structured or unstructured. addresses can be only one of the following:
[[["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 2024-10-17 UTC."],[[["\u003cp\u003eThe Geo data of a location includes latitude, longitude, and address, represented in JSON format.\u003c/p\u003e\n"],["\u003cp\u003eAddress can be provided in a structured format using \u003ccode\u003eaddress\u003c/code\u003e field (PostalAddress object) or an unstructured format using \u003ccode\u003eunstructuredAddress\u003c/code\u003e field (string).\u003c/p\u003e\n"],["\u003cp\u003eLatitude and longitude are represented as numbers in degrees and are optional fields within the Geo data.\u003c/p\u003e\n"]]],[],null,["# GeoCoordinates\n\n- [JSON representation](#SCHEMA_REPRESENTATION)\n\nThe Geo data of a location, including latitude, longitude, and address.\n\n| JSON representation |\n|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"latitude\": number, \"longitude\": number, // Union field `addresses` can be only one of the following: \"address\": { object (/maps-booking/reference/maps-booking-api/rest/v1alpha/PostalAddress) }, \"unstructuredAddress\": string // End of list of possible types for union field `addresses`. } ``` |\n\n| Fields ||\n|-------------------------|----------------------------------------------------------------------------------------------------------------------------------------------|\n| `latitude` | `number` Latitude in degrees. (optional) |\n| `longitude` | `number` Longitude in degrees. (optional) |\n| Union field `addresses`. Address for a location, could either be structured or unstructured. `addresses` can be only one of the following: ||\n| `address` | `object (`[PostalAddress](/maps-booking/reference/maps-booking-api/rest/v1alpha/PostalAddress)`)` Postal address of the location, preferred. |\n| `unstructured``Address` | `string` An unstructured address could also be provided as a fallback. E.g. \"1600 amphitheatre parkway mountain view, ca 94043\" |"]]