Index: generated/googleapis_beta/lib/appengine/v1beta.dart |
diff --git a/generated/googleapis_beta/lib/appengine/v1beta.dart b/generated/googleapis_beta/lib/appengine/v1beta.dart |
index a77046c05ca4fdc2e5f7f9e41fcb6abe11ecd86a..5329b6d4279e0c53e9f3ccd35cf0dfdd74488c68 100644 |
--- a/generated/googleapis_beta/lib/appengine/v1beta.dart |
+++ b/generated/googleapis_beta/lib/appengine/v1beta.dart |
@@ -9,70 +9,76 @@ import 'dart:convert' as convert; |
import 'package:_discoveryapis_commons/_discoveryapis_commons.dart' as commons; |
import 'package:http/http.dart' as http; |
-export 'package:_discoveryapis_commons/_discoveryapis_commons.dart' show |
- ApiRequestError, DetailedApiRequestError; |
+export 'package:_discoveryapis_commons/_discoveryapis_commons.dart' |
+ show ApiRequestError, DetailedApiRequestError; |
const core.String USER_AGENT = 'dart-api-client appengine/v1beta'; |
-/** |
- * The App Engine Admin API enables developers to provision and manage their App |
- * Engine applications. |
- */ |
+/// The App Engine Admin API enables developers to provision and manage their |
+/// App Engine applications. |
class AppengineApi { |
- /** View and manage your applications deployed on Google App Engine */ |
- static const AppengineAdminScope = "https://www.googleapis.com/auth/appengine.admin"; |
+ /// View and manage your applications deployed on Google App Engine |
+ static const AppengineAdminScope = |
+ "https://www.googleapis.com/auth/appengine.admin"; |
- /** View and manage your data across Google Cloud Platform services */ |
- static const CloudPlatformScope = "https://www.googleapis.com/auth/cloud-platform"; |
- |
- /** View your data across Google Cloud Platform services */ |
- static const CloudPlatformReadOnlyScope = "https://www.googleapis.com/auth/cloud-platform.read-only"; |
+ /// View and manage your data across Google Cloud Platform services |
+ static const CloudPlatformScope = |
+ "https://www.googleapis.com/auth/cloud-platform"; |
+ /// View your data across Google Cloud Platform services |
+ static const CloudPlatformReadOnlyScope = |
+ "https://www.googleapis.com/auth/cloud-platform.read-only"; |
final commons.ApiRequester _requester; |
AppsResourceApi get apps => new AppsResourceApi(_requester); |
- AppengineApi(http.Client client, {core.String rootUrl: "https://appengine.googleapis.com/", core.String servicePath: ""}) : |
- _requester = new commons.ApiRequester(client, rootUrl, servicePath, USER_AGENT); |
+ AppengineApi(http.Client client, |
+ {core.String rootUrl: "https://appengine.googleapis.com/", |
+ core.String servicePath: ""}) |
+ : _requester = |
+ new commons.ApiRequester(client, rootUrl, servicePath, USER_AGENT); |
} |
- |
class AppsResourceApi { |
final commons.ApiRequester _requester; |
- AppsAuthorizedCertificatesResourceApi get authorizedCertificates => new AppsAuthorizedCertificatesResourceApi(_requester); |
- AppsAuthorizedDomainsResourceApi get authorizedDomains => new AppsAuthorizedDomainsResourceApi(_requester); |
- AppsDomainMappingsResourceApi get domainMappings => new AppsDomainMappingsResourceApi(_requester); |
- AppsFirewallResourceApi get firewall => new AppsFirewallResourceApi(_requester); |
- AppsLocationsResourceApi get locations => new AppsLocationsResourceApi(_requester); |
- AppsOperationsResourceApi get operations => new AppsOperationsResourceApi(_requester); |
- AppsServicesResourceApi get services => new AppsServicesResourceApi(_requester); |
- |
- AppsResourceApi(commons.ApiRequester client) : |
- _requester = client; |
- |
- /** |
- * Creates an App Engine application for a Google Cloud Platform project. |
- * Required fields: |
- * id - The ID of the target Cloud Platform project. |
- * location - The region (https://cloud.google.com/appengine/docs/locations) |
- * where you want the App Engine application located.For more information |
- * about App Engine applications, see Managing Projects, Applications, and |
- * Billing (https://cloud.google.com/appengine/docs/python/console/). |
- * |
- * [request] - The metadata request object. |
- * |
- * Request parameters: |
- * |
- * Completes with a [Operation]. |
- * |
- * Completes with a [commons.ApiRequestError] if the API endpoint returned an |
- * error. |
- * |
- * If the used [http.Client] completes with an error when making a REST call, |
- * this method will complete with the same error. |
- */ |
+ AppsAuthorizedCertificatesResourceApi get authorizedCertificates => |
+ new AppsAuthorizedCertificatesResourceApi(_requester); |
+ AppsAuthorizedDomainsResourceApi get authorizedDomains => |
+ new AppsAuthorizedDomainsResourceApi(_requester); |
+ AppsDomainMappingsResourceApi get domainMappings => |
+ new AppsDomainMappingsResourceApi(_requester); |
+ AppsFirewallResourceApi get firewall => |
+ new AppsFirewallResourceApi(_requester); |
+ AppsLocationsResourceApi get locations => |
+ new AppsLocationsResourceApi(_requester); |
+ AppsOperationsResourceApi get operations => |
+ new AppsOperationsResourceApi(_requester); |
+ AppsServicesResourceApi get services => |
+ new AppsServicesResourceApi(_requester); |
+ |
+ AppsResourceApi(commons.ApiRequester client) : _requester = client; |
+ |
+ /// Creates an App Engine application for a Google Cloud Platform project. |
+ /// Required fields: |
+ /// id - The ID of the target Cloud Platform project. |
+ /// location - The region (https://cloud.google.com/appengine/docs/locations) |
+ /// where you want the App Engine application located.For more information |
+ /// about App Engine applications, see Managing Projects, Applications, and |
+ /// Billing (https://cloud.google.com/appengine/docs/python/console/). |
+ /// |
+ /// [request] - The metadata request object. |
+ /// |
+ /// Request parameters: |
+ /// |
+ /// Completes with a [Operation]. |
+ /// |
+ /// Completes with a [commons.ApiRequestError] if the API endpoint returned |
+ /// an error. |
+ /// |
+ /// If the used [http.Client] completes with an error when making a REST |
+ /// call, this method will complete with the same error. |
async.Future<Operation> create(Application request) { |
var _url = null; |
var _queryParams = new core.Map(); |
@@ -87,32 +93,29 @@ class AppsResourceApi { |
_url = 'v1beta/apps'; |
- var _response = _requester.request(_url, |
- "POST", |
- body: _body, |
- queryParams: _queryParams, |
- uploadOptions: _uploadOptions, |
- uploadMedia: _uploadMedia, |
- downloadOptions: _downloadOptions); |
+ var _response = _requester.request(_url, "POST", |
+ body: _body, |
+ queryParams: _queryParams, |
+ uploadOptions: _uploadOptions, |
+ uploadMedia: _uploadMedia, |
+ downloadOptions: _downloadOptions); |
return _response.then((data) => new Operation.fromJson(data)); |
} |
- /** |
- * Gets information about an application. |
- * |
- * Request parameters: |
- * |
- * [appsId] - Part of `name`. Name of the Application resource to get. |
- * Example: apps/myapp. |
- * |
- * Completes with a [Application]. |
- * |
- * Completes with a [commons.ApiRequestError] if the API endpoint returned an |
- * error. |
- * |
- * If the used [http.Client] completes with an error when making a REST call, |
- * this method will complete with the same error. |
- */ |
+ /// Gets information about an application. |
+ /// |
+ /// Request parameters: |
+ /// |
+ /// [appsId] - Part of `name`. Name of the Application resource to get. |
+ /// Example: apps/myapp. |
+ /// |
+ /// Completes with a [Application]. |
+ /// |
+ /// Completes with a [commons.ApiRequestError] if the API endpoint returned |
+ /// an error. |
+ /// |
+ /// If the used [http.Client] completes with an error when making a REST |
+ /// call, this method will complete with the same error. |
async.Future<Application> get(core.String appsId) { |
var _url = null; |
var _queryParams = new core.Map(); |
@@ -127,41 +130,39 @@ class AppsResourceApi { |
_url = 'v1beta/apps/' + commons.Escaper.ecapeVariable('$appsId'); |
- var _response = _requester.request(_url, |
- "GET", |
- body: _body, |
- queryParams: _queryParams, |
- uploadOptions: _uploadOptions, |
- uploadMedia: _uploadMedia, |
- downloadOptions: _downloadOptions); |
+ var _response = _requester.request(_url, "GET", |
+ body: _body, |
+ queryParams: _queryParams, |
+ uploadOptions: _uploadOptions, |
+ uploadMedia: _uploadMedia, |
+ downloadOptions: _downloadOptions); |
return _response.then((data) => new Application.fromJson(data)); |
} |
- /** |
- * Updates the specified Application resource. You can update the following |
- * fields: |
- * auth_domain - Google authentication domain for controlling user access to |
- * the application. |
- * default_cookie_expiration - Cookie expiration policy for the application. |
- * |
- * [request] - The metadata request object. |
- * |
- * Request parameters: |
- * |
- * [appsId] - Part of `name`. Name of the Application resource to update. |
- * Example: apps/myapp. |
- * |
- * [updateMask] - Standard field mask for the set of fields to be updated. |
- * |
- * Completes with a [Operation]. |
- * |
- * Completes with a [commons.ApiRequestError] if the API endpoint returned an |
- * error. |
- * |
- * If the used [http.Client] completes with an error when making a REST call, |
- * this method will complete with the same error. |
- */ |
- async.Future<Operation> patch(Application request, core.String appsId, {core.String updateMask}) { |
+ /// Updates the specified Application resource. You can update the following |
+ /// fields: |
+ /// auth_domain - Google authentication domain for controlling user access to |
+ /// the application. |
+ /// default_cookie_expiration - Cookie expiration policy for the application. |
+ /// |
+ /// [request] - The metadata request object. |
+ /// |
+ /// Request parameters: |
+ /// |
+ /// [appsId] - Part of `name`. Name of the Application resource to update. |
+ /// Example: apps/myapp. |
+ /// |
+ /// [updateMask] - Standard field mask for the set of fields to be updated. |
+ /// |
+ /// Completes with a [Operation]. |
+ /// |
+ /// Completes with a [commons.ApiRequestError] if the API endpoint returned |
+ /// an error. |
+ /// |
+ /// If the used [http.Client] completes with an error when making a REST |
+ /// call, this method will complete with the same error. |
+ async.Future<Operation> patch(Application request, core.String appsId, |
+ {core.String updateMask}) { |
var _url = null; |
var _queryParams = new core.Map(); |
var _uploadMedia = null; |
@@ -181,38 +182,36 @@ class AppsResourceApi { |
_url = 'v1beta/apps/' + commons.Escaper.ecapeVariable('$appsId'); |
- var _response = _requester.request(_url, |
- "PATCH", |
- body: _body, |
- queryParams: _queryParams, |
- uploadOptions: _uploadOptions, |
- uploadMedia: _uploadMedia, |
- downloadOptions: _downloadOptions); |
+ var _response = _requester.request(_url, "PATCH", |
+ body: _body, |
+ queryParams: _queryParams, |
+ uploadOptions: _uploadOptions, |
+ uploadMedia: _uploadMedia, |
+ downloadOptions: _downloadOptions); |
return _response.then((data) => new Operation.fromJson(data)); |
} |
- /** |
- * Recreates the required App Engine features for the specified App Engine |
- * application, for example a Cloud Storage bucket or App Engine service |
- * account. Use this method if you receive an error message about a missing |
- * feature, for example, Error retrieving the App Engine service account. |
- * |
- * [request] - The metadata request object. |
- * |
- * Request parameters: |
- * |
- * [appsId] - Part of `name`. Name of the application to repair. Example: |
- * apps/myapp |
- * |
- * Completes with a [Operation]. |
- * |
- * Completes with a [commons.ApiRequestError] if the API endpoint returned an |
- * error. |
- * |
- * If the used [http.Client] completes with an error when making a REST call, |
- * this method will complete with the same error. |
- */ |
- async.Future<Operation> repair(RepairApplicationRequest request, core.String appsId) { |
+ /// Recreates the required App Engine features for the specified App Engine |
+ /// application, for example a Cloud Storage bucket or App Engine service |
+ /// account. Use this method if you receive an error message about a missing |
+ /// feature, for example, Error retrieving the App Engine service account. |
+ /// |
+ /// [request] - The metadata request object. |
+ /// |
+ /// Request parameters: |
+ /// |
+ /// [appsId] - Part of `name`. Name of the application to repair. Example: |
+ /// apps/myapp |
+ /// |
+ /// Completes with a [Operation]. |
+ /// |
+ /// Completes with a [commons.ApiRequestError] if the API endpoint returned |
+ /// an error. |
+ /// |
+ /// If the used [http.Client] completes with an error when making a REST |
+ /// call, this method will complete with the same error. |
+ async.Future<Operation> repair( |
+ RepairApplicationRequest request, core.String appsId) { |
var _url = null; |
var _queryParams = new core.Map(); |
var _uploadMedia = null; |
@@ -227,46 +226,43 @@ class AppsResourceApi { |
throw new core.ArgumentError("Parameter appsId is required."); |
} |
- _url = 'v1beta/apps/' + commons.Escaper.ecapeVariable('$appsId') + ':repair'; |
+ _url = |
+ 'v1beta/apps/' + commons.Escaper.ecapeVariable('$appsId') + ':repair'; |
- var _response = _requester.request(_url, |
- "POST", |
- body: _body, |
- queryParams: _queryParams, |
- uploadOptions: _uploadOptions, |
- uploadMedia: _uploadMedia, |
- downloadOptions: _downloadOptions); |
+ var _response = _requester.request(_url, "POST", |
+ body: _body, |
+ queryParams: _queryParams, |
+ uploadOptions: _uploadOptions, |
+ uploadMedia: _uploadMedia, |
+ downloadOptions: _downloadOptions); |
return _response.then((data) => new Operation.fromJson(data)); |
} |
- |
} |
- |
class AppsAuthorizedCertificatesResourceApi { |
final commons.ApiRequester _requester; |
- AppsAuthorizedCertificatesResourceApi(commons.ApiRequester client) : |
- _requester = client; |
- |
- /** |
- * Uploads the specified SSL certificate. |
- * |
- * [request] - The metadata request object. |
- * |
- * Request parameters: |
- * |
- * [appsId] - Part of `parent`. Name of the parent Application resource. |
- * Example: apps/myapp. |
- * |
- * Completes with a [AuthorizedCertificate]. |
- * |
- * Completes with a [commons.ApiRequestError] if the API endpoint returned an |
- * error. |
- * |
- * If the used [http.Client] completes with an error when making a REST call, |
- * this method will complete with the same error. |
- */ |
- async.Future<AuthorizedCertificate> create(AuthorizedCertificate request, core.String appsId) { |
+ AppsAuthorizedCertificatesResourceApi(commons.ApiRequester client) |
+ : _requester = client; |
+ |
+ /// Uploads the specified SSL certificate. |
+ /// |
+ /// [request] - The metadata request object. |
+ /// |
+ /// Request parameters: |
+ /// |
+ /// [appsId] - Part of `parent`. Name of the parent Application resource. |
+ /// Example: apps/myapp. |
+ /// |
+ /// Completes with a [AuthorizedCertificate]. |
+ /// |
+ /// Completes with a [commons.ApiRequestError] if the API endpoint returned |
+ /// an error. |
+ /// |
+ /// If the used [http.Client] completes with an error when making a REST |
+ /// call, this method will complete with the same error. |
+ async.Future<AuthorizedCertificate> create( |
+ AuthorizedCertificate request, core.String appsId) { |
var _url = null; |
var _queryParams = new core.Map(); |
var _uploadMedia = null; |
@@ -281,37 +277,38 @@ class AppsAuthorizedCertificatesResourceApi { |
throw new core.ArgumentError("Parameter appsId is required."); |
} |
- _url = 'v1beta/apps/' + commons.Escaper.ecapeVariable('$appsId') + '/authorizedCertificates'; |
+ _url = 'v1beta/apps/' + |
+ commons.Escaper.ecapeVariable('$appsId') + |
+ '/authorizedCertificates'; |
- var _response = _requester.request(_url, |
- "POST", |
- body: _body, |
- queryParams: _queryParams, |
- uploadOptions: _uploadOptions, |
- uploadMedia: _uploadMedia, |
- downloadOptions: _downloadOptions); |
+ var _response = _requester.request(_url, "POST", |
+ body: _body, |
+ queryParams: _queryParams, |
+ uploadOptions: _uploadOptions, |
+ uploadMedia: _uploadMedia, |
+ downloadOptions: _downloadOptions); |
return _response.then((data) => new AuthorizedCertificate.fromJson(data)); |
} |
- /** |
- * Deletes the specified SSL certificate. |
- * |
- * Request parameters: |
- * |
- * [appsId] - Part of `name`. Name of the resource to delete. Example: |
- * apps/myapp/authorizedCertificates/12345. |
- * |
- * [authorizedCertificatesId] - Part of `name`. See documentation of `appsId`. |
- * |
- * Completes with a [Empty]. |
- * |
- * Completes with a [commons.ApiRequestError] if the API endpoint returned an |
- * error. |
- * |
- * If the used [http.Client] completes with an error when making a REST call, |
- * this method will complete with the same error. |
- */ |
- async.Future<Empty> delete(core.String appsId, core.String authorizedCertificatesId) { |
+ /// Deletes the specified SSL certificate. |
+ /// |
+ /// Request parameters: |
+ /// |
+ /// [appsId] - Part of `name`. Name of the resource to delete. Example: |
+ /// apps/myapp/authorizedCertificates/12345. |
+ /// |
+ /// [authorizedCertificatesId] - Part of `name`. See documentation of |
+ /// `appsId`. |
+ /// |
+ /// Completes with a [Empty]. |
+ /// |
+ /// Completes with a [commons.ApiRequestError] if the API endpoint returned |
+ /// an error. |
+ /// |
+ /// If the used [http.Client] completes with an error when making a REST |
+ /// call, this method will complete with the same error. |
+ async.Future<Empty> delete( |
+ core.String appsId, core.String authorizedCertificatesId) { |
var _url = null; |
var _queryParams = new core.Map(); |
var _uploadMedia = null; |
@@ -323,45 +320,49 @@ class AppsAuthorizedCertificatesResourceApi { |
throw new core.ArgumentError("Parameter appsId is required."); |
} |
if (authorizedCertificatesId == null) { |
- throw new core.ArgumentError("Parameter authorizedCertificatesId is required."); |
+ throw new core.ArgumentError( |
+ "Parameter authorizedCertificatesId is required."); |
} |
- _url = 'v1beta/apps/' + commons.Escaper.ecapeVariable('$appsId') + '/authorizedCertificates/' + commons.Escaper.ecapeVariable('$authorizedCertificatesId'); |
+ _url = 'v1beta/apps/' + |
+ commons.Escaper.ecapeVariable('$appsId') + |
+ '/authorizedCertificates/' + |
+ commons.Escaper.ecapeVariable('$authorizedCertificatesId'); |
- var _response = _requester.request(_url, |
- "DELETE", |
- body: _body, |
- queryParams: _queryParams, |
- uploadOptions: _uploadOptions, |
- uploadMedia: _uploadMedia, |
- downloadOptions: _downloadOptions); |
+ var _response = _requester.request(_url, "DELETE", |
+ body: _body, |
+ queryParams: _queryParams, |
+ uploadOptions: _uploadOptions, |
+ uploadMedia: _uploadMedia, |
+ downloadOptions: _downloadOptions); |
return _response.then((data) => new Empty.fromJson(data)); |
} |
- /** |
- * Gets the specified SSL certificate. |
- * |
- * Request parameters: |
- * |
- * [appsId] - Part of `name`. Name of the resource requested. Example: |
- * apps/myapp/authorizedCertificates/12345. |
- * |
- * [authorizedCertificatesId] - Part of `name`. See documentation of `appsId`. |
- * |
- * [view] - Controls the set of fields returned in the GET response. |
- * Possible string values are: |
- * - "BASIC_CERTIFICATE" : A BASIC_CERTIFICATE. |
- * - "FULL_CERTIFICATE" : A FULL_CERTIFICATE. |
- * |
- * Completes with a [AuthorizedCertificate]. |
- * |
- * Completes with a [commons.ApiRequestError] if the API endpoint returned an |
- * error. |
- * |
- * If the used [http.Client] completes with an error when making a REST call, |
- * this method will complete with the same error. |
- */ |
- async.Future<AuthorizedCertificate> get(core.String appsId, core.String authorizedCertificatesId, {core.String view}) { |
+ /// Gets the specified SSL certificate. |
+ /// |
+ /// Request parameters: |
+ /// |
+ /// [appsId] - Part of `name`. Name of the resource requested. Example: |
+ /// apps/myapp/authorizedCertificates/12345. |
+ /// |
+ /// [authorizedCertificatesId] - Part of `name`. See documentation of |
+ /// `appsId`. |
+ /// |
+ /// [view] - Controls the set of fields returned in the GET response. |
+ /// Possible string values are: |
+ /// - "BASIC_CERTIFICATE" : A BASIC_CERTIFICATE. |
+ /// - "FULL_CERTIFICATE" : A FULL_CERTIFICATE. |
+ /// |
+ /// Completes with a [AuthorizedCertificate]. |
+ /// |
+ /// Completes with a [commons.ApiRequestError] if the API endpoint returned |
+ /// an error. |
+ /// |
+ /// If the used [http.Client] completes with an error when making a REST |
+ /// call, this method will complete with the same error. |
+ async.Future<AuthorizedCertificate> get( |
+ core.String appsId, core.String authorizedCertificatesId, |
+ {core.String view}) { |
var _url = null; |
var _queryParams = new core.Map(); |
var _uploadMedia = null; |
@@ -373,50 +374,52 @@ class AppsAuthorizedCertificatesResourceApi { |
throw new core.ArgumentError("Parameter appsId is required."); |
} |
if (authorizedCertificatesId == null) { |
- throw new core.ArgumentError("Parameter authorizedCertificatesId is required."); |
+ throw new core.ArgumentError( |
+ "Parameter authorizedCertificatesId is required."); |
} |
if (view != null) { |
_queryParams["view"] = [view]; |
} |
- _url = 'v1beta/apps/' + commons.Escaper.ecapeVariable('$appsId') + '/authorizedCertificates/' + commons.Escaper.ecapeVariable('$authorizedCertificatesId'); |
+ _url = 'v1beta/apps/' + |
+ commons.Escaper.ecapeVariable('$appsId') + |
+ '/authorizedCertificates/' + |
+ commons.Escaper.ecapeVariable('$authorizedCertificatesId'); |
- var _response = _requester.request(_url, |
- "GET", |
- body: _body, |
- queryParams: _queryParams, |
- uploadOptions: _uploadOptions, |
- uploadMedia: _uploadMedia, |
- downloadOptions: _downloadOptions); |
+ var _response = _requester.request(_url, "GET", |
+ body: _body, |
+ queryParams: _queryParams, |
+ uploadOptions: _uploadOptions, |
+ uploadMedia: _uploadMedia, |
+ downloadOptions: _downloadOptions); |
return _response.then((data) => new AuthorizedCertificate.fromJson(data)); |
} |
- /** |
- * Lists all SSL certificates the user is authorized to administer. |
- * |
- * Request parameters: |
- * |
- * [appsId] - Part of `parent`. Name of the parent Application resource. |
- * Example: apps/myapp. |
- * |
- * [pageToken] - Continuation token for fetching the next page of results. |
- * |
- * [pageSize] - Maximum results to return per page. |
- * |
- * [view] - Controls the set of fields returned in the LIST response. |
- * Possible string values are: |
- * - "BASIC_CERTIFICATE" : A BASIC_CERTIFICATE. |
- * - "FULL_CERTIFICATE" : A FULL_CERTIFICATE. |
- * |
- * Completes with a [ListAuthorizedCertificatesResponse]. |
- * |
- * Completes with a [commons.ApiRequestError] if the API endpoint returned an |
- * error. |
- * |
- * If the used [http.Client] completes with an error when making a REST call, |
- * this method will complete with the same error. |
- */ |
- async.Future<ListAuthorizedCertificatesResponse> list(core.String appsId, {core.String pageToken, core.int pageSize, core.String view}) { |
+ /// Lists all SSL certificates the user is authorized to administer. |
+ /// |
+ /// Request parameters: |
+ /// |
+ /// [appsId] - Part of `parent`. Name of the parent Application resource. |
+ /// Example: apps/myapp. |
+ /// |
+ /// [pageToken] - Continuation token for fetching the next page of results. |
+ /// |
+ /// [pageSize] - Maximum results to return per page. |
+ /// |
+ /// [view] - Controls the set of fields returned in the LIST response. |
+ /// Possible string values are: |
+ /// - "BASIC_CERTIFICATE" : A BASIC_CERTIFICATE. |
+ /// - "FULL_CERTIFICATE" : A FULL_CERTIFICATE. |
+ /// |
+ /// Completes with a [ListAuthorizedCertificatesResponse]. |
+ /// |
+ /// Completes with a [commons.ApiRequestError] if the API endpoint returned |
+ /// an error. |
+ /// |
+ /// If the used [http.Client] completes with an error when making a REST |
+ /// call, this method will complete with the same error. |
+ async.Future<ListAuthorizedCertificatesResponse> list(core.String appsId, |
+ {core.String pageToken, core.int pageSize, core.String view}) { |
var _url = null; |
var _queryParams = new core.Map(); |
var _uploadMedia = null; |
@@ -437,46 +440,50 @@ class AppsAuthorizedCertificatesResourceApi { |
_queryParams["view"] = [view]; |
} |
- _url = 'v1beta/apps/' + commons.Escaper.ecapeVariable('$appsId') + '/authorizedCertificates'; |
- |
- var _response = _requester.request(_url, |
- "GET", |
- body: _body, |
- queryParams: _queryParams, |
- uploadOptions: _uploadOptions, |
- uploadMedia: _uploadMedia, |
- downloadOptions: _downloadOptions); |
- return _response.then((data) => new ListAuthorizedCertificatesResponse.fromJson(data)); |
- } |
- |
- /** |
- * Updates the specified SSL certificate. To renew a certificate and maintain |
- * its existing domain mappings, update certificate_data with a new |
- * certificate. The new certificate must be applicable to the same domains as |
- * the original certificate. The certificate display_name may also be updated. |
- * |
- * [request] - The metadata request object. |
- * |
- * Request parameters: |
- * |
- * [appsId] - Part of `name`. Name of the resource to update. Example: |
- * apps/myapp/authorizedCertificates/12345. |
- * |
- * [authorizedCertificatesId] - Part of `name`. See documentation of `appsId`. |
- * |
- * [updateMask] - Standard field mask for the set of fields to be updated. |
- * Updates are only supported on the certificate_raw_data and display_name |
- * fields. |
- * |
- * Completes with a [AuthorizedCertificate]. |
- * |
- * Completes with a [commons.ApiRequestError] if the API endpoint returned an |
- * error. |
- * |
- * If the used [http.Client] completes with an error when making a REST call, |
- * this method will complete with the same error. |
- */ |
- async.Future<AuthorizedCertificate> patch(AuthorizedCertificate request, core.String appsId, core.String authorizedCertificatesId, {core.String updateMask}) { |
+ _url = 'v1beta/apps/' + |
+ commons.Escaper.ecapeVariable('$appsId') + |
+ '/authorizedCertificates'; |
+ |
+ var _response = _requester.request(_url, "GET", |
+ body: _body, |
+ queryParams: _queryParams, |
+ uploadOptions: _uploadOptions, |
+ uploadMedia: _uploadMedia, |
+ downloadOptions: _downloadOptions); |
+ return _response |
+ .then((data) => new ListAuthorizedCertificatesResponse.fromJson(data)); |
+ } |
+ |
+ /// Updates the specified SSL certificate. To renew a certificate and |
+ /// maintain its existing domain mappings, update certificate_data with a new |
+ /// certificate. The new certificate must be applicable to the same domains |
+ /// as the original certificate. The certificate display_name may also be |
+ /// updated. |
+ /// |
+ /// [request] - The metadata request object. |
+ /// |
+ /// Request parameters: |
+ /// |
+ /// [appsId] - Part of `name`. Name of the resource to update. Example: |
+ /// apps/myapp/authorizedCertificates/12345. |
+ /// |
+ /// [authorizedCertificatesId] - Part of `name`. See documentation of |
+ /// `appsId`. |
+ /// |
+ /// [updateMask] - Standard field mask for the set of fields to be updated. |
+ /// Updates are only supported on the certificate_raw_data and display_name |
+ /// fields. |
+ /// |
+ /// Completes with a [AuthorizedCertificate]. |
+ /// |
+ /// Completes with a [commons.ApiRequestError] if the API endpoint returned |
+ /// an error. |
+ /// |
+ /// If the used [http.Client] completes with an error when making a REST |
+ /// call, this method will complete with the same error. |
+ async.Future<AuthorizedCertificate> patch(AuthorizedCertificate request, |
+ core.String appsId, core.String authorizedCertificatesId, |
+ {core.String updateMask}) { |
var _url = null; |
var _queryParams = new core.Map(); |
var _uploadMedia = null; |
@@ -491,54 +498,54 @@ class AppsAuthorizedCertificatesResourceApi { |
throw new core.ArgumentError("Parameter appsId is required."); |
} |
if (authorizedCertificatesId == null) { |
- throw new core.ArgumentError("Parameter authorizedCertificatesId is required."); |
+ throw new core.ArgumentError( |
+ "Parameter authorizedCertificatesId is required."); |
} |
if (updateMask != null) { |
_queryParams["updateMask"] = [updateMask]; |
} |
- _url = 'v1beta/apps/' + commons.Escaper.ecapeVariable('$appsId') + '/authorizedCertificates/' + commons.Escaper.ecapeVariable('$authorizedCertificatesId'); |
+ _url = 'v1beta/apps/' + |
+ commons.Escaper.ecapeVariable('$appsId') + |
+ '/authorizedCertificates/' + |
+ commons.Escaper.ecapeVariable('$authorizedCertificatesId'); |
- var _response = _requester.request(_url, |
- "PATCH", |
- body: _body, |
- queryParams: _queryParams, |
- uploadOptions: _uploadOptions, |
- uploadMedia: _uploadMedia, |
- downloadOptions: _downloadOptions); |
+ var _response = _requester.request(_url, "PATCH", |
+ body: _body, |
+ queryParams: _queryParams, |
+ uploadOptions: _uploadOptions, |
+ uploadMedia: _uploadMedia, |
+ downloadOptions: _downloadOptions); |
return _response.then((data) => new AuthorizedCertificate.fromJson(data)); |
} |
- |
} |
- |
class AppsAuthorizedDomainsResourceApi { |
final commons.ApiRequester _requester; |
- AppsAuthorizedDomainsResourceApi(commons.ApiRequester client) : |
- _requester = client; |
- |
- /** |
- * Lists all domains the user is authorized to administer. |
- * |
- * Request parameters: |
- * |
- * [appsId] - Part of `parent`. Name of the parent Application resource. |
- * Example: apps/myapp. |
- * |
- * [pageToken] - Continuation token for fetching the next page of results. |
- * |
- * [pageSize] - Maximum results to return per page. |
- * |
- * Completes with a [ListAuthorizedDomainsResponse]. |
- * |
- * Completes with a [commons.ApiRequestError] if the API endpoint returned an |
- * error. |
- * |
- * If the used [http.Client] completes with an error when making a REST call, |
- * this method will complete with the same error. |
- */ |
- async.Future<ListAuthorizedDomainsResponse> list(core.String appsId, {core.String pageToken, core.int pageSize}) { |
+ AppsAuthorizedDomainsResourceApi(commons.ApiRequester client) |
+ : _requester = client; |
+ |
+ /// Lists all domains the user is authorized to administer. |
+ /// |
+ /// Request parameters: |
+ /// |
+ /// [appsId] - Part of `parent`. Name of the parent Application resource. |
+ /// Example: apps/myapp. |
+ /// |
+ /// [pageToken] - Continuation token for fetching the next page of results. |
+ /// |
+ /// [pageSize] - Maximum results to return per page. |
+ /// |
+ /// Completes with a [ListAuthorizedDomainsResponse]. |
+ /// |
+ /// Completes with a [commons.ApiRequestError] if the API endpoint returned |
+ /// an error. |
+ /// |
+ /// If the used [http.Client] completes with an error when making a REST |
+ /// call, this method will complete with the same error. |
+ async.Future<ListAuthorizedDomainsResponse> list(core.String appsId, |
+ {core.String pageToken, core.int pageSize}) { |
var _url = null; |
var _queryParams = new core.Map(); |
var _uploadMedia = null; |
@@ -556,47 +563,45 @@ class AppsAuthorizedDomainsResourceApi { |
_queryParams["pageSize"] = ["${pageSize}"]; |
} |
- _url = 'v1beta/apps/' + commons.Escaper.ecapeVariable('$appsId') + '/authorizedDomains'; |
+ _url = 'v1beta/apps/' + |
+ commons.Escaper.ecapeVariable('$appsId') + |
+ '/authorizedDomains'; |
- var _response = _requester.request(_url, |
- "GET", |
- body: _body, |
- queryParams: _queryParams, |
- uploadOptions: _uploadOptions, |
- uploadMedia: _uploadMedia, |
- downloadOptions: _downloadOptions); |
- return _response.then((data) => new ListAuthorizedDomainsResponse.fromJson(data)); |
+ var _response = _requester.request(_url, "GET", |
+ body: _body, |
+ queryParams: _queryParams, |
+ uploadOptions: _uploadOptions, |
+ uploadMedia: _uploadMedia, |
+ downloadOptions: _downloadOptions); |
+ return _response |
+ .then((data) => new ListAuthorizedDomainsResponse.fromJson(data)); |
} |
- |
} |
- |
class AppsDomainMappingsResourceApi { |
final commons.ApiRequester _requester; |
- AppsDomainMappingsResourceApi(commons.ApiRequester client) : |
- _requester = client; |
- |
- /** |
- * Maps a domain to an application. A user must be authorized to administer a |
- * domain in order to map it to an application. For a list of available |
- * authorized domains, see AuthorizedDomains.ListAuthorizedDomains. |
- * |
- * [request] - The metadata request object. |
- * |
- * Request parameters: |
- * |
- * [appsId] - Part of `parent`. Name of the parent Application resource. |
- * Example: apps/myapp. |
- * |
- * Completes with a [Operation]. |
- * |
- * Completes with a [commons.ApiRequestError] if the API endpoint returned an |
- * error. |
- * |
- * If the used [http.Client] completes with an error when making a REST call, |
- * this method will complete with the same error. |
- */ |
+ AppsDomainMappingsResourceApi(commons.ApiRequester client) |
+ : _requester = client; |
+ |
+ /// Maps a domain to an application. A user must be authorized to administer |
+ /// a domain in order to map it to an application. For a list of available |
+ /// authorized domains, see AuthorizedDomains.ListAuthorizedDomains. |
+ /// |
+ /// [request] - The metadata request object. |
+ /// |
+ /// Request parameters: |
+ /// |
+ /// [appsId] - Part of `parent`. Name of the parent Application resource. |
+ /// Example: apps/myapp. |
+ /// |
+ /// Completes with a [Operation]. |
+ /// |
+ /// Completes with a [commons.ApiRequestError] if the API endpoint returned |
+ /// an error. |
+ /// |
+ /// If the used [http.Client] completes with an error when making a REST |
+ /// call, this method will complete with the same error. |
async.Future<Operation> create(DomainMapping request, core.String appsId) { |
var _url = null; |
var _queryParams = new core.Map(); |
@@ -612,39 +617,39 @@ class AppsDomainMappingsResourceApi { |
throw new core.ArgumentError("Parameter appsId is required."); |
} |
- _url = 'v1beta/apps/' + commons.Escaper.ecapeVariable('$appsId') + '/domainMappings'; |
+ _url = 'v1beta/apps/' + |
+ commons.Escaper.ecapeVariable('$appsId') + |
+ '/domainMappings'; |
- var _response = _requester.request(_url, |
- "POST", |
- body: _body, |
- queryParams: _queryParams, |
- uploadOptions: _uploadOptions, |
- uploadMedia: _uploadMedia, |
- downloadOptions: _downloadOptions); |
+ var _response = _requester.request(_url, "POST", |
+ body: _body, |
+ queryParams: _queryParams, |
+ uploadOptions: _uploadOptions, |
+ uploadMedia: _uploadMedia, |
+ downloadOptions: _downloadOptions); |
return _response.then((data) => new Operation.fromJson(data)); |
} |
- /** |
- * Deletes the specified domain mapping. A user must be authorized to |
- * administer the associated domain in order to delete a DomainMapping |
- * resource. |
- * |
- * Request parameters: |
- * |
- * [appsId] - Part of `name`. Name of the resource to delete. Example: |
- * apps/myapp/domainMappings/example.com. |
- * |
- * [domainMappingsId] - Part of `name`. See documentation of `appsId`. |
- * |
- * Completes with a [Operation]. |
- * |
- * Completes with a [commons.ApiRequestError] if the API endpoint returned an |
- * error. |
- * |
- * If the used [http.Client] completes with an error when making a REST call, |
- * this method will complete with the same error. |
- */ |
- async.Future<Operation> delete(core.String appsId, core.String domainMappingsId) { |
+ /// Deletes the specified domain mapping. A user must be authorized to |
+ /// administer the associated domain in order to delete a DomainMapping |
+ /// resource. |
+ /// |
+ /// Request parameters: |
+ /// |
+ /// [appsId] - Part of `name`. Name of the resource to delete. Example: |
+ /// apps/myapp/domainMappings/example.com. |
+ /// |
+ /// [domainMappingsId] - Part of `name`. See documentation of `appsId`. |
+ /// |
+ /// Completes with a [Operation]. |
+ /// |
+ /// Completes with a [commons.ApiRequestError] if the API endpoint returned |
+ /// an error. |
+ /// |
+ /// If the used [http.Client] completes with an error when making a REST |
+ /// call, this method will complete with the same error. |
+ async.Future<Operation> delete( |
+ core.String appsId, core.String domainMappingsId) { |
var _url = null; |
var _queryParams = new core.Map(); |
var _uploadMedia = null; |
@@ -659,37 +664,38 @@ class AppsDomainMappingsResourceApi { |
throw new core.ArgumentError("Parameter domainMappingsId is required."); |
} |
- _url = 'v1beta/apps/' + commons.Escaper.ecapeVariable('$appsId') + '/domainMappings/' + commons.Escaper.ecapeVariable('$domainMappingsId'); |
+ _url = 'v1beta/apps/' + |
+ commons.Escaper.ecapeVariable('$appsId') + |
+ '/domainMappings/' + |
+ commons.Escaper.ecapeVariable('$domainMappingsId'); |
- var _response = _requester.request(_url, |
- "DELETE", |
- body: _body, |
- queryParams: _queryParams, |
- uploadOptions: _uploadOptions, |
- uploadMedia: _uploadMedia, |
- downloadOptions: _downloadOptions); |
+ var _response = _requester.request(_url, "DELETE", |
+ body: _body, |
+ queryParams: _queryParams, |
+ uploadOptions: _uploadOptions, |
+ uploadMedia: _uploadMedia, |
+ downloadOptions: _downloadOptions); |
return _response.then((data) => new Operation.fromJson(data)); |
} |
- /** |
- * Gets the specified domain mapping. |
- * |
- * Request parameters: |
- * |
- * [appsId] - Part of `name`. Name of the resource requested. Example: |
- * apps/myapp/domainMappings/example.com. |
- * |
- * [domainMappingsId] - Part of `name`. See documentation of `appsId`. |
- * |
- * Completes with a [DomainMapping]. |
- * |
- * Completes with a [commons.ApiRequestError] if the API endpoint returned an |
- * error. |
- * |
- * If the used [http.Client] completes with an error when making a REST call, |
- * this method will complete with the same error. |
- */ |
- async.Future<DomainMapping> get(core.String appsId, core.String domainMappingsId) { |
+ /// Gets the specified domain mapping. |
+ /// |
+ /// Request parameters: |
+ /// |
+ /// [appsId] - Part of `name`. Name of the resource requested. Example: |
+ /// apps/myapp/domainMappings/example.com. |
+ /// |
+ /// [domainMappingsId] - Part of `name`. See documentation of `appsId`. |
+ /// |
+ /// Completes with a [DomainMapping]. |
+ /// |
+ /// Completes with a [commons.ApiRequestError] if the API endpoint returned |
+ /// an error. |
+ /// |
+ /// If the used [http.Client] completes with an error when making a REST |
+ /// call, this method will complete with the same error. |
+ async.Future<DomainMapping> get( |
+ core.String appsId, core.String domainMappingsId) { |
var _url = null; |
var _queryParams = new core.Map(); |
var _uploadMedia = null; |
@@ -704,39 +710,40 @@ class AppsDomainMappingsResourceApi { |
throw new core.ArgumentError("Parameter domainMappingsId is required."); |
} |
- _url = 'v1beta/apps/' + commons.Escaper.ecapeVariable('$appsId') + '/domainMappings/' + commons.Escaper.ecapeVariable('$domainMappingsId'); |
+ _url = 'v1beta/apps/' + |
+ commons.Escaper.ecapeVariable('$appsId') + |
+ '/domainMappings/' + |
+ commons.Escaper.ecapeVariable('$domainMappingsId'); |
- var _response = _requester.request(_url, |
- "GET", |
- body: _body, |
- queryParams: _queryParams, |
- uploadOptions: _uploadOptions, |
- uploadMedia: _uploadMedia, |
- downloadOptions: _downloadOptions); |
+ var _response = _requester.request(_url, "GET", |
+ body: _body, |
+ queryParams: _queryParams, |
+ uploadOptions: _uploadOptions, |
+ uploadMedia: _uploadMedia, |
+ downloadOptions: _downloadOptions); |
return _response.then((data) => new DomainMapping.fromJson(data)); |
} |
- /** |
- * Lists the domain mappings on an application. |
- * |
- * Request parameters: |
- * |
- * [appsId] - Part of `parent`. Name of the parent Application resource. |
- * Example: apps/myapp. |
- * |
- * [pageToken] - Continuation token for fetching the next page of results. |
- * |
- * [pageSize] - Maximum results to return per page. |
- * |
- * Completes with a [ListDomainMappingsResponse]. |
- * |
- * Completes with a [commons.ApiRequestError] if the API endpoint returned an |
- * error. |
- * |
- * If the used [http.Client] completes with an error when making a REST call, |
- * this method will complete with the same error. |
- */ |
- async.Future<ListDomainMappingsResponse> list(core.String appsId, {core.String pageToken, core.int pageSize}) { |
+ /// Lists the domain mappings on an application. |
+ /// |
+ /// Request parameters: |
+ /// |
+ /// [appsId] - Part of `parent`. Name of the parent Application resource. |
+ /// Example: apps/myapp. |
+ /// |
+ /// [pageToken] - Continuation token for fetching the next page of results. |
+ /// |
+ /// [pageSize] - Maximum results to return per page. |
+ /// |
+ /// Completes with a [ListDomainMappingsResponse]. |
+ /// |
+ /// Completes with a [commons.ApiRequestError] if the API endpoint returned |
+ /// an error. |
+ /// |
+ /// If the used [http.Client] completes with an error when making a REST |
+ /// call, this method will complete with the same error. |
+ async.Future<ListDomainMappingsResponse> list(core.String appsId, |
+ {core.String pageToken, core.int pageSize}) { |
var _url = null; |
var _queryParams = new core.Map(); |
var _uploadMedia = null; |
@@ -754,44 +761,46 @@ class AppsDomainMappingsResourceApi { |
_queryParams["pageSize"] = ["${pageSize}"]; |
} |
- _url = 'v1beta/apps/' + commons.Escaper.ecapeVariable('$appsId') + '/domainMappings'; |
- |
- var _response = _requester.request(_url, |
- "GET", |
- body: _body, |
- queryParams: _queryParams, |
- uploadOptions: _uploadOptions, |
- uploadMedia: _uploadMedia, |
- downloadOptions: _downloadOptions); |
- return _response.then((data) => new ListDomainMappingsResponse.fromJson(data)); |
- } |
- |
- /** |
- * Updates the specified domain mapping. To map an SSL certificate to a domain |
- * mapping, update certificate_id to point to an AuthorizedCertificate |
- * resource. A user must be authorized to administer the associated domain in |
- * order to update a DomainMapping resource. |
- * |
- * [request] - The metadata request object. |
- * |
- * Request parameters: |
- * |
- * [appsId] - Part of `name`. Name of the resource to update. Example: |
- * apps/myapp/domainMappings/example.com. |
- * |
- * [domainMappingsId] - Part of `name`. See documentation of `appsId`. |
- * |
- * [updateMask] - Standard field mask for the set of fields to be updated. |
- * |
- * Completes with a [Operation]. |
- * |
- * Completes with a [commons.ApiRequestError] if the API endpoint returned an |
- * error. |
- * |
- * If the used [http.Client] completes with an error when making a REST call, |
- * this method will complete with the same error. |
- */ |
- async.Future<Operation> patch(DomainMapping request, core.String appsId, core.String domainMappingsId, {core.String updateMask}) { |
+ _url = 'v1beta/apps/' + |
+ commons.Escaper.ecapeVariable('$appsId') + |
+ '/domainMappings'; |
+ |
+ var _response = _requester.request(_url, "GET", |
+ body: _body, |
+ queryParams: _queryParams, |
+ uploadOptions: _uploadOptions, |
+ uploadMedia: _uploadMedia, |
+ downloadOptions: _downloadOptions); |
+ return _response |
+ .then((data) => new ListDomainMappingsResponse.fromJson(data)); |
+ } |
+ |
+ /// Updates the specified domain mapping. To map an SSL certificate to a |
+ /// domain mapping, update certificate_id to point to an |
+ /// AuthorizedCertificate resource. A user must be authorized to administer |
+ /// the associated domain in order to update a DomainMapping resource. |
+ /// |
+ /// [request] - The metadata request object. |
+ /// |
+ /// Request parameters: |
+ /// |
+ /// [appsId] - Part of `name`. Name of the resource to update. Example: |
+ /// apps/myapp/domainMappings/example.com. |
+ /// |
+ /// [domainMappingsId] - Part of `name`. See documentation of `appsId`. |
+ /// |
+ /// [updateMask] - Standard field mask for the set of fields to be updated. |
+ /// |
+ /// Completes with a [Operation]. |
+ /// |
+ /// Completes with a [commons.ApiRequestError] if the API endpoint returned |
+ /// an error. |
+ /// |
+ /// If the used [http.Client] completes with an error when making a REST |
+ /// call, this method will complete with the same error. |
+ async.Future<Operation> patch( |
+ DomainMapping request, core.String appsId, core.String domainMappingsId, |
+ {core.String updateMask}) { |
var _url = null; |
var _queryParams = new core.Map(); |
var _uploadMedia = null; |
@@ -812,59 +821,58 @@ class AppsDomainMappingsResourceApi { |
_queryParams["updateMask"] = [updateMask]; |
} |
- _url = 'v1beta/apps/' + commons.Escaper.ecapeVariable('$appsId') + '/domainMappings/' + commons.Escaper.ecapeVariable('$domainMappingsId'); |
+ _url = 'v1beta/apps/' + |
+ commons.Escaper.ecapeVariable('$appsId') + |
+ '/domainMappings/' + |
+ commons.Escaper.ecapeVariable('$domainMappingsId'); |
- var _response = _requester.request(_url, |
- "PATCH", |
- body: _body, |
- queryParams: _queryParams, |
- uploadOptions: _uploadOptions, |
- uploadMedia: _uploadMedia, |
- downloadOptions: _downloadOptions); |
+ var _response = _requester.request(_url, "PATCH", |
+ body: _body, |
+ queryParams: _queryParams, |
+ uploadOptions: _uploadOptions, |
+ uploadMedia: _uploadMedia, |
+ downloadOptions: _downloadOptions); |
return _response.then((data) => new Operation.fromJson(data)); |
} |
- |
} |
- |
class AppsFirewallResourceApi { |
final commons.ApiRequester _requester; |
- AppsFirewallIngressRulesResourceApi get ingressRules => new AppsFirewallIngressRulesResourceApi(_requester); |
+ AppsFirewallIngressRulesResourceApi get ingressRules => |
+ new AppsFirewallIngressRulesResourceApi(_requester); |
- AppsFirewallResourceApi(commons.ApiRequester client) : |
- _requester = client; |
+ AppsFirewallResourceApi(commons.ApiRequester client) : _requester = client; |
} |
- |
class AppsFirewallIngressRulesResourceApi { |
final commons.ApiRequester _requester; |
- AppsFirewallIngressRulesResourceApi(commons.ApiRequester client) : |
- _requester = client; |
- |
- /** |
- * Replaces the entire firewall ruleset in one bulk operation. This overrides |
- * and replaces the rules of an existing firewall with the new rules.If the |
- * final rule does not match traffic with the '*' wildcard IP range, then an |
- * "allow all" rule is explicitly added to the end of the list. |
- * |
- * [request] - The metadata request object. |
- * |
- * Request parameters: |
- * |
- * [appsId] - Part of `name`. Name of the Firewall collection to set. Example: |
- * apps/myapp/firewall/ingressRules. |
- * |
- * Completes with a [BatchUpdateIngressRulesResponse]. |
- * |
- * Completes with a [commons.ApiRequestError] if the API endpoint returned an |
- * error. |
- * |
- * If the used [http.Client] completes with an error when making a REST call, |
- * this method will complete with the same error. |
- */ |
- async.Future<BatchUpdateIngressRulesResponse> batchUpdate(BatchUpdateIngressRulesRequest request, core.String appsId) { |
+ AppsFirewallIngressRulesResourceApi(commons.ApiRequester client) |
+ : _requester = client; |
+ |
+ /// Replaces the entire firewall ruleset in one bulk operation. This |
+ /// overrides and replaces the rules of an existing firewall with the new |
+ /// rules.If the final rule does not match traffic with the '*' wildcard IP |
+ /// range, then an "allow all" rule is explicitly added to the end of the |
+ /// list. |
+ /// |
+ /// [request] - The metadata request object. |
+ /// |
+ /// Request parameters: |
+ /// |
+ /// [appsId] - Part of `name`. Name of the Firewall collection to set. |
+ /// Example: apps/myapp/firewall/ingressRules. |
+ /// |
+ /// Completes with a [BatchUpdateIngressRulesResponse]. |
+ /// |
+ /// Completes with a [commons.ApiRequestError] if the API endpoint returned |
+ /// an error. |
+ /// |
+ /// If the used [http.Client] completes with an error when making a REST |
+ /// call, this method will complete with the same error. |
+ async.Future<BatchUpdateIngressRulesResponse> batchUpdate( |
+ BatchUpdateIngressRulesRequest request, core.String appsId) { |
var _url = null; |
var _queryParams = new core.Map(); |
var _uploadMedia = null; |
@@ -879,36 +887,36 @@ class AppsFirewallIngressRulesResourceApi { |
throw new core.ArgumentError("Parameter appsId is required."); |
} |
- _url = 'v1beta/apps/' + commons.Escaper.ecapeVariable('$appsId') + '/firewall/ingressRules:batchUpdate'; |
- |
- var _response = _requester.request(_url, |
- "POST", |
- body: _body, |
- queryParams: _queryParams, |
- uploadOptions: _uploadOptions, |
- uploadMedia: _uploadMedia, |
- downloadOptions: _downloadOptions); |
- return _response.then((data) => new BatchUpdateIngressRulesResponse.fromJson(data)); |
- } |
- |
- /** |
- * Creates a firewall rule for the application. |
- * |
- * [request] - The metadata request object. |
- * |
- * Request parameters: |
- * |
- * [appsId] - Part of `parent`. Name of the parent Firewall collection in |
- * which to create a new rule. Example: apps/myapp/firewall/ingressRules. |
- * |
- * Completes with a [FirewallRule]. |
- * |
- * Completes with a [commons.ApiRequestError] if the API endpoint returned an |
- * error. |
- * |
- * If the used [http.Client] completes with an error when making a REST call, |
- * this method will complete with the same error. |
- */ |
+ _url = 'v1beta/apps/' + |
+ commons.Escaper.ecapeVariable('$appsId') + |
+ '/firewall/ingressRules:batchUpdate'; |
+ |
+ var _response = _requester.request(_url, "POST", |
+ body: _body, |
+ queryParams: _queryParams, |
+ uploadOptions: _uploadOptions, |
+ uploadMedia: _uploadMedia, |
+ downloadOptions: _downloadOptions); |
+ return _response |
+ .then((data) => new BatchUpdateIngressRulesResponse.fromJson(data)); |
+ } |
+ |
+ /// Creates a firewall rule for the application. |
+ /// |
+ /// [request] - The metadata request object. |
+ /// |
+ /// Request parameters: |
+ /// |
+ /// [appsId] - Part of `parent`. Name of the parent Firewall collection in |
+ /// which to create a new rule. Example: apps/myapp/firewall/ingressRules. |
+ /// |
+ /// Completes with a [FirewallRule]. |
+ /// |
+ /// Completes with a [commons.ApiRequestError] if the API endpoint returned |
+ /// an error. |
+ /// |
+ /// If the used [http.Client] completes with an error when making a REST |
+ /// call, this method will complete with the same error. |
async.Future<FirewallRule> create(FirewallRule request, core.String appsId) { |
var _url = null; |
var _queryParams = new core.Map(); |
@@ -924,36 +932,35 @@ class AppsFirewallIngressRulesResourceApi { |
throw new core.ArgumentError("Parameter appsId is required."); |
} |
- _url = 'v1beta/apps/' + commons.Escaper.ecapeVariable('$appsId') + '/firewall/ingressRules'; |
+ _url = 'v1beta/apps/' + |
+ commons.Escaper.ecapeVariable('$appsId') + |
+ '/firewall/ingressRules'; |
- var _response = _requester.request(_url, |
- "POST", |
- body: _body, |
- queryParams: _queryParams, |
- uploadOptions: _uploadOptions, |
- uploadMedia: _uploadMedia, |
- downloadOptions: _downloadOptions); |
+ var _response = _requester.request(_url, "POST", |
+ body: _body, |
+ queryParams: _queryParams, |
+ uploadOptions: _uploadOptions, |
+ uploadMedia: _uploadMedia, |
+ downloadOptions: _downloadOptions); |
return _response.then((data) => new FirewallRule.fromJson(data)); |
} |
- /** |
- * Deletes the specified firewall rule. |
- * |
- * Request parameters: |
- * |
- * [appsId] - Part of `name`. Name of the Firewall resource to delete. |
- * Example: apps/myapp/firewall/ingressRules/100. |
- * |
- * [ingressRulesId] - Part of `name`. See documentation of `appsId`. |
- * |
- * Completes with a [Empty]. |
- * |
- * Completes with a [commons.ApiRequestError] if the API endpoint returned an |
- * error. |
- * |
- * If the used [http.Client] completes with an error when making a REST call, |
- * this method will complete with the same error. |
- */ |
+ /// Deletes the specified firewall rule. |
+ /// |
+ /// Request parameters: |
+ /// |
+ /// [appsId] - Part of `name`. Name of the Firewall resource to delete. |
+ /// Example: apps/myapp/firewall/ingressRules/100. |
+ /// |
+ /// [ingressRulesId] - Part of `name`. See documentation of `appsId`. |
+ /// |
+ /// Completes with a [Empty]. |
+ /// |
+ /// Completes with a [commons.ApiRequestError] if the API endpoint returned |
+ /// an error. |
+ /// |
+ /// If the used [http.Client] completes with an error when making a REST |
+ /// call, this method will complete with the same error. |
async.Future<Empty> delete(core.String appsId, core.String ingressRulesId) { |
var _url = null; |
var _queryParams = new core.Map(); |
@@ -969,37 +976,38 @@ class AppsFirewallIngressRulesResourceApi { |
throw new core.ArgumentError("Parameter ingressRulesId is required."); |
} |
- _url = 'v1beta/apps/' + commons.Escaper.ecapeVariable('$appsId') + '/firewall/ingressRules/' + commons.Escaper.ecapeVariable('$ingressRulesId'); |
+ _url = 'v1beta/apps/' + |
+ commons.Escaper.ecapeVariable('$appsId') + |
+ '/firewall/ingressRules/' + |
+ commons.Escaper.ecapeVariable('$ingressRulesId'); |
- var _response = _requester.request(_url, |
- "DELETE", |
- body: _body, |
- queryParams: _queryParams, |
- uploadOptions: _uploadOptions, |
- uploadMedia: _uploadMedia, |
- downloadOptions: _downloadOptions); |
+ var _response = _requester.request(_url, "DELETE", |
+ body: _body, |
+ queryParams: _queryParams, |
+ uploadOptions: _uploadOptions, |
+ uploadMedia: _uploadMedia, |
+ downloadOptions: _downloadOptions); |
return _response.then((data) => new Empty.fromJson(data)); |
} |
- /** |
- * Gets the specified firewall rule. |
- * |
- * Request parameters: |
- * |
- * [appsId] - Part of `name`. Name of the Firewall resource to retrieve. |
- * Example: apps/myapp/firewall/ingressRules/100. |
- * |
- * [ingressRulesId] - Part of `name`. See documentation of `appsId`. |
- * |
- * Completes with a [FirewallRule]. |
- * |
- * Completes with a [commons.ApiRequestError] if the API endpoint returned an |
- * error. |
- * |
- * If the used [http.Client] completes with an error when making a REST call, |
- * this method will complete with the same error. |
- */ |
- async.Future<FirewallRule> get(core.String appsId, core.String ingressRulesId) { |
+ /// Gets the specified firewall rule. |
+ /// |
+ /// Request parameters: |
+ /// |
+ /// [appsId] - Part of `name`. Name of the Firewall resource to retrieve. |
+ /// Example: apps/myapp/firewall/ingressRules/100. |
+ /// |
+ /// [ingressRulesId] - Part of `name`. See documentation of `appsId`. |
+ /// |
+ /// Completes with a [FirewallRule]. |
+ /// |
+ /// Completes with a [commons.ApiRequestError] if the API endpoint returned |
+ /// an error. |
+ /// |
+ /// If the used [http.Client] completes with an error when making a REST |
+ /// call, this method will complete with the same error. |
+ async.Future<FirewallRule> get( |
+ core.String appsId, core.String ingressRulesId) { |
var _url = null; |
var _queryParams = new core.Map(); |
var _uploadMedia = null; |
@@ -1014,43 +1022,44 @@ class AppsFirewallIngressRulesResourceApi { |
throw new core.ArgumentError("Parameter ingressRulesId is required."); |
} |
- _url = 'v1beta/apps/' + commons.Escaper.ecapeVariable('$appsId') + '/firewall/ingressRules/' + commons.Escaper.ecapeVariable('$ingressRulesId'); |
+ _url = 'v1beta/apps/' + |
+ commons.Escaper.ecapeVariable('$appsId') + |
+ '/firewall/ingressRules/' + |
+ commons.Escaper.ecapeVariable('$ingressRulesId'); |
- var _response = _requester.request(_url, |
- "GET", |
- body: _body, |
- queryParams: _queryParams, |
- uploadOptions: _uploadOptions, |
- uploadMedia: _uploadMedia, |
- downloadOptions: _downloadOptions); |
+ var _response = _requester.request(_url, "GET", |
+ body: _body, |
+ queryParams: _queryParams, |
+ uploadOptions: _uploadOptions, |
+ uploadMedia: _uploadMedia, |
+ downloadOptions: _downloadOptions); |
return _response.then((data) => new FirewallRule.fromJson(data)); |
} |
- /** |
- * Lists the firewall rules of an application. |
- * |
- * Request parameters: |
- * |
- * [appsId] - Part of `parent`. Name of the Firewall collection to retrieve. |
- * Example: apps/myapp/firewall/ingressRules. |
- * |
- * [pageToken] - Continuation token for fetching the next page of results. |
- * |
- * [pageSize] - Maximum results to return per page. |
- * |
- * [matchingAddress] - A valid IP Address. If set, only rules matching this |
- * address will be returned. The first returned rule will be the rule that |
- * fires on requests from this IP. |
- * |
- * Completes with a [ListIngressRulesResponse]. |
- * |
- * Completes with a [commons.ApiRequestError] if the API endpoint returned an |
- * error. |
- * |
- * If the used [http.Client] completes with an error when making a REST call, |
- * this method will complete with the same error. |
- */ |
- async.Future<ListIngressRulesResponse> list(core.String appsId, {core.String pageToken, core.int pageSize, core.String matchingAddress}) { |
+ /// Lists the firewall rules of an application. |
+ /// |
+ /// Request parameters: |
+ /// |
+ /// [appsId] - Part of `parent`. Name of the Firewall collection to retrieve. |
+ /// Example: apps/myapp/firewall/ingressRules. |
+ /// |
+ /// [pageToken] - Continuation token for fetching the next page of results. |
+ /// |
+ /// [pageSize] - Maximum results to return per page. |
+ /// |
+ /// [matchingAddress] - A valid IP Address. If set, only rules matching this |
+ /// address will be returned. The first returned rule will be the rule that |
+ /// fires on requests from this IP. |
+ /// |
+ /// Completes with a [ListIngressRulesResponse]. |
+ /// |
+ /// Completes with a [commons.ApiRequestError] if the API endpoint returned |
+ /// an error. |
+ /// |
+ /// If the used [http.Client] completes with an error when making a REST |
+ /// call, this method will complete with the same error. |
+ async.Future<ListIngressRulesResponse> list(core.String appsId, |
+ {core.String pageToken, core.int pageSize, core.String matchingAddress}) { |
var _url = null; |
var _queryParams = new core.Map(); |
var _uploadMedia = null; |
@@ -1071,41 +1080,43 @@ class AppsFirewallIngressRulesResourceApi { |
_queryParams["matchingAddress"] = [matchingAddress]; |
} |
- _url = 'v1beta/apps/' + commons.Escaper.ecapeVariable('$appsId') + '/firewall/ingressRules'; |
- |
- var _response = _requester.request(_url, |
- "GET", |
- body: _body, |
- queryParams: _queryParams, |
- uploadOptions: _uploadOptions, |
- uploadMedia: _uploadMedia, |
- downloadOptions: _downloadOptions); |
- return _response.then((data) => new ListIngressRulesResponse.fromJson(data)); |
- } |
- |
- /** |
- * Updates the specified firewall rule. |
- * |
- * [request] - The metadata request object. |
- * |
- * Request parameters: |
- * |
- * [appsId] - Part of `name`. Name of the Firewall resource to update. |
- * Example: apps/myapp/firewall/ingressRules/100. |
- * |
- * [ingressRulesId] - Part of `name`. See documentation of `appsId`. |
- * |
- * [updateMask] - Standard field mask for the set of fields to be updated. |
- * |
- * Completes with a [FirewallRule]. |
- * |
- * Completes with a [commons.ApiRequestError] if the API endpoint returned an |
- * error. |
- * |
- * If the used [http.Client] completes with an error when making a REST call, |
- * this method will complete with the same error. |
- */ |
- async.Future<FirewallRule> patch(FirewallRule request, core.String appsId, core.String ingressRulesId, {core.String updateMask}) { |
+ _url = 'v1beta/apps/' + |
+ commons.Escaper.ecapeVariable('$appsId') + |
+ '/firewall/ingressRules'; |
+ |
+ var _response = _requester.request(_url, "GET", |
+ body: _body, |
+ queryParams: _queryParams, |
+ uploadOptions: _uploadOptions, |
+ uploadMedia: _uploadMedia, |
+ downloadOptions: _downloadOptions); |
+ return _response |
+ .then((data) => new ListIngressRulesResponse.fromJson(data)); |
+ } |
+ |
+ /// Updates the specified firewall rule. |
+ /// |
+ /// [request] - The metadata request object. |
+ /// |
+ /// Request parameters: |
+ /// |
+ /// [appsId] - Part of `name`. Name of the Firewall resource to update. |
+ /// Example: apps/myapp/firewall/ingressRules/100. |
+ /// |
+ /// [ingressRulesId] - Part of `name`. See documentation of `appsId`. |
+ /// |
+ /// [updateMask] - Standard field mask for the set of fields to be updated. |
+ /// |
+ /// Completes with a [FirewallRule]. |
+ /// |
+ /// Completes with a [commons.ApiRequestError] if the API endpoint returned |
+ /// an error. |
+ /// |
+ /// If the used [http.Client] completes with an error when making a REST |
+ /// call, this method will complete with the same error. |
+ async.Future<FirewallRule> patch( |
+ FirewallRule request, core.String appsId, core.String ingressRulesId, |
+ {core.String updateMask}) { |
var _url = null; |
var _queryParams = new core.Map(); |
var _uploadMedia = null; |
@@ -1126,44 +1137,41 @@ class AppsFirewallIngressRulesResourceApi { |
_queryParams["updateMask"] = [updateMask]; |
} |
- _url = 'v1beta/apps/' + commons.Escaper.ecapeVariable('$appsId') + '/firewall/ingressRules/' + commons.Escaper.ecapeVariable('$ingressRulesId'); |
+ _url = 'v1beta/apps/' + |
+ commons.Escaper.ecapeVariable('$appsId') + |
+ '/firewall/ingressRules/' + |
+ commons.Escaper.ecapeVariable('$ingressRulesId'); |
- var _response = _requester.request(_url, |
- "PATCH", |
- body: _body, |
- queryParams: _queryParams, |
- uploadOptions: _uploadOptions, |
- uploadMedia: _uploadMedia, |
- downloadOptions: _downloadOptions); |
+ var _response = _requester.request(_url, "PATCH", |
+ body: _body, |
+ queryParams: _queryParams, |
+ uploadOptions: _uploadOptions, |
+ uploadMedia: _uploadMedia, |
+ downloadOptions: _downloadOptions); |
return _response.then((data) => new FirewallRule.fromJson(data)); |
} |
- |
} |
- |
class AppsLocationsResourceApi { |
final commons.ApiRequester _requester; |
- AppsLocationsResourceApi(commons.ApiRequester client) : |
- _requester = client; |
- |
- /** |
- * Get information about a location. |
- * |
- * Request parameters: |
- * |
- * [appsId] - Part of `name`. Resource name for the location. |
- * |
- * [locationsId] - Part of `name`. See documentation of `appsId`. |
- * |
- * Completes with a [Location]. |
- * |
- * Completes with a [commons.ApiRequestError] if the API endpoint returned an |
- * error. |
- * |
- * If the used [http.Client] completes with an error when making a REST call, |
- * this method will complete with the same error. |
- */ |
+ AppsLocationsResourceApi(commons.ApiRequester client) : _requester = client; |
+ |
+ /// Get information about a location. |
+ /// |
+ /// Request parameters: |
+ /// |
+ /// [appsId] - Part of `name`. Resource name for the location. |
+ /// |
+ /// [locationsId] - Part of `name`. See documentation of `appsId`. |
+ /// |
+ /// Completes with a [Location]. |
+ /// |
+ /// Completes with a [commons.ApiRequestError] if the API endpoint returned |
+ /// an error. |
+ /// |
+ /// If the used [http.Client] completes with an error when making a REST |
+ /// call, this method will complete with the same error. |
async.Future<Location> get(core.String appsId, core.String locationsId) { |
var _url = null; |
var _queryParams = new core.Map(); |
@@ -1179,41 +1187,42 @@ class AppsLocationsResourceApi { |
throw new core.ArgumentError("Parameter locationsId is required."); |
} |
- _url = 'v1beta/apps/' + commons.Escaper.ecapeVariable('$appsId') + '/locations/' + commons.Escaper.ecapeVariable('$locationsId'); |
+ _url = 'v1beta/apps/' + |
+ commons.Escaper.ecapeVariable('$appsId') + |
+ '/locations/' + |
+ commons.Escaper.ecapeVariable('$locationsId'); |
- var _response = _requester.request(_url, |
- "GET", |
- body: _body, |
- queryParams: _queryParams, |
- uploadOptions: _uploadOptions, |
- uploadMedia: _uploadMedia, |
- downloadOptions: _downloadOptions); |
+ var _response = _requester.request(_url, "GET", |
+ body: _body, |
+ queryParams: _queryParams, |
+ uploadOptions: _uploadOptions, |
+ uploadMedia: _uploadMedia, |
+ downloadOptions: _downloadOptions); |
return _response.then((data) => new Location.fromJson(data)); |
} |
- /** |
- * Lists information about the supported locations for this service. |
- * |
- * Request parameters: |
- * |
- * [appsId] - Part of `name`. The resource that owns the locations collection, |
- * if applicable. |
- * |
- * [filter] - The standard list filter. |
- * |
- * [pageToken] - The standard list page token. |
- * |
- * [pageSize] - The standard list page size. |
- * |
- * Completes with a [ListLocationsResponse]. |
- * |
- * Completes with a [commons.ApiRequestError] if the API endpoint returned an |
- * error. |
- * |
- * If the used [http.Client] completes with an error when making a REST call, |
- * this method will complete with the same error. |
- */ |
- async.Future<ListLocationsResponse> list(core.String appsId, {core.String filter, core.String pageToken, core.int pageSize}) { |
+ /// Lists information about the supported locations for this service. |
+ /// |
+ /// Request parameters: |
+ /// |
+ /// [appsId] - Part of `name`. The resource that owns the locations |
+ /// collection, if applicable. |
+ /// |
+ /// [filter] - The standard list filter. |
+ /// |
+ /// [pageToken] - The standard list page token. |
+ /// |
+ /// [pageSize] - The standard list page size. |
+ /// |
+ /// Completes with a [ListLocationsResponse]. |
+ /// |
+ /// Completes with a [commons.ApiRequestError] if the API endpoint returned |
+ /// an error. |
+ /// |
+ /// If the used [http.Client] completes with an error when making a REST |
+ /// call, this method will complete with the same error. |
+ async.Future<ListLocationsResponse> list(core.String appsId, |
+ {core.String filter, core.String pageToken, core.int pageSize}) { |
var _url = null; |
var _queryParams = new core.Map(); |
var _uploadMedia = null; |
@@ -1234,46 +1243,42 @@ class AppsLocationsResourceApi { |
_queryParams["pageSize"] = ["${pageSize}"]; |
} |
- _url = 'v1beta/apps/' + commons.Escaper.ecapeVariable('$appsId') + '/locations'; |
+ _url = 'v1beta/apps/' + |
+ commons.Escaper.ecapeVariable('$appsId') + |
+ '/locations'; |
- var _response = _requester.request(_url, |
- "GET", |
- body: _body, |
- queryParams: _queryParams, |
- uploadOptions: _uploadOptions, |
- uploadMedia: _uploadMedia, |
- downloadOptions: _downloadOptions); |
+ var _response = _requester.request(_url, "GET", |
+ body: _body, |
+ queryParams: _queryParams, |
+ uploadOptions: _uploadOptions, |
+ uploadMedia: _uploadMedia, |
+ downloadOptions: _downloadOptions); |
return _response.then((data) => new ListLocationsResponse.fromJson(data)); |
} |
- |
} |
- |
class AppsOperationsResourceApi { |
final commons.ApiRequester _requester; |
- AppsOperationsResourceApi(commons.ApiRequester client) : |
- _requester = client; |
- |
- /** |
- * Gets the latest state of a long-running operation. Clients can use this |
- * method to poll the operation result at intervals as recommended by the API |
- * service. |
- * |
- * Request parameters: |
- * |
- * [appsId] - Part of `name`. The name of the operation resource. |
- * |
- * [operationsId] - Part of `name`. See documentation of `appsId`. |
- * |
- * Completes with a [Operation]. |
- * |
- * Completes with a [commons.ApiRequestError] if the API endpoint returned an |
- * error. |
- * |
- * If the used [http.Client] completes with an error when making a REST call, |
- * this method will complete with the same error. |
- */ |
+ AppsOperationsResourceApi(commons.ApiRequester client) : _requester = client; |
+ |
+ /// Gets the latest state of a long-running operation. Clients can use this |
+ /// method to poll the operation result at intervals as recommended by the |
+ /// API service. |
+ /// |
+ /// Request parameters: |
+ /// |
+ /// [appsId] - Part of `name`. The name of the operation resource. |
+ /// |
+ /// [operationsId] - Part of `name`. See documentation of `appsId`. |
+ /// |
+ /// Completes with a [Operation]. |
+ /// |
+ /// Completes with a [commons.ApiRequestError] if the API endpoint returned |
+ /// an error. |
+ /// |
+ /// If the used [http.Client] completes with an error when making a REST |
+ /// call, this method will complete with the same error. |
async.Future<Operation> get(core.String appsId, core.String operationsId) { |
var _url = null; |
var _queryParams = new core.Map(); |
@@ -1289,48 +1294,49 @@ class AppsOperationsResourceApi { |
throw new core.ArgumentError("Parameter operationsId is required."); |
} |
- _url = 'v1beta/apps/' + commons.Escaper.ecapeVariable('$appsId') + '/operations/' + commons.Escaper.ecapeVariable('$operationsId'); |
+ _url = 'v1beta/apps/' + |
+ commons.Escaper.ecapeVariable('$appsId') + |
+ '/operations/' + |
+ commons.Escaper.ecapeVariable('$operationsId'); |
- var _response = _requester.request(_url, |
- "GET", |
- body: _body, |
- queryParams: _queryParams, |
- uploadOptions: _uploadOptions, |
- uploadMedia: _uploadMedia, |
- downloadOptions: _downloadOptions); |
+ var _response = _requester.request(_url, "GET", |
+ body: _body, |
+ queryParams: _queryParams, |
+ uploadOptions: _uploadOptions, |
+ uploadMedia: _uploadMedia, |
+ downloadOptions: _downloadOptions); |
return _response.then((data) => new Operation.fromJson(data)); |
} |
- /** |
- * Lists operations that match the specified filter in the request. If the |
- * server doesn't support this method, it returns UNIMPLEMENTED.NOTE: the name |
- * binding allows API services to override the binding to use different |
- * resource name schemes, such as users / * /operations. To override the |
- * binding, API services can add a binding such as "/v1/{name=users / * |
- * }/operations" to their service configuration. For backwards compatibility, |
- * the default name includes the operations collection id, however overriding |
- * users must ensure the name binding is the parent resource, without the |
- * operations collection id. |
- * |
- * Request parameters: |
- * |
- * [appsId] - Part of `name`. The name of the operation's parent resource. |
- * |
- * [pageToken] - The standard list page token. |
- * |
- * [pageSize] - The standard list page size. |
- * |
- * [filter] - The standard list filter. |
- * |
- * Completes with a [ListOperationsResponse]. |
- * |
- * Completes with a [commons.ApiRequestError] if the API endpoint returned an |
- * error. |
- * |
- * If the used [http.Client] completes with an error when making a REST call, |
- * this method will complete with the same error. |
- */ |
- async.Future<ListOperationsResponse> list(core.String appsId, {core.String pageToken, core.int pageSize, core.String filter}) { |
+ /// Lists operations that match the specified filter in the request. If the |
+ /// server doesn't support this method, it returns UNIMPLEMENTED.NOTE: the |
+ /// name binding allows API services to override the binding to use different |
+ /// resource name schemes, such as users / * /operations. To override the |
+ /// binding, API services can add a binding such as "/v1/{name=users / * |
+ /// }/operations" to their service configuration. For backwards |
+ /// compatibility, the default name includes the operations collection id, |
+ /// however overriding users must ensure the name binding is the parent |
+ /// resource, without the operations collection id. |
+ /// |
+ /// Request parameters: |
+ /// |
+ /// [appsId] - Part of `name`. The name of the operation's parent resource. |
+ /// |
+ /// [filter] - The standard list filter. |
+ /// |
+ /// [pageToken] - The standard list page token. |
+ /// |
+ /// [pageSize] - The standard list page size. |
+ /// |
+ /// Completes with a [ListOperationsResponse]. |
+ /// |
+ /// Completes with a [commons.ApiRequestError] if the API endpoint returned |
+ /// an error. |
+ /// |
+ /// If the used [http.Client] completes with an error when making a REST |
+ /// call, this method will complete with the same error. |
+ async.Future<ListOperationsResponse> list(core.String appsId, |
+ {core.String filter, core.String pageToken, core.int pageSize}) { |
var _url = null; |
var _queryParams = new core.Map(); |
var _uploadMedia = null; |
@@ -1341,57 +1347,54 @@ class AppsOperationsResourceApi { |
if (appsId == null) { |
throw new core.ArgumentError("Parameter appsId is required."); |
} |
+ if (filter != null) { |
+ _queryParams["filter"] = [filter]; |
+ } |
if (pageToken != null) { |
_queryParams["pageToken"] = [pageToken]; |
} |
if (pageSize != null) { |
_queryParams["pageSize"] = ["${pageSize}"]; |
} |
- if (filter != null) { |
- _queryParams["filter"] = [filter]; |
- } |
- _url = 'v1beta/apps/' + commons.Escaper.ecapeVariable('$appsId') + '/operations'; |
+ _url = 'v1beta/apps/' + |
+ commons.Escaper.ecapeVariable('$appsId') + |
+ '/operations'; |
- var _response = _requester.request(_url, |
- "GET", |
- body: _body, |
- queryParams: _queryParams, |
- uploadOptions: _uploadOptions, |
- uploadMedia: _uploadMedia, |
- downloadOptions: _downloadOptions); |
+ var _response = _requester.request(_url, "GET", |
+ body: _body, |
+ queryParams: _queryParams, |
+ uploadOptions: _uploadOptions, |
+ uploadMedia: _uploadMedia, |
+ downloadOptions: _downloadOptions); |
return _response.then((data) => new ListOperationsResponse.fromJson(data)); |
} |
- |
} |
- |
class AppsServicesResourceApi { |
final commons.ApiRequester _requester; |
- AppsServicesVersionsResourceApi get versions => new AppsServicesVersionsResourceApi(_requester); |
- |
- AppsServicesResourceApi(commons.ApiRequester client) : |
- _requester = client; |
- |
- /** |
- * Deletes the specified service and all enclosed versions. |
- * |
- * Request parameters: |
- * |
- * [appsId] - Part of `name`. Name of the resource requested. Example: |
- * apps/myapp/services/default. |
- * |
- * [servicesId] - Part of `name`. See documentation of `appsId`. |
- * |
- * Completes with a [Operation]. |
- * |
- * Completes with a [commons.ApiRequestError] if the API endpoint returned an |
- * error. |
- * |
- * If the used [http.Client] completes with an error when making a REST call, |
- * this method will complete with the same error. |
- */ |
+ AppsServicesVersionsResourceApi get versions => |
+ new AppsServicesVersionsResourceApi(_requester); |
+ |
+ AppsServicesResourceApi(commons.ApiRequester client) : _requester = client; |
+ |
+ /// Deletes the specified service and all enclosed versions. |
+ /// |
+ /// Request parameters: |
+ /// |
+ /// [appsId] - Part of `name`. Name of the resource requested. Example: |
+ /// apps/myapp/services/default. |
+ /// |
+ /// [servicesId] - Part of `name`. See documentation of `appsId`. |
+ /// |
+ /// Completes with a [Operation]. |
+ /// |
+ /// Completes with a [commons.ApiRequestError] if the API endpoint returned |
+ /// an error. |
+ /// |
+ /// If the used [http.Client] completes with an error when making a REST |
+ /// call, this method will complete with the same error. |
async.Future<Operation> delete(core.String appsId, core.String servicesId) { |
var _url = null; |
var _queryParams = new core.Map(); |
@@ -1407,36 +1410,36 @@ class AppsServicesResourceApi { |
throw new core.ArgumentError("Parameter servicesId is required."); |
} |
- _url = 'v1beta/apps/' + commons.Escaper.ecapeVariable('$appsId') + '/services/' + commons.Escaper.ecapeVariable('$servicesId'); |
+ _url = 'v1beta/apps/' + |
+ commons.Escaper.ecapeVariable('$appsId') + |
+ '/services/' + |
+ commons.Escaper.ecapeVariable('$servicesId'); |
- var _response = _requester.request(_url, |
- "DELETE", |
- body: _body, |
- queryParams: _queryParams, |
- uploadOptions: _uploadOptions, |
- uploadMedia: _uploadMedia, |
- downloadOptions: _downloadOptions); |
+ var _response = _requester.request(_url, "DELETE", |
+ body: _body, |
+ queryParams: _queryParams, |
+ uploadOptions: _uploadOptions, |
+ uploadMedia: _uploadMedia, |
+ downloadOptions: _downloadOptions); |
return _response.then((data) => new Operation.fromJson(data)); |
} |
- /** |
- * Gets the current configuration of the specified service. |
- * |
- * Request parameters: |
- * |
- * [appsId] - Part of `name`. Name of the resource requested. Example: |
- * apps/myapp/services/default. |
- * |
- * [servicesId] - Part of `name`. See documentation of `appsId`. |
- * |
- * Completes with a [Service]. |
- * |
- * Completes with a [commons.ApiRequestError] if the API endpoint returned an |
- * error. |
- * |
- * If the used [http.Client] completes with an error when making a REST call, |
- * this method will complete with the same error. |
- */ |
+ /// Gets the current configuration of the specified service. |
+ /// |
+ /// Request parameters: |
+ /// |
+ /// [appsId] - Part of `name`. Name of the resource requested. Example: |
+ /// apps/myapp/services/default. |
+ /// |
+ /// [servicesId] - Part of `name`. See documentation of `appsId`. |
+ /// |
+ /// Completes with a [Service]. |
+ /// |
+ /// Completes with a [commons.ApiRequestError] if the API endpoint returned |
+ /// an error. |
+ /// |
+ /// If the used [http.Client] completes with an error when making a REST |
+ /// call, this method will complete with the same error. |
async.Future<Service> get(core.String appsId, core.String servicesId) { |
var _url = null; |
var _queryParams = new core.Map(); |
@@ -1452,39 +1455,40 @@ class AppsServicesResourceApi { |
throw new core.ArgumentError("Parameter servicesId is required."); |
} |
- _url = 'v1beta/apps/' + commons.Escaper.ecapeVariable('$appsId') + '/services/' + commons.Escaper.ecapeVariable('$servicesId'); |
+ _url = 'v1beta/apps/' + |
+ commons.Escaper.ecapeVariable('$appsId') + |
+ '/services/' + |
+ commons.Escaper.ecapeVariable('$servicesId'); |
- var _response = _requester.request(_url, |
- "GET", |
- body: _body, |
- queryParams: _queryParams, |
- uploadOptions: _uploadOptions, |
- uploadMedia: _uploadMedia, |
- downloadOptions: _downloadOptions); |
+ var _response = _requester.request(_url, "GET", |
+ body: _body, |
+ queryParams: _queryParams, |
+ uploadOptions: _uploadOptions, |
+ uploadMedia: _uploadMedia, |
+ downloadOptions: _downloadOptions); |
return _response.then((data) => new Service.fromJson(data)); |
} |
- /** |
- * Lists all the services in the application. |
- * |
- * Request parameters: |
- * |
- * [appsId] - Part of `parent`. Name of the parent Application resource. |
- * Example: apps/myapp. |
- * |
- * [pageToken] - Continuation token for fetching the next page of results. |
- * |
- * [pageSize] - Maximum results to return per page. |
- * |
- * Completes with a [ListServicesResponse]. |
- * |
- * Completes with a [commons.ApiRequestError] if the API endpoint returned an |
- * error. |
- * |
- * If the used [http.Client] completes with an error when making a REST call, |
- * this method will complete with the same error. |
- */ |
- async.Future<ListServicesResponse> list(core.String appsId, {core.String pageToken, core.int pageSize}) { |
+ /// Lists all the services in the application. |
+ /// |
+ /// Request parameters: |
+ /// |
+ /// [appsId] - Part of `parent`. Name of the parent Application resource. |
+ /// Example: apps/myapp. |
+ /// |
+ /// [pageToken] - Continuation token for fetching the next page of results. |
+ /// |
+ /// [pageSize] - Maximum results to return per page. |
+ /// |
+ /// Completes with a [ListServicesResponse]. |
+ /// |
+ /// Completes with a [commons.ApiRequestError] if the API endpoint returned |
+ /// an error. |
+ /// |
+ /// If the used [http.Client] completes with an error when making a REST |
+ /// call, this method will complete with the same error. |
+ async.Future<ListServicesResponse> list(core.String appsId, |
+ {core.String pageToken, core.int pageSize}) { |
var _url = null; |
var _queryParams = new core.Map(); |
var _uploadMedia = null; |
@@ -1502,55 +1506,55 @@ class AppsServicesResourceApi { |
_queryParams["pageSize"] = ["${pageSize}"]; |
} |
- _url = 'v1beta/apps/' + commons.Escaper.ecapeVariable('$appsId') + '/services'; |
+ _url = |
+ 'v1beta/apps/' + commons.Escaper.ecapeVariable('$appsId') + '/services'; |
- var _response = _requester.request(_url, |
- "GET", |
- body: _body, |
- queryParams: _queryParams, |
- uploadOptions: _uploadOptions, |
- uploadMedia: _uploadMedia, |
- downloadOptions: _downloadOptions); |
+ var _response = _requester.request(_url, "GET", |
+ body: _body, |
+ queryParams: _queryParams, |
+ uploadOptions: _uploadOptions, |
+ uploadMedia: _uploadMedia, |
+ downloadOptions: _downloadOptions); |
return _response.then((data) => new ListServicesResponse.fromJson(data)); |
} |
- /** |
- * Updates the configuration of the specified service. |
- * |
- * [request] - The metadata request object. |
- * |
- * Request parameters: |
- * |
- * [appsId] - Part of `name`. Name of the resource to update. Example: |
- * apps/myapp/services/default. |
- * |
- * [servicesId] - Part of `name`. See documentation of `appsId`. |
- * |
- * [updateMask] - Standard field mask for the set of fields to be updated. |
- * |
- * [migrateTraffic] - Set to true to gradually shift traffic to one or more |
- * versions that you specify. By default, traffic is shifted immediately. For |
- * gradual traffic migration, the target versions must be located within |
- * instances that are configured for both warmup requests |
- * (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1beta/apps.services.versions#inboundservicetype) |
- * and automatic scaling |
- * (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1beta/apps.services.versions#automaticscaling). |
- * You must specify the shardBy |
- * (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1beta/apps.services#shardby) |
- * field in the Service resource. Gradual traffic migration is not supported |
- * in the App Engine flexible environment. For examples, see Migrating and |
- * Splitting Traffic |
- * (https://cloud.google.com/appengine/docs/admin-api/migrating-splitting-traffic). |
- * |
- * Completes with a [Operation]. |
- * |
- * Completes with a [commons.ApiRequestError] if the API endpoint returned an |
- * error. |
- * |
- * If the used [http.Client] completes with an error when making a REST call, |
- * this method will complete with the same error. |
- */ |
- async.Future<Operation> patch(Service request, core.String appsId, core.String servicesId, {core.String updateMask, core.bool migrateTraffic}) { |
+ /// Updates the configuration of the specified service. |
+ /// |
+ /// [request] - The metadata request object. |
+ /// |
+ /// Request parameters: |
+ /// |
+ /// [appsId] - Part of `name`. Name of the resource to update. Example: |
+ /// apps/myapp/services/default. |
+ /// |
+ /// [servicesId] - Part of `name`. See documentation of `appsId`. |
+ /// |
+ /// [migrateTraffic] - Set to true to gradually shift traffic to one or more |
+ /// versions that you specify. By default, traffic is shifted immediately. |
+ /// For gradual traffic migration, the target versions must be located within |
+ /// instances that are configured for both warmup requests |
+ /// (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1beta/apps.services.versions#inboundservicetype) |
+ /// and automatic scaling |
+ /// (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1beta/apps.services.versions#automaticscaling). |
+ /// You must specify the shardBy |
+ /// (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1beta/apps.services#shardby) |
+ /// field in the Service resource. Gradual traffic migration is not supported |
+ /// in the App Engine flexible environment. For examples, see Migrating and |
+ /// Splitting Traffic |
+ /// (https://cloud.google.com/appengine/docs/admin-api/migrating-splitting-traffic). |
+ /// |
+ /// [updateMask] - Standard field mask for the set of fields to be updated. |
+ /// |
+ /// Completes with a [Operation]. |
+ /// |
+ /// Completes with a [commons.ApiRequestError] if the API endpoint returned |
+ /// an error. |
+ /// |
+ /// If the used [http.Client] completes with an error when making a REST |
+ /// call, this method will complete with the same error. |
+ async.Future<Operation> patch( |
+ Service request, core.String appsId, core.String servicesId, |
+ {core.bool migrateTraffic, core.String updateMask}) { |
var _url = null; |
var _queryParams = new core.Map(); |
var _uploadMedia = null; |
@@ -1567,57 +1571,57 @@ class AppsServicesResourceApi { |
if (servicesId == null) { |
throw new core.ArgumentError("Parameter servicesId is required."); |
} |
- if (updateMask != null) { |
- _queryParams["updateMask"] = [updateMask]; |
- } |
if (migrateTraffic != null) { |
_queryParams["migrateTraffic"] = ["${migrateTraffic}"]; |
} |
+ if (updateMask != null) { |
+ _queryParams["updateMask"] = [updateMask]; |
+ } |
- _url = 'v1beta/apps/' + commons.Escaper.ecapeVariable('$appsId') + '/services/' + commons.Escaper.ecapeVariable('$servicesId'); |
+ _url = 'v1beta/apps/' + |
+ commons.Escaper.ecapeVariable('$appsId') + |
+ '/services/' + |
+ commons.Escaper.ecapeVariable('$servicesId'); |
- var _response = _requester.request(_url, |
- "PATCH", |
- body: _body, |
- queryParams: _queryParams, |
- uploadOptions: _uploadOptions, |
- uploadMedia: _uploadMedia, |
- downloadOptions: _downloadOptions); |
+ var _response = _requester.request(_url, "PATCH", |
+ body: _body, |
+ queryParams: _queryParams, |
+ uploadOptions: _uploadOptions, |
+ uploadMedia: _uploadMedia, |
+ downloadOptions: _downloadOptions); |
return _response.then((data) => new Operation.fromJson(data)); |
} |
- |
} |
- |
class AppsServicesVersionsResourceApi { |
final commons.ApiRequester _requester; |
- AppsServicesVersionsInstancesResourceApi get instances => new AppsServicesVersionsInstancesResourceApi(_requester); |
- |
- AppsServicesVersionsResourceApi(commons.ApiRequester client) : |
- _requester = client; |
- |
- /** |
- * Deploys code and resource files to a new version. |
- * |
- * [request] - The metadata request object. |
- * |
- * Request parameters: |
- * |
- * [appsId] - Part of `parent`. Name of the parent resource to create this |
- * version under. Example: apps/myapp/services/default. |
- * |
- * [servicesId] - Part of `parent`. See documentation of `appsId`. |
- * |
- * Completes with a [Operation]. |
- * |
- * Completes with a [commons.ApiRequestError] if the API endpoint returned an |
- * error. |
- * |
- * If the used [http.Client] completes with an error when making a REST call, |
- * this method will complete with the same error. |
- */ |
- async.Future<Operation> create(Version request, core.String appsId, core.String servicesId) { |
+ AppsServicesVersionsInstancesResourceApi get instances => |
+ new AppsServicesVersionsInstancesResourceApi(_requester); |
+ |
+ AppsServicesVersionsResourceApi(commons.ApiRequester client) |
+ : _requester = client; |
+ |
+ /// Deploys code and resource files to a new version. |
+ /// |
+ /// [request] - The metadata request object. |
+ /// |
+ /// Request parameters: |
+ /// |
+ /// [appsId] - Part of `parent`. Name of the parent resource to create this |
+ /// version under. Example: apps/myapp/services/default. |
+ /// |
+ /// [servicesId] - Part of `parent`. See documentation of `appsId`. |
+ /// |
+ /// Completes with a [Operation]. |
+ /// |
+ /// Completes with a [commons.ApiRequestError] if the API endpoint returned |
+ /// an error. |
+ /// |
+ /// If the used [http.Client] completes with an error when making a REST |
+ /// call, this method will complete with the same error. |
+ async.Future<Operation> create( |
+ Version request, core.String appsId, core.String servicesId) { |
var _url = null; |
var _queryParams = new core.Map(); |
var _uploadMedia = null; |
@@ -1635,39 +1639,41 @@ class AppsServicesVersionsResourceApi { |
throw new core.ArgumentError("Parameter servicesId is required."); |
} |
- _url = 'v1beta/apps/' + commons.Escaper.ecapeVariable('$appsId') + '/services/' + commons.Escaper.ecapeVariable('$servicesId') + '/versions'; |
+ _url = 'v1beta/apps/' + |
+ commons.Escaper.ecapeVariable('$appsId') + |
+ '/services/' + |
+ commons.Escaper.ecapeVariable('$servicesId') + |
+ '/versions'; |
- var _response = _requester.request(_url, |
- "POST", |
- body: _body, |
- queryParams: _queryParams, |
- uploadOptions: _uploadOptions, |
- uploadMedia: _uploadMedia, |
- downloadOptions: _downloadOptions); |
+ var _response = _requester.request(_url, "POST", |
+ body: _body, |
+ queryParams: _queryParams, |
+ uploadOptions: _uploadOptions, |
+ uploadMedia: _uploadMedia, |
+ downloadOptions: _downloadOptions); |
return _response.then((data) => new Operation.fromJson(data)); |
} |
- /** |
- * Deletes an existing Version resource. |
- * |
- * Request parameters: |
- * |
- * [appsId] - Part of `name`. Name of the resource requested. Example: |
- * apps/myapp/services/default/versions/v1. |
- * |
- * [servicesId] - Part of `name`. See documentation of `appsId`. |
- * |
- * [versionsId] - Part of `name`. See documentation of `appsId`. |
- * |
- * Completes with a [Operation]. |
- * |
- * Completes with a [commons.ApiRequestError] if the API endpoint returned an |
- * error. |
- * |
- * If the used [http.Client] completes with an error when making a REST call, |
- * this method will complete with the same error. |
- */ |
- async.Future<Operation> delete(core.String appsId, core.String servicesId, core.String versionsId) { |
+ /// Deletes an existing Version resource. |
+ /// |
+ /// Request parameters: |
+ /// |
+ /// [appsId] - Part of `name`. Name of the resource requested. Example: |
+ /// apps/myapp/services/default/versions/v1. |
+ /// |
+ /// [servicesId] - Part of `name`. See documentation of `appsId`. |
+ /// |
+ /// [versionsId] - Part of `name`. See documentation of `appsId`. |
+ /// |
+ /// Completes with a [Operation]. |
+ /// |
+ /// Completes with a [commons.ApiRequestError] if the API endpoint returned |
+ /// an error. |
+ /// |
+ /// If the used [http.Client] completes with an error when making a REST |
+ /// call, this method will complete with the same error. |
+ async.Future<Operation> delete( |
+ core.String appsId, core.String servicesId, core.String versionsId) { |
var _url = null; |
var _queryParams = new core.Map(); |
var _uploadMedia = null; |
@@ -1685,45 +1691,49 @@ class AppsServicesVersionsResourceApi { |
throw new core.ArgumentError("Parameter versionsId is required."); |
} |
- _url = 'v1beta/apps/' + commons.Escaper.ecapeVariable('$appsId') + '/services/' + commons.Escaper.ecapeVariable('$servicesId') + '/versions/' + commons.Escaper.ecapeVariable('$versionsId'); |
+ _url = 'v1beta/apps/' + |
+ commons.Escaper.ecapeVariable('$appsId') + |
+ '/services/' + |
+ commons.Escaper.ecapeVariable('$servicesId') + |
+ '/versions/' + |
+ commons.Escaper.ecapeVariable('$versionsId'); |
- var _response = _requester.request(_url, |
- "DELETE", |
- body: _body, |
- queryParams: _queryParams, |
- uploadOptions: _uploadOptions, |
- uploadMedia: _uploadMedia, |
- downloadOptions: _downloadOptions); |
+ var _response = _requester.request(_url, "DELETE", |
+ body: _body, |
+ queryParams: _queryParams, |
+ uploadOptions: _uploadOptions, |
+ uploadMedia: _uploadMedia, |
+ downloadOptions: _downloadOptions); |
return _response.then((data) => new Operation.fromJson(data)); |
} |
- /** |
- * Gets the specified Version resource. By default, only a BASIC_VIEW will be |
- * returned. Specify the FULL_VIEW parameter to get the full resource. |
- * |
- * Request parameters: |
- * |
- * [appsId] - Part of `name`. Name of the resource requested. Example: |
- * apps/myapp/services/default/versions/v1. |
- * |
- * [servicesId] - Part of `name`. See documentation of `appsId`. |
- * |
- * [versionsId] - Part of `name`. See documentation of `appsId`. |
- * |
- * [view] - Controls the set of fields returned in the Get response. |
- * Possible string values are: |
- * - "BASIC" : A BASIC. |
- * - "FULL" : A FULL. |
- * |
- * Completes with a [Version]. |
- * |
- * Completes with a [commons.ApiRequestError] if the API endpoint returned an |
- * error. |
- * |
- * If the used [http.Client] completes with an error when making a REST call, |
- * this method will complete with the same error. |
- */ |
- async.Future<Version> get(core.String appsId, core.String servicesId, core.String versionsId, {core.String view}) { |
+ /// Gets the specified Version resource. By default, only a BASIC_VIEW will |
+ /// be returned. Specify the FULL_VIEW parameter to get the full resource. |
+ /// |
+ /// Request parameters: |
+ /// |
+ /// [appsId] - Part of `name`. Name of the resource requested. Example: |
+ /// apps/myapp/services/default/versions/v1. |
+ /// |
+ /// [servicesId] - Part of `name`. See documentation of `appsId`. |
+ /// |
+ /// [versionsId] - Part of `name`. See documentation of `appsId`. |
+ /// |
+ /// [view] - Controls the set of fields returned in the Get response. |
+ /// Possible string values are: |
+ /// - "BASIC" : A BASIC. |
+ /// - "FULL" : A FULL. |
+ /// |
+ /// Completes with a [Version]. |
+ /// |
+ /// Completes with a [commons.ApiRequestError] if the API endpoint returned |
+ /// an error. |
+ /// |
+ /// If the used [http.Client] completes with an error when making a REST |
+ /// call, this method will complete with the same error. |
+ async.Future<Version> get( |
+ core.String appsId, core.String servicesId, core.String versionsId, |
+ {core.String view}) { |
var _url = null; |
var _queryParams = new core.Map(); |
var _uploadMedia = null; |
@@ -1744,46 +1754,50 @@ class AppsServicesVersionsResourceApi { |
_queryParams["view"] = [view]; |
} |
- _url = 'v1beta/apps/' + commons.Escaper.ecapeVariable('$appsId') + '/services/' + commons.Escaper.ecapeVariable('$servicesId') + '/versions/' + commons.Escaper.ecapeVariable('$versionsId'); |
+ _url = 'v1beta/apps/' + |
+ commons.Escaper.ecapeVariable('$appsId') + |
+ '/services/' + |
+ commons.Escaper.ecapeVariable('$servicesId') + |
+ '/versions/' + |
+ commons.Escaper.ecapeVariable('$versionsId'); |
- var _response = _requester.request(_url, |
- "GET", |
- body: _body, |
- queryParams: _queryParams, |
- uploadOptions: _uploadOptions, |
- uploadMedia: _uploadMedia, |
- downloadOptions: _downloadOptions); |
+ var _response = _requester.request(_url, "GET", |
+ body: _body, |
+ queryParams: _queryParams, |
+ uploadOptions: _uploadOptions, |
+ uploadMedia: _uploadMedia, |
+ downloadOptions: _downloadOptions); |
return _response.then((data) => new Version.fromJson(data)); |
} |
- /** |
- * Lists the versions of a service. |
- * |
- * Request parameters: |
- * |
- * [appsId] - Part of `parent`. Name of the parent Service resource. Example: |
- * apps/myapp/services/default. |
- * |
- * [servicesId] - Part of `parent`. See documentation of `appsId`. |
- * |
- * [pageToken] - Continuation token for fetching the next page of results. |
- * |
- * [pageSize] - Maximum results to return per page. |
- * |
- * [view] - Controls the set of fields returned in the List response. |
- * Possible string values are: |
- * - "BASIC" : A BASIC. |
- * - "FULL" : A FULL. |
- * |
- * Completes with a [ListVersionsResponse]. |
- * |
- * Completes with a [commons.ApiRequestError] if the API endpoint returned an |
- * error. |
- * |
- * If the used [http.Client] completes with an error when making a REST call, |
- * this method will complete with the same error. |
- */ |
- async.Future<ListVersionsResponse> list(core.String appsId, core.String servicesId, {core.String pageToken, core.int pageSize, core.String view}) { |
+ /// Lists the versions of a service. |
+ /// |
+ /// Request parameters: |
+ /// |
+ /// [appsId] - Part of `parent`. Name of the parent Service resource. |
+ /// Example: apps/myapp/services/default. |
+ /// |
+ /// [servicesId] - Part of `parent`. See documentation of `appsId`. |
+ /// |
+ /// [pageToken] - Continuation token for fetching the next page of results. |
+ /// |
+ /// [pageSize] - Maximum results to return per page. |
+ /// |
+ /// [view] - Controls the set of fields returned in the List response. |
+ /// Possible string values are: |
+ /// - "BASIC" : A BASIC. |
+ /// - "FULL" : A FULL. |
+ /// |
+ /// Completes with a [ListVersionsResponse]. |
+ /// |
+ /// Completes with a [commons.ApiRequestError] if the API endpoint returned |
+ /// an error. |
+ /// |
+ /// If the used [http.Client] completes with an error when making a REST |
+ /// call, this method will complete with the same error. |
+ async.Future<ListVersionsResponse> list( |
+ core.String appsId, core.String servicesId, |
+ {core.String pageToken, core.int pageSize, core.String view}) { |
var _url = null; |
var _queryParams = new core.Map(); |
var _uploadMedia = null; |
@@ -1807,60 +1821,79 @@ class AppsServicesVersionsResourceApi { |
_queryParams["view"] = [view]; |
} |
- _url = 'v1beta/apps/' + commons.Escaper.ecapeVariable('$appsId') + '/services/' + commons.Escaper.ecapeVariable('$servicesId') + '/versions'; |
+ _url = 'v1beta/apps/' + |
+ commons.Escaper.ecapeVariable('$appsId') + |
+ '/services/' + |
+ commons.Escaper.ecapeVariable('$servicesId') + |
+ '/versions'; |
- var _response = _requester.request(_url, |
- "GET", |
- body: _body, |
- queryParams: _queryParams, |
- uploadOptions: _uploadOptions, |
- uploadMedia: _uploadMedia, |
- downloadOptions: _downloadOptions); |
+ var _response = _requester.request(_url, "GET", |
+ body: _body, |
+ queryParams: _queryParams, |
+ uploadOptions: _uploadOptions, |
+ uploadMedia: _uploadMedia, |
+ downloadOptions: _downloadOptions); |
return _response.then((data) => new ListVersionsResponse.fromJson(data)); |
} |
- /** |
- * Updates the specified Version resource. You can specify the following |
- * fields depending on the App Engine environment and type of scaling that the |
- * version resource uses: |
- * serving_status |
- * (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1beta/apps.services.versions#Version.FIELDS.serving_status): |
- * For Version resources that use basic scaling, manual scaling, or run in |
- * the App Engine flexible environment. |
- * instance_class |
- * (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1beta/apps.services.versions#Version.FIELDS.instance_class): |
- * For Version resources that run in the App Engine standard environment. |
- * automatic_scaling.min_idle_instances |
- * (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1beta/apps.services.versions#Version.FIELDS.automatic_scaling): |
- * For Version resources that use automatic scaling and run in the App Engine |
- * standard environment. |
- * automatic_scaling.max_idle_instances |
- * (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1beta/apps.services.versions#Version.FIELDS.automatic_scaling): |
- * For Version resources that use automatic scaling and run in the App Engine |
- * standard environment. |
- * |
- * [request] - The metadata request object. |
- * |
- * Request parameters: |
- * |
- * [appsId] - Part of `name`. Name of the resource to update. Example: |
- * apps/myapp/services/default/versions/1. |
- * |
- * [servicesId] - Part of `name`. See documentation of `appsId`. |
- * |
- * [versionsId] - Part of `name`. See documentation of `appsId`. |
- * |
- * [updateMask] - Standard field mask for the set of fields to be updated. |
- * |
- * Completes with a [Operation]. |
- * |
- * Completes with a [commons.ApiRequestError] if the API endpoint returned an |
- * error. |
- * |
- * If the used [http.Client] completes with an error when making a REST call, |
- * this method will complete with the same error. |
- */ |
- async.Future<Operation> patch(Version request, core.String appsId, core.String servicesId, core.String versionsId, {core.String updateMask}) { |
+ /// Updates the specified Version resource. You can specify the following |
+ /// fields depending on the App Engine environment and type of scaling that |
+ /// the version resource uses: |
+ /// serving_status |
+ /// (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1beta/apps.services.versions#Version.FIELDS.serving_status): |
+ /// For Version resources that use basic scaling, manual scaling, or run in |
+ /// the App Engine flexible environment. |
+ /// instance_class |
+ /// (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1beta/apps.services.versions#Version.FIELDS.instance_class): |
+ /// For Version resources that run in the App Engine standard environment. |
+ /// automatic_scaling.min_idle_instances |
+ /// (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1beta/apps.services.versions#Version.FIELDS.automatic_scaling): |
+ /// For Version resources that use automatic scaling and run in the App |
+ /// Engine standard environment. |
+ /// automatic_scaling.max_idle_instances |
+ /// (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1beta/apps.services.versions#Version.FIELDS.automatic_scaling): |
+ /// For Version resources that use automatic scaling and run in the App |
+ /// Engine standard environment. |
+ /// automatic_scaling.min_total_instances |
+ /// (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1beta/apps.services.versions#Version.FIELDS.automatic_scaling): |
+ /// For Version resources that use automatic scaling and run in the App |
+ /// Engine Flexible environment. |
+ /// automatic_scaling.max_total_instances |
+ /// (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1beta/apps.services.versions#Version.FIELDS.automatic_scaling): |
+ /// For Version resources that use automatic scaling and run in the App |
+ /// Engine Flexible environment. |
+ /// automatic_scaling.cool_down_period_sec |
+ /// (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1beta/apps.services.versions#Version.FIELDS.automatic_scaling): |
+ /// For Version resources that use automatic scaling and run in the App |
+ /// Engine Flexible environment. |
+ /// automatic_scaling.cpu_utilization.target_utilization |
+ /// (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1beta/apps.services.versions#Version.FIELDS.automatic_scaling): |
+ /// For Version resources that use automatic scaling and run in the App |
+ /// Engine Flexible environment. |
+ /// |
+ /// [request] - The metadata request object. |
+ /// |
+ /// Request parameters: |
+ /// |
+ /// [appsId] - Part of `name`. Name of the resource to update. Example: |
+ /// apps/myapp/services/default/versions/1. |
+ /// |
+ /// [servicesId] - Part of `name`. See documentation of `appsId`. |
+ /// |
+ /// [versionsId] - Part of `name`. See documentation of `appsId`. |
+ /// |
+ /// [updateMask] - Standard field mask for the set of fields to be updated. |
+ /// |
+ /// Completes with a [Operation]. |
+ /// |
+ /// Completes with a [commons.ApiRequestError] if the API endpoint returned |
+ /// an error. |
+ /// |
+ /// If the used [http.Client] completes with an error when making a REST |
+ /// call, this method will complete with the same error. |
+ async.Future<Operation> patch(Version request, core.String appsId, |
+ core.String servicesId, core.String versionsId, |
+ {core.String updateMask}) { |
var _url = null; |
var _queryParams = new core.Map(); |
var _uploadMedia = null; |
@@ -1884,57 +1917,62 @@ class AppsServicesVersionsResourceApi { |
_queryParams["updateMask"] = [updateMask]; |
} |
- _url = 'v1beta/apps/' + commons.Escaper.ecapeVariable('$appsId') + '/services/' + commons.Escaper.ecapeVariable('$servicesId') + '/versions/' + commons.Escaper.ecapeVariable('$versionsId'); |
+ _url = 'v1beta/apps/' + |
+ commons.Escaper.ecapeVariable('$appsId') + |
+ '/services/' + |
+ commons.Escaper.ecapeVariable('$servicesId') + |
+ '/versions/' + |
+ commons.Escaper.ecapeVariable('$versionsId'); |
- var _response = _requester.request(_url, |
- "PATCH", |
- body: _body, |
- queryParams: _queryParams, |
- uploadOptions: _uploadOptions, |
- uploadMedia: _uploadMedia, |
- downloadOptions: _downloadOptions); |
+ var _response = _requester.request(_url, "PATCH", |
+ body: _body, |
+ queryParams: _queryParams, |
+ uploadOptions: _uploadOptions, |
+ uploadMedia: _uploadMedia, |
+ downloadOptions: _downloadOptions); |
return _response.then((data) => new Operation.fromJson(data)); |
} |
- |
} |
- |
class AppsServicesVersionsInstancesResourceApi { |
final commons.ApiRequester _requester; |
- AppsServicesVersionsInstancesResourceApi(commons.ApiRequester client) : |
- _requester = client; |
- |
- /** |
- * Enables debugging on a VM instance. This allows you to use the SSH command |
- * to connect to the virtual machine where the instance lives. While in "debug |
- * mode", the instance continues to serve live traffic. You should delete the |
- * instance when you are done debugging and then allow the system to take over |
- * and determine if another instance should be started.Only applicable for |
- * instances in App Engine flexible environment. |
- * |
- * [request] - The metadata request object. |
- * |
- * Request parameters: |
- * |
- * [appsId] - Part of `name`. Name of the resource requested. Example: |
- * apps/myapp/services/default/versions/v1/instances/instance-1. |
- * |
- * [servicesId] - Part of `name`. See documentation of `appsId`. |
- * |
- * [versionsId] - Part of `name`. See documentation of `appsId`. |
- * |
- * [instancesId] - Part of `name`. See documentation of `appsId`. |
- * |
- * Completes with a [Operation]. |
- * |
- * Completes with a [commons.ApiRequestError] if the API endpoint returned an |
- * error. |
- * |
- * If the used [http.Client] completes with an error when making a REST call, |
- * this method will complete with the same error. |
- */ |
- async.Future<Operation> debug(DebugInstanceRequest request, core.String appsId, core.String servicesId, core.String versionsId, core.String instancesId) { |
+ AppsServicesVersionsInstancesResourceApi(commons.ApiRequester client) |
+ : _requester = client; |
+ |
+ /// Enables debugging on a VM instance. This allows you to use the SSH |
+ /// command to connect to the virtual machine where the instance lives. While |
+ /// in "debug mode", the instance continues to serve live traffic. You should |
+ /// delete the instance when you are done debugging and then allow the system |
+ /// to take over and determine if another instance should be started.Only |
+ /// applicable for instances in App Engine flexible environment. |
+ /// |
+ /// [request] - The metadata request object. |
+ /// |
+ /// Request parameters: |
+ /// |
+ /// [appsId] - Part of `name`. Name of the resource requested. Example: |
+ /// apps/myapp/services/default/versions/v1/instances/instance-1. |
+ /// |
+ /// [servicesId] - Part of `name`. See documentation of `appsId`. |
+ /// |
+ /// [versionsId] - Part of `name`. See documentation of `appsId`. |
+ /// |
+ /// [instancesId] - Part of `name`. See documentation of `appsId`. |
+ /// |
+ /// Completes with a [Operation]. |
+ /// |
+ /// Completes with a [commons.ApiRequestError] if the API endpoint returned |
+ /// an error. |
+ /// |
+ /// If the used [http.Client] completes with an error when making a REST |
+ /// call, this method will complete with the same error. |
+ async.Future<Operation> debug( |
+ DebugInstanceRequest request, |
+ core.String appsId, |
+ core.String servicesId, |
+ core.String versionsId, |
+ core.String instancesId) { |
var _url = null; |
var _queryParams = new core.Map(); |
var _uploadMedia = null; |
@@ -1958,41 +1996,47 @@ class AppsServicesVersionsInstancesResourceApi { |
throw new core.ArgumentError("Parameter instancesId is required."); |
} |
- _url = 'v1beta/apps/' + commons.Escaper.ecapeVariable('$appsId') + '/services/' + commons.Escaper.ecapeVariable('$servicesId') + '/versions/' + commons.Escaper.ecapeVariable('$versionsId') + '/instances/' + commons.Escaper.ecapeVariable('$instancesId') + ':debug'; |
- |
- var _response = _requester.request(_url, |
- "POST", |
- body: _body, |
- queryParams: _queryParams, |
- uploadOptions: _uploadOptions, |
- uploadMedia: _uploadMedia, |
- downloadOptions: _downloadOptions); |
+ _url = 'v1beta/apps/' + |
+ commons.Escaper.ecapeVariable('$appsId') + |
+ '/services/' + |
+ commons.Escaper.ecapeVariable('$servicesId') + |
+ '/versions/' + |
+ commons.Escaper.ecapeVariable('$versionsId') + |
+ '/instances/' + |
+ commons.Escaper.ecapeVariable('$instancesId') + |
+ ':debug'; |
+ |
+ var _response = _requester.request(_url, "POST", |
+ body: _body, |
+ queryParams: _queryParams, |
+ uploadOptions: _uploadOptions, |
+ uploadMedia: _uploadMedia, |
+ downloadOptions: _downloadOptions); |
return _response.then((data) => new Operation.fromJson(data)); |
} |
- /** |
- * Stops a running instance. |
- * |
- * Request parameters: |
- * |
- * [appsId] - Part of `name`. Name of the resource requested. Example: |
- * apps/myapp/services/default/versions/v1/instances/instance-1. |
- * |
- * [servicesId] - Part of `name`. See documentation of `appsId`. |
- * |
- * [versionsId] - Part of `name`. See documentation of `appsId`. |
- * |
- * [instancesId] - Part of `name`. See documentation of `appsId`. |
- * |
- * Completes with a [Operation]. |
- * |
- * Completes with a [commons.ApiRequestError] if the API endpoint returned an |
- * error. |
- * |
- * If the used [http.Client] completes with an error when making a REST call, |
- * this method will complete with the same error. |
- */ |
- async.Future<Operation> delete(core.String appsId, core.String servicesId, core.String versionsId, core.String instancesId) { |
+ /// Stops a running instance. |
+ /// |
+ /// Request parameters: |
+ /// |
+ /// [appsId] - Part of `name`. Name of the resource requested. Example: |
+ /// apps/myapp/services/default/versions/v1/instances/instance-1. |
+ /// |
+ /// [servicesId] - Part of `name`. See documentation of `appsId`. |
+ /// |
+ /// [versionsId] - Part of `name`. See documentation of `appsId`. |
+ /// |
+ /// [instancesId] - Part of `name`. See documentation of `appsId`. |
+ /// |
+ /// Completes with a [Operation]. |
+ /// |
+ /// Completes with a [commons.ApiRequestError] if the API endpoint returned |
+ /// an error. |
+ /// |
+ /// If the used [http.Client] completes with an error when making a REST |
+ /// call, this method will complete with the same error. |
+ async.Future<Operation> delete(core.String appsId, core.String servicesId, |
+ core.String versionsId, core.String instancesId) { |
var _url = null; |
var _queryParams = new core.Map(); |
var _uploadMedia = null; |
@@ -2013,41 +2057,46 @@ class AppsServicesVersionsInstancesResourceApi { |
throw new core.ArgumentError("Parameter instancesId is required."); |
} |
- _url = 'v1beta/apps/' + commons.Escaper.ecapeVariable('$appsId') + '/services/' + commons.Escaper.ecapeVariable('$servicesId') + '/versions/' + commons.Escaper.ecapeVariable('$versionsId') + '/instances/' + commons.Escaper.ecapeVariable('$instancesId'); |
- |
- var _response = _requester.request(_url, |
- "DELETE", |
- body: _body, |
- queryParams: _queryParams, |
- uploadOptions: _uploadOptions, |
- uploadMedia: _uploadMedia, |
- downloadOptions: _downloadOptions); |
+ _url = 'v1beta/apps/' + |
+ commons.Escaper.ecapeVariable('$appsId') + |
+ '/services/' + |
+ commons.Escaper.ecapeVariable('$servicesId') + |
+ '/versions/' + |
+ commons.Escaper.ecapeVariable('$versionsId') + |
+ '/instances/' + |
+ commons.Escaper.ecapeVariable('$instancesId'); |
+ |
+ var _response = _requester.request(_url, "DELETE", |
+ body: _body, |
+ queryParams: _queryParams, |
+ uploadOptions: _uploadOptions, |
+ uploadMedia: _uploadMedia, |
+ downloadOptions: _downloadOptions); |
return _response.then((data) => new Operation.fromJson(data)); |
} |
- /** |
- * Gets instance information. |
- * |
- * Request parameters: |
- * |
- * [appsId] - Part of `name`. Name of the resource requested. Example: |
- * apps/myapp/services/default/versions/v1/instances/instance-1. |
- * |
- * [servicesId] - Part of `name`. See documentation of `appsId`. |
- * |
- * [versionsId] - Part of `name`. See documentation of `appsId`. |
- * |
- * [instancesId] - Part of `name`. See documentation of `appsId`. |
- * |
- * Completes with a [Instance]. |
- * |
- * Completes with a [commons.ApiRequestError] if the API endpoint returned an |
- * error. |
- * |
- * If the used [http.Client] completes with an error when making a REST call, |
- * this method will complete with the same error. |
- */ |
- async.Future<Instance> get(core.String appsId, core.String servicesId, core.String versionsId, core.String instancesId) { |
+ /// Gets instance information. |
+ /// |
+ /// Request parameters: |
+ /// |
+ /// [appsId] - Part of `name`. Name of the resource requested. Example: |
+ /// apps/myapp/services/default/versions/v1/instances/instance-1. |
+ /// |
+ /// [servicesId] - Part of `name`. See documentation of `appsId`. |
+ /// |
+ /// [versionsId] - Part of `name`. See documentation of `appsId`. |
+ /// |
+ /// [instancesId] - Part of `name`. See documentation of `appsId`. |
+ /// |
+ /// Completes with a [Instance]. |
+ /// |
+ /// Completes with a [commons.ApiRequestError] if the API endpoint returned |
+ /// an error. |
+ /// |
+ /// If the used [http.Client] completes with an error when making a REST |
+ /// call, this method will complete with the same error. |
+ async.Future<Instance> get(core.String appsId, core.String servicesId, |
+ core.String versionsId, core.String instancesId) { |
var _url = null; |
var _queryParams = new core.Map(); |
var _uploadMedia = null; |
@@ -2068,45 +2117,51 @@ class AppsServicesVersionsInstancesResourceApi { |
throw new core.ArgumentError("Parameter instancesId is required."); |
} |
- _url = 'v1beta/apps/' + commons.Escaper.ecapeVariable('$appsId') + '/services/' + commons.Escaper.ecapeVariable('$servicesId') + '/versions/' + commons.Escaper.ecapeVariable('$versionsId') + '/instances/' + commons.Escaper.ecapeVariable('$instancesId'); |
- |
- var _response = _requester.request(_url, |
- "GET", |
- body: _body, |
- queryParams: _queryParams, |
- uploadOptions: _uploadOptions, |
- uploadMedia: _uploadMedia, |
- downloadOptions: _downloadOptions); |
+ _url = 'v1beta/apps/' + |
+ commons.Escaper.ecapeVariable('$appsId') + |
+ '/services/' + |
+ commons.Escaper.ecapeVariable('$servicesId') + |
+ '/versions/' + |
+ commons.Escaper.ecapeVariable('$versionsId') + |
+ '/instances/' + |
+ commons.Escaper.ecapeVariable('$instancesId'); |
+ |
+ var _response = _requester.request(_url, "GET", |
+ body: _body, |
+ queryParams: _queryParams, |
+ uploadOptions: _uploadOptions, |
+ uploadMedia: _uploadMedia, |
+ downloadOptions: _downloadOptions); |
return _response.then((data) => new Instance.fromJson(data)); |
} |
- /** |
- * Lists the instances of a version.Tip: To aggregate details about instances |
- * over time, see the Stackdriver Monitoring API |
- * (https://cloud.google.com/monitoring/api/ref_v3/rest/v3/projects.timeSeries/list). |
- * |
- * Request parameters: |
- * |
- * [appsId] - Part of `parent`. Name of the parent Version resource. Example: |
- * apps/myapp/services/default/versions/v1. |
- * |
- * [servicesId] - Part of `parent`. See documentation of `appsId`. |
- * |
- * [versionsId] - Part of `parent`. See documentation of `appsId`. |
- * |
- * [pageToken] - Continuation token for fetching the next page of results. |
- * |
- * [pageSize] - Maximum results to return per page. |
- * |
- * Completes with a [ListInstancesResponse]. |
- * |
- * Completes with a [commons.ApiRequestError] if the API endpoint returned an |
- * error. |
- * |
- * If the used [http.Client] completes with an error when making a REST call, |
- * this method will complete with the same error. |
- */ |
- async.Future<ListInstancesResponse> list(core.String appsId, core.String servicesId, core.String versionsId, {core.String pageToken, core.int pageSize}) { |
+ /// Lists the instances of a version.Tip: To aggregate details about |
+ /// instances over time, see the Stackdriver Monitoring API |
+ /// (https://cloud.google.com/monitoring/api/ref_v3/rest/v3/projects.timeSeries/list). |
+ /// |
+ /// Request parameters: |
+ /// |
+ /// [appsId] - Part of `parent`. Name of the parent Version resource. |
+ /// Example: apps/myapp/services/default/versions/v1. |
+ /// |
+ /// [servicesId] - Part of `parent`. See documentation of `appsId`. |
+ /// |
+ /// [versionsId] - Part of `parent`. See documentation of `appsId`. |
+ /// |
+ /// [pageToken] - Continuation token for fetching the next page of results. |
+ /// |
+ /// [pageSize] - Maximum results to return per page. |
+ /// |
+ /// Completes with a [ListInstancesResponse]. |
+ /// |
+ /// Completes with a [commons.ApiRequestError] if the API endpoint returned |
+ /// an error. |
+ /// |
+ /// If the used [http.Client] completes with an error when making a REST |
+ /// call, this method will complete with the same error. |
+ async.Future<ListInstancesResponse> list( |
+ core.String appsId, core.String servicesId, core.String versionsId, |
+ {core.String pageToken, core.int pageSize}) { |
var _url = null; |
var _queryParams = new core.Map(); |
var _uploadMedia = null; |
@@ -2130,74 +2185,72 @@ class AppsServicesVersionsInstancesResourceApi { |
_queryParams["pageSize"] = ["${pageSize}"]; |
} |
- _url = 'v1beta/apps/' + commons.Escaper.ecapeVariable('$appsId') + '/services/' + commons.Escaper.ecapeVariable('$servicesId') + '/versions/' + commons.Escaper.ecapeVariable('$versionsId') + '/instances'; |
- |
- var _response = _requester.request(_url, |
- "GET", |
- body: _body, |
- queryParams: _queryParams, |
- uploadOptions: _uploadOptions, |
- uploadMedia: _uploadMedia, |
- downloadOptions: _downloadOptions); |
+ _url = 'v1beta/apps/' + |
+ commons.Escaper.ecapeVariable('$appsId') + |
+ '/services/' + |
+ commons.Escaper.ecapeVariable('$servicesId') + |
+ '/versions/' + |
+ commons.Escaper.ecapeVariable('$versionsId') + |
+ '/instances'; |
+ |
+ var _response = _requester.request(_url, "GET", |
+ body: _body, |
+ queryParams: _queryParams, |
+ uploadOptions: _uploadOptions, |
+ uploadMedia: _uploadMedia, |
+ downloadOptions: _downloadOptions); |
return _response.then((data) => new ListInstancesResponse.fromJson(data)); |
} |
- |
} |
- |
- |
-/** |
- * Google Cloud Endpoints |
- * (https://cloud.google.com/appengine/docs/python/endpoints/) configuration for |
- * API handlers. |
- */ |
+/// Google Cloud Endpoints |
+/// (https://cloud.google.com/appengine/docs/python/endpoints/) configuration |
+/// for API handlers. |
class ApiConfigHandler { |
- /** |
- * Action to take when users access resources that require authentication. |
- * Defaults to redirect. |
- * Possible string values are: |
- * - "AUTH_FAIL_ACTION_UNSPECIFIED" : Not specified. AUTH_FAIL_ACTION_REDIRECT |
- * is assumed. |
- * - "AUTH_FAIL_ACTION_REDIRECT" : Redirects user to "accounts.google.com". |
- * The user is redirected back to the application URL after signing in or |
- * creating an account. |
- * - "AUTH_FAIL_ACTION_UNAUTHORIZED" : Rejects request with a 401 HTTP status |
- * code and an error message. |
- */ |
+ /// Action to take when users access resources that require authentication. |
+ /// Defaults to redirect. |
+ /// Possible string values are: |
+ /// - "AUTH_FAIL_ACTION_UNSPECIFIED" : Not specified. |
+ /// AUTH_FAIL_ACTION_REDIRECT is assumed. |
+ /// - "AUTH_FAIL_ACTION_REDIRECT" : Redirects user to "accounts.google.com". |
+ /// The user is redirected back to the application URL after signing in or |
+ /// creating an account. |
+ /// - "AUTH_FAIL_ACTION_UNAUTHORIZED" : Rejects request with a 401 HTTP |
+ /// status code and an error message. |
core.String authFailAction; |
- /** |
- * Level of login required to access this resource. Defaults to optional. |
- * Possible string values are: |
- * - "LOGIN_UNSPECIFIED" : Not specified. LOGIN_OPTIONAL is assumed. |
- * - "LOGIN_OPTIONAL" : Does not require that the user is signed in. |
- * - "LOGIN_ADMIN" : If the user is not signed in, the auth_fail_action is |
- * taken. In addition, if the user is not an administrator for the |
- * application, they are given an error message regardless of |
- * auth_fail_action. If the user is an administrator, the handler proceeds. |
- * - "LOGIN_REQUIRED" : If the user has signed in, the handler proceeds |
- * normally. Otherwise, the auth_fail_action is taken. |
- */ |
+ |
+ /// Level of login required to access this resource. Defaults to optional. |
+ /// Possible string values are: |
+ /// - "LOGIN_UNSPECIFIED" : Not specified. LOGIN_OPTIONAL is assumed. |
+ /// - "LOGIN_OPTIONAL" : Does not require that the user is signed in. |
+ /// - "LOGIN_ADMIN" : If the user is not signed in, the auth_fail_action is |
+ /// taken. In addition, if the user is not an administrator for the |
+ /// application, they are given an error message regardless of |
+ /// auth_fail_action. If the user is an administrator, the handler proceeds. |
+ /// - "LOGIN_REQUIRED" : If the user has signed in, the handler proceeds |
+ /// normally. Otherwise, the auth_fail_action is taken. |
core.String login; |
- /** Path to the script from the application root directory. */ |
+ |
+ /// Path to the script from the application root directory. |
core.String script; |
- /** |
- * Security (HTTPS) enforcement for this URL. |
- * Possible string values are: |
- * - "SECURE_UNSPECIFIED" : Not specified. |
- * - "SECURE_DEFAULT" : Both HTTP and HTTPS requests with URLs that match the |
- * handler succeed without redirects. The application can examine the request |
- * to determine which protocol was used, and respond accordingly. |
- * - "SECURE_NEVER" : Requests for a URL that match this handler that use |
- * HTTPS are automatically redirected to the HTTP equivalent URL. |
- * - "SECURE_OPTIONAL" : Both HTTP and HTTPS requests with URLs that match the |
- * handler succeed without redirects. The application can examine the request |
- * to determine which protocol was used and respond accordingly. |
- * - "SECURE_ALWAYS" : Requests for a URL that match this handler that do not |
- * use HTTPS are automatically redirected to the HTTPS URL with the same path. |
- * Query parameters are reserved for the redirect. |
- */ |
+ |
+ /// Security (HTTPS) enforcement for this URL. |
+ /// Possible string values are: |
+ /// - "SECURE_UNSPECIFIED" : Not specified. |
+ /// - "SECURE_DEFAULT" : Both HTTP and HTTPS requests with URLs that match |
+ /// the handler succeed without redirects. The application can examine the |
+ /// request to determine which protocol was used, and respond accordingly. |
+ /// - "SECURE_NEVER" : Requests for a URL that match this handler that use |
+ /// HTTPS are automatically redirected to the HTTP equivalent URL. |
+ /// - "SECURE_OPTIONAL" : Both HTTP and HTTPS requests with URLs that match |
+ /// the handler succeed without redirects. The application can examine the |
+ /// request to determine which protocol was used and respond accordingly. |
+ /// - "SECURE_ALWAYS" : Requests for a URL that match this handler that do |
+ /// not use HTTPS are automatically redirected to the HTTPS URL with the same |
+ /// path. Query parameters are reserved for the redirect. |
core.String securityLevel; |
- /** URL to serve the endpoint at. */ |
+ |
+ /// URL to serve the endpoint at. |
core.String url; |
ApiConfigHandler(); |
@@ -2221,7 +2274,8 @@ class ApiConfigHandler { |
} |
core.Map<core.String, core.Object> toJson() { |
- final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>(); |
+ final core.Map<core.String, core.Object> _json = |
+ new core.Map<core.String, core.Object>(); |
if (authFailAction != null) { |
_json["authFailAction"] = authFailAction; |
} |
@@ -2241,9 +2295,9 @@ class ApiConfigHandler { |
} |
} |
-/** Uses Google Cloud Endpoints to handle requests. */ |
+/// Uses Google Cloud Endpoints to handle requests. |
class ApiEndpointHandler { |
- /** Path to the script from the application root directory. */ |
+ /// Path to the script from the application root directory. |
core.String scriptPath; |
ApiEndpointHandler(); |
@@ -2255,7 +2309,8 @@ class ApiEndpointHandler { |
} |
core.Map<core.String, core.Object> toJson() { |
- final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>(); |
+ final core.Map<core.String, core.Object> _json = |
+ new core.Map<core.String, core.Object>(); |
if (scriptPath != null) { |
_json["scriptPath"] = scriptPath; |
} |
@@ -2263,75 +2318,64 @@ class ApiEndpointHandler { |
} |
} |
-/** |
- * An Application resource contains the top-level configuration of an App Engine |
- * application. Next tag: 20 |
- */ |
+/// An Application resource contains the top-level configuration of an App |
+/// Engine application. Next tag: 20 |
class Application { |
- /** |
- * Google Apps authentication domain that controls which users can access this |
- * application.Defaults to open access for any Google Account. |
- */ |
+ /// Google Apps authentication domain that controls which users can access |
+ /// this application.Defaults to open access for any Google Account. |
core.String authDomain; |
- /** |
- * Google Cloud Storage bucket that can be used for storing files associated |
- * with this application. This bucket is associated with the application and |
- * can be used by the gcloud deployment commands.@OutputOnly |
- */ |
+ |
+ /// Google Cloud Storage bucket that can be used for storing files associated |
+ /// with this application. This bucket is associated with the application and |
+ /// can be used by the gcloud deployment commands.@OutputOnly |
core.String codeBucket; |
- /** |
- * Google Cloud Storage bucket that can be used by this application to store |
- * content.@OutputOnly |
- */ |
+ |
+ /// Google Cloud Storage bucket that can be used by this application to store |
+ /// content.@OutputOnly |
core.String defaultBucket; |
- /** Cookie expiration policy for this application. */ |
+ |
+ /// Cookie expiration policy for this application. |
core.String defaultCookieExpiration; |
- /** |
- * Hostname used to reach this application, as resolved by App |
- * Engine.@OutputOnly |
- */ |
+ |
+ /// Hostname used to reach this application, as resolved by App |
+ /// Engine.@OutputOnly |
core.String defaultHostname; |
- /** |
- * HTTP path dispatch rules for requests to the application that do not |
- * explicitly target a service or version. Rules are order-dependent. Up to 20 |
- * dispatch rules can be supported.@OutputOnly |
- */ |
+ |
+ /// HTTP path dispatch rules for requests to the application that do not |
+ /// explicitly target a service or version. Rules are order-dependent. Up to |
+ /// 20 dispatch rules can be supported.@OutputOnly |
core.List<UrlDispatchRule> dispatchRules; |
- /** The feature specific settings to be used in the application. */ |
+ |
+ /// The feature specific settings to be used in the application. |
FeatureSettings featureSettings; |
- /** |
- * The Google Container Registry domain used for storing managed build docker |
- * images for this application. |
- */ |
+ |
+ /// The Google Container Registry domain used for storing managed build |
+ /// docker images for this application. |
core.String gcrDomain; |
IdentityAwareProxy iap; |
- /** |
- * Identifier of the Application resource. This identifier is equivalent to |
- * the project ID of the Google Cloud Platform project where you want to |
- * deploy your application. Example: myapp. |
- */ |
+ |
+ /// Identifier of the Application resource. This identifier is equivalent to |
+ /// the project ID of the Google Cloud Platform project where you want to |
+ /// deploy your application. Example: myapp. |
core.String id; |
- /** |
- * Location from which this application will be run. Application instances |
- * will run out of data centers in the chosen location, which is also where |
- * all of the application's end user content is stored.Defaults to |
- * us-central.Options are:us-central - Central USeurope-west - Western |
- * Europeus-east1 - Eastern US |
- */ |
+ |
+ /// Location from which this application will be run. Application instances |
+ /// will run out of data centers in the chosen location, which is also where |
+ /// all of the application's end user content is stored.Defaults to |
+ /// us-central.Options are:us-central - Central USeurope-west - Western |
+ /// Europeus-east1 - Eastern US |
core.String locationId; |
- /** |
- * Full path to the Application resource in the API. Example: |
- * apps/myapp.@OutputOnly |
- */ |
+ |
+ /// Full path to the Application resource in the API. Example: |
+ /// apps/myapp.@OutputOnly |
core.String name; |
- /** |
- * Serving status of this application. |
- * Possible string values are: |
- * - "UNSPECIFIED" : Serving status is unspecified. |
- * - "SERVING" : Application is serving. |
- * - "USER_DISABLED" : Application has been disabled by the user. |
- * - "SYSTEM_DISABLED" : Application has been disabled by the system. |
- */ |
+ |
+ /// Serving status of this application. |
+ /// Possible string values are: |
+ /// - "UNSPECIFIED" : Serving status is unspecified. |
+ /// - "SERVING" : Application is serving. |
+ /// - "USER_DISABLED" : Application has been disabled by the user. |
+ /// - "SYSTEM_DISABLED" : Application has been disabled by the system. |
core.String servingStatus; |
Application(); |
@@ -2353,7 +2397,9 @@ class Application { |
defaultHostname = _json["defaultHostname"]; |
} |
if (_json.containsKey("dispatchRules")) { |
- dispatchRules = _json["dispatchRules"].map((value) => new UrlDispatchRule.fromJson(value)).toList(); |
+ dispatchRules = _json["dispatchRules"] |
+ .map((value) => new UrlDispatchRule.fromJson(value)) |
+ .toList(); |
} |
if (_json.containsKey("featureSettings")) { |
featureSettings = new FeatureSettings.fromJson(_json["featureSettings"]); |
@@ -2379,7 +2425,8 @@ class Application { |
} |
core.Map<core.String, core.Object> toJson() { |
- final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>(); |
+ final core.Map<core.String, core.Object> _json = |
+ new core.Map<core.String, core.Object>(); |
if (authDomain != null) { |
_json["authDomain"] = authDomain; |
} |
@@ -2396,7 +2443,8 @@ class Application { |
_json["defaultHostname"] = defaultHostname; |
} |
if (dispatchRules != null) { |
- _json["dispatchRules"] = dispatchRules.map((value) => (value).toJson()).toList(); |
+ _json["dispatchRules"] = |
+ dispatchRules.map((value) => (value).toJson()).toList(); |
} |
if (featureSettings != null) { |
_json["featureSettings"] = (featureSettings).toJson(); |
@@ -2423,66 +2471,63 @@ class Application { |
} |
} |
-/** |
- * An SSL certificate that a user has been authorized to administer. A user is |
- * authorized to administer any certificate that applies to one of their |
- * authorized domains. |
- */ |
+/// An SSL certificate that a user has been authorized to administer. A user is |
+/// authorized to administer any certificate that applies to one of their |
+/// authorized domains. |
class AuthorizedCertificate { |
- /** |
- * The SSL certificate serving the AuthorizedCertificate resource. This must |
- * be obtained independently from a certificate authority. |
- */ |
+ /// The SSL certificate serving the AuthorizedCertificate resource. This must |
+ /// be obtained independently from a certificate authority. |
CertificateRawData certificateRawData; |
- /** |
- * The user-specified display name of the certificate. This is not guaranteed |
- * to be unique. Example: My Certificate. |
- */ |
+ |
+ /// The user-specified display name of the certificate. This is not |
+ /// guaranteed to be unique. Example: My Certificate. |
core.String displayName; |
- /** |
- * Aggregate count of the domain mappings with this certificate mapped. This |
- * count includes domain mappings on applications for which the user does not |
- * have VIEWER permissions.Only returned by GET or LIST requests when |
- * specifically requested by the view=FULL_CERTIFICATE option.@OutputOnly |
- */ |
+ |
+ /// Aggregate count of the domain mappings with this certificate mapped. This |
+ /// count includes domain mappings on applications for which the user does |
+ /// not have VIEWER permissions.Only returned by GET or LIST requests when |
+ /// specifically requested by the view=FULL_CERTIFICATE option.@OutputOnly |
core.int domainMappingsCount; |
- /** |
- * Topmost applicable domains of this certificate. This certificate applies to |
- * these domains and their subdomains. Example: example.com.@OutputOnly |
- */ |
+ |
+ /// Topmost applicable domains of this certificate. This certificate applies |
+ /// to these domains and their subdomains. Example: example.com.@OutputOnly |
core.List<core.String> domainNames; |
- /** |
- * The time when this certificate expires. To update the renewal time on this |
- * certificate, upload an SSL certificate with a different expiration time |
- * using AuthorizedCertificates.UpdateAuthorizedCertificate.@OutputOnly |
- */ |
+ |
+ /// The time when this certificate expires. To update the renewal time on |
+ /// this certificate, upload an SSL certificate with a different expiration |
+ /// time using AuthorizedCertificates.UpdateAuthorizedCertificate.@OutputOnly |
core.String expireTime; |
- /** |
- * Relative name of the certificate. This is a unique value autogenerated on |
- * AuthorizedCertificate resource creation. Example: 12345.@OutputOnly |
- */ |
+ |
+ /// Relative name of the certificate. This is a unique value autogenerated on |
+ /// AuthorizedCertificate resource creation. Example: 12345.@OutputOnly |
core.String id; |
- /** |
- * Full path to the AuthorizedCertificate resource in the API. Example: |
- * apps/myapp/authorizedCertificates/12345.@OutputOnly |
- */ |
+ |
+ /// Only applicable if this certificate is managed by App Engine. Managed |
+ /// certificates are tied to the lifecycle of a DomainMapping and cannot be |
+ /// updated or deleted via the AuthorizedCertificates API. If this |
+ /// certificate is manually administered by the user, this field will be |
+ /// empty.@OutputOnly |
+ ManagedCertificate managedCertificate; |
+ |
+ /// Full path to the AuthorizedCertificate resource in the API. Example: |
+ /// apps/myapp/authorizedCertificates/12345.@OutputOnly |
core.String name; |
- /** |
- * The full paths to user visible Domain Mapping resources that have this |
- * certificate mapped. Example: apps/myapp/domainMappings/example.com.This may |
- * not represent the full list of mapped domain mappings if the user does not |
- * have VIEWER permissions on all of the applications that have this |
- * certificate mapped. See domain_mappings_count for a complete count.Only |
- * returned by GET or LIST requests when specifically requested by the |
- * view=FULL_CERTIFICATE option.@OutputOnly |
- */ |
+ |
+ /// The full paths to user visible Domain Mapping resources that have this |
+ /// certificate mapped. Example: apps/myapp/domainMappings/example.com.This |
+ /// may not represent the full list of mapped domain mappings if the user |
+ /// does not have VIEWER permissions on all of the applications that have |
+ /// this certificate mapped. See domain_mappings_count for a complete |
+ /// count.Only returned by GET or LIST requests when specifically requested |
+ /// by the view=FULL_CERTIFICATE option.@OutputOnly |
core.List<core.String> visibleDomainMappings; |
AuthorizedCertificate(); |
AuthorizedCertificate.fromJson(core.Map _json) { |
if (_json.containsKey("certificateRawData")) { |
- certificateRawData = new CertificateRawData.fromJson(_json["certificateRawData"]); |
+ certificateRawData = |
+ new CertificateRawData.fromJson(_json["certificateRawData"]); |
} |
if (_json.containsKey("displayName")) { |
displayName = _json["displayName"]; |
@@ -2499,6 +2544,10 @@ class AuthorizedCertificate { |
if (_json.containsKey("id")) { |
id = _json["id"]; |
} |
+ if (_json.containsKey("managedCertificate")) { |
+ managedCertificate = |
+ new ManagedCertificate.fromJson(_json["managedCertificate"]); |
+ } |
if (_json.containsKey("name")) { |
name = _json["name"]; |
} |
@@ -2508,7 +2557,8 @@ class AuthorizedCertificate { |
} |
core.Map<core.String, core.Object> toJson() { |
- final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>(); |
+ final core.Map<core.String, core.Object> _json = |
+ new core.Map<core.String, core.Object>(); |
if (certificateRawData != null) { |
_json["certificateRawData"] = (certificateRawData).toJson(); |
} |
@@ -2527,6 +2577,9 @@ class AuthorizedCertificate { |
if (id != null) { |
_json["id"] = id; |
} |
+ if (managedCertificate != null) { |
+ _json["managedCertificate"] = (managedCertificate).toJson(); |
+ } |
if (name != null) { |
_json["name"] = name; |
} |
@@ -2537,21 +2590,16 @@ class AuthorizedCertificate { |
} |
} |
-/** |
- * A domain that a user has been authorized to administer. To authorize use of a |
- * domain, verify ownership via Webmaster Central |
- * (https://www.google.com/webmasters/verification/home). |
- */ |
+/// A domain that a user has been authorized to administer. To authorize use of |
+/// a domain, verify ownership via Webmaster Central |
+/// (https://www.google.com/webmasters/verification/home). |
class AuthorizedDomain { |
- /** |
- * Fully qualified domain name of the domain authorized for use. Example: |
- * example.com. |
- */ |
+ /// Fully qualified domain name of the domain authorized for use. Example: |
+ /// example.com. |
core.String id; |
- /** |
- * Full path to the AuthorizedDomain resource in the API. Example: |
- * apps/myapp/authorizedDomains/example.com.@OutputOnly |
- */ |
+ |
+ /// Full path to the AuthorizedDomain resource in the API. Example: |
+ /// apps/myapp/authorizedDomains/example.com.@OutputOnly |
core.String name; |
AuthorizedDomain(); |
@@ -2566,7 +2614,8 @@ class AuthorizedDomain { |
} |
core.Map<core.String, core.Object> toJson() { |
- final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>(); |
+ final core.Map<core.String, core.Object> _json = |
+ new core.Map<core.String, core.Object>(); |
if (id != null) { |
_json["id"] = id; |
} |
@@ -2577,58 +2626,55 @@ class AuthorizedDomain { |
} |
} |
-/** |
- * Automatic scaling is based on request rate, response latencies, and other |
- * application metrics. |
- */ |
+/// Automatic scaling is based on request rate, response latencies, and other |
+/// application metrics. |
class AutomaticScaling { |
- /** |
- * Amount of time that the Autoscaler |
- * (https://cloud.google.com/compute/docs/autoscaler/) should wait between |
- * changes to the number of virtual machines. Only applicable for VM runtimes. |
- */ |
+ /// Amount of time that the Autoscaler |
+ /// (https://cloud.google.com/compute/docs/autoscaler/) should wait between |
+ /// changes to the number of virtual machines. Only applicable for VM |
+ /// runtimes. |
core.String coolDownPeriod; |
- /** Target scaling by CPU usage. */ |
+ |
+ /// Target scaling by CPU usage. |
CpuUtilization cpuUtilization; |
- /** Target scaling by disk usage. */ |
+ |
+ /// Target scaling by disk usage. |
DiskUtilization diskUtilization; |
- /** |
- * Number of concurrent requests an automatic scaling instance can accept |
- * before the scheduler spawns a new instance.Defaults to a runtime-specific |
- * value. |
- */ |
+ |
+ /// Number of concurrent requests an automatic scaling instance can accept |
+ /// before the scheduler spawns a new instance.Defaults to a runtime-specific |
+ /// value. |
core.int maxConcurrentRequests; |
- /** |
- * Maximum number of idle instances that should be maintained for this |
- * version. |
- */ |
+ |
+ /// Maximum number of idle instances that should be maintained for this |
+ /// version. |
core.int maxIdleInstances; |
- /** |
- * Maximum amount of time that a request should wait in the pending queue |
- * before starting a new instance to handle it. |
- */ |
+ |
+ /// Maximum amount of time that a request should wait in the pending queue |
+ /// before starting a new instance to handle it. |
core.String maxPendingLatency; |
- /** Maximum number of instances that should be started to handle requests. */ |
+ |
+ /// Maximum number of instances that should be started to handle requests. |
core.int maxTotalInstances; |
- /** |
- * Minimum number of idle instances that should be maintained for this |
- * version. Only applicable for the default version of a service. |
- */ |
+ |
+ /// Minimum number of idle instances that should be maintained for this |
+ /// version. Only applicable for the default version of a service. |
core.int minIdleInstances; |
- /** |
- * Minimum amount of time a request should wait in the pending queue before |
- * starting a new instance to handle it. |
- */ |
+ |
+ /// Minimum amount of time a request should wait in the pending queue before |
+ /// starting a new instance to handle it. |
core.String minPendingLatency; |
- /** |
- * Minimum number of instances that should be maintained for this version. |
- */ |
+ |
+ /// Minimum number of instances that should be maintained for this version. |
core.int minTotalInstances; |
- /** Target scaling by network usage. */ |
+ |
+ /// Target scaling by network usage. |
NetworkUtilization networkUtilization; |
- /** Target scaling by request utilization. */ |
+ |
+ /// Target scaling by request utilization. |
RequestUtilization requestUtilization; |
- /** Scheduler settings for standard environment. */ |
+ |
+ /// Scheduler settings for standard environment. |
StandardSchedulerSettings standardSchedulerSettings; |
AutomaticScaling(); |
@@ -2665,18 +2711,22 @@ class AutomaticScaling { |
minTotalInstances = _json["minTotalInstances"]; |
} |
if (_json.containsKey("networkUtilization")) { |
- networkUtilization = new NetworkUtilization.fromJson(_json["networkUtilization"]); |
+ networkUtilization = |
+ new NetworkUtilization.fromJson(_json["networkUtilization"]); |
} |
if (_json.containsKey("requestUtilization")) { |
- requestUtilization = new RequestUtilization.fromJson(_json["requestUtilization"]); |
+ requestUtilization = |
+ new RequestUtilization.fromJson(_json["requestUtilization"]); |
} |
if (_json.containsKey("standardSchedulerSettings")) { |
- standardSchedulerSettings = new StandardSchedulerSettings.fromJson(_json["standardSchedulerSettings"]); |
+ standardSchedulerSettings = new StandardSchedulerSettings.fromJson( |
+ _json["standardSchedulerSettings"]); |
} |
} |
core.Map<core.String, core.Object> toJson() { |
- final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>(); |
+ final core.Map<core.String, core.Object> _json = |
+ new core.Map<core.String, core.Object>(); |
if (coolDownPeriod != null) { |
_json["coolDownPeriod"] = coolDownPeriod; |
} |
@@ -2720,19 +2770,16 @@ class AutomaticScaling { |
} |
} |
-/** |
- * A service with basic scaling will create an instance when the application |
- * receives a request. The instance will be turned down when the app becomes |
- * idle. Basic scaling is ideal for work that is intermittent or driven by user |
- * activity. |
- */ |
+/// A service with basic scaling will create an instance when the application |
+/// receives a request. The instance will be turned down when the app becomes |
+/// idle. Basic scaling is ideal for work that is intermittent or driven by |
+/// user activity. |
class BasicScaling { |
- /** |
- * Duration of time after the last request that an instance must wait before |
- * the instance is shut down. |
- */ |
+ /// Duration of time after the last request that an instance must wait before |
+ /// the instance is shut down. |
core.String idleTimeout; |
- /** Maximum number of instances to create for this version. */ |
+ |
+ /// Maximum number of instances to create for this version. |
core.int maxInstances; |
BasicScaling(); |
@@ -2747,7 +2794,8 @@ class BasicScaling { |
} |
core.Map<core.String, core.Object> toJson() { |
- final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>(); |
+ final core.Map<core.String, core.Object> _json = |
+ new core.Map<core.String, core.Object>(); |
if (idleTimeout != null) { |
_json["idleTimeout"] = idleTimeout; |
} |
@@ -2758,56 +2806,62 @@ class BasicScaling { |
} |
} |
-/** Request message for Firewall.BatchUpdateIngressRules. */ |
+/// Request message for Firewall.BatchUpdateIngressRules. |
class BatchUpdateIngressRulesRequest { |
- /** A list of FirewallRules to replace the existing set. */ |
+ /// A list of FirewallRules to replace the existing set. |
core.List<FirewallRule> ingressRules; |
BatchUpdateIngressRulesRequest(); |
BatchUpdateIngressRulesRequest.fromJson(core.Map _json) { |
if (_json.containsKey("ingressRules")) { |
- ingressRules = _json["ingressRules"].map((value) => new FirewallRule.fromJson(value)).toList(); |
+ ingressRules = _json["ingressRules"] |
+ .map((value) => new FirewallRule.fromJson(value)) |
+ .toList(); |
} |
} |
core.Map<core.String, core.Object> toJson() { |
- final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>(); |
+ final core.Map<core.String, core.Object> _json = |
+ new core.Map<core.String, core.Object>(); |
if (ingressRules != null) { |
- _json["ingressRules"] = ingressRules.map((value) => (value).toJson()).toList(); |
+ _json["ingressRules"] = |
+ ingressRules.map((value) => (value).toJson()).toList(); |
} |
return _json; |
} |
} |
-/** Response message for Firewall.UpdateAllIngressRules. */ |
+/// Response message for Firewall.UpdateAllIngressRules. |
class BatchUpdateIngressRulesResponse { |
- /** The full list of ingress FirewallRules for this application. */ |
+ /// The full list of ingress FirewallRules for this application. |
core.List<FirewallRule> ingressRules; |
BatchUpdateIngressRulesResponse(); |
BatchUpdateIngressRulesResponse.fromJson(core.Map _json) { |
if (_json.containsKey("ingressRules")) { |
- ingressRules = _json["ingressRules"].map((value) => new FirewallRule.fromJson(value)).toList(); |
+ ingressRules = _json["ingressRules"] |
+ .map((value) => new FirewallRule.fromJson(value)) |
+ .toList(); |
} |
} |
core.Map<core.String, core.Object> toJson() { |
- final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>(); |
+ final core.Map<core.String, core.Object> _json = |
+ new core.Map<core.String, core.Object>(); |
if (ingressRules != null) { |
- _json["ingressRules"] = ingressRules.map((value) => (value).toJson()).toList(); |
+ _json["ingressRules"] = |
+ ingressRules.map((value) => (value).toJson()).toList(); |
} |
return _json; |
} |
} |
-/** Google Cloud Container Builder build information. */ |
+/// Google Cloud Container Builder build information. |
class BuildInfo { |
- /** |
- * The Google Cloud Container Builder build id. Example: |
- * "f966068f-08b2-42c8-bdfe-74137dff2bf9" |
- */ |
+ /// The Google Cloud Container Builder build id. Example: |
+ /// "f966068f-08b2-42c8-bdfe-74137dff2bf9" |
core.String cloudBuildId; |
BuildInfo(); |
@@ -2819,7 +2873,8 @@ class BuildInfo { |
} |
core.Map<core.String, core.Object> toJson() { |
- final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>(); |
+ final core.Map<core.String, core.Object> _json = |
+ new core.Map<core.String, core.Object>(); |
if (cloudBuildId != null) { |
_json["cloudBuildId"] = cloudBuildId; |
} |
@@ -2827,22 +2882,19 @@ class BuildInfo { |
} |
} |
-/** An SSL certificate obtained from a certificate authority. */ |
+/// An SSL certificate obtained from a certificate authority. |
class CertificateRawData { |
- /** |
- * Unencrypted PEM encoded RSA private key. This field is set once on |
- * certificate creation and then encrypted. The key size must be 2048 bits or |
- * fewer. Must include the header and footer. Example: <pre> -----BEGIN RSA |
- * PRIVATE KEY----- <unencrypted_key_value> -----END RSA PRIVATE KEY----- |
- * </pre> @InputOnly |
- */ |
+ /// Unencrypted PEM encoded RSA private key. This field is set once on |
+ /// certificate creation and then encrypted. The key size must be 2048 bits |
+ /// or fewer. Must include the header and footer. Example: <pre> -----BEGIN |
+ /// RSA PRIVATE KEY----- <unencrypted_key_value> -----END RSA PRIVATE |
+ /// KEY----- </pre> @InputOnly |
core.String privateKey; |
- /** |
- * PEM encoded x.509 public key certificate. This field is set once on |
- * certificate creation. Must include the header and footer. Example: <pre> |
- * -----BEGIN CERTIFICATE----- <certificate_value> -----END CERTIFICATE----- |
- * </pre> |
- */ |
+ |
+ /// PEM encoded x.509 public key certificate. This field is set once on |
+ /// certificate creation. Must include the header and footer. Example: <pre> |
+ /// -----BEGIN CERTIFICATE----- <certificate_value> -----END CERTIFICATE----- |
+ /// </pre> |
core.String publicCertificate; |
CertificateRawData(); |
@@ -2857,7 +2909,8 @@ class CertificateRawData { |
} |
core.Map<core.String, core.Object> toJson() { |
- final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>(); |
+ final core.Map<core.String, core.Object> _json = |
+ new core.Map<core.String, core.Object>(); |
if (privateKey != null) { |
_json["privateKey"] = privateKey; |
} |
@@ -2868,17 +2921,13 @@ class CertificateRawData { |
} |
} |
-/** |
- * Docker image that is used to create a container and start a VM instance for |
- * the version that you deploy. Only applicable for instances running in the App |
- * Engine flexible environment. |
- */ |
+/// Docker image that is used to create a container and start a VM instance for |
+/// the version that you deploy. Only applicable for instances running in the |
+/// App Engine flexible environment. |
class ContainerInfo { |
- /** |
- * URI to the hosted container image in Google Container Registry. The URI |
- * must be fully qualified and include a tag or digest. Examples: |
- * "gcr.io/my-project/image:tag" or "gcr.io/my-project/image@digest" |
- */ |
+ /// URI to the hosted container image in Google Container Registry. The URI |
+ /// must be fully qualified and include a tag or digest. Examples: |
+ /// "gcr.io/my-project/image:tag" or "gcr.io/my-project/image@digest" |
core.String image; |
ContainerInfo(); |
@@ -2890,7 +2939,8 @@ class ContainerInfo { |
} |
core.Map<core.String, core.Object> toJson() { |
- final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>(); |
+ final core.Map<core.String, core.Object> _json = |
+ new core.Map<core.String, core.Object>(); |
if (image != null) { |
_json["image"] = image; |
} |
@@ -2898,14 +2948,13 @@ class ContainerInfo { |
} |
} |
-/** Target scaling by CPU usage. */ |
+/// Target scaling by CPU usage. |
class CpuUtilization { |
- /** Period of time over which CPU utilization is calculated. */ |
+ /// Period of time over which CPU utilization is calculated. |
core.String aggregationWindowLength; |
- /** |
- * Target CPU utilization ratio to maintain when scaling. Must be between 0 |
- * and 1. |
- */ |
+ |
+ /// Target CPU utilization ratio to maintain when scaling. Must be between 0 |
+ /// and 1. |
core.double targetUtilization; |
CpuUtilization(); |
@@ -2920,7 +2969,8 @@ class CpuUtilization { |
} |
core.Map<core.String, core.Object> toJson() { |
- final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>(); |
+ final core.Map<core.String, core.Object> _json = |
+ new core.Map<core.String, core.Object>(); |
if (aggregationWindowLength != null) { |
_json["aggregationWindowLength"] = aggregationWindowLength; |
} |
@@ -2931,16 +2981,14 @@ class CpuUtilization { |
} |
} |
-/** Request message for Instances.DebugInstance. */ |
+/// Request message for Instances.DebugInstance. |
class DebugInstanceRequest { |
- /** |
- * Public SSH key to add to the instance. Examples: |
- * [USERNAME]:ssh-rsa [KEY_VALUE] [USERNAME] |
- * [USERNAME]:ssh-rsa [KEY_VALUE] google-ssh |
- * {"userName":"[USERNAME]","expireOn":"[EXPIRE_TIME]"}For more information, |
- * see Adding and Removing SSH Keys |
- * (https://cloud.google.com/compute/docs/instances/adding-removing-ssh-keys). |
- */ |
+ /// Public SSH key to add to the instance. Examples: |
+ /// [USERNAME]:ssh-rsa [KEY_VALUE] [USERNAME] |
+ /// [USERNAME]:ssh-rsa [KEY_VALUE] google-ssh |
+ /// {"userName":"[USERNAME]","expireOn":"[EXPIRE_TIME]"}For more information, |
+ /// see Adding and Removing SSH Keys |
+ /// (https://cloud.google.com/compute/docs/instances/adding-removing-ssh-keys). |
core.String sshKey; |
DebugInstanceRequest(); |
@@ -2952,7 +3000,8 @@ class DebugInstanceRequest { |
} |
core.Map<core.String, core.Object> toJson() { |
- final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>(); |
+ final core.Map<core.String, core.Object> _json = |
+ new core.Map<core.String, core.Object>(); |
if (sshKey != null) { |
_json["sshKey"] = sshKey; |
} |
@@ -2960,22 +3009,21 @@ class DebugInstanceRequest { |
} |
} |
-/** Code and application artifacts used to deploy a version to App Engine. */ |
+/// Code and application artifacts used to deploy a version to App Engine. |
class Deployment { |
- /** Google Cloud Container Builder build information. */ |
+ /// Google Cloud Container Builder build information. |
BuildInfo build; |
- /** |
- * The Docker image for the container that runs the version. Only applicable |
- * for instances running in the App Engine flexible environment. |
- */ |
+ |
+ /// The Docker image for the container that runs the version. Only applicable |
+ /// for instances running in the App Engine flexible environment. |
ContainerInfo container; |
- /** |
- * Manifest of the files stored in Google Cloud Storage that are included as |
- * part of this version. All files must be readable using the credentials |
- * supplied with this call. |
- */ |
+ |
+ /// Manifest of the files stored in Google Cloud Storage that are included as |
+ /// part of this version. All files must be readable using the credentials |
+ /// supplied with this call. |
core.Map<core.String, FileInfo> files; |
- /** The zip file for this deployment, if this is a zip deployment. */ |
+ |
+ /// The zip file for this deployment, if this is a zip deployment. |
ZipInfo zip; |
Deployment(); |
@@ -2988,7 +3036,10 @@ class Deployment { |
container = new ContainerInfo.fromJson(_json["container"]); |
} |
if (_json.containsKey("files")) { |
- files = commons.mapMap<core.Map<core.String, core.Object>, FileInfo>(_json["files"], (core.Map<core.String, core.Object> item) => new FileInfo.fromJson(item)); |
+ files = commons.mapMap<core.Map<core.String, core.Object>, FileInfo>( |
+ _json["files"], |
+ (core.Map<core.String, core.Object> item) => |
+ new FileInfo.fromJson(item)); |
} |
if (_json.containsKey("zip")) { |
zip = new ZipInfo.fromJson(_json["zip"]); |
@@ -2996,7 +3047,8 @@ class Deployment { |
} |
core.Map<core.String, core.Object> toJson() { |
- final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>(); |
+ final core.Map<core.String, core.Object> _json = |
+ new core.Map<core.String, core.Object>(); |
if (build != null) { |
_json["build"] = (build).toJson(); |
} |
@@ -3004,7 +3056,9 @@ class Deployment { |
_json["container"] = (container).toJson(); |
} |
if (files != null) { |
- _json["files"] = commons.mapMap<FileInfo, core.Map<core.String, core.Object>>(files, (FileInfo item) => (item).toJson()); |
+ _json["files"] = |
+ commons.mapMap<FileInfo, core.Map<core.String, core.Object>>( |
+ files, (FileInfo item) => (item).toJson()); |
} |
if (zip != null) { |
_json["zip"] = (zip).toJson(); |
@@ -3013,15 +3067,18 @@ class Deployment { |
} |
} |
-/** Target scaling by disk usage. Only applicable for VM runtimes. */ |
+/// Target scaling by disk usage. Only applicable for VM runtimes. |
class DiskUtilization { |
- /** Target bytes read per second. */ |
+ /// Target bytes read per second. |
core.int targetReadBytesPerSecond; |
- /** Target ops read per seconds. */ |
+ |
+ /// Target ops read per seconds. |
core.int targetReadOpsPerSecond; |
- /** Target bytes written per second. */ |
+ |
+ /// Target bytes written per second. |
core.int targetWriteBytesPerSecond; |
- /** Target ops written per second. */ |
+ |
+ /// Target ops written per second. |
core.int targetWriteOpsPerSecond; |
DiskUtilization(); |
@@ -3042,7 +3099,8 @@ class DiskUtilization { |
} |
core.Map<core.String, core.Object> toJson() { |
- final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>(); |
+ final core.Map<core.String, core.Object> _json = |
+ new core.Map<core.String, core.Object>(); |
if (targetReadBytesPerSecond != null) { |
_json["targetReadBytesPerSecond"] = targetReadBytesPerSecond; |
} |
@@ -3059,27 +3117,23 @@ class DiskUtilization { |
} |
} |
-/** A domain serving an App Engine application. */ |
+/// A domain serving an App Engine application. |
class DomainMapping { |
- /** |
- * Relative name of the domain serving the application. Example: example.com. |
- */ |
+ /// Relative name of the domain serving the application. Example: |
+ /// example.com. |
core.String id; |
- /** |
- * Full path to the DomainMapping resource in the API. Example: |
- * apps/myapp/domainMapping/example.com.@OutputOnly |
- */ |
+ |
+ /// Full path to the DomainMapping resource in the API. Example: |
+ /// apps/myapp/domainMapping/example.com.@OutputOnly |
core.String name; |
- /** |
- * The resource records required to configure this domain mapping. These |
- * records must be added to the domain's DNS configuration in order to serve |
- * the application via this domain mapping.@OutputOnly |
- */ |
+ |
+ /// The resource records required to configure this domain mapping. These |
+ /// records must be added to the domain's DNS configuration in order to serve |
+ /// the application via this domain mapping.@OutputOnly |
core.List<ResourceRecord> resourceRecords; |
- /** |
- * SSL configuration for this domain. If unconfigured, this domain will not |
- * serve with SSL. |
- */ |
+ |
+ /// SSL configuration for this domain. If unconfigured, this domain will not |
+ /// serve with SSL. |
SslSettings sslSettings; |
DomainMapping(); |
@@ -3092,7 +3146,9 @@ class DomainMapping { |
name = _json["name"]; |
} |
if (_json.containsKey("resourceRecords")) { |
- resourceRecords = _json["resourceRecords"].map((value) => new ResourceRecord.fromJson(value)).toList(); |
+ resourceRecords = _json["resourceRecords"] |
+ .map((value) => new ResourceRecord.fromJson(value)) |
+ .toList(); |
} |
if (_json.containsKey("sslSettings")) { |
sslSettings = new SslSettings.fromJson(_json["sslSettings"]); |
@@ -3100,7 +3156,8 @@ class DomainMapping { |
} |
core.Map<core.String, core.Object> toJson() { |
- final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>(); |
+ final core.Map<core.String, core.Object> _json = |
+ new core.Map<core.String, core.Object>(); |
if (id != null) { |
_json["id"] = id; |
} |
@@ -3108,7 +3165,8 @@ class DomainMapping { |
_json["name"] = name; |
} |
if (resourceRecords != null) { |
- _json["resourceRecords"] = resourceRecords.map((value) => (value).toJson()).toList(); |
+ _json["resourceRecords"] = |
+ resourceRecords.map((value) => (value).toJson()).toList(); |
} |
if (sslSettings != null) { |
_json["sslSettings"] = (sslSettings).toJson(); |
@@ -3117,45 +3175,38 @@ class DomainMapping { |
} |
} |
-/** |
- * A generic empty message that you can re-use to avoid defining duplicated |
- * empty messages in your APIs. A typical example is to use it as the request or |
- * the response type of an API method. For instance: |
- * service Foo { |
- * rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); |
- * } |
- * The JSON representation for Empty is empty JSON object {}. |
- */ |
+/// A generic empty message that you can re-use to avoid defining duplicated |
+/// empty messages in your APIs. A typical example is to use it as the request |
+/// or the response type of an API method. For instance: |
+/// service Foo { |
+/// rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); |
+/// } |
+/// The JSON representation for Empty is empty JSON object {}. |
class Empty { |
- |
Empty(); |
- Empty.fromJson(core.Map _json) { |
- } |
+ Empty.fromJson(core.Map _json) {} |
core.Map<core.String, core.Object> toJson() { |
- final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>(); |
+ final core.Map<core.String, core.Object> _json = |
+ new core.Map<core.String, core.Object>(); |
return _json; |
} |
} |
-/** |
- * Cloud Endpoints (https://cloud.google.com/endpoints) configuration. The |
- * Endpoints API Service provides tooling for serving Open API and gRPC |
- * endpoints via an NGINX proxy.The fields here refer to the name and |
- * configuration id of a "service" resource in the Service Management API |
- * (https://cloud.google.com/service-management/overview). |
- */ |
+/// Cloud Endpoints (https://cloud.google.com/endpoints) configuration. The |
+/// Endpoints API Service provides tooling for serving Open API and gRPC |
+/// endpoints via an NGINX proxy.The fields here refer to the name and |
+/// configuration id of a "service" resource in the Service Management API |
+/// (https://cloud.google.com/service-management/overview). |
class EndpointsApiService { |
- /** |
- * Endpoints service configuration id as specified by the Service Management |
- * API. For example "2016-09-19r1" |
- */ |
+ /// Endpoints service configuration id as specified by the Service Management |
+ /// API. For example "2016-09-19r1" |
core.String configId; |
- /** |
- * Endpoints service name which is the name of the "service" resource in the |
- * Service Management API. For example "myapi.endpoints.myproject.cloud.goog" |
- */ |
+ |
+ /// Endpoints service name which is the name of the "service" resource in the |
+ /// Service Management API. For example |
+ /// "myapi.endpoints.myproject.cloud.goog" |
core.String name; |
EndpointsApiService(); |
@@ -3170,7 +3221,8 @@ class EndpointsApiService { |
} |
core.Map<core.String, core.Object> toJson() { |
- final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>(); |
+ final core.Map<core.String, core.Object> _json = |
+ new core.Map<core.String, core.Object>(); |
if (configId != null) { |
_json["configId"] = configId; |
} |
@@ -3181,22 +3233,24 @@ class EndpointsApiService { |
} |
} |
-/** Custom static error page to be served when an error occurs. */ |
+/// Custom static error page to be served when an error occurs. |
class ErrorHandler { |
- /** |
- * Error condition this handler applies to. |
- * Possible string values are: |
- * - "ERROR_CODE_UNSPECIFIED" : Not specified. ERROR_CODE_DEFAULT is assumed. |
- * - "ERROR_CODE_DEFAULT" : All other error types. |
- * - "ERROR_CODE_OVER_QUOTA" : Application has exceeded a resource quota. |
- * - "ERROR_CODE_DOS_API_DENIAL" : Client blocked by the application's Denial |
- * of Service protection configuration. |
- * - "ERROR_CODE_TIMEOUT" : Deadline reached before the application responds. |
- */ |
+ /// Error condition this handler applies to. |
+ /// Possible string values are: |
+ /// - "ERROR_CODE_UNSPECIFIED" : Not specified. ERROR_CODE_DEFAULT is |
+ /// assumed. |
+ /// - "ERROR_CODE_DEFAULT" : All other error types. |
+ /// - "ERROR_CODE_OVER_QUOTA" : Application has exceeded a resource quota. |
+ /// - "ERROR_CODE_DOS_API_DENIAL" : Client blocked by the application's |
+ /// Denial of Service protection configuration. |
+ /// - "ERROR_CODE_TIMEOUT" : Deadline reached before the application |
+ /// responds. |
core.String errorCode; |
- /** MIME type of file. Defaults to text/html. */ |
+ |
+ /// MIME type of file. Defaults to text/html. |
core.String mimeType; |
- /** Static file content to be served for this error. */ |
+ |
+ /// Static file content to be served for this error. |
core.String staticFile; |
ErrorHandler(); |
@@ -3214,7 +3268,8 @@ class ErrorHandler { |
} |
core.Map<core.String, core.Object> toJson() { |
- final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>(); |
+ final core.Map<core.String, core.Object> _json = |
+ new core.Map<core.String, core.Object>(); |
if (errorCode != null) { |
_json["errorCode"] = errorCode; |
} |
@@ -3228,18 +3283,14 @@ class ErrorHandler { |
} |
} |
-/** |
- * The feature specific settings to be used in the application. These define |
- * behaviors that are user configurable. |
- */ |
+/// The feature specific settings to be used in the application. These define |
+/// behaviors that are user configurable. |
class FeatureSettings { |
- /** |
- * Boolean value indicating if split health checks should be used instead of |
- * the legacy health checks. At an app.yaml level, this means defaulting to |
- * 'readiness_check' and 'liveness_check' values instead of 'health_check' |
- * ones. Once the legacy 'health_check' behavior is deprecated, and this value |
- * is always true, this setting can be removed. |
- */ |
+ /// Boolean value indicating if split health checks should be used instead of |
+ /// the legacy health checks. At an app.yaml level, this means defaulting to |
+ /// 'readiness_check' and 'liveness_check' values instead of 'health_check' |
+ /// ones. Once the legacy 'health_check' behavior is deprecated, and this |
+ /// value is always true, this setting can be removed. |
core.bool splitHealthChecks; |
FeatureSettings(); |
@@ -3251,7 +3302,8 @@ class FeatureSettings { |
} |
core.Map<core.String, core.Object> toJson() { |
- final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>(); |
+ final core.Map<core.String, core.Object> _json = |
+ new core.Map<core.String, core.Object>(); |
if (splitHealthChecks != null) { |
_json["splitHealthChecks"] = splitHealthChecks; |
} |
@@ -3259,22 +3311,19 @@ class FeatureSettings { |
} |
} |
-/** |
- * Single source file that is part of the version to be deployed. Each source |
- * file that is deployed must be specified separately. |
- */ |
+/// Single source file that is part of the version to be deployed. Each source |
+/// file that is deployed must be specified separately. |
class FileInfo { |
- /** |
- * The MIME type of the file.Defaults to the value from Google Cloud Storage. |
- */ |
+ /// The MIME type of the file.Defaults to the value from Google Cloud |
+ /// Storage. |
core.String mimeType; |
- /** The SHA1 hash of the file, in hex. */ |
+ |
+ /// The SHA1 hash of the file, in hex. |
core.String sha1Sum; |
- /** |
- * URL source to use to fetch this file. Must be a URL to a resource in Google |
- * Cloud Storage in the form |
- * 'http(s)://storage.googleapis.com/<bucket>/<object>'. |
- */ |
+ |
+ /// URL source to use to fetch this file. Must be a URL to a resource in |
+ /// Google Cloud Storage in the form |
+ /// 'http(s)://storage.googleapis.com/<bucket>/<object>'. |
core.String sourceUrl; |
FileInfo(); |
@@ -3292,7 +3341,8 @@ class FileInfo { |
} |
core.Map<core.String, core.Object> toJson() { |
- final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>(); |
+ final core.Map<core.String, core.Object> _json = |
+ new core.Map<core.String, core.Object>(); |
if (mimeType != null) { |
_json["mimeType"] = mimeType; |
} |
@@ -3306,42 +3356,35 @@ class FileInfo { |
} |
} |
-/** |
- * A single firewall rule that is evaluated against incoming traffic and |
- * provides an action to take on matched requests. |
- */ |
+/// A single firewall rule that is evaluated against incoming traffic and |
+/// provides an action to take on matched requests. |
class FirewallRule { |
- /** |
- * The action to take on matched requests. |
- * Possible string values are: |
- * - "UNSPECIFIED_ACTION" |
- * - "ALLOW" : Matching requests are allowed. |
- * - "DENY" : Matching requests are denied. |
- */ |
+ /// The action to take on matched requests. |
+ /// Possible string values are: |
+ /// - "UNSPECIFIED_ACTION" |
+ /// - "ALLOW" : Matching requests are allowed. |
+ /// - "DENY" : Matching requests are denied. |
core.String action; |
- /** |
- * An optional string description of this rule. This field has a maximum |
- * length of 100 characters. |
- */ |
+ |
+ /// An optional string description of this rule. This field has a maximum |
+ /// length of 100 characters. |
core.String description; |
- /** |
- * A positive integer between 1, Int32.MaxValue-1 that defines the order of |
- * rule evaluation. Rules with the lowest priority are evaluated first.A |
- * default rule at priority Int32.MaxValue matches all IPv4 and IPv6 traffic |
- * when no previous rule matches. Only the action of this rule can be modified |
- * by the user. |
- */ |
+ |
+ /// A positive integer between 1, Int32.MaxValue-1 that defines the order of |
+ /// rule evaluation. Rules with the lowest priority are evaluated first.A |
+ /// default rule at priority Int32.MaxValue matches all IPv4 and IPv6 traffic |
+ /// when no previous rule matches. Only the action of this rule can be |
+ /// modified by the user. |
core.int priority; |
- /** |
- * IP address or range, defined using CIDR notation, of requests that this |
- * rule applies to. You can use the wildcard character "*" to match all IPs |
- * equivalent to "0/0" and "::/0" together. Examples: 192.168.1.1 or |
- * 192.168.0.0/16 or 2001:db8::/32 or |
- * 2001:0db8:0000:0042:0000:8a2e:0370:7334.<p>Truncation will be silently |
- * performed on addresses which are not properly truncated. For example, |
- * 1.2.3.4/24 is accepted as the same address as 1.2.3.0/24. Similarly, for |
- * IPv6, 2001:db8::1/32 is accepted as the same address as 2001:db8::/32. |
- */ |
+ |
+ /// IP address or range, defined using CIDR notation, of requests that this |
+ /// rule applies to. You can use the wildcard character "*" to match all IPs |
+ /// equivalent to "0/0" and "::/0" together. Examples: 192.168.1.1 or |
+ /// 192.168.0.0/16 or 2001:db8::/32 or |
+ /// 2001:0db8:0000:0042:0000:8a2e:0370:7334.<p>Truncation will be silently |
+ /// performed on addresses which are not properly truncated. For example, |
+ /// 1.2.3.4/24 is accepted as the same address as 1.2.3.0/24. Similarly, for |
+ /// IPv6, 2001:db8::1/32 is accepted as the same address as 2001:db8::/32. |
core.String sourceRange; |
FirewallRule(); |
@@ -3362,7 +3405,8 @@ class FirewallRule { |
} |
core.Map<core.String, core.Object> toJson() { |
- final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>(); |
+ final core.Map<core.String, core.Object> _json = |
+ new core.Map<core.String, core.Object>(); |
if (action != null) { |
_json["action"] = action; |
} |
@@ -3379,37 +3423,33 @@ class FirewallRule { |
} |
} |
-/** |
- * Health checking configuration for VM instances. Unhealthy instances are |
- * killed and replaced with new instances. Only applicable for instances in App |
- * Engine flexible environment. |
- */ |
+/// Health checking configuration for VM instances. Unhealthy instances are |
+/// killed and replaced with new instances. Only applicable for instances in |
+/// App Engine flexible environment. |
class HealthCheck { |
- /** Interval between health checks. */ |
+ /// Interval between health checks. |
core.String checkInterval; |
- /** Whether to explicitly disable health checks for this instance. */ |
+ |
+ /// Whether to explicitly disable health checks for this instance. |
core.bool disableHealthCheck; |
- /** |
- * Number of consecutive successful health checks required before receiving |
- * traffic. |
- */ |
+ |
+ /// Number of consecutive successful health checks required before receiving |
+ /// traffic. |
core.int healthyThreshold; |
- /** |
- * Host header to send when performing an HTTP health check. Example: |
- * "myapp.appspot.com" |
- */ |
+ |
+ /// Host header to send when performing an HTTP health check. Example: |
+ /// "myapp.appspot.com" |
core.String host; |
- /** |
- * Number of consecutive failed health checks required before an instance is |
- * restarted. |
- */ |
+ |
+ /// Number of consecutive failed health checks required before an instance is |
+ /// restarted. |
core.int restartThreshold; |
- /** Time before the health check is considered failed. */ |
+ |
+ /// Time before the health check is considered failed. |
core.String timeout; |
- /** |
- * Number of consecutive failed health checks required before removing |
- * traffic. |
- */ |
+ |
+ /// Number of consecutive failed health checks required before removing |
+ /// traffic. |
core.int unhealthyThreshold; |
HealthCheck(); |
@@ -3439,7 +3479,8 @@ class HealthCheck { |
} |
core.Map<core.String, core.Object> toJson() { |
- final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>(); |
+ final core.Map<core.String, core.Object> _json = |
+ new core.Map<core.String, core.Object>(); |
if (checkInterval != null) { |
_json["checkInterval"] = checkInterval; |
} |
@@ -3465,24 +3506,23 @@ class HealthCheck { |
} |
} |
-/** Identity-Aware Proxy */ |
+/// Identity-Aware Proxy |
class IdentityAwareProxy { |
- /** |
- * Whether the serving infrastructure will authenticate and authorize all |
- * incoming requests.If true, the oauth2_client_id and oauth2_client_secret |
- * fields must be non-empty. |
- */ |
+ /// Whether the serving infrastructure will authenticate and authorize all |
+ /// incoming requests.If true, the oauth2_client_id and oauth2_client_secret |
+ /// fields must be non-empty. |
core.bool enabled; |
- /** OAuth2 client ID to use for the authentication flow. */ |
+ |
+ /// OAuth2 client ID to use for the authentication flow. |
core.String oauth2ClientId; |
- /** |
- * OAuth2 client secret to use for the authentication flow.For security |
- * reasons, this value cannot be retrieved via the API. Instead, the SHA-256 |
- * hash of the value is returned in the oauth2_client_secret_sha256 |
- * field.@InputOnly |
- */ |
+ |
+ /// OAuth2 client secret to use for the authentication flow.For security |
+ /// reasons, this value cannot be retrieved via the API. Instead, the SHA-256 |
+ /// hash of the value is returned in the oauth2_client_secret_sha256 |
+ /// field.@InputOnly |
core.String oauth2ClientSecret; |
- /** Hex-encoded SHA-256 hash of the client secret.@OutputOnly */ |
+ |
+ /// Hex-encoded SHA-256 hash of the client secret.@OutputOnly |
core.String oauth2ClientSecretSha256; |
IdentityAwareProxy(); |
@@ -3503,7 +3543,8 @@ class IdentityAwareProxy { |
} |
core.Map<core.String, core.Object> toJson() { |
- final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>(); |
+ final core.Map<core.String, core.Object> _json = |
+ new core.Map<core.String, core.Object>(); |
if (enabled != null) { |
_json["enabled"] = enabled; |
} |
@@ -3520,72 +3561,67 @@ class IdentityAwareProxy { |
} |
} |
-/** |
- * An Instance resource is the computing unit that App Engine uses to |
- * automatically scale an application. |
- */ |
+/// An Instance resource is the computing unit that App Engine uses to |
+/// automatically scale an application. |
class Instance { |
- /** App Engine release this instance is running on.@OutputOnly */ |
+ /// App Engine release this instance is running on.@OutputOnly |
core.String appEngineRelease; |
- /** |
- * Availability of the instance.@OutputOnly |
- * Possible string values are: |
- * - "UNSPECIFIED" |
- * - "RESIDENT" |
- * - "DYNAMIC" |
- */ |
+ |
+ /// Availability of the instance.@OutputOnly |
+ /// Possible string values are: |
+ /// - "UNSPECIFIED" |
+ /// - "RESIDENT" |
+ /// - "DYNAMIC" |
core.String availability; |
- /** Average latency (ms) over the last minute.@OutputOnly */ |
+ |
+ /// Average latency (ms) over the last minute.@OutputOnly |
core.int averageLatency; |
- /** Number of errors since this instance was started.@OutputOnly */ |
+ |
+ /// Number of errors since this instance was started.@OutputOnly |
core.int errors; |
- /** |
- * Relative name of the instance within the version. Example: |
- * instance-1.@OutputOnly |
- */ |
+ |
+ /// Relative name of the instance within the version. Example: |
+ /// instance-1.@OutputOnly |
core.String id; |
- /** Total memory in use (bytes).@OutputOnly */ |
+ |
+ /// Total memory in use (bytes).@OutputOnly |
core.String memoryUsage; |
- /** |
- * Full path to the Instance resource in the API. Example: |
- * apps/myapp/services/default/versions/v1/instances/instance-1.@OutputOnly |
- */ |
+ |
+ /// Full path to the Instance resource in the API. Example: |
+ /// apps/myapp/services/default/versions/v1/instances/instance-1.@OutputOnly |
core.String name; |
- /** Average queries per second (QPS) over the last minute.@OutputOnly */ |
+ |
+ /// Average queries per second (QPS) over the last minute.@OutputOnly |
core.double qps; |
- /** Number of requests since this instance was started.@OutputOnly */ |
+ |
+ /// Number of requests since this instance was started.@OutputOnly |
core.int requests; |
- /** Time that this instance was started.@OutputOnly */ |
+ |
+ /// Time that this instance was started.@OutputOnly |
core.String startTime; |
- /** |
- * Whether this instance is in debug mode. Only applicable for instances in |
- * App Engine flexible environment.@OutputOnly |
- */ |
+ |
+ /// Whether this instance is in debug mode. Only applicable for instances in |
+ /// App Engine flexible environment.@OutputOnly |
core.bool vmDebugEnabled; |
- /** |
- * Virtual machine ID of this instance. Only applicable for instances in App |
- * Engine flexible environment.@OutputOnly |
- */ |
+ |
+ /// Virtual machine ID of this instance. Only applicable for instances in App |
+ /// Engine flexible environment.@OutputOnly |
core.String vmId; |
- /** |
- * The IP address of this instance. Only applicable for instances in App |
- * Engine flexible environment.@OutputOnly |
- */ |
+ |
+ /// The IP address of this instance. Only applicable for instances in App |
+ /// Engine flexible environment.@OutputOnly |
core.String vmIp; |
- /** |
- * Name of the virtual machine where this instance lives. Only applicable for |
- * instances in App Engine flexible environment.@OutputOnly |
- */ |
+ |
+ /// Name of the virtual machine where this instance lives. Only applicable |
+ /// for instances in App Engine flexible environment.@OutputOnly |
core.String vmName; |
- /** |
- * Status of the virtual machine where this instance lives. Only applicable |
- * for instances in App Engine flexible environment.@OutputOnly |
- */ |
+ |
+ /// Status of the virtual machine where this instance lives. Only applicable |
+ /// for instances in App Engine flexible environment.@OutputOnly |
core.String vmStatus; |
- /** |
- * Zone where the virtual machine is located. Only applicable for instances in |
- * App Engine flexible environment.@OutputOnly |
- */ |
+ |
+ /// Zone where the virtual machine is located. Only applicable for instances |
+ /// in App Engine flexible environment.@OutputOnly |
core.String vmZoneName; |
Instance(); |
@@ -3642,7 +3678,8 @@ class Instance { |
} |
core.Map<core.String, core.Object> toJson() { |
- final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>(); |
+ final core.Map<core.String, core.Object> _json = |
+ new core.Map<core.String, core.Object>(); |
if (appEngineRelease != null) { |
_json["appEngineRelease"] = appEngineRelease; |
} |
@@ -3695,11 +3732,12 @@ class Instance { |
} |
} |
-/** Third-party Python runtime library that is required by the application. */ |
+/// Third-party Python runtime library that is required by the application. |
class Library { |
- /** Name of the library. Example: "django". */ |
+ /// Name of the library. Example: "django". |
core.String name; |
- /** Version of the library to select, or "latest". */ |
+ |
+ /// Version of the library to select, or "latest". |
core.String version; |
Library(); |
@@ -3714,7 +3752,8 @@ class Library { |
} |
core.Map<core.String, core.Object> toJson() { |
- final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>(); |
+ final core.Map<core.String, core.Object> _json = |
+ new core.Map<core.String, core.Object>(); |
if (name != null) { |
_json["name"] = name; |
} |
@@ -3725,18 +3764,21 @@ class Library { |
} |
} |
-/** Response message for AuthorizedCertificates.ListAuthorizedCertificates. */ |
+/// Response message for AuthorizedCertificates.ListAuthorizedCertificates. |
class ListAuthorizedCertificatesResponse { |
- /** The SSL certificates the user is authorized to administer. */ |
+ /// The SSL certificates the user is authorized to administer. |
core.List<AuthorizedCertificate> certificates; |
- /** Continuation token for fetching the next page of results. */ |
+ |
+ /// Continuation token for fetching the next page of results. |
core.String nextPageToken; |
ListAuthorizedCertificatesResponse(); |
ListAuthorizedCertificatesResponse.fromJson(core.Map _json) { |
if (_json.containsKey("certificates")) { |
- certificates = _json["certificates"].map((value) => new AuthorizedCertificate.fromJson(value)).toList(); |
+ certificates = _json["certificates"] |
+ .map((value) => new AuthorizedCertificate.fromJson(value)) |
+ .toList(); |
} |
if (_json.containsKey("nextPageToken")) { |
nextPageToken = _json["nextPageToken"]; |
@@ -3744,9 +3786,11 @@ class ListAuthorizedCertificatesResponse { |
} |
core.Map<core.String, core.Object> toJson() { |
- final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>(); |
+ final core.Map<core.String, core.Object> _json = |
+ new core.Map<core.String, core.Object>(); |
if (certificates != null) { |
- _json["certificates"] = certificates.map((value) => (value).toJson()).toList(); |
+ _json["certificates"] = |
+ certificates.map((value) => (value).toJson()).toList(); |
} |
if (nextPageToken != null) { |
_json["nextPageToken"] = nextPageToken; |
@@ -3755,18 +3799,21 @@ class ListAuthorizedCertificatesResponse { |
} |
} |
-/** Response message for AuthorizedDomains.ListAuthorizedDomains. */ |
+/// Response message for AuthorizedDomains.ListAuthorizedDomains. |
class ListAuthorizedDomainsResponse { |
- /** The authorized domains belonging to the user. */ |
+ /// The authorized domains belonging to the user. |
core.List<AuthorizedDomain> domains; |
- /** Continuation token for fetching the next page of results. */ |
+ |
+ /// Continuation token for fetching the next page of results. |
core.String nextPageToken; |
ListAuthorizedDomainsResponse(); |
ListAuthorizedDomainsResponse.fromJson(core.Map _json) { |
if (_json.containsKey("domains")) { |
- domains = _json["domains"].map((value) => new AuthorizedDomain.fromJson(value)).toList(); |
+ domains = _json["domains"] |
+ .map((value) => new AuthorizedDomain.fromJson(value)) |
+ .toList(); |
} |
if (_json.containsKey("nextPageToken")) { |
nextPageToken = _json["nextPageToken"]; |
@@ -3774,7 +3821,8 @@ class ListAuthorizedDomainsResponse { |
} |
core.Map<core.String, core.Object> toJson() { |
- final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>(); |
+ final core.Map<core.String, core.Object> _json = |
+ new core.Map<core.String, core.Object>(); |
if (domains != null) { |
_json["domains"] = domains.map((value) => (value).toJson()).toList(); |
} |
@@ -3785,18 +3833,21 @@ class ListAuthorizedDomainsResponse { |
} |
} |
-/** Response message for DomainMappings.ListDomainMappings. */ |
+/// Response message for DomainMappings.ListDomainMappings. |
class ListDomainMappingsResponse { |
- /** The domain mappings for the application. */ |
+ /// The domain mappings for the application. |
core.List<DomainMapping> domainMappings; |
- /** Continuation token for fetching the next page of results. */ |
+ |
+ /// Continuation token for fetching the next page of results. |
core.String nextPageToken; |
ListDomainMappingsResponse(); |
ListDomainMappingsResponse.fromJson(core.Map _json) { |
if (_json.containsKey("domainMappings")) { |
- domainMappings = _json["domainMappings"].map((value) => new DomainMapping.fromJson(value)).toList(); |
+ domainMappings = _json["domainMappings"] |
+ .map((value) => new DomainMapping.fromJson(value)) |
+ .toList(); |
} |
if (_json.containsKey("nextPageToken")) { |
nextPageToken = _json["nextPageToken"]; |
@@ -3804,9 +3855,11 @@ class ListDomainMappingsResponse { |
} |
core.Map<core.String, core.Object> toJson() { |
- final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>(); |
+ final core.Map<core.String, core.Object> _json = |
+ new core.Map<core.String, core.Object>(); |
if (domainMappings != null) { |
- _json["domainMappings"] = domainMappings.map((value) => (value).toJson()).toList(); |
+ _json["domainMappings"] = |
+ domainMappings.map((value) => (value).toJson()).toList(); |
} |
if (nextPageToken != null) { |
_json["nextPageToken"] = nextPageToken; |
@@ -3815,18 +3868,21 @@ class ListDomainMappingsResponse { |
} |
} |
-/** Response message for Firewall.ListIngressRules. */ |
+/// Response message for Firewall.ListIngressRules. |
class ListIngressRulesResponse { |
- /** The ingress FirewallRules for this application. */ |
+ /// The ingress FirewallRules for this application. |
core.List<FirewallRule> ingressRules; |
- /** Continuation token for fetching the next page of results. */ |
+ |
+ /// Continuation token for fetching the next page of results. |
core.String nextPageToken; |
ListIngressRulesResponse(); |
ListIngressRulesResponse.fromJson(core.Map _json) { |
if (_json.containsKey("ingressRules")) { |
- ingressRules = _json["ingressRules"].map((value) => new FirewallRule.fromJson(value)).toList(); |
+ ingressRules = _json["ingressRules"] |
+ .map((value) => new FirewallRule.fromJson(value)) |
+ .toList(); |
} |
if (_json.containsKey("nextPageToken")) { |
nextPageToken = _json["nextPageToken"]; |
@@ -3834,9 +3890,11 @@ class ListIngressRulesResponse { |
} |
core.Map<core.String, core.Object> toJson() { |
- final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>(); |
+ final core.Map<core.String, core.Object> _json = |
+ new core.Map<core.String, core.Object>(); |
if (ingressRules != null) { |
- _json["ingressRules"] = ingressRules.map((value) => (value).toJson()).toList(); |
+ _json["ingressRules"] = |
+ ingressRules.map((value) => (value).toJson()).toList(); |
} |
if (nextPageToken != null) { |
_json["nextPageToken"] = nextPageToken; |
@@ -3845,18 +3903,21 @@ class ListIngressRulesResponse { |
} |
} |
-/** Response message for Instances.ListInstances. */ |
+/// Response message for Instances.ListInstances. |
class ListInstancesResponse { |
- /** The instances belonging to the requested version. */ |
+ /// The instances belonging to the requested version. |
core.List<Instance> instances; |
- /** Continuation token for fetching the next page of results. */ |
+ |
+ /// Continuation token for fetching the next page of results. |
core.String nextPageToken; |
ListInstancesResponse(); |
ListInstancesResponse.fromJson(core.Map _json) { |
if (_json.containsKey("instances")) { |
- instances = _json["instances"].map((value) => new Instance.fromJson(value)).toList(); |
+ instances = _json["instances"] |
+ .map((value) => new Instance.fromJson(value)) |
+ .toList(); |
} |
if (_json.containsKey("nextPageToken")) { |
nextPageToken = _json["nextPageToken"]; |
@@ -3864,7 +3925,8 @@ class ListInstancesResponse { |
} |
core.Map<core.String, core.Object> toJson() { |
- final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>(); |
+ final core.Map<core.String, core.Object> _json = |
+ new core.Map<core.String, core.Object>(); |
if (instances != null) { |
_json["instances"] = instances.map((value) => (value).toJson()).toList(); |
} |
@@ -3875,18 +3937,21 @@ class ListInstancesResponse { |
} |
} |
-/** The response message for Locations.ListLocations. */ |
+/// The response message for Locations.ListLocations. |
class ListLocationsResponse { |
- /** A list of locations that matches the specified filter in the request. */ |
+ /// A list of locations that matches the specified filter in the request. |
core.List<Location> locations; |
- /** The standard List next-page token. */ |
+ |
+ /// The standard List next-page token. |
core.String nextPageToken; |
ListLocationsResponse(); |
ListLocationsResponse.fromJson(core.Map _json) { |
if (_json.containsKey("locations")) { |
- locations = _json["locations"].map((value) => new Location.fromJson(value)).toList(); |
+ locations = _json["locations"] |
+ .map((value) => new Location.fromJson(value)) |
+ .toList(); |
} |
if (_json.containsKey("nextPageToken")) { |
nextPageToken = _json["nextPageToken"]; |
@@ -3894,7 +3959,8 @@ class ListLocationsResponse { |
} |
core.Map<core.String, core.Object> toJson() { |
- final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>(); |
+ final core.Map<core.String, core.Object> _json = |
+ new core.Map<core.String, core.Object>(); |
if (locations != null) { |
_json["locations"] = locations.map((value) => (value).toJson()).toList(); |
} |
@@ -3905,11 +3971,12 @@ class ListLocationsResponse { |
} |
} |
-/** The response message for Operations.ListOperations. */ |
+/// The response message for Operations.ListOperations. |
class ListOperationsResponse { |
- /** The standard List next-page token. */ |
+ /// The standard List next-page token. |
core.String nextPageToken; |
- /** A list of operations that matches the specified filter in the request. */ |
+ |
+ /// A list of operations that matches the specified filter in the request. |
core.List<Operation> operations; |
ListOperationsResponse(); |
@@ -3919,27 +3986,32 @@ class ListOperationsResponse { |
nextPageToken = _json["nextPageToken"]; |
} |
if (_json.containsKey("operations")) { |
- operations = _json["operations"].map((value) => new Operation.fromJson(value)).toList(); |
+ operations = _json["operations"] |
+ .map((value) => new Operation.fromJson(value)) |
+ .toList(); |
} |
} |
core.Map<core.String, core.Object> toJson() { |
- final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>(); |
+ final core.Map<core.String, core.Object> _json = |
+ new core.Map<core.String, core.Object>(); |
if (nextPageToken != null) { |
_json["nextPageToken"] = nextPageToken; |
} |
if (operations != null) { |
- _json["operations"] = operations.map((value) => (value).toJson()).toList(); |
+ _json["operations"] = |
+ operations.map((value) => (value).toJson()).toList(); |
} |
return _json; |
} |
} |
-/** Response message for Services.ListServices. */ |
+/// Response message for Services.ListServices. |
class ListServicesResponse { |
- /** Continuation token for fetching the next page of results. */ |
+ /// Continuation token for fetching the next page of results. |
core.String nextPageToken; |
- /** The services belonging to the requested application. */ |
+ |
+ /// The services belonging to the requested application. |
core.List<Service> services; |
ListServicesResponse(); |
@@ -3949,12 +4021,15 @@ class ListServicesResponse { |
nextPageToken = _json["nextPageToken"]; |
} |
if (_json.containsKey("services")) { |
- services = _json["services"].map((value) => new Service.fromJson(value)).toList(); |
+ services = _json["services"] |
+ .map((value) => new Service.fromJson(value)) |
+ .toList(); |
} |
} |
core.Map<core.String, core.Object> toJson() { |
- final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>(); |
+ final core.Map<core.String, core.Object> _json = |
+ new core.Map<core.String, core.Object>(); |
if (nextPageToken != null) { |
_json["nextPageToken"] = nextPageToken; |
} |
@@ -3965,11 +4040,12 @@ class ListServicesResponse { |
} |
} |
-/** Response message for Versions.ListVersions. */ |
+/// Response message for Versions.ListVersions. |
class ListVersionsResponse { |
- /** Continuation token for fetching the next page of results. */ |
+ /// Continuation token for fetching the next page of results. |
core.String nextPageToken; |
- /** The versions belonging to the requested service. */ |
+ |
+ /// The versions belonging to the requested service. |
core.List<Version> versions; |
ListVersionsResponse(); |
@@ -3979,12 +4055,15 @@ class ListVersionsResponse { |
nextPageToken = _json["nextPageToken"]; |
} |
if (_json.containsKey("versions")) { |
- versions = _json["versions"].map((value) => new Version.fromJson(value)).toList(); |
+ versions = _json["versions"] |
+ .map((value) => new Version.fromJson(value)) |
+ .toList(); |
} |
} |
core.Map<core.String, core.Object> toJson() { |
- final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>(); |
+ final core.Map<core.String, core.Object> _json = |
+ new core.Map<core.String, core.Object>(); |
if (nextPageToken != null) { |
_json["nextPageToken"] = nextPageToken; |
} |
@@ -3995,33 +4074,31 @@ class ListVersionsResponse { |
} |
} |
-/** |
- * Health checking configuration for VM instances. Unhealthy instances are |
- * killed and replaced with new instances. |
- */ |
+/// Health checking configuration for VM instances. Unhealthy instances are |
+/// killed and replaced with new instances. |
class LivenessCheck { |
- /** Interval between health checks. */ |
+ /// Interval between health checks. |
core.String checkInterval; |
- /** |
- * Number of consecutive failed checks required before considering the VM |
- * unhealthy. |
- */ |
+ |
+ /// Number of consecutive failed checks required before considering the VM |
+ /// unhealthy. |
core.int failureThreshold; |
- /** |
- * Host header to send when performing a HTTP Liveness check. Example: |
- * "myapp.appspot.com" |
- */ |
+ |
+ /// Host header to send when performing a HTTP Liveness check. Example: |
+ /// "myapp.appspot.com" |
core.String host; |
- /** The initial delay before starting to execute the checks. */ |
+ |
+ /// The initial delay before starting to execute the checks. |
core.String initialDelay; |
- /** The request path. */ |
+ |
+ /// The request path. |
core.String path; |
- /** |
- * Number of consecutive successful checks required before considering the VM |
- * healthy. |
- */ |
+ |
+ /// Number of consecutive successful checks required before considering the |
+ /// VM healthy. |
core.int successThreshold; |
- /** Time before the check is considered failed. */ |
+ |
+ /// Time before the check is considered failed. |
core.String timeout; |
LivenessCheck(); |
@@ -4051,7 +4128,8 @@ class LivenessCheck { |
} |
core.Map<core.String, core.Object> toJson() { |
- final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>(); |
+ final core.Map<core.String, core.Object> _json = |
+ new core.Map<core.String, core.Object>(); |
if (checkInterval != null) { |
_json["checkInterval"] = checkInterval; |
} |
@@ -4077,27 +4155,24 @@ class LivenessCheck { |
} |
} |
-/** A resource that represents Google Cloud Platform location. */ |
+/// A resource that represents Google Cloud Platform location. |
class Location { |
- /** |
- * Cross-service attributes for the location. For example |
- * {"cloud.googleapis.com/region": "us-east1"} |
- */ |
+ /// Cross-service attributes for the location. For example |
+ /// {"cloud.googleapis.com/region": "us-east1"} |
core.Map<core.String, core.String> labels; |
- /** The canonical id for this location. For example: "us-east1". */ |
+ |
+ /// The canonical id for this location. For example: "us-east1". |
core.String locationId; |
- /** |
- * Service-specific metadata. For example the available capacity at the given |
- * location. |
- * |
- * The values for Object must be JSON objects. It can consist of `num`, |
- * `String`, `bool` and `null` as well as `Map` and `List` values. |
- */ |
+ |
+ /// Service-specific metadata. For example the available capacity at the |
+ /// given location. |
+ /// |
+ /// The values for Object must be JSON objects. It can consist of `num`, |
+ /// `String`, `bool` and `null` as well as `Map` and `List` values. |
core.Map<core.String, core.Object> metadata; |
- /** |
- * Resource name for the location, which may vary between implementations. For |
- * example: "projects/example-project/locations/us-east1" |
- */ |
+ |
+ /// Resource name for the location, which may vary between implementations. |
+ /// For example: "projects/example-project/locations/us-east1" |
core.String name; |
Location(); |
@@ -4118,7 +4193,8 @@ class Location { |
} |
core.Map<core.String, core.Object> toJson() { |
- final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>(); |
+ final core.Map<core.String, core.Object> _json = |
+ new core.Map<core.String, core.Object>(); |
if (labels != null) { |
_json["labels"] = labels; |
} |
@@ -4135,17 +4211,14 @@ class Location { |
} |
} |
-/** Metadata for the given google.cloud.location.Location. */ |
+/// Metadata for the given google.cloud.location.Location. |
class LocationMetadata { |
- /** |
- * App Engine Flexible Environment is available in the given |
- * location.@OutputOnly |
- */ |
+ /// App Engine Flexible Environment is available in the given |
+ /// location.@OutputOnly |
core.bool flexibleEnvironmentAvailable; |
- /** |
- * App Engine Standard Environment is available in the given |
- * location.@OutputOnly |
- */ |
+ |
+ /// App Engine Standard Environment is available in the given |
+ /// location.@OutputOnly |
core.bool standardEnvironmentAvailable; |
LocationMetadata(); |
@@ -4160,7 +4233,8 @@ class LocationMetadata { |
} |
core.Map<core.String, core.Object> toJson() { |
- final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>(); |
+ final core.Map<core.String, core.Object> _json = |
+ new core.Map<core.String, core.Object>(); |
if (flexibleEnvironmentAvailable != null) { |
_json["flexibleEnvironmentAvailable"] = flexibleEnvironmentAvailable; |
} |
@@ -4171,17 +4245,60 @@ class LocationMetadata { |
} |
} |
-/** |
- * A service with manual scaling runs continuously, allowing you to perform |
- * complex initialization and rely on the state of its memory over time. |
- */ |
+/// A certificate managed by App Engine. |
+class ManagedCertificate { |
+ /// Time at which the certificate was last renewed. The renewal process is |
+ /// fully managed. Certificate renewal will automatically occur before the |
+ /// certificate expires. Renewal errors can be tracked via |
+ /// ManagementStatus.@OutputOnly |
+ core.String lastRenewalTime; |
+ |
+ /// Status of certificate management. Refers to the most recent certificate |
+ /// acquisition or renewal attempt.@OutputOnly |
+ /// Possible string values are: |
+ /// - "MANAGEMENT_STATUS_UNSPECIFIED" |
+ /// - "OK" : Certificate was successfully obtained and inserted into the |
+ /// serving system. |
+ /// - "PENDING" : Certificate is under active attempts to acquire or renew. |
+ /// - "FAILED_RETRYING_NOT_VISIBLE" : Most recent renewal failed due to an |
+ /// invalid DNS setup and will be retried. Renewal attempts will continue to |
+ /// fail until the certificate domain's DNS configuration is fixed. The last |
+ /// successfully provisioned certificate may still be serving. |
+ /// - "FAILED_PERMANENT" : All renewal attempts have been exhausted, likely |
+ /// due to an invalid DNS setup. |
+ core.String status; |
+ |
+ ManagedCertificate(); |
+ |
+ ManagedCertificate.fromJson(core.Map _json) { |
+ if (_json.containsKey("lastRenewalTime")) { |
+ lastRenewalTime = _json["lastRenewalTime"]; |
+ } |
+ if (_json.containsKey("status")) { |
+ status = _json["status"]; |
+ } |
+ } |
+ |
+ core.Map<core.String, core.Object> toJson() { |
+ final core.Map<core.String, core.Object> _json = |
+ new core.Map<core.String, core.Object>(); |
+ if (lastRenewalTime != null) { |
+ _json["lastRenewalTime"] = lastRenewalTime; |
+ } |
+ if (status != null) { |
+ _json["status"] = status; |
+ } |
+ return _json; |
+ } |
+} |
+ |
+/// A service with manual scaling runs continuously, allowing you to perform |
+/// complex initialization and rely on the state of its memory over time. |
class ManualScaling { |
- /** |
- * Number of instances to assign to the service at the start. This number can |
- * later be altered by using the Modules API |
- * (https://cloud.google.com/appengine/docs/python/modules/functions) |
- * set_num_instances() function. |
- */ |
+ /// Number of instances to assign to the service at the start. This number |
+ /// can later be altered by using the Modules API |
+ /// (https://cloud.google.com/appengine/docs/python/modules/functions) |
+ /// set_num_instances() function. |
core.int instances; |
ManualScaling(); |
@@ -4193,7 +4310,8 @@ class ManualScaling { |
} |
core.Map<core.String, core.Object> toJson() { |
- final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>(); |
+ final core.Map<core.String, core.Object> _json = |
+ new core.Map<core.String, core.Object>(); |
if (instances != null) { |
_json["instances"] = instances; |
} |
@@ -4201,44 +4319,37 @@ class ManualScaling { |
} |
} |
-/** |
- * Extra network settings. Only applicable for App Engine flexible environment |
- * versions |
- */ |
+/// Extra network settings. Only applicable for App Engine flexible environment |
+/// versions |
class Network { |
- /** |
- * List of ports, or port pairs, to forward from the virtual machine to the |
- * application container. Only applicable for App Engine flexible environment |
- * versions. |
- */ |
+ /// List of ports, or port pairs, to forward from the virtual machine to the |
+ /// application container. Only applicable for App Engine flexible |
+ /// environment versions. |
core.List<core.String> forwardedPorts; |
- /** |
- * Tag to apply to the VM instance during creation. Only applicable for for |
- * App Engine flexible environment versions. |
- */ |
+ |
+ /// Tag to apply to the VM instance during creation. Only applicable for for |
+ /// App Engine flexible environment versions. |
core.String instanceTag; |
- /** |
- * Google Compute Engine network where the virtual machines are created. |
- * Specify the short name, not the resource path.Defaults to default. |
- */ |
+ |
+ /// Google Compute Engine network where the virtual machines are created. |
+ /// Specify the short name, not the resource path.Defaults to default. |
core.String name; |
- /** |
- * Google Cloud Platform sub-network where the virtual machines are created. |
- * Specify the short name, not the resource path.If a subnetwork name is |
- * specified, a network name will also be required unless it is for the |
- * default network. |
- * If the network the VM instance is being created in is a Legacy network, |
- * then the IP address is allocated from the IPv4Range. |
- * If the network the VM instance is being created in is an auto Subnet Mode |
- * Network, then only network name should be specified (not the |
- * subnetwork_name) and the IP address is created from the IPCidrRange of the |
- * subnetwork that exists in that zone for that network. |
- * If the network the VM instance is being created in is a custom Subnet Mode |
- * Network, then the subnetwork_name must be specified and the IP address is |
- * created from the IPCidrRange of the subnetwork.If specified, the subnetwork |
- * must exist in the same region as the App Engine flexible environment |
- * application. |
- */ |
+ |
+ /// Google Cloud Platform sub-network where the virtual machines are created. |
+ /// Specify the short name, not the resource path.If a subnetwork name is |
+ /// specified, a network name will also be required unless it is for the |
+ /// default network. |
+ /// If the network the VM instance is being created in is a Legacy network, |
+ /// then the IP address is allocated from the IPv4Range. |
+ /// If the network the VM instance is being created in is an auto Subnet Mode |
+ /// Network, then only network name should be specified (not the |
+ /// subnetwork_name) and the IP address is created from the IPCidrRange of |
+ /// the subnetwork that exists in that zone for that network. |
+ /// If the network the VM instance is being created in is a custom Subnet |
+ /// Mode Network, then the subnetwork_name must be specified and the IP |
+ /// address is created from the IPCidrRange of the subnetwork.If specified, |
+ /// the subnetwork must exist in the same region as the App Engine flexible |
+ /// environment application. |
core.String subnetworkName; |
Network(); |
@@ -4259,7 +4370,8 @@ class Network { |
} |
core.Map<core.String, core.Object> toJson() { |
- final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>(); |
+ final core.Map<core.String, core.Object> _json = |
+ new core.Map<core.String, core.Object>(); |
if (forwardedPorts != null) { |
_json["forwardedPorts"] = forwardedPorts; |
} |
@@ -4276,15 +4388,18 @@ class Network { |
} |
} |
-/** Target scaling by network usage. Only applicable for VM runtimes. */ |
+/// Target scaling by network usage. Only applicable for VM runtimes. |
class NetworkUtilization { |
- /** Target bytes received per second. */ |
+ /// Target bytes received per second. |
core.int targetReceivedBytesPerSecond; |
- /** Target packets received per second. */ |
+ |
+ /// Target packets received per second. |
core.int targetReceivedPacketsPerSecond; |
- /** Target bytes sent per second. */ |
+ |
+ /// Target bytes sent per second. |
core.int targetSentBytesPerSecond; |
- /** Target packets sent per second. */ |
+ |
+ /// Target packets sent per second. |
core.int targetSentPacketsPerSecond; |
NetworkUtilization(); |
@@ -4305,7 +4420,8 @@ class NetworkUtilization { |
} |
core.Map<core.String, core.Object> toJson() { |
- final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>(); |
+ final core.Map<core.String, core.Object> _json = |
+ new core.Map<core.String, core.Object>(); |
if (targetReceivedBytesPerSecond != null) { |
_json["targetReceivedBytesPerSecond"] = targetReceivedBytesPerSecond; |
} |
@@ -4322,47 +4438,41 @@ class NetworkUtilization { |
} |
} |
-/** |
- * This resource represents a long-running operation that is the result of a |
- * network API call. |
- */ |
+/// This resource represents a long-running operation that is the result of a |
+/// network API call. |
class Operation { |
- /** |
- * If the value is false, it means the operation is still in progress. If |
- * true, the operation is completed, and either error or response is |
- * available. |
- */ |
+ /// If the value is false, it means the operation is still in progress. If |
+ /// true, the operation is completed, and either error or response is |
+ /// available. |
core.bool done; |
- /** The error result of the operation in case of failure or cancellation. */ |
+ |
+ /// The error result of the operation in case of failure or cancellation. |
Status error; |
- /** |
- * Service-specific metadata associated with the operation. It typically |
- * contains progress information and common metadata such as create time. Some |
- * services might not provide such metadata. Any method that returns a |
- * long-running operation should document the metadata type, if any. |
- * |
- * The values for Object must be JSON objects. It can consist of `num`, |
- * `String`, `bool` and `null` as well as `Map` and `List` values. |
- */ |
+ |
+ /// Service-specific metadata associated with the operation. It typically |
+ /// contains progress information and common metadata such as create time. |
+ /// Some services might not provide such metadata. Any method that returns a |
+ /// long-running operation should document the metadata type, if any. |
+ /// |
+ /// The values for Object must be JSON objects. It can consist of `num`, |
+ /// `String`, `bool` and `null` as well as `Map` and `List` values. |
core.Map<core.String, core.Object> metadata; |
- /** |
- * The server-assigned name, which is only unique within the same service that |
- * originally returns it. If you use the default HTTP mapping, the name should |
- * have the format of operations/some/unique/name. |
- */ |
+ |
+ /// The server-assigned name, which is only unique within the same service |
+ /// that originally returns it. If you use the default HTTP mapping, the name |
+ /// should have the format of operations/some/unique/name. |
core.String name; |
- /** |
- * The normal response of the operation in case of success. If the original |
- * method returns no data on success, such as Delete, the response is |
- * google.protobuf.Empty. If the original method is standard |
- * Get/Create/Update, the response should be the resource. For other methods, |
- * the response should have the type XxxResponse, where Xxx is the original |
- * method name. For example, if the original method name is TakeSnapshot(), |
- * the inferred response type is TakeSnapshotResponse. |
- * |
- * The values for Object must be JSON objects. It can consist of `num`, |
- * `String`, `bool` and `null` as well as `Map` and `List` values. |
- */ |
+ |
+ /// The normal response of the operation in case of success. If the original |
+ /// method returns no data on success, such as Delete, the response is |
+ /// google.protobuf.Empty. If the original method is standard |
+ /// Get/Create/Update, the response should be the resource. For other |
+ /// methods, the response should have the type XxxResponse, where Xxx is the |
+ /// original method name. For example, if the original method name is |
+ /// TakeSnapshot(), the inferred response type is TakeSnapshotResponse. |
+ /// |
+ /// The values for Object must be JSON objects. It can consist of `num`, |
+ /// `String`, `bool` and `null` as well as `Map` and `List` values. |
core.Map<core.String, core.Object> response; |
Operation(); |
@@ -4386,7 +4496,8 @@ class Operation { |
} |
core.Map<core.String, core.Object> toJson() { |
- final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>(); |
+ final core.Map<core.String, core.Object> _json = |
+ new core.Map<core.String, core.Object>(); |
if (done != null) { |
_json["done"] = done; |
} |
@@ -4406,28 +4517,27 @@ class Operation { |
} |
} |
-/** Metadata for the given google.longrunning.Operation. */ |
+/// Metadata for the given google.longrunning.Operation. |
class OperationMetadata { |
- /** Timestamp that this operation completed.@OutputOnly */ |
+ /// Timestamp that this operation completed.@OutputOnly |
core.String endTime; |
- /** Timestamp that this operation was created.@OutputOnly */ |
+ |
+ /// Timestamp that this operation was created.@OutputOnly |
core.String insertTime; |
- /** |
- * API method that initiated this operation. Example: |
- * google.appengine.v1beta4.Version.CreateVersion.@OutputOnly |
- */ |
+ |
+ /// API method that initiated this operation. Example: |
+ /// google.appengine.v1beta4.Version.CreateVersion.@OutputOnly |
core.String method; |
- /** |
- * Type of this operation. Deprecated, use method field instead. Example: |
- * "create_version".@OutputOnly |
- */ |
+ |
+ /// Type of this operation. Deprecated, use method field instead. Example: |
+ /// "create_version".@OutputOnly |
core.String operationType; |
- /** |
- * Name of the resource that this operation is acting on. Example: |
- * apps/myapp/modules/default.@OutputOnly |
- */ |
+ |
+ /// Name of the resource that this operation is acting on. Example: |
+ /// apps/myapp/modules/default.@OutputOnly |
core.String target; |
- /** User who requested this operation.@OutputOnly */ |
+ |
+ /// User who requested this operation.@OutputOnly |
core.String user; |
OperationMetadata(); |
@@ -4454,7 +4564,8 @@ class OperationMetadata { |
} |
core.Map<core.String, core.Object> toJson() { |
- final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>(); |
+ final core.Map<core.String, core.Object> _json = |
+ new core.Map<core.String, core.Object>(); |
if (endTime != null) { |
_json["endTime"] = endTime; |
} |
@@ -4477,23 +4588,23 @@ class OperationMetadata { |
} |
} |
-/** Metadata for the given google.longrunning.Operation. */ |
+/// Metadata for the given google.longrunning.Operation. |
class OperationMetadataExperimental { |
- /** Time that this operation completed.@OutputOnly */ |
+ /// Time that this operation completed.@OutputOnly |
core.String endTime; |
- /** Time that this operation was created.@OutputOnly */ |
+ |
+ /// Time that this operation was created.@OutputOnly |
core.String insertTime; |
- /** |
- * API method that initiated this operation. Example: |
- * google.appengine.experimental.CustomDomains.CreateCustomDomain.@OutputOnly |
- */ |
+ |
+ /// API method that initiated this operation. Example: |
+ /// google.appengine.experimental.CustomDomains.CreateCustomDomain.@OutputOnly |
core.String method; |
- /** |
- * Name of the resource that this operation is acting on. Example: |
- * apps/myapp/customDomains/example.com.@OutputOnly |
- */ |
+ |
+ /// Name of the resource that this operation is acting on. Example: |
+ /// apps/myapp/customDomains/example.com.@OutputOnly |
core.String target; |
- /** User who requested this operation.@OutputOnly */ |
+ |
+ /// User who requested this operation.@OutputOnly |
core.String user; |
OperationMetadataExperimental(); |
@@ -4517,7 +4628,8 @@ class OperationMetadataExperimental { |
} |
core.Map<core.String, core.Object> toJson() { |
- final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>(); |
+ final core.Map<core.String, core.Object> _json = |
+ new core.Map<core.String, core.Object>(); |
if (endTime != null) { |
_json["endTime"] = endTime; |
} |
@@ -4537,30 +4649,30 @@ class OperationMetadataExperimental { |
} |
} |
-/** Metadata for the given google.longrunning.Operation. */ |
+/// Metadata for the given google.longrunning.Operation. |
class OperationMetadataV1 { |
- /** Time that this operation completed.@OutputOnly */ |
+ /// Time that this operation completed.@OutputOnly |
core.String endTime; |
- /** |
- * Ephemeral message that may change every time the operation is polled. |
- * @OutputOnly |
- */ |
+ |
+ /// Ephemeral message that may change every time the operation is polled. |
+ /// @OutputOnly |
core.String ephemeralMessage; |
- /** Time that this operation was created.@OutputOnly */ |
+ |
+ /// Time that this operation was created.@OutputOnly |
core.String insertTime; |
- /** |
- * API method that initiated this operation. Example: |
- * google.appengine.v1.Versions.CreateVersion.@OutputOnly |
- */ |
+ |
+ /// API method that initiated this operation. Example: |
+ /// google.appengine.v1.Versions.CreateVersion.@OutputOnly |
core.String method; |
- /** |
- * Name of the resource that this operation is acting on. Example: |
- * apps/myapp/services/default.@OutputOnly |
- */ |
+ |
+ /// Name of the resource that this operation is acting on. Example: |
+ /// apps/myapp/services/default.@OutputOnly |
core.String target; |
- /** User who requested this operation.@OutputOnly */ |
+ |
+ /// User who requested this operation.@OutputOnly |
core.String user; |
- /** Durable messages that persist on every operation poll. @OutputOnly */ |
+ |
+ /// Durable messages that persist on every operation poll. @OutputOnly |
core.List<core.String> warning; |
OperationMetadataV1(); |
@@ -4590,7 +4702,8 @@ class OperationMetadataV1 { |
} |
core.Map<core.String, core.Object> toJson() { |
- final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>(); |
+ final core.Map<core.String, core.Object> _json = |
+ new core.Map<core.String, core.Object>(); |
if (endTime != null) { |
_json["endTime"] = endTime; |
} |
@@ -4616,30 +4729,30 @@ class OperationMetadataV1 { |
} |
} |
-/** Metadata for the given google.longrunning.Operation. */ |
+/// Metadata for the given google.longrunning.Operation. |
class OperationMetadataV1Alpha { |
- /** Time that this operation completed.@OutputOnly */ |
+ /// Time that this operation completed.@OutputOnly |
core.String endTime; |
- /** |
- * Ephemeral message that may change every time the operation is polled. |
- * @OutputOnly |
- */ |
+ |
+ /// Ephemeral message that may change every time the operation is polled. |
+ /// @OutputOnly |
core.String ephemeralMessage; |
- /** Time that this operation was created.@OutputOnly */ |
+ |
+ /// Time that this operation was created.@OutputOnly |
core.String insertTime; |
- /** |
- * API method that initiated this operation. Example: |
- * google.appengine.v1alpha.Versions.CreateVersion.@OutputOnly |
- */ |
+ |
+ /// API method that initiated this operation. Example: |
+ /// google.appengine.v1alpha.Versions.CreateVersion.@OutputOnly |
core.String method; |
- /** |
- * Name of the resource that this operation is acting on. Example: |
- * apps/myapp/services/default.@OutputOnly |
- */ |
+ |
+ /// Name of the resource that this operation is acting on. Example: |
+ /// apps/myapp/services/default.@OutputOnly |
core.String target; |
- /** User who requested this operation.@OutputOnly */ |
+ |
+ /// User who requested this operation.@OutputOnly |
core.String user; |
- /** Durable messages that persist on every operation poll. @OutputOnly */ |
+ |
+ /// Durable messages that persist on every operation poll. @OutputOnly |
core.List<core.String> warning; |
OperationMetadataV1Alpha(); |
@@ -4669,7 +4782,8 @@ class OperationMetadataV1Alpha { |
} |
core.Map<core.String, core.Object> toJson() { |
- final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>(); |
+ final core.Map<core.String, core.Object> _json = |
+ new core.Map<core.String, core.Object>(); |
if (endTime != null) { |
_json["endTime"] = endTime; |
} |
@@ -4695,30 +4809,30 @@ class OperationMetadataV1Alpha { |
} |
} |
-/** Metadata for the given google.longrunning.Operation. */ |
+/// Metadata for the given google.longrunning.Operation. |
class OperationMetadataV1Beta { |
- /** Time that this operation completed.@OutputOnly */ |
+ /// Time that this operation completed.@OutputOnly |
core.String endTime; |
- /** |
- * Ephemeral message that may change every time the operation is polled. |
- * @OutputOnly |
- */ |
+ |
+ /// Ephemeral message that may change every time the operation is polled. |
+ /// @OutputOnly |
core.String ephemeralMessage; |
- /** Time that this operation was created.@OutputOnly */ |
+ |
+ /// Time that this operation was created.@OutputOnly |
core.String insertTime; |
- /** |
- * API method that initiated this operation. Example: |
- * google.appengine.v1beta.Versions.CreateVersion.@OutputOnly |
- */ |
+ |
+ /// API method that initiated this operation. Example: |
+ /// google.appengine.v1beta.Versions.CreateVersion.@OutputOnly |
core.String method; |
- /** |
- * Name of the resource that this operation is acting on. Example: |
- * apps/myapp/services/default.@OutputOnly |
- */ |
+ |
+ /// Name of the resource that this operation is acting on. Example: |
+ /// apps/myapp/services/default.@OutputOnly |
core.String target; |
- /** User who requested this operation.@OutputOnly */ |
+ |
+ /// User who requested this operation.@OutputOnly |
core.String user; |
- /** Durable messages that persist on every operation poll. @OutputOnly */ |
+ |
+ /// Durable messages that persist on every operation poll. @OutputOnly |
core.List<core.String> warning; |
OperationMetadataV1Beta(); |
@@ -4748,7 +4862,8 @@ class OperationMetadataV1Beta { |
} |
core.Map<core.String, core.Object> toJson() { |
- final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>(); |
+ final core.Map<core.String, core.Object> _json = |
+ new core.Map<core.String, core.Object>(); |
if (endTime != null) { |
_json["endTime"] = endTime; |
} |
@@ -4774,23 +4889,23 @@ class OperationMetadataV1Beta { |
} |
} |
-/** Metadata for the given google.longrunning.Operation. */ |
+/// Metadata for the given google.longrunning.Operation. |
class OperationMetadataV1Beta5 { |
- /** Timestamp that this operation completed.@OutputOnly */ |
+ /// Timestamp that this operation completed.@OutputOnly |
core.String endTime; |
- /** Timestamp that this operation was created.@OutputOnly */ |
+ |
+ /// Timestamp that this operation was created.@OutputOnly |
core.String insertTime; |
- /** |
- * API method name that initiated this operation. Example: |
- * google.appengine.v1beta5.Version.CreateVersion.@OutputOnly |
- */ |
+ |
+ /// API method name that initiated this operation. Example: |
+ /// google.appengine.v1beta5.Version.CreateVersion.@OutputOnly |
core.String method; |
- /** |
- * Name of the resource that this operation is acting on. Example: |
- * apps/myapp/services/default.@OutputOnly |
- */ |
+ |
+ /// Name of the resource that this operation is acting on. Example: |
+ /// apps/myapp/services/default.@OutputOnly |
core.String target; |
- /** User who requested this operation.@OutputOnly */ |
+ |
+ /// User who requested this operation.@OutputOnly |
core.String user; |
OperationMetadataV1Beta5(); |
@@ -4814,7 +4929,8 @@ class OperationMetadataV1Beta5 { |
} |
core.Map<core.String, core.Object> toJson() { |
- final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>(); |
+ final core.Map<core.String, core.Object> _json = |
+ new core.Map<core.String, core.Object>(); |
if (endTime != null) { |
_json["endTime"] = endTime; |
} |
@@ -4834,33 +4950,32 @@ class OperationMetadataV1Beta5 { |
} |
} |
-/** |
- * Readiness checking configuration for VM instances. Unhealthy instances are |
- * removed from traffic rotation. |
- */ |
+/// Readiness checking configuration for VM instances. Unhealthy instances are |
+/// removed from traffic rotation. |
class ReadinessCheck { |
- /** |
- * A maximum time limit on application initialization, measured from moment |
- * the application successfully replies to a healthcheck until it is ready to |
- * serve traffic. |
- */ |
+ /// A maximum time limit on application initialization, measured from moment |
+ /// the application successfully replies to a healthcheck until it is ready |
+ /// to serve traffic. |
core.String appStartTimeout; |
- /** Interval between health checks. */ |
+ |
+ /// Interval between health checks. |
core.String checkInterval; |
- /** Number of consecutive failed checks required before removing traffic. */ |
+ |
+ /// Number of consecutive failed checks required before removing traffic. |
core.int failureThreshold; |
- /** |
- * Host header to send when performing a HTTP Readiness check. Example: |
- * "myapp.appspot.com" |
- */ |
+ |
+ /// Host header to send when performing a HTTP Readiness check. Example: |
+ /// "myapp.appspot.com" |
core.String host; |
- /** The request path. */ |
+ |
+ /// The request path. |
core.String path; |
- /** |
- * Number of consecutive successful checks required before receiving traffic. |
- */ |
+ |
+ /// Number of consecutive successful checks required before receiving |
+ /// traffic. |
core.int successThreshold; |
- /** Time before the check is considered failed. */ |
+ |
+ /// Time before the check is considered failed. |
core.String timeout; |
ReadinessCheck(); |
@@ -4890,7 +5005,8 @@ class ReadinessCheck { |
} |
core.Map<core.String, core.Object> toJson() { |
- final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>(); |
+ final core.Map<core.String, core.Object> _json = |
+ new core.Map<core.String, core.Object>(); |
if (appStartTimeout != null) { |
_json["appStartTimeout"] = appStartTimeout; |
} |
@@ -4916,25 +5032,25 @@ class ReadinessCheck { |
} |
} |
-/** Request message for 'Applications.RepairApplication'. */ |
+/// Request message for 'Applications.RepairApplication'. |
class RepairApplicationRequest { |
- |
RepairApplicationRequest(); |
- RepairApplicationRequest.fromJson(core.Map _json) { |
- } |
+ RepairApplicationRequest.fromJson(core.Map _json) {} |
core.Map<core.String, core.Object> toJson() { |
- final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>(); |
+ final core.Map<core.String, core.Object> _json = |
+ new core.Map<core.String, core.Object>(); |
return _json; |
} |
} |
-/** Target scaling by request utilization. Only applicable for VM runtimes. */ |
+/// Target scaling by request utilization. Only applicable for VM runtimes. |
class RequestUtilization { |
- /** Target number of concurrent requests. */ |
+ /// Target number of concurrent requests. |
core.int targetConcurrentRequests; |
- /** Target requests per second. */ |
+ |
+ /// Target requests per second. |
core.int targetRequestCountPerSecond; |
RequestUtilization(); |
@@ -4949,7 +5065,8 @@ class RequestUtilization { |
} |
core.Map<core.String, core.Object> toJson() { |
- final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>(); |
+ final core.Map<core.String, core.Object> _json = |
+ new core.Map<core.String, core.Object>(); |
if (targetConcurrentRequests != null) { |
_json["targetConcurrentRequests"] = targetConcurrentRequests; |
} |
@@ -4960,25 +5077,21 @@ class RequestUtilization { |
} |
} |
-/** A DNS resource record. */ |
+/// A DNS resource record. |
class ResourceRecord { |
- /** |
- * Relative name of the object affected by this record. Only applicable for |
- * CNAME records. Example: 'www'. |
- */ |
+ /// Relative name of the object affected by this record. Only applicable for |
+ /// CNAME records. Example: 'www'. |
core.String name; |
- /** |
- * Data for this record. Values vary by record type, as defined in RFC 1035 |
- * (section 5) and RFC 1034 (section 3.6.1). |
- */ |
+ |
+ /// Data for this record. Values vary by record type, as defined in RFC 1035 |
+ /// (section 5) and RFC 1034 (section 3.6.1). |
core.String rrdata; |
- /** |
- * Resource record type. Example: AAAA. |
- * Possible string values are: |
- * - "A" : An A resource record. Data is an IPv4 address. |
- * - "AAAA" : An AAAA resource record. Data is an IPv6 address. |
- * - "CNAME" : A CNAME resource record. Data is a domain name to be aliased. |
- */ |
+ |
+ /// Resource record type. Example: AAAA. |
+ /// Possible string values are: |
+ /// - "A" : An A resource record. Data is an IPv4 address. |
+ /// - "AAAA" : An AAAA resource record. Data is an IPv6 address. |
+ /// - "CNAME" : A CNAME resource record. Data is a domain name to be aliased. |
core.String type; |
ResourceRecord(); |
@@ -4996,7 +5109,8 @@ class ResourceRecord { |
} |
core.Map<core.String, core.Object> toJson() { |
- final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>(); |
+ final core.Map<core.String, core.Object> _json = |
+ new core.Map<core.String, core.Object>(); |
if (name != null) { |
_json["name"] = name; |
} |
@@ -5010,15 +5124,18 @@ class ResourceRecord { |
} |
} |
-/** Machine resources for a version. */ |
+/// Machine resources for a version. |
class Resources { |
- /** Number of CPU cores needed. */ |
+ /// Number of CPU cores needed. |
core.double cpu; |
- /** Disk size (GB) needed. */ |
+ |
+ /// Disk size (GB) needed. |
core.double diskGb; |
- /** Memory (GB) needed. */ |
+ |
+ /// Memory (GB) needed. |
core.double memoryGb; |
- /** User specified volumes. */ |
+ |
+ /// User specified volumes. |
core.List<Volume> volumes; |
Resources(); |
@@ -5034,12 +5151,14 @@ class Resources { |
memoryGb = _json["memoryGb"]; |
} |
if (_json.containsKey("volumes")) { |
- volumes = _json["volumes"].map((value) => new Volume.fromJson(value)).toList(); |
+ volumes = |
+ _json["volumes"].map((value) => new Volume.fromJson(value)).toList(); |
} |
} |
core.Map<core.String, core.Object> toJson() { |
- final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>(); |
+ final core.Map<core.String, core.Object> _json = |
+ new core.Map<core.String, core.Object>(); |
if (cpu != null) { |
_json["cpu"] = cpu; |
} |
@@ -5056,9 +5175,9 @@ class Resources { |
} |
} |
-/** Executes a script to handle the request that matches the URL pattern. */ |
+/// Executes a script to handle the request that matches the URL pattern. |
class ScriptHandler { |
- /** Path to the script from the application root directory. */ |
+ /// Path to the script from the application root directory. |
core.String scriptPath; |
ScriptHandler(); |
@@ -5070,7 +5189,8 @@ class ScriptHandler { |
} |
core.Map<core.String, core.Object> toJson() { |
- final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>(); |
+ final core.Map<core.String, core.Object> _json = |
+ new core.Map<core.String, core.Object>(); |
if (scriptPath != null) { |
_json["scriptPath"] = scriptPath; |
} |
@@ -5078,29 +5198,23 @@ class ScriptHandler { |
} |
} |
-/** |
- * A Service resource is a logical component of an application that can share |
- * state and communicate in a secure fashion with other services. For example, |
- * an application that handles customer requests might include separate services |
- * to handle tasks such as backend data analysis or API requests from mobile |
- * devices. Each service has a collection of versions that define a specific set |
- * of code used to implement the functionality of that service. |
- */ |
+/// A Service resource is a logical component of an application that can share |
+/// state and communicate in a secure fashion with other services. For example, |
+/// an application that handles customer requests might include separate |
+/// services to handle tasks such as backend data analysis or API requests from |
+/// mobile devices. Each service has a collection of versions that define a |
+/// specific set of code used to implement the functionality of that service. |
class Service { |
- /** |
- * Relative name of the service within the application. Example: |
- * default.@OutputOnly |
- */ |
+ /// Relative name of the service within the application. Example: |
+ /// default.@OutputOnly |
core.String id; |
- /** |
- * Full path to the Service resource in the API. Example: |
- * apps/myapp/services/default.@OutputOnly |
- */ |
+ |
+ /// Full path to the Service resource in the API. Example: |
+ /// apps/myapp/services/default.@OutputOnly |
core.String name; |
- /** |
- * Mapping that defines fractional HTTP traffic diversion to different |
- * versions within the service. |
- */ |
+ |
+ /// Mapping that defines fractional HTTP traffic diversion to different |
+ /// versions within the service. |
TrafficSplit split; |
Service(); |
@@ -5118,7 +5232,8 @@ class Service { |
} |
core.Map<core.String, core.Object> toJson() { |
- final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>(); |
+ final core.Map<core.String, core.Object> _json = |
+ new core.Map<core.String, core.Object>(); |
if (id != null) { |
_json["id"] = id; |
} |
@@ -5132,46 +5247,81 @@ class Service { |
} |
} |
-/** SSL configuration for a DomainMapping resource. */ |
+/// SSL configuration for a DomainMapping resource. |
class SslSettings { |
- /** |
- * ID of the AuthorizedCertificate resource configuring SSL for the |
- * application. Clearing this field will remove SSL support. Example: 12345. |
- */ |
+ /// ID of the AuthorizedCertificate resource configuring SSL for the |
+ /// application. Clearing this field will remove SSL support.By default, a |
+ /// managed certificate is automatically created for every domain mapping. To |
+ /// omit SSL support or to configure SSL manually, specify |
+ /// SslManagementType.MANUAL on a CREATE or UPDATE request. You must be |
+ /// authorized to administer the AuthorizedCertificate resource to manually |
+ /// map it to a DomainMapping resource. Example: 12345. |
core.String certificateId; |
+ /// ID of the managed AuthorizedCertificate resource currently being |
+ /// provisioned, if applicable. Until the new managed certificate has been |
+ /// successfully provisioned, the previous SSL state will be preserved. Once |
+ /// the provisioning process completes, the certificate_id field will reflect |
+ /// the new managed certificate and this field will be left empty. To remove |
+ /// SSL support while there is still a pending managed certificate, clear the |
+ /// certificate_id field with an UpdateDomainMappingRequest.@OutputOnly |
+ core.String pendingManagedCertificateId; |
+ |
+ /// SSL management type for this domain. If AUTOMATIC, a managed certificate |
+ /// is automatically provisioned. If MANUAL, certificate_id must be manually |
+ /// specified in order to configure SSL for this domain. |
+ /// Possible string values are: |
+ /// - "AUTOMATIC" : SSL support for this domain is configured automatically. |
+ /// The mapped SSL certificate will be automatically renewed. |
+ /// - "MANUAL" : SSL support for this domain is configured manually by the |
+ /// user. Either the domain has no SSL support or a user-obtained SSL |
+ /// certificate has been explictly mapped to this domain. |
+ core.String sslManagementType; |
+ |
SslSettings(); |
SslSettings.fromJson(core.Map _json) { |
if (_json.containsKey("certificateId")) { |
certificateId = _json["certificateId"]; |
} |
+ if (_json.containsKey("pendingManagedCertificateId")) { |
+ pendingManagedCertificateId = _json["pendingManagedCertificateId"]; |
+ } |
+ if (_json.containsKey("sslManagementType")) { |
+ sslManagementType = _json["sslManagementType"]; |
+ } |
} |
core.Map<core.String, core.Object> toJson() { |
- final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>(); |
+ final core.Map<core.String, core.Object> _json = |
+ new core.Map<core.String, core.Object>(); |
if (certificateId != null) { |
_json["certificateId"] = certificateId; |
} |
+ if (pendingManagedCertificateId != null) { |
+ _json["pendingManagedCertificateId"] = pendingManagedCertificateId; |
+ } |
+ if (sslManagementType != null) { |
+ _json["sslManagementType"] = sslManagementType; |
+ } |
return _json; |
} |
} |
-/** Scheduler settings for standard environment. */ |
+/// Scheduler settings for standard environment. |
class StandardSchedulerSettings { |
- /** |
- * Maximum number of instances for an app version. Set to a non-positive value |
- * (0 by convention) to disable max_instances configuration. |
- */ |
+ /// Maximum number of instances for an app version. Set to a non-positive |
+ /// value (0 by convention) to disable max_instances configuration. |
core.int maxInstances; |
- /** |
- * Minimum number of instances for an app version. Set to a non-positive value |
- * (0 by convention) to disable min_instances configuration. |
- */ |
+ |
+ /// Minimum number of instances for an app version. Set to a non-positive |
+ /// value (0 by convention) to disable min_instances configuration. |
core.int minInstances; |
- /** Target CPU utilization ratio to maintain when scaling. */ |
+ |
+ /// Target CPU utilization ratio to maintain when scaling. |
core.double targetCpuUtilization; |
- /** Target throughput utilization ratio to maintain when scaling */ |
+ |
+ /// Target throughput utilization ratio to maintain when scaling |
core.double targetThroughputUtilization; |
StandardSchedulerSettings(); |
@@ -5192,7 +5342,8 @@ class StandardSchedulerSettings { |
} |
core.Map<core.String, core.Object> toJson() { |
- final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>(); |
+ final core.Map<core.String, core.Object> _json = |
+ new core.Map<core.String, core.Object>(); |
if (maxInstances != null) { |
_json["maxInstances"] = maxInstances; |
} |
@@ -5209,49 +5360,41 @@ class StandardSchedulerSettings { |
} |
} |
-/** |
- * Files served directly to the user for a given URL, such as images, CSS |
- * stylesheets, or JavaScript source files. Static file handlers describe which |
- * files in the application directory are static files, and which URLs serve |
- * them. |
- */ |
+/// Files served directly to the user for a given URL, such as images, CSS |
+/// stylesheets, or JavaScript source files. Static file handlers describe |
+/// which files in the application directory are static files, and which URLs |
+/// serve them. |
class StaticFilesHandler { |
- /** |
- * Whether files should also be uploaded as code data. By default, files |
- * declared in static file handlers are uploaded as static data and are only |
- * served to end users; they cannot be read by the application. If enabled, |
- * uploads are charged against both your code and static data storage resource |
- * quotas. |
- */ |
+ /// Whether files should also be uploaded as code data. By default, files |
+ /// declared in static file handlers are uploaded as static data and are only |
+ /// served to end users; they cannot be read by the application. If enabled, |
+ /// uploads are charged against both your code and static data storage |
+ /// resource quotas. |
core.bool applicationReadable; |
- /** |
- * Time a static file served by this handler should be cached by web proxies |
- * and browsers. |
- */ |
+ |
+ /// Time a static file served by this handler should be cached by web proxies |
+ /// and browsers. |
core.String expiration; |
- /** HTTP headers to use for all responses from these URLs. */ |
+ |
+ /// HTTP headers to use for all responses from these URLs. |
core.Map<core.String, core.String> httpHeaders; |
- /** |
- * MIME type used to serve all files served by this handler.Defaults to |
- * file-specific MIME types, which are derived from each file's filename |
- * extension. |
- */ |
+ |
+ /// MIME type used to serve all files served by this handler.Defaults to |
+ /// file-specific MIME types, which are derived from each file's filename |
+ /// extension. |
core.String mimeType; |
- /** |
- * Path to the static files matched by the URL pattern, from the application |
- * root directory. The path can refer to text matched in groupings in the URL |
- * pattern. |
- */ |
+ |
+ /// Path to the static files matched by the URL pattern, from the application |
+ /// root directory. The path can refer to text matched in groupings in the |
+ /// URL pattern. |
core.String path; |
- /** |
- * Whether this handler should match the request if the file referenced by the |
- * handler does not exist. |
- */ |
+ |
+ /// Whether this handler should match the request if the file referenced by |
+ /// the handler does not exist. |
core.bool requireMatchingFile; |
- /** |
- * Regular expression that matches the file paths for all files that should be |
- * referenced by this handler. |
- */ |
+ |
+ /// Regular expression that matches the file paths for all files that should |
+ /// be referenced by this handler. |
core.String uploadPathRegex; |
StaticFilesHandler(); |
@@ -5281,7 +5424,8 @@ class StaticFilesHandler { |
} |
core.Map<core.String, core.Object> toJson() { |
- final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>(); |
+ final core.Map<core.String, core.Object> _json = |
+ new core.Map<core.String, core.Object>(); |
if (applicationReadable != null) { |
_json["applicationReadable"] = applicationReadable; |
} |
@@ -5307,58 +5451,56 @@ class StaticFilesHandler { |
} |
} |
-/** |
- * The Status type defines a logical error model that is suitable for different |
- * programming environments, including REST APIs and RPC APIs. It is used by |
- * gRPC (https://github.com/grpc). The error model is designed to be: |
- * Simple to use and understand for most users |
- * Flexible enough to meet unexpected needsOverviewThe Status message contains |
- * three pieces of data: error code, error message, and error details. The error |
- * code should be an enum value of google.rpc.Code, but it may accept additional |
- * error codes if needed. The error message should be a developer-facing English |
- * message that helps developers understand and resolve the error. If a |
- * localized user-facing error message is needed, put the localized message in |
- * the error details or localize it in the client. The optional error details |
- * may contain arbitrary information about the error. There is a predefined set |
- * of error detail types in the package google.rpc that can be used for common |
- * error conditions.Language mappingThe Status message is the logical |
- * representation of the error model, but it is not necessarily the actual wire |
- * format. When the Status message is exposed in different client libraries and |
- * different wire protocols, it can be mapped differently. For example, it will |
- * likely be mapped to some exceptions in Java, but more likely mapped to some |
- * error codes in C.Other usesThe error model and the Status message can be used |
- * in a variety of environments, either with or without APIs, to provide a |
- * consistent developer experience across different environments.Example uses of |
- * this error model include: |
- * Partial errors. If a service needs to return partial errors to the client, it |
- * may embed the Status in the normal response to indicate the partial errors. |
- * Workflow errors. A typical workflow has multiple steps. Each step may have a |
- * Status message for error reporting. |
- * Batch operations. If a client uses batch request and batch response, the |
- * Status message should be used directly inside batch response, one for each |
- * error sub-response. |
- * Asynchronous operations. If an API call embeds asynchronous operation results |
- * in its response, the status of those operations should be represented |
- * directly using the Status message. |
- * Logging. If some API errors are stored in logs, the message Status could be |
- * used directly after any stripping needed for security/privacy reasons. |
- */ |
+/// The Status type defines a logical error model that is suitable for |
+/// different programming environments, including REST APIs and RPC APIs. It is |
+/// used by gRPC (https://github.com/grpc). The error model is designed to be: |
+/// Simple to use and understand for most users |
+/// Flexible enough to meet unexpected needsOverviewThe Status message contains |
+/// three pieces of data: error code, error message, and error details. The |
+/// error code should be an enum value of google.rpc.Code, but it may accept |
+/// additional error codes if needed. The error message should be a |
+/// developer-facing English message that helps developers understand and |
+/// resolve the error. If a localized user-facing error message is needed, put |
+/// the localized message in the error details or localize it in the client. |
+/// The optional error details may contain arbitrary information about the |
+/// error. There is a predefined set of error detail types in the package |
+/// google.rpc that can be used for common error conditions.Language mappingThe |
+/// Status message is the logical representation of the error model, but it is |
+/// not necessarily the actual wire format. When the Status message is exposed |
+/// in different client libraries and different wire protocols, it can be |
+/// mapped differently. For example, it will likely be mapped to some |
+/// exceptions in Java, but more likely mapped to some error codes in C.Other |
+/// usesThe error model and the Status message can be used in a variety of |
+/// environments, either with or without APIs, to provide a consistent |
+/// developer experience across different environments.Example uses of this |
+/// error model include: |
+/// Partial errors. If a service needs to return partial errors to the client, |
+/// it may embed the Status in the normal response to indicate the partial |
+/// errors. |
+/// Workflow errors. A typical workflow has multiple steps. Each step may have |
+/// a Status message for error reporting. |
+/// Batch operations. If a client uses batch request and batch response, the |
+/// Status message should be used directly inside batch response, one for each |
+/// error sub-response. |
+/// Asynchronous operations. If an API call embeds asynchronous operation |
+/// results in its response, the status of those operations should be |
+/// represented directly using the Status message. |
+/// Logging. If some API errors are stored in logs, the message Status could be |
+/// used directly after any stripping needed for security/privacy reasons. |
class Status { |
- /** The status code, which should be an enum value of google.rpc.Code. */ |
+ /// The status code, which should be an enum value of google.rpc.Code. |
core.int code; |
- /** |
- * A list of messages that carry the error details. There is a common set of |
- * message types for APIs to use. |
- * |
- * The values for Object must be JSON objects. It can consist of `num`, |
- * `String`, `bool` and `null` as well as `Map` and `List` values. |
- */ |
+ |
+ /// A list of messages that carry the error details. There is a common set of |
+ /// message types for APIs to use. |
+ /// |
+ /// The values for Object must be JSON objects. It can consist of `num`, |
+ /// `String`, `bool` and `null` as well as `Map` and `List` values. |
core.List<core.Map<core.String, core.Object>> details; |
- /** |
- * A developer-facing error message, which should be in English. Any |
- * user-facing error message should be localized and sent in the |
- * google.rpc.Status.details field, or localized by the client. |
- */ |
+ |
+ /// A developer-facing error message, which should be in English. Any |
+ /// user-facing error message should be localized and sent in the |
+ /// google.rpc.Status.details field, or localized by the client. |
core.String message; |
Status(); |
@@ -5376,7 +5518,8 @@ class Status { |
} |
core.Map<core.String, core.Object> toJson() { |
- final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>(); |
+ final core.Map<core.String, core.Object> _json = |
+ new core.Map<core.String, core.Object>(); |
if (code != null) { |
_json["code"] = code; |
} |
@@ -5390,35 +5533,32 @@ class Status { |
} |
} |
-/** |
- * Traffic routing configuration for versions within a single service. Traffic |
- * splits define how traffic directed to the service is assigned to versions. |
- */ |
+/// Traffic routing configuration for versions within a single service. Traffic |
+/// splits define how traffic directed to the service is assigned to versions. |
class TrafficSplit { |
- /** |
- * Mapping from version IDs within the service to fractional (0.000, 1] |
- * allocations of traffic for that version. Each version can be specified only |
- * once, but some versions in the service may not have any traffic allocation. |
- * Services that have traffic allocated cannot be deleted until either the |
- * service is deleted or their traffic allocation is removed. Allocations must |
- * sum to 1. Up to two decimal place precision is supported for IP-based |
- * splits and up to three decimal places is supported for cookie-based splits. |
- */ |
+ /// Mapping from version IDs within the service to fractional (0.000, 1] |
+ /// allocations of traffic for that version. Each version can be specified |
+ /// only once, but some versions in the service may not have any traffic |
+ /// allocation. Services that have traffic allocated cannot be deleted until |
+ /// either the service is deleted or their traffic allocation is removed. |
+ /// Allocations must sum to 1. Up to two decimal place precision is supported |
+ /// for IP-based splits and up to three decimal places is supported for |
+ /// cookie-based splits. |
core.Map<core.String, core.double> allocations; |
- /** |
- * Mechanism used to determine which version a request is sent to. The traffic |
- * selection algorithm will be stable for either type until allocations are |
- * changed. |
- * Possible string values are: |
- * - "UNSPECIFIED" : Diversion method unspecified. |
- * - "COOKIE" : Diversion based on a specially named cookie, "GOOGAPPUID." The |
- * cookie must be set by the application itself or no diversion will occur. |
- * - "IP" : Diversion based on applying the modulus operation to a fingerprint |
- * of the IP address. |
- * - "RANDOM" : Diversion based on weighted random assignment. An incoming |
- * request is randomly routed to a version in the traffic split, with |
- * probability proportional to the version's traffic share. |
- */ |
+ |
+ /// Mechanism used to determine which version a request is sent to. The |
+ /// traffic selection algorithm will be stable for either type until |
+ /// allocations are changed. |
+ /// Possible string values are: |
+ /// - "UNSPECIFIED" : Diversion method unspecified. |
+ /// - "COOKIE" : Diversion based on a specially named cookie, "GOOGAPPUID." |
+ /// The cookie must be set by the application itself or no diversion will |
+ /// occur. |
+ /// - "IP" : Diversion based on applying the modulus operation to a |
+ /// fingerprint of the IP address. |
+ /// - "RANDOM" : Diversion based on weighted random assignment. An incoming |
+ /// request is randomly routed to a version in the traffic split, with |
+ /// probability proportional to the version's traffic share. |
core.String shardBy; |
TrafficSplit(); |
@@ -5433,7 +5573,8 @@ class TrafficSplit { |
} |
core.Map<core.String, core.Object> toJson() { |
- final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>(); |
+ final core.Map<core.String, core.Object> _json = |
+ new core.Map<core.String, core.Object>(); |
if (allocations != null) { |
_json["allocations"] = allocations; |
} |
@@ -5444,23 +5585,19 @@ class TrafficSplit { |
} |
} |
-/** Rules to match an HTTP request and dispatch that request to a service. */ |
+/// Rules to match an HTTP request and dispatch that request to a service. |
class UrlDispatchRule { |
- /** |
- * Domain name to match against. The wildcard "*" is supported if specified |
- * before a period: "*.".Defaults to matching all domains: "*". |
- */ |
+ /// Domain name to match against. The wildcard "*" is supported if specified |
+ /// before a period: "*.".Defaults to matching all domains: "*". |
core.String domain; |
- /** |
- * Pathname within the host. Must start with a "/". A single "*" can be |
- * included at the end of the path.The sum of the lengths of the domain and |
- * path may not exceed 100 characters. |
- */ |
+ |
+ /// Pathname within the host. Must start with a "/". A single "*" can be |
+ /// included at the end of the path.The sum of the lengths of the domain and |
+ /// path may not exceed 100 characters. |
core.String path; |
- /** |
- * Resource ID of a service in this application that should serve the matched |
- * request. The service must already exist. Example: default. |
- */ |
+ |
+ /// Resource ID of a service in this application that should serve the |
+ /// matched request. The service must already exist. Example: default. |
core.String service; |
UrlDispatchRule(); |
@@ -5478,7 +5615,8 @@ class UrlDispatchRule { |
} |
core.Map<core.String, core.Object> toJson() { |
- final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>(); |
+ final core.Map<core.String, core.Object> _json = |
+ new core.Map<core.String, core.Object>(); |
if (domain != null) { |
_json["domain"] = domain; |
} |
@@ -5492,79 +5630,74 @@ class UrlDispatchRule { |
} |
} |
-/** |
- * URL pattern and description of how the URL should be handled. App Engine can |
- * handle URLs by executing application code or by serving static files uploaded |
- * with the version, such as images, CSS, or JavaScript. |
- */ |
+/// URL pattern and description of how the URL should be handled. App Engine |
+/// can handle URLs by executing application code or by serving static files |
+/// uploaded with the version, such as images, CSS, or JavaScript. |
class UrlMap { |
- /** Uses API Endpoints to handle requests. */ |
+ /// Uses API Endpoints to handle requests. |
ApiEndpointHandler apiEndpoint; |
- /** |
- * Action to take when users access resources that require authentication. |
- * Defaults to redirect. |
- * Possible string values are: |
- * - "AUTH_FAIL_ACTION_UNSPECIFIED" : Not specified. AUTH_FAIL_ACTION_REDIRECT |
- * is assumed. |
- * - "AUTH_FAIL_ACTION_REDIRECT" : Redirects user to "accounts.google.com". |
- * The user is redirected back to the application URL after signing in or |
- * creating an account. |
- * - "AUTH_FAIL_ACTION_UNAUTHORIZED" : Rejects request with a 401 HTTP status |
- * code and an error message. |
- */ |
+ |
+ /// Action to take when users access resources that require authentication. |
+ /// Defaults to redirect. |
+ /// Possible string values are: |
+ /// - "AUTH_FAIL_ACTION_UNSPECIFIED" : Not specified. |
+ /// AUTH_FAIL_ACTION_REDIRECT is assumed. |
+ /// - "AUTH_FAIL_ACTION_REDIRECT" : Redirects user to "accounts.google.com". |
+ /// The user is redirected back to the application URL after signing in or |
+ /// creating an account. |
+ /// - "AUTH_FAIL_ACTION_UNAUTHORIZED" : Rejects request with a 401 HTTP |
+ /// status code and an error message. |
core.String authFailAction; |
- /** |
- * Level of login required to access this resource. |
- * Possible string values are: |
- * - "LOGIN_UNSPECIFIED" : Not specified. LOGIN_OPTIONAL is assumed. |
- * - "LOGIN_OPTIONAL" : Does not require that the user is signed in. |
- * - "LOGIN_ADMIN" : If the user is not signed in, the auth_fail_action is |
- * taken. In addition, if the user is not an administrator for the |
- * application, they are given an error message regardless of |
- * auth_fail_action. If the user is an administrator, the handler proceeds. |
- * - "LOGIN_REQUIRED" : If the user has signed in, the handler proceeds |
- * normally. Otherwise, the auth_fail_action is taken. |
- */ |
+ |
+ /// Level of login required to access this resource. |
+ /// Possible string values are: |
+ /// - "LOGIN_UNSPECIFIED" : Not specified. LOGIN_OPTIONAL is assumed. |
+ /// - "LOGIN_OPTIONAL" : Does not require that the user is signed in. |
+ /// - "LOGIN_ADMIN" : If the user is not signed in, the auth_fail_action is |
+ /// taken. In addition, if the user is not an administrator for the |
+ /// application, they are given an error message regardless of |
+ /// auth_fail_action. If the user is an administrator, the handler proceeds. |
+ /// - "LOGIN_REQUIRED" : If the user has signed in, the handler proceeds |
+ /// normally. Otherwise, the auth_fail_action is taken. |
core.String login; |
- /** |
- * 30x code to use when performing redirects for the secure field. Defaults to |
- * 302. |
- * Possible string values are: |
- * - "REDIRECT_HTTP_RESPONSE_CODE_UNSPECIFIED" : Not specified. 302 is |
- * assumed. |
- * - "REDIRECT_HTTP_RESPONSE_CODE_301" : 301 Moved Permanently code. |
- * - "REDIRECT_HTTP_RESPONSE_CODE_302" : 302 Moved Temporarily code. |
- * - "REDIRECT_HTTP_RESPONSE_CODE_303" : 303 See Other code. |
- * - "REDIRECT_HTTP_RESPONSE_CODE_307" : 307 Temporary Redirect code. |
- */ |
+ |
+ /// 30x code to use when performing redirects for the secure field. Defaults |
+ /// to 302. |
+ /// Possible string values are: |
+ /// - "REDIRECT_HTTP_RESPONSE_CODE_UNSPECIFIED" : Not specified. 302 is |
+ /// assumed. |
+ /// - "REDIRECT_HTTP_RESPONSE_CODE_301" : 301 Moved Permanently code. |
+ /// - "REDIRECT_HTTP_RESPONSE_CODE_302" : 302 Moved Temporarily code. |
+ /// - "REDIRECT_HTTP_RESPONSE_CODE_303" : 303 See Other code. |
+ /// - "REDIRECT_HTTP_RESPONSE_CODE_307" : 307 Temporary Redirect code. |
core.String redirectHttpResponseCode; |
- /** Executes a script to handle the request that matches this URL pattern. */ |
+ |
+ /// Executes a script to handle the request that matches this URL pattern. |
ScriptHandler script; |
- /** |
- * Security (HTTPS) enforcement for this URL. |
- * Possible string values are: |
- * - "SECURE_UNSPECIFIED" : Not specified. |
- * - "SECURE_DEFAULT" : Both HTTP and HTTPS requests with URLs that match the |
- * handler succeed without redirects. The application can examine the request |
- * to determine which protocol was used, and respond accordingly. |
- * - "SECURE_NEVER" : Requests for a URL that match this handler that use |
- * HTTPS are automatically redirected to the HTTP equivalent URL. |
- * - "SECURE_OPTIONAL" : Both HTTP and HTTPS requests with URLs that match the |
- * handler succeed without redirects. The application can examine the request |
- * to determine which protocol was used and respond accordingly. |
- * - "SECURE_ALWAYS" : Requests for a URL that match this handler that do not |
- * use HTTPS are automatically redirected to the HTTPS URL with the same path. |
- * Query parameters are reserved for the redirect. |
- */ |
+ |
+ /// Security (HTTPS) enforcement for this URL. |
+ /// Possible string values are: |
+ /// - "SECURE_UNSPECIFIED" : Not specified. |
+ /// - "SECURE_DEFAULT" : Both HTTP and HTTPS requests with URLs that match |
+ /// the handler succeed without redirects. The application can examine the |
+ /// request to determine which protocol was used, and respond accordingly. |
+ /// - "SECURE_NEVER" : Requests for a URL that match this handler that use |
+ /// HTTPS are automatically redirected to the HTTP equivalent URL. |
+ /// - "SECURE_OPTIONAL" : Both HTTP and HTTPS requests with URLs that match |
+ /// the handler succeed without redirects. The application can examine the |
+ /// request to determine which protocol was used and respond accordingly. |
+ /// - "SECURE_ALWAYS" : Requests for a URL that match this handler that do |
+ /// not use HTTPS are automatically redirected to the HTTPS URL with the same |
+ /// path. Query parameters are reserved for the redirect. |
core.String securityLevel; |
- /** Returns the contents of a file, such as an image, as the response. */ |
+ |
+ /// Returns the contents of a file, such as an image, as the response. |
StaticFilesHandler staticFiles; |
- /** |
- * URL prefix. Uses regular expression syntax, which means regexp special |
- * characters must be escaped, but should not contain groupings. All URLs that |
- * begin with this prefix are handled by this handler, using the portion of |
- * the URL after the prefix as part of the file path. |
- */ |
+ |
+ /// URL prefix. Uses regular expression syntax, which means regexp special |
+ /// characters must be escaped, but should not contain groupings. All URLs |
+ /// that begin with this prefix are handled by this handler, using the |
+ /// portion of the URL after the prefix as part of the file path. |
core.String urlRegex; |
UrlMap(); |
@@ -5597,7 +5730,8 @@ class UrlMap { |
} |
core.Map<core.String, core.Object> toJson() { |
- final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>(); |
+ final core.Map<core.String, core.Object> _json = |
+ new core.Map<core.String, core.Object>(); |
if (apiEndpoint != null) { |
_json["apiEndpoint"] = (apiEndpoint).toJson(); |
} |
@@ -5626,175 +5760,152 @@ class UrlMap { |
} |
} |
-/** |
- * A Version resource is a specific set of source code and configuration files |
- * that are deployed into a service. |
- */ |
+/// A Version resource is a specific set of source code and configuration files |
+/// that are deployed into a service. |
class Version { |
- /** |
- * Serving configuration for Google Cloud Endpoints |
- * (https://cloud.google.com/appengine/docs/python/endpoints/).Only returned |
- * in GET requests if view=FULL is set. |
- */ |
+ /// Serving configuration for Google Cloud Endpoints |
+ /// (https://cloud.google.com/appengine/docs/python/endpoints/).Only returned |
+ /// in GET requests if view=FULL is set. |
ApiConfigHandler apiConfig; |
- /** |
- * Automatic scaling is based on request rate, response latencies, and other |
- * application metrics. |
- */ |
+ |
+ /// Automatic scaling is based on request rate, response latencies, and other |
+ /// application metrics. |
AutomaticScaling automaticScaling; |
- /** |
- * A service with basic scaling will create an instance when the application |
- * receives a request. The instance will be turned down when the app becomes |
- * idle. Basic scaling is ideal for work that is intermittent or driven by |
- * user activity. |
- */ |
+ |
+ /// A service with basic scaling will create an instance when the application |
+ /// receives a request. The instance will be turned down when the app becomes |
+ /// idle. Basic scaling is ideal for work that is intermittent or driven by |
+ /// user activity. |
BasicScaling basicScaling; |
- /** |
- * Metadata settings that are supplied to this version to enable beta runtime |
- * features. |
- */ |
+ |
+ /// Metadata settings that are supplied to this version to enable beta |
+ /// runtime features. |
core.Map<core.String, core.String> betaSettings; |
- /** Time that this version was created.@OutputOnly */ |
+ |
+ /// Time that this version was created.@OutputOnly |
core.String createTime; |
- /** Email address of the user who created this version.@OutputOnly */ |
+ |
+ /// Email address of the user who created this version.@OutputOnly |
core.String createdBy; |
- /** |
- * Duration that static files should be cached by web proxies and browsers. |
- * Only applicable if the corresponding StaticFilesHandler |
- * (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1beta/apps.services.versions#staticfileshandler) |
- * does not specify its own expiration time.Only returned in GET requests if |
- * view=FULL is set. |
- */ |
+ |
+ /// Duration that static files should be cached by web proxies and browsers. |
+ /// Only applicable if the corresponding StaticFilesHandler |
+ /// (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1beta/apps.services.versions#staticfileshandler) |
+ /// does not specify its own expiration time.Only returned in GET requests if |
+ /// view=FULL is set. |
core.String defaultExpiration; |
- /** |
- * Code and application artifacts that make up this version.Only returned in |
- * GET requests if view=FULL is set. |
- */ |
+ |
+ /// Code and application artifacts that make up this version.Only returned in |
+ /// GET requests if view=FULL is set. |
Deployment deployment; |
- /** |
- * Total size in bytes of all the files that are included in this version and |
- * curerntly hosted on the App Engine disk.@OutputOnly |
- */ |
+ |
+ /// Total size in bytes of all the files that are included in this version |
+ /// and curerntly hosted on the App Engine disk.@OutputOnly |
core.String diskUsageBytes; |
- /** |
- * Cloud Endpoints configuration.If endpoints_api_service is set, the Cloud |
- * Endpoints Extensible Service Proxy will be provided to serve the API |
- * implemented by the app. |
- */ |
+ |
+ /// Cloud Endpoints configuration.If endpoints_api_service is set, the Cloud |
+ /// Endpoints Extensible Service Proxy will be provided to serve the API |
+ /// implemented by the app. |
EndpointsApiService endpointsApiService; |
- /** |
- * App Engine execution environment for this version.Defaults to standard. |
- */ |
+ |
+ /// App Engine execution environment for this version.Defaults to standard. |
core.String env; |
- /** |
- * Environment variables available to the application.Only returned in GET |
- * requests if view=FULL is set. |
- */ |
+ |
+ /// Environment variables available to the application.Only returned in GET |
+ /// requests if view=FULL is set. |
core.Map<core.String, core.String> envVariables; |
- /** |
- * Custom static error pages. Limited to 10KB per page.Only returned in GET |
- * requests if view=FULL is set. |
- */ |
+ |
+ /// Custom static error pages. Limited to 10KB per page.Only returned in GET |
+ /// requests if view=FULL is set. |
core.List<ErrorHandler> errorHandlers; |
- /** |
- * An ordered list of URL-matching patterns that should be applied to incoming |
- * requests. The first matching URL handles the request and other request |
- * handlers are not attempted.Only returned in GET requests if view=FULL is |
- * set. |
- */ |
+ |
+ /// An ordered list of URL-matching patterns that should be applied to |
+ /// incoming requests. The first matching URL handles the request and other |
+ /// request handlers are not attempted.Only returned in GET requests if |
+ /// view=FULL is set. |
core.List<UrlMap> handlers; |
- /** |
- * Configures health checking for VM instances. Unhealthy instances are |
- * stopped and replaced with new instances. Only applicable for VM |
- * runtimes.Only returned in GET requests if view=FULL is set. |
- */ |
+ |
+ /// Configures health checking for VM instances. Unhealthy instances are |
+ /// stopped and replaced with new instances. Only applicable for VM |
+ /// runtimes.Only returned in GET requests if view=FULL is set. |
HealthCheck healthCheck; |
- /** |
- * Relative name of the version within the service. Example: v1. Version names |
- * can contain only lowercase letters, numbers, or hyphens. Reserved names: |
- * "default", "latest", and any name with the prefix "ah-". |
- */ |
+ |
+ /// Relative name of the version within the service. Example: v1. Version |
+ /// names can contain only lowercase letters, numbers, or hyphens. Reserved |
+ /// names: "default", "latest", and any name with the prefix "ah-". |
core.String id; |
- /** |
- * Before an application can receive email or XMPP messages, the application |
- * must be configured to enable the service. |
- */ |
+ |
+ /// Before an application can receive email or XMPP messages, the application |
+ /// must be configured to enable the service. |
core.List<core.String> inboundServices; |
- /** |
- * Instance class that is used to run this version. Valid values are: |
- * AutomaticScaling: F1, F2, F4, F4_1G |
- * ManualScaling or BasicScaling: B1, B2, B4, B8, B4_1GDefaults to F1 for |
- * AutomaticScaling and B1 for ManualScaling or BasicScaling. |
- */ |
+ |
+ /// Instance class that is used to run this version. Valid values are: |
+ /// AutomaticScaling: F1, F2, F4, F4_1G |
+ /// ManualScaling or BasicScaling: B1, B2, B4, B8, B4_1GDefaults to F1 for |
+ /// AutomaticScaling and B1 for ManualScaling or BasicScaling. |
core.String instanceClass; |
- /** |
- * Configuration for third-party Python runtime libraries that are required by |
- * the application.Only returned in GET requests if view=FULL is set. |
- */ |
+ |
+ /// Configuration for third-party Python runtime libraries that are required |
+ /// by the application.Only returned in GET requests if view=FULL is set. |
core.List<Library> libraries; |
- /** |
- * Configures liveness health checking for VM instances. Unhealthy instances |
- * are stopped and replaced with new instancesOnly returned in GET requests if |
- * view=FULL is set. |
- */ |
+ |
+ /// Configures liveness health checking for VM instances. Unhealthy instances |
+ /// are stopped and replaced with new instancesOnly returned in GET requests |
+ /// if view=FULL is set. |
LivenessCheck livenessCheck; |
- /** |
- * A service with manual scaling runs continuously, allowing you to perform |
- * complex initialization and rely on the state of its memory over time. |
- */ |
+ |
+ /// A service with manual scaling runs continuously, allowing you to perform |
+ /// complex initialization and rely on the state of its memory over time. |
ManualScaling manualScaling; |
- /** |
- * Full path to the Version resource in the API. Example: |
- * apps/myapp/services/default/versions/v1.@OutputOnly |
- */ |
+ |
+ /// Full path to the Version resource in the API. Example: |
+ /// apps/myapp/services/default/versions/v1.@OutputOnly |
core.String name; |
- /** |
- * Extra network settings. Only applicable for App Engine flexible environment |
- * versions. |
- */ |
+ |
+ /// Extra network settings. Only applicable for App Engine flexible |
+ /// environment versions. |
Network network; |
- /** |
- * Files that match this pattern will not be built into this version. Only |
- * applicable for Go runtimes.Only returned in GET requests if view=FULL is |
- * set. |
- */ |
+ |
+ /// Files that match this pattern will not be built into this version. Only |
+ /// applicable for Go runtimes.Only returned in GET requests if view=FULL is |
+ /// set. |
core.String nobuildFilesRegex; |
- /** |
- * Configures readiness health checking for VM instances. Unhealthy instances |
- * are not put into the backend traffic rotation.Only returned in GET requests |
- * if view=FULL is set. |
- */ |
+ |
+ /// Configures readiness health checking for VM instances. Unhealthy |
+ /// instances are not put into the backend traffic rotation.Only returned in |
+ /// GET requests if view=FULL is set. |
ReadinessCheck readinessCheck; |
- /** Machine resources for this version. Only applicable for VM runtimes. */ |
+ |
+ /// Machine resources for this version. Only applicable for VM runtimes. |
Resources resources; |
- /** Desired runtime. Example: python27. */ |
+ |
+ /// Desired runtime. Example: python27. |
core.String runtime; |
- /** |
- * The version of the API in the given runtime environment. Please see the |
- * app.yaml reference for valid values at |
- * https://cloud.google.com/appengine/docs/standard/<language>/config/appref |
- */ |
+ |
+ /// The version of the API in the given runtime environment. Please see the |
+ /// app.yaml reference for valid values at |
+ /// https://cloud.google.com/appengine/docs/standard/<language>/config/appref |
core.String runtimeApiVersion; |
- /** |
- * Current serving status of this version. Only the versions with a SERVING |
- * status create instances and can be billed.SERVING_STATUS_UNSPECIFIED is an |
- * invalid value. Defaults to SERVING. |
- * Possible string values are: |
- * - "SERVING_STATUS_UNSPECIFIED" : Not specified. |
- * - "SERVING" : Currently serving. Instances are created according to the |
- * scaling settings of the version. |
- * - "STOPPED" : Disabled. No instances will be created and the scaling |
- * settings are ignored until the state of the version changes to SERVING. |
- */ |
+ |
+ /// Current serving status of this version. Only the versions with a SERVING |
+ /// status create instances and can be billed.SERVING_STATUS_UNSPECIFIED is |
+ /// an invalid value. Defaults to SERVING. |
+ /// Possible string values are: |
+ /// - "SERVING_STATUS_UNSPECIFIED" : Not specified. |
+ /// - "SERVING" : Currently serving. Instances are created according to the |
+ /// scaling settings of the version. |
+ /// - "STOPPED" : Disabled. No instances will be created and the scaling |
+ /// settings are ignored until the state of the version changes to SERVING. |
core.String servingStatus; |
- /** Whether multiple requests can be dispatched to this version at once. */ |
+ |
+ /// Whether multiple requests can be dispatched to this version at once. |
core.bool threadsafe; |
- /** |
- * Serving URL for this version. Example: |
- * "https://myversion-dot-myservice-dot-myapp.appspot.com"@OutputOnly |
- */ |
+ |
+ /// Serving URL for this version. Example: |
+ /// "https://myversion-dot-myservice-dot-myapp.appspot.com"@OutputOnly |
core.String versionUrl; |
- /** Whether to deploy this version in a container on a virtual machine. */ |
+ |
+ /// Whether to deploy this version in a container on a virtual machine. |
core.bool vm; |
Version(); |
@@ -5804,7 +5915,8 @@ class Version { |
apiConfig = new ApiConfigHandler.fromJson(_json["apiConfig"]); |
} |
if (_json.containsKey("automaticScaling")) { |
- automaticScaling = new AutomaticScaling.fromJson(_json["automaticScaling"]); |
+ automaticScaling = |
+ new AutomaticScaling.fromJson(_json["automaticScaling"]); |
} |
if (_json.containsKey("basicScaling")) { |
basicScaling = new BasicScaling.fromJson(_json["basicScaling"]); |
@@ -5828,7 +5940,8 @@ class Version { |
diskUsageBytes = _json["diskUsageBytes"]; |
} |
if (_json.containsKey("endpointsApiService")) { |
- endpointsApiService = new EndpointsApiService.fromJson(_json["endpointsApiService"]); |
+ endpointsApiService = |
+ new EndpointsApiService.fromJson(_json["endpointsApiService"]); |
} |
if (_json.containsKey("env")) { |
env = _json["env"]; |
@@ -5837,10 +5950,13 @@ class Version { |
envVariables = _json["envVariables"]; |
} |
if (_json.containsKey("errorHandlers")) { |
- errorHandlers = _json["errorHandlers"].map((value) => new ErrorHandler.fromJson(value)).toList(); |
+ errorHandlers = _json["errorHandlers"] |
+ .map((value) => new ErrorHandler.fromJson(value)) |
+ .toList(); |
} |
if (_json.containsKey("handlers")) { |
- handlers = _json["handlers"].map((value) => new UrlMap.fromJson(value)).toList(); |
+ handlers = |
+ _json["handlers"].map((value) => new UrlMap.fromJson(value)).toList(); |
} |
if (_json.containsKey("healthCheck")) { |
healthCheck = new HealthCheck.fromJson(_json["healthCheck"]); |
@@ -5855,7 +5971,9 @@ class Version { |
instanceClass = _json["instanceClass"]; |
} |
if (_json.containsKey("libraries")) { |
- libraries = _json["libraries"].map((value) => new Library.fromJson(value)).toList(); |
+ libraries = _json["libraries"] |
+ .map((value) => new Library.fromJson(value)) |
+ .toList(); |
} |
if (_json.containsKey("livenessCheck")) { |
livenessCheck = new LivenessCheck.fromJson(_json["livenessCheck"]); |
@@ -5899,7 +6017,8 @@ class Version { |
} |
core.Map<core.String, core.Object> toJson() { |
- final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>(); |
+ final core.Map<core.String, core.Object> _json = |
+ new core.Map<core.String, core.Object>(); |
if (apiConfig != null) { |
_json["apiConfig"] = (apiConfig).toJson(); |
} |
@@ -5937,7 +6056,8 @@ class Version { |
_json["envVariables"] = envVariables; |
} |
if (errorHandlers != null) { |
- _json["errorHandlers"] = errorHandlers.map((value) => (value).toJson()).toList(); |
+ _json["errorHandlers"] = |
+ errorHandlers.map((value) => (value).toJson()).toList(); |
} |
if (handlers != null) { |
_json["handlers"] = handlers.map((value) => (value).toJson()).toList(); |
@@ -6000,15 +6120,15 @@ class Version { |
} |
} |
-/** |
- * Volumes mounted within the app container. Only applicable for VM runtimes. |
- */ |
+/// Volumes mounted within the app container. Only applicable for VM runtimes. |
class Volume { |
- /** Unique name for the volume. */ |
+ /// Unique name for the volume. |
core.String name; |
- /** Volume size in gigabytes. */ |
+ |
+ /// Volume size in gigabytes. |
core.double sizeGb; |
- /** Underlying volume type, e.g. 'tmpfs'. */ |
+ |
+ /// Underlying volume type, e.g. 'tmpfs'. |
core.String volumeType; |
Volume(); |
@@ -6026,7 +6146,8 @@ class Volume { |
} |
core.Map<core.String, core.Object> toJson() { |
- final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>(); |
+ final core.Map<core.String, core.Object> _json = |
+ new core.Map<core.String, core.Object>(); |
if (name != null) { |
_json["name"] = name; |
} |
@@ -6040,19 +6161,16 @@ class Volume { |
} |
} |
-/** The zip file information for a zip deployment. */ |
+/// The zip file information for a zip deployment. |
class ZipInfo { |
- /** |
- * An estimate of the number of files in a zip for a zip deployment. If set, |
- * must be greater than or equal to the actual number of files. Used for |
- * optimizing performance; if not provided, deployment may be slow. |
- */ |
+ /// An estimate of the number of files in a zip for a zip deployment. If set, |
+ /// must be greater than or equal to the actual number of files. Used for |
+ /// optimizing performance; if not provided, deployment may be slow. |
core.int filesCount; |
- /** |
- * URL of the zip file to deploy from. Must be a URL to a resource in Google |
- * Cloud Storage in the form |
- * 'http(s)://storage.googleapis.com/<bucket>/<object>'. |
- */ |
+ |
+ /// URL of the zip file to deploy from. Must be a URL to a resource in Google |
+ /// Cloud Storage in the form |
+ /// 'http(s)://storage.googleapis.com/<bucket>/<object>'. |
core.String sourceUrl; |
ZipInfo(); |
@@ -6067,7 +6185,8 @@ class ZipInfo { |
} |
core.Map<core.String, core.Object> toJson() { |
- final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>(); |
+ final core.Map<core.String, core.Object> _json = |
+ new core.Map<core.String, core.Object>(); |
if (filesCount != null) { |
_json["filesCount"] = filesCount; |
} |