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