google_calendar_api.json 91 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601
  1. {
  2. "kind": "discovery#restDescription",
  3. "etag": "\"C11OM5Qtr9122-scy_WeqND9D3o/icy_kevyvyjgCKjN6s1gb_9TUZs\"",
  4. "discoveryVersion": "v1",
  5. "id": "calendar:v3",
  6. "name": "calendar",
  7. "version": "v3",
  8. "title": "Calendar API",
  9. "description": "Lets you manipulate events and other calendar data.",
  10. "ownerDomain": "google.com",
  11. "ownerName": "Google",
  12. "icons": {
  13. "x16": "http://www.google.com/images/icons/product/calendar-16.png",
  14. "x32": "http://www.google.com/images/icons/product/calendar-32.png"
  15. },
  16. "documentationLink": "https://developers.google.com/google-apps/calendar/firstapp",
  17. "protocol": "rest",
  18. "baseUrl": "https://www.googleapis.com/calendar/v3/",
  19. "basePath": "/calendar/v3/",
  20. "rootUrl": "https://www.googleapis.com/",
  21. "servicePath": "calendar/v3/",
  22. "batchPath": "batch",
  23. "parameters": {
  24. "alt": {
  25. "type": "string",
  26. "description": "Data format for the response.",
  27. "default": "json",
  28. "enum": [
  29. "json"
  30. ],
  31. "enumDescriptions": [
  32. "Responses with Content-Type of application/json"
  33. ],
  34. "location": "query"
  35. },
  36. "fields": {
  37. "type": "string",
  38. "description": "Selector specifying which fields to include in a partial response.",
  39. "location": "query"
  40. },
  41. "key": {
  42. "type": "string",
  43. "description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.",
  44. "location": "query"
  45. },
  46. "oauth_token": {
  47. "type": "string",
  48. "description": "OAuth 2.0 token for the current user.",
  49. "location": "query"
  50. },
  51. "prettyPrint": {
  52. "type": "boolean",
  53. "description": "Returns response with indentations and line breaks.",
  54. "default": "true",
  55. "location": "query"
  56. },
  57. "quotaUser": {
  58. "type": "string",
  59. "description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.",
  60. "location": "query"
  61. },
  62. "userIp": {
  63. "type": "string",
  64. "description": "IP address of the site where the request originates. Use this if you want to enforce per-user limits.",
  65. "location": "query"
  66. }
  67. },
  68. "auth": {
  69. "oauth2": {
  70. "scopes": {
  71. "https://www.googleapis.com/auth/calendar": {
  72. "description": "Manage your calendars"
  73. },
  74. "https://www.googleapis.com/auth/calendar.readonly": {
  75. "description": "View your calendars"
  76. }
  77. }
  78. }
  79. },
  80. "schemas": {
  81. "Acl": {
  82. "id": "Acl",
  83. "type": "object",
  84. "properties": {
  85. "etag": {
  86. "type": "string",
  87. "description": "ETag of the collection."
  88. },
  89. "items": {
  90. "type": "array",
  91. "description": "List of rules on the access control list.",
  92. "items": {
  93. "$ref": "AclRule"
  94. }
  95. },
  96. "kind": {
  97. "type": "string",
  98. "description": "Type of the collection (\"calendar#acl\").",
  99. "default": "calendar#acl"
  100. },
  101. "nextPageToken": {
  102. "type": "string",
  103. "description": "Token used to access the next page of this result. Omitted if no further results are available, in which case nextSyncToken is provided."
  104. },
  105. "nextSyncToken": {
  106. "type": "string",
  107. "description": "Token used at a later point in time to retrieve only the entries that have changed since this result was returned. Omitted if further results are available, in which case nextPageToken is provided."
  108. }
  109. }
  110. },
  111. "AclRule": {
  112. "id": "AclRule",
  113. "type": "object",
  114. "properties": {
  115. "etag": {
  116. "type": "string",
  117. "description": "ETag of the resource."
  118. },
  119. "id": {
  120. "type": "string",
  121. "description": "Identifier of the ACL rule."
  122. },
  123. "kind": {
  124. "type": "string",
  125. "description": "Type of the resource (\"calendar#aclRule\").",
  126. "default": "calendar#aclRule"
  127. },
  128. "role": {
  129. "type": "string",
  130. "description": "The role assigned to the scope. Possible values are: \n- \"none\" - Provides no access. \n- \"freeBusyReader\" - Provides read access to free/busy information. \n- \"reader\" - Provides read access to the calendar. Private events will appear to users with reader access, but event details will be hidden. \n- \"writer\" - Provides read and write access to the calendar. Private events will appear to users with writer access, and event details will be visible. \n- \"owner\" - Provides ownership of the calendar. This role has all of the permissions of the writer role with the additional ability to see and manipulate ACLs.",
  131. "annotations": {
  132. "required": [
  133. "calendar.acl.insert"
  134. ]
  135. }
  136. },
  137. "scope": {
  138. "type": "object",
  139. "description": "The scope of the rule.",
  140. "properties": {
  141. "type": {
  142. "type": "string",
  143. "description": "The type of the scope. Possible values are: \n- \"default\" - The public scope. This is the default value. \n- \"user\" - Limits the scope to a single user. \n- \"group\" - Limits the scope to a group. \n- \"domain\" - Limits the scope to a domain. Note: The permissions granted to the \"default\", or public, scope apply to any user, authenticated or not.",
  144. "annotations": {
  145. "required": [
  146. "calendar.acl.insert"
  147. ]
  148. }
  149. },
  150. "value": {
  151. "type": "string",
  152. "description": "The email address of a user or group, or the name of a domain, depending on the scope type. Omitted for type \"default\"."
  153. }
  154. },
  155. "annotations": {
  156. "required": [
  157. "calendar.acl.insert"
  158. ]
  159. }
  160. }
  161. }
  162. },
  163. "Calendar": {
  164. "id": "Calendar",
  165. "type": "object",
  166. "properties": {
  167. "description": {
  168. "type": "string",
  169. "description": "Description of the calendar. Optional."
  170. },
  171. "etag": {
  172. "type": "string",
  173. "description": "ETag of the resource."
  174. },
  175. "id": {
  176. "type": "string",
  177. "description": "Identifier of the calendar."
  178. },
  179. "kind": {
  180. "type": "string",
  181. "description": "Type of the resource (\"calendar#calendar\").",
  182. "default": "calendar#calendar"
  183. },
  184. "location": {
  185. "type": "string",
  186. "description": "Geographic location of the calendar as free-form text. Optional."
  187. },
  188. "summary": {
  189. "type": "string",
  190. "description": "Title of the calendar.",
  191. "annotations": {
  192. "required": [
  193. "calendar.calendars.insert"
  194. ]
  195. }
  196. },
  197. "timeZone": {
  198. "type": "string",
  199. "description": "The time zone of the calendar. Optional."
  200. }
  201. }
  202. },
  203. "CalendarList": {
  204. "id": "CalendarList",
  205. "type": "object",
  206. "properties": {
  207. "etag": {
  208. "type": "string",
  209. "description": "ETag of the collection."
  210. },
  211. "items": {
  212. "type": "array",
  213. "description": "Calendars that are present on the user's calendar list.",
  214. "items": {
  215. "$ref": "CalendarListEntry"
  216. }
  217. },
  218. "kind": {
  219. "type": "string",
  220. "description": "Type of the collection (\"calendar#calendarList\").",
  221. "default": "calendar#calendarList"
  222. },
  223. "nextPageToken": {
  224. "type": "string",
  225. "description": "Token used to access the next page of this result. Omitted if no further results are available, in which case nextSyncToken is provided."
  226. },
  227. "nextSyncToken": {
  228. "type": "string",
  229. "description": "Token used at a later point in time to retrieve only the entries that have changed since this result was returned. Omitted if further results are available, in which case nextPageToken is provided."
  230. }
  231. }
  232. },
  233. "CalendarListEntry": {
  234. "id": "CalendarListEntry",
  235. "type": "object",
  236. "properties": {
  237. "accessRole": {
  238. "type": "string",
  239. "description": "The effective access role that the authenticated user has on the calendar. Read-only. Possible values are: \n- \"freeBusyReader\" - Provides read access to free/busy information. \n- \"reader\" - Provides read access to the calendar. Private events will appear to users with reader access, but event details will be hidden. \n- \"writer\" - Provides read and write access to the calendar. Private events will appear to users with writer access, and event details will be visible. \n- \"owner\" - Provides ownership of the calendar. This role has all of the permissions of the writer role with the additional ability to see and manipulate ACLs."
  240. },
  241. "backgroundColor": {
  242. "type": "string",
  243. "description": "The main color of the calendar in the hexadecimal format \"#0088aa\". This property supersedes the index-based colorId property. Optional."
  244. },
  245. "colorId": {
  246. "type": "string",
  247. "description": "The color of the calendar. This is an ID referring to an entry in the calendar section of the colors definition (see the colors endpoint). Optional."
  248. },
  249. "defaultReminders": {
  250. "type": "array",
  251. "description": "The default reminders that the authenticated user has for this calendar.",
  252. "items": {
  253. "$ref": "EventReminder"
  254. }
  255. },
  256. "deleted": {
  257. "type": "boolean",
  258. "description": "Whether this calendar list entry has been deleted from the calendar list. Read-only. Optional. The default is False.",
  259. "default": "false"
  260. },
  261. "description": {
  262. "type": "string",
  263. "description": "Description of the calendar. Optional. Read-only."
  264. },
  265. "etag": {
  266. "type": "string",
  267. "description": "ETag of the resource."
  268. },
  269. "foregroundColor": {
  270. "type": "string",
  271. "description": "The foreground color of the calendar in the hexadecimal format \"#ffffff\". This property supersedes the index-based colorId property. Optional."
  272. },
  273. "hidden": {
  274. "type": "boolean",
  275. "description": "Whether the calendar has been hidden from the list. Optional. The default is False.",
  276. "default": "false"
  277. },
  278. "id": {
  279. "type": "string",
  280. "description": "Identifier of the calendar.",
  281. "annotations": {
  282. "required": [
  283. "calendar.calendarList.insert"
  284. ]
  285. }
  286. },
  287. "kind": {
  288. "type": "string",
  289. "description": "Type of the resource (\"calendar#calendarListEntry\").",
  290. "default": "calendar#calendarListEntry"
  291. },
  292. "location": {
  293. "type": "string",
  294. "description": "Geographic location of the calendar as free-form text. Optional. Read-only."
  295. },
  296. "notificationSettings": {
  297. "type": "object",
  298. "description": "The notifications that the authenticated user is receiving for this calendar.",
  299. "properties": {
  300. "notifications": {
  301. "type": "array",
  302. "description": "The list of notifications set for this calendar.",
  303. "items": {
  304. "$ref": "CalendarNotification"
  305. }
  306. }
  307. }
  308. },
  309. "primary": {
  310. "type": "boolean",
  311. "description": "Whether the calendar is the primary calendar of the authenticated user. Read-only. Optional. The default is False.",
  312. "default": "false"
  313. },
  314. "selected": {
  315. "type": "boolean",
  316. "description": "Whether the calendar content shows up in the calendar UI. Optional. The default is False.",
  317. "default": "false"
  318. },
  319. "summary": {
  320. "type": "string",
  321. "description": "Title of the calendar. Read-only."
  322. },
  323. "summaryOverride": {
  324. "type": "string",
  325. "description": "The summary that the authenticated user has set for this calendar. Optional."
  326. },
  327. "timeZone": {
  328. "type": "string",
  329. "description": "The time zone of the calendar. Optional. Read-only."
  330. }
  331. }
  332. },
  333. "CalendarNotification": {
  334. "id": "CalendarNotification",
  335. "type": "object",
  336. "properties": {
  337. "method": {
  338. "type": "string",
  339. "description": "The method used to deliver the notification. Possible values are: \n- \"email\" - Reminders are sent via email. \n- \"sms\" - Reminders are sent via SMS. This value is read-only and is ignored on inserts and updates.",
  340. "annotations": {
  341. "required": [
  342. "calendar.calendarList.insert",
  343. "calendar.calendarList.update"
  344. ]
  345. }
  346. },
  347. "type": {
  348. "type": "string",
  349. "description": "The type of notification. Possible values are: \n- \"eventCreation\" - Notification sent when a new event is put on the calendar. \n- \"eventChange\" - Notification sent when an event is changed. \n- \"eventCancellation\" - Notification sent when an event is cancelled. \n- \"eventResponse\" - Notification sent when an event is changed. \n- \"agenda\" - An agenda with the events of the day (sent out in the morning).",
  350. "annotations": {
  351. "required": [
  352. "calendar.calendarList.insert",
  353. "calendar.calendarList.update"
  354. ]
  355. }
  356. }
  357. }
  358. },
  359. "Channel": {
  360. "id": "Channel",
  361. "type": "object",
  362. "properties": {
  363. "address": {
  364. "type": "string",
  365. "description": "The address where notifications are delivered for this channel."
  366. },
  367. "expiration": {
  368. "type": "string",
  369. "description": "Date and time of notification channel expiration, expressed as a Unix timestamp, in milliseconds. Optional.",
  370. "format": "int64"
  371. },
  372. "id": {
  373. "type": "string",
  374. "description": "A UUID or similar unique string that identifies this channel."
  375. },
  376. "kind": {
  377. "type": "string",
  378. "description": "Identifies this as a notification channel used to watch for changes to a resource. Value: the fixed string \"api#channel\".",
  379. "default": "api#channel"
  380. },
  381. "params": {
  382. "type": "object",
  383. "description": "Additional parameters controlling delivery channel behavior. Optional.",
  384. "additionalProperties": {
  385. "type": "string",
  386. "description": "Declares a new parameter by name."
  387. }
  388. },
  389. "payload": {
  390. "type": "boolean",
  391. "description": "A Boolean value to indicate whether payload is wanted. Optional."
  392. },
  393. "resourceId": {
  394. "type": "string",
  395. "description": "An opaque ID that identifies the resource being watched on this channel. Stable across different API versions."
  396. },
  397. "resourceUri": {
  398. "type": "string",
  399. "description": "A version-specific identifier for the watched resource."
  400. },
  401. "token": {
  402. "type": "string",
  403. "description": "An arbitrary string delivered to the target address with each notification delivered over this channel. Optional."
  404. },
  405. "type": {
  406. "type": "string",
  407. "description": "The type of delivery mechanism used for this channel."
  408. }
  409. }
  410. },
  411. "ColorDefinition": {
  412. "id": "ColorDefinition",
  413. "type": "object",
  414. "properties": {
  415. "background": {
  416. "type": "string",
  417. "description": "The background color associated with this color definition."
  418. },
  419. "foreground": {
  420. "type": "string",
  421. "description": "The foreground color that can be used to write on top of a background with 'background' color."
  422. }
  423. }
  424. },
  425. "Colors": {
  426. "id": "Colors",
  427. "type": "object",
  428. "properties": {
  429. "calendar": {
  430. "type": "object",
  431. "description": "Palette of calendar colors, mapping from the color ID to its definition. A calendarListEntry resource refers to one of these color IDs in its color field. Read-only.",
  432. "additionalProperties": {
  433. "$ref": "ColorDefinition",
  434. "description": "A calendar color defintion."
  435. }
  436. },
  437. "event": {
  438. "type": "object",
  439. "description": "Palette of event colors, mapping from the color ID to its definition. An event resource may refer to one of these color IDs in its color field. Read-only.",
  440. "additionalProperties": {
  441. "$ref": "ColorDefinition",
  442. "description": "An event color definition."
  443. }
  444. },
  445. "kind": {
  446. "type": "string",
  447. "description": "Type of the resource (\"calendar#colors\").",
  448. "default": "calendar#colors"
  449. },
  450. "updated": {
  451. "type": "string",
  452. "description": "Last modification time of the color palette (as a RFC 3339 timestamp). Read-only.",
  453. "format": "date-time"
  454. }
  455. }
  456. },
  457. "Error": {
  458. "id": "Error",
  459. "type": "object",
  460. "properties": {
  461. "domain": {
  462. "type": "string",
  463. "description": "Domain, or broad category, of the error."
  464. },
  465. "reason": {
  466. "type": "string",
  467. "description": "Specific reason for the error. Some of the possible values are: \n- \"groupTooBig\" - The group of users requested is too large for a single query. \n- \"tooManyCalendarsRequested\" - The number of calendars requested is too large for a single query. \n- \"notFound\" - The requested resource was not found. \n- \"internalError\" - The API service has encountered an internal error. Additional error types may be added in the future, so clients should gracefully handle additional error statuses not included in this list."
  468. }
  469. }
  470. },
  471. "Event": {
  472. "id": "Event",
  473. "type": "object",
  474. "properties": {
  475. "anyoneCanAddSelf": {
  476. "type": "boolean",
  477. "description": "Whether anyone can invite themselves to the event. Optional. The default is False.",
  478. "default": "false"
  479. },
  480. "attendees": {
  481. "type": "array",
  482. "description": "The attendees of the event.",
  483. "items": {
  484. "$ref": "EventAttendee"
  485. }
  486. },
  487. "attendeesOmitted": {
  488. "type": "boolean",
  489. "description": "Whether attendees may have been omitted from the event's representation. When retrieving an event, this may be due to a restriction specified by the maxAttendee query parameter. When updating an event, this can be used to only update the participant's response. Optional. The default is False.",
  490. "default": "false"
  491. },
  492. "colorId": {
  493. "type": "string",
  494. "description": "The color of the event. This is an ID referring to an entry in the event section of the colors definition (see the colors endpoint). Optional."
  495. },
  496. "created": {
  497. "type": "string",
  498. "description": "Creation time of the event (as a RFC 3339 timestamp). Read-only.",
  499. "format": "date-time"
  500. },
  501. "creator": {
  502. "type": "object",
  503. "description": "The creator of the event. Read-only.",
  504. "properties": {
  505. "displayName": {
  506. "type": "string",
  507. "description": "The creator's name, if available."
  508. },
  509. "email": {
  510. "type": "string",
  511. "description": "The creator's email address, if available."
  512. },
  513. "id": {
  514. "type": "string",
  515. "description": "The creator's Profile ID, if available."
  516. },
  517. "self": {
  518. "type": "boolean",
  519. "description": "Whether the creator corresponds to the calendar on which this copy of the event appears. Read-only. The default is False.",
  520. "default": "false"
  521. }
  522. }
  523. },
  524. "description": {
  525. "type": "string",
  526. "description": "Description of the event. Optional."
  527. },
  528. "end": {
  529. "$ref": "EventDateTime",
  530. "description": "The (exclusive) end time of the event. For a recurring event, this is the end time of the first instance.",
  531. "annotations": {
  532. "required": [
  533. "calendar.events.import",
  534. "calendar.events.insert",
  535. "calendar.events.update"
  536. ]
  537. }
  538. },
  539. "endTimeUnspecified": {
  540. "type": "boolean",
  541. "description": "Whether the end time is actually unspecified. An end time is still provided for compatibility reasons, even if this attribute is set to True. The default is False.",
  542. "default": "false"
  543. },
  544. "etag": {
  545. "type": "string",
  546. "description": "ETag of the resource."
  547. },
  548. "extendedProperties": {
  549. "type": "object",
  550. "description": "Extended properties of the event.",
  551. "properties": {
  552. "private": {
  553. "type": "object",
  554. "description": "Properties that are private to the copy of the event that appears on this calendar.",
  555. "additionalProperties": {
  556. "type": "string",
  557. "description": "The name of the private property and the corresponding value."
  558. }
  559. },
  560. "shared": {
  561. "type": "object",
  562. "description": "Properties that are shared between copies of the event on other attendees' calendars.",
  563. "additionalProperties": {
  564. "type": "string",
  565. "description": "The name of the shared property and the corresponding value."
  566. }
  567. }
  568. }
  569. },
  570. "gadget": {
  571. "type": "object",
  572. "description": "A gadget that extends this event.",
  573. "properties": {
  574. "display": {
  575. "type": "string",
  576. "description": "The gadget's display mode. Optional. Possible values are: \n- \"icon\" - The gadget displays next to the event's title in the calendar view. \n- \"chip\" - The gadget displays when the event is clicked."
  577. },
  578. "height": {
  579. "type": "integer",
  580. "description": "The gadget's height in pixels. Optional.",
  581. "format": "int32"
  582. },
  583. "iconLink": {
  584. "type": "string",
  585. "description": "The gadget's icon URL."
  586. },
  587. "link": {
  588. "type": "string",
  589. "description": "The gadget's URL."
  590. },
  591. "preferences": {
  592. "type": "object",
  593. "description": "Preferences.",
  594. "additionalProperties": {
  595. "type": "string",
  596. "description": "The preference name and corresponding value."
  597. }
  598. },
  599. "title": {
  600. "type": "string",
  601. "description": "The gadget's title."
  602. },
  603. "type": {
  604. "type": "string",
  605. "description": "The gadget's type."
  606. },
  607. "width": {
  608. "type": "integer",
  609. "description": "The gadget's width in pixels. Optional.",
  610. "format": "int32"
  611. }
  612. }
  613. },
  614. "guestsCanInviteOthers": {
  615. "type": "boolean",
  616. "description": "Whether attendees other than the organizer can invite others to the event. Optional. The default is True.",
  617. "default": "true"
  618. },
  619. "guestsCanModify": {
  620. "type": "boolean",
  621. "description": "Whether attendees other than the organizer can modify the event. Optional. The default is False.",
  622. "default": "false"
  623. },
  624. "guestsCanSeeOtherGuests": {
  625. "type": "boolean",
  626. "description": "Whether attendees other than the organizer can see who the event's attendees are. Optional. The default is True.",
  627. "default": "true"
  628. },
  629. "hangoutLink": {
  630. "type": "string",
  631. "description": "An absolute link to the Google+ hangout associated with this event. Read-only."
  632. },
  633. "htmlLink": {
  634. "type": "string",
  635. "description": "An absolute link to this event in the Google Calendar Web UI. Read-only."
  636. },
  637. "iCalUID": {
  638. "type": "string",
  639. "description": "Event ID in the iCalendar format.",
  640. "annotations": {
  641. "required": [
  642. "calendar.events.import"
  643. ]
  644. }
  645. },
  646. "id": {
  647. "type": "string",
  648. "description": "Identifier of the event. When creating new single or recurring events, you can specify their IDs. Provided IDs must follow these rules: \n- characters allowed in the ID are those used in base32hex encoding, i.e. lowercase letters a-v and digits 0-9, see section 3.1.2 in RFC2938 \n- the length of the ID must be between 5 and 1024 characters \n- the ID must be unique per calendar Due to the globally distributed nature of the system, we cannot guarantee that ID collisions will be detected at event creation time. To minimize the risk of collisions we recommend using an established UUID algorithm such as one described in RFC4122."
  649. },
  650. "kind": {
  651. "type": "string",
  652. "description": "Type of the resource (\"calendar#event\").",
  653. "default": "calendar#event"
  654. },
  655. "location": {
  656. "type": "string",
  657. "description": "Geographic location of the event as free-form text. Optional."
  658. },
  659. "locked": {
  660. "type": "boolean",
  661. "description": "Whether this is a locked event copy where no changes can be made to the main event fields \"summary\", \"description\", \"location\", \"start\", \"end\" or \"recurrence\". The default is False. Read-Only.",
  662. "default": "false"
  663. },
  664. "organizer": {
  665. "type": "object",
  666. "description": "The organizer of the event. If the organizer is also an attendee, this is indicated with a separate entry in attendees with the organizer field set to True. To change the organizer, use the move operation. Read-only, except when importing an event.",
  667. "properties": {
  668. "displayName": {
  669. "type": "string",
  670. "description": "The organizer's name, if available."
  671. },
  672. "email": {
  673. "type": "string",
  674. "description": "The organizer's email address, if available."
  675. },
  676. "id": {
  677. "type": "string",
  678. "description": "The organizer's Profile ID, if available."
  679. },
  680. "self": {
  681. "type": "boolean",
  682. "description": "Whether the organizer corresponds to the calendar on which this copy of the event appears. Read-only. The default is False.",
  683. "default": "false"
  684. }
  685. }
  686. },
  687. "originalStartTime": {
  688. "$ref": "EventDateTime",
  689. "description": "For an instance of a recurring event, this is the time at which this event would start according to the recurrence data in the recurring event identified by recurringEventId. Immutable."
  690. },
  691. "privateCopy": {
  692. "type": "boolean",
  693. "description": "Whether this is a private event copy where changes are not shared with other copies on other calendars. Optional. Immutable. The default is False.",
  694. "default": "false"
  695. },
  696. "recurrence": {
  697. "type": "array",
  698. "description": "List of RRULE, EXRULE, RDATE and EXDATE lines for a recurring event. This field is omitted for single events or instances of recurring events.",
  699. "items": {
  700. "type": "string"
  701. }
  702. },
  703. "recurringEventId": {
  704. "type": "string",
  705. "description": "For an instance of a recurring event, this is the event ID of the recurring event itself. Immutable."
  706. },
  707. "reminders": {
  708. "type": "object",
  709. "description": "Information about the event's reminders for the authenticated user.",
  710. "properties": {
  711. "overrides": {
  712. "type": "array",
  713. "description": "If the event doesn't use the default reminders, this lists the reminders specific to the event, or, if not set, indicates that no reminders are set for this event.",
  714. "items": {
  715. "$ref": "EventReminder"
  716. }
  717. },
  718. "useDefault": {
  719. "type": "boolean",
  720. "description": "Whether the default reminders of the calendar apply to the event."
  721. }
  722. }
  723. },
  724. "sequence": {
  725. "type": "integer",
  726. "description": "Sequence number as per iCalendar.",
  727. "format": "int32"
  728. },
  729. "source": {
  730. "type": "object",
  731. "description": "Source of an event from which it was created; for example a web page, an email message or any document identifiable by an URL using HTTP/HTTPS protocol. Accessible only by the creator of the event.",
  732. "properties": {
  733. "title": {
  734. "type": "string",
  735. "description": "Title of the source; for example a title of a web page or an email subject."
  736. },
  737. "url": {
  738. "type": "string",
  739. "description": "URL of the source pointing to a resource. URL's protocol must be HTTP or HTTPS."
  740. }
  741. }
  742. },
  743. "start": {
  744. "$ref": "EventDateTime",
  745. "description": "The (inclusive) start time of the event. For a recurring event, this is the start time of the first instance.",
  746. "annotations": {
  747. "required": [
  748. "calendar.events.import",
  749. "calendar.events.insert",
  750. "calendar.events.update"
  751. ]
  752. }
  753. },
  754. "status": {
  755. "type": "string",
  756. "description": "Status of the event. Optional. Possible values are: \n- \"confirmed\" - The event is confirmed. This is the default status. \n- \"tentative\" - The event is tentatively confirmed. \n- \"cancelled\" - The event is cancelled."
  757. },
  758. "summary": {
  759. "type": "string",
  760. "description": "Title of the event."
  761. },
  762. "transparency": {
  763. "type": "string",
  764. "description": "Whether the event blocks time on the calendar. Optional. Possible values are: \n- \"opaque\" - The event blocks time on the calendar. This is the default value. \n- \"transparent\" - The event does not block time on the calendar.",
  765. "default": "opaque"
  766. },
  767. "updated": {
  768. "type": "string",
  769. "description": "Last modification time of the event (as a RFC 3339 timestamp). Read-only.",
  770. "format": "date-time"
  771. },
  772. "visibility": {
  773. "type": "string",
  774. "description": "Visibility of the event. Optional. Possible values are: \n- \"default\" - Uses the default visibility for events on the calendar. This is the default value. \n- \"public\" - The event is public and event details are visible to all readers of the calendar. \n- \"private\" - The event is private and only event attendees may view event details. \n- \"confidential\" - The event is private. This value is provided for compatibility reasons.",
  775. "default": "default"
  776. }
  777. }
  778. },
  779. "EventAttendee": {
  780. "id": "EventAttendee",
  781. "type": "object",
  782. "properties": {
  783. "additionalGuests": {
  784. "type": "integer",
  785. "description": "Number of additional guests. Optional. The default is 0.",
  786. "format": "int32"
  787. },
  788. "comment": {
  789. "type": "string",
  790. "description": "The attendee's response comment. Optional."
  791. },
  792. "displayName": {
  793. "type": "string",
  794. "description": "The attendee's name, if available. Optional."
  795. },
  796. "email": {
  797. "type": "string",
  798. "description": "The attendee's email address, if available. This field must be present when adding an attendee.",
  799. "annotations": {
  800. "required": [
  801. "calendar.events.import",
  802. "calendar.events.insert",
  803. "calendar.events.update"
  804. ]
  805. }
  806. },
  807. "id": {
  808. "type": "string",
  809. "description": "The attendee's Profile ID, if available."
  810. },
  811. "optional": {
  812. "type": "boolean",
  813. "description": "Whether this is an optional attendee. Optional. The default is False."
  814. },
  815. "organizer": {
  816. "type": "boolean",
  817. "description": "Whether the attendee is the organizer of the event. Read-only. The default is False."
  818. },
  819. "resource": {
  820. "type": "boolean",
  821. "description": "Whether the attendee is a resource. Read-only. The default is False."
  822. },
  823. "responseStatus": {
  824. "type": "string",
  825. "description": "The attendee's response status. Possible values are: \n- \"needsAction\" - The attendee has not responded to the invitation. \n- \"declined\" - The attendee has declined the invitation. \n- \"tentative\" - The attendee has tentatively accepted the invitation. \n- \"accepted\" - The attendee has accepted the invitation."
  826. },
  827. "self": {
  828. "type": "boolean",
  829. "description": "Whether this entry represents the calendar on which this copy of the event appears. Read-only. The default is False."
  830. }
  831. }
  832. },
  833. "EventDateTime": {
  834. "id": "EventDateTime",
  835. "type": "object",
  836. "properties": {
  837. "date": {
  838. "type": "string",
  839. "description": "The date, in the format \"yyyy-mm-dd\", if this is an all-day event.",
  840. "format": "date"
  841. },
  842. "dateTime": {
  843. "type": "string",
  844. "description": "The time, as a combined date-time value (formatted according to RFC 3339). A time zone offset is required unless a time zone is explicitly specified in timeZone.",
  845. "format": "date-time"
  846. },
  847. "timeZone": {
  848. "type": "string",
  849. "description": "The name of the time zone in which the time is specified (e.g. \"Europe/Zurich\"). Optional. The default is the time zone of the calendar."
  850. }
  851. }
  852. },
  853. "EventReminder": {
  854. "id": "EventReminder",
  855. "type": "object",
  856. "properties": {
  857. "method": {
  858. "type": "string",
  859. "description": "The method used by this reminder. Possible values are: \n- \"email\" - Reminders are sent via email. \n- \"sms\" - Reminders are sent via SMS. \n- \"popup\" - Reminders are sent via a UI popup.",
  860. "annotations": {
  861. "required": [
  862. "calendar.calendarList.insert",
  863. "calendar.calendarList.update",
  864. "calendar.events.import",
  865. "calendar.events.insert",
  866. "calendar.events.update"
  867. ]
  868. }
  869. },
  870. "minutes": {
  871. "type": "integer",
  872. "description": "Number of minutes before the start of the event when the reminder should trigger.",
  873. "format": "int32",
  874. "annotations": {
  875. "required": [
  876. "calendar.calendarList.insert",
  877. "calendar.calendarList.update",
  878. "calendar.events.import",
  879. "calendar.events.insert",
  880. "calendar.events.update"
  881. ]
  882. }
  883. }
  884. }
  885. },
  886. "Events": {
  887. "id": "Events",
  888. "type": "object",
  889. "properties": {
  890. "accessRole": {
  891. "type": "string",
  892. "description": "The user's access role for this calendar. Read-only. Possible values are: \n- \"none\" - The user has no access. \n- \"freeBusyReader\" - The user has read access to free/busy information. \n- \"reader\" - The user has read access to the calendar. Private events will appear to users with reader access, but event details will be hidden. \n- \"writer\" - The user has read and write access to the calendar. Private events will appear to users with writer access, and event details will be visible. \n- \"owner\" - The user has ownership of the calendar. This role has all of the permissions of the writer role with the additional ability to see and manipulate ACLs."
  893. },
  894. "defaultReminders": {
  895. "type": "array",
  896. "description": "The default reminders on the calendar for the authenticated user. These reminders apply to all events on this calendar that do not explicitly override them (i.e. do not have reminders.useDefault set to True).",
  897. "items": {
  898. "$ref": "EventReminder"
  899. }
  900. },
  901. "description": {
  902. "type": "string",
  903. "description": "Description of the calendar. Read-only."
  904. },
  905. "etag": {
  906. "type": "string",
  907. "description": "ETag of the collection."
  908. },
  909. "items": {
  910. "type": "array",
  911. "description": "List of events on the calendar.",
  912. "items": {
  913. "$ref": "Event"
  914. }
  915. },
  916. "kind": {
  917. "type": "string",
  918. "description": "Type of the collection (\"calendar#events\").",
  919. "default": "calendar#events"
  920. },
  921. "nextPageToken": {
  922. "type": "string",
  923. "description": "Token used to access the next page of this result. Omitted if no further results are available, in which case nextSyncToken is provided."
  924. },
  925. "nextSyncToken": {
  926. "type": "string",
  927. "description": "Token used at a later point in time to retrieve only the entries that have changed since this result was returned. Omitted if further results are available, in which case nextPageToken is provided."
  928. },
  929. "summary": {
  930. "type": "string",
  931. "description": "Title of the calendar. Read-only."
  932. },
  933. "timeZone": {
  934. "type": "string",
  935. "description": "The time zone of the calendar. Read-only."
  936. },
  937. "updated": {
  938. "type": "string",
  939. "description": "Last modification time of the calendar (as a RFC 3339 timestamp). Read-only.",
  940. "format": "date-time"
  941. }
  942. }
  943. },
  944. "FreeBusyCalendar": {
  945. "id": "FreeBusyCalendar",
  946. "type": "object",
  947. "properties": {
  948. "busy": {
  949. "type": "array",
  950. "description": "List of time ranges during which this calendar should be regarded as busy.",
  951. "items": {
  952. "$ref": "TimePeriod"
  953. }
  954. },
  955. "errors": {
  956. "type": "array",
  957. "description": "Optional error(s) (if computation for the calendar failed).",
  958. "items": {
  959. "$ref": "Error"
  960. }
  961. }
  962. }
  963. },
  964. "FreeBusyGroup": {
  965. "id": "FreeBusyGroup",
  966. "type": "object",
  967. "properties": {
  968. "calendars": {
  969. "type": "array",
  970. "description": "List of calendars' identifiers within a group.",
  971. "items": {
  972. "type": "string"
  973. }
  974. },
  975. "errors": {
  976. "type": "array",
  977. "description": "Optional error(s) (if computation for the group failed).",
  978. "items": {
  979. "$ref": "Error"
  980. }
  981. }
  982. }
  983. },
  984. "FreeBusyRequest": {
  985. "id": "FreeBusyRequest",
  986. "type": "object",
  987. "properties": {
  988. "calendarExpansionMax": {
  989. "type": "integer",
  990. "description": "Maximal number of calendars for which FreeBusy information is to be provided. Optional.",
  991. "format": "int32"
  992. },
  993. "groupExpansionMax": {
  994. "type": "integer",
  995. "description": "Maximal number of calendar identifiers to be provided for a single group. Optional. An error will be returned for a group with more members than this value.",
  996. "format": "int32"
  997. },
  998. "items": {
  999. "type": "array",
  1000. "description": "List of calendars and/or groups to query.",
  1001. "items": {
  1002. "$ref": "FreeBusyRequestItem"
  1003. }
  1004. },
  1005. "timeMax": {
  1006. "type": "string",
  1007. "description": "The end of the interval for the query.",
  1008. "format": "date-time"
  1009. },
  1010. "timeMin": {
  1011. "type": "string",
  1012. "description": "The start of the interval for the query.",
  1013. "format": "date-time"
  1014. },
  1015. "timeZone": {
  1016. "type": "string",
  1017. "description": "Time zone used in the response. Optional. The default is UTC.",
  1018. "default": "UTC"
  1019. }
  1020. }
  1021. },
  1022. "FreeBusyRequestItem": {
  1023. "id": "FreeBusyRequestItem",
  1024. "type": "object",
  1025. "properties": {
  1026. "id": {
  1027. "type": "string",
  1028. "description": "The identifier of a calendar or a group."
  1029. }
  1030. }
  1031. },
  1032. "FreeBusyResponse": {
  1033. "id": "FreeBusyResponse",
  1034. "type": "object",
  1035. "properties": {
  1036. "calendars": {
  1037. "type": "object",
  1038. "description": "List of free/busy information for calendars.",
  1039. "additionalProperties": {
  1040. "$ref": "FreeBusyCalendar",
  1041. "description": "Free/busy expansions for a single calendar."
  1042. }
  1043. },
  1044. "groups": {
  1045. "type": "object",
  1046. "description": "Expansion of groups.",
  1047. "additionalProperties": {
  1048. "$ref": "FreeBusyGroup",
  1049. "description": "List of calendars that are members of this group."
  1050. }
  1051. },
  1052. "kind": {
  1053. "type": "string",
  1054. "description": "Type of the resource (\"calendar#freeBusy\").",
  1055. "default": "calendar#freeBusy"
  1056. },
  1057. "timeMax": {
  1058. "type": "string",
  1059. "description": "The end of the interval.",
  1060. "format": "date-time"
  1061. },
  1062. "timeMin": {
  1063. "type": "string",
  1064. "description": "The start of the interval.",
  1065. "format": "date-time"
  1066. }
  1067. }
  1068. },
  1069. "Setting": {
  1070. "id": "Setting",
  1071. "type": "object",
  1072. "properties": {
  1073. "etag": {
  1074. "type": "string",
  1075. "description": "ETag of the resource."
  1076. },
  1077. "id": {
  1078. "type": "string",
  1079. "description": "The id of the user setting."
  1080. },
  1081. "kind": {
  1082. "type": "string",
  1083. "description": "Type of the resource (\"calendar#setting\").",
  1084. "default": "calendar#setting"
  1085. },
  1086. "value": {
  1087. "type": "string",
  1088. "description": "Value of the user setting. The format of the value depends on the ID of the setting. It must always be a UTF-8 string of length up to 1024 characters."
  1089. }
  1090. }
  1091. },
  1092. "Settings": {
  1093. "id": "Settings",
  1094. "type": "object",
  1095. "properties": {
  1096. "etag": {
  1097. "type": "string",
  1098. "description": "Etag of the collection."
  1099. },
  1100. "items": {
  1101. "type": "array",
  1102. "description": "List of user settings.",
  1103. "items": {
  1104. "$ref": "Setting"
  1105. }
  1106. },
  1107. "kind": {
  1108. "type": "string",
  1109. "description": "Type of the collection (\"calendar#settings\").",
  1110. "default": "calendar#settings"
  1111. },
  1112. "nextPageToken": {
  1113. "type": "string",
  1114. "description": "Token used to access the next page of this result. Omitted if no further results are available, in which case nextSyncToken is provided."
  1115. },
  1116. "nextSyncToken": {
  1117. "type": "string",
  1118. "description": "Token used at a later point in time to retrieve only the entries that have changed since this result was returned. Omitted if further results are available, in which case nextPageToken is provided."
  1119. }
  1120. }
  1121. },
  1122. "TimePeriod": {
  1123. "id": "TimePeriod",
  1124. "type": "object",
  1125. "properties": {
  1126. "end": {
  1127. "type": "string",
  1128. "description": "The (exclusive) end of the time period.",
  1129. "format": "date-time"
  1130. },
  1131. "start": {
  1132. "type": "string",
  1133. "description": "The (inclusive) start of the time period.",
  1134. "format": "date-time"
  1135. }
  1136. }
  1137. }
  1138. },
  1139. "resources": {
  1140. "acl": {
  1141. "methods": {
  1142. "delete": {
  1143. "id": "calendar.acl.delete",
  1144. "path": "calendars/{calendarId}/acl/{ruleId}",
  1145. "httpMethod": "DELETE",
  1146. "description": "Deletes an access control rule.",
  1147. "parameters": {
  1148. "calendarId": {
  1149. "type": "string",
  1150. "description": "Calendar identifier.",
  1151. "required": true,
  1152. "location": "path"
  1153. },
  1154. "ruleId": {
  1155. "type": "string",
  1156. "description": "ACL rule identifier.",
  1157. "required": true,
  1158. "location": "path"
  1159. }
  1160. },
  1161. "parameterOrder": [
  1162. "calendarId",
  1163. "ruleId"
  1164. ],
  1165. "scopes": [
  1166. "https://www.googleapis.com/auth/calendar"
  1167. ]
  1168. },
  1169. "get": {
  1170. "id": "calendar.acl.get",
  1171. "path": "calendars/{calendarId}/acl/{ruleId}",
  1172. "httpMethod": "GET",
  1173. "description": "Returns an access control rule.",
  1174. "parameters": {
  1175. "calendarId": {
  1176. "type": "string",
  1177. "description": "Calendar identifier.",
  1178. "required": true,
  1179. "location": "path"
  1180. },
  1181. "ruleId": {
  1182. "type": "string",
  1183. "description": "ACL rule identifier.",
  1184. "required": true,
  1185. "location": "path"
  1186. }
  1187. },
  1188. "parameterOrder": [
  1189. "calendarId",
  1190. "ruleId"
  1191. ],
  1192. "response": {
  1193. "$ref": "AclRule"
  1194. },
  1195. "scopes": [
  1196. "https://www.googleapis.com/auth/calendar",
  1197. "https://www.googleapis.com/auth/calendar.readonly"
  1198. ]
  1199. },
  1200. "insert": {
  1201. "id": "calendar.acl.insert",
  1202. "path": "calendars/{calendarId}/acl",
  1203. "httpMethod": "POST",
  1204. "description": "Creates an access control rule.",
  1205. "parameters": {
  1206. "calendarId": {
  1207. "type": "string",
  1208. "description": "Calendar identifier.",
  1209. "required": true,
  1210. "location": "path"
  1211. }
  1212. },
  1213. "parameterOrder": [
  1214. "calendarId"
  1215. ],
  1216. "request": {
  1217. "$ref": "AclRule"
  1218. },
  1219. "response": {
  1220. "$ref": "AclRule"
  1221. },
  1222. "scopes": [
  1223. "https://www.googleapis.com/auth/calendar"
  1224. ]
  1225. },
  1226. "list": {
  1227. "id": "calendar.acl.list",
  1228. "path": "calendars/{calendarId}/acl",
  1229. "httpMethod": "GET",
  1230. "description": "Returns the rules in the access control list for the calendar.",
  1231. "parameters": {
  1232. "calendarId": {
  1233. "type": "string",
  1234. "description": "Calendar identifier.",
  1235. "required": true,
  1236. "location": "path"
  1237. },
  1238. "maxResults": {
  1239. "type": "integer",
  1240. "description": "Maximum number of entries returned on one result page. By default the value is 100 entries. The page size can never be larger than 250 entries. Optional.",
  1241. "format": "int32",
  1242. "minimum": "1",
  1243. "location": "query"
  1244. },
  1245. "pageToken": {
  1246. "type": "string",
  1247. "description": "Token specifying which result page to return. Optional.",
  1248. "location": "query"
  1249. },
  1250. "showDeleted": {
  1251. "type": "boolean",
  1252. "description": "Whether to include deleted ACLs in the result. Deleted ACLs are represented by role equal to \"none\". Deleted ACLs will always be included if syncToken is provided. Optional. The default is False.",
  1253. "location": "query"
  1254. },
  1255. "syncToken": {
  1256. "type": "string",
  1257. "description": "Token obtained from the nextSyncToken field returned on the last page of results from the previous list request. It makes the result of this list request contain only entries that have changed since then. All entries deleted since the previous list request will always be in the result set and it is not allowed to set showDeleted to False.\nIf the syncToken expires, the server will respond with a 410 GONE response code and the client should clear its storage and perform a full synchronization without any syncToken.\nLearn more about incremental synchronization.\nOptional. The default is to return all entries.",
  1258. "location": "query"
  1259. }
  1260. },
  1261. "parameterOrder": [
  1262. "calendarId"
  1263. ],
  1264. "response": {
  1265. "$ref": "Acl"
  1266. },
  1267. "scopes": [
  1268. "https://www.googleapis.com/auth/calendar"
  1269. ],
  1270. "supportsSubscription": true
  1271. },
  1272. "patch": {
  1273. "id": "calendar.acl.patch",
  1274. "path": "calendars/{calendarId}/acl/{ruleId}",
  1275. "httpMethod": "PATCH",
  1276. "description": "Updates an access control rule. This method supports patch semantics.",
  1277. "parameters": {
  1278. "calendarId": {
  1279. "type": "string",
  1280. "description": "Calendar identifier.",
  1281. "required": true,
  1282. "location": "path"
  1283. },
  1284. "ruleId": {
  1285. "type": "string",
  1286. "description": "ACL rule identifier.",
  1287. "required": true,
  1288. "location": "path"
  1289. }
  1290. },
  1291. "parameterOrder": [
  1292. "calendarId",
  1293. "ruleId"
  1294. ],
  1295. "request": {
  1296. "$ref": "AclRule"
  1297. },
  1298. "response": {
  1299. "$ref": "AclRule"
  1300. },
  1301. "scopes": [
  1302. "https://www.googleapis.com/auth/calendar"
  1303. ]
  1304. },
  1305. "update": {
  1306. "id": "calendar.acl.update",
  1307. "path": "calendars/{calendarId}/acl/{ruleId}",
  1308. "httpMethod": "PUT",
  1309. "description": "Updates an access control rule.",
  1310. "parameters": {
  1311. "calendarId": {
  1312. "type": "string",
  1313. "description": "Calendar identifier.",
  1314. "required": true,
  1315. "location": "path"
  1316. },
  1317. "ruleId": {
  1318. "type": "string",
  1319. "description": "ACL rule identifier.",
  1320. "required": true,
  1321. "location": "path"
  1322. }
  1323. },
  1324. "parameterOrder": [
  1325. "calendarId",
  1326. "ruleId"
  1327. ],
  1328. "request": {
  1329. "$ref": "AclRule"
  1330. },
  1331. "response": {
  1332. "$ref": "AclRule"
  1333. },
  1334. "scopes": [
  1335. "https://www.googleapis.com/auth/calendar"
  1336. ]
  1337. },
  1338. "watch": {
  1339. "id": "calendar.acl.watch",
  1340. "path": "calendars/{calendarId}/acl/watch",
  1341. "httpMethod": "POST",
  1342. "description": "Watch for changes to ACL resources.",
  1343. "parameters": {
  1344. "calendarId": {
  1345. "type": "string",
  1346. "description": "Calendar identifier.",
  1347. "required": true,
  1348. "location": "path"
  1349. },
  1350. "maxResults": {
  1351. "type": "integer",
  1352. "description": "Maximum number of entries returned on one result page. By default the value is 100 entries. The page size can never be larger than 250 entries. Optional.",
  1353. "format": "int32",
  1354. "minimum": "1",
  1355. "location": "query"
  1356. },
  1357. "pageToken": {
  1358. "type": "string",
  1359. "description": "Token specifying which result page to return. Optional.",
  1360. "location": "query"
  1361. },
  1362. "showDeleted": {
  1363. "type": "boolean",
  1364. "description": "Whether to include deleted ACLs in the result. Deleted ACLs are represented by role equal to \"none\". Deleted ACLs will always be included if syncToken is provided. Optional. The default is False.",
  1365. "location": "query"
  1366. },
  1367. "syncToken": {
  1368. "type": "string",
  1369. "description": "Token obtained from the nextSyncToken field returned on the last page of results from the previous list request. It makes the result of this list request contain only entries that have changed since then. All entries deleted since the previous list request will always be in the result set and it is not allowed to set showDeleted to False.\nIf the syncToken expires, the server will respond with a 410 GONE response code and the client should clear its storage and perform a full synchronization without any syncToken.\nLearn more about incremental synchronization.\nOptional. The default is to return all entries.",
  1370. "location": "query"
  1371. }
  1372. },
  1373. "parameterOrder": [
  1374. "calendarId"
  1375. ],
  1376. "request": {
  1377. "$ref": "Channel",
  1378. "parameterName": "resource"
  1379. },
  1380. "response": {
  1381. "$ref": "Channel"
  1382. },
  1383. "scopes": [
  1384. "https://www.googleapis.com/auth/calendar"
  1385. ],
  1386. "supportsSubscription": true
  1387. }
  1388. }
  1389. },
  1390. "calendarList": {
  1391. "methods": {
  1392. "delete": {
  1393. "id": "calendar.calendarList.delete",
  1394. "path": "users/me/calendarList/{calendarId}",
  1395. "httpMethod": "DELETE",
  1396. "description": "Deletes an entry on the user's calendar list.",
  1397. "parameters": {
  1398. "calendarId": {
  1399. "type": "string",
  1400. "description": "Calendar identifier.",
  1401. "required": true,
  1402. "location": "path"
  1403. }
  1404. },
  1405. "parameterOrder": [
  1406. "calendarId"
  1407. ],
  1408. "scopes": [
  1409. "https://www.googleapis.com/auth/calendar"
  1410. ]
  1411. },
  1412. "get": {
  1413. "id": "calendar.calendarList.get",
  1414. "path": "users/me/calendarList/{calendarId}",
  1415. "httpMethod": "GET",
  1416. "description": "Returns an entry on the user's calendar list.",
  1417. "parameters": {
  1418. "calendarId": {
  1419. "type": "string",
  1420. "description": "Calendar identifier.",
  1421. "required": true,
  1422. "location": "path"
  1423. }
  1424. },
  1425. "parameterOrder": [
  1426. "calendarId"
  1427. ],
  1428. "response": {
  1429. "$ref": "CalendarListEntry"
  1430. },
  1431. "scopes": [
  1432. "https://www.googleapis.com/auth/calendar",
  1433. "https://www.googleapis.com/auth/calendar.readonly"
  1434. ]
  1435. },
  1436. "insert": {
  1437. "id": "calendar.calendarList.insert",
  1438. "path": "users/me/calendarList",
  1439. "httpMethod": "POST",
  1440. "description": "Adds an entry to the user's calendar list.",
  1441. "parameters": {
  1442. "colorRgbFormat": {
  1443. "type": "boolean",
  1444. "description": "Whether to use the foregroundColor and backgroundColor fields to write the calendar colors (RGB). If this feature is used, the index-based colorId field will be set to the best matching option automatically. Optional. The default is False.",
  1445. "location": "query"
  1446. }
  1447. },
  1448. "request": {
  1449. "$ref": "CalendarListEntry"
  1450. },
  1451. "response": {
  1452. "$ref": "CalendarListEntry"
  1453. },
  1454. "scopes": [
  1455. "https://www.googleapis.com/auth/calendar"
  1456. ]
  1457. },
  1458. "list": {
  1459. "id": "calendar.calendarList.list",
  1460. "path": "users/me/calendarList",
  1461. "httpMethod": "GET",
  1462. "description": "Returns entries on the user's calendar list.",
  1463. "parameters": {
  1464. "maxResults": {
  1465. "type": "integer",
  1466. "description": "Maximum number of entries returned on one result page. By default the value is 100 entries. The page size can never be larger than 250 entries. Optional.",
  1467. "format": "int32",
  1468. "minimum": "1",
  1469. "location": "query"
  1470. },
  1471. "minAccessRole": {
  1472. "type": "string",
  1473. "description": "The minimum access role for the user in the returned entires. Optional. The default is no restriction.",
  1474. "enum": [
  1475. "freeBusyReader",
  1476. "owner",
  1477. "reader",
  1478. "writer"
  1479. ],
  1480. "enumDescriptions": [
  1481. "The user can read free/busy information.",
  1482. "The user can read and modify events and access control lists.",
  1483. "The user can read events that are not private.",
  1484. "The user can read and modify events."
  1485. ],
  1486. "location": "query"
  1487. },
  1488. "pageToken": {
  1489. "type": "string",
  1490. "description": "Token specifying which result page to return. Optional.",
  1491. "location": "query"
  1492. },
  1493. "showDeleted": {
  1494. "type": "boolean",
  1495. "description": "Whether to include deleted calendar list entries in the result. Optional. The default is False.",
  1496. "location": "query"
  1497. },
  1498. "showHidden": {
  1499. "type": "boolean",
  1500. "description": "Whether to show hidden entries. Optional. The default is False.",
  1501. "location": "query"
  1502. },
  1503. "syncToken": {
  1504. "type": "string",
  1505. "description": "Token obtained from the nextSyncToken field returned on the last page of results from the previous list request. It makes the result of this list request contain only entries that have changed since then. If only read-only fields such as calendar properties or ACLs have changed, the entry won't be returned. All entries deleted and hidden since the previous list request will always be in the result set and it is not allowed to set showDeleted neither showHidden to False.\nTo ensure client state consistency minAccessRole query parameter cannot be specified together with nextSyncToken.\nIf the syncToken expires, the server will respond with a 410 GONE response code and the client should clear its storage and perform a full synchronization without any syncToken.\nLearn more about incremental synchronization.\nOptional. The default is to return all entries.",
  1506. "location": "query"
  1507. }
  1508. },
  1509. "response": {
  1510. "$ref": "CalendarList"
  1511. },
  1512. "scopes": [
  1513. "https://www.googleapis.com/auth/calendar",
  1514. "https://www.googleapis.com/auth/calendar.readonly"
  1515. ],
  1516. "supportsSubscription": true
  1517. },
  1518. "patch": {
  1519. "id": "calendar.calendarList.patch",
  1520. "path": "users/me/calendarList/{calendarId}",
  1521. "httpMethod": "PATCH",
  1522. "description": "Updates an entry on the user's calendar list. This method supports patch semantics.",
  1523. "parameters": {
  1524. "calendarId": {
  1525. "type": "string",
  1526. "description": "Calendar identifier.",
  1527. "required": true,
  1528. "location": "path"
  1529. },
  1530. "colorRgbFormat": {
  1531. "type": "boolean",
  1532. "description": "Whether to use the foregroundColor and backgroundColor fields to write the calendar colors (RGB). If this feature is used, the index-based colorId field will be set to the best matching option automatically. Optional. The default is False.",
  1533. "location": "query"
  1534. }
  1535. },
  1536. "parameterOrder": [
  1537. "calendarId"
  1538. ],
  1539. "request": {
  1540. "$ref": "CalendarListEntry"
  1541. },
  1542. "response": {
  1543. "$ref": "CalendarListEntry"
  1544. },
  1545. "scopes": [
  1546. "https://www.googleapis.com/auth/calendar"
  1547. ]
  1548. },
  1549. "update": {
  1550. "id": "calendar.calendarList.update",
  1551. "path": "users/me/calendarList/{calendarId}",
  1552. "httpMethod": "PUT",
  1553. "description": "Updates an entry on the user's calendar list.",
  1554. "parameters": {
  1555. "calendarId": {
  1556. "type": "string",
  1557. "description": "Calendar identifier.",
  1558. "required": true,
  1559. "location": "path"
  1560. },
  1561. "colorRgbFormat": {
  1562. "type": "boolean",
  1563. "description": "Whether to use the foregroundColor and backgroundColor fields to write the calendar colors (RGB). If this feature is used, the index-based colorId field will be set to the best matching option automatically. Optional. The default is False.",
  1564. "location": "query"
  1565. }
  1566. },
  1567. "parameterOrder": [
  1568. "calendarId"
  1569. ],
  1570. "request": {
  1571. "$ref": "CalendarListEntry"
  1572. },
  1573. "response": {
  1574. "$ref": "CalendarListEntry"
  1575. },
  1576. "scopes": [
  1577. "https://www.googleapis.com/auth/calendar"
  1578. ]
  1579. },
  1580. "watch": {
  1581. "id": "calendar.calendarList.watch",
  1582. "path": "users/me/calendarList/watch",
  1583. "httpMethod": "POST",
  1584. "description": "Watch for changes to CalendarList resources.",
  1585. "parameters": {
  1586. "maxResults": {
  1587. "type": "integer",
  1588. "description": "Maximum number of entries returned on one result page. By default the value is 100 entries. The page size can never be larger than 250 entries. Optional.",
  1589. "format": "int32",
  1590. "minimum": "1",
  1591. "location": "query"
  1592. },
  1593. "minAccessRole": {
  1594. "type": "string",
  1595. "description": "The minimum access role for the user in the returned entires. Optional. The default is no restriction.",
  1596. "enum": [
  1597. "freeBusyReader",
  1598. "owner",
  1599. "reader",
  1600. "writer"
  1601. ],
  1602. "enumDescriptions": [
  1603. "The user can read free/busy information.",
  1604. "The user can read and modify events and access control lists.",
  1605. "The user can read events that are not private.",
  1606. "The user can read and modify events."
  1607. ],
  1608. "location": "query"
  1609. },
  1610. "pageToken": {
  1611. "type": "string",
  1612. "description": "Token specifying which result page to return. Optional.",
  1613. "location": "query"
  1614. },
  1615. "showDeleted": {
  1616. "type": "boolean",
  1617. "description": "Whether to include deleted calendar list entries in the result. Optional. The default is False.",
  1618. "location": "query"
  1619. },
  1620. "showHidden": {
  1621. "type": "boolean",
  1622. "description": "Whether to show hidden entries. Optional. The default is False.",
  1623. "location": "query"
  1624. },
  1625. "syncToken": {
  1626. "type": "string",
  1627. "description": "Token obtained from the nextSyncToken field returned on the last page of results from the previous list request. It makes the result of this list request contain only entries that have changed since then. If only read-only fields such as calendar properties or ACLs have changed, the entry won't be returned. All entries deleted and hidden since the previous list request will always be in the result set and it is not allowed to set showDeleted neither showHidden to False.\nTo ensure client state consistency minAccessRole query parameter cannot be specified together with nextSyncToken.\nIf the syncToken expires, the server will respond with a 410 GONE response code and the client should clear its storage and perform a full synchronization without any syncToken.\nLearn more about incremental synchronization.\nOptional. The default is to return all entries.",
  1628. "location": "query"
  1629. }
  1630. },
  1631. "request": {
  1632. "$ref": "Channel",
  1633. "parameterName": "resource"
  1634. },
  1635. "response": {
  1636. "$ref": "Channel"
  1637. },
  1638. "scopes": [
  1639. "https://www.googleapis.com/auth/calendar",
  1640. "https://www.googleapis.com/auth/calendar.readonly"
  1641. ],
  1642. "supportsSubscription": true
  1643. }
  1644. }
  1645. },
  1646. "calendars": {
  1647. "methods": {
  1648. "clear": {
  1649. "id": "calendar.calendars.clear",
  1650. "path": "calendars/{calendarId}/clear",
  1651. "httpMethod": "POST",
  1652. "description": "Clears a primary calendar. This operation deletes all data associated with the primary calendar of an account and cannot be undone.",
  1653. "parameters": {
  1654. "calendarId": {
  1655. "type": "string",
  1656. "description": "Calendar identifier.",
  1657. "required": true,
  1658. "location": "path"
  1659. }
  1660. },
  1661. "parameterOrder": [
  1662. "calendarId"
  1663. ],
  1664. "scopes": [
  1665. "https://www.googleapis.com/auth/calendar"
  1666. ]
  1667. },
  1668. "delete": {
  1669. "id": "calendar.calendars.delete",
  1670. "path": "calendars/{calendarId}",
  1671. "httpMethod": "DELETE",
  1672. "description": "Deletes a secondary calendar.",
  1673. "parameters": {
  1674. "calendarId": {
  1675. "type": "string",
  1676. "description": "Calendar identifier.",
  1677. "required": true,
  1678. "location": "path"
  1679. }
  1680. },
  1681. "parameterOrder": [
  1682. "calendarId"
  1683. ],
  1684. "scopes": [
  1685. "https://www.googleapis.com/auth/calendar"
  1686. ]
  1687. },
  1688. "get": {
  1689. "id": "calendar.calendars.get",
  1690. "path": "calendars/{calendarId}",
  1691. "httpMethod": "GET",
  1692. "description": "Returns metadata for a calendar.",
  1693. "parameters": {
  1694. "calendarId": {
  1695. "type": "string",
  1696. "description": "Calendar identifier.",
  1697. "required": true,
  1698. "location": "path"
  1699. }
  1700. },
  1701. "parameterOrder": [
  1702. "calendarId"
  1703. ],
  1704. "response": {
  1705. "$ref": "Calendar"
  1706. },
  1707. "scopes": [
  1708. "https://www.googleapis.com/auth/calendar",
  1709. "https://www.googleapis.com/auth/calendar.readonly"
  1710. ]
  1711. },
  1712. "insert": {
  1713. "id": "calendar.calendars.insert",
  1714. "path": "calendars",
  1715. "httpMethod": "POST",
  1716. "description": "Creates a secondary calendar.",
  1717. "request": {
  1718. "$ref": "Calendar"
  1719. },
  1720. "response": {
  1721. "$ref": "Calendar"
  1722. },
  1723. "scopes": [
  1724. "https://www.googleapis.com/auth/calendar"
  1725. ]
  1726. },
  1727. "patch": {
  1728. "id": "calendar.calendars.patch",
  1729. "path": "calendars/{calendarId}",
  1730. "httpMethod": "PATCH",
  1731. "description": "Updates metadata for a calendar. This method supports patch semantics.",
  1732. "parameters": {
  1733. "calendarId": {
  1734. "type": "string",
  1735. "description": "Calendar identifier.",
  1736. "required": true,
  1737. "location": "path"
  1738. }
  1739. },
  1740. "parameterOrder": [
  1741. "calendarId"
  1742. ],
  1743. "request": {
  1744. "$ref": "Calendar"
  1745. },
  1746. "response": {
  1747. "$ref": "Calendar"
  1748. },
  1749. "scopes": [
  1750. "https://www.googleapis.com/auth/calendar"
  1751. ]
  1752. },
  1753. "update": {
  1754. "id": "calendar.calendars.update",
  1755. "path": "calendars/{calendarId}",
  1756. "httpMethod": "PUT",
  1757. "description": "Updates metadata for a calendar.",
  1758. "parameters": {
  1759. "calendarId": {
  1760. "type": "string",
  1761. "description": "Calendar identifier.",
  1762. "required": true,
  1763. "location": "path"
  1764. }
  1765. },
  1766. "parameterOrder": [
  1767. "calendarId"
  1768. ],
  1769. "request": {
  1770. "$ref": "Calendar"
  1771. },
  1772. "response": {
  1773. "$ref": "Calendar"
  1774. },
  1775. "scopes": [
  1776. "https://www.googleapis.com/auth/calendar"
  1777. ]
  1778. }
  1779. }
  1780. },
  1781. "channels": {
  1782. "methods": {
  1783. "stop": {
  1784. "id": "calendar.channels.stop",
  1785. "path": "channels/stop",
  1786. "httpMethod": "POST",
  1787. "description": "Stop watching resources through this channel",
  1788. "request": {
  1789. "$ref": "Channel",
  1790. "parameterName": "resource"
  1791. },
  1792. "scopes": [
  1793. "https://www.googleapis.com/auth/calendar",
  1794. "https://www.googleapis.com/auth/calendar.readonly"
  1795. ]
  1796. }
  1797. }
  1798. },
  1799. "colors": {
  1800. "methods": {
  1801. "get": {
  1802. "id": "calendar.colors.get",
  1803. "path": "colors",
  1804. "httpMethod": "GET",
  1805. "description": "Returns the color definitions for calendars and events.",
  1806. "response": {
  1807. "$ref": "Colors"
  1808. },
  1809. "scopes": [
  1810. "https://www.googleapis.com/auth/calendar",
  1811. "https://www.googleapis.com/auth/calendar.readonly"
  1812. ]
  1813. }
  1814. }
  1815. },
  1816. "events": {
  1817. "methods": {
  1818. "delete": {
  1819. "id": "calendar.events.delete",
  1820. "path": "calendars/{calendarId}/events/{eventId}",
  1821. "httpMethod": "DELETE",
  1822. "description": "Deletes an event.",
  1823. "parameters": {
  1824. "calendarId": {
  1825. "type": "string",
  1826. "description": "Calendar identifier.",
  1827. "required": true,
  1828. "location": "path"
  1829. },
  1830. "eventId": {
  1831. "type": "string",
  1832. "description": "Event identifier.",
  1833. "required": true,
  1834. "location": "path"
  1835. },
  1836. "sendNotifications": {
  1837. "type": "boolean",
  1838. "description": "Whether to send notifications about the deletion of the event. Optional. The default is False.",
  1839. "location": "query"
  1840. }
  1841. },
  1842. "parameterOrder": [
  1843. "calendarId",
  1844. "eventId"
  1845. ],
  1846. "scopes": [
  1847. "https://www.googleapis.com/auth/calendar"
  1848. ]
  1849. },
  1850. "get": {
  1851. "id": "calendar.events.get",
  1852. "path": "calendars/{calendarId}/events/{eventId}",
  1853. "httpMethod": "GET",
  1854. "description": "Returns an event.",
  1855. "parameters": {
  1856. "alwaysIncludeEmail": {
  1857. "type": "boolean",
  1858. "description": "Whether to always include a value in the email field for the organizer, creator and attendees, even if no real email is available (i.e. a generated, non-working value will be provided). The use of this option is discouraged and should only be used by clients which cannot handle the absence of an email address value in the mentioned places. Optional. The default is False.",
  1859. "location": "query"
  1860. },
  1861. "calendarId": {
  1862. "type": "string",
  1863. "description": "Calendar identifier.",
  1864. "required": true,
  1865. "location": "path"
  1866. },
  1867. "eventId": {
  1868. "type": "string",
  1869. "description": "Event identifier.",
  1870. "required": true,
  1871. "location": "path"
  1872. },
  1873. "maxAttendees": {
  1874. "type": "integer",
  1875. "description": "The maximum number of attendees to include in the response. If there are more than the specified number of attendees, only the participant is returned. Optional.",
  1876. "format": "int32",
  1877. "minimum": "1",
  1878. "location": "query"
  1879. },
  1880. "timeZone": {
  1881. "type": "string",
  1882. "description": "Time zone used in the response. Optional. The default is the time zone of the calendar.",
  1883. "location": "query"
  1884. }
  1885. },
  1886. "parameterOrder": [
  1887. "calendarId",
  1888. "eventId"
  1889. ],
  1890. "response": {
  1891. "$ref": "Event"
  1892. },
  1893. "scopes": [
  1894. "https://www.googleapis.com/auth/calendar",
  1895. "https://www.googleapis.com/auth/calendar.readonly"
  1896. ]
  1897. },
  1898. "import": {
  1899. "id": "calendar.events.import",
  1900. "path": "calendars/{calendarId}/events/import",
  1901. "httpMethod": "POST",
  1902. "description": "Imports an event. This operation is used to add a private copy of an existing event to a calendar.",
  1903. "parameters": {
  1904. "calendarId": {
  1905. "type": "string",
  1906. "description": "Calendar identifier.",
  1907. "required": true,
  1908. "location": "path"
  1909. }
  1910. },
  1911. "parameterOrder": [
  1912. "calendarId"
  1913. ],
  1914. "request": {
  1915. "$ref": "Event"
  1916. },
  1917. "response": {
  1918. "$ref": "Event"
  1919. },
  1920. "scopes": [
  1921. "https://www.googleapis.com/auth/calendar"
  1922. ]
  1923. },
  1924. "insert": {
  1925. "id": "calendar.events.insert",
  1926. "path": "calendars/{calendarId}/events",
  1927. "httpMethod": "POST",
  1928. "description": "Creates an event.",
  1929. "parameters": {
  1930. "calendarId": {
  1931. "type": "string",
  1932. "description": "Calendar identifier.",
  1933. "required": true,
  1934. "location": "path"
  1935. },
  1936. "maxAttendees": {
  1937. "type": "integer",
  1938. "description": "The maximum number of attendees to include in the response. If there are more than the specified number of attendees, only the participant is returned. Optional.",
  1939. "format": "int32",
  1940. "minimum": "1",
  1941. "location": "query"
  1942. },
  1943. "sendNotifications": {
  1944. "type": "boolean",
  1945. "description": "Whether to send notifications about the creation of the new event. Optional. The default is False.",
  1946. "location": "query"
  1947. }
  1948. },
  1949. "parameterOrder": [
  1950. "calendarId"
  1951. ],
  1952. "request": {
  1953. "$ref": "Event"
  1954. },
  1955. "response": {
  1956. "$ref": "Event"
  1957. },
  1958. "scopes": [
  1959. "https://www.googleapis.com/auth/calendar"
  1960. ]
  1961. },
  1962. "instances": {
  1963. "id": "calendar.events.instances",
  1964. "path": "calendars/{calendarId}/events/{eventId}/instances",
  1965. "httpMethod": "GET",
  1966. "description": "Returns instances of the specified recurring event.",
  1967. "parameters": {
  1968. "alwaysIncludeEmail": {
  1969. "type": "boolean",
  1970. "description": "Whether to always include a value in the email field for the organizer, creator and attendees, even if no real email is available (i.e. a generated, non-working value will be provided). The use of this option is discouraged and should only be used by clients which cannot handle the absence of an email address value in the mentioned places. Optional. The default is False.",
  1971. "location": "query"
  1972. },
  1973. "calendarId": {
  1974. "type": "string",
  1975. "description": "Calendar identifier.",
  1976. "required": true,
  1977. "location": "path"
  1978. },
  1979. "eventId": {
  1980. "type": "string",
  1981. "description": "Recurring event identifier.",
  1982. "required": true,
  1983. "location": "path"
  1984. },
  1985. "maxAttendees": {
  1986. "type": "integer",
  1987. "description": "The maximum number of attendees to include in the response. If there are more than the specified number of attendees, only the participant is returned. Optional.",
  1988. "format": "int32",
  1989. "minimum": "1",
  1990. "location": "query"
  1991. },
  1992. "maxResults": {
  1993. "type": "integer",
  1994. "description": "Maximum number of events returned on one result page. By default the value is 250 events. The page size can never be larger than 2500 events. Optional.",
  1995. "format": "int32",
  1996. "minimum": "1",
  1997. "location": "query"
  1998. },
  1999. "originalStart": {
  2000. "type": "string",
  2001. "description": "The original start time of the instance in the result. Optional.",
  2002. "location": "query"
  2003. },
  2004. "pageToken": {
  2005. "type": "string",
  2006. "description": "Token specifying which result page to return. Optional.",
  2007. "location": "query"
  2008. },
  2009. "showDeleted": {
  2010. "type": "boolean",
  2011. "description": "Whether to include deleted events (with status equals \"cancelled\") in the result. Cancelled instances of recurring events will still be included if singleEvents is False. Optional. The default is False.",
  2012. "location": "query"
  2013. },
  2014. "timeMax": {
  2015. "type": "string",
  2016. "description": "Upper bound (exclusive) for an event's start time to filter by. Optional. The default is not to filter by start time.",
  2017. "format": "date-time",
  2018. "location": "query"
  2019. },
  2020. "timeMin": {
  2021. "type": "string",
  2022. "description": "Lower bound (inclusive) for an event's end time to filter by. Optional. The default is not to filter by end time.",
  2023. "format": "date-time",
  2024. "location": "query"
  2025. },
  2026. "timeZone": {
  2027. "type": "string",
  2028. "description": "Time zone used in the response. Optional. The default is the time zone of the calendar.",
  2029. "location": "query"
  2030. }
  2031. },
  2032. "parameterOrder": [
  2033. "calendarId",
  2034. "eventId"
  2035. ],
  2036. "response": {
  2037. "$ref": "Events"
  2038. },
  2039. "scopes": [
  2040. "https://www.googleapis.com/auth/calendar",
  2041. "https://www.googleapis.com/auth/calendar.readonly"
  2042. ],
  2043. "supportsSubscription": true
  2044. },
  2045. "list": {
  2046. "id": "calendar.events.list",
  2047. "path": "calendars/{calendarId}/events",
  2048. "httpMethod": "GET",
  2049. "description": "Returns events on the specified calendar.",
  2050. "parameters": {
  2051. "alwaysIncludeEmail": {
  2052. "type": "boolean",
  2053. "description": "Whether to always include a value in the email field for the organizer, creator and attendees, even if no real email is available (i.e. a generated, non-working value will be provided). The use of this option is discouraged and should only be used by clients which cannot handle the absence of an email address value in the mentioned places. Optional. The default is False.",
  2054. "location": "query"
  2055. },
  2056. "calendarId": {
  2057. "type": "string",
  2058. "description": "Calendar identifier.",
  2059. "required": true,
  2060. "location": "path"
  2061. },
  2062. "iCalUID": {
  2063. "type": "string",
  2064. "description": "Specifies event ID in the iCalendar format to be included in the response. Optional.",
  2065. "location": "query"
  2066. },
  2067. "maxAttendees": {
  2068. "type": "integer",
  2069. "description": "The maximum number of attendees to include in the response. If there are more than the specified number of attendees, only the participant is returned. Optional.",
  2070. "format": "int32",
  2071. "minimum": "1",
  2072. "location": "query"
  2073. },
  2074. "maxResults": {
  2075. "type": "integer",
  2076. "description": "Maximum number of events returned on one result page. By default the value is 250 events. The page size can never be larger than 2500 events. Optional.",
  2077. "format": "int32",
  2078. "minimum": "1",
  2079. "location": "query"
  2080. },
  2081. "orderBy": {
  2082. "type": "string",
  2083. "description": "The order of the events returned in the result. Optional. The default is an unspecified, stable order.",
  2084. "enum": [
  2085. "startTime",
  2086. "updated"
  2087. ],
  2088. "enumDescriptions": [
  2089. "Order by the start date/time (ascending). This is only available when querying single events (i.e. the parameter singleEvents is True)",
  2090. "Order by last modification time (ascending)."
  2091. ],
  2092. "location": "query"
  2093. },
  2094. "pageToken": {
  2095. "type": "string",
  2096. "description": "Token specifying which result page to return. Optional.",
  2097. "location": "query"
  2098. },
  2099. "privateExtendedProperty": {
  2100. "type": "string",
  2101. "description": "Extended properties constraint specified as propertyName=value. Matches only private properties. This parameter might be repeated multiple times to return events that match all given constraints.",
  2102. "repeated": true,
  2103. "location": "query"
  2104. },
  2105. "q": {
  2106. "type": "string",
  2107. "description": "Free text search terms to find events that match these terms in any field, except for extended properties. Optional.",
  2108. "location": "query"
  2109. },
  2110. "sharedExtendedProperty": {
  2111. "type": "string",
  2112. "description": "Extended properties constraint specified as propertyName=value. Matches only shared properties. This parameter might be repeated multiple times to return events that match all given constraints.",
  2113. "repeated": true,
  2114. "location": "query"
  2115. },
  2116. "showDeleted": {
  2117. "type": "boolean",
  2118. "description": "Whether to include deleted events (with status equals \"cancelled\") in the result. Cancelled instances of recurring events (but not the underlying recurring event) will still be included if showDeleted and singleEvents are both False. If showDeleted and singleEvents are both True, only single instances of deleted events (but not the underlying recurring events) are returned. Optional. The default is False.",
  2119. "location": "query"
  2120. },
  2121. "showHiddenInvitations": {
  2122. "type": "boolean",
  2123. "description": "Whether to include hidden invitations in the result. Optional. The default is False.",
  2124. "location": "query"
  2125. },
  2126. "singleEvents": {
  2127. "type": "boolean",
  2128. "description": "Whether to expand recurring events into instances and only return single one-off events and instances of recurring events, but not the underlying recurring events themselves. Optional. The default is False.",
  2129. "location": "query"
  2130. },
  2131. "syncToken": {
  2132. "type": "string",
  2133. "description": "Token obtained from the nextSyncToken field returned on the last page of results from the previous list request. It makes the result of this list request contain only entries that have changed since then. All events deleted since the previous list request will always be in the result set and it is not allowed to set showDeleted to False.\nThere are several query parameters that cannot be specified together with nextSyncToken to ensure consistency of the client state.\n\nThese are: \n- iCalUID \n- orderBy \n- privateExtendedProperty \n- q \n- sharedExtendedProperty \n- timeMin \n- timeMax \n- updatedMin If the syncToken expires, the server will respond with a 410 GONE response code and the client should clear its storage and perform a full synchronization without any syncToken.\nLearn more about incremental synchronization.\nOptional. The default is to return all entries.",
  2134. "location": "query"
  2135. },
  2136. "timeMax": {
  2137. "type": "string",
  2138. "description": "Upper bound (exclusive) for an event's start time to filter by. Optional. The default is not to filter by start time.",
  2139. "format": "date-time",
  2140. "location": "query"
  2141. },
  2142. "timeMin": {
  2143. "type": "string",
  2144. "description": "Lower bound (inclusive) for an event's end time to filter by. Optional. The default is not to filter by end time.",
  2145. "format": "date-time",
  2146. "location": "query"
  2147. },
  2148. "timeZone": {
  2149. "type": "string",
  2150. "description": "Time zone used in the response. Optional. The default is the time zone of the calendar.",
  2151. "location": "query"
  2152. },
  2153. "updatedMin": {
  2154. "type": "string",
  2155. "description": "Lower bound for an event's last modification time (as a RFC 3339 timestamp) to filter by. When specified, entries deleted since this time will always be included regardless of showDeleted. Optional. The default is not to filter by last modification time.",
  2156. "format": "date-time",
  2157. "location": "query"
  2158. }
  2159. },
  2160. "parameterOrder": [
  2161. "calendarId"
  2162. ],
  2163. "response": {
  2164. "$ref": "Events"
  2165. },
  2166. "scopes": [
  2167. "https://www.googleapis.com/auth/calendar",
  2168. "https://www.googleapis.com/auth/calendar.readonly"
  2169. ],
  2170. "supportsSubscription": true
  2171. },
  2172. "move": {
  2173. "id": "calendar.events.move",
  2174. "path": "calendars/{calendarId}/events/{eventId}/move",
  2175. "httpMethod": "POST",
  2176. "description": "Moves an event to another calendar, i.e. changes an event's organizer.",
  2177. "parameters": {
  2178. "calendarId": {
  2179. "type": "string",
  2180. "description": "Calendar identifier of the source calendar where the event currently is on.",
  2181. "required": true,
  2182. "location": "path"
  2183. },
  2184. "destination": {
  2185. "type": "string",
  2186. "description": "Calendar identifier of the target calendar where the event is to be moved to.",
  2187. "required": true,
  2188. "location": "query"
  2189. },
  2190. "eventId": {
  2191. "type": "string",
  2192. "description": "Event identifier.",
  2193. "required": true,
  2194. "location": "path"
  2195. },
  2196. "sendNotifications": {
  2197. "type": "boolean",
  2198. "description": "Whether to send notifications about the change of the event's organizer. Optional. The default is False.",
  2199. "location": "query"
  2200. }
  2201. },
  2202. "parameterOrder": [
  2203. "calendarId",
  2204. "eventId",
  2205. "destination"
  2206. ],
  2207. "response": {
  2208. "$ref": "Event"
  2209. },
  2210. "scopes": [
  2211. "https://www.googleapis.com/auth/calendar"
  2212. ]
  2213. },
  2214. "patch": {
  2215. "id": "calendar.events.patch",
  2216. "path": "calendars/{calendarId}/events/{eventId}",
  2217. "httpMethod": "PATCH",
  2218. "description": "Updates an event. This method supports patch semantics.",
  2219. "parameters": {
  2220. "alwaysIncludeEmail": {
  2221. "type": "boolean",
  2222. "description": "Whether to always include a value in the email field for the organizer, creator and attendees, even if no real email is available (i.e. a generated, non-working value will be provided). The use of this option is discouraged and should only be used by clients which cannot handle the absence of an email address value in the mentioned places. Optional. The default is False.",
  2223. "location": "query"
  2224. },
  2225. "calendarId": {
  2226. "type": "string",
  2227. "description": "Calendar identifier.",
  2228. "required": true,
  2229. "location": "path"
  2230. },
  2231. "eventId": {
  2232. "type": "string",
  2233. "description": "Event identifier.",
  2234. "required": true,
  2235. "location": "path"
  2236. },
  2237. "maxAttendees": {
  2238. "type": "integer",
  2239. "description": "The maximum number of attendees to include in the response. If there are more than the specified number of attendees, only the participant is returned. Optional.",
  2240. "format": "int32",
  2241. "minimum": "1",
  2242. "location": "query"
  2243. },
  2244. "sendNotifications": {
  2245. "type": "boolean",
  2246. "description": "Whether to send notifications about the event update (e.g. attendee's responses, title changes, etc.). Optional. The default is False.",
  2247. "location": "query"
  2248. }
  2249. },
  2250. "parameterOrder": [
  2251. "calendarId",
  2252. "eventId"
  2253. ],
  2254. "request": {
  2255. "$ref": "Event"
  2256. },
  2257. "response": {
  2258. "$ref": "Event"
  2259. },
  2260. "scopes": [
  2261. "https://www.googleapis.com/auth/calendar"
  2262. ]
  2263. },
  2264. "quickAdd": {
  2265. "id": "calendar.events.quickAdd",
  2266. "path": "calendars/{calendarId}/events/quickAdd",
  2267. "httpMethod": "POST",
  2268. "description": "Creates an event based on a simple text string.",
  2269. "parameters": {
  2270. "calendarId": {
  2271. "type": "string",
  2272. "description": "Calendar identifier.",
  2273. "required": true,
  2274. "location": "path"
  2275. },
  2276. "sendNotifications": {
  2277. "type": "boolean",
  2278. "description": "Whether to send notifications about the creation of the event. Optional. The default is False.",
  2279. "location": "query"
  2280. },
  2281. "text": {
  2282. "type": "string",
  2283. "description": "The text describing the event to be created.",
  2284. "required": true,
  2285. "location": "query"
  2286. }
  2287. },
  2288. "parameterOrder": [
  2289. "calendarId",
  2290. "text"
  2291. ],
  2292. "response": {
  2293. "$ref": "Event"
  2294. },
  2295. "scopes": [
  2296. "https://www.googleapis.com/auth/calendar"
  2297. ]
  2298. },
  2299. "update": {
  2300. "id": "calendar.events.update",
  2301. "path": "calendars/{calendarId}/events/{eventId}",
  2302. "httpMethod": "PUT",
  2303. "description": "Updates an event.",
  2304. "parameters": {
  2305. "alwaysIncludeEmail": {
  2306. "type": "boolean",
  2307. "description": "Whether to always include a value in the email field for the organizer, creator and attendees, even if no real email is available (i.e. a generated, non-working value will be provided). The use of this option is discouraged and should only be used by clients which cannot handle the absence of an email address value in the mentioned places. Optional. The default is False.",
  2308. "location": "query"
  2309. },
  2310. "calendarId": {
  2311. "type": "string",
  2312. "description": "Calendar identifier.",
  2313. "required": true,
  2314. "location": "path"
  2315. },
  2316. "eventId": {
  2317. "type": "string",
  2318. "description": "Event identifier.",
  2319. "required": true,
  2320. "location": "path"
  2321. },
  2322. "maxAttendees": {
  2323. "type": "integer",
  2324. "description": "The maximum number of attendees to include in the response. If there are more than the specified number of attendees, only the participant is returned. Optional.",
  2325. "format": "int32",
  2326. "minimum": "1",
  2327. "location": "query"
  2328. },
  2329. "sendNotifications": {
  2330. "type": "boolean",
  2331. "description": "Whether to send notifications about the event update (e.g. attendee's responses, title changes, etc.). Optional. The default is False.",
  2332. "location": "query"
  2333. }
  2334. },
  2335. "parameterOrder": [
  2336. "calendarId",
  2337. "eventId"
  2338. ],
  2339. "request": {
  2340. "$ref": "Event"
  2341. },
  2342. "response": {
  2343. "$ref": "Event"
  2344. },
  2345. "scopes": [
  2346. "https://www.googleapis.com/auth/calendar"
  2347. ]
  2348. },
  2349. "watch": {
  2350. "id": "calendar.events.watch",
  2351. "path": "calendars/{calendarId}/events/watch",
  2352. "httpMethod": "POST",
  2353. "description": "Watch for changes to Events resources.",
  2354. "parameters": {
  2355. "alwaysIncludeEmail": {
  2356. "type": "boolean",
  2357. "description": "Whether to always include a value in the email field for the organizer, creator and attendees, even if no real email is available (i.e. a generated, non-working value will be provided). The use of this option is discouraged and should only be used by clients which cannot handle the absence of an email address value in the mentioned places. Optional. The default is False.",
  2358. "location": "query"
  2359. },
  2360. "calendarId": {
  2361. "type": "string",
  2362. "description": "Calendar identifier.",
  2363. "required": true,
  2364. "location": "path"
  2365. },
  2366. "iCalUID": {
  2367. "type": "string",
  2368. "description": "Specifies event ID in the iCalendar format to be included in the response. Optional.",
  2369. "location": "query"
  2370. },
  2371. "maxAttendees": {
  2372. "type": "integer",
  2373. "description": "The maximum number of attendees to include in the response. If there are more than the specified number of attendees, only the participant is returned. Optional.",
  2374. "format": "int32",
  2375. "minimum": "1",
  2376. "location": "query"
  2377. },
  2378. "maxResults": {
  2379. "type": "integer",
  2380. "description": "Maximum number of events returned on one result page. By default the value is 250 events. The page size can never be larger than 2500 events. Optional.",
  2381. "format": "int32",
  2382. "minimum": "1",
  2383. "location": "query"
  2384. },
  2385. "orderBy": {
  2386. "type": "string",
  2387. "description": "The order of the events returned in the result. Optional. The default is an unspecified, stable order.",
  2388. "enum": [
  2389. "startTime",
  2390. "updated"
  2391. ],
  2392. "enumDescriptions": [
  2393. "Order by the start date/time (ascending). This is only available when querying single events (i.e. the parameter singleEvents is True)",
  2394. "Order by last modification time (ascending)."
  2395. ],
  2396. "location": "query"
  2397. },
  2398. "pageToken": {
  2399. "type": "string",
  2400. "description": "Token specifying which result page to return. Optional.",
  2401. "location": "query"
  2402. },
  2403. "privateExtendedProperty": {
  2404. "type": "string",
  2405. "description": "Extended properties constraint specified as propertyName=value. Matches only private properties. This parameter might be repeated multiple times to return events that match all given constraints.",
  2406. "repeated": true,
  2407. "location": "query"
  2408. },
  2409. "q": {
  2410. "type": "string",
  2411. "description": "Free text search terms to find events that match these terms in any field, except for extended properties. Optional.",
  2412. "location": "query"
  2413. },
  2414. "sharedExtendedProperty": {
  2415. "type": "string",
  2416. "description": "Extended properties constraint specified as propertyName=value. Matches only shared properties. This parameter might be repeated multiple times to return events that match all given constraints.",
  2417. "repeated": true,
  2418. "location": "query"
  2419. },
  2420. "showDeleted": {
  2421. "type": "boolean",
  2422. "description": "Whether to include deleted events (with status equals \"cancelled\") in the result. Cancelled instances of recurring events (but not the underlying recurring event) will still be included if showDeleted and singleEvents are both False. If showDeleted and singleEvents are both True, only single instances of deleted events (but not the underlying recurring events) are returned. Optional. The default is False.",
  2423. "location": "query"
  2424. },
  2425. "showHiddenInvitations": {
  2426. "type": "boolean",
  2427. "description": "Whether to include hidden invitations in the result. Optional. The default is False.",
  2428. "location": "query"
  2429. },
  2430. "singleEvents": {
  2431. "type": "boolean",
  2432. "description": "Whether to expand recurring events into instances and only return single one-off events and instances of recurring events, but not the underlying recurring events themselves. Optional. The default is False.",
  2433. "location": "query"
  2434. },
  2435. "syncToken": {
  2436. "type": "string",
  2437. "description": "Token obtained from the nextSyncToken field returned on the last page of results from the previous list request. It makes the result of this list request contain only entries that have changed since then. All events deleted since the previous list request will always be in the result set and it is not allowed to set showDeleted to False.\nThere are several query parameters that cannot be specified together with nextSyncToken to ensure consistency of the client state.\n\nThese are: \n- iCalUID \n- orderBy \n- privateExtendedProperty \n- q \n- sharedExtendedProperty \n- timeMin \n- timeMax \n- updatedMin If the syncToken expires, the server will respond with a 410 GONE response code and the client should clear its storage and perform a full synchronization without any syncToken.\nLearn more about incremental synchronization.\nOptional. The default is to return all entries.",
  2438. "location": "query"
  2439. },
  2440. "timeMax": {
  2441. "type": "string",
  2442. "description": "Upper bound (exclusive) for an event's start time to filter by. Optional. The default is not to filter by start time.",
  2443. "format": "date-time",
  2444. "location": "query"
  2445. },
  2446. "timeMin": {
  2447. "type": "string",
  2448. "description": "Lower bound (inclusive) for an event's end time to filter by. Optional. The default is not to filter by end time.",
  2449. "format": "date-time",
  2450. "location": "query"
  2451. },
  2452. "timeZone": {
  2453. "type": "string",
  2454. "description": "Time zone used in the response. Optional. The default is the time zone of the calendar.",
  2455. "location": "query"
  2456. },
  2457. "updatedMin": {
  2458. "type": "string",
  2459. "description": "Lower bound for an event's last modification time (as a RFC 3339 timestamp) to filter by. When specified, entries deleted since this time will always be included regardless of showDeleted. Optional. The default is not to filter by last modification time.",
  2460. "format": "date-time",
  2461. "location": "query"
  2462. }
  2463. },
  2464. "parameterOrder": [
  2465. "calendarId"
  2466. ],
  2467. "request": {
  2468. "$ref": "Channel",
  2469. "parameterName": "resource"
  2470. },
  2471. "response": {
  2472. "$ref": "Channel"
  2473. },
  2474. "scopes": [
  2475. "https://www.googleapis.com/auth/calendar",
  2476. "https://www.googleapis.com/auth/calendar.readonly"
  2477. ],
  2478. "supportsSubscription": true
  2479. }
  2480. }
  2481. },
  2482. "freebusy": {
  2483. "methods": {
  2484. "query": {
  2485. "id": "calendar.freebusy.query",
  2486. "path": "freeBusy",
  2487. "httpMethod": "POST",
  2488. "description": "Returns free/busy information for a set of calendars.",
  2489. "request": {
  2490. "$ref": "FreeBusyRequest"
  2491. },
  2492. "response": {
  2493. "$ref": "FreeBusyResponse"
  2494. },
  2495. "scopes": [
  2496. "https://www.googleapis.com/auth/calendar",
  2497. "https://www.googleapis.com/auth/calendar.readonly"
  2498. ]
  2499. }
  2500. }
  2501. },
  2502. "settings": {
  2503. "methods": {
  2504. "get": {
  2505. "id": "calendar.settings.get",
  2506. "path": "users/me/settings/{setting}",
  2507. "httpMethod": "GET",
  2508. "description": "Returns a single user setting.",
  2509. "parameters": {
  2510. "setting": {
  2511. "type": "string",
  2512. "description": "The id of the user setting.",
  2513. "required": true,
  2514. "location": "path"
  2515. }
  2516. },
  2517. "parameterOrder": [
  2518. "setting"
  2519. ],
  2520. "response": {
  2521. "$ref": "Setting"
  2522. },
  2523. "scopes": [
  2524. "https://www.googleapis.com/auth/calendar",
  2525. "https://www.googleapis.com/auth/calendar.readonly"
  2526. ]
  2527. },
  2528. "list": {
  2529. "id": "calendar.settings.list",
  2530. "path": "users/me/settings",
  2531. "httpMethod": "GET",
  2532. "description": "Returns all user settings for the authenticated user.",
  2533. "parameters": {
  2534. "maxResults": {
  2535. "type": "integer",
  2536. "description": "Maximum number of entries returned on one result page. By default the value is 100 entries. The page size can never be larger than 250 entries. Optional.",
  2537. "format": "int32",
  2538. "minimum": "1",
  2539. "location": "query"
  2540. },
  2541. "pageToken": {
  2542. "type": "string",
  2543. "description": "Token specifying which result page to return. Optional.",
  2544. "location": "query"
  2545. },
  2546. "syncToken": {
  2547. "type": "string",
  2548. "description": "Token obtained from the nextSyncToken field returned on the last page of results from the previous list request. It makes the result of this list request contain only entries that have changed since then.\nIf the syncToken expires, the server will respond with a 410 GONE response code and the client should clear its storage and perform a full synchronization without any syncToken.\nLearn more about incremental synchronization.\nOptional. The default is to return all entries.",
  2549. "location": "query"
  2550. }
  2551. },
  2552. "response": {
  2553. "$ref": "Settings"
  2554. },
  2555. "scopes": [
  2556. "https://www.googleapis.com/auth/calendar",
  2557. "https://www.googleapis.com/auth/calendar.readonly"
  2558. ],
  2559. "supportsSubscription": true
  2560. },
  2561. "watch": {
  2562. "id": "calendar.settings.watch",
  2563. "path": "users/me/settings/watch",
  2564. "httpMethod": "POST",
  2565. "description": "Watch for changes to Settings resources.",
  2566. "parameters": {
  2567. "maxResults": {
  2568. "type": "integer",
  2569. "description": "Maximum number of entries returned on one result page. By default the value is 100 entries. The page size can never be larger than 250 entries. Optional.",
  2570. "format": "int32",
  2571. "minimum": "1",
  2572. "location": "query"
  2573. },
  2574. "pageToken": {
  2575. "type": "string",
  2576. "description": "Token specifying which result page to return. Optional.",
  2577. "location": "query"
  2578. },
  2579. "syncToken": {
  2580. "type": "string",
  2581. "description": "Token obtained from the nextSyncToken field returned on the last page of results from the previous list request. It makes the result of this list request contain only entries that have changed since then.\nIf the syncToken expires, the server will respond with a 410 GONE response code and the client should clear its storage and perform a full synchronization without any syncToken.\nLearn more about incremental synchronization.\nOptional. The default is to return all entries.",
  2582. "location": "query"
  2583. }
  2584. },
  2585. "request": {
  2586. "$ref": "Channel",
  2587. "parameterName": "resource"
  2588. },
  2589. "response": {
  2590. "$ref": "Channel"
  2591. },
  2592. "scopes": [
  2593. "https://www.googleapis.com/auth/calendar",
  2594. "https://www.googleapis.com/auth/calendar.readonly"
  2595. ],
  2596. "supportsSubscription": true
  2597. }
  2598. }
  2599. }
  2600. }
  2601. }