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 }, |
(...skipping 11 matching lines...) Expand all Loading... |
22 } | 22 } |
23 } | 23 } |
24 } | 24 } |
25 }, | 25 }, |
26 "basePath": "/bigquery/v2/", | 26 "basePath": "/bigquery/v2/", |
27 "baseUrl": "https://www.googleapis.com/bigquery/v2/", | 27 "baseUrl": "https://www.googleapis.com/bigquery/v2/", |
28 "batchPath": "batch", | 28 "batchPath": "batch", |
29 "description": "A data platform for customers to create, manage, share and q
uery data.", | 29 "description": "A data platform for customers to create, manage, share and q
uery data.", |
30 "discoveryVersion": "v1", | 30 "discoveryVersion": "v1", |
31 "documentationLink": "https://developers.google.com/bigquery/docs/overview", | 31 "documentationLink": "https://developers.google.com/bigquery/docs/overview", |
32 "etag": "\"l66ggWbucbkBw9Lpos72oziyefE/m8edoc2ZO3cKKMgqC6cKOK0fVjI\"", | 32 "etag": "\"l66ggWbucbkBw9Lpos72oziyefE/NNNGrlMYqSi04hOh0Khd5qX9Gcs\"", |
33 "icons": { | 33 "icons": { |
34 "x16": "https://www.google.com/images/icons/product/search-16.gif", | 34 "x16": "https://www.google.com/images/icons/product/search-16.gif", |
35 "x32": "https://www.google.com/images/icons/product/search-32.gif" | 35 "x32": "https://www.google.com/images/icons/product/search-32.gif" |
36 }, | 36 }, |
37 "id": "bigquery:v2", | 37 "id": "bigquery:v2", |
38 "kind": "discovery#restDescription", | 38 "kind": "discovery#restDescription", |
39 "name": "bigquery", | 39 "name": "bigquery", |
40 "ownerDomain": "google.com", | 40 "ownerDomain": "google.com", |
41 "ownerName": "Google", | 41 "ownerName": "Google", |
42 "parameters": { | 42 "parameters": { |
(...skipping 839 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
882 "$ref": "Table" | 882 "$ref": "Table" |
883 }, | 883 }, |
884 "scopes": [ | 884 "scopes": [ |
885 "https://www.googleapis.com/auth/bigquery", | 885 "https://www.googleapis.com/auth/bigquery", |
886 "https://www.googleapis.com/auth/cloud-platform" | 886 "https://www.googleapis.com/auth/cloud-platform" |
887 ] | 887 ] |
888 } | 888 } |
889 } | 889 } |
890 } | 890 } |
891 }, | 891 }, |
892 "revision": "20141016", | 892 "revision": "20141030", |
893 "rootUrl": "https://www.googleapis.com/", | 893 "rootUrl": "https://www.googleapis.com/", |
894 "schemas": { | 894 "schemas": { |
895 "Dataset": { | 895 "Dataset": { |
896 "id": "Dataset", | 896 "id": "Dataset", |
897 "properties": { | 897 "properties": { |
898 "access": { | 898 "access": { |
899 "description": "[Optional] An array of objects that define d
ataset access for one or more entities. You can set this property when inserting
or updating a dataset in order to control who is allowed to access the data. If
unspecified at dataset creation time, BigQuery adds default dataset access for
the following entities: access.specialGroup: projectReaders; access.role: READER
; access.specialGroup: projectWriters; access.role: WRITER; access.specialGroup:
projectOwners; access.role: OWNER; access.userByEmail: [dataset creator email];
access.role: OWNER;", | 899 "description": "[Optional] An array of objects that define d
ataset access for one or more entities. You can set this property when inserting
or updating a dataset in order to control who is allowed to access the data. If
unspecified at dataset creation time, BigQuery adds default dataset access for
the following entities: access.specialGroup: projectReaders; access.role: READER
; access.specialGroup: projectWriters; access.role: WRITER; access.specialGroup:
projectOwners; access.role: OWNER; access.userByEmail: [dataset creator email];
access.role: OWNER;", |
900 "items": { | 900 "items": { |
901 "properties": { | 901 "properties": { |
902 "domain": { | 902 "domain": { |
(...skipping 391 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1294 "skipLeadingRows": { | 1294 "skipLeadingRows": { |
1295 "description": "[Optional] The number of rows at the top of
a CSV file that BigQuery will skip when loading the data. The default value is 0
. This property is useful if you have header rows in the file that should be ski
pped.", | 1295 "description": "[Optional] The number of rows at the top of
a CSV file that BigQuery will skip when loading the data. The default value is 0
. This property is useful if you have header rows in the file that should be ski
pped.", |
1296 "format": "int32", | 1296 "format": "int32", |
1297 "type": "integer" | 1297 "type": "integer" |
1298 }, | 1298 }, |
1299 "sourceFormat": { | 1299 "sourceFormat": { |
1300 "description": "[Optional] The format of the data files. For
CSV files, specify \"CSV\". For datastore backups, specify \"DATASTORE_BACKUP\"
. For newline-delimited JSON, specify \"NEWLINE_DELIMITED_JSON\". The default va
lue is CSV.", | 1300 "description": "[Optional] The format of the data files. For
CSV files, specify \"CSV\". For datastore backups, specify \"DATASTORE_BACKUP\"
. For newline-delimited JSON, specify \"NEWLINE_DELIMITED_JSON\". The default va
lue is CSV.", |
1301 "type": "string" | 1301 "type": "string" |
1302 }, | 1302 }, |
1303 "sourceUris": { | 1303 "sourceUris": { |
1304 "description": "[Required] The fully-qualified URIs that poi
nt to your data on Google Cloud Storage.", | 1304 "description": "[Required] The fully-qualified URIs that poi
nt to your data in Google Cloud Storage. Wildcard names are only supported when
they appear at the end of the URI.", |
1305 "items": { | 1305 "items": { |
1306 "type": "string" | 1306 "type": "string" |
1307 }, | 1307 }, |
1308 "type": "array" | 1308 "type": "array" |
1309 }, | 1309 }, |
1310 "writeDisposition": { | 1310 "writeDisposition": { |
1311 "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.", | 1311 "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.", |
1312 "type": "string" | 1312 "type": "string" |
1313 } | 1313 } |
1314 }, | 1314 }, |
(...skipping 146 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1461 }, | 1461 }, |
1462 "JobReference": { | 1462 "JobReference": { |
1463 "id": "JobReference", | 1463 "id": "JobReference", |
1464 "properties": { | 1464 "properties": { |
1465 "jobId": { | 1465 "jobId": { |
1466 "annotations": { | 1466 "annotations": { |
1467 "required": [ | 1467 "required": [ |
1468 "bigquery.jobs.getQueryResults" | 1468 "bigquery.jobs.getQueryResults" |
1469 ] | 1469 ] |
1470 }, | 1470 }, |
1471 "description": "[Required] ID of the job.", | 1471 "description": "[Required] The ID of the job. The ID must co
ntain only letters (a-z, A-Z), numbers (0-9), underscores (_), or dashes (-). Th
e maximum length is 1,024 characters.", |
1472 "type": "string" | 1472 "type": "string" |
1473 }, | 1473 }, |
1474 "projectId": { | 1474 "projectId": { |
1475 "annotations": { | 1475 "annotations": { |
1476 "required": [ | 1476 "required": [ |
1477 "bigquery.jobs.getQueryResults" | 1477 "bigquery.jobs.getQueryResults" |
1478 ] | 1478 ] |
1479 }, | 1479 }, |
1480 "description": "[Required] Project ID being billed for the j
ob.", | 1480 "description": "[Required] Project ID being billed for the j
ob.", |
1481 "type": "string" | 1481 "type": "string" |
(...skipping 301 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1783 "default": "bigquery#table", | 1783 "default": "bigquery#table", |
1784 "description": "[Output-only] The type of the resource.", | 1784 "description": "[Output-only] The type of the resource.", |
1785 "type": "string" | 1785 "type": "string" |
1786 }, | 1786 }, |
1787 "lastModifiedTime": { | 1787 "lastModifiedTime": { |
1788 "description": "[Output-only] The time when this table was l
ast modified, in milliseconds since the epoch.", | 1788 "description": "[Output-only] The time when this table was l
ast modified, in milliseconds since the epoch.", |
1789 "format": "int64", | 1789 "format": "int64", |
1790 "type": "string" | 1790 "type": "string" |
1791 }, | 1791 }, |
1792 "numBytes": { | 1792 "numBytes": { |
1793 "description": "[Output-only] The size of the table in bytes
.", | 1793 "description": "[Output-only] The size of the table in bytes
. This property is unavailable for tables that are actively receiving streaming
inserts.", |
1794 "format": "int64", | 1794 "format": "int64", |
1795 "type": "string" | 1795 "type": "string" |
1796 }, | 1796 }, |
1797 "numRows": { | 1797 "numRows": { |
1798 "description": "[Output-only] The number of rows of data in
this table.", | 1798 "description": "[Output-only] The number of rows of data in
this table. This property is unavailable for tables that are actively receiving
streaming inserts.", |
1799 "format": "uint64", | 1799 "format": "uint64", |
1800 "type": "string" | 1800 "type": "string" |
1801 }, | 1801 }, |
1802 "schema": { | 1802 "schema": { |
1803 "$ref": "TableSchema", | 1803 "$ref": "TableSchema", |
1804 "description": "[Optional] Describes the schema of this tabl
e." | 1804 "description": "[Optional] Describes the schema of this tabl
e." |
1805 }, | 1805 }, |
1806 "selfLink": { | 1806 "selfLink": { |
1807 "description": "[Output-only] A URL that can be used to acce
ss this resource again.", | 1807 "description": "[Output-only] A URL that can be used to acce
ss this resource again.", |
1808 "type": "string" | 1808 "type": "string" |
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1920 "format": "int64", | 1920 "format": "int64", |
1921 "type": "string" | 1921 "type": "string" |
1922 } | 1922 } |
1923 }, | 1923 }, |
1924 "type": "object" | 1924 "type": "object" |
1925 }, | 1925 }, |
1926 "TableFieldSchema": { | 1926 "TableFieldSchema": { |
1927 "id": "TableFieldSchema", | 1927 "id": "TableFieldSchema", |
1928 "properties": { | 1928 "properties": { |
1929 "description": { | 1929 "description": { |
1930 "description": "[Optional] The field description.", | 1930 "description": "[Optional] The field description. The maximu
m length is 16K characters.", |
1931 "type": "string" | 1931 "type": "string" |
1932 }, | 1932 }, |
1933 "fields": { | 1933 "fields": { |
1934 "description": "[Optional] Describes the nested schema field
s if the type property is set to RECORD.", | 1934 "description": "[Optional] Describes the nested schema field
s if the type property is set to RECORD.", |
1935 "items": { | 1935 "items": { |
1936 "$ref": "TableFieldSchema" | 1936 "$ref": "TableFieldSchema" |
1937 }, | 1937 }, |
1938 "type": "array" | 1938 "type": "array" |
1939 }, | 1939 }, |
1940 "mode": { | 1940 "mode": { |
1941 "description": "[Optional] The field mode. Possible values i
nclude NULLABLE, REQUIRED and REPEATED. The default value is NULLABLE.", | 1941 "description": "[Optional] The field mode. Possible values i
nclude NULLABLE, REQUIRED and REPEATED. The default value is NULLABLE.", |
1942 "type": "string" | 1942 "type": "string" |
1943 }, | 1943 }, |
1944 "name": { | 1944 "name": { |
1945 "description": "[Required] The field name.", | 1945 "description": "[Required] The field name. The name must con
tain only letters (a-z, A-Z), numbers (0-9), or underscores (_), and must start
with a letter or underscore. The maximum length is 128 characters.", |
1946 "type": "string" | 1946 "type": "string" |
1947 }, | 1947 }, |
1948 "type": { | 1948 "type": { |
1949 "description": "[Required] The field data type. Possible val
ues include STRING, INTEGER, FLOAT, BOOLEAN, TIMESTAMP or RECORD (where RECORD i
ndicates that the field contains a nested schema).", | 1949 "description": "[Required] The field data type. Possible val
ues include STRING, INTEGER, FLOAT, BOOLEAN, TIMESTAMP or RECORD (where RECORD i
ndicates that the field contains a nested schema).", |
1950 "type": "string" | 1950 "type": "string" |
1951 } | 1951 } |
1952 }, | 1952 }, |
1953 "type": "object" | 1953 "type": "object" |
1954 }, | 1954 }, |
1955 "TableList": { | 1955 "TableList": { |
(...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2073 "type": "string" | 2073 "type": "string" |
2074 } | 2074 } |
2075 }, | 2075 }, |
2076 "type": "object" | 2076 "type": "object" |
2077 } | 2077 } |
2078 }, | 2078 }, |
2079 "servicePath": "bigquery/v2/", | 2079 "servicePath": "bigquery/v2/", |
2080 "title": "BigQuery API", | 2080 "title": "BigQuery API", |
2081 "version": "v2" | 2081 "version": "v2" |
2082 } | 2082 } |
OLD | NEW |