on develop help sign in
Updating bigquery service definition
a042255Brendan Hay
gen/model/bigquery/v2/bigquery-api.json+34−8
@@ -1,11 +1,11 @@
1{
1{
2 "kind": "discovery#restDescription",
2 "kind": "discovery#restDescription",
3− "etag": "\"C5oy1hgQsABtYOYIOXWcR3BgYqU/v5KMn4eNX1u6f2QZ4MK3wTA9qok\"",
3+ "etag": "\"tbys6C40o18GZwyMen5GMkdK-3s/8QZR0WZ1-NVsTgfIYMT8jh3XhtQ\"",
4 "discoveryVersion": "v1",
4 "discoveryVersion": "v1",
5 "id": "bigquery:v2",
5 "id": "bigquery:v2",
6 "name": "bigquery",
6 "name": "bigquery",
7 "version": "v2",
7 "version": "v2",
8− "revision": "20161016",
8+ "revision": "20170114",
9 "title": "BigQuery API",
9 "title": "BigQuery API",
10 "description": "A data platform for customers to create, manage, share and query data.",
10 "description": "A data platform for customers to create, manage, share and query data.",
11 "ownerDomain": "google.com",
11 "ownerDomain": "google.com",
@@ -442,6 +442,10 @@
442 "description": "Number of records written by the stage.",
442 "description": "Number of records written by the stage.",
443 "format": "int64"
443 "format": "int64"
444 },
444 },
445+ "status": {
446+ "type": "string",
447+ "description": "Current status for the stage."
448+ },
445 "steps": {
449 "steps": {
446 "type": "array",
450 "type": "array",
447 "description": "List of operations within the stage in dependency order (approximately chronological).",
451 "description": "List of operations within the stage in dependency order (approximately chronological).",
@@ -783,6 +787,10 @@
783 "description": "[Optional] The maximum number of bad records that BigQuery can ignore when running the job. If the number of bad records exceeds this value, an invalid error is returned in the job result. The default value is 0, which requires that all records are valid.",
787 "description": "[Optional] The maximum number of bad records that BigQuery can ignore when running the job. If the number of bad records exceeds this value, an invalid error is returned in the job result. The default value is 0, which requires that all records are valid.",
784 "format": "int32"
788 "format": "int32"
785 },
789 },
790+ "nullMarker": {
791+ "type": "string",
792+ "description": "[Optional] Specifies a string that represents a null value in a CSV file. For example, if you specify \"\\N\", BigQuery interprets \"\\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 interprets the empty string as a null value for all data types except for STRING and BYTE. For STRING and BYTE columns, BigQuery interprets the empty string as an empty value."
793+ },
786 "projectionFields": {
794 "projectionFields": {
787 "type": "array",
795 "type": "array",
788 "description": "[Experimental] If sourceFormat is set to \"DATASTORE_BACKUP\", indicates which entity properties to load into BigQuery from a Cloud Datastore backup. Property names are case sensitive and must be top-level 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 is returned in the job result.",
796 "description": "[Experimental] If sourceFormat is set to \"DATASTORE_BACKUP\", indicates which entity properties to load into BigQuery from a Cloud Datastore backup. Property names are case sensitive and must be top-level 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 is returned in the job result.",
@@ -875,7 +883,7 @@
875 },
883 },
876 "parameterMode": {
884 "parameterMode": {
877 "type": "string",
885 "type": "string",
878− "description": "[Experimental] Standard SQL only. Whether to use positional (?) or named (@myparam) query parameters in this query."
886+ "description": "[Experimental] Standard SQL only. Set to POSITIONAL to use positional (?) query parameters or to NAMED to use named (@myparam) query parameters in this query."
879 },
887 },
880 "preserveNulls": {
888 "preserveNulls": {
881 "type": "boolean",
889 "type": "boolean",
@@ -912,7 +920,7 @@
912 },
920 },
913 "useLegacySql": {
921 "useLegacySql": {
914 "type": "boolean",
922 "type": "boolean",
915− "description": "[Experimental] Specifies whether to use BigQuery's legacy SQL 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-reference/ When useLegacySql is set to false, the values of allowLargeResults and flattenResults are ignored; query will be run as if allowLargeResults is true and flattenResults is false."
923+ "description": "Specifies whether to use BigQuery's legacy SQL 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-reference/ When useLegacySql is set to false, the values of allowLargeResults and flattenResults are ignored; query will be run as if allowLargeResults is true and flattenResults is false."
916 },
924 },
917 "useQueryCache": {
925 "useQueryCache": {
918 "type": "boolean",
926 "type": "boolean",
@@ -1124,6 +1132,10 @@
1124 "$ref": "TableSchema",
1132 "$ref": "TableSchema",
1125 "description": "[Output-only, Experimental] The schema of the results. Present only for successful dry run of non-legacy SQL queries."
1133 "description": "[Output-only, Experimental] The schema of the results. Present only for successful dry run of non-legacy SQL queries."
1126 },
1134 },
1135+ "statementType": {
1136+ "type": "string",
1137+ "description": "[Output-only, Experimental] The type of query statement, if valid."
1138+ },
1127 "totalBytesBilled": {
1139 "totalBytesBilled": {
1128 "type": "string",
1140 "type": "string",
1129 "description": "[Output-only] Total bytes billed for the job.",
1141 "description": "[Output-only] Total bytes billed for the job.",
@@ -1382,7 +1394,7 @@
1382 },
1394 },
1383 "parameterMode": {
1395 "parameterMode": {
1384 "type": "string",
1396 "type": "string",
1385− "description": "[Experimental] Standard SQL only. Whether to use positional (?) or named (@myparam) query parameters in this query."
1397+ "description": "[Experimental] Standard SQL only. Set to POSITIONAL to use positional (?) query parameters or to NAMED to use named (@myparam) query parameters in this query."
1386 },
1398 },
1387 "preserveNulls": {
1399 "preserveNulls": {
1388 "type": "boolean",
1400 "type": "boolean",
@@ -1411,7 +1423,7 @@
1411 },
1423 },
1412 "useLegacySql": {
1424 "useLegacySql": {
1413 "type": "boolean",
1425 "type": "boolean",
1414− "description": "[Experimental] Specifies whether to use BigQuery's legacy SQL 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-reference/ When useLegacySql is set to false, the values of allowLargeResults and flattenResults are ignored; query will be run as if allowLargeResults is true and flattenResults is false.",
1426+ "description": "Specifies whether to use BigQuery's legacy SQL 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-reference/ When useLegacySql is set to false, the values of allowLargeResults and flattenResults are ignored; query will be run as if allowLargeResults is true and flattenResults is false.",
1415 "default": "true"
1427 "default": "true"
1416 },
1428 },
1417 "useQueryCache": {
1429 "useQueryCache": {
@@ -1541,6 +1553,13 @@
1541 "description": "[Output-only] The type of the resource.",
1553 "description": "[Output-only] The type of the resource.",
1542 "default": "bigquery#table"
1554 "default": "bigquery#table"
1543 },
1555 },
1556+ "labels": {
1557+ "type": "object",
1558+ "description": "[Experimental] The labels associated with this table. You can use these to organize and group your tables. Label keys and values can be no longer than 63 characters, can only contain letters, numeric characters, underscores and dashes. International characters are allowed. Label values are optional. Label keys must start with a letter and must be unique within a dataset. Both keys and values are additionally constrained to be \u003c= 128 bytes in size.",
1559+ "additionalProperties": {
1560+ "type": "string"
1561+ }
1562+ },
1544 "lastModifiedTime": {
1563 "lastModifiedTime": {
1545 "type": "string",
1564 "type": "string",
1546 "description": "[Output-only] The time when this table was last modified, in milliseconds since the epoch.",
1565 "description": "[Output-only] The time when this table was last modified, in milliseconds since the epoch.",
@@ -1732,7 +1751,7 @@
1732 },
1751 },
1733 "type": {
1752 "type": {
1734 "type": "string",
1753 "type": "string",
1735− "description": "[Required] The field data type. Possible values include STRING, BYTES, INTEGER, FLOAT, BOOLEAN, TIMESTAMP, DATE, TIME, DATETIME, or RECORD (where RECORD indicates that the field contains a nested schema)."
1754+ "description": "[Required] The field data type. Possible values include STRING, BYTES, INTEGER, INT64 (same as INTEGER), FLOAT, FLOAT64 (same as FLOAT), BOOLEAN, BOOL (same as BOOLEAN), TIMESTAMP, DATE, TIME, DATETIME, RECORD (where RECORD indicates that the field contains a nested schema) or STRUCT (same as RECORD)."
1736 }
1755 }
1737 }
1756 }
1738 },
1757 },
@@ -1772,6 +1791,13 @@
1772 "description": "The resource type.",
1791 "description": "The resource type.",
1773 "default": "bigquery#table"
1792 "default": "bigquery#table"
1774 },
1793 },
1794+ "labels": {
1795+ "type": "object",
1796+ "description": "[Experimental] The labels associated with this table. You can use these to organize and group your tables.",
1797+ "additionalProperties": {
1798+ "type": "string"
1799+ }
1800+ },
1775 "tableReference": {
1801 "tableReference": {
1776 "$ref": "TableReference",
1802 "$ref": "TableReference",
1777 "description": "A reference uniquely identifying the table."
1803 "description": "A reference uniquely identifying the table."
@@ -1888,7 +1914,7 @@
1888 },
1914 },
1889 "useLegacySql": {
1915 "useLegacySql": {
1890 "type": "boolean",
1916 "type": "boolean",
1891− "description": "[Experimental] Specifies whether to use BigQuery'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-reference/ Queries and views that reference this view must use the same flag value."
1917+ "description": "Specifies whether to use BigQuery'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-reference/ Queries and views that reference this view must use the same flag value."
1892 },
1918 },
1893 "userDefinedFunctionResources": {
1919 "userDefinedFunctionResources": {
1894 "type": "array",
1920 "type": "array",