Skip to main content

calendars

Overview

Namecalendars
TypeResource
Idgoogleadmin.directory.calendars

Fields

NameDatatypeDescription
buildingIdstringUnique ID for the building a resource is located in.
capacityintegerCapacity of a resource, number of seats in a room.
etagsstringETag of the resource.
featureInstancesanyInstances of features for the calendar resource.
floorNamestringName of the floor a resource is located on.
floorSectionstringName of the section within a floor a resource is located in.
generatedResourceNamestringThe read-only auto-generated name of the calendar resource which includes metadata about the resource such as building name, floor, capacity, etc. For example, "NYC-2-Training Room 1A (16)".
kindstringThe type of the resource. For calendar resources, the value is admin#directory#resources#calendars#CalendarResource.
resourceCategorystringThe category of the calendar resource. Either CONFERENCE_ROOM or OTHER. Legacy data is set to CATEGORY_UNKNOWN.
resourceDescriptionstringDescription of the resource, visible only to admins.
resourceEmailstringThe read-only email for the calendar resource. Generated as part of creating a new calendar resource.
resourceIdstringThe unique ID for the calendar resource.
resourceNamestringThe name of the calendar resource. For example, "Training Room 1A".
resourceTypestringThe type of the calendar resource, intended for non-room resources.
userVisibleDescriptionstringDescription of the resource, visible to users and admins.

Methods

NameAccessible byRequired ParamsDescription
getSELECTcalendarResourceId, customerRetrieves a calendar resource.
listSELECTcustomerRetrieves a list of calendar resources for an account.
insertINSERTcustomerInserts a calendar resource.
deleteDELETEcalendarResourceId, customerDeletes a calendar resource.
patchEXECcalendarResourceId, customerPatches a calendar resource.
updateEXECcalendarResourceId, customerUpdates a calendar resource. This method supports patch semantics, meaning you only need to include the fields you wish to update. Fields that are not present in the request will be preserved.