Skip to main content

buildings

Overview

Namebuildings
TypeResource
Idgoogleadmin.directory.buildings

Fields

NameDatatypeDescription
descriptionstringA brief description of the building. For example, "Chelsea Market".
addressobjectPublic API: Resources.buildings
buildingIdstringUnique identifier for the building. The maximum length is 100 characters.
buildingNamestringThe building name as seen by users in Calendar. Must be unique for the customer. For example, "NYC-CHEL". The maximum length is 100 characters.
coordinatesobjectPublic API: Resources.buildings
etagsstringETag of the resource.
floorNamesarrayThe 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.
kindstringKind of resource this is.

Methods

NameAccessible byRequired ParamsDescription
getSELECTbuildingId, customerRetrieves a building.
listSELECTcustomerRetrieves a list of buildings for an account.
insertINSERTcustomerInserts a building.
deleteDELETEbuildingId, customerDeletes a building.
_listEXECcustomerRetrieves a list of buildings for an account.
patchEXECbuildingId, customerPatches a building.
updateEXECbuildingId, customerUpdates a building.