| 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.cloudbuild.v1; | 3 library googleapis.cloudbuild.v1; |
| 4 | 4 |
| 5 import 'dart:core' as core; | 5 import 'dart:core' as core; |
| 6 import 'dart:async' as async; | 6 import 'dart:async' as async; |
| 7 import 'dart:convert' as convert; | 7 import 'dart:convert' as convert; |
| 8 | 8 |
| 9 import 'package:_discoveryapis_commons/_discoveryapis_commons.dart' as commons; | 9 import 'package:_discoveryapis_commons/_discoveryapis_commons.dart' as commons; |
| 10 import 'package:http/http.dart' as http; | 10 import 'package:http/http.dart' as http; |
| (...skipping 945 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 956 * an entrypoint, the first element in args will be used as the entrypoint, | 956 * an entrypoint, the first element in args will be used as the entrypoint, |
| 957 * and the remainder will be used as arguments. | 957 * and the remainder will be used as arguments. |
| 958 */ | 958 */ |
| 959 core.List<core.String> args; | 959 core.List<core.String> args; |
| 960 /** | 960 /** |
| 961 * Working directory (relative to project source root) to use when running | 961 * Working directory (relative to project source root) to use when running |
| 962 * this operation's container. | 962 * this operation's container. |
| 963 */ | 963 */ |
| 964 core.String dir; | 964 core.String dir; |
| 965 /** | 965 /** |
| 966 * Optional entrypoint to be used instead of the build step image's default |
| 967 * If unset, the image's default will be used. |
| 968 */ |
| 969 core.String entrypoint; |
| 970 /** |
| 966 * A list of environment variable definitions to be used when running a step. | 971 * A list of environment variable definitions to be used when running a step. |
| 967 * | 972 * |
| 968 * The elements are of the form "KEY=VALUE" for the environment variable "KEY" | 973 * The elements are of the form "KEY=VALUE" for the environment variable "KEY" |
| 969 * being given the value "VALUE". | 974 * being given the value "VALUE". |
| 970 */ | 975 */ |
| 971 core.List<core.String> env; | 976 core.List<core.String> env; |
| 972 /** | 977 /** |
| 973 * Optional unique identifier for this build step, used in wait_for to | 978 * Optional unique identifier for this build step, used in wait_for to |
| 974 * reference this build step as a dependency. | 979 * reference this build step as a dependency. |
| 975 */ | 980 */ |
| (...skipping 28 matching lines...) Expand all Loading... |
| 1004 | 1009 |
| 1005 BuildStep(); | 1010 BuildStep(); |
| 1006 | 1011 |
| 1007 BuildStep.fromJson(core.Map _json) { | 1012 BuildStep.fromJson(core.Map _json) { |
| 1008 if (_json.containsKey("args")) { | 1013 if (_json.containsKey("args")) { |
| 1009 args = _json["args"]; | 1014 args = _json["args"]; |
| 1010 } | 1015 } |
| 1011 if (_json.containsKey("dir")) { | 1016 if (_json.containsKey("dir")) { |
| 1012 dir = _json["dir"]; | 1017 dir = _json["dir"]; |
| 1013 } | 1018 } |
| 1019 if (_json.containsKey("entrypoint")) { |
| 1020 entrypoint = _json["entrypoint"]; |
| 1021 } |
| 1014 if (_json.containsKey("env")) { | 1022 if (_json.containsKey("env")) { |
| 1015 env = _json["env"]; | 1023 env = _json["env"]; |
| 1016 } | 1024 } |
| 1017 if (_json.containsKey("id")) { | 1025 if (_json.containsKey("id")) { |
| 1018 id = _json["id"]; | 1026 id = _json["id"]; |
| 1019 } | 1027 } |
| 1020 if (_json.containsKey("name")) { | 1028 if (_json.containsKey("name")) { |
| 1021 name = _json["name"]; | 1029 name = _json["name"]; |
| 1022 } | 1030 } |
| 1023 if (_json.containsKey("waitFor")) { | 1031 if (_json.containsKey("waitFor")) { |
| 1024 waitFor = _json["waitFor"]; | 1032 waitFor = _json["waitFor"]; |
| 1025 } | 1033 } |
| 1026 } | 1034 } |
| 1027 | 1035 |
| 1028 core.Map toJson() { | 1036 core.Map toJson() { |
| 1029 var _json = new core.Map(); | 1037 var _json = new core.Map(); |
| 1030 if (args != null) { | 1038 if (args != null) { |
| 1031 _json["args"] = args; | 1039 _json["args"] = args; |
| 1032 } | 1040 } |
| 1033 if (dir != null) { | 1041 if (dir != null) { |
| 1034 _json["dir"] = dir; | 1042 _json["dir"] = dir; |
| 1035 } | 1043 } |
| 1044 if (entrypoint != null) { |
| 1045 _json["entrypoint"] = entrypoint; |
| 1046 } |
| 1036 if (env != null) { | 1047 if (env != null) { |
| 1037 _json["env"] = env; | 1048 _json["env"] = env; |
| 1038 } | 1049 } |
| 1039 if (id != null) { | 1050 if (id != null) { |
| 1040 _json["id"] = id; | 1051 _json["id"] = id; |
| 1041 } | 1052 } |
| 1042 if (name != null) { | 1053 if (name != null) { |
| 1043 _json["name"] = name; | 1054 _json["name"] = name; |
| 1044 } | 1055 } |
| 1045 if (waitFor != null) { | 1056 if (waitFor != null) { |
| (...skipping 746 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1792 } | 1803 } |
| 1793 if (generation != null) { | 1804 if (generation != null) { |
| 1794 _json["generation"] = generation; | 1805 _json["generation"] = generation; |
| 1795 } | 1806 } |
| 1796 if (object != null) { | 1807 if (object != null) { |
| 1797 _json["object"] = object; | 1808 _json["object"] = object; |
| 1798 } | 1809 } |
| 1799 return _json; | 1810 return _json; |
| 1800 } | 1811 } |
| 1801 } | 1812 } |
| OLD | NEW |