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": "\"C5oy1hgQsABtYOYIOXWcR3BgYqU/Ib6OxmyUT7luxrAe5VQ1tJgZykA\"", | 35 "etag": "\"C5oy1hgQsABtYOYIOXWcR3BgYqU/38ec4LBichi45rs7Z88p5kE7xpM\"", |
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 144 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
190 "parameterOrder": [ | 190 "parameterOrder": [ |
191 "projectId" | 191 "projectId" |
192 ], | 192 ], |
193 "parameters": { | 193 "parameters": { |
194 "all": { | 194 "all": { |
195 "description": "Whether to list all datasets, includ
ing hidden ones", | 195 "description": "Whether to list all datasets, includ
ing hidden ones", |
196 "location": "query", | 196 "location": "query", |
197 "type": "boolean" | 197 "type": "boolean" |
198 }, | 198 }, |
199 "filter": { | 199 "filter": { |
200 "description": "An expression for filtering the resu
lts of the request by label. The syntax is \"labels.[:]\". Multiple filters can
be ANDed together by connecting with a space. Example: \"labels.department:recei
ving labels.active\". See https://cloud.google.com/bigquery/docs/labeling-datase
ts#filtering_datasets_using_labels for details.", | 200 "description": "An expression for filtering the resu
lts of the request by label. The syntax is \"labels.<name>[:<value>]\". Multiple
filters can be ANDed together by connecting with a space. Example: \"labels.dep
artment:receiving labels.active\". See Filtering datasets using labels for detai
ls.", |
201 "location": "query", | 201 "location": "query", |
202 "type": "string" | 202 "type": "string" |
203 }, | 203 }, |
204 "maxResults": { | 204 "maxResults": { |
205 "description": "The maximum number of results to ret
urn", | 205 "description": "The maximum number of results to ret
urn", |
206 "format": "uint32", | 206 "format": "uint32", |
207 "location": "query", | 207 "location": "query", |
208 "type": "integer" | 208 "type": "integer" |
209 }, | 209 }, |
210 "pageToken": { | 210 "pageToken": { |
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
316 "required": true, | 316 "required": true, |
317 "type": "string" | 317 "type": "string" |
318 }, | 318 }, |
319 "projectId": { | 319 "projectId": { |
320 "description": "[Required] Project ID of the job to
cancel", | 320 "description": "[Required] Project ID of the job to
cancel", |
321 "location": "path", | 321 "location": "path", |
322 "required": true, | 322 "required": true, |
323 "type": "string" | 323 "type": "string" |
324 } | 324 } |
325 }, | 325 }, |
326 "path": "project/{projectId}/jobs/{jobId}/cancel", | 326 "path": "projects/{projectId}/jobs/{jobId}/cancel", |
327 "response": { | 327 "response": { |
328 "$ref": "JobCancelResponse" | 328 "$ref": "JobCancelResponse" |
329 }, | 329 }, |
330 "scopes": [ | 330 "scopes": [ |
331 "https://www.googleapis.com/auth/bigquery", | 331 "https://www.googleapis.com/auth/bigquery", |
332 "https://www.googleapis.com/auth/cloud-platform" | 332 "https://www.googleapis.com/auth/cloud-platform" |
333 ] | 333 ] |
334 }, | 334 }, |
335 "get": { | 335 "get": { |
336 "description": "Returns information about a specific job. Jo
b information is available for a six month period after creation. Requires that
you're the person who ran the job, or have the Is Owner project role.", | 336 "description": "Returns information about a specific job. Jo
b information is available for a six month period after creation. Requires that
you're the person who ran the job, or have the Is Owner project role.", |
(...skipping 592 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": "20160822", | 939 "revision": "20161029", |
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 170 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1120 }, | 1120 }, |
1121 "kind": { | 1121 "kind": { |
1122 "default": "bigquery#dataset", | 1122 "default": "bigquery#dataset", |
1123 "description": "[Output-only] The resource type.", | 1123 "description": "[Output-only] The resource type.", |
1124 "type": "string" | 1124 "type": "string" |
1125 }, | 1125 }, |
1126 "labels": { | 1126 "labels": { |
1127 "additionalProperties": { | 1127 "additionalProperties": { |
1128 "type": "string" | 1128 "type": "string" |
1129 }, | 1129 }, |
1130 "description": "[Experimental] The labels associated with th
is dataset. You can use these to organize and group your datasets. You can set t
his property when inserting or updating a dataset. Label keys and values can be
no longer than 63 characters, can only contain letters, numeric characters, unde
rscores and dashes. International characters are allowed. Label values are optio
nal. Label keys must start with a letter and must be unique within a dataset. Bo
th keys and values are additionally constrained to be <= 128 bytes in size.", | 1130 "description": "[Experimental] The labels associated with th
is dataset. You can use these to organize and group your datasets. You can set t
his property when inserting or updating a dataset. See Labeling Datasets for mor
e information.", |
1131 "type": "object" | 1131 "type": "object" |
1132 }, | 1132 }, |
1133 "lastModifiedTime": { | 1133 "lastModifiedTime": { |
1134 "description": "[Output-only] The date when this dataset or
any of its tables was last modified, in milliseconds since the epoch.", | 1134 "description": "[Output-only] The date when this dataset or
any of its tables was last modified, in milliseconds since the epoch.", |
1135 "format": "int64", | 1135 "format": "int64", |
1136 "type": "string" | 1136 "type": "string" |
1137 }, | 1137 }, |
1138 "location": { | 1138 "location": { |
1139 "description": "[Experimental] The geographic location where
the dataset should reside. Possible values include EU and US. The default value
is US.", | 1139 "description": "[Experimental] The geographic location where
the dataset should reside. Possible values include EU and US. The default value
is US.", |
1140 "type": "string" | 1140 "type": "string" |
(...skipping 383 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1524 "description": "[Pick one] Copies a table." | 1524 "description": "[Pick one] Copies a table." |
1525 }, | 1525 }, |
1526 "dryRun": { | 1526 "dryRun": { |
1527 "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. Behavior of non-query jobs is undefined.", | 1527 "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. Behavior of non-query jobs is undefined.", |
1528 "type": "boolean" | 1528 "type": "boolean" |
1529 }, | 1529 }, |
1530 "extract": { | 1530 "extract": { |
1531 "$ref": "JobConfigurationExtract", | 1531 "$ref": "JobConfigurationExtract", |
1532 "description": "[Pick one] Configures an extract job." | 1532 "description": "[Pick one] Configures an extract job." |
1533 }, | 1533 }, |
| 1534 "labels": { |
| 1535 "additionalProperties": { |
| 1536 "type": "string" |
| 1537 }, |
| 1538 "description": "[Experimental] The labels associated with th
is job. You can use these to organize and group your jobs. Label keys and values
can be no longer than 63 characters, can only contain letters, numeric characte
rs, underscores and dashes. International characters are allowed. Label values a
re optional. Label keys must start with a letter and must be unique within a dat
aset. Both keys and values are additionally constrained to be <= 128 bytes in si
ze.", |
| 1539 "type": "object" |
| 1540 }, |
1534 "load": { | 1541 "load": { |
1535 "$ref": "JobConfigurationLoad", | 1542 "$ref": "JobConfigurationLoad", |
1536 "description": "[Pick one] Configures a load job." | 1543 "description": "[Pick one] Configures a load job." |
1537 }, | 1544 }, |
1538 "query": { | 1545 "query": { |
1539 "$ref": "JobConfigurationQuery", | 1546 "$ref": "JobConfigurationQuery", |
1540 "description": "[Pick one] Configures a query job." | 1547 "description": "[Pick one] Configures a query job." |
1541 } | 1548 } |
1542 }, | 1549 }, |
1543 "type": "object" | 1550 "type": "object" |
(...skipping 176 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1720 }, | 1727 }, |
1721 "priority": { | 1728 "priority": { |
1722 "description": "[Optional] Specifies a priority for the quer
y. Possible values include INTERACTIVE and BATCH. The default value is INTERACTI
VE.", | 1729 "description": "[Optional] Specifies a priority for the quer
y. Possible values include INTERACTIVE and BATCH. The default value is INTERACTI
VE.", |
1723 "type": "string" | 1730 "type": "string" |
1724 }, | 1731 }, |
1725 "query": { | 1732 "query": { |
1726 "description": "[Required] BigQuery SQL query to execute.", | 1733 "description": "[Required] BigQuery SQL query to execute.", |
1727 "type": "string" | 1734 "type": "string" |
1728 }, | 1735 }, |
1729 "queryParameters": { | 1736 "queryParameters": { |
1730 "description": "[Experimental] Query parameters for Standard
SQL queries.", | 1737 "description": "Query parameters for standard SQL queries.", |
1731 "items": { | 1738 "items": { |
1732 "$ref": "QueryParameter" | 1739 "$ref": "QueryParameter" |
1733 }, | 1740 }, |
1734 "type": "array" | 1741 "type": "array" |
1735 }, | 1742 }, |
1736 "schemaUpdateOptions": { | 1743 "schemaUpdateOptions": { |
1737 "description": "[Experimental] Allows the schema of the desi
tination table to be updated as a side effect of the query job. Schema update op
tions are supported in two cases: when writeDisposition is WRITE_APPEND; when wr
iteDisposition is WRITE_TRUNCATE and the destination table is a partition of a t
able, specified by partition decorators. For normal tables, WRITE_TRUNCATE will
always overwrite the schema. One or more of the following values are specified:
ALLOW_FIELD_ADDITION: allow adding a nullable field to the schema. ALLOW_FIELD_R
ELAXATION: allow relaxing a required field in the original schema to nullable.", | 1744 "description": "[Experimental] Allows the schema of the dest
ination table to be updated as a side effect of the query job. Schema update opt
ions are supported in two cases: when writeDisposition is WRITE_APPEND; when wri
teDisposition is WRITE_TRUNCATE and the destination table is a partition of a ta
ble, specified by partition decorators. For normal tables, WRITE_TRUNCATE will a
lways overwrite the schema. One or more of the following values are specified: A
LLOW_FIELD_ADDITION: allow adding a nullable field to the schema. ALLOW_FIELD_RE
LAXATION: allow relaxing a required field in the original schema to nullable.", |
1738 "items": { | 1745 "items": { |
1739 "type": "string" | 1746 "type": "string" |
1740 }, | 1747 }, |
1741 "type": "array" | 1748 "type": "array" |
1742 }, | 1749 }, |
1743 "tableDefinitions": { | 1750 "tableDefinitions": { |
1744 "additionalProperties": { | 1751 "additionalProperties": { |
1745 "$ref": "ExternalDataConfiguration" | 1752 "$ref": "ExternalDataConfiguration" |
1746 }, | 1753 }, |
1747 "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.", | 1754 "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.", |
1748 "type": "object" | 1755 "type": "object" |
1749 }, | 1756 }, |
1750 "useLegacySql": { | 1757 "useLegacySql": { |
1751 "description": "[Experimental] Specifies whether to use BigQ
uery's legacy SQL dialect for this query. The default value is true. If set to f
alse, the query will use BigQuery's standard SQL: https://cloud.google.com/bigqu
ery/sql-reference/ When useLegacySql is set to false, the values of allowLargeRe
sults and flattenResults are ignored; query will be run as if allowLargeResults
is true and flattenResults is false.", | 1758 "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.", |
1752 "type": "boolean" | 1759 "type": "boolean" |
1753 }, | 1760 }, |
1754 "useQueryCache": { | 1761 "useQueryCache": { |
1755 "default": "true", | 1762 "default": "true", |
1756 "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.", | 1763 "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.", |
1757 "type": "boolean" | 1764 "type": "boolean" |
1758 }, | 1765 }, |
1759 "userDefinedFunctionResources": { | 1766 "userDefinedFunctionResources": { |
1760 "description": "[Experimental] Describes user-defined functi
on resources used in the query.", | 1767 "description": "[Experimental] Describes user-defined functi
on resources used in the query.", |
1761 "items": { | 1768 "items": { |
(...skipping 414 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2176 "id": "QueryParameterValue", | 2183 "id": "QueryParameterValue", |
2177 "properties": { | 2184 "properties": { |
2178 "arrayValues": { | 2185 "arrayValues": { |
2179 "description": "[Optional] The array values, if this is an a
rray type.", | 2186 "description": "[Optional] The array values, if this is an a
rray type.", |
2180 "items": { | 2187 "items": { |
2181 "$ref": "QueryParameterValue" | 2188 "$ref": "QueryParameterValue" |
2182 }, | 2189 }, |
2183 "type": "array" | 2190 "type": "array" |
2184 }, | 2191 }, |
2185 "structValues": { | 2192 "structValues": { |
2186 "description": "[Optional] The struct field values, in order
of the struct type's declaration.", | 2193 "additionalProperties": { |
2187 "items": { | |
2188 "$ref": "QueryParameterValue" | 2194 "$ref": "QueryParameterValue" |
2189 }, | 2195 }, |
2190 "type": "array" | 2196 "description": "[Optional] The struct field values, in order
of the struct type's declaration.", |
| 2197 "type": "object" |
2191 }, | 2198 }, |
2192 "value": { | 2199 "value": { |
2193 "description": "[Optional] The value of this value, if a sim
ple scalar type.", | 2200 "description": "[Optional] The value of this value, if a sim
ple scalar type.", |
2194 "type": "string" | 2201 "type": "string" |
2195 } | 2202 } |
2196 }, | 2203 }, |
2197 "type": "object" | 2204 "type": "object" |
2198 }, | 2205 }, |
2199 "QueryRequest": { | 2206 "QueryRequest": { |
2200 "id": "QueryRequest", | 2207 "id": "QueryRequest", |
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2241 }, | 2248 }, |
2242 "type": "array" | 2249 "type": "array" |
2243 }, | 2250 }, |
2244 "timeoutMs": { | 2251 "timeoutMs": { |
2245 "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).", | 2252 "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).", |
2246 "format": "uint32", | 2253 "format": "uint32", |
2247 "type": "integer" | 2254 "type": "integer" |
2248 }, | 2255 }, |
2249 "useLegacySql": { | 2256 "useLegacySql": { |
2250 "default": "true", | 2257 "default": "true", |
2251 "description": "[Experimental] Specifies whether to use BigQ
uery's legacy SQL dialect for this query. The default value is true. If set to f
alse, the query will use BigQuery's standard SQL: https://cloud.google.com/bigqu
ery/sql-reference/ When useLegacySql is set to false, the values of allowLargeRe
sults and flattenResults are ignored; query will be run as if allowLargeResults
is true and flattenResults is false.", | 2258 "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.", |
2252 "type": "boolean" | 2259 "type": "boolean" |
2253 }, | 2260 }, |
2254 "useQueryCache": { | 2261 "useQueryCache": { |
2255 "default": "true", | 2262 "default": "true", |
2256 "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.", | 2263 "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.", |
2257 "type": "boolean" | 2264 "type": "boolean" |
2258 } | 2265 } |
2259 }, | 2266 }, |
2260 "type": "object" | 2267 "type": "object" |
2261 }, | 2268 }, |
(...skipping 299 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2561 }, | 2568 }, |
2562 "mode": { | 2569 "mode": { |
2563 "description": "[Optional] The field mode. Possible values i
nclude NULLABLE, REQUIRED and REPEATED. The default value is NULLABLE.", | 2570 "description": "[Optional] The field mode. Possible values i
nclude NULLABLE, REQUIRED and REPEATED. The default value is NULLABLE.", |
2564 "type": "string" | 2571 "type": "string" |
2565 }, | 2572 }, |
2566 "name": { | 2573 "name": { |
2567 "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.", | 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.", |
2568 "type": "string" | 2575 "type": "string" |
2569 }, | 2576 }, |
2570 "type": { | 2577 "type": { |
2571 "description": "[Required] The field data type. Possible val
ues include STRING, BYTES, INTEGER, FLOAT, BOOLEAN, TIMESTAMP or RECORD (where R
ECORD indicates that the field contains a nested schema).", | 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).
", |
2572 "type": "string" | 2579 "type": "string" |
2573 } | 2580 } |
2574 }, | 2581 }, |
2575 "type": "object" | 2582 "type": "object" |
2576 }, | 2583 }, |
2577 "TableList": { | 2584 "TableList": { |
2578 "id": "TableList", | 2585 "id": "TableList", |
2579 "properties": { | 2586 "properties": { |
2580 "etag": { | 2587 "etag": { |
2581 "description": "A hash of this page of results.", | 2588 "description": "A hash of this page of results.", |
(...skipping 135 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2717 "type": "object" | 2724 "type": "object" |
2718 }, | 2725 }, |
2719 "ViewDefinition": { | 2726 "ViewDefinition": { |
2720 "id": "ViewDefinition", | 2727 "id": "ViewDefinition", |
2721 "properties": { | 2728 "properties": { |
2722 "query": { | 2729 "query": { |
2723 "description": "[Required] A query that BigQuery executes wh
en the view is referenced.", | 2730 "description": "[Required] A query that BigQuery executes wh
en the view is referenced.", |
2724 "type": "string" | 2731 "type": "string" |
2725 }, | 2732 }, |
2726 "useLegacySql": { | 2733 "useLegacySql": { |
2727 "description": "[Experimental] Specifies whether to use BigQ
uery's legacy SQL for this view. The default value is true. If set to false, the
view will use BigQuery's standard SQL: https://cloud.google.com/bigquery/sql-re
ference/ Queries and views that reference this view must use the same flag value
.", | 2734 "description": "Specifies whether to use BigQuery's legacy S
QL for this view. The default value is true. If set to false, the view will use
BigQuery's standard SQL: https://cloud.google.com/bigquery/sql-reference/ Querie
s and views that reference this view must use the same flag value.", |
2728 "type": "boolean" | 2735 "type": "boolean" |
2729 }, | 2736 }, |
2730 "userDefinedFunctionResources": { | 2737 "userDefinedFunctionResources": { |
2731 "description": "[Experimental] Describes user-defined functi
on resources used in the query.", | 2738 "description": "[Experimental] Describes user-defined functi
on resources used in the query.", |
2732 "items": { | 2739 "items": { |
2733 "$ref": "UserDefinedFunctionResource" | 2740 "$ref": "UserDefinedFunctionResource" |
2734 }, | 2741 }, |
2735 "type": "array" | 2742 "type": "array" |
2736 } | 2743 } |
2737 }, | 2744 }, |
2738 "type": "object" | 2745 "type": "object" |
2739 } | 2746 } |
2740 }, | 2747 }, |
2741 "servicePath": "bigquery/v2/", | 2748 "servicePath": "bigquery/v2/", |
2742 "title": "BigQuery API", | 2749 "title": "BigQuery API", |
2743 "version": "v2" | 2750 "version": "v2" |
2744 } | 2751 } |
OLD | NEW |