Resource: Building
Public API: Resources.buildings
| JSON representation | 
|---|
| { "buildingId": string, "buildingName": string, "description": string, "coordinates": { object ( | 
| Fields | |
|---|---|
| buildingId | 
 Unique identifier for the building. The maximum length is 100 characters. | 
| buildingName | 
 The building name as seen by users in Calendar. Must be unique for the customer. For example, "NYC-CHEL". The maximum length is 100 characters. | 
| description | 
 A brief description of the building. For example, "Chelsea Market". | 
| coordinates | 
 The geographic coordinates of the center of the building, expressed as latitude and longitude in decimal degrees. | 
| kind | 
 Kind of resource this is. | 
| etags | 
 ETag of the resource. | 
| floorNames[] | 
 The display names for all floors in this building. The floors are expected to be sorted in ascending order, from lowest floor to highest floor. For example, ["B2", "B1", "L", "1", "2", "2M", "3", "PH"] Must contain at least one entry. | 
| address | 
 The postal address of the building. See  | 
BuildingCoordinates
Public API: Resources.buildings
| JSON representation | 
|---|
| { "latitude": number, "longitude": number } | 
| Fields | |
|---|---|
| latitude | 
 Latitude in decimal degrees. | 
| longitude | 
 Longitude in decimal degrees. | 
BuildingAddress
Public API: Resources.buildings
| JSON representation | 
|---|
| { "regionCode": string, "languageCode": string, "postalCode": string, "administrativeArea": string, "locality": string, "sublocality": string, "addressLines": [ string ] } | 
| Fields | |
|---|---|
| regionCode | 
 Required. CLDR region code of the country/region of the address. | 
| languageCode | 
 Optional. BCP-47 language code of the contents of this address (if known). | 
| postalCode | 
 Optional. Postal code of the address. | 
| administrativeArea | 
 Optional. Highest administrative subdivision which is used for postal addresses of a country or region. | 
| locality | 
 Optional. Generally refers to the city/town portion of the address. Examples: US city, IT comune, UK post town. In regions of the world where localities are not well defined or do not fit into this structure well, leave locality empty and use addressLines. | 
| sublocality | 
 Optional. Sublocality of the address. | 
| addressLines[] | 
 Unstructured address lines describing the lower levels of an address. | 
| Methods | |
|---|---|
| 
 | Deletes a building. | 
| 
 | Retrieves a building. | 
| 
 | Inserts a building. | 
| 
 | Retrieves a list of buildings for an account. | 
| 
 | Patches a building. | 
| 
 | Updates a building. |