Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(227)

Side by Side Diff: discovery/googleapis/bigquery__v2.json

Issue 2281923002: Api-roll 41: 2016-08-26 (Closed) Base URL: git@github.com:dart-lang/googleapis.git@master
Patch Set: Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « discovery/googleapis/appstate__v1.json ('k') | discovery/googleapis/calendar__v3.json » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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/8OSACAptUIIUJA3qAbwY7uhPqwg\"", 35 "etag": "\"C5oy1hgQsABtYOYIOXWcR3BgYqU/Ib6OxmyUT7luxrAe5VQ1tJgZykA\"",
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 883 matching lines...) Expand 10 before | Expand all | Expand 10 after
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": "20160729", 939 "revision": "20160822",
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 688 matching lines...) Expand 10 before | Expand all | Expand 10 after
1638 "description": "[Optional] The schema for the destination ta ble. The schema can be omitted if the destination table already exists, or if yo u're loading data from Google Cloud Datastore." 1638 "description": "[Optional] The schema for the destination ta ble. The schema can be omitted if the destination table already exists, or if yo u're loading data from Google Cloud Datastore."
1639 }, 1639 },
1640 "schemaInline": { 1640 "schemaInline": {
1641 "description": "[Deprecated] The inline schema. For CSV sche mas, specify as \"Field1:Type1[,Field2:Type2]*\". For example, \"foo:STRING, bar :INTEGER, baz:FLOAT\".", 1641 "description": "[Deprecated] The inline schema. For CSV sche mas, specify as \"Field1:Type1[,Field2:Type2]*\". For example, \"foo:STRING, bar :INTEGER, baz:FLOAT\".",
1642 "type": "string" 1642 "type": "string"
1643 }, 1643 },
1644 "schemaInlineFormat": { 1644 "schemaInlineFormat": {
1645 "description": "[Deprecated] The format of the schemaInline property.", 1645 "description": "[Deprecated] The format of the schemaInline property.",
1646 "type": "string" 1646 "type": "string"
1647 }, 1647 },
1648 "schemaUpdateOptions": {
1649 "description": "[Experimental] Allows the schema of the desi tination table to be updated as a side effect of the load 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.",
1650 "items": {
1651 "type": "string"
1652 },
1653 "type": "array"
1654 },
1648 "skipLeadingRows": { 1655 "skipLeadingRows": {
1649 "description": "[Optional] The number of rows at the top of a CSV file that BigQuery will skip when loading the data. The default value is 0 . This property is useful if you have header rows in the file that should be ski pped.", 1656 "description": "[Optional] The number of rows at the top of a CSV file that BigQuery will skip when loading the data. The default value is 0 . This property is useful if you have header rows in the file that should be ski pped.",
1650 "format": "int32", 1657 "format": "int32",
1651 "type": "integer" 1658 "type": "integer"
1652 }, 1659 },
1653 "sourceFormat": { 1660 "sourceFormat": {
1654 "description": "[Optional] The format of the data files. For CSV files, specify \"CSV\". For datastore backups, specify \"DATASTORE_BACKUP\" . For newline-delimited JSON, specify \"NEWLINE_DELIMITED_JSON\". For Avro, spec ify \"AVRO\". The default value is CSV.", 1661 "description": "[Optional] The format of the data files. For CSV files, specify \"CSV\". For datastore backups, specify \"DATASTORE_BACKUP\" . For newline-delimited JSON, specify \"NEWLINE_DELIMITED_JSON\". For Avro, spec ify \"AVRO\". The default value is CSV.",
1655 "type": "string" 1662 "type": "string"
1656 }, 1663 },
1657 "sourceUris": { 1664 "sourceUris": {
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
1696 "default": "1", 1703 "default": "1",
1697 "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.", 1704 "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.",
1698 "format": "int32", 1705 "format": "int32",
1699 "type": "integer" 1706 "type": "integer"
1700 }, 1707 },
1701 "maximumBytesBilled": { 1708 "maximumBytesBilled": {
1702 "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.", 1709 "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.",
1703 "format": "int64", 1710 "format": "int64",
1704 "type": "string" 1711 "type": "string"
1705 }, 1712 },
1713 "parameterMode": {
1714 "description": "[Experimental] Standard SQL only. Whether to use positional (?) or named (@myparam) query parameters in this query.",
1715 "type": "string"
1716 },
1706 "preserveNulls": { 1717 "preserveNulls": {
1707 "description": "[Deprecated] This property is deprecated.", 1718 "description": "[Deprecated] This property is deprecated.",
1708 "type": "boolean" 1719 "type": "boolean"
1709 }, 1720 },
1710 "priority": { 1721 "priority": {
1711 "description": "[Optional] Specifies a priority for the quer y. Possible values include INTERACTIVE and BATCH. The default value is INTERACTI VE.", 1722 "description": "[Optional] Specifies a priority for the quer y. Possible values include INTERACTIVE and BATCH. The default value is INTERACTI VE.",
1712 "type": "string" 1723 "type": "string"
1713 }, 1724 },
1714 "query": { 1725 "query": {
1715 "description": "[Required] BigQuery SQL query to execute.", 1726 "description": "[Required] BigQuery SQL query to execute.",
1716 "type": "string" 1727 "type": "string"
1717 }, 1728 },
1729 "queryParameters": {
1730 "description": "[Experimental] Query parameters for Standard SQL queries.",
1731 "items": {
1732 "$ref": "QueryParameter"
1733 },
1734 "type": "array"
1735 },
1736 "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.",
1738 "items": {
1739 "type": "string"
1740 },
1741 "type": "array"
1742 },
1718 "tableDefinitions": { 1743 "tableDefinitions": {
1719 "additionalProperties": { 1744 "additionalProperties": {
1720 "$ref": "ExternalDataConfiguration" 1745 "$ref": "ExternalDataConfiguration"
1721 }, 1746 },
1722 "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.", 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.",
1723 "type": "object" 1748 "type": "object"
1724 }, 1749 },
1725 "useLegacySql": { 1750 "useLegacySql": {
1726 "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.", 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.",
1727 "type": "boolean" 1752 "type": "boolean"
(...skipping 210 matching lines...) Expand 10 before | Expand all | Expand 10 after
1938 }, 1963 },
1939 "totalBytesBilled": { 1964 "totalBytesBilled": {
1940 "description": "[Output-only] Total bytes billed for the job .", 1965 "description": "[Output-only] Total bytes billed for the job .",
1941 "format": "int64", 1966 "format": "int64",
1942 "type": "string" 1967 "type": "string"
1943 }, 1968 },
1944 "totalBytesProcessed": { 1969 "totalBytesProcessed": {
1945 "description": "[Output-only] Total bytes processed for the job.", 1970 "description": "[Output-only] Total bytes processed for the job.",
1946 "format": "int64", 1971 "format": "int64",
1947 "type": "string" 1972 "type": "string"
1973 },
1974 "undeclaredQueryParameters": {
1975 "description": "[Output-only, Experimental] Standard SQL onl y: list of undeclared query parameters detected during a dry run validation.",
1976 "items": {
1977 "$ref": "QueryParameter"
1978 },
1979 "type": "array"
1948 } 1980 }
1949 }, 1981 },
1950 "type": "object" 1982 "type": "object"
1951 }, 1983 },
1952 "JobStatistics3": { 1984 "JobStatistics3": {
1953 "id": "JobStatistics3", 1985 "id": "JobStatistics3",
1954 "properties": { 1986 "properties": {
1955 "inputFileBytes": { 1987 "inputFileBytes": {
1956 "description": "[Output-only] Number of bytes of source data in a load job.", 1988 "description": "[Output-only] Number of bytes of source data in a load job.",
1957 "format": "int64", 1989 "format": "int64",
(...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after
2080 "ProjectReference": { 2112 "ProjectReference": {
2081 "id": "ProjectReference", 2113 "id": "ProjectReference",
2082 "properties": { 2114 "properties": {
2083 "projectId": { 2115 "projectId": {
2084 "description": "[Required] ID of the project. Can be either the numeric ID or the assigned ID of the project.", 2116 "description": "[Required] ID of the project. Can be either the numeric ID or the assigned ID of the project.",
2085 "type": "string" 2117 "type": "string"
2086 } 2118 }
2087 }, 2119 },
2088 "type": "object" 2120 "type": "object"
2089 }, 2121 },
2122 "QueryParameter": {
2123 "id": "QueryParameter",
2124 "properties": {
2125 "name": {
2126 "description": "[Optional] If unset, this is a positional pa rameter. Otherwise, should be unique within a query.",
2127 "type": "string"
2128 },
2129 "parameterType": {
2130 "$ref": "QueryParameterType",
2131 "description": "[Required] The type of this parameter."
2132 },
2133 "parameterValue": {
2134 "$ref": "QueryParameterValue",
2135 "description": "[Required] The value of this parameter."
2136 }
2137 },
2138 "type": "object"
2139 },
2140 "QueryParameterType": {
2141 "id": "QueryParameterType",
2142 "properties": {
2143 "arrayType": {
2144 "$ref": "QueryParameterType",
2145 "description": "[Optional] The type of the array's elements, if this is an array."
2146 },
2147 "structTypes": {
2148 "description": "[Optional] The types of the fields of this s truct, in order, if this is a struct.",
2149 "items": {
2150 "properties": {
2151 "description": {
2152 "description": "[Optional] Human-oriented descri ption of the field.",
2153 "type": "string"
2154 },
2155 "name": {
2156 "description": "[Optional] The name of this fiel d.",
2157 "type": "string"
2158 },
2159 "type": {
2160 "$ref": "QueryParameterType",
2161 "description": "[Required] The type of this fiel d."
2162 }
2163 },
2164 "type": "object"
2165 },
2166 "type": "array"
2167 },
2168 "type": {
2169 "description": "[Required] The top level type of this field. ",
2170 "type": "string"
2171 }
2172 },
2173 "type": "object"
2174 },
2175 "QueryParameterValue": {
2176 "id": "QueryParameterValue",
2177 "properties": {
2178 "arrayValues": {
2179 "description": "[Optional] The array values, if this is an a rray type.",
2180 "items": {
2181 "$ref": "QueryParameterValue"
2182 },
2183 "type": "array"
2184 },
2185 "structValues": {
2186 "description": "[Optional] The struct field values, in order of the struct type's declaration.",
2187 "items": {
2188 "$ref": "QueryParameterValue"
2189 },
2190 "type": "array"
2191 },
2192 "value": {
2193 "description": "[Optional] The value of this value, if a sim ple scalar type.",
2194 "type": "string"
2195 }
2196 },
2197 "type": "object"
2198 },
2090 "QueryRequest": { 2199 "QueryRequest": {
2091 "id": "QueryRequest", 2200 "id": "QueryRequest",
2092 "properties": { 2201 "properties": {
2093 "defaultDataset": { 2202 "defaultDataset": {
2094 "$ref": "DatasetReference", 2203 "$ref": "DatasetReference",
2095 "description": "[Optional] Specifies the default datasetId a nd projectId to assume for any unqualified table names in the query. If not set, all table names in the query string must be qualified in the format 'datasetId. tableId'." 2204 "description": "[Optional] Specifies the default datasetId a nd projectId to assume for any unqualified table names in the query. If not set, all table names in the query string must be qualified in the format 'datasetId. tableId'."
2096 }, 2205 },
2097 "dryRun": { 2206 "dryRun": {
2098 "description": "[Optional] If set to true, BigQuery doesn't run the job. Instead, if the query is valid, BigQuery returns statistics about t he job such as how many bytes would be processed. If the query is invalid, an er ror returns. The default value is false.", 2207 "description": "[Optional] If set to true, BigQuery doesn't run the job. Instead, if the query is valid, BigQuery returns statistics about t he job such as how many bytes would be processed. If the query is invalid, an er ror returns. The default value is false.",
2099 "type": "boolean" 2208 "type": "boolean"
2100 }, 2209 },
2101 "kind": { 2210 "kind": {
2102 "default": "bigquery#queryRequest", 2211 "default": "bigquery#queryRequest",
2103 "description": "The resource type of the request.", 2212 "description": "The resource type of the request.",
2104 "type": "string" 2213 "type": "string"
2105 }, 2214 },
2106 "maxResults": { 2215 "maxResults": {
2107 "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.", 2216 "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.",
2108 "format": "uint32", 2217 "format": "uint32",
2109 "type": "integer" 2218 "type": "integer"
2110 }, 2219 },
2220 "parameterMode": {
2221 "description": "[Experimental] Standard SQL only. Whether to use positional (?) or named (@myparam) query parameters in this query.",
2222 "type": "string"
2223 },
2111 "preserveNulls": { 2224 "preserveNulls": {
2112 "description": "[Deprecated] This property is deprecated.", 2225 "description": "[Deprecated] This property is deprecated.",
2113 "type": "boolean" 2226 "type": "boolean"
2114 }, 2227 },
2115 "query": { 2228 "query": {
2116 "annotations": { 2229 "annotations": {
2117 "required": [ 2230 "required": [
2118 "bigquery.jobs.query" 2231 "bigquery.jobs.query"
2119 ] 2232 ]
2120 }, 2233 },
2121 "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]\".", 2234 "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]\".",
2122 "type": "string" 2235 "type": "string"
2123 }, 2236 },
2237 "queryParameters": {
2238 "description": "[Experimental] Query parameters for Standard SQL queries.",
2239 "items": {
2240 "$ref": "QueryParameter"
2241 },
2242 "type": "array"
2243 },
2124 "timeoutMs": { 2244 "timeoutMs": {
2125 "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).", 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).",
2126 "format": "uint32", 2246 "format": "uint32",
2127 "type": "integer" 2247 "type": "integer"
2128 }, 2248 },
2129 "useLegacySql": { 2249 "useLegacySql": {
2250 "default": "true",
2130 "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.", 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.",
2131 "type": "boolean" 2252 "type": "boolean"
2132 }, 2253 },
2133 "useQueryCache": { 2254 "useQueryCache": {
2134 "default": "true", 2255 "default": "true",
2135 "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.", 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.",
2136 "type": "boolean" 2257 "type": "boolean"
2137 } 2258 }
2138 }, 2259 },
2139 "type": "object" 2260 "type": "object"
(...skipping 474 matching lines...) Expand 10 before | Expand all | Expand 10 after
2614 "type": "array" 2735 "type": "array"
2615 } 2736 }
2616 }, 2737 },
2617 "type": "object" 2738 "type": "object"
2618 } 2739 }
2619 }, 2740 },
2620 "servicePath": "bigquery/v2/", 2741 "servicePath": "bigquery/v2/",
2621 "title": "BigQuery API", 2742 "title": "BigQuery API",
2622 "version": "v2" 2743 "version": "v2"
2623 } 2744 }
OLDNEW
« no previous file with comments | « discovery/googleapis/appstate__v1.json ('k') | discovery/googleapis/calendar__v3.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698