Location

Information about a location.

JSON representation
{
  "city": string,
  "state": string,
  "countryOrRegion": string,
  "name": string,
  "deskName": string,
  "floorName": string,
  "regionLatitude": number,
  "regionLongitude": number,
  "regionCoordinates": {
    object (LatLng)
  }
}
Fields
city

string

The city.

state

string

The state.

countryOrRegion

string

The country or region.

name

string

Custom location name (e.g. building or site name like "London Office"). For cloud environments, this is the region (e.g. "us-west2").

deskName

string

Desk name or individual location, typically for an employee in an office. (e.g. "IN-BLR-BCPC-11-1121D").

floorName

string

Floor name, number or a combination of the two for a building. (e.g. "1-A").

regionLatitude
(deprecated)

number

Deprecated: use regionCoordinates.

regionLongitude
(deprecated)

number

Deprecated: use regionCoordinates.

regionCoordinates

object (LatLng)

Coordinates for the associated region. See https://cloud.google.com/vision/docs/reference/rest/v1/LatLng for a description of the fields.

LatLng

An object that represents a latitude/longitude pair. This is expressed as a pair of doubles to represent degrees latitude and degrees longitude. Unless specified otherwise, this object must conform to the WGS84 standard. Values must be within normalized ranges.

JSON representation
{
  "latitude": number,
  "longitude": number
}
Fields
latitude

number

The latitude in degrees. It must be in the range [-90.0, +90.0].

longitude

number

The longitude in degrees. It must be in the range [-180.0, +180.0].