OLD | NEW |
1 // This is a generated file (see the discoveryapis_generator project). | 1 // This is a generated file (see the discoveryapis_generator project). |
2 | 2 |
3 library googleapis_beta.appengine.v1beta4; | 3 library googleapis_beta.appengine.v1beta4; |
4 | 4 |
5 import 'dart:core' as core; | 5 import 'dart:core' as core; |
6 import 'dart:async' as async; | 6 import 'dart:async' as async; |
7 import 'dart:convert' as convert; | 7 import 'dart:convert' as convert; |
8 | 8 |
9 import 'package:_discoveryapis_commons/_discoveryapis_commons.dart' as commons; | 9 import 'package:_discoveryapis_commons/_discoveryapis_commons.dart' as commons; |
10 import 'package:http/http.dart' as http; | 10 import 'package:http/http.dart' as http; |
(...skipping 28 matching lines...) Expand all Loading... |
39 final commons.ApiRequester _requester; | 39 final commons.ApiRequester _requester; |
40 | 40 |
41 AppsLocationsResourceApi get locations => new AppsLocationsResourceApi(_reques
ter); | 41 AppsLocationsResourceApi get locations => new AppsLocationsResourceApi(_reques
ter); |
42 AppsModulesResourceApi get modules => new AppsModulesResourceApi(_requester); | 42 AppsModulesResourceApi get modules => new AppsModulesResourceApi(_requester); |
43 AppsOperationsResourceApi get operations => new AppsOperationsResourceApi(_req
uester); | 43 AppsOperationsResourceApi get operations => new AppsOperationsResourceApi(_req
uester); |
44 | 44 |
45 AppsResourceApi(commons.ApiRequester client) : | 45 AppsResourceApi(commons.ApiRequester client) : |
46 _requester = client; | 46 _requester = client; |
47 | 47 |
48 /** | 48 /** |
49 * Creates an App Engine application for a Google Cloud Platform project. This | 49 * Creates an App Engine application for a Google Cloud Platform project. |
50 * requires a project that excludes an App Engine application. For details | 50 * Required fields: id - The ID of the target Cloud Platform project. location |
51 * about creating a project without an application, see the Google Cloud | 51 * - The region (https://cloud.google.com/appengine/docs/locations) where you |
52 * Resource Manager create project topic | 52 * want the App Engine application located.For more information about App |
53 * (https://cloud.google.com/resource-manager/docs/creating-project). | 53 * Engine applications, see Managing Projects, Applications, and Billing |
| 54 * (https://cloud.google.com/appengine/docs/python/console/). |
54 * | 55 * |
55 * [request] - The metadata request object. | 56 * [request] - The metadata request object. |
56 * | 57 * |
57 * Request parameters: | 58 * Request parameters: |
58 * | 59 * |
59 * Completes with a [Operation]. | 60 * Completes with a [Operation]. |
60 * | 61 * |
61 * Completes with a [commons.ApiRequestError] if the API endpoint returned an | 62 * Completes with a [commons.ApiRequestError] if the API endpoint returned an |
62 * error. | 63 * error. |
63 * | 64 * |
(...skipping 393 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
457 * | 458 * |
458 * Request parameters: | 459 * Request parameters: |
459 * | 460 * |
460 * [appsId] - Part of `name`. Name of the resource to update. Example: | 461 * [appsId] - Part of `name`. Name of the resource to update. Example: |
461 * apps/myapp/modules/default. | 462 * apps/myapp/modules/default. |
462 * | 463 * |
463 * [modulesId] - Part of `name`. See documentation of `appsId`. | 464 * [modulesId] - Part of `name`. See documentation of `appsId`. |
464 * | 465 * |
465 * [mask] - Standard field mask for the set of fields to be updated. | 466 * [mask] - Standard field mask for the set of fields to be updated. |
466 * | 467 * |
467 * [migrateTraffic] - Set to true to gradually shift traffic from one version | 468 * [migrateTraffic] - Set to true to gradually shift traffic to one or more |
468 * to another single version. By default, traffic is shifted immediately. For | 469 * versions that you specify. By default, traffic is shifted immediately. For |
469 * gradual traffic migration, the target version must be located within | 470 * gradual traffic migration, the target versions must be located within |
470 * instances that are configured for both warmup requests | 471 * instances that are configured for both warmup requests |
471 * (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1beta4/a
pps.modules.versions#inboundservicetype) | 472 * (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1beta4/a
pps.modules.versions#inboundservicetype) |
472 * and automatic scaling | 473 * and automatic scaling |
473 * (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1beta4/a
pps.modules.versions#automaticscaling). | 474 * (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1beta4/a
pps.modules.versions#automaticscaling). |
474 * You must specify the shardBy | 475 * You must specify the shardBy |
475 * (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1beta4/a
pps.modules#shardby) | 476 * (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1beta4/a
pps.modules#shardby) |
476 * field in the Module resource. Gradual traffic migration is not supported in | 477 * field in the Module resource. Gradual traffic migration is not supported in |
477 * the App Engine flexible environment. For examples, see Migrating and | 478 * the App Engine flexible environment. For examples, see Migrating and |
478 * Splitting Traffic | 479 * Splitting Traffic |
479 * (https://cloud.google.com/appengine/docs/admin-api/migrating-splitting-traf
fic). | 480 * (https://cloud.google.com/appengine/docs/admin-api/migrating-splitting-traf
fic). |
(...skipping 527 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1007 "GET", | 1008 "GET", |
1008 body: _body, | 1009 body: _body, |
1009 queryParams: _queryParams, | 1010 queryParams: _queryParams, |
1010 uploadOptions: _uploadOptions, | 1011 uploadOptions: _uploadOptions, |
1011 uploadMedia: _uploadMedia, | 1012 uploadMedia: _uploadMedia, |
1012 downloadOptions: _downloadOptions); | 1013 downloadOptions: _downloadOptions); |
1013 return _response.then((data) => new Instance.fromJson(data)); | 1014 return _response.then((data) => new Instance.fromJson(data)); |
1014 } | 1015 } |
1015 | 1016 |
1016 /** | 1017 /** |
1017 * Lists the instances of a version. | 1018 * Lists the instances of a version.Tip: To aggregate details about instances |
| 1019 * over time, see the Stackdriver Monitoring API |
| 1020 * (https://cloud.google.com/monitoring/api/ref_v3/rest/v3/projects.timeSeries
/list). |
1018 * | 1021 * |
1019 * Request parameters: | 1022 * Request parameters: |
1020 * | 1023 * |
1021 * [appsId] - Part of `name`. Name of the resource requested. Example: | 1024 * [appsId] - Part of `name`. Name of the resource requested. Example: |
1022 * apps/myapp/modules/default/versions/v1. | 1025 * apps/myapp/modules/default/versions/v1. |
1023 * | 1026 * |
1024 * [modulesId] - Part of `name`. See documentation of `appsId`. | 1027 * [modulesId] - Part of `name`. See documentation of `appsId`. |
1025 * | 1028 * |
1026 * [versionsId] - Part of `name`. See documentation of `appsId`. | 1029 * [versionsId] - Part of `name`. See documentation of `appsId`. |
1027 * | 1030 * |
(...skipping 290 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1318 * Hostname used to reach the application, as resolved by App | 1321 * Hostname used to reach the application, as resolved by App |
1319 * Engine.@OutputOnly | 1322 * Engine.@OutputOnly |
1320 */ | 1323 */ |
1321 core.String defaultHostname; | 1324 core.String defaultHostname; |
1322 /** | 1325 /** |
1323 * HTTP path dispatch rules for requests to the application that do not | 1326 * HTTP path dispatch rules for requests to the application that do not |
1324 * explicitly target a module or version. Rules are | 1327 * explicitly target a module or version. Rules are |
1325 * order-dependent.@OutputOnly | 1328 * order-dependent.@OutputOnly |
1326 */ | 1329 */ |
1327 core.List<UrlDispatchRule> dispatchRules; | 1330 core.List<UrlDispatchRule> dispatchRules; |
| 1331 IdentityAwareProxy iap; |
1328 /** | 1332 /** |
1329 * Identifier of the Application resource. This identifier is equivalent to | 1333 * Identifier of the Application resource. This identifier is equivalent to |
1330 * the project ID of the Google Cloud Platform project where you want to | 1334 * the project ID of the Google Cloud Platform project where you want to |
1331 * deploy your application. Example: myapp. | 1335 * deploy your application. Example: myapp. |
1332 */ | 1336 */ |
1333 core.String id; | 1337 core.String id; |
1334 /** | 1338 /** |
1335 * Location from which this application will be run. Application instances | 1339 * Location from which this application will be run. Application instances |
1336 * will run out of data centers in the chosen location, which is also where | 1340 * will run out of data centers in the chosen location, which is also where |
1337 * all of the application's end user content is stored.Defaults to | 1341 * all of the application's end user content is stored.Defaults to |
(...skipping 21 matching lines...) Expand all Loading... |
1359 } | 1363 } |
1360 if (_json.containsKey("defaultCookieExpiration")) { | 1364 if (_json.containsKey("defaultCookieExpiration")) { |
1361 defaultCookieExpiration = _json["defaultCookieExpiration"]; | 1365 defaultCookieExpiration = _json["defaultCookieExpiration"]; |
1362 } | 1366 } |
1363 if (_json.containsKey("defaultHostname")) { | 1367 if (_json.containsKey("defaultHostname")) { |
1364 defaultHostname = _json["defaultHostname"]; | 1368 defaultHostname = _json["defaultHostname"]; |
1365 } | 1369 } |
1366 if (_json.containsKey("dispatchRules")) { | 1370 if (_json.containsKey("dispatchRules")) { |
1367 dispatchRules = _json["dispatchRules"].map((value) => new UrlDispatchRule.
fromJson(value)).toList(); | 1371 dispatchRules = _json["dispatchRules"].map((value) => new UrlDispatchRule.
fromJson(value)).toList(); |
1368 } | 1372 } |
| 1373 if (_json.containsKey("iap")) { |
| 1374 iap = new IdentityAwareProxy.fromJson(_json["iap"]); |
| 1375 } |
1369 if (_json.containsKey("id")) { | 1376 if (_json.containsKey("id")) { |
1370 id = _json["id"]; | 1377 id = _json["id"]; |
1371 } | 1378 } |
1372 if (_json.containsKey("location")) { | 1379 if (_json.containsKey("location")) { |
1373 location = _json["location"]; | 1380 location = _json["location"]; |
1374 } | 1381 } |
1375 if (_json.containsKey("name")) { | 1382 if (_json.containsKey("name")) { |
1376 name = _json["name"]; | 1383 name = _json["name"]; |
1377 } | 1384 } |
1378 } | 1385 } |
(...skipping 11 matching lines...) Expand all Loading... |
1390 } | 1397 } |
1391 if (defaultCookieExpiration != null) { | 1398 if (defaultCookieExpiration != null) { |
1392 _json["defaultCookieExpiration"] = defaultCookieExpiration; | 1399 _json["defaultCookieExpiration"] = defaultCookieExpiration; |
1393 } | 1400 } |
1394 if (defaultHostname != null) { | 1401 if (defaultHostname != null) { |
1395 _json["defaultHostname"] = defaultHostname; | 1402 _json["defaultHostname"] = defaultHostname; |
1396 } | 1403 } |
1397 if (dispatchRules != null) { | 1404 if (dispatchRules != null) { |
1398 _json["dispatchRules"] = dispatchRules.map((value) => (value).toJson()).to
List(); | 1405 _json["dispatchRules"] = dispatchRules.map((value) => (value).toJson()).to
List(); |
1399 } | 1406 } |
| 1407 if (iap != null) { |
| 1408 _json["iap"] = (iap).toJson(); |
| 1409 } |
1400 if (id != null) { | 1410 if (id != null) { |
1401 _json["id"] = id; | 1411 _json["id"] = id; |
1402 } | 1412 } |
1403 if (location != null) { | 1413 if (location != null) { |
1404 _json["location"] = location; | 1414 _json["location"] = location; |
1405 } | 1415 } |
1406 if (name != null) { | 1416 if (name != null) { |
1407 _json["name"] = name; | 1417 _json["name"] = name; |
1408 } | 1418 } |
1409 return _json; | 1419 return _json; |
(...skipping 167 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1577 _json["idleTimeout"] = idleTimeout; | 1587 _json["idleTimeout"] = idleTimeout; |
1578 } | 1588 } |
1579 if (maxInstances != null) { | 1589 if (maxInstances != null) { |
1580 _json["maxInstances"] = maxInstances; | 1590 _json["maxInstances"] = maxInstances; |
1581 } | 1591 } |
1582 return _json; | 1592 return _json; |
1583 } | 1593 } |
1584 } | 1594 } |
1585 | 1595 |
1586 /** | 1596 /** |
1587 * Docker image that is used to start a VM container for the version you deploy. | 1597 * Docker image that is used to create a container and start a VM instance for |
| 1598 * the version that you deploy. Only applicable for instances running in the App |
| 1599 * Engine flexible environment. |
1588 */ | 1600 */ |
1589 class ContainerInfo { | 1601 class ContainerInfo { |
1590 /** | 1602 /** |
1591 * URI to the hosted container image in a Docker repository. The URI must be | 1603 * URI to the hosted container image in Google Container Registry. The URI |
1592 * fully qualified and include a tag or digest. Examples: | 1604 * must be fully qualified and include a tag or digest. Examples: |
1593 * "gcr.io/my-project/image:tag" or "gcr.io/my-project/image@digest" | 1605 * "gcr.io/my-project/image:tag" or "gcr.io/my-project/image@digest" |
1594 */ | 1606 */ |
1595 core.String image; | 1607 core.String image; |
1596 | 1608 |
1597 ContainerInfo(); | 1609 ContainerInfo(); |
1598 | 1610 |
1599 ContainerInfo.fromJson(core.Map _json) { | 1611 ContainerInfo.fromJson(core.Map _json) { |
1600 if (_json.containsKey("image")) { | 1612 if (_json.containsKey("image")) { |
1601 image = _json["image"]; | 1613 image = _json["image"]; |
1602 } | 1614 } |
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1668 if (sshKey != null) { | 1680 if (sshKey != null) { |
1669 _json["sshKey"] = sshKey; | 1681 _json["sshKey"] = sshKey; |
1670 } | 1682 } |
1671 return _json; | 1683 return _json; |
1672 } | 1684 } |
1673 } | 1685 } |
1674 | 1686 |
1675 /** Code and application artifacts used to deploy a version to App Engine. */ | 1687 /** Code and application artifacts used to deploy a version to App Engine. */ |
1676 class Deployment { | 1688 class Deployment { |
1677 /** | 1689 /** |
1678 * A Docker image that App Engine uses the run the version. Only applicable | 1690 * The Docker image for the container that runs the version. Only applicable |
1679 * for instances in App Engine flexible environment. | 1691 * for instances running in the App Engine flexible environment. |
1680 */ | 1692 */ |
1681 ContainerInfo container; | 1693 ContainerInfo container; |
1682 /** | 1694 /** |
1683 * Manifest of the files stored in Google Cloud Storage that are included as | 1695 * Manifest of the files stored in Google Cloud Storage that are included as |
1684 * part of this version. All files must be readable using the credentials | 1696 * part of this version. All files must be readable using the credentials |
1685 * supplied with this call. | 1697 * supplied with this call. |
1686 */ | 1698 */ |
1687 core.Map<core.String, FileInfo> files; | 1699 core.Map<core.String, FileInfo> files; |
1688 /** | 1700 /** |
1689 * Origin of the source code for this deployment. There can be more than one | 1701 * Origin of the source code for this deployment. There can be more than one |
(...skipping 248 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1938 if (timeout != null) { | 1950 if (timeout != null) { |
1939 _json["timeout"] = timeout; | 1951 _json["timeout"] = timeout; |
1940 } | 1952 } |
1941 if (unhealthyThreshold != null) { | 1953 if (unhealthyThreshold != null) { |
1942 _json["unhealthyThreshold"] = unhealthyThreshold; | 1954 _json["unhealthyThreshold"] = unhealthyThreshold; |
1943 } | 1955 } |
1944 return _json; | 1956 return _json; |
1945 } | 1957 } |
1946 } | 1958 } |
1947 | 1959 |
| 1960 /** Identity-Aware Proxy */ |
| 1961 class IdentityAwareProxy { |
| 1962 /** |
| 1963 * Whether the serving infrastructure will authenticate and authorize all |
| 1964 * incoming requests.If true, the oauth2_client_id and oauth2_client_secret |
| 1965 * fields must be non-empty. |
| 1966 */ |
| 1967 core.bool enabled; |
| 1968 /** OAuth2 client ID to use for the authentication flow. */ |
| 1969 core.String oauth2ClientId; |
| 1970 /** |
| 1971 * For security reasons, this value cannot be retrieved via the API. Instead, |
| 1972 * the SHA-256 hash of the value is returned in the |
| 1973 * oauth2_client_secret_sha256 field.@InputOnly |
| 1974 */ |
| 1975 core.String oauth2ClientSecret; |
| 1976 /** Hex-encoded SHA-256 hash of the client secret.@OutputOnly */ |
| 1977 core.String oauth2ClientSecretSha256; |
| 1978 |
| 1979 IdentityAwareProxy(); |
| 1980 |
| 1981 IdentityAwareProxy.fromJson(core.Map _json) { |
| 1982 if (_json.containsKey("enabled")) { |
| 1983 enabled = _json["enabled"]; |
| 1984 } |
| 1985 if (_json.containsKey("oauth2ClientId")) { |
| 1986 oauth2ClientId = _json["oauth2ClientId"]; |
| 1987 } |
| 1988 if (_json.containsKey("oauth2ClientSecret")) { |
| 1989 oauth2ClientSecret = _json["oauth2ClientSecret"]; |
| 1990 } |
| 1991 if (_json.containsKey("oauth2ClientSecretSha256")) { |
| 1992 oauth2ClientSecretSha256 = _json["oauth2ClientSecretSha256"]; |
| 1993 } |
| 1994 } |
| 1995 |
| 1996 core.Map toJson() { |
| 1997 var _json = new core.Map(); |
| 1998 if (enabled != null) { |
| 1999 _json["enabled"] = enabled; |
| 2000 } |
| 2001 if (oauth2ClientId != null) { |
| 2002 _json["oauth2ClientId"] = oauth2ClientId; |
| 2003 } |
| 2004 if (oauth2ClientSecret != null) { |
| 2005 _json["oauth2ClientSecret"] = oauth2ClientSecret; |
| 2006 } |
| 2007 if (oauth2ClientSecretSha256 != null) { |
| 2008 _json["oauth2ClientSecretSha256"] = oauth2ClientSecretSha256; |
| 2009 } |
| 2010 return _json; |
| 2011 } |
| 2012 } |
| 2013 |
1948 /** | 2014 /** |
1949 * An Instance resource is the computing unit that App Engine uses to | 2015 * An Instance resource is the computing unit that App Engine uses to |
1950 * automatically scale an application. | 2016 * automatically scale an application. |
1951 */ | 2017 */ |
1952 class Instance { | 2018 class Instance { |
1953 /** App Engine release this instance is running on.@OutputOnly */ | 2019 /** App Engine release this instance is running on.@OutputOnly */ |
1954 core.String appEngineRelease; | 2020 core.String appEngineRelease; |
1955 /** | 2021 /** |
1956 * Availability of the instance.@OutputOnly | 2022 * Availability of the instance.@OutputOnly |
1957 * Possible string values are: | 2023 * Possible string values are: |
(...skipping 215 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2173 if (instances != null) { | 2239 if (instances != null) { |
2174 _json["instances"] = instances.map((value) => (value).toJson()).toList(); | 2240 _json["instances"] = instances.map((value) => (value).toJson()).toList(); |
2175 } | 2241 } |
2176 if (nextPageToken != null) { | 2242 if (nextPageToken != null) { |
2177 _json["nextPageToken"] = nextPageToken; | 2243 _json["nextPageToken"] = nextPageToken; |
2178 } | 2244 } |
2179 return _json; | 2245 return _json; |
2180 } | 2246 } |
2181 } | 2247 } |
2182 | 2248 |
2183 /** The response message for LocationService.ListLocations. */ | 2249 /** The response message for Locations.ListLocations. */ |
2184 class ListLocationsResponse { | 2250 class ListLocationsResponse { |
2185 /** A list of locations that matches the specified filter in the request. */ | 2251 /** A list of locations that matches the specified filter in the request. */ |
2186 core.List<Location> locations; | 2252 core.List<Location> locations; |
2187 /** The standard List next-page token. */ | 2253 /** The standard List next-page token. */ |
2188 core.String nextPageToken; | 2254 core.String nextPageToken; |
2189 | 2255 |
2190 ListLocationsResponse(); | 2256 ListLocationsResponse(); |
2191 | 2257 |
2192 ListLocationsResponse.fromJson(core.Map _json) { | 2258 ListLocationsResponse.fromJson(core.Map _json) { |
2193 if (_json.containsKey("locations")) { | 2259 if (_json.containsKey("locations")) { |
(...skipping 662 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2856 _json["user"] = user; | 2922 _json["user"] = user; |
2857 } | 2923 } |
2858 if (warning != null) { | 2924 if (warning != null) { |
2859 _json["warning"] = warning; | 2925 _json["warning"] = warning; |
2860 } | 2926 } |
2861 return _json; | 2927 return _json; |
2862 } | 2928 } |
2863 } | 2929 } |
2864 | 2930 |
2865 /** Metadata for the given google.longrunning.Operation. */ | 2931 /** Metadata for the given google.longrunning.Operation. */ |
| 2932 class OperationMetadataV1Beta { |
| 2933 /** Time that this operation completed.@OutputOnly */ |
| 2934 core.String endTime; |
| 2935 /** |
| 2936 * Ephemeral message that may change every time the operation is polled. |
| 2937 * @OutputOnly |
| 2938 */ |
| 2939 core.String ephemeralMessage; |
| 2940 /** Time that this operation was created.@OutputOnly */ |
| 2941 core.String insertTime; |
| 2942 /** |
| 2943 * API method that initiated this operation. Example: |
| 2944 * google.appengine.v1beta.Versions.CreateVersion.@OutputOnly |
| 2945 */ |
| 2946 core.String method; |
| 2947 /** |
| 2948 * Name of the resource that this operation is acting on. Example: |
| 2949 * apps/myapp/services/default.@OutputOnly |
| 2950 */ |
| 2951 core.String target; |
| 2952 /** User who requested this operation.@OutputOnly */ |
| 2953 core.String user; |
| 2954 /** Durable messages that persist on every operation poll. @OutputOnly */ |
| 2955 core.List<core.String> warning; |
| 2956 |
| 2957 OperationMetadataV1Beta(); |
| 2958 |
| 2959 OperationMetadataV1Beta.fromJson(core.Map _json) { |
| 2960 if (_json.containsKey("endTime")) { |
| 2961 endTime = _json["endTime"]; |
| 2962 } |
| 2963 if (_json.containsKey("ephemeralMessage")) { |
| 2964 ephemeralMessage = _json["ephemeralMessage"]; |
| 2965 } |
| 2966 if (_json.containsKey("insertTime")) { |
| 2967 insertTime = _json["insertTime"]; |
| 2968 } |
| 2969 if (_json.containsKey("method")) { |
| 2970 method = _json["method"]; |
| 2971 } |
| 2972 if (_json.containsKey("target")) { |
| 2973 target = _json["target"]; |
| 2974 } |
| 2975 if (_json.containsKey("user")) { |
| 2976 user = _json["user"]; |
| 2977 } |
| 2978 if (_json.containsKey("warning")) { |
| 2979 warning = _json["warning"]; |
| 2980 } |
| 2981 } |
| 2982 |
| 2983 core.Map toJson() { |
| 2984 var _json = new core.Map(); |
| 2985 if (endTime != null) { |
| 2986 _json["endTime"] = endTime; |
| 2987 } |
| 2988 if (ephemeralMessage != null) { |
| 2989 _json["ephemeralMessage"] = ephemeralMessage; |
| 2990 } |
| 2991 if (insertTime != null) { |
| 2992 _json["insertTime"] = insertTime; |
| 2993 } |
| 2994 if (method != null) { |
| 2995 _json["method"] = method; |
| 2996 } |
| 2997 if (target != null) { |
| 2998 _json["target"] = target; |
| 2999 } |
| 3000 if (user != null) { |
| 3001 _json["user"] = user; |
| 3002 } |
| 3003 if (warning != null) { |
| 3004 _json["warning"] = warning; |
| 3005 } |
| 3006 return _json; |
| 3007 } |
| 3008 } |
| 3009 |
| 3010 /** Metadata for the given google.longrunning.Operation. */ |
2866 class OperationMetadataV1Beta5 { | 3011 class OperationMetadataV1Beta5 { |
2867 /** Timestamp that this operation completed.@OutputOnly */ | 3012 /** Timestamp that this operation completed.@OutputOnly */ |
2868 core.String endTime; | 3013 core.String endTime; |
2869 /** Timestamp that this operation was created.@OutputOnly */ | 3014 /** Timestamp that this operation was created.@OutputOnly */ |
2870 core.String insertTime; | 3015 core.String insertTime; |
2871 /** | 3016 /** |
2872 * API method name that initiated this operation. Example: | 3017 * API method name that initiated this operation. Example: |
2873 * google.appengine.v1beta5.Version.CreateVersion.@OutputOnly | 3018 * google.appengine.v1beta5.Version.CreateVersion.@OutputOnly |
2874 */ | 3019 */ |
2875 core.String method; | 3020 core.String method; |
(...skipping 1002 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3878 } | 4023 } |
3879 if (sizeGb != null) { | 4024 if (sizeGb != null) { |
3880 _json["sizeGb"] = sizeGb; | 4025 _json["sizeGb"] = sizeGb; |
3881 } | 4026 } |
3882 if (volumeType != null) { | 4027 if (volumeType != null) { |
3883 _json["volumeType"] = volumeType; | 4028 _json["volumeType"] = volumeType; |
3884 } | 4029 } |
3885 return _json; | 4030 return _json; |
3886 } | 4031 } |
3887 } | 4032 } |
OLD | NEW |