REST Resource: googleLocations
Оптимизируйте свои подборки
Сохраняйте и классифицируйте контент в соответствии со своими настройками.
Ресурс: GoogleLocation.
Представляет Location
, которое присутствует в Google. Это может быть местоположение, на которое заявили права пользователь или кто-то другой, или оно может быть невостребованным.
JSON-представление |
---|
{
"name": string,
"location": {
object (Location )
},
"requestAdminRightsUrl": string
} |
Поля |
---|
name | string Имя ресурса этого GoogleLocation в формате googleLocations/{googleLocationId} . |
location | object ( Location ) Малонаселенная информация Location . Это поле можно повторно использовать в locations.create , если оно в настоящее время не востребовано пользователем. |
requestAdminRightsUrl | string URL-адрес, который перенаправит пользователя в пользовательский интерфейс запроса прав администратора. Это поле присутствует только в том случае, если местоположение уже было заявлено каким-либо пользователем, включая текущего пользователя. |
Методы |
---|
| Сообщить о GoogleLocation . |
| Найдите все возможные местоположения, соответствующие указанному запросу. |
Если не указано иное, контент на этой странице предоставляется по лицензии Creative Commons "С указанием авторства 4.0", а примеры кода – по лицензии Apache 2.0. Подробнее об этом написано в правилах сайта. Java – это зарегистрированный товарный знак корпорации Oracle и ее аффилированных лиц.
Последнее обновление: 2025-07-25 UTC.
[null,null,["Последнее обновление: 2025-07-25 UTC."],[[["\u003cp\u003eGoogleLocation represents a Location on Google, which can have different ownership statuses (claimed by the user, someone else, or unclaimed).\u003c/p\u003e\n"],["\u003cp\u003eIt includes essential information like name, location details, and a URL for requesting admin rights if the location is already claimed.\u003c/p\u003e\n"],["\u003cp\u003eGoogleLocation resource allows for actions like reporting a location and searching for matching locations based on criteria.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003elocation\u003c/code\u003e field within GoogleLocation can be reused for creating new locations if it's currently unclaimed.\u003c/p\u003e\n"]]],[],null,["# REST Resource: googleLocations\n\n- [Resource: GoogleLocation](#GoogleLocation)\n - [JSON representation](#GoogleLocation.SCHEMA_REPRESENTATION)\n- [Methods](#METHODS_SUMMARY)\n\nResource: GoogleLocation\n------------------------\n\nRepresents a [Location](/my-business/reference/rest/v4/accounts.locations#Location) that is present on Google. This can be a location that has been claimed by the user, someone else, or could be unclaimed.\n\n| JSON representation ||\n|--------------------------------------------------------------------------------------------------------------------------------------------------|---|\n| ``` { \"name\": string, \"location\": { object (/my-business/reference/rest/v4/accounts.locations#Location) }, \"requestAdminRightsUrl\": string } ``` |\n\n| Fields ||\n|-------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `name` | `string` Resource name of this GoogleLocation, in the format `googleLocations/{googleLocationId}`. |\n| `location` | `object (`[Location](/my-business/reference/rest/v4/accounts.locations#Location)`)` The sparsely populated [Location](/my-business/reference/rest/v4/accounts.locations#Location) information. This field can be re-used in [locations.create](/my-business/reference/rest/v4/accounts.locations/create#google.mybusiness.v4.Locations.CreateLocation) if it is not currently claimed by a user. |\n| `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. |\n\n| Methods ------- ||\n|---------------------------------------------------------------------|-------------------------------------------------------------------------------------------|\n| ### [report](/my-business/reference/rest/v4/googleLocations/report) | Report a [GoogleLocation](/my-business/reference/rest/v4/googleLocations#GoogleLocation). |\n| ### [search](/my-business/reference/rest/v4/googleLocations/search) | Search all of the possible locations that are a match to the specified request. |"]]