| OLD | NEW |
| 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.logging.v2; | 3 library googleapis.logging.v2; |
| 4 | 4 |
| 5 import 'dart:core' as core; | 5 import 'dart:core' as core; |
| 6 import 'dart:async' as async; | 6 import 'dart:async' as async; |
| 7 import 'dart:convert' as convert; | 7 import 'dart:convert' as convert; |
| 8 | 8 |
| 9 import 'package:_discoveryapis_commons/_discoveryapis_commons.dart' as commons; | 9 import 'package:_discoveryapis_commons/_discoveryapis_commons.dart' as commons; |
| 10 import 'package:http/http.dart' as http; | 10 import 'package:http/http.dart' as http; |
| (...skipping 414 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 425 * Value must have pattern "^billingAccounts/[^/]+/sinks/[^/]+$". | 425 * Value must have pattern "^billingAccounts/[^/]+/sinks/[^/]+$". |
| 426 * | 426 * |
| 427 * [uniqueWriterIdentity] - Optional. See sinks.create for a description of | 427 * [uniqueWriterIdentity] - Optional. See sinks.create for a description of |
| 428 * this field. When updating a sink, the effect of this field on the value of | 428 * this field. When updating a sink, the effect of this field on the value of |
| 429 * writer_identity in the updated sink depends on both the old and new values | 429 * writer_identity in the updated sink depends on both the old and new values |
| 430 * of this field: | 430 * of this field: |
| 431 * If the old and new values of this field are both false or both true, then | 431 * If the old and new values of this field are both false or both true, then |
| 432 * there is no change to the sink's writer_identity. | 432 * there is no change to the sink's writer_identity. |
| 433 * If the old value is false and the new value is true, then writer_identity | 433 * If the old value is false and the new value is true, then writer_identity |
| 434 * is changed to a unique service account. | 434 * is changed to a unique service account. |
| 435 * It is an error if the old value is true and the new value is false. | 435 * It is an error if the old value is true and the new value is set to false |
| 436 * or defaulted to false. |
| 436 * | 437 * |
| 437 * Completes with a [LogSink]. | 438 * Completes with a [LogSink]. |
| 438 * | 439 * |
| 439 * Completes with a [commons.ApiRequestError] if the API endpoint returned an | 440 * Completes with a [commons.ApiRequestError] if the API endpoint returned an |
| 440 * error. | 441 * error. |
| 441 * | 442 * |
| 442 * If the used [http.Client] completes with an error when making a REST call, | 443 * If the used [http.Client] completes with an error when making a REST call, |
| 443 * this method will complete with the same error. | 444 * this method will complete with the same error. |
| 444 */ | 445 */ |
| 445 async.Future<LogSink> update(LogSink request, core.String sinkName, {core.bool
uniqueWriterIdentity}) { | 446 async.Future<LogSink> update(LogSink request, core.String sinkName, {core.bool
uniqueWriterIdentity}) { |
| (...skipping 496 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 942 * Value must have pattern "^folders/[^/]+/sinks/[^/]+$". | 943 * Value must have pattern "^folders/[^/]+/sinks/[^/]+$". |
| 943 * | 944 * |
| 944 * [uniqueWriterIdentity] - Optional. See sinks.create for a description of | 945 * [uniqueWriterIdentity] - Optional. See sinks.create for a description of |
| 945 * this field. When updating a sink, the effect of this field on the value of | 946 * this field. When updating a sink, the effect of this field on the value of |
| 946 * writer_identity in the updated sink depends on both the old and new values | 947 * writer_identity in the updated sink depends on both the old and new values |
| 947 * of this field: | 948 * of this field: |
| 948 * If the old and new values of this field are both false or both true, then | 949 * If the old and new values of this field are both false or both true, then |
| 949 * there is no change to the sink's writer_identity. | 950 * there is no change to the sink's writer_identity. |
| 950 * If the old value is false and the new value is true, then writer_identity | 951 * If the old value is false and the new value is true, then writer_identity |
| 951 * is changed to a unique service account. | 952 * is changed to a unique service account. |
| 952 * It is an error if the old value is true and the new value is false. | 953 * It is an error if the old value is true and the new value is set to false |
| 954 * or defaulted to false. |
| 953 * | 955 * |
| 954 * Completes with a [LogSink]. | 956 * Completes with a [LogSink]. |
| 955 * | 957 * |
| 956 * Completes with a [commons.ApiRequestError] if the API endpoint returned an | 958 * Completes with a [commons.ApiRequestError] if the API endpoint returned an |
| 957 * error. | 959 * error. |
| 958 * | 960 * |
| 959 * If the used [http.Client] completes with an error when making a REST call, | 961 * If the used [http.Client] completes with an error when making a REST call, |
| 960 * this method will complete with the same error. | 962 * this method will complete with the same error. |
| 961 */ | 963 */ |
| 962 async.Future<LogSink> update(LogSink request, core.String sinkName, {core.bool
uniqueWriterIdentity}) { | 964 async.Future<LogSink> update(LogSink request, core.String sinkName, {core.bool
uniqueWriterIdentity}) { |
| (...skipping 162 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1125 * Request parameters: | 1127 * Request parameters: |
| 1126 * | 1128 * |
| 1127 * [parent] - Required. The resource name that owns the logs: | 1129 * [parent] - Required. The resource name that owns the logs: |
| 1128 * "projects/[PROJECT_ID]" | 1130 * "projects/[PROJECT_ID]" |
| 1129 * "organizations/[ORGANIZATION_ID]" | 1131 * "organizations/[ORGANIZATION_ID]" |
| 1130 * "billingAccounts/[BILLING_ACCOUNT_ID]" | 1132 * "billingAccounts/[BILLING_ACCOUNT_ID]" |
| 1131 * "folders/[FOLDER_ID]" | 1133 * "folders/[FOLDER_ID]" |
| 1132 * | 1134 * |
| 1133 * Value must have pattern "^organizations/[^/]+$". | 1135 * Value must have pattern "^organizations/[^/]+$". |
| 1134 * | 1136 * |
| 1137 * [pageSize] - Optional. The maximum number of results to return from this |
| 1138 * request. Non-positive values are ignored. The presence of nextPageToken in |
| 1139 * the response indicates that more results might be available. |
| 1140 * |
| 1135 * [pageToken] - Optional. If present, then retrieve the next batch of results | 1141 * [pageToken] - Optional. If present, then retrieve the next batch of results |
| 1136 * from the preceding call to this method. pageToken must be the value of | 1142 * from the preceding call to this method. pageToken must be the value of |
| 1137 * nextPageToken from the previous response. The values of other method | 1143 * nextPageToken from the previous response. The values of other method |
| 1138 * parameters should be identical to those in the previous call. | 1144 * parameters should be identical to those in the previous call. |
| 1139 * | 1145 * |
| 1140 * [pageSize] - Optional. The maximum number of results to return from this | |
| 1141 * request. Non-positive values are ignored. The presence of nextPageToken in | |
| 1142 * the response indicates that more results might be available. | |
| 1143 * | |
| 1144 * Completes with a [ListLogsResponse]. | 1146 * Completes with a [ListLogsResponse]. |
| 1145 * | 1147 * |
| 1146 * Completes with a [commons.ApiRequestError] if the API endpoint returned an | 1148 * Completes with a [commons.ApiRequestError] if the API endpoint returned an |
| 1147 * error. | 1149 * error. |
| 1148 * | 1150 * |
| 1149 * If the used [http.Client] completes with an error when making a REST call, | 1151 * If the used [http.Client] completes with an error when making a REST call, |
| 1150 * this method will complete with the same error. | 1152 * this method will complete with the same error. |
| 1151 */ | 1153 */ |
| 1152 async.Future<ListLogsResponse> list(core.String parent, {core.String pageToken
, core.int pageSize}) { | 1154 async.Future<ListLogsResponse> list(core.String parent, {core.int pageSize, co
re.String pageToken}) { |
| 1153 var _url = null; | 1155 var _url = null; |
| 1154 var _queryParams = new core.Map(); | 1156 var _queryParams = new core.Map(); |
| 1155 var _uploadMedia = null; | 1157 var _uploadMedia = null; |
| 1156 var _uploadOptions = null; | 1158 var _uploadOptions = null; |
| 1157 var _downloadOptions = commons.DownloadOptions.Metadata; | 1159 var _downloadOptions = commons.DownloadOptions.Metadata; |
| 1158 var _body = null; | 1160 var _body = null; |
| 1159 | 1161 |
| 1160 if (parent == null) { | 1162 if (parent == null) { |
| 1161 throw new core.ArgumentError("Parameter parent is required."); | 1163 throw new core.ArgumentError("Parameter parent is required."); |
| 1162 } | 1164 } |
| 1165 if (pageSize != null) { |
| 1166 _queryParams["pageSize"] = ["${pageSize}"]; |
| 1167 } |
| 1163 if (pageToken != null) { | 1168 if (pageToken != null) { |
| 1164 _queryParams["pageToken"] = [pageToken]; | 1169 _queryParams["pageToken"] = [pageToken]; |
| 1165 } | 1170 } |
| 1166 if (pageSize != null) { | |
| 1167 _queryParams["pageSize"] = ["${pageSize}"]; | |
| 1168 } | |
| 1169 | 1171 |
| 1170 _url = 'v2/' + commons.Escaper.ecapeVariableReserved('$parent') + '/logs'; | 1172 _url = 'v2/' + commons.Escaper.ecapeVariableReserved('$parent') + '/logs'; |
| 1171 | 1173 |
| 1172 var _response = _requester.request(_url, | 1174 var _response = _requester.request(_url, |
| 1173 "GET", | 1175 "GET", |
| 1174 body: _body, | 1176 body: _body, |
| 1175 queryParams: _queryParams, | 1177 queryParams: _queryParams, |
| 1176 uploadOptions: _uploadOptions, | 1178 uploadOptions: _uploadOptions, |
| 1177 uploadMedia: _uploadMedia, | 1179 uploadMedia: _uploadMedia, |
| 1178 downloadOptions: _downloadOptions); | 1180 downloadOptions: _downloadOptions); |
| (...skipping 175 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1354 * Request parameters: | 1356 * Request parameters: |
| 1355 * | 1357 * |
| 1356 * [parent] - Required. The parent resource whose sinks are to be listed: | 1358 * [parent] - Required. The parent resource whose sinks are to be listed: |
| 1357 * "projects/[PROJECT_ID]" | 1359 * "projects/[PROJECT_ID]" |
| 1358 * "organizations/[ORGANIZATION_ID]" | 1360 * "organizations/[ORGANIZATION_ID]" |
| 1359 * "billingAccounts/[BILLING_ACCOUNT_ID]" | 1361 * "billingAccounts/[BILLING_ACCOUNT_ID]" |
| 1360 * "folders/[FOLDER_ID]" | 1362 * "folders/[FOLDER_ID]" |
| 1361 * | 1363 * |
| 1362 * Value must have pattern "^organizations/[^/]+$". | 1364 * Value must have pattern "^organizations/[^/]+$". |
| 1363 * | 1365 * |
| 1366 * [pageSize] - Optional. The maximum number of results to return from this |
| 1367 * request. Non-positive values are ignored. The presence of nextPageToken in |
| 1368 * the response indicates that more results might be available. |
| 1369 * |
| 1364 * [pageToken] - Optional. If present, then retrieve the next batch of results | 1370 * [pageToken] - Optional. If present, then retrieve the next batch of results |
| 1365 * from the preceding call to this method. pageToken must be the value of | 1371 * from the preceding call to this method. pageToken must be the value of |
| 1366 * nextPageToken from the previous response. The values of other method | 1372 * nextPageToken from the previous response. The values of other method |
| 1367 * parameters should be identical to those in the previous call. | 1373 * parameters should be identical to those in the previous call. |
| 1368 * | 1374 * |
| 1369 * [pageSize] - Optional. The maximum number of results to return from this | |
| 1370 * request. Non-positive values are ignored. The presence of nextPageToken in | |
| 1371 * the response indicates that more results might be available. | |
| 1372 * | |
| 1373 * Completes with a [ListSinksResponse]. | 1375 * Completes with a [ListSinksResponse]. |
| 1374 * | 1376 * |
| 1375 * Completes with a [commons.ApiRequestError] if the API endpoint returned an | 1377 * Completes with a [commons.ApiRequestError] if the API endpoint returned an |
| 1376 * error. | 1378 * error. |
| 1377 * | 1379 * |
| 1378 * If the used [http.Client] completes with an error when making a REST call, | 1380 * If the used [http.Client] completes with an error when making a REST call, |
| 1379 * this method will complete with the same error. | 1381 * this method will complete with the same error. |
| 1380 */ | 1382 */ |
| 1381 async.Future<ListSinksResponse> list(core.String parent, {core.String pageToke
n, core.int pageSize}) { | 1383 async.Future<ListSinksResponse> list(core.String parent, {core.int pageSize, c
ore.String pageToken}) { |
| 1382 var _url = null; | 1384 var _url = null; |
| 1383 var _queryParams = new core.Map(); | 1385 var _queryParams = new core.Map(); |
| 1384 var _uploadMedia = null; | 1386 var _uploadMedia = null; |
| 1385 var _uploadOptions = null; | 1387 var _uploadOptions = null; |
| 1386 var _downloadOptions = commons.DownloadOptions.Metadata; | 1388 var _downloadOptions = commons.DownloadOptions.Metadata; |
| 1387 var _body = null; | 1389 var _body = null; |
| 1388 | 1390 |
| 1389 if (parent == null) { | 1391 if (parent == null) { |
| 1390 throw new core.ArgumentError("Parameter parent is required."); | 1392 throw new core.ArgumentError("Parameter parent is required."); |
| 1391 } | 1393 } |
| 1394 if (pageSize != null) { |
| 1395 _queryParams["pageSize"] = ["${pageSize}"]; |
| 1396 } |
| 1392 if (pageToken != null) { | 1397 if (pageToken != null) { |
| 1393 _queryParams["pageToken"] = [pageToken]; | 1398 _queryParams["pageToken"] = [pageToken]; |
| 1394 } | 1399 } |
| 1395 if (pageSize != null) { | |
| 1396 _queryParams["pageSize"] = ["${pageSize}"]; | |
| 1397 } | |
| 1398 | 1400 |
| 1399 _url = 'v2/' + commons.Escaper.ecapeVariableReserved('$parent') + '/sinks'; | 1401 _url = 'v2/' + commons.Escaper.ecapeVariableReserved('$parent') + '/sinks'; |
| 1400 | 1402 |
| 1401 var _response = _requester.request(_url, | 1403 var _response = _requester.request(_url, |
| 1402 "GET", | 1404 "GET", |
| 1403 body: _body, | 1405 body: _body, |
| 1404 queryParams: _queryParams, | 1406 queryParams: _queryParams, |
| 1405 uploadOptions: _uploadOptions, | 1407 uploadOptions: _uploadOptions, |
| 1406 uploadMedia: _uploadMedia, | 1408 uploadMedia: _uploadMedia, |
| 1407 downloadOptions: _downloadOptions); | 1409 downloadOptions: _downloadOptions); |
| (...skipping 22 matching lines...) Expand all Loading... |
| 1430 * Value must have pattern "^organizations/[^/]+/sinks/[^/]+$". | 1432 * Value must have pattern "^organizations/[^/]+/sinks/[^/]+$". |
| 1431 * | 1433 * |
| 1432 * [uniqueWriterIdentity] - Optional. See sinks.create for a description of | 1434 * [uniqueWriterIdentity] - Optional. See sinks.create for a description of |
| 1433 * this field. When updating a sink, the effect of this field on the value of | 1435 * this field. When updating a sink, the effect of this field on the value of |
| 1434 * writer_identity in the updated sink depends on both the old and new values | 1436 * writer_identity in the updated sink depends on both the old and new values |
| 1435 * of this field: | 1437 * of this field: |
| 1436 * If the old and new values of this field are both false or both true, then | 1438 * If the old and new values of this field are both false or both true, then |
| 1437 * there is no change to the sink's writer_identity. | 1439 * there is no change to the sink's writer_identity. |
| 1438 * If the old value is false and the new value is true, then writer_identity | 1440 * If the old value is false and the new value is true, then writer_identity |
| 1439 * is changed to a unique service account. | 1441 * is changed to a unique service account. |
| 1440 * It is an error if the old value is true and the new value is false. | 1442 * It is an error if the old value is true and the new value is set to false |
| 1443 * or defaulted to false. |
| 1441 * | 1444 * |
| 1442 * Completes with a [LogSink]. | 1445 * Completes with a [LogSink]. |
| 1443 * | 1446 * |
| 1444 * Completes with a [commons.ApiRequestError] if the API endpoint returned an | 1447 * Completes with a [commons.ApiRequestError] if the API endpoint returned an |
| 1445 * error. | 1448 * error. |
| 1446 * | 1449 * |
| 1447 * If the used [http.Client] completes with an error when making a REST call, | 1450 * If the used [http.Client] completes with an error when making a REST call, |
| 1448 * this method will complete with the same error. | 1451 * this method will complete with the same error. |
| 1449 */ | 1452 */ |
| 1450 async.Future<LogSink> update(LogSink request, core.String sinkName, {core.bool
uniqueWriterIdentity}) { | 1453 async.Future<LogSink> update(LogSink request, core.String sinkName, {core.bool
uniqueWriterIdentity}) { |
| (...skipping 655 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2106 * Value must have pattern "^projects/[^/]+/sinks/[^/]+$". | 2109 * Value must have pattern "^projects/[^/]+/sinks/[^/]+$". |
| 2107 * | 2110 * |
| 2108 * [uniqueWriterIdentity] - Optional. See sinks.create for a description of | 2111 * [uniqueWriterIdentity] - Optional. See sinks.create for a description of |
| 2109 * this field. When updating a sink, the effect of this field on the value of | 2112 * this field. When updating a sink, the effect of this field on the value of |
| 2110 * writer_identity in the updated sink depends on both the old and new values | 2113 * writer_identity in the updated sink depends on both the old and new values |
| 2111 * of this field: | 2114 * of this field: |
| 2112 * If the old and new values of this field are both false or both true, then | 2115 * If the old and new values of this field are both false or both true, then |
| 2113 * there is no change to the sink's writer_identity. | 2116 * there is no change to the sink's writer_identity. |
| 2114 * If the old value is false and the new value is true, then writer_identity | 2117 * If the old value is false and the new value is true, then writer_identity |
| 2115 * is changed to a unique service account. | 2118 * is changed to a unique service account. |
| 2116 * It is an error if the old value is true and the new value is false. | 2119 * It is an error if the old value is true and the new value is set to false |
| 2120 * or defaulted to false. |
| 2117 * | 2121 * |
| 2118 * Completes with a [LogSink]. | 2122 * Completes with a [LogSink]. |
| 2119 * | 2123 * |
| 2120 * Completes with a [commons.ApiRequestError] if the API endpoint returned an | 2124 * Completes with a [commons.ApiRequestError] if the API endpoint returned an |
| 2121 * error. | 2125 * error. |
| 2122 * | 2126 * |
| 2123 * If the used [http.Client] completes with an error when making a REST call, | 2127 * If the used [http.Client] completes with an error when making a REST call, |
| 2124 * this method will complete with the same error. | 2128 * this method will complete with the same error. |
| 2125 */ | 2129 */ |
| 2126 async.Future<LogSink> update(LogSink request, core.String sinkName, {core.bool
uniqueWriterIdentity}) { | 2130 async.Future<LogSink> update(LogSink request, core.String sinkName, {core.bool
uniqueWriterIdentity}) { |
| (...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2166 * } | 2170 * } |
| 2167 * The JSON representation for Empty is empty JSON object {}. | 2171 * The JSON representation for Empty is empty JSON object {}. |
| 2168 */ | 2172 */ |
| 2169 class Empty { | 2173 class Empty { |
| 2170 | 2174 |
| 2171 Empty(); | 2175 Empty(); |
| 2172 | 2176 |
| 2173 Empty.fromJson(core.Map _json) { | 2177 Empty.fromJson(core.Map _json) { |
| 2174 } | 2178 } |
| 2175 | 2179 |
| 2176 core.Map toJson() { | 2180 core.Map<core.String, core.Object> toJson() { |
| 2177 var _json = new core.Map(); | 2181 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
| 2178 return _json; | 2182 return _json; |
| 2179 } | 2183 } |
| 2180 } | 2184 } |
| 2181 | 2185 |
| 2182 /** | 2186 /** |
| 2183 * A common proto for logging HTTP requests. Only contains semantics defined by | 2187 * A common proto for logging HTTP requests. Only contains semantics defined by |
| 2184 * the HTTP specification. Product-specific logging information MUST be defined | 2188 * the HTTP specification. Product-specific logging information MUST be defined |
| 2185 * in a separate message. | 2189 * in a separate message. |
| 2186 */ | 2190 */ |
| 2187 class HttpRequest { | 2191 class HttpRequest { |
| (...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2291 serverIp = _json["serverIp"]; | 2295 serverIp = _json["serverIp"]; |
| 2292 } | 2296 } |
| 2293 if (_json.containsKey("status")) { | 2297 if (_json.containsKey("status")) { |
| 2294 status = _json["status"]; | 2298 status = _json["status"]; |
| 2295 } | 2299 } |
| 2296 if (_json.containsKey("userAgent")) { | 2300 if (_json.containsKey("userAgent")) { |
| 2297 userAgent = _json["userAgent"]; | 2301 userAgent = _json["userAgent"]; |
| 2298 } | 2302 } |
| 2299 } | 2303 } |
| 2300 | 2304 |
| 2301 core.Map toJson() { | 2305 core.Map<core.String, core.Object> toJson() { |
| 2302 var _json = new core.Map(); | 2306 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
| 2303 if (cacheFillBytes != null) { | 2307 if (cacheFillBytes != null) { |
| 2304 _json["cacheFillBytes"] = cacheFillBytes; | 2308 _json["cacheFillBytes"] = cacheFillBytes; |
| 2305 } | 2309 } |
| 2306 if (cacheHit != null) { | 2310 if (cacheHit != null) { |
| 2307 _json["cacheHit"] = cacheHit; | 2311 _json["cacheHit"] = cacheHit; |
| 2308 } | 2312 } |
| 2309 if (cacheLookup != null) { | 2313 if (cacheLookup != null) { |
| 2310 _json["cacheLookup"] = cacheLookup; | 2314 _json["cacheLookup"] = cacheLookup; |
| 2311 } | 2315 } |
| 2312 if (cacheValidatedWithOriginServer != null) { | 2316 if (cacheValidatedWithOriginServer != null) { |
| (...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2368 description = _json["description"]; | 2372 description = _json["description"]; |
| 2369 } | 2373 } |
| 2370 if (_json.containsKey("key")) { | 2374 if (_json.containsKey("key")) { |
| 2371 key = _json["key"]; | 2375 key = _json["key"]; |
| 2372 } | 2376 } |
| 2373 if (_json.containsKey("valueType")) { | 2377 if (_json.containsKey("valueType")) { |
| 2374 valueType = _json["valueType"]; | 2378 valueType = _json["valueType"]; |
| 2375 } | 2379 } |
| 2376 } | 2380 } |
| 2377 | 2381 |
| 2378 core.Map toJson() { | 2382 core.Map<core.String, core.Object> toJson() { |
| 2379 var _json = new core.Map(); | 2383 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
| 2380 if (description != null) { | 2384 if (description != null) { |
| 2381 _json["description"] = description; | 2385 _json["description"] = description; |
| 2382 } | 2386 } |
| 2383 if (key != null) { | 2387 if (key != null) { |
| 2384 _json["key"] = key; | 2388 _json["key"] = key; |
| 2385 } | 2389 } |
| 2386 if (valueType != null) { | 2390 if (valueType != null) { |
| 2387 _json["valueType"] = valueType; | 2391 _json["valueType"] = valueType; |
| 2388 } | 2392 } |
| 2389 return _json; | 2393 return _json; |
| (...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2457 pageToken = _json["pageToken"]; | 2461 pageToken = _json["pageToken"]; |
| 2458 } | 2462 } |
| 2459 if (_json.containsKey("projectIds")) { | 2463 if (_json.containsKey("projectIds")) { |
| 2460 projectIds = _json["projectIds"]; | 2464 projectIds = _json["projectIds"]; |
| 2461 } | 2465 } |
| 2462 if (_json.containsKey("resourceNames")) { | 2466 if (_json.containsKey("resourceNames")) { |
| 2463 resourceNames = _json["resourceNames"]; | 2467 resourceNames = _json["resourceNames"]; |
| 2464 } | 2468 } |
| 2465 } | 2469 } |
| 2466 | 2470 |
| 2467 core.Map toJson() { | 2471 core.Map<core.String, core.Object> toJson() { |
| 2468 var _json = new core.Map(); | 2472 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
| 2469 if (filter != null) { | 2473 if (filter != null) { |
| 2470 _json["filter"] = filter; | 2474 _json["filter"] = filter; |
| 2471 } | 2475 } |
| 2472 if (orderBy != null) { | 2476 if (orderBy != null) { |
| 2473 _json["orderBy"] = orderBy; | 2477 _json["orderBy"] = orderBy; |
| 2474 } | 2478 } |
| 2475 if (pageSize != null) { | 2479 if (pageSize != null) { |
| 2476 _json["pageSize"] = pageSize; | 2480 _json["pageSize"] = pageSize; |
| 2477 } | 2481 } |
| 2478 if (pageToken != null) { | 2482 if (pageToken != null) { |
| (...skipping 30 matching lines...) Expand all Loading... |
| 2509 | 2513 |
| 2510 ListLogEntriesResponse.fromJson(core.Map _json) { | 2514 ListLogEntriesResponse.fromJson(core.Map _json) { |
| 2511 if (_json.containsKey("entries")) { | 2515 if (_json.containsKey("entries")) { |
| 2512 entries = _json["entries"].map((value) => new LogEntry.fromJson(value)).to
List(); | 2516 entries = _json["entries"].map((value) => new LogEntry.fromJson(value)).to
List(); |
| 2513 } | 2517 } |
| 2514 if (_json.containsKey("nextPageToken")) { | 2518 if (_json.containsKey("nextPageToken")) { |
| 2515 nextPageToken = _json["nextPageToken"]; | 2519 nextPageToken = _json["nextPageToken"]; |
| 2516 } | 2520 } |
| 2517 } | 2521 } |
| 2518 | 2522 |
| 2519 core.Map toJson() { | 2523 core.Map<core.String, core.Object> toJson() { |
| 2520 var _json = new core.Map(); | 2524 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
| 2521 if (entries != null) { | 2525 if (entries != null) { |
| 2522 _json["entries"] = entries.map((value) => (value).toJson()).toList(); | 2526 _json["entries"] = entries.map((value) => (value).toJson()).toList(); |
| 2523 } | 2527 } |
| 2524 if (nextPageToken != null) { | 2528 if (nextPageToken != null) { |
| 2525 _json["nextPageToken"] = nextPageToken; | 2529 _json["nextPageToken"] = nextPageToken; |
| 2526 } | 2530 } |
| 2527 return _json; | 2531 return _json; |
| 2528 } | 2532 } |
| 2529 } | 2533 } |
| 2530 | 2534 |
| (...skipping 12 matching lines...) Expand all Loading... |
| 2543 | 2547 |
| 2544 ListLogMetricsResponse.fromJson(core.Map _json) { | 2548 ListLogMetricsResponse.fromJson(core.Map _json) { |
| 2545 if (_json.containsKey("metrics")) { | 2549 if (_json.containsKey("metrics")) { |
| 2546 metrics = _json["metrics"].map((value) => new LogMetric.fromJson(value)).t
oList(); | 2550 metrics = _json["metrics"].map((value) => new LogMetric.fromJson(value)).t
oList(); |
| 2547 } | 2551 } |
| 2548 if (_json.containsKey("nextPageToken")) { | 2552 if (_json.containsKey("nextPageToken")) { |
| 2549 nextPageToken = _json["nextPageToken"]; | 2553 nextPageToken = _json["nextPageToken"]; |
| 2550 } | 2554 } |
| 2551 } | 2555 } |
| 2552 | 2556 |
| 2553 core.Map toJson() { | 2557 core.Map<core.String, core.Object> toJson() { |
| 2554 var _json = new core.Map(); | 2558 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
| 2555 if (metrics != null) { | 2559 if (metrics != null) { |
| 2556 _json["metrics"] = metrics.map((value) => (value).toJson()).toList(); | 2560 _json["metrics"] = metrics.map((value) => (value).toJson()).toList(); |
| 2557 } | 2561 } |
| 2558 if (nextPageToken != null) { | 2562 if (nextPageToken != null) { |
| 2559 _json["nextPageToken"] = nextPageToken; | 2563 _json["nextPageToken"] = nextPageToken; |
| 2560 } | 2564 } |
| 2561 return _json; | 2565 return _json; |
| 2562 } | 2566 } |
| 2563 } | 2567 } |
| 2564 | 2568 |
| (...skipping 15 matching lines...) Expand all Loading... |
| 2580 | 2584 |
| 2581 ListLogsResponse.fromJson(core.Map _json) { | 2585 ListLogsResponse.fromJson(core.Map _json) { |
| 2582 if (_json.containsKey("logNames")) { | 2586 if (_json.containsKey("logNames")) { |
| 2583 logNames = _json["logNames"]; | 2587 logNames = _json["logNames"]; |
| 2584 } | 2588 } |
| 2585 if (_json.containsKey("nextPageToken")) { | 2589 if (_json.containsKey("nextPageToken")) { |
| 2586 nextPageToken = _json["nextPageToken"]; | 2590 nextPageToken = _json["nextPageToken"]; |
| 2587 } | 2591 } |
| 2588 } | 2592 } |
| 2589 | 2593 |
| 2590 core.Map toJson() { | 2594 core.Map<core.String, core.Object> toJson() { |
| 2591 var _json = new core.Map(); | 2595 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
| 2592 if (logNames != null) { | 2596 if (logNames != null) { |
| 2593 _json["logNames"] = logNames; | 2597 _json["logNames"] = logNames; |
| 2594 } | 2598 } |
| 2595 if (nextPageToken != null) { | 2599 if (nextPageToken != null) { |
| 2596 _json["nextPageToken"] = nextPageToken; | 2600 _json["nextPageToken"] = nextPageToken; |
| 2597 } | 2601 } |
| 2598 return _json; | 2602 return _json; |
| 2599 } | 2603 } |
| 2600 } | 2604 } |
| 2601 | 2605 |
| (...skipping 12 matching lines...) Expand all Loading... |
| 2614 | 2618 |
| 2615 ListMonitoredResourceDescriptorsResponse.fromJson(core.Map _json) { | 2619 ListMonitoredResourceDescriptorsResponse.fromJson(core.Map _json) { |
| 2616 if (_json.containsKey("nextPageToken")) { | 2620 if (_json.containsKey("nextPageToken")) { |
| 2617 nextPageToken = _json["nextPageToken"]; | 2621 nextPageToken = _json["nextPageToken"]; |
| 2618 } | 2622 } |
| 2619 if (_json.containsKey("resourceDescriptors")) { | 2623 if (_json.containsKey("resourceDescriptors")) { |
| 2620 resourceDescriptors = _json["resourceDescriptors"].map((value) => new Moni
toredResourceDescriptor.fromJson(value)).toList(); | 2624 resourceDescriptors = _json["resourceDescriptors"].map((value) => new Moni
toredResourceDescriptor.fromJson(value)).toList(); |
| 2621 } | 2625 } |
| 2622 } | 2626 } |
| 2623 | 2627 |
| 2624 core.Map toJson() { | 2628 core.Map<core.String, core.Object> toJson() { |
| 2625 var _json = new core.Map(); | 2629 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
| 2626 if (nextPageToken != null) { | 2630 if (nextPageToken != null) { |
| 2627 _json["nextPageToken"] = nextPageToken; | 2631 _json["nextPageToken"] = nextPageToken; |
| 2628 } | 2632 } |
| 2629 if (resourceDescriptors != null) { | 2633 if (resourceDescriptors != null) { |
| 2630 _json["resourceDescriptors"] = resourceDescriptors.map((value) => (value).
toJson()).toList(); | 2634 _json["resourceDescriptors"] = resourceDescriptors.map((value) => (value).
toJson()).toList(); |
| 2631 } | 2635 } |
| 2632 return _json; | 2636 return _json; |
| 2633 } | 2637 } |
| 2634 } | 2638 } |
| 2635 | 2639 |
| (...skipping 12 matching lines...) Expand all Loading... |
| 2648 | 2652 |
| 2649 ListSinksResponse.fromJson(core.Map _json) { | 2653 ListSinksResponse.fromJson(core.Map _json) { |
| 2650 if (_json.containsKey("nextPageToken")) { | 2654 if (_json.containsKey("nextPageToken")) { |
| 2651 nextPageToken = _json["nextPageToken"]; | 2655 nextPageToken = _json["nextPageToken"]; |
| 2652 } | 2656 } |
| 2653 if (_json.containsKey("sinks")) { | 2657 if (_json.containsKey("sinks")) { |
| 2654 sinks = _json["sinks"].map((value) => new LogSink.fromJson(value)).toList(
); | 2658 sinks = _json["sinks"].map((value) => new LogSink.fromJson(value)).toList(
); |
| 2655 } | 2659 } |
| 2656 } | 2660 } |
| 2657 | 2661 |
| 2658 core.Map toJson() { | 2662 core.Map<core.String, core.Object> toJson() { |
| 2659 var _json = new core.Map(); | 2663 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
| 2660 if (nextPageToken != null) { | 2664 if (nextPageToken != null) { |
| 2661 _json["nextPageToken"] = nextPageToken; | 2665 _json["nextPageToken"] = nextPageToken; |
| 2662 } | 2666 } |
| 2663 if (sinks != null) { | 2667 if (sinks != null) { |
| 2664 _json["sinks"] = sinks.map((value) => (value).toJson()).toList(); | 2668 _json["sinks"] = sinks.map((value) => (value).toJson()).toList(); |
| 2665 } | 2669 } |
| 2666 return _json; | 2670 return _json; |
| 2667 } | 2671 } |
| 2668 } | 2672 } |
| 2669 | 2673 |
| (...skipping 147 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2817 textPayload = _json["textPayload"]; | 2821 textPayload = _json["textPayload"]; |
| 2818 } | 2822 } |
| 2819 if (_json.containsKey("timestamp")) { | 2823 if (_json.containsKey("timestamp")) { |
| 2820 timestamp = _json["timestamp"]; | 2824 timestamp = _json["timestamp"]; |
| 2821 } | 2825 } |
| 2822 if (_json.containsKey("trace")) { | 2826 if (_json.containsKey("trace")) { |
| 2823 trace = _json["trace"]; | 2827 trace = _json["trace"]; |
| 2824 } | 2828 } |
| 2825 } | 2829 } |
| 2826 | 2830 |
| 2827 core.Map toJson() { | 2831 core.Map<core.String, core.Object> toJson() { |
| 2828 var _json = new core.Map(); | 2832 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
| 2829 if (httpRequest != null) { | 2833 if (httpRequest != null) { |
| 2830 _json["httpRequest"] = (httpRequest).toJson(); | 2834 _json["httpRequest"] = (httpRequest).toJson(); |
| 2831 } | 2835 } |
| 2832 if (insertId != null) { | 2836 if (insertId != null) { |
| 2833 _json["insertId"] = insertId; | 2837 _json["insertId"] = insertId; |
| 2834 } | 2838 } |
| 2835 if (jsonPayload != null) { | 2839 if (jsonPayload != null) { |
| 2836 _json["jsonPayload"] = jsonPayload; | 2840 _json["jsonPayload"] = jsonPayload; |
| 2837 } | 2841 } |
| 2838 if (labels != null) { | 2842 if (labels != null) { |
| (...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2907 id = _json["id"]; | 2911 id = _json["id"]; |
| 2908 } | 2912 } |
| 2909 if (_json.containsKey("last")) { | 2913 if (_json.containsKey("last")) { |
| 2910 last = _json["last"]; | 2914 last = _json["last"]; |
| 2911 } | 2915 } |
| 2912 if (_json.containsKey("producer")) { | 2916 if (_json.containsKey("producer")) { |
| 2913 producer = _json["producer"]; | 2917 producer = _json["producer"]; |
| 2914 } | 2918 } |
| 2915 } | 2919 } |
| 2916 | 2920 |
| 2917 core.Map toJson() { | 2921 core.Map<core.String, core.Object> toJson() { |
| 2918 var _json = new core.Map(); | 2922 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
| 2919 if (first != null) { | 2923 if (first != null) { |
| 2920 _json["first"] = first; | 2924 _json["first"] = first; |
| 2921 } | 2925 } |
| 2922 if (id != null) { | 2926 if (id != null) { |
| 2923 _json["id"] = id; | 2927 _json["id"] = id; |
| 2924 } | 2928 } |
| 2925 if (last != null) { | 2929 if (last != null) { |
| 2926 _json["last"] = last; | 2930 _json["last"] = last; |
| 2927 } | 2931 } |
| 2928 if (producer != null) { | 2932 if (producer != null) { |
| (...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2963 file = _json["file"]; | 2967 file = _json["file"]; |
| 2964 } | 2968 } |
| 2965 if (_json.containsKey("function")) { | 2969 if (_json.containsKey("function")) { |
| 2966 function = _json["function"]; | 2970 function = _json["function"]; |
| 2967 } | 2971 } |
| 2968 if (_json.containsKey("line")) { | 2972 if (_json.containsKey("line")) { |
| 2969 line = _json["line"]; | 2973 line = _json["line"]; |
| 2970 } | 2974 } |
| 2971 } | 2975 } |
| 2972 | 2976 |
| 2973 core.Map toJson() { | 2977 core.Map<core.String, core.Object> toJson() { |
| 2974 var _json = new core.Map(); | 2978 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
| 2975 if (file != null) { | 2979 if (file != null) { |
| 2976 _json["file"] = file; | 2980 _json["file"] = file; |
| 2977 } | 2981 } |
| 2978 if (function != null) { | 2982 if (function != null) { |
| 2979 _json["function"] = function; | 2983 _json["function"] = function; |
| 2980 } | 2984 } |
| 2981 if (line != null) { | 2985 if (line != null) { |
| 2982 _json["line"] = line; | 2986 _json["line"] = line; |
| 2983 } | 2987 } |
| 2984 return _json; | 2988 return _json; |
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3020 severity = _json["severity"]; | 3024 severity = _json["severity"]; |
| 3021 } | 3025 } |
| 3022 if (_json.containsKey("sourceLocation")) { | 3026 if (_json.containsKey("sourceLocation")) { |
| 3023 sourceLocation = new SourceLocation.fromJson(_json["sourceLocation"]); | 3027 sourceLocation = new SourceLocation.fromJson(_json["sourceLocation"]); |
| 3024 } | 3028 } |
| 3025 if (_json.containsKey("time")) { | 3029 if (_json.containsKey("time")) { |
| 3026 time = _json["time"]; | 3030 time = _json["time"]; |
| 3027 } | 3031 } |
| 3028 } | 3032 } |
| 3029 | 3033 |
| 3030 core.Map toJson() { | 3034 core.Map<core.String, core.Object> toJson() { |
| 3031 var _json = new core.Map(); | 3035 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
| 3032 if (logMessage != null) { | 3036 if (logMessage != null) { |
| 3033 _json["logMessage"] = logMessage; | 3037 _json["logMessage"] = logMessage; |
| 3034 } | 3038 } |
| 3035 if (severity != null) { | 3039 if (severity != null) { |
| 3036 _json["severity"] = severity; | 3040 _json["severity"] = severity; |
| 3037 } | 3041 } |
| 3038 if (sourceLocation != null) { | 3042 if (sourceLocation != null) { |
| 3039 _json["sourceLocation"] = (sourceLocation).toJson(); | 3043 _json["sourceLocation"] = (sourceLocation).toJson(); |
| 3040 } | 3044 } |
| 3041 if (time != null) { | 3045 if (time != null) { |
| (...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3094 filter = _json["filter"]; | 3098 filter = _json["filter"]; |
| 3095 } | 3099 } |
| 3096 if (_json.containsKey("name")) { | 3100 if (_json.containsKey("name")) { |
| 3097 name = _json["name"]; | 3101 name = _json["name"]; |
| 3098 } | 3102 } |
| 3099 if (_json.containsKey("version")) { | 3103 if (_json.containsKey("version")) { |
| 3100 version = _json["version"]; | 3104 version = _json["version"]; |
| 3101 } | 3105 } |
| 3102 } | 3106 } |
| 3103 | 3107 |
| 3104 core.Map toJson() { | 3108 core.Map<core.String, core.Object> toJson() { |
| 3105 var _json = new core.Map(); | 3109 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
| 3106 if (description != null) { | 3110 if (description != null) { |
| 3107 _json["description"] = description; | 3111 _json["description"] = description; |
| 3108 } | 3112 } |
| 3109 if (filter != null) { | 3113 if (filter != null) { |
| 3110 _json["filter"] = filter; | 3114 _json["filter"] = filter; |
| 3111 } | 3115 } |
| 3112 if (name != null) { | 3116 if (name != null) { |
| 3113 _json["name"] = name; | 3117 _json["name"] = name; |
| 3114 } | 3118 } |
| 3115 if (version != null) { | 3119 if (version != null) { |
| (...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3227 outputVersionFormat = _json["outputVersionFormat"]; | 3231 outputVersionFormat = _json["outputVersionFormat"]; |
| 3228 } | 3232 } |
| 3229 if (_json.containsKey("startTime")) { | 3233 if (_json.containsKey("startTime")) { |
| 3230 startTime = _json["startTime"]; | 3234 startTime = _json["startTime"]; |
| 3231 } | 3235 } |
| 3232 if (_json.containsKey("writerIdentity")) { | 3236 if (_json.containsKey("writerIdentity")) { |
| 3233 writerIdentity = _json["writerIdentity"]; | 3237 writerIdentity = _json["writerIdentity"]; |
| 3234 } | 3238 } |
| 3235 } | 3239 } |
| 3236 | 3240 |
| 3237 core.Map toJson() { | 3241 core.Map<core.String, core.Object> toJson() { |
| 3238 var _json = new core.Map(); | 3242 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
| 3239 if (destination != null) { | 3243 if (destination != null) { |
| 3240 _json["destination"] = destination; | 3244 _json["destination"] = destination; |
| 3241 } | 3245 } |
| 3242 if (endTime != null) { | 3246 if (endTime != null) { |
| 3243 _json["endTime"] = endTime; | 3247 _json["endTime"] = endTime; |
| 3244 } | 3248 } |
| 3245 if (filter != null) { | 3249 if (filter != null) { |
| 3246 _json["filter"] = filter; | 3250 _json["filter"] = filter; |
| 3247 } | 3251 } |
| 3248 if (includeChildren != null) { | 3252 if (includeChildren != null) { |
| (...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3296 | 3300 |
| 3297 MonitoredResource.fromJson(core.Map _json) { | 3301 MonitoredResource.fromJson(core.Map _json) { |
| 3298 if (_json.containsKey("labels")) { | 3302 if (_json.containsKey("labels")) { |
| 3299 labels = _json["labels"]; | 3303 labels = _json["labels"]; |
| 3300 } | 3304 } |
| 3301 if (_json.containsKey("type")) { | 3305 if (_json.containsKey("type")) { |
| 3302 type = _json["type"]; | 3306 type = _json["type"]; |
| 3303 } | 3307 } |
| 3304 } | 3308 } |
| 3305 | 3309 |
| 3306 core.Map toJson() { | 3310 core.Map<core.String, core.Object> toJson() { |
| 3307 var _json = new core.Map(); | 3311 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
| 3308 if (labels != null) { | 3312 if (labels != null) { |
| 3309 _json["labels"] = labels; | 3313 _json["labels"] = labels; |
| 3310 } | 3314 } |
| 3311 if (type != null) { | 3315 if (type != null) { |
| 3312 _json["type"] = type; | 3316 _json["type"] = type; |
| 3313 } | 3317 } |
| 3314 return _json; | 3318 return _json; |
| 3315 } | 3319 } |
| 3316 } | 3320 } |
| 3317 | 3321 |
| (...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3372 labels = _json["labels"].map((value) => new LabelDescriptor.fromJson(value
)).toList(); | 3376 labels = _json["labels"].map((value) => new LabelDescriptor.fromJson(value
)).toList(); |
| 3373 } | 3377 } |
| 3374 if (_json.containsKey("name")) { | 3378 if (_json.containsKey("name")) { |
| 3375 name = _json["name"]; | 3379 name = _json["name"]; |
| 3376 } | 3380 } |
| 3377 if (_json.containsKey("type")) { | 3381 if (_json.containsKey("type")) { |
| 3378 type = _json["type"]; | 3382 type = _json["type"]; |
| 3379 } | 3383 } |
| 3380 } | 3384 } |
| 3381 | 3385 |
| 3382 core.Map toJson() { | 3386 core.Map<core.String, core.Object> toJson() { |
| 3383 var _json = new core.Map(); | 3387 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
| 3384 if (description != null) { | 3388 if (description != null) { |
| 3385 _json["description"] = description; | 3389 _json["description"] = description; |
| 3386 } | 3390 } |
| 3387 if (displayName != null) { | 3391 if (displayName != null) { |
| 3388 _json["displayName"] = displayName; | 3392 _json["displayName"] = displayName; |
| 3389 } | 3393 } |
| 3390 if (labels != null) { | 3394 if (labels != null) { |
| 3391 _json["labels"] = labels.map((value) => (value).toJson()).toList(); | 3395 _json["labels"] = labels.map((value) => (value).toJson()).toList(); |
| 3392 } | 3396 } |
| 3393 if (name != null) { | 3397 if (name != null) { |
| (...skipping 200 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3594 userAgent = _json["userAgent"]; | 3598 userAgent = _json["userAgent"]; |
| 3595 } | 3599 } |
| 3596 if (_json.containsKey("versionId")) { | 3600 if (_json.containsKey("versionId")) { |
| 3597 versionId = _json["versionId"]; | 3601 versionId = _json["versionId"]; |
| 3598 } | 3602 } |
| 3599 if (_json.containsKey("wasLoadingRequest")) { | 3603 if (_json.containsKey("wasLoadingRequest")) { |
| 3600 wasLoadingRequest = _json["wasLoadingRequest"]; | 3604 wasLoadingRequest = _json["wasLoadingRequest"]; |
| 3601 } | 3605 } |
| 3602 } | 3606 } |
| 3603 | 3607 |
| 3604 core.Map toJson() { | 3608 core.Map<core.String, core.Object> toJson() { |
| 3605 var _json = new core.Map(); | 3609 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
| 3606 if (appEngineRelease != null) { | 3610 if (appEngineRelease != null) { |
| 3607 _json["appEngineRelease"] = appEngineRelease; | 3611 _json["appEngineRelease"] = appEngineRelease; |
| 3608 } | 3612 } |
| 3609 if (appId != null) { | 3613 if (appId != null) { |
| 3610 _json["appId"] = appId; | 3614 _json["appId"] = appId; |
| 3611 } | 3615 } |
| 3612 if (cost != null) { | 3616 if (cost != null) { |
| 3613 _json["cost"] = cost; | 3617 _json["cost"] = cost; |
| 3614 } | 3618 } |
| 3615 if (endTime != null) { | 3619 if (endTime != null) { |
| (...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3728 file = _json["file"]; | 3732 file = _json["file"]; |
| 3729 } | 3733 } |
| 3730 if (_json.containsKey("functionName")) { | 3734 if (_json.containsKey("functionName")) { |
| 3731 functionName = _json["functionName"]; | 3735 functionName = _json["functionName"]; |
| 3732 } | 3736 } |
| 3733 if (_json.containsKey("line")) { | 3737 if (_json.containsKey("line")) { |
| 3734 line = _json["line"]; | 3738 line = _json["line"]; |
| 3735 } | 3739 } |
| 3736 } | 3740 } |
| 3737 | 3741 |
| 3738 core.Map toJson() { | 3742 core.Map<core.String, core.Object> toJson() { |
| 3739 var _json = new core.Map(); | 3743 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
| 3740 if (file != null) { | 3744 if (file != null) { |
| 3741 _json["file"] = file; | 3745 _json["file"] = file; |
| 3742 } | 3746 } |
| 3743 if (functionName != null) { | 3747 if (functionName != null) { |
| 3744 _json["functionName"] = functionName; | 3748 _json["functionName"] = functionName; |
| 3745 } | 3749 } |
| 3746 if (line != null) { | 3750 if (line != null) { |
| 3747 _json["line"] = line; | 3751 _json["line"] = line; |
| 3748 } | 3752 } |
| 3749 return _json; | 3753 return _json; |
| (...skipping 20 matching lines...) Expand all Loading... |
| 3770 | 3774 |
| 3771 SourceReference.fromJson(core.Map _json) { | 3775 SourceReference.fromJson(core.Map _json) { |
| 3772 if (_json.containsKey("repository")) { | 3776 if (_json.containsKey("repository")) { |
| 3773 repository = _json["repository"]; | 3777 repository = _json["repository"]; |
| 3774 } | 3778 } |
| 3775 if (_json.containsKey("revisionId")) { | 3779 if (_json.containsKey("revisionId")) { |
| 3776 revisionId = _json["revisionId"]; | 3780 revisionId = _json["revisionId"]; |
| 3777 } | 3781 } |
| 3778 } | 3782 } |
| 3779 | 3783 |
| 3780 core.Map toJson() { | 3784 core.Map<core.String, core.Object> toJson() { |
| 3781 var _json = new core.Map(); | 3785 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
| 3782 if (repository != null) { | 3786 if (repository != null) { |
| 3783 _json["repository"] = repository; | 3787 _json["repository"] = repository; |
| 3784 } | 3788 } |
| 3785 if (revisionId != null) { | 3789 if (revisionId != null) { |
| 3786 _json["revisionId"] = revisionId; | 3790 _json["revisionId"] = revisionId; |
| 3787 } | 3791 } |
| 3788 return _json; | 3792 return _json; |
| 3789 } | 3793 } |
| 3790 } | 3794 } |
| 3791 | 3795 |
| (...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3855 logName = _json["logName"]; | 3859 logName = _json["logName"]; |
| 3856 } | 3860 } |
| 3857 if (_json.containsKey("partialSuccess")) { | 3861 if (_json.containsKey("partialSuccess")) { |
| 3858 partialSuccess = _json["partialSuccess"]; | 3862 partialSuccess = _json["partialSuccess"]; |
| 3859 } | 3863 } |
| 3860 if (_json.containsKey("resource")) { | 3864 if (_json.containsKey("resource")) { |
| 3861 resource = new MonitoredResource.fromJson(_json["resource"]); | 3865 resource = new MonitoredResource.fromJson(_json["resource"]); |
| 3862 } | 3866 } |
| 3863 } | 3867 } |
| 3864 | 3868 |
| 3865 core.Map toJson() { | 3869 core.Map<core.String, core.Object> toJson() { |
| 3866 var _json = new core.Map(); | 3870 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
| 3867 if (entries != null) { | 3871 if (entries != null) { |
| 3868 _json["entries"] = entries.map((value) => (value).toJson()).toList(); | 3872 _json["entries"] = entries.map((value) => (value).toJson()).toList(); |
| 3869 } | 3873 } |
| 3870 if (labels != null) { | 3874 if (labels != null) { |
| 3871 _json["labels"] = labels; | 3875 _json["labels"] = labels; |
| 3872 } | 3876 } |
| 3873 if (logName != null) { | 3877 if (logName != null) { |
| 3874 _json["logName"] = logName; | 3878 _json["logName"] = logName; |
| 3875 } | 3879 } |
| 3876 if (partialSuccess != null) { | 3880 if (partialSuccess != null) { |
| 3877 _json["partialSuccess"] = partialSuccess; | 3881 _json["partialSuccess"] = partialSuccess; |
| 3878 } | 3882 } |
| 3879 if (resource != null) { | 3883 if (resource != null) { |
| 3880 _json["resource"] = (resource).toJson(); | 3884 _json["resource"] = (resource).toJson(); |
| 3881 } | 3885 } |
| 3882 return _json; | 3886 return _json; |
| 3883 } | 3887 } |
| 3884 } | 3888 } |
| 3885 | 3889 |
| 3886 /** Result returned from WriteLogEntries. empty */ | 3890 /** Result returned from WriteLogEntries. empty */ |
| 3887 class WriteLogEntriesResponse { | 3891 class WriteLogEntriesResponse { |
| 3888 | 3892 |
| 3889 WriteLogEntriesResponse(); | 3893 WriteLogEntriesResponse(); |
| 3890 | 3894 |
| 3891 WriteLogEntriesResponse.fromJson(core.Map _json) { | 3895 WriteLogEntriesResponse.fromJson(core.Map _json) { |
| 3892 } | 3896 } |
| 3893 | 3897 |
| 3894 core.Map toJson() { | 3898 core.Map<core.String, core.Object> toJson() { |
| 3895 var _json = new core.Map(); | 3899 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
| 3896 return _json; | 3900 return _json; |
| 3897 } | 3901 } |
| 3898 } | 3902 } |
| OLD | NEW |