OLD | NEW |
1 { | 1 { |
2 "auth": { | 2 "auth": { |
3 "oauth2": { | 3 "oauth2": { |
4 "scopes": { | 4 "scopes": { |
5 "https://www.googleapis.com/auth/bigquery": { | 5 "https://www.googleapis.com/auth/bigquery": { |
6 "description": "View and manage your data in Google BigQuery
" | 6 "description": "View and manage your data in Google BigQuery
" |
7 }, | 7 }, |
8 "https://www.googleapis.com/auth/bigquery.insertdata": { | 8 "https://www.googleapis.com/auth/bigquery.insertdata": { |
9 "description": "Insert data into Google BigQuery" | 9 "description": "Insert data into Google BigQuery" |
10 }, | 10 }, |
11 "https://www.googleapis.com/auth/cloud-platform": { | 11 "https://www.googleapis.com/auth/cloud-platform": { |
12 "description": "View and manage your data across Google Clou
d Platform services" | 12 "description": "View and manage your data across Google Clou
d Platform services" |
13 }, | 13 }, |
| 14 "https://www.googleapis.com/auth/cloud-platform.read-only": { |
| 15 "description": "MESSAGE UNDER CONSTRUCTION View your data ac
ross Google Cloud Platform services" |
| 16 }, |
14 "https://www.googleapis.com/auth/devstorage.full_control": { | 17 "https://www.googleapis.com/auth/devstorage.full_control": { |
15 "description": "Manage your data and permissions in Google C
loud Storage" | 18 "description": "Manage your data and permissions in Google C
loud Storage" |
16 }, | 19 }, |
17 "https://www.googleapis.com/auth/devstorage.read_only": { | 20 "https://www.googleapis.com/auth/devstorage.read_only": { |
18 "description": "View your data in Google Cloud Storage" | 21 "description": "View your data in Google Cloud Storage" |
19 }, | 22 }, |
20 "https://www.googleapis.com/auth/devstorage.read_write": { | 23 "https://www.googleapis.com/auth/devstorage.read_write": { |
21 "description": "Manage your data in Google Cloud Storage" | 24 "description": "Manage your data in Google Cloud Storage" |
22 } | 25 } |
23 } | 26 } |
24 } | 27 } |
25 }, | 28 }, |
26 "basePath": "/bigquery/v2/", | 29 "basePath": "/bigquery/v2/", |
27 "baseUrl": "https://www.googleapis.com/bigquery/v2/", | 30 "baseUrl": "https://www.googleapis.com/bigquery/v2/", |
28 "batchPath": "batch", | 31 "batchPath": "batch", |
29 "description": "A data platform for customers to create, manage, share and q
uery data.", | 32 "description": "A data platform for customers to create, manage, share and q
uery data.", |
30 "discoveryVersion": "v1", | 33 "discoveryVersion": "v1", |
31 "documentationLink": "https://cloud.google.com/bigquery/", | 34 "documentationLink": "https://cloud.google.com/bigquery/", |
32 "etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/6_j3-L3xDTpJRP-qmfT7ZpU_5Bg\"", | 35 "etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/r06f0hHpX4mVebOueiwIFm0vurA\"", |
33 "icons": { | 36 "icons": { |
34 "x16": "https://www.google.com/images/icons/product/search-16.gif", | 37 "x16": "https://www.google.com/images/icons/product/search-16.gif", |
35 "x32": "https://www.google.com/images/icons/product/search-32.gif" | 38 "x32": "https://www.google.com/images/icons/product/search-32.gif" |
36 }, | 39 }, |
37 "id": "bigquery:v2", | 40 "id": "bigquery:v2", |
38 "kind": "discovery#restDescription", | 41 "kind": "discovery#restDescription", |
39 "name": "bigquery", | 42 "name": "bigquery", |
40 "ownerDomain": "google.com", | 43 "ownerDomain": "google.com", |
41 "ownerName": "Google", | 44 "ownerName": "Google", |
42 "parameters": { | 45 "parameters": { |
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
144 "required": true, | 147 "required": true, |
145 "type": "string" | 148 "type": "string" |
146 } | 149 } |
147 }, | 150 }, |
148 "path": "projects/{projectId}/datasets/{datasetId}", | 151 "path": "projects/{projectId}/datasets/{datasetId}", |
149 "response": { | 152 "response": { |
150 "$ref": "Dataset" | 153 "$ref": "Dataset" |
151 }, | 154 }, |
152 "scopes": [ | 155 "scopes": [ |
153 "https://www.googleapis.com/auth/bigquery", | 156 "https://www.googleapis.com/auth/bigquery", |
154 "https://www.googleapis.com/auth/cloud-platform" | 157 "https://www.googleapis.com/auth/cloud-platform", |
| 158 "https://www.googleapis.com/auth/cloud-platform.read-onl
y" |
155 ] | 159 ] |
156 }, | 160 }, |
157 "insert": { | 161 "insert": { |
158 "description": "Creates a new empty dataset.", | 162 "description": "Creates a new empty dataset.", |
159 "httpMethod": "POST", | 163 "httpMethod": "POST", |
160 "id": "bigquery.datasets.insert", | 164 "id": "bigquery.datasets.insert", |
161 "parameterOrder": [ | 165 "parameterOrder": [ |
162 "projectId" | 166 "projectId" |
163 ], | 167 ], |
164 "parameters": { | 168 "parameters": { |
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
211 "required": true, | 215 "required": true, |
212 "type": "string" | 216 "type": "string" |
213 } | 217 } |
214 }, | 218 }, |
215 "path": "projects/{projectId}/datasets", | 219 "path": "projects/{projectId}/datasets", |
216 "response": { | 220 "response": { |
217 "$ref": "DatasetList" | 221 "$ref": "DatasetList" |
218 }, | 222 }, |
219 "scopes": [ | 223 "scopes": [ |
220 "https://www.googleapis.com/auth/bigquery", | 224 "https://www.googleapis.com/auth/bigquery", |
221 "https://www.googleapis.com/auth/cloud-platform" | 225 "https://www.googleapis.com/auth/cloud-platform", |
| 226 "https://www.googleapis.com/auth/cloud-platform.read-onl
y" |
222 ] | 227 ] |
223 }, | 228 }, |
224 "patch": { | 229 "patch": { |
225 "description": "Updates information in an existing dataset.
The update method replaces the entire dataset resource, whereas the patch method
only replaces fields that are provided in the submitted dataset resource. This
method supports patch semantics.", | 230 "description": "Updates information in an existing dataset.
The update method replaces the entire dataset resource, whereas the patch method
only replaces fields that are provided in the submitted dataset resource. This
method supports patch semantics.", |
226 "httpMethod": "PATCH", | 231 "httpMethod": "PATCH", |
227 "id": "bigquery.datasets.patch", | 232 "id": "bigquery.datasets.patch", |
228 "parameterOrder": [ | 233 "parameterOrder": [ |
229 "projectId", | 234 "projectId", |
230 "datasetId" | 235 "datasetId" |
231 ], | 236 ], |
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
345 "required": true, | 350 "required": true, |
346 "type": "string" | 351 "type": "string" |
347 } | 352 } |
348 }, | 353 }, |
349 "path": "projects/{projectId}/jobs/{jobId}", | 354 "path": "projects/{projectId}/jobs/{jobId}", |
350 "response": { | 355 "response": { |
351 "$ref": "Job" | 356 "$ref": "Job" |
352 }, | 357 }, |
353 "scopes": [ | 358 "scopes": [ |
354 "https://www.googleapis.com/auth/bigquery", | 359 "https://www.googleapis.com/auth/bigquery", |
355 "https://www.googleapis.com/auth/cloud-platform" | 360 "https://www.googleapis.com/auth/cloud-platform", |
| 361 "https://www.googleapis.com/auth/cloud-platform.read-onl
y" |
356 ] | 362 ] |
357 }, | 363 }, |
358 "getQueryResults": { | 364 "getQueryResults": { |
359 "description": "Retrieves the results of a query job.", | 365 "description": "Retrieves the results of a query job.", |
360 "httpMethod": "GET", | 366 "httpMethod": "GET", |
361 "id": "bigquery.jobs.getQueryResults", | 367 "id": "bigquery.jobs.getQueryResults", |
362 "parameterOrder": [ | 368 "parameterOrder": [ |
363 "projectId", | 369 "projectId", |
364 "jobId" | 370 "jobId" |
365 ], | 371 ], |
(...skipping 21 matching lines...) Expand all Loading... |
387 "required": true, | 393 "required": true, |
388 "type": "string" | 394 "type": "string" |
389 }, | 395 }, |
390 "startIndex": { | 396 "startIndex": { |
391 "description": "Zero-based index of the starting row
", | 397 "description": "Zero-based index of the starting row
", |
392 "format": "uint64", | 398 "format": "uint64", |
393 "location": "query", | 399 "location": "query", |
394 "type": "string" | 400 "type": "string" |
395 }, | 401 }, |
396 "timeoutMs": { | 402 "timeoutMs": { |
397 "description": "How long to wait for the query to co
mplete, in milliseconds, before returning. Default is to return immediately. If
the timeout passes before the job completes, the request will fail with a TIMEOU
T error", | 403 "description": "How long to wait for the query to co
mplete, in milliseconds, before returning. Default is 10 seconds. If the timeout
passes before the job completes, the 'jobComplete' field in the response will b
e false", |
398 "format": "uint32", | 404 "format": "uint32", |
399 "location": "query", | 405 "location": "query", |
400 "type": "integer" | 406 "type": "integer" |
401 } | 407 } |
402 }, | 408 }, |
403 "path": "projects/{projectId}/queries/{jobId}", | 409 "path": "projects/{projectId}/queries/{jobId}", |
404 "response": { | 410 "response": { |
405 "$ref": "GetQueryResultsResponse" | 411 "$ref": "GetQueryResultsResponse" |
406 }, | 412 }, |
407 "scopes": [ | 413 "scopes": [ |
408 "https://www.googleapis.com/auth/bigquery", | 414 "https://www.googleapis.com/auth/bigquery", |
409 "https://www.googleapis.com/auth/cloud-platform" | 415 "https://www.googleapis.com/auth/cloud-platform", |
| 416 "https://www.googleapis.com/auth/cloud-platform.read-onl
y" |
410 ] | 417 ] |
411 }, | 418 }, |
412 "insert": { | 419 "insert": { |
413 "description": "Starts a new asynchronous job. Requires the
Can View project role.", | 420 "description": "Starts a new asynchronous job. Requires the
Can View project role.", |
414 "httpMethod": "POST", | 421 "httpMethod": "POST", |
415 "id": "bigquery.jobs.insert", | 422 "id": "bigquery.jobs.insert", |
416 "mediaUpload": { | 423 "mediaUpload": { |
417 "accept": [ | 424 "accept": [ |
418 "*/*" | 425 "*/*" |
419 ], | 426 ], |
(...skipping 29 matching lines...) Expand all Loading... |
449 "scopes": [ | 456 "scopes": [ |
450 "https://www.googleapis.com/auth/bigquery", | 457 "https://www.googleapis.com/auth/bigquery", |
451 "https://www.googleapis.com/auth/cloud-platform", | 458 "https://www.googleapis.com/auth/cloud-platform", |
452 "https://www.googleapis.com/auth/devstorage.full_control
", | 459 "https://www.googleapis.com/auth/devstorage.full_control
", |
453 "https://www.googleapis.com/auth/devstorage.read_only", | 460 "https://www.googleapis.com/auth/devstorage.read_only", |
454 "https://www.googleapis.com/auth/devstorage.read_write" | 461 "https://www.googleapis.com/auth/devstorage.read_write" |
455 ], | 462 ], |
456 "supportsMediaUpload": true | 463 "supportsMediaUpload": true |
457 }, | 464 }, |
458 "list": { | 465 "list": { |
459 "description": "Lists all jobs that you started in the speci
fied project. The job list returns in reverse chronological order of when the jo
bs were created, starting with the most recent job created. Requires the Can Vie
w project role, or the Is Owner project role if you set the allUsers property.", | 466 "description": "Lists all jobs that you started in the speci
fied project. Job information is available for a six month period after creation
. The job list is sorted in reverse chronological order, by job creation time. R
equires the Can View project role, or the Is Owner project role if you set the a
llUsers property.", |
460 "httpMethod": "GET", | 467 "httpMethod": "GET", |
461 "id": "bigquery.jobs.list", | 468 "id": "bigquery.jobs.list", |
462 "parameterOrder": [ | 469 "parameterOrder": [ |
463 "projectId" | 470 "projectId" |
464 ], | 471 ], |
465 "parameters": { | 472 "parameters": { |
466 "allUsers": { | 473 "allUsers": { |
467 "description": "Whether to display jobs owned by all
users in the project. Default false", | 474 "description": "Whether to display jobs owned by all
users in the project. Default false", |
468 "location": "query", | 475 "location": "query", |
469 "type": "boolean" | 476 "type": "boolean" |
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
514 "repeated": true, | 521 "repeated": true, |
515 "type": "string" | 522 "type": "string" |
516 } | 523 } |
517 }, | 524 }, |
518 "path": "projects/{projectId}/jobs", | 525 "path": "projects/{projectId}/jobs", |
519 "response": { | 526 "response": { |
520 "$ref": "JobList" | 527 "$ref": "JobList" |
521 }, | 528 }, |
522 "scopes": [ | 529 "scopes": [ |
523 "https://www.googleapis.com/auth/bigquery", | 530 "https://www.googleapis.com/auth/bigquery", |
524 "https://www.googleapis.com/auth/cloud-platform" | 531 "https://www.googleapis.com/auth/cloud-platform", |
| 532 "https://www.googleapis.com/auth/cloud-platform.read-onl
y" |
525 ] | 533 ] |
526 }, | 534 }, |
527 "query": { | 535 "query": { |
528 "description": "Runs a BigQuery SQL query synchronously and
returns query results if the query completes within a specified timeout.", | 536 "description": "Runs a BigQuery SQL query synchronously and
returns query results if the query completes within a specified timeout.", |
529 "httpMethod": "POST", | 537 "httpMethod": "POST", |
530 "id": "bigquery.jobs.query", | 538 "id": "bigquery.jobs.query", |
531 "parameterOrder": [ | 539 "parameterOrder": [ |
532 "projectId" | 540 "projectId" |
533 ], | 541 ], |
534 "parameters": { | 542 "parameters": { |
535 "projectId": { | 543 "projectId": { |
536 "description": "Project ID of the project billed for
the query", | 544 "description": "Project ID of the project billed for
the query", |
537 "location": "path", | 545 "location": "path", |
538 "required": true, | 546 "required": true, |
539 "type": "string" | 547 "type": "string" |
540 } | 548 } |
541 }, | 549 }, |
542 "path": "projects/{projectId}/queries", | 550 "path": "projects/{projectId}/queries", |
543 "request": { | 551 "request": { |
544 "$ref": "QueryRequest" | 552 "$ref": "QueryRequest" |
545 }, | 553 }, |
546 "response": { | 554 "response": { |
547 "$ref": "QueryResponse" | 555 "$ref": "QueryResponse" |
548 }, | 556 }, |
549 "scopes": [ | 557 "scopes": [ |
550 "https://www.googleapis.com/auth/bigquery", | 558 "https://www.googleapis.com/auth/bigquery", |
551 "https://www.googleapis.com/auth/cloud-platform" | 559 "https://www.googleapis.com/auth/cloud-platform", |
| 560 "https://www.googleapis.com/auth/cloud-platform.read-onl
y" |
552 ] | 561 ] |
553 } | 562 } |
554 } | 563 } |
555 }, | 564 }, |
556 "projects": { | 565 "projects": { |
557 "methods": { | 566 "methods": { |
558 "list": { | 567 "list": { |
559 "description": "Lists all projects to which you have been gr
anted any project role.", | 568 "description": "Lists all projects to which you have been gr
anted any project role.", |
560 "httpMethod": "GET", | 569 "httpMethod": "GET", |
561 "id": "bigquery.projects.list", | 570 "id": "bigquery.projects.list", |
562 "parameters": { | 571 "parameters": { |
563 "maxResults": { | 572 "maxResults": { |
564 "description": "Maximum number of results to return"
, | 573 "description": "Maximum number of results to return"
, |
565 "format": "uint32", | 574 "format": "uint32", |
566 "location": "query", | 575 "location": "query", |
567 "type": "integer" | 576 "type": "integer" |
568 }, | 577 }, |
569 "pageToken": { | 578 "pageToken": { |
570 "description": "Page token, returned by a previous c
all, to request the next page of results", | 579 "description": "Page token, returned by a previous c
all, to request the next page of results", |
571 "location": "query", | 580 "location": "query", |
572 "type": "string" | 581 "type": "string" |
573 } | 582 } |
574 }, | 583 }, |
575 "path": "projects", | 584 "path": "projects", |
576 "response": { | 585 "response": { |
577 "$ref": "ProjectList" | 586 "$ref": "ProjectList" |
578 }, | 587 }, |
579 "scopes": [ | 588 "scopes": [ |
580 "https://www.googleapis.com/auth/bigquery", | 589 "https://www.googleapis.com/auth/bigquery", |
581 "https://www.googleapis.com/auth/cloud-platform" | 590 "https://www.googleapis.com/auth/cloud-platform", |
| 591 "https://www.googleapis.com/auth/cloud-platform.read-onl
y" |
582 ] | 592 ] |
583 } | 593 } |
584 } | 594 } |
585 }, | 595 }, |
586 "tabledata": { | 596 "tabledata": { |
587 "methods": { | 597 "methods": { |
588 "insertAll": { | 598 "insertAll": { |
589 "description": "Streams data into BigQuery one record at a t
ime without needing to run a load job. Requires the WRITER dataset role.", | 599 "description": "Streams data into BigQuery one record at a t
ime without needing to run a load job. Requires the WRITER dataset role.", |
590 "httpMethod": "POST", | 600 "httpMethod": "POST", |
591 "id": "bigquery.tabledata.insertAll", | 601 "id": "bigquery.tabledata.insertAll", |
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
672 "required": true, | 682 "required": true, |
673 "type": "string" | 683 "type": "string" |
674 } | 684 } |
675 }, | 685 }, |
676 "path": "projects/{projectId}/datasets/{datasetId}/tables/{t
ableId}/data", | 686 "path": "projects/{projectId}/datasets/{datasetId}/tables/{t
ableId}/data", |
677 "response": { | 687 "response": { |
678 "$ref": "TableDataList" | 688 "$ref": "TableDataList" |
679 }, | 689 }, |
680 "scopes": [ | 690 "scopes": [ |
681 "https://www.googleapis.com/auth/bigquery", | 691 "https://www.googleapis.com/auth/bigquery", |
682 "https://www.googleapis.com/auth/cloud-platform" | 692 "https://www.googleapis.com/auth/cloud-platform", |
| 693 "https://www.googleapis.com/auth/cloud-platform.read-onl
y" |
683 ] | 694 ] |
684 } | 695 } |
685 } | 696 } |
686 }, | 697 }, |
687 "tables": { | 698 "tables": { |
688 "methods": { | 699 "methods": { |
689 "delete": { | 700 "delete": { |
690 "description": "Deletes the table specified by tableId from
the dataset. If the table contains data, all the data will be deleted.", | 701 "description": "Deletes the table specified by tableId from
the dataset. If the table contains data, all the data will be deleted.", |
691 "httpMethod": "DELETE", | 702 "httpMethod": "DELETE", |
692 "id": "bigquery.tables.delete", | 703 "id": "bigquery.tables.delete", |
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
749 "required": true, | 760 "required": true, |
750 "type": "string" | 761 "type": "string" |
751 } | 762 } |
752 }, | 763 }, |
753 "path": "projects/{projectId}/datasets/{datasetId}/tables/{t
ableId}", | 764 "path": "projects/{projectId}/datasets/{datasetId}/tables/{t
ableId}", |
754 "response": { | 765 "response": { |
755 "$ref": "Table" | 766 "$ref": "Table" |
756 }, | 767 }, |
757 "scopes": [ | 768 "scopes": [ |
758 "https://www.googleapis.com/auth/bigquery", | 769 "https://www.googleapis.com/auth/bigquery", |
759 "https://www.googleapis.com/auth/cloud-platform" | 770 "https://www.googleapis.com/auth/cloud-platform", |
| 771 "https://www.googleapis.com/auth/cloud-platform.read-onl
y" |
760 ] | 772 ] |
761 }, | 773 }, |
762 "insert": { | 774 "insert": { |
763 "description": "Creates a new, empty table in the dataset.", | 775 "description": "Creates a new, empty table in the dataset.", |
764 "httpMethod": "POST", | 776 "httpMethod": "POST", |
765 "id": "bigquery.tables.insert", | 777 "id": "bigquery.tables.insert", |
766 "parameterOrder": [ | 778 "parameterOrder": [ |
767 "projectId", | 779 "projectId", |
768 "datasetId" | 780 "datasetId" |
769 ], | 781 ], |
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
825 "required": true, | 837 "required": true, |
826 "type": "string" | 838 "type": "string" |
827 } | 839 } |
828 }, | 840 }, |
829 "path": "projects/{projectId}/datasets/{datasetId}/tables", | 841 "path": "projects/{projectId}/datasets/{datasetId}/tables", |
830 "response": { | 842 "response": { |
831 "$ref": "TableList" | 843 "$ref": "TableList" |
832 }, | 844 }, |
833 "scopes": [ | 845 "scopes": [ |
834 "https://www.googleapis.com/auth/bigquery", | 846 "https://www.googleapis.com/auth/bigquery", |
835 "https://www.googleapis.com/auth/cloud-platform" | 847 "https://www.googleapis.com/auth/cloud-platform", |
| 848 "https://www.googleapis.com/auth/cloud-platform.read-onl
y" |
836 ] | 849 ] |
837 }, | 850 }, |
838 "patch": { | 851 "patch": { |
839 "description": "Updates information in an existing table. Th
e update method replaces the entire table resource, whereas the patch method onl
y replaces fields that are provided in the submitted table resource. This method
supports patch semantics.", | 852 "description": "Updates information in an existing table. Th
e update method replaces the entire table resource, whereas the patch method onl
y replaces fields that are provided in the submitted table resource. This method
supports patch semantics.", |
840 "httpMethod": "PATCH", | 853 "httpMethod": "PATCH", |
841 "id": "bigquery.tables.patch", | 854 "id": "bigquery.tables.patch", |
842 "parameterOrder": [ | 855 "parameterOrder": [ |
843 "projectId", | 856 "projectId", |
844 "datasetId", | 857 "datasetId", |
845 "tableId" | 858 "tableId" |
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
913 "$ref": "Table" | 926 "$ref": "Table" |
914 }, | 927 }, |
915 "scopes": [ | 928 "scopes": [ |
916 "https://www.googleapis.com/auth/bigquery", | 929 "https://www.googleapis.com/auth/bigquery", |
917 "https://www.googleapis.com/auth/cloud-platform" | 930 "https://www.googleapis.com/auth/cloud-platform" |
918 ] | 931 ] |
919 } | 932 } |
920 } | 933 } |
921 } | 934 } |
922 }, | 935 }, |
923 "revision": "20150626", | 936 "revision": "20150723", |
924 "rootUrl": "https://www.googleapis.com/", | 937 "rootUrl": "https://www.googleapis.com/", |
925 "schemas": { | 938 "schemas": { |
926 "CsvOptions": { | 939 "CsvOptions": { |
927 "id": "CsvOptions", | 940 "id": "CsvOptions", |
928 "properties": { | 941 "properties": { |
929 "allowJaggedRows": { | 942 "allowJaggedRows": { |
930 "description": "[Optional] Indicates if BigQuery should acce
pt rows that are missing trailing optional columns. If true, BigQuery treats mis
sing trailing columns as null values. If false, records with missing trailing co
lumns are treated as bad records, and if there are too many bad records, an inva
lid error is returned in the job result. The default value is false.", | 943 "description": "[Optional] Indicates if BigQuery should acce
pt rows that are missing trailing optional columns. If true, BigQuery treats mis
sing trailing columns as null values. If false, records with missing trailing co
lumns are treated as bad records, and if there are too many bad records, an inva
lid error is returned in the job result. The default value is false.", |
931 "type": "boolean" | 944 "type": "boolean" |
932 }, | 945 }, |
933 "allowQuotedNewlines": { | 946 "allowQuotedNewlines": { |
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1026 "default": "bigquery#dataset", | 1039 "default": "bigquery#dataset", |
1027 "description": "[Output-only] The resource type.", | 1040 "description": "[Output-only] The resource type.", |
1028 "type": "string" | 1041 "type": "string" |
1029 }, | 1042 }, |
1030 "lastModifiedTime": { | 1043 "lastModifiedTime": { |
1031 "description": "[Output-only] The date when this dataset or
any of its tables was last modified, in milliseconds since the epoch.", | 1044 "description": "[Output-only] The date when this dataset or
any of its tables was last modified, in milliseconds since the epoch.", |
1032 "format": "int64", | 1045 "format": "int64", |
1033 "type": "string" | 1046 "type": "string" |
1034 }, | 1047 }, |
1035 "location": { | 1048 "location": { |
1036 "description": "[Experimental] The location where the data r
esides. If not present, the data will be stored in the US.", | 1049 "description": "[Experimental] The geographic location where
the dataset should reside. Possible values include EU and US. The default value
is US.", |
1037 "type": "string" | 1050 "type": "string" |
1038 }, | 1051 }, |
1039 "selfLink": { | 1052 "selfLink": { |
1040 "description": "[Output-only] A URL that can be used to acce
ss the resource again. You can use this URL in Get or Update requests to the res
ource.", | 1053 "description": "[Output-only] A URL that can be used to acce
ss the resource again. You can use this URL in Get or Update requests to the res
ource.", |
1041 "type": "string" | 1054 "type": "string" |
1042 } | 1055 } |
1043 }, | 1056 }, |
1044 "type": "object" | 1057 "type": "object" |
1045 }, | 1058 }, |
1046 "DatasetList": { | 1059 "DatasetList": { |
(...skipping 453 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1500 "$ref": "ExternalDataConfiguration" | 1513 "$ref": "ExternalDataConfiguration" |
1501 }, | 1514 }, |
1502 "description": "[Experimental] If querying an external data
source outside of BigQuery, describes the data format, location and other proper
ties of the data source. By defining these properties, the data source can then
be queried as if it were a standard BigQuery table.", | 1515 "description": "[Experimental] If querying an external data
source outside of BigQuery, describes the data format, location and other proper
ties of the data source. By defining these properties, the data source can then
be queried as if it were a standard BigQuery table.", |
1503 "type": "object" | 1516 "type": "object" |
1504 }, | 1517 }, |
1505 "useQueryCache": { | 1518 "useQueryCache": { |
1506 "default": "true", | 1519 "default": "true", |
1507 "description": "[Optional] Whether to look for the result in
the query cache. The query cache is a best-effort cache that will be flushed wh
enever tables in the query are modified. Moreover, the query cache is only avail
able when a query does not have a destination table specified. The default value
is true.", | 1520 "description": "[Optional] Whether to look for the result in
the query cache. The query cache is a best-effort cache that will be flushed wh
enever tables in the query are modified. Moreover, the query cache is only avail
able when a query does not have a destination table specified. The default value
is true.", |
1508 "type": "boolean" | 1521 "type": "boolean" |
1509 }, | 1522 }, |
| 1523 "userDefinedFunctionResources": { |
| 1524 "description": "[Experimental] Describes user-defined functi
on resources used in the query.", |
| 1525 "items": { |
| 1526 "$ref": "UserDefinedFunctionResource" |
| 1527 }, |
| 1528 "type": "array" |
| 1529 }, |
1510 "writeDisposition": { | 1530 "writeDisposition": { |
1511 "description": "[Optional] Specifies the action that occurs
if the destination table already exists. The following values are supported: WRI
TE_TRUNCATE: If the table already exists, BigQuery overwrites the table data. WR
ITE_APPEND: If the table already exists, BigQuery appends the data to the table.
WRITE_EMPTY: If the table already exists and contains data, a 'duplicate' error
is returned in the job result. The default value is WRITE_EMPTY. Each action is
atomic and only occurs if BigQuery is able to complete the job successfully. Cr
eation, truncation and append actions occur as one atomic update upon job comple
tion.", | 1531 "description": "[Optional] Specifies the action that occurs
if the destination table already exists. The following values are supported: WRI
TE_TRUNCATE: If the table already exists, BigQuery overwrites the table data. WR
ITE_APPEND: If the table already exists, BigQuery appends the data to the table.
WRITE_EMPTY: If the table already exists and contains data, a 'duplicate' error
is returned in the job result. The default value is WRITE_EMPTY. Each action is
atomic and only occurs if BigQuery is able to complete the job successfully. Cr
eation, truncation and append actions occur as one atomic update upon job comple
tion.", |
1512 "type": "string" | 1532 "type": "string" |
1513 } | 1533 } |
1514 }, | 1534 }, |
1515 "type": "object" | 1535 "type": "object" |
1516 }, | 1536 }, |
1517 "JobConfigurationTableCopy": { | 1537 "JobConfigurationTableCopy": { |
1518 "id": "JobConfigurationTableCopy", | 1538 "id": "JobConfigurationTableCopy", |
1519 "properties": { | 1539 "properties": { |
(...skipping 304 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1824 "type": "object" | 1844 "type": "object" |
1825 }, | 1845 }, |
1826 "QueryRequest": { | 1846 "QueryRequest": { |
1827 "id": "QueryRequest", | 1847 "id": "QueryRequest", |
1828 "properties": { | 1848 "properties": { |
1829 "defaultDataset": { | 1849 "defaultDataset": { |
1830 "$ref": "DatasetReference", | 1850 "$ref": "DatasetReference", |
1831 "description": "[Optional] Specifies the default datasetId a
nd projectId to assume for any unqualified table names in the query. If not set,
all table names in the query string must be qualified in the format 'datasetId.
tableId'." | 1851 "description": "[Optional] Specifies the default datasetId a
nd projectId to assume for any unqualified table names in the query. If not set,
all table names in the query string must be qualified in the format 'datasetId.
tableId'." |
1832 }, | 1852 }, |
1833 "dryRun": { | 1853 "dryRun": { |
1834 "description": "[Optional] If set, don't actually run this j
ob. A valid query will return a mostly empty response with some processing stati
stics, while an invalid query will return the same error it would if it wasn't a
dry run.", | 1854 "description": "[Optional] If set to true, BigQuery doesn't
run the job. Instead, if the query is valid, BigQuery returns statistics about t
he job such as how many bytes would be processed. If the query is invalid, an er
ror returns. The default value is false.", |
1835 "type": "boolean" | 1855 "type": "boolean" |
1836 }, | 1856 }, |
1837 "kind": { | 1857 "kind": { |
1838 "default": "bigquery#queryRequest", | 1858 "default": "bigquery#queryRequest", |
1839 "description": "The resource type of the request.", | 1859 "description": "The resource type of the request.", |
1840 "type": "string" | 1860 "type": "string" |
1841 }, | 1861 }, |
1842 "maxResults": { | 1862 "maxResults": { |
1843 "description": "[Optional] The maximum number of rows of dat
a to return per page of results. Setting this flag to a small value such as 1000
and then paging through results might improve reliability when the query result
set is large. In addition to this limit, responses are also limited to 10 MB. B
y default, there is no maximum row count, and only the byte limit applies.", | 1863 "description": "[Optional] The maximum number of rows of dat
a to return per page of results. Setting this flag to a small value such as 1000
and then paging through results might improve reliability when the query result
set is large. In addition to this limit, responses are also limited to 10 MB. B
y default, there is no maximum row count, and only the byte limit applies.", |
1844 "format": "uint32", | 1864 "format": "uint32", |
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1932 }, | 1952 }, |
1933 "etag": { | 1953 "etag": { |
1934 "description": "[Output-only] A hash of this resource.", | 1954 "description": "[Output-only] A hash of this resource.", |
1935 "type": "string" | 1955 "type": "string" |
1936 }, | 1956 }, |
1937 "expirationTime": { | 1957 "expirationTime": { |
1938 "description": "[Optional] The time when this table expires,
in milliseconds since the epoch. If not present, the table will persist indefin
itely. Expired tables will be deleted and their storage reclaimed.", | 1958 "description": "[Optional] The time when this table expires,
in milliseconds since the epoch. If not present, the table will persist indefin
itely. Expired tables will be deleted and their storage reclaimed.", |
1939 "format": "int64", | 1959 "format": "int64", |
1940 "type": "string" | 1960 "type": "string" |
1941 }, | 1961 }, |
| 1962 "externalDataConfiguration": { |
| 1963 "$ref": "ExternalDataConfiguration", |
| 1964 "description": "[Experimental] Describes the data format, lo
cation, and other properties of a table stored outside of BigQuery. By defining
these properties, the data source can then be queried as if it were a standard B
igQuery table." |
| 1965 }, |
1942 "friendlyName": { | 1966 "friendlyName": { |
1943 "description": "[Optional] A descriptive name for this table
.", | 1967 "description": "[Optional] A descriptive name for this table
.", |
1944 "type": "string" | 1968 "type": "string" |
1945 }, | 1969 }, |
1946 "id": { | 1970 "id": { |
1947 "description": "[Output-only] An opaque ID uniquely identify
ing the table.", | 1971 "description": "[Output-only] An opaque ID uniquely identify
ing the table.", |
1948 "type": "string" | 1972 "type": "string" |
1949 }, | 1973 }, |
1950 "kind": { | 1974 "kind": { |
1951 "default": "bigquery#table", | 1975 "default": "bigquery#table", |
1952 "description": "[Output-only] The type of the resource.", | 1976 "description": "[Output-only] The type of the resource.", |
1953 "type": "string" | 1977 "type": "string" |
1954 }, | 1978 }, |
1955 "lastModifiedTime": { | 1979 "lastModifiedTime": { |
1956 "description": "[Output-only] The time when this table was l
ast modified, in milliseconds since the epoch.", | 1980 "description": "[Output-only] The time when this table was l
ast modified, in milliseconds since the epoch.", |
1957 "format": "uint64", | 1981 "format": "uint64", |
1958 "type": "string" | 1982 "type": "string" |
1959 }, | 1983 }, |
1960 "location": { | 1984 "location": { |
1961 "description": "[Optional] The backing storage location.", | 1985 "description": "[Output-only] The geographic location where
the table resides. This value is inherited from the dataset.", |
1962 "type": "string" | 1986 "type": "string" |
1963 }, | 1987 }, |
1964 "numBytes": { | 1988 "numBytes": { |
1965 "description": "[Output-only] The size of the table in bytes
. This property is unavailable for tables that are actively receiving streaming
inserts.", | 1989 "description": "[Output-only] The size of the table in bytes
. This property is unavailable for tables that are actively receiving streaming
inserts.", |
1966 "format": "int64", | 1990 "format": "int64", |
1967 "type": "string" | 1991 "type": "string" |
1968 }, | 1992 }, |
1969 "numRows": { | 1993 "numRows": { |
1970 "description": "[Output-only] The number of rows of data in
this table. This property is unavailable for tables that are actively receiving
streaming inserts.", | 1994 "description": "[Output-only] The number of rows of data in
this table. This property is unavailable for tables that are actively receiving
streaming inserts.", |
1971 "format": "uint64", | 1995 "format": "uint64", |
(...skipping 265 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2237 "fields": { | 2261 "fields": { |
2238 "description": "Describes the fields in a table.", | 2262 "description": "Describes the fields in a table.", |
2239 "items": { | 2263 "items": { |
2240 "$ref": "TableFieldSchema" | 2264 "$ref": "TableFieldSchema" |
2241 }, | 2265 }, |
2242 "type": "array" | 2266 "type": "array" |
2243 } | 2267 } |
2244 }, | 2268 }, |
2245 "type": "object" | 2269 "type": "object" |
2246 }, | 2270 }, |
| 2271 "UserDefinedFunctionResource": { |
| 2272 "id": "UserDefinedFunctionResource", |
| 2273 "properties": { |
| 2274 "inlineCode": { |
| 2275 "description": "[Pick one] An inline resource that contains
code for a user-defined function (UDF). Providing a inline code resource is equi
valent to providing a URI for a file containing the same code.", |
| 2276 "type": "string" |
| 2277 }, |
| 2278 "resourceUri": { |
| 2279 "description": "[Pick one] A code resource to load from a Go
ogle Cloud Storage URI (gs://bucket/path).", |
| 2280 "type": "string" |
| 2281 } |
| 2282 }, |
| 2283 "type": "object" |
| 2284 }, |
2247 "ViewDefinition": { | 2285 "ViewDefinition": { |
2248 "id": "ViewDefinition", | 2286 "id": "ViewDefinition", |
2249 "properties": { | 2287 "properties": { |
2250 "query": { | 2288 "query": { |
2251 "description": "[Required] A query that BigQuery executes wh
en the view is referenced.", | 2289 "description": "[Required] A query that BigQuery executes wh
en the view is referenced.", |
2252 "type": "string" | 2290 "type": "string" |
2253 } | 2291 } |
2254 }, | 2292 }, |
2255 "type": "object" | 2293 "type": "object" |
2256 } | 2294 } |
2257 }, | 2295 }, |
2258 "servicePath": "bigquery/v2/", | 2296 "servicePath": "bigquery/v2/", |
2259 "title": "BigQuery API", | 2297 "title": "BigQuery API", |
2260 "version": "v2" | 2298 "version": "v2" |
2261 } | 2299 } |
OLD | NEW |