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

Side by Side Diff: generated/googleapis_beta/lib/appengine/v1beta5.dart

Issue 2571553005: Api-roll 43: 2016-12-13 (Closed)
Patch Set: Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // This is a generated file (see the discoveryapis_generator project). 1 // This is a generated file (see the discoveryapis_generator project).
2 2
3 library googleapis_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;
(...skipping 30 matching lines...) Expand all
41 AppsLocationsResourceApi get locations => new AppsLocationsResourceApi(_reques ter); 41 AppsLocationsResourceApi get locations => new AppsLocationsResourceApi(_reques ter);
42 AppsOperationsResourceApi get operations => new AppsOperationsResourceApi(_req uester); 42 AppsOperationsResourceApi get operations => new AppsOperationsResourceApi(_req uester);
43 AppsServicesResourceApi get services => new AppsServicesResourceApi(_requester ); 43 AppsServicesResourceApi get services => new AppsServicesResourceApi(_requester );
44 44
45 AppsResourceApi(commons.ApiRequester client) : 45 AppsResourceApi(commons.ApiRequester client) :
46 _requester = client; 46 _requester = client;
47 47
48 /** 48 /**
49 * Creates an App Engine application for a Google Cloud Platform project. This 49 * Creates an App Engine application for a Google Cloud Platform project. This
50 * requires a project that excludes an App Engine application. For details 50 * requires a project that excludes an App Engine application. For details
51 * about creating a project without an application, see the [Google Cloud 51 * about creating a project without an application, see the Google Cloud
52 * Resource Manager create project 52 * Resource Manager create project topic
53 * topic](https://cloud.google.com/resource-manager/docs/creating-project). 53 * (https://cloud.google.com/resource-manager/docs/creating-project).
54 * 54 *
55 * [request] - The metadata request object. 55 * [request] - The metadata request object.
56 * 56 *
57 * Request parameters: 57 * Request parameters:
58 * 58 *
59 * Completes with a [Operation]. 59 * Completes with a [Operation].
60 * 60 *
61 * Completes with a [commons.ApiRequestError] if the API endpoint returned an 61 * Completes with a [commons.ApiRequestError] if the API endpoint returned an
62 * error. 62 * error.
63 * 63 *
(...skipping 23 matching lines...) Expand all
87 downloadOptions: _downloadOptions); 87 downloadOptions: _downloadOptions);
88 return _response.then((data) => new Operation.fromJson(data)); 88 return _response.then((data) => new Operation.fromJson(data));
89 } 89 }
90 90
91 /** 91 /**
92 * Gets information about an application. 92 * Gets information about an application.
93 * 93 *
94 * Request parameters: 94 * Request parameters:
95 * 95 *
96 * [appsId] - Part of `name`. Name of the application to get. Example: 96 * [appsId] - Part of `name`. Name of the application to get. Example:
97 * `apps/myapp`. 97 * apps/myapp.
98 * 98 *
99 * [ensureResourcesExist] - Certain resources associated with an application 99 * [ensureResourcesExist] - Certain resources associated with an application
100 * are created on-demand. Controls whether these resources should be created 100 * are created on-demand. Controls whether these resources should be created
101 * when performing the `GET` operation. If specified and any resources could 101 * when performing the GET operation. If specified and any resources could not
102 * not be created, the request will fail with an error code. Additionally, 102 * be created, the request will fail with an error code. Additionally, this
103 * this parameter can cause the request to take longer to complete. Note: This 103 * parameter can cause the request to take longer to complete. Note: This
104 * parameter will be deprecated in a future version of the API. 104 * parameter will be deprecated in a future version of the API.
105 * 105 *
106 * Completes with a [Application]. 106 * Completes with a [Application].
107 * 107 *
108 * Completes with a [commons.ApiRequestError] if the API endpoint returned an 108 * Completes with a [commons.ApiRequestError] if the API endpoint returned an
109 * error. 109 * error.
110 * 110 *
111 * If the used [http.Client] completes with an error when making a REST call, 111 * If the used [http.Client] completes with an error when making a REST call,
112 * this method will complete with the same error. 112 * this method will complete with the same error.
113 */ 113 */
(...skipping 18 matching lines...) Expand all
132 "GET", 132 "GET",
133 body: _body, 133 body: _body,
134 queryParams: _queryParams, 134 queryParams: _queryParams,
135 uploadOptions: _uploadOptions, 135 uploadOptions: _uploadOptions,
136 uploadMedia: _uploadMedia, 136 uploadMedia: _uploadMedia,
137 downloadOptions: _downloadOptions); 137 downloadOptions: _downloadOptions);
138 return _response.then((data) => new Application.fromJson(data)); 138 return _response.then((data) => new Application.fromJson(data));
139 } 139 }
140 140
141 /** 141 /**
142 * Updates application fields. 142 * Updates the specified Application resource. You can update the following
143 * fields: auth_domain
144 * (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1beta5/a pps#Application.FIELDS.auth_domain)
145 * default_cookie_expiration
146 * (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1beta5/a pps#Application.FIELDS.default_cookie_expiration)
143 * 147 *
144 * [request] - The metadata request object. 148 * [request] - The metadata request object.
145 * 149 *
146 * Request parameters: 150 * Request parameters:
147 * 151 *
148 * [appsId] - Part of `name`. Name of the application to update. Example: 152 * [appsId] - Part of `name`. Name of the Application resource to update.
149 * `apps/myapp`. 153 * Example: apps/myapp.
150 * 154 *
151 * [mask] - Standard field mask for the set of fields to be updated. 155 * [mask] - Standard field mask for the set of fields to be updated.
152 * 156 *
153 * Completes with a [Operation]. 157 * Completes with a [Operation].
154 * 158 *
155 * Completes with a [commons.ApiRequestError] if the API endpoint returned an 159 * Completes with a [commons.ApiRequestError] if the API endpoint returned an
156 * error. 160 * error.
157 * 161 *
158 * If the used [http.Client] completes with an error when making a REST call, 162 * If the used [http.Client] completes with an error when making a REST call,
159 * this method will complete with the same error. 163 * this method will complete with the same error.
(...skipping 186 matching lines...) Expand 10 before | Expand all | Expand 10 after
346 body: _body, 350 body: _body,
347 queryParams: _queryParams, 351 queryParams: _queryParams,
348 uploadOptions: _uploadOptions, 352 uploadOptions: _uploadOptions,
349 uploadMedia: _uploadMedia, 353 uploadMedia: _uploadMedia,
350 downloadOptions: _downloadOptions); 354 downloadOptions: _downloadOptions);
351 return _response.then((data) => new Operation.fromJson(data)); 355 return _response.then((data) => new Operation.fromJson(data));
352 } 356 }
353 357
354 /** 358 /**
355 * Lists operations that match the specified filter in the request. If the 359 * Lists operations that match the specified filter in the request. If the
356 * server doesn't support this method, it returns `UNIMPLEMENTED`. NOTE: the 360 * server doesn't support this method, it returns UNIMPLEMENTED.NOTE: the name
357 * `name` binding below allows API services to override the binding to use 361 * binding below allows API services to override the binding to use different
358 * different resource name schemes, such as `users / * /operations`. 362 * resource name schemes, such as users / * /operations.
359 * 363 *
360 * Request parameters: 364 * Request parameters:
361 * 365 *
362 * [appsId] - Part of `name`. The name of the operation collection. 366 * [appsId] - Part of `name`. The name of the operation collection.
363 * 367 *
364 * [filter] - The standard list filter. 368 * [filter] - The standard list filter.
365 * 369 *
366 * [pageSize] - The standard list page size. 370 * [pageSize] - The standard list page size.
367 * 371 *
368 * [pageToken] - The standard list page token. 372 * [pageToken] - The standard list page token.
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
418 422
419 AppsServicesResourceApi(commons.ApiRequester client) : 423 AppsServicesResourceApi(commons.ApiRequester client) :
420 _requester = client; 424 _requester = client;
421 425
422 /** 426 /**
423 * Deletes the specified service and all enclosed versions. 427 * Deletes the specified service and all enclosed versions.
424 * 428 *
425 * Request parameters: 429 * Request parameters:
426 * 430 *
427 * [appsId] - Part of `name`. Name of the resource requested. Example: 431 * [appsId] - Part of `name`. Name of the resource requested. Example:
428 * `apps/myapp/services/default`. 432 * apps/myapp/services/default.
429 * 433 *
430 * [servicesId] - Part of `name`. See documentation of `appsId`. 434 * [servicesId] - Part of `name`. See documentation of `appsId`.
431 * 435 *
432 * Completes with a [Operation]. 436 * Completes with a [Operation].
433 * 437 *
434 * Completes with a [commons.ApiRequestError] if the API endpoint returned an 438 * Completes with a [commons.ApiRequestError] if the API endpoint returned an
435 * error. 439 * error.
436 * 440 *
437 * If the used [http.Client] completes with an error when making a REST call, 441 * If the used [http.Client] completes with an error when making a REST call,
438 * this method will complete with the same error. 442 * this method will complete with the same error.
(...skipping 24 matching lines...) Expand all
463 downloadOptions: _downloadOptions); 467 downloadOptions: _downloadOptions);
464 return _response.then((data) => new Operation.fromJson(data)); 468 return _response.then((data) => new Operation.fromJson(data));
465 } 469 }
466 470
467 /** 471 /**
468 * Gets the current configuration of the specified service. 472 * Gets the current configuration of the specified service.
469 * 473 *
470 * Request parameters: 474 * Request parameters:
471 * 475 *
472 * [appsId] - Part of `name`. Name of the resource requested. Example: 476 * [appsId] - Part of `name`. Name of the resource requested. Example:
473 * `apps/myapp/services/default`. 477 * apps/myapp/services/default.
474 * 478 *
475 * [servicesId] - Part of `name`. See documentation of `appsId`. 479 * [servicesId] - Part of `name`. See documentation of `appsId`.
476 * 480 *
477 * Completes with a [Service]. 481 * Completes with a [Service].
478 * 482 *
479 * Completes with a [commons.ApiRequestError] if the API endpoint returned an 483 * Completes with a [commons.ApiRequestError] if the API endpoint returned an
480 * error. 484 * error.
481 * 485 *
482 * If the used [http.Client] completes with an error when making a REST call, 486 * If the used [http.Client] completes with an error when making a REST call,
483 * this method will complete with the same error. 487 * this method will complete with the same error.
(...skipping 24 matching lines...) Expand all
508 downloadOptions: _downloadOptions); 512 downloadOptions: _downloadOptions);
509 return _response.then((data) => new Service.fromJson(data)); 513 return _response.then((data) => new Service.fromJson(data));
510 } 514 }
511 515
512 /** 516 /**
513 * Lists all the services in the application. 517 * Lists all the services in the application.
514 * 518 *
515 * Request parameters: 519 * Request parameters:
516 * 520 *
517 * [appsId] - Part of `name`. Name of the resource requested. Example: 521 * [appsId] - Part of `name`. Name of the resource requested. Example:
518 * `apps/myapp`. 522 * apps/myapp.
519 * 523 *
520 * [pageSize] - Maximum results to return per page. 524 * [pageSize] - Maximum results to return per page.
521 * 525 *
522 * [pageToken] - Continuation token for fetching the next page of results. 526 * [pageToken] - Continuation token for fetching the next page of results.
523 * 527 *
524 * Completes with a [ListServicesResponse]. 528 * Completes with a [ListServicesResponse].
525 * 529 *
526 * Completes with a [commons.ApiRequestError] if the API endpoint returned an 530 * Completes with a [commons.ApiRequestError] if the API endpoint returned an
527 * error. 531 * error.
528 * 532 *
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
560 } 564 }
561 565
562 /** 566 /**
563 * Updates the configuration of the specified service. 567 * Updates the configuration of the specified service.
564 * 568 *
565 * [request] - The metadata request object. 569 * [request] - The metadata request object.
566 * 570 *
567 * Request parameters: 571 * Request parameters:
568 * 572 *
569 * [appsId] - Part of `name`. Name of the resource to update. Example: 573 * [appsId] - Part of `name`. Name of the resource to update. Example:
570 * `apps/myapp/services/default`. 574 * apps/myapp/services/default.
571 * 575 *
572 * [servicesId] - Part of `name`. See documentation of `appsId`. 576 * [servicesId] - Part of `name`. See documentation of `appsId`.
573 * 577 *
574 * [mask] - Standard field mask for the set of fields to be updated. 578 * [mask] - Standard field mask for the set of fields to be updated.
575 * 579 *
576 * [migrateTraffic] - Set to `true` to gradually shift traffic from one 580 * [migrateTraffic] - Set to true to gradually shift traffic from one version
577 * version to another single version. By default, traffic is shifted 581 * to another single version. By default, traffic is shifted immediately. For
578 * immediately. For gradual traffic migration, the target version must be 582 * gradual traffic migration, the target version must be located within
579 * located within instances that are configured for both [warmup 583 * instances that are configured for both warmup requests
580 * requests](https://cloud.google.com/appengine/docs/admin-api/reference/rest/ v1beta5/apps.services.versions#inboundservicetype) 584 * (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1beta5/a pps.services.versions#inboundservicetype)
581 * and [automatic 585 * and automatic scaling
582 * scaling](https://cloud.google.com/appengine/docs/admin-api/reference/rest/v 1beta5/apps.services.versions#automaticscaling). 586 * (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1beta5/a pps.services.versions#automaticscaling).
583 * You must specify the 587 * You must specify the shardBy
584 * [`shardBy`](https://cloud.google.com/appengine/docs/admin-api/reference/res t/v1beta5/apps.services#shardby) 588 * (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1beta5/a pps.services#shardby)
585 * field in the Service resource. Gradual traffic migration is not supported 589 * field in the Service resource. Gradual traffic migration is not supported
586 * in the App Engine flexible environment. For examples, see [Migrating and 590 * in the App Engine flexible environment. For examples, see Migrating and
587 * Splitting 591 * Splitting Traffic
588 * Traffic](https://cloud.google.com/appengine/docs/admin-api/migrating-splitt ing-traffic). 592 * (https://cloud.google.com/appengine/docs/admin-api/migrating-splitting-traf fic).
589 * 593 *
590 * Completes with a [Operation]. 594 * Completes with a [Operation].
591 * 595 *
592 * Completes with a [commons.ApiRequestError] if the API endpoint returned an 596 * Completes with a [commons.ApiRequestError] if the API endpoint returned an
593 * error. 597 * error.
594 * 598 *
595 * If the used [http.Client] completes with an error when making a REST call, 599 * If the used [http.Client] completes with an error when making a REST call,
596 * this method will complete with the same error. 600 * this method will complete with the same error.
597 */ 601 */
598 async.Future<Operation> patch(Service request, core.String appsId, core.String servicesId, {core.String mask, core.bool migrateTraffic}) { 602 async.Future<Operation> patch(Service request, core.String appsId, core.String servicesId, {core.String mask, core.bool migrateTraffic}) {
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after
691 downloadOptions: _downloadOptions); 695 downloadOptions: _downloadOptions);
692 return _response.then((data) => new Operation.fromJson(data)); 696 return _response.then((data) => new Operation.fromJson(data));
693 } 697 }
694 698
695 /** 699 /**
696 * Deletes an existing version. 700 * Deletes an existing version.
697 * 701 *
698 * Request parameters: 702 * Request parameters:
699 * 703 *
700 * [appsId] - Part of `name`. Name of the resource requested. Example: 704 * [appsId] - Part of `name`. Name of the resource requested. Example:
701 * `apps/myapp/services/default/versions/v1`. 705 * apps/myapp/services/default/versions/v1.
702 * 706 *
703 * [servicesId] - Part of `name`. See documentation of `appsId`. 707 * [servicesId] - Part of `name`. See documentation of `appsId`.
704 * 708 *
705 * [versionsId] - Part of `name`. See documentation of `appsId`. 709 * [versionsId] - Part of `name`. See documentation of `appsId`.
706 * 710 *
707 * Completes with a [Operation]. 711 * Completes with a [Operation].
708 * 712 *
709 * Completes with a [commons.ApiRequestError] if the API endpoint returned an 713 * Completes with a [commons.ApiRequestError] if the API endpoint returned an
710 * error. 714 * error.
711 * 715 *
(...skipping 24 matching lines...) Expand all
736 "DELETE", 740 "DELETE",
737 body: _body, 741 body: _body,
738 queryParams: _queryParams, 742 queryParams: _queryParams,
739 uploadOptions: _uploadOptions, 743 uploadOptions: _uploadOptions,
740 uploadMedia: _uploadMedia, 744 uploadMedia: _uploadMedia,
741 downloadOptions: _downloadOptions); 745 downloadOptions: _downloadOptions);
742 return _response.then((data) => new Operation.fromJson(data)); 746 return _response.then((data) => new Operation.fromJson(data));
743 } 747 }
744 748
745 /** 749 /**
746 * Gets the specified Version resource. By default, only a `BASIC_VIEW` will 750 * Gets the specified Version resource. By default, only a BASIC_VIEW will be
747 * be returned. Specify the `FULL_VIEW` parameter to get the full resource. 751 * returned. Specify the FULL_VIEW parameter to get the full resource.
748 * 752 *
749 * Request parameters: 753 * Request parameters:
750 * 754 *
751 * [appsId] - Part of `name`. Name of the resource requested. Example: 755 * [appsId] - Part of `name`. Name of the resource requested. Example:
752 * `apps/myapp/services/default/versions/v1`. 756 * apps/myapp/services/default/versions/v1.
753 * 757 *
754 * [servicesId] - Part of `name`. See documentation of `appsId`. 758 * [servicesId] - Part of `name`. See documentation of `appsId`.
755 * 759 *
756 * [versionsId] - Part of `name`. See documentation of `appsId`. 760 * [versionsId] - Part of `name`. See documentation of `appsId`.
757 * 761 *
758 * [view] - Controls the set of fields returned in the `Get` response. 762 * [view] - Controls the set of fields returned in the Get response.
759 * Possible string values are: 763 * Possible string values are:
760 * - "BASIC" : A BASIC. 764 * - "BASIC" : A BASIC.
761 * - "FULL" : A FULL. 765 * - "FULL" : A FULL.
762 * 766 *
763 * Completes with a [Version]. 767 * Completes with a [Version].
764 * 768 *
765 * Completes with a [commons.ApiRequestError] if the API endpoint returned an 769 * Completes with a [commons.ApiRequestError] if the API endpoint returned an
766 * error. 770 * error.
767 * 771 *
768 * If the used [http.Client] completes with an error when making a REST call, 772 * If the used [http.Client] completes with an error when making a REST call,
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
800 downloadOptions: _downloadOptions); 804 downloadOptions: _downloadOptions);
801 return _response.then((data) => new Version.fromJson(data)); 805 return _response.then((data) => new Version.fromJson(data));
802 } 806 }
803 807
804 /** 808 /**
805 * Lists the versions of a service. 809 * Lists the versions of a service.
806 * 810 *
807 * Request parameters: 811 * Request parameters:
808 * 812 *
809 * [appsId] - Part of `name`. Name of the resource requested. Example: 813 * [appsId] - Part of `name`. Name of the resource requested. Example:
810 * `apps/myapp/services/default`. 814 * apps/myapp/services/default.
811 * 815 *
812 * [servicesId] - Part of `name`. See documentation of `appsId`. 816 * [servicesId] - Part of `name`. See documentation of `appsId`.
813 * 817 *
814 * [view] - Controls the set of fields returned in the `List` response. 818 * [view] - Controls the set of fields returned in the List response.
815 * Possible string values are: 819 * Possible string values are:
816 * - "BASIC" : A BASIC. 820 * - "BASIC" : A BASIC.
817 * - "FULL" : A FULL. 821 * - "FULL" : A FULL.
818 * 822 *
819 * [pageSize] - Maximum results to return per page. 823 * [pageSize] - Maximum results to return per page.
820 * 824 *
821 * [pageToken] - Continuation token for fetching the next page of results. 825 * [pageToken] - Continuation token for fetching the next page of results.
822 * 826 *
823 * Completes with a [ListVersionsResponse]. 827 * Completes with a [ListVersionsResponse].
824 * 828 *
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
860 queryParams: _queryParams, 864 queryParams: _queryParams,
861 uploadOptions: _uploadOptions, 865 uploadOptions: _uploadOptions,
862 uploadMedia: _uploadMedia, 866 uploadMedia: _uploadMedia,
863 downloadOptions: _downloadOptions); 867 downloadOptions: _downloadOptions);
864 return _response.then((data) => new ListVersionsResponse.fromJson(data)); 868 return _response.then((data) => new ListVersionsResponse.fromJson(data));
865 } 869 }
866 870
867 /** 871 /**
868 * Updates the specified Version resource. You can specify the following 872 * Updates the specified Version resource. You can specify the following
869 * fields depending on the App Engine environment and type of scaling that the 873 * fields depending on the App Engine environment and type of scaling that the
870 * version resource uses: * 874 * version resource uses: serving_status
871 * [`serving_status`](https://cloud.google.com/appengine/docs/admin-api/refere nce/rest/v1beta5/apps.services.versions#Version.FIELDS.serving_status): 875 * (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1beta5/a pps.services.versions#Version.FIELDS.serving_status):
872 * For Version resources that use basic scaling, manual scaling, or run in the 876 * For Version resources that use basic scaling, manual scaling, or run in the
873 * App Engine flexible environment. * 877 * App Engine flexible environment. instance_class
874 * [`instance_class`](https://cloud.google.com/appengine/docs/admin-api/refere nce/rest/v1beta5/apps.services.versions#Version.FIELDS.instance_class): 878 * (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1beta5/a pps.services.versions#Version.FIELDS.instance_class):
875 * For Version resources that run in the App Engine standard environment. * 879 * For Version resources that run in the App Engine standard environment.
876 * [`automatic_scaling.min_idle_instances`](https://cloud.google.com/appengine /docs/admin-api/reference/rest/v1beta5/apps.services.versions#Version.FIELDS.aut omatic_scaling): 880 * automatic_scaling.min_idle_instances
881 * (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1beta5/a pps.services.versions#Version.FIELDS.automatic_scaling):
877 * For Version resources that use automatic scaling and run in the App Engine 882 * For Version resources that use automatic scaling and run in the App Engine
878 * standard environment. * 883 * standard environment. automatic_scaling.max_idle_instances
879 * [`automatic_scaling.max_idle_instances`](https://cloud.google.com/appengine /docs/admin-api/reference/rest/v1beta5/apps.services.versions#Version.FIELDS.aut omatic_scaling): 884 * (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1beta5/a pps.services.versions#Version.FIELDS.automatic_scaling):
880 * For Version resources that use automatic scaling and run in the App Engine 885 * For Version resources that use automatic scaling and run in the App Engine
881 * standard environment. 886 * standard environment.
882 * 887 *
883 * [request] - The metadata request object. 888 * [request] - The metadata request object.
884 * 889 *
885 * Request parameters: 890 * Request parameters:
886 * 891 *
887 * [appsId] - Part of `name`. Name of the resource to update. Example: 892 * [appsId] - Part of `name`. Name of the resource to update. Example:
888 * `apps/myapp/services/default/versions/1`. 893 * apps/myapp/services/default/versions/1.
889 * 894 *
890 * [servicesId] - Part of `name`. See documentation of `appsId`. 895 * [servicesId] - Part of `name`. See documentation of `appsId`.
891 * 896 *
892 * [versionsId] - Part of `name`. See documentation of `appsId`. 897 * [versionsId] - Part of `name`. See documentation of `appsId`.
893 * 898 *
894 * [mask] - Standard field mask for the set of fields to be updated. 899 * [mask] - Standard field mask for the set of fields to be updated.
895 * 900 *
896 * Completes with a [Operation]. 901 * Completes with a [Operation].
897 * 902 *
898 * Completes with a [commons.ApiRequestError] if the API endpoint returned an 903 * Completes with a [commons.ApiRequestError] if the API endpoint returned an
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
944 final commons.ApiRequester _requester; 949 final commons.ApiRequester _requester;
945 950
946 AppsServicesVersionsInstancesResourceApi(commons.ApiRequester client) : 951 AppsServicesVersionsInstancesResourceApi(commons.ApiRequester client) :
947 _requester = client; 952 _requester = client;
948 953
949 /** 954 /**
950 * Enables debugging on a VM instance. This allows you to use the SSH command 955 * Enables debugging on a VM instance. This allows you to use the SSH command
951 * to connect to the virtual machine where the instance lives. While in "debug 956 * to connect to the virtual machine where the instance lives. While in "debug
952 * mode", the instance continues to serve live traffic. You should delete the 957 * mode", the instance continues to serve live traffic. You should delete the
953 * instance when you are done debugging and then allow the system to take over 958 * instance when you are done debugging and then allow the system to take over
954 * and determine if another instance should be started. Only applicable for 959 * and determine if another instance should be started.Only applicable for
955 * instances in App Engine flexible environment. 960 * instances in App Engine flexible environment.
956 * 961 *
957 * [request] - The metadata request object. 962 * [request] - The metadata request object.
958 * 963 *
959 * Request parameters: 964 * Request parameters:
960 * 965 *
961 * [appsId] - Part of `name`. Name of the resource requested. Example: 966 * [appsId] - Part of `name`. Name of the resource requested. Example:
962 * `apps/myapp/services/default/versions/v1/instances/instance-1`. 967 * apps/myapp/services/default/versions/v1/instances/instance-1.
963 * 968 *
964 * [servicesId] - Part of `name`. See documentation of `appsId`. 969 * [servicesId] - Part of `name`. See documentation of `appsId`.
965 * 970 *
966 * [versionsId] - Part of `name`. See documentation of `appsId`. 971 * [versionsId] - Part of `name`. See documentation of `appsId`.
967 * 972 *
968 * [instancesId] - Part of `name`. See documentation of `appsId`. 973 * [instancesId] - Part of `name`. See documentation of `appsId`.
969 * 974 *
970 * Completes with a [Operation]. 975 * Completes with a [Operation].
971 * 976 *
972 * Completes with a [commons.ApiRequestError] if the API endpoint returned an 977 * Completes with a [commons.ApiRequestError] if the API endpoint returned an
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after
1065 downloadOptions: _downloadOptions); 1070 downloadOptions: _downloadOptions);
1066 return _response.then((data) => new Operation.fromJson(data)); 1071 return _response.then((data) => new Operation.fromJson(data));
1067 } 1072 }
1068 1073
1069 /** 1074 /**
1070 * Gets instance information. 1075 * Gets instance information.
1071 * 1076 *
1072 * Request parameters: 1077 * Request parameters:
1073 * 1078 *
1074 * [appsId] - Part of `name`. Name of the resource requested. Example: 1079 * [appsId] - Part of `name`. Name of the resource requested. Example:
1075 * `apps/myapp/services/default/versions/v1/instances/instance-1`. 1080 * apps/myapp/services/default/versions/v1/instances/instance-1.
1076 * 1081 *
1077 * [servicesId] - Part of `name`. See documentation of `appsId`. 1082 * [servicesId] - Part of `name`. See documentation of `appsId`.
1078 * 1083 *
1079 * [versionsId] - Part of `name`. See documentation of `appsId`. 1084 * [versionsId] - Part of `name`. See documentation of `appsId`.
1080 * 1085 *
1081 * [instancesId] - Part of `name`. See documentation of `appsId`. 1086 * [instancesId] - Part of `name`. See documentation of `appsId`.
1082 * 1087 *
1083 * Completes with a [Instance]. 1088 * Completes with a [Instance].
1084 * 1089 *
1085 * Completes with a [commons.ApiRequestError] if the API endpoint returned an 1090 * Completes with a [commons.ApiRequestError] if the API endpoint returned an
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
1120 downloadOptions: _downloadOptions); 1125 downloadOptions: _downloadOptions);
1121 return _response.then((data) => new Instance.fromJson(data)); 1126 return _response.then((data) => new Instance.fromJson(data));
1122 } 1127 }
1123 1128
1124 /** 1129 /**
1125 * Lists the instances of a version. 1130 * Lists the instances of a version.
1126 * 1131 *
1127 * Request parameters: 1132 * Request parameters:
1128 * 1133 *
1129 * [appsId] - Part of `name`. Name of the resource requested. Example: 1134 * [appsId] - Part of `name`. Name of the resource requested. Example:
1130 * `apps/myapp/services/default/versions/v1`. 1135 * apps/myapp/services/default/versions/v1.
1131 * 1136 *
1132 * [servicesId] - Part of `name`. See documentation of `appsId`. 1137 * [servicesId] - Part of `name`. See documentation of `appsId`.
1133 * 1138 *
1134 * [versionsId] - Part of `name`. See documentation of `appsId`. 1139 * [versionsId] - Part of `name`. See documentation of `appsId`.
1135 * 1140 *
1136 * [pageSize] - Maximum results to return per page. 1141 * [pageSize] - Maximum results to return per page.
1137 * 1142 *
1138 * [pageToken] - Continuation token for fetching the next page of results. 1143 * [pageToken] - Continuation token for fetching the next page of results.
1139 * 1144 *
1140 * Completes with a [ListInstancesResponse]. 1145 * Completes with a [ListInstancesResponse].
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
1179 uploadMedia: _uploadMedia, 1184 uploadMedia: _uploadMedia,
1180 downloadOptions: _downloadOptions); 1185 downloadOptions: _downloadOptions);
1181 return _response.then((data) => new ListInstancesResponse.fromJson(data)); 1186 return _response.then((data) => new ListInstancesResponse.fromJson(data));
1182 } 1187 }
1183 1188
1184 } 1189 }
1185 1190
1186 1191
1187 1192
1188 /** 1193 /**
1189 * [Google Cloud 1194 * Google Cloud Endpoints
1190 * Endpoints](https://cloud.google.com/appengine/docs/python/endpoints/) 1195 * (https://cloud.google.com/appengine/docs/python/endpoints/) configuration for
1191 * configuration for API handlers. 1196 * API handlers.
1192 */ 1197 */
1193 class ApiConfigHandler { 1198 class ApiConfigHandler {
1194 /** 1199 /**
1195 * Action to take when users access resources that require authentication. 1200 * Action to take when users access resources that require authentication.
1196 * Defaults to `redirect`. 1201 * Defaults to redirect.
1197 * Possible string values are: 1202 * Possible string values are:
1198 * - "AUTH_FAIL_ACTION_UNSPECIFIED" : A AUTH_FAIL_ACTION_UNSPECIFIED. 1203 * - "AUTH_FAIL_ACTION_UNSPECIFIED" : A AUTH_FAIL_ACTION_UNSPECIFIED.
1199 * - "AUTH_FAIL_ACTION_REDIRECT" : A AUTH_FAIL_ACTION_REDIRECT. 1204 * - "AUTH_FAIL_ACTION_REDIRECT" : A AUTH_FAIL_ACTION_REDIRECT.
1200 * - "AUTH_FAIL_ACTION_UNAUTHORIZED" : A AUTH_FAIL_ACTION_UNAUTHORIZED. 1205 * - "AUTH_FAIL_ACTION_UNAUTHORIZED" : A AUTH_FAIL_ACTION_UNAUTHORIZED.
1201 */ 1206 */
1202 core.String authFailAction; 1207 core.String authFailAction;
1203 /** 1208 /**
1204 * Level of login required to access this resource. Defaults to `optional`. 1209 * Level of login required to access this resource. Defaults to optional.
1205 * Possible string values are: 1210 * Possible string values are:
1206 * - "LOGIN_UNSPECIFIED" : A LOGIN_UNSPECIFIED. 1211 * - "LOGIN_UNSPECIFIED" : A LOGIN_UNSPECIFIED.
1207 * - "LOGIN_OPTIONAL" : A LOGIN_OPTIONAL. 1212 * - "LOGIN_OPTIONAL" : A LOGIN_OPTIONAL.
1208 * - "LOGIN_ADMIN" : A LOGIN_ADMIN. 1213 * - "LOGIN_ADMIN" : A LOGIN_ADMIN.
1209 * - "LOGIN_REQUIRED" : A LOGIN_REQUIRED. 1214 * - "LOGIN_REQUIRED" : A LOGIN_REQUIRED.
1210 */ 1215 */
1211 core.String login; 1216 core.String login;
1212 /** Path to the script from the application root directory. */ 1217 /** Path to the script from the application root directory. */
1213 core.String script; 1218 core.String script;
1214 /** 1219 /**
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
1287 } 1292 }
1288 } 1293 }
1289 1294
1290 /** 1295 /**
1291 * An Application resource contains the top-level configuration of an App Engine 1296 * An Application resource contains the top-level configuration of an App Engine
1292 * application. 1297 * application.
1293 */ 1298 */
1294 class Application { 1299 class Application {
1295 /** 1300 /**
1296 * Google Apps authentication domain that controls which users can access this 1301 * Google Apps authentication domain that controls which users can access this
1297 * application. Defaults to open access for any Google Account. 1302 * application.Defaults to open access for any Google Account.
1298 */ 1303 */
1299 core.String authDomain; 1304 core.String authDomain;
1300 /** 1305 /**
1301 * A Google Cloud Storage bucket that can be used for storing files associated 1306 * A Google Cloud Storage bucket that can be used for storing files associated
1302 * with this application. This bucket is associated with the application and 1307 * with this application. This bucket is associated with the application and
1303 * can be used by the gcloud deployment commands. @OutputOnly 1308 * can be used by the gcloud deployment commands.@OutputOnly
1304 */ 1309 */
1305 core.String codeBucket; 1310 core.String codeBucket;
1306 /** 1311 /**
1307 * A Google Cloud Storage bucket that can be used by the application to store 1312 * A Google Cloud Storage bucket that can be used by the application to store
1308 * content. @OutputOnly 1313 * content.@OutputOnly
1309 */ 1314 */
1310 core.String defaultBucket; 1315 core.String defaultBucket;
1311 /** Cookie expiration policy for this application. @OutputOnly */ 1316 /** Cookie expiration policy for this application. */
1312 core.String defaultCookieExpiration; 1317 core.String defaultCookieExpiration;
1313 /** 1318 /**
1314 * Hostname used to reach the application, as resolved by App Engine. 1319 * Hostname used to reach the application, as resolved by App
1315 * @OutputOnly 1320 * Engine.@OutputOnly
1316 */ 1321 */
1317 core.String defaultHostname; 1322 core.String defaultHostname;
1318 /** 1323 /**
1319 * HTTP path dispatch rules for requests to the application that do not 1324 * HTTP path dispatch rules for requests to the application that do not
1320 * explicitly target a service or version. Rules are order-dependent. 1325 * explicitly target a service or version. Rules are
1321 * @OutputOnly 1326 * order-dependent.@OutputOnly
1322 */ 1327 */
1323 core.List<UrlDispatchRule> dispatchRules; 1328 core.List<UrlDispatchRule> dispatchRules;
1324 /** 1329 /**
1325 * Identifier of the Application resource. This identifier is equivalent to 1330 * Identifier of the Application resource. This identifier is equivalent to
1326 * the project ID of the Google Cloud Platform project where you want to 1331 * the project ID of the Google Cloud Platform project where you want to
1327 * deploy your application. Example: `myapp`. 1332 * deploy your application. Example: myapp.
1328 */ 1333 */
1329 core.String id; 1334 core.String id;
1330 /** 1335 /**
1331 * Location from which this application will be run. Application instances 1336 * Location from which this application will be run. Application instances
1332 * will run out of data centers in the chosen location, which is also where 1337 * will run out of data centers in the chosen location, which is also where
1333 * all of the application's end user content is stored. Defaults to 1338 * all of the application's end user content is stored.Defaults to
1334 * `us-central`. Options are: `us-central` - Central US `europe-west` - 1339 * us-central.Options are:us-central - Central USeurope-west - Western
1335 * Western Europe `us-east1` - Eastern US 1340 * Europeus-east1 - Eastern US
1336 */ 1341 */
1337 core.String location; 1342 core.String location;
1338 /** 1343 /**
1339 * Full path to the Application resource in the API. Example: `apps/myapp`. 1344 * Full path to the Application resource in the API. Example:
1340 * @OutputOnly 1345 * apps/myapp.@OutputOnly
1341 */ 1346 */
1342 core.String name; 1347 core.String name;
1343 1348
1344 Application(); 1349 Application();
1345 1350
1346 Application.fromJson(core.Map _json) { 1351 Application.fromJson(core.Map _json) {
1347 if (_json.containsKey("authDomain")) { 1352 if (_json.containsKey("authDomain")) {
1348 authDomain = _json["authDomain"]; 1353 authDomain = _json["authDomain"];
1349 } 1354 }
1350 if (_json.containsKey("codeBucket")) { 1355 if (_json.containsKey("codeBucket")) {
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
1405 return _json; 1410 return _json;
1406 } 1411 }
1407 } 1412 }
1408 1413
1409 /** 1414 /**
1410 * Automatic scaling is based on request rate, response latencies, and other 1415 * Automatic scaling is based on request rate, response latencies, and other
1411 * application metrics. 1416 * application metrics.
1412 */ 1417 */
1413 class AutomaticScaling { 1418 class AutomaticScaling {
1414 /** 1419 /**
1415 * Amount of time that the 1420 * Amount of time that the Autoscaler
1416 * [Autoscaler](https://cloud.google.com/compute/docs/autoscaler/) should wait 1421 * (https://cloud.google.com/compute/docs/autoscaler/) should wait between
1417 * between changes to the number of virtual machines. Only applicable for VM 1422 * changes to the number of virtual machines. Only applicable for VM runtimes.
1418 * runtimes.
1419 */ 1423 */
1420 core.String coolDownPeriod; 1424 core.String coolDownPeriod;
1421 /** Target scaling by CPU usage. */ 1425 /** Target scaling by CPU usage. */
1422 CpuUtilization cpuUtilization; 1426 CpuUtilization cpuUtilization;
1423 /** Target scaling by disk usage. */ 1427 /** Target scaling by disk usage. */
1424 DiskUtilization diskUtilization; 1428 DiskUtilization diskUtilization;
1425 /** 1429 /**
1426 * Number of concurrent requests an automatic scaling instance can accept 1430 * Number of concurrent requests an automatic scaling instance can accept
1427 * before the scheduler spawns a new instance. Defaults to a runtime-specific 1431 * before the scheduler spawns a new instance.Defaults to a runtime-specific
1428 * value. 1432 * value.
1429 */ 1433 */
1430 core.int maxConcurrentRequests; 1434 core.int maxConcurrentRequests;
1431 /** 1435 /**
1432 * Maximum number of idle instances that should be maintained for this 1436 * Maximum number of idle instances that should be maintained for this
1433 * version. 1437 * version.
1434 */ 1438 */
1435 core.int maxIdleInstances; 1439 core.int maxIdleInstances;
1436 /** 1440 /**
1437 * Maximum amount of time that a request should wait in the pending queue 1441 * Maximum amount of time that a request should wait in the pending queue
(...skipping 196 matching lines...) Expand 10 before | Expand all | Expand 10 after
1634 if (aggregationWindowLength != null) { 1638 if (aggregationWindowLength != null) {
1635 _json["aggregationWindowLength"] = aggregationWindowLength; 1639 _json["aggregationWindowLength"] = aggregationWindowLength;
1636 } 1640 }
1637 if (targetUtilization != null) { 1641 if (targetUtilization != null) {
1638 _json["targetUtilization"] = targetUtilization; 1642 _json["targetUtilization"] = targetUtilization;
1639 } 1643 }
1640 return _json; 1644 return _json;
1641 } 1645 }
1642 } 1646 }
1643 1647
1644 /** Request message for `Instances.DebugInstance`. */ 1648 /** Request message for Instances.DebugInstance. */
1645 class DebugInstanceRequest { 1649 class DebugInstanceRequest {
1646 /** 1650 /**
1647 * Public SSH key to add to the instance. Example: `[USERNAME]:ssh-rsa 1651 * Public SSH key to add to the instance. Examples: [USERNAME]:ssh-rsa
1648 * KEY_VALUE` or `[USERNAME]:ssh-rsa [KEY_VALUE] google-ssh 1652 * [KEY_VALUE] [USERNAME] [USERNAME]:ssh-rsa [KEY_VALUE] google-ssh
1649 * {"userName":"[USERNAME]","expireOn":"[EXPIRE_TIME]"}` For more information, 1653 * {"userName":"[USERNAME]","expireOn":"[EXPIRE_TIME]"}For more information,
1650 * see [Adding and Removing SSH 1654 * see Adding and Removing SSH Keys
1651 * Keys](https://cloud.google.com/compute/docs/instances/adding-removing-ssh-k eys) 1655 * (https://cloud.google.com/compute/docs/instances/adding-removing-ssh-keys).
1652 */ 1656 */
1653 core.String sshKey; 1657 core.String sshKey;
1654 1658
1655 DebugInstanceRequest(); 1659 DebugInstanceRequest();
1656 1660
1657 DebugInstanceRequest.fromJson(core.Map _json) { 1661 DebugInstanceRequest.fromJson(core.Map _json) {
1658 if (_json.containsKey("sshKey")) { 1662 if (_json.containsKey("sshKey")) {
1659 sshKey = _json["sshKey"]; 1663 sshKey = _json["sshKey"];
1660 } 1664 }
1661 } 1665 }
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after
1757 if (targetWriteBytesPerSec != null) { 1761 if (targetWriteBytesPerSec != null) {
1758 _json["targetWriteBytesPerSec"] = targetWriteBytesPerSec; 1762 _json["targetWriteBytesPerSec"] = targetWriteBytesPerSec;
1759 } 1763 }
1760 if (targetWriteOpsPerSec != null) { 1764 if (targetWriteOpsPerSec != null) {
1761 _json["targetWriteOpsPerSec"] = targetWriteOpsPerSec; 1765 _json["targetWriteOpsPerSec"] = targetWriteOpsPerSec;
1762 } 1766 }
1763 return _json; 1767 return _json;
1764 } 1768 }
1765 } 1769 }
1766 1770
1771 /**
1772 * Cloud Endpoints (https://cloud.google.com/endpoints) configuration. The
1773 * Endpoints API Service provides tooling for serving Open API and gRPC
1774 * endpoints via an NGINX proxy.The fields here refer to the name and
1775 * configuration id of a "service" resource in the Service Management API
1776 * (https://cloud.google.com/service-management/overview).
1777 */
1778 class EndpointsApiService {
1779 /**
1780 * Endpoints service configuration id as specified by the Service Management
1781 * API. For example "2016-09-19r1"
1782 */
1783 core.String configId;
1784 /**
1785 * Endpoints service name which is the name of the "service" resource in the
1786 * Service Management API. For example "myapi.endpoints.myproject.cloud.goog"
1787 */
1788 core.String name;
1789
1790 EndpointsApiService();
1791
1792 EndpointsApiService.fromJson(core.Map _json) {
1793 if (_json.containsKey("configId")) {
1794 configId = _json["configId"];
1795 }
1796 if (_json.containsKey("name")) {
1797 name = _json["name"];
1798 }
1799 }
1800
1801 core.Map toJson() {
1802 var _json = new core.Map();
1803 if (configId != null) {
1804 _json["configId"] = configId;
1805 }
1806 if (name != null) {
1807 _json["name"] = name;
1808 }
1809 return _json;
1810 }
1811 }
1812
1767 /** Custom static error page to be served when an error occurs. */ 1813 /** Custom static error page to be served when an error occurs. */
1768 class ErrorHandler { 1814 class ErrorHandler {
1769 /** 1815 /**
1770 * Error condition this handler applies to. 1816 * Error condition this handler applies to.
1771 * Possible string values are: 1817 * Possible string values are:
1772 * - "ERROR_CODE_UNSPECIFIED" : A ERROR_CODE_UNSPECIFIED. 1818 * - "ERROR_CODE_UNSPECIFIED" : A ERROR_CODE_UNSPECIFIED.
1773 * - "ERROR_CODE_DEFAULT" : A ERROR_CODE_DEFAULT. 1819 * - "ERROR_CODE_DEFAULT" : A ERROR_CODE_DEFAULT.
1774 * - "ERROR_CODE_OVER_QUOTA" : A ERROR_CODE_OVER_QUOTA. 1820 * - "ERROR_CODE_OVER_QUOTA" : A ERROR_CODE_OVER_QUOTA.
1775 * - "ERROR_CODE_DOS_API_DENIAL" : A ERROR_CODE_DOS_API_DENIAL. 1821 * - "ERROR_CODE_DOS_API_DENIAL" : A ERROR_CODE_DOS_API_DENIAL.
1776 * - "ERROR_CODE_TIMEOUT" : A ERROR_CODE_TIMEOUT. 1822 * - "ERROR_CODE_TIMEOUT" : A ERROR_CODE_TIMEOUT.
1777 */ 1823 */
1778 core.String errorCode; 1824 core.String errorCode;
1779 /** MIME type of file. Defaults to `text/html`. */ 1825 /** MIME type of file. Defaults to text/html. */
1780 core.String mimeType; 1826 core.String mimeType;
1781 /** Static file content to be served for this error. */ 1827 /** Static file content to be served for this error. */
1782 core.String staticFile; 1828 core.String staticFile;
1783 1829
1784 ErrorHandler(); 1830 ErrorHandler();
1785 1831
1786 ErrorHandler.fromJson(core.Map _json) { 1832 ErrorHandler.fromJson(core.Map _json) {
1787 if (_json.containsKey("errorCode")) { 1833 if (_json.containsKey("errorCode")) {
1788 errorCode = _json["errorCode"]; 1834 errorCode = _json["errorCode"];
1789 } 1835 }
(...skipping 19 matching lines...) Expand all
1809 return _json; 1855 return _json;
1810 } 1856 }
1811 } 1857 }
1812 1858
1813 /** 1859 /**
1814 * Single source file that is part of the version to be deployed. Each source 1860 * Single source file that is part of the version to be deployed. Each source
1815 * file that is deployed must be specified separately. 1861 * file that is deployed must be specified separately.
1816 */ 1862 */
1817 class FileInfo { 1863 class FileInfo {
1818 /** 1864 /**
1819 * The MIME type of the file. Defaults to the value from Google Cloud Storage. 1865 * The MIME type of the file.Defaults to the value from Google Cloud Storage.
1820 */ 1866 */
1821 core.String mimeType; 1867 core.String mimeType;
1822 /** The SHA1 hash of the file, in hex. */ 1868 /** The SHA1 hash of the file, in hex. */
1823 core.String sha1Sum; 1869 core.String sha1Sum;
1824 /** 1870 /**
1825 * URL source to use to fetch this file. Must be a URL to a resource in Google 1871 * URL source to use to fetch this file. Must be a URL to a resource in Google
1826 * Cloud Storage in the form 'http(s)://storage.googleapis.com/\/\'. 1872 * Cloud Storage in the form 'http(s)://storage.googleapis.com//'.
1827 */ 1873 */
1828 core.String sourceUrl; 1874 core.String sourceUrl;
1829 1875
1830 FileInfo(); 1876 FileInfo();
1831 1877
1832 FileInfo.fromJson(core.Map _json) { 1878 FileInfo.fromJson(core.Map _json) {
1833 if (_json.containsKey("mimeType")) { 1879 if (_json.containsKey("mimeType")) {
1834 mimeType = _json["mimeType"]; 1880 mimeType = _json["mimeType"];
1835 } 1881 }
1836 if (_json.containsKey("sha1Sum")) { 1882 if (_json.containsKey("sha1Sum")) {
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after
1940 } 1986 }
1941 return _json; 1987 return _json;
1942 } 1988 }
1943 } 1989 }
1944 1990
1945 /** 1991 /**
1946 * An Instance resource is the computing unit that App Engine uses to 1992 * An Instance resource is the computing unit that App Engine uses to
1947 * automatically scale an application. 1993 * automatically scale an application.
1948 */ 1994 */
1949 class Instance { 1995 class Instance {
1950 /** App Engine release this instance is running on. @OutputOnly */ 1996 /** App Engine release this instance is running on.@OutputOnly */
1951 core.String appEngineRelease; 1997 core.String appEngineRelease;
1952 /** 1998 /**
1953 * Availability of the instance. @OutputOnly 1999 * Availability of the instance.@OutputOnly
1954 * Possible string values are: 2000 * Possible string values are:
1955 * - "UNSPECIFIED" : A UNSPECIFIED. 2001 * - "UNSPECIFIED" : A UNSPECIFIED.
1956 * - "RESIDENT" : A RESIDENT. 2002 * - "RESIDENT" : A RESIDENT.
1957 * - "DYNAMIC" : A DYNAMIC. 2003 * - "DYNAMIC" : A DYNAMIC.
1958 */ 2004 */
1959 core.String availability; 2005 core.String availability;
1960 /** Average latency (ms) over the last minute. @OutputOnly */ 2006 /** Average latency (ms) over the last minute.@OutputOnly */
1961 core.int averageLatency; 2007 core.int averageLatency;
1962 /** Number of errors since this instance was started. @OutputOnly */ 2008 /** Number of errors since this instance was started.@OutputOnly */
1963 core.int errors; 2009 core.int errors;
1964 /** 2010 /**
1965 * Relative name of the instance within the version. Example: `instance-1`. 2011 * Relative name of the instance within the version. Example:
1966 * @OutputOnly 2012 * instance-1.@OutputOnly
1967 */ 2013 */
1968 core.String id; 2014 core.String id;
1969 /** Total memory in use (bytes). @OutputOnly */ 2015 /** Total memory in use (bytes).@OutputOnly */
1970 core.String memoryUsage; 2016 core.String memoryUsage;
1971 /** 2017 /**
1972 * Full path to the Instance resource in the API. Example: 2018 * Full path to the Instance resource in the API. Example:
1973 * `apps/myapp/services/default/versions/v1/instances/instance-1`. @OutputOnly 2019 * apps/myapp/services/default/versions/v1/instances/instance-1.@OutputOnly
1974 */ 2020 */
1975 core.String name; 2021 core.String name;
1976 /** Average queries per second (QPS) over the last minute. @OutputOnly */ 2022 /** Average queries per second (QPS) over the last minute.@OutputOnly */
1977 core.double qps; 2023 core.double qps;
1978 /** Number of requests since this instance was started. @OutputOnly */ 2024 /** Number of requests since this instance was started.@OutputOnly */
1979 core.int requests; 2025 core.int requests;
1980 /** Time that this instance was started. @OutputOnly */ 2026 /** Time that this instance was started.@OutputOnly */
1981 core.String startTimestamp; 2027 core.String startTimestamp;
1982 /** 2028 /**
1983 * Virtual machine ID of this instance. Only applicable for instances in App 2029 * Virtual machine ID of this instance. Only applicable for instances in App
1984 * Engine flexible environment. @OutputOnly 2030 * Engine flexible environment.@OutputOnly
1985 */ 2031 */
1986 core.String vmId; 2032 core.String vmId;
1987 /** 2033 /**
1988 * The IP address of this instance. Only applicable for instances in App 2034 * The IP address of this instance. Only applicable for instances in App
1989 * Engine flexible environment. @OutputOnly 2035 * Engine flexible environment.@OutputOnly
1990 */ 2036 */
1991 core.String vmIp; 2037 core.String vmIp;
1992 /** 2038 /**
1993 * Name of the virtual machine where this instance lives. Only applicable for 2039 * Name of the virtual machine where this instance lives. Only applicable for
1994 * instances in App Engine flexible environment. @OutputOnly 2040 * instances in App Engine flexible environment.@OutputOnly
1995 */ 2041 */
1996 core.String vmName; 2042 core.String vmName;
1997 /** 2043 /**
1998 * Status of the virtual machine where this instance lives. Only applicable 2044 * Status of the virtual machine where this instance lives. Only applicable
1999 * for instances in App Engine flexible environment. @OutputOnly 2045 * for instances in App Engine flexible environment.@OutputOnly
2000 */ 2046 */
2001 core.String vmStatus; 2047 core.String vmStatus;
2002 /** 2048 /**
2003 * Whether this instance is in debug mode. Only applicable for instances in 2049 * Whether this instance is in debug mode. Only applicable for instances in
2004 * App Engine flexible environment. @OutputOnly 2050 * App Engine flexible environment.@OutputOnly
2005 */ 2051 */
2006 core.bool vmUnlocked; 2052 core.bool vmUnlocked;
2007 /** 2053 /**
2008 * Zone where the virtual machine is located. Only applicable for instances in 2054 * Zone where the virtual machine is located. Only applicable for instances in
2009 * App Engine flexible environment. @OutputOnly 2055 * App Engine flexible environment.@OutputOnly
2010 */ 2056 */
2011 core.String vmZoneName; 2057 core.String vmZoneName;
2012 2058
2013 Instance(); 2059 Instance();
2014 2060
2015 Instance.fromJson(core.Map _json) { 2061 Instance.fromJson(core.Map _json) {
2016 if (_json.containsKey("appEngineRelease")) { 2062 if (_json.containsKey("appEngineRelease")) {
2017 appEngineRelease = _json["appEngineRelease"]; 2063 appEngineRelease = _json["appEngineRelease"];
2018 } 2064 }
2019 if (_json.containsKey("availability")) { 2065 if (_json.containsKey("availability")) {
(...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after
2140 if (name != null) { 2186 if (name != null) {
2141 _json["name"] = name; 2187 _json["name"] = name;
2142 } 2188 }
2143 if (version != null) { 2189 if (version != null) {
2144 _json["version"] = version; 2190 _json["version"] = version;
2145 } 2191 }
2146 return _json; 2192 return _json;
2147 } 2193 }
2148 } 2194 }
2149 2195
2150 /** Response message for `Instances.ListInstances`. */ 2196 /** Response message for Instances.ListInstances. */
2151 class ListInstancesResponse { 2197 class ListInstancesResponse {
2152 /** The instances belonging to the requested version. */ 2198 /** The instances belonging to the requested version. */
2153 core.List<Instance> instances; 2199 core.List<Instance> instances;
2154 /** Continuation token for fetching the next page of results. */ 2200 /** Continuation token for fetching the next page of results. */
2155 core.String nextPageToken; 2201 core.String nextPageToken;
2156 2202
2157 ListInstancesResponse(); 2203 ListInstancesResponse();
2158 2204
2159 ListInstancesResponse.fromJson(core.Map _json) { 2205 ListInstancesResponse.fromJson(core.Map _json) {
2160 if (_json.containsKey("instances")) { 2206 if (_json.containsKey("instances")) {
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
2230 if (nextPageToken != null) { 2276 if (nextPageToken != null) {
2231 _json["nextPageToken"] = nextPageToken; 2277 _json["nextPageToken"] = nextPageToken;
2232 } 2278 }
2233 if (operations != null) { 2279 if (operations != null) {
2234 _json["operations"] = operations.map((value) => (value).toJson()).toList() ; 2280 _json["operations"] = operations.map((value) => (value).toJson()).toList() ;
2235 } 2281 }
2236 return _json; 2282 return _json;
2237 } 2283 }
2238 } 2284 }
2239 2285
2240 /** Response message for `Services.ListServices`. */ 2286 /** Response message for Services.ListServices. */
2241 class ListServicesResponse { 2287 class ListServicesResponse {
2242 /** Continuation token for fetching the next page of results. */ 2288 /** Continuation token for fetching the next page of results. */
2243 core.String nextPageToken; 2289 core.String nextPageToken;
2244 /** The services belonging to the requested application. */ 2290 /** The services belonging to the requested application. */
2245 core.List<Service> services; 2291 core.List<Service> services;
2246 2292
2247 ListServicesResponse(); 2293 ListServicesResponse();
2248 2294
2249 ListServicesResponse.fromJson(core.Map _json) { 2295 ListServicesResponse.fromJson(core.Map _json) {
2250 if (_json.containsKey("nextPageToken")) { 2296 if (_json.containsKey("nextPageToken")) {
2251 nextPageToken = _json["nextPageToken"]; 2297 nextPageToken = _json["nextPageToken"];
2252 } 2298 }
2253 if (_json.containsKey("services")) { 2299 if (_json.containsKey("services")) {
2254 services = _json["services"].map((value) => new Service.fromJson(value)).t oList(); 2300 services = _json["services"].map((value) => new Service.fromJson(value)).t oList();
2255 } 2301 }
2256 } 2302 }
2257 2303
2258 core.Map toJson() { 2304 core.Map toJson() {
2259 var _json = new core.Map(); 2305 var _json = new core.Map();
2260 if (nextPageToken != null) { 2306 if (nextPageToken != null) {
2261 _json["nextPageToken"] = nextPageToken; 2307 _json["nextPageToken"] = nextPageToken;
2262 } 2308 }
2263 if (services != null) { 2309 if (services != null) {
2264 _json["services"] = services.map((value) => (value).toJson()).toList(); 2310 _json["services"] = services.map((value) => (value).toJson()).toList();
2265 } 2311 }
2266 return _json; 2312 return _json;
2267 } 2313 }
2268 } 2314 }
2269 2315
2270 /** Response message for `Versions.ListVersions`. */ 2316 /** Response message for Versions.ListVersions. */
2271 class ListVersionsResponse { 2317 class ListVersionsResponse {
2272 /** Continuation token for fetching the next page of results. */ 2318 /** Continuation token for fetching the next page of results. */
2273 core.String nextPageToken; 2319 core.String nextPageToken;
2274 /** The versions belonging to the requested service. */ 2320 /** The versions belonging to the requested service. */
2275 core.List<Version> versions; 2321 core.List<Version> versions;
2276 2322
2277 ListVersionsResponse(); 2323 ListVersionsResponse();
2278 2324
2279 ListVersionsResponse.fromJson(core.Map _json) { 2325 ListVersionsResponse.fromJson(core.Map _json) {
2280 if (_json.containsKey("nextPageToken")) { 2326 if (_json.containsKey("nextPageToken")) {
(...skipping 16 matching lines...) Expand all
2297 } 2343 }
2298 } 2344 }
2299 2345
2300 /** A resource that represents Google Cloud Platform location. */ 2346 /** A resource that represents Google Cloud Platform location. */
2301 class Location { 2347 class Location {
2302 /** 2348 /**
2303 * Cross-service attributes for the location. For example 2349 * Cross-service attributes for the location. For example
2304 * {"cloud.googleapis.com/region": "us-east1"} 2350 * {"cloud.googleapis.com/region": "us-east1"}
2305 */ 2351 */
2306 core.Map<core.String, core.String> labels; 2352 core.Map<core.String, core.String> labels;
2307 /** The canonical id for this location. For example: `"us-east1"`. */ 2353 /** The canonical id for this location. For example: "us-east1". */
2308 core.String locationId; 2354 core.String locationId;
2309 /** 2355 /**
2310 * Service-specific metadata. For example the available capacity at the given 2356 * Service-specific metadata. For example the available capacity at the given
2311 * location. 2357 * location.
2312 * 2358 *
2313 * The values for Object must be JSON objects. It can consist of `num`, 2359 * The values for Object must be JSON objects. It can consist of `num`,
2314 * `String`, `bool` and `null` as well as `Map` and `List` values. 2360 * `String`, `bool` and `null` as well as `Map` and `List` values.
2315 */ 2361 */
2316 core.Map<core.String, core.Object> metadata; 2362 core.Map<core.String, core.Object> metadata;
2317 /** 2363 /**
2318 * Resource name for the location, which may vary between implementations. For 2364 * Resource name for the location, which may vary between implementations. For
2319 * example: `"projects/example-project/locations/us-east1"` 2365 * example: "projects/example-project/locations/us-east1"
2320 */ 2366 */
2321 core.String name; 2367 core.String name;
2322 2368
2323 Location(); 2369 Location();
2324 2370
2325 Location.fromJson(core.Map _json) { 2371 Location.fromJson(core.Map _json) {
2326 if (_json.containsKey("labels")) { 2372 if (_json.containsKey("labels")) {
2327 labels = _json["labels"]; 2373 labels = _json["labels"];
2328 } 2374 }
2329 if (_json.containsKey("locationId")) { 2375 if (_json.containsKey("locationId")) {
(...skipping 21 matching lines...) Expand all
2351 if (name != null) { 2397 if (name != null) {
2352 _json["name"] = name; 2398 _json["name"] = name;
2353 } 2399 }
2354 return _json; 2400 return _json;
2355 } 2401 }
2356 } 2402 }
2357 2403
2358 /** Metadata for the given google.cloud.location.Location. */ 2404 /** Metadata for the given google.cloud.location.Location. */
2359 class LocationMetadata { 2405 class LocationMetadata {
2360 /** 2406 /**
2361 * App Engine Flexible Environment is available in the given location. 2407 * App Engine Flexible Environment is available in the given
2362 * @OutputOnly 2408 * location.@OutputOnly
2363 */ 2409 */
2364 core.bool flexibleEnvironmentAvailable; 2410 core.bool flexibleEnvironmentAvailable;
2365 /** 2411 /**
2366 * App Engine Standard Environment is available in the given location. 2412 * App Engine Standard Environment is available in the given
2367 * @OutputOnly 2413 * location.@OutputOnly
2368 */ 2414 */
2369 core.bool standardEnvironmentAvailable; 2415 core.bool standardEnvironmentAvailable;
2370 2416
2371 LocationMetadata(); 2417 LocationMetadata();
2372 2418
2373 LocationMetadata.fromJson(core.Map _json) { 2419 LocationMetadata.fromJson(core.Map _json) {
2374 if (_json.containsKey("flexibleEnvironmentAvailable")) { 2420 if (_json.containsKey("flexibleEnvironmentAvailable")) {
2375 flexibleEnvironmentAvailable = _json["flexibleEnvironmentAvailable"]; 2421 flexibleEnvironmentAvailable = _json["flexibleEnvironmentAvailable"];
2376 } 2422 }
2377 if (_json.containsKey("standardEnvironmentAvailable")) { 2423 if (_json.containsKey("standardEnvironmentAvailable")) {
(...skipping 13 matching lines...) Expand all
2391 } 2437 }
2392 } 2438 }
2393 2439
2394 /** 2440 /**
2395 * A service with manual scaling runs continuously, allowing you to perform 2441 * A service with manual scaling runs continuously, allowing you to perform
2396 * complex initialization and rely on the state of its memory over time. 2442 * complex initialization and rely on the state of its memory over time.
2397 */ 2443 */
2398 class ManualScaling { 2444 class ManualScaling {
2399 /** 2445 /**
2400 * Number of instances to assign to the service at the start. This number can 2446 * Number of instances to assign to the service at the start. This number can
2401 * later be altered by using the [Modules 2447 * later be altered by using the Modules API
2402 * API](https://cloud.google.com/appengine/docs/python/modules/functions) 2448 * (https://cloud.google.com/appengine/docs/python/modules/functions)
2403 * `set_num_instances()` function. 2449 * set_num_instances() function.
2404 */ 2450 */
2405 core.int instances; 2451 core.int instances;
2406 2452
2407 ManualScaling(); 2453 ManualScaling();
2408 2454
2409 ManualScaling.fromJson(core.Map _json) { 2455 ManualScaling.fromJson(core.Map _json) {
2410 if (_json.containsKey("instances")) { 2456 if (_json.containsKey("instances")) {
2411 instances = _json["instances"]; 2457 instances = _json["instances"];
2412 } 2458 }
2413 } 2459 }
(...skipping 11 matching lines...) Expand all
2425 class Network { 2471 class Network {
2426 /** 2472 /**
2427 * List of ports, or port pairs, to forward from the virtual machine to the 2473 * List of ports, or port pairs, to forward from the virtual machine to the
2428 * application container. 2474 * application container.
2429 */ 2475 */
2430 core.List<core.String> forwardedPorts; 2476 core.List<core.String> forwardedPorts;
2431 /** Tag to apply to the VM instance during creation. */ 2477 /** Tag to apply to the VM instance during creation. */
2432 core.String instanceTag; 2478 core.String instanceTag;
2433 /** 2479 /**
2434 * Google Cloud Platform network where the virtual machines are created. 2480 * Google Cloud Platform network where the virtual machines are created.
2435 * Specify the short name, not the resource path. Defaults to `default`. 2481 * Specify the short name, not the resource path.Defaults to default.
2436 */ 2482 */
2437 core.String name; 2483 core.String name;
2484 /**
2485 * Google Cloud Platform sub-network where the virtual machines are created.
2486 * Specify the short name, not the resource path.If a subnetwork name is
2487 * specified, a network name will also be required unless it is for the
2488 * default network. If the network the VM instance is being created in is a
2489 * Legacy network, then the IP address is allocated from the IPv4Range. If the
2490 * network the VM instance is being created in is an auto Subnet Mode Network,
2491 * then only network name should be specified (not the subnetwork_name) and
2492 * the IP address is created from the IPCidrRange of the subnetwork that
2493 * exists in that zone for that network. If the network the VM instance is
2494 * being created in is a custom Subnet Mode Network, then the subnetwork_name
2495 * must be specified and the IP address is created from the IPCidrRange of the
2496 * subnetwork.If specified, the subnetwork must exist in the same region as
2497 * the Flex app.
2498 */
2499 core.String subnetworkName;
2438 2500
2439 Network(); 2501 Network();
2440 2502
2441 Network.fromJson(core.Map _json) { 2503 Network.fromJson(core.Map _json) {
2442 if (_json.containsKey("forwardedPorts")) { 2504 if (_json.containsKey("forwardedPorts")) {
2443 forwardedPorts = _json["forwardedPorts"]; 2505 forwardedPorts = _json["forwardedPorts"];
2444 } 2506 }
2445 if (_json.containsKey("instanceTag")) { 2507 if (_json.containsKey("instanceTag")) {
2446 instanceTag = _json["instanceTag"]; 2508 instanceTag = _json["instanceTag"];
2447 } 2509 }
2448 if (_json.containsKey("name")) { 2510 if (_json.containsKey("name")) {
2449 name = _json["name"]; 2511 name = _json["name"];
2450 } 2512 }
2513 if (_json.containsKey("subnetworkName")) {
2514 subnetworkName = _json["subnetworkName"];
2515 }
2451 } 2516 }
2452 2517
2453 core.Map toJson() { 2518 core.Map toJson() {
2454 var _json = new core.Map(); 2519 var _json = new core.Map();
2455 if (forwardedPorts != null) { 2520 if (forwardedPorts != null) {
2456 _json["forwardedPorts"] = forwardedPorts; 2521 _json["forwardedPorts"] = forwardedPorts;
2457 } 2522 }
2458 if (instanceTag != null) { 2523 if (instanceTag != null) {
2459 _json["instanceTag"] = instanceTag; 2524 _json["instanceTag"] = instanceTag;
2460 } 2525 }
2461 if (name != null) { 2526 if (name != null) {
2462 _json["name"] = name; 2527 _json["name"] = name;
2463 } 2528 }
2529 if (subnetworkName != null) {
2530 _json["subnetworkName"] = subnetworkName;
2531 }
2464 return _json; 2532 return _json;
2465 } 2533 }
2466 } 2534 }
2467 2535
2468 /** Target scaling by network usage. Only applicable for VM runtimes. */ 2536 /** Target scaling by network usage. Only applicable for VM runtimes. */
2469 class NetworkUtilization { 2537 class NetworkUtilization {
2470 /** Target bytes received per second. */ 2538 /** Target bytes received per second. */
2471 core.int targetReceivedBytesPerSec; 2539 core.int targetReceivedBytesPerSec;
2472 /** Target packets received per second. */ 2540 /** Target packets received per second. */
2473 core.int targetReceivedPacketsPerSec; 2541 core.int targetReceivedPacketsPerSec;
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
2510 return _json; 2578 return _json;
2511 } 2579 }
2512 } 2580 }
2513 2581
2514 /** 2582 /**
2515 * This resource represents a long-running operation that is the result of a 2583 * This resource represents a long-running operation that is the result of a
2516 * network API call. 2584 * network API call.
2517 */ 2585 */
2518 class Operation { 2586 class Operation {
2519 /** 2587 /**
2520 * If the value is `false`, it means the operation is still in progress. If 2588 * If the value is false, it means the operation is still in progress. If
2521 * true, the operation is completed, and either `error` or `response` is 2589 * true, the operation is completed, and either error or response is
2522 * available. 2590 * available.
2523 */ 2591 */
2524 core.bool done; 2592 core.bool done;
2525 /** The error result of the operation in case of failure or cancellation. */ 2593 /** The error result of the operation in case of failure or cancellation. */
2526 Status error; 2594 Status error;
2527 /** 2595 /**
2528 * Service-specific metadata associated with the operation. It typically 2596 * Service-specific metadata associated with the operation. It typically
2529 * contains progress information and common metadata such as create time. Some 2597 * contains progress information and common metadata such as create time. Some
2530 * services might not provide such metadata. Any method that returns a 2598 * services might not provide such metadata. Any method that returns a
2531 * long-running operation should document the metadata type, if any. 2599 * long-running operation should document the metadata type, if any.
2532 * 2600 *
2533 * The values for Object must be JSON objects. It can consist of `num`, 2601 * The values for Object must be JSON objects. It can consist of `num`,
2534 * `String`, `bool` and `null` as well as `Map` and `List` values. 2602 * `String`, `bool` and `null` as well as `Map` and `List` values.
2535 */ 2603 */
2536 core.Map<core.String, core.Object> metadata; 2604 core.Map<core.String, core.Object> metadata;
2537 /** 2605 /**
2538 * The server-assigned name, which is only unique within the same service that 2606 * The server-assigned name, which is only unique within the same service that
2539 * originally returns it. If you use the default HTTP mapping, the `name` 2607 * originally returns it. If you use the default HTTP mapping, the name should
2540 * should have the format of `operations/some/unique/name`. 2608 * have the format of operations/some/unique/name.
2541 */ 2609 */
2542 core.String name; 2610 core.String name;
2543 /** 2611 /**
2544 * The normal response of the operation in case of success. If the original 2612 * The normal response of the operation in case of success. If the original
2545 * method returns no data on success, such as `Delete`, the response is 2613 * method returns no data on success, such as Delete, the response is
2546 * `google.protobuf.Empty`. If the original method is standard 2614 * google.protobuf.Empty. If the original method is standard
2547 * `Get`/`Create`/`Update`, the response should be the resource. For other 2615 * Get/Create/Update, the response should be the resource. For other methods,
2548 * methods, the response should have the type `XxxResponse`, where `Xxx` is 2616 * the response should have the type XxxResponse, where Xxx is the original
2549 * the original method name. For example, if the original method name is 2617 * method name. For example, if the original method name is TakeSnapshot(),
2550 * `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`. 2618 * the inferred response type is TakeSnapshotResponse.
2551 * 2619 *
2552 * The values for Object must be JSON objects. It can consist of `num`, 2620 * The values for Object must be JSON objects. It can consist of `num`,
2553 * `String`, `bool` and `null` as well as `Map` and `List` values. 2621 * `String`, `bool` and `null` as well as `Map` and `List` values.
2554 */ 2622 */
2555 core.Map<core.String, core.Object> response; 2623 core.Map<core.String, core.Object> response;
2556 2624
2557 Operation(); 2625 Operation();
2558 2626
2559 Operation.fromJson(core.Map _json) { 2627 Operation.fromJson(core.Map _json) {
2560 if (_json.containsKey("done")) { 2628 if (_json.containsKey("done")) {
(...skipping 29 matching lines...) Expand all
2590 } 2658 }
2591 if (response != null) { 2659 if (response != null) {
2592 _json["response"] = response; 2660 _json["response"] = response;
2593 } 2661 }
2594 return _json; 2662 return _json;
2595 } 2663 }
2596 } 2664 }
2597 2665
2598 /** Metadata for the given google.longrunning.Operation. */ 2666 /** Metadata for the given google.longrunning.Operation. */
2599 class OperationMetadata { 2667 class OperationMetadata {
2600 /** Timestamp that this operation completed. @OutputOnly */ 2668 /** Timestamp that this operation completed.@OutputOnly */
2601 core.String endTime; 2669 core.String endTime;
2602 /** Timestamp that this operation was created. @OutputOnly */ 2670 /** Timestamp that this operation was created.@OutputOnly */
2603 core.String insertTime; 2671 core.String insertTime;
2604 /** 2672 /**
2605 * API method that initiated this operation. Example: 2673 * API method that initiated this operation. Example:
2606 * `google.appengine.v1beta4.Version.CreateVersion`. @OutputOnly 2674 * google.appengine.v1beta4.Version.CreateVersion.@OutputOnly
2607 */ 2675 */
2608 core.String method; 2676 core.String method;
2609 /** 2677 /**
2610 * Type of this operation. Deprecated, use method field instead. Example: 2678 * Type of this operation. Deprecated, use method field instead. Example:
2611 * "create_version". @OutputOnly 2679 * "create_version".@OutputOnly
2612 */ 2680 */
2613 core.String operationType; 2681 core.String operationType;
2614 /** 2682 /**
2615 * Name of the resource that this operation is acting on. Example: 2683 * Name of the resource that this operation is acting on. Example:
2616 * `apps/myapp/modules/default`. @OutputOnly 2684 * apps/myapp/modules/default.@OutputOnly
2617 */ 2685 */
2618 core.String target; 2686 core.String target;
2619 /** User who requested this operation. @OutputOnly */ 2687 /** User who requested this operation.@OutputOnly */
2620 core.String user; 2688 core.String user;
2621 2689
2622 OperationMetadata(); 2690 OperationMetadata();
2623 2691
2624 OperationMetadata.fromJson(core.Map _json) { 2692 OperationMetadata.fromJson(core.Map _json) {
2625 if (_json.containsKey("endTime")) { 2693 if (_json.containsKey("endTime")) {
2626 endTime = _json["endTime"]; 2694 endTime = _json["endTime"];
2627 } 2695 }
2628 if (_json.containsKey("insertTime")) { 2696 if (_json.containsKey("insertTime")) {
2629 insertTime = _json["insertTime"]; 2697 insertTime = _json["insertTime"];
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
2661 } 2729 }
2662 if (user != null) { 2730 if (user != null) {
2663 _json["user"] = user; 2731 _json["user"] = user;
2664 } 2732 }
2665 return _json; 2733 return _json;
2666 } 2734 }
2667 } 2735 }
2668 2736
2669 /** Metadata for the given google.longrunning.Operation. */ 2737 /** Metadata for the given google.longrunning.Operation. */
2670 class OperationMetadataExperimental { 2738 class OperationMetadataExperimental {
2671 /** Time that this operation completed. @OutputOnly */ 2739 /** Time that this operation completed.@OutputOnly */
2672 core.String endTime; 2740 core.String endTime;
2673 /** Time that this operation was created. @OutputOnly */ 2741 /** Time that this operation was created.@OutputOnly */
2674 core.String insertTime; 2742 core.String insertTime;
2675 /** 2743 /**
2676 * API method that initiated this operation. Example: 2744 * API method that initiated this operation. Example:
2677 * `google.appengine.experimental.CustomDomains.CreateCustomDomain`. 2745 * google.appengine.experimental.CustomDomains.CreateCustomDomain.@OutputOnly
2678 * @OutputOnly
2679 */ 2746 */
2680 core.String method; 2747 core.String method;
2681 /** 2748 /**
2682 * Name of the resource that this operation is acting on. Example: 2749 * Name of the resource that this operation is acting on. Example:
2683 * `apps/myapp/customDomains/example.com`. @OutputOnly 2750 * apps/myapp/customDomains/example.com.@OutputOnly
2684 */ 2751 */
2685 core.String target; 2752 core.String target;
2686 /** User who requested this operation. @OutputOnly */ 2753 /** User who requested this operation.@OutputOnly */
2687 core.String user; 2754 core.String user;
2688 2755
2689 OperationMetadataExperimental(); 2756 OperationMetadataExperimental();
2690 2757
2691 OperationMetadataExperimental.fromJson(core.Map _json) { 2758 OperationMetadataExperimental.fromJson(core.Map _json) {
2692 if (_json.containsKey("endTime")) { 2759 if (_json.containsKey("endTime")) {
2693 endTime = _json["endTime"]; 2760 endTime = _json["endTime"];
2694 } 2761 }
2695 if (_json.containsKey("insertTime")) { 2762 if (_json.containsKey("insertTime")) {
2696 insertTime = _json["insertTime"]; 2763 insertTime = _json["insertTime"];
(...skipping 25 matching lines...) Expand all
2722 } 2789 }
2723 if (user != null) { 2790 if (user != null) {
2724 _json["user"] = user; 2791 _json["user"] = user;
2725 } 2792 }
2726 return _json; 2793 return _json;
2727 } 2794 }
2728 } 2795 }
2729 2796
2730 /** Metadata for the given google.longrunning.Operation. */ 2797 /** Metadata for the given google.longrunning.Operation. */
2731 class OperationMetadataV1 { 2798 class OperationMetadataV1 {
2732 /** Time that this operation completed. @OutputOnly */ 2799 /** Time that this operation completed.@OutputOnly */
2733 core.String endTime; 2800 core.String endTime;
2734 /** Time that this operation was created. @OutputOnly */ 2801 /**
2802 * Ephemeral message that may change every time the operation is polled.
2803 * @OutputOnly
2804 */
2805 core.String ephemeralMessage;
2806 /** Time that this operation was created.@OutputOnly */
2735 core.String insertTime; 2807 core.String insertTime;
2736 /** 2808 /**
2737 * API method that initiated this operation. Example: 2809 * API method that initiated this operation. Example:
2738 * `google.appengine.v1.Versions.CreateVersion`. @OutputOnly 2810 * google.appengine.v1.Versions.CreateVersion.@OutputOnly
2739 */ 2811 */
2740 core.String method; 2812 core.String method;
2741 /** 2813 /**
2742 * Name of the resource that this operation is acting on. Example: 2814 * Name of the resource that this operation is acting on. Example:
2743 * `apps/myapp/services/default`. @OutputOnly 2815 * apps/myapp/services/default.@OutputOnly
2744 */ 2816 */
2745 core.String target; 2817 core.String target;
2746 /** User who requested this operation. @OutputOnly */ 2818 /** User who requested this operation.@OutputOnly */
2747 core.String user; 2819 core.String user;
2820 /** Durable messages that persist on every operation poll. @OutputOnly */
2821 core.List<core.String> warning;
2748 2822
2749 OperationMetadataV1(); 2823 OperationMetadataV1();
2750 2824
2751 OperationMetadataV1.fromJson(core.Map _json) { 2825 OperationMetadataV1.fromJson(core.Map _json) {
2752 if (_json.containsKey("endTime")) { 2826 if (_json.containsKey("endTime")) {
2753 endTime = _json["endTime"]; 2827 endTime = _json["endTime"];
2754 } 2828 }
2829 if (_json.containsKey("ephemeralMessage")) {
2830 ephemeralMessage = _json["ephemeralMessage"];
2831 }
2755 if (_json.containsKey("insertTime")) { 2832 if (_json.containsKey("insertTime")) {
2756 insertTime = _json["insertTime"]; 2833 insertTime = _json["insertTime"];
2757 } 2834 }
2758 if (_json.containsKey("method")) { 2835 if (_json.containsKey("method")) {
2759 method = _json["method"]; 2836 method = _json["method"];
2760 } 2837 }
2761 if (_json.containsKey("target")) { 2838 if (_json.containsKey("target")) {
2762 target = _json["target"]; 2839 target = _json["target"];
2763 } 2840 }
2764 if (_json.containsKey("user")) { 2841 if (_json.containsKey("user")) {
2765 user = _json["user"]; 2842 user = _json["user"];
2766 } 2843 }
2844 if (_json.containsKey("warning")) {
2845 warning = _json["warning"];
2846 }
2767 } 2847 }
2768 2848
2769 core.Map toJson() { 2849 core.Map toJson() {
2770 var _json = new core.Map(); 2850 var _json = new core.Map();
2771 if (endTime != null) { 2851 if (endTime != null) {
2772 _json["endTime"] = endTime; 2852 _json["endTime"] = endTime;
2773 } 2853 }
2854 if (ephemeralMessage != null) {
2855 _json["ephemeralMessage"] = ephemeralMessage;
2856 }
2774 if (insertTime != null) { 2857 if (insertTime != null) {
2775 _json["insertTime"] = insertTime; 2858 _json["insertTime"] = insertTime;
2776 } 2859 }
2777 if (method != null) { 2860 if (method != null) {
2778 _json["method"] = method; 2861 _json["method"] = method;
2779 } 2862 }
2780 if (target != null) { 2863 if (target != null) {
2781 _json["target"] = target; 2864 _json["target"] = target;
2782 } 2865 }
2783 if (user != null) { 2866 if (user != null) {
2784 _json["user"] = user; 2867 _json["user"] = user;
2785 } 2868 }
2869 if (warning != null) {
2870 _json["warning"] = warning;
2871 }
2786 return _json; 2872 return _json;
2787 } 2873 }
2788 } 2874 }
2789 2875
2790 /** Metadata for the given google.longrunning.Operation. */ 2876 /** Metadata for the given google.longrunning.Operation. */
2791 class OperationMetadataV1Beta5 { 2877 class OperationMetadataV1Beta5 {
2792 /** Timestamp that this operation completed. @OutputOnly */ 2878 /** Timestamp that this operation completed.@OutputOnly */
2793 core.String endTime; 2879 core.String endTime;
2794 /** Timestamp that this operation was created. @OutputOnly */ 2880 /** Timestamp that this operation was created.@OutputOnly */
2795 core.String insertTime; 2881 core.String insertTime;
2796 /** 2882 /**
2797 * API method name that initiated this operation. Example: 2883 * API method name that initiated this operation. Example:
2798 * `google.appengine.v1beta5.Version.CreateVersion`. @OutputOnly 2884 * google.appengine.v1beta5.Version.CreateVersion.@OutputOnly
2799 */ 2885 */
2800 core.String method; 2886 core.String method;
2801 /** 2887 /**
2802 * Name of the resource that this operation is acting on. Example: 2888 * Name of the resource that this operation is acting on. Example:
2803 * `apps/myapp/services/default`. @OutputOnly 2889 * apps/myapp/services/default.@OutputOnly
2804 */ 2890 */
2805 core.String target; 2891 core.String target;
2806 /** User who requested this operation. @OutputOnly */ 2892 /** User who requested this operation.@OutputOnly */
2807 core.String user; 2893 core.String user;
2808 2894
2809 OperationMetadataV1Beta5(); 2895 OperationMetadataV1Beta5();
2810 2896
2811 OperationMetadataV1Beta5.fromJson(core.Map _json) { 2897 OperationMetadataV1Beta5.fromJson(core.Map _json) {
2812 if (_json.containsKey("endTime")) { 2898 if (_json.containsKey("endTime")) {
2813 endTime = _json["endTime"]; 2899 endTime = _json["endTime"];
2814 } 2900 }
2815 if (_json.containsKey("insertTime")) { 2901 if (_json.containsKey("insertTime")) {
2816 insertTime = _json["insertTime"]; 2902 insertTime = _json["insertTime"];
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
2878 } 2964 }
2879 2965
2880 /** Machine resources for a version. */ 2966 /** Machine resources for a version. */
2881 class Resources { 2967 class Resources {
2882 /** Number of CPU cores needed. */ 2968 /** Number of CPU cores needed. */
2883 core.double cpu; 2969 core.double cpu;
2884 /** Disk size (GB) needed. */ 2970 /** Disk size (GB) needed. */
2885 core.double diskGb; 2971 core.double diskGb;
2886 /** Memory (GB) needed. */ 2972 /** Memory (GB) needed. */
2887 core.double memoryGb; 2973 core.double memoryGb;
2974 /** Volumes mounted within the app container. */
2975 core.List<Volume> volumes;
2888 2976
2889 Resources(); 2977 Resources();
2890 2978
2891 Resources.fromJson(core.Map _json) { 2979 Resources.fromJson(core.Map _json) {
2892 if (_json.containsKey("cpu")) { 2980 if (_json.containsKey("cpu")) {
2893 cpu = _json["cpu"]; 2981 cpu = _json["cpu"];
2894 } 2982 }
2895 if (_json.containsKey("diskGb")) { 2983 if (_json.containsKey("diskGb")) {
2896 diskGb = _json["diskGb"]; 2984 diskGb = _json["diskGb"];
2897 } 2985 }
2898 if (_json.containsKey("memoryGb")) { 2986 if (_json.containsKey("memoryGb")) {
2899 memoryGb = _json["memoryGb"]; 2987 memoryGb = _json["memoryGb"];
2900 } 2988 }
2989 if (_json.containsKey("volumes")) {
2990 volumes = _json["volumes"].map((value) => new Volume.fromJson(value)).toLi st();
2991 }
2901 } 2992 }
2902 2993
2903 core.Map toJson() { 2994 core.Map toJson() {
2904 var _json = new core.Map(); 2995 var _json = new core.Map();
2905 if (cpu != null) { 2996 if (cpu != null) {
2906 _json["cpu"] = cpu; 2997 _json["cpu"] = cpu;
2907 } 2998 }
2908 if (diskGb != null) { 2999 if (diskGb != null) {
2909 _json["diskGb"] = diskGb; 3000 _json["diskGb"] = diskGb;
2910 } 3001 }
2911 if (memoryGb != null) { 3002 if (memoryGb != null) {
2912 _json["memoryGb"] = memoryGb; 3003 _json["memoryGb"] = memoryGb;
2913 } 3004 }
3005 if (volumes != null) {
3006 _json["volumes"] = volumes.map((value) => (value).toJson()).toList();
3007 }
2914 return _json; 3008 return _json;
2915 } 3009 }
2916 } 3010 }
2917 3011
2918 /** Executes a script to handle the request that matches the URL pattern. */ 3012 /** Executes a script to handle the request that matches the URL pattern. */
2919 class ScriptHandler { 3013 class ScriptHandler {
2920 /** Path to the script from the application root directory. */ 3014 /** Path to the script from the application root directory. */
2921 core.String scriptPath; 3015 core.String scriptPath;
2922 3016
2923 ScriptHandler(); 3017 ScriptHandler();
(...skipping 16 matching lines...) Expand all
2940 /** 3034 /**
2941 * A Service resource is a logical component of an application that can share 3035 * A Service resource is a logical component of an application that can share
2942 * state and communicate in a secure fashion with other services. For example, 3036 * state and communicate in a secure fashion with other services. For example,
2943 * an application that handles customer requests might include separate services 3037 * an application that handles customer requests might include separate services
2944 * to handle other tasks such as API requests from mobile devices or backend 3038 * to handle other tasks such as API requests from mobile devices or backend
2945 * data analysis. Each service has a collection of versions that define a 3039 * data analysis. Each service has a collection of versions that define a
2946 * specific set of code used to implement the functionality of that service. 3040 * specific set of code used to implement the functionality of that service.
2947 */ 3041 */
2948 class Service { 3042 class Service {
2949 /** 3043 /**
2950 * Relative name of the service within the application. Example: `default`. 3044 * Relative name of the service within the application. Example:
2951 * @OutputOnly 3045 * default.@OutputOnly
2952 */ 3046 */
2953 core.String id; 3047 core.String id;
2954 /** 3048 /**
2955 * Full path to the Service resource in the API. Example: 3049 * Full path to the Service resource in the API. Example:
2956 * `apps/myapp/services/default`. @OutputOnly 3050 * apps/myapp/services/default.@OutputOnly
2957 */ 3051 */
2958 core.String name; 3052 core.String name;
2959 /** 3053 /**
2960 * Mapping that defines fractional HTTP traffic diversion to different 3054 * Mapping that defines fractional HTTP traffic diversion to different
2961 * versions within the service. 3055 * versions within the service.
2962 */ 3056 */
2963 TrafficSplit split; 3057 TrafficSplit split;
2964 3058
2965 Service(); 3059 Service();
2966 3060
(...skipping 153 matching lines...) Expand 10 before | Expand all | Expand 10 after
3120 _json["requireMatchingFile"] = requireMatchingFile; 3214 _json["requireMatchingFile"] = requireMatchingFile;
3121 } 3215 }
3122 if (uploadPathRegex != null) { 3216 if (uploadPathRegex != null) {
3123 _json["uploadPathRegex"] = uploadPathRegex; 3217 _json["uploadPathRegex"] = uploadPathRegex;
3124 } 3218 }
3125 return _json; 3219 return _json;
3126 } 3220 }
3127 } 3221 }
3128 3222
3129 /** 3223 /**
3130 * The `Status` type defines a logical error model that is suitable for 3224 * The Status type defines a logical error model that is suitable for different
3131 * different programming environments, including REST APIs and RPC APIs. It is 3225 * programming environments, including REST APIs and RPC APIs. It is used by
3132 * used by [gRPC](https://github.com/grpc). The error model is designed to be: - 3226 * gRPC (https://github.com/grpc). The error model is designed to be: Simple to
3133 * Simple to use and understand for most users - Flexible enough to meet 3227 * use and understand for most users Flexible enough to meet unexpected
3134 * unexpected needs # Overview The `Status` message contains three pieces of 3228 * needsOverviewThe Status message contains three pieces of data: error code,
3135 * data: error code, error message, and error details. The error code should be 3229 * error message, and error details. The error code should be an enum value of
3136 * an enum value of google.rpc.Code, but it may accept additional error codes if 3230 * google.rpc.Code, but it may accept additional error codes if needed. The
3137 * needed. The error message should be a developer-facing English message that 3231 * error message should be a developer-facing English message that helps
3138 * helps developers *understand* and *resolve* the error. If a localized 3232 * developers understand and resolve the error. If a localized user-facing error
3139 * user-facing error message is needed, put the localized message in the error 3233 * message is needed, put the localized message in the error details or localize
3140 * details or localize it in the client. The optional error details may contain 3234 * it in the client. The optional error details may contain arbitrary
3141 * arbitrary information about the error. There is a predefined set of error 3235 * information about the error. There is a predefined set of error detail types
3142 * detail types in the package `google.rpc` which can be used for common error 3236 * in the package google.rpc which can be used for common error
3143 * conditions. # Language mapping The `Status` message is the logical 3237 * conditions.Language mappingThe Status message is the logical representation
3144 * representation of the error model, but it is not necessarily the actual wire 3238 * of the error model, but it is not necessarily the actual wire format. When
3145 * format. When the `Status` message is exposed in different client libraries 3239 * the Status message is exposed in different client libraries and different
3146 * and different wire protocols, it can be mapped differently. For example, it 3240 * wire protocols, it can be mapped differently. For example, it will likely be
3147 * will likely be mapped to some exceptions in Java, but more likely mapped to 3241 * mapped to some exceptions in Java, but more likely mapped to some error codes
3148 * some error codes in C. # Other uses The error model and the `Status` message 3242 * in C.Other usesThe error model and the Status message can be used in a
3149 * can be used in a variety of environments, either with or without APIs, to 3243 * variety of environments, either with or without APIs, to provide a consistent
3150 * provide a consistent developer experience across different environments. 3244 * developer experience across different environments.Example uses of this error
3151 * Example uses of this error model include: - Partial errors. If a service 3245 * model include: Partial errors. If a service needs to return partial errors to
3152 * needs to return partial errors to the client, it may embed the `Status` in 3246 * the client, it may embed the Status in the normal response to indicate the
3153 * the normal response to indicate the partial errors. - Workflow errors. A 3247 * partial errors. Workflow errors. A typical workflow has multiple steps. Each
3154 * typical workflow has multiple steps. Each step may have a `Status` message 3248 * step may have a Status message for error reporting purpose. Batch operations.
3155 * for error reporting purpose. - Batch operations. If a client uses batch 3249 * If a client uses batch request and batch response, the Status message should
3156 * request and batch response, the `Status` message should be used directly 3250 * be used directly inside batch response, one for each error sub-response.
3157 * inside batch response, one for each error sub-response. - Asynchronous 3251 * Asynchronous operations. If an API call embeds asynchronous operation results
3158 * operations. If an API call embeds asynchronous operation results in its 3252 * in its response, the status of those operations should be represented
3159 * response, the status of those operations should be represented directly using 3253 * directly using the Status message. Logging. If some API errors are stored in
3160 * the `Status` message. - Logging. If some API errors are stored in logs, the 3254 * logs, the message Status could be used directly after any stripping needed
3161 * message `Status` could be used directly after any stripping needed for 3255 * for security/privacy reasons.
3162 * security/privacy reasons.
3163 */ 3256 */
3164 class Status { 3257 class Status {
3165 /** The status code, which should be an enum value of google.rpc.Code. */ 3258 /** The status code, which should be an enum value of google.rpc.Code. */
3166 core.int code; 3259 core.int code;
3167 /** 3260 /**
3168 * A list of messages that carry the error details. There will be a common set 3261 * A list of messages that carry the error details. There will be a common set
3169 * of message types for APIs to use. 3262 * of message types for APIs to use.
3170 * 3263 *
3171 * The values for Object must be JSON objects. It can consist of `num`, 3264 * The values for Object must be JSON objects. It can consist of `num`,
3172 * `String`, `bool` and `null` as well as `Map` and `List` values. 3265 * `String`, `bool` and `null` as well as `Map` and `List` values.
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
3253 if (shardBy != null) { 3346 if (shardBy != null) {
3254 _json["shardBy"] = shardBy; 3347 _json["shardBy"] = shardBy;
3255 } 3348 }
3256 return _json; 3349 return _json;
3257 } 3350 }
3258 } 3351 }
3259 3352
3260 /** Rules to match an HTTP request and dispatch that request to a service. */ 3353 /** Rules to match an HTTP request and dispatch that request to a service. */
3261 class UrlDispatchRule { 3354 class UrlDispatchRule {
3262 /** 3355 /**
3263 * Domain name to match against. The wildcard "`*`" is supported if specified 3356 * Domain name to match against. The wildcard "*" is supported if specified
3264 * before a period: "`*.`". Defaults to matching all domains: "`*`". 3357 * before a period: "*.".Defaults to matching all domains: "*".
3265 */ 3358 */
3266 core.String domain; 3359 core.String domain;
3267 /** 3360 /**
3268 * Pathname within the host. Must start with a "`/`". A single "`*`" can be 3361 * Pathname within the host. Must start with a "/". A single "*" can be
3269 * included at the end of the path. The sum of the lengths of the domain and 3362 * included at the end of the path. The sum of the lengths of the domain and
3270 * path may not exceed 100 characters. 3363 * path may not exceed 100 characters.
3271 */ 3364 */
3272 core.String path; 3365 core.String path;
3273 /** 3366 /**
3274 * Resource id of a service in this application that should serve the matched 3367 * Resource id of a service in this application that should serve the matched
3275 * request. The service must already exist. Example: `default`. 3368 * request. The service must already exist. Example: default.
3276 */ 3369 */
3277 core.String service; 3370 core.String service;
3278 3371
3279 UrlDispatchRule(); 3372 UrlDispatchRule();
3280 3373
3281 UrlDispatchRule.fromJson(core.Map _json) { 3374 UrlDispatchRule.fromJson(core.Map _json) {
3282 if (_json.containsKey("domain")) { 3375 if (_json.containsKey("domain")) {
3283 domain = _json["domain"]; 3376 domain = _json["domain"];
3284 } 3377 }
3285 if (_json.containsKey("path")) { 3378 if (_json.containsKey("path")) {
(...skipping 22 matching lines...) Expand all
3308 /** 3401 /**
3309 * URL pattern and description of how the URL should be handled. App Engine can 3402 * URL pattern and description of how the URL should be handled. App Engine can
3310 * handle URLs by executing application code, or by serving static files 3403 * handle URLs by executing application code, or by serving static files
3311 * uploaded with the version, such as images, CSS, or JavaScript. 3404 * uploaded with the version, such as images, CSS, or JavaScript.
3312 */ 3405 */
3313 class UrlMap { 3406 class UrlMap {
3314 /** Uses API Endpoints to handle requests. */ 3407 /** Uses API Endpoints to handle requests. */
3315 ApiEndpointHandler apiEndpoint; 3408 ApiEndpointHandler apiEndpoint;
3316 /** 3409 /**
3317 * Action to take when users access resources that require authentication. 3410 * Action to take when users access resources that require authentication.
3318 * Defaults to `redirect`. 3411 * Defaults to redirect.
3319 * Possible string values are: 3412 * Possible string values are:
3320 * - "AUTH_FAIL_ACTION_UNSPECIFIED" : A AUTH_FAIL_ACTION_UNSPECIFIED. 3413 * - "AUTH_FAIL_ACTION_UNSPECIFIED" : A AUTH_FAIL_ACTION_UNSPECIFIED.
3321 * - "AUTH_FAIL_ACTION_REDIRECT" : A AUTH_FAIL_ACTION_REDIRECT. 3414 * - "AUTH_FAIL_ACTION_REDIRECT" : A AUTH_FAIL_ACTION_REDIRECT.
3322 * - "AUTH_FAIL_ACTION_UNAUTHORIZED" : A AUTH_FAIL_ACTION_UNAUTHORIZED. 3415 * - "AUTH_FAIL_ACTION_UNAUTHORIZED" : A AUTH_FAIL_ACTION_UNAUTHORIZED.
3323 */ 3416 */
3324 core.String authFailAction; 3417 core.String authFailAction;
3325 /** 3418 /**
3326 * Level of login required to access this resource. 3419 * Level of login required to access this resource.
3327 * Possible string values are: 3420 * Possible string values are:
3328 * - "LOGIN_UNSPECIFIED" : A LOGIN_UNSPECIFIED. 3421 * - "LOGIN_UNSPECIFIED" : A LOGIN_UNSPECIFIED.
3329 * - "LOGIN_OPTIONAL" : A LOGIN_OPTIONAL. 3422 * - "LOGIN_OPTIONAL" : A LOGIN_OPTIONAL.
3330 * - "LOGIN_ADMIN" : A LOGIN_ADMIN. 3423 * - "LOGIN_ADMIN" : A LOGIN_ADMIN.
3331 * - "LOGIN_REQUIRED" : A LOGIN_REQUIRED. 3424 * - "LOGIN_REQUIRED" : A LOGIN_REQUIRED.
3332 */ 3425 */
3333 core.String login; 3426 core.String login;
3334 /** 3427 /**
3335 * `30x` code to use when performing redirects for the `secure` field. 3428 * 30x code to use when performing redirects for the secure field. Defaults to
3336 * Defaults to `302`. 3429 * 302.
3337 * Possible string values are: 3430 * Possible string values are:
3338 * - "REDIRECT_HTTP_RESPONSE_CODE_UNSPECIFIED" : A 3431 * - "REDIRECT_HTTP_RESPONSE_CODE_UNSPECIFIED" : A
3339 * REDIRECT_HTTP_RESPONSE_CODE_UNSPECIFIED. 3432 * REDIRECT_HTTP_RESPONSE_CODE_UNSPECIFIED.
3340 * - "REDIRECT_HTTP_RESPONSE_CODE_301" : A REDIRECT_HTTP_RESPONSE_CODE_301. 3433 * - "REDIRECT_HTTP_RESPONSE_CODE_301" : A REDIRECT_HTTP_RESPONSE_CODE_301.
3341 * - "REDIRECT_HTTP_RESPONSE_CODE_302" : A REDIRECT_HTTP_RESPONSE_CODE_302. 3434 * - "REDIRECT_HTTP_RESPONSE_CODE_302" : A REDIRECT_HTTP_RESPONSE_CODE_302.
3342 * - "REDIRECT_HTTP_RESPONSE_CODE_303" : A REDIRECT_HTTP_RESPONSE_CODE_303. 3435 * - "REDIRECT_HTTP_RESPONSE_CODE_303" : A REDIRECT_HTTP_RESPONSE_CODE_303.
3343 * - "REDIRECT_HTTP_RESPONSE_CODE_307" : A REDIRECT_HTTP_RESPONSE_CODE_307. 3436 * - "REDIRECT_HTTP_RESPONSE_CODE_307" : A REDIRECT_HTTP_RESPONSE_CODE_307.
3344 */ 3437 */
3345 core.String redirectHttpResponseCode; 3438 core.String redirectHttpResponseCode;
3346 /** Executes a script to handle the request that matches this URL pattern. */ 3439 /** Executes a script to handle the request that matches this URL pattern. */
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
3423 return _json; 3516 return _json;
3424 } 3517 }
3425 } 3518 }
3426 3519
3427 /** 3520 /**
3428 * A Version resource is a specific set of source code and configuration files 3521 * A Version resource is a specific set of source code and configuration files
3429 * that are deployed into a service. 3522 * that are deployed into a service.
3430 */ 3523 */
3431 class Version { 3524 class Version {
3432 /** 3525 /**
3433 * Serving configuration for [Google Cloud 3526 * Serving configuration for Google Cloud Endpoints
3434 * Endpoints](https://cloud.google.com/appengine/docs/python/endpoints/). Only 3527 * (https://cloud.google.com/appengine/docs/python/endpoints/).Only returned
3435 * returned in `GET` requests if `view=FULL` is set. 3528 * in GET requests if view=FULL is set.
3436 */ 3529 */
3437 ApiConfigHandler apiConfig; 3530 ApiConfigHandler apiConfig;
3438 /** 3531 /**
3439 * Automatic scaling is based on request rate, response latencies, and other 3532 * Automatic scaling is based on request rate, response latencies, and other
3440 * application metrics. 3533 * application metrics.
3441 */ 3534 */
3442 AutomaticScaling automaticScaling; 3535 AutomaticScaling automaticScaling;
3443 /** 3536 /**
3444 * A service with basic scaling will create an instance when the application 3537 * A service with basic scaling will create an instance when the application
3445 * receives a request. The instance will be turned down when the app becomes 3538 * receives a request. The instance will be turned down when the app becomes
3446 * idle. Basic scaling is ideal for work that is intermittent or driven by 3539 * idle. Basic scaling is ideal for work that is intermittent or driven by
3447 * user activity. 3540 * user activity.
3448 */ 3541 */
3449 BasicScaling basicScaling; 3542 BasicScaling basicScaling;
3450 /** 3543 /**
3451 * Metadata settings that are supplied to this version to enable beta runtime 3544 * Metadata settings that are supplied to this version to enable beta runtime
3452 * features. 3545 * features.
3453 */ 3546 */
3454 core.Map<core.String, core.String> betaSettings; 3547 core.Map<core.String, core.String> betaSettings;
3455 /** Time that this version was created. @OutputOnly */ 3548 /** Time that this version was created.@OutputOnly */
3456 core.String creationTime; 3549 core.String creationTime;
3457 /** 3550 /**
3458 * Duration that static files should be cached by web proxies and browsers. 3551 * Duration that static files should be cached by web proxies and browsers.
3459 * Only applicable if the corresponding 3552 * Only applicable if the corresponding StaticFilesHandler
3460 * [StaticFilesHandler](https://cloud.google.com/appengine/docs/admin-api/refe rence/rest/v1/apps.services.versions#staticfileshandler) 3553 * (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.s ervices.versions#staticfileshandler)
3461 * does not specify its own expiration time. Only returned in `GET` requests 3554 * does not specify its own expiration time.Only returned in GET requests if
3462 * if `view=FULL` is set. 3555 * view=FULL is set.
3463 */ 3556 */
3464 core.String defaultExpiration; 3557 core.String defaultExpiration;
3465 /** Email address of the user who created this version. @OutputOnly */ 3558 /** Email address of the user who created this version.@OutputOnly */
3466 core.String deployer; 3559 core.String deployer;
3467 /** 3560 /**
3468 * Code and application artifacts that make up this version. Only returned in 3561 * Code and application artifacts that make up this version.Only returned in
3469 * `GET` requests if `view=FULL` is set. 3562 * GET requests if view=FULL is set.
3470 */ 3563 */
3471 Deployment deployment; 3564 Deployment deployment;
3472 /** 3565 /**
3473 * Total size of version files hosted on App Engine disk in bytes. @OutputOnly 3566 * Total size of version files hosted on App Engine disk in bytes.@OutputOnly
3474 */ 3567 */
3475 core.String diskUsageBytes; 3568 core.String diskUsageBytes;
3476 /** 3569 /**
3477 * App Engine execution environment to use for this version. Defaults to `1`. 3570 * Cloud Endpoints configuration.If endpoints_api_service is set, the Cloud
3571 * Endpoints Extensible Service Proxy will be provided to serve the API
3572 * implemented by the app.
3573 */
3574 EndpointsApiService endpointsApiService;
3575 /**
3576 * App Engine execution environment to use for this version.Defaults to 1.
3478 */ 3577 */
3479 core.String env; 3578 core.String env;
3480 /** 3579 /**
3481 * Environment variables made available to the application. Only returned in 3580 * Environment variables made available to the application.Only returned in
3482 * `GET` requests if `view=FULL` is set. 3581 * GET requests if view=FULL is set.
3483 */ 3582 */
3484 core.Map<core.String, core.String> envVariables; 3583 core.Map<core.String, core.String> envVariables;
3485 /** 3584 /**
3486 * Custom static error pages. Limited to 10KB per page. Only returned in `GET` 3585 * Custom static error pages. Limited to 10KB per page.Only returned in GET
3487 * requests if `view=FULL` is set. 3586 * requests if view=FULL is set.
3488 */ 3587 */
3489 core.List<ErrorHandler> errorHandlers; 3588 core.List<ErrorHandler> errorHandlers;
3490 /** 3589 /**
3491 * An ordered list of URL-matching patterns that should be applied to incoming 3590 * An ordered list of URL-matching patterns that should be applied to incoming
3492 * requests. The first matching URL handles the request and other request 3591 * requests. The first matching URL handles the request and other request
3493 * handlers are not attempted. Only returned in `GET` requests if `view=FULL` 3592 * handlers are not attempted.Only returned in GET requests if view=FULL is
3494 * is set. 3593 * set.
3495 */ 3594 */
3496 core.List<UrlMap> handlers; 3595 core.List<UrlMap> handlers;
3497 /** 3596 /**
3498 * Configures health checking for VM instances. Unhealthy instances are be 3597 * Configures health checking for VM instances. Unhealthy instances are be
3499 * stopped and replaced with new instances. Only applicable for VM runtimes. 3598 * stopped and replaced with new instances. Only applicable for VM
3500 * Only returned in `GET` requests if `view=FULL` is set. 3599 * runtimes.Only returned in GET requests if view=FULL is set.
3501 */ 3600 */
3502 HealthCheck healthCheck; 3601 HealthCheck healthCheck;
3503 /** 3602 /**
3504 * Relative name of the version within the module. Example: `v1`. Version 3603 * Relative name of the version within the module. Example: v1. Version names
3505 * names can contain only lowercase letters, numbers, or hyphens. Reserved 3604 * can contain only lowercase letters, numbers, or hyphens. Reserved names:
3506 * names: "default", "latest", and any name with the prefix "ah-". 3605 * "default", "latest", and any name with the prefix "ah-".
3507 */ 3606 */
3508 core.String id; 3607 core.String id;
3509 /** 3608 /**
3510 * Before an application can receive email or XMPP messages, the application 3609 * Before an application can receive email or XMPP messages, the application
3511 * must be configured to enable the service. 3610 * must be configured to enable the service.
3512 */ 3611 */
3513 core.List<core.String> inboundServices; 3612 core.List<core.String> inboundServices;
3514 /** 3613 /**
3515 * Instance class that is used to run this version. Valid values are: * 3614 * Instance class that is used to run this version. Valid values are:
3516 * AutomaticScaling: `F1`, `F2`, `F4`, `F4_1G` * ManualScaling or 3615 * AutomaticScaling: F1, F2, F4, F4_1G ManualScaling or BasicScaling: B1, B2,
3517 * BasicScaling: `B1`, `B2`, `B4`, `B8`, `B4_1G` Defaults to `F1` for 3616 * B4, B8, B4_1GDefaults to F1 for AutomaticScaling and B1 for ManualScaling
3518 * AutomaticScaling and `B1` for ManualScaling or BasicScaling. 3617 * or BasicScaling.
3519 */ 3618 */
3520 core.String instanceClass; 3619 core.String instanceClass;
3521 /** 3620 /**
3522 * Configuration for third-party Python runtime libraries required by the 3621 * Configuration for third-party Python runtime libraries required by the
3523 * application. Only returned in `GET` requests if `view=FULL` is set. 3622 * application.Only returned in GET requests if view=FULL is set.
3524 */ 3623 */
3525 core.List<Library> libraries; 3624 core.List<Library> libraries;
3526 /** 3625 /**
3527 * A service with manual scaling runs continuously, allowing you to perform 3626 * A service with manual scaling runs continuously, allowing you to perform
3528 * complex initialization and rely on the state of its memory over time. 3627 * complex initialization and rely on the state of its memory over time.
3529 */ 3628 */
3530 ManualScaling manualScaling; 3629 ManualScaling manualScaling;
3531 /** 3630 /**
3532 * Full path to the Version resource in the API. Example: 3631 * Full path to the Version resource in the API. Example:
3533 * `apps/myapp/services/default/versions/v1`. @OutputOnly 3632 * apps/myapp/services/default/versions/v1.@OutputOnly
3534 */ 3633 */
3535 core.String name; 3634 core.String name;
3536 /** Extra network settings. Only applicable for VM runtimes. */ 3635 /** Extra network settings. Only applicable for VM runtimes. */
3537 Network network; 3636 Network network;
3538 /** 3637 /**
3539 * Files that match this pattern will not be built into this version. Only 3638 * Files that match this pattern will not be built into this version. Only
3540 * applicable for Go runtimes. Only returned in `GET` requests if `view=FULL` 3639 * applicable for Go runtimes.Only returned in GET requests if view=FULL is
3541 * is set. 3640 * set.
3542 */ 3641 */
3543 core.String nobuildFilesRegex; 3642 core.String nobuildFilesRegex;
3544 /** Machine resources for this version. Only applicable for VM runtimes. */ 3643 /** Machine resources for this version. Only applicable for VM runtimes. */
3545 Resources resources; 3644 Resources resources;
3546 /** Desired runtime. Example: `python27`. */ 3645 /** Desired runtime. Example: python27. */
3547 core.String runtime; 3646 core.String runtime;
3548 /** 3647 /**
3549 * Current serving status of this version. Only the versions with a `SERVING` 3648 * Current serving status of this version. Only the versions with a SERVING
3550 * status create instances and can be billed. `SERVING_STATUS_UNSPECIFIED` is 3649 * status create instances and can be billed.SERVING_STATUS_UNSPECIFIED is an
3551 * an invalid value. Defaults to `SERVING`. 3650 * invalid value. Defaults to SERVING.
3552 * Possible string values are: 3651 * Possible string values are:
3553 * - "SERVING_STATUS_UNSPECIFIED" : A SERVING_STATUS_UNSPECIFIED. 3652 * - "SERVING_STATUS_UNSPECIFIED" : A SERVING_STATUS_UNSPECIFIED.
3554 * - "SERVING" : A SERVING. 3653 * - "SERVING" : A SERVING.
3555 * - "STOPPED" : A STOPPED. 3654 * - "STOPPED" : A STOPPED.
3556 */ 3655 */
3557 core.String servingStatus; 3656 core.String servingStatus;
3558 /** Whether multiple requests can be dispatched to this version at once. */ 3657 /** Whether multiple requests can be dispatched to this version at once. */
3559 core.bool threadsafe; 3658 core.bool threadsafe;
3560 /** Whether to deploy this version in a container on a virtual machine. */ 3659 /** Whether to deploy this version in a container on a virtual machine. */
3561 core.bool vm; 3660 core.bool vm;
(...skipping 21 matching lines...) Expand all
3583 } 3682 }
3584 if (_json.containsKey("deployer")) { 3683 if (_json.containsKey("deployer")) {
3585 deployer = _json["deployer"]; 3684 deployer = _json["deployer"];
3586 } 3685 }
3587 if (_json.containsKey("deployment")) { 3686 if (_json.containsKey("deployment")) {
3588 deployment = new Deployment.fromJson(_json["deployment"]); 3687 deployment = new Deployment.fromJson(_json["deployment"]);
3589 } 3688 }
3590 if (_json.containsKey("diskUsageBytes")) { 3689 if (_json.containsKey("diskUsageBytes")) {
3591 diskUsageBytes = _json["diskUsageBytes"]; 3690 diskUsageBytes = _json["diskUsageBytes"];
3592 } 3691 }
3692 if (_json.containsKey("endpointsApiService")) {
3693 endpointsApiService = new EndpointsApiService.fromJson(_json["endpointsApi Service"]);
3694 }
3593 if (_json.containsKey("env")) { 3695 if (_json.containsKey("env")) {
3594 env = _json["env"]; 3696 env = _json["env"];
3595 } 3697 }
3596 if (_json.containsKey("envVariables")) { 3698 if (_json.containsKey("envVariables")) {
3597 envVariables = _json["envVariables"]; 3699 envVariables = _json["envVariables"];
3598 } 3700 }
3599 if (_json.containsKey("errorHandlers")) { 3701 if (_json.containsKey("errorHandlers")) {
3600 errorHandlers = _json["errorHandlers"].map((value) => new ErrorHandler.fro mJson(value)).toList(); 3702 errorHandlers = _json["errorHandlers"].map((value) => new ErrorHandler.fro mJson(value)).toList();
3601 } 3703 }
3602 if (_json.containsKey("handlers")) { 3704 if (_json.containsKey("handlers")) {
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
3668 } 3770 }
3669 if (deployer != null) { 3771 if (deployer != null) {
3670 _json["deployer"] = deployer; 3772 _json["deployer"] = deployer;
3671 } 3773 }
3672 if (deployment != null) { 3774 if (deployment != null) {
3673 _json["deployment"] = (deployment).toJson(); 3775 _json["deployment"] = (deployment).toJson();
3674 } 3776 }
3675 if (diskUsageBytes != null) { 3777 if (diskUsageBytes != null) {
3676 _json["diskUsageBytes"] = diskUsageBytes; 3778 _json["diskUsageBytes"] = diskUsageBytes;
3677 } 3779 }
3780 if (endpointsApiService != null) {
3781 _json["endpointsApiService"] = (endpointsApiService).toJson();
3782 }
3678 if (env != null) { 3783 if (env != null) {
3679 _json["env"] = env; 3784 _json["env"] = env;
3680 } 3785 }
3681 if (envVariables != null) { 3786 if (envVariables != null) {
3682 _json["envVariables"] = envVariables; 3787 _json["envVariables"] = envVariables;
3683 } 3788 }
3684 if (errorHandlers != null) { 3789 if (errorHandlers != null) {
3685 _json["errorHandlers"] = errorHandlers.map((value) => (value).toJson()).to List(); 3790 _json["errorHandlers"] = errorHandlers.map((value) => (value).toJson()).to List();
3686 } 3791 }
3687 if (handlers != null) { 3792 if (handlers != null) {
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
3725 } 3830 }
3726 if (threadsafe != null) { 3831 if (threadsafe != null) {
3727 _json["threadsafe"] = threadsafe; 3832 _json["threadsafe"] = threadsafe;
3728 } 3833 }
3729 if (vm != null) { 3834 if (vm != null) {
3730 _json["vm"] = vm; 3835 _json["vm"] = vm;
3731 } 3836 }
3732 return _json; 3837 return _json;
3733 } 3838 }
3734 } 3839 }
3840
3841 /**
3842 * Volumes mounted within the app container. Only applicable for VM runtimes.
3843 */
3844 class Volume {
3845 /** Unique name for the volume. */
3846 core.String name;
3847 /** Volume size in gigabytes. */
3848 core.double sizeGb;
3849 /** Underlying volume type, e.g. 'tmpfs'. */
3850 core.String volumeType;
3851
3852 Volume();
3853
3854 Volume.fromJson(core.Map _json) {
3855 if (_json.containsKey("name")) {
3856 name = _json["name"];
3857 }
3858 if (_json.containsKey("sizeGb")) {
3859 sizeGb = _json["sizeGb"];
3860 }
3861 if (_json.containsKey("volumeType")) {
3862 volumeType = _json["volumeType"];
3863 }
3864 }
3865
3866 core.Map toJson() {
3867 var _json = new core.Map();
3868 if (name != null) {
3869 _json["name"] = name;
3870 }
3871 if (sizeGb != null) {
3872 _json["sizeGb"] = sizeGb;
3873 }
3874 if (volumeType != null) {
3875 _json["volumeType"] = volumeType;
3876 }
3877 return _json;
3878 }
3879 }
OLDNEW
« no previous file with comments | « generated/googleapis_beta/lib/appengine/v1beta4.dart ('k') | generated/googleapis_beta/lib/clouderrorreporting/v1beta1.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698