Location

Information about a location.

JSON representation
 { 
 "city" 
 : 
 string 
 , 
 "state" 
 : 
 string 
 , 
 "country_or_region" 
 : 
 string 
 , 
 "name" 
 : 
 string 
 , 
 "desk_name" 
 : 
 string 
 , 
 "floor_name" 
 : 
 string 
 , 
 "region_latitude" 
 : 
 number 
 , 
 "region_longitude" 
 : 
 number 
 , 
 "region_coordinates" 
 : 
 { 
 object (  LatLng 
 
) 
 } 
 } 
Fields
city

string

The city.

state

string

The state.

country_or_region

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").

desk_name

string

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

floor_name

string

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

region_latitude
(deprecated)

number

Deprecated: use region_coordinates.

region_longitude
(deprecated)

number

Deprecated: use region_coordinates.

region_coordinates

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].

Create a Mobile Website
View Site in Mobile | Classic
Share by: