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