OLD | NEW |
(Empty) | |
| 1 { |
| 2 "auth": { |
| 3 "oauth2": { |
| 4 "scopes": { |
| 5 "https://www.googleapis.com/auth/fusiontables": { |
| 6 "description": "Manage your Fusion Tables" |
| 7 }, |
| 8 "https://www.googleapis.com/auth/fusiontables.readonly": { |
| 9 "description": "View your Fusion Tables" |
| 10 } |
| 11 } |
| 12 } |
| 13 }, |
| 14 "basePath": "/fusiontables/v1/", |
| 15 "baseUrl": "https://www.googleapis.com/fusiontables/v1/", |
| 16 "batchPath": "batch", |
| 17 "description": "API for working with Fusion Tables data.", |
| 18 "discoveryVersion": "v1", |
| 19 "documentationLink": "https://developers.google.com/fusiontables", |
| 20 "etag": "\"uUWyYHXmEn-ab7WLvo8qNz2S8ws/2SXcXxFSlQLFOa3jAavYTPdAPrc\"", |
| 21 "icons": { |
| 22 "x16": "http://www.google.com/images/icons/product/search-16.gif", |
| 23 "x32": "http://www.google.com/images/icons/product/search-32.gif" |
| 24 }, |
| 25 "id": "fusiontables:v1", |
| 26 "kind": "discovery#restDescription", |
| 27 "name": "fusiontables", |
| 28 "ownerDomain": "google.com", |
| 29 "ownerName": "Google", |
| 30 "parameters": { |
| 31 "alt": { |
| 32 "default": "json", |
| 33 "description": "Data format for the response.", |
| 34 "enum": [ |
| 35 "csv", |
| 36 "json" |
| 37 ], |
| 38 "enumDescriptions": [ |
| 39 "Responses with Content-Type of text/csv", |
| 40 "Responses with Content-Type of application/json" |
| 41 ], |
| 42 "location": "query", |
| 43 "type": "string" |
| 44 }, |
| 45 "fields": { |
| 46 "description": "Selector specifying which fields to include in a par
tial response.", |
| 47 "location": "query", |
| 48 "type": "string" |
| 49 }, |
| 50 "key": { |
| 51 "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.", |
| 52 "location": "query", |
| 53 "type": "string" |
| 54 }, |
| 55 "oauth_token": { |
| 56 "description": "OAuth 2.0 token for the current user.", |
| 57 "location": "query", |
| 58 "type": "string" |
| 59 }, |
| 60 "prettyPrint": { |
| 61 "default": "true", |
| 62 "description": "Returns response with indentations and line breaks."
, |
| 63 "location": "query", |
| 64 "type": "boolean" |
| 65 }, |
| 66 "quotaUser": { |
| 67 "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.", |
| 68 "location": "query", |
| 69 "type": "string" |
| 70 }, |
| 71 "userIp": { |
| 72 "description": "IP address of the site where the request originates.
Use this if you want to enforce per-user limits.", |
| 73 "location": "query", |
| 74 "type": "string" |
| 75 } |
| 76 }, |
| 77 "protocol": "rest", |
| 78 "resources": { |
| 79 "column": { |
| 80 "methods": { |
| 81 "delete": { |
| 82 "description": "Deletes the column.", |
| 83 "httpMethod": "DELETE", |
| 84 "id": "fusiontables.column.delete", |
| 85 "parameterOrder": [ |
| 86 "tableId", |
| 87 "columnId" |
| 88 ], |
| 89 "parameters": { |
| 90 "columnId": { |
| 91 "description": "Name or identifier for the column be
ing deleted.", |
| 92 "location": "path", |
| 93 "required": true, |
| 94 "type": "string" |
| 95 }, |
| 96 "tableId": { |
| 97 "description": "Table from which the column is being
deleted.", |
| 98 "location": "path", |
| 99 "required": true, |
| 100 "type": "string" |
| 101 } |
| 102 }, |
| 103 "path": "tables/{tableId}/columns/{columnId}", |
| 104 "scopes": [ |
| 105 "https://www.googleapis.com/auth/fusiontables" |
| 106 ] |
| 107 }, |
| 108 "get": { |
| 109 "description": "Retrieves a specific column by its id.", |
| 110 "httpMethod": "GET", |
| 111 "id": "fusiontables.column.get", |
| 112 "parameterOrder": [ |
| 113 "tableId", |
| 114 "columnId" |
| 115 ], |
| 116 "parameters": { |
| 117 "columnId": { |
| 118 "description": "Name or identifier for the column th
at is being requested.", |
| 119 "location": "path", |
| 120 "required": true, |
| 121 "type": "string" |
| 122 }, |
| 123 "tableId": { |
| 124 "description": "Table to which the column belongs.", |
| 125 "location": "path", |
| 126 "required": true, |
| 127 "type": "string" |
| 128 } |
| 129 }, |
| 130 "path": "tables/{tableId}/columns/{columnId}", |
| 131 "response": { |
| 132 "$ref": "Column" |
| 133 }, |
| 134 "scopes": [ |
| 135 "https://www.googleapis.com/auth/fusiontables", |
| 136 "https://www.googleapis.com/auth/fusiontables.readonly" |
| 137 ] |
| 138 }, |
| 139 "insert": { |
| 140 "description": "Adds a new column to the table.", |
| 141 "httpMethod": "POST", |
| 142 "id": "fusiontables.column.insert", |
| 143 "parameterOrder": [ |
| 144 "tableId" |
| 145 ], |
| 146 "parameters": { |
| 147 "tableId": { |
| 148 "description": "Table for which a new column is bein
g added.", |
| 149 "location": "path", |
| 150 "required": true, |
| 151 "type": "string" |
| 152 } |
| 153 }, |
| 154 "path": "tables/{tableId}/columns", |
| 155 "request": { |
| 156 "$ref": "Column" |
| 157 }, |
| 158 "response": { |
| 159 "$ref": "Column" |
| 160 }, |
| 161 "scopes": [ |
| 162 "https://www.googleapis.com/auth/fusiontables" |
| 163 ] |
| 164 }, |
| 165 "list": { |
| 166 "description": "Retrieves a list of columns.", |
| 167 "httpMethod": "GET", |
| 168 "id": "fusiontables.column.list", |
| 169 "parameterOrder": [ |
| 170 "tableId" |
| 171 ], |
| 172 "parameters": { |
| 173 "maxResults": { |
| 174 "description": "Maximum number of columns to return.
Optional. Default is 5.", |
| 175 "format": "uint32", |
| 176 "location": "query", |
| 177 "minimum": "0", |
| 178 "type": "integer" |
| 179 }, |
| 180 "pageToken": { |
| 181 "description": "Continuation token specifying which
result page to return. Optional.", |
| 182 "location": "query", |
| 183 "type": "string" |
| 184 }, |
| 185 "tableId": { |
| 186 "description": "Table whose columns are being listed
.", |
| 187 "location": "path", |
| 188 "required": true, |
| 189 "type": "string" |
| 190 } |
| 191 }, |
| 192 "path": "tables/{tableId}/columns", |
| 193 "response": { |
| 194 "$ref": "ColumnList" |
| 195 }, |
| 196 "scopes": [ |
| 197 "https://www.googleapis.com/auth/fusiontables", |
| 198 "https://www.googleapis.com/auth/fusiontables.readonly" |
| 199 ] |
| 200 }, |
| 201 "patch": { |
| 202 "description": "Updates the name or type of an existing colu
mn. This method supports patch semantics.", |
| 203 "httpMethod": "PATCH", |
| 204 "id": "fusiontables.column.patch", |
| 205 "parameterOrder": [ |
| 206 "tableId", |
| 207 "columnId" |
| 208 ], |
| 209 "parameters": { |
| 210 "columnId": { |
| 211 "description": "Name or identifier for the column th
at is being updated.", |
| 212 "location": "path", |
| 213 "required": true, |
| 214 "type": "string" |
| 215 }, |
| 216 "tableId": { |
| 217 "description": "Table for which the column is being
updated.", |
| 218 "location": "path", |
| 219 "required": true, |
| 220 "type": "string" |
| 221 } |
| 222 }, |
| 223 "path": "tables/{tableId}/columns/{columnId}", |
| 224 "request": { |
| 225 "$ref": "Column" |
| 226 }, |
| 227 "response": { |
| 228 "$ref": "Column" |
| 229 }, |
| 230 "scopes": [ |
| 231 "https://www.googleapis.com/auth/fusiontables" |
| 232 ] |
| 233 }, |
| 234 "update": { |
| 235 "description": "Updates the name or type of an existing colu
mn.", |
| 236 "httpMethod": "PUT", |
| 237 "id": "fusiontables.column.update", |
| 238 "parameterOrder": [ |
| 239 "tableId", |
| 240 "columnId" |
| 241 ], |
| 242 "parameters": { |
| 243 "columnId": { |
| 244 "description": "Name or identifier for the column th
at is being updated.", |
| 245 "location": "path", |
| 246 "required": true, |
| 247 "type": "string" |
| 248 }, |
| 249 "tableId": { |
| 250 "description": "Table for which the column is being
updated.", |
| 251 "location": "path", |
| 252 "required": true, |
| 253 "type": "string" |
| 254 } |
| 255 }, |
| 256 "path": "tables/{tableId}/columns/{columnId}", |
| 257 "request": { |
| 258 "$ref": "Column" |
| 259 }, |
| 260 "response": { |
| 261 "$ref": "Column" |
| 262 }, |
| 263 "scopes": [ |
| 264 "https://www.googleapis.com/auth/fusiontables" |
| 265 ] |
| 266 } |
| 267 } |
| 268 }, |
| 269 "query": { |
| 270 "methods": { |
| 271 "sql": { |
| 272 "description": "Executes an SQL SELECT/INSERT/UPDATE/DELETE/
SHOW/DESCRIBE/CREATE statement.", |
| 273 "httpMethod": "POST", |
| 274 "id": "fusiontables.query.sql", |
| 275 "parameterOrder": [ |
| 276 "sql" |
| 277 ], |
| 278 "parameters": { |
| 279 "hdrs": { |
| 280 "description": "Should column names be included (in
the first row)?. Default is true.", |
| 281 "location": "query", |
| 282 "type": "boolean" |
| 283 }, |
| 284 "sql": { |
| 285 "description": "An SQL SELECT/SHOW/DESCRIBE/INSERT/U
PDATE/DELETE/CREATE statement.", |
| 286 "location": "query", |
| 287 "required": true, |
| 288 "type": "string" |
| 289 }, |
| 290 "typed": { |
| 291 "description": "Should typed values be returned in t
he (JSON) response -- numbers for numeric values and parsed geometries for KML v
alues? Default is true.", |
| 292 "location": "query", |
| 293 "type": "boolean" |
| 294 } |
| 295 }, |
| 296 "path": "query", |
| 297 "response": { |
| 298 "$ref": "Sqlresponse" |
| 299 }, |
| 300 "scopes": [ |
| 301 "https://www.googleapis.com/auth/fusiontables", |
| 302 "https://www.googleapis.com/auth/fusiontables.readonly" |
| 303 ], |
| 304 "supportsMediaDownload": true |
| 305 }, |
| 306 "sqlGet": { |
| 307 "description": "Executes an SQL SELECT/SHOW/DESCRIBE stateme
nt.", |
| 308 "httpMethod": "GET", |
| 309 "id": "fusiontables.query.sqlGet", |
| 310 "parameterOrder": [ |
| 311 "sql" |
| 312 ], |
| 313 "parameters": { |
| 314 "hdrs": { |
| 315 "description": "Should column names be included (in
the first row)?. Default is true.", |
| 316 "location": "query", |
| 317 "type": "boolean" |
| 318 }, |
| 319 "sql": { |
| 320 "description": "An SQL SELECT/SHOW/DESCRIBE statemen
t.", |
| 321 "location": "query", |
| 322 "required": true, |
| 323 "type": "string" |
| 324 }, |
| 325 "typed": { |
| 326 "description": "Should typed values be returned in t
he (JSON) response -- numbers for numeric values and parsed geometries for KML v
alues? Default is true.", |
| 327 "location": "query", |
| 328 "type": "boolean" |
| 329 } |
| 330 }, |
| 331 "path": "query", |
| 332 "response": { |
| 333 "$ref": "Sqlresponse" |
| 334 }, |
| 335 "scopes": [ |
| 336 "https://www.googleapis.com/auth/fusiontables", |
| 337 "https://www.googleapis.com/auth/fusiontables.readonly" |
| 338 ], |
| 339 "supportsMediaDownload": true |
| 340 } |
| 341 } |
| 342 }, |
| 343 "style": { |
| 344 "methods": { |
| 345 "delete": { |
| 346 "description": "Deletes a style.", |
| 347 "httpMethod": "DELETE", |
| 348 "id": "fusiontables.style.delete", |
| 349 "parameterOrder": [ |
| 350 "tableId", |
| 351 "styleId" |
| 352 ], |
| 353 "parameters": { |
| 354 "styleId": { |
| 355 "description": "Identifier (within a table) for the
style being deleted", |
| 356 "format": "int32", |
| 357 "location": "path", |
| 358 "required": true, |
| 359 "type": "integer" |
| 360 }, |
| 361 "tableId": { |
| 362 "description": "Table from which the style is being
deleted", |
| 363 "location": "path", |
| 364 "required": true, |
| 365 "type": "string" |
| 366 } |
| 367 }, |
| 368 "path": "tables/{tableId}/styles/{styleId}", |
| 369 "scopes": [ |
| 370 "https://www.googleapis.com/auth/fusiontables" |
| 371 ] |
| 372 }, |
| 373 "get": { |
| 374 "description": "Gets a specific style.", |
| 375 "httpMethod": "GET", |
| 376 "id": "fusiontables.style.get", |
| 377 "parameterOrder": [ |
| 378 "tableId", |
| 379 "styleId" |
| 380 ], |
| 381 "parameters": { |
| 382 "styleId": { |
| 383 "description": "Identifier (integer) for a specific
style in a table", |
| 384 "format": "int32", |
| 385 "location": "path", |
| 386 "required": true, |
| 387 "type": "integer" |
| 388 }, |
| 389 "tableId": { |
| 390 "description": "Table to which the requested style b
elongs", |
| 391 "location": "path", |
| 392 "required": true, |
| 393 "type": "string" |
| 394 } |
| 395 }, |
| 396 "path": "tables/{tableId}/styles/{styleId}", |
| 397 "response": { |
| 398 "$ref": "StyleSetting" |
| 399 }, |
| 400 "scopes": [ |
| 401 "https://www.googleapis.com/auth/fusiontables", |
| 402 "https://www.googleapis.com/auth/fusiontables.readonly" |
| 403 ] |
| 404 }, |
| 405 "insert": { |
| 406 "description": "Adds a new style for the table.", |
| 407 "httpMethod": "POST", |
| 408 "id": "fusiontables.style.insert", |
| 409 "parameterOrder": [ |
| 410 "tableId" |
| 411 ], |
| 412 "parameters": { |
| 413 "tableId": { |
| 414 "description": "Table for which a new style is being
added", |
| 415 "location": "path", |
| 416 "required": true, |
| 417 "type": "string" |
| 418 } |
| 419 }, |
| 420 "path": "tables/{tableId}/styles", |
| 421 "request": { |
| 422 "$ref": "StyleSetting" |
| 423 }, |
| 424 "response": { |
| 425 "$ref": "StyleSetting" |
| 426 }, |
| 427 "scopes": [ |
| 428 "https://www.googleapis.com/auth/fusiontables" |
| 429 ] |
| 430 }, |
| 431 "list": { |
| 432 "description": "Retrieves a list of styles.", |
| 433 "httpMethod": "GET", |
| 434 "id": "fusiontables.style.list", |
| 435 "parameterOrder": [ |
| 436 "tableId" |
| 437 ], |
| 438 "parameters": { |
| 439 "maxResults": { |
| 440 "description": "Maximum number of styles to return.
Optional. Default is 5.", |
| 441 "format": "uint32", |
| 442 "location": "query", |
| 443 "minimum": "0", |
| 444 "type": "integer" |
| 445 }, |
| 446 "pageToken": { |
| 447 "description": "Continuation token specifying which
result page to return. Optional.", |
| 448 "location": "query", |
| 449 "type": "string" |
| 450 }, |
| 451 "tableId": { |
| 452 "description": "Table whose styles are being listed"
, |
| 453 "location": "path", |
| 454 "required": true, |
| 455 "type": "string" |
| 456 } |
| 457 }, |
| 458 "path": "tables/{tableId}/styles", |
| 459 "response": { |
| 460 "$ref": "StyleSettingList" |
| 461 }, |
| 462 "scopes": [ |
| 463 "https://www.googleapis.com/auth/fusiontables", |
| 464 "https://www.googleapis.com/auth/fusiontables.readonly" |
| 465 ] |
| 466 }, |
| 467 "patch": { |
| 468 "description": "Updates an existing style. This method suppo
rts patch semantics.", |
| 469 "httpMethod": "PATCH", |
| 470 "id": "fusiontables.style.patch", |
| 471 "parameterOrder": [ |
| 472 "tableId", |
| 473 "styleId" |
| 474 ], |
| 475 "parameters": { |
| 476 "styleId": { |
| 477 "description": "Identifier (within a table) for the
style being updated.", |
| 478 "format": "int32", |
| 479 "location": "path", |
| 480 "required": true, |
| 481 "type": "integer" |
| 482 }, |
| 483 "tableId": { |
| 484 "description": "Table whose style is being updated."
, |
| 485 "location": "path", |
| 486 "required": true, |
| 487 "type": "string" |
| 488 } |
| 489 }, |
| 490 "path": "tables/{tableId}/styles/{styleId}", |
| 491 "request": { |
| 492 "$ref": "StyleSetting" |
| 493 }, |
| 494 "response": { |
| 495 "$ref": "StyleSetting" |
| 496 }, |
| 497 "scopes": [ |
| 498 "https://www.googleapis.com/auth/fusiontables" |
| 499 ] |
| 500 }, |
| 501 "update": { |
| 502 "description": "Updates an existing style.", |
| 503 "httpMethod": "PUT", |
| 504 "id": "fusiontables.style.update", |
| 505 "parameterOrder": [ |
| 506 "tableId", |
| 507 "styleId" |
| 508 ], |
| 509 "parameters": { |
| 510 "styleId": { |
| 511 "description": "Identifier (within a table) for the
style being updated.", |
| 512 "format": "int32", |
| 513 "location": "path", |
| 514 "required": true, |
| 515 "type": "integer" |
| 516 }, |
| 517 "tableId": { |
| 518 "description": "Table whose style is being updated."
, |
| 519 "location": "path", |
| 520 "required": true, |
| 521 "type": "string" |
| 522 } |
| 523 }, |
| 524 "path": "tables/{tableId}/styles/{styleId}", |
| 525 "request": { |
| 526 "$ref": "StyleSetting" |
| 527 }, |
| 528 "response": { |
| 529 "$ref": "StyleSetting" |
| 530 }, |
| 531 "scopes": [ |
| 532 "https://www.googleapis.com/auth/fusiontables" |
| 533 ] |
| 534 } |
| 535 } |
| 536 }, |
| 537 "table": { |
| 538 "methods": { |
| 539 "copy": { |
| 540 "description": "Copies a table.", |
| 541 "httpMethod": "POST", |
| 542 "id": "fusiontables.table.copy", |
| 543 "parameterOrder": [ |
| 544 "tableId" |
| 545 ], |
| 546 "parameters": { |
| 547 "copyPresentation": { |
| 548 "description": "Whether to also copy tabs, styles, a
nd templates. Default is false.", |
| 549 "location": "query", |
| 550 "type": "boolean" |
| 551 }, |
| 552 "tableId": { |
| 553 "description": "ID of the table that is being copied
.", |
| 554 "location": "path", |
| 555 "required": true, |
| 556 "type": "string" |
| 557 } |
| 558 }, |
| 559 "path": "tables/{tableId}/copy", |
| 560 "response": { |
| 561 "$ref": "Table" |
| 562 }, |
| 563 "scopes": [ |
| 564 "https://www.googleapis.com/auth/fusiontables", |
| 565 "https://www.googleapis.com/auth/fusiontables.readonly" |
| 566 ] |
| 567 }, |
| 568 "delete": { |
| 569 "description": "Deletes a table.", |
| 570 "httpMethod": "DELETE", |
| 571 "id": "fusiontables.table.delete", |
| 572 "parameterOrder": [ |
| 573 "tableId" |
| 574 ], |
| 575 "parameters": { |
| 576 "tableId": { |
| 577 "description": "ID of the table that is being delete
d.", |
| 578 "location": "path", |
| 579 "required": true, |
| 580 "type": "string" |
| 581 } |
| 582 }, |
| 583 "path": "tables/{tableId}", |
| 584 "scopes": [ |
| 585 "https://www.googleapis.com/auth/fusiontables" |
| 586 ] |
| 587 }, |
| 588 "get": { |
| 589 "description": "Retrieves a specific table by its id.", |
| 590 "httpMethod": "GET", |
| 591 "id": "fusiontables.table.get", |
| 592 "parameterOrder": [ |
| 593 "tableId" |
| 594 ], |
| 595 "parameters": { |
| 596 "tableId": { |
| 597 "description": "Identifier(ID) for the table being r
equested.", |
| 598 "location": "path", |
| 599 "required": true, |
| 600 "type": "string" |
| 601 } |
| 602 }, |
| 603 "path": "tables/{tableId}", |
| 604 "response": { |
| 605 "$ref": "Table" |
| 606 }, |
| 607 "scopes": [ |
| 608 "https://www.googleapis.com/auth/fusiontables", |
| 609 "https://www.googleapis.com/auth/fusiontables.readonly" |
| 610 ] |
| 611 }, |
| 612 "importRows": { |
| 613 "description": "Import more rows into a table.", |
| 614 "httpMethod": "POST", |
| 615 "id": "fusiontables.table.importRows", |
| 616 "mediaUpload": { |
| 617 "accept": [ |
| 618 "application/octet-stream" |
| 619 ], |
| 620 "maxSize": "250MB", |
| 621 "protocols": { |
| 622 "resumable": { |
| 623 "multipart": true, |
| 624 "path": "/resumable/upload/fusiontables/v1/table
s/{tableId}/import" |
| 625 }, |
| 626 "simple": { |
| 627 "multipart": true, |
| 628 "path": "/upload/fusiontables/v1/tables/{tableId
}/import" |
| 629 } |
| 630 } |
| 631 }, |
| 632 "parameterOrder": [ |
| 633 "tableId" |
| 634 ], |
| 635 "parameters": { |
| 636 "delimiter": { |
| 637 "description": "The delimiter used to separate cell
values. This can only consist of a single character. Default is ','.", |
| 638 "location": "query", |
| 639 "type": "string" |
| 640 }, |
| 641 "encoding": { |
| 642 "description": "The encoding of the content. Default
is UTF-8. Use 'auto-detect' if you are unsure of the encoding.", |
| 643 "location": "query", |
| 644 "type": "string" |
| 645 }, |
| 646 "endLine": { |
| 647 "description": "The index of the last line from whic
h to start importing, exclusive. Thus, the number of imported lines is endLine -
startLine. If this parameter is not provided, the file will be imported until t
he last line of the file. If endLine is negative, then the imported content will
exclude the last endLine lines. That is, if endline is negative, no line will b
e imported whose index is greater than N + endLine where N is the number of line
s in the file, and the number of imported lines will be N + endLine - startLine.
", |
| 648 "format": "int32", |
| 649 "location": "query", |
| 650 "type": "integer" |
| 651 }, |
| 652 "isStrict": { |
| 653 "description": "Whether the CSV must have the same n
umber of values for each row. If false, rows with fewer values will be padded wi
th empty values. Default is true.", |
| 654 "location": "query", |
| 655 "type": "boolean" |
| 656 }, |
| 657 "startLine": { |
| 658 "description": "The index of the first line from whi
ch to start importing, inclusive. Default is 0.", |
| 659 "format": "int32", |
| 660 "location": "query", |
| 661 "type": "integer" |
| 662 }, |
| 663 "tableId": { |
| 664 "description": "The table into which new rows are be
ing imported.", |
| 665 "location": "path", |
| 666 "required": true, |
| 667 "type": "string" |
| 668 } |
| 669 }, |
| 670 "path": "tables/{tableId}/import", |
| 671 "response": { |
| 672 "$ref": "Import" |
| 673 }, |
| 674 "scopes": [ |
| 675 "https://www.googleapis.com/auth/fusiontables" |
| 676 ], |
| 677 "supportsMediaUpload": true |
| 678 }, |
| 679 "importTable": { |
| 680 "description": "Import a new table.", |
| 681 "httpMethod": "POST", |
| 682 "id": "fusiontables.table.importTable", |
| 683 "mediaUpload": { |
| 684 "accept": [ |
| 685 "application/octet-stream" |
| 686 ], |
| 687 "maxSize": "250MB", |
| 688 "protocols": { |
| 689 "resumable": { |
| 690 "multipart": true, |
| 691 "path": "/resumable/upload/fusiontables/v1/table
s/import" |
| 692 }, |
| 693 "simple": { |
| 694 "multipart": true, |
| 695 "path": "/upload/fusiontables/v1/tables/import" |
| 696 } |
| 697 } |
| 698 }, |
| 699 "parameterOrder": [ |
| 700 "name" |
| 701 ], |
| 702 "parameters": { |
| 703 "delimiter": { |
| 704 "description": "The delimiter used to separate cell
values. This can only consist of a single character. Default is ','.", |
| 705 "location": "query", |
| 706 "type": "string" |
| 707 }, |
| 708 "encoding": { |
| 709 "description": "The encoding of the content. Default
is UTF-8. Use 'auto-detect' if you are unsure of the encoding.", |
| 710 "location": "query", |
| 711 "type": "string" |
| 712 }, |
| 713 "name": { |
| 714 "description": "The name to be assigned to the new t
able.", |
| 715 "location": "query", |
| 716 "required": true, |
| 717 "type": "string" |
| 718 } |
| 719 }, |
| 720 "path": "tables/import", |
| 721 "response": { |
| 722 "$ref": "Table" |
| 723 }, |
| 724 "scopes": [ |
| 725 "https://www.googleapis.com/auth/fusiontables" |
| 726 ], |
| 727 "supportsMediaUpload": true |
| 728 }, |
| 729 "insert": { |
| 730 "description": "Creates a new table.", |
| 731 "httpMethod": "POST", |
| 732 "id": "fusiontables.table.insert", |
| 733 "path": "tables", |
| 734 "request": { |
| 735 "$ref": "Table" |
| 736 }, |
| 737 "response": { |
| 738 "$ref": "Table" |
| 739 }, |
| 740 "scopes": [ |
| 741 "https://www.googleapis.com/auth/fusiontables" |
| 742 ] |
| 743 }, |
| 744 "list": { |
| 745 "description": "Retrieves a list of tables a user owns.", |
| 746 "httpMethod": "GET", |
| 747 "id": "fusiontables.table.list", |
| 748 "parameters": { |
| 749 "maxResults": { |
| 750 "description": "Maximum number of styles to return.
Optional. Default is 5.", |
| 751 "format": "uint32", |
| 752 "location": "query", |
| 753 "minimum": "0", |
| 754 "type": "integer" |
| 755 }, |
| 756 "pageToken": { |
| 757 "description": "Continuation token specifying which
result page to return. Optional.", |
| 758 "location": "query", |
| 759 "type": "string" |
| 760 } |
| 761 }, |
| 762 "path": "tables", |
| 763 "response": { |
| 764 "$ref": "TableList" |
| 765 }, |
| 766 "scopes": [ |
| 767 "https://www.googleapis.com/auth/fusiontables", |
| 768 "https://www.googleapis.com/auth/fusiontables.readonly" |
| 769 ] |
| 770 }, |
| 771 "patch": { |
| 772 "description": "Updates an existing table. Unless explicitly
requested, only the name, description, and attribution will be updated. This me
thod supports patch semantics.", |
| 773 "httpMethod": "PATCH", |
| 774 "id": "fusiontables.table.patch", |
| 775 "parameterOrder": [ |
| 776 "tableId" |
| 777 ], |
| 778 "parameters": { |
| 779 "replaceViewDefinition": { |
| 780 "description": "Should the view definition also be u
pdated? The specified view definition replaces the existing one. Only a view can
be updated with a new definition.", |
| 781 "location": "query", |
| 782 "type": "boolean" |
| 783 }, |
| 784 "tableId": { |
| 785 "description": "ID of the table that is being update
d.", |
| 786 "location": "path", |
| 787 "required": true, |
| 788 "type": "string" |
| 789 } |
| 790 }, |
| 791 "path": "tables/{tableId}", |
| 792 "request": { |
| 793 "$ref": "Table" |
| 794 }, |
| 795 "response": { |
| 796 "$ref": "Table" |
| 797 }, |
| 798 "scopes": [ |
| 799 "https://www.googleapis.com/auth/fusiontables" |
| 800 ] |
| 801 }, |
| 802 "update": { |
| 803 "description": "Updates an existing table. Unless explicitly
requested, only the name, description, and attribution will be updated.", |
| 804 "httpMethod": "PUT", |
| 805 "id": "fusiontables.table.update", |
| 806 "parameterOrder": [ |
| 807 "tableId" |
| 808 ], |
| 809 "parameters": { |
| 810 "replaceViewDefinition": { |
| 811 "description": "Should the view definition also be u
pdated? The specified view definition replaces the existing one. Only a view can
be updated with a new definition.", |
| 812 "location": "query", |
| 813 "type": "boolean" |
| 814 }, |
| 815 "tableId": { |
| 816 "description": "ID of the table that is being update
d.", |
| 817 "location": "path", |
| 818 "required": true, |
| 819 "type": "string" |
| 820 } |
| 821 }, |
| 822 "path": "tables/{tableId}", |
| 823 "request": { |
| 824 "$ref": "Table" |
| 825 }, |
| 826 "response": { |
| 827 "$ref": "Table" |
| 828 }, |
| 829 "scopes": [ |
| 830 "https://www.googleapis.com/auth/fusiontables" |
| 831 ] |
| 832 } |
| 833 } |
| 834 }, |
| 835 "task": { |
| 836 "methods": { |
| 837 "delete": { |
| 838 "description": "Deletes the task, unless already started.", |
| 839 "httpMethod": "DELETE", |
| 840 "id": "fusiontables.task.delete", |
| 841 "parameterOrder": [ |
| 842 "tableId", |
| 843 "taskId" |
| 844 ], |
| 845 "parameters": { |
| 846 "tableId": { |
| 847 "description": "Table from which the task is being d
eleted.", |
| 848 "location": "path", |
| 849 "required": true, |
| 850 "type": "string" |
| 851 }, |
| 852 "taskId": { |
| 853 "location": "path", |
| 854 "required": true, |
| 855 "type": "string" |
| 856 } |
| 857 }, |
| 858 "path": "tables/{tableId}/tasks/{taskId}", |
| 859 "scopes": [ |
| 860 "https://www.googleapis.com/auth/fusiontables" |
| 861 ] |
| 862 }, |
| 863 "get": { |
| 864 "description": "Retrieves a specific task by its id.", |
| 865 "httpMethod": "GET", |
| 866 "id": "fusiontables.task.get", |
| 867 "parameterOrder": [ |
| 868 "tableId", |
| 869 "taskId" |
| 870 ], |
| 871 "parameters": { |
| 872 "tableId": { |
| 873 "description": "Table to which the task belongs.", |
| 874 "location": "path", |
| 875 "required": true, |
| 876 "type": "string" |
| 877 }, |
| 878 "taskId": { |
| 879 "location": "path", |
| 880 "required": true, |
| 881 "type": "string" |
| 882 } |
| 883 }, |
| 884 "path": "tables/{tableId}/tasks/{taskId}", |
| 885 "response": { |
| 886 "$ref": "Task" |
| 887 }, |
| 888 "scopes": [ |
| 889 "https://www.googleapis.com/auth/fusiontables", |
| 890 "https://www.googleapis.com/auth/fusiontables.readonly" |
| 891 ] |
| 892 }, |
| 893 "list": { |
| 894 "description": "Retrieves a list of tasks.", |
| 895 "httpMethod": "GET", |
| 896 "id": "fusiontables.task.list", |
| 897 "parameterOrder": [ |
| 898 "tableId" |
| 899 ], |
| 900 "parameters": { |
| 901 "maxResults": { |
| 902 "description": "Maximum number of columns to return.
Optional. Default is 5.", |
| 903 "format": "uint32", |
| 904 "location": "query", |
| 905 "minimum": "0", |
| 906 "type": "integer" |
| 907 }, |
| 908 "pageToken": { |
| 909 "location": "query", |
| 910 "type": "string" |
| 911 }, |
| 912 "startIndex": { |
| 913 "format": "uint32", |
| 914 "location": "query", |
| 915 "type": "integer" |
| 916 }, |
| 917 "tableId": { |
| 918 "description": "Table whose tasks are being listed."
, |
| 919 "location": "path", |
| 920 "required": true, |
| 921 "type": "string" |
| 922 } |
| 923 }, |
| 924 "path": "tables/{tableId}/tasks", |
| 925 "response": { |
| 926 "$ref": "TaskList" |
| 927 }, |
| 928 "scopes": [ |
| 929 "https://www.googleapis.com/auth/fusiontables", |
| 930 "https://www.googleapis.com/auth/fusiontables.readonly" |
| 931 ] |
| 932 } |
| 933 } |
| 934 }, |
| 935 "template": { |
| 936 "methods": { |
| 937 "delete": { |
| 938 "description": "Deletes a template", |
| 939 "httpMethod": "DELETE", |
| 940 "id": "fusiontables.template.delete", |
| 941 "parameterOrder": [ |
| 942 "tableId", |
| 943 "templateId" |
| 944 ], |
| 945 "parameters": { |
| 946 "tableId": { |
| 947 "description": "Table from which the template is bei
ng deleted", |
| 948 "location": "path", |
| 949 "required": true, |
| 950 "type": "string" |
| 951 }, |
| 952 "templateId": { |
| 953 "description": "Identifier for the template which is
being deleted", |
| 954 "format": "int32", |
| 955 "location": "path", |
| 956 "required": true, |
| 957 "type": "integer" |
| 958 } |
| 959 }, |
| 960 "path": "tables/{tableId}/templates/{templateId}", |
| 961 "scopes": [ |
| 962 "https://www.googleapis.com/auth/fusiontables" |
| 963 ] |
| 964 }, |
| 965 "get": { |
| 966 "description": "Retrieves a specific template by its id", |
| 967 "httpMethod": "GET", |
| 968 "id": "fusiontables.template.get", |
| 969 "parameterOrder": [ |
| 970 "tableId", |
| 971 "templateId" |
| 972 ], |
| 973 "parameters": { |
| 974 "tableId": { |
| 975 "description": "Table to which the template belongs"
, |
| 976 "location": "path", |
| 977 "required": true, |
| 978 "type": "string" |
| 979 }, |
| 980 "templateId": { |
| 981 "description": "Identifier for the template that is
being requested", |
| 982 "format": "int32", |
| 983 "location": "path", |
| 984 "required": true, |
| 985 "type": "integer" |
| 986 } |
| 987 }, |
| 988 "path": "tables/{tableId}/templates/{templateId}", |
| 989 "response": { |
| 990 "$ref": "Template" |
| 991 }, |
| 992 "scopes": [ |
| 993 "https://www.googleapis.com/auth/fusiontables", |
| 994 "https://www.googleapis.com/auth/fusiontables.readonly" |
| 995 ] |
| 996 }, |
| 997 "insert": { |
| 998 "description": "Creates a new template for the table.", |
| 999 "httpMethod": "POST", |
| 1000 "id": "fusiontables.template.insert", |
| 1001 "parameterOrder": [ |
| 1002 "tableId" |
| 1003 ], |
| 1004 "parameters": { |
| 1005 "tableId": { |
| 1006 "description": "Table for which a new template is be
ing created", |
| 1007 "location": "path", |
| 1008 "required": true, |
| 1009 "type": "string" |
| 1010 } |
| 1011 }, |
| 1012 "path": "tables/{tableId}/templates", |
| 1013 "request": { |
| 1014 "$ref": "Template" |
| 1015 }, |
| 1016 "response": { |
| 1017 "$ref": "Template" |
| 1018 }, |
| 1019 "scopes": [ |
| 1020 "https://www.googleapis.com/auth/fusiontables" |
| 1021 ] |
| 1022 }, |
| 1023 "list": { |
| 1024 "description": "Retrieves a list of templates.", |
| 1025 "httpMethod": "GET", |
| 1026 "id": "fusiontables.template.list", |
| 1027 "parameterOrder": [ |
| 1028 "tableId" |
| 1029 ], |
| 1030 "parameters": { |
| 1031 "maxResults": { |
| 1032 "description": "Maximum number of templates to retur
n. Optional. Default is 5.", |
| 1033 "format": "uint32", |
| 1034 "location": "query", |
| 1035 "minimum": "0", |
| 1036 "type": "integer" |
| 1037 }, |
| 1038 "pageToken": { |
| 1039 "description": "Continuation token specifying which
results page to return. Optional.", |
| 1040 "location": "query", |
| 1041 "type": "string" |
| 1042 }, |
| 1043 "tableId": { |
| 1044 "description": "Identifier for the table whose templ
ates are being requested", |
| 1045 "location": "path", |
| 1046 "required": true, |
| 1047 "type": "string" |
| 1048 } |
| 1049 }, |
| 1050 "path": "tables/{tableId}/templates", |
| 1051 "response": { |
| 1052 "$ref": "TemplateList" |
| 1053 }, |
| 1054 "scopes": [ |
| 1055 "https://www.googleapis.com/auth/fusiontables", |
| 1056 "https://www.googleapis.com/auth/fusiontables.readonly" |
| 1057 ] |
| 1058 }, |
| 1059 "patch": { |
| 1060 "description": "Updates an existing template. This method su
pports patch semantics.", |
| 1061 "httpMethod": "PATCH", |
| 1062 "id": "fusiontables.template.patch", |
| 1063 "parameterOrder": [ |
| 1064 "tableId", |
| 1065 "templateId" |
| 1066 ], |
| 1067 "parameters": { |
| 1068 "tableId": { |
| 1069 "description": "Table to which the updated template
belongs", |
| 1070 "location": "path", |
| 1071 "required": true, |
| 1072 "type": "string" |
| 1073 }, |
| 1074 "templateId": { |
| 1075 "description": "Identifier for the template that is
being updated", |
| 1076 "format": "int32", |
| 1077 "location": "path", |
| 1078 "required": true, |
| 1079 "type": "integer" |
| 1080 } |
| 1081 }, |
| 1082 "path": "tables/{tableId}/templates/{templateId}", |
| 1083 "request": { |
| 1084 "$ref": "Template" |
| 1085 }, |
| 1086 "response": { |
| 1087 "$ref": "Template" |
| 1088 }, |
| 1089 "scopes": [ |
| 1090 "https://www.googleapis.com/auth/fusiontables" |
| 1091 ] |
| 1092 }, |
| 1093 "update": { |
| 1094 "description": "Updates an existing template", |
| 1095 "httpMethod": "PUT", |
| 1096 "id": "fusiontables.template.update", |
| 1097 "parameterOrder": [ |
| 1098 "tableId", |
| 1099 "templateId" |
| 1100 ], |
| 1101 "parameters": { |
| 1102 "tableId": { |
| 1103 "description": "Table to which the updated template
belongs", |
| 1104 "location": "path", |
| 1105 "required": true, |
| 1106 "type": "string" |
| 1107 }, |
| 1108 "templateId": { |
| 1109 "description": "Identifier for the template that is
being updated", |
| 1110 "format": "int32", |
| 1111 "location": "path", |
| 1112 "required": true, |
| 1113 "type": "integer" |
| 1114 } |
| 1115 }, |
| 1116 "path": "tables/{tableId}/templates/{templateId}", |
| 1117 "request": { |
| 1118 "$ref": "Template" |
| 1119 }, |
| 1120 "response": { |
| 1121 "$ref": "Template" |
| 1122 }, |
| 1123 "scopes": [ |
| 1124 "https://www.googleapis.com/auth/fusiontables" |
| 1125 ] |
| 1126 } |
| 1127 } |
| 1128 } |
| 1129 }, |
| 1130 "revision": "20140724", |
| 1131 "rootUrl": "https://www.googleapis.com/", |
| 1132 "schemas": { |
| 1133 "Bucket": { |
| 1134 "description": "Specifies the minimum and maximum values, the color,
opacity, icon and weight of a bucket within a StyleSetting.", |
| 1135 "id": "Bucket", |
| 1136 "properties": { |
| 1137 "color": { |
| 1138 "description": "Color of line or the interior of a polygon i
n #RRGGBB format.", |
| 1139 "type": "string" |
| 1140 }, |
| 1141 "icon": { |
| 1142 "description": "Icon name used for a point.", |
| 1143 "type": "string" |
| 1144 }, |
| 1145 "max": { |
| 1146 "description": "Maximum value in the selected column for a r
ow to be styled according to the bucket color, opacity, icon, or weight.", |
| 1147 "format": "double", |
| 1148 "type": "number" |
| 1149 }, |
| 1150 "min": { |
| 1151 "description": "Minimum value in the selected column for a r
ow to be styled according to the bucket color, opacity, icon, or weight.", |
| 1152 "format": "double", |
| 1153 "type": "number" |
| 1154 }, |
| 1155 "opacity": { |
| 1156 "description": "Opacity of the color: 0.0 (transparent) to 1
.0 (opaque).", |
| 1157 "format": "double", |
| 1158 "type": "number" |
| 1159 }, |
| 1160 "weight": { |
| 1161 "description": "Width of a line (in pixels).", |
| 1162 "format": "int32", |
| 1163 "type": "integer" |
| 1164 } |
| 1165 }, |
| 1166 "type": "object" |
| 1167 }, |
| 1168 "Column": { |
| 1169 "description": "Specifies the id, name and type of a column in a tab
le.", |
| 1170 "id": "Column", |
| 1171 "properties": { |
| 1172 "baseColumn": { |
| 1173 "description": "Optional identifier of the base column. If p
resent, this column is derived from the specified base column.", |
| 1174 "properties": { |
| 1175 "columnId": { |
| 1176 "description": "The id of the column in the base tab
le from which this column is derived.", |
| 1177 "format": "int32", |
| 1178 "type": "integer" |
| 1179 }, |
| 1180 "tableIndex": { |
| 1181 "description": "Offset to the entry in the list of b
ase tables in the table definition.", |
| 1182 "format": "int32", |
| 1183 "type": "integer" |
| 1184 } |
| 1185 }, |
| 1186 "type": "object" |
| 1187 }, |
| 1188 "columnId": { |
| 1189 "description": "Identifier for the column.", |
| 1190 "format": "int32", |
| 1191 "type": "integer" |
| 1192 }, |
| 1193 "description": { |
| 1194 "description": "Optional column description.", |
| 1195 "type": "string" |
| 1196 }, |
| 1197 "graph_predicate": { |
| 1198 "description": "Optional column predicate. Used to map table
to graph data model (subject,predicate,object) See http://www.w3.org/TR/2014/RE
C-rdf11-concepts-20140225/#data-model", |
| 1199 "type": "string" |
| 1200 }, |
| 1201 "kind": { |
| 1202 "default": "fusiontables#column", |
| 1203 "description": "Type name: a template for an individual colu
mn.", |
| 1204 "type": "string" |
| 1205 }, |
| 1206 "name": { |
| 1207 "annotations": { |
| 1208 "required": [ |
| 1209 "fusiontables.column.insert" |
| 1210 ] |
| 1211 }, |
| 1212 "description": "Required name of the column.", |
| 1213 "type": "string" |
| 1214 }, |
| 1215 "type": { |
| 1216 "annotations": { |
| 1217 "required": [ |
| 1218 "fusiontables.column.insert" |
| 1219 ] |
| 1220 }, |
| 1221 "description": "Required type of the column.", |
| 1222 "type": "string" |
| 1223 } |
| 1224 }, |
| 1225 "type": "object" |
| 1226 }, |
| 1227 "ColumnList": { |
| 1228 "description": "Represents a list of columns in a table.", |
| 1229 "id": "ColumnList", |
| 1230 "properties": { |
| 1231 "items": { |
| 1232 "description": "List of all requested columns.", |
| 1233 "items": { |
| 1234 "$ref": "Column" |
| 1235 }, |
| 1236 "type": "array" |
| 1237 }, |
| 1238 "kind": { |
| 1239 "default": "fusiontables#columnList", |
| 1240 "description": "Type name: a list of all columns.", |
| 1241 "type": "string" |
| 1242 }, |
| 1243 "nextPageToken": { |
| 1244 "description": "Token used to access the next page of this r
esult. No token is displayed if there are no more tokens left.", |
| 1245 "type": "string" |
| 1246 }, |
| 1247 "totalItems": { |
| 1248 "description": "Total number of columns for the table.", |
| 1249 "format": "int32", |
| 1250 "type": "integer" |
| 1251 } |
| 1252 }, |
| 1253 "type": "object" |
| 1254 }, |
| 1255 "Geometry": { |
| 1256 "description": "Represents a Geometry object.", |
| 1257 "id": "Geometry", |
| 1258 "properties": { |
| 1259 "geometries": { |
| 1260 "description": "The list of geometries in this geometry coll
ection.", |
| 1261 "items": { |
| 1262 "type": "any" |
| 1263 }, |
| 1264 "type": "array" |
| 1265 }, |
| 1266 "geometry": { |
| 1267 "type": "any" |
| 1268 }, |
| 1269 "type": { |
| 1270 "default": "GeometryCollection", |
| 1271 "description": "Type: A collection of geometries.", |
| 1272 "type": "string" |
| 1273 } |
| 1274 }, |
| 1275 "type": "object" |
| 1276 }, |
| 1277 "Import": { |
| 1278 "description": "Represents an import request.", |
| 1279 "id": "Import", |
| 1280 "properties": { |
| 1281 "kind": { |
| 1282 "default": "fusiontables#import", |
| 1283 "description": "Type name: a template for an import request.
", |
| 1284 "type": "string" |
| 1285 }, |
| 1286 "numRowsReceived": { |
| 1287 "description": "The number of rows received from the import
request.", |
| 1288 "format": "int64", |
| 1289 "type": "string" |
| 1290 } |
| 1291 }, |
| 1292 "type": "object" |
| 1293 }, |
| 1294 "Line": { |
| 1295 "description": "Represents a line geometry.", |
| 1296 "id": "Line", |
| 1297 "properties": { |
| 1298 "coordinates": { |
| 1299 "description": "The coordinates that define the line.", |
| 1300 "items": { |
| 1301 "items": { |
| 1302 "format": "double", |
| 1303 "type": "number" |
| 1304 }, |
| 1305 "type": "array" |
| 1306 }, |
| 1307 "type": "array" |
| 1308 }, |
| 1309 "type": { |
| 1310 "default": "LineString", |
| 1311 "description": "Type: A line geometry.", |
| 1312 "type": "string" |
| 1313 } |
| 1314 }, |
| 1315 "type": "object" |
| 1316 }, |
| 1317 "LineStyle": { |
| 1318 "description": "Represents a LineStyle within a StyleSetting", |
| 1319 "id": "LineStyle", |
| 1320 "properties": { |
| 1321 "strokeColor": { |
| 1322 "description": "Color of the line in #RRGGBB format.", |
| 1323 "type": "string" |
| 1324 }, |
| 1325 "strokeColorStyler": { |
| 1326 "$ref": "StyleFunction", |
| 1327 "description": "Column-value, gradient or buckets styler tha
t is used to determine the line color and opacity." |
| 1328 }, |
| 1329 "strokeOpacity": { |
| 1330 "description": "Opacity of the line : 0.0 (transparent) to 1
.0 (opaque).", |
| 1331 "format": "double", |
| 1332 "type": "number" |
| 1333 }, |
| 1334 "strokeWeight": { |
| 1335 "description": "Width of the line in pixels.", |
| 1336 "format": "int32", |
| 1337 "type": "integer" |
| 1338 }, |
| 1339 "strokeWeightStyler": { |
| 1340 "$ref": "StyleFunction", |
| 1341 "description": "Column-value or bucket styler that is used t
o determine the width of the line." |
| 1342 } |
| 1343 }, |
| 1344 "type": "object" |
| 1345 }, |
| 1346 "Point": { |
| 1347 "description": "Represents a point object.", |
| 1348 "id": "Point", |
| 1349 "properties": { |
| 1350 "coordinates": { |
| 1351 "description": "The coordinates that define the point.", |
| 1352 "items": { |
| 1353 "format": "double", |
| 1354 "type": "number" |
| 1355 }, |
| 1356 "type": "array" |
| 1357 }, |
| 1358 "type": { |
| 1359 "default": "Point", |
| 1360 "description": "Point: A point geometry.", |
| 1361 "type": "string" |
| 1362 } |
| 1363 }, |
| 1364 "type": "object" |
| 1365 }, |
| 1366 "PointStyle": { |
| 1367 "description": "Represents a PointStyle within a StyleSetting", |
| 1368 "id": "PointStyle", |
| 1369 "properties": { |
| 1370 "iconName": { |
| 1371 "description": "Name of the icon. Use values defined in http
://www.google.com/fusiontables/DataSource?dsrcid=308519", |
| 1372 "type": "string" |
| 1373 }, |
| 1374 "iconStyler": { |
| 1375 "$ref": "StyleFunction", |
| 1376 "description": "Column or a bucket value from which the icon
name is to be determined." |
| 1377 } |
| 1378 }, |
| 1379 "type": "object" |
| 1380 }, |
| 1381 "Polygon": { |
| 1382 "description": "Represents a polygon object.", |
| 1383 "id": "Polygon", |
| 1384 "properties": { |
| 1385 "coordinates": { |
| 1386 "description": "The coordinates that define the polygon.", |
| 1387 "items": { |
| 1388 "items": { |
| 1389 "items": { |
| 1390 "format": "double", |
| 1391 "type": "number" |
| 1392 }, |
| 1393 "type": "array" |
| 1394 }, |
| 1395 "type": "array" |
| 1396 }, |
| 1397 "type": "array" |
| 1398 }, |
| 1399 "type": { |
| 1400 "default": "Polygon", |
| 1401 "description": "Type: A polygon geometry.", |
| 1402 "type": "string" |
| 1403 } |
| 1404 }, |
| 1405 "type": "object" |
| 1406 }, |
| 1407 "PolygonStyle": { |
| 1408 "description": "Represents a PolygonStyle within a StyleSetting", |
| 1409 "id": "PolygonStyle", |
| 1410 "properties": { |
| 1411 "fillColor": { |
| 1412 "description": "Color of the interior of the polygon in #RRG
GBB format.", |
| 1413 "type": "string" |
| 1414 }, |
| 1415 "fillColorStyler": { |
| 1416 "$ref": "StyleFunction", |
| 1417 "description": "Column-value, gradient, or bucket styler tha
t is used to determine the interior color and opacity of the polygon." |
| 1418 }, |
| 1419 "fillOpacity": { |
| 1420 "description": "Opacity of the interior of the polygon: 0.0
(transparent) to 1.0 (opaque).", |
| 1421 "format": "double", |
| 1422 "type": "number" |
| 1423 }, |
| 1424 "strokeColor": { |
| 1425 "description": "Color of the polygon border in #RRGGBB forma
t.", |
| 1426 "type": "string" |
| 1427 }, |
| 1428 "strokeColorStyler": { |
| 1429 "$ref": "StyleFunction", |
| 1430 "description": "Column-value, gradient or buckets styler tha
t is used to determine the border color and opacity." |
| 1431 }, |
| 1432 "strokeOpacity": { |
| 1433 "description": "Opacity of the polygon border: 0.0 (transpar
ent) to 1.0 (opaque).", |
| 1434 "format": "double", |
| 1435 "type": "number" |
| 1436 }, |
| 1437 "strokeWeight": { |
| 1438 "description": "Width of the polyon border in pixels.", |
| 1439 "format": "int32", |
| 1440 "type": "integer" |
| 1441 }, |
| 1442 "strokeWeightStyler": { |
| 1443 "$ref": "StyleFunction", |
| 1444 "description": "Column-value or bucket styler that is used t
o determine the width of the polygon border." |
| 1445 } |
| 1446 }, |
| 1447 "type": "object" |
| 1448 }, |
| 1449 "Sqlresponse": { |
| 1450 "description": "Represents a response to an sql statement.", |
| 1451 "id": "Sqlresponse", |
| 1452 "properties": { |
| 1453 "columns": { |
| 1454 "description": "Columns in the table.", |
| 1455 "items": { |
| 1456 "type": "string" |
| 1457 }, |
| 1458 "type": "array" |
| 1459 }, |
| 1460 "kind": { |
| 1461 "default": "fusiontables#sqlresponse", |
| 1462 "description": "Type name: a template for an individual tabl
e.", |
| 1463 "type": "string" |
| 1464 }, |
| 1465 "rows": { |
| 1466 "description": "The rows in the table. For each cell we prin
t out whatever cell value (e.g., numeric, string) exists. Thus it is important t
hat each cell contains only one value.", |
| 1467 "items": { |
| 1468 "items": { |
| 1469 "type": "any" |
| 1470 }, |
| 1471 "type": "array" |
| 1472 }, |
| 1473 "type": "array" |
| 1474 } |
| 1475 }, |
| 1476 "type": "object" |
| 1477 }, |
| 1478 "StyleFunction": { |
| 1479 "description": "Represents a StyleFunction within a StyleSetting", |
| 1480 "id": "StyleFunction", |
| 1481 "properties": { |
| 1482 "buckets": { |
| 1483 "description": "Bucket function that assigns a style based o
n the range a column value falls into.", |
| 1484 "items": { |
| 1485 "$ref": "Bucket" |
| 1486 }, |
| 1487 "type": "array" |
| 1488 }, |
| 1489 "columnName": { |
| 1490 "annotations": { |
| 1491 "required": [ |
| 1492 "fusiontables.style.insert" |
| 1493 ] |
| 1494 }, |
| 1495 "description": "Name of the column whose value is used in th
e style.", |
| 1496 "type": "string" |
| 1497 }, |
| 1498 "gradient": { |
| 1499 "description": "Gradient function that interpolates a range
of colors based on column value.", |
| 1500 "properties": { |
| 1501 "colors": { |
| 1502 "description": "Array with two or more colors.", |
| 1503 "items": { |
| 1504 "properties": { |
| 1505 "color": { |
| 1506 "description": "Color in #RRGGBB format.
", |
| 1507 "type": "string" |
| 1508 }, |
| 1509 "opacity": { |
| 1510 "description": "Opacity of the color: 0.
0 (transparent) to 1.0 (opaque).", |
| 1511 "format": "double", |
| 1512 "type": "number" |
| 1513 } |
| 1514 }, |
| 1515 "type": "object" |
| 1516 }, |
| 1517 "type": "array" |
| 1518 }, |
| 1519 "max": { |
| 1520 "description": "Higher-end of the interpolation rang
e: rows with this value will be assigned to colors[n-1].", |
| 1521 "format": "double", |
| 1522 "type": "number" |
| 1523 }, |
| 1524 "min": { |
| 1525 "description": "Lower-end of the interpolation range
: rows with this value will be assigned to colors[0].", |
| 1526 "format": "double", |
| 1527 "type": "number" |
| 1528 } |
| 1529 }, |
| 1530 "type": "object" |
| 1531 }, |
| 1532 "kind": { |
| 1533 "description": "Stylers can be one of three kinds: \"fusiont
ables#fromColumn\" if the column value is to be used as is, i.e., the column val
ues can have colors in #RRGGBBAA format or integer line widths or icon names; \"
fusiontables#gradient\" if the styling of the row is to be based on applying the
gradient function on the column value; or \"fusiontables#buckets\" if the styli
ng is to based on the bucket into which the the column value falls.", |
| 1534 "type": "string" |
| 1535 } |
| 1536 }, |
| 1537 "type": "object" |
| 1538 }, |
| 1539 "StyleSetting": { |
| 1540 "description": "Represents a complete StyleSettings object. The prim
ary key is a combination of the tableId and a styleId.", |
| 1541 "id": "StyleSetting", |
| 1542 "properties": { |
| 1543 "kind": { |
| 1544 "default": "fusiontables#styleSetting", |
| 1545 "description": "Type name: an individual style setting. A St
yleSetting contains the style defintions for points, lines, and polygons in a ta
ble. Since a table can have any one or all of them, a style definition can have
point, line and polygon style definitions.", |
| 1546 "type": "string" |
| 1547 }, |
| 1548 "markerOptions": { |
| 1549 "$ref": "PointStyle", |
| 1550 "description": "Style definition for points in the table." |
| 1551 }, |
| 1552 "name": { |
| 1553 "description": "Optional name for the style setting.", |
| 1554 "type": "string" |
| 1555 }, |
| 1556 "polygonOptions": { |
| 1557 "$ref": "PolygonStyle", |
| 1558 "description": "Style definition for polygons in the table." |
| 1559 }, |
| 1560 "polylineOptions": { |
| 1561 "$ref": "LineStyle", |
| 1562 "description": "Style definition for lines in the table." |
| 1563 }, |
| 1564 "styleId": { |
| 1565 "description": "Identifier for the style setting (unique onl
y within tables).", |
| 1566 "format": "int32", |
| 1567 "type": "integer" |
| 1568 }, |
| 1569 "tableId": { |
| 1570 "description": "Identifier for the table.", |
| 1571 "type": "string" |
| 1572 } |
| 1573 }, |
| 1574 "type": "object" |
| 1575 }, |
| 1576 "StyleSettingList": { |
| 1577 "description": "Represents a list of styles for a given table.", |
| 1578 "id": "StyleSettingList", |
| 1579 "properties": { |
| 1580 "items": { |
| 1581 "description": "All requested style settings.", |
| 1582 "items": { |
| 1583 "$ref": "StyleSetting" |
| 1584 }, |
| 1585 "type": "array" |
| 1586 }, |
| 1587 "kind": { |
| 1588 "default": "fusiontables#styleSettingList", |
| 1589 "description": "Type name: in this case, a list of style set
tings.", |
| 1590 "type": "string" |
| 1591 }, |
| 1592 "nextPageToken": { |
| 1593 "description": "Token used to access the next page of this r
esult. No token is displayed if there are no more styles left.", |
| 1594 "type": "string" |
| 1595 }, |
| 1596 "totalItems": { |
| 1597 "description": "Total number of styles for the table.", |
| 1598 "format": "int32", |
| 1599 "type": "integer" |
| 1600 } |
| 1601 }, |
| 1602 "type": "object" |
| 1603 }, |
| 1604 "Table": { |
| 1605 "description": "Represents a table. Specifies the name, whether it i
s exportable, description, attribution, and attribution link.", |
| 1606 "id": "Table", |
| 1607 "properties": { |
| 1608 "attribution": { |
| 1609 "description": "Optional attribution assigned to the table."
, |
| 1610 "type": "string" |
| 1611 }, |
| 1612 "attributionLink": { |
| 1613 "description": "Optional link for attribution.", |
| 1614 "type": "string" |
| 1615 }, |
| 1616 "baseTableIds": { |
| 1617 "description": "Optional base table identifier if this table
is a view or merged table.", |
| 1618 "items": { |
| 1619 "type": "string" |
| 1620 }, |
| 1621 "type": "array" |
| 1622 }, |
| 1623 "columns": { |
| 1624 "annotations": { |
| 1625 "required": [ |
| 1626 "fusiontables.table.insert", |
| 1627 "fusiontables.table.update" |
| 1628 ] |
| 1629 }, |
| 1630 "description": "Columns in the table.", |
| 1631 "items": { |
| 1632 "$ref": "Column" |
| 1633 }, |
| 1634 "type": "array" |
| 1635 }, |
| 1636 "description": { |
| 1637 "description": "Optional description assigned to the table."
, |
| 1638 "type": "string" |
| 1639 }, |
| 1640 "isExportable": { |
| 1641 "annotations": { |
| 1642 "required": [ |
| 1643 "fusiontables.table.insert", |
| 1644 "fusiontables.table.update" |
| 1645 ] |
| 1646 }, |
| 1647 "description": "Variable for whether table is exportable.", |
| 1648 "type": "boolean" |
| 1649 }, |
| 1650 "kind": { |
| 1651 "default": "fusiontables#table", |
| 1652 "description": "Type name: a template for an individual tabl
e.", |
| 1653 "type": "string" |
| 1654 }, |
| 1655 "name": { |
| 1656 "annotations": { |
| 1657 "required": [ |
| 1658 "fusiontables.table.insert", |
| 1659 "fusiontables.table.update" |
| 1660 ] |
| 1661 }, |
| 1662 "description": "Name assigned to a table.", |
| 1663 "type": "string" |
| 1664 }, |
| 1665 "sql": { |
| 1666 "description": "Optional sql that encodes the table definiti
on for derived tables.", |
| 1667 "type": "string" |
| 1668 }, |
| 1669 "tableId": { |
| 1670 "description": "Encrypted unique alphanumeric identifier for
the table.", |
| 1671 "type": "string" |
| 1672 } |
| 1673 }, |
| 1674 "type": "object" |
| 1675 }, |
| 1676 "TableList": { |
| 1677 "description": "Represents a list of tables.", |
| 1678 "id": "TableList", |
| 1679 "properties": { |
| 1680 "items": { |
| 1681 "description": "List of all requested tables.", |
| 1682 "items": { |
| 1683 "$ref": "Table" |
| 1684 }, |
| 1685 "type": "array" |
| 1686 }, |
| 1687 "kind": { |
| 1688 "default": "fusiontables#tableList", |
| 1689 "description": "Type name: a list of all tables.", |
| 1690 "type": "string" |
| 1691 }, |
| 1692 "nextPageToken": { |
| 1693 "description": "Token used to access the next page of this r
esult. No token is displayed if there are no more tokens left.", |
| 1694 "type": "string" |
| 1695 } |
| 1696 }, |
| 1697 "type": "object" |
| 1698 }, |
| 1699 "Task": { |
| 1700 "description": "Specifies the id, name and type of a task in a table
.", |
| 1701 "id": "Task", |
| 1702 "properties": { |
| 1703 "kind": { |
| 1704 "default": "fusiontables#task", |
| 1705 "description": "Type name: a template for an individual task
.", |
| 1706 "type": "string" |
| 1707 }, |
| 1708 "progress": { |
| 1709 "description": "An indication of task progress.", |
| 1710 "type": "string" |
| 1711 }, |
| 1712 "started": { |
| 1713 "description": "False while the table is busy with some othe
r task.", |
| 1714 "type": "boolean" |
| 1715 }, |
| 1716 "taskId": { |
| 1717 "description": "Identifier for the task.", |
| 1718 "format": "int64", |
| 1719 "type": "string" |
| 1720 }, |
| 1721 "type": { |
| 1722 "type": "string" |
| 1723 } |
| 1724 }, |
| 1725 "type": "object" |
| 1726 }, |
| 1727 "TaskList": { |
| 1728 "description": "Represents a list of tasks in a table.", |
| 1729 "id": "TaskList", |
| 1730 "properties": { |
| 1731 "items": { |
| 1732 "description": "List of all requested tasks.", |
| 1733 "items": { |
| 1734 "$ref": "Task" |
| 1735 }, |
| 1736 "type": "array" |
| 1737 }, |
| 1738 "kind": { |
| 1739 "default": "fusiontables#taskList", |
| 1740 "description": "Type name: a list of all tasks.", |
| 1741 "type": "string" |
| 1742 }, |
| 1743 "nextPageToken": { |
| 1744 "description": "Token used to access the next page of this r
esult. No token is displayed if there are no more tokens left.", |
| 1745 "type": "string" |
| 1746 }, |
| 1747 "totalItems": { |
| 1748 "description": "Total number of tasks for the table.", |
| 1749 "format": "int32", |
| 1750 "type": "integer" |
| 1751 } |
| 1752 }, |
| 1753 "type": "object" |
| 1754 }, |
| 1755 "Template": { |
| 1756 "description": "Represents the contents of InfoWindow templates.", |
| 1757 "id": "Template", |
| 1758 "properties": { |
| 1759 "automaticColumnNames": { |
| 1760 "description": "List of columns from which the template is t
o be automatically constructed. Only one of body or automaticColumns can be spec
ified.", |
| 1761 "items": { |
| 1762 "type": "string" |
| 1763 }, |
| 1764 "type": "array" |
| 1765 }, |
| 1766 "body": { |
| 1767 "description": "Body of the template. It contains HTML with
{column_name} to insert values from a particular column. The body is sanitized t
o remove certain tags, e.g., script. Only one of body or automaticColumns can be
specified.", |
| 1768 "type": "string" |
| 1769 }, |
| 1770 "kind": { |
| 1771 "default": "fusiontables#template", |
| 1772 "description": "Type name: a template for the info window co
ntents. The template can either include an HTML body or a list of columns from w
hich the template is computed automatically.", |
| 1773 "type": "string" |
| 1774 }, |
| 1775 "name": { |
| 1776 "description": "Optional name assigned to a template.", |
| 1777 "type": "string" |
| 1778 }, |
| 1779 "tableId": { |
| 1780 "description": "Identifier for the table for which the templ
ate is defined.", |
| 1781 "type": "string" |
| 1782 }, |
| 1783 "templateId": { |
| 1784 "description": "Identifier for the template, unique within t
he context of a particular table.", |
| 1785 "format": "int32", |
| 1786 "type": "integer" |
| 1787 } |
| 1788 }, |
| 1789 "type": "object" |
| 1790 }, |
| 1791 "TemplateList": { |
| 1792 "description": "Represents a list of templates for a given table.", |
| 1793 "id": "TemplateList", |
| 1794 "properties": { |
| 1795 "items": { |
| 1796 "description": "List of all requested templates.", |
| 1797 "items": { |
| 1798 "$ref": "Template" |
| 1799 }, |
| 1800 "type": "array" |
| 1801 }, |
| 1802 "kind": { |
| 1803 "default": "fusiontables#templateList", |
| 1804 "description": "Type name: a list of all templates.", |
| 1805 "type": "string" |
| 1806 }, |
| 1807 "nextPageToken": { |
| 1808 "description": "Token used to access the next page of this r
esult. No token is displayed if there are no more tokens left.", |
| 1809 "type": "string" |
| 1810 }, |
| 1811 "totalItems": { |
| 1812 "description": "Total number of templates for the table.", |
| 1813 "format": "int32", |
| 1814 "type": "integer" |
| 1815 } |
| 1816 }, |
| 1817 "type": "object" |
| 1818 } |
| 1819 }, |
| 1820 "servicePath": "fusiontables/v1/", |
| 1821 "title": "Fusion Tables API", |
| 1822 "version": "v1" |
| 1823 } |
OLD | NEW |