Method: accounts.locations.create
קל לארגן דפים בעזרת אוספים
אפשר לשמור ולסווג תוכן על סמך ההעדפות שלך.
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 4.0 ודוגמאות הקוד הן ברישיון Apache 2.0. לפרטים, ניתן לעיין במדיניות האתר Google Developers. Java הוא סימן מסחרי רשום של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2023-12-01 (שעון UTC).
[[["התוכן קל להבנה","easyToUnderstand","thumb-up"],["התוכן עזר לי לפתור בעיה","solvedMyProblem","thumb-up"],["סיבה אחרת","otherUp","thumb-up"]],[["חסרים לי מידע או פרטים","missingTheInformationINeed","thumb-down"],["התוכן מורכב מדי או עם יותר מדי שלבים","tooComplicatedTooManySteps","thumb-down"],["התוכן לא עדכני","outOfDate","thumb-down"],["בעיה בתרגום","translationIssue","thumb-down"],["בעיה בדוגמאות/בקוד","samplesCodeIssue","thumb-down"],["סיבה אחרת","otherDown","thumb-down"]],["עדכון אחרון: 2023-12-01 (שעון UTC)."],[[["Creates a new Location within a specified account, owned by the logged-in user, using an HTTP POST request."],["The request requires specifying the parent account in the path and can include optional query parameters for validation and request deduplication."],["The request body should contain a Location object, and a successful response will return the newly created Location object."],["Authorization requires the `https://www.googleapis.com/auth/business.manage` OAuth scope for managing business information."]]],["This content outlines creating a new location via a POST request to `https://mybusinessbusinessinformation.googleapis.com/v1/{parent=accounts/*}/locations`. The `parent` path parameter, representing the account name, is required. Optional query parameters include `validateOnly` (boolean) and `requestId` (string). The request and response bodies both utilize the `Location` resource. Successful creation returns a new `Location` instance. Authorization requires the `https://www.googleapis.com/auth/business.manage` OAuth scope.\n"]]