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_beta.appengine.v1beta; | 3 library googleapis_beta.appengine.v1beta; |
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 381 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
392 } | 392 } |
393 | 393 |
394 /** | 394 /** |
395 * Lists all SSL certificates the user is authorized to administer. | 395 * Lists all SSL certificates the user is authorized to administer. |
396 * | 396 * |
397 * Request parameters: | 397 * Request parameters: |
398 * | 398 * |
399 * [appsId] - Part of `parent`. Name of the parent Application resource. | 399 * [appsId] - Part of `parent`. Name of the parent Application resource. |
400 * Example: apps/myapp. | 400 * Example: apps/myapp. |
401 * | 401 * |
| 402 * [pageSize] - Maximum results to return per page. |
| 403 * |
| 404 * [view] - Controls the set of fields returned in the LIST response. |
| 405 * Possible string values are: |
| 406 * - "BASIC_CERTIFICATE" : A BASIC_CERTIFICATE. |
| 407 * - "FULL_CERTIFICATE" : A FULL_CERTIFICATE. |
| 408 * |
402 * [pageToken] - Continuation token for fetching the next page of results. | 409 * [pageToken] - Continuation token for fetching the next page of results. |
403 * | 410 * |
404 * [pageSize] - Maximum results to return per page. | |
405 * | |
406 * Completes with a [ListAuthorizedCertificatesResponse]. | 411 * Completes with a [ListAuthorizedCertificatesResponse]. |
407 * | 412 * |
408 * Completes with a [commons.ApiRequestError] if the API endpoint returned an | 413 * Completes with a [commons.ApiRequestError] if the API endpoint returned an |
409 * error. | 414 * error. |
410 * | 415 * |
411 * If the used [http.Client] completes with an error when making a REST call, | 416 * If the used [http.Client] completes with an error when making a REST call, |
412 * this method will complete with the same error. | 417 * this method will complete with the same error. |
413 */ | 418 */ |
414 async.Future<ListAuthorizedCertificatesResponse> list(core.String appsId, {cor
e.String pageToken, core.int pageSize}) { | 419 async.Future<ListAuthorizedCertificatesResponse> list(core.String appsId, {cor
e.int pageSize, core.String view, core.String pageToken}) { |
415 var _url = null; | 420 var _url = null; |
416 var _queryParams = new core.Map(); | 421 var _queryParams = new core.Map(); |
417 var _uploadMedia = null; | 422 var _uploadMedia = null; |
418 var _uploadOptions = null; | 423 var _uploadOptions = null; |
419 var _downloadOptions = commons.DownloadOptions.Metadata; | 424 var _downloadOptions = commons.DownloadOptions.Metadata; |
420 var _body = null; | 425 var _body = null; |
421 | 426 |
422 if (appsId == null) { | 427 if (appsId == null) { |
423 throw new core.ArgumentError("Parameter appsId is required."); | 428 throw new core.ArgumentError("Parameter appsId is required."); |
424 } | 429 } |
| 430 if (pageSize != null) { |
| 431 _queryParams["pageSize"] = ["${pageSize}"]; |
| 432 } |
| 433 if (view != null) { |
| 434 _queryParams["view"] = [view]; |
| 435 } |
425 if (pageToken != null) { | 436 if (pageToken != null) { |
426 _queryParams["pageToken"] = [pageToken]; | 437 _queryParams["pageToken"] = [pageToken]; |
427 } | 438 } |
428 if (pageSize != null) { | |
429 _queryParams["pageSize"] = ["${pageSize}"]; | |
430 } | |
431 | 439 |
432 _url = 'v1beta/apps/' + commons.Escaper.ecapeVariable('$appsId') + '/authori
zedCertificates'; | 440 _url = 'v1beta/apps/' + commons.Escaper.ecapeVariable('$appsId') + '/authori
zedCertificates'; |
433 | 441 |
434 var _response = _requester.request(_url, | 442 var _response = _requester.request(_url, |
435 "GET", | 443 "GET", |
436 body: _body, | 444 body: _body, |
437 queryParams: _queryParams, | 445 queryParams: _queryParams, |
438 uploadOptions: _uploadOptions, | 446 uploadOptions: _uploadOptions, |
439 uploadMedia: _uploadMedia, | 447 uploadMedia: _uploadMedia, |
440 downloadOptions: _downloadOptions); | 448 downloadOptions: _downloadOptions); |
(...skipping 743 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1184 } | 1192 } |
1185 | 1193 |
1186 /** | 1194 /** |
1187 * Lists information about the supported locations for this service. | 1195 * Lists information about the supported locations for this service. |
1188 * | 1196 * |
1189 * Request parameters: | 1197 * Request parameters: |
1190 * | 1198 * |
1191 * [appsId] - Part of `name`. The resource that owns the locations collection, | 1199 * [appsId] - Part of `name`. The resource that owns the locations collection, |
1192 * if applicable. | 1200 * if applicable. |
1193 * | 1201 * |
1194 * [pageToken] - The standard list page token. | |
1195 * | |
1196 * [pageSize] - The standard list page size. | 1202 * [pageSize] - The standard list page size. |
1197 * | 1203 * |
1198 * [filter] - The standard list filter. | 1204 * [filter] - The standard list filter. |
1199 * | 1205 * |
| 1206 * [pageToken] - The standard list page token. |
| 1207 * |
1200 * Completes with a [ListLocationsResponse]. | 1208 * Completes with a [ListLocationsResponse]. |
1201 * | 1209 * |
1202 * Completes with a [commons.ApiRequestError] if the API endpoint returned an | 1210 * Completes with a [commons.ApiRequestError] if the API endpoint returned an |
1203 * error. | 1211 * error. |
1204 * | 1212 * |
1205 * If the used [http.Client] completes with an error when making a REST call, | 1213 * If the used [http.Client] completes with an error when making a REST call, |
1206 * this method will complete with the same error. | 1214 * this method will complete with the same error. |
1207 */ | 1215 */ |
1208 async.Future<ListLocationsResponse> list(core.String appsId, {core.String page
Token, core.int pageSize, core.String filter}) { | 1216 async.Future<ListLocationsResponse> list(core.String appsId, {core.int pageSiz
e, core.String filter, core.String pageToken}) { |
1209 var _url = null; | 1217 var _url = null; |
1210 var _queryParams = new core.Map(); | 1218 var _queryParams = new core.Map(); |
1211 var _uploadMedia = null; | 1219 var _uploadMedia = null; |
1212 var _uploadOptions = null; | 1220 var _uploadOptions = null; |
1213 var _downloadOptions = commons.DownloadOptions.Metadata; | 1221 var _downloadOptions = commons.DownloadOptions.Metadata; |
1214 var _body = null; | 1222 var _body = null; |
1215 | 1223 |
1216 if (appsId == null) { | 1224 if (appsId == null) { |
1217 throw new core.ArgumentError("Parameter appsId is required."); | 1225 throw new core.ArgumentError("Parameter appsId is required."); |
1218 } | 1226 } |
1219 if (pageToken != null) { | |
1220 _queryParams["pageToken"] = [pageToken]; | |
1221 } | |
1222 if (pageSize != null) { | 1227 if (pageSize != null) { |
1223 _queryParams["pageSize"] = ["${pageSize}"]; | 1228 _queryParams["pageSize"] = ["${pageSize}"]; |
1224 } | 1229 } |
1225 if (filter != null) { | 1230 if (filter != null) { |
1226 _queryParams["filter"] = [filter]; | 1231 _queryParams["filter"] = [filter]; |
1227 } | 1232 } |
| 1233 if (pageToken != null) { |
| 1234 _queryParams["pageToken"] = [pageToken]; |
| 1235 } |
1228 | 1236 |
1229 _url = 'v1beta/apps/' + commons.Escaper.ecapeVariable('$appsId') + '/locatio
ns'; | 1237 _url = 'v1beta/apps/' + commons.Escaper.ecapeVariable('$appsId') + '/locatio
ns'; |
1230 | 1238 |
1231 var _response = _requester.request(_url, | 1239 var _response = _requester.request(_url, |
1232 "GET", | 1240 "GET", |
1233 body: _body, | 1241 body: _body, |
1234 queryParams: _queryParams, | 1242 queryParams: _queryParams, |
1235 uploadOptions: _uploadOptions, | 1243 uploadOptions: _uploadOptions, |
1236 uploadMedia: _uploadMedia, | 1244 uploadMedia: _uploadMedia, |
1237 downloadOptions: _downloadOptions); | 1245 downloadOptions: _downloadOptions); |
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1301 * binding, API services can add a binding such as "/v1/{name=users / * | 1309 * binding, API services can add a binding such as "/v1/{name=users / * |
1302 * }/operations" to their service configuration. For backwards compatibility, | 1310 * }/operations" to their service configuration. For backwards compatibility, |
1303 * the default name includes the operations collection id, however overriding | 1311 * the default name includes the operations collection id, however overriding |
1304 * users must ensure the name binding is the parent resource, without the | 1312 * users must ensure the name binding is the parent resource, without the |
1305 * operations collection id. | 1313 * operations collection id. |
1306 * | 1314 * |
1307 * Request parameters: | 1315 * Request parameters: |
1308 * | 1316 * |
1309 * [appsId] - Part of `name`. The name of the operation's parent resource. | 1317 * [appsId] - Part of `name`. The name of the operation's parent resource. |
1310 * | 1318 * |
1311 * [pageSize] - The standard list page size. | |
1312 * | |
1313 * [filter] - The standard list filter. | 1319 * [filter] - The standard list filter. |
1314 * | 1320 * |
1315 * [pageToken] - The standard list page token. | 1321 * [pageToken] - The standard list page token. |
1316 * | 1322 * |
| 1323 * [pageSize] - The standard list page size. |
| 1324 * |
1317 * Completes with a [ListOperationsResponse]. | 1325 * Completes with a [ListOperationsResponse]. |
1318 * | 1326 * |
1319 * Completes with a [commons.ApiRequestError] if the API endpoint returned an | 1327 * Completes with a [commons.ApiRequestError] if the API endpoint returned an |
1320 * error. | 1328 * error. |
1321 * | 1329 * |
1322 * If the used [http.Client] completes with an error when making a REST call, | 1330 * If the used [http.Client] completes with an error when making a REST call, |
1323 * this method will complete with the same error. | 1331 * this method will complete with the same error. |
1324 */ | 1332 */ |
1325 async.Future<ListOperationsResponse> list(core.String appsId, {core.int pageSi
ze, core.String filter, core.String pageToken}) { | 1333 async.Future<ListOperationsResponse> list(core.String appsId, {core.String fil
ter, core.String pageToken, core.int pageSize}) { |
1326 var _url = null; | 1334 var _url = null; |
1327 var _queryParams = new core.Map(); | 1335 var _queryParams = new core.Map(); |
1328 var _uploadMedia = null; | 1336 var _uploadMedia = null; |
1329 var _uploadOptions = null; | 1337 var _uploadOptions = null; |
1330 var _downloadOptions = commons.DownloadOptions.Metadata; | 1338 var _downloadOptions = commons.DownloadOptions.Metadata; |
1331 var _body = null; | 1339 var _body = null; |
1332 | 1340 |
1333 if (appsId == null) { | 1341 if (appsId == null) { |
1334 throw new core.ArgumentError("Parameter appsId is required."); | 1342 throw new core.ArgumentError("Parameter appsId is required."); |
1335 } | 1343 } |
1336 if (pageSize != null) { | |
1337 _queryParams["pageSize"] = ["${pageSize}"]; | |
1338 } | |
1339 if (filter != null) { | 1344 if (filter != null) { |
1340 _queryParams["filter"] = [filter]; | 1345 _queryParams["filter"] = [filter]; |
1341 } | 1346 } |
1342 if (pageToken != null) { | 1347 if (pageToken != null) { |
1343 _queryParams["pageToken"] = [pageToken]; | 1348 _queryParams["pageToken"] = [pageToken]; |
1344 } | 1349 } |
| 1350 if (pageSize != null) { |
| 1351 _queryParams["pageSize"] = ["${pageSize}"]; |
| 1352 } |
1345 | 1353 |
1346 _url = 'v1beta/apps/' + commons.Escaper.ecapeVariable('$appsId') + '/operati
ons'; | 1354 _url = 'v1beta/apps/' + commons.Escaper.ecapeVariable('$appsId') + '/operati
ons'; |
1347 | 1355 |
1348 var _response = _requester.request(_url, | 1356 var _response = _requester.request(_url, |
1349 "GET", | 1357 "GET", |
1350 body: _body, | 1358 body: _body, |
1351 queryParams: _queryParams, | 1359 queryParams: _queryParams, |
1352 uploadOptions: _uploadOptions, | 1360 uploadOptions: _uploadOptions, |
1353 uploadMedia: _uploadMedia, | 1361 uploadMedia: _uploadMedia, |
1354 downloadOptions: _downloadOptions); | 1362 downloadOptions: _downloadOptions); |
(...skipping 156 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1511 * | 1519 * |
1512 * [request] - The metadata request object. | 1520 * [request] - The metadata request object. |
1513 * | 1521 * |
1514 * Request parameters: | 1522 * Request parameters: |
1515 * | 1523 * |
1516 * [appsId] - Part of `name`. Name of the resource to update. Example: | 1524 * [appsId] - Part of `name`. Name of the resource to update. Example: |
1517 * apps/myapp/services/default. | 1525 * apps/myapp/services/default. |
1518 * | 1526 * |
1519 * [servicesId] - Part of `name`. See documentation of `appsId`. | 1527 * [servicesId] - Part of `name`. See documentation of `appsId`. |
1520 * | 1528 * |
| 1529 * [updateMask] - Standard field mask for the set of fields to be updated. |
| 1530 * |
1521 * [migrateTraffic] - Set to true to gradually shift traffic to one or more | 1531 * [migrateTraffic] - Set to true to gradually shift traffic to one or more |
1522 * versions that you specify. By default, traffic is shifted immediately. For | 1532 * versions that you specify. By default, traffic is shifted immediately. For |
1523 * gradual traffic migration, the target versions must be located within | 1533 * gradual traffic migration, the target versions must be located within |
1524 * instances that are configured for both warmup requests | 1534 * instances that are configured for both warmup requests |
1525 * (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1beta/ap
ps.services.versions#inboundservicetype) | 1535 * (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1beta/ap
ps.services.versions#inboundservicetype) |
1526 * and automatic scaling | 1536 * and automatic scaling |
1527 * (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1beta/ap
ps.services.versions#automaticscaling). | 1537 * (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1beta/ap
ps.services.versions#automaticscaling). |
1528 * You must specify the shardBy | 1538 * You must specify the shardBy |
1529 * (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1beta/ap
ps.services#shardby) | 1539 * (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1beta/ap
ps.services#shardby) |
1530 * field in the Service resource. Gradual traffic migration is not supported | 1540 * field in the Service resource. Gradual traffic migration is not supported |
1531 * in the App Engine flexible environment. For examples, see Migrating and | 1541 * in the App Engine flexible environment. For examples, see Migrating and |
1532 * Splitting Traffic | 1542 * Splitting Traffic |
1533 * (https://cloud.google.com/appengine/docs/admin-api/migrating-splitting-traf
fic). | 1543 * (https://cloud.google.com/appengine/docs/admin-api/migrating-splitting-traf
fic). |
1534 * | 1544 * |
1535 * [updateMask] - Standard field mask for the set of fields to be updated. | |
1536 * | |
1537 * Completes with a [Operation]. | 1545 * Completes with a [Operation]. |
1538 * | 1546 * |
1539 * Completes with a [commons.ApiRequestError] if the API endpoint returned an | 1547 * Completes with a [commons.ApiRequestError] if the API endpoint returned an |
1540 * error. | 1548 * error. |
1541 * | 1549 * |
1542 * If the used [http.Client] completes with an error when making a REST call, | 1550 * If the used [http.Client] completes with an error when making a REST call, |
1543 * this method will complete with the same error. | 1551 * this method will complete with the same error. |
1544 */ | 1552 */ |
1545 async.Future<Operation> patch(Service request, core.String appsId, core.String
servicesId, {core.bool migrateTraffic, core.String updateMask}) { | 1553 async.Future<Operation> patch(Service request, core.String appsId, core.String
servicesId, {core.String updateMask, core.bool migrateTraffic}) { |
1546 var _url = null; | 1554 var _url = null; |
1547 var _queryParams = new core.Map(); | 1555 var _queryParams = new core.Map(); |
1548 var _uploadMedia = null; | 1556 var _uploadMedia = null; |
1549 var _uploadOptions = null; | 1557 var _uploadOptions = null; |
1550 var _downloadOptions = commons.DownloadOptions.Metadata; | 1558 var _downloadOptions = commons.DownloadOptions.Metadata; |
1551 var _body = null; | 1559 var _body = null; |
1552 | 1560 |
1553 if (request != null) { | 1561 if (request != null) { |
1554 _body = convert.JSON.encode((request).toJson()); | 1562 _body = convert.JSON.encode((request).toJson()); |
1555 } | 1563 } |
1556 if (appsId == null) { | 1564 if (appsId == null) { |
1557 throw new core.ArgumentError("Parameter appsId is required."); | 1565 throw new core.ArgumentError("Parameter appsId is required."); |
1558 } | 1566 } |
1559 if (servicesId == null) { | 1567 if (servicesId == null) { |
1560 throw new core.ArgumentError("Parameter servicesId is required."); | 1568 throw new core.ArgumentError("Parameter servicesId is required."); |
1561 } | 1569 } |
| 1570 if (updateMask != null) { |
| 1571 _queryParams["updateMask"] = [updateMask]; |
| 1572 } |
1562 if (migrateTraffic != null) { | 1573 if (migrateTraffic != null) { |
1563 _queryParams["migrateTraffic"] = ["${migrateTraffic}"]; | 1574 _queryParams["migrateTraffic"] = ["${migrateTraffic}"]; |
1564 } | 1575 } |
1565 if (updateMask != null) { | |
1566 _queryParams["updateMask"] = [updateMask]; | |
1567 } | |
1568 | 1576 |
1569 _url = 'v1beta/apps/' + commons.Escaper.ecapeVariable('$appsId') + '/service
s/' + commons.Escaper.ecapeVariable('$servicesId'); | 1577 _url = 'v1beta/apps/' + commons.Escaper.ecapeVariable('$appsId') + '/service
s/' + commons.Escaper.ecapeVariable('$servicesId'); |
1570 | 1578 |
1571 var _response = _requester.request(_url, | 1579 var _response = _requester.request(_url, |
1572 "PATCH", | 1580 "PATCH", |
1573 body: _body, | 1581 body: _body, |
1574 queryParams: _queryParams, | 1582 queryParams: _queryParams, |
1575 uploadOptions: _uploadOptions, | 1583 uploadOptions: _uploadOptions, |
1576 uploadMedia: _uploadMedia, | 1584 uploadMedia: _uploadMedia, |
1577 downloadOptions: _downloadOptions); | 1585 downloadOptions: _downloadOptions); |
(...skipping 173 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1751 /** | 1759 /** |
1752 * Lists the versions of a service. | 1760 * Lists the versions of a service. |
1753 * | 1761 * |
1754 * Request parameters: | 1762 * Request parameters: |
1755 * | 1763 * |
1756 * [appsId] - Part of `parent`. Name of the parent Service resource. Example: | 1764 * [appsId] - Part of `parent`. Name of the parent Service resource. Example: |
1757 * apps/myapp/services/default. | 1765 * apps/myapp/services/default. |
1758 * | 1766 * |
1759 * [servicesId] - Part of `parent`. See documentation of `appsId`. | 1767 * [servicesId] - Part of `parent`. See documentation of `appsId`. |
1760 * | 1768 * |
1761 * [pageToken] - Continuation token for fetching the next page of results. | |
1762 * | |
1763 * [pageSize] - Maximum results to return per page. | 1769 * [pageSize] - Maximum results to return per page. |
1764 * | 1770 * |
1765 * [view] - Controls the set of fields returned in the List response. | 1771 * [view] - Controls the set of fields returned in the List response. |
1766 * Possible string values are: | 1772 * Possible string values are: |
1767 * - "BASIC" : A BASIC. | 1773 * - "BASIC" : A BASIC. |
1768 * - "FULL" : A FULL. | 1774 * - "FULL" : A FULL. |
1769 * | 1775 * |
| 1776 * [pageToken] - Continuation token for fetching the next page of results. |
| 1777 * |
1770 * Completes with a [ListVersionsResponse]. | 1778 * Completes with a [ListVersionsResponse]. |
1771 * | 1779 * |
1772 * Completes with a [commons.ApiRequestError] if the API endpoint returned an | 1780 * Completes with a [commons.ApiRequestError] if the API endpoint returned an |
1773 * error. | 1781 * error. |
1774 * | 1782 * |
1775 * If the used [http.Client] completes with an error when making a REST call, | 1783 * If the used [http.Client] completes with an error when making a REST call, |
1776 * this method will complete with the same error. | 1784 * this method will complete with the same error. |
1777 */ | 1785 */ |
1778 async.Future<ListVersionsResponse> list(core.String appsId, core.String servic
esId, {core.String pageToken, core.int pageSize, core.String view}) { | 1786 async.Future<ListVersionsResponse> list(core.String appsId, core.String servic
esId, {core.int pageSize, core.String view, core.String pageToken}) { |
1779 var _url = null; | 1787 var _url = null; |
1780 var _queryParams = new core.Map(); | 1788 var _queryParams = new core.Map(); |
1781 var _uploadMedia = null; | 1789 var _uploadMedia = null; |
1782 var _uploadOptions = null; | 1790 var _uploadOptions = null; |
1783 var _downloadOptions = commons.DownloadOptions.Metadata; | 1791 var _downloadOptions = commons.DownloadOptions.Metadata; |
1784 var _body = null; | 1792 var _body = null; |
1785 | 1793 |
1786 if (appsId == null) { | 1794 if (appsId == null) { |
1787 throw new core.ArgumentError("Parameter appsId is required."); | 1795 throw new core.ArgumentError("Parameter appsId is required."); |
1788 } | 1796 } |
1789 if (servicesId == null) { | 1797 if (servicesId == null) { |
1790 throw new core.ArgumentError("Parameter servicesId is required."); | 1798 throw new core.ArgumentError("Parameter servicesId is required."); |
1791 } | 1799 } |
1792 if (pageToken != null) { | |
1793 _queryParams["pageToken"] = [pageToken]; | |
1794 } | |
1795 if (pageSize != null) { | 1800 if (pageSize != null) { |
1796 _queryParams["pageSize"] = ["${pageSize}"]; | 1801 _queryParams["pageSize"] = ["${pageSize}"]; |
1797 } | 1802 } |
1798 if (view != null) { | 1803 if (view != null) { |
1799 _queryParams["view"] = [view]; | 1804 _queryParams["view"] = [view]; |
1800 } | 1805 } |
| 1806 if (pageToken != null) { |
| 1807 _queryParams["pageToken"] = [pageToken]; |
| 1808 } |
1801 | 1809 |
1802 _url = 'v1beta/apps/' + commons.Escaper.ecapeVariable('$appsId') + '/service
s/' + commons.Escaper.ecapeVariable('$servicesId') + '/versions'; | 1810 _url = 'v1beta/apps/' + commons.Escaper.ecapeVariable('$appsId') + '/service
s/' + commons.Escaper.ecapeVariable('$servicesId') + '/versions'; |
1803 | 1811 |
1804 var _response = _requester.request(_url, | 1812 var _response = _requester.request(_url, |
1805 "GET", | 1813 "GET", |
1806 body: _body, | 1814 body: _body, |
1807 queryParams: _queryParams, | 1815 queryParams: _queryParams, |
1808 uploadOptions: _uploadOptions, | 1816 uploadOptions: _uploadOptions, |
1809 uploadMedia: _uploadMedia, | 1817 uploadMedia: _uploadMedia, |
1810 downloadOptions: _downloadOptions); | 1818 downloadOptions: _downloadOptions); |
(...skipping 439 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2250 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); | 2258 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
2251 if (scriptPath != null) { | 2259 if (scriptPath != null) { |
2252 _json["scriptPath"] = scriptPath; | 2260 _json["scriptPath"] = scriptPath; |
2253 } | 2261 } |
2254 return _json; | 2262 return _json; |
2255 } | 2263 } |
2256 } | 2264 } |
2257 | 2265 |
2258 /** | 2266 /** |
2259 * An Application resource contains the top-level configuration of an App Engine | 2267 * An Application resource contains the top-level configuration of an App Engine |
2260 * application. Next tag: 19 | 2268 * application. Next tag: 20 |
2261 */ | 2269 */ |
2262 class Application { | 2270 class Application { |
2263 /** | 2271 /** |
2264 * Google Apps authentication domain that controls which users can access this | 2272 * Google Apps authentication domain that controls which users can access this |
2265 * application.Defaults to open access for any Google Account. | 2273 * application.Defaults to open access for any Google Account. |
2266 */ | 2274 */ |
2267 core.String authDomain; | 2275 core.String authDomain; |
2268 /** | 2276 /** |
2269 * Google Cloud Storage bucket that can be used for storing files associated | 2277 * Google Cloud Storage bucket that can be used for storing files associated |
2270 * with this application. This bucket is associated with the application and | 2278 * with this application. This bucket is associated with the application and |
(...skipping 156 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2427 */ | 2435 */ |
2428 CertificateRawData certificateRawData; | 2436 CertificateRawData certificateRawData; |
2429 /** | 2437 /** |
2430 * The user-specified display name of the certificate. This is not guaranteed | 2438 * The user-specified display name of the certificate. This is not guaranteed |
2431 * to be unique. Example: My Certificate. | 2439 * to be unique. Example: My Certificate. |
2432 */ | 2440 */ |
2433 core.String displayName; | 2441 core.String displayName; |
2434 /** | 2442 /** |
2435 * Aggregate count of the domain mappings with this certificate mapped. This | 2443 * Aggregate count of the domain mappings with this certificate mapped. This |
2436 * count includes domain mappings on applications for which the user does not | 2444 * count includes domain mappings on applications for which the user does not |
2437 * have VIEWER permissions.Only returned by GET requests when specifically | 2445 * have VIEWER permissions.Only returned by GET or LIST requests when |
2438 * requested by the view=FULL option.@OutputOnly | 2446 * specifically requested by the view=FULL_CERTIFICATE option.@OutputOnly |
2439 */ | 2447 */ |
2440 core.int domainMappingsCount; | 2448 core.int domainMappingsCount; |
2441 /** | 2449 /** |
2442 * Topmost applicable domains of this certificate. This certificate applies to | 2450 * Topmost applicable domains of this certificate. This certificate applies to |
2443 * these domains and their subdomains. Example: example.com.@OutputOnly | 2451 * these domains and their subdomains. Example: example.com.@OutputOnly |
2444 */ | 2452 */ |
2445 core.List<core.String> domainNames; | 2453 core.List<core.String> domainNames; |
2446 /** | 2454 /** |
2447 * The time when this certificate expires. To update the renewal time on this | 2455 * The time when this certificate expires. To update the renewal time on this |
2448 * certificate, upload an SSL certificate with a different expiration time | 2456 * certificate, upload an SSL certificate with a different expiration time |
2449 * using AuthorizedCertificates.UpdateAuthorizedCertificate.@OutputOnly | 2457 * using AuthorizedCertificates.UpdateAuthorizedCertificate.@OutputOnly |
2450 */ | 2458 */ |
2451 core.String expireTime; | 2459 core.String expireTime; |
2452 /** | 2460 /** |
2453 * Relative name of the certificate. This is a unique value autogenerated on | 2461 * Relative name of the certificate. This is a unique value autogenerated on |
2454 * AuthorizedCertificate resource creation. Example: 12345.@OutputOnly | 2462 * AuthorizedCertificate resource creation. Example: 12345.@OutputOnly |
2455 */ | 2463 */ |
2456 core.String id; | 2464 core.String id; |
2457 /** | 2465 /** |
2458 * Full path to the AuthorizedCertificate resource in the API. Example: | 2466 * Full path to the AuthorizedCertificate resource in the API. Example: |
2459 * apps/myapp/authorizedCertificates/12345.@OutputOnly | 2467 * apps/myapp/authorizedCertificates/12345.@OutputOnly |
2460 */ | 2468 */ |
2461 core.String name; | 2469 core.String name; |
2462 /** | 2470 /** |
2463 * The full paths to user visible Domain Mapping resources that have this | 2471 * The full paths to user visible Domain Mapping resources that have this |
2464 * certificate mapped. Example: apps/myapp/domainMappings/example.com.This may | 2472 * certificate mapped. Example: apps/myapp/domainMappings/example.com.This may |
2465 * not represent the full list of mapped domain mappings if the user does not | 2473 * not represent the full list of mapped domain mappings if the user does not |
2466 * have VIEWER permissions on all of the applications that have this | 2474 * have VIEWER permissions on all of the applications that have this |
2467 * certificate mapped. See domain_mappings_count for a complete count.Only | 2475 * certificate mapped. See domain_mappings_count for a complete count.Only |
2468 * returned by GET requests when specifically requested by the view=FULL | 2476 * returned by GET or LIST requests when specifically requested by the |
2469 * option.@OutputOnly | 2477 * view=FULL_CERTIFICATE option.@OutputOnly |
2470 */ | 2478 */ |
2471 core.List<core.String> visibleDomainMappings; | 2479 core.List<core.String> visibleDomainMappings; |
2472 | 2480 |
2473 AuthorizedCertificate(); | 2481 AuthorizedCertificate(); |
2474 | 2482 |
2475 AuthorizedCertificate.fromJson(core.Map _json) { | 2483 AuthorizedCertificate.fromJson(core.Map _json) { |
2476 if (_json.containsKey("certificateRawData")) { | 2484 if (_json.containsKey("certificateRawData")) { |
2477 certificateRawData = new CertificateRawData.fromJson(_json["certificateRaw
Data"]); | 2485 certificateRawData = new CertificateRawData.fromJson(_json["certificateRaw
Data"]); |
2478 } | 2486 } |
2479 if (_json.containsKey("displayName")) { | 2487 if (_json.containsKey("displayName")) { |
(...skipping 2844 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5324 * Asynchronous operations. If an API call embeds asynchronous operation results | 5332 * Asynchronous operations. If an API call embeds asynchronous operation results |
5325 * in its response, the status of those operations should be represented | 5333 * in its response, the status of those operations should be represented |
5326 * directly using the Status message. | 5334 * directly using the Status message. |
5327 * Logging. If some API errors are stored in logs, the message Status could be | 5335 * Logging. If some API errors are stored in logs, the message Status could be |
5328 * used directly after any stripping needed for security/privacy reasons. | 5336 * used directly after any stripping needed for security/privacy reasons. |
5329 */ | 5337 */ |
5330 class Status { | 5338 class Status { |
5331 /** The status code, which should be an enum value of google.rpc.Code. */ | 5339 /** The status code, which should be an enum value of google.rpc.Code. */ |
5332 core.int code; | 5340 core.int code; |
5333 /** | 5341 /** |
5334 * A list of messages that carry the error details. There will be a common set | 5342 * A list of messages that carry the error details. There is a common set of |
5335 * of message types for APIs to use. | 5343 * message types for APIs to use. |
5336 * | 5344 * |
5337 * The values for Object must be JSON objects. It can consist of `num`, | 5345 * The values for Object must be JSON objects. It can consist of `num`, |
5338 * `String`, `bool` and `null` as well as `Map` and `List` values. | 5346 * `String`, `bool` and `null` as well as `Map` and `List` values. |
5339 */ | 5347 */ |
5340 core.List<core.Map<core.String, core.Object>> details; | 5348 core.List<core.Map<core.String, core.Object>> details; |
5341 /** | 5349 /** |
5342 * A developer-facing error message, which should be in English. Any | 5350 * A developer-facing error message, which should be in English. Any |
5343 * user-facing error message should be localized and sent in the | 5351 * user-facing error message should be localized and sent in the |
5344 * google.rpc.Status.details field, or localized by the client. | 5352 * google.rpc.Status.details field, or localized by the client. |
5345 */ | 5353 */ |
(...skipping 705 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6051 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); | 6059 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
6052 if (filesCount != null) { | 6060 if (filesCount != null) { |
6053 _json["filesCount"] = filesCount; | 6061 _json["filesCount"] = filesCount; |
6054 } | 6062 } |
6055 if (sourceUrl != null) { | 6063 if (sourceUrl != null) { |
6056 _json["sourceUrl"] = sourceUrl; | 6064 _json["sourceUrl"] = sourceUrl; |
6057 } | 6065 } |
6058 return _json; | 6066 return _json; |
6059 } | 6067 } |
6060 } | 6068 } |
OLD | NEW |