chore(json): update all apis

And bring in 5 new ones, including cloudkms.
Also update dependencies to make things compile again.
This commit is contained in:
Sebastian Thiel
2017-05-22 20:42:37 +02:00
parent 18f0cae1d0
commit 9cff808362
723 changed files with 182398 additions and 108055 deletions

View File

@@ -1,11 +1,11 @@
{
"kind": "discovery#restDescription",
"etag": "\"tbys6C40o18GZwyMen5GMkdK-3s/wyP_l3wPjLK3LUrJqeSGHNESSW0\"",
"etag": "\"YWOzh2SDasdU84ArJnpYek-OMdg/g_G3eD_OgD8-ScdUNw6NbiklXmE\"",
"discoveryVersion": "v1",
"id": "bigquery:v2",
"name": "bigquery",
"version": "v2",
"revision": "20161130",
"revision": "20170511",
"title": "BigQuery API",
"description": "A data platform for customers to create, manage, share and query data.",
"ownerDomain": "google.com",
@@ -281,7 +281,7 @@
},
"labels": {
"type": "object",
"description": "[Experimental] The labels associated with this dataset. You can use these to organize and group your datasets. You can set this property when inserting or updating a dataset. See Labeling Datasets for more information.",
"description": "The labels associated with this dataset. You can use these to organize and group your datasets. You can set this property when inserting or updating a dataset. See Labeling Datasets for more information.",
"additionalProperties": {
"type": "string"
}
@@ -293,7 +293,7 @@
},
"location": {
"type": "string",
"description": "[Experimental] The geographic location where the dataset should reside. Possible values include EU and US. The default value is US."
"description": "The geographic location where the dataset should reside. Possible values include EU and US. The default value is US."
},
"selfLink": {
"type": "string",
@@ -330,7 +330,7 @@
},
"labels": {
"type": "object",
"description": "[Experimental] The labels associated with this dataset. You can use these to organize and group your datasets.",
"description": "The labels associated with this dataset. You can use these to organize and group your datasets.",
"additionalProperties": {
"type": "string"
}
@@ -442,6 +442,10 @@
"description": "Number of records written by the stage.",
"format": "int64"
},
"status": {
"type": "string",
"description": "Current status for the stage."
},
"steps": {
"type": "array",
"description": "List of operations within the stage in dependency order (approximately chronological).",
@@ -494,7 +498,7 @@
"properties": {
"autodetect": {
"type": "boolean",
"description": "[Experimental] Try to detect schema and format options automatically. Any option specified explicitly will be honored."
"description": "Try to detect schema and format options automatically. Any option specified explicitly will be honored."
},
"bigtableOptions": {
"$ref": "BigtableOptions",
@@ -527,7 +531,7 @@
},
"sourceFormat": {
"type": "string",
"description": "[Required] The data format. For CSV files, specify \"CSV\". For Google sheets, specify \"GOOGLE_SHEETS\". For newline-delimited 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. Please contact Google Cloud Support to enable this for your project."
"description": "[Required] The data format. For CSV files, specify \"CSV\". For Google sheets, specify \"GOOGLE_SHEETS\". For newline-delimited JSON, specify \"NEWLINE_DELIMITED_JSON\". For Avro files, specify \"AVRO\". For Google Cloud Datastore backups, specify \"DATASTORE_BACKUP\". [Beta] For Google Cloud Bigtable, specify \"BIGTABLE\"."
},
"sourceUris": {
"type": "array",
@@ -572,7 +576,7 @@
},
"numDmlAffectedRows": {
"type": "string",
"description": "[Output-only, Experimental] The number of rows affected by a DML statement. Present only for DML statements INSERT, UPDATE or DELETE.",
"description": "[Output-only] The number of rows affected by a DML statement. Present only for DML statements INSERT, UPDATE or DELETE.",
"format": "int64"
},
"pageToken": {
@@ -689,7 +693,7 @@
},
"labels": {
"type": "object",
"description": "[Experimental] The labels associated with this 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 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.",
"description": "[Experimental] The labels associated with this 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 lowercase letters, numeric characters, underscores and dashes. International characters are allowed. Label values are optional. Label keys must start with a letter and each label in the list must have a different key.",
"additionalProperties": {
"type": "string"
}
@@ -756,7 +760,7 @@
},
"autodetect": {
"type": "boolean",
"description": "[Experimental] Indicates if we should automatically infer the options and schema for CSV and JSON sources."
"description": "Indicates if we should automatically infer the options and schema for CSV and JSON sources."
},
"createDisposition": {
"type": "string",
@@ -785,11 +789,11 @@
},
"nullMarker": {
"type": "string",
"description": "[Optional] This string will be interpreted as a null value when it appears in a CSV file. The default value is the empty string. Please refer to the documentation for further information."
"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 throws an error if an empty string is present for all data types except for STRING and BYTE. For STRING and BYTE columns, BigQuery interprets the empty string as an empty value."
},
"projectionFields": {
"type": "array",
"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.",
"description": "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.",
"items": {
"type": "string"
}
@@ -847,7 +851,8 @@
"properties": {
"allowLargeResults": {
"type": "boolean",
"description": "If true, allows the query to produce arbitrarily large result tables at a slight cost in performance. Requires destinationTable to be set."
"description": "[Optional] If true and query uses legacy SQL dialect, allows the query to produce arbitrarily large result tables at a slight cost in performance. Requires destinationTable to be set. For standard SQL queries, this flag is ignored and large results are always allowed.",
"default": "false"
},
"createDisposition": {
"type": "string",
@@ -863,7 +868,7 @@
},
"flattenResults": {
"type": "boolean",
"description": "[Optional] Flattens all nested and repeated fields in the query results. The default value is true. allowLargeResults must be true if this is set to false.",
"description": "[Optional] If true and query uses legacy SQL dialect, flattens all nested and repeated fields in the query results. allowLargeResults must be true if this is set to false. For standard SQL queries, this flag is ignored and results are never flattened.",
"default": "true"
},
"maximumBillingTier": {
@@ -879,7 +884,7 @@
},
"parameterMode": {
"type": "string",
"description": "[Experimental] Standard SQL only. Whether to use positional (?) or named (@myparam) query parameters in this query."
"description": "Standard SQL only. Set to POSITIONAL to use positional (?) query parameters or to NAMED to use named (@myparam) query parameters in this query."
},
"preserveNulls": {
"type": "boolean",
@@ -891,7 +896,7 @@
},
"query": {
"type": "string",
"description": "[Required] BigQuery SQL query to execute."
"description": "[Required] SQL query text to execute. The useLegacySql field can be used to indicate whether the query uses legacy SQL or standard SQL."
},
"queryParameters": {
"type": "array",
@@ -925,7 +930,7 @@
},
"userDefinedFunctionResources": {
"type": "array",
"description": "[Experimental] Describes user-defined function resources used in the query.",
"description": "Describes user-defined function resources used in the query.",
"items": {
"$ref": "UserDefinedFunctionResource"
}
@@ -1107,12 +1112,12 @@
},
"numDmlAffectedRows": {
"type": "string",
"description": "[Output-only, Experimental] The number of rows affected by a DML statement. Present only for DML statements INSERT, UPDATE or DELETE.",
"description": "[Output-only] The number of rows affected by a DML statement. Present only for DML statements INSERT, UPDATE or DELETE.",
"format": "int64"
},
"queryPlan": {
"type": "array",
"description": "[Output-only, Experimental] Describes execution plan for the query.",
"description": "[Output-only] Describes execution plan for the query.",
"items": {
"$ref": "ExplainQueryStage"
}
@@ -1390,7 +1395,7 @@
},
"parameterMode": {
"type": "string",
"description": "[Experimental] Standard SQL only. Whether to use positional (?) or named (@myparam) query parameters in this query."
"description": "Standard SQL only. Set to POSITIONAL to use positional (?) query parameters or to NAMED to use named (@myparam) query parameters in this query."
},
"preserveNulls": {
"type": "boolean",
@@ -1407,7 +1412,7 @@
},
"queryParameters": {
"type": "array",
"description": "[Experimental] Query parameters for Standard SQL queries.",
"description": "Query parameters for Standard SQL queries.",
"items": {
"$ref": "QueryParameter"
}
@@ -1459,7 +1464,7 @@
},
"numDmlAffectedRows": {
"type": "string",
"description": "[Output-only, Experimental] The number of rows affected by a DML statement. Present only for DML statements INSERT, UPDATE or DELETE.",
"description": "[Output-only] The number of rows affected by a DML statement. Present only for DML statements INSERT, UPDATE or DELETE.",
"format": "int64"
},
"pageToken": {
@@ -1551,7 +1556,7 @@
},
"labels": {
"type": "object",
"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.",
"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 lowercase letters, numeric characters, underscores and dashes. International characters are allowed. Label values are optional. Label keys must start with a letter and each label in the list must have a different key.",
"additionalProperties": {
"type": "string"
}
@@ -1728,7 +1733,7 @@
"properties": {
"description": {
"type": "string",
"description": "[Optional] The field description. The maximum length is 16K characters."
"description": "[Optional] The field description. The maximum length is 512 characters."
},
"fields": {
"type": "array",
@@ -1801,6 +1806,16 @@
"type": {
"type": "string",
"description": "The type of table. Possible values are: TABLE, VIEW."
},
"view": {
"type": "object",
"description": "Additional details for a view.",
"properties": {
"useLegacySql": {
"type": "boolean",
"description": "True if view is defined in legacy SQL dialect, false if in standard SQL."
}
}
}
}
}
@@ -1914,7 +1929,7 @@
},
"userDefinedFunctionResources": {
"type": "array",
"description": "[Experimental] Describes user-defined function resources used in the query.",
"description": "Describes user-defined function resources used in the query.",
"items": {
"$ref": "UserDefinedFunctionResource"
}
@@ -2503,6 +2518,11 @@
"required": true,
"location": "path"
},
"selectedFields": {
"type": "string",
"description": "List of fields to return (comma-separated). If unspecified, all fields are returned",
"location": "query"
},
"startIndex": {
"type": "string",
"description": "Zero-based index of the starting row to read",
@@ -2587,6 +2607,11 @@
"required": true,
"location": "path"
},
"selectedFields": {
"type": "string",
"description": "List of fields to return (comma-separated). If unspecified, all fields are returned",
"location": "query"
},
"tableId": {
"type": "string",
"description": "Table ID of the requested table",