Method: accounts.locations.create
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2023-12-01。
[null,null,["最后更新时间 (UTC):2023-12-01。"],[[["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"]]