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

Side by Side Diff: generated/googleapis/lib/cloudresourcemanager/v1.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
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.cloudresourcemanager.v1; 3 library googleapis.cloudresourcemanager.v1;
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 cloudresourcemanager/v1'; 15 const core.String USER_AGENT = 'dart-api-client cloudresourcemanager/v1';
17 16
18 /** 17 /**
19 * The Google Cloud Resource Manager API provides methods for creating, reading, 18 * The Google Cloud Resource Manager API provides methods for creating, reading,
20 * and updating project metadata. 19 * and updating project metadata.
(...skipping 582 matching lines...) Expand 10 before | Expand all | Expand 10 after
603 * strongly suggested that systems make use of the `etag` in the 602 * strongly suggested that systems make use of the `etag` in the
604 * read-modify-write cycle to perform policy updates in order to avoid race 603 * read-modify-write cycle to perform policy updates in order to avoid race
605 * conditions: An `etag` is returned in the response to `getIamPolicy`, and 604 * conditions: An `etag` is returned in the response to `getIamPolicy`, and
606 * systems are expected to put that etag in the request to `setIamPolicy` to 605 * systems are expected to put that etag in the request to `setIamPolicy` to
607 * ensure that their change will be applied to the same version of the policy. 606 * ensure that their change will be applied to the same version of the policy.
608 * If no `etag` is provided in the call to `setIamPolicy`, then the existing 607 * If no `etag` is provided in the call to `setIamPolicy`, then the existing
609 * policy is overwritten blindly. 608 * policy is overwritten blindly.
610 */ 609 */
611 core.String etag; 610 core.String etag;
612 core.List<core.int> get etagAsBytes { 611 core.List<core.int> get etagAsBytes {
613 return crypto.CryptoUtils.base64StringToBytes(etag); 612 return convert.BASE64.decode(etag);
614 } 613 }
615 614
616 void set etagAsBytes(core.List<core.int> _bytes) { 615 void set etagAsBytes(core.List<core.int> _bytes) {
617 etag = crypto.CryptoUtils.bytesToBase64(_bytes, urlSafe: true); 616 etag = convert.BASE64.encode(_bytes).replaceAll("/", "_").replaceAll("+", "- ");
618 } 617 }
619 /** Version of the `Policy`. The default version is 0. */ 618 /** Version of the `Policy`. The default version is 0. */
620 core.int version; 619 core.int version;
621 620
622 Policy(); 621 Policy();
623 622
624 Policy.fromJson(core.Map _json) { 623 Policy.fromJson(core.Map _json) {
625 if (_json.containsKey("bindings")) { 624 if (_json.containsKey("bindings")) {
626 bindings = _json["bindings"].map((value) => new Binding.fromJson(value)).t oList(); 625 bindings = _json["bindings"].map((value) => new Binding.fromJson(value)).t oList();
627 } 626 }
(...skipping 248 matching lines...) Expand 10 before | Expand all | Expand 10 after
876 UndeleteProjectRequest(); 875 UndeleteProjectRequest();
877 876
878 UndeleteProjectRequest.fromJson(core.Map _json) { 877 UndeleteProjectRequest.fromJson(core.Map _json) {
879 } 878 }
880 879
881 core.Map toJson() { 880 core.Map toJson() {
882 var _json = new core.Map(); 881 var _json = new core.Map();
883 return _json; 882 return _json;
884 } 883 }
885 } 884 }
OLDNEW
« no previous file with comments | « generated/googleapis/lib/cloudlatencytest/v2.dart ('k') | generated/googleapis/lib/compute/v1.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698