Resources.buildings

For a list of methods for this resource, see the end of this page.

Resource representations

JSON template for Building object in Directory API.

{
  "kind": "admin#directory#resources#buildings#Building",
  "etags": etag,
  "buildingId": string,
  "buildingName": string,
  "description": string,
  "coordinates": {
    "latitude": double,
    "longitude": double
  },
  "floorNames": [
    string
  ]
}
Property name Value Description Notes
buildingId string Unique identifier for the building. The maximum length is 100 characters.
buildingName string 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.
coordinates nested object The geographic coordinates of the center of the building, expressed as latitude and longitude in decimal degrees.
coordinates.latitude double Latitude in decimal degrees.
coordinates.longitude double Longitude in decimal degrees.
description string A brief description of the building. For example, "Chelsea Market".
etags etag ETag of the resource.
floorNames[] list 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.
kind string Kind of resource this is.

Methods

delete
Deletes a building.
get
Retrieves a building.
insert
Inserts a building.
list
Retrieves a list of buildings for an account.
patch
Updates a building. This method supports patch semantics.
update
Updates a building.

Send feedback about...

Directory API
Directory API