| OLD | NEW | 
|---|
| 1 // This is a generated file (see the discoveryapis_generator project). | 1 // This is a generated file (see the discoveryapis_generator project). | 
| 2 | 2 | 
| 3 library googleapis.appengine.v1; | 3 library googleapis.appengine.v1; | 
| 4 | 4 | 
| 5 import 'dart:core' as core; | 5 import 'dart:core' as core; | 
| 6 import 'dart:async' as async; | 6 import 'dart:async' as async; | 
| 7 import 'dart:convert' as convert; | 7 import 'dart:convert' as convert; | 
| 8 | 8 | 
| 9 import 'package:_discoveryapis_commons/_discoveryapis_commons.dart' as commons; | 9 import 'package:_discoveryapis_commons/_discoveryapis_commons.dart' as commons; | 
| 10 import 'package:http/http.dart' as http; | 10 import 'package:http/http.dart' as http; | 
| (...skipping 11 matching lines...) Expand all  Loading... | 
| 22   /** View and manage your data across Google Cloud Platform services */ | 22   /** View and manage your data across Google Cloud Platform services */ | 
| 23   static const CloudPlatformScope = "https://www.googleapis.com/auth/cloud-platf
      orm"; | 23   static const CloudPlatformScope = "https://www.googleapis.com/auth/cloud-platf
      orm"; | 
| 24 | 24 | 
| 25   /** View your data across Google Cloud Platform services */ | 25   /** View your data across Google Cloud Platform services */ | 
| 26   static const CloudPlatformReadOnlyScope = "https://www.googleapis.com/auth/clo
      ud-platform.read-only"; | 26   static const CloudPlatformReadOnlyScope = "https://www.googleapis.com/auth/clo
      ud-platform.read-only"; | 
| 27 | 27 | 
| 28 | 28 | 
| 29   final commons.ApiRequester _requester; | 29   final commons.ApiRequester _requester; | 
| 30 | 30 | 
| 31   AppsResourceApi get apps => new AppsResourceApi(_requester); | 31   AppsResourceApi get apps => new AppsResourceApi(_requester); | 
| 32   ExperimentalResourceApi get experimental => new ExperimentalResourceApi(_reque
      ster); |  | 
| 33 | 32 | 
| 34   AppengineApi(http.Client client, {core.String rootUrl: "https://appengine.goog
      leapis.com/", core.String servicePath: ""}) : | 33   AppengineApi(http.Client client, {core.String rootUrl: "https://appengine.goog
      leapis.com/", core.String servicePath: ""}) : | 
| 35       _requester = new commons.ApiRequester(client, rootUrl, servicePath, USER_A
      GENT); | 34       _requester = new commons.ApiRequester(client, rootUrl, servicePath, USER_A
      GENT); | 
| 36 } | 35 } | 
| 37 | 36 | 
| 38 | 37 | 
| 39 class AppsResourceApi { | 38 class AppsResourceApi { | 
| 40   final commons.ApiRequester _requester; | 39   final commons.ApiRequester _requester; | 
| 41 | 40 | 
| 42   AppsLocationsResourceApi get locations => new AppsLocationsResourceApi(_reques
      ter); | 41   AppsLocationsResourceApi get locations => new AppsLocationsResourceApi(_reques
      ter); | 
| 43   AppsOperationsResourceApi get operations => new AppsOperationsResourceApi(_req
      uester); | 42   AppsOperationsResourceApi get operations => new AppsOperationsResourceApi(_req
      uester); | 
| 44   AppsServicesResourceApi get services => new AppsServicesResourceApi(_requester
      ); | 43   AppsServicesResourceApi get services => new AppsServicesResourceApi(_requester
      ); | 
| 45 | 44 | 
| 46   AppsResourceApi(commons.ApiRequester client) : | 45   AppsResourceApi(commons.ApiRequester client) : | 
| 47       _requester = client; | 46       _requester = client; | 
| 48 | 47 | 
| 49   /** | 48   /** | 
| 50    * 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 | 
| 51    * requires a project that excludes an App Engine application. For details | 50    * requires a project that excludes an App Engine application. For details | 
| 52    * about creating a project without an application, see the [Google Cloud | 51    * about creating a project without an application, see the Google Cloud | 
| 53    * Resource Manager create project | 52    * Resource Manager create project topic | 
| 54    * topic](https://cloud.google.com/resource-manager/docs/creating-project). | 53    * (https://cloud.google.com/resource-manager/docs/creating-project). | 
| 55    * | 54    * | 
| 56    * [request] - The metadata request object. | 55    * [request] - The metadata request object. | 
| 57    * | 56    * | 
| 58    * Request parameters: | 57    * Request parameters: | 
| 59    * | 58    * | 
| 60    * Completes with a [Operation]. | 59    * Completes with a [Operation]. | 
| 61    * | 60    * | 
| 62    * Completes with a [commons.ApiRequestError] if the API endpoint returned an | 61    * Completes with a [commons.ApiRequestError] if the API endpoint returned an | 
| 63    * error. | 62    * error. | 
| 64    * | 63    * | 
| (...skipping 23 matching lines...) Expand all  Loading... | 
| 88                                        downloadOptions: _downloadOptions); | 87                                        downloadOptions: _downloadOptions); | 
| 89     return _response.then((data) => new Operation.fromJson(data)); | 88     return _response.then((data) => new Operation.fromJson(data)); | 
| 90   } | 89   } | 
| 91 | 90 | 
| 92   /** | 91   /** | 
| 93    * Gets information about an application. | 92    * Gets information about an application. | 
| 94    * | 93    * | 
| 95    * Request parameters: | 94    * Request parameters: | 
| 96    * | 95    * | 
| 97    * [appsId] - Part of `name`. Name of the Application resource to get. | 96    * [appsId] - Part of `name`. Name of the Application resource to get. | 
| 98    * Example: `apps/myapp`. | 97    * Example: apps/myapp. | 
| 99    * | 98    * | 
| 100    * Completes with a [Application]. | 99    * Completes with a [Application]. | 
| 101    * | 100    * | 
| 102    * Completes with a [commons.ApiRequestError] if the API endpoint returned an | 101    * Completes with a [commons.ApiRequestError] if the API endpoint returned an | 
| 103    * error. | 102    * error. | 
| 104    * | 103    * | 
| 105    * If the used [http.Client] completes with an error when making a REST call, | 104    * If the used [http.Client] completes with an error when making a REST call, | 
| 106    * this method will complete with the same error. | 105    * this method will complete with the same error. | 
| 107    */ | 106    */ | 
| 108   async.Future<Application> get(core.String appsId) { | 107   async.Future<Application> get(core.String appsId) { | 
| (...skipping 14 matching lines...) Expand all  Loading... | 
| 123                                        "GET", | 122                                        "GET", | 
| 124                                        body: _body, | 123                                        body: _body, | 
| 125                                        queryParams: _queryParams, | 124                                        queryParams: _queryParams, | 
| 126                                        uploadOptions: _uploadOptions, | 125                                        uploadOptions: _uploadOptions, | 
| 127                                        uploadMedia: _uploadMedia, | 126                                        uploadMedia: _uploadMedia, | 
| 128                                        downloadOptions: _downloadOptions); | 127                                        downloadOptions: _downloadOptions); | 
| 129     return _response.then((data) => new Application.fromJson(data)); | 128     return _response.then((data) => new Application.fromJson(data)); | 
| 130   } | 129   } | 
| 131 | 130 | 
| 132   /** | 131   /** | 
| 133    * Updates application fields. | 132    * Updates the specified Application resource. You can update the following | 
|  | 133    * fields: auth_domain | 
|  | 134    * (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps#A
      pplication.FIELDS.auth_domain) | 
|  | 135    * default_cookie_expiration | 
|  | 136    * (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps#A
      pplication.FIELDS.default_cookie_expiration) | 
| 134    * | 137    * | 
| 135    * [request] - The metadata request object. | 138    * [request] - The metadata request object. | 
| 136    * | 139    * | 
| 137    * Request parameters: | 140    * Request parameters: | 
| 138    * | 141    * | 
| 139    * [appsId] - Part of `name`. Name of the application to update. Example: | 142    * [appsId] - Part of `name`. Name of the Application resource to update. | 
| 140    * `apps/myapp`. | 143    * Example: apps/myapp. | 
| 141    * | 144    * | 
| 142    * [updateMask] - Standard field mask for the set of fields to be updated. | 145    * [updateMask] - Standard field mask for the set of fields to be updated. | 
| 143    * | 146    * | 
| 144    * Completes with a [Operation]. | 147    * Completes with a [Operation]. | 
| 145    * | 148    * | 
| 146    * Completes with a [commons.ApiRequestError] if the API endpoint returned an | 149    * Completes with a [commons.ApiRequestError] if the API endpoint returned an | 
| 147    * error. | 150    * error. | 
| 148    * | 151    * | 
| 149    * If the used [http.Client] completes with an error when making a REST call, | 152    * If the used [http.Client] completes with an error when making a REST call, | 
| 150    * this method will complete with the same error. | 153    * this method will complete with the same error. | 
| (...skipping 22 matching lines...) Expand all  Loading... | 
| 173                                        "PATCH", | 176                                        "PATCH", | 
| 174                                        body: _body, | 177                                        body: _body, | 
| 175                                        queryParams: _queryParams, | 178                                        queryParams: _queryParams, | 
| 176                                        uploadOptions: _uploadOptions, | 179                                        uploadOptions: _uploadOptions, | 
| 177                                        uploadMedia: _uploadMedia, | 180                                        uploadMedia: _uploadMedia, | 
| 178                                        downloadOptions: _downloadOptions); | 181                                        downloadOptions: _downloadOptions); | 
| 179     return _response.then((data) => new Operation.fromJson(data)); | 182     return _response.then((data) => new Operation.fromJson(data)); | 
| 180   } | 183   } | 
| 181 | 184 | 
| 182   /** | 185   /** | 
| 183    * Recreates the required App Engine features for the application in your | 186    * Recreates the required App Engine features for the specified App Engine | 
| 184    * project, for example a Cloud Storage bucket or App Engine service account. | 187    * application, for example a Cloud Storage bucket or App Engine service | 
| 185    * Use this method if you receive an error message about a missing feature, | 188    * account. Use this method if you receive an error message about a missing | 
| 186    * for example "*Error retrieving the App Engine service account*". | 189    * feature, for example, Error retrieving the App Engine service account. | 
| 187    * | 190    * | 
| 188    * [request] - The metadata request object. | 191    * [request] - The metadata request object. | 
| 189    * | 192    * | 
| 190    * Request parameters: | 193    * Request parameters: | 
| 191    * | 194    * | 
| 192    * [appsId] - Part of `name`. Name of the application to repair. Example: | 195    * [appsId] - Part of `name`. Name of the application to repair. Example: | 
| 193    * `apps/myapp` | 196    * apps/myapp | 
| 194    * | 197    * | 
| 195    * Completes with a [Operation]. | 198    * Completes with a [Operation]. | 
| 196    * | 199    * | 
| 197    * Completes with a [commons.ApiRequestError] if the API endpoint returned an | 200    * Completes with a [commons.ApiRequestError] if the API endpoint returned an | 
| 198    * error. | 201    * error. | 
| 199    * | 202    * | 
| 200    * If the used [http.Client] completes with an error when making a REST call, | 203    * If the used [http.Client] completes with an error when making a REST call, | 
| 201    * this method will complete with the same error. | 204    * this method will complete with the same error. | 
| 202    */ | 205    */ | 
| 203   async.Future<Operation> repair(RepairApplicationRequest request, core.String a
      ppsId) { | 206   async.Future<Operation> repair(RepairApplicationRequest request, core.String a
      ppsId) { | 
| (...skipping 181 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 385                                        body: _body, | 388                                        body: _body, | 
| 386                                        queryParams: _queryParams, | 389                                        queryParams: _queryParams, | 
| 387                                        uploadOptions: _uploadOptions, | 390                                        uploadOptions: _uploadOptions, | 
| 388                                        uploadMedia: _uploadMedia, | 391                                        uploadMedia: _uploadMedia, | 
| 389                                        downloadOptions: _downloadOptions); | 392                                        downloadOptions: _downloadOptions); | 
| 390     return _response.then((data) => new Operation.fromJson(data)); | 393     return _response.then((data) => new Operation.fromJson(data)); | 
| 391   } | 394   } | 
| 392 | 395 | 
| 393   /** | 396   /** | 
| 394    * Lists operations that match the specified filter in the request. If the | 397    * Lists operations that match the specified filter in the request. If the | 
| 395    * server doesn't support this method, it returns `UNIMPLEMENTED`. NOTE: the | 398    * server doesn't support this method, it returns UNIMPLEMENTED.NOTE: the name | 
| 396    * `name` binding below allows API services to override the binding to use | 399    * binding below allows API services to override the binding to use different | 
| 397    * different resource name schemes, such as `users / * /operations`. | 400    * resource name schemes, such as users / * /operations. | 
| 398    * | 401    * | 
| 399    * Request parameters: | 402    * Request parameters: | 
| 400    * | 403    * | 
| 401    * [appsId] - Part of `name`. The name of the operation collection. | 404    * [appsId] - Part of `name`. The name of the operation collection. | 
| 402    * | 405    * | 
| 403    * [filter] - The standard list filter. | 406    * [filter] - The standard list filter. | 
| 404    * | 407    * | 
| 405    * [pageSize] - The standard list page size. | 408    * [pageSize] - The standard list page size. | 
| 406    * | 409    * | 
| 407    * [pageToken] - The standard list page token. | 410    * [pageToken] - The standard list page token. | 
| (...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 457 | 460 | 
| 458   AppsServicesResourceApi(commons.ApiRequester client) : | 461   AppsServicesResourceApi(commons.ApiRequester client) : | 
| 459       _requester = client; | 462       _requester = client; | 
| 460 | 463 | 
| 461   /** | 464   /** | 
| 462    * Deletes the specified service and all enclosed versions. | 465    * Deletes the specified service and all enclosed versions. | 
| 463    * | 466    * | 
| 464    * Request parameters: | 467    * Request parameters: | 
| 465    * | 468    * | 
| 466    * [appsId] - Part of `name`. Name of the resource requested. Example: | 469    * [appsId] - Part of `name`. Name of the resource requested. Example: | 
| 467    * `apps/myapp/services/default`. | 470    * apps/myapp/services/default. | 
| 468    * | 471    * | 
| 469    * [servicesId] - Part of `name`. See documentation of `appsId`. | 472    * [servicesId] - Part of `name`. See documentation of `appsId`. | 
| 470    * | 473    * | 
| 471    * Completes with a [Operation]. | 474    * Completes with a [Operation]. | 
| 472    * | 475    * | 
| 473    * Completes with a [commons.ApiRequestError] if the API endpoint returned an | 476    * Completes with a [commons.ApiRequestError] if the API endpoint returned an | 
| 474    * error. | 477    * error. | 
| 475    * | 478    * | 
| 476    * If the used [http.Client] completes with an error when making a REST call, | 479    * If the used [http.Client] completes with an error when making a REST call, | 
| 477    * this method will complete with the same error. | 480    * this method will complete with the same error. | 
| (...skipping 24 matching lines...) Expand all  Loading... | 
| 502                                        downloadOptions: _downloadOptions); | 505                                        downloadOptions: _downloadOptions); | 
| 503     return _response.then((data) => new Operation.fromJson(data)); | 506     return _response.then((data) => new Operation.fromJson(data)); | 
| 504   } | 507   } | 
| 505 | 508 | 
| 506   /** | 509   /** | 
| 507    * Gets the current configuration of the specified service. | 510    * Gets the current configuration of the specified service. | 
| 508    * | 511    * | 
| 509    * Request parameters: | 512    * Request parameters: | 
| 510    * | 513    * | 
| 511    * [appsId] - Part of `name`. Name of the resource requested. Example: | 514    * [appsId] - Part of `name`. Name of the resource requested. Example: | 
| 512    * `apps/myapp/services/default`. | 515    * apps/myapp/services/default. | 
| 513    * | 516    * | 
| 514    * [servicesId] - Part of `name`. See documentation of `appsId`. | 517    * [servicesId] - Part of `name`. See documentation of `appsId`. | 
| 515    * | 518    * | 
| 516    * Completes with a [Service]. | 519    * Completes with a [Service]. | 
| 517    * | 520    * | 
| 518    * Completes with a [commons.ApiRequestError] if the API endpoint returned an | 521    * Completes with a [commons.ApiRequestError] if the API endpoint returned an | 
| 519    * error. | 522    * error. | 
| 520    * | 523    * | 
| 521    * If the used [http.Client] completes with an error when making a REST call, | 524    * If the used [http.Client] completes with an error when making a REST call, | 
| 522    * this method will complete with the same error. | 525    * this method will complete with the same error. | 
| (...skipping 24 matching lines...) Expand all  Loading... | 
| 547                                        downloadOptions: _downloadOptions); | 550                                        downloadOptions: _downloadOptions); | 
| 548     return _response.then((data) => new Service.fromJson(data)); | 551     return _response.then((data) => new Service.fromJson(data)); | 
| 549   } | 552   } | 
| 550 | 553 | 
| 551   /** | 554   /** | 
| 552    * Lists all the services in the application. | 555    * Lists all the services in the application. | 
| 553    * | 556    * | 
| 554    * Request parameters: | 557    * Request parameters: | 
| 555    * | 558    * | 
| 556    * [appsId] - Part of `parent`. Name of the parent Application resource. | 559    * [appsId] - Part of `parent`. Name of the parent Application resource. | 
| 557    * Example: `apps/myapp`. | 560    * Example: apps/myapp. | 
| 558    * | 561    * | 
| 559    * [pageSize] - Maximum results to return per page. | 562    * [pageSize] - Maximum results to return per page. | 
| 560    * | 563    * | 
| 561    * [pageToken] - Continuation token for fetching the next page of results. | 564    * [pageToken] - Continuation token for fetching the next page of results. | 
| 562    * | 565    * | 
| 563    * Completes with a [ListServicesResponse]. | 566    * Completes with a [ListServicesResponse]. | 
| 564    * | 567    * | 
| 565    * Completes with a [commons.ApiRequestError] if the API endpoint returned an | 568    * Completes with a [commons.ApiRequestError] if the API endpoint returned an | 
| 566    * error. | 569    * error. | 
| 567    * | 570    * | 
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 599   } | 602   } | 
| 600 | 603 | 
| 601   /** | 604   /** | 
| 602    * Updates the configuration of the specified service. | 605    * Updates the configuration of the specified service. | 
| 603    * | 606    * | 
| 604    * [request] - The metadata request object. | 607    * [request] - The metadata request object. | 
| 605    * | 608    * | 
| 606    * Request parameters: | 609    * Request parameters: | 
| 607    * | 610    * | 
| 608    * [appsId] - Part of `name`. Name of the resource to update. Example: | 611    * [appsId] - Part of `name`. Name of the resource to update. Example: | 
| 609    * `apps/myapp/services/default`. | 612    * apps/myapp/services/default. | 
| 610    * | 613    * | 
| 611    * [servicesId] - Part of `name`. See documentation of `appsId`. | 614    * [servicesId] - Part of `name`. See documentation of `appsId`. | 
| 612    * | 615    * | 
| 613    * [updateMask] - Standard field mask for the set of fields to be updated. | 616    * [updateMask] - Standard field mask for the set of fields to be updated. | 
| 614    * | 617    * | 
| 615    * [migrateTraffic] - Set to `true` to gradually shift traffic from one | 618    * [migrateTraffic] - Set to true to gradually shift traffic from one version | 
| 616    * version to another single version. By default, traffic is shifted | 619    * to another single version. By default, traffic is shifted immediately. For | 
| 617    * immediately. For gradual traffic migration, the target version must be | 620    * gradual traffic migration, the target version must be located within | 
| 618    * located within instances that are configured for both [warmup | 621    * instances that are configured for both warmup requests | 
| 619    * requests](https://cloud.google.com/appengine/docs/admin-api/reference/rest/
      v1/apps.services.versions#inboundservicetype) | 622    * (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.s
      ervices.versions#inboundservicetype) | 
| 620    * and [automatic | 623    * and automatic scaling | 
| 621    * scaling](https://cloud.google.com/appengine/docs/admin-api/reference/rest/v
      1/apps.services.versions#automaticscaling). | 624    * (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.s
      ervices.versions#automaticscaling). | 
| 622    * You must specify the | 625    * You must specify the shardBy | 
| 623    * [`shardBy`](https://cloud.google.com/appengine/docs/admin-api/reference/res
      t/v1/apps.services#shardby) | 626    * (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.s
      ervices#shardby) | 
| 624    * field in the Service resource. Gradual traffic migration is not supported | 627    * field in the Service resource. Gradual traffic migration is not supported | 
| 625    * in the App Engine flexible environment. For examples, see [Migrating and | 628    * in the App Engine flexible environment. For examples, see Migrating and | 
| 626    * Splitting | 629    * Splitting Traffic | 
| 627    * Traffic](https://cloud.google.com/appengine/docs/admin-api/migrating-splitt
      ing-traffic). | 630    * (https://cloud.google.com/appengine/docs/admin-api/migrating-splitting-traf
      fic). | 
| 628    * | 631    * | 
| 629    * Completes with a [Operation]. | 632    * Completes with a [Operation]. | 
| 630    * | 633    * | 
| 631    * Completes with a [commons.ApiRequestError] if the API endpoint returned an | 634    * Completes with a [commons.ApiRequestError] if the API endpoint returned an | 
| 632    * error. | 635    * error. | 
| 633    * | 636    * | 
| 634    * If the used [http.Client] completes with an error when making a REST call, | 637    * If the used [http.Client] completes with an error when making a REST call, | 
| 635    * this method will complete with the same error. | 638    * this method will complete with the same error. | 
| 636    */ | 639    */ | 
| 637   async.Future<Operation> patch(Service request, core.String appsId, core.String
       servicesId, {core.String updateMask, core.bool migrateTraffic}) { | 640   async.Future<Operation> patch(Service request, core.String appsId, core.String
       servicesId, {core.String updateMask, core.bool migrateTraffic}) { | 
| (...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 682       _requester = client; | 685       _requester = client; | 
| 683 | 686 | 
| 684   /** | 687   /** | 
| 685    * Deploys code and resource files to a new version. | 688    * Deploys code and resource files to a new version. | 
| 686    * | 689    * | 
| 687    * [request] - The metadata request object. | 690    * [request] - The metadata request object. | 
| 688    * | 691    * | 
| 689    * Request parameters: | 692    * Request parameters: | 
| 690    * | 693    * | 
| 691    * [appsId] - Part of `parent`. Name of the parent resource to create this | 694    * [appsId] - Part of `parent`. Name of the parent resource to create this | 
| 692    * version under. Example: `apps/myapp/services/default`. | 695    * version under. Example: apps/myapp/services/default. | 
| 693    * | 696    * | 
| 694    * [servicesId] - Part of `parent`. See documentation of `appsId`. | 697    * [servicesId] - Part of `parent`. See documentation of `appsId`. | 
| 695    * | 698    * | 
| 696    * Completes with a [Operation]. | 699    * Completes with a [Operation]. | 
| 697    * | 700    * | 
| 698    * Completes with a [commons.ApiRequestError] if the API endpoint returned an | 701    * Completes with a [commons.ApiRequestError] if the API endpoint returned an | 
| 699    * error. | 702    * error. | 
| 700    * | 703    * | 
| 701    * If the used [http.Client] completes with an error when making a REST call, | 704    * If the used [http.Client] completes with an error when making a REST call, | 
| 702    * this method will complete with the same error. | 705    * this method will complete with the same error. | 
| (...skipping 27 matching lines...) Expand all  Loading... | 
| 730                                        downloadOptions: _downloadOptions); | 733                                        downloadOptions: _downloadOptions); | 
| 731     return _response.then((data) => new Operation.fromJson(data)); | 734     return _response.then((data) => new Operation.fromJson(data)); | 
| 732   } | 735   } | 
| 733 | 736 | 
| 734   /** | 737   /** | 
| 735    * Deletes an existing Version resource. | 738    * Deletes an existing Version resource. | 
| 736    * | 739    * | 
| 737    * Request parameters: | 740    * Request parameters: | 
| 738    * | 741    * | 
| 739    * [appsId] - Part of `name`. Name of the resource requested. Example: | 742    * [appsId] - Part of `name`. Name of the resource requested. Example: | 
| 740    * `apps/myapp/services/default/versions/v1`. | 743    * apps/myapp/services/default/versions/v1. | 
| 741    * | 744    * | 
| 742    * [servicesId] - Part of `name`. See documentation of `appsId`. | 745    * [servicesId] - Part of `name`. See documentation of `appsId`. | 
| 743    * | 746    * | 
| 744    * [versionsId] - Part of `name`. See documentation of `appsId`. | 747    * [versionsId] - Part of `name`. See documentation of `appsId`. | 
| 745    * | 748    * | 
| 746    * Completes with a [Operation]. | 749    * Completes with a [Operation]. | 
| 747    * | 750    * | 
| 748    * Completes with a [commons.ApiRequestError] if the API endpoint returned an | 751    * Completes with a [commons.ApiRequestError] if the API endpoint returned an | 
| 749    * error. | 752    * error. | 
| 750    * | 753    * | 
| (...skipping 24 matching lines...) Expand all  Loading... | 
| 775                                        "DELETE", | 778                                        "DELETE", | 
| 776                                        body: _body, | 779                                        body: _body, | 
| 777                                        queryParams: _queryParams, | 780                                        queryParams: _queryParams, | 
| 778                                        uploadOptions: _uploadOptions, | 781                                        uploadOptions: _uploadOptions, | 
| 779                                        uploadMedia: _uploadMedia, | 782                                        uploadMedia: _uploadMedia, | 
| 780                                        downloadOptions: _downloadOptions); | 783                                        downloadOptions: _downloadOptions); | 
| 781     return _response.then((data) => new Operation.fromJson(data)); | 784     return _response.then((data) => new Operation.fromJson(data)); | 
| 782   } | 785   } | 
| 783 | 786 | 
| 784   /** | 787   /** | 
| 785    * Gets the specified Version resource. By default, only a `BASIC_VIEW` will | 788    * Gets the specified Version resource. By default, only a BASIC_VIEW will be | 
| 786    * be returned. Specify the `FULL_VIEW` parameter to get the full resource. | 789    * returned. Specify the FULL_VIEW parameter to get the full resource. | 
| 787    * | 790    * | 
| 788    * Request parameters: | 791    * Request parameters: | 
| 789    * | 792    * | 
| 790    * [appsId] - Part of `name`. Name of the resource requested. Example: | 793    * [appsId] - Part of `name`. Name of the resource requested. Example: | 
| 791    * `apps/myapp/services/default/versions/v1`. | 794    * apps/myapp/services/default/versions/v1. | 
| 792    * | 795    * | 
| 793    * [servicesId] - Part of `name`. See documentation of `appsId`. | 796    * [servicesId] - Part of `name`. See documentation of `appsId`. | 
| 794    * | 797    * | 
| 795    * [versionsId] - Part of `name`. See documentation of `appsId`. | 798    * [versionsId] - Part of `name`. See documentation of `appsId`. | 
| 796    * | 799    * | 
| 797    * [view] - Controls the set of fields returned in the `Get` response. | 800    * [view] - Controls the set of fields returned in the Get response. | 
| 798    * Possible string values are: | 801    * Possible string values are: | 
| 799    * - "BASIC" : A BASIC. | 802    * - "BASIC" : A BASIC. | 
| 800    * - "FULL" : A FULL. | 803    * - "FULL" : A FULL. | 
| 801    * | 804    * | 
| 802    * Completes with a [Version]. | 805    * Completes with a [Version]. | 
| 803    * | 806    * | 
| 804    * Completes with a [commons.ApiRequestError] if the API endpoint returned an | 807    * Completes with a [commons.ApiRequestError] if the API endpoint returned an | 
| 805    * error. | 808    * error. | 
| 806    * | 809    * | 
| 807    * If the used [http.Client] completes with an error when making a REST call, | 810    * 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  Loading... | 
| 839                                        downloadOptions: _downloadOptions); | 842                                        downloadOptions: _downloadOptions); | 
| 840     return _response.then((data) => new Version.fromJson(data)); | 843     return _response.then((data) => new Version.fromJson(data)); | 
| 841   } | 844   } | 
| 842 | 845 | 
| 843   /** | 846   /** | 
| 844    * Lists the versions of a service. | 847    * Lists the versions of a service. | 
| 845    * | 848    * | 
| 846    * Request parameters: | 849    * Request parameters: | 
| 847    * | 850    * | 
| 848    * [appsId] - Part of `parent`. Name of the parent Service resource. Example: | 851    * [appsId] - Part of `parent`. Name of the parent Service resource. Example: | 
| 849    * `apps/myapp/services/default`. | 852    * apps/myapp/services/default. | 
| 850    * | 853    * | 
| 851    * [servicesId] - Part of `parent`. See documentation of `appsId`. | 854    * [servicesId] - Part of `parent`. See documentation of `appsId`. | 
| 852    * | 855    * | 
| 853    * [view] - Controls the set of fields returned in the `List` response. | 856    * [view] - Controls the set of fields returned in the List response. | 
| 854    * Possible string values are: | 857    * Possible string values are: | 
| 855    * - "BASIC" : A BASIC. | 858    * - "BASIC" : A BASIC. | 
| 856    * - "FULL" : A FULL. | 859    * - "FULL" : A FULL. | 
| 857    * | 860    * | 
| 858    * [pageSize] - Maximum results to return per page. | 861    * [pageSize] - Maximum results to return per page. | 
| 859    * | 862    * | 
| 860    * [pageToken] - Continuation token for fetching the next page of results. | 863    * [pageToken] - Continuation token for fetching the next page of results. | 
| 861    * | 864    * | 
| 862    * Completes with a [ListVersionsResponse]. | 865    * Completes with a [ListVersionsResponse]. | 
| 863    * | 866    * | 
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 899                                        queryParams: _queryParams, | 902                                        queryParams: _queryParams, | 
| 900                                        uploadOptions: _uploadOptions, | 903                                        uploadOptions: _uploadOptions, | 
| 901                                        uploadMedia: _uploadMedia, | 904                                        uploadMedia: _uploadMedia, | 
| 902                                        downloadOptions: _downloadOptions); | 905                                        downloadOptions: _downloadOptions); | 
| 903     return _response.then((data) => new ListVersionsResponse.fromJson(data)); | 906     return _response.then((data) => new ListVersionsResponse.fromJson(data)); | 
| 904   } | 907   } | 
| 905 | 908 | 
| 906   /** | 909   /** | 
| 907    * Updates the specified Version resource. You can specify the following | 910    * Updates the specified Version resource. You can specify the following | 
| 908    * fields depending on the App Engine environment and type of scaling that the | 911    * fields depending on the App Engine environment and type of scaling that the | 
| 909    * version resource uses: * | 912    * version resource uses: serving_status | 
| 910    * [`serving_status`](https://cloud.google.com/appengine/docs/admin-api/refere
      nce/rest/v1/apps.services.versions#Version.FIELDS.serving_status): | 913    * (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.s
      ervices.versions#Version.FIELDS.serving_status): | 
| 911    * For Version resources that use basic scaling, manual scaling, or run in the | 914    * For Version resources that use basic scaling, manual scaling, or run in the | 
| 912    * App Engine flexible environment. * | 915    * App Engine flexible environment. instance_class | 
| 913    * [`instance_class`](https://cloud.google.com/appengine/docs/admin-api/refere
      nce/rest/v1/apps.services.versions#Version.FIELDS.instance_class): | 916    * (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.s
      ervices.versions#Version.FIELDS.instance_class): | 
| 914    * For Version resources that run in the App Engine standard environment. * | 917    * For Version resources that run in the App Engine standard environment. | 
| 915    * [`automatic_scaling.min_idle_instances`](https://cloud.google.com/appengine
      /docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.automati
      c_scaling): | 918    * automatic_scaling.min_idle_instances | 
|  | 919    * (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.s
      ervices.versions#Version.FIELDS.automatic_scaling): | 
| 916    * For Version resources that use automatic scaling and run in the App Engine | 920    * For Version resources that use automatic scaling and run in the App Engine | 
| 917    * standard environment. * | 921    * standard environment. automatic_scaling.max_idle_instances | 
| 918    * [`automatic_scaling.max_idle_instances`](https://cloud.google.com/appengine
      /docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.automati
      c_scaling): | 922    * (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.s
      ervices.versions#Version.FIELDS.automatic_scaling): | 
| 919    * For Version resources that use automatic scaling and run in the App Engine | 923    * For Version resources that use automatic scaling and run in the App Engine | 
| 920    * standard environment. | 924    * standard environment. | 
| 921    * | 925    * | 
| 922    * [request] - The metadata request object. | 926    * [request] - The metadata request object. | 
| 923    * | 927    * | 
| 924    * Request parameters: | 928    * Request parameters: | 
| 925    * | 929    * | 
| 926    * [appsId] - Part of `name`. Name of the resource to update. Example: | 930    * [appsId] - Part of `name`. Name of the resource to update. Example: | 
| 927    * `apps/myapp/services/default/versions/1`. | 931    * apps/myapp/services/default/versions/1. | 
| 928    * | 932    * | 
| 929    * [servicesId] - Part of `name`. See documentation of `appsId`. | 933    * [servicesId] - Part of `name`. See documentation of `appsId`. | 
| 930    * | 934    * | 
| 931    * [versionsId] - Part of `name`. See documentation of `appsId`. | 935    * [versionsId] - Part of `name`. See documentation of `appsId`. | 
| 932    * | 936    * | 
| 933    * [updateMask] - Standard field mask for the set of fields to be updated. | 937    * [updateMask] - Standard field mask for the set of fields to be updated. | 
| 934    * | 938    * | 
| 935    * Completes with a [Operation]. | 939    * Completes with a [Operation]. | 
| 936    * | 940    * | 
| 937    * Completes with a [commons.ApiRequestError] if the API endpoint returned an | 941    * Completes with a [commons.ApiRequestError] if the API endpoint returned an | 
| (...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 983   final commons.ApiRequester _requester; | 987   final commons.ApiRequester _requester; | 
| 984 | 988 | 
| 985   AppsServicesVersionsInstancesResourceApi(commons.ApiRequester client) : | 989   AppsServicesVersionsInstancesResourceApi(commons.ApiRequester client) : | 
| 986       _requester = client; | 990       _requester = client; | 
| 987 | 991 | 
| 988   /** | 992   /** | 
| 989    * Enables debugging on a VM instance. This allows you to use the SSH command | 993    * Enables debugging on a VM instance. This allows you to use the SSH command | 
| 990    * to connect to the virtual machine where the instance lives. While in "debug | 994    * to connect to the virtual machine where the instance lives. While in "debug | 
| 991    * mode", the instance continues to serve live traffic. You should delete the | 995    * mode", the instance continues to serve live traffic. You should delete the | 
| 992    * instance when you are done debugging and then allow the system to take over | 996    * instance when you are done debugging and then allow the system to take over | 
| 993    * and determine if another instance should be started. Only applicable for | 997    * and determine if another instance should be started.Only applicable for | 
| 994    * instances in App Engine flexible environment. | 998    * instances in App Engine flexible environment. | 
| 995    * | 999    * | 
| 996    * [request] - The metadata request object. | 1000    * [request] - The metadata request object. | 
| 997    * | 1001    * | 
| 998    * Request parameters: | 1002    * Request parameters: | 
| 999    * | 1003    * | 
| 1000    * [appsId] - Part of `name`. Name of the resource requested. Example: | 1004    * [appsId] - Part of `name`. Name of the resource requested. Example: | 
| 1001    * `apps/myapp/services/default/versions/v1/instances/instance-1`. | 1005    * apps/myapp/services/default/versions/v1/instances/instance-1. | 
| 1002    * | 1006    * | 
| 1003    * [servicesId] - Part of `name`. See documentation of `appsId`. | 1007    * [servicesId] - Part of `name`. See documentation of `appsId`. | 
| 1004    * | 1008    * | 
| 1005    * [versionsId] - Part of `name`. See documentation of `appsId`. | 1009    * [versionsId] - Part of `name`. See documentation of `appsId`. | 
| 1006    * | 1010    * | 
| 1007    * [instancesId] - Part of `name`. See documentation of `appsId`. | 1011    * [instancesId] - Part of `name`. See documentation of `appsId`. | 
| 1008    * | 1012    * | 
| 1009    * Completes with a [Operation]. | 1013    * Completes with a [Operation]. | 
| 1010    * | 1014    * | 
| 1011    * Completes with a [commons.ApiRequestError] if the API endpoint returned an | 1015    * Completes with a [commons.ApiRequestError] if the API endpoint returned an | 
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 1049                                        downloadOptions: _downloadOptions); | 1053                                        downloadOptions: _downloadOptions); | 
| 1050     return _response.then((data) => new Operation.fromJson(data)); | 1054     return _response.then((data) => new Operation.fromJson(data)); | 
| 1051   } | 1055   } | 
| 1052 | 1056 | 
| 1053   /** | 1057   /** | 
| 1054    * Stops a running instance. | 1058    * Stops a running instance. | 
| 1055    * | 1059    * | 
| 1056    * Request parameters: | 1060    * Request parameters: | 
| 1057    * | 1061    * | 
| 1058    * [appsId] - Part of `name`. Name of the resource requested. Example: | 1062    * [appsId] - Part of `name`. Name of the resource requested. Example: | 
| 1059    * `apps/myapp/services/default/versions/v1/instances/instance-1`. | 1063    * apps/myapp/services/default/versions/v1/instances/instance-1. | 
| 1060    * | 1064    * | 
| 1061    * [servicesId] - Part of `name`. See documentation of `appsId`. | 1065    * [servicesId] - Part of `name`. See documentation of `appsId`. | 
| 1062    * | 1066    * | 
| 1063    * [versionsId] - Part of `name`. See documentation of `appsId`. | 1067    * [versionsId] - Part of `name`. See documentation of `appsId`. | 
| 1064    * | 1068    * | 
| 1065    * [instancesId] - Part of `name`. See documentation of `appsId`. | 1069    * [instancesId] - Part of `name`. See documentation of `appsId`. | 
| 1066    * | 1070    * | 
| 1067    * Completes with a [Operation]. | 1071    * Completes with a [Operation]. | 
| 1068    * | 1072    * | 
| 1069    * Completes with a [commons.ApiRequestError] if the API endpoint returned an | 1073    * Completes with a [commons.ApiRequestError] if the API endpoint returned an | 
| (...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 1104                                        downloadOptions: _downloadOptions); | 1108                                        downloadOptions: _downloadOptions); | 
| 1105     return _response.then((data) => new Operation.fromJson(data)); | 1109     return _response.then((data) => new Operation.fromJson(data)); | 
| 1106   } | 1110   } | 
| 1107 | 1111 | 
| 1108   /** | 1112   /** | 
| 1109    * Gets instance information. | 1113    * Gets instance information. | 
| 1110    * | 1114    * | 
| 1111    * Request parameters: | 1115    * Request parameters: | 
| 1112    * | 1116    * | 
| 1113    * [appsId] - Part of `name`. Name of the resource requested. Example: | 1117    * [appsId] - Part of `name`. Name of the resource requested. Example: | 
| 1114    * `apps/myapp/services/default/versions/v1/instances/instance-1`. | 1118    * apps/myapp/services/default/versions/v1/instances/instance-1. | 
| 1115    * | 1119    * | 
| 1116    * [servicesId] - Part of `name`. See documentation of `appsId`. | 1120    * [servicesId] - Part of `name`. See documentation of `appsId`. | 
| 1117    * | 1121    * | 
| 1118    * [versionsId] - Part of `name`. See documentation of `appsId`. | 1122    * [versionsId] - Part of `name`. See documentation of `appsId`. | 
| 1119    * | 1123    * | 
| 1120    * [instancesId] - Part of `name`. See documentation of `appsId`. | 1124    * [instancesId] - Part of `name`. See documentation of `appsId`. | 
| 1121    * | 1125    * | 
| 1122    * Completes with a [Instance]. | 1126    * Completes with a [Instance]. | 
| 1123    * | 1127    * | 
| 1124    * Completes with a [commons.ApiRequestError] if the API endpoint returned an | 1128    * Completes with a [commons.ApiRequestError] if the API endpoint returned an | 
| (...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 1159                                        downloadOptions: _downloadOptions); | 1163                                        downloadOptions: _downloadOptions); | 
| 1160     return _response.then((data) => new Instance.fromJson(data)); | 1164     return _response.then((data) => new Instance.fromJson(data)); | 
| 1161   } | 1165   } | 
| 1162 | 1166 | 
| 1163   /** | 1167   /** | 
| 1164    * Lists the instances of a version. | 1168    * Lists the instances of a version. | 
| 1165    * | 1169    * | 
| 1166    * Request parameters: | 1170    * Request parameters: | 
| 1167    * | 1171    * | 
| 1168    * [appsId] - Part of `parent`. Name of the parent Version resource. Example: | 1172    * [appsId] - Part of `parent`. Name of the parent Version resource. Example: | 
| 1169    * `apps/myapp/services/default/versions/v1`. | 1173    * apps/myapp/services/default/versions/v1. | 
| 1170    * | 1174    * | 
| 1171    * [servicesId] - Part of `parent`. See documentation of `appsId`. | 1175    * [servicesId] - Part of `parent`. See documentation of `appsId`. | 
| 1172    * | 1176    * | 
| 1173    * [versionsId] - Part of `parent`. See documentation of `appsId`. | 1177    * [versionsId] - Part of `parent`. See documentation of `appsId`. | 
| 1174    * | 1178    * | 
| 1175    * [pageSize] - Maximum results to return per page. | 1179    * [pageSize] - Maximum results to return per page. | 
| 1176    * | 1180    * | 
| 1177    * [pageToken] - Continuation token for fetching the next page of results. | 1181    * [pageToken] - Continuation token for fetching the next page of results. | 
| 1178    * | 1182    * | 
| 1179    * Completes with a [ListInstancesResponse]. | 1183    * Completes with a [ListInstancesResponse]. | 
| (...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 1216                                        queryParams: _queryParams, | 1220                                        queryParams: _queryParams, | 
| 1217                                        uploadOptions: _uploadOptions, | 1221                                        uploadOptions: _uploadOptions, | 
| 1218                                        uploadMedia: _uploadMedia, | 1222                                        uploadMedia: _uploadMedia, | 
| 1219                                        downloadOptions: _downloadOptions); | 1223                                        downloadOptions: _downloadOptions); | 
| 1220     return _response.then((data) => new ListInstancesResponse.fromJson(data)); | 1224     return _response.then((data) => new ListInstancesResponse.fromJson(data)); | 
| 1221   } | 1225   } | 
| 1222 | 1226 | 
| 1223 } | 1227 } | 
| 1224 | 1228 | 
| 1225 | 1229 | 
| 1226 class ExperimentalResourceApi { |  | 
| 1227   final commons.ApiRequester _requester; |  | 
| 1228 |  | 
| 1229   ExperimentalAppsResourceApi get apps => new ExperimentalAppsResourceApi(_reque
      ster); |  | 
| 1230 |  | 
| 1231   ExperimentalResourceApi(commons.ApiRequester client) : |  | 
| 1232       _requester = client; |  | 
| 1233 } |  | 
| 1234 |  | 
| 1235 |  | 
| 1236 class ExperimentalAppsResourceApi { |  | 
| 1237   final commons.ApiRequester _requester; |  | 
| 1238 |  | 
| 1239   ExperimentalAppsOperationsResourceApi get operations => new ExperimentalAppsOp
      erationsResourceApi(_requester); |  | 
| 1240 |  | 
| 1241   ExperimentalAppsResourceApi(commons.ApiRequester client) : |  | 
| 1242       _requester = client; |  | 
| 1243 } |  | 
| 1244 |  | 
| 1245 |  | 
| 1246 class ExperimentalAppsOperationsResourceApi { |  | 
| 1247   final commons.ApiRequester _requester; |  | 
| 1248 |  | 
| 1249   ExperimentalAppsOperationsResourceApi(commons.ApiRequester client) : |  | 
| 1250       _requester = client; |  | 
| 1251 |  | 
| 1252   /** |  | 
| 1253    * Gets the latest state of a long-running operation. Clients can use this |  | 
| 1254    * method to poll the operation result at intervals as recommended by the API |  | 
| 1255    * service. |  | 
| 1256    * |  | 
| 1257    * Request parameters: |  | 
| 1258    * |  | 
| 1259    * [appsId] - Part of `name`. The name of the operation resource. |  | 
| 1260    * |  | 
| 1261    * [operationsId] - Part of `name`. See documentation of `appsId`. |  | 
| 1262    * |  | 
| 1263    * Completes with a [Operation]. |  | 
| 1264    * |  | 
| 1265    * Completes with a [commons.ApiRequestError] if the API endpoint returned an |  | 
| 1266    * error. |  | 
| 1267    * |  | 
| 1268    * If the used [http.Client] completes with an error when making a REST call, |  | 
| 1269    * this method will complete with the same error. |  | 
| 1270    */ |  | 
| 1271   async.Future<Operation> get(core.String appsId, core.String operationsId) { |  | 
| 1272     var _url = null; |  | 
| 1273     var _queryParams = new core.Map(); |  | 
| 1274     var _uploadMedia = null; |  | 
| 1275     var _uploadOptions = null; |  | 
| 1276     var _downloadOptions = commons.DownloadOptions.Metadata; |  | 
| 1277     var _body = null; |  | 
| 1278 |  | 
| 1279     if (appsId == null) { |  | 
| 1280       throw new core.ArgumentError("Parameter appsId is required."); |  | 
| 1281     } |  | 
| 1282     if (operationsId == null) { |  | 
| 1283       throw new core.ArgumentError("Parameter operationsId is required."); |  | 
| 1284     } |  | 
| 1285 |  | 
| 1286     _url = 'experimental/apps/' + commons.Escaper.ecapeVariable('$appsId') + '/o
      perations/' + commons.Escaper.ecapeVariable('$operationsId'); |  | 
| 1287 |  | 
| 1288     var _response = _requester.request(_url, |  | 
| 1289                                        "GET", |  | 
| 1290                                        body: _body, |  | 
| 1291                                        queryParams: _queryParams, |  | 
| 1292                                        uploadOptions: _uploadOptions, |  | 
| 1293                                        uploadMedia: _uploadMedia, |  | 
| 1294                                        downloadOptions: _downloadOptions); |  | 
| 1295     return _response.then((data) => new Operation.fromJson(data)); |  | 
| 1296   } |  | 
| 1297 |  | 
| 1298   /** |  | 
| 1299    * Lists operations that match the specified filter in the request. If the |  | 
| 1300    * server doesn't support this method, it returns `UNIMPLEMENTED`. NOTE: the |  | 
| 1301    * `name` binding below allows API services to override the binding to use |  | 
| 1302    * different resource name schemes, such as `users / * /operations`. |  | 
| 1303    * |  | 
| 1304    * Request parameters: |  | 
| 1305    * |  | 
| 1306    * [appsId] - Part of `name`. The name of the operation collection. |  | 
| 1307    * |  | 
| 1308    * [filter] - The standard list filter. |  | 
| 1309    * |  | 
| 1310    * [pageSize] - The standard list page size. |  | 
| 1311    * |  | 
| 1312    * [pageToken] - The standard list page token. |  | 
| 1313    * |  | 
| 1314    * Completes with a [ListOperationsResponse]. |  | 
| 1315    * |  | 
| 1316    * Completes with a [commons.ApiRequestError] if the API endpoint returned an |  | 
| 1317    * error. |  | 
| 1318    * |  | 
| 1319    * If the used [http.Client] completes with an error when making a REST call, |  | 
| 1320    * this method will complete with the same error. |  | 
| 1321    */ |  | 
| 1322   async.Future<ListOperationsResponse> list(core.String appsId, {core.String fil
      ter, core.int pageSize, core.String pageToken}) { |  | 
| 1323     var _url = null; |  | 
| 1324     var _queryParams = new core.Map(); |  | 
| 1325     var _uploadMedia = null; |  | 
| 1326     var _uploadOptions = null; |  | 
| 1327     var _downloadOptions = commons.DownloadOptions.Metadata; |  | 
| 1328     var _body = null; |  | 
| 1329 |  | 
| 1330     if (appsId == null) { |  | 
| 1331       throw new core.ArgumentError("Parameter appsId is required."); |  | 
| 1332     } |  | 
| 1333     if (filter != null) { |  | 
| 1334       _queryParams["filter"] = [filter]; |  | 
| 1335     } |  | 
| 1336     if (pageSize != null) { |  | 
| 1337       _queryParams["pageSize"] = ["${pageSize}"]; |  | 
| 1338     } |  | 
| 1339     if (pageToken != null) { |  | 
| 1340       _queryParams["pageToken"] = [pageToken]; |  | 
| 1341     } |  | 
| 1342 |  | 
| 1343     _url = 'experimental/apps/' + commons.Escaper.ecapeVariable('$appsId') + '/o
      perations'; |  | 
| 1344 |  | 
| 1345     var _response = _requester.request(_url, |  | 
| 1346                                        "GET", |  | 
| 1347                                        body: _body, |  | 
| 1348                                        queryParams: _queryParams, |  | 
| 1349                                        uploadOptions: _uploadOptions, |  | 
| 1350                                        uploadMedia: _uploadMedia, |  | 
| 1351                                        downloadOptions: _downloadOptions); |  | 
| 1352     return _response.then((data) => new ListOperationsResponse.fromJson(data)); |  | 
| 1353   } |  | 
| 1354 |  | 
| 1355 } |  | 
| 1356 |  | 
| 1357 |  | 
| 1358 | 1230 | 
| 1359 /** | 1231 /** | 
| 1360  * [Google Cloud | 1232  * Google Cloud Endpoints | 
| 1361  * Endpoints](https://cloud.google.com/appengine/docs/python/endpoints/) | 1233  * (https://cloud.google.com/appengine/docs/python/endpoints/) configuration for | 
| 1362  * configuration for API handlers. | 1234  * API handlers. | 
| 1363  */ | 1235  */ | 
| 1364 class ApiConfigHandler { | 1236 class ApiConfigHandler { | 
| 1365   /** | 1237   /** | 
| 1366    * Action to take when users access resources that require authentication. | 1238    * Action to take when users access resources that require authentication. | 
| 1367    * Defaults to `redirect`. | 1239    * Defaults to redirect. | 
| 1368    * Possible string values are: | 1240    * Possible string values are: | 
| 1369    * - "AUTH_FAIL_ACTION_UNSPECIFIED" : A AUTH_FAIL_ACTION_UNSPECIFIED. | 1241    * - "AUTH_FAIL_ACTION_UNSPECIFIED" : A AUTH_FAIL_ACTION_UNSPECIFIED. | 
| 1370    * - "AUTH_FAIL_ACTION_REDIRECT" : A AUTH_FAIL_ACTION_REDIRECT. | 1242    * - "AUTH_FAIL_ACTION_REDIRECT" : A AUTH_FAIL_ACTION_REDIRECT. | 
| 1371    * - "AUTH_FAIL_ACTION_UNAUTHORIZED" : A AUTH_FAIL_ACTION_UNAUTHORIZED. | 1243    * - "AUTH_FAIL_ACTION_UNAUTHORIZED" : A AUTH_FAIL_ACTION_UNAUTHORIZED. | 
| 1372    */ | 1244    */ | 
| 1373   core.String authFailAction; | 1245   core.String authFailAction; | 
| 1374   /** | 1246   /** | 
| 1375    * Level of login required to access this resource. Defaults to `optional`. | 1247    * Level of login required to access this resource. Defaults to optional. | 
| 1376    * Possible string values are: | 1248    * Possible string values are: | 
| 1377    * - "LOGIN_UNSPECIFIED" : A LOGIN_UNSPECIFIED. | 1249    * - "LOGIN_UNSPECIFIED" : A LOGIN_UNSPECIFIED. | 
| 1378    * - "LOGIN_OPTIONAL" : A LOGIN_OPTIONAL. | 1250    * - "LOGIN_OPTIONAL" : A LOGIN_OPTIONAL. | 
| 1379    * - "LOGIN_ADMIN" : A LOGIN_ADMIN. | 1251    * - "LOGIN_ADMIN" : A LOGIN_ADMIN. | 
| 1380    * - "LOGIN_REQUIRED" : A LOGIN_REQUIRED. | 1252    * - "LOGIN_REQUIRED" : A LOGIN_REQUIRED. | 
| 1381    */ | 1253    */ | 
| 1382   core.String login; | 1254   core.String login; | 
| 1383   /** Path to the script from the application root directory. */ | 1255   /** Path to the script from the application root directory. */ | 
| 1384   core.String script; | 1256   core.String script; | 
| 1385   /** | 1257   /** | 
| (...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 1458   } | 1330   } | 
| 1459 } | 1331 } | 
| 1460 | 1332 | 
| 1461 /** | 1333 /** | 
| 1462  * An Application resource contains the top-level configuration of an App Engine | 1334  * An Application resource contains the top-level configuration of an App Engine | 
| 1463  * application. | 1335  * application. | 
| 1464  */ | 1336  */ | 
| 1465 class Application { | 1337 class Application { | 
| 1466   /** | 1338   /** | 
| 1467    * Google Apps authentication domain that controls which users can access this | 1339    * Google Apps authentication domain that controls which users can access this | 
| 1468    * application. Defaults to open access for any Google Account. | 1340    * application.Defaults to open access for any Google Account. | 
| 1469    */ | 1341    */ | 
| 1470   core.String authDomain; | 1342   core.String authDomain; | 
| 1471   /** | 1343   /** | 
| 1472    * Google Cloud Storage bucket that can be used for storing files associated | 1344    * Google Cloud Storage bucket that can be used for storing files associated | 
| 1473    * with this application. This bucket is associated with the application and | 1345    * with this application. This bucket is associated with the application and | 
| 1474    * can be used by the gcloud deployment commands. @OutputOnly | 1346    * can be used by the gcloud deployment commands.@OutputOnly | 
| 1475    */ | 1347    */ | 
| 1476   core.String codeBucket; | 1348   core.String codeBucket; | 
| 1477   /** | 1349   /** | 
| 1478    * Google Cloud Storage bucket that can be used by this application to store | 1350    * Google Cloud Storage bucket that can be used by this application to store | 
| 1479    * content. @OutputOnly | 1351    * content.@OutputOnly | 
| 1480    */ | 1352    */ | 
| 1481   core.String defaultBucket; | 1353   core.String defaultBucket; | 
| 1482   /** Cookie expiration policy for this application. @OutputOnly */ | 1354   /** Cookie expiration policy for this application. */ | 
| 1483   core.String defaultCookieExpiration; | 1355   core.String defaultCookieExpiration; | 
| 1484   /** | 1356   /** | 
| 1485    * Hostname used to reach this application, as resolved by App Engine. | 1357    * Hostname used to reach this application, as resolved by App | 
| 1486    * @OutputOnly | 1358    * Engine.@OutputOnly | 
| 1487    */ | 1359    */ | 
| 1488   core.String defaultHostname; | 1360   core.String defaultHostname; | 
| 1489   /** | 1361   /** | 
| 1490    * HTTP path dispatch rules for requests to the application that do not | 1362    * HTTP path dispatch rules for requests to the application that do not | 
| 1491    * explicitly target a service or version. Rules are order-dependent. | 1363    * explicitly target a service or version. Rules are | 
| 1492    * @OutputOnly | 1364    * order-dependent.@OutputOnly | 
| 1493    */ | 1365    */ | 
| 1494   core.List<UrlDispatchRule> dispatchRules; | 1366   core.List<UrlDispatchRule> dispatchRules; | 
| 1495   /** | 1367   /** | 
| 1496    * Identifier of the Application resource. This identifier is equivalent to | 1368    * Identifier of the Application resource. This identifier is equivalent to | 
| 1497    * the project ID of the Google Cloud Platform project where you want to | 1369    * the project ID of the Google Cloud Platform project where you want to | 
| 1498    * deploy your application. Example: `myapp`. | 1370    * deploy your application. Example: myapp. | 
| 1499    */ | 1371    */ | 
| 1500   core.String id; | 1372   core.String id; | 
| 1501   /** | 1373   /** | 
| 1502    * Location from which this application will be run. Application instances | 1374    * Location from which this application will be run. Application instances | 
| 1503    * will run out of data centers in the chosen location, which is also where | 1375    * will run out of data centers in the chosen location, which is also where | 
| 1504    * all of the application's end user content is stored. Defaults to | 1376    * all of the application's end user content is stored.Defaults to | 
| 1505    * `us-central`. Options are: `us-central` - Central US `europe-west` - | 1377    * us-central.Options are:us-central - Central USeurope-west - Western | 
| 1506    * Western Europe `us-east1` - Eastern US | 1378    * Europeus-east1 - Eastern US | 
| 1507    */ | 1379    */ | 
| 1508   core.String locationId; | 1380   core.String locationId; | 
| 1509   /** | 1381   /** | 
| 1510    * Full path to the Application resource in the API. Example: `apps/myapp`. | 1382    * Full path to the Application resource in the API. Example: | 
| 1511    * @OutputOnly | 1383    * apps/myapp.@OutputOnly | 
| 1512    */ | 1384    */ | 
| 1513   core.String name; | 1385   core.String name; | 
| 1514 | 1386 | 
| 1515   Application(); | 1387   Application(); | 
| 1516 | 1388 | 
| 1517   Application.fromJson(core.Map _json) { | 1389   Application.fromJson(core.Map _json) { | 
| 1518     if (_json.containsKey("authDomain")) { | 1390     if (_json.containsKey("authDomain")) { | 
| 1519       authDomain = _json["authDomain"]; | 1391       authDomain = _json["authDomain"]; | 
| 1520     } | 1392     } | 
| 1521     if (_json.containsKey("codeBucket")) { | 1393     if (_json.containsKey("codeBucket")) { | 
| (...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 1576     return _json; | 1448     return _json; | 
| 1577   } | 1449   } | 
| 1578 } | 1450 } | 
| 1579 | 1451 | 
| 1580 /** | 1452 /** | 
| 1581  * Automatic scaling is based on request rate, response latencies, and other | 1453  * Automatic scaling is based on request rate, response latencies, and other | 
| 1582  * application metrics. | 1454  * application metrics. | 
| 1583  */ | 1455  */ | 
| 1584 class AutomaticScaling { | 1456 class AutomaticScaling { | 
| 1585   /** | 1457   /** | 
| 1586    * Amount of time that the | 1458    * Amount of time that the Autoscaler | 
| 1587    * [Autoscaler](https://cloud.google.com/compute/docs/autoscaler/) should wait | 1459    * (https://cloud.google.com/compute/docs/autoscaler/) should wait between | 
| 1588    * between changes to the number of virtual machines. Only applicable for VM | 1460    * changes to the number of virtual machines. Only applicable for VM runtimes. | 
| 1589    * runtimes. |  | 
| 1590    */ | 1461    */ | 
| 1591   core.String coolDownPeriod; | 1462   core.String coolDownPeriod; | 
| 1592   /** Target scaling by CPU usage. */ | 1463   /** Target scaling by CPU usage. */ | 
| 1593   CpuUtilization cpuUtilization; | 1464   CpuUtilization cpuUtilization; | 
| 1594   /** Target scaling by disk usage. */ | 1465   /** Target scaling by disk usage. */ | 
| 1595   DiskUtilization diskUtilization; | 1466   DiskUtilization diskUtilization; | 
| 1596   /** | 1467   /** | 
| 1597    * Number of concurrent requests an automatic scaling instance can accept | 1468    * Number of concurrent requests an automatic scaling instance can accept | 
| 1598    * before the scheduler spawns a new instance. Defaults to a runtime-specific | 1469    * before the scheduler spawns a new instance.Defaults to a runtime-specific | 
| 1599    * value. | 1470    * value. | 
| 1600    */ | 1471    */ | 
| 1601   core.int maxConcurrentRequests; | 1472   core.int maxConcurrentRequests; | 
| 1602   /** | 1473   /** | 
| 1603    * Maximum number of idle instances that should be maintained for this | 1474    * Maximum number of idle instances that should be maintained for this | 
| 1604    * version. | 1475    * version. | 
| 1605    */ | 1476    */ | 
| 1606   core.int maxIdleInstances; | 1477   core.int maxIdleInstances; | 
| 1607   /** | 1478   /** | 
| 1608    * Maximum amount of time that a request should wait in the pending queue | 1479    * 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  Loading... | 
| 1805     if (aggregationWindowLength != null) { | 1676     if (aggregationWindowLength != null) { | 
| 1806       _json["aggregationWindowLength"] = aggregationWindowLength; | 1677       _json["aggregationWindowLength"] = aggregationWindowLength; | 
| 1807     } | 1678     } | 
| 1808     if (targetUtilization != null) { | 1679     if (targetUtilization != null) { | 
| 1809       _json["targetUtilization"] = targetUtilization; | 1680       _json["targetUtilization"] = targetUtilization; | 
| 1810     } | 1681     } | 
| 1811     return _json; | 1682     return _json; | 
| 1812   } | 1683   } | 
| 1813 } | 1684 } | 
| 1814 | 1685 | 
| 1815 /** Request message for `Instances.DebugInstance`. */ | 1686 /** Request message for Instances.DebugInstance. */ | 
| 1816 class DebugInstanceRequest { | 1687 class DebugInstanceRequest { | 
| 1817   /** | 1688   /** | 
| 1818    * Public SSH key to add to the instance. Example: `[USERNAME]:ssh-rsa | 1689    * Public SSH key to add to the instance. Examples: [USERNAME]:ssh-rsa | 
| 1819    * KEY_VALUE` or `[USERNAME]:ssh-rsa [KEY_VALUE] google-ssh | 1690    * [KEY_VALUE] [USERNAME] [USERNAME]:ssh-rsa [KEY_VALUE] google-ssh | 
| 1820    * {"userName":"[USERNAME]","expireOn":"[EXPIRE_TIME]"}` For more information, | 1691    * {"userName":"[USERNAME]","expireOn":"[EXPIRE_TIME]"}For more information, | 
| 1821    * see [Adding and Removing SSH | 1692    * see Adding and Removing SSH Keys | 
| 1822    * Keys](https://cloud.google.com/compute/docs/instances/adding-removing-ssh-k
      eys) | 1693    * (https://cloud.google.com/compute/docs/instances/adding-removing-ssh-keys). | 
| 1823    */ | 1694    */ | 
| 1824   core.String sshKey; | 1695   core.String sshKey; | 
| 1825 | 1696 | 
| 1826   DebugInstanceRequest(); | 1697   DebugInstanceRequest(); | 
| 1827 | 1698 | 
| 1828   DebugInstanceRequest.fromJson(core.Map _json) { | 1699   DebugInstanceRequest.fromJson(core.Map _json) { | 
| 1829     if (_json.containsKey("sshKey")) { | 1700     if (_json.containsKey("sshKey")) { | 
| 1830       sshKey = _json["sshKey"]; | 1701       sshKey = _json["sshKey"]; | 
| 1831     } | 1702     } | 
| 1832   } | 1703   } | 
| (...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 1924     if (targetWriteBytesPerSecond != null) { | 1795     if (targetWriteBytesPerSecond != null) { | 
| 1925       _json["targetWriteBytesPerSecond"] = targetWriteBytesPerSecond; | 1796       _json["targetWriteBytesPerSecond"] = targetWriteBytesPerSecond; | 
| 1926     } | 1797     } | 
| 1927     if (targetWriteOpsPerSecond != null) { | 1798     if (targetWriteOpsPerSecond != null) { | 
| 1928       _json["targetWriteOpsPerSecond"] = targetWriteOpsPerSecond; | 1799       _json["targetWriteOpsPerSecond"] = targetWriteOpsPerSecond; | 
| 1929     } | 1800     } | 
| 1930     return _json; | 1801     return _json; | 
| 1931   } | 1802   } | 
| 1932 } | 1803 } | 
| 1933 | 1804 | 
|  | 1805 /** | 
|  | 1806  * Cloud Endpoints (https://cloud.google.com/endpoints) configuration. The | 
|  | 1807  * Endpoints API Service provides tooling for serving Open API and gRPC | 
|  | 1808  * endpoints via an NGINX proxy.The fields here refer to the name and | 
|  | 1809  * configuration id of a "service" resource in the Service Management API | 
|  | 1810  * (https://cloud.google.com/service-management/overview). | 
|  | 1811  */ | 
|  | 1812 class EndpointsApiService { | 
|  | 1813   /** | 
|  | 1814    * Endpoints service configuration id as specified by the Service Management | 
|  | 1815    * API. For example "2016-09-19r1" | 
|  | 1816    */ | 
|  | 1817   core.String configId; | 
|  | 1818   /** | 
|  | 1819    * Endpoints service name which is the name of the "service" resource in the | 
|  | 1820    * Service Management API. For example "myapi.endpoints.myproject.cloud.goog" | 
|  | 1821    */ | 
|  | 1822   core.String name; | 
|  | 1823 | 
|  | 1824   EndpointsApiService(); | 
|  | 1825 | 
|  | 1826   EndpointsApiService.fromJson(core.Map _json) { | 
|  | 1827     if (_json.containsKey("configId")) { | 
|  | 1828       configId = _json["configId"]; | 
|  | 1829     } | 
|  | 1830     if (_json.containsKey("name")) { | 
|  | 1831       name = _json["name"]; | 
|  | 1832     } | 
|  | 1833   } | 
|  | 1834 | 
|  | 1835   core.Map toJson() { | 
|  | 1836     var _json = new core.Map(); | 
|  | 1837     if (configId != null) { | 
|  | 1838       _json["configId"] = configId; | 
|  | 1839     } | 
|  | 1840     if (name != null) { | 
|  | 1841       _json["name"] = name; | 
|  | 1842     } | 
|  | 1843     return _json; | 
|  | 1844   } | 
|  | 1845 } | 
|  | 1846 | 
| 1934 /** Custom static error page to be served when an error occurs. */ | 1847 /** Custom static error page to be served when an error occurs. */ | 
| 1935 class ErrorHandler { | 1848 class ErrorHandler { | 
| 1936   /** | 1849   /** | 
| 1937    * Error condition this handler applies to. | 1850    * Error condition this handler applies to. | 
| 1938    * Possible string values are: | 1851    * Possible string values are: | 
| 1939    * - "ERROR_CODE_UNSPECIFIED" : A ERROR_CODE_UNSPECIFIED. | 1852    * - "ERROR_CODE_UNSPECIFIED" : A ERROR_CODE_UNSPECIFIED. | 
| 1940    * - "ERROR_CODE_DEFAULT" : A ERROR_CODE_DEFAULT. | 1853    * - "ERROR_CODE_DEFAULT" : A ERROR_CODE_DEFAULT. | 
| 1941    * - "ERROR_CODE_OVER_QUOTA" : A ERROR_CODE_OVER_QUOTA. | 1854    * - "ERROR_CODE_OVER_QUOTA" : A ERROR_CODE_OVER_QUOTA. | 
| 1942    * - "ERROR_CODE_DOS_API_DENIAL" : A ERROR_CODE_DOS_API_DENIAL. | 1855    * - "ERROR_CODE_DOS_API_DENIAL" : A ERROR_CODE_DOS_API_DENIAL. | 
| 1943    * - "ERROR_CODE_TIMEOUT" : A ERROR_CODE_TIMEOUT. | 1856    * - "ERROR_CODE_TIMEOUT" : A ERROR_CODE_TIMEOUT. | 
| 1944    */ | 1857    */ | 
| 1945   core.String errorCode; | 1858   core.String errorCode; | 
| 1946   /** MIME type of file. Defaults to `text/html`. */ | 1859   /** MIME type of file. Defaults to text/html. */ | 
| 1947   core.String mimeType; | 1860   core.String mimeType; | 
| 1948   /** Static file content to be served for this error. */ | 1861   /** Static file content to be served for this error. */ | 
| 1949   core.String staticFile; | 1862   core.String staticFile; | 
| 1950 | 1863 | 
| 1951   ErrorHandler(); | 1864   ErrorHandler(); | 
| 1952 | 1865 | 
| 1953   ErrorHandler.fromJson(core.Map _json) { | 1866   ErrorHandler.fromJson(core.Map _json) { | 
| 1954     if (_json.containsKey("errorCode")) { | 1867     if (_json.containsKey("errorCode")) { | 
| 1955       errorCode = _json["errorCode"]; | 1868       errorCode = _json["errorCode"]; | 
| 1956     } | 1869     } | 
| (...skipping 19 matching lines...) Expand all  Loading... | 
| 1976     return _json; | 1889     return _json; | 
| 1977   } | 1890   } | 
| 1978 } | 1891 } | 
| 1979 | 1892 | 
| 1980 /** | 1893 /** | 
| 1981  * Single source file that is part of the version to be deployed. Each source | 1894  * Single source file that is part of the version to be deployed. Each source | 
| 1982  * file that is deployed must be specified separately. | 1895  * file that is deployed must be specified separately. | 
| 1983  */ | 1896  */ | 
| 1984 class FileInfo { | 1897 class FileInfo { | 
| 1985   /** | 1898   /** | 
| 1986    * The MIME type of the file. Defaults to the value from Google Cloud Storage. | 1899    * The MIME type of the file.Defaults to the value from Google Cloud Storage. | 
| 1987    */ | 1900    */ | 
| 1988   core.String mimeType; | 1901   core.String mimeType; | 
| 1989   /** The SHA1 hash of the file, in hex. */ | 1902   /** The SHA1 hash of the file, in hex. */ | 
| 1990   core.String sha1Sum; | 1903   core.String sha1Sum; | 
| 1991   /** | 1904   /** | 
| 1992    * URL source to use to fetch this file. Must be a URL to a resource in Google | 1905    * URL source to use to fetch this file. Must be a URL to a resource in Google | 
| 1993    * Cloud Storage in the form 'http(s)://storage.googleapis.com/\/\'. | 1906    * Cloud Storage in the form 'http(s)://storage.googleapis.com//'. | 
| 1994    */ | 1907    */ | 
| 1995   core.String sourceUrl; | 1908   core.String sourceUrl; | 
| 1996 | 1909 | 
| 1997   FileInfo(); | 1910   FileInfo(); | 
| 1998 | 1911 | 
| 1999   FileInfo.fromJson(core.Map _json) { | 1912   FileInfo.fromJson(core.Map _json) { | 
| 2000     if (_json.containsKey("mimeType")) { | 1913     if (_json.containsKey("mimeType")) { | 
| 2001       mimeType = _json["mimeType"]; | 1914       mimeType = _json["mimeType"]; | 
| 2002     } | 1915     } | 
| 2003     if (_json.containsKey("sha1Sum")) { | 1916     if (_json.containsKey("sha1Sum")) { | 
| (...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 2107     } | 2020     } | 
| 2108     return _json; | 2021     return _json; | 
| 2109   } | 2022   } | 
| 2110 } | 2023 } | 
| 2111 | 2024 | 
| 2112 /** | 2025 /** | 
| 2113  * An Instance resource is the computing unit that App Engine uses to | 2026  * An Instance resource is the computing unit that App Engine uses to | 
| 2114  * automatically scale an application. | 2027  * automatically scale an application. | 
| 2115  */ | 2028  */ | 
| 2116 class Instance { | 2029 class Instance { | 
| 2117   /** App Engine release this instance is running on. @OutputOnly */ | 2030   /** App Engine release this instance is running on.@OutputOnly */ | 
| 2118   core.String appEngineRelease; | 2031   core.String appEngineRelease; | 
| 2119   /** | 2032   /** | 
| 2120    * Availability of the instance. @OutputOnly | 2033    * Availability of the instance.@OutputOnly | 
| 2121    * Possible string values are: | 2034    * Possible string values are: | 
| 2122    * - "UNSPECIFIED" : A UNSPECIFIED. | 2035    * - "UNSPECIFIED" : A UNSPECIFIED. | 
| 2123    * - "RESIDENT" : A RESIDENT. | 2036    * - "RESIDENT" : A RESIDENT. | 
| 2124    * - "DYNAMIC" : A DYNAMIC. | 2037    * - "DYNAMIC" : A DYNAMIC. | 
| 2125    */ | 2038    */ | 
| 2126   core.String availability; | 2039   core.String availability; | 
| 2127   /** Average latency (ms) over the last minute. @OutputOnly */ | 2040   /** Average latency (ms) over the last minute.@OutputOnly */ | 
| 2128   core.int averageLatency; | 2041   core.int averageLatency; | 
| 2129   /** Number of errors since this instance was started. @OutputOnly */ | 2042   /** Number of errors since this instance was started.@OutputOnly */ | 
| 2130   core.int errors; | 2043   core.int errors; | 
| 2131   /** | 2044   /** | 
| 2132    * Relative name of the instance within the version. Example: `instance-1`. | 2045    * Relative name of the instance within the version. Example: | 
| 2133    * @OutputOnly | 2046    * instance-1.@OutputOnly | 
| 2134    */ | 2047    */ | 
| 2135   core.String id; | 2048   core.String id; | 
| 2136   /** Total memory in use (bytes). @OutputOnly */ | 2049   /** Total memory in use (bytes).@OutputOnly */ | 
| 2137   core.String memoryUsage; | 2050   core.String memoryUsage; | 
| 2138   /** | 2051   /** | 
| 2139    * Full path to the Instance resource in the API. Example: | 2052    * Full path to the Instance resource in the API. Example: | 
| 2140    * `apps/myapp/services/default/versions/v1/instances/instance-1`. @OutputOnly | 2053    * apps/myapp/services/default/versions/v1/instances/instance-1.@OutputOnly | 
| 2141    */ | 2054    */ | 
| 2142   core.String name; | 2055   core.String name; | 
| 2143   /** Average queries per second (QPS) over the last minute. @OutputOnly */ | 2056   /** Average queries per second (QPS) over the last minute.@OutputOnly */ | 
| 2144   core.double qps; | 2057   core.double qps; | 
| 2145   /** Number of requests since this instance was started. @OutputOnly */ | 2058   /** Number of requests since this instance was started.@OutputOnly */ | 
| 2146   core.int requests; | 2059   core.int requests; | 
| 2147   /** Time that this instance was started. @OutputOnly */ | 2060   /** Time that this instance was started.@OutputOnly */ | 
| 2148   core.String startTime; | 2061   core.String startTime; | 
| 2149   /** | 2062   /** | 
| 2150    * Whether this instance is in debug mode. Only applicable for instances in | 2063    * Whether this instance is in debug mode. Only applicable for instances in | 
| 2151    * App Engine flexible environment. @OutputOnly | 2064    * App Engine flexible environment.@OutputOnly | 
| 2152    */ | 2065    */ | 
| 2153   core.bool vmDebugEnabled; | 2066   core.bool vmDebugEnabled; | 
| 2154   /** | 2067   /** | 
| 2155    * Virtual machine ID of this instance. Only applicable for instances in App | 2068    * Virtual machine ID of this instance. Only applicable for instances in App | 
| 2156    * Engine flexible environment. @OutputOnly | 2069    * Engine flexible environment.@OutputOnly | 
| 2157    */ | 2070    */ | 
| 2158   core.String vmId; | 2071   core.String vmId; | 
| 2159   /** | 2072   /** | 
| 2160    * The IP address of this instance. Only applicable for instances in App | 2073    * The IP address of this instance. Only applicable for instances in App | 
| 2161    * Engine flexible environment. @OutputOnly | 2074    * Engine flexible environment.@OutputOnly | 
| 2162    */ | 2075    */ | 
| 2163   core.String vmIp; | 2076   core.String vmIp; | 
| 2164   /** | 2077   /** | 
| 2165    * Name of the virtual machine where this instance lives. Only applicable for | 2078    * Name of the virtual machine where this instance lives. Only applicable for | 
| 2166    * instances in App Engine flexible environment. @OutputOnly | 2079    * instances in App Engine flexible environment.@OutputOnly | 
| 2167    */ | 2080    */ | 
| 2168   core.String vmName; | 2081   core.String vmName; | 
| 2169   /** | 2082   /** | 
| 2170    * Status of the virtual machine where this instance lives. Only applicable | 2083    * Status of the virtual machine where this instance lives. Only applicable | 
| 2171    * for instances in App Engine flexible environment. @OutputOnly | 2084    * for instances in App Engine flexible environment.@OutputOnly | 
| 2172    */ | 2085    */ | 
| 2173   core.String vmStatus; | 2086   core.String vmStatus; | 
| 2174   /** | 2087   /** | 
| 2175    * Zone where the virtual machine is located. Only applicable for instances in | 2088    * Zone where the virtual machine is located. Only applicable for instances in | 
| 2176    * App Engine flexible environment. @OutputOnly | 2089    * App Engine flexible environment.@OutputOnly | 
| 2177    */ | 2090    */ | 
| 2178   core.String vmZoneName; | 2091   core.String vmZoneName; | 
| 2179 | 2092 | 
| 2180   Instance(); | 2093   Instance(); | 
| 2181 | 2094 | 
| 2182   Instance.fromJson(core.Map _json) { | 2095   Instance.fromJson(core.Map _json) { | 
| 2183     if (_json.containsKey("appEngineRelease")) { | 2096     if (_json.containsKey("appEngineRelease")) { | 
| 2184       appEngineRelease = _json["appEngineRelease"]; | 2097       appEngineRelease = _json["appEngineRelease"]; | 
| 2185     } | 2098     } | 
| 2186     if (_json.containsKey("availability")) { | 2099     if (_json.containsKey("availability")) { | 
| (...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 2307     if (name != null) { | 2220     if (name != null) { | 
| 2308       _json["name"] = name; | 2221       _json["name"] = name; | 
| 2309     } | 2222     } | 
| 2310     if (version != null) { | 2223     if (version != null) { | 
| 2311       _json["version"] = version; | 2224       _json["version"] = version; | 
| 2312     } | 2225     } | 
| 2313     return _json; | 2226     return _json; | 
| 2314   } | 2227   } | 
| 2315 } | 2228 } | 
| 2316 | 2229 | 
| 2317 /** Response message for `Instances.ListInstances`. */ | 2230 /** Response message for Instances.ListInstances. */ | 
| 2318 class ListInstancesResponse { | 2231 class ListInstancesResponse { | 
| 2319   /** The instances belonging to the requested version. */ | 2232   /** The instances belonging to the requested version. */ | 
| 2320   core.List<Instance> instances; | 2233   core.List<Instance> instances; | 
| 2321   /** Continuation token for fetching the next page of results. */ | 2234   /** Continuation token for fetching the next page of results. */ | 
| 2322   core.String nextPageToken; | 2235   core.String nextPageToken; | 
| 2323 | 2236 | 
| 2324   ListInstancesResponse(); | 2237   ListInstancesResponse(); | 
| 2325 | 2238 | 
| 2326   ListInstancesResponse.fromJson(core.Map _json) { | 2239   ListInstancesResponse.fromJson(core.Map _json) { | 
| 2327     if (_json.containsKey("instances")) { | 2240     if (_json.containsKey("instances")) { | 
| (...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 2397     if (nextPageToken != null) { | 2310     if (nextPageToken != null) { | 
| 2398       _json["nextPageToken"] = nextPageToken; | 2311       _json["nextPageToken"] = nextPageToken; | 
| 2399     } | 2312     } | 
| 2400     if (operations != null) { | 2313     if (operations != null) { | 
| 2401       _json["operations"] = operations.map((value) => (value).toJson()).toList()
      ; | 2314       _json["operations"] = operations.map((value) => (value).toJson()).toList()
      ; | 
| 2402     } | 2315     } | 
| 2403     return _json; | 2316     return _json; | 
| 2404   } | 2317   } | 
| 2405 } | 2318 } | 
| 2406 | 2319 | 
| 2407 /** Response message for `Services.ListServices`. */ | 2320 /** Response message for Services.ListServices. */ | 
| 2408 class ListServicesResponse { | 2321 class ListServicesResponse { | 
| 2409   /** Continuation token for fetching the next page of results. */ | 2322   /** Continuation token for fetching the next page of results. */ | 
| 2410   core.String nextPageToken; | 2323   core.String nextPageToken; | 
| 2411   /** The services belonging to the requested application. */ | 2324   /** The services belonging to the requested application. */ | 
| 2412   core.List<Service> services; | 2325   core.List<Service> services; | 
| 2413 | 2326 | 
| 2414   ListServicesResponse(); | 2327   ListServicesResponse(); | 
| 2415 | 2328 | 
| 2416   ListServicesResponse.fromJson(core.Map _json) { | 2329   ListServicesResponse.fromJson(core.Map _json) { | 
| 2417     if (_json.containsKey("nextPageToken")) { | 2330     if (_json.containsKey("nextPageToken")) { | 
| 2418       nextPageToken = _json["nextPageToken"]; | 2331       nextPageToken = _json["nextPageToken"]; | 
| 2419     } | 2332     } | 
| 2420     if (_json.containsKey("services")) { | 2333     if (_json.containsKey("services")) { | 
| 2421       services = _json["services"].map((value) => new Service.fromJson(value)).t
      oList(); | 2334       services = _json["services"].map((value) => new Service.fromJson(value)).t
      oList(); | 
| 2422     } | 2335     } | 
| 2423   } | 2336   } | 
| 2424 | 2337 | 
| 2425   core.Map toJson() { | 2338   core.Map toJson() { | 
| 2426     var _json = new core.Map(); | 2339     var _json = new core.Map(); | 
| 2427     if (nextPageToken != null) { | 2340     if (nextPageToken != null) { | 
| 2428       _json["nextPageToken"] = nextPageToken; | 2341       _json["nextPageToken"] = nextPageToken; | 
| 2429     } | 2342     } | 
| 2430     if (services != null) { | 2343     if (services != null) { | 
| 2431       _json["services"] = services.map((value) => (value).toJson()).toList(); | 2344       _json["services"] = services.map((value) => (value).toJson()).toList(); | 
| 2432     } | 2345     } | 
| 2433     return _json; | 2346     return _json; | 
| 2434   } | 2347   } | 
| 2435 } | 2348 } | 
| 2436 | 2349 | 
| 2437 /** Response message for `Versions.ListVersions`. */ | 2350 /** Response message for Versions.ListVersions. */ | 
| 2438 class ListVersionsResponse { | 2351 class ListVersionsResponse { | 
| 2439   /** Continuation token for fetching the next page of results. */ | 2352   /** Continuation token for fetching the next page of results. */ | 
| 2440   core.String nextPageToken; | 2353   core.String nextPageToken; | 
| 2441   /** The versions belonging to the requested service. */ | 2354   /** The versions belonging to the requested service. */ | 
| 2442   core.List<Version> versions; | 2355   core.List<Version> versions; | 
| 2443 | 2356 | 
| 2444   ListVersionsResponse(); | 2357   ListVersionsResponse(); | 
| 2445 | 2358 | 
| 2446   ListVersionsResponse.fromJson(core.Map _json) { | 2359   ListVersionsResponse.fromJson(core.Map _json) { | 
| 2447     if (_json.containsKey("nextPageToken")) { | 2360     if (_json.containsKey("nextPageToken")) { | 
| (...skipping 16 matching lines...) Expand all  Loading... | 
| 2464   } | 2377   } | 
| 2465 } | 2378 } | 
| 2466 | 2379 | 
| 2467 /** A resource that represents Google Cloud Platform location. */ | 2380 /** A resource that represents Google Cloud Platform location. */ | 
| 2468 class Location { | 2381 class Location { | 
| 2469   /** | 2382   /** | 
| 2470    * Cross-service attributes for the location. For example | 2383    * Cross-service attributes for the location. For example | 
| 2471    * {"cloud.googleapis.com/region": "us-east1"} | 2384    * {"cloud.googleapis.com/region": "us-east1"} | 
| 2472    */ | 2385    */ | 
| 2473   core.Map<core.String, core.String> labels; | 2386   core.Map<core.String, core.String> labels; | 
| 2474   /** The canonical id for this location. For example: `"us-east1"`. */ | 2387   /** The canonical id for this location. For example: "us-east1". */ | 
| 2475   core.String locationId; | 2388   core.String locationId; | 
| 2476   /** | 2389   /** | 
| 2477    * Service-specific metadata. For example the available capacity at the given | 2390    * Service-specific metadata. For example the available capacity at the given | 
| 2478    * location. | 2391    * location. | 
| 2479    * | 2392    * | 
| 2480    * The values for Object must be JSON objects. It can consist of `num`, | 2393    * The values for Object must be JSON objects. It can consist of `num`, | 
| 2481    * `String`, `bool` and `null` as well as `Map` and `List` values. | 2394    * `String`, `bool` and `null` as well as `Map` and `List` values. | 
| 2482    */ | 2395    */ | 
| 2483   core.Map<core.String, core.Object> metadata; | 2396   core.Map<core.String, core.Object> metadata; | 
| 2484   /** | 2397   /** | 
| 2485    * Resource name for the location, which may vary between implementations. For | 2398    * Resource name for the location, which may vary between implementations. For | 
| 2486    * example: `"projects/example-project/locations/us-east1"` | 2399    * example: "projects/example-project/locations/us-east1" | 
| 2487    */ | 2400    */ | 
| 2488   core.String name; | 2401   core.String name; | 
| 2489 | 2402 | 
| 2490   Location(); | 2403   Location(); | 
| 2491 | 2404 | 
| 2492   Location.fromJson(core.Map _json) { | 2405   Location.fromJson(core.Map _json) { | 
| 2493     if (_json.containsKey("labels")) { | 2406     if (_json.containsKey("labels")) { | 
| 2494       labels = _json["labels"]; | 2407       labels = _json["labels"]; | 
| 2495     } | 2408     } | 
| 2496     if (_json.containsKey("locationId")) { | 2409     if (_json.containsKey("locationId")) { | 
| (...skipping 21 matching lines...) Expand all  Loading... | 
| 2518     if (name != null) { | 2431     if (name != null) { | 
| 2519       _json["name"] = name; | 2432       _json["name"] = name; | 
| 2520     } | 2433     } | 
| 2521     return _json; | 2434     return _json; | 
| 2522   } | 2435   } | 
| 2523 } | 2436 } | 
| 2524 | 2437 | 
| 2525 /** Metadata for the given google.cloud.location.Location. */ | 2438 /** Metadata for the given google.cloud.location.Location. */ | 
| 2526 class LocationMetadata { | 2439 class LocationMetadata { | 
| 2527   /** | 2440   /** | 
| 2528    * App Engine Flexible Environment is available in the given location. | 2441    * App Engine Flexible Environment is available in the given | 
| 2529    * @OutputOnly | 2442    * location.@OutputOnly | 
| 2530    */ | 2443    */ | 
| 2531   core.bool flexibleEnvironmentAvailable; | 2444   core.bool flexibleEnvironmentAvailable; | 
| 2532   /** | 2445   /** | 
| 2533    * App Engine Standard Environment is available in the given location. | 2446    * App Engine Standard Environment is available in the given | 
| 2534    * @OutputOnly | 2447    * location.@OutputOnly | 
| 2535    */ | 2448    */ | 
| 2536   core.bool standardEnvironmentAvailable; | 2449   core.bool standardEnvironmentAvailable; | 
| 2537 | 2450 | 
| 2538   LocationMetadata(); | 2451   LocationMetadata(); | 
| 2539 | 2452 | 
| 2540   LocationMetadata.fromJson(core.Map _json) { | 2453   LocationMetadata.fromJson(core.Map _json) { | 
| 2541     if (_json.containsKey("flexibleEnvironmentAvailable")) { | 2454     if (_json.containsKey("flexibleEnvironmentAvailable")) { | 
| 2542       flexibleEnvironmentAvailable = _json["flexibleEnvironmentAvailable"]; | 2455       flexibleEnvironmentAvailable = _json["flexibleEnvironmentAvailable"]; | 
| 2543     } | 2456     } | 
| 2544     if (_json.containsKey("standardEnvironmentAvailable")) { | 2457     if (_json.containsKey("standardEnvironmentAvailable")) { | 
| (...skipping 13 matching lines...) Expand all  Loading... | 
| 2558   } | 2471   } | 
| 2559 } | 2472 } | 
| 2560 | 2473 | 
| 2561 /** | 2474 /** | 
| 2562  * A service with manual scaling runs continuously, allowing you to perform | 2475  * A service with manual scaling runs continuously, allowing you to perform | 
| 2563  * complex initialization and rely on the state of its memory over time. | 2476  * complex initialization and rely on the state of its memory over time. | 
| 2564  */ | 2477  */ | 
| 2565 class ManualScaling { | 2478 class ManualScaling { | 
| 2566   /** | 2479   /** | 
| 2567    * Number of instances to assign to the service at the start. This number can | 2480    * Number of instances to assign to the service at the start. This number can | 
| 2568    * later be altered by using the [Modules | 2481    * later be altered by using the Modules API | 
| 2569    * API](https://cloud.google.com/appengine/docs/python/modules/functions) | 2482    * (https://cloud.google.com/appengine/docs/python/modules/functions) | 
| 2570    * `set_num_instances()` function. | 2483    * set_num_instances() function. | 
| 2571    */ | 2484    */ | 
| 2572   core.int instances; | 2485   core.int instances; | 
| 2573 | 2486 | 
| 2574   ManualScaling(); | 2487   ManualScaling(); | 
| 2575 | 2488 | 
| 2576   ManualScaling.fromJson(core.Map _json) { | 2489   ManualScaling.fromJson(core.Map _json) { | 
| 2577     if (_json.containsKey("instances")) { | 2490     if (_json.containsKey("instances")) { | 
| 2578       instances = _json["instances"]; | 2491       instances = _json["instances"]; | 
| 2579     } | 2492     } | 
| 2580   } | 2493   } | 
| (...skipping 11 matching lines...) Expand all  Loading... | 
| 2592 class Network { | 2505 class Network { | 
| 2593   /** | 2506   /** | 
| 2594    * List of ports, or port pairs, to forward from the virtual machine to the | 2507    * List of ports, or port pairs, to forward from the virtual machine to the | 
| 2595    * application container. | 2508    * application container. | 
| 2596    */ | 2509    */ | 
| 2597   core.List<core.String> forwardedPorts; | 2510   core.List<core.String> forwardedPorts; | 
| 2598   /** Tag to apply to the VM instance during creation. */ | 2511   /** Tag to apply to the VM instance during creation. */ | 
| 2599   core.String instanceTag; | 2512   core.String instanceTag; | 
| 2600   /** | 2513   /** | 
| 2601    * Google Cloud Platform network where the virtual machines are created. | 2514    * Google Cloud Platform network where the virtual machines are created. | 
| 2602    * Specify the short name, not the resource path. Defaults to `default`. | 2515    * Specify the short name, not the resource path.Defaults to default. | 
| 2603    */ | 2516    */ | 
| 2604   core.String name; | 2517   core.String name; | 
|  | 2518   /** | 
|  | 2519    * Google Cloud Platform sub-network where the virtual machines are created. | 
|  | 2520    * Specify the short name, not the resource path.If a subnetwork name is | 
|  | 2521    * specified, a network name will also be required unless it is for the | 
|  | 2522    * default network. If the network the VM instance is being created in is a | 
|  | 2523    * Legacy network, then the IP address is allocated from the IPv4Range. If the | 
|  | 2524    * network the VM instance is being created in is an auto Subnet Mode Network, | 
|  | 2525    * then only network name should be specified (not the subnetwork_name) and | 
|  | 2526    * the IP address is created from the IPCidrRange of the subnetwork that | 
|  | 2527    * exists in that zone for that network. If the network the VM instance is | 
|  | 2528    * being created in is a custom Subnet Mode Network, then the subnetwork_name | 
|  | 2529    * must be specified and the IP address is created from the IPCidrRange of the | 
|  | 2530    * subnetwork.If specified, the subnetwork must exist in the same region as | 
|  | 2531    * the Flex app. | 
|  | 2532    */ | 
|  | 2533   core.String subnetworkName; | 
| 2605 | 2534 | 
| 2606   Network(); | 2535   Network(); | 
| 2607 | 2536 | 
| 2608   Network.fromJson(core.Map _json) { | 2537   Network.fromJson(core.Map _json) { | 
| 2609     if (_json.containsKey("forwardedPorts")) { | 2538     if (_json.containsKey("forwardedPorts")) { | 
| 2610       forwardedPorts = _json["forwardedPorts"]; | 2539       forwardedPorts = _json["forwardedPorts"]; | 
| 2611     } | 2540     } | 
| 2612     if (_json.containsKey("instanceTag")) { | 2541     if (_json.containsKey("instanceTag")) { | 
| 2613       instanceTag = _json["instanceTag"]; | 2542       instanceTag = _json["instanceTag"]; | 
| 2614     } | 2543     } | 
| 2615     if (_json.containsKey("name")) { | 2544     if (_json.containsKey("name")) { | 
| 2616       name = _json["name"]; | 2545       name = _json["name"]; | 
| 2617     } | 2546     } | 
|  | 2547     if (_json.containsKey("subnetworkName")) { | 
|  | 2548       subnetworkName = _json["subnetworkName"]; | 
|  | 2549     } | 
| 2618   } | 2550   } | 
| 2619 | 2551 | 
| 2620   core.Map toJson() { | 2552   core.Map toJson() { | 
| 2621     var _json = new core.Map(); | 2553     var _json = new core.Map(); | 
| 2622     if (forwardedPorts != null) { | 2554     if (forwardedPorts != null) { | 
| 2623       _json["forwardedPorts"] = forwardedPorts; | 2555       _json["forwardedPorts"] = forwardedPorts; | 
| 2624     } | 2556     } | 
| 2625     if (instanceTag != null) { | 2557     if (instanceTag != null) { | 
| 2626       _json["instanceTag"] = instanceTag; | 2558       _json["instanceTag"] = instanceTag; | 
| 2627     } | 2559     } | 
| 2628     if (name != null) { | 2560     if (name != null) { | 
| 2629       _json["name"] = name; | 2561       _json["name"] = name; | 
| 2630     } | 2562     } | 
|  | 2563     if (subnetworkName != null) { | 
|  | 2564       _json["subnetworkName"] = subnetworkName; | 
|  | 2565     } | 
| 2631     return _json; | 2566     return _json; | 
| 2632   } | 2567   } | 
| 2633 } | 2568 } | 
| 2634 | 2569 | 
| 2635 /** Target scaling by network usage. Only applicable for VM runtimes. */ | 2570 /** Target scaling by network usage. Only applicable for VM runtimes. */ | 
| 2636 class NetworkUtilization { | 2571 class NetworkUtilization { | 
| 2637   /** Target bytes received per second. */ | 2572   /** Target bytes received per second. */ | 
| 2638   core.int targetReceivedBytesPerSecond; | 2573   core.int targetReceivedBytesPerSecond; | 
| 2639   /** Target packets received per second. */ | 2574   /** Target packets received per second. */ | 
| 2640   core.int targetReceivedPacketsPerSecond; | 2575   core.int targetReceivedPacketsPerSecond; | 
| (...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 2677     return _json; | 2612     return _json; | 
| 2678   } | 2613   } | 
| 2679 } | 2614 } | 
| 2680 | 2615 | 
| 2681 /** | 2616 /** | 
| 2682  * This resource represents a long-running operation that is the result of a | 2617  * This resource represents a long-running operation that is the result of a | 
| 2683  * network API call. | 2618  * network API call. | 
| 2684  */ | 2619  */ | 
| 2685 class Operation { | 2620 class Operation { | 
| 2686   /** | 2621   /** | 
| 2687    * If the value is `false`, it means the operation is still in progress. If | 2622    * If the value is false, it means the operation is still in progress. If | 
| 2688    * true, the operation is completed, and either `error` or `response` is | 2623    * true, the operation is completed, and either error or response is | 
| 2689    * available. | 2624    * available. | 
| 2690    */ | 2625    */ | 
| 2691   core.bool done; | 2626   core.bool done; | 
| 2692   /** The error result of the operation in case of failure or cancellation. */ | 2627   /** The error result of the operation in case of failure or cancellation. */ | 
| 2693   Status error; | 2628   Status error; | 
| 2694   /** | 2629   /** | 
| 2695    * Service-specific metadata associated with the operation. It typically | 2630    * Service-specific metadata associated with the operation. It typically | 
| 2696    * contains progress information and common metadata such as create time. Some | 2631    * contains progress information and common metadata such as create time. Some | 
| 2697    * services might not provide such metadata. Any method that returns a | 2632    * services might not provide such metadata. Any method that returns a | 
| 2698    * long-running operation should document the metadata type, if any. | 2633    * long-running operation should document the metadata type, if any. | 
| 2699    * | 2634    * | 
| 2700    * The values for Object must be JSON objects. It can consist of `num`, | 2635    * The values for Object must be JSON objects. It can consist of `num`, | 
| 2701    * `String`, `bool` and `null` as well as `Map` and `List` values. | 2636    * `String`, `bool` and `null` as well as `Map` and `List` values. | 
| 2702    */ | 2637    */ | 
| 2703   core.Map<core.String, core.Object> metadata; | 2638   core.Map<core.String, core.Object> metadata; | 
| 2704   /** | 2639   /** | 
| 2705    * The server-assigned name, which is only unique within the same service that | 2640    * The server-assigned name, which is only unique within the same service that | 
| 2706    * originally returns it. If you use the default HTTP mapping, the `name` | 2641    * originally returns it. If you use the default HTTP mapping, the name should | 
| 2707    * should have the format of `operations/some/unique/name`. | 2642    * have the format of operations/some/unique/name. | 
| 2708    */ | 2643    */ | 
| 2709   core.String name; | 2644   core.String name; | 
| 2710   /** | 2645   /** | 
| 2711    * The normal response of the operation in case of success. If the original | 2646    * The normal response of the operation in case of success. If the original | 
| 2712    * method returns no data on success, such as `Delete`, the response is | 2647    * method returns no data on success, such as Delete, the response is | 
| 2713    * `google.protobuf.Empty`. If the original method is standard | 2648    * google.protobuf.Empty. If the original method is standard | 
| 2714    * `Get`/`Create`/`Update`, the response should be the resource. For other | 2649    * Get/Create/Update, the response should be the resource. For other methods, | 
| 2715    * methods, the response should have the type `XxxResponse`, where `Xxx` is | 2650    * the response should have the type XxxResponse, where Xxx is the original | 
| 2716    * the original method name. For example, if the original method name is | 2651    * method name. For example, if the original method name is TakeSnapshot(), | 
| 2717    * `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`. | 2652    * the inferred response type is TakeSnapshotResponse. | 
| 2718    * | 2653    * | 
| 2719    * The values for Object must be JSON objects. It can consist of `num`, | 2654    * The values for Object must be JSON objects. It can consist of `num`, | 
| 2720    * `String`, `bool` and `null` as well as `Map` and `List` values. | 2655    * `String`, `bool` and `null` as well as `Map` and `List` values. | 
| 2721    */ | 2656    */ | 
| 2722   core.Map<core.String, core.Object> response; | 2657   core.Map<core.String, core.Object> response; | 
| 2723 | 2658 | 
| 2724   Operation(); | 2659   Operation(); | 
| 2725 | 2660 | 
| 2726   Operation.fromJson(core.Map _json) { | 2661   Operation.fromJson(core.Map _json) { | 
| 2727     if (_json.containsKey("done")) { | 2662     if (_json.containsKey("done")) { | 
| (...skipping 29 matching lines...) Expand all  Loading... | 
| 2757     } | 2692     } | 
| 2758     if (response != null) { | 2693     if (response != null) { | 
| 2759       _json["response"] = response; | 2694       _json["response"] = response; | 
| 2760     } | 2695     } | 
| 2761     return _json; | 2696     return _json; | 
| 2762   } | 2697   } | 
| 2763 } | 2698 } | 
| 2764 | 2699 | 
| 2765 /** Metadata for the given google.longrunning.Operation. */ | 2700 /** Metadata for the given google.longrunning.Operation. */ | 
| 2766 class OperationMetadata { | 2701 class OperationMetadata { | 
| 2767   /** Timestamp that this operation completed. @OutputOnly */ | 2702   /** Timestamp that this operation completed.@OutputOnly */ | 
| 2768   core.String endTime; | 2703   core.String endTime; | 
| 2769   /** Timestamp that this operation was created. @OutputOnly */ | 2704   /** Timestamp that this operation was created.@OutputOnly */ | 
| 2770   core.String insertTime; | 2705   core.String insertTime; | 
| 2771   /** | 2706   /** | 
| 2772    * API method that initiated this operation. Example: | 2707    * API method that initiated this operation. Example: | 
| 2773    * `google.appengine.v1beta4.Version.CreateVersion`. @OutputOnly | 2708    * google.appengine.v1beta4.Version.CreateVersion.@OutputOnly | 
| 2774    */ | 2709    */ | 
| 2775   core.String method; | 2710   core.String method; | 
| 2776   /** | 2711   /** | 
| 2777    * Type of this operation. Deprecated, use method field instead. Example: | 2712    * Type of this operation. Deprecated, use method field instead. Example: | 
| 2778    * "create_version". @OutputOnly | 2713    * "create_version".@OutputOnly | 
| 2779    */ | 2714    */ | 
| 2780   core.String operationType; | 2715   core.String operationType; | 
| 2781   /** | 2716   /** | 
| 2782    * Name of the resource that this operation is acting on. Example: | 2717    * Name of the resource that this operation is acting on. Example: | 
| 2783    * `apps/myapp/modules/default`. @OutputOnly | 2718    * apps/myapp/modules/default.@OutputOnly | 
| 2784    */ | 2719    */ | 
| 2785   core.String target; | 2720   core.String target; | 
| 2786   /** User who requested this operation. @OutputOnly */ | 2721   /** User who requested this operation.@OutputOnly */ | 
| 2787   core.String user; | 2722   core.String user; | 
| 2788 | 2723 | 
| 2789   OperationMetadata(); | 2724   OperationMetadata(); | 
| 2790 | 2725 | 
| 2791   OperationMetadata.fromJson(core.Map _json) { | 2726   OperationMetadata.fromJson(core.Map _json) { | 
| 2792     if (_json.containsKey("endTime")) { | 2727     if (_json.containsKey("endTime")) { | 
| 2793       endTime = _json["endTime"]; | 2728       endTime = _json["endTime"]; | 
| 2794     } | 2729     } | 
| 2795     if (_json.containsKey("insertTime")) { | 2730     if (_json.containsKey("insertTime")) { | 
| 2796       insertTime = _json["insertTime"]; | 2731       insertTime = _json["insertTime"]; | 
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 2828     } | 2763     } | 
| 2829     if (user != null) { | 2764     if (user != null) { | 
| 2830       _json["user"] = user; | 2765       _json["user"] = user; | 
| 2831     } | 2766     } | 
| 2832     return _json; | 2767     return _json; | 
| 2833   } | 2768   } | 
| 2834 } | 2769 } | 
| 2835 | 2770 | 
| 2836 /** Metadata for the given google.longrunning.Operation. */ | 2771 /** Metadata for the given google.longrunning.Operation. */ | 
| 2837 class OperationMetadataExperimental { | 2772 class OperationMetadataExperimental { | 
| 2838   /** Time that this operation completed. @OutputOnly */ | 2773   /** Time that this operation completed.@OutputOnly */ | 
| 2839   core.String endTime; | 2774   core.String endTime; | 
| 2840   /** Time that this operation was created. @OutputOnly */ | 2775   /** Time that this operation was created.@OutputOnly */ | 
| 2841   core.String insertTime; | 2776   core.String insertTime; | 
| 2842   /** | 2777   /** | 
| 2843    * API method that initiated this operation. Example: | 2778    * API method that initiated this operation. Example: | 
| 2844    * `google.appengine.experimental.CustomDomains.CreateCustomDomain`. | 2779    * google.appengine.experimental.CustomDomains.CreateCustomDomain.@OutputOnly | 
| 2845    * @OutputOnly |  | 
| 2846    */ | 2780    */ | 
| 2847   core.String method; | 2781   core.String method; | 
| 2848   /** | 2782   /** | 
| 2849    * Name of the resource that this operation is acting on. Example: | 2783    * Name of the resource that this operation is acting on. Example: | 
| 2850    * `apps/myapp/customDomains/example.com`. @OutputOnly | 2784    * apps/myapp/customDomains/example.com.@OutputOnly | 
| 2851    */ | 2785    */ | 
| 2852   core.String target; | 2786   core.String target; | 
| 2853   /** User who requested this operation. @OutputOnly */ | 2787   /** User who requested this operation.@OutputOnly */ | 
| 2854   core.String user; | 2788   core.String user; | 
| 2855 | 2789 | 
| 2856   OperationMetadataExperimental(); | 2790   OperationMetadataExperimental(); | 
| 2857 | 2791 | 
| 2858   OperationMetadataExperimental.fromJson(core.Map _json) { | 2792   OperationMetadataExperimental.fromJson(core.Map _json) { | 
| 2859     if (_json.containsKey("endTime")) { | 2793     if (_json.containsKey("endTime")) { | 
| 2860       endTime = _json["endTime"]; | 2794       endTime = _json["endTime"]; | 
| 2861     } | 2795     } | 
| 2862     if (_json.containsKey("insertTime")) { | 2796     if (_json.containsKey("insertTime")) { | 
| 2863       insertTime = _json["insertTime"]; | 2797       insertTime = _json["insertTime"]; | 
| (...skipping 25 matching lines...) Expand all  Loading... | 
| 2889     } | 2823     } | 
| 2890     if (user != null) { | 2824     if (user != null) { | 
| 2891       _json["user"] = user; | 2825       _json["user"] = user; | 
| 2892     } | 2826     } | 
| 2893     return _json; | 2827     return _json; | 
| 2894   } | 2828   } | 
| 2895 } | 2829 } | 
| 2896 | 2830 | 
| 2897 /** Metadata for the given google.longrunning.Operation. */ | 2831 /** Metadata for the given google.longrunning.Operation. */ | 
| 2898 class OperationMetadataV1 { | 2832 class OperationMetadataV1 { | 
| 2899   /** Time that this operation completed. @OutputOnly */ | 2833   /** Time that this operation completed.@OutputOnly */ | 
| 2900   core.String endTime; | 2834   core.String endTime; | 
| 2901   /** Time that this operation was created. @OutputOnly */ | 2835   /** | 
|  | 2836    * Ephemeral message that may change every time the operation is polled. | 
|  | 2837    * @OutputOnly | 
|  | 2838    */ | 
|  | 2839   core.String ephemeralMessage; | 
|  | 2840   /** Time that this operation was created.@OutputOnly */ | 
| 2902   core.String insertTime; | 2841   core.String insertTime; | 
| 2903   /** | 2842   /** | 
| 2904    * API method that initiated this operation. Example: | 2843    * API method that initiated this operation. Example: | 
| 2905    * `google.appengine.v1.Versions.CreateVersion`. @OutputOnly | 2844    * google.appengine.v1.Versions.CreateVersion.@OutputOnly | 
| 2906    */ | 2845    */ | 
| 2907   core.String method; | 2846   core.String method; | 
| 2908   /** | 2847   /** | 
| 2909    * Name of the resource that this operation is acting on. Example: | 2848    * Name of the resource that this operation is acting on. Example: | 
| 2910    * `apps/myapp/services/default`. @OutputOnly | 2849    * apps/myapp/services/default.@OutputOnly | 
| 2911    */ | 2850    */ | 
| 2912   core.String target; | 2851   core.String target; | 
| 2913   /** User who requested this operation. @OutputOnly */ | 2852   /** User who requested this operation.@OutputOnly */ | 
| 2914   core.String user; | 2853   core.String user; | 
|  | 2854   /** Durable messages that persist on every operation poll. @OutputOnly */ | 
|  | 2855   core.List<core.String> warning; | 
| 2915 | 2856 | 
| 2916   OperationMetadataV1(); | 2857   OperationMetadataV1(); | 
| 2917 | 2858 | 
| 2918   OperationMetadataV1.fromJson(core.Map _json) { | 2859   OperationMetadataV1.fromJson(core.Map _json) { | 
| 2919     if (_json.containsKey("endTime")) { | 2860     if (_json.containsKey("endTime")) { | 
| 2920       endTime = _json["endTime"]; | 2861       endTime = _json["endTime"]; | 
| 2921     } | 2862     } | 
|  | 2863     if (_json.containsKey("ephemeralMessage")) { | 
|  | 2864       ephemeralMessage = _json["ephemeralMessage"]; | 
|  | 2865     } | 
| 2922     if (_json.containsKey("insertTime")) { | 2866     if (_json.containsKey("insertTime")) { | 
| 2923       insertTime = _json["insertTime"]; | 2867       insertTime = _json["insertTime"]; | 
| 2924     } | 2868     } | 
| 2925     if (_json.containsKey("method")) { | 2869     if (_json.containsKey("method")) { | 
| 2926       method = _json["method"]; | 2870       method = _json["method"]; | 
| 2927     } | 2871     } | 
| 2928     if (_json.containsKey("target")) { | 2872     if (_json.containsKey("target")) { | 
| 2929       target = _json["target"]; | 2873       target = _json["target"]; | 
| 2930     } | 2874     } | 
| 2931     if (_json.containsKey("user")) { | 2875     if (_json.containsKey("user")) { | 
| 2932       user = _json["user"]; | 2876       user = _json["user"]; | 
| 2933     } | 2877     } | 
|  | 2878     if (_json.containsKey("warning")) { | 
|  | 2879       warning = _json["warning"]; | 
|  | 2880     } | 
| 2934   } | 2881   } | 
| 2935 | 2882 | 
| 2936   core.Map toJson() { | 2883   core.Map toJson() { | 
| 2937     var _json = new core.Map(); | 2884     var _json = new core.Map(); | 
| 2938     if (endTime != null) { | 2885     if (endTime != null) { | 
| 2939       _json["endTime"] = endTime; | 2886       _json["endTime"] = endTime; | 
| 2940     } | 2887     } | 
|  | 2888     if (ephemeralMessage != null) { | 
|  | 2889       _json["ephemeralMessage"] = ephemeralMessage; | 
|  | 2890     } | 
| 2941     if (insertTime != null) { | 2891     if (insertTime != null) { | 
| 2942       _json["insertTime"] = insertTime; | 2892       _json["insertTime"] = insertTime; | 
| 2943     } | 2893     } | 
| 2944     if (method != null) { | 2894     if (method != null) { | 
| 2945       _json["method"] = method; | 2895       _json["method"] = method; | 
| 2946     } | 2896     } | 
| 2947     if (target != null) { | 2897     if (target != null) { | 
| 2948       _json["target"] = target; | 2898       _json["target"] = target; | 
| 2949     } | 2899     } | 
| 2950     if (user != null) { | 2900     if (user != null) { | 
| 2951       _json["user"] = user; | 2901       _json["user"] = user; | 
| 2952     } | 2902     } | 
|  | 2903     if (warning != null) { | 
|  | 2904       _json["warning"] = warning; | 
|  | 2905     } | 
| 2953     return _json; | 2906     return _json; | 
| 2954   } | 2907   } | 
| 2955 } | 2908 } | 
| 2956 | 2909 | 
| 2957 /** Metadata for the given google.longrunning.Operation. */ | 2910 /** Metadata for the given google.longrunning.Operation. */ | 
| 2958 class OperationMetadataV1Beta5 { | 2911 class OperationMetadataV1Beta5 { | 
| 2959   /** Timestamp that this operation completed. @OutputOnly */ | 2912   /** Timestamp that this operation completed.@OutputOnly */ | 
| 2960   core.String endTime; | 2913   core.String endTime; | 
| 2961   /** Timestamp that this operation was created. @OutputOnly */ | 2914   /** Timestamp that this operation was created.@OutputOnly */ | 
| 2962   core.String insertTime; | 2915   core.String insertTime; | 
| 2963   /** | 2916   /** | 
| 2964    * API method name that initiated this operation. Example: | 2917    * API method name that initiated this operation. Example: | 
| 2965    * `google.appengine.v1beta5.Version.CreateVersion`. @OutputOnly | 2918    * google.appengine.v1beta5.Version.CreateVersion.@OutputOnly | 
| 2966    */ | 2919    */ | 
| 2967   core.String method; | 2920   core.String method; | 
| 2968   /** | 2921   /** | 
| 2969    * Name of the resource that this operation is acting on. Example: | 2922    * Name of the resource that this operation is acting on. Example: | 
| 2970    * `apps/myapp/services/default`. @OutputOnly | 2923    * apps/myapp/services/default.@OutputOnly | 
| 2971    */ | 2924    */ | 
| 2972   core.String target; | 2925   core.String target; | 
| 2973   /** User who requested this operation. @OutputOnly */ | 2926   /** User who requested this operation.@OutputOnly */ | 
| 2974   core.String user; | 2927   core.String user; | 
| 2975 | 2928 | 
| 2976   OperationMetadataV1Beta5(); | 2929   OperationMetadataV1Beta5(); | 
| 2977 | 2930 | 
| 2978   OperationMetadataV1Beta5.fromJson(core.Map _json) { | 2931   OperationMetadataV1Beta5.fromJson(core.Map _json) { | 
| 2979     if (_json.containsKey("endTime")) { | 2932     if (_json.containsKey("endTime")) { | 
| 2980       endTime = _json["endTime"]; | 2933       endTime = _json["endTime"]; | 
| 2981     } | 2934     } | 
| 2982     if (_json.containsKey("insertTime")) { | 2935     if (_json.containsKey("insertTime")) { | 
| 2983       insertTime = _json["insertTime"]; | 2936       insertTime = _json["insertTime"]; | 
| (...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 3059 } | 3012 } | 
| 3060 | 3013 | 
| 3061 /** Machine resources for a version. */ | 3014 /** Machine resources for a version. */ | 
| 3062 class Resources { | 3015 class Resources { | 
| 3063   /** Number of CPU cores needed. */ | 3016   /** Number of CPU cores needed. */ | 
| 3064   core.double cpu; | 3017   core.double cpu; | 
| 3065   /** Disk size (GB) needed. */ | 3018   /** Disk size (GB) needed. */ | 
| 3066   core.double diskGb; | 3019   core.double diskGb; | 
| 3067   /** Memory (GB) needed. */ | 3020   /** Memory (GB) needed. */ | 
| 3068   core.double memoryGb; | 3021   core.double memoryGb; | 
|  | 3022   /** User specified volumes. */ | 
|  | 3023   core.List<Volume> volumes; | 
| 3069 | 3024 | 
| 3070   Resources(); | 3025   Resources(); | 
| 3071 | 3026 | 
| 3072   Resources.fromJson(core.Map _json) { | 3027   Resources.fromJson(core.Map _json) { | 
| 3073     if (_json.containsKey("cpu")) { | 3028     if (_json.containsKey("cpu")) { | 
| 3074       cpu = _json["cpu"]; | 3029       cpu = _json["cpu"]; | 
| 3075     } | 3030     } | 
| 3076     if (_json.containsKey("diskGb")) { | 3031     if (_json.containsKey("diskGb")) { | 
| 3077       diskGb = _json["diskGb"]; | 3032       diskGb = _json["diskGb"]; | 
| 3078     } | 3033     } | 
| 3079     if (_json.containsKey("memoryGb")) { | 3034     if (_json.containsKey("memoryGb")) { | 
| 3080       memoryGb = _json["memoryGb"]; | 3035       memoryGb = _json["memoryGb"]; | 
| 3081     } | 3036     } | 
|  | 3037     if (_json.containsKey("volumes")) { | 
|  | 3038       volumes = _json["volumes"].map((value) => new Volume.fromJson(value)).toLi
      st(); | 
|  | 3039     } | 
| 3082   } | 3040   } | 
| 3083 | 3041 | 
| 3084   core.Map toJson() { | 3042   core.Map toJson() { | 
| 3085     var _json = new core.Map(); | 3043     var _json = new core.Map(); | 
| 3086     if (cpu != null) { | 3044     if (cpu != null) { | 
| 3087       _json["cpu"] = cpu; | 3045       _json["cpu"] = cpu; | 
| 3088     } | 3046     } | 
| 3089     if (diskGb != null) { | 3047     if (diskGb != null) { | 
| 3090       _json["diskGb"] = diskGb; | 3048       _json["diskGb"] = diskGb; | 
| 3091     } | 3049     } | 
| 3092     if (memoryGb != null) { | 3050     if (memoryGb != null) { | 
| 3093       _json["memoryGb"] = memoryGb; | 3051       _json["memoryGb"] = memoryGb; | 
| 3094     } | 3052     } | 
|  | 3053     if (volumes != null) { | 
|  | 3054       _json["volumes"] = volumes.map((value) => (value).toJson()).toList(); | 
|  | 3055     } | 
| 3095     return _json; | 3056     return _json; | 
| 3096   } | 3057   } | 
| 3097 } | 3058 } | 
| 3098 | 3059 | 
| 3099 /** Executes a script to handle the request that matches the URL pattern. */ | 3060 /** Executes a script to handle the request that matches the URL pattern. */ | 
| 3100 class ScriptHandler { | 3061 class ScriptHandler { | 
| 3101   /** Path to the script from the application root directory. */ | 3062   /** Path to the script from the application root directory. */ | 
| 3102   core.String scriptPath; | 3063   core.String scriptPath; | 
| 3103 | 3064 | 
| 3104   ScriptHandler(); | 3065   ScriptHandler(); | 
| (...skipping 16 matching lines...) Expand all  Loading... | 
| 3121 /** | 3082 /** | 
| 3122  * A Service resource is a logical component of an application that can share | 3083  * A Service resource is a logical component of an application that can share | 
| 3123  * state and communicate in a secure fashion with other services. For example, | 3084  * state and communicate in a secure fashion with other services. For example, | 
| 3124  * an application that handles customer requests might include separate services | 3085  * an application that handles customer requests might include separate services | 
| 3125  * to handle tasks such as backend data analysis or API requests from mobile | 3086  * to handle tasks such as backend data analysis or API requests from mobile | 
| 3126  * devices. Each service has a collection of versions that define a specific set | 3087  * devices. Each service has a collection of versions that define a specific set | 
| 3127  * of code used to implement the functionality of that service. | 3088  * of code used to implement the functionality of that service. | 
| 3128  */ | 3089  */ | 
| 3129 class Service { | 3090 class Service { | 
| 3130   /** | 3091   /** | 
| 3131    * Relative name of the service within the application. Example: `default`. | 3092    * Relative name of the service within the application. Example: | 
| 3132    * @OutputOnly | 3093    * default.@OutputOnly | 
| 3133    */ | 3094    */ | 
| 3134   core.String id; | 3095   core.String id; | 
| 3135   /** | 3096   /** | 
| 3136    * Full path to the Service resource in the API. Example: | 3097    * Full path to the Service resource in the API. Example: | 
| 3137    * `apps/myapp/services/default`. @OutputOnly | 3098    * apps/myapp/services/default.@OutputOnly | 
| 3138    */ | 3099    */ | 
| 3139   core.String name; | 3100   core.String name; | 
| 3140   /** | 3101   /** | 
| 3141    * Mapping that defines fractional HTTP traffic diversion to different | 3102    * Mapping that defines fractional HTTP traffic diversion to different | 
| 3142    * versions within the service. | 3103    * versions within the service. | 
| 3143    */ | 3104    */ | 
| 3144   TrafficSplit split; | 3105   TrafficSplit split; | 
| 3145 | 3106 | 
| 3146   Service(); | 3107   Service(); | 
| 3147 | 3108 | 
| (...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 3188    */ | 3149    */ | 
| 3189   core.bool applicationReadable; | 3150   core.bool applicationReadable; | 
| 3190   /** | 3151   /** | 
| 3191    * Time a static file served by this handler should be cached by web proxies | 3152    * Time a static file served by this handler should be cached by web proxies | 
| 3192    * and browsers. | 3153    * and browsers. | 
| 3193    */ | 3154    */ | 
| 3194   core.String expiration; | 3155   core.String expiration; | 
| 3195   /** HTTP headers to use for all responses from these URLs. */ | 3156   /** HTTP headers to use for all responses from these URLs. */ | 
| 3196   core.Map<core.String, core.String> httpHeaders; | 3157   core.Map<core.String, core.String> httpHeaders; | 
| 3197   /** | 3158   /** | 
| 3198    * MIME type used to serve all files served by this handler. Defaults to | 3159    * MIME type used to serve all files served by this handler.Defaults to | 
| 3199    * file-specific MIME types, which are derived from each file's filename | 3160    * file-specific MIME types, which are derived from each file's filename | 
| 3200    * extension. | 3161    * extension. | 
| 3201    */ | 3162    */ | 
| 3202   core.String mimeType; | 3163   core.String mimeType; | 
| 3203   /** | 3164   /** | 
| 3204    * Path to the static files matched by the URL pattern, from the application | 3165    * Path to the static files matched by the URL pattern, from the application | 
| 3205    * root directory. The path can refer to text matched in groupings in the URL | 3166    * root directory. The path can refer to text matched in groupings in the URL | 
| 3206    * pattern. | 3167    * pattern. | 
| 3207    */ | 3168    */ | 
| 3208   core.String path; | 3169   core.String path; | 
| (...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 3264       _json["requireMatchingFile"] = requireMatchingFile; | 3225       _json["requireMatchingFile"] = requireMatchingFile; | 
| 3265     } | 3226     } | 
| 3266     if (uploadPathRegex != null) { | 3227     if (uploadPathRegex != null) { | 
| 3267       _json["uploadPathRegex"] = uploadPathRegex; | 3228       _json["uploadPathRegex"] = uploadPathRegex; | 
| 3268     } | 3229     } | 
| 3269     return _json; | 3230     return _json; | 
| 3270   } | 3231   } | 
| 3271 } | 3232 } | 
| 3272 | 3233 | 
| 3273 /** | 3234 /** | 
| 3274  * The `Status` type defines a logical error model that is suitable for | 3235  * The Status type defines a logical error model that is suitable for different | 
| 3275  * different programming environments, including REST APIs and RPC APIs. It is | 3236  * programming environments, including REST APIs and RPC APIs. It is used by | 
| 3276  * used by [gRPC](https://github.com/grpc). The error model is designed to be: - | 3237  * gRPC (https://github.com/grpc). The error model is designed to be: Simple to | 
| 3277  * Simple to use and understand for most users - Flexible enough to meet | 3238  * use and understand for most users Flexible enough to meet unexpected | 
| 3278  * unexpected needs # Overview The `Status` message contains three pieces of | 3239  * needsOverviewThe Status message contains three pieces of data: error code, | 
| 3279  * data: error code, error message, and error details. The error code should be | 3240  * error message, and error details. The error code should be an enum value of | 
| 3280  * an enum value of google.rpc.Code, but it may accept additional error codes if | 3241  * google.rpc.Code, but it may accept additional error codes if needed. The | 
| 3281  * needed. The error message should be a developer-facing English message that | 3242  * error message should be a developer-facing English message that helps | 
| 3282  * helps developers *understand* and *resolve* the error. If a localized | 3243  * developers understand and resolve the error. If a localized user-facing error | 
| 3283  * user-facing error message is needed, put the localized message in the error | 3244  * message is needed, put the localized message in the error details or localize | 
| 3284  * details or localize it in the client. The optional error details may contain | 3245  * it in the client. The optional error details may contain arbitrary | 
| 3285  * arbitrary information about the error. There is a predefined set of error | 3246  * information about the error. There is a predefined set of error detail types | 
| 3286  * detail types in the package `google.rpc` which can be used for common error | 3247  * in the package google.rpc which can be used for common error | 
| 3287  * conditions. # Language mapping The `Status` message is the logical | 3248  * conditions.Language mappingThe Status message is the logical representation | 
| 3288  * representation of the error model, but it is not necessarily the actual wire | 3249  * of the error model, but it is not necessarily the actual wire format. When | 
| 3289  * format. When the `Status` message is exposed in different client libraries | 3250  * the Status message is exposed in different client libraries and different | 
| 3290  * and different wire protocols, it can be mapped differently. For example, it | 3251  * wire protocols, it can be mapped differently. For example, it will likely be | 
| 3291  * will likely be mapped to some exceptions in Java, but more likely mapped to | 3252  * mapped to some exceptions in Java, but more likely mapped to some error codes | 
| 3292  * some error codes in C. # Other uses The error model and the `Status` message | 3253  * in C.Other usesThe error model and the Status message can be used in a | 
| 3293  * can be used in a variety of environments, either with or without APIs, to | 3254  * variety of environments, either with or without APIs, to provide a consistent | 
| 3294  * provide a consistent developer experience across different environments. | 3255  * developer experience across different environments.Example uses of this error | 
| 3295  * Example uses of this error model include: - Partial errors. If a service | 3256  * model include: Partial errors. If a service needs to return partial errors to | 
| 3296  * needs to return partial errors to the client, it may embed the `Status` in | 3257  * the client, it may embed the Status in the normal response to indicate the | 
| 3297  * the normal response to indicate the partial errors. - Workflow errors. A | 3258  * partial errors. Workflow errors. A typical workflow has multiple steps. Each | 
| 3298  * typical workflow has multiple steps. Each step may have a `Status` message | 3259  * step may have a Status message for error reporting purpose. Batch operations. | 
| 3299  * for error reporting purpose. - Batch operations. If a client uses batch | 3260  * If a client uses batch request and batch response, the Status message should | 
| 3300  * request and batch response, the `Status` message should be used directly | 3261  * be used directly inside batch response, one for each error sub-response. | 
| 3301  * inside batch response, one for each error sub-response. - Asynchronous | 3262  * Asynchronous operations. If an API call embeds asynchronous operation results | 
| 3302  * operations. If an API call embeds asynchronous operation results in its | 3263  * in its response, the status of those operations should be represented | 
| 3303  * response, the status of those operations should be represented directly using | 3264  * directly using the Status message. Logging. If some API errors are stored in | 
| 3304  * the `Status` message. - Logging. If some API errors are stored in logs, the | 3265  * logs, the message Status could be used directly after any stripping needed | 
| 3305  * message `Status` could be used directly after any stripping needed for | 3266  * for security/privacy reasons. | 
| 3306  * security/privacy reasons. |  | 
| 3307  */ | 3267  */ | 
| 3308 class Status { | 3268 class Status { | 
| 3309   /** The status code, which should be an enum value of google.rpc.Code. */ | 3269   /** The status code, which should be an enum value of google.rpc.Code. */ | 
| 3310   core.int code; | 3270   core.int code; | 
| 3311   /** | 3271   /** | 
| 3312    * A list of messages that carry the error details. There will be a common set | 3272    * A list of messages that carry the error details. There will be a common set | 
| 3313    * of message types for APIs to use. | 3273    * of message types for APIs to use. | 
| 3314    * | 3274    * | 
| 3315    * The values for Object must be JSON objects. It can consist of `num`, | 3275    * The values for Object must be JSON objects. It can consist of `num`, | 
| 3316    * `String`, `bool` and `null` as well as `Map` and `List` values. | 3276    * `String`, `bool` and `null` as well as `Map` and `List` values. | 
| (...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 3397     if (shardBy != null) { | 3357     if (shardBy != null) { | 
| 3398       _json["shardBy"] = shardBy; | 3358       _json["shardBy"] = shardBy; | 
| 3399     } | 3359     } | 
| 3400     return _json; | 3360     return _json; | 
| 3401   } | 3361   } | 
| 3402 } | 3362 } | 
| 3403 | 3363 | 
| 3404 /** Rules to match an HTTP request and dispatch that request to a service. */ | 3364 /** Rules to match an HTTP request and dispatch that request to a service. */ | 
| 3405 class UrlDispatchRule { | 3365 class UrlDispatchRule { | 
| 3406   /** | 3366   /** | 
| 3407    * Domain name to match against. The wildcard "`*`" is supported if specified | 3367    * Domain name to match against. The wildcard "*" is supported if specified | 
| 3408    * before a period: "`*.`". Defaults to matching all domains: "`*`". | 3368    * before a period: "*.".Defaults to matching all domains: "*". | 
| 3409    */ | 3369    */ | 
| 3410   core.String domain; | 3370   core.String domain; | 
| 3411   /** | 3371   /** | 
| 3412    * Pathname within the host. Must start with a "`/`". A single "`*`" can be | 3372    * Pathname within the host. Must start with a "/". A single "*" can be | 
| 3413    * included at the end of the path. The sum of the lengths of the domain and | 3373    * included at the end of the path. The sum of the lengths of the domain and | 
| 3414    * path may not exceed 100 characters. | 3374    * path may not exceed 100 characters. | 
| 3415    */ | 3375    */ | 
| 3416   core.String path; | 3376   core.String path; | 
| 3417   /** | 3377   /** | 
| 3418    * Resource ID of a service in this application that should serve the matched | 3378    * Resource ID of a service in this application that should serve the matched | 
| 3419    * request. The service must already exist. Example: `default`. | 3379    * request. The service must already exist. Example: default. | 
| 3420    */ | 3380    */ | 
| 3421   core.String service; | 3381   core.String service; | 
| 3422 | 3382 | 
| 3423   UrlDispatchRule(); | 3383   UrlDispatchRule(); | 
| 3424 | 3384 | 
| 3425   UrlDispatchRule.fromJson(core.Map _json) { | 3385   UrlDispatchRule.fromJson(core.Map _json) { | 
| 3426     if (_json.containsKey("domain")) { | 3386     if (_json.containsKey("domain")) { | 
| 3427       domain = _json["domain"]; | 3387       domain = _json["domain"]; | 
| 3428     } | 3388     } | 
| 3429     if (_json.containsKey("path")) { | 3389     if (_json.containsKey("path")) { | 
| (...skipping 22 matching lines...) Expand all  Loading... | 
| 3452 /** | 3412 /** | 
| 3453  * URL pattern and description of how the URL should be handled. App Engine can | 3413  * URL pattern and description of how the URL should be handled. App Engine can | 
| 3454  * handle URLs by executing application code or by serving static files uploaded | 3414  * handle URLs by executing application code or by serving static files uploaded | 
| 3455  * with the version, such as images, CSS, or JavaScript. | 3415  * with the version, such as images, CSS, or JavaScript. | 
| 3456  */ | 3416  */ | 
| 3457 class UrlMap { | 3417 class UrlMap { | 
| 3458   /** Uses API Endpoints to handle requests. */ | 3418   /** Uses API Endpoints to handle requests. */ | 
| 3459   ApiEndpointHandler apiEndpoint; | 3419   ApiEndpointHandler apiEndpoint; | 
| 3460   /** | 3420   /** | 
| 3461    * Action to take when users access resources that require authentication. | 3421    * Action to take when users access resources that require authentication. | 
| 3462    * Defaults to `redirect`. | 3422    * Defaults to redirect. | 
| 3463    * Possible string values are: | 3423    * Possible string values are: | 
| 3464    * - "AUTH_FAIL_ACTION_UNSPECIFIED" : A AUTH_FAIL_ACTION_UNSPECIFIED. | 3424    * - "AUTH_FAIL_ACTION_UNSPECIFIED" : A AUTH_FAIL_ACTION_UNSPECIFIED. | 
| 3465    * - "AUTH_FAIL_ACTION_REDIRECT" : A AUTH_FAIL_ACTION_REDIRECT. | 3425    * - "AUTH_FAIL_ACTION_REDIRECT" : A AUTH_FAIL_ACTION_REDIRECT. | 
| 3466    * - "AUTH_FAIL_ACTION_UNAUTHORIZED" : A AUTH_FAIL_ACTION_UNAUTHORIZED. | 3426    * - "AUTH_FAIL_ACTION_UNAUTHORIZED" : A AUTH_FAIL_ACTION_UNAUTHORIZED. | 
| 3467    */ | 3427    */ | 
| 3468   core.String authFailAction; | 3428   core.String authFailAction; | 
| 3469   /** | 3429   /** | 
| 3470    * Level of login required to access this resource. | 3430    * Level of login required to access this resource. | 
| 3471    * Possible string values are: | 3431    * Possible string values are: | 
| 3472    * - "LOGIN_UNSPECIFIED" : A LOGIN_UNSPECIFIED. | 3432    * - "LOGIN_UNSPECIFIED" : A LOGIN_UNSPECIFIED. | 
| 3473    * - "LOGIN_OPTIONAL" : A LOGIN_OPTIONAL. | 3433    * - "LOGIN_OPTIONAL" : A LOGIN_OPTIONAL. | 
| 3474    * - "LOGIN_ADMIN" : A LOGIN_ADMIN. | 3434    * - "LOGIN_ADMIN" : A LOGIN_ADMIN. | 
| 3475    * - "LOGIN_REQUIRED" : A LOGIN_REQUIRED. | 3435    * - "LOGIN_REQUIRED" : A LOGIN_REQUIRED. | 
| 3476    */ | 3436    */ | 
| 3477   core.String login; | 3437   core.String login; | 
| 3478   /** | 3438   /** | 
| 3479    * `30x` code to use when performing redirects for the `secure` field. | 3439    * 30x code to use when performing redirects for the secure field. Defaults to | 
| 3480    * Defaults to `302`. | 3440    * 302. | 
| 3481    * Possible string values are: | 3441    * Possible string values are: | 
| 3482    * - "REDIRECT_HTTP_RESPONSE_CODE_UNSPECIFIED" : A | 3442    * - "REDIRECT_HTTP_RESPONSE_CODE_UNSPECIFIED" : A | 
| 3483    * REDIRECT_HTTP_RESPONSE_CODE_UNSPECIFIED. | 3443    * REDIRECT_HTTP_RESPONSE_CODE_UNSPECIFIED. | 
| 3484    * - "REDIRECT_HTTP_RESPONSE_CODE_301" : A REDIRECT_HTTP_RESPONSE_CODE_301. | 3444    * - "REDIRECT_HTTP_RESPONSE_CODE_301" : A REDIRECT_HTTP_RESPONSE_CODE_301. | 
| 3485    * - "REDIRECT_HTTP_RESPONSE_CODE_302" : A REDIRECT_HTTP_RESPONSE_CODE_302. | 3445    * - "REDIRECT_HTTP_RESPONSE_CODE_302" : A REDIRECT_HTTP_RESPONSE_CODE_302. | 
| 3486    * - "REDIRECT_HTTP_RESPONSE_CODE_303" : A REDIRECT_HTTP_RESPONSE_CODE_303. | 3446    * - "REDIRECT_HTTP_RESPONSE_CODE_303" : A REDIRECT_HTTP_RESPONSE_CODE_303. | 
| 3487    * - "REDIRECT_HTTP_RESPONSE_CODE_307" : A REDIRECT_HTTP_RESPONSE_CODE_307. | 3447    * - "REDIRECT_HTTP_RESPONSE_CODE_307" : A REDIRECT_HTTP_RESPONSE_CODE_307. | 
| 3488    */ | 3448    */ | 
| 3489   core.String redirectHttpResponseCode; | 3449   core.String redirectHttpResponseCode; | 
| 3490   /** Executes a script to handle the request that matches this URL pattern. */ | 3450   /** Executes a script to handle the request that matches this URL pattern. */ | 
| (...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 3567     return _json; | 3527     return _json; | 
| 3568   } | 3528   } | 
| 3569 } | 3529 } | 
| 3570 | 3530 | 
| 3571 /** | 3531 /** | 
| 3572  * A Version resource is a specific set of source code and configuration files | 3532  * A Version resource is a specific set of source code and configuration files | 
| 3573  * that are deployed into a service. | 3533  * that are deployed into a service. | 
| 3574  */ | 3534  */ | 
| 3575 class Version { | 3535 class Version { | 
| 3576   /** | 3536   /** | 
| 3577    * Serving configuration for [Google Cloud | 3537    * Serving configuration for Google Cloud Endpoints | 
| 3578    * Endpoints](https://cloud.google.com/appengine/docs/python/endpoints/). Only | 3538    * (https://cloud.google.com/appengine/docs/python/endpoints/).Only returned | 
| 3579    * returned in `GET` requests if `view=FULL` is set. | 3539    * in GET requests if view=FULL is set. | 
| 3580    */ | 3540    */ | 
| 3581   ApiConfigHandler apiConfig; | 3541   ApiConfigHandler apiConfig; | 
| 3582   /** | 3542   /** | 
| 3583    * Automatic scaling is based on request rate, response latencies, and other | 3543    * Automatic scaling is based on request rate, response latencies, and other | 
| 3584    * application metrics. | 3544    * application metrics. | 
| 3585    */ | 3545    */ | 
| 3586   AutomaticScaling automaticScaling; | 3546   AutomaticScaling automaticScaling; | 
| 3587   /** | 3547   /** | 
| 3588    * A service with basic scaling will create an instance when the application | 3548    * A service with basic scaling will create an instance when the application | 
| 3589    * receives a request. The instance will be turned down when the app becomes | 3549    * receives a request. The instance will be turned down when the app becomes | 
| 3590    * idle. Basic scaling is ideal for work that is intermittent or driven by | 3550    * idle. Basic scaling is ideal for work that is intermittent or driven by | 
| 3591    * user activity. | 3551    * user activity. | 
| 3592    */ | 3552    */ | 
| 3593   BasicScaling basicScaling; | 3553   BasicScaling basicScaling; | 
| 3594   /** | 3554   /** | 
| 3595    * Metadata settings that are supplied to this version to enable beta runtime | 3555    * Metadata settings that are supplied to this version to enable beta runtime | 
| 3596    * features. | 3556    * features. | 
| 3597    */ | 3557    */ | 
| 3598   core.Map<core.String, core.String> betaSettings; | 3558   core.Map<core.String, core.String> betaSettings; | 
| 3599   /** Time that this version was created. @OutputOnly */ | 3559   /** Time that this version was created.@OutputOnly */ | 
| 3600   core.String createTime; | 3560   core.String createTime; | 
| 3601   /** Email address of the user who created this version. @OutputOnly */ | 3561   /** Email address of the user who created this version.@OutputOnly */ | 
| 3602   core.String createdBy; | 3562   core.String createdBy; | 
| 3603   /** | 3563   /** | 
| 3604    * Duration that static files should be cached by web proxies and browsers. | 3564    * Duration that static files should be cached by web proxies and browsers. | 
| 3605    * Only applicable if the corresponding | 3565    * Only applicable if the corresponding StaticFilesHandler | 
| 3606    * [StaticFilesHandler](https://cloud.google.com/appengine/docs/admin-api/refe
      rence/rest/v1/apps.services.versions#staticfileshandler) | 3566    * (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.s
      ervices.versions#staticfileshandler) | 
| 3607    * does not specify its own expiration time. Only returned in `GET` requests | 3567    * does not specify its own expiration time.Only returned in GET requests if | 
| 3608    * if `view=FULL` is set. | 3568    * view=FULL is set. | 
| 3609    */ | 3569    */ | 
| 3610   core.String defaultExpiration; | 3570   core.String defaultExpiration; | 
| 3611   /** | 3571   /** | 
| 3612    * Code and application artifacts that make up this version. Only returned in | 3572    * Code and application artifacts that make up this version.Only returned in | 
| 3613    * `GET` requests if `view=FULL` is set. | 3573    * GET requests if view=FULL is set. | 
| 3614    */ | 3574    */ | 
| 3615   Deployment deployment; | 3575   Deployment deployment; | 
| 3616   /** | 3576   /** | 
| 3617    * Total size in bytes of all the files that are included in this version and | 3577    * Total size in bytes of all the files that are included in this version and | 
| 3618    * curerntly hosted on the App Engine disk. @OutputOnly | 3578    * curerntly hosted on the App Engine disk.@OutputOnly | 
| 3619    */ | 3579    */ | 
| 3620   core.String diskUsageBytes; | 3580   core.String diskUsageBytes; | 
| 3621   /** | 3581   /** | 
| 3622    * App Engine execution environment for this version. Defaults to `standard`. | 3582    * Cloud Endpoints configuration.If endpoints_api_service is set, the Cloud | 
|  | 3583    * Endpoints Extensible Service Proxy will be provided to serve the API | 
|  | 3584    * implemented by the app. | 
|  | 3585    */ | 
|  | 3586   EndpointsApiService endpointsApiService; | 
|  | 3587   /** | 
|  | 3588    * App Engine execution environment for this version.Defaults to standard. | 
| 3623    */ | 3589    */ | 
| 3624   core.String env; | 3590   core.String env; | 
| 3625   /** | 3591   /** | 
| 3626    * Environment variables available to the application. Only returned in `GET` | 3592    * Environment variables available to the application.Only returned in GET | 
| 3627    * requests if `view=FULL` is set. | 3593    * requests if view=FULL is set. | 
| 3628    */ | 3594    */ | 
| 3629   core.Map<core.String, core.String> envVariables; | 3595   core.Map<core.String, core.String> envVariables; | 
| 3630   /** | 3596   /** | 
| 3631    * Custom static error pages. Limited to 10KB per page. Only returned in `GET` | 3597    * Custom static error pages. Limited to 10KB per page.Only returned in GET | 
| 3632    * requests if `view=FULL` is set. | 3598    * requests if view=FULL is set. | 
| 3633    */ | 3599    */ | 
| 3634   core.List<ErrorHandler> errorHandlers; | 3600   core.List<ErrorHandler> errorHandlers; | 
| 3635   /** | 3601   /** | 
| 3636    * An ordered list of URL-matching patterns that should be applied to incoming | 3602    * An ordered list of URL-matching patterns that should be applied to incoming | 
| 3637    * requests. The first matching URL handles the request and other request | 3603    * requests. The first matching URL handles the request and other request | 
| 3638    * handlers are not attempted. Only returned in `GET` requests if `view=FULL` | 3604    * handlers are not attempted.Only returned in GET requests if view=FULL is | 
| 3639    * is set. | 3605    * set. | 
| 3640    */ | 3606    */ | 
| 3641   core.List<UrlMap> handlers; | 3607   core.List<UrlMap> handlers; | 
| 3642   /** | 3608   /** | 
| 3643    * Configures health checking for VM instances. Unhealthy instances are | 3609    * Configures health checking for VM instances. Unhealthy instances are | 
| 3644    * stopped and replaced with new instances. Only applicable for VM runtimes. | 3610    * stopped and replaced with new instances. Only applicable for VM | 
| 3645    * Only returned in `GET` requests if `view=FULL` is set. | 3611    * runtimes.Only returned in GET requests if view=FULL is set. | 
| 3646    */ | 3612    */ | 
| 3647   HealthCheck healthCheck; | 3613   HealthCheck healthCheck; | 
| 3648   /** | 3614   /** | 
| 3649    * Relative name of the version within the service. Example: `v1`. Version | 3615    * Relative name of the version within the service. Example: v1. Version names | 
| 3650    * names can contain only lowercase letters, numbers, or hyphens. Reserved | 3616    * can contain only lowercase letters, numbers, or hyphens. Reserved names: | 
| 3651    * names: "default", "latest", and any name with the prefix "ah-". | 3617    * "default", "latest", and any name with the prefix "ah-". | 
| 3652    */ | 3618    */ | 
| 3653   core.String id; | 3619   core.String id; | 
| 3654   /** | 3620   /** | 
| 3655    * Before an application can receive email or XMPP messages, the application | 3621    * Before an application can receive email or XMPP messages, the application | 
| 3656    * must be configured to enable the service. | 3622    * must be configured to enable the service. | 
| 3657    */ | 3623    */ | 
| 3658   core.List<core.String> inboundServices; | 3624   core.List<core.String> inboundServices; | 
| 3659   /** | 3625   /** | 
| 3660    * Instance class that is used to run this version. Valid values are: * | 3626    * Instance class that is used to run this version. Valid values are: | 
| 3661    * AutomaticScaling: `F1`, `F2`, `F4`, `F4_1G` * ManualScaling or | 3627    * AutomaticScaling: F1, F2, F4, F4_1G ManualScaling or BasicScaling: B1, B2, | 
| 3662    * BasicScaling: `B1`, `B2`, `B4`, `B8`, `B4_1G` Defaults to `F1` for | 3628    * B4, B8, B4_1GDefaults to F1 for AutomaticScaling and B1 for ManualScaling | 
| 3663    * AutomaticScaling and `B1` for ManualScaling or BasicScaling. | 3629    * or BasicScaling. | 
| 3664    */ | 3630    */ | 
| 3665   core.String instanceClass; | 3631   core.String instanceClass; | 
| 3666   /** | 3632   /** | 
| 3667    * Configuration for third-party Python runtime libraries that are required by | 3633    * Configuration for third-party Python runtime libraries that are required by | 
| 3668    * the application. Only returned in `GET` requests if `view=FULL` is set. | 3634    * the application.Only returned in GET requests if view=FULL is set. | 
| 3669    */ | 3635    */ | 
| 3670   core.List<Library> libraries; | 3636   core.List<Library> libraries; | 
| 3671   /** | 3637   /** | 
| 3672    * A service with manual scaling runs continuously, allowing you to perform | 3638    * A service with manual scaling runs continuously, allowing you to perform | 
| 3673    * complex initialization and rely on the state of its memory over time. | 3639    * complex initialization and rely on the state of its memory over time. | 
| 3674    */ | 3640    */ | 
| 3675   ManualScaling manualScaling; | 3641   ManualScaling manualScaling; | 
| 3676   /** | 3642   /** | 
| 3677    * Full path to the Version resource in the API. Example: | 3643    * Full path to the Version resource in the API. Example: | 
| 3678    * `apps/myapp/services/default/versions/v1`. @OutputOnly | 3644    * apps/myapp/services/default/versions/v1.@OutputOnly | 
| 3679    */ | 3645    */ | 
| 3680   core.String name; | 3646   core.String name; | 
| 3681   /** Extra network settings. Only applicable for VM runtimes. */ | 3647   /** Extra network settings. Only applicable for VM runtimes. */ | 
| 3682   Network network; | 3648   Network network; | 
| 3683   /** | 3649   /** | 
| 3684    * Files that match this pattern will not be built into this version. Only | 3650    * Files that match this pattern will not be built into this version. Only | 
| 3685    * applicable for Go runtimes. Only returned in `GET` requests if `view=FULL` | 3651    * applicable for Go runtimes.Only returned in GET requests if view=FULL is | 
| 3686    * is set. | 3652    * set. | 
| 3687    */ | 3653    */ | 
| 3688   core.String nobuildFilesRegex; | 3654   core.String nobuildFilesRegex; | 
| 3689   /** Machine resources for this version. Only applicable for VM runtimes. */ | 3655   /** Machine resources for this version. Only applicable for VM runtimes. */ | 
| 3690   Resources resources; | 3656   Resources resources; | 
| 3691   /** Desired runtime. Example: `python27`. */ | 3657   /** Desired runtime. Example: python27. */ | 
| 3692   core.String runtime; | 3658   core.String runtime; | 
| 3693   /** | 3659   /** | 
| 3694    * Current serving status of this version. Only the versions with a `SERVING` | 3660    * Current serving status of this version. Only the versions with a SERVING | 
| 3695    * status create instances and can be billed. `SERVING_STATUS_UNSPECIFIED` is | 3661    * status create instances and can be billed.SERVING_STATUS_UNSPECIFIED is an | 
| 3696    * an invalid value. Defaults to `SERVING`. | 3662    * invalid value. Defaults to SERVING. | 
| 3697    * Possible string values are: | 3663    * Possible string values are: | 
| 3698    * - "SERVING_STATUS_UNSPECIFIED" : A SERVING_STATUS_UNSPECIFIED. | 3664    * - "SERVING_STATUS_UNSPECIFIED" : A SERVING_STATUS_UNSPECIFIED. | 
| 3699    * - "SERVING" : A SERVING. | 3665    * - "SERVING" : A SERVING. | 
| 3700    * - "STOPPED" : A STOPPED. | 3666    * - "STOPPED" : A STOPPED. | 
| 3701    */ | 3667    */ | 
| 3702   core.String servingStatus; | 3668   core.String servingStatus; | 
| 3703   /** Whether multiple requests can be dispatched to this version at once. */ | 3669   /** Whether multiple requests can be dispatched to this version at once. */ | 
| 3704   core.bool threadsafe; | 3670   core.bool threadsafe; | 
| 3705   /** | 3671   /** | 
| 3706    * Serving URL for this version. Example: | 3672    * Serving URL for this version. Example: | 
| 3707    * "https://myversion-dot-myservice-dot-myapp.appspot.com" @OutputOnly | 3673    * "https://myversion-dot-myservice-dot-myapp.appspot.com"@OutputOnly | 
| 3708    */ | 3674    */ | 
| 3709   core.String versionUrl; | 3675   core.String versionUrl; | 
| 3710   /** Whether to deploy this version in a container on a virtual machine. */ | 3676   /** Whether to deploy this version in a container on a virtual machine. */ | 
| 3711   core.bool vm; | 3677   core.bool vm; | 
| 3712 | 3678 | 
| 3713   Version(); | 3679   Version(); | 
| 3714 | 3680 | 
| 3715   Version.fromJson(core.Map _json) { | 3681   Version.fromJson(core.Map _json) { | 
| 3716     if (_json.containsKey("apiConfig")) { | 3682     if (_json.containsKey("apiConfig")) { | 
| 3717       apiConfig = new ApiConfigHandler.fromJson(_json["apiConfig"]); | 3683       apiConfig = new ApiConfigHandler.fromJson(_json["apiConfig"]); | 
| (...skipping 15 matching lines...) Expand all  Loading... | 
| 3733     } | 3699     } | 
| 3734     if (_json.containsKey("defaultExpiration")) { | 3700     if (_json.containsKey("defaultExpiration")) { | 
| 3735       defaultExpiration = _json["defaultExpiration"]; | 3701       defaultExpiration = _json["defaultExpiration"]; | 
| 3736     } | 3702     } | 
| 3737     if (_json.containsKey("deployment")) { | 3703     if (_json.containsKey("deployment")) { | 
| 3738       deployment = new Deployment.fromJson(_json["deployment"]); | 3704       deployment = new Deployment.fromJson(_json["deployment"]); | 
| 3739     } | 3705     } | 
| 3740     if (_json.containsKey("diskUsageBytes")) { | 3706     if (_json.containsKey("diskUsageBytes")) { | 
| 3741       diskUsageBytes = _json["diskUsageBytes"]; | 3707       diskUsageBytes = _json["diskUsageBytes"]; | 
| 3742     } | 3708     } | 
|  | 3709     if (_json.containsKey("endpointsApiService")) { | 
|  | 3710       endpointsApiService = new EndpointsApiService.fromJson(_json["endpointsApi
      Service"]); | 
|  | 3711     } | 
| 3743     if (_json.containsKey("env")) { | 3712     if (_json.containsKey("env")) { | 
| 3744       env = _json["env"]; | 3713       env = _json["env"]; | 
| 3745     } | 3714     } | 
| 3746     if (_json.containsKey("envVariables")) { | 3715     if (_json.containsKey("envVariables")) { | 
| 3747       envVariables = _json["envVariables"]; | 3716       envVariables = _json["envVariables"]; | 
| 3748     } | 3717     } | 
| 3749     if (_json.containsKey("errorHandlers")) { | 3718     if (_json.containsKey("errorHandlers")) { | 
| 3750       errorHandlers = _json["errorHandlers"].map((value) => new ErrorHandler.fro
      mJson(value)).toList(); | 3719       errorHandlers = _json["errorHandlers"].map((value) => new ErrorHandler.fro
      mJson(value)).toList(); | 
| 3751     } | 3720     } | 
| 3752     if (_json.containsKey("handlers")) { | 3721     if (_json.containsKey("handlers")) { | 
| (...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 3821     } | 3790     } | 
| 3822     if (defaultExpiration != null) { | 3791     if (defaultExpiration != null) { | 
| 3823       _json["defaultExpiration"] = defaultExpiration; | 3792       _json["defaultExpiration"] = defaultExpiration; | 
| 3824     } | 3793     } | 
| 3825     if (deployment != null) { | 3794     if (deployment != null) { | 
| 3826       _json["deployment"] = (deployment).toJson(); | 3795       _json["deployment"] = (deployment).toJson(); | 
| 3827     } | 3796     } | 
| 3828     if (diskUsageBytes != null) { | 3797     if (diskUsageBytes != null) { | 
| 3829       _json["diskUsageBytes"] = diskUsageBytes; | 3798       _json["diskUsageBytes"] = diskUsageBytes; | 
| 3830     } | 3799     } | 
|  | 3800     if (endpointsApiService != null) { | 
|  | 3801       _json["endpointsApiService"] = (endpointsApiService).toJson(); | 
|  | 3802     } | 
| 3831     if (env != null) { | 3803     if (env != null) { | 
| 3832       _json["env"] = env; | 3804       _json["env"] = env; | 
| 3833     } | 3805     } | 
| 3834     if (envVariables != null) { | 3806     if (envVariables != null) { | 
| 3835       _json["envVariables"] = envVariables; | 3807       _json["envVariables"] = envVariables; | 
| 3836     } | 3808     } | 
| 3837     if (errorHandlers != null) { | 3809     if (errorHandlers != null) { | 
| 3838       _json["errorHandlers"] = errorHandlers.map((value) => (value).toJson()).to
      List(); | 3810       _json["errorHandlers"] = errorHandlers.map((value) => (value).toJson()).to
      List(); | 
| 3839     } | 3811     } | 
| 3840     if (handlers != null) { | 3812     if (handlers != null) { | 
| (...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 3882     if (versionUrl != null) { | 3854     if (versionUrl != null) { | 
| 3883       _json["versionUrl"] = versionUrl; | 3855       _json["versionUrl"] = versionUrl; | 
| 3884     } | 3856     } | 
| 3885     if (vm != null) { | 3857     if (vm != null) { | 
| 3886       _json["vm"] = vm; | 3858       _json["vm"] = vm; | 
| 3887     } | 3859     } | 
| 3888     return _json; | 3860     return _json; | 
| 3889   } | 3861   } | 
| 3890 } | 3862 } | 
| 3891 | 3863 | 
|  | 3864 /** | 
|  | 3865  * Volumes mounted within the app container. Only applicable for VM runtimes. | 
|  | 3866  */ | 
|  | 3867 class Volume { | 
|  | 3868   /** Unique name for the volume. */ | 
|  | 3869   core.String name; | 
|  | 3870   /** Volume size in gigabytes. */ | 
|  | 3871   core.double sizeGb; | 
|  | 3872   /** Underlying volume type, e.g. 'tmpfs'. */ | 
|  | 3873   core.String volumeType; | 
|  | 3874 | 
|  | 3875   Volume(); | 
|  | 3876 | 
|  | 3877   Volume.fromJson(core.Map _json) { | 
|  | 3878     if (_json.containsKey("name")) { | 
|  | 3879       name = _json["name"]; | 
|  | 3880     } | 
|  | 3881     if (_json.containsKey("sizeGb")) { | 
|  | 3882       sizeGb = _json["sizeGb"]; | 
|  | 3883     } | 
|  | 3884     if (_json.containsKey("volumeType")) { | 
|  | 3885       volumeType = _json["volumeType"]; | 
|  | 3886     } | 
|  | 3887   } | 
|  | 3888 | 
|  | 3889   core.Map toJson() { | 
|  | 3890     var _json = new core.Map(); | 
|  | 3891     if (name != null) { | 
|  | 3892       _json["name"] = name; | 
|  | 3893     } | 
|  | 3894     if (sizeGb != null) { | 
|  | 3895       _json["sizeGb"] = sizeGb; | 
|  | 3896     } | 
|  | 3897     if (volumeType != null) { | 
|  | 3898       _json["volumeType"] = volumeType; | 
|  | 3899     } | 
|  | 3900     return _json; | 
|  | 3901   } | 
|  | 3902 } | 
|  | 3903 | 
| 3892 /** The zip file information for a zip deployment. */ | 3904 /** The zip file information for a zip deployment. */ | 
| 3893 class ZipInfo { | 3905 class ZipInfo { | 
| 3894   /** | 3906   /** | 
| 3895    * An estimate of the number of files in a zip for a zip deployment. If set, | 3907    * An estimate of the number of files in a zip for a zip deployment. If set, | 
| 3896    * must be greater than or equal to the actual number of files. Used for | 3908    * must be greater than or equal to the actual number of files. Used for | 
| 3897    * optimizing performance; if not provided, deployment may be slow. | 3909    * optimizing performance; if not provided, deployment may be slow. | 
| 3898    */ | 3910    */ | 
| 3899   core.int filesCount; | 3911   core.int filesCount; | 
| 3900   /** | 3912   /** | 
| 3901    * URL of the zip file to deploy from. Must be a URL to a resource in Google | 3913    * URL of the zip file to deploy from. Must be a URL to a resource in Google | 
| 3902    * Cloud Storage in the form 'http(s)://storage.googleapis.com/\/\'. | 3914    * Cloud Storage in the form 'http(s)://storage.googleapis.com//'. | 
| 3903    */ | 3915    */ | 
| 3904   core.String sourceUrl; | 3916   core.String sourceUrl; | 
| 3905 | 3917 | 
| 3906   ZipInfo(); | 3918   ZipInfo(); | 
| 3907 | 3919 | 
| 3908   ZipInfo.fromJson(core.Map _json) { | 3920   ZipInfo.fromJson(core.Map _json) { | 
| 3909     if (_json.containsKey("filesCount")) { | 3921     if (_json.containsKey("filesCount")) { | 
| 3910       filesCount = _json["filesCount"]; | 3922       filesCount = _json["filesCount"]; | 
| 3911     } | 3923     } | 
| 3912     if (_json.containsKey("sourceUrl")) { | 3924     if (_json.containsKey("sourceUrl")) { | 
| 3913       sourceUrl = _json["sourceUrl"]; | 3925       sourceUrl = _json["sourceUrl"]; | 
| 3914     } | 3926     } | 
| 3915   } | 3927   } | 
| 3916 | 3928 | 
| 3917   core.Map toJson() { | 3929   core.Map toJson() { | 
| 3918     var _json = new core.Map(); | 3930     var _json = new core.Map(); | 
| 3919     if (filesCount != null) { | 3931     if (filesCount != null) { | 
| 3920       _json["filesCount"] = filesCount; | 3932       _json["filesCount"] = filesCount; | 
| 3921     } | 3933     } | 
| 3922     if (sourceUrl != null) { | 3934     if (sourceUrl != null) { | 
| 3923       _json["sourceUrl"] = sourceUrl; | 3935       _json["sourceUrl"] = sourceUrl; | 
| 3924     } | 3936     } | 
| 3925     return _json; | 3937     return _json; | 
| 3926   } | 3938   } | 
| 3927 } | 3939 } | 
| OLD | NEW | 
|---|