REST Resource: resources.calendars
Sử dụng bộ sưu tập để sắp xếp ngăn nắp các trang
Lưu và phân loại nội dung dựa trên lựa chọn ưu tiên của bạn.
Tài nguyên: CalendarResource
API công khai: Resources.calendars
Biểu diễn dưới dạng 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
} |
Trường |
kind |
string
Loại tài nguyên. Đối với tài nguyên lịch, giá trị là admin#directory#resources#calendars#CalendarResource .
|
etags |
string
ETag của tài nguyên.
|
resourceName |
string
Tên của tài nguyên lịch. Ví dụ: "Phòng đào tạo 1A".
|
resourceDescription |
string
Nội dung mô tả tài nguyên, chỉ quản trị viên mới xem được.
|
resourceType |
string
Loại tài nguyên lịch, dành cho các tài nguyên không phải là phòng.
|
resourceEmail |
string
Email chỉ có thể đọc cho tài nguyên lịch. Được tạo trong quá trình tạo tài nguyên lịch mới.
|
resourceCategory |
string
Danh mục của tài nguyên lịch. CONFERENCE_ROOM hoặc OTHER. Dữ liệu cũ được đặt thành CATEGORY_UNKNOWN.
|
userVisibleDescription |
string
Nội dung mô tả tài nguyên, người dùng và quản trị viên đều có thể xem.
|
generatedResourceName |
string
Tên được tạo tự động chỉ có thể đọc của tài nguyên lịch, bao gồm siêu dữ liệu về tài nguyên đó, chẳng hạn như tên toà nhà, tầng, sức chứa, v.v. Ví dụ: "NYC-2-Training Room 1A (16)".
|
featureInstances |
value (Value format)
Các thực thể của tính năng cho tài nguyên lịch.
|
resourceId |
string
Mã nhận dạng duy nhất của tài nguyên lịch.
|
capacity |
integer
Sức chứa của tài nguyên, số chỗ ngồi trong phòng.
|
floorName |
string
Tên của tầng chứa tài nguyên.
|
buildingId |
string
Mã nhận dạng duy nhất của bản dựng chứa tài nguyên.
|
floorSection |
string
Tên của phần trong một tầng mà tài nguyên nằm trong đó.
|
Phương thức |
|
Xoá tài nguyên lịch. |
|
Truy xuất tài nguyên lịch. |
|
Chèn tài nguyên lịch. |
|
Truy xuất danh sách tài nguyên lịch cho một tài khoản. |
|
Vá một tài nguyên lịch. |
|
Cập nhật tài nguyên lịch. |
Trừ phi có lưu ý khác, nội dung của trang này được cấp phép theo Giấy phép ghi nhận tác giả 4.0 của Creative Commons và các mẫu mã lập trình được cấp phép theo Giấy phép Apache 2.0. Để biết thông tin chi tiết, vui lòng tham khảo Chính sách trang web của Google Developers. Java là nhãn hiệu đã đăng ký của Oracle và/hoặc các đơn vị liên kết với Oracle.
Cập nhật lần gần đây nhất: 2025-07-24 UTC.
[null,null,["Cập nhật lần gần đây nhất: 2025-07-24 UTC."],[],[],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. |"]]