REST Resource: resources.calendars
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
资源:CalendarResource
公共 API:Resources.calendars
JSON 表示法 |
{
"kind": string,
"etags": string,
"resourceName": string,
"resourceDescription": string,
"resourceType": string,
"resourceEmail": string,
"resourceCategory": string,
"userVisibleDescription": string,
"generatedResourceName": string,
"featureInstances": value,
"resourceId": string,
"capacity": integer,
"floorName": string,
"buildingId": string,
"floorSection": string
} |
字段 |
kind |
string
资源的类型。对于日历资源,该值为 admin#directory#resources#calendars#CalendarResource 。
|
etags |
string
资源的 ETag。
|
resourceName |
string
日历资源的名称。例如“培训室 1A”。
|
resourceDescription |
string
资源说明,仅对管理员可见。
|
resourceType |
string
日历资源的类型,适用于非会议室资源。
|
resourceEmail |
string
日历资源的只读电子邮件地址。在创建新的日历资源时生成。
|
resourceCategory |
string
日历资源的类别。值为 CONFERENCE_ROOM 或 OTHER。旧版数据会设为 CATEGORY_UNKNOWN。
|
userVisibleDescription |
string
资源说明,对用户和管理员可见。
|
generatedResourceName |
string
日历资源的只读自动生成名称,其中包含与资源相关的元数据,例如建筑物名称、楼层、容纳人数等。例如,“NYC-2-Training Room 1A (16)”。
|
featureInstances |
value (Value format)
日历资源的设施实例。
|
resourceId |
string
日历资源的唯一 ID。
|
capacity |
integer
资源的容量、房间的座位数。
|
floorName |
string
资源所在楼层的名称。
|
buildingId |
string
资源所在 build 的唯一 ID。
|
floorSection |
string
资源所在楼层内的区域的名称。
|
方法 |
|
删除日历资源。 |
|
检索日历资源。 |
|
插入日历资源。 |
|
检索账号的日历资源列表。 |
|
修补日历资源。 |
|
更新日历资源。 |
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-07-24。
[null,null,["最后更新时间 (UTC):2025-07-24。"],[],[],null,["# REST Resource: resources.calendars\n\nResource: CalendarResource\n--------------------------\n\nPublic API: Resources.calendars\n\n| JSON representation |\n|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"kind\": string, \"etags\": string, \"resourceName\": string, \"resourceDescription\": string, \"resourceType\": string, \"resourceEmail\": string, \"resourceCategory\": string, \"userVisibleDescription\": string, \"generatedResourceName\": string, \"featureInstances\": value, \"resourceId\": string, \"capacity\": integer, \"floorName\": string, \"buildingId\": string, \"floorSection\": string } ``` |\n\n| Fields ||\n|--------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `kind` | `string` The type of the resource. For calendar resources, the value is `admin#directory#resources#calendars#CalendarResource`. |\n| `etags` | `string` ETag of the resource. |\n| `resourceName` | `string` The name of the calendar resource. For example, \"Training Room 1A\". |\n| `resourceDescription` | `string` Description of the resource, visible only to admins. |\n| `resourceType` | `string` The type of the calendar resource, intended for non-room resources. |\n| `resourceEmail` | `string` The read-only email for the calendar resource. Generated as part of creating a new calendar resource. |\n| `resourceCategory` | `string` The category of the calendar resource. Either CONFERENCE_ROOM or OTHER. Legacy data is set to CATEGORY_UNKNOWN. |\n| `userVisibleDescription` | `string` Description of the resource, visible to users and admins. |\n| `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)\". |\n| `featureInstances` | `value (`[Value](https://protobuf.dev/reference/protobuf/google.protobuf/#value)` format)` Instances of features for the calendar resource. |\n| `resourceId` | `string` The unique ID for the calendar resource. |\n| `capacity` | `integer` Capacity of a resource, number of seats in a room. |\n| `floorName` | `string` Name of the floor a resource is located on. |\n| `buildingId` | `string` Unique ID for the building a resource is located in. |\n| `floorSection` | `string` Name of the section within a floor a resource is located in. |\n\n| Methods ------- ||\n|---------------------------------------------------------------------------------------|--------------------------------------------------------|\n| ### [delete](/workspace/admin/directory/reference/rest/v1/resources.calendars/delete) | Deletes a calendar resource. |\n| ### [get](/workspace/admin/directory/reference/rest/v1/resources.calendars/get) | Retrieves a calendar resource. |\n| ### [insert](/workspace/admin/directory/reference/rest/v1/resources.calendars/insert) | Inserts a calendar resource. |\n| ### [list](/workspace/admin/directory/reference/rest/v1/resources.calendars/list) | Retrieves a list of calendar resources for an account. |\n| ### [patch](/workspace/admin/directory/reference/rest/v1/resources.calendars/patch) | Patches a calendar resource. |\n| ### [update](/workspace/admin/directory/reference/rest/v1/resources.calendars/update) | Updates a calendar resource. |"]]