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.v1beta5; | 3 library googleapis_beta.appengine.v1beta5; |
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; |
11 | 11 |
12 export 'package:_discoveryapis_commons/_discoveryapis_commons.dart' show | 12 export 'package:_discoveryapis_commons/_discoveryapis_commons.dart' show |
13 ApiRequestError, DetailedApiRequestError; | 13 ApiRequestError, DetailedApiRequestError; |
14 | 14 |
15 const core.String USER_AGENT = 'dart-api-client appengine/v1beta5'; | 15 const core.String USER_AGENT = 'dart-api-client appengine/v1beta5'; |
16 | 16 |
17 /** Provisions and manages App Engine applications. */ | 17 /** |
| 18 * The App Engine Admin API enables developers to provision and manage their App |
| 19 * Engine applications. |
| 20 */ |
18 class AppengineApi { | 21 class AppengineApi { |
19 /** View and manage your applications deployed on Google App Engine */ | 22 /** View and manage your applications deployed on Google App Engine */ |
20 static const AppengineAdminScope = "https://www.googleapis.com/auth/appengine.
admin"; | 23 static const AppengineAdminScope = "https://www.googleapis.com/auth/appengine.
admin"; |
21 | 24 |
22 /** View and manage your data across Google Cloud Platform services */ | 25 /** View and manage your data across Google Cloud Platform services */ |
23 static const CloudPlatformScope = "https://www.googleapis.com/auth/cloud-platf
orm"; | 26 static const CloudPlatformScope = "https://www.googleapis.com/auth/cloud-platf
orm"; |
24 | 27 |
25 /** View your data across Google Cloud Platform services */ | 28 /** View your data across Google Cloud Platform services */ |
26 static const CloudPlatformReadOnlyScope = "https://www.googleapis.com/auth/clo
ud-platform.read-only"; | 29 static const CloudPlatformReadOnlyScope = "https://www.googleapis.com/auth/clo
ud-platform.read-only"; |
27 | 30 |
(...skipping 12 matching lines...) Expand all Loading... |
40 | 43 |
41 AppsLocationsResourceApi get locations => new AppsLocationsResourceApi(_reques
ter); | 44 AppsLocationsResourceApi get locations => new AppsLocationsResourceApi(_reques
ter); |
42 AppsOperationsResourceApi get operations => new AppsOperationsResourceApi(_req
uester); | 45 AppsOperationsResourceApi get operations => new AppsOperationsResourceApi(_req
uester); |
43 AppsServicesResourceApi get services => new AppsServicesResourceApi(_requester
); | 46 AppsServicesResourceApi get services => new AppsServicesResourceApi(_requester
); |
44 | 47 |
45 AppsResourceApi(commons.ApiRequester client) : | 48 AppsResourceApi(commons.ApiRequester client) : |
46 _requester = client; | 49 _requester = client; |
47 | 50 |
48 /** | 51 /** |
49 * Creates an App Engine application for a Google Cloud Platform project. | 52 * Creates an App Engine application for a Google Cloud Platform project. |
50 * Required fields: id - The ID of the target Cloud Platform project. location | 53 * Required fields: |
51 * - The region (https://cloud.google.com/appengine/docs/locations) where you | 54 * id - The ID of the target Cloud Platform project. |
52 * want the App Engine application located.For more information about App | 55 * location - The region (https://cloud.google.com/appengine/docs/locations) |
53 * Engine applications, see Managing Projects, Applications, and Billing | 56 * where you want the App Engine application located.For more information |
54 * (https://cloud.google.com/appengine/docs/python/console/). | 57 * about App Engine applications, see Managing Projects, Applications, and |
| 58 * Billing (https://cloud.google.com/appengine/docs/python/console/). |
55 * | 59 * |
56 * [request] - The metadata request object. | 60 * [request] - The metadata request object. |
57 * | 61 * |
58 * Request parameters: | 62 * Request parameters: |
59 * | 63 * |
60 * Completes with a [Operation]. | 64 * Completes with a [Operation]. |
61 * | 65 * |
62 * Completes with a [commons.ApiRequestError] if the API endpoint returned an | 66 * Completes with a [commons.ApiRequestError] if the API endpoint returned an |
63 * error. | 67 * error. |
64 * | 68 * |
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
134 body: _body, | 138 body: _body, |
135 queryParams: _queryParams, | 139 queryParams: _queryParams, |
136 uploadOptions: _uploadOptions, | 140 uploadOptions: _uploadOptions, |
137 uploadMedia: _uploadMedia, | 141 uploadMedia: _uploadMedia, |
138 downloadOptions: _downloadOptions); | 142 downloadOptions: _downloadOptions); |
139 return _response.then((data) => new Application.fromJson(data)); | 143 return _response.then((data) => new Application.fromJson(data)); |
140 } | 144 } |
141 | 145 |
142 /** | 146 /** |
143 * Updates the specified Application resource. You can update the following | 147 * Updates the specified Application resource. You can update the following |
144 * fields: auth_domain | 148 * fields: |
| 149 * auth_domain |
145 * (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1beta5/a
pps#Application.FIELDS.auth_domain) | 150 * (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1beta5/a
pps#Application.FIELDS.auth_domain) |
146 * default_cookie_expiration | 151 * default_cookie_expiration |
147 * (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1beta5/a
pps#Application.FIELDS.default_cookie_expiration) | 152 * (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1beta5/a
pps#Application.FIELDS.default_cookie_expiration) |
148 * | 153 * |
149 * [request] - The metadata request object. | 154 * [request] - The metadata request object. |
150 * | 155 * |
151 * Request parameters: | 156 * Request parameters: |
152 * | 157 * |
153 * [appsId] - Part of `name`. Name of the Application resource to update. | 158 * [appsId] - Part of `name`. Name of the Application resource to update. |
154 * Example: apps/myapp. | 159 * Example: apps/myapp. |
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
249 /** | 254 /** |
250 * Lists information about the supported locations for this service. | 255 * Lists information about the supported locations for this service. |
251 * | 256 * |
252 * Request parameters: | 257 * Request parameters: |
253 * | 258 * |
254 * [appsId] - Part of `name`. The resource that owns the locations collection, | 259 * [appsId] - Part of `name`. The resource that owns the locations collection, |
255 * if applicable. | 260 * if applicable. |
256 * | 261 * |
257 * [filter] - The standard list filter. | 262 * [filter] - The standard list filter. |
258 * | 263 * |
| 264 * [pageToken] - The standard list page token. |
| 265 * |
259 * [pageSize] - The standard list page size. | 266 * [pageSize] - The standard list page size. |
260 * | 267 * |
261 * [pageToken] - The standard list page token. | |
262 * | |
263 * Completes with a [ListLocationsResponse]. | 268 * Completes with a [ListLocationsResponse]. |
264 * | 269 * |
265 * Completes with a [commons.ApiRequestError] if the API endpoint returned an | 270 * Completes with a [commons.ApiRequestError] if the API endpoint returned an |
266 * error. | 271 * error. |
267 * | 272 * |
268 * If the used [http.Client] completes with an error when making a REST call, | 273 * If the used [http.Client] completes with an error when making a REST call, |
269 * this method will complete with the same error. | 274 * this method will complete with the same error. |
270 */ | 275 */ |
271 async.Future<ListLocationsResponse> list(core.String appsId, {core.String filt
er, core.int pageSize, core.String pageToken}) { | 276 async.Future<ListLocationsResponse> list(core.String appsId, {core.String filt
er, core.String pageToken, core.int pageSize}) { |
272 var _url = null; | 277 var _url = null; |
273 var _queryParams = new core.Map(); | 278 var _queryParams = new core.Map(); |
274 var _uploadMedia = null; | 279 var _uploadMedia = null; |
275 var _uploadOptions = null; | 280 var _uploadOptions = null; |
276 var _downloadOptions = commons.DownloadOptions.Metadata; | 281 var _downloadOptions = commons.DownloadOptions.Metadata; |
277 var _body = null; | 282 var _body = null; |
278 | 283 |
279 if (appsId == null) { | 284 if (appsId == null) { |
280 throw new core.ArgumentError("Parameter appsId is required."); | 285 throw new core.ArgumentError("Parameter appsId is required."); |
281 } | 286 } |
282 if (filter != null) { | 287 if (filter != null) { |
283 _queryParams["filter"] = [filter]; | 288 _queryParams["filter"] = [filter]; |
284 } | 289 } |
| 290 if (pageToken != null) { |
| 291 _queryParams["pageToken"] = [pageToken]; |
| 292 } |
285 if (pageSize != null) { | 293 if (pageSize != null) { |
286 _queryParams["pageSize"] = ["${pageSize}"]; | 294 _queryParams["pageSize"] = ["${pageSize}"]; |
287 } | 295 } |
288 if (pageToken != null) { | |
289 _queryParams["pageToken"] = [pageToken]; | |
290 } | |
291 | 296 |
292 _url = 'v1beta5/apps/' + commons.Escaper.ecapeVariable('$appsId') + '/locati
ons'; | 297 _url = 'v1beta5/apps/' + commons.Escaper.ecapeVariable('$appsId') + '/locati
ons'; |
293 | 298 |
294 var _response = _requester.request(_url, | 299 var _response = _requester.request(_url, |
295 "GET", | 300 "GET", |
296 body: _body, | 301 body: _body, |
297 queryParams: _queryParams, | 302 queryParams: _queryParams, |
298 uploadOptions: _uploadOptions, | 303 uploadOptions: _uploadOptions, |
299 uploadMedia: _uploadMedia, | 304 uploadMedia: _uploadMedia, |
300 downloadOptions: _downloadOptions); | 305 downloadOptions: _downloadOptions); |
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
359 /** | 364 /** |
360 * Lists operations that match the specified filter in the request. If the | 365 * Lists operations that match the specified filter in the request. If the |
361 * server doesn't support this method, it returns UNIMPLEMENTED.NOTE: the name | 366 * server doesn't support this method, it returns UNIMPLEMENTED.NOTE: the name |
362 * binding below allows API services to override the binding to use different | 367 * binding below allows API services to override the binding to use different |
363 * resource name schemes, such as users / * /operations. | 368 * resource name schemes, such as users / * /operations. |
364 * | 369 * |
365 * Request parameters: | 370 * Request parameters: |
366 * | 371 * |
367 * [appsId] - Part of `name`. The name of the operation collection. | 372 * [appsId] - Part of `name`. The name of the operation collection. |
368 * | 373 * |
369 * [filter] - The standard list filter. | 374 * [pageToken] - The standard list page token. |
370 * | 375 * |
371 * [pageSize] - The standard list page size. | 376 * [pageSize] - The standard list page size. |
372 * | 377 * |
373 * [pageToken] - The standard list page token. | 378 * [filter] - The standard list filter. |
374 * | 379 * |
375 * Completes with a [ListOperationsResponse]. | 380 * Completes with a [ListOperationsResponse]. |
376 * | 381 * |
377 * Completes with a [commons.ApiRequestError] if the API endpoint returned an | 382 * Completes with a [commons.ApiRequestError] if the API endpoint returned an |
378 * error. | 383 * error. |
379 * | 384 * |
380 * If the used [http.Client] completes with an error when making a REST call, | 385 * If the used [http.Client] completes with an error when making a REST call, |
381 * this method will complete with the same error. | 386 * this method will complete with the same error. |
382 */ | 387 */ |
383 async.Future<ListOperationsResponse> list(core.String appsId, {core.String fil
ter, core.int pageSize, core.String pageToken}) { | 388 async.Future<ListOperationsResponse> list(core.String appsId, {core.String pag
eToken, core.int pageSize, core.String filter}) { |
384 var _url = null; | 389 var _url = null; |
385 var _queryParams = new core.Map(); | 390 var _queryParams = new core.Map(); |
386 var _uploadMedia = null; | 391 var _uploadMedia = null; |
387 var _uploadOptions = null; | 392 var _uploadOptions = null; |
388 var _downloadOptions = commons.DownloadOptions.Metadata; | 393 var _downloadOptions = commons.DownloadOptions.Metadata; |
389 var _body = null; | 394 var _body = null; |
390 | 395 |
391 if (appsId == null) { | 396 if (appsId == null) { |
392 throw new core.ArgumentError("Parameter appsId is required."); | 397 throw new core.ArgumentError("Parameter appsId is required."); |
393 } | 398 } |
| 399 if (pageToken != null) { |
| 400 _queryParams["pageToken"] = [pageToken]; |
| 401 } |
| 402 if (pageSize != null) { |
| 403 _queryParams["pageSize"] = ["${pageSize}"]; |
| 404 } |
394 if (filter != null) { | 405 if (filter != null) { |
395 _queryParams["filter"] = [filter]; | 406 _queryParams["filter"] = [filter]; |
396 } | 407 } |
397 if (pageSize != null) { | |
398 _queryParams["pageSize"] = ["${pageSize}"]; | |
399 } | |
400 if (pageToken != null) { | |
401 _queryParams["pageToken"] = [pageToken]; | |
402 } | |
403 | 408 |
404 _url = 'v1beta5/apps/' + commons.Escaper.ecapeVariable('$appsId') + '/operat
ions'; | 409 _url = 'v1beta5/apps/' + commons.Escaper.ecapeVariable('$appsId') + '/operat
ions'; |
405 | 410 |
406 var _response = _requester.request(_url, | 411 var _response = _requester.request(_url, |
407 "GET", | 412 "GET", |
408 body: _body, | 413 body: _body, |
409 queryParams: _queryParams, | 414 queryParams: _queryParams, |
410 uploadOptions: _uploadOptions, | 415 uploadOptions: _uploadOptions, |
411 uploadMedia: _uploadMedia, | 416 uploadMedia: _uploadMedia, |
412 downloadOptions: _downloadOptions); | 417 downloadOptions: _downloadOptions); |
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
515 } | 520 } |
516 | 521 |
517 /** | 522 /** |
518 * Lists all the services in the application. | 523 * Lists all the services in the application. |
519 * | 524 * |
520 * Request parameters: | 525 * Request parameters: |
521 * | 526 * |
522 * [appsId] - Part of `name`. Name of the resource requested. Example: | 527 * [appsId] - Part of `name`. Name of the resource requested. Example: |
523 * apps/myapp. | 528 * apps/myapp. |
524 * | 529 * |
| 530 * [pageToken] - Continuation token for fetching the next page of results. |
| 531 * |
525 * [pageSize] - Maximum results to return per page. | 532 * [pageSize] - Maximum results to return per page. |
526 * | 533 * |
527 * [pageToken] - Continuation token for fetching the next page of results. | |
528 * | |
529 * Completes with a [ListServicesResponse]. | 534 * Completes with a [ListServicesResponse]. |
530 * | 535 * |
531 * Completes with a [commons.ApiRequestError] if the API endpoint returned an | 536 * Completes with a [commons.ApiRequestError] if the API endpoint returned an |
532 * error. | 537 * error. |
533 * | 538 * |
534 * If the used [http.Client] completes with an error when making a REST call, | 539 * If the used [http.Client] completes with an error when making a REST call, |
535 * this method will complete with the same error. | 540 * this method will complete with the same error. |
536 */ | 541 */ |
537 async.Future<ListServicesResponse> list(core.String appsId, {core.int pageSize
, core.String pageToken}) { | 542 async.Future<ListServicesResponse> list(core.String appsId, {core.String pageT
oken, core.int pageSize}) { |
538 var _url = null; | 543 var _url = null; |
539 var _queryParams = new core.Map(); | 544 var _queryParams = new core.Map(); |
540 var _uploadMedia = null; | 545 var _uploadMedia = null; |
541 var _uploadOptions = null; | 546 var _uploadOptions = null; |
542 var _downloadOptions = commons.DownloadOptions.Metadata; | 547 var _downloadOptions = commons.DownloadOptions.Metadata; |
543 var _body = null; | 548 var _body = null; |
544 | 549 |
545 if (appsId == null) { | 550 if (appsId == null) { |
546 throw new core.ArgumentError("Parameter appsId is required."); | 551 throw new core.ArgumentError("Parameter appsId is required."); |
547 } | 552 } |
| 553 if (pageToken != null) { |
| 554 _queryParams["pageToken"] = [pageToken]; |
| 555 } |
548 if (pageSize != null) { | 556 if (pageSize != null) { |
549 _queryParams["pageSize"] = ["${pageSize}"]; | 557 _queryParams["pageSize"] = ["${pageSize}"]; |
550 } | 558 } |
551 if (pageToken != null) { | |
552 _queryParams["pageToken"] = [pageToken]; | |
553 } | |
554 | 559 |
555 _url = 'v1beta5/apps/' + commons.Escaper.ecapeVariable('$appsId') + '/servic
es'; | 560 _url = 'v1beta5/apps/' + commons.Escaper.ecapeVariable('$appsId') + '/servic
es'; |
556 | 561 |
557 var _response = _requester.request(_url, | 562 var _response = _requester.request(_url, |
558 "GET", | 563 "GET", |
559 body: _body, | 564 body: _body, |
560 queryParams: _queryParams, | 565 queryParams: _queryParams, |
561 uploadOptions: _uploadOptions, | 566 uploadOptions: _uploadOptions, |
562 uploadMedia: _uploadMedia, | 567 uploadMedia: _uploadMedia, |
563 downloadOptions: _downloadOptions); | 568 downloadOptions: _downloadOptions); |
564 return _response.then((data) => new ListServicesResponse.fromJson(data)); | 569 return _response.then((data) => new ListServicesResponse.fromJson(data)); |
565 } | 570 } |
566 | 571 |
567 /** | 572 /** |
568 * Updates the configuration of the specified service. | 573 * Updates the configuration of the specified service. |
569 * | 574 * |
570 * [request] - The metadata request object. | 575 * [request] - The metadata request object. |
571 * | 576 * |
572 * Request parameters: | 577 * Request parameters: |
573 * | 578 * |
574 * [appsId] - Part of `name`. Name of the resource to update. Example: | 579 * [appsId] - Part of `name`. Name of the resource to update. Example: |
575 * apps/myapp/services/default. | 580 * apps/myapp/services/default. |
576 * | 581 * |
577 * [servicesId] - Part of `name`. See documentation of `appsId`. | 582 * [servicesId] - Part of `name`. See documentation of `appsId`. |
578 * | 583 * |
579 * [mask] - Standard field mask for the set of fields to be updated. | |
580 * | |
581 * [migrateTraffic] - Set to true to gradually shift traffic to one or more | 584 * [migrateTraffic] - Set to true to gradually shift traffic to one or more |
582 * versions that you specify. By default, traffic is shifted immediately. For | 585 * versions that you specify. By default, traffic is shifted immediately. For |
583 * gradual traffic migration, the target versions must be located within | 586 * gradual traffic migration, the target versions must be located within |
584 * instances that are configured for both warmup requests | 587 * instances that are configured for both warmup requests |
585 * (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1beta5/a
pps.services.versions#inboundservicetype) | 588 * (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1beta5/a
pps.services.versions#inboundservicetype) |
586 * and automatic scaling | 589 * and automatic scaling |
587 * (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1beta5/a
pps.services.versions#automaticscaling). | 590 * (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1beta5/a
pps.services.versions#automaticscaling). |
588 * You must specify the shardBy | 591 * You must specify the shardBy |
589 * (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1beta5/a
pps.services#shardby) | 592 * (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1beta5/a
pps.services#shardby) |
590 * field in the Service resource. Gradual traffic migration is not supported | 593 * field in the Service resource. Gradual traffic migration is not supported |
591 * in the App Engine flexible environment. For examples, see Migrating and | 594 * in the App Engine flexible environment. For examples, see Migrating and |
592 * Splitting Traffic | 595 * Splitting Traffic |
593 * (https://cloud.google.com/appengine/docs/admin-api/migrating-splitting-traf
fic). | 596 * (https://cloud.google.com/appengine/docs/admin-api/migrating-splitting-traf
fic). |
594 * | 597 * |
| 598 * [mask] - Standard field mask for the set of fields to be updated. |
| 599 * |
595 * Completes with a [Operation]. | 600 * Completes with a [Operation]. |
596 * | 601 * |
597 * Completes with a [commons.ApiRequestError] if the API endpoint returned an | 602 * Completes with a [commons.ApiRequestError] if the API endpoint returned an |
598 * error. | 603 * error. |
599 * | 604 * |
600 * If the used [http.Client] completes with an error when making a REST call, | 605 * If the used [http.Client] completes with an error when making a REST call, |
601 * this method will complete with the same error. | 606 * this method will complete with the same error. |
602 */ | 607 */ |
603 async.Future<Operation> patch(Service request, core.String appsId, core.String
servicesId, {core.String mask, core.bool migrateTraffic}) { | 608 async.Future<Operation> patch(Service request, core.String appsId, core.String
servicesId, {core.bool migrateTraffic, core.String mask}) { |
604 var _url = null; | 609 var _url = null; |
605 var _queryParams = new core.Map(); | 610 var _queryParams = new core.Map(); |
606 var _uploadMedia = null; | 611 var _uploadMedia = null; |
607 var _uploadOptions = null; | 612 var _uploadOptions = null; |
608 var _downloadOptions = commons.DownloadOptions.Metadata; | 613 var _downloadOptions = commons.DownloadOptions.Metadata; |
609 var _body = null; | 614 var _body = null; |
610 | 615 |
611 if (request != null) { | 616 if (request != null) { |
612 _body = convert.JSON.encode((request).toJson()); | 617 _body = convert.JSON.encode((request).toJson()); |
613 } | 618 } |
614 if (appsId == null) { | 619 if (appsId == null) { |
615 throw new core.ArgumentError("Parameter appsId is required."); | 620 throw new core.ArgumentError("Parameter appsId is required."); |
616 } | 621 } |
617 if (servicesId == null) { | 622 if (servicesId == null) { |
618 throw new core.ArgumentError("Parameter servicesId is required."); | 623 throw new core.ArgumentError("Parameter servicesId is required."); |
619 } | 624 } |
| 625 if (migrateTraffic != null) { |
| 626 _queryParams["migrateTraffic"] = ["${migrateTraffic}"]; |
| 627 } |
620 if (mask != null) { | 628 if (mask != null) { |
621 _queryParams["mask"] = [mask]; | 629 _queryParams["mask"] = [mask]; |
622 } | 630 } |
623 if (migrateTraffic != null) { | |
624 _queryParams["migrateTraffic"] = ["${migrateTraffic}"]; | |
625 } | |
626 | 631 |
627 _url = 'v1beta5/apps/' + commons.Escaper.ecapeVariable('$appsId') + '/servic
es/' + commons.Escaper.ecapeVariable('$servicesId'); | 632 _url = 'v1beta5/apps/' + commons.Escaper.ecapeVariable('$appsId') + '/servic
es/' + commons.Escaper.ecapeVariable('$servicesId'); |
628 | 633 |
629 var _response = _requester.request(_url, | 634 var _response = _requester.request(_url, |
630 "PATCH", | 635 "PATCH", |
631 body: _body, | 636 body: _body, |
632 queryParams: _queryParams, | 637 queryParams: _queryParams, |
633 uploadOptions: _uploadOptions, | 638 uploadOptions: _uploadOptions, |
634 uploadMedia: _uploadMedia, | 639 uploadMedia: _uploadMedia, |
635 downloadOptions: _downloadOptions); | 640 downloadOptions: _downloadOptions); |
(...skipping 173 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
809 /** | 814 /** |
810 * Lists the versions of a service. | 815 * Lists the versions of a service. |
811 * | 816 * |
812 * Request parameters: | 817 * Request parameters: |
813 * | 818 * |
814 * [appsId] - Part of `name`. Name of the resource requested. Example: | 819 * [appsId] - Part of `name`. Name of the resource requested. Example: |
815 * apps/myapp/services/default. | 820 * apps/myapp/services/default. |
816 * | 821 * |
817 * [servicesId] - Part of `name`. See documentation of `appsId`. | 822 * [servicesId] - Part of `name`. See documentation of `appsId`. |
818 * | 823 * |
| 824 * [pageToken] - Continuation token for fetching the next page of results. |
| 825 * |
| 826 * [pageSize] - Maximum results to return per page. |
| 827 * |
819 * [view] - Controls the set of fields returned in the List response. | 828 * [view] - Controls the set of fields returned in the List response. |
820 * Possible string values are: | 829 * Possible string values are: |
821 * - "BASIC" : A BASIC. | 830 * - "BASIC" : A BASIC. |
822 * - "FULL" : A FULL. | 831 * - "FULL" : A FULL. |
823 * | 832 * |
824 * [pageSize] - Maximum results to return per page. | |
825 * | |
826 * [pageToken] - Continuation token for fetching the next page of results. | |
827 * | |
828 * Completes with a [ListVersionsResponse]. | 833 * Completes with a [ListVersionsResponse]. |
829 * | 834 * |
830 * Completes with a [commons.ApiRequestError] if the API endpoint returned an | 835 * Completes with a [commons.ApiRequestError] if the API endpoint returned an |
831 * error. | 836 * error. |
832 * | 837 * |
833 * If the used [http.Client] completes with an error when making a REST call, | 838 * If the used [http.Client] completes with an error when making a REST call, |
834 * this method will complete with the same error. | 839 * this method will complete with the same error. |
835 */ | 840 */ |
836 async.Future<ListVersionsResponse> list(core.String appsId, core.String servic
esId, {core.String view, core.int pageSize, core.String pageToken}) { | 841 async.Future<ListVersionsResponse> list(core.String appsId, core.String servic
esId, {core.String pageToken, core.int pageSize, core.String view}) { |
837 var _url = null; | 842 var _url = null; |
838 var _queryParams = new core.Map(); | 843 var _queryParams = new core.Map(); |
839 var _uploadMedia = null; | 844 var _uploadMedia = null; |
840 var _uploadOptions = null; | 845 var _uploadOptions = null; |
841 var _downloadOptions = commons.DownloadOptions.Metadata; | 846 var _downloadOptions = commons.DownloadOptions.Metadata; |
842 var _body = null; | 847 var _body = null; |
843 | 848 |
844 if (appsId == null) { | 849 if (appsId == null) { |
845 throw new core.ArgumentError("Parameter appsId is required."); | 850 throw new core.ArgumentError("Parameter appsId is required."); |
846 } | 851 } |
847 if (servicesId == null) { | 852 if (servicesId == null) { |
848 throw new core.ArgumentError("Parameter servicesId is required."); | 853 throw new core.ArgumentError("Parameter servicesId is required."); |
849 } | 854 } |
| 855 if (pageToken != null) { |
| 856 _queryParams["pageToken"] = [pageToken]; |
| 857 } |
| 858 if (pageSize != null) { |
| 859 _queryParams["pageSize"] = ["${pageSize}"]; |
| 860 } |
850 if (view != null) { | 861 if (view != null) { |
851 _queryParams["view"] = [view]; | 862 _queryParams["view"] = [view]; |
852 } | 863 } |
853 if (pageSize != null) { | |
854 _queryParams["pageSize"] = ["${pageSize}"]; | |
855 } | |
856 if (pageToken != null) { | |
857 _queryParams["pageToken"] = [pageToken]; | |
858 } | |
859 | 864 |
860 _url = 'v1beta5/apps/' + commons.Escaper.ecapeVariable('$appsId') + '/servic
es/' + commons.Escaper.ecapeVariable('$servicesId') + '/versions'; | 865 _url = 'v1beta5/apps/' + commons.Escaper.ecapeVariable('$appsId') + '/servic
es/' + commons.Escaper.ecapeVariable('$servicesId') + '/versions'; |
861 | 866 |
862 var _response = _requester.request(_url, | 867 var _response = _requester.request(_url, |
863 "GET", | 868 "GET", |
864 body: _body, | 869 body: _body, |
865 queryParams: _queryParams, | 870 queryParams: _queryParams, |
866 uploadOptions: _uploadOptions, | 871 uploadOptions: _uploadOptions, |
867 uploadMedia: _uploadMedia, | 872 uploadMedia: _uploadMedia, |
868 downloadOptions: _downloadOptions); | 873 downloadOptions: _downloadOptions); |
869 return _response.then((data) => new ListVersionsResponse.fromJson(data)); | 874 return _response.then((data) => new ListVersionsResponse.fromJson(data)); |
870 } | 875 } |
871 | 876 |
872 /** | 877 /** |
873 * Updates the specified Version resource. You can specify the following | 878 * Updates the specified Version resource. You can specify the following |
874 * fields depending on the App Engine environment and type of scaling that the | 879 * fields depending on the App Engine environment and type of scaling that the |
875 * version resource uses: serving_status | 880 * version resource uses: |
| 881 * serving_status |
876 * (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1beta5/a
pps.services.versions#Version.FIELDS.serving_status): | 882 * (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1beta5/a
pps.services.versions#Version.FIELDS.serving_status): |
877 * For Version resources that use basic scaling, manual scaling, or run in the | 883 * For Version resources that use basic scaling, manual scaling, or run in |
878 * App Engine flexible environment. instance_class | 884 * the App Engine flexible environment. |
| 885 * instance_class |
879 * (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1beta5/a
pps.services.versions#Version.FIELDS.instance_class): | 886 * (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1beta5/a
pps.services.versions#Version.FIELDS.instance_class): |
880 * For Version resources that run in the App Engine standard environment. | 887 * For Version resources that run in the App Engine standard environment. |
881 * automatic_scaling.min_idle_instances | 888 * automatic_scaling.min_idle_instances |
882 * (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1beta5/a
pps.services.versions#Version.FIELDS.automatic_scaling): | 889 * (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1beta5/a
pps.services.versions#Version.FIELDS.automatic_scaling): |
883 * For Version resources that use automatic scaling and run in the App Engine | 890 * For Version resources that use automatic scaling and run in the App Engine |
884 * standard environment. automatic_scaling.max_idle_instances | 891 * standard environment. |
| 892 * automatic_scaling.max_idle_instances |
885 * (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1beta5/a
pps.services.versions#Version.FIELDS.automatic_scaling): | 893 * (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1beta5/a
pps.services.versions#Version.FIELDS.automatic_scaling): |
886 * For Version resources that use automatic scaling and run in the App Engine | 894 * For Version resources that use automatic scaling and run in the App Engine |
887 * standard environment. | 895 * standard environment. |
888 * | 896 * |
889 * [request] - The metadata request object. | 897 * [request] - The metadata request object. |
890 * | 898 * |
891 * Request parameters: | 899 * Request parameters: |
892 * | 900 * |
893 * [appsId] - Part of `name`. Name of the resource to update. Example: | 901 * [appsId] - Part of `name`. Name of the resource to update. Example: |
894 * apps/myapp/services/default/versions/1. | 902 * apps/myapp/services/default/versions/1. |
895 * | 903 * |
896 * [servicesId] - Part of `name`. See documentation of `appsId`. | 904 * [servicesId] - Part of `name`. See documentation of `appsId`. |
(...skipping 237 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1134 * | 1142 * |
1135 * Request parameters: | 1143 * Request parameters: |
1136 * | 1144 * |
1137 * [appsId] - Part of `name`. Name of the resource requested. Example: | 1145 * [appsId] - Part of `name`. Name of the resource requested. Example: |
1138 * apps/myapp/services/default/versions/v1. | 1146 * apps/myapp/services/default/versions/v1. |
1139 * | 1147 * |
1140 * [servicesId] - Part of `name`. See documentation of `appsId`. | 1148 * [servicesId] - Part of `name`. See documentation of `appsId`. |
1141 * | 1149 * |
1142 * [versionsId] - Part of `name`. See documentation of `appsId`. | 1150 * [versionsId] - Part of `name`. See documentation of `appsId`. |
1143 * | 1151 * |
| 1152 * [pageToken] - Continuation token for fetching the next page of results. |
| 1153 * |
1144 * [pageSize] - Maximum results to return per page. | 1154 * [pageSize] - Maximum results to return per page. |
1145 * | 1155 * |
1146 * [pageToken] - Continuation token for fetching the next page of results. | |
1147 * | |
1148 * Completes with a [ListInstancesResponse]. | 1156 * Completes with a [ListInstancesResponse]. |
1149 * | 1157 * |
1150 * Completes with a [commons.ApiRequestError] if the API endpoint returned an | 1158 * Completes with a [commons.ApiRequestError] if the API endpoint returned an |
1151 * error. | 1159 * error. |
1152 * | 1160 * |
1153 * If the used [http.Client] completes with an error when making a REST call, | 1161 * If the used [http.Client] completes with an error when making a REST call, |
1154 * this method will complete with the same error. | 1162 * this method will complete with the same error. |
1155 */ | 1163 */ |
1156 async.Future<ListInstancesResponse> list(core.String appsId, core.String servi
cesId, core.String versionsId, {core.int pageSize, core.String pageToken}) { | 1164 async.Future<ListInstancesResponse> list(core.String appsId, core.String servi
cesId, core.String versionsId, {core.String pageToken, core.int pageSize}) { |
1157 var _url = null; | 1165 var _url = null; |
1158 var _queryParams = new core.Map(); | 1166 var _queryParams = new core.Map(); |
1159 var _uploadMedia = null; | 1167 var _uploadMedia = null; |
1160 var _uploadOptions = null; | 1168 var _uploadOptions = null; |
1161 var _downloadOptions = commons.DownloadOptions.Metadata; | 1169 var _downloadOptions = commons.DownloadOptions.Metadata; |
1162 var _body = null; | 1170 var _body = null; |
1163 | 1171 |
1164 if (appsId == null) { | 1172 if (appsId == null) { |
1165 throw new core.ArgumentError("Parameter appsId is required."); | 1173 throw new core.ArgumentError("Parameter appsId is required."); |
1166 } | 1174 } |
1167 if (servicesId == null) { | 1175 if (servicesId == null) { |
1168 throw new core.ArgumentError("Parameter servicesId is required."); | 1176 throw new core.ArgumentError("Parameter servicesId is required."); |
1169 } | 1177 } |
1170 if (versionsId == null) { | 1178 if (versionsId == null) { |
1171 throw new core.ArgumentError("Parameter versionsId is required."); | 1179 throw new core.ArgumentError("Parameter versionsId is required."); |
1172 } | 1180 } |
| 1181 if (pageToken != null) { |
| 1182 _queryParams["pageToken"] = [pageToken]; |
| 1183 } |
1173 if (pageSize != null) { | 1184 if (pageSize != null) { |
1174 _queryParams["pageSize"] = ["${pageSize}"]; | 1185 _queryParams["pageSize"] = ["${pageSize}"]; |
1175 } | 1186 } |
1176 if (pageToken != null) { | |
1177 _queryParams["pageToken"] = [pageToken]; | |
1178 } | |
1179 | 1187 |
1180 _url = 'v1beta5/apps/' + commons.Escaper.ecapeVariable('$appsId') + '/servic
es/' + commons.Escaper.ecapeVariable('$servicesId') + '/versions/' + commons.Esc
aper.ecapeVariable('$versionsId') + '/instances'; | 1188 _url = 'v1beta5/apps/' + commons.Escaper.ecapeVariable('$appsId') + '/servic
es/' + commons.Escaper.ecapeVariable('$servicesId') + '/versions/' + commons.Esc
aper.ecapeVariable('$versionsId') + '/instances'; |
1181 | 1189 |
1182 var _response = _requester.request(_url, | 1190 var _response = _requester.request(_url, |
1183 "GET", | 1191 "GET", |
1184 body: _body, | 1192 body: _body, |
1185 queryParams: _queryParams, | 1193 queryParams: _queryParams, |
1186 uploadOptions: _uploadOptions, | 1194 uploadOptions: _uploadOptions, |
1187 uploadMedia: _uploadMedia, | 1195 uploadMedia: _uploadMedia, |
1188 downloadOptions: _downloadOptions); | 1196 downloadOptions: _downloadOptions); |
1189 return _response.then((data) => new ListInstancesResponse.fromJson(data)); | 1197 return _response.then((data) => new ListInstancesResponse.fromJson(data)); |
1190 } | 1198 } |
1191 | 1199 |
1192 } | 1200 } |
1193 | 1201 |
1194 | 1202 |
1195 | 1203 |
1196 /** | 1204 /** |
1197 * Google Cloud Endpoints | 1205 * Google Cloud Endpoints |
1198 * (https://cloud.google.com/appengine/docs/python/endpoints/) configuration for | 1206 * (https://cloud.google.com/appengine/docs/python/endpoints/) configuration for |
1199 * API handlers. | 1207 * API handlers. |
1200 */ | 1208 */ |
1201 class ApiConfigHandler { | 1209 class ApiConfigHandler { |
1202 /** | 1210 /** |
1203 * Action to take when users access resources that require authentication. | 1211 * Action to take when users access resources that require authentication. |
1204 * Defaults to redirect. | 1212 * Defaults to redirect. |
1205 * Possible string values are: | 1213 * Possible string values are: |
1206 * - "AUTH_FAIL_ACTION_UNSPECIFIED" : A AUTH_FAIL_ACTION_UNSPECIFIED. | 1214 * - "AUTH_FAIL_ACTION_UNSPECIFIED" : Not specified. AUTH_FAIL_ACTION_REDIRECT |
1207 * - "AUTH_FAIL_ACTION_REDIRECT" : A AUTH_FAIL_ACTION_REDIRECT. | 1215 * is assumed. |
1208 * - "AUTH_FAIL_ACTION_UNAUTHORIZED" : A AUTH_FAIL_ACTION_UNAUTHORIZED. | 1216 * - "AUTH_FAIL_ACTION_REDIRECT" : Redirects user to "accounts.google.com". |
| 1217 * The user is redirected back to the application URL after signing in or |
| 1218 * creating an account. |
| 1219 * - "AUTH_FAIL_ACTION_UNAUTHORIZED" : Rejects request with an401 HTTP status |
| 1220 * code and an error message. |
1209 */ | 1221 */ |
1210 core.String authFailAction; | 1222 core.String authFailAction; |
1211 /** | 1223 /** |
1212 * Level of login required to access this resource. Defaults to optional. | 1224 * Level of login required to access this resource. Defaults to optional. |
1213 * Possible string values are: | 1225 * Possible string values are: |
1214 * - "LOGIN_UNSPECIFIED" : A LOGIN_UNSPECIFIED. | 1226 * - "LOGIN_UNSPECIFIED" : Not specified. LOGIN_OPTIONAL is assumed. |
1215 * - "LOGIN_OPTIONAL" : A LOGIN_OPTIONAL. | 1227 * - "LOGIN_OPTIONAL" : Does not require that the user is signed in. |
1216 * - "LOGIN_ADMIN" : A LOGIN_ADMIN. | 1228 * - "LOGIN_ADMIN" : If the user is not signed in, the auth_fail_action is |
1217 * - "LOGIN_REQUIRED" : A LOGIN_REQUIRED. | 1229 * taken. In addition, if the user is not an administrator for the |
| 1230 * application, they are given an error message regardless of |
| 1231 * auth_fail_action. If the user is an administrator, the handler proceeds. |
| 1232 * - "LOGIN_REQUIRED" : If the user has signed in, the handler proceeds |
| 1233 * normally. Otherwise, the action given in auth_fail_action is taken. |
1218 */ | 1234 */ |
1219 core.String login; | 1235 core.String login; |
1220 /** Path to the script from the application root directory. */ | 1236 /** Path to the script from the application root directory. */ |
1221 core.String script; | 1237 core.String script; |
1222 /** | 1238 /** |
1223 * Security (HTTPS) enforcement for this URL. | 1239 * Security (HTTPS) enforcement for this URL. |
1224 * Possible string values are: | 1240 * Possible string values are: |
1225 * - "SECURE_UNSPECIFIED" : A SECURE_UNSPECIFIED. | 1241 * - "SECURE_UNSPECIFIED" : Not specified. |
1226 * - "SECURE_DEFAULT" : A SECURE_DEFAULT. | 1242 * - "SECURE_DEFAULT" : Both HTTP and HTTPS requests with URLs that match the |
1227 * - "SECURE_NEVER" : A SECURE_NEVER. | 1243 * handler succeed without redirects. The application can examine the request |
1228 * - "SECURE_OPTIONAL" : A SECURE_OPTIONAL. | 1244 * to determine which protocol was used, and respond accordingly. |
1229 * - "SECURE_ALWAYS" : A SECURE_ALWAYS. | 1245 * - "SECURE_NEVER" : Requests for a URL that match this handler that use |
| 1246 * HTTPS are automatically redirected to the HTTP equivalent URL. |
| 1247 * - "SECURE_OPTIONAL" : Both HTTP and HTTPS requests with URLs that match the |
| 1248 * handler succeed without redirects. The application can examine the request |
| 1249 * to determine which protocol was used and respond accordingly. |
| 1250 * - "SECURE_ALWAYS" : Requests for a URL that match this handler that do not |
| 1251 * use HTTPS are automatically redirected to the HTTPS URL with the same path. |
| 1252 * Query parameters are reserved for the redirect. |
1230 */ | 1253 */ |
1231 core.String securityLevel; | 1254 core.String securityLevel; |
1232 /** URL to serve the endpoint at. */ | 1255 /** URL to serve the endpoint at. */ |
1233 core.String url; | 1256 core.String url; |
1234 | 1257 |
1235 ApiConfigHandler(); | 1258 ApiConfigHandler(); |
1236 | 1259 |
1237 ApiConfigHandler.fromJson(core.Map _json) { | 1260 ApiConfigHandler.fromJson(core.Map _json) { |
1238 if (_json.containsKey("authFailAction")) { | 1261 if (_json.containsKey("authFailAction")) { |
1239 authFailAction = _json["authFailAction"]; | 1262 authFailAction = _json["authFailAction"]; |
(...skipping 413 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1653 if (targetUtilization != null) { | 1676 if (targetUtilization != null) { |
1654 _json["targetUtilization"] = targetUtilization; | 1677 _json["targetUtilization"] = targetUtilization; |
1655 } | 1678 } |
1656 return _json; | 1679 return _json; |
1657 } | 1680 } |
1658 } | 1681 } |
1659 | 1682 |
1660 /** Request message for Instances.DebugInstance. */ | 1683 /** Request message for Instances.DebugInstance. */ |
1661 class DebugInstanceRequest { | 1684 class DebugInstanceRequest { |
1662 /** | 1685 /** |
1663 * Public SSH key to add to the instance. Examples: [USERNAME]:ssh-rsa | 1686 * Public SSH key to add to the instance. Examples: |
1664 * [KEY_VALUE] [USERNAME] [USERNAME]:ssh-rsa [KEY_VALUE] google-ssh | 1687 * [USERNAME]:ssh-rsa [KEY_VALUE] [USERNAME] |
| 1688 * [USERNAME]:ssh-rsa [KEY_VALUE] google-ssh |
1665 * {"userName":"[USERNAME]","expireOn":"[EXPIRE_TIME]"}For more information, | 1689 * {"userName":"[USERNAME]","expireOn":"[EXPIRE_TIME]"}For more information, |
1666 * see Adding and Removing SSH Keys | 1690 * see Adding and Removing SSH Keys |
1667 * (https://cloud.google.com/compute/docs/instances/adding-removing-ssh-keys). | 1691 * (https://cloud.google.com/compute/docs/instances/adding-removing-ssh-keys). |
1668 */ | 1692 */ |
1669 core.String sshKey; | 1693 core.String sshKey; |
1670 | 1694 |
1671 DebugInstanceRequest(); | 1695 DebugInstanceRequest(); |
1672 | 1696 |
1673 DebugInstanceRequest.fromJson(core.Map _json) { | 1697 DebugInstanceRequest.fromJson(core.Map _json) { |
1674 if (_json.containsKey("sshKey")) { | 1698 if (_json.containsKey("sshKey")) { |
(...skipping 145 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1820 } | 1844 } |
1821 return _json; | 1845 return _json; |
1822 } | 1846 } |
1823 } | 1847 } |
1824 | 1848 |
1825 /** Custom static error page to be served when an error occurs. */ | 1849 /** Custom static error page to be served when an error occurs. */ |
1826 class ErrorHandler { | 1850 class ErrorHandler { |
1827 /** | 1851 /** |
1828 * Error condition this handler applies to. | 1852 * Error condition this handler applies to. |
1829 * Possible string values are: | 1853 * Possible string values are: |
1830 * - "ERROR_CODE_UNSPECIFIED" : A ERROR_CODE_UNSPECIFIED. | 1854 * - "ERROR_CODE_UNSPECIFIED" : Not specified. ERROR_CODE_DEFAULT is assumed. |
1831 * - "ERROR_CODE_DEFAULT" : A ERROR_CODE_DEFAULT. | 1855 * - "ERROR_CODE_DEFAULT" : All other error types. |
1832 * - "ERROR_CODE_OVER_QUOTA" : A ERROR_CODE_OVER_QUOTA. | 1856 * - "ERROR_CODE_OVER_QUOTA" : Application has exceeded a resource quota. |
1833 * - "ERROR_CODE_DOS_API_DENIAL" : A ERROR_CODE_DOS_API_DENIAL. | 1857 * - "ERROR_CODE_DOS_API_DENIAL" : Client blocked by the application's Denial |
1834 * - "ERROR_CODE_TIMEOUT" : A ERROR_CODE_TIMEOUT. | 1858 * of Service protection configuration. |
| 1859 * - "ERROR_CODE_TIMEOUT" : Deadline reached before the application responds. |
1835 */ | 1860 */ |
1836 core.String errorCode; | 1861 core.String errorCode; |
1837 /** MIME type of file. Defaults to text/html. */ | 1862 /** MIME type of file. Defaults to text/html. */ |
1838 core.String mimeType; | 1863 core.String mimeType; |
1839 /** Static file content to be served for this error. */ | 1864 /** Static file content to be served for this error. */ |
1840 core.String staticFile; | 1865 core.String staticFile; |
1841 | 1866 |
1842 ErrorHandler(); | 1867 ErrorHandler(); |
1843 | 1868 |
1844 ErrorHandler.fromJson(core.Map _json) { | 1869 ErrorHandler.fromJson(core.Map _json) { |
(...skipping 29 matching lines...) Expand all Loading... |
1874 */ | 1899 */ |
1875 class FileInfo { | 1900 class FileInfo { |
1876 /** | 1901 /** |
1877 * The MIME type of the file.Defaults to the value from Google Cloud Storage. | 1902 * The MIME type of the file.Defaults to the value from Google Cloud Storage. |
1878 */ | 1903 */ |
1879 core.String mimeType; | 1904 core.String mimeType; |
1880 /** The SHA1 hash of the file, in hex. */ | 1905 /** The SHA1 hash of the file, in hex. */ |
1881 core.String sha1Sum; | 1906 core.String sha1Sum; |
1882 /** | 1907 /** |
1883 * URL source to use to fetch this file. Must be a URL to a resource in Google | 1908 * URL source to use to fetch this file. Must be a URL to a resource in Google |
1884 * Cloud Storage in the form 'http(s)://storage.googleapis.com//'. | 1909 * Cloud Storage in the form |
| 1910 * 'http(s)://storage.googleapis.com/<bucket>/<object>'. |
1885 */ | 1911 */ |
1886 core.String sourceUrl; | 1912 core.String sourceUrl; |
1887 | 1913 |
1888 FileInfo(); | 1914 FileInfo(); |
1889 | 1915 |
1890 FileInfo.fromJson(core.Map _json) { | 1916 FileInfo.fromJson(core.Map _json) { |
1891 if (_json.containsKey("mimeType")) { | 1917 if (_json.containsKey("mimeType")) { |
1892 mimeType = _json["mimeType"]; | 1918 mimeType = _json["mimeType"]; |
1893 } | 1919 } |
1894 if (_json.containsKey("sha1Sum")) { | 1920 if (_json.containsKey("sha1Sum")) { |
(...skipping 162 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2057 /** | 2083 /** |
2058 * An Instance resource is the computing unit that App Engine uses to | 2084 * An Instance resource is the computing unit that App Engine uses to |
2059 * automatically scale an application. | 2085 * automatically scale an application. |
2060 */ | 2086 */ |
2061 class Instance { | 2087 class Instance { |
2062 /** App Engine release this instance is running on.@OutputOnly */ | 2088 /** App Engine release this instance is running on.@OutputOnly */ |
2063 core.String appEngineRelease; | 2089 core.String appEngineRelease; |
2064 /** | 2090 /** |
2065 * Availability of the instance.@OutputOnly | 2091 * Availability of the instance.@OutputOnly |
2066 * Possible string values are: | 2092 * Possible string values are: |
2067 * - "UNSPECIFIED" : A UNSPECIFIED. | 2093 * - "UNSPECIFIED" |
2068 * - "RESIDENT" : A RESIDENT. | 2094 * - "RESIDENT" |
2069 * - "DYNAMIC" : A DYNAMIC. | 2095 * - "DYNAMIC" |
2070 */ | 2096 */ |
2071 core.String availability; | 2097 core.String availability; |
2072 /** Average latency (ms) over the last minute.@OutputOnly */ | 2098 /** Average latency (ms) over the last minute.@OutputOnly */ |
2073 core.int averageLatency; | 2099 core.int averageLatency; |
2074 /** Number of errors since this instance was started.@OutputOnly */ | 2100 /** Number of errors since this instance was started.@OutputOnly */ |
2075 core.int errors; | 2101 core.int errors; |
2076 /** | 2102 /** |
2077 * Relative name of the instance within the version. Example: | 2103 * Relative name of the instance within the version. Example: |
2078 * instance-1.@OutputOnly | 2104 * instance-1.@OutputOnly |
2079 */ | 2105 */ |
(...skipping 464 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2544 core.String instanceTag; | 2570 core.String instanceTag; |
2545 /** | 2571 /** |
2546 * Google Cloud Platform network where the virtual machines are created. | 2572 * Google Cloud Platform network where the virtual machines are created. |
2547 * Specify the short name, not the resource path.Defaults to default. | 2573 * Specify the short name, not the resource path.Defaults to default. |
2548 */ | 2574 */ |
2549 core.String name; | 2575 core.String name; |
2550 /** | 2576 /** |
2551 * Google Cloud Platform sub-network where the virtual machines are created. | 2577 * Google Cloud Platform sub-network where the virtual machines are created. |
2552 * Specify the short name, not the resource path.If a subnetwork name is | 2578 * Specify the short name, not the resource path.If a subnetwork name is |
2553 * specified, a network name will also be required unless it is for the | 2579 * specified, a network name will also be required unless it is for the |
2554 * default network. If the network the VM instance is being created in is a | 2580 * default network. |
2555 * Legacy network, then the IP address is allocated from the IPv4Range. If the | 2581 * If the network the VM instance is being created in is a Legacy network, |
2556 * network the VM instance is being created in is an auto Subnet Mode Network, | 2582 * then the IP address is allocated from the IPv4Range. |
2557 * then only network name should be specified (not the subnetwork_name) and | 2583 * If the network the VM instance is being created in is an auto Subnet Mode |
2558 * the IP address is created from the IPCidrRange of the subnetwork that | 2584 * Network, then only network name should be specified (not the |
2559 * exists in that zone for that network. If the network the VM instance is | 2585 * subnetwork_name) and the IP address is created from the IPCidrRange of the |
2560 * being created in is a custom Subnet Mode Network, then the subnetwork_name | 2586 * subnetwork that exists in that zone for that network. |
2561 * must be specified and the IP address is created from the IPCidrRange of the | 2587 * If the network the VM instance is being created in is a custom Subnet Mode |
2562 * subnetwork.If specified, the subnetwork must exist in the same region as | 2588 * Network, then the subnetwork_name must be specified and the IP address is |
2563 * the Flex app. | 2589 * created from the IPCidrRange of the subnetwork.If specified, the subnetwork |
| 2590 * must exist in the same region as the Flex app. |
2564 */ | 2591 */ |
2565 core.String subnetworkName; | 2592 core.String subnetworkName; |
2566 | 2593 |
2567 Network(); | 2594 Network(); |
2568 | 2595 |
2569 Network.fromJson(core.Map _json) { | 2596 Network.fromJson(core.Map _json) { |
2570 if (_json.containsKey("forwardedPorts")) { | 2597 if (_json.containsKey("forwardedPorts")) { |
2571 forwardedPorts = _json["forwardedPorts"]; | 2598 forwardedPorts = _json["forwardedPorts"]; |
2572 } | 2599 } |
2573 if (_json.containsKey("instanceTag")) { | 2600 if (_json.containsKey("instanceTag")) { |
(...skipping 787 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3361 if (uploadPathRegex != null) { | 3388 if (uploadPathRegex != null) { |
3362 _json["uploadPathRegex"] = uploadPathRegex; | 3389 _json["uploadPathRegex"] = uploadPathRegex; |
3363 } | 3390 } |
3364 return _json; | 3391 return _json; |
3365 } | 3392 } |
3366 } | 3393 } |
3367 | 3394 |
3368 /** | 3395 /** |
3369 * The Status type defines a logical error model that is suitable for different | 3396 * The Status type defines a logical error model that is suitable for different |
3370 * programming environments, including REST APIs and RPC APIs. It is used by | 3397 * programming environments, including REST APIs and RPC APIs. It is used by |
3371 * gRPC (https://github.com/grpc). The error model is designed to be: Simple to | 3398 * gRPC (https://github.com/grpc). The error model is designed to be: |
3372 * use and understand for most users Flexible enough to meet unexpected | 3399 * Simple to use and understand for most users |
3373 * needsOverviewThe Status message contains three pieces of data: error code, | 3400 * Flexible enough to meet unexpected needsOverviewThe Status message contains |
3374 * error message, and error details. The error code should be an enum value of | 3401 * three pieces of data: error code, error message, and error details. The error |
3375 * google.rpc.Code, but it may accept additional error codes if needed. The | 3402 * code should be an enum value of google.rpc.Code, but it may accept additional |
3376 * error message should be a developer-facing English message that helps | 3403 * error codes if needed. The error message should be a developer-facing English |
3377 * developers understand and resolve the error. If a localized user-facing error | 3404 * message that helps developers understand and resolve the error. If a |
3378 * message is needed, put the localized message in the error details or localize | 3405 * localized user-facing error message is needed, put the localized message in |
3379 * it in the client. The optional error details may contain arbitrary | 3406 * the error details or localize it in the client. The optional error details |
3380 * information about the error. There is a predefined set of error detail types | 3407 * may contain arbitrary information about the error. There is a predefined set |
3381 * in the package google.rpc which can be used for common error | 3408 * of error detail types in the package google.rpc which can be used for common |
3382 * conditions.Language mappingThe Status message is the logical representation | 3409 * error conditions.Language mappingThe Status message is the logical |
3383 * of the error model, but it is not necessarily the actual wire format. When | 3410 * representation of the error model, but it is not necessarily the actual wire |
3384 * the Status message is exposed in different client libraries and different | 3411 * format. When the Status message is exposed in different client libraries and |
3385 * wire protocols, it can be mapped differently. For example, it will likely be | 3412 * different wire protocols, it can be mapped differently. For example, it will |
3386 * mapped to some exceptions in Java, but more likely mapped to some error codes | 3413 * likely be mapped to some exceptions in Java, but more likely mapped to some |
3387 * in C.Other usesThe error model and the Status message can be used in a | 3414 * error codes in C.Other usesThe error model and the Status message can be used |
3388 * variety of environments, either with or without APIs, to provide a consistent | 3415 * in a variety of environments, either with or without APIs, to provide a |
3389 * developer experience across different environments.Example uses of this error | 3416 * consistent developer experience across different environments.Example uses of |
3390 * model include: Partial errors. If a service needs to return partial errors to | 3417 * this error model include: |
3391 * the client, it may embed the Status in the normal response to indicate the | 3418 * Partial errors. If a service needs to return partial errors to the client, it |
3392 * partial errors. Workflow errors. A typical workflow has multiple steps. Each | 3419 * may embed the Status in the normal response to indicate the partial errors. |
3393 * step may have a Status message for error reporting purpose. Batch operations. | 3420 * Workflow errors. A typical workflow has multiple steps. Each step may have a |
3394 * If a client uses batch request and batch response, the Status message should | 3421 * Status message for error reporting purpose. |
3395 * be used directly inside batch response, one for each error sub-response. | 3422 * Batch operations. If a client uses batch request and batch response, the |
| 3423 * Status message should be used directly inside batch response, one for each |
| 3424 * error sub-response. |
3396 * Asynchronous operations. If an API call embeds asynchronous operation results | 3425 * Asynchronous operations. If an API call embeds asynchronous operation results |
3397 * in its response, the status of those operations should be represented | 3426 * in its response, the status of those operations should be represented |
3398 * directly using the Status message. Logging. If some API errors are stored in | 3427 * directly using the Status message. |
3399 * logs, the message Status could be used directly after any stripping needed | 3428 * Logging. If some API errors are stored in logs, the message Status could be |
3400 * for security/privacy reasons. | 3429 * used directly after any stripping needed for security/privacy reasons. |
3401 */ | 3430 */ |
3402 class Status { | 3431 class Status { |
3403 /** The status code, which should be an enum value of google.rpc.Code. */ | 3432 /** The status code, which should be an enum value of google.rpc.Code. */ |
3404 core.int code; | 3433 core.int code; |
3405 /** | 3434 /** |
3406 * A list of messages that carry the error details. There will be a common set | 3435 * A list of messages that carry the error details. There will be a common set |
3407 * of message types for APIs to use. | 3436 * of message types for APIs to use. |
3408 * | 3437 * |
3409 * The values for Object must be JSON objects. It can consist of `num`, | 3438 * The values for Object must be JSON objects. It can consist of `num`, |
3410 * `String`, `bool` and `null` as well as `Map` and `List` values. | 3439 * `String`, `bool` and `null` as well as `Map` and `List` values. |
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3459 * service is deleted or their traffic allocation is removed. Allocations must | 3488 * service is deleted or their traffic allocation is removed. Allocations must |
3460 * sum to 1. Up to two decimal place precision is supported for IP-based | 3489 * sum to 1. Up to two decimal place precision is supported for IP-based |
3461 * splits and up to three decimal places is supported for cookie-based splits. | 3490 * splits and up to three decimal places is supported for cookie-based splits. |
3462 */ | 3491 */ |
3463 core.Map<core.String, core.double> allocations; | 3492 core.Map<core.String, core.double> allocations; |
3464 /** | 3493 /** |
3465 * Mechanism used to determine which version a request is sent to. The traffic | 3494 * Mechanism used to determine which version a request is sent to. The traffic |
3466 * selection algorithm will be stable for either type until allocations are | 3495 * selection algorithm will be stable for either type until allocations are |
3467 * changed. | 3496 * changed. |
3468 * Possible string values are: | 3497 * Possible string values are: |
3469 * - "UNSPECIFIED" : A UNSPECIFIED. | 3498 * - "UNSPECIFIED" : Diversion method unspecified. |
3470 * - "COOKIE" : A COOKIE. | 3499 * - "COOKIE" : Diversion based on a specially named cookie, "GOOGAPPUID." The |
3471 * - "IP" : A IP. | 3500 * cookie must be set by the application itself or else no diversion will |
| 3501 * occur. |
| 3502 * - "IP" : Diversion based on applying the modulus operation to a fingerprint |
| 3503 * of the IP address. |
3472 */ | 3504 */ |
3473 core.String shardBy; | 3505 core.String shardBy; |
3474 | 3506 |
3475 TrafficSplit(); | 3507 TrafficSplit(); |
3476 | 3508 |
3477 TrafficSplit.fromJson(core.Map _json) { | 3509 TrafficSplit.fromJson(core.Map _json) { |
3478 if (_json.containsKey("allocations")) { | 3510 if (_json.containsKey("allocations")) { |
3479 allocations = _json["allocations"]; | 3511 allocations = _json["allocations"]; |
3480 } | 3512 } |
3481 if (_json.containsKey("shardBy")) { | 3513 if (_json.containsKey("shardBy")) { |
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3548 * handle URLs by executing application code, or by serving static files | 3580 * handle URLs by executing application code, or by serving static files |
3549 * uploaded with the version, such as images, CSS, or JavaScript. | 3581 * uploaded with the version, such as images, CSS, or JavaScript. |
3550 */ | 3582 */ |
3551 class UrlMap { | 3583 class UrlMap { |
3552 /** Uses API Endpoints to handle requests. */ | 3584 /** Uses API Endpoints to handle requests. */ |
3553 ApiEndpointHandler apiEndpoint; | 3585 ApiEndpointHandler apiEndpoint; |
3554 /** | 3586 /** |
3555 * Action to take when users access resources that require authentication. | 3587 * Action to take when users access resources that require authentication. |
3556 * Defaults to redirect. | 3588 * Defaults to redirect. |
3557 * Possible string values are: | 3589 * Possible string values are: |
3558 * - "AUTH_FAIL_ACTION_UNSPECIFIED" : A AUTH_FAIL_ACTION_UNSPECIFIED. | 3590 * - "AUTH_FAIL_ACTION_UNSPECIFIED" : Not specified. AUTH_FAIL_ACTION_REDIRECT |
3559 * - "AUTH_FAIL_ACTION_REDIRECT" : A AUTH_FAIL_ACTION_REDIRECT. | 3591 * is assumed. |
3560 * - "AUTH_FAIL_ACTION_UNAUTHORIZED" : A AUTH_FAIL_ACTION_UNAUTHORIZED. | 3592 * - "AUTH_FAIL_ACTION_REDIRECT" : Redirects user to "accounts.google.com". |
| 3593 * The user is redirected back to the application URL after signing in or |
| 3594 * creating an account. |
| 3595 * - "AUTH_FAIL_ACTION_UNAUTHORIZED" : Rejects request with an401 HTTP status |
| 3596 * code and an error message. |
3561 */ | 3597 */ |
3562 core.String authFailAction; | 3598 core.String authFailAction; |
3563 /** | 3599 /** |
3564 * Level of login required to access this resource. | 3600 * Level of login required to access this resource. |
3565 * Possible string values are: | 3601 * Possible string values are: |
3566 * - "LOGIN_UNSPECIFIED" : A LOGIN_UNSPECIFIED. | 3602 * - "LOGIN_UNSPECIFIED" : Not specified. LOGIN_OPTIONAL is assumed. |
3567 * - "LOGIN_OPTIONAL" : A LOGIN_OPTIONAL. | 3603 * - "LOGIN_OPTIONAL" : Does not require that the user is signed in. |
3568 * - "LOGIN_ADMIN" : A LOGIN_ADMIN. | 3604 * - "LOGIN_ADMIN" : If the user is not signed in, the auth_fail_action is |
3569 * - "LOGIN_REQUIRED" : A LOGIN_REQUIRED. | 3605 * taken. In addition, if the user is not an administrator for the |
| 3606 * application, they are given an error message regardless of |
| 3607 * auth_fail_action. If the user is an administrator, the handler proceeds. |
| 3608 * - "LOGIN_REQUIRED" : If the user has signed in, the handler proceeds |
| 3609 * normally. Otherwise, the action given in auth_fail_action is taken. |
3570 */ | 3610 */ |
3571 core.String login; | 3611 core.String login; |
3572 /** | 3612 /** |
3573 * 30x code to use when performing redirects for the secure field. Defaults to | 3613 * 30x code to use when performing redirects for the secure field. Defaults to |
3574 * 302. | 3614 * 302. |
3575 * Possible string values are: | 3615 * Possible string values are: |
3576 * - "REDIRECT_HTTP_RESPONSE_CODE_UNSPECIFIED" : A | 3616 * - "REDIRECT_HTTP_RESPONSE_CODE_UNSPECIFIED" : Not specified. 302 is |
3577 * REDIRECT_HTTP_RESPONSE_CODE_UNSPECIFIED. | 3617 * assumed. |
3578 * - "REDIRECT_HTTP_RESPONSE_CODE_301" : A REDIRECT_HTTP_RESPONSE_CODE_301. | 3618 * - "REDIRECT_HTTP_RESPONSE_CODE_301" : 301 Moved Permanently code. |
3579 * - "REDIRECT_HTTP_RESPONSE_CODE_302" : A REDIRECT_HTTP_RESPONSE_CODE_302. | 3619 * - "REDIRECT_HTTP_RESPONSE_CODE_302" : 302 Moved Temporarily code. |
3580 * - "REDIRECT_HTTP_RESPONSE_CODE_303" : A REDIRECT_HTTP_RESPONSE_CODE_303. | 3620 * - "REDIRECT_HTTP_RESPONSE_CODE_303" : 303 See Other code. |
3581 * - "REDIRECT_HTTP_RESPONSE_CODE_307" : A REDIRECT_HTTP_RESPONSE_CODE_307. | 3621 * - "REDIRECT_HTTP_RESPONSE_CODE_307" : 307 Temporary Redirect code. |
3582 */ | 3622 */ |
3583 core.String redirectHttpResponseCode; | 3623 core.String redirectHttpResponseCode; |
3584 /** Executes a script to handle the request that matches this URL pattern. */ | 3624 /** Executes a script to handle the request that matches this URL pattern. */ |
3585 ScriptHandler script; | 3625 ScriptHandler script; |
3586 /** | 3626 /** |
3587 * Security (HTTPS) enforcement for this URL. | 3627 * Security (HTTPS) enforcement for this URL. |
3588 * Possible string values are: | 3628 * Possible string values are: |
3589 * - "SECURE_UNSPECIFIED" : A SECURE_UNSPECIFIED. | 3629 * - "SECURE_UNSPECIFIED" : Not specified. |
3590 * - "SECURE_DEFAULT" : A SECURE_DEFAULT. | 3630 * - "SECURE_DEFAULT" : Both HTTP and HTTPS requests with URLs that match the |
3591 * - "SECURE_NEVER" : A SECURE_NEVER. | 3631 * handler succeed without redirects. The application can examine the request |
3592 * - "SECURE_OPTIONAL" : A SECURE_OPTIONAL. | 3632 * to determine which protocol was used, and respond accordingly. |
3593 * - "SECURE_ALWAYS" : A SECURE_ALWAYS. | 3633 * - "SECURE_NEVER" : Requests for a URL that match this handler that use |
| 3634 * HTTPS are automatically redirected to the HTTP equivalent URL. |
| 3635 * - "SECURE_OPTIONAL" : Both HTTP and HTTPS requests with URLs that match the |
| 3636 * handler succeed without redirects. The application can examine the request |
| 3637 * to determine which protocol was used and respond accordingly. |
| 3638 * - "SECURE_ALWAYS" : Requests for a URL that match this handler that do not |
| 3639 * use HTTPS are automatically redirected to the HTTPS URL with the same path. |
| 3640 * Query parameters are reserved for the redirect. |
3594 */ | 3641 */ |
3595 core.String securityLevel; | 3642 core.String securityLevel; |
3596 /** Returns the contents of a file, such as an image, as the response. */ | 3643 /** Returns the contents of a file, such as an image, as the response. */ |
3597 StaticFilesHandler staticFiles; | 3644 StaticFilesHandler staticFiles; |
3598 /** | 3645 /** |
3599 * A URL prefix. Uses regular expression syntax, which means regexp special | 3646 * A URL prefix. Uses regular expression syntax, which means regexp special |
3600 * characters must be escaped, but should not contain groupings. All URLs that | 3647 * characters must be escaped, but should not contain groupings. All URLs that |
3601 * begin with this prefix are handled by this handler, using the portion of | 3648 * begin with this prefix are handled by this handler, using the portion of |
3602 * the URL after the prefix as part of the file path. | 3649 * the URL after the prefix as part of the file path. |
3603 */ | 3650 */ |
(...skipping 146 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3750 * "default", "latest", and any name with the prefix "ah-". | 3797 * "default", "latest", and any name with the prefix "ah-". |
3751 */ | 3798 */ |
3752 core.String id; | 3799 core.String id; |
3753 /** | 3800 /** |
3754 * Before an application can receive email or XMPP messages, the application | 3801 * Before an application can receive email or XMPP messages, the application |
3755 * must be configured to enable the service. | 3802 * must be configured to enable the service. |
3756 */ | 3803 */ |
3757 core.List<core.String> inboundServices; | 3804 core.List<core.String> inboundServices; |
3758 /** | 3805 /** |
3759 * Instance class that is used to run this version. Valid values are: | 3806 * Instance class that is used to run this version. Valid values are: |
3760 * AutomaticScaling: F1, F2, F4, F4_1G ManualScaling or BasicScaling: B1, B2, | 3807 * AutomaticScaling: F1, F2, F4, F4_1G |
3761 * B4, B8, B4_1GDefaults to F1 for AutomaticScaling and B1 for ManualScaling | 3808 * ManualScaling or BasicScaling: B1, B2, B4, B8, B4_1GDefaults to F1 for |
3762 * or BasicScaling. | 3809 * AutomaticScaling and B1 for ManualScaling or BasicScaling. |
3763 */ | 3810 */ |
3764 core.String instanceClass; | 3811 core.String instanceClass; |
3765 /** | 3812 /** |
3766 * Configuration for third-party Python runtime libraries required by the | 3813 * Configuration for third-party Python runtime libraries required by the |
3767 * application.Only returned in GET requests if view=FULL is set. | 3814 * application.Only returned in GET requests if view=FULL is set. |
3768 */ | 3815 */ |
3769 core.List<Library> libraries; | 3816 core.List<Library> libraries; |
3770 /** | 3817 /** |
3771 * A service with manual scaling runs continuously, allowing you to perform | 3818 * A service with manual scaling runs continuously, allowing you to perform |
3772 * complex initialization and rely on the state of its memory over time. | 3819 * complex initialization and rely on the state of its memory over time. |
(...skipping 14 matching lines...) Expand all Loading... |
3787 core.String nobuildFilesRegex; | 3834 core.String nobuildFilesRegex; |
3788 /** Machine resources for this version. Only applicable for VM runtimes. */ | 3835 /** Machine resources for this version. Only applicable for VM runtimes. */ |
3789 Resources resources; | 3836 Resources resources; |
3790 /** Desired runtime. Example: python27. */ | 3837 /** Desired runtime. Example: python27. */ |
3791 core.String runtime; | 3838 core.String runtime; |
3792 /** | 3839 /** |
3793 * Current serving status of this version. Only the versions with a SERVING | 3840 * Current serving status of this version. Only the versions with a SERVING |
3794 * status create instances and can be billed.SERVING_STATUS_UNSPECIFIED is an | 3841 * status create instances and can be billed.SERVING_STATUS_UNSPECIFIED is an |
3795 * invalid value. Defaults to SERVING. | 3842 * invalid value. Defaults to SERVING. |
3796 * Possible string values are: | 3843 * Possible string values are: |
3797 * - "SERVING_STATUS_UNSPECIFIED" : A SERVING_STATUS_UNSPECIFIED. | 3844 * - "SERVING_STATUS_UNSPECIFIED" : Not specified. |
3798 * - "SERVING" : A SERVING. | 3845 * - "SERVING" : Currently serving. Instances are created according to the |
3799 * - "STOPPED" : A STOPPED. | 3846 * scaling settings of the version. |
| 3847 * - "STOPPED" : Disabled from serving. No instances will be created and the |
| 3848 * scaling settings are ignored until the state of the version changes to |
| 3849 * SERVING. |
3800 */ | 3850 */ |
3801 core.String servingStatus; | 3851 core.String servingStatus; |
3802 /** Whether multiple requests can be dispatched to this version at once. */ | 3852 /** Whether multiple requests can be dispatched to this version at once. */ |
3803 core.bool threadsafe; | 3853 core.bool threadsafe; |
3804 /** Whether to deploy this version in a container on a virtual machine. */ | 3854 /** Whether to deploy this version in a container on a virtual machine. */ |
3805 core.bool vm; | 3855 core.bool vm; |
3806 | 3856 |
3807 Version(); | 3857 Version(); |
3808 | 3858 |
3809 Version.fromJson(core.Map _json) { | 3859 Version.fromJson(core.Map _json) { |
(...skipping 205 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4015 } | 4065 } |
4016 if (sizeGb != null) { | 4066 if (sizeGb != null) { |
4017 _json["sizeGb"] = sizeGb; | 4067 _json["sizeGb"] = sizeGb; |
4018 } | 4068 } |
4019 if (volumeType != null) { | 4069 if (volumeType != null) { |
4020 _json["volumeType"] = volumeType; | 4070 _json["volumeType"] = volumeType; |
4021 } | 4071 } |
4022 return _json; | 4072 return _json; |
4023 } | 4073 } |
4024 } | 4074 } |
OLD | NEW |