Method: resources.calendars.get

检索日历资源。

HTTP 请求

GET 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 实例。

授权范围

需要以下 OAuth 范围之一:

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

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