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

Side by Side Diff: generated/googleapis/lib/servicemanagement/v1.dart

Issue 2824163002: Api-roll 48: 2017-04-18 (Closed)
Patch Set: Revert changes to pubspecs Created 3 years, 8 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.servicemanagement.v1; 3 library googleapis.servicemanagement.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_1; 10 import 'package:http/http.dart' as http_1;
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
89 uploadMedia: _uploadMedia, 89 uploadMedia: _uploadMedia,
90 downloadOptions: _downloadOptions); 90 downloadOptions: _downloadOptions);
91 return _response.then((data) => new Operation.fromJson(data)); 91 return _response.then((data) => new Operation.fromJson(data));
92 } 92 }
93 93
94 /** 94 /**
95 * Lists service operations that match the specified filter in the request. 95 * Lists service operations that match the specified filter in the request.
96 * 96 *
97 * Request parameters: 97 * Request parameters:
98 * 98 *
99 * [name] - Not used.
100 *
101 * [pageToken] - The standard list page token.
102 *
103 * [pageSize] - The maximum number of operations to return. If unspecified, 99 * [pageSize] - The maximum number of operations to return. If unspecified,
104 * defaults to 100 * defaults to
105 * 50. The maximum value is 100. 101 * 50. The maximum value is 100.
106 * 102 *
107 * [filter] - A string for filtering Operations. 103 * [filter] - A string for filtering Operations.
108 * The following filter fields are supported: 104 * The following filter fields are supported:
109 * 105 *
110 * * serviceName: Required. Only `=` operator is allowed. 106 * * serviceName: Required. Only `=` operator is allowed.
111 * * startTime: The time this job was started, in ISO 8601 format. 107 * * startTime: The time this job was started, in ISO 8601 format.
112 * Allowed operators are `>=`, `>`, `<=`, and `<`. 108 * Allowed operators are `>=`, `>`, `<=`, and `<`.
113 * * status&#58; Can be `done`, `in_progress`, or `failed`. Allowed 109 * * status&#58; Can be `done`, `in_progress`, or `failed`. Allowed
114 * operators are `=`, and `!=`. 110 * operators are `=`, and `!=`.
115 * 111 *
116 * Filter expression supports conjunction (AND) and disjunction (OR) 112 * Filter expression supports conjunction (AND) and disjunction (OR)
117 * logical operators. However, the serviceName restriction must be at the 113 * logical operators. However, the serviceName restriction must be at the
118 * top-level and can only be combined with other restrictions via the AND 114 * top-level and can only be combined with other restrictions via the AND
119 * logical operator. 115 * logical operator.
120 * 116 *
121 * Examples&#58; 117 * Examples&#58;
122 * 118 *
123 * * `serviceName={some-service}.googleapis.com` 119 * * `serviceName={some-service}.googleapis.com`
124 * * `serviceName={some-service}.googleapis.com AND startTime>="2017-02-01"` 120 * * `serviceName={some-service}.googleapis.com AND startTime>="2017-02-01"`
125 * * `serviceName={some-service}.googleapis.com AND status=done` 121 * * `serviceName={some-service}.googleapis.com AND status=done`
126 * * `serviceName={some-service}.googleapis.com AND (status=done OR 122 * * `serviceName={some-service}.googleapis.com AND (status=done OR
127 * startTime>="2017-02-01")` 123 * startTime>="2017-02-01")`
128 * 124 *
125 * [name] - Not used.
126 *
127 * [pageToken] - The standard list page token.
128 *
129 * Completes with a [ListOperationsResponse]. 129 * Completes with a [ListOperationsResponse].
130 * 130 *
131 * Completes with a [commons.ApiRequestError] if the API endpoint returned an 131 * Completes with a [commons.ApiRequestError] if the API endpoint returned an
132 * error. 132 * error.
133 * 133 *
134 * If the used [http_1.Client] completes with an error when making a REST 134 * If the used [http_1.Client] completes with an error when making a REST
135 * call, this method will complete with the same error. 135 * call, this method will complete with the same error.
136 */ 136 */
137 async.Future<ListOperationsResponse> list({core.String name, core.String pageT oken, core.int pageSize, core.String filter}) { 137 async.Future<ListOperationsResponse> list({core.int pageSize, core.String filt er, core.String name, core.String pageToken}) {
138 var _url = null; 138 var _url = null;
139 var _queryParams = new core.Map(); 139 var _queryParams = new core.Map();
140 var _uploadMedia = null; 140 var _uploadMedia = null;
141 var _uploadOptions = null; 141 var _uploadOptions = null;
142 var _downloadOptions = commons.DownloadOptions.Metadata; 142 var _downloadOptions = commons.DownloadOptions.Metadata;
143 var _body = null; 143 var _body = null;
144 144
145 if (pageSize != null) {
146 _queryParams["pageSize"] = ["${pageSize}"];
147 }
148 if (filter != null) {
149 _queryParams["filter"] = [filter];
150 }
145 if (name != null) { 151 if (name != null) {
146 _queryParams["name"] = [name]; 152 _queryParams["name"] = [name];
147 } 153 }
148 if (pageToken != null) { 154 if (pageToken != null) {
149 _queryParams["pageToken"] = [pageToken]; 155 _queryParams["pageToken"] = [pageToken];
150 } 156 }
151 if (pageSize != null) {
152 _queryParams["pageSize"] = ["${pageSize}"];
153 }
154 if (filter != null) {
155 _queryParams["filter"] = [filter];
156 }
157 157
158 _url = 'v1/operations'; 158 _url = 'v1/operations';
159 159
160 var _response = _requester.request(_url, 160 var _response = _requester.request(_url,
161 "GET", 161 "GET",
162 body: _body, 162 body: _body,
163 queryParams: _queryParams, 163 queryParams: _queryParams,
164 uploadOptions: _uploadOptions, 164 uploadOptions: _uploadOptions,
165 uploadMedia: _uploadMedia, 165 uploadMedia: _uploadMedia,
166 downloadOptions: _downloadOptions); 166 downloadOptions: _downloadOptions);
(...skipping 403 matching lines...) Expand 10 before | Expand all | Expand 10 after
570 * Returns all public services. For authenticated users, also returns all 570 * Returns all public services. For authenticated users, also returns all
571 * services the calling user has "servicemanagement.services.get" permission 571 * services the calling user has "servicemanagement.services.get" permission
572 * for. 572 * for.
573 * 573 *
574 * **BETA:** If the caller specifies the `consumer_id`, it returns only the 574 * **BETA:** If the caller specifies the `consumer_id`, it returns only the
575 * services enabled on the consumer. The `consumer_id` must have the format 575 * services enabled on the consumer. The `consumer_id` must have the format
576 * of "project:{PROJECT-ID}". 576 * of "project:{PROJECT-ID}".
577 * 577 *
578 * Request parameters: 578 * Request parameters:
579 * 579 *
580 * [producerProjectId] - Include services produced by the specified project.
581 *
582 * [consumerId] - Include services consumed by the specified consumer. 580 * [consumerId] - Include services consumed by the specified consumer.
583 * 581 *
584 * The Google Service Management implementation accepts the following 582 * The Google Service Management implementation accepts the following
585 * forms: 583 * forms:
586 * - project:<project_id> 584 * - project:<project_id>
587 * 585 *
588 * [pageToken] - Token identifying which result to start with; returned by a 586 * [pageToken] - Token identifying which result to start with; returned by a
589 * previous list 587 * previous list
590 * call. 588 * call.
591 * 589 *
592 * [pageSize] - Requested size of the next page of data. 590 * [pageSize] - Requested size of the next page of data.
593 * 591 *
592 * [producerProjectId] - Include services produced by the specified project.
593 *
594 * Completes with a [ListServicesResponse]. 594 * Completes with a [ListServicesResponse].
595 * 595 *
596 * Completes with a [commons.ApiRequestError] if the API endpoint returned an 596 * Completes with a [commons.ApiRequestError] if the API endpoint returned an
597 * error. 597 * error.
598 * 598 *
599 * If the used [http_1.Client] completes with an error when making a REST 599 * If the used [http_1.Client] completes with an error when making a REST
600 * call, this method will complete with the same error. 600 * call, this method will complete with the same error.
601 */ 601 */
602 async.Future<ListServicesResponse> list({core.String producerProjectId, core.S tring consumerId, core.String pageToken, core.int pageSize}) { 602 async.Future<ListServicesResponse> list({core.String consumerId, core.String p ageToken, core.int pageSize, core.String producerProjectId}) {
603 var _url = null; 603 var _url = null;
604 var _queryParams = new core.Map(); 604 var _queryParams = new core.Map();
605 var _uploadMedia = null; 605 var _uploadMedia = null;
606 var _uploadOptions = null; 606 var _uploadOptions = null;
607 var _downloadOptions = commons.DownloadOptions.Metadata; 607 var _downloadOptions = commons.DownloadOptions.Metadata;
608 var _body = null; 608 var _body = null;
609 609
610 if (producerProjectId != null) {
611 _queryParams["producerProjectId"] = [producerProjectId];
612 }
613 if (consumerId != null) { 610 if (consumerId != null) {
614 _queryParams["consumerId"] = [consumerId]; 611 _queryParams["consumerId"] = [consumerId];
615 } 612 }
616 if (pageToken != null) { 613 if (pageToken != null) {
617 _queryParams["pageToken"] = [pageToken]; 614 _queryParams["pageToken"] = [pageToken];
618 } 615 }
619 if (pageSize != null) { 616 if (pageSize != null) {
620 _queryParams["pageSize"] = ["${pageSize}"]; 617 _queryParams["pageSize"] = ["${pageSize}"];
621 } 618 }
619 if (producerProjectId != null) {
620 _queryParams["producerProjectId"] = [producerProjectId];
621 }
622 622
623 _url = 'v1/services'; 623 _url = 'v1/services';
624 624
625 var _response = _requester.request(_url, 625 var _response = _requester.request(_url,
626 "GET", 626 "GET",
627 body: _body, 627 body: _body,
628 queryParams: _queryParams, 628 queryParams: _queryParams,
629 uploadOptions: _uploadOptions, 629 uploadOptions: _uploadOptions,
630 uploadMedia: _uploadMedia, 630 uploadMedia: _uploadMedia,
631 downloadOptions: _downloadOptions); 631 downloadOptions: _downloadOptions);
(...skipping 480 matching lines...) Expand 10 before | Expand all | Expand 10 after
1112 /** 1112 /**
1113 * Lists the history of the service configuration rollouts for a managed 1113 * Lists the history of the service configuration rollouts for a managed
1114 * service, from the newest to the oldest. 1114 * service, from the newest to the oldest.
1115 * 1115 *
1116 * Request parameters: 1116 * Request parameters:
1117 * 1117 *
1118 * [serviceName] - The name of the service. See the 1118 * [serviceName] - The name of the service. See the
1119 * [overview](/service-management/overview) 1119 * [overview](/service-management/overview)
1120 * for naming requirements. For example: `example.googleapis.com`. 1120 * for naming requirements. For example: `example.googleapis.com`.
1121 * 1121 *
1122 * [pageToken] - The token of the page to retrieve.
1123 *
1122 * [pageSize] - The max number of items to include in the response list. 1124 * [pageSize] - The max number of items to include in the response list.
1123 * 1125 *
1124 * [pageToken] - The token of the page to retrieve.
1125 *
1126 * Completes with a [ListServiceRolloutsResponse]. 1126 * Completes with a [ListServiceRolloutsResponse].
1127 * 1127 *
1128 * Completes with a [commons.ApiRequestError] if the API endpoint returned an 1128 * Completes with a [commons.ApiRequestError] if the API endpoint returned an
1129 * error. 1129 * error.
1130 * 1130 *
1131 * If the used [http_1.Client] completes with an error when making a REST 1131 * If the used [http_1.Client] completes with an error when making a REST
1132 * call, this method will complete with the same error. 1132 * call, this method will complete with the same error.
1133 */ 1133 */
1134 async.Future<ListServiceRolloutsResponse> list(core.String serviceName, {core. int pageSize, core.String pageToken}) { 1134 async.Future<ListServiceRolloutsResponse> list(core.String serviceName, {core. String pageToken, core.int pageSize}) {
1135 var _url = null; 1135 var _url = null;
1136 var _queryParams = new core.Map(); 1136 var _queryParams = new core.Map();
1137 var _uploadMedia = null; 1137 var _uploadMedia = null;
1138 var _uploadOptions = null; 1138 var _uploadOptions = null;
1139 var _downloadOptions = commons.DownloadOptions.Metadata; 1139 var _downloadOptions = commons.DownloadOptions.Metadata;
1140 var _body = null; 1140 var _body = null;
1141 1141
1142 if (serviceName == null) { 1142 if (serviceName == null) {
1143 throw new core.ArgumentError("Parameter serviceName is required."); 1143 throw new core.ArgumentError("Parameter serviceName is required.");
1144 } 1144 }
1145 if (pageToken != null) {
1146 _queryParams["pageToken"] = [pageToken];
1147 }
1145 if (pageSize != null) { 1148 if (pageSize != null) {
1146 _queryParams["pageSize"] = ["${pageSize}"]; 1149 _queryParams["pageSize"] = ["${pageSize}"];
1147 } 1150 }
1148 if (pageToken != null) {
1149 _queryParams["pageToken"] = [pageToken];
1150 }
1151 1151
1152 _url = 'v1/services/' + commons.Escaper.ecapeVariable('$serviceName') + '/ro llouts'; 1152 _url = 'v1/services/' + commons.Escaper.ecapeVariable('$serviceName') + '/ro llouts';
1153 1153
1154 var _response = _requester.request(_url, 1154 var _response = _requester.request(_url,
1155 "GET", 1155 "GET",
1156 body: _body, 1156 body: _body,
1157 queryParams: _queryParams, 1157 queryParams: _queryParams,
1158 uploadOptions: _uploadOptions, 1158 uploadOptions: _uploadOptions,
1159 uploadMedia: _uploadMedia, 1159 uploadMedia: _uploadMedia,
1160 downloadOptions: _downloadOptions); 1160 downloadOptions: _downloadOptions);
(...skipping 137 matching lines...) Expand 10 before | Expand all | Expand 10 after
1298 /** 1298 /**
1299 * Specifies the audit configuration for a service. 1299 * Specifies the audit configuration for a service.
1300 * The configuration determines which permission types are logged, and what 1300 * The configuration determines which permission types are logged, and what
1301 * identities, if any, are exempted from logging. 1301 * identities, if any, are exempted from logging.
1302 * An AuditConifg must have one or more AuditLogConfigs. 1302 * An AuditConifg must have one or more AuditLogConfigs.
1303 * 1303 *
1304 * If there are AuditConfigs for both `allServices` and a specific service, 1304 * If there are AuditConfigs for both `allServices` and a specific service,
1305 * the union of the two AuditConfigs is used for that service: the log_types 1305 * the union of the two AuditConfigs is used for that service: the log_types
1306 * specified in each AuditConfig are enabled, and the exempted_members in each 1306 * specified in each AuditConfig are enabled, and the exempted_members in each
1307 * AuditConfig are exempted. 1307 * AuditConfig are exempted.
1308 *
1308 * Example Policy with multiple AuditConfigs: 1309 * Example Policy with multiple AuditConfigs:
1309 * { 1310 *
1310 * "audit_configs": [
1311 * { 1311 * {
1312 * "service": "allServices" 1312 * "audit_configs": [
1313 * "audit_log_configs": [
1314 * { 1313 * {
1315 * "log_type": "DATA_READ", 1314 * "service": "allServices"
1316 * "exempted_members": [ 1315 * "audit_log_configs": [
1317 * "user:foo@gmail.com" 1316 * {
1317 * "log_type": "DATA_READ",
1318 * "exempted_members": [
1319 * "user:foo@gmail.com"
1320 * ]
1321 * },
1322 * {
1323 * "log_type": "DATA_WRITE",
1324 * },
1325 * {
1326 * "log_type": "ADMIN_READ",
1327 * }
1318 * ] 1328 * ]
1319 * }, 1329 * },
1320 * { 1330 * {
1321 * "log_type": "DATA_WRITE", 1331 * "service": "fooservice.googleapis.com"
1322 * }, 1332 * "audit_log_configs": [
1323 * { 1333 * {
1324 * "log_type": "ADMIN_READ", 1334 * "log_type": "DATA_READ",
1325 * } 1335 * },
1326 * ] 1336 * {
1327 * }, 1337 * "log_type": "DATA_WRITE",
1328 * { 1338 * "exempted_members": [
1329 * "service": "fooservice@googleapis.com" 1339 * "user:bar@gmail.com"
1330 * "audit_log_configs": [ 1340 * ]
1331 * { 1341 * }
1332 * "log_type": "DATA_READ",
1333 * },
1334 * {
1335 * "log_type": "DATA_WRITE",
1336 * "exempted_members": [
1337 * "user:bar@gmail.com"
1338 * ] 1342 * ]
1339 * } 1343 * }
1340 * ] 1344 * ]
1341 * } 1345 * }
1342 * ] 1346 *
1343 * }
1344 * For fooservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ 1347 * For fooservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ
1345 * logging. It also exempts foo@gmail.com from DATA_READ logging, and 1348 * logging. It also exempts foo@gmail.com from DATA_READ logging, and
1346 * bar@gmail.com from DATA_WRITE logging. 1349 * bar@gmail.com from DATA_WRITE logging.
1347 */ 1350 */
1348 class AuditConfig { 1351 class AuditConfig {
1349 /** 1352 /**
1350 * The configuration for logging of each type of permission. 1353 * The configuration for logging of each type of permission.
1351 * Next ID: 4 1354 * Next ID: 4
1352 */ 1355 */
1353 core.List<AuditLogConfig> auditLogConfigs; 1356 core.List<AuditLogConfig> auditLogConfigs;
(...skipping 1513 matching lines...) Expand 10 before | Expand all | Expand 10 after
2867 * the browser to determine whether the subsequent cross-origin request is 2870 * the browser to determine whether the subsequent cross-origin request is
2868 * allowed to proceed. 2871 * allowed to proceed.
2869 */ 2872 */
2870 core.bool allowCors; 2873 core.bool allowCors;
2871 /** The list of APIs served by this endpoint. */ 2874 /** The list of APIs served by this endpoint. */
2872 core.List<core.String> apis; 2875 core.List<core.String> apis;
2873 /** The list of features enabled on this endpoint. */ 2876 /** The list of features enabled on this endpoint. */
2874 core.List<core.String> features; 2877 core.List<core.String> features;
2875 /** The canonical name of this endpoint. */ 2878 /** The canonical name of this endpoint. */
2876 core.String name; 2879 core.String name;
2880 /**
2881 * The specification of an Internet routable address of API frontend that will
2882 * handle requests to this [API
2883 * Endpoint](https://cloud.google.com/apis/design/glossary).
2884 * It should be either a valid IPv4 address or a fully-qualified domain name.
2885 * For example, "8.8.8.8" or "myservice.appspot.com".
2886 */
2887 core.String target;
2877 2888
2878 Endpoint(); 2889 Endpoint();
2879 2890
2880 Endpoint.fromJson(core.Map _json) { 2891 Endpoint.fromJson(core.Map _json) {
2881 if (_json.containsKey("aliases")) { 2892 if (_json.containsKey("aliases")) {
2882 aliases = _json["aliases"]; 2893 aliases = _json["aliases"];
2883 } 2894 }
2884 if (_json.containsKey("allowCors")) { 2895 if (_json.containsKey("allowCors")) {
2885 allowCors = _json["allowCors"]; 2896 allowCors = _json["allowCors"];
2886 } 2897 }
2887 if (_json.containsKey("apis")) { 2898 if (_json.containsKey("apis")) {
2888 apis = _json["apis"]; 2899 apis = _json["apis"];
2889 } 2900 }
2890 if (_json.containsKey("features")) { 2901 if (_json.containsKey("features")) {
2891 features = _json["features"]; 2902 features = _json["features"];
2892 } 2903 }
2893 if (_json.containsKey("name")) { 2904 if (_json.containsKey("name")) {
2894 name = _json["name"]; 2905 name = _json["name"];
2895 } 2906 }
2907 if (_json.containsKey("target")) {
2908 target = _json["target"];
2909 }
2896 } 2910 }
2897 2911
2898 core.Map toJson() { 2912 core.Map toJson() {
2899 var _json = new core.Map(); 2913 var _json = new core.Map();
2900 if (aliases != null) { 2914 if (aliases != null) {
2901 _json["aliases"] = aliases; 2915 _json["aliases"] = aliases;
2902 } 2916 }
2903 if (allowCors != null) { 2917 if (allowCors != null) {
2904 _json["allowCors"] = allowCors; 2918 _json["allowCors"] = allowCors;
2905 } 2919 }
2906 if (apis != null) { 2920 if (apis != null) {
2907 _json["apis"] = apis; 2921 _json["apis"] = apis;
2908 } 2922 }
2909 if (features != null) { 2923 if (features != null) {
2910 _json["features"] = features; 2924 _json["features"] = features;
2911 } 2925 }
2912 if (name != null) { 2926 if (name != null) {
2913 _json["name"] = name; 2927 _json["name"] = name;
2914 } 2928 }
2929 if (target != null) {
2930 _json["target"] = target;
2931 }
2915 return _json; 2932 return _json;
2916 } 2933 }
2917 } 2934 }
2918 2935
2919 /** Enum type definition. */ 2936 /** Enum type definition. */
2920 class Enum { 2937 class Enum {
2921 /** Enum value definitions. */ 2938 /** Enum value definitions. */
2922 core.List<EnumValue> enumvalue; 2939 core.List<EnumValue> enumvalue;
2923 /** Enum type name. */ 2940 /** Enum type name. */
2924 core.String name; 2941 core.String name;
(...skipping 268 matching lines...) Expand 10 before | Expand all | Expand 10 after
3193 * to suspect a problem and other parts of the system may kill operation 3210 * to suspect a problem and other parts of the system may kill operation
3194 * to ensure we don't have orphans. 3211 * to ensure we don't have orphans.
3195 * see also: go/prevent-orphaned-operations 3212 * see also: go/prevent-orphaned-operations
3196 */ 3213 */
3197 core.String deadline; 3214 core.String deadline;
3198 /** 3215 /**
3199 * The name of the top-level flow corresponding to this operation. 3216 * The name of the top-level flow corresponding to this operation.
3200 * Must be equal to the "name" field for a FlowName enum. 3217 * Must be equal to the "name" field for a FlowName enum.
3201 */ 3218 */
3202 core.String flowName; 3219 core.String flowName;
3203 /** Is the update for the operation persisted? */
3204 core.bool isPersisted;
3205 /** 3220 /**
3206 * The full name of the resources that this flow is directly associated with. 3221 * The full name of the resources that this flow is directly associated with.
3207 */ 3222 */
3208 core.List<core.String> resourceNames; 3223 core.List<core.String> resourceNames;
3209 /** The start time of the operation. */ 3224 /** The start time of the operation. */
3210 core.String startTime; 3225 core.String startTime;
3211 3226
3212 FlowOperationMetadata(); 3227 FlowOperationMetadata();
3213 3228
3214 FlowOperationMetadata.fromJson(core.Map _json) { 3229 FlowOperationMetadata.fromJson(core.Map _json) {
3215 if (_json.containsKey("cancelState")) { 3230 if (_json.containsKey("cancelState")) {
3216 cancelState = _json["cancelState"]; 3231 cancelState = _json["cancelState"];
3217 } 3232 }
3218 if (_json.containsKey("deadline")) { 3233 if (_json.containsKey("deadline")) {
3219 deadline = _json["deadline"]; 3234 deadline = _json["deadline"];
3220 } 3235 }
3221 if (_json.containsKey("flowName")) { 3236 if (_json.containsKey("flowName")) {
3222 flowName = _json["flowName"]; 3237 flowName = _json["flowName"];
3223 } 3238 }
3224 if (_json.containsKey("isPersisted")) {
3225 isPersisted = _json["isPersisted"];
3226 }
3227 if (_json.containsKey("resourceNames")) { 3239 if (_json.containsKey("resourceNames")) {
3228 resourceNames = _json["resourceNames"]; 3240 resourceNames = _json["resourceNames"];
3229 } 3241 }
3230 if (_json.containsKey("startTime")) { 3242 if (_json.containsKey("startTime")) {
3231 startTime = _json["startTime"]; 3243 startTime = _json["startTime"];
3232 } 3244 }
3233 } 3245 }
3234 3246
3235 core.Map toJson() { 3247 core.Map toJson() {
3236 var _json = new core.Map(); 3248 var _json = new core.Map();
3237 if (cancelState != null) { 3249 if (cancelState != null) {
3238 _json["cancelState"] = cancelState; 3250 _json["cancelState"] = cancelState;
3239 } 3251 }
3240 if (deadline != null) { 3252 if (deadline != null) {
3241 _json["deadline"] = deadline; 3253 _json["deadline"] = deadline;
3242 } 3254 }
3243 if (flowName != null) { 3255 if (flowName != null) {
3244 _json["flowName"] = flowName; 3256 _json["flowName"] = flowName;
3245 } 3257 }
3246 if (isPersisted != null) {
3247 _json["isPersisted"] = isPersisted;
3248 }
3249 if (resourceNames != null) { 3258 if (resourceNames != null) {
3250 _json["resourceNames"] = resourceNames; 3259 _json["resourceNames"] = resourceNames;
3251 } 3260 }
3252 if (startTime != null) { 3261 if (startTime != null) {
3253 _json["startTime"] = startTime; 3262 _json["startTime"] = startTime;
3254 } 3263 }
3255 return _json; 3264 return _json;
3256 } 3265 }
3257 } 3266 }
3258 3267
(...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after
3371 } 3380 }
3372 } 3381 }
3373 3382
3374 /** 3383 /**
3375 * Defines the HTTP configuration for a service. It contains a list of 3384 * Defines the HTTP configuration for a service. It contains a list of
3376 * HttpRule, each specifying the mapping of an RPC method 3385 * HttpRule, each specifying the mapping of an RPC method
3377 * to one or more HTTP REST API methods. 3386 * to one or more HTTP REST API methods.
3378 */ 3387 */
3379 class Http { 3388 class Http {
3380 /** 3389 /**
3390 * When set to true, URL path parmeters will be fully URI-decoded except in
3391 * cases of single segment matches in reserved expansion, where "%2F" will be
3392 * left encoded.
3393 *
3394 * The default behavior is to not decode RFC 6570 reserved characters in multi
3395 * segment matches.
3396 */
3397 core.bool fullyDecodeReservedExpansion;
3398 /**
3381 * A list of HTTP configuration rules that apply to individual API methods. 3399 * A list of HTTP configuration rules that apply to individual API methods.
3382 * 3400 *
3383 * **NOTE:** All service configuration rules follow "last one wins" order. 3401 * **NOTE:** All service configuration rules follow "last one wins" order.
3384 */ 3402 */
3385 core.List<HttpRule> rules; 3403 core.List<HttpRule> rules;
3386 3404
3387 Http(); 3405 Http();
3388 3406
3389 Http.fromJson(core.Map _json) { 3407 Http.fromJson(core.Map _json) {
3408 if (_json.containsKey("fullyDecodeReservedExpansion")) {
3409 fullyDecodeReservedExpansion = _json["fullyDecodeReservedExpansion"];
3410 }
3390 if (_json.containsKey("rules")) { 3411 if (_json.containsKey("rules")) {
3391 rules = _json["rules"].map((value) => new HttpRule.fromJson(value)).toList (); 3412 rules = _json["rules"].map((value) => new HttpRule.fromJson(value)).toList ();
3392 } 3413 }
3393 } 3414 }
3394 3415
3395 core.Map toJson() { 3416 core.Map toJson() {
3396 var _json = new core.Map(); 3417 var _json = new core.Map();
3418 if (fullyDecodeReservedExpansion != null) {
3419 _json["fullyDecodeReservedExpansion"] = fullyDecodeReservedExpansion;
3420 }
3397 if (rules != null) { 3421 if (rules != null) {
3398 _json["rules"] = rules.map((value) => (value).toJson()).toList(); 3422 _json["rules"] = rules.map((value) => (value).toJson()).toList();
3399 } 3423 }
3400 return _json; 3424 return _json;
3401 } 3425 }
3402 } 3426 }
3403 3427
3404 /** 3428 /**
3405 * `HttpRule` defines the mapping of an RPC method to one or more HTTP 3429 * `HttpRule` defines the mapping of an RPC method to one or more HTTP
3406 * REST APIs. The mapping determines what portions of the request 3430 * REST APIs. The mapping determines what portions of the request
(...skipping 1113 matching lines...) Expand 10 before | Expand all | Expand 10 after
4520 _json["unit"] = unit; 4544 _json["unit"] = unit;
4521 } 4545 }
4522 if (valueType != null) { 4546 if (valueType != null) {
4523 _json["valueType"] = valueType; 4547 _json["valueType"] = valueType;
4524 } 4548 }
4525 return _json; 4549 return _json;
4526 } 4550 }
4527 } 4551 }
4528 4552
4529 /** 4553 /**
4554 * Bind API methods to metrics. Binding a method to a metric causes that
4555 * metric's configured quota, billing, and monitoring behaviors to apply to the
4556 * method call.
4557 *
4558 * Used by metric-based quotas only.
4559 */
4560 class MetricRule {
4561 /**
4562 * Metrics to update when the selected methods are called, and the associated
4563 * cost applied to each metric.
4564 *
4565 * The key of the map is the metric name, and the values are the amount
4566 * increased for the metric against which the quota limits are defined.
4567 * The value must not be negative.
4568 */
4569 core.Map<core.String, core.String> metricCosts;
4570 /**
4571 * Selects the methods to which this rule applies.
4572 *
4573 * Refer to selector for syntax details.
4574 */
4575 core.String selector;
4576
4577 MetricRule();
4578
4579 MetricRule.fromJson(core.Map _json) {
4580 if (_json.containsKey("metricCosts")) {
4581 metricCosts = _json["metricCosts"];
4582 }
4583 if (_json.containsKey("selector")) {
4584 selector = _json["selector"];
4585 }
4586 }
4587
4588 core.Map toJson() {
4589 var _json = new core.Map();
4590 if (metricCosts != null) {
4591 _json["metricCosts"] = metricCosts;
4592 }
4593 if (selector != null) {
4594 _json["selector"] = selector;
4595 }
4596 return _json;
4597 }
4598 }
4599
4600 /**
4530 * Declares an API to be included in this API. The including API must 4601 * Declares an API to be included in this API. The including API must
4531 * redeclare all the methods from the included API, but documentation 4602 * redeclare all the methods from the included API, but documentation
4532 * and options are inherited as follows: 4603 * and options are inherited as follows:
4533 * 4604 *
4534 * - If after comment and whitespace stripping, the documentation 4605 * - If after comment and whitespace stripping, the documentation
4535 * string of the redeclared method is empty, it will be inherited 4606 * string of the redeclared method is empty, it will be inherited
4536 * from the original method. 4607 * from the original method.
4537 * 4608 *
4538 * - Each annotation belonging to the service config (http, 4609 * - Each annotation belonging to the service config (http,
4539 * visibility) which is not set in the redeclared method will be 4610 * visibility) which is not set in the redeclared method will be
(...skipping 712 matching lines...) Expand 10 before | Expand all | Expand 10 after
5252 _json["rules"] = rules.map((value) => (value).toJson()).toList(); 5323 _json["rules"] = rules.map((value) => (value).toJson()).toList();
5253 } 5324 }
5254 if (version != null) { 5325 if (version != null) {
5255 _json["version"] = version; 5326 _json["version"] = version;
5256 } 5327 }
5257 return _json; 5328 return _json;
5258 } 5329 }
5259 } 5330 }
5260 5331
5261 /** 5332 /**
5333 * Quota configuration helps to achieve fairness and budgeting in service
5334 * usage.
5335 *
5336 * The quota configuration works this way:
5337 * - The service configuration defines a set of metrics.
5338 * - For API calls, the quota.metric_rules maps methods to metrics with
5339 * corresponding costs.
5340 * - The quota.limits defines limits on the metrics, which will be used for
5341 * quota checks at runtime.
5342 *
5343 * An example quota configuration in yaml format:
5344 *
5345 * quota:
5346 *
5347 * - name: apiWriteQpsPerProject
5348 * metric: library.googleapis.com/write_calls
5349 * unit: "1/min/{project}" # rate limit for consumer projects
5350 * values:
5351 * STANDARD: 10000
5352 *
5353 *
5354 * # The metric rules bind all methods to the read_calls metric,
5355 * # except for the UpdateBook and DeleteBook methods. These two methods
5356 * # are mapped to the write_calls metric, with the UpdateBook method
5357 * # consuming at twice rate as the DeleteBook method.
5358 * metric_rules:
5359 * - selector: "*"
5360 * metric_costs:
5361 * library.googleapis.com/read_calls: 1
5362 * - selector: google.example.library.v1.LibraryService.UpdateBook
5363 * metric_costs:
5364 * library.googleapis.com/write_calls: 2
5365 * - selector: google.example.library.v1.LibraryService.DeleteBook
5366 * metric_costs:
5367 * library.googleapis.com/write_calls: 1
5368 *
5369 * Corresponding Metric definition:
5370 *
5371 * metrics:
5372 * - name: library.googleapis.com/read_calls
5373 * display_name: Read requests
5374 * metric_kind: DELTA
5375 * value_type: INT64
5376 *
5377 * - name: library.googleapis.com/write_calls
5378 * display_name: Write requests
5379 * metric_kind: DELTA
5380 * value_type: INT64
5381 */
5382 class Quota {
5383 /**
5384 * List of `QuotaLimit` definitions for the service.
5385 *
5386 * Used by metric-based quotas only.
5387 */
5388 core.List<QuotaLimit> limits;
5389 /**
5390 * List of `MetricRule` definitions, each one mapping a selected method to one
5391 * or more metrics.
5392 *
5393 * Used by metric-based quotas only.
5394 */
5395 core.List<MetricRule> metricRules;
5396
5397 Quota();
5398
5399 Quota.fromJson(core.Map _json) {
5400 if (_json.containsKey("limits")) {
5401 limits = _json["limits"].map((value) => new QuotaLimit.fromJson(value)).to List();
5402 }
5403 if (_json.containsKey("metricRules")) {
5404 metricRules = _json["metricRules"].map((value) => new MetricRule.fromJson( value)).toList();
5405 }
5406 }
5407
5408 core.Map toJson() {
5409 var _json = new core.Map();
5410 if (limits != null) {
5411 _json["limits"] = limits.map((value) => (value).toJson()).toList();
5412 }
5413 if (metricRules != null) {
5414 _json["metricRules"] = metricRules.map((value) => (value).toJson()).toList ();
5415 }
5416 return _json;
5417 }
5418 }
5419
5420 /**
5421 * `QuotaLimit` defines a specific limit that applies over a specified duration
5422 * for a limit type. There can be at most one limit for a duration and limit
5423 * type combination defined within a `QuotaGroup`.
5424 */
5425 class QuotaLimit {
5426 /**
5427 * Default number of tokens that can be consumed during the specified
5428 * duration. This is the number of tokens assigned when a client
5429 * application developer activates the service for his/her project.
5430 *
5431 * Specifying a value of 0 will block all requests. This can be used if you
5432 * are provisioning quota to selected consumers and blocking others.
5433 * Similarly, a value of -1 will indicate an unlimited quota. No other
5434 * negative values are allowed.
5435 *
5436 * Used by group-based quotas only.
5437 */
5438 core.String defaultLimit;
5439 /**
5440 * Optional. User-visible, extended description for this quota limit.
5441 * Should be used only when more context is needed to understand this limit
5442 * than provided by the limit's display name (see: `display_name`).
5443 */
5444 core.String description;
5445 /**
5446 * User-visible display name for this limit.
5447 * Optional. If not set, the UI will provide a default display name based on
5448 * the quota configuration. This field can be used to override the default
5449 * display name generated from the configuration.
5450 */
5451 core.String displayName;
5452 /**
5453 * Duration of this limit in textual notation. Example: "100s", "24h", "1d".
5454 * For duration longer than a day, only multiple of days is supported. We
5455 * support only "100s" and "1d" for now. Additional support will be added in
5456 * the future. "0" indicates indefinite duration.
5457 *
5458 * Used by group-based quotas only.
5459 */
5460 core.String duration;
5461 /**
5462 * Free tier value displayed in the Developers Console for this limit.
5463 * The free tier is the number of tokens that will be subtracted from the
5464 * billed amount when billing is enabled.
5465 * This field can only be set on a limit with duration "1d", in a billable
5466 * group; it is invalid on any other limit. If this field is not set, it
5467 * defaults to 0, indicating that there is no free tier for this service.
5468 *
5469 * Used by group-based quotas only.
5470 */
5471 core.String freeTier;
5472 /**
5473 * Maximum number of tokens that can be consumed during the specified
5474 * duration. Client application developers can override the default limit up
5475 * to this maximum. If specified, this value cannot be set to a value less
5476 * than the default limit. If not specified, it is set to the default limit.
5477 *
5478 * To allow clients to apply overrides with no upper bound, set this to -1,
5479 * indicating unlimited maximum quota.
5480 *
5481 * Used by group-based quotas only.
5482 */
5483 core.String maxLimit;
5484 /**
5485 * The name of the metric this quota limit applies to. The quota limits with
5486 * the same metric will be checked together during runtime. The metric must be
5487 * defined within the service config.
5488 *
5489 * Used by metric-based quotas only.
5490 */
5491 core.String metric;
5492 /**
5493 * Name of the quota limit. The name is used to refer to the limit when
5494 * overriding the default limit on per-consumer basis.
5495 *
5496 * For group-based quota limits, the name must be unique within the quota
5497 * group. If a name is not provided, it will be generated from the limit_by
5498 * and duration fields.
5499 *
5500 * For metric-based quota limits, the name must be provided, and it must be
5501 * unique within the service. The name can only include alphanumeric
5502 * characters as well as '-'.
5503 *
5504 * The maximum length of the limit name is 64 characters.
5505 *
5506 * The name of a limit is used as a unique identifier for this limit.
5507 * Therefore, once a limit has been put into use, its name should be
5508 * immutable. You can use the display_name field to provide a user-friendly
5509 * name for the limit. The display name can be evolved over time without
5510 * affecting the identity of the limit.
5511 */
5512 core.String name;
5513 /**
5514 * Specify the unit of the quota limit. It uses the same syntax as
5515 * Metric.unit. The supported unit kinds are determined by the quota
5516 * backend system.
5517 *
5518 * The [Google Service Control](https://cloud.google.com/service-control)
5519 * supports the following unit components:
5520 * * One of the time intevals:
5521 * * "/min" for quota every minute.
5522 * * "/d" for quota every 24 hours, starting 00:00 US Pacific Time.
5523 * * Otherwise the quota won't be reset by time, such as storage limit.
5524 * * One and only one of the granted containers:
5525 * * "/{organization}" quota for an organization.
5526 * * "/{project}" quota for a project.
5527 * * "/{folder}" quota for a folder.
5528 * * "/{resource}" quota for a universal resource.
5529 * * Zero or more quota segmentation dimension. Not all combos are valid.
5530 * * "/{region}" quota for every region. Not to be used with time intervals.
5531 * * Otherwise the resources granted on the target is not segmented.
5532 * * "/{zone}" quota for every zone. Not to be used with time intervals.
5533 * * Otherwise the resources granted on the target is not segmented.
5534 * * "/{resource}" quota for a resource associated with a project or org.
5535 *
5536 * Here are some examples:
5537 * * "1/min/{project}" for quota per minute per project.
5538 * * "1/min/{user}" for quota per minute per user.
5539 * * "1/min/{organization}" for quota per minute per organization.
5540 *
5541 * Note: the order of unit components is insignificant.
5542 * The "1" at the beginning is required to follow the metric unit syntax.
5543 *
5544 * Used by metric-based quotas only.
5545 */
5546 core.String unit;
5547 /**
5548 * Tiered limit values. Also allows for regional or zone overrides for these
5549 * values if "/{region}" or "/{zone}" is specified in the unit field.
5550 *
5551 * Currently supported tiers from low to high:
5552 * VERY_LOW, LOW, STANDARD, HIGH, VERY_HIGH
5553 *
5554 * To apply different limit values for users according to their tiers, specify
5555 * the values for the tiers you want to differentiate. For example:
5556 * {LOW:100, STANDARD:500, HIGH:1000, VERY_HIGH:5000}
5557 *
5558 * The limit value for each tier is optional except for the tier STANDARD.
5559 * The limit value for an unspecified tier falls to the value of its next
5560 * tier towards tier STANDARD. For the above example, the limit value for tier
5561 * STANDARD is 500.
5562 *
5563 * To apply the same limit value for all users, just specify limit value for
5564 * tier STANDARD. For example: {STANDARD:500}.
5565 *
5566 * To apply a regional overide for a tier, add a map entry with key
5567 * "<TIER>/<region>", where <region> is a region name. Similarly, for a zone
5568 * override, add a map entry with key "<TIER>/{zone}".
5569 * Further, a wildcard can be used at the end of a zone name in order to
5570 * specify zone level overrides. For example:
5571 * LOW: 10, STANDARD: 50, HIGH: 100,
5572 * LOW/us-central1: 20, STANDARD/us-central1: 60, HIGH/us-central1: 200,
5573 * LOW/us-central1-*: 10, STANDARD/us-central1-*: 20, HIGH/us-central1-*: 80
5574 *
5575 * The regional overrides tier set for each region must be the same as
5576 * the tier set for default limit values. Same rule applies for zone overrides
5577 * tier as well.
5578 *
5579 * Used by metric-based quotas only.
5580 */
5581 core.Map<core.String, core.String> values;
5582
5583 QuotaLimit();
5584
5585 QuotaLimit.fromJson(core.Map _json) {
5586 if (_json.containsKey("defaultLimit")) {
5587 defaultLimit = _json["defaultLimit"];
5588 }
5589 if (_json.containsKey("description")) {
5590 description = _json["description"];
5591 }
5592 if (_json.containsKey("displayName")) {
5593 displayName = _json["displayName"];
5594 }
5595 if (_json.containsKey("duration")) {
5596 duration = _json["duration"];
5597 }
5598 if (_json.containsKey("freeTier")) {
5599 freeTier = _json["freeTier"];
5600 }
5601 if (_json.containsKey("maxLimit")) {
5602 maxLimit = _json["maxLimit"];
5603 }
5604 if (_json.containsKey("metric")) {
5605 metric = _json["metric"];
5606 }
5607 if (_json.containsKey("name")) {
5608 name = _json["name"];
5609 }
5610 if (_json.containsKey("unit")) {
5611 unit = _json["unit"];
5612 }
5613 if (_json.containsKey("values")) {
5614 values = _json["values"];
5615 }
5616 }
5617
5618 core.Map toJson() {
5619 var _json = new core.Map();
5620 if (defaultLimit != null) {
5621 _json["defaultLimit"] = defaultLimit;
5622 }
5623 if (description != null) {
5624 _json["description"] = description;
5625 }
5626 if (displayName != null) {
5627 _json["displayName"] = displayName;
5628 }
5629 if (duration != null) {
5630 _json["duration"] = duration;
5631 }
5632 if (freeTier != null) {
5633 _json["freeTier"] = freeTier;
5634 }
5635 if (maxLimit != null) {
5636 _json["maxLimit"] = maxLimit;
5637 }
5638 if (metric != null) {
5639 _json["metric"] = metric;
5640 }
5641 if (name != null) {
5642 _json["name"] = name;
5643 }
5644 if (unit != null) {
5645 _json["unit"] = unit;
5646 }
5647 if (values != null) {
5648 _json["values"] = values;
5649 }
5650 return _json;
5651 }
5652 }
5653
5654 /**
5262 * A rollout resource that defines how service configuration versions are pushed 5655 * A rollout resource that defines how service configuration versions are pushed
5263 * to control plane systems. Typically, you create a new version of the 5656 * to control plane systems. Typically, you create a new version of the
5264 * service config, and then create a Rollout to push the service config. 5657 * service config, and then create a Rollout to push the service config.
5265 */ 5658 */
5266 class Rollout { 5659 class Rollout {
5267 /** Creation time of the rollout. Readonly. */ 5660 /** Creation time of the rollout. Readonly. */
5268 core.String createTime; 5661 core.String createTime;
5269 /** The user who created the Rollout. Readonly. */ 5662 /** The user who created the Rollout. Readonly. */
5270 core.String createdBy; 5663 core.String createdBy;
5271 /** 5664 /**
(...skipping 283 matching lines...) Expand 10 before | Expand all | Expand 10 after
5555 * The DNS address at which this service is available, 5948 * The DNS address at which this service is available,
5556 * e.g. `calendar.googleapis.com`. 5949 * e.g. `calendar.googleapis.com`.
5557 */ 5950 */
5558 core.String name; 5951 core.String name;
5559 /** 5952 /**
5560 * The id of the Google developer project that owns the service. 5953 * The id of the Google developer project that owns the service.
5561 * Members of this project can manage the service configuration, 5954 * Members of this project can manage the service configuration,
5562 * manage consumption of the service, etc. 5955 * manage consumption of the service, etc.
5563 */ 5956 */
5564 core.String producerProjectId; 5957 core.String producerProjectId;
5958 /** Quota configuration. */
5959 Quota quota;
5565 /** 5960 /**
5566 * Output only. The source information for this configuration if available. 5961 * Output only. The source information for this configuration if available.
5567 */ 5962 */
5568 SourceInfo sourceInfo; 5963 SourceInfo sourceInfo;
5569 /** System parameter configuration. */ 5964 /** System parameter configuration. */
5570 SystemParameters systemParameters; 5965 SystemParameters systemParameters;
5571 /** 5966 /**
5572 * A list of all proto message types included in this API service. 5967 * A list of all proto message types included in this API service.
5573 * It serves similar purpose as [google.api.Service.types], except that 5968 * It serves similar purpose as [google.api.Service.types], except that
5574 * these types are not needed by user-defined APIs. Therefore, they will not 5969 * these types are not needed by user-defined APIs. Therefore, they will not
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
5650 } 6045 }
5651 if (_json.containsKey("monitoring")) { 6046 if (_json.containsKey("monitoring")) {
5652 monitoring = new Monitoring.fromJson(_json["monitoring"]); 6047 monitoring = new Monitoring.fromJson(_json["monitoring"]);
5653 } 6048 }
5654 if (_json.containsKey("name")) { 6049 if (_json.containsKey("name")) {
5655 name = _json["name"]; 6050 name = _json["name"];
5656 } 6051 }
5657 if (_json.containsKey("producerProjectId")) { 6052 if (_json.containsKey("producerProjectId")) {
5658 producerProjectId = _json["producerProjectId"]; 6053 producerProjectId = _json["producerProjectId"];
5659 } 6054 }
6055 if (_json.containsKey("quota")) {
6056 quota = new Quota.fromJson(_json["quota"]);
6057 }
5660 if (_json.containsKey("sourceInfo")) { 6058 if (_json.containsKey("sourceInfo")) {
5661 sourceInfo = new SourceInfo.fromJson(_json["sourceInfo"]); 6059 sourceInfo = new SourceInfo.fromJson(_json["sourceInfo"]);
5662 } 6060 }
5663 if (_json.containsKey("systemParameters")) { 6061 if (_json.containsKey("systemParameters")) {
5664 systemParameters = new SystemParameters.fromJson(_json["systemParameters"] ); 6062 systemParameters = new SystemParameters.fromJson(_json["systemParameters"] );
5665 } 6063 }
5666 if (_json.containsKey("systemTypes")) { 6064 if (_json.containsKey("systemTypes")) {
5667 systemTypes = _json["systemTypes"].map((value) => new Type.fromJson(value) ).toList(); 6065 systemTypes = _json["systemTypes"].map((value) => new Type.fromJson(value) ).toList();
5668 } 6066 }
5669 if (_json.containsKey("title")) { 6067 if (_json.containsKey("title")) {
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
5735 } 6133 }
5736 if (monitoring != null) { 6134 if (monitoring != null) {
5737 _json["monitoring"] = (monitoring).toJson(); 6135 _json["monitoring"] = (monitoring).toJson();
5738 } 6136 }
5739 if (name != null) { 6137 if (name != null) {
5740 _json["name"] = name; 6138 _json["name"] = name;
5741 } 6139 }
5742 if (producerProjectId != null) { 6140 if (producerProjectId != null) {
5743 _json["producerProjectId"] = producerProjectId; 6141 _json["producerProjectId"] = producerProjectId;
5744 } 6142 }
6143 if (quota != null) {
6144 _json["quota"] = (quota).toJson();
6145 }
5745 if (sourceInfo != null) { 6146 if (sourceInfo != null) {
5746 _json["sourceInfo"] = (sourceInfo).toJson(); 6147 _json["sourceInfo"] = (sourceInfo).toJson();
5747 } 6148 }
5748 if (systemParameters != null) { 6149 if (systemParameters != null) {
5749 _json["systemParameters"] = (systemParameters).toJson(); 6150 _json["systemParameters"] = (systemParameters).toJson();
5750 } 6151 }
5751 if (systemTypes != null) { 6152 if (systemTypes != null) {
5752 _json["systemTypes"] = systemTypes.map((value) => (value).toJson()).toList (); 6153 _json["systemTypes"] = systemTypes.map((value) => (value).toJson()).toList ();
5753 } 6154 }
5754 if (title != null) { 6155 if (title != null) {
(...skipping 866 matching lines...) Expand 10 before | Expand all | Expand 10 after
6621 var _json = new core.Map(); 7022 var _json = new core.Map();
6622 if (restriction != null) { 7023 if (restriction != null) {
6623 _json["restriction"] = restriction; 7024 _json["restriction"] = restriction;
6624 } 7025 }
6625 if (selector != null) { 7026 if (selector != null) {
6626 _json["selector"] = selector; 7027 _json["selector"] = selector;
6627 } 7028 }
6628 return _json; 7029 return _json;
6629 } 7030 }
6630 } 7031 }
OLDNEW
« no previous file with comments | « generated/googleapis/lib/runtimeconfig/v1.dart ('k') | generated/googleapis/lib/serviceuser/v1.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698