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

Side by Side Diff: generated/googleapis_beta/lib/ml/v1beta1.dart

Issue 2649893002: Api-roll 44: 2017-01-23 (Closed)
Patch Set: Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // This is a generated file (see the discoveryapis_generator project). 1 // This is a generated file (see the discoveryapis_generator project).
2 2
3 library googleapis_beta.ml.v1beta1; 3 library googleapis_beta.ml.v1beta1;
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 1578 matching lines...) Expand 10 before | Expand all | Expand 10 after
1589 */ 1589 */
1590 GoogleCloudMlV1beta1Version defaultVersion; 1590 GoogleCloudMlV1beta1Version defaultVersion;
1591 /** Optional. The description specified for the model when it was created. */ 1591 /** Optional. The description specified for the model when it was created. */
1592 core.String description; 1592 core.String description;
1593 /** 1593 /**
1594 * Required. The name specified for the model when it was created. 1594 * Required. The name specified for the model when it was created.
1595 * 1595 *
1596 * The model name must be unique within the project it is created in. 1596 * The model name must be unique within the project it is created in.
1597 */ 1597 */
1598 core.String name; 1598 core.String name;
1599 /**
1600 * Optional. The list of regions where the model is going to be deployed.
1601 * Currently only one region per model is supported.
1602 * Defaults to 'us-central1' if nothing is set.
1603 */
1604 core.List<core.String> regions;
1599 1605
1600 GoogleCloudMlV1beta1Model(); 1606 GoogleCloudMlV1beta1Model();
1601 1607
1602 GoogleCloudMlV1beta1Model.fromJson(core.Map _json) { 1608 GoogleCloudMlV1beta1Model.fromJson(core.Map _json) {
1603 if (_json.containsKey("defaultVersion")) { 1609 if (_json.containsKey("defaultVersion")) {
1604 defaultVersion = new GoogleCloudMlV1beta1Version.fromJson(_json["defaultVe rsion"]); 1610 defaultVersion = new GoogleCloudMlV1beta1Version.fromJson(_json["defaultVe rsion"]);
1605 } 1611 }
1606 if (_json.containsKey("description")) { 1612 if (_json.containsKey("description")) {
1607 description = _json["description"]; 1613 description = _json["description"];
1608 } 1614 }
1609 if (_json.containsKey("name")) { 1615 if (_json.containsKey("name")) {
1610 name = _json["name"]; 1616 name = _json["name"];
1611 } 1617 }
1618 if (_json.containsKey("regions")) {
1619 regions = _json["regions"];
1620 }
1612 } 1621 }
1613 1622
1614 core.Map toJson() { 1623 core.Map toJson() {
1615 var _json = new core.Map(); 1624 var _json = new core.Map();
1616 if (defaultVersion != null) { 1625 if (defaultVersion != null) {
1617 _json["defaultVersion"] = (defaultVersion).toJson(); 1626 _json["defaultVersion"] = (defaultVersion).toJson();
1618 } 1627 }
1619 if (description != null) { 1628 if (description != null) {
1620 _json["description"] = description; 1629 _json["description"] = description;
1621 } 1630 }
1622 if (name != null) { 1631 if (name != null) {
1623 _json["name"] = name; 1632 _json["name"] = name;
1624 } 1633 }
1634 if (regions != null) {
1635 _json["regions"] = regions;
1636 }
1625 return _json; 1637 return _json;
1626 } 1638 }
1627 } 1639 }
1628 1640
1629 /** Represents the metadata of the long-running operation. */ 1641 /** Represents the metadata of the long-running operation. */
1630 class GoogleCloudMlV1beta1OperationMetadata { 1642 class GoogleCloudMlV1beta1OperationMetadata {
1631 /** The time the operation was submitted. */ 1643 /** The time the operation was submitted. */
1632 core.String createTime; 1644 core.String createTime;
1633 /** The time operation processing completed. */ 1645 /** The time operation processing completed. */
1634 core.String endTime; 1646 core.String endTime;
(...skipping 334 matching lines...) Expand 10 before | Expand all | Expand 10 after
1969 * `"projects/<var>[YOUR_PROJECT]</var>/models/<var>[YOUR_MODEL]</var>"` 1981 * `"projects/<var>[YOUR_PROJECT]</var>/models/<var>[YOUR_MODEL]</var>"`
1970 */ 1982 */
1971 core.String modelName; 1983 core.String modelName;
1972 /** Required. The output Google Cloud Storage location. */ 1984 /** Required. The output Google Cloud Storage location. */
1973 core.String outputPath; 1985 core.String outputPath;
1974 /** 1986 /**
1975 * Required. The Google Compute Engine region to run the prediction job in. 1987 * Required. The Google Compute Engine region to run the prediction job in.
1976 */ 1988 */
1977 core.String region; 1989 core.String region;
1978 /** 1990 /**
1991 * Optional. The Google Cloud ML runtime version to use for this batch
1992 * prediction. If not set, Google Cloud ML will choose a version.
1993 */
1994 core.String runtimeVersion;
1995 /**
1979 * Use this field if you want to specify a version of the model to use. The 1996 * Use this field if you want to specify a version of the model to use. The
1980 * string is formatted the same way as `model_version`, with the addition 1997 * string is formatted the same way as `model_version`, with the addition
1981 * of the version information: 1998 * of the version information:
1982 * 1999 *
1983 * `"projects/<var>[YOUR_PROJECT]</var>/models/<var>YOUR_MODEL/versions/<var>[ YOUR_VERSION]</var>"` 2000 * `"projects/<var>[YOUR_PROJECT]</var>/models/<var>YOUR_MODEL/versions/<var>[ YOUR_VERSION]</var>"`
1984 */ 2001 */
1985 core.String versionName; 2002 core.String versionName;
1986 2003
1987 GoogleCloudMlV1beta1PredictionInput(); 2004 GoogleCloudMlV1beta1PredictionInput();
1988 2005
1989 GoogleCloudMlV1beta1PredictionInput.fromJson(core.Map _json) { 2006 GoogleCloudMlV1beta1PredictionInput.fromJson(core.Map _json) {
1990 if (_json.containsKey("dataFormat")) { 2007 if (_json.containsKey("dataFormat")) {
1991 dataFormat = _json["dataFormat"]; 2008 dataFormat = _json["dataFormat"];
1992 } 2009 }
1993 if (_json.containsKey("inputPaths")) { 2010 if (_json.containsKey("inputPaths")) {
1994 inputPaths = _json["inputPaths"]; 2011 inputPaths = _json["inputPaths"];
1995 } 2012 }
1996 if (_json.containsKey("maxWorkerCount")) { 2013 if (_json.containsKey("maxWorkerCount")) {
1997 maxWorkerCount = _json["maxWorkerCount"]; 2014 maxWorkerCount = _json["maxWorkerCount"];
1998 } 2015 }
1999 if (_json.containsKey("modelName")) { 2016 if (_json.containsKey("modelName")) {
2000 modelName = _json["modelName"]; 2017 modelName = _json["modelName"];
2001 } 2018 }
2002 if (_json.containsKey("outputPath")) { 2019 if (_json.containsKey("outputPath")) {
2003 outputPath = _json["outputPath"]; 2020 outputPath = _json["outputPath"];
2004 } 2021 }
2005 if (_json.containsKey("region")) { 2022 if (_json.containsKey("region")) {
2006 region = _json["region"]; 2023 region = _json["region"];
2007 } 2024 }
2025 if (_json.containsKey("runtimeVersion")) {
2026 runtimeVersion = _json["runtimeVersion"];
2027 }
2008 if (_json.containsKey("versionName")) { 2028 if (_json.containsKey("versionName")) {
2009 versionName = _json["versionName"]; 2029 versionName = _json["versionName"];
2010 } 2030 }
2011 } 2031 }
2012 2032
2013 core.Map toJson() { 2033 core.Map toJson() {
2014 var _json = new core.Map(); 2034 var _json = new core.Map();
2015 if (dataFormat != null) { 2035 if (dataFormat != null) {
2016 _json["dataFormat"] = dataFormat; 2036 _json["dataFormat"] = dataFormat;
2017 } 2037 }
2018 if (inputPaths != null) { 2038 if (inputPaths != null) {
2019 _json["inputPaths"] = inputPaths; 2039 _json["inputPaths"] = inputPaths;
2020 } 2040 }
2021 if (maxWorkerCount != null) { 2041 if (maxWorkerCount != null) {
2022 _json["maxWorkerCount"] = maxWorkerCount; 2042 _json["maxWorkerCount"] = maxWorkerCount;
2023 } 2043 }
2024 if (modelName != null) { 2044 if (modelName != null) {
2025 _json["modelName"] = modelName; 2045 _json["modelName"] = modelName;
2026 } 2046 }
2027 if (outputPath != null) { 2047 if (outputPath != null) {
2028 _json["outputPath"] = outputPath; 2048 _json["outputPath"] = outputPath;
2029 } 2049 }
2030 if (region != null) { 2050 if (region != null) {
2031 _json["region"] = region; 2051 _json["region"] = region;
2032 } 2052 }
2053 if (runtimeVersion != null) {
2054 _json["runtimeVersion"] = runtimeVersion;
2055 }
2033 if (versionName != null) { 2056 if (versionName != null) {
2034 _json["versionName"] = versionName; 2057 _json["versionName"] = versionName;
2035 } 2058 }
2036 return _json; 2059 return _json;
2037 } 2060 }
2038 } 2061 }
2039 2062
2040 /** Represents results of a prediction job. */ 2063 /** Represents results of a prediction job. */
2041 class GoogleCloudMlV1beta1PredictionOutput { 2064 class GoogleCloudMlV1beta1PredictionOutput {
2042 /** The number of data instances which resulted in errors. */ 2065 /** The number of data instances which resulted in errors. */
2043 core.String errorCount; 2066 core.String errorCount;
2067 /** Node hours used by the batch prediction job. */
2068 core.double nodeHours;
2044 /** 2069 /**
2045 * The output Google Cloud Storage location provided at the job creation time. 2070 * The output Google Cloud Storage location provided at the job creation time.
2046 */ 2071 */
2047 core.String outputPath; 2072 core.String outputPath;
2048 /** The number of generated predictions. */ 2073 /** The number of generated predictions. */
2049 core.String predictionCount; 2074 core.String predictionCount;
2050 2075
2051 GoogleCloudMlV1beta1PredictionOutput(); 2076 GoogleCloudMlV1beta1PredictionOutput();
2052 2077
2053 GoogleCloudMlV1beta1PredictionOutput.fromJson(core.Map _json) { 2078 GoogleCloudMlV1beta1PredictionOutput.fromJson(core.Map _json) {
2054 if (_json.containsKey("errorCount")) { 2079 if (_json.containsKey("errorCount")) {
2055 errorCount = _json["errorCount"]; 2080 errorCount = _json["errorCount"];
2056 } 2081 }
2082 if (_json.containsKey("nodeHours")) {
2083 nodeHours = _json["nodeHours"];
2084 }
2057 if (_json.containsKey("outputPath")) { 2085 if (_json.containsKey("outputPath")) {
2058 outputPath = _json["outputPath"]; 2086 outputPath = _json["outputPath"];
2059 } 2087 }
2060 if (_json.containsKey("predictionCount")) { 2088 if (_json.containsKey("predictionCount")) {
2061 predictionCount = _json["predictionCount"]; 2089 predictionCount = _json["predictionCount"];
2062 } 2090 }
2063 } 2091 }
2064 2092
2065 core.Map toJson() { 2093 core.Map toJson() {
2066 var _json = new core.Map(); 2094 var _json = new core.Map();
2067 if (errorCount != null) { 2095 if (errorCount != null) {
2068 _json["errorCount"] = errorCount; 2096 _json["errorCount"] = errorCount;
2069 } 2097 }
2098 if (nodeHours != null) {
2099 _json["nodeHours"] = nodeHours;
2100 }
2070 if (outputPath != null) { 2101 if (outputPath != null) {
2071 _json["outputPath"] = outputPath; 2102 _json["outputPath"] = outputPath;
2072 } 2103 }
2073 if (predictionCount != null) { 2104 if (predictionCount != null) {
2074 _json["predictionCount"] = predictionCount; 2105 _json["predictionCount"] = predictionCount;
2075 } 2106 }
2076 return _json; 2107 return _json;
2077 } 2108 }
2078 } 2109 }
2079 2110
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
2159 * 2190 *
2160 * This value must be present when `scaleTier` is set to `CUSTOM` and 2191 * This value must be present when `scaleTier` is set to `CUSTOM` and
2161 * `parameter_server_count` is greater than zero. 2192 * `parameter_server_count` is greater than zero.
2162 */ 2193 */
2163 core.String parameterServerType; 2194 core.String parameterServerType;
2164 /** Required. The Python module name to run after installing the packages. */ 2195 /** Required. The Python module name to run after installing the packages. */
2165 core.String pythonModule; 2196 core.String pythonModule;
2166 /** Required. The Google Compute Engine region to run the training job in. */ 2197 /** Required. The Google Compute Engine region to run the training job in. */
2167 core.String region; 2198 core.String region;
2168 /** 2199 /**
2200 * Optional. The Google Cloud ML runtime version to use for training. If not
2201 * set, Google Cloud ML will choose the latest stable version.
2202 */
2203 core.String runtimeVersion;
2204 /**
2169 * Required. Specifies the machine types, the number of replicas for workers 2205 * Required. Specifies the machine types, the number of replicas for workers
2170 * and parameter servers. 2206 * and parameter servers.
2171 * Possible string values are: 2207 * Possible string values are:
2172 * - "BASIC" : A single worker instance. This tier is suitable for learning 2208 * - "BASIC" : A single worker instance. This tier is suitable for learning
2173 * how to use 2209 * how to use
2174 * Cloud ML, and for experimenting with new models using small datasets. 2210 * Cloud ML, and for experimenting with new models using small datasets.
2175 * - "STANDARD_1" : Many workers and a few parameter servers. 2211 * - "STANDARD_1" : Many workers and a few parameter servers.
2176 * - "PREMIUM_1" : A large number of workers with many parameter servers. 2212 * - "PREMIUM_1" : A large number of workers with many parameter servers.
2177 * - "CUSTOM" : The CUSTOM tier is not a set tier, but rather enables you to 2213 * - "CUSTOM" : The CUSTOM tier is not a set tier, but rather enables you to
2178 * use your 2214 * use your
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
2240 } 2276 }
2241 if (_json.containsKey("parameterServerType")) { 2277 if (_json.containsKey("parameterServerType")) {
2242 parameterServerType = _json["parameterServerType"]; 2278 parameterServerType = _json["parameterServerType"];
2243 } 2279 }
2244 if (_json.containsKey("pythonModule")) { 2280 if (_json.containsKey("pythonModule")) {
2245 pythonModule = _json["pythonModule"]; 2281 pythonModule = _json["pythonModule"];
2246 } 2282 }
2247 if (_json.containsKey("region")) { 2283 if (_json.containsKey("region")) {
2248 region = _json["region"]; 2284 region = _json["region"];
2249 } 2285 }
2286 if (_json.containsKey("runtimeVersion")) {
2287 runtimeVersion = _json["runtimeVersion"];
2288 }
2250 if (_json.containsKey("scaleTier")) { 2289 if (_json.containsKey("scaleTier")) {
2251 scaleTier = _json["scaleTier"]; 2290 scaleTier = _json["scaleTier"];
2252 } 2291 }
2253 if (_json.containsKey("workerCount")) { 2292 if (_json.containsKey("workerCount")) {
2254 workerCount = _json["workerCount"]; 2293 workerCount = _json["workerCount"];
2255 } 2294 }
2256 if (_json.containsKey("workerType")) { 2295 if (_json.containsKey("workerType")) {
2257 workerType = _json["workerType"]; 2296 workerType = _json["workerType"];
2258 } 2297 }
2259 } 2298 }
(...skipping 17 matching lines...) Expand all
2277 } 2316 }
2278 if (parameterServerType != null) { 2317 if (parameterServerType != null) {
2279 _json["parameterServerType"] = parameterServerType; 2318 _json["parameterServerType"] = parameterServerType;
2280 } 2319 }
2281 if (pythonModule != null) { 2320 if (pythonModule != null) {
2282 _json["pythonModule"] = pythonModule; 2321 _json["pythonModule"] = pythonModule;
2283 } 2322 }
2284 if (region != null) { 2323 if (region != null) {
2285 _json["region"] = region; 2324 _json["region"] = region;
2286 } 2325 }
2326 if (runtimeVersion != null) {
2327 _json["runtimeVersion"] = runtimeVersion;
2328 }
2287 if (scaleTier != null) { 2329 if (scaleTier != null) {
2288 _json["scaleTier"] = scaleTier; 2330 _json["scaleTier"] = scaleTier;
2289 } 2331 }
2290 if (workerCount != null) { 2332 if (workerCount != null) {
2291 _json["workerCount"] = workerCount; 2333 _json["workerCount"] = workerCount;
2292 } 2334 }
2293 if (workerType != null) { 2335 if (workerType != null) {
2294 _json["workerType"] = workerType; 2336 _json["workerType"] = workerType;
2295 } 2337 }
2296 return _json; 2338 return _json;
2297 } 2339 }
2298 } 2340 }
2299 2341
2300 /** Represents results of a training job. */ 2342 /** Represents results of a training job. Output only. */
2301 class GoogleCloudMlV1beta1TrainingOutput { 2343 class GoogleCloudMlV1beta1TrainingOutput {
2302 /** 2344 /**
2303 * The number of hyperparameter tuning trials that completed successfully. 2345 * The number of hyperparameter tuning trials that completed successfully.
2346 * Only set for hyperparameter tuning jobs.
2304 */ 2347 */
2305 core.String completedTrialCount; 2348 core.String completedTrialCount;
2306 /** The amount of ML units consumed by the job. */ 2349 /** The amount of ML units consumed by the job. */
2307 core.double consumedMlUnits; 2350 core.double consumedMLUnits;
2308 /** Results for individual Hyperparameter trials. */ 2351 /** Whether this job is a hyperparameter tuning job. */
2352 core.bool isHyperparameterTuningJob;
2353 /**
2354 * Results for individual Hyperparameter trials.
2355 * Only set for hyperparameter tuning jobs.
2356 */
2309 core.List<GoogleCloudMlV1beta1HyperparameterOutput> trials; 2357 core.List<GoogleCloudMlV1beta1HyperparameterOutput> trials;
2310 2358
2311 GoogleCloudMlV1beta1TrainingOutput(); 2359 GoogleCloudMlV1beta1TrainingOutput();
2312 2360
2313 GoogleCloudMlV1beta1TrainingOutput.fromJson(core.Map _json) { 2361 GoogleCloudMlV1beta1TrainingOutput.fromJson(core.Map _json) {
2314 if (_json.containsKey("completedTrialCount")) { 2362 if (_json.containsKey("completedTrialCount")) {
2315 completedTrialCount = _json["completedTrialCount"]; 2363 completedTrialCount = _json["completedTrialCount"];
2316 } 2364 }
2317 if (_json.containsKey("consumedMlUnits")) { 2365 if (_json.containsKey("consumedMLUnits")) {
2318 consumedMlUnits = _json["consumedMlUnits"]; 2366 consumedMLUnits = _json["consumedMLUnits"];
2367 }
2368 if (_json.containsKey("isHyperparameterTuningJob")) {
2369 isHyperparameterTuningJob = _json["isHyperparameterTuningJob"];
2319 } 2370 }
2320 if (_json.containsKey("trials")) { 2371 if (_json.containsKey("trials")) {
2321 trials = _json["trials"].map((value) => new GoogleCloudMlV1beta1Hyperparam eterOutput.fromJson(value)).toList(); 2372 trials = _json["trials"].map((value) => new GoogleCloudMlV1beta1Hyperparam eterOutput.fromJson(value)).toList();
2322 } 2373 }
2323 } 2374 }
2324 2375
2325 core.Map toJson() { 2376 core.Map toJson() {
2326 var _json = new core.Map(); 2377 var _json = new core.Map();
2327 if (completedTrialCount != null) { 2378 if (completedTrialCount != null) {
2328 _json["completedTrialCount"] = completedTrialCount; 2379 _json["completedTrialCount"] = completedTrialCount;
2329 } 2380 }
2330 if (consumedMlUnits != null) { 2381 if (consumedMLUnits != null) {
2331 _json["consumedMlUnits"] = consumedMlUnits; 2382 _json["consumedMLUnits"] = consumedMLUnits;
2383 }
2384 if (isHyperparameterTuningJob != null) {
2385 _json["isHyperparameterTuningJob"] = isHyperparameterTuningJob;
2332 } 2386 }
2333 if (trials != null) { 2387 if (trials != null) {
2334 _json["trials"] = trials.map((value) => (value).toJson()).toList(); 2388 _json["trials"] = trials.map((value) => (value).toJson()).toList();
2335 } 2389 }
2336 return _json; 2390 return _json;
2337 } 2391 }
2338 } 2392 }
2339 2393
2340 /** 2394 /**
2341 * Represents a version of the model. 2395 * Represents a version of the model.
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
2374 */ 2428 */
2375 core.bool isDefault; 2429 core.bool isDefault;
2376 /** Output only. The time the version was last used for prediction. */ 2430 /** Output only. The time the version was last used for prediction. */
2377 core.String lastUseTime; 2431 core.String lastUseTime;
2378 /** 2432 /**
2379 * Required.The name specified for the version when it was created. 2433 * Required.The name specified for the version when it was created.
2380 * 2434 *
2381 * The version name must be unique within the model it is created in. 2435 * The version name must be unique within the model it is created in.
2382 */ 2436 */
2383 core.String name; 2437 core.String name;
2438 /**
2439 * Optional. If true, enables StackDriver Logging for online prediction.
2440 * Default is false.
2441 */
2442 core.bool onlinePredictionLogging;
2443 /**
2444 * Optional. The Google Cloud ML runtime version to use for this deployment.
2445 * If not set, Google Cloud ML will choose a version.
2446 */
2447 core.String runtimeVersion;
2384 2448
2385 GoogleCloudMlV1beta1Version(); 2449 GoogleCloudMlV1beta1Version();
2386 2450
2387 GoogleCloudMlV1beta1Version.fromJson(core.Map _json) { 2451 GoogleCloudMlV1beta1Version.fromJson(core.Map _json) {
2388 if (_json.containsKey("createTime")) { 2452 if (_json.containsKey("createTime")) {
2389 createTime = _json["createTime"]; 2453 createTime = _json["createTime"];
2390 } 2454 }
2391 if (_json.containsKey("deploymentUri")) { 2455 if (_json.containsKey("deploymentUri")) {
2392 deploymentUri = _json["deploymentUri"]; 2456 deploymentUri = _json["deploymentUri"];
2393 } 2457 }
2394 if (_json.containsKey("description")) { 2458 if (_json.containsKey("description")) {
2395 description = _json["description"]; 2459 description = _json["description"];
2396 } 2460 }
2397 if (_json.containsKey("isDefault")) { 2461 if (_json.containsKey("isDefault")) {
2398 isDefault = _json["isDefault"]; 2462 isDefault = _json["isDefault"];
2399 } 2463 }
2400 if (_json.containsKey("lastUseTime")) { 2464 if (_json.containsKey("lastUseTime")) {
2401 lastUseTime = _json["lastUseTime"]; 2465 lastUseTime = _json["lastUseTime"];
2402 } 2466 }
2403 if (_json.containsKey("name")) { 2467 if (_json.containsKey("name")) {
2404 name = _json["name"]; 2468 name = _json["name"];
2405 } 2469 }
2470 if (_json.containsKey("onlinePredictionLogging")) {
2471 onlinePredictionLogging = _json["onlinePredictionLogging"];
2472 }
2473 if (_json.containsKey("runtimeVersion")) {
2474 runtimeVersion = _json["runtimeVersion"];
2475 }
2406 } 2476 }
2407 2477
2408 core.Map toJson() { 2478 core.Map toJson() {
2409 var _json = new core.Map(); 2479 var _json = new core.Map();
2410 if (createTime != null) { 2480 if (createTime != null) {
2411 _json["createTime"] = createTime; 2481 _json["createTime"] = createTime;
2412 } 2482 }
2413 if (deploymentUri != null) { 2483 if (deploymentUri != null) {
2414 _json["deploymentUri"] = deploymentUri; 2484 _json["deploymentUri"] = deploymentUri;
2415 } 2485 }
2416 if (description != null) { 2486 if (description != null) {
2417 _json["description"] = description; 2487 _json["description"] = description;
2418 } 2488 }
2419 if (isDefault != null) { 2489 if (isDefault != null) {
2420 _json["isDefault"] = isDefault; 2490 _json["isDefault"] = isDefault;
2421 } 2491 }
2422 if (lastUseTime != null) { 2492 if (lastUseTime != null) {
2423 _json["lastUseTime"] = lastUseTime; 2493 _json["lastUseTime"] = lastUseTime;
2424 } 2494 }
2425 if (name != null) { 2495 if (name != null) {
2426 _json["name"] = name; 2496 _json["name"] = name;
2427 } 2497 }
2498 if (onlinePredictionLogging != null) {
2499 _json["onlinePredictionLogging"] = onlinePredictionLogging;
2500 }
2501 if (runtimeVersion != null) {
2502 _json["runtimeVersion"] = runtimeVersion;
2503 }
2428 return _json; 2504 return _json;
2429 } 2505 }
2430 } 2506 }
2431 2507
2432 /** The response message for Operations.ListOperations. */ 2508 /** The response message for Operations.ListOperations. */
2433 class GoogleLongrunningListOperationsResponse { 2509 class GoogleLongrunningListOperationsResponse {
2434 /** The standard List next-page token. */ 2510 /** The standard List next-page token. */
2435 core.String nextPageToken; 2511 core.String nextPageToken;
2436 /** A list of operations that matches the specified filter in the request. */ 2512 /** A list of operations that matches the specified filter in the request. */
2437 core.List<GoogleLongrunningOperation> operations; 2513 core.List<GoogleLongrunningOperation> operations;
(...skipping 225 matching lines...) Expand 10 before | Expand all | Expand 10 after
2663 } 2739 }
2664 if (details != null) { 2740 if (details != null) {
2665 _json["details"] = details; 2741 _json["details"] = details;
2666 } 2742 }
2667 if (message != null) { 2743 if (message != null) {
2668 _json["message"] = message; 2744 _json["message"] = message;
2669 } 2745 }
2670 return _json; 2746 return _json;
2671 } 2747 }
2672 } 2748 }
OLDNEW
« no previous file with comments | « generated/googleapis_beta/lib/logging/v2beta1.dart ('k') | generated/googleapis_beta/lib/pubsub/v1beta2.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698