Calendars
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
所有现有日历的集合。另请参阅日历与日历列表。
有关此类资源的方法列表,请参阅本页面的结尾部分。
资源表示法
{
"kind": "calendar#calendar",
"etag": etag,
"id": string,
"summary": string,
"description": string,
"location": string,
"timeZone": string,
"conferenceProperties": {
"allowedConferenceSolutionTypes": [
string
]
}
}
属性名称 |
值 |
说明 |
备注 |
conferenceProperties |
nested object |
此日历的会议属性,例如允许哪些类型的会议。 |
|
conferenceProperties.allowedConferenceSolutionTypes[] |
list |
此日历支持的会议解决方案类型。 可能的值包括: "eventHangout" "eventNamedHangout" "hangoutsMeet" 可选。 |
|
description |
string |
日历的说明。可选。 |
可写入
|
etag |
etag |
资源的 ETag。 |
|
id |
string |
日历的标识符。要检索 ID,请调用 calendarList.list() 方法。 |
|
kind |
string |
资源的类型(“calendar#calendar ”)。 |
|
location |
string |
采用自由格式文本的日历地理位置。可选。 |
可写入
|
summary |
string |
日历的标题。 |
可写入
|
timeZone |
string |
日历的时区。(格式为 IANA 时区数据库名称,例如“欧洲/苏黎世”。)可选。 |
可写入
|
方法
- 清除
- 清除主日历。此操作会删除与帐号主日历关联的所有活动。
- delete
- 删除辅助日历。使用 calendar.clear 清除主日历上的所有活动。
- get
- 返回日历的元数据。
- 插入
- 创建辅助日历。
- 补丁程序
- 更新日历的元数据。此方法支持补丁语义。请注意,每个修补请求消耗三个配额单元;首选使用
get
,后跟 update
。您指定的字段值会替换现有值。未在请求中指定的字段保持不变。如果指定数组字段,则覆盖现有数组;这会舍弃之前的所有数组元素。
- update
- 更新日历的元数据。
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2023-01-26 UTC.
[{
"type": "thumb-down",
"id": "missingTheInformationINeed",
"label":"没有我需要的信息"
},{
"type": "thumb-down",
"id": "tooComplicatedTooManySteps",
"label":"太复杂/步骤太多"
},{
"type": "thumb-down",
"id": "outOfDate",
"label":"内容需要更新"
},{
"type": "thumb-down",
"id": "translationIssue",
"label":"翻译问题"
},{
"type": "thumb-down",
"id": "samplesCodeIssue",
"label":"示例/代码问题"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"其他"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"易于理解"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"解决了我的问题"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"其他"
}]