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
日曆資源的名稱。例如「Training Room 1A」。
|
resourceDescription |
string
資源說明,只有管理員能看到。
|
resourceType |
string
日曆資源的類型,適用於非會議室資源。
|
resourceEmail |
string
日曆資源的唯讀電子郵件地址。在建立新的日曆資源時產生。
|
resourceCategory |
string
日曆資源的類別。可以是「CONFERENCE_ROOM」或「OTHER」。舊版資料會設為 CATEGORY_UNKNOWN。
|
userVisibleDescription |
string
資源說明,供使用者和管理員查看。
|
generatedResourceName |
string
日曆資源的只讀自動產生名稱,其中包含資源的中繼資料,例如建築物名稱、樓層、容量等。例如「紐約市 2-訓練室 1A (16)」。
|
featureInstances |
value (Value format)
日曆資源的功能例項。
|
resourceId |
string
日曆資源的專屬 ID。
|
capacity |
integer
資源的容量,會議室的座位數。
|
floorName |
string
資源所在樓層的名稱。
|
buildingId |
string
資源所在建物的專屬 ID。
|
floorSection |
string
資源所在樓層內的區段名稱。
|
方法 |
|
刪除日曆資源。 |
|
擷取日曆資源。 |
|
插入日曆資源。 |
|
擷取帳戶的日曆資源清單。 |
|
修補日曆資源。 |
|
更新日曆資源。 |
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2025-07-24 (世界標準時間)。
[null,null,["上次更新時間: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. |"]]