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

Side by Side 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 unified diff | 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 »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // This is a generated file (see the discoveryapis_generator project). 1 // This is a generated file (see the discoveryapis_generator project).
2 2
3 library googleapis.deploymentmanager.v2; 3 library googleapis.deploymentmanager.v2;
4 4
5 import 'dart:core' as core; 5 import 'dart:core' as core;
6 import 'dart:async' as async; 6 import 'dart:async' as async;
7 import 'dart:convert' as convert; 7 import 'dart:convert' as convert;
8 8
9 import 'package:_discoveryapis_commons/_discoveryapis_commons.dart' as commons; 9 import 'package:_discoveryapis_commons/_discoveryapis_commons.dart' as commons;
10 import 'package:crypto/crypto.dart' as crypto;
11 import 'package:http/http.dart' as http; 10 import 'package:http/http.dart' as http;
12 11
13 export 'package:_discoveryapis_commons/_discoveryapis_commons.dart' show 12 export 'package:_discoveryapis_commons/_discoveryapis_commons.dart' show
14 ApiRequestError, DetailedApiRequestError; 13 ApiRequestError, DetailedApiRequestError;
15 14
16 const core.String USER_AGENT = 'dart-api-client deploymentmanager/v2'; 15 const core.String USER_AGENT = 'dart-api-client deploymentmanager/v2';
17 16
18 /** 17 /**
19 * Declares, configures, and deploys complex solutions on Google Cloud Platform. 18 * Declares, configures, and deploys complex solutions on Google Cloud Platform.
20 */ 19 */
(...skipping 1128 matching lines...) Expand 10 before | Expand all | Expand 10 after
1149 * generated value that must be provided with update(), stop(), and 1148 * generated value that must be provided with update(), stop(), and
1150 * cancelPreview() requests to perform optimistic locking. This ensures 1149 * cancelPreview() requests to perform optimistic locking. This ensures
1151 * optimistic concurrency so that only one request happens at a time. 1150 * optimistic concurrency so that only one request happens at a time.
1152 * 1151 *
1153 * The fingerprint is initially generated by Deployment Manager and changes 1152 * The fingerprint is initially generated by Deployment Manager and changes
1154 * after every request to modify data. To get the latest fingerprint value, 1153 * after every request to modify data. To get the latest fingerprint value,
1155 * perform a get() request to a deployment. 1154 * perform a get() request to a deployment.
1156 */ 1155 */
1157 core.String fingerprint; 1156 core.String fingerprint;
1158 core.List<core.int> get fingerprintAsBytes { 1157 core.List<core.int> get fingerprintAsBytes {
1159 return crypto.CryptoUtils.base64StringToBytes(fingerprint); 1158 return convert.BASE64.decode(fingerprint);
1160 } 1159 }
1161 1160
1162 void set fingerprintAsBytes(core.List<core.int> _bytes) { 1161 void set fingerprintAsBytes(core.List<core.int> _bytes) {
1163 fingerprint = crypto.CryptoUtils.bytesToBase64(_bytes, urlSafe: true); 1162 fingerprint = convert.BASE64.encode(_bytes).replaceAll("/", "_").replaceAll( "+", "-");
1164 } 1163 }
1165 /** 1164 /**
1166 * [Output Only] Unique identifier for the resource; defined by the server. 1165 * [Output Only] Unique identifier for the resource; defined by the server.
1167 */ 1166 */
1168 core.String id; 1167 core.String id;
1169 /** 1168 /**
1170 * [Output Only] Timestamp when the deployment was created, in RFC3339 text 1169 * [Output Only] Timestamp when the deployment was created, in RFC3339 text
1171 * format . 1170 * format .
1172 */ 1171 */
1173 core.String insertTime; 1172 core.String insertTime;
(...skipping 217 matching lines...) Expand 10 before | Expand all | Expand 10 after
1391 * the deployment does not have conflicting requests (e.g. if someone attempts 1390 * the deployment does not have conflicting requests (e.g. if someone attempts
1392 * to make a new update request while another user attempts to cancel a 1391 * to make a new update request while another user attempts to cancel a
1393 * preview, this would prevent one of the requests). 1392 * preview, this would prevent one of the requests).
1394 * 1393 *
1395 * The fingerprint is initially generated by Deployment Manager and changes 1394 * The fingerprint is initially generated by Deployment Manager and changes
1396 * after every request to modify a deployment. To get the latest fingerprint 1395 * after every request to modify a deployment. To get the latest fingerprint
1397 * value, perform a get() request on the deployment. 1396 * value, perform a get() request on the deployment.
1398 */ 1397 */
1399 core.String fingerprint; 1398 core.String fingerprint;
1400 core.List<core.int> get fingerprintAsBytes { 1399 core.List<core.int> get fingerprintAsBytes {
1401 return crypto.CryptoUtils.base64StringToBytes(fingerprint); 1400 return convert.BASE64.decode(fingerprint);
1402 } 1401 }
1403 1402
1404 void set fingerprintAsBytes(core.List<core.int> _bytes) { 1403 void set fingerprintAsBytes(core.List<core.int> _bytes) {
1405 fingerprint = crypto.CryptoUtils.bytesToBase64(_bytes, urlSafe: true); 1404 fingerprint = convert.BASE64.encode(_bytes).replaceAll("/", "_").replaceAll( "+", "-");
1406 } 1405 }
1407 1406
1408 DeploymentsCancelPreviewRequest(); 1407 DeploymentsCancelPreviewRequest();
1409 1408
1410 DeploymentsCancelPreviewRequest.fromJson(core.Map _json) { 1409 DeploymentsCancelPreviewRequest.fromJson(core.Map _json) {
1411 if (_json.containsKey("fingerprint")) { 1410 if (_json.containsKey("fingerprint")) {
1412 fingerprint = _json["fingerprint"]; 1411 fingerprint = _json["fingerprint"];
1413 } 1412 }
1414 } 1413 }
1415 1414
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
1463 * deployment does not have conflicting requests (e.g. if someone attempts to 1462 * deployment does not have conflicting requests (e.g. if someone attempts to
1464 * make a new update request while another user attempts to stop an ongoing 1463 * make a new update request while another user attempts to stop an ongoing
1465 * update request, this would prevent a collision). 1464 * update request, this would prevent a collision).
1466 * 1465 *
1467 * The fingerprint is initially generated by Deployment Manager and changes 1466 * The fingerprint is initially generated by Deployment Manager and changes
1468 * after every request to modify a deployment. To get the latest fingerprint 1467 * after every request to modify a deployment. To get the latest fingerprint
1469 * value, perform a get() request on the deployment. 1468 * value, perform a get() request on the deployment.
1470 */ 1469 */
1471 core.String fingerprint; 1470 core.String fingerprint;
1472 core.List<core.int> get fingerprintAsBytes { 1471 core.List<core.int> get fingerprintAsBytes {
1473 return crypto.CryptoUtils.base64StringToBytes(fingerprint); 1472 return convert.BASE64.decode(fingerprint);
1474 } 1473 }
1475 1474
1476 void set fingerprintAsBytes(core.List<core.int> _bytes) { 1475 void set fingerprintAsBytes(core.List<core.int> _bytes) {
1477 fingerprint = crypto.CryptoUtils.bytesToBase64(_bytes, urlSafe: true); 1476 fingerprint = convert.BASE64.encode(_bytes).replaceAll("/", "_").replaceAll( "+", "-");
1478 } 1477 }
1479 1478
1480 DeploymentsStopRequest(); 1479 DeploymentsStopRequest();
1481 1480
1482 DeploymentsStopRequest.fromJson(core.Map _json) { 1481 DeploymentsStopRequest.fromJson(core.Map _json) {
1483 if (_json.containsKey("fingerprint")) { 1482 if (_json.containsKey("fingerprint")) {
1484 fingerprint = _json["fingerprint"]; 1483 fingerprint = _json["fingerprint"];
1485 } 1484 }
1486 } 1485 }
1487 1486
(...skipping 1174 matching lines...) Expand 10 before | Expand all | Expand 10 after
2662 var _json = new core.Map(); 2661 var _json = new core.Map();
2663 if (nextPageToken != null) { 2662 if (nextPageToken != null) {
2664 _json["nextPageToken"] = nextPageToken; 2663 _json["nextPageToken"] = nextPageToken;
2665 } 2664 }
2666 if (types != null) { 2665 if (types != null) {
2667 _json["types"] = types.map((value) => (value).toJson()).toList(); 2666 _json["types"] = types.map((value) => (value).toJson()).toList();
2668 } 2667 }
2669 return _json; 2668 return _json;
2670 } 2669 }
2671 } 2670 }
OLDNEW
« 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