Method: resources.calendars.insert

插入日曆資源。

HTTP 要求

POST https://admin.googleapis.com/admin/directory/v1/customer/{customer}/resources/calendars

這個網址使用 gRPC 轉碼語法。

路徑參數

參數
customer

string

客戶 Google Workspace 帳戶的專屬 ID。身為帳戶管理員,您也可以使用 my_customer 別名來代表帳戶的客戶 ID。

要求主體

要求主體包含 CalendarResource 的例項。

回應主體

如果成功,回應主體會包含新建立的 CalendarResource 例項。

授權範圍

需要下列其中一種 OAuth 範圍:

  • https://apps-apis.google.com/a/feeds/calendar/resource/
  • https://www.googleapis.com/auth/admin.directory.resource.calendar

詳情請參閱授權指南