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/2pbHVnKgRBtlI769YwDOp1uiQ0w\"", | 35 "etag": "\"tbys6C40o18GZwyMen5GMkdK-3s/Hw3ocLnACFZ8pfeMZhrBTel37_8\"", |
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 620 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
666 "description": "Page token, returned by a previous c
all, identifying the result set", | 666 "description": "Page token, returned by a previous c
all, identifying the result set", |
667 "location": "query", | 667 "location": "query", |
668 "type": "string" | 668 "type": "string" |
669 }, | 669 }, |
670 "projectId": { | 670 "projectId": { |
671 "description": "Project ID of the table to read", | 671 "description": "Project ID of the table to read", |
672 "location": "path", | 672 "location": "path", |
673 "required": true, | 673 "required": true, |
674 "type": "string" | 674 "type": "string" |
675 }, | 675 }, |
| 676 "selectedFields": { |
| 677 "description": "List of fields to return (comma-sepa
rated). If unspecified, all fields are returned", |
| 678 "location": "query", |
| 679 "type": "string" |
| 680 }, |
676 "startIndex": { | 681 "startIndex": { |
677 "description": "Zero-based index of the starting row
to read", | 682 "description": "Zero-based index of the starting row
to read", |
678 "format": "uint64", | 683 "format": "uint64", |
679 "location": "query", | 684 "location": "query", |
680 "type": "string" | 685 "type": "string" |
681 }, | 686 }, |
682 "tableId": { | 687 "tableId": { |
683 "description": "Table ID of the table to read", | 688 "description": "Table ID of the table to read", |
684 "location": "path", | 689 "location": "path", |
685 "required": true, | 690 "required": true, |
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
750 "location": "path", | 755 "location": "path", |
751 "required": true, | 756 "required": true, |
752 "type": "string" | 757 "type": "string" |
753 }, | 758 }, |
754 "projectId": { | 759 "projectId": { |
755 "description": "Project ID of the requested table", | 760 "description": "Project ID of the requested table", |
756 "location": "path", | 761 "location": "path", |
757 "required": true, | 762 "required": true, |
758 "type": "string" | 763 "type": "string" |
759 }, | 764 }, |
| 765 "selectedFields": { |
| 766 "description": "List of fields to return (comma-sepa
rated). If unspecified, all fields are returned", |
| 767 "location": "query", |
| 768 "type": "string" |
| 769 }, |
760 "tableId": { | 770 "tableId": { |
761 "description": "Table ID of the requested table", | 771 "description": "Table ID of the requested table", |
762 "location": "path", | 772 "location": "path", |
763 "required": true, | 773 "required": true, |
764 "type": "string" | 774 "type": "string" |
765 } | 775 } |
766 }, | 776 }, |
767 "path": "projects/{projectId}/datasets/{datasetId}/tables/{t
ableId}", | 777 "path": "projects/{projectId}/datasets/{datasetId}/tables/{t
ableId}", |
768 "response": { | 778 "response": { |
769 "$ref": "Table" | 779 "$ref": "Table" |
(...skipping 159 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
929 "$ref": "Table" | 939 "$ref": "Table" |
930 }, | 940 }, |
931 "scopes": [ | 941 "scopes": [ |
932 "https://www.googleapis.com/auth/bigquery", | 942 "https://www.googleapis.com/auth/bigquery", |
933 "https://www.googleapis.com/auth/cloud-platform" | 943 "https://www.googleapis.com/auth/cloud-platform" |
934 ] | 944 ] |
935 } | 945 } |
936 } | 946 } |
937 } | 947 } |
938 }, | 948 }, |
939 "revision": "20170224", | 949 "revision": "20170319", |
940 "rootUrl": "https://www.googleapis.com/", | 950 "rootUrl": "https://www.googleapis.com/", |
941 "schemas": { | 951 "schemas": { |
942 "BigtableColumn": { | 952 "BigtableColumn": { |
943 "id": "BigtableColumn", | 953 "id": "BigtableColumn", |
944 "properties": { | 954 "properties": { |
945 "encoding": { | 955 "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.", | 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.", |
947 "type": "string" | 957 "type": "string" |
948 }, | 958 }, |
949 "fieldName": { | 959 "fieldName": { |
(...skipping 170 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1120 }, | 1130 }, |
1121 "kind": { | 1131 "kind": { |
1122 "default": "bigquery#dataset", | 1132 "default": "bigquery#dataset", |
1123 "description": "[Output-only] The resource type.", | 1133 "description": "[Output-only] The resource type.", |
1124 "type": "string" | 1134 "type": "string" |
1125 }, | 1135 }, |
1126 "labels": { | 1136 "labels": { |
1127 "additionalProperties": { | 1137 "additionalProperties": { |
1128 "type": "string" | 1138 "type": "string" |
1129 }, | 1139 }, |
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.", | 1140 "description": "The labels associated with this dataset. You
can use these to organize and group your datasets. You can set this property wh
en inserting or updating a dataset. See Labeling Datasets for more information."
, |
1131 "type": "object" | 1141 "type": "object" |
1132 }, | 1142 }, |
1133 "lastModifiedTime": { | 1143 "lastModifiedTime": { |
1134 "description": "[Output-only] The date when this dataset or
any of its tables was last modified, in milliseconds since the epoch.", | 1144 "description": "[Output-only] The date when this dataset or
any of its tables was last modified, in milliseconds since the epoch.", |
1135 "format": "int64", | 1145 "format": "int64", |
1136 "type": "string" | 1146 "type": "string" |
1137 }, | 1147 }, |
1138 "location": { | 1148 "location": { |
1139 "description": "[Experimental] The geographic location where
the dataset should reside. Possible values include EU and US. The default value
is US.", | 1149 "description": "The geographic location where the dataset sh
ould reside. Possible values include EU and US. The default value is US.", |
1140 "type": "string" | 1150 "type": "string" |
1141 }, | 1151 }, |
1142 "selfLink": { | 1152 "selfLink": { |
1143 "description": "[Output-only] A URL that can be used to acce
ss the resource again. You can use this URL in Get or Update requests to the res
ource.", | 1153 "description": "[Output-only] A URL that can be used to acce
ss the resource again. You can use this URL in Get or Update requests to the res
ource.", |
1144 "type": "string" | 1154 "type": "string" |
1145 } | 1155 } |
1146 }, | 1156 }, |
1147 "type": "object" | 1157 "type": "object" |
1148 }, | 1158 }, |
1149 "DatasetList": { | 1159 "DatasetList": { |
(...skipping 17 matching lines...) Expand all Loading... |
1167 }, | 1177 }, |
1168 "kind": { | 1178 "kind": { |
1169 "default": "bigquery#dataset", | 1179 "default": "bigquery#dataset", |
1170 "description": "The resource type. This property
always returns the value \"bigquery#dataset\".", | 1180 "description": "The resource type. This property
always returns the value \"bigquery#dataset\".", |
1171 "type": "string" | 1181 "type": "string" |
1172 }, | 1182 }, |
1173 "labels": { | 1183 "labels": { |
1174 "additionalProperties": { | 1184 "additionalProperties": { |
1175 "type": "string" | 1185 "type": "string" |
1176 }, | 1186 }, |
1177 "description": "[Experimental] The labels associ
ated with this dataset. You can use these to organize and group your datasets.", | 1187 "description": "The labels associated with this
dataset. You can use these to organize and group your datasets.", |
1178 "type": "object" | 1188 "type": "object" |
1179 } | 1189 } |
1180 }, | 1190 }, |
1181 "type": "object" | 1191 "type": "object" |
1182 }, | 1192 }, |
1183 "type": "array" | 1193 "type": "array" |
1184 }, | 1194 }, |
1185 "etag": { | 1195 "etag": { |
1186 "description": "A hash value of the results page. You can us
e this property to determine if the page has changed since the last request.", | 1196 "description": "A hash value of the results page. You can us
e this property to determine if the page has changed since the last request.", |
1187 "type": "string" | 1197 "type": "string" |
(...skipping 146 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1334 }, | 1344 }, |
1335 "type": "array" | 1345 "type": "array" |
1336 } | 1346 } |
1337 }, | 1347 }, |
1338 "type": "object" | 1348 "type": "object" |
1339 }, | 1349 }, |
1340 "ExternalDataConfiguration": { | 1350 "ExternalDataConfiguration": { |
1341 "id": "ExternalDataConfiguration", | 1351 "id": "ExternalDataConfiguration", |
1342 "properties": { | 1352 "properties": { |
1343 "autodetect": { | 1353 "autodetect": { |
1344 "description": "[Experimental] Try to detect schema and form
at options automatically. Any option specified explicitly will be honored.", | 1354 "description": "Try to detect schema and format options auto
matically. Any option specified explicitly will be honored.", |
1345 "type": "boolean" | 1355 "type": "boolean" |
1346 }, | 1356 }, |
1347 "bigtableOptions": { | 1357 "bigtableOptions": { |
1348 "$ref": "BigtableOptions", | 1358 "$ref": "BigtableOptions", |
1349 "description": "[Optional] Additional options if sourceForma
t is set to BIGTABLE." | 1359 "description": "[Optional] Additional options if sourceForma
t is set to BIGTABLE." |
1350 }, | 1360 }, |
1351 "compression": { | 1361 "compression": { |
1352 "description": "[Optional] The compression type of the data
source. Possible values include GZIP and NONE. The default value is NONE. This s
etting is ignored for Google Cloud Bigtable, Google Cloud Datastore backups and
Avro formats.", | 1362 "description": "[Optional] The compression type of the data
source. Possible values include GZIP and NONE. The default value is NONE. This s
etting is ignored for Google Cloud Bigtable, Google Cloud Datastore backups and
Avro formats.", |
1353 "type": "string" | 1363 "type": "string" |
1354 }, | 1364 }, |
(...skipping 12 matching lines...) Expand all Loading... |
1367 "maxBadRecords": { | 1377 "maxBadRecords": { |
1368 "description": "[Optional] The maximum number of bad records
that BigQuery can ignore when reading data. If the number of bad records exceed
s this value, an invalid error is returned in the job result. The default value
is 0, which requires that all records are valid. This setting is ignored for Goo
gle Cloud Bigtable, Google Cloud Datastore backups and Avro formats.", | 1378 "description": "[Optional] The maximum number of bad records
that BigQuery can ignore when reading data. If the number of bad records exceed
s this value, an invalid error is returned in the job result. The default value
is 0, which requires that all records are valid. This setting is ignored for Goo
gle Cloud Bigtable, Google Cloud Datastore backups and Avro formats.", |
1369 "format": "int32", | 1379 "format": "int32", |
1370 "type": "integer" | 1380 "type": "integer" |
1371 }, | 1381 }, |
1372 "schema": { | 1382 "schema": { |
1373 "$ref": "TableSchema", | 1383 "$ref": "TableSchema", |
1374 "description": "[Optional] The schema for the data. Schema i
s required for CSV and JSON formats. Schema is disallowed for Google Cloud Bigta
ble, Cloud Datastore backups, and Avro formats." | 1384 "description": "[Optional] The schema for the data. Schema i
s required for CSV and JSON formats. Schema is disallowed for Google Cloud Bigta
ble, Cloud Datastore backups, and Avro formats." |
1375 }, | 1385 }, |
1376 "sourceFormat": { | 1386 "sourceFormat": { |
1377 "description": "[Required] The data format. For CSV files, s
pecify \"CSV\". For Google sheets, specify \"GOOGLE_SHEETS\". For newline-delimi
ted JSON, specify \"NEWLINE_DELIMITED_JSON\". For Avro files, specify \"AVRO\".
For Google Cloud Datastore backups, specify \"DATASTORE_BACKUP\". [Experimental]
For Google Cloud Bigtable, specify \"BIGTABLE\". Please note that reading from
Google Cloud Bigtable is experimental and has to be enabled for your project. Pl
ease contact Google Cloud Support to enable this for your project.", | 1387 "description": "[Required] The data format. For CSV files, s
pecify \"CSV\". For Google sheets, specify \"GOOGLE_SHEETS\". For newline-delimi
ted JSON, specify \"NEWLINE_DELIMITED_JSON\". For Avro files, specify \"AVRO\".
For Google Cloud Datastore backups, specify \"DATASTORE_BACKUP\". [Beta] For Goo
gle Cloud Bigtable, specify \"BIGTABLE\".", |
1378 "type": "string" | 1388 "type": "string" |
1379 }, | 1389 }, |
1380 "sourceUris": { | 1390 "sourceUris": { |
1381 "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.", | 1391 "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.", |
1382 "items": { | 1392 "items": { |
1383 "type": "string" | 1393 "type": "string" |
1384 }, | 1394 }, |
1385 "type": "array" | 1395 "type": "array" |
1386 } | 1396 } |
1387 }, | 1397 }, |
(...skipping 24 matching lines...) Expand all Loading... |
1412 "jobReference": { | 1422 "jobReference": { |
1413 "$ref": "JobReference", | 1423 "$ref": "JobReference", |
1414 "description": "Reference to the BigQuery Job that was creat
ed to run the query. This field will be present even if the original request tim
ed out, in which case GetQueryResults can be used to read the results once the q
uery has completed. Since this API only returns the first page of results, subse
quent pages can be fetched via the same mechanism (GetQueryResults)." | 1424 "description": "Reference to the BigQuery Job that was creat
ed to run the query. This field will be present even if the original request tim
ed out, in which case GetQueryResults can be used to read the results once the q
uery has completed. Since this API only returns the first page of results, subse
quent pages can be fetched via the same mechanism (GetQueryResults)." |
1415 }, | 1425 }, |
1416 "kind": { | 1426 "kind": { |
1417 "default": "bigquery#getQueryResultsResponse", | 1427 "default": "bigquery#getQueryResultsResponse", |
1418 "description": "The resource type of the response.", | 1428 "description": "The resource type of the response.", |
1419 "type": "string" | 1429 "type": "string" |
1420 }, | 1430 }, |
1421 "numDmlAffectedRows": { | 1431 "numDmlAffectedRows": { |
1422 "description": "[Output-only, Experimental] The number of ro
ws affected by a DML statement. Present only for DML statements INSERT, UPDATE o
r DELETE.", | 1432 "description": "[Output-only] The number of rows affected by
a DML statement. Present only for DML statements INSERT, UPDATE or DELETE.", |
1423 "format": "int64", | 1433 "format": "int64", |
1424 "type": "string" | 1434 "type": "string" |
1425 }, | 1435 }, |
1426 "pageToken": { | 1436 "pageToken": { |
1427 "description": "A token used for paging results.", | 1437 "description": "A token used for paging results.", |
1428 "type": "string" | 1438 "type": "string" |
1429 }, | 1439 }, |
1430 "rows": { | 1440 "rows": { |
1431 "description": "An object with as many results as can be con
tained within the maximum permitted reply size. To get any additional rows, you
can call GetQueryResults and specify the jobReference returned above. Present on
ly when the query completes successfully.", | 1441 "description": "An object with as many results as can be con
tained within the maximum permitted reply size. To get any additional rows, you
can call GetQueryResults and specify the jobReference returned above. Present on
ly when the query completes successfully.", |
1432 "items": { | 1442 "items": { |
(...skipping 163 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1596 "properties": { | 1606 "properties": { |
1597 "allowJaggedRows": { | 1607 "allowJaggedRows": { |
1598 "description": "[Optional] Accept rows that are missing trai
ling optional columns. The missing values are treated as nulls. If false, record
s with missing trailing columns are treated as bad records, and if there are too
many bad records, an invalid error is returned in the job result. The default v
alue is false. Only applicable to CSV, ignored for other formats.", | 1608 "description": "[Optional] Accept rows that are missing trai
ling optional columns. The missing values are treated as nulls. If false, record
s with missing trailing columns are treated as bad records, and if there are too
many bad records, an invalid error is returned in the job result. The default v
alue is false. Only applicable to CSV, ignored for other formats.", |
1599 "type": "boolean" | 1609 "type": "boolean" |
1600 }, | 1610 }, |
1601 "allowQuotedNewlines": { | 1611 "allowQuotedNewlines": { |
1602 "description": "Indicates if BigQuery should allow quoted da
ta sections that contain newline characters in a CSV file. The default value is
false.", | 1612 "description": "Indicates if BigQuery should allow quoted da
ta sections that contain newline characters in a CSV file. The default value is
false.", |
1603 "type": "boolean" | 1613 "type": "boolean" |
1604 }, | 1614 }, |
1605 "autodetect": { | 1615 "autodetect": { |
1606 "description": "[Experimental] Indicates if we should automa
tically infer the options and schema for CSV and JSON sources.", | 1616 "description": "Indicates if we should automatically infer t
he options and schema for CSV and JSON sources.", |
1607 "type": "boolean" | 1617 "type": "boolean" |
1608 }, | 1618 }, |
1609 "createDisposition": { | 1619 "createDisposition": { |
1610 "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.", | 1620 "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.", |
1611 "type": "string" | 1621 "type": "string" |
1612 }, | 1622 }, |
1613 "destinationTable": { | 1623 "destinationTable": { |
1614 "$ref": "TableReference", | 1624 "$ref": "TableReference", |
1615 "description": "[Required] The destination table to load the
data into." | 1625 "description": "[Required] The destination table to load the
data into." |
1616 }, | 1626 }, |
(...skipping 12 matching lines...) Expand all Loading... |
1629 "maxBadRecords": { | 1639 "maxBadRecords": { |
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.", | 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.", |
1631 "format": "int32", | 1641 "format": "int32", |
1632 "type": "integer" | 1642 "type": "integer" |
1633 }, | 1643 }, |
1634 "nullMarker": { | 1644 "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.", | 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.", |
1636 "type": "string" | 1646 "type": "string" |
1637 }, | 1647 }, |
1638 "projectionFields": { | 1648 "projectionFields": { |
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.", | 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.", |
1640 "items": { | 1650 "items": { |
1641 "type": "string" | 1651 "type": "string" |
1642 }, | 1652 }, |
1643 "type": "array" | 1653 "type": "array" |
1644 }, | 1654 }, |
1645 "quote": { | 1655 "quote": { |
1646 "default": "\"", | 1656 "default": "\"", |
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.", | 1657 "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.", |
1648 "pattern": ".?", | 1658 "pattern": ".?", |
1649 "type": "string" | 1659 "type": "string" |
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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.", | 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.", |
1720 "format": "int32", | 1730 "format": "int32", |
1721 "type": "integer" | 1731 "type": "integer" |
1722 }, | 1732 }, |
1723 "maximumBytesBilled": { | 1733 "maximumBytesBilled": { |
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.", | 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.", |
1725 "format": "int64", | 1735 "format": "int64", |
1726 "type": "string" | 1736 "type": "string" |
1727 }, | 1737 }, |
1728 "parameterMode": { | 1738 "parameterMode": { |
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.", | 1739 "description": "Standard SQL only. Set to POSITIONAL to use
positional (?) query parameters or to NAMED to use named (@myparam) query parame
ters in this query.", |
1730 "type": "string" | 1740 "type": "string" |
1731 }, | 1741 }, |
1732 "preserveNulls": { | 1742 "preserveNulls": { |
1733 "description": "[Deprecated] This property is deprecated.", | 1743 "description": "[Deprecated] This property is deprecated.", |
1734 "type": "boolean" | 1744 "type": "boolean" |
1735 }, | 1745 }, |
1736 "priority": { | 1746 "priority": { |
1737 "description": "[Optional] Specifies a priority for the quer
y. Possible values include INTERACTIVE and BATCH. The default value is INTERACTI
VE.", | 1747 "description": "[Optional] Specifies a priority for the quer
y. Possible values include INTERACTIVE and BATCH. The default value is INTERACTI
VE.", |
1738 "type": "string" | 1748 "type": "string" |
1739 }, | 1749 }, |
(...skipping 25 matching lines...) Expand all Loading... |
1765 "useLegacySql": { | 1775 "useLegacySql": { |
1766 "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.", | 1776 "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.", |
1767 "type": "boolean" | 1777 "type": "boolean" |
1768 }, | 1778 }, |
1769 "useQueryCache": { | 1779 "useQueryCache": { |
1770 "default": "true", | 1780 "default": "true", |
1771 "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.", | 1781 "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.", |
1772 "type": "boolean" | 1782 "type": "boolean" |
1773 }, | 1783 }, |
1774 "userDefinedFunctionResources": { | 1784 "userDefinedFunctionResources": { |
1775 "description": "[Experimental] Describes user-defined functi
on resources used in the query.", | 1785 "description": "Describes user-defined function resources us
ed in the query.", |
1776 "items": { | 1786 "items": { |
1777 "$ref": "UserDefinedFunctionResource" | 1787 "$ref": "UserDefinedFunctionResource" |
1778 }, | 1788 }, |
1779 "type": "array" | 1789 "type": "array" |
1780 }, | 1790 }, |
1781 "writeDisposition": { | 1791 "writeDisposition": { |
1782 "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.", | 1792 "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.", |
1783 "type": "string" | 1793 "type": "string" |
1784 } | 1794 } |
1785 }, | 1795 }, |
(...skipping 161 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1947 "billingTier": { | 1957 "billingTier": { |
1948 "description": "[Output-only] Billing tier for the job.", | 1958 "description": "[Output-only] Billing tier for the job.", |
1949 "format": "int32", | 1959 "format": "int32", |
1950 "type": "integer" | 1960 "type": "integer" |
1951 }, | 1961 }, |
1952 "cacheHit": { | 1962 "cacheHit": { |
1953 "description": "[Output-only] Whether the query result was f
etched from the query cache.", | 1963 "description": "[Output-only] Whether the query result was f
etched from the query cache.", |
1954 "type": "boolean" | 1964 "type": "boolean" |
1955 }, | 1965 }, |
1956 "numDmlAffectedRows": { | 1966 "numDmlAffectedRows": { |
1957 "description": "[Output-only, Experimental] The number of ro
ws affected by a DML statement. Present only for DML statements INSERT, UPDATE o
r DELETE.", | 1967 "description": "[Output-only] The number of rows affected by
a DML statement. Present only for DML statements INSERT, UPDATE or DELETE.", |
1958 "format": "int64", | 1968 "format": "int64", |
1959 "type": "string" | 1969 "type": "string" |
1960 }, | 1970 }, |
1961 "queryPlan": { | 1971 "queryPlan": { |
1962 "description": "[Output-only, Experimental] Describes execut
ion plan for the query.", | 1972 "description": "[Output-only] Describes execution plan for t
he query.", |
1963 "items": { | 1973 "items": { |
1964 "$ref": "ExplainQueryStage" | 1974 "$ref": "ExplainQueryStage" |
1965 }, | 1975 }, |
1966 "type": "array" | 1976 "type": "array" |
1967 }, | 1977 }, |
1968 "referencedTables": { | 1978 "referencedTables": { |
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.", | 1979 "description": "[Output-only, Experimental] Referenced table
s for the job. Queries that reference more than 50 tables will not have a comple
te list.", |
1970 "items": { | 1980 "items": { |
1971 "$ref": "TableReference" | 1981 "$ref": "TableReference" |
1972 }, | 1982 }, |
(...skipping 257 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2230 "default": "bigquery#queryRequest", | 2240 "default": "bigquery#queryRequest", |
2231 "description": "The resource type of the request.", | 2241 "description": "The resource type of the request.", |
2232 "type": "string" | 2242 "type": "string" |
2233 }, | 2243 }, |
2234 "maxResults": { | 2244 "maxResults": { |
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.", | 2245 "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.", |
2236 "format": "uint32", | 2246 "format": "uint32", |
2237 "type": "integer" | 2247 "type": "integer" |
2238 }, | 2248 }, |
2239 "parameterMode": { | 2249 "parameterMode": { |
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.", | 2250 "description": "Standard SQL only. Set to POSITIONAL to use
positional (?) query parameters or to NAMED to use named (@myparam) query parame
ters in this query.", |
2241 "type": "string" | 2251 "type": "string" |
2242 }, | 2252 }, |
2243 "preserveNulls": { | 2253 "preserveNulls": { |
2244 "description": "[Deprecated] This property is deprecated.", | 2254 "description": "[Deprecated] This property is deprecated.", |
2245 "type": "boolean" | 2255 "type": "boolean" |
2246 }, | 2256 }, |
2247 "query": { | 2257 "query": { |
2248 "annotations": { | 2258 "annotations": { |
2249 "required": [ | 2259 "required": [ |
2250 "bigquery.jobs.query" | 2260 "bigquery.jobs.query" |
2251 ] | 2261 ] |
2252 }, | 2262 }, |
2253 "description": "[Required] A query string, following the Big
Query query syntax, of the query to execute. Example: \"SELECT count(f1) FROM [m
yProjectId:myDatasetId.myTableId]\".", | 2263 "description": "[Required] A query string, following the Big
Query query syntax, of the query to execute. Example: \"SELECT count(f1) FROM [m
yProjectId:myDatasetId.myTableId]\".", |
2254 "type": "string" | 2264 "type": "string" |
2255 }, | 2265 }, |
2256 "queryParameters": { | 2266 "queryParameters": { |
2257 "description": "[Experimental] Query parameters for Standard
SQL queries.", | 2267 "description": "Query parameters for Standard SQL queries.", |
2258 "items": { | 2268 "items": { |
2259 "$ref": "QueryParameter" | 2269 "$ref": "QueryParameter" |
2260 }, | 2270 }, |
2261 "type": "array" | 2271 "type": "array" |
2262 }, | 2272 }, |
2263 "timeoutMs": { | 2273 "timeoutMs": { |
2264 "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).", | 2274 "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).", |
2265 "format": "uint32", | 2275 "format": "uint32", |
2266 "type": "integer" | 2276 "type": "integer" |
2267 }, | 2277 }, |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2299 "jobReference": { | 2309 "jobReference": { |
2300 "$ref": "JobReference", | 2310 "$ref": "JobReference", |
2301 "description": "Reference to the Job that was created to run
the query. This field will be present even if the original request timed out, i
n which case GetQueryResults can be used to read the results once the query has
completed. Since this API only returns the first page of results, subsequent pag
es can be fetched via the same mechanism (GetQueryResults)." | 2311 "description": "Reference to the Job that was created to run
the query. This field will be present even if the original request timed out, i
n which case GetQueryResults can be used to read the results once the query has
completed. Since this API only returns the first page of results, subsequent pag
es can be fetched via the same mechanism (GetQueryResults)." |
2302 }, | 2312 }, |
2303 "kind": { | 2313 "kind": { |
2304 "default": "bigquery#queryResponse", | 2314 "default": "bigquery#queryResponse", |
2305 "description": "The resource type.", | 2315 "description": "The resource type.", |
2306 "type": "string" | 2316 "type": "string" |
2307 }, | 2317 }, |
2308 "numDmlAffectedRows": { | 2318 "numDmlAffectedRows": { |
2309 "description": "[Output-only, Experimental] The number of ro
ws affected by a DML statement. Present only for DML statements INSERT, UPDATE o
r DELETE.", | 2319 "description": "[Output-only] The number of rows affected by
a DML statement. Present only for DML statements INSERT, UPDATE or DELETE.", |
2310 "format": "int64", | 2320 "format": "int64", |
2311 "type": "string" | 2321 "type": "string" |
2312 }, | 2322 }, |
2313 "pageToken": { | 2323 "pageToken": { |
2314 "description": "A token used for paging results.", | 2324 "description": "A token used for paging results.", |
2315 "type": "string" | 2325 "type": "string" |
2316 }, | 2326 }, |
2317 "rows": { | 2327 "rows": { |
2318 "description": "An object with as many results as can be con
tained within the maximum permitted reply size. To get any additional rows, you
can call GetQueryResults and specify the jobReference returned above.", | 2328 "description": "An object with as many results as can be con
tained within the maximum permitted reply size. To get any additional rows, you
can call GetQueryResults and specify the jobReference returned above.", |
2319 "items": { | 2329 "items": { |
(...skipping 444 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2764 "properties": { | 2774 "properties": { |
2765 "query": { | 2775 "query": { |
2766 "description": "[Required] A query that BigQuery executes wh
en the view is referenced.", | 2776 "description": "[Required] A query that BigQuery executes wh
en the view is referenced.", |
2767 "type": "string" | 2777 "type": "string" |
2768 }, | 2778 }, |
2769 "useLegacySql": { | 2779 "useLegacySql": { |
2770 "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.", | 2780 "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.", |
2771 "type": "boolean" | 2781 "type": "boolean" |
2772 }, | 2782 }, |
2773 "userDefinedFunctionResources": { | 2783 "userDefinedFunctionResources": { |
2774 "description": "[Experimental] Describes user-defined functi
on resources used in the query.", | 2784 "description": "Describes user-defined function resources us
ed in the query.", |
2775 "items": { | 2785 "items": { |
2776 "$ref": "UserDefinedFunctionResource" | 2786 "$ref": "UserDefinedFunctionResource" |
2777 }, | 2787 }, |
2778 "type": "array" | 2788 "type": "array" |
2779 } | 2789 } |
2780 }, | 2790 }, |
2781 "type": "object" | 2791 "type": "object" |
2782 } | 2792 } |
2783 }, | 2793 }, |
2784 "servicePath": "bigquery/v2/", | 2794 "servicePath": "bigquery/v2/", |
2785 "title": "BigQuery API", | 2795 "title": "BigQuery API", |
2786 "version": "v2" | 2796 "version": "v2" |
2787 } | 2797 } |
OLD | NEW |