Method: resources.calendars.update

更新日历资源。

此方法支持修补语义,这意味着您只需添加要更新的字段。系统会保留请求中不存在的字段。

HTTP 请求

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

网址采用 gRPC 转码语法。

路径参数

参数
customer

string

客户的 Google Workspace 帐号的唯一 ID。作为帐号管理员,您还可以使用 my_customer 别名来表示自己帐号的客户 ID。

calendarResourceId

string

要更新的日历资源的唯一 ID。

请求正文

请求正文包含一个 CalendarResource 实例。

响应正文

如果成功,响应正文将包含一个 CalendarResource 实例。

授权范围

需要以下 OAuth 范围之一:

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

如需了解详情,请参阅授权指南