Inserts a building.
HTTP request
POST https://admin.googleapis.com/admin/directory/v1/customer/{customer}/resources/buildings
The URL uses gRPC Transcoding syntax.
Path parameters
| Parameters | |
|---|---|
| customer | 
 The unique ID for the customer's Google Workspace account. As an account administrator, you can also use the  | 
Query parameters
| Parameters | |
|---|---|
| coordinatesSource | 
 Source from which Building.coordinates are derived. | 
Request body
The request body contains an instance of Building.
Response body
If successful, the response body contains a newly created instance of Building.
Authorization scopes
Requires one of the following OAuth scopes:
- https://apps-apis.google.com/a/feeds/calendar/resource/
- https://www.googleapis.com/auth/admin.directory.resource.calendar
For more information, see the Authorization guide.
CoordinatesSource
| Enums | |
|---|---|
| CLIENT_SPECIFIED | Building.coordinates are set to the coordinates included in the request. | 
| RESOLVED_FROM_ADDRESS | Building.coordinates are automatically populated based on the postal address. | 
| SOURCE_UNSPECIFIED | Defaults to RESOLVED_FROM_ADDRESSif postal address is provided. Otherwise, defaults toCLIENT_SPECIFIEDif coordinates are provided. |