| 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 278 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 289 } | 289 } |
| 290 | 290 |
| 291 /** | 291 /** |
| 292 * Lists information about the supported locations for this service. | 292 * Lists information about the supported locations for this service. |
| 293 * | 293 * |
| 294 * Request parameters: | 294 * Request parameters: |
| 295 * | 295 * |
| 296 * [appsId] - Part of `name`. The resource that owns the locations collection, | 296 * [appsId] - Part of `name`. The resource that owns the locations collection, |
| 297 * if applicable. | 297 * if applicable. |
| 298 * | 298 * |
| 299 * [pageSize] - The standard list page size. |
| 300 * |
| 299 * [filter] - The standard list filter. | 301 * [filter] - The standard list filter. |
| 300 * | 302 * |
| 301 * [pageToken] - The standard list page token. | 303 * [pageToken] - The standard list page token. |
| 302 * | 304 * |
| 303 * [pageSize] - The standard list page size. | |
| 304 * | |
| 305 * Completes with a [ListLocationsResponse]. | 305 * Completes with a [ListLocationsResponse]. |
| 306 * | 306 * |
| 307 * Completes with a [commons.ApiRequestError] if the API endpoint returned an | 307 * Completes with a [commons.ApiRequestError] if the API endpoint returned an |
| 308 * error. | 308 * error. |
| 309 * | 309 * |
| 310 * If the used [http.Client] completes with an error when making a REST call, | 310 * If the used [http.Client] completes with an error when making a REST call, |
| 311 * this method will complete with the same error. | 311 * this method will complete with the same error. |
| 312 */ | 312 */ |
| 313 async.Future<ListLocationsResponse> list(core.String appsId, {core.String filt
er, core.String pageToken, core.int pageSize}) { | 313 async.Future<ListLocationsResponse> list(core.String appsId, {core.int pageSiz
e, core.String filter, core.String pageToken}) { |
| 314 var _url = null; | 314 var _url = null; |
| 315 var _queryParams = new core.Map(); | 315 var _queryParams = new core.Map(); |
| 316 var _uploadMedia = null; | 316 var _uploadMedia = null; |
| 317 var _uploadOptions = null; | 317 var _uploadOptions = null; |
| 318 var _downloadOptions = commons.DownloadOptions.Metadata; | 318 var _downloadOptions = commons.DownloadOptions.Metadata; |
| 319 var _body = null; | 319 var _body = null; |
| 320 | 320 |
| 321 if (appsId == null) { | 321 if (appsId == null) { |
| 322 throw new core.ArgumentError("Parameter appsId is required."); | 322 throw new core.ArgumentError("Parameter appsId is required."); |
| 323 } | 323 } |
| 324 if (pageSize != null) { |
| 325 _queryParams["pageSize"] = ["${pageSize}"]; |
| 326 } |
| 324 if (filter != null) { | 327 if (filter != null) { |
| 325 _queryParams["filter"] = [filter]; | 328 _queryParams["filter"] = [filter]; |
| 326 } | 329 } |
| 327 if (pageToken != null) { | 330 if (pageToken != null) { |
| 328 _queryParams["pageToken"] = [pageToken]; | 331 _queryParams["pageToken"] = [pageToken]; |
| 329 } | 332 } |
| 330 if (pageSize != null) { | |
| 331 _queryParams["pageSize"] = ["${pageSize}"]; | |
| 332 } | |
| 333 | 333 |
| 334 _url = 'v1/apps/' + commons.Escaper.ecapeVariable('$appsId') + '/locations'; | 334 _url = 'v1/apps/' + commons.Escaper.ecapeVariable('$appsId') + '/locations'; |
| 335 | 335 |
| 336 var _response = _requester.request(_url, | 336 var _response = _requester.request(_url, |
| 337 "GET", | 337 "GET", |
| 338 body: _body, | 338 body: _body, |
| 339 queryParams: _queryParams, | 339 queryParams: _queryParams, |
| 340 uploadOptions: _uploadOptions, | 340 uploadOptions: _uploadOptions, |
| 341 uploadMedia: _uploadMedia, | 341 uploadMedia: _uploadMedia, |
| 342 downloadOptions: _downloadOptions); | 342 downloadOptions: _downloadOptions); |
| (...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 406 * binding, API services can add a binding such as "/v1/{name=users / * | 406 * binding, API services can add a binding such as "/v1/{name=users / * |
| 407 * }/operations" to their service configuration. For backwards compatibility, | 407 * }/operations" to their service configuration. For backwards compatibility, |
| 408 * the default name includes the operations collection id, however overriding | 408 * the default name includes the operations collection id, however overriding |
| 409 * users must ensure the name binding is the parent resource, without the | 409 * users must ensure the name binding is the parent resource, without the |
| 410 * operations collection id. | 410 * operations collection id. |
| 411 * | 411 * |
| 412 * Request parameters: | 412 * Request parameters: |
| 413 * | 413 * |
| 414 * [appsId] - Part of `name`. The name of the operation's parent resource. | 414 * [appsId] - Part of `name`. The name of the operation's parent resource. |
| 415 * | 415 * |
| 416 * [filter] - The standard list filter. |
| 417 * |
| 416 * [pageToken] - The standard list page token. | 418 * [pageToken] - The standard list page token. |
| 417 * | 419 * |
| 418 * [pageSize] - The standard list page size. | 420 * [pageSize] - The standard list page size. |
| 419 * | 421 * |
| 420 * [filter] - The standard list filter. | |
| 421 * | |
| 422 * Completes with a [ListOperationsResponse]. | 422 * Completes with a [ListOperationsResponse]. |
| 423 * | 423 * |
| 424 * Completes with a [commons.ApiRequestError] if the API endpoint returned an | 424 * Completes with a [commons.ApiRequestError] if the API endpoint returned an |
| 425 * error. | 425 * error. |
| 426 * | 426 * |
| 427 * If the used [http.Client] completes with an error when making a REST call, | 427 * If the used [http.Client] completes with an error when making a REST call, |
| 428 * this method will complete with the same error. | 428 * this method will complete with the same error. |
| 429 */ | 429 */ |
| 430 async.Future<ListOperationsResponse> list(core.String appsId, {core.String pag
eToken, core.int pageSize, core.String filter}) { | 430 async.Future<ListOperationsResponse> list(core.String appsId, {core.String fil
ter, core.String pageToken, core.int pageSize}) { |
| 431 var _url = null; | 431 var _url = null; |
| 432 var _queryParams = new core.Map(); | 432 var _queryParams = new core.Map(); |
| 433 var _uploadMedia = null; | 433 var _uploadMedia = null; |
| 434 var _uploadOptions = null; | 434 var _uploadOptions = null; |
| 435 var _downloadOptions = commons.DownloadOptions.Metadata; | 435 var _downloadOptions = commons.DownloadOptions.Metadata; |
| 436 var _body = null; | 436 var _body = null; |
| 437 | 437 |
| 438 if (appsId == null) { | 438 if (appsId == null) { |
| 439 throw new core.ArgumentError("Parameter appsId is required."); | 439 throw new core.ArgumentError("Parameter appsId is required."); |
| 440 } | 440 } |
| 441 if (filter != null) { |
| 442 _queryParams["filter"] = [filter]; |
| 443 } |
| 441 if (pageToken != null) { | 444 if (pageToken != null) { |
| 442 _queryParams["pageToken"] = [pageToken]; | 445 _queryParams["pageToken"] = [pageToken]; |
| 443 } | 446 } |
| 444 if (pageSize != null) { | 447 if (pageSize != null) { |
| 445 _queryParams["pageSize"] = ["${pageSize}"]; | 448 _queryParams["pageSize"] = ["${pageSize}"]; |
| 446 } | 449 } |
| 447 if (filter != null) { | |
| 448 _queryParams["filter"] = [filter]; | |
| 449 } | |
| 450 | 450 |
| 451 _url = 'v1/apps/' + commons.Escaper.ecapeVariable('$appsId') + '/operations'
; | 451 _url = 'v1/apps/' + commons.Escaper.ecapeVariable('$appsId') + '/operations'
; |
| 452 | 452 |
| 453 var _response = _requester.request(_url, | 453 var _response = _requester.request(_url, |
| 454 "GET", | 454 "GET", |
| 455 body: _body, | 455 body: _body, |
| 456 queryParams: _queryParams, | 456 queryParams: _queryParams, |
| 457 uploadOptions: _uploadOptions, | 457 uploadOptions: _uploadOptions, |
| 458 uploadMedia: _uploadMedia, | 458 uploadMedia: _uploadMedia, |
| 459 downloadOptions: _downloadOptions); | 459 downloadOptions: _downloadOptions); |
| (...skipping 156 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 616 * | 616 * |
| 617 * [request] - The metadata request object. | 617 * [request] - The metadata request object. |
| 618 * | 618 * |
| 619 * Request parameters: | 619 * Request parameters: |
| 620 * | 620 * |
| 621 * [appsId] - Part of `name`. Name of the resource to update. Example: | 621 * [appsId] - Part of `name`. Name of the resource to update. Example: |
| 622 * apps/myapp/services/default. | 622 * apps/myapp/services/default. |
| 623 * | 623 * |
| 624 * [servicesId] - Part of `name`. See documentation of `appsId`. | 624 * [servicesId] - Part of `name`. See documentation of `appsId`. |
| 625 * | 625 * |
| 626 * [updateMask] - Standard field mask for the set of fields to be updated. | |
| 627 * | |
| 628 * [migrateTraffic] - Set to true to gradually shift traffic to one or more | 626 * [migrateTraffic] - Set to true to gradually shift traffic to one or more |
| 629 * versions that you specify. By default, traffic is shifted immediately. For | 627 * versions that you specify. By default, traffic is shifted immediately. For |
| 630 * gradual traffic migration, the target versions must be located within | 628 * gradual traffic migration, the target versions must be located within |
| 631 * instances that are configured for both warmup requests | 629 * instances that are configured for both warmup requests |
| 632 * (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.s
ervices.versions#inboundservicetype) | 630 * (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.s
ervices.versions#inboundservicetype) |
| 633 * and automatic scaling | 631 * and automatic scaling |
| 634 * (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.s
ervices.versions#automaticscaling). | 632 * (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.s
ervices.versions#automaticscaling). |
| 635 * You must specify the shardBy | 633 * You must specify the shardBy |
| 636 * (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.s
ervices#shardby) | 634 * (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.s
ervices#shardby) |
| 637 * field in the Service resource. Gradual traffic migration is not supported | 635 * field in the Service resource. Gradual traffic migration is not supported |
| 638 * in the App Engine flexible environment. For examples, see Migrating and | 636 * in the App Engine flexible environment. For examples, see Migrating and |
| 639 * Splitting Traffic | 637 * Splitting Traffic |
| 640 * (https://cloud.google.com/appengine/docs/admin-api/migrating-splitting-traf
fic). | 638 * (https://cloud.google.com/appengine/docs/admin-api/migrating-splitting-traf
fic). |
| 641 * | 639 * |
| 640 * [updateMask] - Standard field mask for the set of fields to be updated. |
| 641 * |
| 642 * Completes with a [Operation]. | 642 * Completes with a [Operation]. |
| 643 * | 643 * |
| 644 * Completes with a [commons.ApiRequestError] if the API endpoint returned an | 644 * Completes with a [commons.ApiRequestError] if the API endpoint returned an |
| 645 * error. | 645 * error. |
| 646 * | 646 * |
| 647 * If the used [http.Client] completes with an error when making a REST call, | 647 * If the used [http.Client] completes with an error when making a REST call, |
| 648 * this method will complete with the same error. | 648 * this method will complete with the same error. |
| 649 */ | 649 */ |
| 650 async.Future<Operation> patch(Service request, core.String appsId, core.String
servicesId, {core.String updateMask, core.bool migrateTraffic}) { | 650 async.Future<Operation> patch(Service request, core.String appsId, core.String
servicesId, {core.bool migrateTraffic, core.String updateMask}) { |
| 651 var _url = null; | 651 var _url = null; |
| 652 var _queryParams = new core.Map(); | 652 var _queryParams = new core.Map(); |
| 653 var _uploadMedia = null; | 653 var _uploadMedia = null; |
| 654 var _uploadOptions = null; | 654 var _uploadOptions = null; |
| 655 var _downloadOptions = commons.DownloadOptions.Metadata; | 655 var _downloadOptions = commons.DownloadOptions.Metadata; |
| 656 var _body = null; | 656 var _body = null; |
| 657 | 657 |
| 658 if (request != null) { | 658 if (request != null) { |
| 659 _body = convert.JSON.encode((request).toJson()); | 659 _body = convert.JSON.encode((request).toJson()); |
| 660 } | 660 } |
| 661 if (appsId == null) { | 661 if (appsId == null) { |
| 662 throw new core.ArgumentError("Parameter appsId is required."); | 662 throw new core.ArgumentError("Parameter appsId is required."); |
| 663 } | 663 } |
| 664 if (servicesId == null) { | 664 if (servicesId == null) { |
| 665 throw new core.ArgumentError("Parameter servicesId is required."); | 665 throw new core.ArgumentError("Parameter servicesId is required."); |
| 666 } | 666 } |
| 667 if (migrateTraffic != null) { |
| 668 _queryParams["migrateTraffic"] = ["${migrateTraffic}"]; |
| 669 } |
| 667 if (updateMask != null) { | 670 if (updateMask != null) { |
| 668 _queryParams["updateMask"] = [updateMask]; | 671 _queryParams["updateMask"] = [updateMask]; |
| 669 } | 672 } |
| 670 if (migrateTraffic != null) { | |
| 671 _queryParams["migrateTraffic"] = ["${migrateTraffic}"]; | |
| 672 } | |
| 673 | 673 |
| 674 _url = 'v1/apps/' + commons.Escaper.ecapeVariable('$appsId') + '/services/'
+ commons.Escaper.ecapeVariable('$servicesId'); | 674 _url = 'v1/apps/' + commons.Escaper.ecapeVariable('$appsId') + '/services/'
+ commons.Escaper.ecapeVariable('$servicesId'); |
| 675 | 675 |
| 676 var _response = _requester.request(_url, | 676 var _response = _requester.request(_url, |
| 677 "PATCH", | 677 "PATCH", |
| 678 body: _body, | 678 body: _body, |
| 679 queryParams: _queryParams, | 679 queryParams: _queryParams, |
| 680 uploadOptions: _uploadOptions, | 680 uploadOptions: _uploadOptions, |
| 681 uploadMedia: _uploadMedia, | 681 uploadMedia: _uploadMedia, |
| 682 downloadOptions: _downloadOptions); | 682 downloadOptions: _downloadOptions); |
| (...skipping 501 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1184 * | 1184 * |
| 1185 * Request parameters: | 1185 * Request parameters: |
| 1186 * | 1186 * |
| 1187 * [appsId] - Part of `parent`. Name of the parent Version resource. Example: | 1187 * [appsId] - Part of `parent`. Name of the parent Version resource. Example: |
| 1188 * apps/myapp/services/default/versions/v1. | 1188 * apps/myapp/services/default/versions/v1. |
| 1189 * | 1189 * |
| 1190 * [servicesId] - Part of `parent`. See documentation of `appsId`. | 1190 * [servicesId] - Part of `parent`. See documentation of `appsId`. |
| 1191 * | 1191 * |
| 1192 * [versionsId] - Part of `parent`. See documentation of `appsId`. | 1192 * [versionsId] - Part of `parent`. See documentation of `appsId`. |
| 1193 * | 1193 * |
| 1194 * [pageToken] - Continuation token for fetching the next page of results. |
| 1195 * |
| 1194 * [pageSize] - Maximum results to return per page. | 1196 * [pageSize] - Maximum results to return per page. |
| 1195 * | 1197 * |
| 1196 * [pageToken] - Continuation token for fetching the next page of results. | |
| 1197 * | |
| 1198 * Completes with a [ListInstancesResponse]. | 1198 * Completes with a [ListInstancesResponse]. |
| 1199 * | 1199 * |
| 1200 * Completes with a [commons.ApiRequestError] if the API endpoint returned an | 1200 * Completes with a [commons.ApiRequestError] if the API endpoint returned an |
| 1201 * error. | 1201 * error. |
| 1202 * | 1202 * |
| 1203 * If the used [http.Client] completes with an error when making a REST call, | 1203 * If the used [http.Client] completes with an error when making a REST call, |
| 1204 * this method will complete with the same error. | 1204 * this method will complete with the same error. |
| 1205 */ | 1205 */ |
| 1206 async.Future<ListInstancesResponse> list(core.String appsId, core.String servi
cesId, core.String versionsId, {core.int pageSize, core.String pageToken}) { | 1206 async.Future<ListInstancesResponse> list(core.String appsId, core.String servi
cesId, core.String versionsId, {core.String pageToken, core.int pageSize}) { |
| 1207 var _url = null; | 1207 var _url = null; |
| 1208 var _queryParams = new core.Map(); | 1208 var _queryParams = new core.Map(); |
| 1209 var _uploadMedia = null; | 1209 var _uploadMedia = null; |
| 1210 var _uploadOptions = null; | 1210 var _uploadOptions = null; |
| 1211 var _downloadOptions = commons.DownloadOptions.Metadata; | 1211 var _downloadOptions = commons.DownloadOptions.Metadata; |
| 1212 var _body = null; | 1212 var _body = null; |
| 1213 | 1213 |
| 1214 if (appsId == null) { | 1214 if (appsId == null) { |
| 1215 throw new core.ArgumentError("Parameter appsId is required."); | 1215 throw new core.ArgumentError("Parameter appsId is required."); |
| 1216 } | 1216 } |
| 1217 if (servicesId == null) { | 1217 if (servicesId == null) { |
| 1218 throw new core.ArgumentError("Parameter servicesId is required."); | 1218 throw new core.ArgumentError("Parameter servicesId is required."); |
| 1219 } | 1219 } |
| 1220 if (versionsId == null) { | 1220 if (versionsId == null) { |
| 1221 throw new core.ArgumentError("Parameter versionsId is required."); | 1221 throw new core.ArgumentError("Parameter versionsId is required."); |
| 1222 } | 1222 } |
| 1223 if (pageToken != null) { |
| 1224 _queryParams["pageToken"] = [pageToken]; |
| 1225 } |
| 1223 if (pageSize != null) { | 1226 if (pageSize != null) { |
| 1224 _queryParams["pageSize"] = ["${pageSize}"]; | 1227 _queryParams["pageSize"] = ["${pageSize}"]; |
| 1225 } | 1228 } |
| 1226 if (pageToken != null) { | |
| 1227 _queryParams["pageToken"] = [pageToken]; | |
| 1228 } | |
| 1229 | 1229 |
| 1230 _url = 'v1/apps/' + commons.Escaper.ecapeVariable('$appsId') + '/services/'
+ commons.Escaper.ecapeVariable('$servicesId') + '/versions/' + commons.Escaper.
ecapeVariable('$versionsId') + '/instances'; | 1230 _url = 'v1/apps/' + commons.Escaper.ecapeVariable('$appsId') + '/services/'
+ commons.Escaper.ecapeVariable('$servicesId') + '/versions/' + commons.Escaper.
ecapeVariable('$versionsId') + '/instances'; |
| 1231 | 1231 |
| 1232 var _response = _requester.request(_url, | 1232 var _response = _requester.request(_url, |
| 1233 "GET", | 1233 "GET", |
| 1234 body: _body, | 1234 body: _body, |
| 1235 queryParams: _queryParams, | 1235 queryParams: _queryParams, |
| 1236 uploadOptions: _uploadOptions, | 1236 uploadOptions: _uploadOptions, |
| 1237 uploadMedia: _uploadMedia, | 1237 uploadMedia: _uploadMedia, |
| 1238 downloadOptions: _downloadOptions); | 1238 downloadOptions: _downloadOptions); |
| (...skipping 1460 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2699 | 2699 |
| 2700 core.Map<core.String, core.Object> toJson() { | 2700 core.Map<core.String, core.Object> toJson() { |
| 2701 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); | 2701 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
| 2702 if (instances != null) { | 2702 if (instances != null) { |
| 2703 _json["instances"] = instances; | 2703 _json["instances"] = instances; |
| 2704 } | 2704 } |
| 2705 return _json; | 2705 return _json; |
| 2706 } | 2706 } |
| 2707 } | 2707 } |
| 2708 | 2708 |
| 2709 /** Extra network settings. Only applicable for VM runtimes. */ | 2709 /** |
| 2710 * Extra network settings. Only applicable for App Engine flexible environment |
| 2711 * versions |
| 2712 */ |
| 2710 class Network { | 2713 class Network { |
| 2711 /** | 2714 /** |
| 2712 * List of ports, or port pairs, to forward from the virtual machine to the | 2715 * List of ports, or port pairs, to forward from the virtual machine to the |
| 2713 * application container. | 2716 * application container. Only applicable for App Engine flexible environment |
| 2717 * versions. |
| 2714 */ | 2718 */ |
| 2715 core.List<core.String> forwardedPorts; | 2719 core.List<core.String> forwardedPorts; |
| 2716 /** Tag to apply to the VM instance during creation. */ | 2720 /** |
| 2721 * Tag to apply to the VM instance during creation. Only applicable for for |
| 2722 * App Engine flexible environment versions. |
| 2723 */ |
| 2717 core.String instanceTag; | 2724 core.String instanceTag; |
| 2718 /** | 2725 /** |
| 2719 * Google Cloud Platform network where the virtual machines are created. | 2726 * Google Compute Engine network where the virtual machines are created. |
| 2720 * Specify the short name, not the resource path.Defaults to default. | 2727 * Specify the short name, not the resource path.Defaults to default. |
| 2721 */ | 2728 */ |
| 2722 core.String name; | 2729 core.String name; |
| 2723 /** | 2730 /** |
| 2724 * Google Cloud Platform sub-network where the virtual machines are created. | 2731 * Google Cloud Platform sub-network where the virtual machines are created. |
| 2725 * Specify the short name, not the resource path.If a subnetwork name is | 2732 * Specify the short name, not the resource path.If a subnetwork name is |
| 2726 * specified, a network name will also be required unless it is for the | 2733 * specified, a network name will also be required unless it is for the |
| 2727 * default network. | 2734 * default network. |
| 2728 * If the network the VM instance is being created in is a Legacy network, | 2735 * If the network the VM instance is being created in is a Legacy network, |
| 2729 * then the IP address is allocated from the IPv4Range. | 2736 * then the IP address is allocated from the IPv4Range. |
| 2730 * If the network the VM instance is being created in is an auto Subnet Mode | 2737 * If the network the VM instance is being created in is an auto Subnet Mode |
| 2731 * Network, then only network name should be specified (not the | 2738 * Network, then only network name should be specified (not the |
| 2732 * subnetwork_name) and the IP address is created from the IPCidrRange of the | 2739 * subnetwork_name) and the IP address is created from the IPCidrRange of the |
| 2733 * subnetwork that exists in that zone for that network. | 2740 * subnetwork that exists in that zone for that network. |
| 2734 * If the network the VM instance is being created in is a custom Subnet Mode | 2741 * If the network the VM instance is being created in is a custom Subnet Mode |
| 2735 * Network, then the subnetwork_name must be specified and the IP address is | 2742 * Network, then the subnetwork_name must be specified and the IP address is |
| 2736 * created from the IPCidrRange of the subnetwork.If specified, the subnetwork | 2743 * created from the IPCidrRange of the subnetwork.If specified, the subnetwork |
| 2737 * must exist in the same region as the Flex app. | 2744 * must exist in the same region as the App Engine flexible environment |
| 2745 * application. |
| 2738 */ | 2746 */ |
| 2739 core.String subnetworkName; | 2747 core.String subnetworkName; |
| 2740 | 2748 |
| 2741 Network(); | 2749 Network(); |
| 2742 | 2750 |
| 2743 Network.fromJson(core.Map _json) { | 2751 Network.fromJson(core.Map _json) { |
| 2744 if (_json.containsKey("forwardedPorts")) { | 2752 if (_json.containsKey("forwardedPorts")) { |
| 2745 forwardedPorts = _json["forwardedPorts"]; | 2753 forwardedPorts = _json["forwardedPorts"]; |
| 2746 } | 2754 } |
| 2747 if (_json.containsKey("instanceTag")) { | 2755 if (_json.containsKey("instanceTag")) { |
| (...skipping 1363 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4111 /** | 4119 /** |
| 4112 * A service with manual scaling runs continuously, allowing you to perform | 4120 * A service with manual scaling runs continuously, allowing you to perform |
| 4113 * complex initialization and rely on the state of its memory over time. | 4121 * complex initialization and rely on the state of its memory over time. |
| 4114 */ | 4122 */ |
| 4115 ManualScaling manualScaling; | 4123 ManualScaling manualScaling; |
| 4116 /** | 4124 /** |
| 4117 * Full path to the Version resource in the API. Example: | 4125 * Full path to the Version resource in the API. Example: |
| 4118 * apps/myapp/services/default/versions/v1.@OutputOnly | 4126 * apps/myapp/services/default/versions/v1.@OutputOnly |
| 4119 */ | 4127 */ |
| 4120 core.String name; | 4128 core.String name; |
| 4121 /** Extra network settings. Only applicable for VM runtimes. */ | 4129 /** |
| 4130 * Extra network settings. Only applicable for App Engine flexible environment |
| 4131 * versions. |
| 4132 */ |
| 4122 Network network; | 4133 Network network; |
| 4123 /** | 4134 /** |
| 4124 * Files that match this pattern will not be built into this version. Only | 4135 * Files that match this pattern will not be built into this version. Only |
| 4125 * applicable for Go runtimes.Only returned in GET requests if view=FULL is | 4136 * applicable for Go runtimes.Only returned in GET requests if view=FULL is |
| 4126 * set. | 4137 * set. |
| 4127 */ | 4138 */ |
| 4128 core.String nobuildFilesRegex; | 4139 core.String nobuildFilesRegex; |
| 4129 /** | 4140 /** |
| 4130 * Configures readiness health checking for VM instances. Unhealthy instances | 4141 * Configures readiness health checking for VM instances. Unhealthy instances |
| 4131 * are not put into the backend traffic rotation.Only returned in GET requests | 4142 * are not put into the backend traffic rotation.Only returned in GET requests |
| (...skipping 305 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4437 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); | 4448 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
| 4438 if (filesCount != null) { | 4449 if (filesCount != null) { |
| 4439 _json["filesCount"] = filesCount; | 4450 _json["filesCount"] = filesCount; |
| 4440 } | 4451 } |
| 4441 if (sourceUrl != null) { | 4452 if (sourceUrl != null) { |
| 4442 _json["sourceUrl"] = sourceUrl; | 4453 _json["sourceUrl"] = sourceUrl; |
| 4443 } | 4454 } |
| 4444 return _json; | 4455 return _json; |
| 4445 } | 4456 } |
| 4446 } | 4457 } |
| OLD | NEW |