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": "\"YWOzh2SDasdU84ArJnpYek-OMdg/PuNtnNg1WyrTVM4-fWu4Qm0QKgM\"", | 35 "etag": "\"YWOzh2SDasdU84ArJnpYek-OMdg/wbl_PWLcOQ9nI3adoCABAX0E-tY\"", |
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": "20170622", | 949 "revision": "20170721", |
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 720 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1680 "skipLeadingRows": { | 1680 "skipLeadingRows": { |
1681 "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.", | 1681 "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.", |
1682 "format": "int32", | 1682 "format": "int32", |
1683 "type": "integer" | 1683 "type": "integer" |
1684 }, | 1684 }, |
1685 "sourceFormat": { | 1685 "sourceFormat": { |
1686 "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\". For Avro, spec
ify \"AVRO\". The default value is CSV.", | 1686 "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\". For Avro, spec
ify \"AVRO\". The default value is CSV.", |
1687 "type": "string" | 1687 "type": "string" |
1688 }, | 1688 }, |
1689 "sourceUris": { | 1689 "sourceUris": { |
1690 "description": "[Required] The fully-qualified URIs that poi
nt to your data in Google Cloud Storage. Each URI can contain one '*' wildcard c
haracter and it must come after the 'bucket' name.", | 1690 "description": "[Required] The fully-qualified URIs that poi
nt to your data in Google Cloud. For Google Cloud Storage URIs: Each URI can con
tain one '*' wildcard character and it must come after the 'bucket' name. Size l
imits related to load jobs apply to external data sources. For Google Cloud Bigt
able URIs: Exactly one URI can be specified and it has be a fully specified and
valid HTTPS URL for a Google Cloud Bigtable table. For Google Cloud Datastore ba
ckups: Exactly one URI can be specified, and it must end with '.backup_info'. Al
so, the '*' wildcard character is not allowed.", |
1691 "items": { | 1691 "items": { |
1692 "type": "string" | 1692 "type": "string" |
1693 }, | 1693 }, |
1694 "type": "array" | 1694 "type": "array" |
1695 }, | 1695 }, |
1696 "writeDisposition": { | 1696 "writeDisposition": { |
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 }, |
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1767 "type": "array" | 1767 "type": "array" |
1768 }, | 1768 }, |
1769 "tableDefinitions": { | 1769 "tableDefinitions": { |
1770 "additionalProperties": { | 1770 "additionalProperties": { |
1771 "$ref": "ExternalDataConfiguration" | 1771 "$ref": "ExternalDataConfiguration" |
1772 }, | 1772 }, |
1773 "description": "[Optional] If querying an external data sour
ce outside of BigQuery, describes the data format, location and other properties
of the data source. By defining these properties, the data source can then be q
ueried as if it were a standard BigQuery table.", | 1773 "description": "[Optional] If querying an external data sour
ce outside of BigQuery, describes the data format, location and other properties
of the data source. By defining these properties, the data source can then be q
ueried as if it were a standard BigQuery table.", |
1774 "type": "object" | 1774 "type": "object" |
1775 }, | 1775 }, |
1776 "useLegacySql": { | 1776 "useLegacySql": { |
1777 "description": "Specifies whether to use BigQuery's legacy S
QL dialect for this query. The default value is true. If set to false, the query
will use BigQuery's standard SQL: https://cloud.google.com/bigquery/sql-referen
ce/ When useLegacySql is set to false, the values of allowLargeResults and flatt
enResults are ignored; query will be run as if allowLargeResults is true and fla
ttenResults is false.", | 1777 "description": "Specifies whether to use BigQuery's legacy S
QL dialect for this query. The default value is true. If set to false, the query
will use BigQuery's standard SQL: https://cloud.google.com/bigquery/sql-referen
ce/ When useLegacySql is set to false, the value of flattenResults is ignored; q
uery will be run as if flattenResults is false.", |
1778 "type": "boolean" | 1778 "type": "boolean" |
1779 }, | 1779 }, |
1780 "useQueryCache": { | 1780 "useQueryCache": { |
1781 "default": "true", | 1781 "default": "true", |
1782 "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.", | 1782 "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.", |
1783 "type": "boolean" | 1783 "type": "boolean" |
1784 }, | 1784 }, |
1785 "userDefinedFunctionResources": { | 1785 "userDefinedFunctionResources": { |
1786 "description": "Describes user-defined function resources us
ed in the query.", | 1786 "description": "Describes user-defined function resources us
ed in the query.", |
1787 "items": { | 1787 "items": { |
1788 "$ref": "UserDefinedFunctionResource" | 1788 "$ref": "UserDefinedFunctionResource" |
1789 }, | 1789 }, |
1790 "type": "array" | 1790 "type": "array" |
1791 }, | 1791 }, |
1792 "writeDisposition": { | 1792 "writeDisposition": { |
1793 "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.", | 1793 "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 and
uses the schema from the query result. WRITE_APPEND: If the table already exist
s, BigQuery appends the data to the table. WRITE_EMPTY: If the table already exi
sts and contains data, a 'duplicate' error is returned in the job result. The de
fault value is WRITE_EMPTY. Each action is atomic and only occurs if BigQuery is
able to complete the job successfully. Creation, truncation and append actions
occur as one atomic update upon job completion.", |
1794 "type": "string" | 1794 "type": "string" |
1795 } | 1795 } |
1796 }, | 1796 }, |
1797 "type": "object" | 1797 "type": "object" |
1798 }, | 1798 }, |
1799 "JobConfigurationTableCopy": { | 1799 "JobConfigurationTableCopy": { |
1800 "id": "JobConfigurationTableCopy", | 1800 "id": "JobConfigurationTableCopy", |
1801 "properties": { | 1801 "properties": { |
1802 "createDisposition": { | 1802 "createDisposition": { |
1803 "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.", | 1803 "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.", |
(...skipping 203 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2007 "$ref": "QueryParameter" | 2007 "$ref": "QueryParameter" |
2008 }, | 2008 }, |
2009 "type": "array" | 2009 "type": "array" |
2010 } | 2010 } |
2011 }, | 2011 }, |
2012 "type": "object" | 2012 "type": "object" |
2013 }, | 2013 }, |
2014 "JobStatistics3": { | 2014 "JobStatistics3": { |
2015 "id": "JobStatistics3", | 2015 "id": "JobStatistics3", |
2016 "properties": { | 2016 "properties": { |
| 2017 "badRecords": { |
| 2018 "description": "[Output-only] The number of bad records enco
untered. Note that if the job has failed because of more bad records encountered
than the maximum allowed in the load job configuration, then this number can be
less than the total number of bad records present in the input data.", |
| 2019 "format": "int64", |
| 2020 "type": "string" |
| 2021 }, |
2017 "inputFileBytes": { | 2022 "inputFileBytes": { |
2018 "description": "[Output-only] Number of bytes of source data
in a load job.", | 2023 "description": "[Output-only] Number of bytes of source data
in a load job.", |
2019 "format": "int64", | 2024 "format": "int64", |
2020 "type": "string" | 2025 "type": "string" |
2021 }, | 2026 }, |
2022 "inputFiles": { | 2027 "inputFiles": { |
2023 "description": "[Output-only] Number of source files in a lo
ad job.", | 2028 "description": "[Output-only] Number of source files in a lo
ad job.", |
2024 "format": "int64", | 2029 "format": "int64", |
2025 "type": "string" | 2030 "type": "string" |
2026 }, | 2031 }, |
(...skipping 244 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2271 }, | 2276 }, |
2272 "type": "array" | 2277 "type": "array" |
2273 }, | 2278 }, |
2274 "timeoutMs": { | 2279 "timeoutMs": { |
2275 "description": "[Optional] How long to wait for the query to
complete, in milliseconds, before the request times out and returns. Note that
this is only a timeout for the request, not the query. If the query takes longer
to run than the timeout value, the call returns without any results and with th
e 'jobComplete' flag set to false. You can call GetQueryResults() to wait for th
e query to complete and read the results. The default value is 10000 millisecond
s (10 seconds).", | 2280 "description": "[Optional] How long to wait for the query to
complete, in milliseconds, before the request times out and returns. Note that
this is only a timeout for the request, not the query. If the query takes longer
to run than the timeout value, the call returns without any results and with th
e 'jobComplete' flag set to false. You can call GetQueryResults() to wait for th
e query to complete and read the results. The default value is 10000 millisecond
s (10 seconds).", |
2276 "format": "uint32", | 2281 "format": "uint32", |
2277 "type": "integer" | 2282 "type": "integer" |
2278 }, | 2283 }, |
2279 "useLegacySql": { | 2284 "useLegacySql": { |
2280 "default": "true", | 2285 "default": "true", |
2281 "description": "Specifies whether to use BigQuery's legacy S
QL dialect for this query. The default value is true. If set to false, the query
will use BigQuery's standard SQL: https://cloud.google.com/bigquery/sql-referen
ce/ When useLegacySql is set to false, the values of allowLargeResults and flatt
enResults are ignored; query will be run as if allowLargeResults is true and fla
ttenResults is false.", | 2286 "description": "Specifies whether to use BigQuery's legacy S
QL dialect for this query. The default value is true. If set to false, the query
will use BigQuery's standard SQL: https://cloud.google.com/bigquery/sql-referen
ce/ When useLegacySql is set to false, the value of flattenResults is ignored; q
uery will be run as if flattenResults is false.", |
2282 "type": "boolean" | 2287 "type": "boolean" |
2283 }, | 2288 }, |
2284 "useQueryCache": { | 2289 "useQueryCache": { |
2285 "default": "true", | 2290 "default": "true", |
2286 "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. The default value is true.", | 2291 "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. The default value is true.", |
2287 "type": "boolean" | 2292 "type": "boolean" |
2288 } | 2293 } |
2289 }, | 2294 }, |
2290 "type": "object" | 2295 "type": "object" |
2291 }, | 2296 }, |
(...skipping 501 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2793 "type": "array" | 2798 "type": "array" |
2794 } | 2799 } |
2795 }, | 2800 }, |
2796 "type": "object" | 2801 "type": "object" |
2797 } | 2802 } |
2798 }, | 2803 }, |
2799 "servicePath": "bigquery/v2/", | 2804 "servicePath": "bigquery/v2/", |
2800 "title": "BigQuery API", | 2805 "title": "BigQuery API", |
2801 "version": "v2" | 2806 "version": "v2" |
2802 } | 2807 } |
OLD | NEW |