Resources.calendars

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

Resource representations

JSON template for Calendar Resource object in Directory API.

{
  "kind": "admin#directory#resources#calendars#CalendarResource",
  "etags": etag,
  "resourceId": string,
  "resourceName": string,
  "generatedResourceName": string,
  "resourceType": string,
  "resourceDescription": string,
  "resourceEmail": string,
  "capacity": integer,
  "buildingId": string,
  "floorName": string,
  "floorSection": string,
  "resourceCategory": string,
  "userVisibleDescription": string,
  "featureInstances": [
    {
      "feature": resources.features Resource
    }
  ],
  "featureInstances": string
}
Property name Value Description Notes
buildingId string Unique ID for the building a resource is located in. writable
capacity integer Capacity of a resource, number of seats in a room. writable
etags etag ETag of the resource.
featureInstances string Instances of features for the calendar resource.
featureInstances[].feature nested object The feature that this is an instance of. A calendar resource may have multiple instances of a feature.
floorName string Name of the floor a resource is located on. writable
floorSection string Name of the section within a floor a resource is located in. writable
generatedResourceName string The 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)".
kind string The type of the resource. For calendar resources, the value is admin#directory#resources#calendars#CalendarResource.
resourceCategory string The category of the calendar resource. Either CONFERENCE_ROOM or OTHER. Legacy data is set to CATEGORY_UNKNOWN.

Acceptable values are:
  • "CATEGORY_UNKNOWN"
  • "CONFERENCE_ROOM"
  • "OTHER"
writable
resourceDescription string Description of the resource, visible only to admins. writable
resourceEmail string The read-only email for the calendar resource. Generated as part of creating a new calendar resource.
resourceId string The unique ID for the calendar resource.
resourceName string The name of the calendar resource. For example, "Training Room 1A". writable
resourceType string The type of the calendar resource, intended for non-room resources. writable
userVisibleDescription string Description of the resource, visible to users and admins. writable

Methods

delete
Deletes a calendar resource.
get
Retrieves a calendar resource.
insert
Inserts a calendar resource.
list
Retrieves a list of calendar resources for an account.
patch
Updates 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. This method supports patch semantics.
update
Updates 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.

发送以下问题的反馈:

此网页
Directory API
Directory API