| 1 |
{ |
| 2 |
"auth": { |
| 3 |
"oauth2": { |
| 4 |
"scopes": { |
| 5 |
"https://www.googleapis.com/auth/keep": { |
| 6 |
"description": "See, edit, create and permanently delete all your Google Keep data" |
| 7 |
}, |
| 8 |
"https://www.googleapis.com/auth/keep.readonly": { |
| 9 |
"description": "View all your Google Keep data" |
| 10 |
} |
| 11 |
} |
| 12 |
} |
| 13 |
}, |
| 14 |
"basePath": "", |
| 15 |
"baseUrl": "https://keep.googleapis.com/", |
| 16 |
"batchPath": "batch", |
| 17 |
"canonicalName": "Keep", |
| 18 |
"description": "The Google Keep API is used in an enterprise environment to manage Google Keep content and resolve issues identified by cloud security software.", |
| 19 |
"discoveryVersion": "v1", |
| 20 |
"documentationLink": "https://developers.google.com/workspace/keep/api", |
| 21 |
"fullyEncodeReservedExpansion": true, |
| 22 |
"icons": { |
| 23 |
"x16": "http://www.google.com/images/icons/product/search-16.gif", |
| 24 |
"x32": "http://www.google.com/images/icons/product/search-32.gif" |
| 25 |
}, |
| 26 |
"id": "keep:v1", |
| 27 |
"kind": "discovery#restDescription", |
| 28 |
"mtlsRootUrl": "https://keep.mtls.googleapis.com/", |
| 29 |
"name": "keep", |
| 30 |
"ownerDomain": "google.com", |
| 31 |
"ownerName": "Google", |
| 32 |
"parameters": { |
| 33 |
"$.xgafv": { |
| 34 |
"description": "V1 error format.", |
| 35 |
"enum": [ |
| 36 |
"1", |
| 37 |
"2" |
| 38 |
], |
| 39 |
"enumDescriptions": [ |
| 40 |
"v1 error format", |
| 41 |
"v2 error format" |
| 42 |
], |
| 43 |
"location": "query", |
| 44 |
"type": "string" |
| 45 |
}, |
| 46 |
"access_token": { |
| 47 |
"description": "OAuth access token.", |
| 48 |
"location": "query", |
| 49 |
"type": "string" |
| 50 |
}, |
| 51 |
"alt": { |
| 52 |
"default": "json", |
| 53 |
"description": "Data format for response.", |
| 54 |
"enum": [ |
| 55 |
"json", |
| 56 |
"media", |
| 57 |
"proto" |
| 58 |
], |
| 59 |
"enumDescriptions": [ |
| 60 |
"Responses with Content-Type of application/json", |
| 61 |
"Media download with context-dependent Content-Type", |
| 62 |
"Responses with Content-Type of application/x-protobuf" |
| 63 |
], |
| 64 |
"location": "query", |
| 65 |
"type": "string" |
| 66 |
}, |
| 67 |
"callback": { |
| 68 |
"description": "JSONP", |
| 69 |
"location": "query", |
| 70 |
"type": "string" |
| 71 |
}, |
| 72 |
"fields": { |
| 73 |
"description": "Selector specifying which fields to include in a partial response.", |
| 74 |
"location": "query", |
| 75 |
"type": "string" |
| 76 |
}, |
| 77 |
"key": { |
| 78 |
"description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", |
| 79 |
"location": "query", |
| 80 |
"type": "string" |
| 81 |
}, |
| 82 |
"oauth_token": { |
| 83 |
"description": "OAuth 2.0 token for the current user.", |
| 84 |
"location": "query", |
| 85 |
"type": "string" |
| 86 |
}, |
| 87 |
"prettyPrint": { |
| 88 |
"default": "true", |
| 89 |
"description": "Returns response with indentations and line breaks.", |
| 90 |
"location": "query", |
| 91 |
"type": "boolean" |
| 92 |
}, |
| 93 |
"quotaUser": { |
| 94 |
"description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.", |
| 95 |
"location": "query", |
| 96 |
"type": "string" |
| 97 |
}, |
| 98 |
"uploadType": { |
| 99 |
"description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", |
| 100 |
"location": "query", |
| 101 |
"type": "string" |
| 102 |
}, |
| 103 |
"upload_protocol": { |
| 104 |
"description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", |
| 105 |
"location": "query", |
| 106 |
"type": "string" |
| 107 |
} |
| 108 |
}, |
| 109 |
"protocol": "rest", |
| 110 |
"resources": { |
| 111 |
"media": { |
| 112 |
"methods": { |
| 113 |
"download": { |
| 114 |
"description": "Gets an attachment. To download attachment media via REST requires the alt=media query parameter. Returns a 400 bad request error if attachment media is not available in the requested MIME type.", |
| 115 |
"flatPath": "v1/notes/{notesId}/attachments/{attachmentsId}", |
| 116 |
"httpMethod": "GET", |
| 117 |
"id": "keep.media.download", |
| 118 |
"parameterOrder": [ |
| 119 |
"name" |
| 120 |
], |
| 121 |
"parameters": { |
| 122 |
"mimeType": { |
| 123 |
"description": "The IANA MIME type format requested. The requested MIME type must be one specified in the attachment.mime_type. Required when downloading attachment media and ignored otherwise.", |
| 124 |
"location": "query", |
| 125 |
"type": "string" |
| 126 |
}, |
| 127 |
"name": { |
| 128 |
"description": "Required. The name of the attachment.", |
| 129 |
"location": "path", |
| 130 |
"pattern": "^notes/[^/]+/attachments/[^/]+$", |
| 131 |
"required": true, |
| 132 |
"type": "string" |
| 133 |
} |
| 134 |
}, |
| 135 |
"path": "v1/{+name}", |
| 136 |
"response": { |
| 137 |
"$ref": "Attachment" |
| 138 |
}, |
| 139 |
"scopes": [ |
| 140 |
"https://www.googleapis.com/auth/keep", |
| 141 |
"https://www.googleapis.com/auth/keep.readonly" |
| 142 |
], |
| 143 |
"supportsMediaDownload": true, |
| 144 |
"useMediaDownloadService": true |
| 145 |
} |
| 146 |
} |
| 147 |
}, |
| 148 |
"notes": { |
| 149 |
"methods": { |
| 150 |
"create": { |
| 151 |
"description": "Creates a new note.", |
| 152 |
"flatPath": "v1/notes", |
| 153 |
"httpMethod": "POST", |
| 154 |
"id": "keep.notes.create", |
| 155 |
"parameterOrder": [], |
| 156 |
"parameters": {}, |
| 157 |
"path": "v1/notes", |
| 158 |
"request": { |
| 159 |
"$ref": "Note" |
| 160 |
}, |
| 161 |
"response": { |
| 162 |
"$ref": "Note" |
| 163 |
}, |
| 164 |
"scopes": [ |
| 165 |
"https://www.googleapis.com/auth/keep" |
| 166 |
] |
| 167 |
}, |
| 168 |
"delete": { |
| 169 |
"description": "Deletes a note. Caller must have the `OWNER` role on the note to delete. Deleting a note removes the resource immediately and cannot be undone. Any collaborators will lose access to the note.", |
| 170 |
"flatPath": "v1/notes/{notesId}", |
| 171 |
"httpMethod": "DELETE", |
| 172 |
"id": "keep.notes.delete", |
| 173 |
"parameterOrder": [ |
| 174 |
"name" |
| 175 |
], |
| 176 |
"parameters": { |
| 177 |
"name": { |
| 178 |
"description": "Required. Name of the note to delete.", |
| 179 |
"location": "path", |
| 180 |
"pattern": "^notes/[^/]+$", |
| 181 |
"required": true, |
| 182 |
"type": "string" |
| 183 |
} |
| 184 |
}, |
| 185 |
"path": "v1/{+name}", |
| 186 |
"response": { |
| 187 |
"$ref": "Empty" |
| 188 |
}, |
| 189 |
"scopes": [ |
| 190 |
"https://www.googleapis.com/auth/keep" |
| 191 |
] |
| 192 |
}, |
| 193 |
"get": { |
| 194 |
"description": "Gets a note.", |
| 195 |
"flatPath": "v1/notes/{notesId}", |
| 196 |
"httpMethod": "GET", |
| 197 |
"id": "keep.notes.get", |
| 198 |
"parameterOrder": [ |
| 199 |
"name" |
| 200 |
], |
| 201 |
"parameters": { |
| 202 |
"name": { |
| 203 |
"description": "Required. Name of the resource.", |
| 204 |
"location": "path", |
| 205 |
"pattern": "^notes/[^/]+$", |
| 206 |
"required": true, |
| 207 |
"type": "string" |
| 208 |
} |
| 209 |
}, |
| 210 |
"path": "v1/{+name}", |
| 211 |
"response": { |
| 212 |
"$ref": "Note" |
| 213 |
}, |
| 214 |
"scopes": [ |
| 215 |
"https://www.googleapis.com/auth/keep", |
| 216 |
"https://www.googleapis.com/auth/keep.readonly" |
| 217 |
] |
| 218 |
}, |
| 219 |
"list": { |
| 220 |
"description": "Lists notes. Every list call returns a page of results with `page_size` as the upper bound of returned items. A `page_size` of zero allows the server to choose the upper bound. The ListNotesResponse contains at most `page_size` entries. If there are more things left to list, it provides a `next_page_token` value. (Page tokens are opaque values.) To get the next page of results, copy the result's `next_page_token` into the next request's `page_token`. Repeat until the `next_page_token` returned with a page of results is empty. ListNotes return consistent results in the face of concurrent changes, or signals that it cannot with an ABORTED error.", |
| 221 |
"flatPath": "v1/notes", |
| 222 |
"httpMethod": "GET", |
| 223 |
"id": "keep.notes.list", |
| 224 |
"parameterOrder": [], |
| 225 |
"parameters": { |
| 226 |
"filter": { |
| 227 |
"description": "Filter for list results. If no filter is supplied, the `trashed` filter is applied by default. Valid fields to filter by are: `create_time`, `update_time`, `trash_time`, and `trashed`. Filter syntax follows the [Google AIP filtering spec](https://aip.dev/160).", |
| 228 |
"location": "query", |
| 229 |
"type": "string" |
| 230 |
}, |
| 231 |
"pageSize": { |
| 232 |
"description": "The maximum number of results to return.", |
| 233 |
"format": "int32", |
| 234 |
"location": "query", |
| 235 |
"type": "integer" |
| 236 |
}, |
| 237 |
"pageToken": { |
| 238 |
"description": "The previous page's `next_page_token` field.", |
| 239 |
"location": "query", |
| 240 |
"type": "string" |
| 241 |
} |
| 242 |
}, |
| 243 |
"path": "v1/notes", |
| 244 |
"response": { |
| 245 |
"$ref": "ListNotesResponse" |
| 246 |
}, |
| 247 |
"scopes": [ |
| 248 |
"https://www.googleapis.com/auth/keep", |
| 249 |
"https://www.googleapis.com/auth/keep.readonly" |
| 250 |
] |
| 251 |
} |
| 252 |
}, |
| 253 |
"resources": { |
| 254 |
"permissions": { |
| 255 |
"methods": { |
| 256 |
"batchCreate": { |
| 257 |
"description": "Creates one or more permissions on the note. Only permissions with the `WRITER` role may be created. If adding any permission fails, then the entire request fails and no changes are made.", |
| 258 |
"flatPath": "v1/notes/{notesId}/permissions:batchCreate", |
| 259 |
"httpMethod": "POST", |
| 260 |
"id": "keep.notes.permissions.batchCreate", |
| 261 |
"parameterOrder": [ |
| 262 |
"parent" |
| 263 |
], |
| 264 |
"parameters": { |
| 265 |
"parent": { |
| 266 |
"description": "The parent resource shared by all Permissions being created. Format: `notes/{note}` If this is set, the parent field in the CreatePermission messages must either be empty or match this field.", |
| 267 |
"location": "path", |
| 268 |
"pattern": "^notes/[^/]+$", |
| 269 |
"required": true, |
| 270 |
"type": "string" |
| 271 |
} |
| 272 |
}, |
| 273 |
"path": "v1/{+parent}/permissions:batchCreate", |
| 274 |
"request": { |
| 275 |
"$ref": "BatchCreatePermissionsRequest" |
| 276 |
}, |
| 277 |
"response": { |
| 278 |
"$ref": "BatchCreatePermissionsResponse" |
| 279 |
}, |
| 280 |
"scopes": [ |
| 281 |
"https://www.googleapis.com/auth/keep" |
| 282 |
] |
| 283 |
}, |
| 284 |
"batchDelete": { |
| 285 |
"description": "Deletes one or more permissions on the note. The specified entities will immediately lose access. A permission with the `OWNER` role can't be removed. If removing a permission fails, then the entire request fails and no changes are made. Returns a 400 bad request error if a specified permission does not exist on the note.", |
| 286 |
"flatPath": "v1/notes/{notesId}/permissions:batchDelete", |
| 287 |
"httpMethod": "POST", |
| 288 |
"id": "keep.notes.permissions.batchDelete", |
| 289 |
"parameterOrder": [ |
| 290 |
"parent" |
| 291 |
], |
| 292 |
"parameters": { |
| 293 |
"parent": { |
| 294 |
"description": "The parent resource shared by all permissions being deleted. Format: `notes/{note}` If this is set, the parent of all of the permissions specified in the DeletePermissionRequest messages must match this field.", |
| 295 |
"location": "path", |
| 296 |
"pattern": "^notes/[^/]+$", |
| 297 |
"required": true, |
| 298 |
"type": "string" |
| 299 |
} |
| 300 |
}, |
| 301 |
"path": "v1/{+parent}/permissions:batchDelete", |
| 302 |
"request": { |
| 303 |
"$ref": "BatchDeletePermissionsRequest" |
| 304 |
}, |
| 305 |
"response": { |
| 306 |
"$ref": "Empty" |
| 307 |
}, |
| 308 |
"scopes": [ |
| 309 |
"https://www.googleapis.com/auth/keep" |
| 310 |
] |
| 311 |
} |
| 312 |
} |
| 313 |
} |
| 314 |
} |
| 315 |
} |
| 316 |
}, |
| 317 |
"revision": "20250318", |
| 318 |
"rootUrl": "https://keep.googleapis.com/", |
| 319 |
"schemas": { |
| 320 |
"Attachment": { |
| 321 |
"description": "An attachment to a note.", |
| 322 |
"id": "Attachment", |
| 323 |
"properties": { |
| 324 |
"mimeType": { |
| 325 |
"description": "The MIME types (IANA media types) in which the attachment is available.", |
| 326 |
"items": { |
| 327 |
"type": "string" |
| 328 |
}, |
| 329 |
"type": "array" |
| 330 |
}, |
| 331 |
"name": { |
| 332 |
"description": "The resource name;", |
| 333 |
"type": "string" |
| 334 |
} |
| 335 |
}, |
| 336 |
"type": "object" |
| 337 |
}, |
| 338 |
"BatchCreatePermissionsRequest": { |
| 339 |
"description": "The request to add one or more permissions on the note. Currently, only the `WRITER` role may be specified. If adding a permission fails, then the entire request fails and no changes are made.", |
| 340 |
"id": "BatchCreatePermissionsRequest", |
| 341 |
"properties": { |
| 342 |
"requests": { |
| 343 |
"description": "The request message specifying the resources to create.", |
| 344 |
"items": { |
| 345 |
"$ref": "CreatePermissionRequest" |
| 346 |
}, |
| 347 |
"type": "array" |
| 348 |
} |
| 349 |
}, |
| 350 |
"type": "object" |
| 351 |
}, |
| 352 |
"BatchCreatePermissionsResponse": { |
| 353 |
"description": "The response for creating permissions on a note.", |
| 354 |
"id": "BatchCreatePermissionsResponse", |
| 355 |
"properties": { |
| 356 |
"permissions": { |
| 357 |
"description": "Permissions created.", |
| 358 |
"items": { |
| 359 |
"$ref": "Permission" |
| 360 |
}, |
| 361 |
"type": "array" |
| 362 |
} |
| 363 |
}, |
| 364 |
"type": "object" |
| 365 |
}, |
| 366 |
"BatchDeletePermissionsRequest": { |
| 367 |
"description": "The request to remove one or more permissions from a note. A permission with the `OWNER` role can't be removed. If removing a permission fails, then the entire request fails and no changes are made. Returns a 400 bad request error if a specified permission does not exist on the note.", |
| 368 |
"id": "BatchDeletePermissionsRequest", |
| 369 |
"properties": { |
| 370 |
"names": { |
| 371 |
"description": "Required. The names of the permissions to delete. Format: `notes/{note}/permissions/{permission}`", |
| 372 |
"items": { |
| 373 |
"type": "string" |
| 374 |
}, |
| 375 |
"type": "array" |
| 376 |
} |
| 377 |
}, |
| 378 |
"type": "object" |
| 379 |
}, |
| 380 |
"CreatePermissionRequest": { |
| 381 |
"description": "The request to add a single permission on the note.", |
| 382 |
"id": "CreatePermissionRequest", |
| 383 |
"properties": { |
| 384 |
"parent": { |
| 385 |
"description": "Required. The parent note where this permission will be created. Format: `notes/{note}`", |
| 386 |
"type": "string" |
| 387 |
}, |
| 388 |
"permission": { |
| 389 |
"$ref": "Permission", |
| 390 |
"description": "Required. The permission to create. One of Permission.email, User.email or Group.email must be supplied." |
| 391 |
} |
| 392 |
}, |
| 393 |
"type": "object" |
| 394 |
}, |
| 395 |
"Empty": { |
| 396 |
"description": "A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }", |
| 397 |
"id": "Empty", |
| 398 |
"properties": {}, |
| 399 |
"type": "object" |
| 400 |
}, |
| 401 |
"Family": { |
| 402 |
"description": "Describes a single Google Family.", |
| 403 |
"id": "Family", |
| 404 |
"properties": {}, |
| 405 |
"type": "object" |
| 406 |
}, |
| 407 |
"Group": { |
| 408 |
"description": "Describes a single Group.", |
| 409 |
"id": "Group", |
| 410 |
"properties": { |
| 411 |
"email": { |
| 412 |
"description": "The group email.", |
| 413 |
"type": "string" |
| 414 |
} |
| 415 |
}, |
| 416 |
"type": "object" |
| 417 |
}, |
| 418 |
"ListContent": { |
| 419 |
"description": "The list of items for a single list note.", |
| 420 |
"id": "ListContent", |
| 421 |
"properties": { |
| 422 |
"listItems": { |
| 423 |
"description": "The items in the list. The number of items must be less than 1,000.", |
| 424 |
"items": { |
| 425 |
"$ref": "ListItem" |
| 426 |
}, |
| 427 |
"type": "array" |
| 428 |
} |
| 429 |
}, |
| 430 |
"type": "object" |
| 431 |
}, |
| 432 |
"ListItem": { |
| 433 |
"description": "A single list item in a note's list.", |
| 434 |
"id": "ListItem", |
| 435 |
"properties": { |
| 436 |
"checked": { |
| 437 |
"description": "Whether this item has been checked off or not.", |
| 438 |
"type": "boolean" |
| 439 |
}, |
| 440 |
"childListItems": { |
| 441 |
"description": "If set, list of list items nested under this list item. Only one level of nesting is allowed.", |
| 442 |
"items": { |
| 443 |
"$ref": "ListItem" |
| 444 |
}, |
| 445 |
"type": "array" |
| 446 |
}, |
| 447 |
"text": { |
| 448 |
"$ref": "TextContent", |
| 449 |
"description": "The text of this item. Length must be less than 1,000 characters." |
| 450 |
} |
| 451 |
}, |
| 452 |
"type": "object" |
| 453 |
}, |
| 454 |
"ListNotesResponse": { |
| 455 |
"description": "The response when listing a page of notes.", |
| 456 |
"id": "ListNotesResponse", |
| 457 |
"properties": { |
| 458 |
"nextPageToken": { |
| 459 |
"description": "Next page's `page_token` field.", |
| 460 |
"type": "string" |
| 461 |
}, |
| 462 |
"notes": { |
| 463 |
"description": "A page of notes.", |
| 464 |
"items": { |
| 465 |
"$ref": "Note" |
| 466 |
}, |
| 467 |
"type": "array" |
| 468 |
} |
| 469 |
}, |
| 470 |
"type": "object" |
| 471 |
}, |
| 472 |
"Note": { |
| 473 |
"description": "A single note.", |
| 474 |
"id": "Note", |
| 475 |
"properties": { |
| 476 |
"attachments": { |
| 477 |
"description": "Output only. The attachments attached to this note.", |
| 478 |
"items": { |
| 479 |
"$ref": "Attachment" |
| 480 |
}, |
| 481 |
"readOnly": true, |
| 482 |
"type": "array" |
| 483 |
}, |
| 484 |
"body": { |
| 485 |
"$ref": "Section", |
| 486 |
"description": "The body of the note." |
| 487 |
}, |
| 488 |
"createTime": { |
| 489 |
"description": "Output only. When this note was created.", |
| 490 |
"format": "google-datetime", |
| 491 |
"readOnly": true, |
| 492 |
"type": "string" |
| 493 |
}, |
| 494 |
"name": { |
| 495 |
"description": "Output only. The resource name of this note. See general note on identifiers in KeepService.", |
| 496 |
"readOnly": true, |
| 497 |
"type": "string" |
| 498 |
}, |
| 499 |
"permissions": { |
| 500 |
"description": "Output only. The list of permissions set on the note. Contains at least one entry for the note owner.", |
| 501 |
"items": { |
| 502 |
"$ref": "Permission" |
| 503 |
}, |
| 504 |
"readOnly": true, |
| 505 |
"type": "array" |
| 506 |
}, |
| 507 |
"title": { |
| 508 |
"description": "The title of the note. Length must be less than 1,000 characters.", |
| 509 |
"type": "string" |
| 510 |
}, |
| 511 |
"trashTime": { |
| 512 |
"description": "Output only. When this note was trashed. If `trashed`, the note is eventually deleted. If the note is not trashed, this field is not set (and the trashed field is `false`).", |
| 513 |
"format": "google-datetime", |
| 514 |
"readOnly": true, |
| 515 |
"type": "string" |
| 516 |
}, |
| 517 |
"trashed": { |
| 518 |
"description": "Output only. `true` if this note has been trashed. If trashed, the note is eventually deleted.", |
| 519 |
"readOnly": true, |
| 520 |
"type": "boolean" |
| 521 |
}, |
| 522 |
"updateTime": { |
| 523 |
"description": "Output only. When this note was last modified.", |
| 524 |
"format": "google-datetime", |
| 525 |
"readOnly": true, |
| 526 |
"type": "string" |
| 527 |
} |
| 528 |
}, |
| 529 |
"type": "object" |
| 530 |
}, |
| 531 |
"Permission": { |
| 532 |
"description": "A single permission on the note. Associates a `member` with a `role`.", |
| 533 |
"id": "Permission", |
| 534 |
"properties": { |
| 535 |
"deleted": { |
| 536 |
"description": "Output only. Whether this member has been deleted. If the member is recovered, this value is set to false and the recovered member retains the role on the note.", |
| 537 |
"readOnly": true, |
| 538 |
"type": "boolean" |
| 539 |
}, |
| 540 |
"email": { |
| 541 |
"description": "The email associated with the member. If set on create, the `email` field in the `User` or `Group` message must either be empty or match this field. On read, may be unset if the member does not have an associated email.", |
| 542 |
"type": "string" |
| 543 |
}, |
| 544 |
"family": { |
| 545 |
"$ref": "Family", |
| 546 |
"description": "Output only. The Google Family to which this role applies.", |
| 547 |
"readOnly": true |
| 548 |
}, |
| 549 |
"group": { |
| 550 |
"$ref": "Group", |
| 551 |
"description": "Output only. The group to which this role applies.", |
| 552 |
"readOnly": true |
| 553 |
}, |
| 554 |
"name": { |
| 555 |
"description": "Output only. The resource name.", |
| 556 |
"readOnly": true, |
| 557 |
"type": "string" |
| 558 |
}, |
| 559 |
"role": { |
| 560 |
"description": "The role granted by this permission. The role determines the entity\u2019s ability to read, write, and share notes.", |
| 561 |
"enum": [ |
| 562 |
"ROLE_UNSPECIFIED", |
| 563 |
"OWNER", |
| 564 |
"WRITER" |
| 565 |
], |
| 566 |
"enumDescriptions": [ |
| 567 |
"An undefined role.", |
| 568 |
"A role granting full access. This role cannot be added or removed. Defined by the creator of the note.", |
| 569 |
"A role granting the ability to contribute content and modify note permissions." |
| 570 |
], |
| 571 |
"type": "string" |
| 572 |
}, |
| 573 |
"user": { |
| 574 |
"$ref": "User", |
| 575 |
"description": "Output only. The user to whom this role applies.", |
| 576 |
"readOnly": true |
| 577 |
} |
| 578 |
}, |
| 579 |
"type": "object" |
| 580 |
}, |
| 581 |
"Section": { |
| 582 |
"description": "The content of the note.", |
| 583 |
"id": "Section", |
| 584 |
"properties": { |
| 585 |
"list": { |
| 586 |
"$ref": "ListContent", |
| 587 |
"description": "Used if this section's content is a list." |
| 588 |
}, |
| 589 |
"text": { |
| 590 |
"$ref": "TextContent", |
| 591 |
"description": "Used if this section's content is a block of text. The length of the text content must be less than 20,000 characters." |
| 592 |
} |
| 593 |
}, |
| 594 |
"type": "object" |
| 595 |
}, |
| 596 |
"TextContent": { |
| 597 |
"description": "The block of text for a single text section or list item.", |
| 598 |
"id": "TextContent", |
| 599 |
"properties": { |
| 600 |
"text": { |
| 601 |
"description": "The text of the note. The limits on this vary with the specific field using this type.", |
| 602 |
"type": "string" |
| 603 |
} |
| 604 |
}, |
| 605 |
"type": "object" |
| 606 |
}, |
| 607 |
"User": { |
| 608 |
"description": "Describes a single user.", |
| 609 |
"id": "User", |
| 610 |
"properties": { |
| 611 |
"email": { |
| 612 |
"description": "The user's email.", |
| 613 |
"type": "string" |
| 614 |
} |
| 615 |
}, |
| 616 |
"type": "object" |
| 617 |
} |
| 618 |
}, |
| 619 |
"servicePath": "", |
| 620 |
"title": "Google Keep API", |
| 621 |
"version": "v1", |
| 622 |
"version_module": true |
| 623 |
} |