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/Hw3ocLnACFZ8pfeMZhrBTel37_8\"", | 35 "etag": "\"YWOzh2SDasdU84ArJnpYek-OMdg/4k7_mz3_hjiHB-sQeq0R5OymfdI\"", |
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 893 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
939 "$ref": "Table" | 939 "$ref": "Table" |
940 }, | 940 }, |
941 "scopes": [ | 941 "scopes": [ |
942 "https://www.googleapis.com/auth/bigquery", | 942 "https://www.googleapis.com/auth/bigquery", |
943 "https://www.googleapis.com/auth/cloud-platform" | 943 "https://www.googleapis.com/auth/cloud-platform" |
944 ] | 944 ] |
945 } | 945 } |
946 } | 946 } |
947 } | 947 } |
948 }, | 948 }, |
949 "revision": "20170319", | 949 "revision": "20170408", |
950 "rootUrl": "https://www.googleapis.com/", | 950 "rootUrl": "https://www.googleapis.com/", |
951 "schemas": { | 951 "schemas": { |
952 "BigtableColumn": { | 952 "BigtableColumn": { |
953 "id": "BigtableColumn", | 953 "id": "BigtableColumn", |
954 "properties": { | 954 "properties": { |
955 "encoding": { | 955 "encoding": { |
956 "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.", | 956 "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.", |
957 "type": "string" | 957 "type": "string" |
958 }, | 958 }, |
959 "fieldName": { | 959 "fieldName": { |
(...skipping 675 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1635 "ignoreUnknownValues": { | 1635 "ignoreUnknownValues": { |
1636 "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", | 1636 "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", |
1637 "type": "boolean" | 1637 "type": "boolean" |
1638 }, | 1638 }, |
1639 "maxBadRecords": { | 1639 "maxBadRecords": { |
1640 "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.", | 1640 "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.", |
1641 "format": "int32", | 1641 "format": "int32", |
1642 "type": "integer" | 1642 "type": "integer" |
1643 }, | 1643 }, |
1644 "nullMarker": { | 1644 "nullMarker": { |
1645 "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.", | 1645 "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 throws an er
ror if an empty string is present for all data types except for STRING and BYTE.
For STRING and BYTE columns, BigQuery interprets the empty string as an empty v
alue.", |
1646 "type": "string" | 1646 "type": "string" |
1647 }, | 1647 }, |
1648 "projectionFields": { | 1648 "projectionFields": { |
1649 "description": "If sourceFormat is set to \"DATASTORE_BACKUP
\", indicates which entity properties to load into BigQuery from a Cloud Datasto
re backup. Property names are case sensitive and must be top-level properties. I
f no properties are specified, BigQuery loads all properties. If any named prope
rty isn't found in the Cloud Datastore backup, an invalid error is returned in t
he job result.", | 1649 "description": "If sourceFormat is set to \"DATASTORE_BACKUP
\", indicates which entity properties to load into BigQuery from a Cloud Datasto
re backup. Property names are case sensitive and must be top-level properties. I
f no properties are specified, BigQuery loads all properties. If any named prope
rty isn't found in the Cloud Datastore backup, an invalid error is returned in t
he job result.", |
1650 "items": { | 1650 "items": { |
1651 "type": "string" | 1651 "type": "string" |
1652 }, | 1652 }, |
1653 "type": "array" | 1653 "type": "array" |
1654 }, | 1654 }, |
1655 "quote": { | 1655 "quote": { |
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1697 "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_APPEND. Each action i
s atomic and only occurs if BigQuery is able to complete the job successfully. C
reation, truncation and append actions occur as one atomic update upon job compl
etion.", | 1697 "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_APPEND. Each action i
s atomic and only occurs if BigQuery is able to complete the job successfully. C
reation, truncation and append actions occur as one atomic update upon job compl
etion.", |
1698 "type": "string" | 1698 "type": "string" |
1699 } | 1699 } |
1700 }, | 1700 }, |
1701 "type": "object" | 1701 "type": "object" |
1702 }, | 1702 }, |
1703 "JobConfigurationQuery": { | 1703 "JobConfigurationQuery": { |
1704 "id": "JobConfigurationQuery", | 1704 "id": "JobConfigurationQuery", |
1705 "properties": { | 1705 "properties": { |
1706 "allowLargeResults": { | 1706 "allowLargeResults": { |
1707 "description": "If true, allows the query to produce arbitra
rily large result tables at a slight cost in performance. Requires destinationTa
ble to be set.", | 1707 "default": "false", |
| 1708 "description": "[Optional] If true and query uses legacy SQL
dialect, allows the query to produce arbitrarily large result tables at a sligh
t cost in performance. Requires destinationTable to be set. For standard SQL que
ries, this flag is ignored and large results are always allowed.", |
1708 "type": "boolean" | 1709 "type": "boolean" |
1709 }, | 1710 }, |
1710 "createDisposition": { | 1711 "createDisposition": { |
1711 "description": "[Optional] Specifies whether the job is allo
wed to create new tables. The following values are supported: CREATE_IF_NEEDED:
If the table does not exist, BigQuery creates the table. CREATE_NEVER: The table
must already exist. If it does not, a 'notFound' error is returned in the job r
esult. The default value is CREATE_IF_NEEDED. Creation, truncation and append ac
tions occur as one atomic update upon job completion.", | 1712 "description": "[Optional] Specifies whether the job is allo
wed to create new tables. The following values are supported: CREATE_IF_NEEDED:
If the table does not exist, BigQuery creates the table. CREATE_NEVER: The table
must already exist. If it does not, a 'notFound' error is returned in the job r
esult. The default value is CREATE_IF_NEEDED. Creation, truncation and append ac
tions occur as one atomic update upon job completion.", |
1712 "type": "string" | 1713 "type": "string" |
1713 }, | 1714 }, |
1714 "defaultDataset": { | 1715 "defaultDataset": { |
1715 "$ref": "DatasetReference", | 1716 "$ref": "DatasetReference", |
1716 "description": "[Optional] Specifies the default dataset to
use for unqualified table names in the query." | 1717 "description": "[Optional] Specifies the default dataset to
use for unqualified table names in the query." |
1717 }, | 1718 }, |
1718 "destinationTable": { | 1719 "destinationTable": { |
1719 "$ref": "TableReference", | 1720 "$ref": "TableReference", |
1720 "description": "[Optional] Describes the table where the que
ry results should be stored. If not present, a new table will be created to stor
e the results." | 1721 "description": "[Optional] Describes the table where the que
ry results should be stored. If not present, a new table will be created to stor
e the results." |
1721 }, | 1722 }, |
1722 "flattenResults": { | 1723 "flattenResults": { |
1723 "default": "true", | 1724 "default": "true", |
1724 "description": "[Optional] Flattens all nested and repeated
fields in the query results. The default value is true. allowLargeResults must b
e true if this is set to false.", | 1725 "description": "[Optional] If true and query uses legacy SQL
dialect, flattens all nested and repeated fields in the query results. allowLar
geResults must be true if this is set to false. For standard SQL queries, this f
lag is ignored and results are never flattened.", |
1725 "type": "boolean" | 1726 "type": "boolean" |
1726 }, | 1727 }, |
1727 "maximumBillingTier": { | 1728 "maximumBillingTier": { |
1728 "default": "1", | 1729 "default": "1", |
1729 "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.", | 1730 "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.", |
1730 "format": "int32", | 1731 "format": "int32", |
1731 "type": "integer" | 1732 "type": "integer" |
1732 }, | 1733 }, |
1733 "maximumBytesBilled": { | 1734 "maximumBytesBilled": { |
1734 "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.", | 1735 "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.", |
(...skipping 1053 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2788 "type": "array" | 2789 "type": "array" |
2789 } | 2790 } |
2790 }, | 2791 }, |
2791 "type": "object" | 2792 "type": "object" |
2792 } | 2793 } |
2793 }, | 2794 }, |
2794 "servicePath": "bigquery/v2/", | 2795 "servicePath": "bigquery/v2/", |
2795 "title": "BigQuery API", | 2796 "title": "BigQuery API", |
2796 "version": "v2" | 2797 "version": "v2" |
2797 } | 2798 } |
OLD | NEW |