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

Side by Side Diff: generated/googleapis/lib/servicecontrol/v1.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.servicecontrol.v1; 3 library googleapis.servicecontrol.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:http/http.dart' as http; 10 import 'package:http/http.dart' as http;
(...skipping 443 matching lines...) Expand 10 before | Expand all | Expand 10 after
454 allocateOperation = new QuotaOperation.fromJson(_json["allocateOperation"] ); 454 allocateOperation = new QuotaOperation.fromJson(_json["allocateOperation"] );
455 } 455 }
456 if (_json.containsKey("allocationMode")) { 456 if (_json.containsKey("allocationMode")) {
457 allocationMode = _json["allocationMode"]; 457 allocationMode = _json["allocationMode"];
458 } 458 }
459 if (_json.containsKey("serviceConfigId")) { 459 if (_json.containsKey("serviceConfigId")) {
460 serviceConfigId = _json["serviceConfigId"]; 460 serviceConfigId = _json["serviceConfigId"];
461 } 461 }
462 } 462 }
463 463
464 core.Map toJson() { 464 core.Map<core.String, core.Object> toJson() {
465 var _json = new core.Map(); 465 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
466 if (allocateOperation != null) { 466 if (allocateOperation != null) {
467 _json["allocateOperation"] = (allocateOperation).toJson(); 467 _json["allocateOperation"] = (allocateOperation).toJson();
468 } 468 }
469 if (allocationMode != null) { 469 if (allocationMode != null) {
470 _json["allocationMode"] = allocationMode; 470 _json["allocationMode"] = allocationMode;
471 } 471 }
472 if (serviceConfigId != null) { 472 if (serviceConfigId != null) {
473 _json["serviceConfigId"] = serviceConfigId; 473 _json["serviceConfigId"] = serviceConfigId;
474 } 474 }
475 return _json; 475 return _json;
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
519 operationId = _json["operationId"]; 519 operationId = _json["operationId"];
520 } 520 }
521 if (_json.containsKey("quotaMetrics")) { 521 if (_json.containsKey("quotaMetrics")) {
522 quotaMetrics = _json["quotaMetrics"].map((value) => new MetricValueSet.fro mJson(value)).toList(); 522 quotaMetrics = _json["quotaMetrics"].map((value) => new MetricValueSet.fro mJson(value)).toList();
523 } 523 }
524 if (_json.containsKey("serviceConfigId")) { 524 if (_json.containsKey("serviceConfigId")) {
525 serviceConfigId = _json["serviceConfigId"]; 525 serviceConfigId = _json["serviceConfigId"];
526 } 526 }
527 } 527 }
528 528
529 core.Map toJson() { 529 core.Map<core.String, core.Object> toJson() {
530 var _json = new core.Map(); 530 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
531 if (allocateErrors != null) { 531 if (allocateErrors != null) {
532 _json["allocateErrors"] = allocateErrors.map((value) => (value).toJson()). toList(); 532 _json["allocateErrors"] = allocateErrors.map((value) => (value).toJson()). toList();
533 } 533 }
534 if (operationId != null) { 534 if (operationId != null) {
535 _json["operationId"] = operationId; 535 _json["operationId"] = operationId;
536 } 536 }
537 if (quotaMetrics != null) { 537 if (quotaMetrics != null) {
538 _json["quotaMetrics"] = quotaMetrics.map((value) => (value).toJson()).toLi st(); 538 _json["quotaMetrics"] = quotaMetrics.map((value) => (value).toJson()).toLi st();
539 } 539 }
540 if (serviceConfigId != null) { 540 if (serviceConfigId != null) {
(...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after
650 serviceData = _json["serviceData"]; 650 serviceData = _json["serviceData"];
651 } 651 }
652 if (_json.containsKey("serviceName")) { 652 if (_json.containsKey("serviceName")) {
653 serviceName = _json["serviceName"]; 653 serviceName = _json["serviceName"];
654 } 654 }
655 if (_json.containsKey("status")) { 655 if (_json.containsKey("status")) {
656 status = new Status.fromJson(_json["status"]); 656 status = new Status.fromJson(_json["status"]);
657 } 657 }
658 } 658 }
659 659
660 core.Map toJson() { 660 core.Map<core.String, core.Object> toJson() {
661 var _json = new core.Map(); 661 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
662 if (authenticationInfo != null) { 662 if (authenticationInfo != null) {
663 _json["authenticationInfo"] = (authenticationInfo).toJson(); 663 _json["authenticationInfo"] = (authenticationInfo).toJson();
664 } 664 }
665 if (authorizationInfo != null) { 665 if (authorizationInfo != null) {
666 _json["authorizationInfo"] = authorizationInfo.map((value) => (value).toJs on()).toList(); 666 _json["authorizationInfo"] = authorizationInfo.map((value) => (value).toJs on()).toList();
667 } 667 }
668 if (methodName != null) { 668 if (methodName != null) {
669 _json["methodName"] = methodName; 669 _json["methodName"] = methodName;
670 } 670 }
671 if (numResponseItems != null) { 671 if (numResponseItems != null) {
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
710 710
711 AuthenticationInfo.fromJson(core.Map _json) { 711 AuthenticationInfo.fromJson(core.Map _json) {
712 if (_json.containsKey("authoritySelector")) { 712 if (_json.containsKey("authoritySelector")) {
713 authoritySelector = _json["authoritySelector"]; 713 authoritySelector = _json["authoritySelector"];
714 } 714 }
715 if (_json.containsKey("principalEmail")) { 715 if (_json.containsKey("principalEmail")) {
716 principalEmail = _json["principalEmail"]; 716 principalEmail = _json["principalEmail"];
717 } 717 }
718 } 718 }
719 719
720 core.Map toJson() { 720 core.Map<core.String, core.Object> toJson() {
721 var _json = new core.Map(); 721 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
722 if (authoritySelector != null) { 722 if (authoritySelector != null) {
723 _json["authoritySelector"] = authoritySelector; 723 _json["authoritySelector"] = authoritySelector;
724 } 724 }
725 if (principalEmail != null) { 725 if (principalEmail != null) {
726 _json["principalEmail"] = principalEmail; 726 _json["principalEmail"] = principalEmail;
727 } 727 }
728 return _json; 728 return _json;
729 } 729 }
730 } 730 }
731 731
(...skipping 20 matching lines...) Expand all
752 granted = _json["granted"]; 752 granted = _json["granted"];
753 } 753 }
754 if (_json.containsKey("permission")) { 754 if (_json.containsKey("permission")) {
755 permission = _json["permission"]; 755 permission = _json["permission"];
756 } 756 }
757 if (_json.containsKey("resource")) { 757 if (_json.containsKey("resource")) {
758 resource = _json["resource"]; 758 resource = _json["resource"];
759 } 759 }
760 } 760 }
761 761
762 core.Map toJson() { 762 core.Map<core.String, core.Object> toJson() {
763 var _json = new core.Map(); 763 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
764 if (granted != null) { 764 if (granted != null) {
765 _json["granted"] = granted; 765 _json["granted"] = granted;
766 } 766 }
767 if (permission != null) { 767 if (permission != null) {
768 _json["permission"] = permission; 768 _json["permission"] = permission;
769 } 769 }
770 if (resource != null) { 770 if (resource != null) {
771 _json["resource"] = resource; 771 _json["resource"] = resource;
772 } 772 }
773 return _json; 773 return _json;
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
852 852
853 CheckError.fromJson(core.Map _json) { 853 CheckError.fromJson(core.Map _json) {
854 if (_json.containsKey("code")) { 854 if (_json.containsKey("code")) {
855 code = _json["code"]; 855 code = _json["code"];
856 } 856 }
857 if (_json.containsKey("detail")) { 857 if (_json.containsKey("detail")) {
858 detail = _json["detail"]; 858 detail = _json["detail"];
859 } 859 }
860 } 860 }
861 861
862 core.Map toJson() { 862 core.Map<core.String, core.Object> toJson() {
863 var _json = new core.Map(); 863 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
864 if (code != null) { 864 if (code != null) {
865 _json["code"] = code; 865 _json["code"] = code;
866 } 866 }
867 if (detail != null) { 867 if (detail != null) {
868 _json["detail"] = detail; 868 _json["detail"] = detail;
869 } 869 }
870 return _json; 870 return _json;
871 } 871 }
872 } 872 }
873 873
874 class CheckInfo { 874 class CheckInfo {
875 /** 875 /**
876 * A list of fields and label keys that are ignored by the server. 876 * A list of fields and label keys that are ignored by the server.
877 * The client doesn't need to send them for following requests to improve 877 * The client doesn't need to send them for following requests to improve
878 * performance and allow better aggregation. 878 * performance and allow better aggregation.
879 */ 879 */
880 core.List<core.String> unusedArguments; 880 core.List<core.String> unusedArguments;
881 881
882 CheckInfo(); 882 CheckInfo();
883 883
884 CheckInfo.fromJson(core.Map _json) { 884 CheckInfo.fromJson(core.Map _json) {
885 if (_json.containsKey("unusedArguments")) { 885 if (_json.containsKey("unusedArguments")) {
886 unusedArguments = _json["unusedArguments"]; 886 unusedArguments = _json["unusedArguments"];
887 } 887 }
888 } 888 }
889 889
890 core.Map toJson() { 890 core.Map<core.String, core.Object> toJson() {
891 var _json = new core.Map(); 891 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
892 if (unusedArguments != null) { 892 if (unusedArguments != null) {
893 _json["unusedArguments"] = unusedArguments; 893 _json["unusedArguments"] = unusedArguments;
894 } 894 }
895 return _json; 895 return _json;
896 } 896 }
897 } 897 }
898 898
899 /** Request message for the Check method. */ 899 /** Request message for the Check method. */
900 class CheckRequest { 900 class CheckRequest {
901 /** The operation to be checked. */ 901 /** The operation to be checked. */
(...skipping 26 matching lines...) Expand all
928 requestProjectSettings = _json["requestProjectSettings"]; 928 requestProjectSettings = _json["requestProjectSettings"];
929 } 929 }
930 if (_json.containsKey("serviceConfigId")) { 930 if (_json.containsKey("serviceConfigId")) {
931 serviceConfigId = _json["serviceConfigId"]; 931 serviceConfigId = _json["serviceConfigId"];
932 } 932 }
933 if (_json.containsKey("skipActivationCheck")) { 933 if (_json.containsKey("skipActivationCheck")) {
934 skipActivationCheck = _json["skipActivationCheck"]; 934 skipActivationCheck = _json["skipActivationCheck"];
935 } 935 }
936 } 936 }
937 937
938 core.Map toJson() { 938 core.Map<core.String, core.Object> toJson() {
939 var _json = new core.Map(); 939 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
940 if (operation != null) { 940 if (operation != null) {
941 _json["operation"] = (operation).toJson(); 941 _json["operation"] = (operation).toJson();
942 } 942 }
943 if (requestProjectSettings != null) { 943 if (requestProjectSettings != null) {
944 _json["requestProjectSettings"] = requestProjectSettings; 944 _json["requestProjectSettings"] = requestProjectSettings;
945 } 945 }
946 if (serviceConfigId != null) { 946 if (serviceConfigId != null) {
947 _json["serviceConfigId"] = serviceConfigId; 947 _json["serviceConfigId"] = serviceConfigId;
948 } 948 }
949 if (skipActivationCheck != null) { 949 if (skipActivationCheck != null) {
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
990 operationId = _json["operationId"]; 990 operationId = _json["operationId"];
991 } 991 }
992 if (_json.containsKey("quotaInfo")) { 992 if (_json.containsKey("quotaInfo")) {
993 quotaInfo = new QuotaInfo.fromJson(_json["quotaInfo"]); 993 quotaInfo = new QuotaInfo.fromJson(_json["quotaInfo"]);
994 } 994 }
995 if (_json.containsKey("serviceConfigId")) { 995 if (_json.containsKey("serviceConfigId")) {
996 serviceConfigId = _json["serviceConfigId"]; 996 serviceConfigId = _json["serviceConfigId"];
997 } 997 }
998 } 998 }
999 999
1000 core.Map toJson() { 1000 core.Map<core.String, core.Object> toJson() {
1001 var _json = new core.Map(); 1001 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
1002 if (checkErrors != null) { 1002 if (checkErrors != null) {
1003 _json["checkErrors"] = checkErrors.map((value) => (value).toJson()).toList (); 1003 _json["checkErrors"] = checkErrors.map((value) => (value).toJson()).toList ();
1004 } 1004 }
1005 if (checkInfo != null) { 1005 if (checkInfo != null) {
1006 _json["checkInfo"] = (checkInfo).toJson(); 1006 _json["checkInfo"] = (checkInfo).toJson();
1007 } 1007 }
1008 if (operationId != null) { 1008 if (operationId != null) {
1009 _json["operationId"] = operationId; 1009 _json["operationId"] = operationId;
1010 } 1010 }
1011 if (quotaInfo != null) { 1011 if (quotaInfo != null) {
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
1093 mean = _json["mean"]; 1093 mean = _json["mean"];
1094 } 1094 }
1095 if (_json.containsKey("minimum")) { 1095 if (_json.containsKey("minimum")) {
1096 minimum = _json["minimum"]; 1096 minimum = _json["minimum"];
1097 } 1097 }
1098 if (_json.containsKey("sumOfSquaredDeviation")) { 1098 if (_json.containsKey("sumOfSquaredDeviation")) {
1099 sumOfSquaredDeviation = _json["sumOfSquaredDeviation"]; 1099 sumOfSquaredDeviation = _json["sumOfSquaredDeviation"];
1100 } 1100 }
1101 } 1101 }
1102 1102
1103 core.Map toJson() { 1103 core.Map<core.String, core.Object> toJson() {
1104 var _json = new core.Map(); 1104 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
1105 if (bucketCounts != null) { 1105 if (bucketCounts != null) {
1106 _json["bucketCounts"] = bucketCounts; 1106 _json["bucketCounts"] = bucketCounts;
1107 } 1107 }
1108 if (count != null) { 1108 if (count != null) {
1109 _json["count"] = count; 1109 _json["count"] = count;
1110 } 1110 }
1111 if (explicitBuckets != null) { 1111 if (explicitBuckets != null) {
1112 _json["explicitBuckets"] = (explicitBuckets).toJson(); 1112 _json["explicitBuckets"] = (explicitBuckets).toJson();
1113 } 1113 }
1114 if (exponentialBuckets != null) { 1114 if (exponentialBuckets != null) {
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
1147 1147
1148 EndReconciliationRequest.fromJson(core.Map _json) { 1148 EndReconciliationRequest.fromJson(core.Map _json) {
1149 if (_json.containsKey("reconciliationOperation")) { 1149 if (_json.containsKey("reconciliationOperation")) {
1150 reconciliationOperation = new QuotaOperation.fromJson(_json["reconciliatio nOperation"]); 1150 reconciliationOperation = new QuotaOperation.fromJson(_json["reconciliatio nOperation"]);
1151 } 1151 }
1152 if (_json.containsKey("serviceConfigId")) { 1152 if (_json.containsKey("serviceConfigId")) {
1153 serviceConfigId = _json["serviceConfigId"]; 1153 serviceConfigId = _json["serviceConfigId"];
1154 } 1154 }
1155 } 1155 }
1156 1156
1157 core.Map toJson() { 1157 core.Map<core.String, core.Object> toJson() {
1158 var _json = new core.Map(); 1158 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
1159 if (reconciliationOperation != null) { 1159 if (reconciliationOperation != null) {
1160 _json["reconciliationOperation"] = (reconciliationOperation).toJson(); 1160 _json["reconciliationOperation"] = (reconciliationOperation).toJson();
1161 } 1161 }
1162 if (serviceConfigId != null) { 1162 if (serviceConfigId != null) {
1163 _json["serviceConfigId"] = serviceConfigId; 1163 _json["serviceConfigId"] = serviceConfigId;
1164 } 1164 }
1165 return _json; 1165 return _json;
1166 } 1166 }
1167 } 1167 }
1168 1168
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
1210 quotaMetrics = _json["quotaMetrics"].map((value) => new MetricValueSet.fro mJson(value)).toList(); 1210 quotaMetrics = _json["quotaMetrics"].map((value) => new MetricValueSet.fro mJson(value)).toList();
1211 } 1211 }
1212 if (_json.containsKey("reconciliationErrors")) { 1212 if (_json.containsKey("reconciliationErrors")) {
1213 reconciliationErrors = _json["reconciliationErrors"].map((value) => new Qu otaError.fromJson(value)).toList(); 1213 reconciliationErrors = _json["reconciliationErrors"].map((value) => new Qu otaError.fromJson(value)).toList();
1214 } 1214 }
1215 if (_json.containsKey("serviceConfigId")) { 1215 if (_json.containsKey("serviceConfigId")) {
1216 serviceConfigId = _json["serviceConfigId"]; 1216 serviceConfigId = _json["serviceConfigId"];
1217 } 1217 }
1218 } 1218 }
1219 1219
1220 core.Map toJson() { 1220 core.Map<core.String, core.Object> toJson() {
1221 var _json = new core.Map(); 1221 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
1222 if (operationId != null) { 1222 if (operationId != null) {
1223 _json["operationId"] = operationId; 1223 _json["operationId"] = operationId;
1224 } 1224 }
1225 if (quotaMetrics != null) { 1225 if (quotaMetrics != null) {
1226 _json["quotaMetrics"] = quotaMetrics.map((value) => (value).toJson()).toLi st(); 1226 _json["quotaMetrics"] = quotaMetrics.map((value) => (value).toJson()).toLi st();
1227 } 1227 }
1228 if (reconciliationErrors != null) { 1228 if (reconciliationErrors != null) {
1229 _json["reconciliationErrors"] = reconciliationErrors.map((value) => (value ).toJson()).toList(); 1229 _json["reconciliationErrors"] = reconciliationErrors.map((value) => (value ).toJson()).toList();
1230 } 1230 }
1231 if (serviceConfigId != null) { 1231 if (serviceConfigId != null) {
(...skipping 25 matching lines...) Expand all
1257 core.List<core.double> bounds; 1257 core.List<core.double> bounds;
1258 1258
1259 ExplicitBuckets(); 1259 ExplicitBuckets();
1260 1260
1261 ExplicitBuckets.fromJson(core.Map _json) { 1261 ExplicitBuckets.fromJson(core.Map _json) {
1262 if (_json.containsKey("bounds")) { 1262 if (_json.containsKey("bounds")) {
1263 bounds = _json["bounds"]; 1263 bounds = _json["bounds"];
1264 } 1264 }
1265 } 1265 }
1266 1266
1267 core.Map toJson() { 1267 core.Map<core.String, core.Object> toJson() {
1268 var _json = new core.Map(); 1268 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
1269 if (bounds != null) { 1269 if (bounds != null) {
1270 _json["bounds"] = bounds; 1270 _json["bounds"] = bounds;
1271 } 1271 }
1272 return _json; 1272 return _json;
1273 } 1273 }
1274 } 1274 }
1275 1275
1276 /** Describing buckets with exponentially growing width. */ 1276 /** Describing buckets with exponentially growing width. */
1277 class ExponentialBuckets { 1277 class ExponentialBuckets {
1278 /** 1278 /**
(...skipping 24 matching lines...) Expand all
1303 growthFactor = _json["growthFactor"]; 1303 growthFactor = _json["growthFactor"];
1304 } 1304 }
1305 if (_json.containsKey("numFiniteBuckets")) { 1305 if (_json.containsKey("numFiniteBuckets")) {
1306 numFiniteBuckets = _json["numFiniteBuckets"]; 1306 numFiniteBuckets = _json["numFiniteBuckets"];
1307 } 1307 }
1308 if (_json.containsKey("scale")) { 1308 if (_json.containsKey("scale")) {
1309 scale = _json["scale"]; 1309 scale = _json["scale"];
1310 } 1310 }
1311 } 1311 }
1312 1312
1313 core.Map toJson() { 1313 core.Map<core.String, core.Object> toJson() {
1314 var _json = new core.Map(); 1314 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
1315 if (growthFactor != null) { 1315 if (growthFactor != null) {
1316 _json["growthFactor"] = growthFactor; 1316 _json["growthFactor"] = growthFactor;
1317 } 1317 }
1318 if (numFiniteBuckets != null) { 1318 if (numFiniteBuckets != null) {
1319 _json["numFiniteBuckets"] = numFiniteBuckets; 1319 _json["numFiniteBuckets"] = numFiniteBuckets;
1320 } 1320 }
1321 if (scale != null) { 1321 if (scale != null) {
1322 _json["scale"] = scale; 1322 _json["scale"] = scale;
1323 } 1323 }
1324 return _json; 1324 return _json;
(...skipping 29 matching lines...) Expand all
1354 numFiniteBuckets = _json["numFiniteBuckets"]; 1354 numFiniteBuckets = _json["numFiniteBuckets"];
1355 } 1355 }
1356 if (_json.containsKey("offset")) { 1356 if (_json.containsKey("offset")) {
1357 offset = _json["offset"]; 1357 offset = _json["offset"];
1358 } 1358 }
1359 if (_json.containsKey("width")) { 1359 if (_json.containsKey("width")) {
1360 width = _json["width"]; 1360 width = _json["width"];
1361 } 1361 }
1362 } 1362 }
1363 1363
1364 core.Map toJson() { 1364 core.Map<core.String, core.Object> toJson() {
1365 var _json = new core.Map(); 1365 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
1366 if (numFiniteBuckets != null) { 1366 if (numFiniteBuckets != null) {
1367 _json["numFiniteBuckets"] = numFiniteBuckets; 1367 _json["numFiniteBuckets"] = numFiniteBuckets;
1368 } 1368 }
1369 if (offset != null) { 1369 if (offset != null) {
1370 _json["offset"] = offset; 1370 _json["offset"] = offset;
1371 } 1371 }
1372 if (width != null) { 1372 if (width != null) {
1373 _json["width"] = width; 1373 _json["width"] = width;
1374 } 1374 }
1375 return _json; 1375 return _json;
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
1458 structPayload = _json["structPayload"]; 1458 structPayload = _json["structPayload"];
1459 } 1459 }
1460 if (_json.containsKey("textPayload")) { 1460 if (_json.containsKey("textPayload")) {
1461 textPayload = _json["textPayload"]; 1461 textPayload = _json["textPayload"];
1462 } 1462 }
1463 if (_json.containsKey("timestamp")) { 1463 if (_json.containsKey("timestamp")) {
1464 timestamp = _json["timestamp"]; 1464 timestamp = _json["timestamp"];
1465 } 1465 }
1466 } 1466 }
1467 1467
1468 core.Map toJson() { 1468 core.Map<core.String, core.Object> toJson() {
1469 var _json = new core.Map(); 1469 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
1470 if (insertId != null) { 1470 if (insertId != null) {
1471 _json["insertId"] = insertId; 1471 _json["insertId"] = insertId;
1472 } 1472 }
1473 if (labels != null) { 1473 if (labels != null) {
1474 _json["labels"] = labels; 1474 _json["labels"] = labels;
1475 } 1475 }
1476 if (name != null) { 1476 if (name != null) {
1477 _json["name"] = name; 1477 _json["name"] = name;
1478 } 1478 }
1479 if (protoPayload != null) { 1479 if (protoPayload != null) {
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
1553 moneyValue = new Money.fromJson(_json["moneyValue"]); 1553 moneyValue = new Money.fromJson(_json["moneyValue"]);
1554 } 1554 }
1555 if (_json.containsKey("startTime")) { 1555 if (_json.containsKey("startTime")) {
1556 startTime = _json["startTime"]; 1556 startTime = _json["startTime"];
1557 } 1557 }
1558 if (_json.containsKey("stringValue")) { 1558 if (_json.containsKey("stringValue")) {
1559 stringValue = _json["stringValue"]; 1559 stringValue = _json["stringValue"];
1560 } 1560 }
1561 } 1561 }
1562 1562
1563 core.Map toJson() { 1563 core.Map<core.String, core.Object> toJson() {
1564 var _json = new core.Map(); 1564 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
1565 if (boolValue != null) { 1565 if (boolValue != null) {
1566 _json["boolValue"] = boolValue; 1566 _json["boolValue"] = boolValue;
1567 } 1567 }
1568 if (distributionValue != null) { 1568 if (distributionValue != null) {
1569 _json["distributionValue"] = (distributionValue).toJson(); 1569 _json["distributionValue"] = (distributionValue).toJson();
1570 } 1570 }
1571 if (doubleValue != null) { 1571 if (doubleValue != null) {
1572 _json["doubleValue"] = doubleValue; 1572 _json["doubleValue"] = doubleValue;
1573 } 1573 }
1574 if (endTime != null) { 1574 if (endTime != null) {
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
1608 1608
1609 MetricValueSet.fromJson(core.Map _json) { 1609 MetricValueSet.fromJson(core.Map _json) {
1610 if (_json.containsKey("metricName")) { 1610 if (_json.containsKey("metricName")) {
1611 metricName = _json["metricName"]; 1611 metricName = _json["metricName"];
1612 } 1612 }
1613 if (_json.containsKey("metricValues")) { 1613 if (_json.containsKey("metricValues")) {
1614 metricValues = _json["metricValues"].map((value) => new MetricValue.fromJs on(value)).toList(); 1614 metricValues = _json["metricValues"].map((value) => new MetricValue.fromJs on(value)).toList();
1615 } 1615 }
1616 } 1616 }
1617 1617
1618 core.Map toJson() { 1618 core.Map<core.String, core.Object> toJson() {
1619 var _json = new core.Map(); 1619 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
1620 if (metricName != null) { 1620 if (metricName != null) {
1621 _json["metricName"] = metricName; 1621 _json["metricName"] = metricName;
1622 } 1622 }
1623 if (metricValues != null) { 1623 if (metricValues != null) {
1624 _json["metricValues"] = metricValues.map((value) => (value).toJson()).toLi st(); 1624 _json["metricValues"] = metricValues.map((value) => (value).toJson()).toLi st();
1625 } 1625 }
1626 return _json; 1626 return _json;
1627 } 1627 }
1628 } 1628 }
1629 1629
(...skipping 23 matching lines...) Expand all
1653 currencyCode = _json["currencyCode"]; 1653 currencyCode = _json["currencyCode"];
1654 } 1654 }
1655 if (_json.containsKey("nanos")) { 1655 if (_json.containsKey("nanos")) {
1656 nanos = _json["nanos"]; 1656 nanos = _json["nanos"];
1657 } 1657 }
1658 if (_json.containsKey("units")) { 1658 if (_json.containsKey("units")) {
1659 units = _json["units"]; 1659 units = _json["units"];
1660 } 1660 }
1661 } 1661 }
1662 1662
1663 core.Map toJson() { 1663 core.Map<core.String, core.Object> toJson() {
1664 var _json = new core.Map(); 1664 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
1665 if (currencyCode != null) { 1665 if (currencyCode != null) {
1666 _json["currencyCode"] = currencyCode; 1666 _json["currencyCode"] = currencyCode;
1667 } 1667 }
1668 if (nanos != null) { 1668 if (nanos != null) {
1669 _json["nanos"] = nanos; 1669 _json["nanos"] = nanos;
1670 } 1670 }
1671 if (units != null) { 1671 if (units != null) {
1672 _json["units"] = units; 1672 _json["units"] = units;
1673 } 1673 }
1674 return _json; 1674 return _json;
(...skipping 138 matching lines...) Expand 10 before | Expand all | Expand 10 after
1813 resourceContainer = _json["resourceContainer"]; 1813 resourceContainer = _json["resourceContainer"];
1814 } 1814 }
1815 if (_json.containsKey("startTime")) { 1815 if (_json.containsKey("startTime")) {
1816 startTime = _json["startTime"]; 1816 startTime = _json["startTime"];
1817 } 1817 }
1818 if (_json.containsKey("userLabels")) { 1818 if (_json.containsKey("userLabels")) {
1819 userLabels = _json["userLabels"]; 1819 userLabels = _json["userLabels"];
1820 } 1820 }
1821 } 1821 }
1822 1822
1823 core.Map toJson() { 1823 core.Map<core.String, core.Object> toJson() {
1824 var _json = new core.Map(); 1824 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
1825 if (consumerId != null) { 1825 if (consumerId != null) {
1826 _json["consumerId"] = consumerId; 1826 _json["consumerId"] = consumerId;
1827 } 1827 }
1828 if (endTime != null) { 1828 if (endTime != null) {
1829 _json["endTime"] = endTime; 1829 _json["endTime"] = endTime;
1830 } 1830 }
1831 if (importance != null) { 1831 if (importance != null) {
1832 _json["importance"] = importance; 1832 _json["importance"] = importance;
1833 } 1833 }
1834 if (labels != null) { 1834 if (labels != null) {
(...skipping 27 matching lines...) Expand all
1862 } 1862 }
1863 } 1863 }
1864 1864
1865 class QuotaError { 1865 class QuotaError {
1866 /** 1866 /**
1867 * Error code. 1867 * Error code.
1868 * Possible string values are: 1868 * Possible string values are:
1869 * - "UNSPECIFIED" : This is never used. 1869 * - "UNSPECIFIED" : This is never used.
1870 * - "RESOURCE_EXHAUSTED" : Quota allocation failed. 1870 * - "RESOURCE_EXHAUSTED" : Quota allocation failed.
1871 * Same as google.rpc.Code.RESOURCE_EXHAUSTED. 1871 * Same as google.rpc.Code.RESOURCE_EXHAUSTED.
1872 * - "PROJECT_SUSPENDED" : Consumer project has been suspended. 1872 * - "BILLING_NOT_ACTIVE" : Consumer cannot access the service because the
1873 * - "SERVICE_NOT_ENABLED" : Consumer has not enabled the service. 1873 * service requires active
1874 * - "BILLING_NOT_ACTIVE" : Consumer cannot access the service because billing 1874 * billing.
1875 * is disabled.
1876 * - "PROJECT_DELETED" : Consumer's project has been marked as deleted (soft 1875 * - "PROJECT_DELETED" : Consumer's project has been marked as deleted (soft
1877 * deletion). 1876 * deletion).
1878 * - "PROJECT_INVALID" : Consumer's project number or ID does not represent a
1879 * valid project.
1880 * - "IP_ADDRESS_BLOCKED" : IP address of the consumer is invalid for the
1881 * specific consumer
1882 * project.
1883 * - "REFERER_BLOCKED" : Referer address of the consumer request is invalid
1884 * for the specific
1885 * consumer project.
1886 * - "CLIENT_APP_BLOCKED" : Client application of the consumer request is
1887 * invalid for the
1888 * specific consumer project.
1889 * - "API_KEY_INVALID" : Specified API key is invalid. 1877 * - "API_KEY_INVALID" : Specified API key is invalid.
1890 * - "API_KEY_EXPIRED" : Specified API Key has expired. 1878 * - "API_KEY_EXPIRED" : Specified API Key has expired.
1891 * - "SPATULA_HEADER_INVALID" : Consumer's spatula header is invalid. 1879 * - "SPATULA_HEADER_INVALID" : Consumer's spatula header is invalid.
1892 * - "LOAS_ROLE_INVALID" : The consumer's LOAS role is invalid. 1880 * - "LOAS_ROLE_INVALID" : The consumer's LOAS role is invalid.
1893 * - "NO_LOAS_PROJECT" : The consumer's LOAS role has no associated project. 1881 * - "NO_LOAS_PROJECT" : The consumer's LOAS role has no associated project.
1894 * - "PROJECT_STATUS_UNAVAILABLE" : The backend server for looking up project 1882 * - "PROJECT_STATUS_UNAVAILABLE" : The backend server for looking up project
1895 * id/number is unavailable. 1883 * id/number is unavailable.
1896 * - "SERVICE_STATUS_UNAVAILABLE" : The backend server for checking service 1884 * - "SERVICE_STATUS_UNAVAILABLE" : The backend server for checking service
1897 * status is unavailable. 1885 * status is unavailable.
1898 * - "BILLING_STATUS_UNAVAILABLE" : The backend server for checking billing 1886 * - "BILLING_STATUS_UNAVAILABLE" : The backend server for checking billing
(...skipping 18 matching lines...) Expand all
1917 code = _json["code"]; 1905 code = _json["code"];
1918 } 1906 }
1919 if (_json.containsKey("description")) { 1907 if (_json.containsKey("description")) {
1920 description = _json["description"]; 1908 description = _json["description"];
1921 } 1909 }
1922 if (_json.containsKey("subject")) { 1910 if (_json.containsKey("subject")) {
1923 subject = _json["subject"]; 1911 subject = _json["subject"];
1924 } 1912 }
1925 } 1913 }
1926 1914
1927 core.Map toJson() { 1915 core.Map<core.String, core.Object> toJson() {
1928 var _json = new core.Map(); 1916 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
1929 if (code != null) { 1917 if (code != null) {
1930 _json["code"] = code; 1918 _json["code"] = code;
1931 } 1919 }
1932 if (description != null) { 1920 if (description != null) {
1933 _json["description"] = description; 1921 _json["description"] = description;
1934 } 1922 }
1935 if (subject != null) { 1923 if (subject != null) {
1936 _json["subject"] = subject; 1924 _json["subject"] = subject;
1937 } 1925 }
1938 return _json; 1926 return _json;
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
1981 limitExceeded = _json["limitExceeded"]; 1969 limitExceeded = _json["limitExceeded"];
1982 } 1970 }
1983 if (_json.containsKey("quotaConsumed")) { 1971 if (_json.containsKey("quotaConsumed")) {
1984 quotaConsumed = _json["quotaConsumed"]; 1972 quotaConsumed = _json["quotaConsumed"];
1985 } 1973 }
1986 if (_json.containsKey("quotaMetrics")) { 1974 if (_json.containsKey("quotaMetrics")) {
1987 quotaMetrics = _json["quotaMetrics"].map((value) => new MetricValueSet.fro mJson(value)).toList(); 1975 quotaMetrics = _json["quotaMetrics"].map((value) => new MetricValueSet.fro mJson(value)).toList();
1988 } 1976 }
1989 } 1977 }
1990 1978
1991 core.Map toJson() { 1979 core.Map<core.String, core.Object> toJson() {
1992 var _json = new core.Map(); 1980 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
1993 if (limitExceeded != null) { 1981 if (limitExceeded != null) {
1994 _json["limitExceeded"] = limitExceeded; 1982 _json["limitExceeded"] = limitExceeded;
1995 } 1983 }
1996 if (quotaConsumed != null) { 1984 if (quotaConsumed != null) {
1997 _json["quotaConsumed"] = quotaConsumed; 1985 _json["quotaConsumed"] = quotaConsumed;
1998 } 1986 }
1999 if (quotaMetrics != null) { 1987 if (quotaMetrics != null) {
2000 _json["quotaMetrics"] = quotaMetrics.map((value) => (value).toJson()).toLi st(); 1988 _json["quotaMetrics"] = quotaMetrics.map((value) => (value).toJson()).toLi st();
2001 } 1989 }
2002 return _json; 1990 return _json;
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after
2101 operationId = _json["operationId"]; 2089 operationId = _json["operationId"];
2102 } 2090 }
2103 if (_json.containsKey("quotaMetrics")) { 2091 if (_json.containsKey("quotaMetrics")) {
2104 quotaMetrics = _json["quotaMetrics"].map((value) => new MetricValueSet.fro mJson(value)).toList(); 2092 quotaMetrics = _json["quotaMetrics"].map((value) => new MetricValueSet.fro mJson(value)).toList();
2105 } 2093 }
2106 if (_json.containsKey("quotaMode")) { 2094 if (_json.containsKey("quotaMode")) {
2107 quotaMode = _json["quotaMode"]; 2095 quotaMode = _json["quotaMode"];
2108 } 2096 }
2109 } 2097 }
2110 2098
2111 core.Map toJson() { 2099 core.Map<core.String, core.Object> toJson() {
2112 var _json = new core.Map(); 2100 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
2113 if (consumerId != null) { 2101 if (consumerId != null) {
2114 _json["consumerId"] = consumerId; 2102 _json["consumerId"] = consumerId;
2115 } 2103 }
2116 if (labels != null) { 2104 if (labels != null) {
2117 _json["labels"] = labels; 2105 _json["labels"] = labels;
2118 } 2106 }
2119 if (methodName != null) { 2107 if (methodName != null) {
2120 _json["methodName"] = methodName; 2108 _json["methodName"] = methodName;
2121 } 2109 }
2122 if (operationId != null) { 2110 if (operationId != null) {
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
2173 2161
2174 QuotaProperties.fromJson(core.Map _json) { 2162 QuotaProperties.fromJson(core.Map _json) {
2175 if (_json.containsKey("limitByIds")) { 2163 if (_json.containsKey("limitByIds")) {
2176 limitByIds = _json["limitByIds"]; 2164 limitByIds = _json["limitByIds"];
2177 } 2165 }
2178 if (_json.containsKey("quotaMode")) { 2166 if (_json.containsKey("quotaMode")) {
2179 quotaMode = _json["quotaMode"]; 2167 quotaMode = _json["quotaMode"];
2180 } 2168 }
2181 } 2169 }
2182 2170
2183 core.Map toJson() { 2171 core.Map<core.String, core.Object> toJson() {
2184 var _json = new core.Map(); 2172 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
2185 if (limitByIds != null) { 2173 if (limitByIds != null) {
2186 _json["limitByIds"] = limitByIds; 2174 _json["limitByIds"] = limitByIds;
2187 } 2175 }
2188 if (quotaMode != null) { 2176 if (quotaMode != null) {
2189 _json["quotaMode"] = quotaMode; 2177 _json["quotaMode"] = quotaMode;
2190 } 2178 }
2191 return _json; 2179 return _json;
2192 } 2180 }
2193 } 2181 }
2194 2182
(...skipping 12 matching lines...) Expand all
2207 2195
2208 ReleaseQuotaRequest.fromJson(core.Map _json) { 2196 ReleaseQuotaRequest.fromJson(core.Map _json) {
2209 if (_json.containsKey("releaseOperation")) { 2197 if (_json.containsKey("releaseOperation")) {
2210 releaseOperation = new QuotaOperation.fromJson(_json["releaseOperation"]); 2198 releaseOperation = new QuotaOperation.fromJson(_json["releaseOperation"]);
2211 } 2199 }
2212 if (_json.containsKey("serviceConfigId")) { 2200 if (_json.containsKey("serviceConfigId")) {
2213 serviceConfigId = _json["serviceConfigId"]; 2201 serviceConfigId = _json["serviceConfigId"];
2214 } 2202 }
2215 } 2203 }
2216 2204
2217 core.Map toJson() { 2205 core.Map<core.String, core.Object> toJson() {
2218 var _json = new core.Map(); 2206 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
2219 if (releaseOperation != null) { 2207 if (releaseOperation != null) {
2220 _json["releaseOperation"] = (releaseOperation).toJson(); 2208 _json["releaseOperation"] = (releaseOperation).toJson();
2221 } 2209 }
2222 if (serviceConfigId != null) { 2210 if (serviceConfigId != null) {
2223 _json["serviceConfigId"] = serviceConfigId; 2211 _json["serviceConfigId"] = serviceConfigId;
2224 } 2212 }
2225 return _json; 2213 return _json;
2226 } 2214 }
2227 } 2215 }
2228 2216
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
2265 quotaMetrics = _json["quotaMetrics"].map((value) => new MetricValueSet.fro mJson(value)).toList(); 2253 quotaMetrics = _json["quotaMetrics"].map((value) => new MetricValueSet.fro mJson(value)).toList();
2266 } 2254 }
2267 if (_json.containsKey("releaseErrors")) { 2255 if (_json.containsKey("releaseErrors")) {
2268 releaseErrors = _json["releaseErrors"].map((value) => new QuotaError.fromJ son(value)).toList(); 2256 releaseErrors = _json["releaseErrors"].map((value) => new QuotaError.fromJ son(value)).toList();
2269 } 2257 }
2270 if (_json.containsKey("serviceConfigId")) { 2258 if (_json.containsKey("serviceConfigId")) {
2271 serviceConfigId = _json["serviceConfigId"]; 2259 serviceConfigId = _json["serviceConfigId"];
2272 } 2260 }
2273 } 2261 }
2274 2262
2275 core.Map toJson() { 2263 core.Map<core.String, core.Object> toJson() {
2276 var _json = new core.Map(); 2264 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
2277 if (operationId != null) { 2265 if (operationId != null) {
2278 _json["operationId"] = operationId; 2266 _json["operationId"] = operationId;
2279 } 2267 }
2280 if (quotaMetrics != null) { 2268 if (quotaMetrics != null) {
2281 _json["quotaMetrics"] = quotaMetrics.map((value) => (value).toJson()).toLi st(); 2269 _json["quotaMetrics"] = quotaMetrics.map((value) => (value).toJson()).toLi st();
2282 } 2270 }
2283 if (releaseErrors != null) { 2271 if (releaseErrors != null) {
2284 _json["releaseErrors"] = releaseErrors.map((value) => (value).toJson()).to List(); 2272 _json["releaseErrors"] = releaseErrors.map((value) => (value).toJson()).to List();
2285 } 2273 }
2286 if (serviceConfigId != null) { 2274 if (serviceConfigId != null) {
(...skipping 14 matching lines...) Expand all
2301 2289
2302 ReportError.fromJson(core.Map _json) { 2290 ReportError.fromJson(core.Map _json) {
2303 if (_json.containsKey("operationId")) { 2291 if (_json.containsKey("operationId")) {
2304 operationId = _json["operationId"]; 2292 operationId = _json["operationId"];
2305 } 2293 }
2306 if (_json.containsKey("status")) { 2294 if (_json.containsKey("status")) {
2307 status = new Status.fromJson(_json["status"]); 2295 status = new Status.fromJson(_json["status"]);
2308 } 2296 }
2309 } 2297 }
2310 2298
2311 core.Map toJson() { 2299 core.Map<core.String, core.Object> toJson() {
2312 var _json = new core.Map(); 2300 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
2313 if (operationId != null) { 2301 if (operationId != null) {
2314 _json["operationId"] = operationId; 2302 _json["operationId"] = operationId;
2315 } 2303 }
2316 if (status != null) { 2304 if (status != null) {
2317 _json["status"] = (status).toJson(); 2305 _json["status"] = (status).toJson();
2318 } 2306 }
2319 return _json; 2307 return _json;
2320 } 2308 }
2321 } 2309 }
2322 2310
2323 class ReportInfo { 2311 class ReportInfo {
2324 /** The Operation.operation_id value from the request. */ 2312 /** The Operation.operation_id value from the request. */
2325 core.String operationId; 2313 core.String operationId;
2326 /** Quota usage info when processing the `Operation`. */ 2314 /** Quota usage info when processing the `Operation`. */
2327 QuotaInfo quotaInfo; 2315 QuotaInfo quotaInfo;
2328 2316
2329 ReportInfo(); 2317 ReportInfo();
2330 2318
2331 ReportInfo.fromJson(core.Map _json) { 2319 ReportInfo.fromJson(core.Map _json) {
2332 if (_json.containsKey("operationId")) { 2320 if (_json.containsKey("operationId")) {
2333 operationId = _json["operationId"]; 2321 operationId = _json["operationId"];
2334 } 2322 }
2335 if (_json.containsKey("quotaInfo")) { 2323 if (_json.containsKey("quotaInfo")) {
2336 quotaInfo = new QuotaInfo.fromJson(_json["quotaInfo"]); 2324 quotaInfo = new QuotaInfo.fromJson(_json["quotaInfo"]);
2337 } 2325 }
2338 } 2326 }
2339 2327
2340 core.Map toJson() { 2328 core.Map<core.String, core.Object> toJson() {
2341 var _json = new core.Map(); 2329 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
2342 if (operationId != null) { 2330 if (operationId != null) {
2343 _json["operationId"] = operationId; 2331 _json["operationId"] = operationId;
2344 } 2332 }
2345 if (quotaInfo != null) { 2333 if (quotaInfo != null) {
2346 _json["quotaInfo"] = (quotaInfo).toJson(); 2334 _json["quotaInfo"] = (quotaInfo).toJson();
2347 } 2335 }
2348 return _json; 2336 return _json;
2349 } 2337 }
2350 } 2338 }
2351 2339
(...skipping 25 matching lines...) Expand all
2377 2365
2378 ReportRequest.fromJson(core.Map _json) { 2366 ReportRequest.fromJson(core.Map _json) {
2379 if (_json.containsKey("operations")) { 2367 if (_json.containsKey("operations")) {
2380 operations = _json["operations"].map((value) => new Operation.fromJson(val ue)).toList(); 2368 operations = _json["operations"].map((value) => new Operation.fromJson(val ue)).toList();
2381 } 2369 }
2382 if (_json.containsKey("serviceConfigId")) { 2370 if (_json.containsKey("serviceConfigId")) {
2383 serviceConfigId = _json["serviceConfigId"]; 2371 serviceConfigId = _json["serviceConfigId"];
2384 } 2372 }
2385 } 2373 }
2386 2374
2387 core.Map toJson() { 2375 core.Map<core.String, core.Object> toJson() {
2388 var _json = new core.Map(); 2376 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
2389 if (operations != null) { 2377 if (operations != null) {
2390 _json["operations"] = operations.map((value) => (value).toJson()).toList() ; 2378 _json["operations"] = operations.map((value) => (value).toJson()).toList() ;
2391 } 2379 }
2392 if (serviceConfigId != null) { 2380 if (serviceConfigId != null) {
2393 _json["serviceConfigId"] = serviceConfigId; 2381 _json["serviceConfigId"] = serviceConfigId;
2394 } 2382 }
2395 return _json; 2383 return _json;
2396 } 2384 }
2397 } 2385 }
2398 2386
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
2436 reportErrors = _json["reportErrors"].map((value) => new ReportError.fromJs on(value)).toList(); 2424 reportErrors = _json["reportErrors"].map((value) => new ReportError.fromJs on(value)).toList();
2437 } 2425 }
2438 if (_json.containsKey("reportInfos")) { 2426 if (_json.containsKey("reportInfos")) {
2439 reportInfos = _json["reportInfos"].map((value) => new ReportInfo.fromJson( value)).toList(); 2427 reportInfos = _json["reportInfos"].map((value) => new ReportInfo.fromJson( value)).toList();
2440 } 2428 }
2441 if (_json.containsKey("serviceConfigId")) { 2429 if (_json.containsKey("serviceConfigId")) {
2442 serviceConfigId = _json["serviceConfigId"]; 2430 serviceConfigId = _json["serviceConfigId"];
2443 } 2431 }
2444 } 2432 }
2445 2433
2446 core.Map toJson() { 2434 core.Map<core.String, core.Object> toJson() {
2447 var _json = new core.Map(); 2435 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
2448 if (reportErrors != null) { 2436 if (reportErrors != null) {
2449 _json["reportErrors"] = reportErrors.map((value) => (value).toJson()).toLi st(); 2437 _json["reportErrors"] = reportErrors.map((value) => (value).toJson()).toLi st();
2450 } 2438 }
2451 if (reportInfos != null) { 2439 if (reportInfos != null) {
2452 _json["reportInfos"] = reportInfos.map((value) => (value).toJson()).toList (); 2440 _json["reportInfos"] = reportInfos.map((value) => (value).toJson()).toList ();
2453 } 2441 }
2454 if (serviceConfigId != null) { 2442 if (serviceConfigId != null) {
2455 _json["serviceConfigId"] = serviceConfigId; 2443 _json["serviceConfigId"] = serviceConfigId;
2456 } 2444 }
2457 return _json; 2445 return _json;
2458 } 2446 }
2459 } 2447 }
2460 2448
2461 /** Metadata about the request. */ 2449 /** Metadata about the request. */
2462 class RequestMetadata { 2450 class RequestMetadata {
2463 /** The IP address of the caller. */ 2451 /** The IP address of the caller. */
2464 core.String callerIp; 2452 core.String callerIp;
2465 /** 2453 /**
2466 * The user agent of the caller. 2454 * The user agent of the caller.
2467 * This information is not authenticated and should be treated accordingly. 2455 * This information is not authenticated and should be treated accordingly.
2468 * For example: 2456 * For example:
2469 * 2457 *
2470 * + `google-api-python-client/1.4.0`: 2458 * + `google-api-python-client/1.4.0`:
2471 * The request was made by the Google API client for Python. 2459 * The request was made by the Google API client for Python.
2472 * + `Cloud SDK Command Line Tool apitools-client/1.0 gcloud/0.9.62`: 2460 * + `Cloud SDK Command Line Tool apitools-client/1.0 gcloud/0.9.62`:
2473 * The request was made by the Google Cloud SDK CLI (gcloud). 2461 * The request was made by the Google Cloud SDK CLI (gcloud).
2474 * + `AppEngine-Google; (+http://code.google.com/appengine; appid: 2462 * + `AppEngine-Google; (+http://code.google.com/appengine; appid:
2475 * s~my-project`: 2463 * s~my-project`:
2476 * The request was made from the `my-project` App Engine app. 2464 * The request was made from the `my-project` App Engine app.
2465 *
2466 * NOLINT
2477 */ 2467 */
2478 core.String callerSuppliedUserAgent; 2468 core.String callerSuppliedUserAgent;
2479 2469
2480 RequestMetadata(); 2470 RequestMetadata();
2481 2471
2482 RequestMetadata.fromJson(core.Map _json) { 2472 RequestMetadata.fromJson(core.Map _json) {
2483 if (_json.containsKey("callerIp")) { 2473 if (_json.containsKey("callerIp")) {
2484 callerIp = _json["callerIp"]; 2474 callerIp = _json["callerIp"];
2485 } 2475 }
2486 if (_json.containsKey("callerSuppliedUserAgent")) { 2476 if (_json.containsKey("callerSuppliedUserAgent")) {
2487 callerSuppliedUserAgent = _json["callerSuppliedUserAgent"]; 2477 callerSuppliedUserAgent = _json["callerSuppliedUserAgent"];
2488 } 2478 }
2489 } 2479 }
2490 2480
2491 core.Map toJson() { 2481 core.Map<core.String, core.Object> toJson() {
2492 var _json = new core.Map(); 2482 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
2493 if (callerIp != null) { 2483 if (callerIp != null) {
2494 _json["callerIp"] = callerIp; 2484 _json["callerIp"] = callerIp;
2495 } 2485 }
2496 if (callerSuppliedUserAgent != null) { 2486 if (callerSuppliedUserAgent != null) {
2497 _json["callerSuppliedUserAgent"] = callerSuppliedUserAgent; 2487 _json["callerSuppliedUserAgent"] = callerSuppliedUserAgent;
2498 } 2488 }
2499 return _json; 2489 return _json;
2500 } 2490 }
2501 } 2491 }
2502 2492
(...skipping 11 matching lines...) Expand all
2514 2504
2515 StartReconciliationRequest.fromJson(core.Map _json) { 2505 StartReconciliationRequest.fromJson(core.Map _json) {
2516 if (_json.containsKey("reconciliationOperation")) { 2506 if (_json.containsKey("reconciliationOperation")) {
2517 reconciliationOperation = new QuotaOperation.fromJson(_json["reconciliatio nOperation"]); 2507 reconciliationOperation = new QuotaOperation.fromJson(_json["reconciliatio nOperation"]);
2518 } 2508 }
2519 if (_json.containsKey("serviceConfigId")) { 2509 if (_json.containsKey("serviceConfigId")) {
2520 serviceConfigId = _json["serviceConfigId"]; 2510 serviceConfigId = _json["serviceConfigId"];
2521 } 2511 }
2522 } 2512 }
2523 2513
2524 core.Map toJson() { 2514 core.Map<core.String, core.Object> toJson() {
2525 var _json = new core.Map(); 2515 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
2526 if (reconciliationOperation != null) { 2516 if (reconciliationOperation != null) {
2527 _json["reconciliationOperation"] = (reconciliationOperation).toJson(); 2517 _json["reconciliationOperation"] = (reconciliationOperation).toJson();
2528 } 2518 }
2529 if (serviceConfigId != null) { 2519 if (serviceConfigId != null) {
2530 _json["serviceConfigId"] = serviceConfigId; 2520 _json["serviceConfigId"] = serviceConfigId;
2531 } 2521 }
2532 return _json; 2522 return _json;
2533 } 2523 }
2534 } 2524 }
2535 2525
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
2567 quotaMetrics = _json["quotaMetrics"].map((value) => new MetricValueSet.fro mJson(value)).toList(); 2557 quotaMetrics = _json["quotaMetrics"].map((value) => new MetricValueSet.fro mJson(value)).toList();
2568 } 2558 }
2569 if (_json.containsKey("reconciliationErrors")) { 2559 if (_json.containsKey("reconciliationErrors")) {
2570 reconciliationErrors = _json["reconciliationErrors"].map((value) => new Qu otaError.fromJson(value)).toList(); 2560 reconciliationErrors = _json["reconciliationErrors"].map((value) => new Qu otaError.fromJson(value)).toList();
2571 } 2561 }
2572 if (_json.containsKey("serviceConfigId")) { 2562 if (_json.containsKey("serviceConfigId")) {
2573 serviceConfigId = _json["serviceConfigId"]; 2563 serviceConfigId = _json["serviceConfigId"];
2574 } 2564 }
2575 } 2565 }
2576 2566
2577 core.Map toJson() { 2567 core.Map<core.String, core.Object> toJson() {
2578 var _json = new core.Map(); 2568 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
2579 if (operationId != null) { 2569 if (operationId != null) {
2580 _json["operationId"] = operationId; 2570 _json["operationId"] = operationId;
2581 } 2571 }
2582 if (quotaMetrics != null) { 2572 if (quotaMetrics != null) {
2583 _json["quotaMetrics"] = quotaMetrics.map((value) => (value).toJson()).toLi st(); 2573 _json["quotaMetrics"] = quotaMetrics.map((value) => (value).toJson()).toLi st();
2584 } 2574 }
2585 if (reconciliationErrors != null) { 2575 if (reconciliationErrors != null) {
2586 _json["reconciliationErrors"] = reconciliationErrors.map((value) => (value ).toJson()).toList(); 2576 _json["reconciliationErrors"] = reconciliationErrors.map((value) => (value ).toJson()).toList();
2587 } 2577 }
2588 if (serviceConfigId != null) { 2578 if (serviceConfigId != null) {
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
2673 code = _json["code"]; 2663 code = _json["code"];
2674 } 2664 }
2675 if (_json.containsKey("details")) { 2665 if (_json.containsKey("details")) {
2676 details = _json["details"]; 2666 details = _json["details"];
2677 } 2667 }
2678 if (_json.containsKey("message")) { 2668 if (_json.containsKey("message")) {
2679 message = _json["message"]; 2669 message = _json["message"];
2680 } 2670 }
2681 } 2671 }
2682 2672
2683 core.Map toJson() { 2673 core.Map<core.String, core.Object> toJson() {
2684 var _json = new core.Map(); 2674 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
2685 if (code != null) { 2675 if (code != null) {
2686 _json["code"] = code; 2676 _json["code"] = code;
2687 } 2677 }
2688 if (details != null) { 2678 if (details != null) {
2689 _json["details"] = details; 2679 _json["details"] = details;
2690 } 2680 }
2691 if (message != null) { 2681 if (message != null) {
2692 _json["message"] = message; 2682 _json["message"] = message;
2693 } 2683 }
2694 return _json; 2684 return _json;
2695 } 2685 }
2696 } 2686 }
OLDNEW
« no previous file with comments | « generated/googleapis/lib/searchconsole/v1.dart ('k') | generated/googleapis/lib/servicemanagement/v1.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698