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

Side by Side Diff: generated/googleapis_beta/lib/replicapoolupdater/v1beta1.dart

Issue 2936613002: Api-Roll 50: 2017-06-12 (Closed)
Patch Set: Created 3 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_beta.replicapoolupdater.v1beta1; 3 library googleapis_beta.replicapoolupdater.v1beta1;
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:http/http.dart' as http; 10 import 'package:http/http.dart' as http;
(...skipping 629 matching lines...) Expand 10 before | Expand all | Expand 10 after
640 code = _json["code"]; 640 code = _json["code"];
641 } 641 }
642 if (_json.containsKey("location")) { 642 if (_json.containsKey("location")) {
643 location = _json["location"]; 643 location = _json["location"];
644 } 644 }
645 if (_json.containsKey("message")) { 645 if (_json.containsKey("message")) {
646 message = _json["message"]; 646 message = _json["message"];
647 } 647 }
648 } 648 }
649 649
650 core.Map toJson() { 650 core.Map<core.String, core.Object> toJson() {
651 var _json = new core.Map(); 651 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
652 if (code != null) { 652 if (code != null) {
653 _json["code"] = code; 653 _json["code"] = code;
654 } 654 }
655 if (location != null) { 655 if (location != null) {
656 _json["location"] = location; 656 _json["location"] = location;
657 } 657 }
658 if (message != null) { 658 if (message != null) {
659 _json["message"] = message; 659 _json["message"] = message;
660 } 660 }
661 return _json; 661 return _json;
662 } 662 }
663 } 663 }
664 664
665 /** Errors that occurred during the instance update. */ 665 /** Errors that occurred during the instance update. */
666 class InstanceUpdateError { 666 class InstanceUpdateError {
667 /** 667 /**
668 * [Output Only] The array of errors encountered while processing this 668 * [Output Only] The array of errors encountered while processing this
669 * operation. 669 * operation.
670 */ 670 */
671 core.List<InstanceUpdateErrorErrors> errors; 671 core.List<InstanceUpdateErrorErrors> errors;
672 672
673 InstanceUpdateError(); 673 InstanceUpdateError();
674 674
675 InstanceUpdateError.fromJson(core.Map _json) { 675 InstanceUpdateError.fromJson(core.Map _json) {
676 if (_json.containsKey("errors")) { 676 if (_json.containsKey("errors")) {
677 errors = _json["errors"].map((value) => new InstanceUpdateErrorErrors.from Json(value)).toList(); 677 errors = _json["errors"].map((value) => new InstanceUpdateErrorErrors.from Json(value)).toList();
678 } 678 }
679 } 679 }
680 680
681 core.Map toJson() { 681 core.Map<core.String, core.Object> toJson() {
682 var _json = new core.Map(); 682 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
683 if (errors != null) { 683 if (errors != null) {
684 _json["errors"] = errors.map((value) => (value).toJson()).toList(); 684 _json["errors"] = errors.map((value) => (value).toJson()).toList();
685 } 685 }
686 return _json; 686 return _json;
687 } 687 }
688 } 688 }
689 689
690 /** Update of a single instance. */ 690 /** Update of a single instance. */
691 class InstanceUpdate { 691 class InstanceUpdate {
692 /** Errors that occurred during the instance update. */ 692 /** Errors that occurred during the instance update. */
(...skipping 22 matching lines...) Expand all
715 error = new InstanceUpdateError.fromJson(_json["error"]); 715 error = new InstanceUpdateError.fromJson(_json["error"]);
716 } 716 }
717 if (_json.containsKey("instance")) { 717 if (_json.containsKey("instance")) {
718 instance = _json["instance"]; 718 instance = _json["instance"];
719 } 719 }
720 if (_json.containsKey("status")) { 720 if (_json.containsKey("status")) {
721 status = _json["status"]; 721 status = _json["status"];
722 } 722 }
723 } 723 }
724 724
725 core.Map toJson() { 725 core.Map<core.String, core.Object> toJson() {
726 var _json = new core.Map(); 726 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
727 if (error != null) { 727 if (error != null) {
728 _json["error"] = (error).toJson(); 728 _json["error"] = (error).toJson();
729 } 729 }
730 if (instance != null) { 730 if (instance != null) {
731 _json["instance"] = instance; 731 _json["instance"] = instance;
732 } 732 }
733 if (status != null) { 733 if (status != null) {
734 _json["status"] = status; 734 _json["status"] = status;
735 } 735 }
736 return _json; 736 return _json;
(...skipping 21 matching lines...) Expand all
758 kind = _json["kind"]; 758 kind = _json["kind"];
759 } 759 }
760 if (_json.containsKey("nextPageToken")) { 760 if (_json.containsKey("nextPageToken")) {
761 nextPageToken = _json["nextPageToken"]; 761 nextPageToken = _json["nextPageToken"];
762 } 762 }
763 if (_json.containsKey("selfLink")) { 763 if (_json.containsKey("selfLink")) {
764 selfLink = _json["selfLink"]; 764 selfLink = _json["selfLink"];
765 } 765 }
766 } 766 }
767 767
768 core.Map toJson() { 768 core.Map<core.String, core.Object> toJson() {
769 var _json = new core.Map(); 769 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
770 if (items != null) { 770 if (items != null) {
771 _json["items"] = items.map((value) => (value).toJson()).toList(); 771 _json["items"] = items.map((value) => (value).toJson()).toList();
772 } 772 }
773 if (kind != null) { 773 if (kind != null) {
774 _json["kind"] = kind; 774 _json["kind"] = kind;
775 } 775 }
776 if (nextPageToken != null) { 776 if (nextPageToken != null) {
777 _json["nextPageToken"] = nextPageToken; 777 _json["nextPageToken"] = nextPageToken;
778 } 778 }
779 if (selfLink != null) { 779 if (selfLink != null) {
(...skipping 21 matching lines...) Expand all
801 code = _json["code"]; 801 code = _json["code"];
802 } 802 }
803 if (_json.containsKey("location")) { 803 if (_json.containsKey("location")) {
804 location = _json["location"]; 804 location = _json["location"];
805 } 805 }
806 if (_json.containsKey("message")) { 806 if (_json.containsKey("message")) {
807 message = _json["message"]; 807 message = _json["message"];
808 } 808 }
809 } 809 }
810 810
811 core.Map toJson() { 811 core.Map<core.String, core.Object> toJson() {
812 var _json = new core.Map(); 812 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
813 if (code != null) { 813 if (code != null) {
814 _json["code"] = code; 814 _json["code"] = code;
815 } 815 }
816 if (location != null) { 816 if (location != null) {
817 _json["location"] = location; 817 _json["location"] = location;
818 } 818 }
819 if (message != null) { 819 if (message != null) {
820 _json["message"] = message; 820 _json["message"] = message;
821 } 821 }
822 return _json; 822 return _json;
(...skipping 12 matching lines...) Expand all
835 core.List<OperationErrorErrors> errors; 835 core.List<OperationErrorErrors> errors;
836 836
837 OperationError(); 837 OperationError();
838 838
839 OperationError.fromJson(core.Map _json) { 839 OperationError.fromJson(core.Map _json) {
840 if (_json.containsKey("errors")) { 840 if (_json.containsKey("errors")) {
841 errors = _json["errors"].map((value) => new OperationErrorErrors.fromJson( value)).toList(); 841 errors = _json["errors"].map((value) => new OperationErrorErrors.fromJson( value)).toList();
842 } 842 }
843 } 843 }
844 844
845 core.Map toJson() { 845 core.Map<core.String, core.Object> toJson() {
846 var _json = new core.Map(); 846 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
847 if (errors != null) { 847 if (errors != null) {
848 _json["errors"] = errors.map((value) => (value).toJson()).toList(); 848 _json["errors"] = errors.map((value) => (value).toJson()).toList();
849 } 849 }
850 return _json; 850 return _json;
851 } 851 }
852 } 852 }
853 853
854 class OperationWarningsData { 854 class OperationWarningsData {
855 /** [Output Only] Metadata key for this warning. */ 855 /** [Output Only] Metadata key for this warning. */
856 core.String key; 856 core.String key;
857 /** [Output Only] Metadata value for this warning. */ 857 /** [Output Only] Metadata value for this warning. */
858 core.String value; 858 core.String value;
859 859
860 OperationWarningsData(); 860 OperationWarningsData();
861 861
862 OperationWarningsData.fromJson(core.Map _json) { 862 OperationWarningsData.fromJson(core.Map _json) {
863 if (_json.containsKey("key")) { 863 if (_json.containsKey("key")) {
864 key = _json["key"]; 864 key = _json["key"];
865 } 865 }
866 if (_json.containsKey("value")) { 866 if (_json.containsKey("value")) {
867 value = _json["value"]; 867 value = _json["value"];
868 } 868 }
869 } 869 }
870 870
871 core.Map toJson() { 871 core.Map<core.String, core.Object> toJson() {
872 var _json = new core.Map(); 872 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
873 if (key != null) { 873 if (key != null) {
874 _json["key"] = key; 874 _json["key"] = key;
875 } 875 }
876 if (value != null) { 876 if (value != null) {
877 _json["value"] = value; 877 _json["value"] = value;
878 } 878 }
879 return _json; 879 return _json;
880 } 880 }
881 } 881 }
882 882
(...skipping 12 matching lines...) Expand all
895 code = _json["code"]; 895 code = _json["code"];
896 } 896 }
897 if (_json.containsKey("data")) { 897 if (_json.containsKey("data")) {
898 data = _json["data"].map((value) => new OperationWarningsData.fromJson(val ue)).toList(); 898 data = _json["data"].map((value) => new OperationWarningsData.fromJson(val ue)).toList();
899 } 899 }
900 if (_json.containsKey("message")) { 900 if (_json.containsKey("message")) {
901 message = _json["message"]; 901 message = _json["message"];
902 } 902 }
903 } 903 }
904 904
905 core.Map toJson() { 905 core.Map<core.String, core.Object> toJson() {
906 var _json = new core.Map(); 906 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
907 if (code != null) { 907 if (code != null) {
908 _json["code"] = code; 908 _json["code"] = code;
909 } 909 }
910 if (data != null) { 910 if (data != null) {
911 _json["data"] = data.map((value) => (value).toJson()).toList(); 911 _json["data"] = data.map((value) => (value).toJson()).toList();
912 } 912 }
913 if (message != null) { 913 if (message != null) {
914 _json["message"] = message; 914 _json["message"] = message;
915 } 915 }
916 return _json; 916 return _json;
(...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after
1043 user = _json["user"]; 1043 user = _json["user"];
1044 } 1044 }
1045 if (_json.containsKey("warnings")) { 1045 if (_json.containsKey("warnings")) {
1046 warnings = _json["warnings"].map((value) => new OperationWarnings.fromJson (value)).toList(); 1046 warnings = _json["warnings"].map((value) => new OperationWarnings.fromJson (value)).toList();
1047 } 1047 }
1048 if (_json.containsKey("zone")) { 1048 if (_json.containsKey("zone")) {
1049 zone = _json["zone"]; 1049 zone = _json["zone"];
1050 } 1050 }
1051 } 1051 }
1052 1052
1053 core.Map toJson() { 1053 core.Map<core.String, core.Object> toJson() {
1054 var _json = new core.Map(); 1054 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
1055 if (clientOperationId != null) { 1055 if (clientOperationId != null) {
1056 _json["clientOperationId"] = clientOperationId; 1056 _json["clientOperationId"] = clientOperationId;
1057 } 1057 }
1058 if (creationTimestamp != null) { 1058 if (creationTimestamp != null) {
1059 _json["creationTimestamp"] = creationTimestamp; 1059 _json["creationTimestamp"] = creationTimestamp;
1060 } 1060 }
1061 if (endTime != null) { 1061 if (endTime != null) {
1062 _json["endTime"] = endTime; 1062 _json["endTime"] = endTime;
1063 } 1063 }
1064 if (error != null) { 1064 if (error != null) {
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after
1153 kind = _json["kind"]; 1153 kind = _json["kind"];
1154 } 1154 }
1155 if (_json.containsKey("nextPageToken")) { 1155 if (_json.containsKey("nextPageToken")) {
1156 nextPageToken = _json["nextPageToken"]; 1156 nextPageToken = _json["nextPageToken"];
1157 } 1157 }
1158 if (_json.containsKey("selfLink")) { 1158 if (_json.containsKey("selfLink")) {
1159 selfLink = _json["selfLink"]; 1159 selfLink = _json["selfLink"];
1160 } 1160 }
1161 } 1161 }
1162 1162
1163 core.Map toJson() { 1163 core.Map<core.String, core.Object> toJson() {
1164 var _json = new core.Map(); 1164 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
1165 if (id != null) { 1165 if (id != null) {
1166 _json["id"] = id; 1166 _json["id"] = id;
1167 } 1167 }
1168 if (items != null) { 1168 if (items != null) {
1169 _json["items"] = items.map((value) => (value).toJson()).toList(); 1169 _json["items"] = items.map((value) => (value).toJson()).toList();
1170 } 1170 }
1171 if (kind != null) { 1171 if (kind != null) {
1172 _json["kind"] = kind; 1172 _json["kind"] = kind;
1173 } 1173 }
1174 if (nextPageToken != null) { 1174 if (nextPageToken != null) {
(...skipping 24 matching lines...) Expand all
1199 code = _json["code"]; 1199 code = _json["code"];
1200 } 1200 }
1201 if (_json.containsKey("location")) { 1201 if (_json.containsKey("location")) {
1202 location = _json["location"]; 1202 location = _json["location"];
1203 } 1203 }
1204 if (_json.containsKey("message")) { 1204 if (_json.containsKey("message")) {
1205 message = _json["message"]; 1205 message = _json["message"];
1206 } 1206 }
1207 } 1207 }
1208 1208
1209 core.Map toJson() { 1209 core.Map<core.String, core.Object> toJson() {
1210 var _json = new core.Map(); 1210 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
1211 if (code != null) { 1211 if (code != null) {
1212 _json["code"] = code; 1212 _json["code"] = code;
1213 } 1213 }
1214 if (location != null) { 1214 if (location != null) {
1215 _json["location"] = location; 1215 _json["location"] = location;
1216 } 1216 }
1217 if (message != null) { 1217 if (message != null) {
1218 _json["message"] = message; 1218 _json["message"] = message;
1219 } 1219 }
1220 return _json; 1220 return _json;
1221 } 1221 }
1222 } 1222 }
1223 1223
1224 /** [Output Only] Errors that occurred during the rolling update. */ 1224 /** [Output Only] Errors that occurred during the rolling update. */
1225 class RollingUpdateError { 1225 class RollingUpdateError {
1226 /** 1226 /**
1227 * [Output Only] The array of errors encountered while processing this 1227 * [Output Only] The array of errors encountered while processing this
1228 * operation. 1228 * operation.
1229 */ 1229 */
1230 core.List<RollingUpdateErrorErrors> errors; 1230 core.List<RollingUpdateErrorErrors> errors;
1231 1231
1232 RollingUpdateError(); 1232 RollingUpdateError();
1233 1233
1234 RollingUpdateError.fromJson(core.Map _json) { 1234 RollingUpdateError.fromJson(core.Map _json) {
1235 if (_json.containsKey("errors")) { 1235 if (_json.containsKey("errors")) {
1236 errors = _json["errors"].map((value) => new RollingUpdateErrorErrors.fromJ son(value)).toList(); 1236 errors = _json["errors"].map((value) => new RollingUpdateErrorErrors.fromJ son(value)).toList();
1237 } 1237 }
1238 } 1238 }
1239 1239
1240 core.Map toJson() { 1240 core.Map<core.String, core.Object> toJson() {
1241 var _json = new core.Map(); 1241 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
1242 if (errors != null) { 1242 if (errors != null) {
1243 _json["errors"] = errors.map((value) => (value).toJson()).toList(); 1243 _json["errors"] = errors.map((value) => (value).toJson()).toList();
1244 } 1244 }
1245 return _json; 1245 return _json;
1246 } 1246 }
1247 } 1247 }
1248 1248
1249 /** Parameters of the update process. */ 1249 /** Parameters of the update process. */
1250 class RollingUpdatePolicy { 1250 class RollingUpdatePolicy {
1251 /** 1251 /**
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
1294 maxNumConcurrentInstances = _json["maxNumConcurrentInstances"]; 1294 maxNumConcurrentInstances = _json["maxNumConcurrentInstances"];
1295 } 1295 }
1296 if (_json.containsKey("maxNumFailedInstances")) { 1296 if (_json.containsKey("maxNumFailedInstances")) {
1297 maxNumFailedInstances = _json["maxNumFailedInstances"]; 1297 maxNumFailedInstances = _json["maxNumFailedInstances"];
1298 } 1298 }
1299 if (_json.containsKey("minInstanceUpdateTimeSec")) { 1299 if (_json.containsKey("minInstanceUpdateTimeSec")) {
1300 minInstanceUpdateTimeSec = _json["minInstanceUpdateTimeSec"]; 1300 minInstanceUpdateTimeSec = _json["minInstanceUpdateTimeSec"];
1301 } 1301 }
1302 } 1302 }
1303 1303
1304 core.Map toJson() { 1304 core.Map<core.String, core.Object> toJson() {
1305 var _json = new core.Map(); 1305 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
1306 if (autoPauseAfterInstances != null) { 1306 if (autoPauseAfterInstances != null) {
1307 _json["autoPauseAfterInstances"] = autoPauseAfterInstances; 1307 _json["autoPauseAfterInstances"] = autoPauseAfterInstances;
1308 } 1308 }
1309 if (instanceStartupTimeoutSec != null) { 1309 if (instanceStartupTimeoutSec != null) {
1310 _json["instanceStartupTimeoutSec"] = instanceStartupTimeoutSec; 1310 _json["instanceStartupTimeoutSec"] = instanceStartupTimeoutSec;
1311 } 1311 }
1312 if (maxNumConcurrentInstances != null) { 1312 if (maxNumConcurrentInstances != null) {
1313 _json["maxNumConcurrentInstances"] = maxNumConcurrentInstances; 1313 _json["maxNumConcurrentInstances"] = maxNumConcurrentInstances;
1314 } 1314 }
1315 if (maxNumFailedInstances != null) { 1315 if (maxNumFailedInstances != null) {
(...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after
1448 status = _json["status"]; 1448 status = _json["status"];
1449 } 1449 }
1450 if (_json.containsKey("statusMessage")) { 1450 if (_json.containsKey("statusMessage")) {
1451 statusMessage = _json["statusMessage"]; 1451 statusMessage = _json["statusMessage"];
1452 } 1452 }
1453 if (_json.containsKey("user")) { 1453 if (_json.containsKey("user")) {
1454 user = _json["user"]; 1454 user = _json["user"];
1455 } 1455 }
1456 } 1456 }
1457 1457
1458 core.Map toJson() { 1458 core.Map<core.String, core.Object> toJson() {
1459 var _json = new core.Map(); 1459 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
1460 if (actionType != null) { 1460 if (actionType != null) {
1461 _json["actionType"] = actionType; 1461 _json["actionType"] = actionType;
1462 } 1462 }
1463 if (creationTimestamp != null) { 1463 if (creationTimestamp != null) {
1464 _json["creationTimestamp"] = creationTimestamp; 1464 _json["creationTimestamp"] = creationTimestamp;
1465 } 1465 }
1466 if (description != null) { 1466 if (description != null) {
1467 _json["description"] = description; 1467 _json["description"] = description;
1468 } 1468 }
1469 if (error != null) { 1469 if (error != null) {
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
1530 kind = _json["kind"]; 1530 kind = _json["kind"];
1531 } 1531 }
1532 if (_json.containsKey("nextPageToken")) { 1532 if (_json.containsKey("nextPageToken")) {
1533 nextPageToken = _json["nextPageToken"]; 1533 nextPageToken = _json["nextPageToken"];
1534 } 1534 }
1535 if (_json.containsKey("selfLink")) { 1535 if (_json.containsKey("selfLink")) {
1536 selfLink = _json["selfLink"]; 1536 selfLink = _json["selfLink"];
1537 } 1537 }
1538 } 1538 }
1539 1539
1540 core.Map toJson() { 1540 core.Map<core.String, core.Object> toJson() {
1541 var _json = new core.Map(); 1541 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
1542 if (items != null) { 1542 if (items != null) {
1543 _json["items"] = items.map((value) => (value).toJson()).toList(); 1543 _json["items"] = items.map((value) => (value).toJson()).toList();
1544 } 1544 }
1545 if (kind != null) { 1545 if (kind != null) {
1546 _json["kind"] = kind; 1546 _json["kind"] = kind;
1547 } 1547 }
1548 if (nextPageToken != null) { 1548 if (nextPageToken != null) {
1549 _json["nextPageToken"] = nextPageToken; 1549 _json["nextPageToken"] = nextPageToken;
1550 } 1550 }
1551 if (selfLink != null) { 1551 if (selfLink != null) {
1552 _json["selfLink"] = selfLink; 1552 _json["selfLink"] = selfLink;
1553 } 1553 }
1554 return _json; 1554 return _json;
1555 } 1555 }
1556 } 1556 }
OLDNEW
« no previous file with comments | « generated/googleapis_beta/lib/replicapool/v1beta2.dart ('k') | generated/googleapis_beta/lib/resourceviews/v1beta1.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698