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

Unified Diff: generated/googleapis/lib/deploymentmanager/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/content/v2.dart ('k') | generated/googleapis/lib/drive/v2.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: generated/googleapis/lib/deploymentmanager/v2.dart
diff --git a/generated/googleapis/lib/deploymentmanager/v2.dart b/generated/googleapis/lib/deploymentmanager/v2.dart
index 0dd19118ccb80676f910f013cdcde88974bc8b24..84a988683d876cfa34864140b69884f3395ae27b 100644
--- a/generated/googleapis/lib/deploymentmanager/v2.dart
+++ b/generated/googleapis/lib/deploymentmanager/v2.dart
@@ -7,7 +7,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
@@ -1156,11 +1155,11 @@ class Deployment {
*/
core.String fingerprint;
core.List<core.int> get fingerprintAsBytes {
- return crypto.CryptoUtils.base64StringToBytes(fingerprint);
+ return convert.BASE64.decode(fingerprint);
}
void set fingerprintAsBytes(core.List<core.int> _bytes) {
- fingerprint = crypto.CryptoUtils.bytesToBase64(_bytes, urlSafe: true);
+ fingerprint = convert.BASE64.encode(_bytes).replaceAll("/", "_").replaceAll("+", "-");
}
/**
* [Output Only] Unique identifier for the resource; defined by the server.
@@ -1398,11 +1397,11 @@ class DeploymentsCancelPreviewRequest {
*/
core.String fingerprint;
core.List<core.int> get fingerprintAsBytes {
- return crypto.CryptoUtils.base64StringToBytes(fingerprint);
+ return convert.BASE64.decode(fingerprint);
}
void set fingerprintAsBytes(core.List<core.int> _bytes) {
- fingerprint = crypto.CryptoUtils.bytesToBase64(_bytes, urlSafe: true);
+ fingerprint = convert.BASE64.encode(_bytes).replaceAll("/", "_").replaceAll("+", "-");
}
DeploymentsCancelPreviewRequest();
@@ -1470,11 +1469,11 @@ class DeploymentsStopRequest {
*/
core.String fingerprint;
core.List<core.int> get fingerprintAsBytes {
- return crypto.CryptoUtils.base64StringToBytes(fingerprint);
+ return convert.BASE64.decode(fingerprint);
}
void set fingerprintAsBytes(core.List<core.int> _bytes) {
- fingerprint = crypto.CryptoUtils.bytesToBase64(_bytes, urlSafe: true);
+ fingerprint = convert.BASE64.encode(_bytes).replaceAll("/", "_").replaceAll("+", "-");
}
DeploymentsStopRequest();
« no previous file with comments | « generated/googleapis/lib/content/v2.dart ('k') | generated/googleapis/lib/drive/v2.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698