REST Resource: googleLocations
コレクションでコンテンツを整理
必要に応じて、コンテンツの保存と分類を行います。
リソース: GoogleLocation
Google に存在する Location
を表します。ユーザーや他の誰かがオーナーとなっているビジネス情報のほか、オーナー未申請のビジネス情報も該当します。
JSON 表現 |
{
"name": string,
"location": {
object (Location )
},
"requestAdminRightsUrl": string
} |
フィールド |
name |
string
この GoogleLocation のリソース名(googleLocations/{googleLocationId} 形式)。
|
location |
object (Location )
スパースに格納される Location の情報。このフィールドは、現在ユーザーによって申請されていない場合、locations.create で再利用できます。
|
requestAdminRightsUrl |
string
管理者権限のリクエスト UI にユーザーをリダイレクトする URL。このフィールドは、ユーザー(現在のユーザーを含む)によってビジネス情報がすでに申請されている場合にのみ表示されます。
|
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。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. |"]]