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

Unified Diff: generated/googleapis/lib/bigquery/v2.dart

Issue 2039113004: Api-roll 37: 2016-06-06 (Closed) Base URL: git@github.com:dart-lang/googleapis.git@master
Patch Set: Created 4 years, 6 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « generated/googleapis/lib/androidenterprise/v1.dart ('k') | generated/googleapis/lib/books/v1.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: generated/googleapis/lib/bigquery/v2.dart
diff --git a/generated/googleapis/lib/bigquery/v2.dart b/generated/googleapis/lib/bigquery/v2.dart
index 7cb74f81bb1c9ca8a69cad7f893157b1836c1a39..2189ef00805cfefef811588cb979f0aa4a2a69aa 100644
--- a/generated/googleapis/lib/bigquery/v2.dart
+++ b/generated/googleapis/lib/bigquery/v2.dart
@@ -8,7 +8,6 @@ import 'dart:async' as async;
import 'dart:convert' as convert;
import 'package:_discoveryapis_commons/_discoveryapis_commons.dart' as commons;
-import 'package:crypto/crypto.dart' as crypto;
import 'package:http/http.dart' as http;
export 'package:_discoveryapis_commons/_discoveryapis_commons.dart' show
@@ -1256,11 +1255,11 @@ class BigtableColumn {
*/
core.String qualifierEncoded;
core.List<core.int> get qualifierEncodedAsBytes {
- return crypto.CryptoUtils.base64StringToBytes(qualifierEncoded);
+ return convert.BASE64.decode(qualifierEncoded);
}
void set qualifierEncodedAsBytes(core.List<core.int> _bytes) {
- qualifierEncoded = crypto.CryptoUtils.bytesToBase64(_bytes, urlSafe: true);
+ qualifierEncoded = convert.BASE64.encode(_bytes).replaceAll("/", "_").replaceAll("+", "-");
}
core.String qualifierString;
/**
@@ -4868,6 +4867,13 @@ class ViewDefinition {
/** [Required] A query that BigQuery executes when the view is referenced. */
core.String query;
/**
+ * [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.
+ */
+ core.bool useLegacySql;
+ /**
* [Experimental] Describes user-defined function resources used in the query.
*/
core.List<UserDefinedFunctionResource> userDefinedFunctionResources;
@@ -4878,6 +4884,9 @@ class ViewDefinition {
if (_json.containsKey("query")) {
query = _json["query"];
}
+ if (_json.containsKey("useLegacySql")) {
+ useLegacySql = _json["useLegacySql"];
+ }
if (_json.containsKey("userDefinedFunctionResources")) {
userDefinedFunctionResources = _json["userDefinedFunctionResources"].map((value) => new UserDefinedFunctionResource.fromJson(value)).toList();
}
@@ -4888,6 +4897,9 @@ class ViewDefinition {
if (query != null) {
_json["query"] = query;
}
+ if (useLegacySql != null) {
+ _json["useLegacySql"] = useLegacySql;
+ }
if (userDefinedFunctionResources != null) {
_json["userDefinedFunctionResources"] = userDefinedFunctionResources.map((value) => (value).toJson()).toList();
}
« no previous file with comments | « generated/googleapis/lib/androidenterprise/v1.dart ('k') | generated/googleapis/lib/books/v1.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698