REST Resource: googleLocations

  • GoogleLocation represents a Location on Google, which can have different ownership statuses (claimed by the user, someone else, or unclaimed).

  • It includes essential information like name, location details, and a URL for requesting admin rights if the location is already claimed.

  • GoogleLocation resource allows for actions like reporting a location and searching for matching locations based on criteria.

  • The location field within GoogleLocation can be reused for creating new locations if it's currently unclaimed.

Resource: GoogleLocation

Represents a Location that is present on Google. This can be a location that has been claimed by the user, someone else, or could be unclaimed.

JSON representation
{
  "name": string,
  "location": {
    object (Location)
  },
  "requestAdminRightsUrl": string
}
Fields
name

string

Resource name of this GoogleLocation, in the format googleLocations/{googleLocationId}.

location

object (Location)

The sparsely populated Location information. This field can be re-used in locations.create if it is not currently claimed by a user.

requestAdminRightsUrl

string

A URL that will redirect the user to the request admin rights UI. This field is only present if the location has already been claimed by any user, including the current user.

Methods

report

Report a GoogleLocation.
Search all of the possible locations that are a match to the specified request.