| 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 14 matching lines...) Expand all Loading... |
| 25 } | 25 } |
| 26 } | 26 } |
| 27 } | 27 } |
| 28 }, | 28 }, |
| 29 "basePath": "/bigquery/v2/", | 29 "basePath": "/bigquery/v2/", |
| 30 "baseUrl": "https://www.googleapis.com/bigquery/v2/", | 30 "baseUrl": "https://www.googleapis.com/bigquery/v2/", |
| 31 "batchPath": "batch", | 31 "batchPath": "batch", |
| 32 "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.", |
| 33 "discoveryVersion": "v1", | 33 "discoveryVersion": "v1", |
| 34 "documentationLink": "https://cloud.google.com/bigquery/", | 34 "documentationLink": "https://cloud.google.com/bigquery/", |
| 35 "etag": "\"tbys6C40o18GZwyMen5GMkdK-3s/38ec4LBichi45rs7Z88p5kE7xpM\"", | 35 "etag": "\"tbys6C40o18GZwyMen5GMkdK-3s/8QZR0WZ1-NVsTgfIYMT8jh3XhtQ\"", |
| 36 "icons": { | 36 "icons": { |
| 37 "x16": "https://www.google.com/images/icons/product/search-16.gif", | 37 "x16": "https://www.google.com/images/icons/product/search-16.gif", |
| 38 "x32": "https://www.google.com/images/icons/product/search-32.gif" | 38 "x32": "https://www.google.com/images/icons/product/search-32.gif" |
| 39 }, | 39 }, |
| 40 "id": "bigquery:v2", | 40 "id": "bigquery:v2", |
| 41 "kind": "discovery#restDescription", | 41 "kind": "discovery#restDescription", |
| 42 "name": "bigquery", | 42 "name": "bigquery", |
| 43 "ownerDomain": "google.com", | 43 "ownerDomain": "google.com", |
| 44 "ownerName": "Google", | 44 "ownerName": "Google", |
| 45 "parameters": { | 45 "parameters": { |
| (...skipping 883 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 929 "$ref": "Table" | 929 "$ref": "Table" |
| 930 }, | 930 }, |
| 931 "scopes": [ | 931 "scopes": [ |
| 932 "https://www.googleapis.com/auth/bigquery", | 932 "https://www.googleapis.com/auth/bigquery", |
| 933 "https://www.googleapis.com/auth/cloud-platform" | 933 "https://www.googleapis.com/auth/cloud-platform" |
| 934 ] | 934 ] |
| 935 } | 935 } |
| 936 } | 936 } |
| 937 } | 937 } |
| 938 }, | 938 }, |
| 939 "revision": "20161029", | 939 "revision": "20170114", |
| 940 "rootUrl": "https://www.googleapis.com/", | 940 "rootUrl": "https://www.googleapis.com/", |
| 941 "schemas": { | 941 "schemas": { |
| 942 "BigtableColumn": { | 942 "BigtableColumn": { |
| 943 "id": "BigtableColumn", | 943 "id": "BigtableColumn", |
| 944 "properties": { | 944 "properties": { |
| 945 "encoding": { | 945 "encoding": { |
| 946 "description": "[Optional] The encoding of the values when t
he type is not STRING. Acceptable encoding values are: TEXT - indicates values a
re alphanumeric text strings. BINARY - indicates values are encoded using HBase
Bytes.toBytes family of functions. 'encoding' can also be set at the column fami
ly level. However, the setting at this level takes precedence if 'encoding' is s
et at both levels.", | 946 "description": "[Optional] The encoding of the values when t
he type is not STRING. Acceptable encoding values are: TEXT - indicates values a
re alphanumeric text strings. BINARY - indicates values are encoded using HBase
Bytes.toBytes family of functions. 'encoding' can also be set at the column fami
ly level. However, the setting at this level takes precedence if 'encoding' is s
et at both levels.", |
| 947 "type": "string" | 947 "type": "string" |
| 948 }, | 948 }, |
| 949 "fieldName": { | 949 "fieldName": { |
| (...skipping 329 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1279 "recordsRead": { | 1279 "recordsRead": { |
| 1280 "description": "Number of records read into the stage.", | 1280 "description": "Number of records read into the stage.", |
| 1281 "format": "int64", | 1281 "format": "int64", |
| 1282 "type": "string" | 1282 "type": "string" |
| 1283 }, | 1283 }, |
| 1284 "recordsWritten": { | 1284 "recordsWritten": { |
| 1285 "description": "Number of records written by the stage.", | 1285 "description": "Number of records written by the stage.", |
| 1286 "format": "int64", | 1286 "format": "int64", |
| 1287 "type": "string" | 1287 "type": "string" |
| 1288 }, | 1288 }, |
| 1289 "status": { |
| 1290 "description": "Current status for the stage.", |
| 1291 "type": "string" |
| 1292 }, |
| 1289 "steps": { | 1293 "steps": { |
| 1290 "description": "List of operations within the stage in depen
dency order (approximately chronological).", | 1294 "description": "List of operations within the stage in depen
dency order (approximately chronological).", |
| 1291 "items": { | 1295 "items": { |
| 1292 "$ref": "ExplainQueryStep" | 1296 "$ref": "ExplainQueryStep" |
| 1293 }, | 1297 }, |
| 1294 "type": "array" | 1298 "type": "array" |
| 1295 }, | 1299 }, |
| 1296 "waitRatioAvg": { | 1300 "waitRatioAvg": { |
| 1297 "description": "Relative amount of time the average shard sp
ent waiting to be scheduled.", | 1301 "description": "Relative amount of time the average shard sp
ent waiting to be scheduled.", |
| 1298 "format": "double", | 1302 "format": "double", |
| (...skipping 321 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1620 }, | 1624 }, |
| 1621 "ignoreUnknownValues": { | 1625 "ignoreUnknownValues": { |
| 1622 "description": "[Optional] Indicates if BigQuery should allo
w extra values that are not represented in the table schema. If true, the extra
values are ignored. If false, records with extra columns are treated as bad reco
rds, and if there are too many bad records, an invalid error is returned in the
job result. The default value is false. The sourceFormat property determines wha
t BigQuery treats as an extra value: CSV: Trailing columns JSON: Named values th
at don't match any column names", | 1626 "description": "[Optional] Indicates if BigQuery should allo
w extra values that are not represented in the table schema. If true, the extra
values are ignored. If false, records with extra columns are treated as bad reco
rds, and if there are too many bad records, an invalid error is returned in the
job result. The default value is false. The sourceFormat property determines wha
t BigQuery treats as an extra value: CSV: Trailing columns JSON: Named values th
at don't match any column names", |
| 1623 "type": "boolean" | 1627 "type": "boolean" |
| 1624 }, | 1628 }, |
| 1625 "maxBadRecords": { | 1629 "maxBadRecords": { |
| 1626 "description": "[Optional] The maximum number of bad records
that BigQuery can ignore when running the job. If the number of bad records exc
eeds this value, an invalid error is returned in the job result. The default val
ue is 0, which requires that all records are valid.", | 1630 "description": "[Optional] The maximum number of bad records
that BigQuery can ignore when running the job. If the number of bad records exc
eeds this value, an invalid error is returned in the job result. The default val
ue is 0, which requires that all records are valid.", |
| 1627 "format": "int32", | 1631 "format": "int32", |
| 1628 "type": "integer" | 1632 "type": "integer" |
| 1629 }, | 1633 }, |
| 1634 "nullMarker": { |
| 1635 "description": "[Optional] Specifies a string that represent
s a null value in a CSV file. For example, if you specify \"\\N\", BigQuery inte
rprets \"\\N\" as a null value when loading a CSV file. The default value is the
empty string. If you set this property to a custom value, BigQuery still interp
rets the empty string as a null value for all data types except for STRING and B
YTE. For STRING and BYTE columns, BigQuery interprets the empty string as an emp
ty value.", |
| 1636 "type": "string" |
| 1637 }, |
| 1630 "projectionFields": { | 1638 "projectionFields": { |
| 1631 "description": "[Experimental] If sourceFormat is set to \"D
ATASTORE_BACKUP\", indicates which entity properties to load into BigQuery from
a Cloud Datastore backup. Property names are case sensitive and must be top-leve
l properties. If no properties are specified, BigQuery loads all properties. If
any named property isn't found in the Cloud Datastore backup, an invalid error i
s returned in the job result.", | 1639 "description": "[Experimental] If sourceFormat is set to \"D
ATASTORE_BACKUP\", indicates which entity properties to load into BigQuery from
a Cloud Datastore backup. Property names are case sensitive and must be top-leve
l properties. If no properties are specified, BigQuery loads all properties. If
any named property isn't found in the Cloud Datastore backup, an invalid error i
s returned in the job result.", |
| 1632 "items": { | 1640 "items": { |
| 1633 "type": "string" | 1641 "type": "string" |
| 1634 }, | 1642 }, |
| 1635 "type": "array" | 1643 "type": "array" |
| 1636 }, | 1644 }, |
| 1637 "quote": { | 1645 "quote": { |
| 1638 "default": "\"", | 1646 "default": "\"", |
| 1639 "description": "[Optional] The value that is used to quote d
ata sections in a CSV file. BigQuery converts the string to ISO-8859-1 encoding,
and then uses the first byte of the encoded string to split the data in its raw
, binary state. The default value is a double-quote ('\"'). If your data does no
t contain quoted sections, set the property value to an empty string. If your da
ta contains quoted newline characters, you must also set the allowQuotedNewlines
property to true.", | 1647 "description": "[Optional] The value that is used to quote d
ata sections in a CSV file. BigQuery converts the string to ISO-8859-1 encoding,
and then uses the first byte of the encoded string to split the data in its raw
, binary state. The default value is a double-quote ('\"'). If your data does no
t contain quoted sections, set the property value to an empty string. If your da
ta contains quoted newline characters, you must also set the allowQuotedNewlines
property to true.", |
| (...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1711 "description": "[Optional] Limits the billing tier for this
job. Queries that have resource usage beyond this tier will fail (without incurr
ing a charge). If unspecified, this will be set to your project default.", | 1719 "description": "[Optional] Limits the billing tier for this
job. Queries that have resource usage beyond this tier will fail (without incurr
ing a charge). If unspecified, this will be set to your project default.", |
| 1712 "format": "int32", | 1720 "format": "int32", |
| 1713 "type": "integer" | 1721 "type": "integer" |
| 1714 }, | 1722 }, |
| 1715 "maximumBytesBilled": { | 1723 "maximumBytesBilled": { |
| 1716 "description": "[Optional] Limits the bytes billed for this
job. Queries that will have bytes billed beyond this limit will fail (without in
curring a charge). If unspecified, this will be set to your project default.", | 1724 "description": "[Optional] Limits the bytes billed for this
job. Queries that will have bytes billed beyond this limit will fail (without in
curring a charge). If unspecified, this will be set to your project default.", |
| 1717 "format": "int64", | 1725 "format": "int64", |
| 1718 "type": "string" | 1726 "type": "string" |
| 1719 }, | 1727 }, |
| 1720 "parameterMode": { | 1728 "parameterMode": { |
| 1721 "description": "[Experimental] Standard SQL only. Whether to
use positional (?) or named (@myparam) query parameters in this query.", | 1729 "description": "[Experimental] Standard SQL only. Set to POS
ITIONAL to use positional (?) query parameters or to NAMED to use named (@mypara
m) query parameters in this query.", |
| 1722 "type": "string" | 1730 "type": "string" |
| 1723 }, | 1731 }, |
| 1724 "preserveNulls": { | 1732 "preserveNulls": { |
| 1725 "description": "[Deprecated] This property is deprecated.", | 1733 "description": "[Deprecated] This property is deprecated.", |
| 1726 "type": "boolean" | 1734 "type": "boolean" |
| 1727 }, | 1735 }, |
| 1728 "priority": { | 1736 "priority": { |
| 1729 "description": "[Optional] Specifies a priority for the quer
y. Possible values include INTERACTIVE and BATCH. The default value is INTERACTI
VE.", | 1737 "description": "[Optional] Specifies a priority for the quer
y. Possible values include INTERACTIVE and BATCH. The default value is INTERACTI
VE.", |
| 1730 "type": "string" | 1738 "type": "string" |
| 1731 }, | 1739 }, |
| (...skipping 229 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1961 "description": "[Output-only, Experimental] Referenced table
s for the job. Queries that reference more than 50 tables will not have a comple
te list.", | 1969 "description": "[Output-only, Experimental] Referenced table
s for the job. Queries that reference more than 50 tables will not have a comple
te list.", |
| 1962 "items": { | 1970 "items": { |
| 1963 "$ref": "TableReference" | 1971 "$ref": "TableReference" |
| 1964 }, | 1972 }, |
| 1965 "type": "array" | 1973 "type": "array" |
| 1966 }, | 1974 }, |
| 1967 "schema": { | 1975 "schema": { |
| 1968 "$ref": "TableSchema", | 1976 "$ref": "TableSchema", |
| 1969 "description": "[Output-only, Experimental] The schema of th
e results. Present only for successful dry run of non-legacy SQL queries." | 1977 "description": "[Output-only, Experimental] The schema of th
e results. Present only for successful dry run of non-legacy SQL queries." |
| 1970 }, | 1978 }, |
| 1979 "statementType": { |
| 1980 "description": "[Output-only, Experimental] The type of quer
y statement, if valid.", |
| 1981 "type": "string" |
| 1982 }, |
| 1971 "totalBytesBilled": { | 1983 "totalBytesBilled": { |
| 1972 "description": "[Output-only] Total bytes billed for the job
.", | 1984 "description": "[Output-only] Total bytes billed for the job
.", |
| 1973 "format": "int64", | 1985 "format": "int64", |
| 1974 "type": "string" | 1986 "type": "string" |
| 1975 }, | 1987 }, |
| 1976 "totalBytesProcessed": { | 1988 "totalBytesProcessed": { |
| 1977 "description": "[Output-only] Total bytes processed for the
job.", | 1989 "description": "[Output-only] Total bytes processed for the
job.", |
| 1978 "format": "int64", | 1990 "format": "int64", |
| 1979 "type": "string" | 1991 "type": "string" |
| 1980 }, | 1992 }, |
| (...skipping 237 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2218 "default": "bigquery#queryRequest", | 2230 "default": "bigquery#queryRequest", |
| 2219 "description": "The resource type of the request.", | 2231 "description": "The resource type of the request.", |
| 2220 "type": "string" | 2232 "type": "string" |
| 2221 }, | 2233 }, |
| 2222 "maxResults": { | 2234 "maxResults": { |
| 2223 "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.", | 2235 "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.", |
| 2224 "format": "uint32", | 2236 "format": "uint32", |
| 2225 "type": "integer" | 2237 "type": "integer" |
| 2226 }, | 2238 }, |
| 2227 "parameterMode": { | 2239 "parameterMode": { |
| 2228 "description": "[Experimental] Standard SQL only. Whether to
use positional (?) or named (@myparam) query parameters in this query.", | 2240 "description": "[Experimental] Standard SQL only. Set to POS
ITIONAL to use positional (?) query parameters or to NAMED to use named (@mypara
m) query parameters in this query.", |
| 2229 "type": "string" | 2241 "type": "string" |
| 2230 }, | 2242 }, |
| 2231 "preserveNulls": { | 2243 "preserveNulls": { |
| 2232 "description": "[Deprecated] This property is deprecated.", | 2244 "description": "[Deprecated] This property is deprecated.", |
| 2233 "type": "boolean" | 2245 "type": "boolean" |
| 2234 }, | 2246 }, |
| 2235 "query": { | 2247 "query": { |
| 2236 "annotations": { | 2248 "annotations": { |
| 2237 "required": [ | 2249 "required": [ |
| 2238 "bigquery.jobs.query" | 2250 "bigquery.jobs.query" |
| (...skipping 139 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2378 }, | 2390 }, |
| 2379 "id": { | 2391 "id": { |
| 2380 "description": "[Output-only] An opaque ID uniquely identify
ing the table.", | 2392 "description": "[Output-only] An opaque ID uniquely identify
ing the table.", |
| 2381 "type": "string" | 2393 "type": "string" |
| 2382 }, | 2394 }, |
| 2383 "kind": { | 2395 "kind": { |
| 2384 "default": "bigquery#table", | 2396 "default": "bigquery#table", |
| 2385 "description": "[Output-only] The type of the resource.", | 2397 "description": "[Output-only] The type of the resource.", |
| 2386 "type": "string" | 2398 "type": "string" |
| 2387 }, | 2399 }, |
| 2400 "labels": { |
| 2401 "additionalProperties": { |
| 2402 "type": "string" |
| 2403 }, |
| 2404 "description": "[Experimental] The labels associated with th
is table. You can use these to organize and group your tables. Label keys and va
lues can be no longer than 63 characters, can only contain letters, numeric char
acters, underscores and dashes. International characters are allowed. Label valu
es are optional. Label keys must start with a letter and must be unique within a
dataset. Both keys and values are additionally constrained to be <= 128 bytes i
n size.", |
| 2405 "type": "object" |
| 2406 }, |
| 2388 "lastModifiedTime": { | 2407 "lastModifiedTime": { |
| 2389 "description": "[Output-only] The time when this table was l
ast modified, in milliseconds since the epoch.", | 2408 "description": "[Output-only] The time when this table was l
ast modified, in milliseconds since the epoch.", |
| 2390 "format": "uint64", | 2409 "format": "uint64", |
| 2391 "type": "string" | 2410 "type": "string" |
| 2392 }, | 2411 }, |
| 2393 "location": { | 2412 "location": { |
| 2394 "description": "[Output-only] The geographic location where
the table resides. This value is inherited from the dataset.", | 2413 "description": "[Output-only] The geographic location where
the table resides. This value is inherited from the dataset.", |
| 2395 "type": "string" | 2414 "type": "string" |
| 2396 }, | 2415 }, |
| 2397 "numBytes": { | 2416 "numBytes": { |
| (...skipping 170 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2568 }, | 2587 }, |
| 2569 "mode": { | 2588 "mode": { |
| 2570 "description": "[Optional] The field mode. Possible values i
nclude NULLABLE, REQUIRED and REPEATED. The default value is NULLABLE.", | 2589 "description": "[Optional] The field mode. Possible values i
nclude NULLABLE, REQUIRED and REPEATED. The default value is NULLABLE.", |
| 2571 "type": "string" | 2590 "type": "string" |
| 2572 }, | 2591 }, |
| 2573 "name": { | 2592 "name": { |
| 2574 "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.", | 2593 "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.", |
| 2575 "type": "string" | 2594 "type": "string" |
| 2576 }, | 2595 }, |
| 2577 "type": { | 2596 "type": { |
| 2578 "description": "[Required] The field data type. Possible val
ues include STRING, BYTES, INTEGER, FLOAT, BOOLEAN, TIMESTAMP, DATE, TIME, DATET
IME, or RECORD (where RECORD indicates that the field contains a nested schema).
", | 2597 "description": "[Required] The field data type. Possible val
ues include STRING, BYTES, INTEGER, INT64 (same as INTEGER), FLOAT, FLOAT64 (sam
e as FLOAT), BOOLEAN, BOOL (same as BOOLEAN), TIMESTAMP, DATE, TIME, DATETIME, R
ECORD (where RECORD indicates that the field contains a nested schema) or STRUCT
(same as RECORD).", |
| 2579 "type": "string" | 2598 "type": "string" |
| 2580 } | 2599 } |
| 2581 }, | 2600 }, |
| 2582 "type": "object" | 2601 "type": "object" |
| 2583 }, | 2602 }, |
| 2584 "TableList": { | 2603 "TableList": { |
| 2585 "id": "TableList", | 2604 "id": "TableList", |
| 2586 "properties": { | 2605 "properties": { |
| 2587 "etag": { | 2606 "etag": { |
| 2588 "description": "A hash of this page of results.", | 2607 "description": "A hash of this page of results.", |
| (...skipping 18 matching lines...) Expand all Loading... |
| 2607 }, | 2626 }, |
| 2608 "id": { | 2627 "id": { |
| 2609 "description": "An opaque ID of the table", | 2628 "description": "An opaque ID of the table", |
| 2610 "type": "string" | 2629 "type": "string" |
| 2611 }, | 2630 }, |
| 2612 "kind": { | 2631 "kind": { |
| 2613 "default": "bigquery#table", | 2632 "default": "bigquery#table", |
| 2614 "description": "The resource type.", | 2633 "description": "The resource type.", |
| 2615 "type": "string" | 2634 "type": "string" |
| 2616 }, | 2635 }, |
| 2636 "labels": { |
| 2637 "additionalProperties": { |
| 2638 "type": "string" |
| 2639 }, |
| 2640 "description": "[Experimental] The labels associ
ated with this table. You can use these to organize and group your tables.", |
| 2641 "type": "object" |
| 2642 }, |
| 2617 "tableReference": { | 2643 "tableReference": { |
| 2618 "$ref": "TableReference", | 2644 "$ref": "TableReference", |
| 2619 "description": "A reference uniquely identifying
the table." | 2645 "description": "A reference uniquely identifying
the table." |
| 2620 }, | 2646 }, |
| 2621 "type": { | 2647 "type": { |
| 2622 "description": "The type of table. Possible valu
es are: TABLE, VIEW.", | 2648 "description": "The type of table. Possible valu
es are: TABLE, VIEW.", |
| 2623 "type": "string" | 2649 "type": "string" |
| 2624 } | 2650 } |
| 2625 }, | 2651 }, |
| 2626 "type": "object" | 2652 "type": "object" |
| (...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2742 "type": "array" | 2768 "type": "array" |
| 2743 } | 2769 } |
| 2744 }, | 2770 }, |
| 2745 "type": "object" | 2771 "type": "object" |
| 2746 } | 2772 } |
| 2747 }, | 2773 }, |
| 2748 "servicePath": "bigquery/v2/", | 2774 "servicePath": "bigquery/v2/", |
| 2749 "title": "BigQuery API", | 2775 "title": "BigQuery API", |
| 2750 "version": "v2" | 2776 "version": "v2" |
| 2751 } | 2777 } |
| OLD | NEW |