OLD | NEW |
| 1 // This is a generated file (see the discoveryapis_generator project). |
| 2 |
1 library googleapis_beta.dataflow.v1beta3; | 3 library googleapis_beta.dataflow.v1beta3; |
2 | 4 |
3 import "dart:core" as core; | 5 import 'dart:core' as core; |
4 import "dart:collection" as collection; | 6 import 'dart:collection' as collection; |
5 import "dart:async" as async; | 7 import 'dart:async' as async; |
6 import "dart:convert" as convert; | 8 import 'dart:convert' as convert; |
7 | 9 |
8 import "package:crypto/crypto.dart" as crypto; | 10 import 'package:_discoveryapis_commons/_discoveryapis_commons.dart' as commons; |
| 11 import 'package:crypto/crypto.dart' as crypto; |
9 import 'package:http/http.dart' as http; | 12 import 'package:http/http.dart' as http; |
10 import '../src/common_internal.dart' as common_internal; | |
11 import '../common/common.dart' as common; | |
12 | 13 |
13 export '../common/common.dart' show ApiRequestError; | 14 export 'package:_discoveryapis_commons/_discoveryapis_commons.dart' show |
14 export '../common/common.dart' show DetailedApiRequestError; | 15 ApiRequestError, DetailedApiRequestError; |
| 16 |
| 17 const core.String USER_AGENT = 'dart-api-client dataflow/v1beta3'; |
15 | 18 |
16 /** Google Dataflow API. */ | 19 /** Google Dataflow API. */ |
17 class DataflowApi { | 20 class DataflowApi { |
18 /** View and manage your data across Google Cloud Platform services */ | 21 /** View and manage your data across Google Cloud Platform services */ |
19 static const CloudPlatformScope = "https://www.googleapis.com/auth/cloud-platf
orm"; | 22 static const CloudPlatformScope = "https://www.googleapis.com/auth/cloud-platf
orm"; |
20 | 23 |
21 /** View your email address */ | 24 /** View your email address */ |
22 static const UserinfoEmailScope = "https://www.googleapis.com/auth/userinfo.em
ail"; | 25 static const UserinfoEmailScope = "https://www.googleapis.com/auth/userinfo.em
ail"; |
23 | 26 |
24 | 27 |
25 final common_internal.ApiRequester _requester; | 28 final commons.ApiRequester _requester; |
26 | 29 |
27 V1b3ResourceApi get v1b3 => new V1b3ResourceApi(_requester); | 30 V1b3ResourceApi get v1b3 => new V1b3ResourceApi(_requester); |
28 | 31 |
29 DataflowApi(http.Client client, {core.String rootUrl: "https://www.googleapis.
com/", core.String servicePath: "dataflow/v1b3/projects/"}) : | 32 DataflowApi(http.Client client, {core.String rootUrl: "https://www.googleapis.
com/", core.String servicePath: "dataflow/v1b3/projects/"}) : |
30 _requester = new common_internal.ApiRequester(client, rootUrl, servicePath
); | 33 _requester = new commons.ApiRequester(client, rootUrl, servicePath, USER_A
GENT); |
31 } | 34 } |
32 | 35 |
33 | 36 |
34 /** Not documented yet. */ | |
35 class V1b3ResourceApi { | 37 class V1b3ResourceApi { |
36 final common_internal.ApiRequester _requester; | 38 final commons.ApiRequester _requester; |
37 | 39 |
38 V1b3ProjectsResourceApi get projects => new V1b3ProjectsResourceApi(_requester
); | 40 V1b3ProjectsResourceApi get projects => new V1b3ProjectsResourceApi(_requester
); |
39 | 41 |
40 V1b3ResourceApi(common_internal.ApiRequester client) : | 42 V1b3ResourceApi(commons.ApiRequester client) : |
41 _requester = client; | 43 _requester = client; |
42 } | 44 } |
43 | 45 |
44 | 46 |
45 /** Not documented yet. */ | |
46 class V1b3ProjectsResourceApi { | 47 class V1b3ProjectsResourceApi { |
47 final common_internal.ApiRequester _requester; | 48 final commons.ApiRequester _requester; |
48 | 49 |
49 V1b3ProjectsJobsResourceApi get jobs => new V1b3ProjectsJobsResourceApi(_reque
ster); | 50 V1b3ProjectsJobsResourceApi get jobs => new V1b3ProjectsJobsResourceApi(_reque
ster); |
50 | 51 |
51 V1b3ProjectsResourceApi(common_internal.ApiRequester client) : | 52 V1b3ProjectsResourceApi(commons.ApiRequester client) : |
52 _requester = client; | 53 _requester = client; |
53 } | 54 } |
54 | 55 |
55 | 56 |
56 /** Not documented yet. */ | |
57 class V1b3ProjectsJobsResourceApi { | 57 class V1b3ProjectsJobsResourceApi { |
58 final common_internal.ApiRequester _requester; | 58 final commons.ApiRequester _requester; |
59 | 59 |
60 V1b3ProjectsJobsMessagesResourceApi get messages => new V1b3ProjectsJobsMessag
esResourceApi(_requester); | 60 V1b3ProjectsJobsMessagesResourceApi get messages => new V1b3ProjectsJobsMessag
esResourceApi(_requester); |
61 V1b3ProjectsJobsWorkItemsResourceApi get workItems => new V1b3ProjectsJobsWork
ItemsResourceApi(_requester); | 61 V1b3ProjectsJobsWorkItemsResourceApi get workItems => new V1b3ProjectsJobsWork
ItemsResourceApi(_requester); |
62 | 62 |
63 V1b3ProjectsJobsResourceApi(common_internal.ApiRequester client) : | 63 V1b3ProjectsJobsResourceApi(commons.ApiRequester client) : |
64 _requester = client; | 64 _requester = client; |
65 | 65 |
66 /** | 66 /** |
67 * Creates a dataflow job. | 67 * Creates a dataflow job. |
68 * | 68 * |
69 * [request] - The metadata request object. | 69 * [request] - The metadata request object. |
70 * | 70 * |
71 * Request parameters: | 71 * Request parameters: |
72 * | 72 * |
73 * [projectId] - null | 73 * [projectId] - null |
74 * | 74 * |
75 * [view] - null | 75 * [view] - null |
76 * Possible string values are: | 76 * Possible string values are: |
77 * - "JOB_VIEW_ALL" | 77 * - "JOB_VIEW_ALL" |
78 * - "JOB_VIEW_SUMMARY" | 78 * - "JOB_VIEW_SUMMARY" |
79 * - "JOB_VIEW_UNKNOWN" | 79 * - "JOB_VIEW_UNKNOWN" |
80 * | 80 * |
81 * Completes with a [Job]. | 81 * Completes with a [Job]. |
82 * | 82 * |
83 * Completes with a [common.ApiRequestError] if the API endpoint returned an | 83 * Completes with a [commons.ApiRequestError] if the API endpoint returned an |
84 * error. | 84 * error. |
85 * | 85 * |
86 * If the used [http.Client] completes with an error when making a REST call, | 86 * If the used [http.Client] completes with an error when making a REST call, |
87 * this method will complete with the same error. | 87 * this method will complete with the same error. |
88 */ | 88 */ |
89 async.Future<Job> create(Job request, core.String projectId, {core.String view
}) { | 89 async.Future<Job> create(Job request, core.String projectId, {core.String view
}) { |
90 var _url = null; | 90 var _url = null; |
91 var _queryParams = new core.Map(); | 91 var _queryParams = new core.Map(); |
92 var _uploadMedia = null; | 92 var _uploadMedia = null; |
93 var _uploadOptions = null; | 93 var _uploadOptions = null; |
94 var _downloadOptions = common.DownloadOptions.Metadata; | 94 var _downloadOptions = commons.DownloadOptions.Metadata; |
95 var _body = null; | 95 var _body = null; |
96 | 96 |
97 if (request != null) { | 97 if (request != null) { |
98 _body = convert.JSON.encode((request).toJson()); | 98 _body = convert.JSON.encode((request).toJson()); |
99 } | 99 } |
100 if (projectId == null) { | 100 if (projectId == null) { |
101 throw new core.ArgumentError("Parameter projectId is required."); | 101 throw new core.ArgumentError("Parameter projectId is required."); |
102 } | 102 } |
103 if (view != null) { | 103 if (view != null) { |
104 _queryParams["view"] = [view]; | 104 _queryParams["view"] = [view]; |
105 } | 105 } |
106 | 106 |
107 | 107 |
108 _url = common_internal.Escaper.ecapeVariable('$projectId') + '/jobs'; | 108 _url = commons.Escaper.ecapeVariable('$projectId') + '/jobs'; |
109 | 109 |
110 var _response = _requester.request(_url, | 110 var _response = _requester.request(_url, |
111 "POST", | 111 "POST", |
112 body: _body, | 112 body: _body, |
113 queryParams: _queryParams, | 113 queryParams: _queryParams, |
114 uploadOptions: _uploadOptions, | 114 uploadOptions: _uploadOptions, |
115 uploadMedia: _uploadMedia, | 115 uploadMedia: _uploadMedia, |
116 downloadOptions: _downloadOptions); | 116 downloadOptions: _downloadOptions); |
117 return _response.then((data) => new Job.fromJson(data)); | 117 return _response.then((data) => new Job.fromJson(data)); |
118 } | 118 } |
119 | 119 |
120 /** | 120 /** |
121 * Gets the state of the specified dataflow job. | 121 * Gets the state of the specified dataflow job. |
122 * | 122 * |
123 * Request parameters: | 123 * Request parameters: |
124 * | 124 * |
125 * [projectId] - null | 125 * [projectId] - null |
126 * | 126 * |
127 * [jobId] - null | 127 * [jobId] - null |
128 * | 128 * |
129 * [view] - null | 129 * [view] - null |
130 * Possible string values are: | 130 * Possible string values are: |
131 * - "JOB_VIEW_ALL" | 131 * - "JOB_VIEW_ALL" |
132 * - "JOB_VIEW_SUMMARY" | 132 * - "JOB_VIEW_SUMMARY" |
133 * - "JOB_VIEW_UNKNOWN" | 133 * - "JOB_VIEW_UNKNOWN" |
134 * | 134 * |
135 * Completes with a [Job]. | 135 * Completes with a [Job]. |
136 * | 136 * |
137 * Completes with a [common.ApiRequestError] if the API endpoint returned an | 137 * Completes with a [commons.ApiRequestError] if the API endpoint returned an |
138 * error. | 138 * error. |
139 * | 139 * |
140 * If the used [http.Client] completes with an error when making a REST call, | 140 * If the used [http.Client] completes with an error when making a REST call, |
141 * this method will complete with the same error. | 141 * this method will complete with the same error. |
142 */ | 142 */ |
143 async.Future<Job> get(core.String projectId, core.String jobId, {core.String v
iew}) { | 143 async.Future<Job> get(core.String projectId, core.String jobId, {core.String v
iew}) { |
144 var _url = null; | 144 var _url = null; |
145 var _queryParams = new core.Map(); | 145 var _queryParams = new core.Map(); |
146 var _uploadMedia = null; | 146 var _uploadMedia = null; |
147 var _uploadOptions = null; | 147 var _uploadOptions = null; |
148 var _downloadOptions = common.DownloadOptions.Metadata; | 148 var _downloadOptions = commons.DownloadOptions.Metadata; |
149 var _body = null; | 149 var _body = null; |
150 | 150 |
151 if (projectId == null) { | 151 if (projectId == null) { |
152 throw new core.ArgumentError("Parameter projectId is required."); | 152 throw new core.ArgumentError("Parameter projectId is required."); |
153 } | 153 } |
154 if (jobId == null) { | 154 if (jobId == null) { |
155 throw new core.ArgumentError("Parameter jobId is required."); | 155 throw new core.ArgumentError("Parameter jobId is required."); |
156 } | 156 } |
157 if (view != null) { | 157 if (view != null) { |
158 _queryParams["view"] = [view]; | 158 _queryParams["view"] = [view]; |
159 } | 159 } |
160 | 160 |
161 | 161 |
162 _url = common_internal.Escaper.ecapeVariable('$projectId') + '/jobs/' + comm
on_internal.Escaper.ecapeVariable('$jobId'); | 162 _url = commons.Escaper.ecapeVariable('$projectId') + '/jobs/' + commons.Esca
per.ecapeVariable('$jobId'); |
163 | 163 |
164 var _response = _requester.request(_url, | 164 var _response = _requester.request(_url, |
165 "GET", | 165 "GET", |
166 body: _body, | 166 body: _body, |
167 queryParams: _queryParams, | 167 queryParams: _queryParams, |
168 uploadOptions: _uploadOptions, | 168 uploadOptions: _uploadOptions, |
169 uploadMedia: _uploadMedia, | 169 uploadMedia: _uploadMedia, |
170 downloadOptions: _downloadOptions); | 170 downloadOptions: _downloadOptions); |
171 return _response.then((data) => new Job.fromJson(data)); | 171 return _response.then((data) => new Job.fromJson(data)); |
172 } | 172 } |
173 | 173 |
174 /** | 174 /** |
175 * Request the job status. | 175 * Request the job status. |
176 * | 176 * |
177 * Request parameters: | 177 * Request parameters: |
178 * | 178 * |
179 * [projectId] - null | 179 * [projectId] - null |
180 * | 180 * |
181 * [jobId] - null | 181 * [jobId] - null |
182 * | 182 * |
183 * [startTime] - null | 183 * [startTime] - null |
184 * | 184 * |
185 * Completes with a [JobMetrics]. | 185 * Completes with a [JobMetrics]. |
186 * | 186 * |
187 * Completes with a [common.ApiRequestError] if the API endpoint returned an | 187 * Completes with a [commons.ApiRequestError] if the API endpoint returned an |
188 * error. | 188 * error. |
189 * | 189 * |
190 * If the used [http.Client] completes with an error when making a REST call, | 190 * If the used [http.Client] completes with an error when making a REST call, |
191 * this method will complete with the same error. | 191 * this method will complete with the same error. |
192 */ | 192 */ |
193 async.Future<JobMetrics> getMetrics(core.String projectId, core.String jobId,
{core.String startTime}) { | 193 async.Future<JobMetrics> getMetrics(core.String projectId, core.String jobId,
{core.String startTime}) { |
194 var _url = null; | 194 var _url = null; |
195 var _queryParams = new core.Map(); | 195 var _queryParams = new core.Map(); |
196 var _uploadMedia = null; | 196 var _uploadMedia = null; |
197 var _uploadOptions = null; | 197 var _uploadOptions = null; |
198 var _downloadOptions = common.DownloadOptions.Metadata; | 198 var _downloadOptions = commons.DownloadOptions.Metadata; |
199 var _body = null; | 199 var _body = null; |
200 | 200 |
201 if (projectId == null) { | 201 if (projectId == null) { |
202 throw new core.ArgumentError("Parameter projectId is required."); | 202 throw new core.ArgumentError("Parameter projectId is required."); |
203 } | 203 } |
204 if (jobId == null) { | 204 if (jobId == null) { |
205 throw new core.ArgumentError("Parameter jobId is required."); | 205 throw new core.ArgumentError("Parameter jobId is required."); |
206 } | 206 } |
207 if (startTime != null) { | 207 if (startTime != null) { |
208 _queryParams["startTime"] = [startTime]; | 208 _queryParams["startTime"] = [startTime]; |
209 } | 209 } |
210 | 210 |
211 | 211 |
212 _url = common_internal.Escaper.ecapeVariable('$projectId') + '/jobs/' + comm
on_internal.Escaper.ecapeVariable('$jobId') + '/metrics'; | 212 _url = commons.Escaper.ecapeVariable('$projectId') + '/jobs/' + commons.Esca
per.ecapeVariable('$jobId') + '/metrics'; |
213 | 213 |
214 var _response = _requester.request(_url, | 214 var _response = _requester.request(_url, |
215 "GET", | 215 "GET", |
216 body: _body, | 216 body: _body, |
217 queryParams: _queryParams, | 217 queryParams: _queryParams, |
218 uploadOptions: _uploadOptions, | 218 uploadOptions: _uploadOptions, |
219 uploadMedia: _uploadMedia, | 219 uploadMedia: _uploadMedia, |
220 downloadOptions: _downloadOptions); | 220 downloadOptions: _downloadOptions); |
221 return _response.then((data) => new JobMetrics.fromJson(data)); | 221 return _response.then((data) => new JobMetrics.fromJson(data)); |
222 } | 222 } |
(...skipping 10 matching lines...) Expand all Loading... |
233 * [pageToken] - null | 233 * [pageToken] - null |
234 * | 234 * |
235 * [view] - null | 235 * [view] - null |
236 * Possible string values are: | 236 * Possible string values are: |
237 * - "JOB_VIEW_ALL" | 237 * - "JOB_VIEW_ALL" |
238 * - "JOB_VIEW_SUMMARY" | 238 * - "JOB_VIEW_SUMMARY" |
239 * - "JOB_VIEW_UNKNOWN" | 239 * - "JOB_VIEW_UNKNOWN" |
240 * | 240 * |
241 * Completes with a [ListJobsResponse]. | 241 * Completes with a [ListJobsResponse]. |
242 * | 242 * |
243 * Completes with a [common.ApiRequestError] if the API endpoint returned an | 243 * Completes with a [commons.ApiRequestError] if the API endpoint returned an |
244 * error. | 244 * error. |
245 * | 245 * |
246 * If the used [http.Client] completes with an error when making a REST call, | 246 * If the used [http.Client] completes with an error when making a REST call, |
247 * this method will complete with the same error. | 247 * this method will complete with the same error. |
248 */ | 248 */ |
249 async.Future<ListJobsResponse> list(core.String projectId, {core.int pageSize,
core.String pageToken, core.String view}) { | 249 async.Future<ListJobsResponse> list(core.String projectId, {core.int pageSize,
core.String pageToken, core.String view}) { |
250 var _url = null; | 250 var _url = null; |
251 var _queryParams = new core.Map(); | 251 var _queryParams = new core.Map(); |
252 var _uploadMedia = null; | 252 var _uploadMedia = null; |
253 var _uploadOptions = null; | 253 var _uploadOptions = null; |
254 var _downloadOptions = common.DownloadOptions.Metadata; | 254 var _downloadOptions = commons.DownloadOptions.Metadata; |
255 var _body = null; | 255 var _body = null; |
256 | 256 |
257 if (projectId == null) { | 257 if (projectId == null) { |
258 throw new core.ArgumentError("Parameter projectId is required."); | 258 throw new core.ArgumentError("Parameter projectId is required."); |
259 } | 259 } |
260 if (pageSize != null) { | 260 if (pageSize != null) { |
261 _queryParams["pageSize"] = ["${pageSize}"]; | 261 _queryParams["pageSize"] = ["${pageSize}"]; |
262 } | 262 } |
263 if (pageToken != null) { | 263 if (pageToken != null) { |
264 _queryParams["pageToken"] = [pageToken]; | 264 _queryParams["pageToken"] = [pageToken]; |
265 } | 265 } |
266 if (view != null) { | 266 if (view != null) { |
267 _queryParams["view"] = [view]; | 267 _queryParams["view"] = [view]; |
268 } | 268 } |
269 | 269 |
270 | 270 |
271 _url = common_internal.Escaper.ecapeVariable('$projectId') + '/jobs'; | 271 _url = commons.Escaper.ecapeVariable('$projectId') + '/jobs'; |
272 | 272 |
273 var _response = _requester.request(_url, | 273 var _response = _requester.request(_url, |
274 "GET", | 274 "GET", |
275 body: _body, | 275 body: _body, |
276 queryParams: _queryParams, | 276 queryParams: _queryParams, |
277 uploadOptions: _uploadOptions, | 277 uploadOptions: _uploadOptions, |
278 uploadMedia: _uploadMedia, | 278 uploadMedia: _uploadMedia, |
279 downloadOptions: _downloadOptions); | 279 downloadOptions: _downloadOptions); |
280 return _response.then((data) => new ListJobsResponse.fromJson(data)); | 280 return _response.then((data) => new ListJobsResponse.fromJson(data)); |
281 } | 281 } |
282 | 282 |
283 /** | 283 /** |
284 * Updates the state of an existing dataflow job. This method supports patch | 284 * Updates the state of an existing dataflow job. This method supports patch |
285 * semantics. | 285 * semantics. |
286 * | 286 * |
287 * [request] - The metadata request object. | 287 * [request] - The metadata request object. |
288 * | 288 * |
289 * Request parameters: | 289 * Request parameters: |
290 * | 290 * |
291 * [projectId] - null | 291 * [projectId] - null |
292 * | 292 * |
293 * [jobId] - null | 293 * [jobId] - null |
294 * | 294 * |
295 * Completes with a [Job]. | 295 * Completes with a [Job]. |
296 * | 296 * |
297 * Completes with a [common.ApiRequestError] if the API endpoint returned an | 297 * Completes with a [commons.ApiRequestError] if the API endpoint returned an |
298 * error. | 298 * error. |
299 * | 299 * |
300 * If the used [http.Client] completes with an error when making a REST call, | 300 * If the used [http.Client] completes with an error when making a REST call, |
301 * this method will complete with the same error. | 301 * this method will complete with the same error. |
302 */ | 302 */ |
303 async.Future<Job> patch(Job request, core.String projectId, core.String jobId)
{ | 303 async.Future<Job> patch(Job request, core.String projectId, core.String jobId)
{ |
304 var _url = null; | 304 var _url = null; |
305 var _queryParams = new core.Map(); | 305 var _queryParams = new core.Map(); |
306 var _uploadMedia = null; | 306 var _uploadMedia = null; |
307 var _uploadOptions = null; | 307 var _uploadOptions = null; |
308 var _downloadOptions = common.DownloadOptions.Metadata; | 308 var _downloadOptions = commons.DownloadOptions.Metadata; |
309 var _body = null; | 309 var _body = null; |
310 | 310 |
311 if (request != null) { | 311 if (request != null) { |
312 _body = convert.JSON.encode((request).toJson()); | 312 _body = convert.JSON.encode((request).toJson()); |
313 } | 313 } |
314 if (projectId == null) { | 314 if (projectId == null) { |
315 throw new core.ArgumentError("Parameter projectId is required."); | 315 throw new core.ArgumentError("Parameter projectId is required."); |
316 } | 316 } |
317 if (jobId == null) { | 317 if (jobId == null) { |
318 throw new core.ArgumentError("Parameter jobId is required."); | 318 throw new core.ArgumentError("Parameter jobId is required."); |
319 } | 319 } |
320 | 320 |
321 | 321 |
322 _url = common_internal.Escaper.ecapeVariable('$projectId') + '/jobs/' + comm
on_internal.Escaper.ecapeVariable('$jobId'); | 322 _url = commons.Escaper.ecapeVariable('$projectId') + '/jobs/' + commons.Esca
per.ecapeVariable('$jobId'); |
323 | 323 |
324 var _response = _requester.request(_url, | 324 var _response = _requester.request(_url, |
325 "PATCH", | 325 "PATCH", |
326 body: _body, | 326 body: _body, |
327 queryParams: _queryParams, | 327 queryParams: _queryParams, |
328 uploadOptions: _uploadOptions, | 328 uploadOptions: _uploadOptions, |
329 uploadMedia: _uploadMedia, | 329 uploadMedia: _uploadMedia, |
330 downloadOptions: _downloadOptions); | 330 downloadOptions: _downloadOptions); |
331 return _response.then((data) => new Job.fromJson(data)); | 331 return _response.then((data) => new Job.fromJson(data)); |
332 } | 332 } |
333 | 333 |
334 /** | 334 /** |
335 * Updates the state of an existing dataflow job. | 335 * Updates the state of an existing dataflow job. |
336 * | 336 * |
337 * [request] - The metadata request object. | 337 * [request] - The metadata request object. |
338 * | 338 * |
339 * Request parameters: | 339 * Request parameters: |
340 * | 340 * |
341 * [projectId] - null | 341 * [projectId] - null |
342 * | 342 * |
343 * [jobId] - null | 343 * [jobId] - null |
344 * | 344 * |
345 * Completes with a [Job]. | 345 * Completes with a [Job]. |
346 * | 346 * |
347 * Completes with a [common.ApiRequestError] if the API endpoint returned an | 347 * Completes with a [commons.ApiRequestError] if the API endpoint returned an |
348 * error. | 348 * error. |
349 * | 349 * |
350 * If the used [http.Client] completes with an error when making a REST call, | 350 * If the used [http.Client] completes with an error when making a REST call, |
351 * this method will complete with the same error. | 351 * this method will complete with the same error. |
352 */ | 352 */ |
353 async.Future<Job> update(Job request, core.String projectId, core.String jobId
) { | 353 async.Future<Job> update(Job request, core.String projectId, core.String jobId
) { |
354 var _url = null; | 354 var _url = null; |
355 var _queryParams = new core.Map(); | 355 var _queryParams = new core.Map(); |
356 var _uploadMedia = null; | 356 var _uploadMedia = null; |
357 var _uploadOptions = null; | 357 var _uploadOptions = null; |
358 var _downloadOptions = common.DownloadOptions.Metadata; | 358 var _downloadOptions = commons.DownloadOptions.Metadata; |
359 var _body = null; | 359 var _body = null; |
360 | 360 |
361 if (request != null) { | 361 if (request != null) { |
362 _body = convert.JSON.encode((request).toJson()); | 362 _body = convert.JSON.encode((request).toJson()); |
363 } | 363 } |
364 if (projectId == null) { | 364 if (projectId == null) { |
365 throw new core.ArgumentError("Parameter projectId is required."); | 365 throw new core.ArgumentError("Parameter projectId is required."); |
366 } | 366 } |
367 if (jobId == null) { | 367 if (jobId == null) { |
368 throw new core.ArgumentError("Parameter jobId is required."); | 368 throw new core.ArgumentError("Parameter jobId is required."); |
369 } | 369 } |
370 | 370 |
371 | 371 |
372 _url = common_internal.Escaper.ecapeVariable('$projectId') + '/jobs/' + comm
on_internal.Escaper.ecapeVariable('$jobId'); | 372 _url = commons.Escaper.ecapeVariable('$projectId') + '/jobs/' + commons.Esca
per.ecapeVariable('$jobId'); |
373 | 373 |
374 var _response = _requester.request(_url, | 374 var _response = _requester.request(_url, |
375 "PUT", | 375 "PUT", |
376 body: _body, | 376 body: _body, |
377 queryParams: _queryParams, | 377 queryParams: _queryParams, |
378 uploadOptions: _uploadOptions, | 378 uploadOptions: _uploadOptions, |
379 uploadMedia: _uploadMedia, | 379 uploadMedia: _uploadMedia, |
380 downloadOptions: _downloadOptions); | 380 downloadOptions: _downloadOptions); |
381 return _response.then((data) => new Job.fromJson(data)); | 381 return _response.then((data) => new Job.fromJson(data)); |
382 } | 382 } |
383 | 383 |
384 } | 384 } |
385 | 385 |
386 | 386 |
387 /** Not documented yet. */ | |
388 class V1b3ProjectsJobsMessagesResourceApi { | 387 class V1b3ProjectsJobsMessagesResourceApi { |
389 final common_internal.ApiRequester _requester; | 388 final commons.ApiRequester _requester; |
390 | 389 |
391 V1b3ProjectsJobsMessagesResourceApi(common_internal.ApiRequester client) : | 390 V1b3ProjectsJobsMessagesResourceApi(commons.ApiRequester client) : |
392 _requester = client; | 391 _requester = client; |
393 | 392 |
394 /** | 393 /** |
395 * Request the job status. | 394 * Request the job status. |
396 * | 395 * |
397 * Request parameters: | 396 * Request parameters: |
398 * | 397 * |
399 * [projectId] - null | 398 * [projectId] - null |
400 * | 399 * |
401 * [jobId] - null | 400 * [jobId] - null |
402 * | 401 * |
403 * [endTime] - null | 402 * [endTime] - null |
404 * | 403 * |
405 * [minimumImportance] - null | 404 * [minimumImportance] - null |
406 * Possible string values are: | 405 * Possible string values are: |
407 * - "JOB_MESSAGE_DEBUG" | 406 * - "JOB_MESSAGE_DEBUG" |
408 * - "JOB_MESSAGE_DETAILED" | 407 * - "JOB_MESSAGE_DETAILED" |
409 * - "JOB_MESSAGE_ERROR" | 408 * - "JOB_MESSAGE_ERROR" |
410 * - "JOB_MESSAGE_IMPORTANCE_UNKNOWN" | 409 * - "JOB_MESSAGE_IMPORTANCE_UNKNOWN" |
411 * - "JOB_MESSAGE_WARNING" | 410 * - "JOB_MESSAGE_WARNING" |
412 * | 411 * |
413 * [pageSize] - null | 412 * [pageSize] - null |
414 * | 413 * |
415 * [pageToken] - null | 414 * [pageToken] - null |
416 * | 415 * |
417 * [startTime] - null | 416 * [startTime] - null |
418 * | 417 * |
419 * Completes with a [ListJobMessagesResponse]. | 418 * Completes with a [ListJobMessagesResponse]. |
420 * | 419 * |
421 * Completes with a [common.ApiRequestError] if the API endpoint returned an | 420 * Completes with a [commons.ApiRequestError] if the API endpoint returned an |
422 * error. | 421 * error. |
423 * | 422 * |
424 * If the used [http.Client] completes with an error when making a REST call, | 423 * If the used [http.Client] completes with an error when making a REST call, |
425 * this method will complete with the same error. | 424 * this method will complete with the same error. |
426 */ | 425 */ |
427 async.Future<ListJobMessagesResponse> list(core.String projectId, core.String
jobId, {core.String endTime, core.String minimumImportance, core.int pageSize, c
ore.String pageToken, core.String startTime}) { | 426 async.Future<ListJobMessagesResponse> list(core.String projectId, core.String
jobId, {core.String endTime, core.String minimumImportance, core.int pageSize, c
ore.String pageToken, core.String startTime}) { |
428 var _url = null; | 427 var _url = null; |
429 var _queryParams = new core.Map(); | 428 var _queryParams = new core.Map(); |
430 var _uploadMedia = null; | 429 var _uploadMedia = null; |
431 var _uploadOptions = null; | 430 var _uploadOptions = null; |
432 var _downloadOptions = common.DownloadOptions.Metadata; | 431 var _downloadOptions = commons.DownloadOptions.Metadata; |
433 var _body = null; | 432 var _body = null; |
434 | 433 |
435 if (projectId == null) { | 434 if (projectId == null) { |
436 throw new core.ArgumentError("Parameter projectId is required."); | 435 throw new core.ArgumentError("Parameter projectId is required."); |
437 } | 436 } |
438 if (jobId == null) { | 437 if (jobId == null) { |
439 throw new core.ArgumentError("Parameter jobId is required."); | 438 throw new core.ArgumentError("Parameter jobId is required."); |
440 } | 439 } |
441 if (endTime != null) { | 440 if (endTime != null) { |
442 _queryParams["endTime"] = [endTime]; | 441 _queryParams["endTime"] = [endTime]; |
443 } | 442 } |
444 if (minimumImportance != null) { | 443 if (minimumImportance != null) { |
445 _queryParams["minimumImportance"] = [minimumImportance]; | 444 _queryParams["minimumImportance"] = [minimumImportance]; |
446 } | 445 } |
447 if (pageSize != null) { | 446 if (pageSize != null) { |
448 _queryParams["pageSize"] = ["${pageSize}"]; | 447 _queryParams["pageSize"] = ["${pageSize}"]; |
449 } | 448 } |
450 if (pageToken != null) { | 449 if (pageToken != null) { |
451 _queryParams["pageToken"] = [pageToken]; | 450 _queryParams["pageToken"] = [pageToken]; |
452 } | 451 } |
453 if (startTime != null) { | 452 if (startTime != null) { |
454 _queryParams["startTime"] = [startTime]; | 453 _queryParams["startTime"] = [startTime]; |
455 } | 454 } |
456 | 455 |
457 | 456 |
458 _url = common_internal.Escaper.ecapeVariable('$projectId') + '/jobs/' + comm
on_internal.Escaper.ecapeVariable('$jobId') + '/messages'; | 457 _url = commons.Escaper.ecapeVariable('$projectId') + '/jobs/' + commons.Esca
per.ecapeVariable('$jobId') + '/messages'; |
459 | 458 |
460 var _response = _requester.request(_url, | 459 var _response = _requester.request(_url, |
461 "GET", | 460 "GET", |
462 body: _body, | 461 body: _body, |
463 queryParams: _queryParams, | 462 queryParams: _queryParams, |
464 uploadOptions: _uploadOptions, | 463 uploadOptions: _uploadOptions, |
465 uploadMedia: _uploadMedia, | 464 uploadMedia: _uploadMedia, |
466 downloadOptions: _downloadOptions); | 465 downloadOptions: _downloadOptions); |
467 return _response.then((data) => new ListJobMessagesResponse.fromJson(data)); | 466 return _response.then((data) => new ListJobMessagesResponse.fromJson(data)); |
468 } | 467 } |
469 | 468 |
470 } | 469 } |
471 | 470 |
472 | 471 |
473 /** Not documented yet. */ | |
474 class V1b3ProjectsJobsWorkItemsResourceApi { | 472 class V1b3ProjectsJobsWorkItemsResourceApi { |
475 final common_internal.ApiRequester _requester; | 473 final commons.ApiRequester _requester; |
476 | 474 |
477 V1b3ProjectsJobsWorkItemsResourceApi(common_internal.ApiRequester client) : | 475 V1b3ProjectsJobsWorkItemsResourceApi(commons.ApiRequester client) : |
478 _requester = client; | 476 _requester = client; |
479 | 477 |
480 /** | 478 /** |
481 * Leases a dataflow WorkItem to run. | 479 * Leases a dataflow WorkItem to run. |
482 * | 480 * |
483 * [request] - The metadata request object. | 481 * [request] - The metadata request object. |
484 * | 482 * |
485 * Request parameters: | 483 * Request parameters: |
486 * | 484 * |
487 * [projectId] - null | 485 * [projectId] - null |
488 * | 486 * |
489 * [jobId] - null | 487 * [jobId] - null |
490 * | 488 * |
491 * Completes with a [LeaseWorkItemResponse]. | 489 * Completes with a [LeaseWorkItemResponse]. |
492 * | 490 * |
493 * Completes with a [common.ApiRequestError] if the API endpoint returned an | 491 * Completes with a [commons.ApiRequestError] if the API endpoint returned an |
494 * error. | 492 * error. |
495 * | 493 * |
496 * If the used [http.Client] completes with an error when making a REST call, | 494 * If the used [http.Client] completes with an error when making a REST call, |
497 * this method will complete with the same error. | 495 * this method will complete with the same error. |
498 */ | 496 */ |
499 async.Future<LeaseWorkItemResponse> lease(LeaseWorkItemRequest request, core.S
tring projectId, core.String jobId) { | 497 async.Future<LeaseWorkItemResponse> lease(LeaseWorkItemRequest request, core.S
tring projectId, core.String jobId) { |
500 var _url = null; | 498 var _url = null; |
501 var _queryParams = new core.Map(); | 499 var _queryParams = new core.Map(); |
502 var _uploadMedia = null; | 500 var _uploadMedia = null; |
503 var _uploadOptions = null; | 501 var _uploadOptions = null; |
504 var _downloadOptions = common.DownloadOptions.Metadata; | 502 var _downloadOptions = commons.DownloadOptions.Metadata; |
505 var _body = null; | 503 var _body = null; |
506 | 504 |
507 if (request != null) { | 505 if (request != null) { |
508 _body = convert.JSON.encode((request).toJson()); | 506 _body = convert.JSON.encode((request).toJson()); |
509 } | 507 } |
510 if (projectId == null) { | 508 if (projectId == null) { |
511 throw new core.ArgumentError("Parameter projectId is required."); | 509 throw new core.ArgumentError("Parameter projectId is required."); |
512 } | 510 } |
513 if (jobId == null) { | 511 if (jobId == null) { |
514 throw new core.ArgumentError("Parameter jobId is required."); | 512 throw new core.ArgumentError("Parameter jobId is required."); |
515 } | 513 } |
516 | 514 |
517 | 515 |
518 _url = common_internal.Escaper.ecapeVariable('$projectId') + '/jobs/' + comm
on_internal.Escaper.ecapeVariable('$jobId') + '/workItems:lease'; | 516 _url = commons.Escaper.ecapeVariable('$projectId') + '/jobs/' + commons.Esca
per.ecapeVariable('$jobId') + '/workItems:lease'; |
519 | 517 |
520 var _response = _requester.request(_url, | 518 var _response = _requester.request(_url, |
521 "POST", | 519 "POST", |
522 body: _body, | 520 body: _body, |
523 queryParams: _queryParams, | 521 queryParams: _queryParams, |
524 uploadOptions: _uploadOptions, | 522 uploadOptions: _uploadOptions, |
525 uploadMedia: _uploadMedia, | 523 uploadMedia: _uploadMedia, |
526 downloadOptions: _downloadOptions); | 524 downloadOptions: _downloadOptions); |
527 return _response.then((data) => new LeaseWorkItemResponse.fromJson(data)); | 525 return _response.then((data) => new LeaseWorkItemResponse.fromJson(data)); |
528 } | 526 } |
529 | 527 |
530 /** | 528 /** |
531 * Reports the status of dataflow WorkItems leased by a worker. | 529 * Reports the status of dataflow WorkItems leased by a worker. |
532 * | 530 * |
533 * [request] - The metadata request object. | 531 * [request] - The metadata request object. |
534 * | 532 * |
535 * Request parameters: | 533 * Request parameters: |
536 * | 534 * |
537 * [projectId] - null | 535 * [projectId] - null |
538 * | 536 * |
539 * [jobId] - null | 537 * [jobId] - null |
540 * | 538 * |
541 * Completes with a [ReportWorkItemStatusResponse]. | 539 * Completes with a [ReportWorkItemStatusResponse]. |
542 * | 540 * |
543 * Completes with a [common.ApiRequestError] if the API endpoint returned an | 541 * Completes with a [commons.ApiRequestError] if the API endpoint returned an |
544 * error. | 542 * error. |
545 * | 543 * |
546 * If the used [http.Client] completes with an error when making a REST call, | 544 * If the used [http.Client] completes with an error when making a REST call, |
547 * this method will complete with the same error. | 545 * this method will complete with the same error. |
548 */ | 546 */ |
549 async.Future<ReportWorkItemStatusResponse> reportStatus(ReportWorkItemStatusRe
quest request, core.String projectId, core.String jobId) { | 547 async.Future<ReportWorkItemStatusResponse> reportStatus(ReportWorkItemStatusRe
quest request, core.String projectId, core.String jobId) { |
550 var _url = null; | 548 var _url = null; |
551 var _queryParams = new core.Map(); | 549 var _queryParams = new core.Map(); |
552 var _uploadMedia = null; | 550 var _uploadMedia = null; |
553 var _uploadOptions = null; | 551 var _uploadOptions = null; |
554 var _downloadOptions = common.DownloadOptions.Metadata; | 552 var _downloadOptions = commons.DownloadOptions.Metadata; |
555 var _body = null; | 553 var _body = null; |
556 | 554 |
557 if (request != null) { | 555 if (request != null) { |
558 _body = convert.JSON.encode((request).toJson()); | 556 _body = convert.JSON.encode((request).toJson()); |
559 } | 557 } |
560 if (projectId == null) { | 558 if (projectId == null) { |
561 throw new core.ArgumentError("Parameter projectId is required."); | 559 throw new core.ArgumentError("Parameter projectId is required."); |
562 } | 560 } |
563 if (jobId == null) { | 561 if (jobId == null) { |
564 throw new core.ArgumentError("Parameter jobId is required."); | 562 throw new core.ArgumentError("Parameter jobId is required."); |
565 } | 563 } |
566 | 564 |
567 | 565 |
568 _url = common_internal.Escaper.ecapeVariable('$projectId') + '/jobs/' + comm
on_internal.Escaper.ecapeVariable('$jobId') + '/workItems:reportStatus'; | 566 _url = commons.Escaper.ecapeVariable('$projectId') + '/jobs/' + commons.Esca
per.ecapeVariable('$jobId') + '/workItems:reportStatus'; |
569 | 567 |
570 var _response = _requester.request(_url, | 568 var _response = _requester.request(_url, |
571 "POST", | 569 "POST", |
572 body: _body, | 570 body: _body, |
573 queryParams: _queryParams, | 571 queryParams: _queryParams, |
574 uploadOptions: _uploadOptions, | 572 uploadOptions: _uploadOptions, |
575 uploadMedia: _uploadMedia, | 573 uploadMedia: _uploadMedia, |
576 downloadOptions: _downloadOptions); | 574 downloadOptions: _downloadOptions); |
577 return _response.then((data) => new ReportWorkItemStatusResponse.fromJson(da
ta)); | 575 return _response.then((data) => new ReportWorkItemStatusResponse.fromJson(da
ta)); |
578 } | 576 } |
579 | 577 |
580 } | 578 } |
581 | 579 |
582 | 580 |
583 | 581 |
584 /** Not documented yet. */ | |
585 class ApproximateProgress { | 582 class ApproximateProgress { |
586 /** Not documented yet. */ | |
587 core.double percentComplete; | 583 core.double percentComplete; |
588 | 584 |
589 /** Not documented yet. */ | |
590 Position position; | 585 Position position; |
591 | 586 |
592 /** Not documented yet. */ | |
593 core.String remainingTime; | 587 core.String remainingTime; |
594 | 588 |
595 | 589 |
596 ApproximateProgress(); | 590 ApproximateProgress(); |
597 | 591 |
598 ApproximateProgress.fromJson(core.Map _json) { | 592 ApproximateProgress.fromJson(core.Map _json) { |
599 if (_json.containsKey("percentComplete")) { | 593 if (_json.containsKey("percentComplete")) { |
600 percentComplete = _json["percentComplete"]; | 594 percentComplete = _json["percentComplete"]; |
601 } | 595 } |
602 if (_json.containsKey("position")) { | 596 if (_json.containsKey("position")) { |
(...skipping 13 matching lines...) Expand all Loading... |
616 _json["position"] = (position).toJson(); | 610 _json["position"] = (position).toJson(); |
617 } | 611 } |
618 if (remainingTime != null) { | 612 if (remainingTime != null) { |
619 _json["remainingTime"] = remainingTime; | 613 _json["remainingTime"] = remainingTime; |
620 } | 614 } |
621 return _json; | 615 return _json; |
622 } | 616 } |
623 } | 617 } |
624 | 618 |
625 | 619 |
626 /** Not documented yet. */ | |
627 class AutoscalingSettings { | 620 class AutoscalingSettings { |
628 /** | 621 /** |
629 * Not documented yet. | 622 * |
630 * Possible string values are: | 623 * Possible string values are: |
631 * - "AUTOSCALING_ALGORITHM_BASIC" | 624 * - "AUTOSCALING_ALGORITHM_BASIC" |
632 * - "AUTOSCALING_ALGORITHM_NONE" | 625 * - "AUTOSCALING_ALGORITHM_NONE" |
633 * - "AUTOSCALING_ALGORITHM_UNKNOWN" | 626 * - "AUTOSCALING_ALGORITHM_UNKNOWN" |
634 */ | 627 */ |
635 core.String algorithm; | 628 core.String algorithm; |
636 | 629 |
637 /** Not documented yet. */ | |
638 core.int maxNumWorkers; | 630 core.int maxNumWorkers; |
639 | 631 |
640 | 632 |
641 AutoscalingSettings(); | 633 AutoscalingSettings(); |
642 | 634 |
643 AutoscalingSettings.fromJson(core.Map _json) { | 635 AutoscalingSettings.fromJson(core.Map _json) { |
644 if (_json.containsKey("algorithm")) { | 636 if (_json.containsKey("algorithm")) { |
645 algorithm = _json["algorithm"]; | 637 algorithm = _json["algorithm"]; |
646 } | 638 } |
647 if (_json.containsKey("maxNumWorkers")) { | 639 if (_json.containsKey("maxNumWorkers")) { |
648 maxNumWorkers = _json["maxNumWorkers"]; | 640 maxNumWorkers = _json["maxNumWorkers"]; |
649 } | 641 } |
650 } | 642 } |
651 | 643 |
652 core.Map toJson() { | 644 core.Map toJson() { |
653 var _json = new core.Map(); | 645 var _json = new core.Map(); |
654 if (algorithm != null) { | 646 if (algorithm != null) { |
655 _json["algorithm"] = algorithm; | 647 _json["algorithm"] = algorithm; |
656 } | 648 } |
657 if (maxNumWorkers != null) { | 649 if (maxNumWorkers != null) { |
658 _json["maxNumWorkers"] = maxNumWorkers; | 650 _json["maxNumWorkers"] = maxNumWorkers; |
659 } | 651 } |
660 return _json; | 652 return _json; |
661 } | 653 } |
662 } | 654 } |
663 | 655 |
664 | 656 |
665 /** Not documented yet. */ | |
666 class ComputationTopology { | 657 class ComputationTopology { |
667 /** Not documented yet. */ | |
668 core.String computationId; | 658 core.String computationId; |
669 | 659 |
670 /** Not documented yet. */ | |
671 core.List<StreamLocation> inputs; | 660 core.List<StreamLocation> inputs; |
672 | 661 |
673 /** Not documented yet. */ | |
674 core.List<KeyRangeLocation> keyRanges; | 662 core.List<KeyRangeLocation> keyRanges; |
675 | 663 |
676 /** Not documented yet. */ | |
677 core.List<StreamLocation> outputs; | 664 core.List<StreamLocation> outputs; |
678 | 665 |
679 | 666 |
680 ComputationTopology(); | 667 ComputationTopology(); |
681 | 668 |
682 ComputationTopology.fromJson(core.Map _json) { | 669 ComputationTopology.fromJson(core.Map _json) { |
683 if (_json.containsKey("computationId")) { | 670 if (_json.containsKey("computationId")) { |
684 computationId = _json["computationId"]; | 671 computationId = _json["computationId"]; |
685 } | 672 } |
686 if (_json.containsKey("inputs")) { | 673 if (_json.containsKey("inputs")) { |
(...skipping 19 matching lines...) Expand all Loading... |
706 _json["keyRanges"] = keyRanges.map((value) => (value).toJson()).toList(); | 693 _json["keyRanges"] = keyRanges.map((value) => (value).toJson()).toList(); |
707 } | 694 } |
708 if (outputs != null) { | 695 if (outputs != null) { |
709 _json["outputs"] = outputs.map((value) => (value).toJson()).toList(); | 696 _json["outputs"] = outputs.map((value) => (value).toJson()).toList(); |
710 } | 697 } |
711 return _json; | 698 return _json; |
712 } | 699 } |
713 } | 700 } |
714 | 701 |
715 | 702 |
716 /** Not documented yet. */ | |
717 class DataDiskAssignment { | 703 class DataDiskAssignment { |
718 /** Not documented yet. */ | |
719 core.List<core.String> dataDisks; | 704 core.List<core.String> dataDisks; |
720 | 705 |
721 /** Not documented yet. */ | |
722 core.String vmInstance; | 706 core.String vmInstance; |
723 | 707 |
724 | 708 |
725 DataDiskAssignment(); | 709 DataDiskAssignment(); |
726 | 710 |
727 DataDiskAssignment.fromJson(core.Map _json) { | 711 DataDiskAssignment.fromJson(core.Map _json) { |
728 if (_json.containsKey("dataDisks")) { | 712 if (_json.containsKey("dataDisks")) { |
729 dataDisks = _json["dataDisks"]; | 713 dataDisks = _json["dataDisks"]; |
730 } | 714 } |
731 if (_json.containsKey("vmInstance")) { | 715 if (_json.containsKey("vmInstance")) { |
732 vmInstance = _json["vmInstance"]; | 716 vmInstance = _json["vmInstance"]; |
733 } | 717 } |
734 } | 718 } |
735 | 719 |
736 core.Map toJson() { | 720 core.Map toJson() { |
737 var _json = new core.Map(); | 721 var _json = new core.Map(); |
738 if (dataDisks != null) { | 722 if (dataDisks != null) { |
739 _json["dataDisks"] = dataDisks; | 723 _json["dataDisks"] = dataDisks; |
740 } | 724 } |
741 if (vmInstance != null) { | 725 if (vmInstance != null) { |
742 _json["vmInstance"] = vmInstance; | 726 _json["vmInstance"] = vmInstance; |
743 } | 727 } |
744 return _json; | 728 return _json; |
745 } | 729 } |
746 } | 730 } |
747 | 731 |
748 | 732 |
749 /** Not documented yet. */ | 733 class DerivedSource { |
| 734 /** |
| 735 * |
| 736 * Possible string values are: |
| 737 * - "SOURCE_DERIVATION_MODE_CHILD_OF_CURRENT" |
| 738 * - "SOURCE_DERIVATION_MODE_INDEPENDENT" |
| 739 * - "SOURCE_DERIVATION_MODE_SIBLING_OF_CURRENT" |
| 740 * - "SOURCE_DERIVATION_MODE_UNKNOWN" |
| 741 */ |
| 742 core.String derivationMode; |
| 743 |
| 744 Source source; |
| 745 |
| 746 |
| 747 DerivedSource(); |
| 748 |
| 749 DerivedSource.fromJson(core.Map _json) { |
| 750 if (_json.containsKey("derivationMode")) { |
| 751 derivationMode = _json["derivationMode"]; |
| 752 } |
| 753 if (_json.containsKey("source")) { |
| 754 source = new Source.fromJson(_json["source"]); |
| 755 } |
| 756 } |
| 757 |
| 758 core.Map toJson() { |
| 759 var _json = new core.Map(); |
| 760 if (derivationMode != null) { |
| 761 _json["derivationMode"] = derivationMode; |
| 762 } |
| 763 if (source != null) { |
| 764 _json["source"] = (source).toJson(); |
| 765 } |
| 766 return _json; |
| 767 } |
| 768 } |
| 769 |
| 770 |
750 class Disk { | 771 class Disk { |
751 /** Not documented yet. */ | |
752 core.String diskType; | 772 core.String diskType; |
753 | 773 |
754 /** Not documented yet. */ | |
755 core.String mountPoint; | 774 core.String mountPoint; |
756 | 775 |
757 /** Not documented yet. */ | |
758 core.int sizeGb; | 776 core.int sizeGb; |
759 | 777 |
760 | 778 |
761 Disk(); | 779 Disk(); |
762 | 780 |
763 Disk.fromJson(core.Map _json) { | 781 Disk.fromJson(core.Map _json) { |
764 if (_json.containsKey("diskType")) { | 782 if (_json.containsKey("diskType")) { |
765 diskType = _json["diskType"]; | 783 diskType = _json["diskType"]; |
766 } | 784 } |
767 if (_json.containsKey("mountPoint")) { | 785 if (_json.containsKey("mountPoint")) { |
(...skipping 13 matching lines...) Expand all Loading... |
781 _json["mountPoint"] = mountPoint; | 799 _json["mountPoint"] = mountPoint; |
782 } | 800 } |
783 if (sizeGb != null) { | 801 if (sizeGb != null) { |
784 _json["sizeGb"] = sizeGb; | 802 _json["sizeGb"] = sizeGb; |
785 } | 803 } |
786 return _json; | 804 return _json; |
787 } | 805 } |
788 } | 806 } |
789 | 807 |
790 | 808 |
791 /** Not documented yet. */ | 809 class DynamicSourceSplit { |
| 810 DerivedSource primary; |
| 811 |
| 812 DerivedSource residual; |
| 813 |
| 814 |
| 815 DynamicSourceSplit(); |
| 816 |
| 817 DynamicSourceSplit.fromJson(core.Map _json) { |
| 818 if (_json.containsKey("primary")) { |
| 819 primary = new DerivedSource.fromJson(_json["primary"]); |
| 820 } |
| 821 if (_json.containsKey("residual")) { |
| 822 residual = new DerivedSource.fromJson(_json["residual"]); |
| 823 } |
| 824 } |
| 825 |
| 826 core.Map toJson() { |
| 827 var _json = new core.Map(); |
| 828 if (primary != null) { |
| 829 _json["primary"] = (primary).toJson(); |
| 830 } |
| 831 if (residual != null) { |
| 832 _json["residual"] = (residual).toJson(); |
| 833 } |
| 834 return _json; |
| 835 } |
| 836 } |
| 837 |
| 838 |
792 class Environment { | 839 class Environment { |
793 /** Not documented yet. */ | |
794 core.String clusterManagerApiService; | 840 core.String clusterManagerApiService; |
795 | 841 |
796 /** Not documented yet. */ | |
797 core.String dataset; | 842 core.String dataset; |
798 | 843 |
799 /** Not documented yet. */ | |
800 core.List<core.String> experiments; | 844 core.List<core.String> experiments; |
801 | 845 |
802 /** | 846 /** |
803 * Not documented yet. | 847 * |
804 * | 848 * |
805 * The values for Object must be JSON objects. It can consist of `num`, | 849 * The values for Object must be JSON objects. It can consist of `num`, |
806 * `String`, `bool` and `null` as well as `Map` and `List` values. | 850 * `String`, `bool` and `null` as well as `Map` and `List` values. |
807 */ | 851 */ |
808 core.Map<core.String, core.Object> sdkPipelineOptions; | 852 core.Map<core.String, core.Object> sdkPipelineOptions; |
809 | 853 |
810 /** Not documented yet. */ | |
811 core.String tempStoragePrefix; | 854 core.String tempStoragePrefix; |
812 | 855 |
813 /** | 856 /** |
814 * Not documented yet. | 857 * |
815 * | 858 * |
816 * The values for Object must be JSON objects. It can consist of `num`, | 859 * The values for Object must be JSON objects. It can consist of `num`, |
817 * `String`, `bool` and `null` as well as `Map` and `List` values. | 860 * `String`, `bool` and `null` as well as `Map` and `List` values. |
818 */ | 861 */ |
819 core.Map<core.String, core.Object> userAgent; | 862 core.Map<core.String, core.Object> userAgent; |
820 | 863 |
821 /** | 864 /** |
822 * Not documented yet. | 865 * |
823 * | 866 * |
824 * The values for Object must be JSON objects. It can consist of `num`, | 867 * The values for Object must be JSON objects. It can consist of `num`, |
825 * `String`, `bool` and `null` as well as `Map` and `List` values. | 868 * `String`, `bool` and `null` as well as `Map` and `List` values. |
826 */ | 869 */ |
827 core.Map<core.String, core.Object> version; | 870 core.Map<core.String, core.Object> version; |
828 | 871 |
829 /** Not documented yet. */ | |
830 core.List<WorkerPool> workerPools; | 872 core.List<WorkerPool> workerPools; |
831 | 873 |
832 | 874 |
833 Environment(); | 875 Environment(); |
834 | 876 |
835 Environment.fromJson(core.Map _json) { | 877 Environment.fromJson(core.Map _json) { |
836 if (_json.containsKey("clusterManagerApiService")) { | 878 if (_json.containsKey("clusterManagerApiService")) { |
837 clusterManagerApiService = _json["clusterManagerApiService"]; | 879 clusterManagerApiService = _json["clusterManagerApiService"]; |
838 } | 880 } |
839 if (_json.containsKey("dataset")) { | 881 if (_json.containsKey("dataset")) { |
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
883 _json["version"] = version; | 925 _json["version"] = version; |
884 } | 926 } |
885 if (workerPools != null) { | 927 if (workerPools != null) { |
886 _json["workerPools"] = workerPools.map((value) => (value).toJson()).toList
(); | 928 _json["workerPools"] = workerPools.map((value) => (value).toJson()).toList
(); |
887 } | 929 } |
888 return _json; | 930 return _json; |
889 } | 931 } |
890 } | 932 } |
891 | 933 |
892 | 934 |
893 /** Not documented yet. */ | |
894 class FlattenInstruction { | 935 class FlattenInstruction { |
895 /** Not documented yet. */ | |
896 core.List<InstructionInput> inputs; | 936 core.List<InstructionInput> inputs; |
897 | 937 |
898 | 938 |
899 FlattenInstruction(); | 939 FlattenInstruction(); |
900 | 940 |
901 FlattenInstruction.fromJson(core.Map _json) { | 941 FlattenInstruction.fromJson(core.Map _json) { |
902 if (_json.containsKey("inputs")) { | 942 if (_json.containsKey("inputs")) { |
903 inputs = _json["inputs"].map((value) => new InstructionInput.fromJson(valu
e)).toList(); | 943 inputs = _json["inputs"].map((value) => new InstructionInput.fromJson(valu
e)).toList(); |
904 } | 944 } |
905 } | 945 } |
906 | 946 |
907 core.Map toJson() { | 947 core.Map toJson() { |
908 var _json = new core.Map(); | 948 var _json = new core.Map(); |
909 if (inputs != null) { | 949 if (inputs != null) { |
910 _json["inputs"] = inputs.map((value) => (value).toJson()).toList(); | 950 _json["inputs"] = inputs.map((value) => (value).toJson()).toList(); |
911 } | 951 } |
912 return _json; | 952 return _json; |
913 } | 953 } |
914 } | 954 } |
915 | 955 |
916 | 956 |
917 /** Not documented yet. */ | |
918 class InstructionInput { | 957 class InstructionInput { |
919 /** Not documented yet. */ | |
920 core.int outputNum; | 958 core.int outputNum; |
921 | 959 |
922 /** Not documented yet. */ | |
923 core.int producerInstructionIndex; | 960 core.int producerInstructionIndex; |
924 | 961 |
925 | 962 |
926 InstructionInput(); | 963 InstructionInput(); |
927 | 964 |
928 InstructionInput.fromJson(core.Map _json) { | 965 InstructionInput.fromJson(core.Map _json) { |
929 if (_json.containsKey("outputNum")) { | 966 if (_json.containsKey("outputNum")) { |
930 outputNum = _json["outputNum"]; | 967 outputNum = _json["outputNum"]; |
931 } | 968 } |
932 if (_json.containsKey("producerInstructionIndex")) { | 969 if (_json.containsKey("producerInstructionIndex")) { |
933 producerInstructionIndex = _json["producerInstructionIndex"]; | 970 producerInstructionIndex = _json["producerInstructionIndex"]; |
934 } | 971 } |
935 } | 972 } |
936 | 973 |
937 core.Map toJson() { | 974 core.Map toJson() { |
938 var _json = new core.Map(); | 975 var _json = new core.Map(); |
939 if (outputNum != null) { | 976 if (outputNum != null) { |
940 _json["outputNum"] = outputNum; | 977 _json["outputNum"] = outputNum; |
941 } | 978 } |
942 if (producerInstructionIndex != null) { | 979 if (producerInstructionIndex != null) { |
943 _json["producerInstructionIndex"] = producerInstructionIndex; | 980 _json["producerInstructionIndex"] = producerInstructionIndex; |
944 } | 981 } |
945 return _json; | 982 return _json; |
946 } | 983 } |
947 } | 984 } |
948 | 985 |
949 | 986 |
950 /** Not documented yet. */ | |
951 class InstructionOutput { | 987 class InstructionOutput { |
952 /** | 988 /** |
953 * Not documented yet. | 989 * |
954 * | 990 * |
955 * The values for Object must be JSON objects. It can consist of `num`, | 991 * The values for Object must be JSON objects. It can consist of `num`, |
956 * `String`, `bool` and `null` as well as `Map` and `List` values. | 992 * `String`, `bool` and `null` as well as `Map` and `List` values. |
957 */ | 993 */ |
958 core.Map<core.String, core.Object> codec; | 994 core.Map<core.String, core.Object> codec; |
959 | 995 |
960 /** Not documented yet. */ | |
961 core.String name; | 996 core.String name; |
962 | 997 |
963 | 998 |
964 InstructionOutput(); | 999 InstructionOutput(); |
965 | 1000 |
966 InstructionOutput.fromJson(core.Map _json) { | 1001 InstructionOutput.fromJson(core.Map _json) { |
967 if (_json.containsKey("codec")) { | 1002 if (_json.containsKey("codec")) { |
968 codec = _json["codec"]; | 1003 codec = _json["codec"]; |
969 } | 1004 } |
970 if (_json.containsKey("name")) { | 1005 if (_json.containsKey("name")) { |
971 name = _json["name"]; | 1006 name = _json["name"]; |
972 } | 1007 } |
973 } | 1008 } |
974 | 1009 |
975 core.Map toJson() { | 1010 core.Map toJson() { |
976 var _json = new core.Map(); | 1011 var _json = new core.Map(); |
977 if (codec != null) { | 1012 if (codec != null) { |
978 _json["codec"] = codec; | 1013 _json["codec"] = codec; |
979 } | 1014 } |
980 if (name != null) { | 1015 if (name != null) { |
981 _json["name"] = name; | 1016 _json["name"] = name; |
982 } | 1017 } |
983 return _json; | 1018 return _json; |
984 } | 1019 } |
985 } | 1020 } |
986 | 1021 |
987 | 1022 |
988 /** Not documented yet. */ | |
989 class Job { | 1023 class Job { |
990 /** Not documented yet. */ | |
991 core.String createTime; | 1024 core.String createTime; |
992 | 1025 |
993 /** | 1026 /** |
994 * Not documented yet. | 1027 * |
995 * Possible string values are: | 1028 * Possible string values are: |
996 * - "JOB_STATE_CANCELLED" | 1029 * - "JOB_STATE_CANCELLED" |
997 * - "JOB_STATE_DONE" | 1030 * - "JOB_STATE_DONE" |
998 * - "JOB_STATE_FAILED" | 1031 * - "JOB_STATE_FAILED" |
999 * - "JOB_STATE_RUNNING" | 1032 * - "JOB_STATE_RUNNING" |
1000 * - "JOB_STATE_STOPPED" | 1033 * - "JOB_STATE_STOPPED" |
1001 * - "JOB_STATE_UNKNOWN" | 1034 * - "JOB_STATE_UNKNOWN" |
1002 */ | 1035 */ |
1003 core.String currentState; | 1036 core.String currentState; |
1004 | 1037 |
1005 /** Not documented yet. */ | |
1006 core.String currentStateTime; | 1038 core.String currentStateTime; |
1007 | 1039 |
1008 /** Not documented yet. */ | |
1009 Environment environment; | 1040 Environment environment; |
1010 | 1041 |
1011 /** Not documented yet. */ | |
1012 JobExecutionInfo executionInfo; | 1042 JobExecutionInfo executionInfo; |
1013 | 1043 |
1014 /** Not documented yet. */ | |
1015 core.String id; | 1044 core.String id; |
1016 | 1045 |
1017 /** Not documented yet. */ | |
1018 core.String name; | 1046 core.String name; |
1019 | 1047 |
1020 /** Not documented yet. */ | |
1021 core.String projectId; | 1048 core.String projectId; |
1022 | 1049 |
1023 /** | 1050 /** |
1024 * Not documented yet. | 1051 * |
1025 * Possible string values are: | 1052 * Possible string values are: |
1026 * - "JOB_STATE_CANCELLED" | 1053 * - "JOB_STATE_CANCELLED" |
1027 * - "JOB_STATE_DONE" | 1054 * - "JOB_STATE_DONE" |
1028 * - "JOB_STATE_FAILED" | 1055 * - "JOB_STATE_FAILED" |
1029 * - "JOB_STATE_RUNNING" | 1056 * - "JOB_STATE_RUNNING" |
1030 * - "JOB_STATE_STOPPED" | 1057 * - "JOB_STATE_STOPPED" |
1031 * - "JOB_STATE_UNKNOWN" | 1058 * - "JOB_STATE_UNKNOWN" |
1032 */ | 1059 */ |
1033 core.String requestedState; | 1060 core.String requestedState; |
1034 | 1061 |
1035 /** Not documented yet. */ | |
1036 core.List<Step> steps; | 1062 core.List<Step> steps; |
1037 | 1063 |
1038 /** | 1064 /** |
1039 * Not documented yet. | 1065 * |
1040 * Possible string values are: | 1066 * Possible string values are: |
1041 * - "JOB_TYPE_BATCH" | 1067 * - "JOB_TYPE_BATCH" |
1042 * - "JOB_TYPE_STREAMING" | 1068 * - "JOB_TYPE_STREAMING" |
1043 * - "JOB_TYPE_UNKNOWN" | 1069 * - "JOB_TYPE_UNKNOWN" |
1044 */ | 1070 */ |
1045 core.String type; | 1071 core.String type; |
1046 | 1072 |
1047 | 1073 |
1048 Job(); | 1074 Job(); |
1049 | 1075 |
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1116 _json["steps"] = steps.map((value) => (value).toJson()).toList(); | 1142 _json["steps"] = steps.map((value) => (value).toJson()).toList(); |
1117 } | 1143 } |
1118 if (type != null) { | 1144 if (type != null) { |
1119 _json["type"] = type; | 1145 _json["type"] = type; |
1120 } | 1146 } |
1121 return _json; | 1147 return _json; |
1122 } | 1148 } |
1123 } | 1149 } |
1124 | 1150 |
1125 | 1151 |
1126 /** Not documented yet. */ | |
1127 class JobExecutionInfo { | 1152 class JobExecutionInfo { |
1128 /** Not documented yet. */ | |
1129 core.Map<core.String, JobExecutionStageInfo> stages; | 1153 core.Map<core.String, JobExecutionStageInfo> stages; |
1130 | 1154 |
1131 | 1155 |
1132 JobExecutionInfo(); | 1156 JobExecutionInfo(); |
1133 | 1157 |
1134 JobExecutionInfo.fromJson(core.Map _json) { | 1158 JobExecutionInfo.fromJson(core.Map _json) { |
1135 if (_json.containsKey("stages")) { | 1159 if (_json.containsKey("stages")) { |
1136 stages = common_internal.mapMap(_json["stages"], (item) => new JobExecutio
nStageInfo.fromJson(item)); | 1160 stages = commons.mapMap(_json["stages"], (item) => new JobExecutionStageIn
fo.fromJson(item)); |
1137 } | 1161 } |
1138 } | 1162 } |
1139 | 1163 |
1140 core.Map toJson() { | 1164 core.Map toJson() { |
1141 var _json = new core.Map(); | 1165 var _json = new core.Map(); |
1142 if (stages != null) { | 1166 if (stages != null) { |
1143 _json["stages"] = common_internal.mapMap(stages, (item) => (item).toJson()
); | 1167 _json["stages"] = commons.mapMap(stages, (item) => (item).toJson()); |
1144 } | 1168 } |
1145 return _json; | 1169 return _json; |
1146 } | 1170 } |
1147 } | 1171 } |
1148 | 1172 |
1149 | 1173 |
1150 /** Not documented yet. */ | |
1151 class JobExecutionStageInfo { | 1174 class JobExecutionStageInfo { |
1152 /** Not documented yet. */ | |
1153 core.List<core.String> stepName; | 1175 core.List<core.String> stepName; |
1154 | 1176 |
1155 | 1177 |
1156 JobExecutionStageInfo(); | 1178 JobExecutionStageInfo(); |
1157 | 1179 |
1158 JobExecutionStageInfo.fromJson(core.Map _json) { | 1180 JobExecutionStageInfo.fromJson(core.Map _json) { |
1159 if (_json.containsKey("stepName")) { | 1181 if (_json.containsKey("stepName")) { |
1160 stepName = _json["stepName"]; | 1182 stepName = _json["stepName"]; |
1161 } | 1183 } |
1162 } | 1184 } |
1163 | 1185 |
1164 core.Map toJson() { | 1186 core.Map toJson() { |
1165 var _json = new core.Map(); | 1187 var _json = new core.Map(); |
1166 if (stepName != null) { | 1188 if (stepName != null) { |
1167 _json["stepName"] = stepName; | 1189 _json["stepName"] = stepName; |
1168 } | 1190 } |
1169 return _json; | 1191 return _json; |
1170 } | 1192 } |
1171 } | 1193 } |
1172 | 1194 |
1173 | 1195 |
1174 /** Not documented yet. */ | |
1175 class JobMessage { | 1196 class JobMessage { |
1176 /** Not documented yet. */ | |
1177 core.String id; | 1197 core.String id; |
1178 | 1198 |
1179 /** | 1199 /** |
1180 * Not documented yet. | 1200 * |
1181 * Possible string values are: | 1201 * Possible string values are: |
1182 * - "JOB_MESSAGE_DEBUG" | 1202 * - "JOB_MESSAGE_DEBUG" |
1183 * - "JOB_MESSAGE_DETAILED" | 1203 * - "JOB_MESSAGE_DETAILED" |
1184 * - "JOB_MESSAGE_ERROR" | 1204 * - "JOB_MESSAGE_ERROR" |
1185 * - "JOB_MESSAGE_IMPORTANCE_UNKNOWN" | 1205 * - "JOB_MESSAGE_IMPORTANCE_UNKNOWN" |
1186 * - "JOB_MESSAGE_WARNING" | 1206 * - "JOB_MESSAGE_WARNING" |
1187 */ | 1207 */ |
1188 core.String messageImportance; | 1208 core.String messageImportance; |
1189 | 1209 |
1190 /** Not documented yet. */ | |
1191 core.String messageText; | 1210 core.String messageText; |
1192 | 1211 |
1193 /** Not documented yet. */ | |
1194 core.String time; | 1212 core.String time; |
1195 | 1213 |
1196 | 1214 |
1197 JobMessage(); | 1215 JobMessage(); |
1198 | 1216 |
1199 JobMessage.fromJson(core.Map _json) { | 1217 JobMessage.fromJson(core.Map _json) { |
1200 if (_json.containsKey("id")) { | 1218 if (_json.containsKey("id")) { |
1201 id = _json["id"]; | 1219 id = _json["id"]; |
1202 } | 1220 } |
1203 if (_json.containsKey("messageImportance")) { | 1221 if (_json.containsKey("messageImportance")) { |
(...skipping 19 matching lines...) Expand all Loading... |
1223 _json["messageText"] = messageText; | 1241 _json["messageText"] = messageText; |
1224 } | 1242 } |
1225 if (time != null) { | 1243 if (time != null) { |
1226 _json["time"] = time; | 1244 _json["time"] = time; |
1227 } | 1245 } |
1228 return _json; | 1246 return _json; |
1229 } | 1247 } |
1230 } | 1248 } |
1231 | 1249 |
1232 | 1250 |
1233 /** Not documented yet. */ | |
1234 class JobMetrics { | 1251 class JobMetrics { |
1235 /** Not documented yet. */ | |
1236 core.String metricTime; | 1252 core.String metricTime; |
1237 | 1253 |
1238 /** Not documented yet. */ | |
1239 core.List<MetricUpdate> metrics; | 1254 core.List<MetricUpdate> metrics; |
1240 | 1255 |
1241 | 1256 |
1242 JobMetrics(); | 1257 JobMetrics(); |
1243 | 1258 |
1244 JobMetrics.fromJson(core.Map _json) { | 1259 JobMetrics.fromJson(core.Map _json) { |
1245 if (_json.containsKey("metricTime")) { | 1260 if (_json.containsKey("metricTime")) { |
1246 metricTime = _json["metricTime"]; | 1261 metricTime = _json["metricTime"]; |
1247 } | 1262 } |
1248 if (_json.containsKey("metrics")) { | 1263 if (_json.containsKey("metrics")) { |
1249 metrics = _json["metrics"].map((value) => new MetricUpdate.fromJson(value)
).toList(); | 1264 metrics = _json["metrics"].map((value) => new MetricUpdate.fromJson(value)
).toList(); |
1250 } | 1265 } |
1251 } | 1266 } |
1252 | 1267 |
1253 core.Map toJson() { | 1268 core.Map toJson() { |
1254 var _json = new core.Map(); | 1269 var _json = new core.Map(); |
1255 if (metricTime != null) { | 1270 if (metricTime != null) { |
1256 _json["metricTime"] = metricTime; | 1271 _json["metricTime"] = metricTime; |
1257 } | 1272 } |
1258 if (metrics != null) { | 1273 if (metrics != null) { |
1259 _json["metrics"] = metrics.map((value) => (value).toJson()).toList(); | 1274 _json["metrics"] = metrics.map((value) => (value).toJson()).toList(); |
1260 } | 1275 } |
1261 return _json; | 1276 return _json; |
1262 } | 1277 } |
1263 } | 1278 } |
1264 | 1279 |
1265 | 1280 |
1266 /** Not documented yet. */ | 1281 class KeyRangeDataDiskAssignment { |
1267 class KeyRangeLocation { | |
1268 /** Not documented yet. */ | |
1269 core.String dataDisk; | 1282 core.String dataDisk; |
1270 | 1283 |
1271 /** Not documented yet. */ | |
1272 core.String deliveryEndpoint; | |
1273 | |
1274 /** Not documented yet. */ | |
1275 core.String end; | 1284 core.String end; |
1276 | 1285 |
1277 /** Not documented yet. */ | |
1278 core.String persistentDirectory; | |
1279 | |
1280 /** Not documented yet. */ | |
1281 core.String start; | 1286 core.String start; |
1282 | 1287 |
1283 | 1288 |
| 1289 KeyRangeDataDiskAssignment(); |
| 1290 |
| 1291 KeyRangeDataDiskAssignment.fromJson(core.Map _json) { |
| 1292 if (_json.containsKey("dataDisk")) { |
| 1293 dataDisk = _json["dataDisk"]; |
| 1294 } |
| 1295 if (_json.containsKey("end")) { |
| 1296 end = _json["end"]; |
| 1297 } |
| 1298 if (_json.containsKey("start")) { |
| 1299 start = _json["start"]; |
| 1300 } |
| 1301 } |
| 1302 |
| 1303 core.Map toJson() { |
| 1304 var _json = new core.Map(); |
| 1305 if (dataDisk != null) { |
| 1306 _json["dataDisk"] = dataDisk; |
| 1307 } |
| 1308 if (end != null) { |
| 1309 _json["end"] = end; |
| 1310 } |
| 1311 if (start != null) { |
| 1312 _json["start"] = start; |
| 1313 } |
| 1314 return _json; |
| 1315 } |
| 1316 } |
| 1317 |
| 1318 |
| 1319 class KeyRangeLocation { |
| 1320 core.String dataDisk; |
| 1321 |
| 1322 core.String deliveryEndpoint; |
| 1323 |
| 1324 core.String end; |
| 1325 |
| 1326 core.String persistentDirectory; |
| 1327 |
| 1328 core.String start; |
| 1329 |
| 1330 |
1284 KeyRangeLocation(); | 1331 KeyRangeLocation(); |
1285 | 1332 |
1286 KeyRangeLocation.fromJson(core.Map _json) { | 1333 KeyRangeLocation.fromJson(core.Map _json) { |
1287 if (_json.containsKey("dataDisk")) { | 1334 if (_json.containsKey("dataDisk")) { |
1288 dataDisk = _json["dataDisk"]; | 1335 dataDisk = _json["dataDisk"]; |
1289 } | 1336 } |
1290 if (_json.containsKey("deliveryEndpoint")) { | 1337 if (_json.containsKey("deliveryEndpoint")) { |
1291 deliveryEndpoint = _json["deliveryEndpoint"]; | 1338 deliveryEndpoint = _json["deliveryEndpoint"]; |
1292 } | 1339 } |
1293 if (_json.containsKey("end")) { | 1340 if (_json.containsKey("end")) { |
(...skipping 22 matching lines...) Expand all Loading... |
1316 _json["persistentDirectory"] = persistentDirectory; | 1363 _json["persistentDirectory"] = persistentDirectory; |
1317 } | 1364 } |
1318 if (start != null) { | 1365 if (start != null) { |
1319 _json["start"] = start; | 1366 _json["start"] = start; |
1320 } | 1367 } |
1321 return _json; | 1368 return _json; |
1322 } | 1369 } |
1323 } | 1370 } |
1324 | 1371 |
1325 | 1372 |
1326 /** Not documented yet. */ | |
1327 class LeaseWorkItemRequest { | 1373 class LeaseWorkItemRequest { |
1328 /** Not documented yet. */ | |
1329 core.String currentWorkerTime; | 1374 core.String currentWorkerTime; |
1330 | 1375 |
1331 /** Not documented yet. */ | |
1332 core.String requestedLeaseDuration; | 1376 core.String requestedLeaseDuration; |
1333 | 1377 |
1334 /** Not documented yet. */ | |
1335 core.List<core.String> workItemTypes; | 1378 core.List<core.String> workItemTypes; |
1336 | 1379 |
1337 /** Not documented yet. */ | |
1338 core.List<core.String> workerCapabilities; | 1380 core.List<core.String> workerCapabilities; |
1339 | 1381 |
1340 /** Not documented yet. */ | |
1341 core.String workerId; | 1382 core.String workerId; |
1342 | 1383 |
1343 | 1384 |
1344 LeaseWorkItemRequest(); | 1385 LeaseWorkItemRequest(); |
1345 | 1386 |
1346 LeaseWorkItemRequest.fromJson(core.Map _json) { | 1387 LeaseWorkItemRequest.fromJson(core.Map _json) { |
1347 if (_json.containsKey("currentWorkerTime")) { | 1388 if (_json.containsKey("currentWorkerTime")) { |
1348 currentWorkerTime = _json["currentWorkerTime"]; | 1389 currentWorkerTime = _json["currentWorkerTime"]; |
1349 } | 1390 } |
1350 if (_json.containsKey("requestedLeaseDuration")) { | 1391 if (_json.containsKey("requestedLeaseDuration")) { |
(...skipping 25 matching lines...) Expand all Loading... |
1376 _json["workerCapabilities"] = workerCapabilities; | 1417 _json["workerCapabilities"] = workerCapabilities; |
1377 } | 1418 } |
1378 if (workerId != null) { | 1419 if (workerId != null) { |
1379 _json["workerId"] = workerId; | 1420 _json["workerId"] = workerId; |
1380 } | 1421 } |
1381 return _json; | 1422 return _json; |
1382 } | 1423 } |
1383 } | 1424 } |
1384 | 1425 |
1385 | 1426 |
1386 /** Not documented yet. */ | |
1387 class LeaseWorkItemResponse { | 1427 class LeaseWorkItemResponse { |
1388 /** Not documented yet. */ | |
1389 core.List<WorkItem> workItems; | 1428 core.List<WorkItem> workItems; |
1390 | 1429 |
1391 | 1430 |
1392 LeaseWorkItemResponse(); | 1431 LeaseWorkItemResponse(); |
1393 | 1432 |
1394 LeaseWorkItemResponse.fromJson(core.Map _json) { | 1433 LeaseWorkItemResponse.fromJson(core.Map _json) { |
1395 if (_json.containsKey("workItems")) { | 1434 if (_json.containsKey("workItems")) { |
1396 workItems = _json["workItems"].map((value) => new WorkItem.fromJson(value)
).toList(); | 1435 workItems = _json["workItems"].map((value) => new WorkItem.fromJson(value)
).toList(); |
1397 } | 1436 } |
1398 } | 1437 } |
1399 | 1438 |
1400 core.Map toJson() { | 1439 core.Map toJson() { |
1401 var _json = new core.Map(); | 1440 var _json = new core.Map(); |
1402 if (workItems != null) { | 1441 if (workItems != null) { |
1403 _json["workItems"] = workItems.map((value) => (value).toJson()).toList(); | 1442 _json["workItems"] = workItems.map((value) => (value).toJson()).toList(); |
1404 } | 1443 } |
1405 return _json; | 1444 return _json; |
1406 } | 1445 } |
1407 } | 1446 } |
1408 | 1447 |
1409 | 1448 |
1410 /** Not documented yet. */ | |
1411 class ListJobMessagesResponse { | 1449 class ListJobMessagesResponse { |
1412 /** Not documented yet. */ | |
1413 core.List<JobMessage> jobMessages; | 1450 core.List<JobMessage> jobMessages; |
1414 | 1451 |
1415 /** Not documented yet. */ | |
1416 core.String nextPageToken; | 1452 core.String nextPageToken; |
1417 | 1453 |
1418 | 1454 |
1419 ListJobMessagesResponse(); | 1455 ListJobMessagesResponse(); |
1420 | 1456 |
1421 ListJobMessagesResponse.fromJson(core.Map _json) { | 1457 ListJobMessagesResponse.fromJson(core.Map _json) { |
1422 if (_json.containsKey("jobMessages")) { | 1458 if (_json.containsKey("jobMessages")) { |
1423 jobMessages = _json["jobMessages"].map((value) => new JobMessage.fromJson(
value)).toList(); | 1459 jobMessages = _json["jobMessages"].map((value) => new JobMessage.fromJson(
value)).toList(); |
1424 } | 1460 } |
1425 if (_json.containsKey("nextPageToken")) { | 1461 if (_json.containsKey("nextPageToken")) { |
1426 nextPageToken = _json["nextPageToken"]; | 1462 nextPageToken = _json["nextPageToken"]; |
1427 } | 1463 } |
1428 } | 1464 } |
1429 | 1465 |
1430 core.Map toJson() { | 1466 core.Map toJson() { |
1431 var _json = new core.Map(); | 1467 var _json = new core.Map(); |
1432 if (jobMessages != null) { | 1468 if (jobMessages != null) { |
1433 _json["jobMessages"] = jobMessages.map((value) => (value).toJson()).toList
(); | 1469 _json["jobMessages"] = jobMessages.map((value) => (value).toJson()).toList
(); |
1434 } | 1470 } |
1435 if (nextPageToken != null) { | 1471 if (nextPageToken != null) { |
1436 _json["nextPageToken"] = nextPageToken; | 1472 _json["nextPageToken"] = nextPageToken; |
1437 } | 1473 } |
1438 return _json; | 1474 return _json; |
1439 } | 1475 } |
1440 } | 1476 } |
1441 | 1477 |
1442 | 1478 |
1443 /** Not documented yet. */ | |
1444 class ListJobsResponse { | 1479 class ListJobsResponse { |
1445 /** Not documented yet. */ | |
1446 core.List<Job> jobs; | 1480 core.List<Job> jobs; |
1447 | 1481 |
1448 /** Not documented yet. */ | |
1449 core.String nextPageToken; | 1482 core.String nextPageToken; |
1450 | 1483 |
1451 | 1484 |
1452 ListJobsResponse(); | 1485 ListJobsResponse(); |
1453 | 1486 |
1454 ListJobsResponse.fromJson(core.Map _json) { | 1487 ListJobsResponse.fromJson(core.Map _json) { |
1455 if (_json.containsKey("jobs")) { | 1488 if (_json.containsKey("jobs")) { |
1456 jobs = _json["jobs"].map((value) => new Job.fromJson(value)).toList(); | 1489 jobs = _json["jobs"].map((value) => new Job.fromJson(value)).toList(); |
1457 } | 1490 } |
1458 if (_json.containsKey("nextPageToken")) { | 1491 if (_json.containsKey("nextPageToken")) { |
1459 nextPageToken = _json["nextPageToken"]; | 1492 nextPageToken = _json["nextPageToken"]; |
1460 } | 1493 } |
1461 } | 1494 } |
1462 | 1495 |
1463 core.Map toJson() { | 1496 core.Map toJson() { |
1464 var _json = new core.Map(); | 1497 var _json = new core.Map(); |
1465 if (jobs != null) { | 1498 if (jobs != null) { |
1466 _json["jobs"] = jobs.map((value) => (value).toJson()).toList(); | 1499 _json["jobs"] = jobs.map((value) => (value).toJson()).toList(); |
1467 } | 1500 } |
1468 if (nextPageToken != null) { | 1501 if (nextPageToken != null) { |
1469 _json["nextPageToken"] = nextPageToken; | 1502 _json["nextPageToken"] = nextPageToken; |
1470 } | 1503 } |
1471 return _json; | 1504 return _json; |
1472 } | 1505 } |
1473 } | 1506 } |
1474 | 1507 |
1475 | 1508 |
1476 /** Not documented yet. */ | |
1477 class MapTask { | 1509 class MapTask { |
1478 /** Not documented yet. */ | |
1479 core.List<ParallelInstruction> instructions; | 1510 core.List<ParallelInstruction> instructions; |
1480 | 1511 |
1481 /** Not documented yet. */ | |
1482 core.String stageName; | 1512 core.String stageName; |
1483 | 1513 |
1484 /** Not documented yet. */ | |
1485 core.String systemName; | 1514 core.String systemName; |
1486 | 1515 |
1487 | 1516 |
1488 MapTask(); | 1517 MapTask(); |
1489 | 1518 |
1490 MapTask.fromJson(core.Map _json) { | 1519 MapTask.fromJson(core.Map _json) { |
1491 if (_json.containsKey("instructions")) { | 1520 if (_json.containsKey("instructions")) { |
1492 instructions = _json["instructions"].map((value) => new ParallelInstructio
n.fromJson(value)).toList(); | 1521 instructions = _json["instructions"].map((value) => new ParallelInstructio
n.fromJson(value)).toList(); |
1493 } | 1522 } |
1494 if (_json.containsKey("stageName")) { | 1523 if (_json.containsKey("stageName")) { |
(...skipping 13 matching lines...) Expand all Loading... |
1508 _json["stageName"] = stageName; | 1537 _json["stageName"] = stageName; |
1509 } | 1538 } |
1510 if (systemName != null) { | 1539 if (systemName != null) { |
1511 _json["systemName"] = systemName; | 1540 _json["systemName"] = systemName; |
1512 } | 1541 } |
1513 return _json; | 1542 return _json; |
1514 } | 1543 } |
1515 } | 1544 } |
1516 | 1545 |
1517 | 1546 |
1518 /** Not documented yet. */ | |
1519 class MetricStructuredName { | 1547 class MetricStructuredName { |
1520 /** Not documented yet. */ | |
1521 core.Map<core.String, core.String> context; | 1548 core.Map<core.String, core.String> context; |
1522 | 1549 |
1523 /** Not documented yet. */ | |
1524 core.String name; | 1550 core.String name; |
1525 | 1551 |
1526 /** Not documented yet. */ | |
1527 core.String origin; | 1552 core.String origin; |
1528 | 1553 |
1529 | 1554 |
1530 MetricStructuredName(); | 1555 MetricStructuredName(); |
1531 | 1556 |
1532 MetricStructuredName.fromJson(core.Map _json) { | 1557 MetricStructuredName.fromJson(core.Map _json) { |
1533 if (_json.containsKey("context")) { | 1558 if (_json.containsKey("context")) { |
1534 context = _json["context"]; | 1559 context = _json["context"]; |
1535 } | 1560 } |
1536 if (_json.containsKey("name")) { | 1561 if (_json.containsKey("name")) { |
(...skipping 13 matching lines...) Expand all Loading... |
1550 _json["name"] = name; | 1575 _json["name"] = name; |
1551 } | 1576 } |
1552 if (origin != null) { | 1577 if (origin != null) { |
1553 _json["origin"] = origin; | 1578 _json["origin"] = origin; |
1554 } | 1579 } |
1555 return _json; | 1580 return _json; |
1556 } | 1581 } |
1557 } | 1582 } |
1558 | 1583 |
1559 | 1584 |
1560 /** Not documented yet. */ | |
1561 class MetricUpdate { | 1585 class MetricUpdate { |
1562 /** Not documented yet. */ | |
1563 core.bool cumulative; | 1586 core.bool cumulative; |
1564 | 1587 |
1565 /** Not documented yet. */ | |
1566 core.Object internal; | 1588 core.Object internal; |
1567 | 1589 |
1568 /** Not documented yet. */ | |
1569 core.String kind; | 1590 core.String kind; |
1570 | 1591 |
1571 /** Not documented yet. */ | |
1572 core.Object meanCount; | 1592 core.Object meanCount; |
1573 | 1593 |
1574 /** Not documented yet. */ | |
1575 core.Object meanSum; | 1594 core.Object meanSum; |
1576 | 1595 |
1577 /** Not documented yet. */ | |
1578 MetricStructuredName name; | 1596 MetricStructuredName name; |
1579 | 1597 |
1580 /** Not documented yet. */ | |
1581 core.Object scalar; | 1598 core.Object scalar; |
1582 | 1599 |
1583 /** Not documented yet. */ | |
1584 core.Object set; | 1600 core.Object set; |
1585 | 1601 |
1586 /** Not documented yet. */ | |
1587 core.String updateTime; | 1602 core.String updateTime; |
1588 | 1603 |
1589 | 1604 |
1590 MetricUpdate(); | 1605 MetricUpdate(); |
1591 | 1606 |
1592 MetricUpdate.fromJson(core.Map _json) { | 1607 MetricUpdate.fromJson(core.Map _json) { |
1593 if (_json.containsKey("cumulative")) { | 1608 if (_json.containsKey("cumulative")) { |
1594 cumulative = _json["cumulative"]; | 1609 cumulative = _json["cumulative"]; |
1595 } | 1610 } |
1596 if (_json.containsKey("internal")) { | 1611 if (_json.containsKey("internal")) { |
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1646 _json["set"] = set; | 1661 _json["set"] = set; |
1647 } | 1662 } |
1648 if (updateTime != null) { | 1663 if (updateTime != null) { |
1649 _json["updateTime"] = updateTime; | 1664 _json["updateTime"] = updateTime; |
1650 } | 1665 } |
1651 return _json; | 1666 return _json; |
1652 } | 1667 } |
1653 } | 1668 } |
1654 | 1669 |
1655 | 1670 |
1656 /** Not documented yet. */ | 1671 class MountedDataDisk { |
| 1672 core.String dataDisk; |
| 1673 |
| 1674 |
| 1675 MountedDataDisk(); |
| 1676 |
| 1677 MountedDataDisk.fromJson(core.Map _json) { |
| 1678 if (_json.containsKey("dataDisk")) { |
| 1679 dataDisk = _json["dataDisk"]; |
| 1680 } |
| 1681 } |
| 1682 |
| 1683 core.Map toJson() { |
| 1684 var _json = new core.Map(); |
| 1685 if (dataDisk != null) { |
| 1686 _json["dataDisk"] = dataDisk; |
| 1687 } |
| 1688 return _json; |
| 1689 } |
| 1690 } |
| 1691 |
| 1692 |
1657 class MultiOutputInfo { | 1693 class MultiOutputInfo { |
1658 /** Not documented yet. */ | |
1659 core.String tag; | 1694 core.String tag; |
1660 | 1695 |
1661 | 1696 |
1662 MultiOutputInfo(); | 1697 MultiOutputInfo(); |
1663 | 1698 |
1664 MultiOutputInfo.fromJson(core.Map _json) { | 1699 MultiOutputInfo.fromJson(core.Map _json) { |
1665 if (_json.containsKey("tag")) { | 1700 if (_json.containsKey("tag")) { |
1666 tag = _json["tag"]; | 1701 tag = _json["tag"]; |
1667 } | 1702 } |
1668 } | 1703 } |
1669 | 1704 |
1670 core.Map toJson() { | 1705 core.Map toJson() { |
1671 var _json = new core.Map(); | 1706 var _json = new core.Map(); |
1672 if (tag != null) { | 1707 if (tag != null) { |
1673 _json["tag"] = tag; | 1708 _json["tag"] = tag; |
1674 } | 1709 } |
1675 return _json; | 1710 return _json; |
1676 } | 1711 } |
1677 } | 1712 } |
1678 | 1713 |
1679 | 1714 |
1680 /** Not documented yet. */ | |
1681 class Package { | 1715 class Package { |
1682 /** Not documented yet. */ | |
1683 core.String location; | 1716 core.String location; |
1684 | 1717 |
1685 /** Not documented yet. */ | |
1686 core.String name; | 1718 core.String name; |
1687 | 1719 |
1688 | 1720 |
1689 Package(); | 1721 Package(); |
1690 | 1722 |
1691 Package.fromJson(core.Map _json) { | 1723 Package.fromJson(core.Map _json) { |
1692 if (_json.containsKey("location")) { | 1724 if (_json.containsKey("location")) { |
1693 location = _json["location"]; | 1725 location = _json["location"]; |
1694 } | 1726 } |
1695 if (_json.containsKey("name")) { | 1727 if (_json.containsKey("name")) { |
1696 name = _json["name"]; | 1728 name = _json["name"]; |
1697 } | 1729 } |
1698 } | 1730 } |
1699 | 1731 |
1700 core.Map toJson() { | 1732 core.Map toJson() { |
1701 var _json = new core.Map(); | 1733 var _json = new core.Map(); |
1702 if (location != null) { | 1734 if (location != null) { |
1703 _json["location"] = location; | 1735 _json["location"] = location; |
1704 } | 1736 } |
1705 if (name != null) { | 1737 if (name != null) { |
1706 _json["name"] = name; | 1738 _json["name"] = name; |
1707 } | 1739 } |
1708 return _json; | 1740 return _json; |
1709 } | 1741 } |
1710 } | 1742 } |
1711 | 1743 |
1712 | 1744 |
1713 /** Not documented yet. */ | |
1714 class ParDoInstruction { | 1745 class ParDoInstruction { |
1715 /** Not documented yet. */ | |
1716 InstructionInput input; | 1746 InstructionInput input; |
1717 | 1747 |
1718 /** Not documented yet. */ | |
1719 core.List<MultiOutputInfo> multiOutputInfos; | 1748 core.List<MultiOutputInfo> multiOutputInfos; |
1720 | 1749 |
1721 /** Not documented yet. */ | |
1722 core.int numOutputs; | 1750 core.int numOutputs; |
1723 | 1751 |
1724 /** Not documented yet. */ | |
1725 core.List<SideInputInfo> sideInputs; | 1752 core.List<SideInputInfo> sideInputs; |
1726 | 1753 |
1727 /** | 1754 /** |
1728 * Not documented yet. | 1755 * |
1729 * | 1756 * |
1730 * The values for Object must be JSON objects. It can consist of `num`, | 1757 * The values for Object must be JSON objects. It can consist of `num`, |
1731 * `String`, `bool` and `null` as well as `Map` and `List` values. | 1758 * `String`, `bool` and `null` as well as `Map` and `List` values. |
1732 */ | 1759 */ |
1733 core.Map<core.String, core.Object> userFn; | 1760 core.Map<core.String, core.Object> userFn; |
1734 | 1761 |
1735 | 1762 |
1736 ParDoInstruction(); | 1763 ParDoInstruction(); |
1737 | 1764 |
1738 ParDoInstruction.fromJson(core.Map _json) { | 1765 ParDoInstruction.fromJson(core.Map _json) { |
(...skipping 29 matching lines...) Expand all Loading... |
1768 _json["sideInputs"] = sideInputs.map((value) => (value).toJson()).toList()
; | 1795 _json["sideInputs"] = sideInputs.map((value) => (value).toJson()).toList()
; |
1769 } | 1796 } |
1770 if (userFn != null) { | 1797 if (userFn != null) { |
1771 _json["userFn"] = userFn; | 1798 _json["userFn"] = userFn; |
1772 } | 1799 } |
1773 return _json; | 1800 return _json; |
1774 } | 1801 } |
1775 } | 1802 } |
1776 | 1803 |
1777 | 1804 |
1778 /** Not documented yet. */ | |
1779 class ParallelInstruction { | 1805 class ParallelInstruction { |
1780 /** Not documented yet. */ | |
1781 FlattenInstruction flatten; | 1806 FlattenInstruction flatten; |
1782 | 1807 |
1783 /** Not documented yet. */ | |
1784 core.String name; | 1808 core.String name; |
1785 | 1809 |
1786 /** Not documented yet. */ | |
1787 core.List<InstructionOutput> outputs; | 1810 core.List<InstructionOutput> outputs; |
1788 | 1811 |
1789 /** Not documented yet. */ | |
1790 ParDoInstruction parDo; | 1812 ParDoInstruction parDo; |
1791 | 1813 |
1792 /** Not documented yet. */ | |
1793 PartialGroupByKeyInstruction partialGroupByKey; | 1814 PartialGroupByKeyInstruction partialGroupByKey; |
1794 | 1815 |
1795 /** Not documented yet. */ | |
1796 ReadInstruction read; | 1816 ReadInstruction read; |
1797 | 1817 |
1798 /** Not documented yet. */ | |
1799 core.String systemName; | 1818 core.String systemName; |
1800 | 1819 |
1801 /** Not documented yet. */ | |
1802 WriteInstruction write; | 1820 WriteInstruction write; |
1803 | 1821 |
1804 | 1822 |
1805 ParallelInstruction(); | 1823 ParallelInstruction(); |
1806 | 1824 |
1807 ParallelInstruction.fromJson(core.Map _json) { | 1825 ParallelInstruction.fromJson(core.Map _json) { |
1808 if (_json.containsKey("flatten")) { | 1826 if (_json.containsKey("flatten")) { |
1809 flatten = new FlattenInstruction.fromJson(_json["flatten"]); | 1827 flatten = new FlattenInstruction.fromJson(_json["flatten"]); |
1810 } | 1828 } |
1811 if (_json.containsKey("name")) { | 1829 if (_json.containsKey("name")) { |
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1855 _json["systemName"] = systemName; | 1873 _json["systemName"] = systemName; |
1856 } | 1874 } |
1857 if (write != null) { | 1875 if (write != null) { |
1858 _json["write"] = (write).toJson(); | 1876 _json["write"] = (write).toJson(); |
1859 } | 1877 } |
1860 return _json; | 1878 return _json; |
1861 } | 1879 } |
1862 } | 1880 } |
1863 | 1881 |
1864 | 1882 |
1865 /** Not documented yet. */ | |
1866 class PartialGroupByKeyInstruction { | 1883 class PartialGroupByKeyInstruction { |
1867 /** Not documented yet. */ | |
1868 InstructionInput input; | 1884 InstructionInput input; |
1869 | 1885 |
1870 /** | 1886 /** |
1871 * Not documented yet. | 1887 * |
1872 * | 1888 * |
1873 * The values for Object must be JSON objects. It can consist of `num`, | 1889 * The values for Object must be JSON objects. It can consist of `num`, |
1874 * `String`, `bool` and `null` as well as `Map` and `List` values. | 1890 * `String`, `bool` and `null` as well as `Map` and `List` values. |
1875 */ | 1891 */ |
1876 core.Map<core.String, core.Object> inputElementCodec; | 1892 core.Map<core.String, core.Object> inputElementCodec; |
1877 | 1893 |
| 1894 /** |
| 1895 * |
| 1896 * |
| 1897 * The values for Object must be JSON objects. It can consist of `num`, |
| 1898 * `String`, `bool` and `null` as well as `Map` and `List` values. |
| 1899 */ |
| 1900 core.Map<core.String, core.Object> valueCombiningFn; |
| 1901 |
1878 | 1902 |
1879 PartialGroupByKeyInstruction(); | 1903 PartialGroupByKeyInstruction(); |
1880 | 1904 |
1881 PartialGroupByKeyInstruction.fromJson(core.Map _json) { | 1905 PartialGroupByKeyInstruction.fromJson(core.Map _json) { |
1882 if (_json.containsKey("input")) { | 1906 if (_json.containsKey("input")) { |
1883 input = new InstructionInput.fromJson(_json["input"]); | 1907 input = new InstructionInput.fromJson(_json["input"]); |
1884 } | 1908 } |
1885 if (_json.containsKey("inputElementCodec")) { | 1909 if (_json.containsKey("inputElementCodec")) { |
1886 inputElementCodec = _json["inputElementCodec"]; | 1910 inputElementCodec = _json["inputElementCodec"]; |
1887 } | 1911 } |
| 1912 if (_json.containsKey("valueCombiningFn")) { |
| 1913 valueCombiningFn = _json["valueCombiningFn"]; |
| 1914 } |
1888 } | 1915 } |
1889 | 1916 |
1890 core.Map toJson() { | 1917 core.Map toJson() { |
1891 var _json = new core.Map(); | 1918 var _json = new core.Map(); |
1892 if (input != null) { | 1919 if (input != null) { |
1893 _json["input"] = (input).toJson(); | 1920 _json["input"] = (input).toJson(); |
1894 } | 1921 } |
1895 if (inputElementCodec != null) { | 1922 if (inputElementCodec != null) { |
1896 _json["inputElementCodec"] = inputElementCodec; | 1923 _json["inputElementCodec"] = inputElementCodec; |
1897 } | 1924 } |
| 1925 if (valueCombiningFn != null) { |
| 1926 _json["valueCombiningFn"] = valueCombiningFn; |
| 1927 } |
1898 return _json; | 1928 return _json; |
1899 } | 1929 } |
1900 } | 1930 } |
1901 | 1931 |
1902 | 1932 |
1903 /** Not documented yet. */ | |
1904 class Position { | 1933 class Position { |
1905 /** Not documented yet. */ | |
1906 core.String byteOffset; | 1934 core.String byteOffset; |
1907 | 1935 |
1908 /** Not documented yet. */ | |
1909 core.bool end; | 1936 core.bool end; |
1910 | 1937 |
1911 /** Not documented yet. */ | |
1912 core.String key; | 1938 core.String key; |
1913 | 1939 |
1914 /** Not documented yet. */ | |
1915 core.String recordIndex; | 1940 core.String recordIndex; |
1916 | 1941 |
1917 /** Not documented yet. */ | |
1918 core.String shufflePosition; | 1942 core.String shufflePosition; |
1919 | 1943 |
1920 | 1944 |
1921 Position(); | 1945 Position(); |
1922 | 1946 |
1923 Position.fromJson(core.Map _json) { | 1947 Position.fromJson(core.Map _json) { |
1924 if (_json.containsKey("byteOffset")) { | 1948 if (_json.containsKey("byteOffset")) { |
1925 byteOffset = _json["byteOffset"]; | 1949 byteOffset = _json["byteOffset"]; |
1926 } | 1950 } |
1927 if (_json.containsKey("end")) { | 1951 if (_json.containsKey("end")) { |
(...skipping 25 matching lines...) Expand all Loading... |
1953 _json["recordIndex"] = recordIndex; | 1977 _json["recordIndex"] = recordIndex; |
1954 } | 1978 } |
1955 if (shufflePosition != null) { | 1979 if (shufflePosition != null) { |
1956 _json["shufflePosition"] = shufflePosition; | 1980 _json["shufflePosition"] = shufflePosition; |
1957 } | 1981 } |
1958 return _json; | 1982 return _json; |
1959 } | 1983 } |
1960 } | 1984 } |
1961 | 1985 |
1962 | 1986 |
1963 /** Not documented yet. */ | |
1964 class PubsubLocation { | 1987 class PubsubLocation { |
1965 /** Not documented yet. */ | |
1966 core.bool dropLateData; | 1988 core.bool dropLateData; |
1967 | 1989 |
1968 /** Not documented yet. */ | |
1969 core.String idLabel; | 1990 core.String idLabel; |
1970 | 1991 |
1971 /** Not documented yet. */ | |
1972 core.String subscription; | 1992 core.String subscription; |
1973 | 1993 |
1974 /** Not documented yet. */ | |
1975 core.String timestampLabel; | 1994 core.String timestampLabel; |
1976 | 1995 |
1977 /** Not documented yet. */ | |
1978 core.String topic; | 1996 core.String topic; |
1979 | 1997 |
| 1998 core.String trackingSubscription; |
| 1999 |
1980 | 2000 |
1981 PubsubLocation(); | 2001 PubsubLocation(); |
1982 | 2002 |
1983 PubsubLocation.fromJson(core.Map _json) { | 2003 PubsubLocation.fromJson(core.Map _json) { |
1984 if (_json.containsKey("dropLateData")) { | 2004 if (_json.containsKey("dropLateData")) { |
1985 dropLateData = _json["dropLateData"]; | 2005 dropLateData = _json["dropLateData"]; |
1986 } | 2006 } |
1987 if (_json.containsKey("idLabel")) { | 2007 if (_json.containsKey("idLabel")) { |
1988 idLabel = _json["idLabel"]; | 2008 idLabel = _json["idLabel"]; |
1989 } | 2009 } |
1990 if (_json.containsKey("subscription")) { | 2010 if (_json.containsKey("subscription")) { |
1991 subscription = _json["subscription"]; | 2011 subscription = _json["subscription"]; |
1992 } | 2012 } |
1993 if (_json.containsKey("timestampLabel")) { | 2013 if (_json.containsKey("timestampLabel")) { |
1994 timestampLabel = _json["timestampLabel"]; | 2014 timestampLabel = _json["timestampLabel"]; |
1995 } | 2015 } |
1996 if (_json.containsKey("topic")) { | 2016 if (_json.containsKey("topic")) { |
1997 topic = _json["topic"]; | 2017 topic = _json["topic"]; |
1998 } | 2018 } |
| 2019 if (_json.containsKey("trackingSubscription")) { |
| 2020 trackingSubscription = _json["trackingSubscription"]; |
| 2021 } |
1999 } | 2022 } |
2000 | 2023 |
2001 core.Map toJson() { | 2024 core.Map toJson() { |
2002 var _json = new core.Map(); | 2025 var _json = new core.Map(); |
2003 if (dropLateData != null) { | 2026 if (dropLateData != null) { |
2004 _json["dropLateData"] = dropLateData; | 2027 _json["dropLateData"] = dropLateData; |
2005 } | 2028 } |
2006 if (idLabel != null) { | 2029 if (idLabel != null) { |
2007 _json["idLabel"] = idLabel; | 2030 _json["idLabel"] = idLabel; |
2008 } | 2031 } |
2009 if (subscription != null) { | 2032 if (subscription != null) { |
2010 _json["subscription"] = subscription; | 2033 _json["subscription"] = subscription; |
2011 } | 2034 } |
2012 if (timestampLabel != null) { | 2035 if (timestampLabel != null) { |
2013 _json["timestampLabel"] = timestampLabel; | 2036 _json["timestampLabel"] = timestampLabel; |
2014 } | 2037 } |
2015 if (topic != null) { | 2038 if (topic != null) { |
2016 _json["topic"] = topic; | 2039 _json["topic"] = topic; |
2017 } | 2040 } |
| 2041 if (trackingSubscription != null) { |
| 2042 _json["trackingSubscription"] = trackingSubscription; |
| 2043 } |
2018 return _json; | 2044 return _json; |
2019 } | 2045 } |
2020 } | 2046 } |
2021 | 2047 |
2022 | 2048 |
2023 /** Not documented yet. */ | |
2024 class ReadInstruction { | 2049 class ReadInstruction { |
2025 /** Not documented yet. */ | |
2026 Source source; | 2050 Source source; |
2027 | 2051 |
2028 | 2052 |
2029 ReadInstruction(); | 2053 ReadInstruction(); |
2030 | 2054 |
2031 ReadInstruction.fromJson(core.Map _json) { | 2055 ReadInstruction.fromJson(core.Map _json) { |
2032 if (_json.containsKey("source")) { | 2056 if (_json.containsKey("source")) { |
2033 source = new Source.fromJson(_json["source"]); | 2057 source = new Source.fromJson(_json["source"]); |
2034 } | 2058 } |
2035 } | 2059 } |
2036 | 2060 |
2037 core.Map toJson() { | 2061 core.Map toJson() { |
2038 var _json = new core.Map(); | 2062 var _json = new core.Map(); |
2039 if (source != null) { | 2063 if (source != null) { |
2040 _json["source"] = (source).toJson(); | 2064 _json["source"] = (source).toJson(); |
2041 } | 2065 } |
2042 return _json; | 2066 return _json; |
2043 } | 2067 } |
2044 } | 2068 } |
2045 | 2069 |
2046 | 2070 |
2047 /** Not documented yet. */ | |
2048 class ReportWorkItemStatusRequest { | 2071 class ReportWorkItemStatusRequest { |
2049 /** Not documented yet. */ | |
2050 core.String currentWorkerTime; | 2072 core.String currentWorkerTime; |
2051 | 2073 |
2052 /** Not documented yet. */ | |
2053 core.List<WorkItemStatus> workItemStatuses; | 2074 core.List<WorkItemStatus> workItemStatuses; |
2054 | 2075 |
2055 /** Not documented yet. */ | |
2056 core.String workerId; | 2076 core.String workerId; |
2057 | 2077 |
2058 | 2078 |
2059 ReportWorkItemStatusRequest(); | 2079 ReportWorkItemStatusRequest(); |
2060 | 2080 |
2061 ReportWorkItemStatusRequest.fromJson(core.Map _json) { | 2081 ReportWorkItemStatusRequest.fromJson(core.Map _json) { |
2062 if (_json.containsKey("currentWorkerTime")) { | 2082 if (_json.containsKey("currentWorkerTime")) { |
2063 currentWorkerTime = _json["currentWorkerTime"]; | 2083 currentWorkerTime = _json["currentWorkerTime"]; |
2064 } | 2084 } |
2065 if (_json.containsKey("workItemStatuses")) { | 2085 if (_json.containsKey("workItemStatuses")) { |
(...skipping 13 matching lines...) Expand all Loading... |
2079 _json["workItemStatuses"] = workItemStatuses.map((value) => (value).toJson
()).toList(); | 2099 _json["workItemStatuses"] = workItemStatuses.map((value) => (value).toJson
()).toList(); |
2080 } | 2100 } |
2081 if (workerId != null) { | 2101 if (workerId != null) { |
2082 _json["workerId"] = workerId; | 2102 _json["workerId"] = workerId; |
2083 } | 2103 } |
2084 return _json; | 2104 return _json; |
2085 } | 2105 } |
2086 } | 2106 } |
2087 | 2107 |
2088 | 2108 |
2089 /** Not documented yet. */ | |
2090 class ReportWorkItemStatusResponse { | 2109 class ReportWorkItemStatusResponse { |
2091 /** Not documented yet. */ | |
2092 core.List<WorkItemServiceState> workItemServiceStates; | 2110 core.List<WorkItemServiceState> workItemServiceStates; |
2093 | 2111 |
2094 | 2112 |
2095 ReportWorkItemStatusResponse(); | 2113 ReportWorkItemStatusResponse(); |
2096 | 2114 |
2097 ReportWorkItemStatusResponse.fromJson(core.Map _json) { | 2115 ReportWorkItemStatusResponse.fromJson(core.Map _json) { |
2098 if (_json.containsKey("workItemServiceStates")) { | 2116 if (_json.containsKey("workItemServiceStates")) { |
2099 workItemServiceStates = _json["workItemServiceStates"].map((value) => new
WorkItemServiceState.fromJson(value)).toList(); | 2117 workItemServiceStates = _json["workItemServiceStates"].map((value) => new
WorkItemServiceState.fromJson(value)).toList(); |
2100 } | 2118 } |
2101 } | 2119 } |
2102 | 2120 |
2103 core.Map toJson() { | 2121 core.Map toJson() { |
2104 var _json = new core.Map(); | 2122 var _json = new core.Map(); |
2105 if (workItemServiceStates != null) { | 2123 if (workItemServiceStates != null) { |
2106 _json["workItemServiceStates"] = workItemServiceStates.map((value) => (val
ue).toJson()).toList(); | 2124 _json["workItemServiceStates"] = workItemServiceStates.map((value) => (val
ue).toJson()).toList(); |
2107 } | 2125 } |
2108 return _json; | 2126 return _json; |
2109 } | 2127 } |
2110 } | 2128 } |
2111 | 2129 |
2112 | 2130 |
2113 /** Not documented yet. */ | |
2114 class SeqMapTask { | 2131 class SeqMapTask { |
2115 /** Not documented yet. */ | |
2116 core.List<SideInputInfo> inputs; | 2132 core.List<SideInputInfo> inputs; |
2117 | 2133 |
2118 /** Not documented yet. */ | |
2119 core.String name; | 2134 core.String name; |
2120 | 2135 |
2121 /** Not documented yet. */ | |
2122 core.List<SeqMapTaskOutputInfo> outputInfos; | 2136 core.List<SeqMapTaskOutputInfo> outputInfos; |
2123 | 2137 |
2124 /** Not documented yet. */ | |
2125 core.String stageName; | 2138 core.String stageName; |
2126 | 2139 |
2127 /** Not documented yet. */ | |
2128 core.String systemName; | 2140 core.String systemName; |
2129 | 2141 |
2130 /** | 2142 /** |
2131 * Not documented yet. | 2143 * |
2132 * | 2144 * |
2133 * The values for Object must be JSON objects. It can consist of `num`, | 2145 * The values for Object must be JSON objects. It can consist of `num`, |
2134 * `String`, `bool` and `null` as well as `Map` and `List` values. | 2146 * `String`, `bool` and `null` as well as `Map` and `List` values. |
2135 */ | 2147 */ |
2136 core.Map<core.String, core.Object> userFn; | 2148 core.Map<core.String, core.Object> userFn; |
2137 | 2149 |
2138 | 2150 |
2139 SeqMapTask(); | 2151 SeqMapTask(); |
2140 | 2152 |
2141 SeqMapTask.fromJson(core.Map _json) { | 2153 SeqMapTask.fromJson(core.Map _json) { |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2177 _json["systemName"] = systemName; | 2189 _json["systemName"] = systemName; |
2178 } | 2190 } |
2179 if (userFn != null) { | 2191 if (userFn != null) { |
2180 _json["userFn"] = userFn; | 2192 _json["userFn"] = userFn; |
2181 } | 2193 } |
2182 return _json; | 2194 return _json; |
2183 } | 2195 } |
2184 } | 2196 } |
2185 | 2197 |
2186 | 2198 |
2187 /** Not documented yet. */ | |
2188 class SeqMapTaskOutputInfo { | 2199 class SeqMapTaskOutputInfo { |
2189 /** Not documented yet. */ | |
2190 Sink sink; | 2200 Sink sink; |
2191 | 2201 |
2192 /** Not documented yet. */ | |
2193 core.String tag; | 2202 core.String tag; |
2194 | 2203 |
2195 | 2204 |
2196 SeqMapTaskOutputInfo(); | 2205 SeqMapTaskOutputInfo(); |
2197 | 2206 |
2198 SeqMapTaskOutputInfo.fromJson(core.Map _json) { | 2207 SeqMapTaskOutputInfo.fromJson(core.Map _json) { |
2199 if (_json.containsKey("sink")) { | 2208 if (_json.containsKey("sink")) { |
2200 sink = new Sink.fromJson(_json["sink"]); | 2209 sink = new Sink.fromJson(_json["sink"]); |
2201 } | 2210 } |
2202 if (_json.containsKey("tag")) { | 2211 if (_json.containsKey("tag")) { |
2203 tag = _json["tag"]; | 2212 tag = _json["tag"]; |
2204 } | 2213 } |
2205 } | 2214 } |
2206 | 2215 |
2207 core.Map toJson() { | 2216 core.Map toJson() { |
2208 var _json = new core.Map(); | 2217 var _json = new core.Map(); |
2209 if (sink != null) { | 2218 if (sink != null) { |
2210 _json["sink"] = (sink).toJson(); | 2219 _json["sink"] = (sink).toJson(); |
2211 } | 2220 } |
2212 if (tag != null) { | 2221 if (tag != null) { |
2213 _json["tag"] = tag; | 2222 _json["tag"] = tag; |
2214 } | 2223 } |
2215 return _json; | 2224 return _json; |
2216 } | 2225 } |
2217 } | 2226 } |
2218 | 2227 |
2219 | 2228 |
2220 /** Not documented yet. */ | |
2221 class ShellTask { | 2229 class ShellTask { |
2222 /** Not documented yet. */ | |
2223 core.String command; | 2230 core.String command; |
2224 | 2231 |
2225 /** Not documented yet. */ | |
2226 core.int exitCode; | 2232 core.int exitCode; |
2227 | 2233 |
2228 | 2234 |
2229 ShellTask(); | 2235 ShellTask(); |
2230 | 2236 |
2231 ShellTask.fromJson(core.Map _json) { | 2237 ShellTask.fromJson(core.Map _json) { |
2232 if (_json.containsKey("command")) { | 2238 if (_json.containsKey("command")) { |
2233 command = _json["command"]; | 2239 command = _json["command"]; |
2234 } | 2240 } |
2235 if (_json.containsKey("exitCode")) { | 2241 if (_json.containsKey("exitCode")) { |
2236 exitCode = _json["exitCode"]; | 2242 exitCode = _json["exitCode"]; |
2237 } | 2243 } |
2238 } | 2244 } |
2239 | 2245 |
2240 core.Map toJson() { | 2246 core.Map toJson() { |
2241 var _json = new core.Map(); | 2247 var _json = new core.Map(); |
2242 if (command != null) { | 2248 if (command != null) { |
2243 _json["command"] = command; | 2249 _json["command"] = command; |
2244 } | 2250 } |
2245 if (exitCode != null) { | 2251 if (exitCode != null) { |
2246 _json["exitCode"] = exitCode; | 2252 _json["exitCode"] = exitCode; |
2247 } | 2253 } |
2248 return _json; | 2254 return _json; |
2249 } | 2255 } |
2250 } | 2256 } |
2251 | 2257 |
2252 | 2258 |
2253 /** Not documented yet. */ | |
2254 class SideInputInfo { | 2259 class SideInputInfo { |
2255 /** | 2260 /** |
2256 * Not documented yet. | 2261 * |
2257 * | 2262 * |
2258 * The values for Object must be JSON objects. It can consist of `num`, | 2263 * The values for Object must be JSON objects. It can consist of `num`, |
2259 * `String`, `bool` and `null` as well as `Map` and `List` values. | 2264 * `String`, `bool` and `null` as well as `Map` and `List` values. |
2260 */ | 2265 */ |
2261 core.Map<core.String, core.Object> kind; | 2266 core.Map<core.String, core.Object> kind; |
2262 | 2267 |
2263 /** Not documented yet. */ | |
2264 core.List<Source> sources; | 2268 core.List<Source> sources; |
2265 | 2269 |
2266 /** Not documented yet. */ | |
2267 core.String tag; | 2270 core.String tag; |
2268 | 2271 |
2269 | 2272 |
2270 SideInputInfo(); | 2273 SideInputInfo(); |
2271 | 2274 |
2272 SideInputInfo.fromJson(core.Map _json) { | 2275 SideInputInfo.fromJson(core.Map _json) { |
2273 if (_json.containsKey("kind")) { | 2276 if (_json.containsKey("kind")) { |
2274 kind = _json["kind"]; | 2277 kind = _json["kind"]; |
2275 } | 2278 } |
2276 if (_json.containsKey("sources")) { | 2279 if (_json.containsKey("sources")) { |
(...skipping 13 matching lines...) Expand all Loading... |
2290 _json["sources"] = sources.map((value) => (value).toJson()).toList(); | 2293 _json["sources"] = sources.map((value) => (value).toJson()).toList(); |
2291 } | 2294 } |
2292 if (tag != null) { | 2295 if (tag != null) { |
2293 _json["tag"] = tag; | 2296 _json["tag"] = tag; |
2294 } | 2297 } |
2295 return _json; | 2298 return _json; |
2296 } | 2299 } |
2297 } | 2300 } |
2298 | 2301 |
2299 | 2302 |
2300 /** Not documented yet. */ | |
2301 class Sink { | 2303 class Sink { |
2302 /** | 2304 /** |
2303 * Not documented yet. | 2305 * |
2304 * | 2306 * |
2305 * The values for Object must be JSON objects. It can consist of `num`, | 2307 * The values for Object must be JSON objects. It can consist of `num`, |
2306 * `String`, `bool` and `null` as well as `Map` and `List` values. | 2308 * `String`, `bool` and `null` as well as `Map` and `List` values. |
2307 */ | 2309 */ |
2308 core.Map<core.String, core.Object> codec; | 2310 core.Map<core.String, core.Object> codec; |
2309 | 2311 |
2310 /** | 2312 /** |
2311 * Not documented yet. | 2313 * |
2312 * | 2314 * |
2313 * The values for Object must be JSON objects. It can consist of `num`, | 2315 * The values for Object must be JSON objects. It can consist of `num`, |
2314 * `String`, `bool` and `null` as well as `Map` and `List` values. | 2316 * `String`, `bool` and `null` as well as `Map` and `List` values. |
2315 */ | 2317 */ |
2316 core.Map<core.String, core.Object> spec; | 2318 core.Map<core.String, core.Object> spec; |
2317 | 2319 |
2318 | 2320 |
2319 Sink(); | 2321 Sink(); |
2320 | 2322 |
2321 Sink.fromJson(core.Map _json) { | 2323 Sink.fromJson(core.Map _json) { |
(...skipping 11 matching lines...) Expand all Loading... |
2333 _json["codec"] = codec; | 2335 _json["codec"] = codec; |
2334 } | 2336 } |
2335 if (spec != null) { | 2337 if (spec != null) { |
2336 _json["spec"] = spec; | 2338 _json["spec"] = spec; |
2337 } | 2339 } |
2338 return _json; | 2340 return _json; |
2339 } | 2341 } |
2340 } | 2342 } |
2341 | 2343 |
2342 | 2344 |
2343 /** Not documented yet. */ | |
2344 class Source { | 2345 class Source { |
2345 /** | 2346 /** |
2346 * Not documented yet. | 2347 * |
2347 * | 2348 * |
2348 * The values for Object must be JSON objects. It can consist of `num`, | 2349 * The values for Object must be JSON objects. It can consist of `num`, |
2349 * `String`, `bool` and `null` as well as `Map` and `List` values. | 2350 * `String`, `bool` and `null` as well as `Map` and `List` values. |
2350 */ | 2351 */ |
2351 core.List<core.Map<core.String, core.Object>> baseSpecs; | 2352 core.List<core.Map<core.String, core.Object>> baseSpecs; |
2352 | 2353 |
2353 /** | 2354 /** |
2354 * Not documented yet. | 2355 * |
2355 * | 2356 * |
2356 * The values for Object must be JSON objects. It can consist of `num`, | 2357 * The values for Object must be JSON objects. It can consist of `num`, |
2357 * `String`, `bool` and `null` as well as `Map` and `List` values. | 2358 * `String`, `bool` and `null` as well as `Map` and `List` values. |
2358 */ | 2359 */ |
2359 core.Map<core.String, core.Object> codec; | 2360 core.Map<core.String, core.Object> codec; |
2360 | 2361 |
2361 /** Not documented yet. */ | |
2362 core.bool doesNotNeedSplitting; | 2362 core.bool doesNotNeedSplitting; |
2363 | 2363 |
2364 /** Not documented yet. */ | |
2365 SourceMetadata metadata; | 2364 SourceMetadata metadata; |
2366 | 2365 |
2367 /** | 2366 /** |
2368 * Not documented yet. | 2367 * |
2369 * | 2368 * |
2370 * The values for Object must be JSON objects. It can consist of `num`, | 2369 * The values for Object must be JSON objects. It can consist of `num`, |
2371 * `String`, `bool` and `null` as well as `Map` and `List` values. | 2370 * `String`, `bool` and `null` as well as `Map` and `List` values. |
2372 */ | 2371 */ |
2373 core.Map<core.String, core.Object> spec; | 2372 core.Map<core.String, core.Object> spec; |
2374 | 2373 |
2375 | 2374 |
2376 Source(); | 2375 Source(); |
2377 | 2376 |
2378 Source.fromJson(core.Map _json) { | 2377 Source.fromJson(core.Map _json) { |
(...skipping 29 matching lines...) Expand all Loading... |
2408 _json["metadata"] = (metadata).toJson(); | 2407 _json["metadata"] = (metadata).toJson(); |
2409 } | 2408 } |
2410 if (spec != null) { | 2409 if (spec != null) { |
2411 _json["spec"] = spec; | 2410 _json["spec"] = spec; |
2412 } | 2411 } |
2413 return _json; | 2412 return _json; |
2414 } | 2413 } |
2415 } | 2414 } |
2416 | 2415 |
2417 | 2416 |
2418 /** Not documented yet. */ | |
2419 class SourceFork { | 2417 class SourceFork { |
2420 /** Not documented yet. */ | |
2421 SourceSplitShard primary; | 2418 SourceSplitShard primary; |
2422 | 2419 |
2423 /** Not documented yet. */ | 2420 DerivedSource primarySource; |
| 2421 |
2424 SourceSplitShard residual; | 2422 SourceSplitShard residual; |
2425 | 2423 |
| 2424 DerivedSource residualSource; |
| 2425 |
2426 | 2426 |
2427 SourceFork(); | 2427 SourceFork(); |
2428 | 2428 |
2429 SourceFork.fromJson(core.Map _json) { | 2429 SourceFork.fromJson(core.Map _json) { |
2430 if (_json.containsKey("primary")) { | 2430 if (_json.containsKey("primary")) { |
2431 primary = new SourceSplitShard.fromJson(_json["primary"]); | 2431 primary = new SourceSplitShard.fromJson(_json["primary"]); |
2432 } | 2432 } |
| 2433 if (_json.containsKey("primarySource")) { |
| 2434 primarySource = new DerivedSource.fromJson(_json["primarySource"]); |
| 2435 } |
2433 if (_json.containsKey("residual")) { | 2436 if (_json.containsKey("residual")) { |
2434 residual = new SourceSplitShard.fromJson(_json["residual"]); | 2437 residual = new SourceSplitShard.fromJson(_json["residual"]); |
2435 } | 2438 } |
| 2439 if (_json.containsKey("residualSource")) { |
| 2440 residualSource = new DerivedSource.fromJson(_json["residualSource"]); |
| 2441 } |
2436 } | 2442 } |
2437 | 2443 |
2438 core.Map toJson() { | 2444 core.Map toJson() { |
2439 var _json = new core.Map(); | 2445 var _json = new core.Map(); |
2440 if (primary != null) { | 2446 if (primary != null) { |
2441 _json["primary"] = (primary).toJson(); | 2447 _json["primary"] = (primary).toJson(); |
2442 } | 2448 } |
| 2449 if (primarySource != null) { |
| 2450 _json["primarySource"] = (primarySource).toJson(); |
| 2451 } |
2443 if (residual != null) { | 2452 if (residual != null) { |
2444 _json["residual"] = (residual).toJson(); | 2453 _json["residual"] = (residual).toJson(); |
2445 } | 2454 } |
| 2455 if (residualSource != null) { |
| 2456 _json["residualSource"] = (residualSource).toJson(); |
| 2457 } |
2446 return _json; | 2458 return _json; |
2447 } | 2459 } |
2448 } | 2460 } |
2449 | 2461 |
2450 | 2462 |
2451 /** Not documented yet. */ | |
2452 class SourceGetMetadataRequest { | 2463 class SourceGetMetadataRequest { |
2453 /** Not documented yet. */ | |
2454 Source source; | 2464 Source source; |
2455 | 2465 |
2456 | 2466 |
2457 SourceGetMetadataRequest(); | 2467 SourceGetMetadataRequest(); |
2458 | 2468 |
2459 SourceGetMetadataRequest.fromJson(core.Map _json) { | 2469 SourceGetMetadataRequest.fromJson(core.Map _json) { |
2460 if (_json.containsKey("source")) { | 2470 if (_json.containsKey("source")) { |
2461 source = new Source.fromJson(_json["source"]); | 2471 source = new Source.fromJson(_json["source"]); |
2462 } | 2472 } |
2463 } | 2473 } |
2464 | 2474 |
2465 core.Map toJson() { | 2475 core.Map toJson() { |
2466 var _json = new core.Map(); | 2476 var _json = new core.Map(); |
2467 if (source != null) { | 2477 if (source != null) { |
2468 _json["source"] = (source).toJson(); | 2478 _json["source"] = (source).toJson(); |
2469 } | 2479 } |
2470 return _json; | 2480 return _json; |
2471 } | 2481 } |
2472 } | 2482 } |
2473 | 2483 |
2474 | 2484 |
2475 /** Not documented yet. */ | |
2476 class SourceGetMetadataResponse { | 2485 class SourceGetMetadataResponse { |
2477 /** Not documented yet. */ | |
2478 SourceMetadata metadata; | 2486 SourceMetadata metadata; |
2479 | 2487 |
2480 | 2488 |
2481 SourceGetMetadataResponse(); | 2489 SourceGetMetadataResponse(); |
2482 | 2490 |
2483 SourceGetMetadataResponse.fromJson(core.Map _json) { | 2491 SourceGetMetadataResponse.fromJson(core.Map _json) { |
2484 if (_json.containsKey("metadata")) { | 2492 if (_json.containsKey("metadata")) { |
2485 metadata = new SourceMetadata.fromJson(_json["metadata"]); | 2493 metadata = new SourceMetadata.fromJson(_json["metadata"]); |
2486 } | 2494 } |
2487 } | 2495 } |
2488 | 2496 |
2489 core.Map toJson() { | 2497 core.Map toJson() { |
2490 var _json = new core.Map(); | 2498 var _json = new core.Map(); |
2491 if (metadata != null) { | 2499 if (metadata != null) { |
2492 _json["metadata"] = (metadata).toJson(); | 2500 _json["metadata"] = (metadata).toJson(); |
2493 } | 2501 } |
2494 return _json; | 2502 return _json; |
2495 } | 2503 } |
2496 } | 2504 } |
2497 | 2505 |
2498 | 2506 |
2499 /** Not documented yet. */ | |
2500 class SourceMetadata { | 2507 class SourceMetadata { |
2501 /** Not documented yet. */ | |
2502 core.String estimatedSizeBytes; | 2508 core.String estimatedSizeBytes; |
2503 | 2509 |
2504 /** Not documented yet. */ | |
2505 core.bool infinite; | 2510 core.bool infinite; |
2506 | 2511 |
2507 /** Not documented yet. */ | |
2508 core.bool producesSortedKeys; | 2512 core.bool producesSortedKeys; |
2509 | 2513 |
2510 | 2514 |
2511 SourceMetadata(); | 2515 SourceMetadata(); |
2512 | 2516 |
2513 SourceMetadata.fromJson(core.Map _json) { | 2517 SourceMetadata.fromJson(core.Map _json) { |
2514 if (_json.containsKey("estimatedSizeBytes")) { | 2518 if (_json.containsKey("estimatedSizeBytes")) { |
2515 estimatedSizeBytes = _json["estimatedSizeBytes"]; | 2519 estimatedSizeBytes = _json["estimatedSizeBytes"]; |
2516 } | 2520 } |
2517 if (_json.containsKey("infinite")) { | 2521 if (_json.containsKey("infinite")) { |
(...skipping 13 matching lines...) Expand all Loading... |
2531 _json["infinite"] = infinite; | 2535 _json["infinite"] = infinite; |
2532 } | 2536 } |
2533 if (producesSortedKeys != null) { | 2537 if (producesSortedKeys != null) { |
2534 _json["producesSortedKeys"] = producesSortedKeys; | 2538 _json["producesSortedKeys"] = producesSortedKeys; |
2535 } | 2539 } |
2536 return _json; | 2540 return _json; |
2537 } | 2541 } |
2538 } | 2542 } |
2539 | 2543 |
2540 | 2544 |
2541 /** Not documented yet. */ | |
2542 class SourceOperationRequest { | 2545 class SourceOperationRequest { |
2543 /** Not documented yet. */ | |
2544 SourceGetMetadataRequest getMetadata; | 2546 SourceGetMetadataRequest getMetadata; |
2545 | 2547 |
2546 /** Not documented yet. */ | |
2547 SourceSplitRequest split; | 2548 SourceSplitRequest split; |
2548 | 2549 |
2549 | 2550 |
2550 SourceOperationRequest(); | 2551 SourceOperationRequest(); |
2551 | 2552 |
2552 SourceOperationRequest.fromJson(core.Map _json) { | 2553 SourceOperationRequest.fromJson(core.Map _json) { |
2553 if (_json.containsKey("getMetadata")) { | 2554 if (_json.containsKey("getMetadata")) { |
2554 getMetadata = new SourceGetMetadataRequest.fromJson(_json["getMetadata"]); | 2555 getMetadata = new SourceGetMetadataRequest.fromJson(_json["getMetadata"]); |
2555 } | 2556 } |
2556 if (_json.containsKey("split")) { | 2557 if (_json.containsKey("split")) { |
2557 split = new SourceSplitRequest.fromJson(_json["split"]); | 2558 split = new SourceSplitRequest.fromJson(_json["split"]); |
2558 } | 2559 } |
2559 } | 2560 } |
2560 | 2561 |
2561 core.Map toJson() { | 2562 core.Map toJson() { |
2562 var _json = new core.Map(); | 2563 var _json = new core.Map(); |
2563 if (getMetadata != null) { | 2564 if (getMetadata != null) { |
2564 _json["getMetadata"] = (getMetadata).toJson(); | 2565 _json["getMetadata"] = (getMetadata).toJson(); |
2565 } | 2566 } |
2566 if (split != null) { | 2567 if (split != null) { |
2567 _json["split"] = (split).toJson(); | 2568 _json["split"] = (split).toJson(); |
2568 } | 2569 } |
2569 return _json; | 2570 return _json; |
2570 } | 2571 } |
2571 } | 2572 } |
2572 | 2573 |
2573 | 2574 |
2574 /** Not documented yet. */ | |
2575 class SourceOperationResponse { | 2575 class SourceOperationResponse { |
2576 /** Not documented yet. */ | |
2577 SourceGetMetadataResponse getMetadata; | 2576 SourceGetMetadataResponse getMetadata; |
2578 | 2577 |
2579 /** Not documented yet. */ | |
2580 SourceSplitResponse split; | 2578 SourceSplitResponse split; |
2581 | 2579 |
2582 | 2580 |
2583 SourceOperationResponse(); | 2581 SourceOperationResponse(); |
2584 | 2582 |
2585 SourceOperationResponse.fromJson(core.Map _json) { | 2583 SourceOperationResponse.fromJson(core.Map _json) { |
2586 if (_json.containsKey("getMetadata")) { | 2584 if (_json.containsKey("getMetadata")) { |
2587 getMetadata = new SourceGetMetadataResponse.fromJson(_json["getMetadata"])
; | 2585 getMetadata = new SourceGetMetadataResponse.fromJson(_json["getMetadata"])
; |
2588 } | 2586 } |
2589 if (_json.containsKey("split")) { | 2587 if (_json.containsKey("split")) { |
2590 split = new SourceSplitResponse.fromJson(_json["split"]); | 2588 split = new SourceSplitResponse.fromJson(_json["split"]); |
2591 } | 2589 } |
2592 } | 2590 } |
2593 | 2591 |
2594 core.Map toJson() { | 2592 core.Map toJson() { |
2595 var _json = new core.Map(); | 2593 var _json = new core.Map(); |
2596 if (getMetadata != null) { | 2594 if (getMetadata != null) { |
2597 _json["getMetadata"] = (getMetadata).toJson(); | 2595 _json["getMetadata"] = (getMetadata).toJson(); |
2598 } | 2596 } |
2599 if (split != null) { | 2597 if (split != null) { |
2600 _json["split"] = (split).toJson(); | 2598 _json["split"] = (split).toJson(); |
2601 } | 2599 } |
2602 return _json; | 2600 return _json; |
2603 } | 2601 } |
2604 } | 2602 } |
2605 | 2603 |
2606 | 2604 |
2607 /** Not documented yet. */ | |
2608 class SourceSplitOptions { | 2605 class SourceSplitOptions { |
2609 /** Not documented yet. */ | 2606 core.String desiredBundleSizeBytes; |
| 2607 |
2610 core.String desiredShardSizeBytes; | 2608 core.String desiredShardSizeBytes; |
2611 | 2609 |
2612 | 2610 |
2613 SourceSplitOptions(); | 2611 SourceSplitOptions(); |
2614 | 2612 |
2615 SourceSplitOptions.fromJson(core.Map _json) { | 2613 SourceSplitOptions.fromJson(core.Map _json) { |
| 2614 if (_json.containsKey("desiredBundleSizeBytes")) { |
| 2615 desiredBundleSizeBytes = _json["desiredBundleSizeBytes"]; |
| 2616 } |
2616 if (_json.containsKey("desiredShardSizeBytes")) { | 2617 if (_json.containsKey("desiredShardSizeBytes")) { |
2617 desiredShardSizeBytes = _json["desiredShardSizeBytes"]; | 2618 desiredShardSizeBytes = _json["desiredShardSizeBytes"]; |
2618 } | 2619 } |
2619 } | 2620 } |
2620 | 2621 |
2621 core.Map toJson() { | 2622 core.Map toJson() { |
2622 var _json = new core.Map(); | 2623 var _json = new core.Map(); |
| 2624 if (desiredBundleSizeBytes != null) { |
| 2625 _json["desiredBundleSizeBytes"] = desiredBundleSizeBytes; |
| 2626 } |
2623 if (desiredShardSizeBytes != null) { | 2627 if (desiredShardSizeBytes != null) { |
2624 _json["desiredShardSizeBytes"] = desiredShardSizeBytes; | 2628 _json["desiredShardSizeBytes"] = desiredShardSizeBytes; |
2625 } | 2629 } |
2626 return _json; | 2630 return _json; |
2627 } | 2631 } |
2628 } | 2632 } |
2629 | 2633 |
2630 | 2634 |
2631 /** Not documented yet. */ | |
2632 class SourceSplitRequest { | 2635 class SourceSplitRequest { |
2633 /** Not documented yet. */ | |
2634 SourceSplitOptions options; | 2636 SourceSplitOptions options; |
2635 | 2637 |
2636 /** Not documented yet. */ | |
2637 Source source; | 2638 Source source; |
2638 | 2639 |
2639 | 2640 |
2640 SourceSplitRequest(); | 2641 SourceSplitRequest(); |
2641 | 2642 |
2642 SourceSplitRequest.fromJson(core.Map _json) { | 2643 SourceSplitRequest.fromJson(core.Map _json) { |
2643 if (_json.containsKey("options")) { | 2644 if (_json.containsKey("options")) { |
2644 options = new SourceSplitOptions.fromJson(_json["options"]); | 2645 options = new SourceSplitOptions.fromJson(_json["options"]); |
2645 } | 2646 } |
2646 if (_json.containsKey("source")) { | 2647 if (_json.containsKey("source")) { |
2647 source = new Source.fromJson(_json["source"]); | 2648 source = new Source.fromJson(_json["source"]); |
2648 } | 2649 } |
2649 } | 2650 } |
2650 | 2651 |
2651 core.Map toJson() { | 2652 core.Map toJson() { |
2652 var _json = new core.Map(); | 2653 var _json = new core.Map(); |
2653 if (options != null) { | 2654 if (options != null) { |
2654 _json["options"] = (options).toJson(); | 2655 _json["options"] = (options).toJson(); |
2655 } | 2656 } |
2656 if (source != null) { | 2657 if (source != null) { |
2657 _json["source"] = (source).toJson(); | 2658 _json["source"] = (source).toJson(); |
2658 } | 2659 } |
2659 return _json; | 2660 return _json; |
2660 } | 2661 } |
2661 } | 2662 } |
2662 | 2663 |
2663 | 2664 |
2664 /** Not documented yet. */ | |
2665 class SourceSplitResponse { | 2665 class SourceSplitResponse { |
| 2666 core.List<DerivedSource> bundles; |
| 2667 |
2666 /** | 2668 /** |
2667 * Not documented yet. | 2669 * |
2668 * Possible string values are: | 2670 * Possible string values are: |
2669 * - "SOURCE_SPLIT_OUTCOME_SPLITTING_HAPPENED" | 2671 * - "SOURCE_SPLIT_OUTCOME_SPLITTING_HAPPENED" |
2670 * - "SOURCE_SPLIT_OUTCOME_UNKNOWN" | 2672 * - "SOURCE_SPLIT_OUTCOME_UNKNOWN" |
2671 * - "SOURCE_SPLIT_OUTCOME_USE_CURRENT" | 2673 * - "SOURCE_SPLIT_OUTCOME_USE_CURRENT" |
2672 */ | 2674 */ |
2673 core.String outcome; | 2675 core.String outcome; |
2674 | 2676 |
2675 /** Not documented yet. */ | |
2676 core.List<SourceSplitShard> shards; | 2677 core.List<SourceSplitShard> shards; |
2677 | 2678 |
2678 | 2679 |
2679 SourceSplitResponse(); | 2680 SourceSplitResponse(); |
2680 | 2681 |
2681 SourceSplitResponse.fromJson(core.Map _json) { | 2682 SourceSplitResponse.fromJson(core.Map _json) { |
| 2683 if (_json.containsKey("bundles")) { |
| 2684 bundles = _json["bundles"].map((value) => new DerivedSource.fromJson(value
)).toList(); |
| 2685 } |
2682 if (_json.containsKey("outcome")) { | 2686 if (_json.containsKey("outcome")) { |
2683 outcome = _json["outcome"]; | 2687 outcome = _json["outcome"]; |
2684 } | 2688 } |
2685 if (_json.containsKey("shards")) { | 2689 if (_json.containsKey("shards")) { |
2686 shards = _json["shards"].map((value) => new SourceSplitShard.fromJson(valu
e)).toList(); | 2690 shards = _json["shards"].map((value) => new SourceSplitShard.fromJson(valu
e)).toList(); |
2687 } | 2691 } |
2688 } | 2692 } |
2689 | 2693 |
2690 core.Map toJson() { | 2694 core.Map toJson() { |
2691 var _json = new core.Map(); | 2695 var _json = new core.Map(); |
| 2696 if (bundles != null) { |
| 2697 _json["bundles"] = bundles.map((value) => (value).toJson()).toList(); |
| 2698 } |
2692 if (outcome != null) { | 2699 if (outcome != null) { |
2693 _json["outcome"] = outcome; | 2700 _json["outcome"] = outcome; |
2694 } | 2701 } |
2695 if (shards != null) { | 2702 if (shards != null) { |
2696 _json["shards"] = shards.map((value) => (value).toJson()).toList(); | 2703 _json["shards"] = shards.map((value) => (value).toJson()).toList(); |
2697 } | 2704 } |
2698 return _json; | 2705 return _json; |
2699 } | 2706 } |
2700 } | 2707 } |
2701 | 2708 |
2702 | 2709 |
2703 /** Not documented yet. */ | |
2704 class SourceSplitShard { | 2710 class SourceSplitShard { |
2705 /** | 2711 /** |
2706 * Not documented yet. | 2712 * |
2707 * Possible string values are: | 2713 * Possible string values are: |
2708 * - "SOURCE_DERIVATION_MODE_CHILD_OF_CURRENT" | 2714 * - "SOURCE_DERIVATION_MODE_CHILD_OF_CURRENT" |
2709 * - "SOURCE_DERIVATION_MODE_INDEPENDENT" | 2715 * - "SOURCE_DERIVATION_MODE_INDEPENDENT" |
2710 * - "SOURCE_DERIVATION_MODE_SIBLING_OF_CURRENT" | 2716 * - "SOURCE_DERIVATION_MODE_SIBLING_OF_CURRENT" |
2711 * - "SOURCE_DERIVATION_MODE_UNKNOWN" | 2717 * - "SOURCE_DERIVATION_MODE_UNKNOWN" |
2712 */ | 2718 */ |
2713 core.String derivationMode; | 2719 core.String derivationMode; |
2714 | 2720 |
2715 /** Not documented yet. */ | |
2716 Source source; | 2721 Source source; |
2717 | 2722 |
2718 | 2723 |
2719 SourceSplitShard(); | 2724 SourceSplitShard(); |
2720 | 2725 |
2721 SourceSplitShard.fromJson(core.Map _json) { | 2726 SourceSplitShard.fromJson(core.Map _json) { |
2722 if (_json.containsKey("derivationMode")) { | 2727 if (_json.containsKey("derivationMode")) { |
2723 derivationMode = _json["derivationMode"]; | 2728 derivationMode = _json["derivationMode"]; |
2724 } | 2729 } |
2725 if (_json.containsKey("source")) { | 2730 if (_json.containsKey("source")) { |
2726 source = new Source.fromJson(_json["source"]); | 2731 source = new Source.fromJson(_json["source"]); |
2727 } | 2732 } |
2728 } | 2733 } |
2729 | 2734 |
2730 core.Map toJson() { | 2735 core.Map toJson() { |
2731 var _json = new core.Map(); | 2736 var _json = new core.Map(); |
2732 if (derivationMode != null) { | 2737 if (derivationMode != null) { |
2733 _json["derivationMode"] = derivationMode; | 2738 _json["derivationMode"] = derivationMode; |
2734 } | 2739 } |
2735 if (source != null) { | 2740 if (source != null) { |
2736 _json["source"] = (source).toJson(); | 2741 _json["source"] = (source).toJson(); |
2737 } | 2742 } |
2738 return _json; | 2743 return _json; |
2739 } | 2744 } |
2740 } | 2745 } |
2741 | 2746 |
2742 | 2747 |
2743 /** Not documented yet. */ | |
2744 class Status { | 2748 class Status { |
2745 /** Not documented yet. */ | |
2746 core.int code; | 2749 core.int code; |
2747 | 2750 |
2748 /** | 2751 /** |
2749 * Not documented yet. | 2752 * |
2750 * | 2753 * |
2751 * The values for Object must be JSON objects. It can consist of `num`, | 2754 * The values for Object must be JSON objects. It can consist of `num`, |
2752 * `String`, `bool` and `null` as well as `Map` and `List` values. | 2755 * `String`, `bool` and `null` as well as `Map` and `List` values. |
2753 */ | 2756 */ |
2754 core.List<core.Map<core.String, core.Object>> details; | 2757 core.List<core.Map<core.String, core.Object>> details; |
2755 | 2758 |
2756 /** Not documented yet. */ | |
2757 core.String message; | 2759 core.String message; |
2758 | 2760 |
2759 | 2761 |
2760 Status(); | 2762 Status(); |
2761 | 2763 |
2762 Status.fromJson(core.Map _json) { | 2764 Status.fromJson(core.Map _json) { |
2763 if (_json.containsKey("code")) { | 2765 if (_json.containsKey("code")) { |
2764 code = _json["code"]; | 2766 code = _json["code"]; |
2765 } | 2767 } |
2766 if (_json.containsKey("details")) { | 2768 if (_json.containsKey("details")) { |
(...skipping 13 matching lines...) Expand all Loading... |
2780 _json["details"] = details; | 2782 _json["details"] = details; |
2781 } | 2783 } |
2782 if (message != null) { | 2784 if (message != null) { |
2783 _json["message"] = message; | 2785 _json["message"] = message; |
2784 } | 2786 } |
2785 return _json; | 2787 return _json; |
2786 } | 2788 } |
2787 } | 2789 } |
2788 | 2790 |
2789 | 2791 |
2790 /** Not documented yet. */ | |
2791 class Step { | 2792 class Step { |
2792 /** Not documented yet. */ | |
2793 core.String kind; | 2793 core.String kind; |
2794 | 2794 |
2795 /** Not documented yet. */ | |
2796 core.String name; | 2795 core.String name; |
2797 | 2796 |
2798 /** | 2797 /** |
2799 * Not documented yet. | 2798 * |
2800 * | 2799 * |
2801 * The values for Object must be JSON objects. It can consist of `num`, | 2800 * The values for Object must be JSON objects. It can consist of `num`, |
2802 * `String`, `bool` and `null` as well as `Map` and `List` values. | 2801 * `String`, `bool` and `null` as well as `Map` and `List` values. |
2803 */ | 2802 */ |
2804 core.Map<core.String, core.Object> properties; | 2803 core.Map<core.String, core.Object> properties; |
2805 | 2804 |
2806 | 2805 |
2807 Step(); | 2806 Step(); |
2808 | 2807 |
2809 Step.fromJson(core.Map _json) { | 2808 Step.fromJson(core.Map _json) { |
(...skipping 17 matching lines...) Expand all Loading... |
2827 _json["name"] = name; | 2826 _json["name"] = name; |
2828 } | 2827 } |
2829 if (properties != null) { | 2828 if (properties != null) { |
2830 _json["properties"] = properties; | 2829 _json["properties"] = properties; |
2831 } | 2830 } |
2832 return _json; | 2831 return _json; |
2833 } | 2832 } |
2834 } | 2833 } |
2835 | 2834 |
2836 | 2835 |
2837 /** Not documented yet. */ | |
2838 class StreamLocation { | 2836 class StreamLocation { |
2839 /** Not documented yet. */ | |
2840 PubsubLocation pubsubLocation; | 2837 PubsubLocation pubsubLocation; |
2841 | 2838 |
2842 /** Not documented yet. */ | 2839 StreamingSideInputLocation sideInputLocation; |
| 2840 |
2843 StreamingStageLocation streamingStageLocation; | 2841 StreamingStageLocation streamingStageLocation; |
2844 | 2842 |
2845 | 2843 |
2846 StreamLocation(); | 2844 StreamLocation(); |
2847 | 2845 |
2848 StreamLocation.fromJson(core.Map _json) { | 2846 StreamLocation.fromJson(core.Map _json) { |
2849 if (_json.containsKey("pubsubLocation")) { | 2847 if (_json.containsKey("pubsubLocation")) { |
2850 pubsubLocation = new PubsubLocation.fromJson(_json["pubsubLocation"]); | 2848 pubsubLocation = new PubsubLocation.fromJson(_json["pubsubLocation"]); |
2851 } | 2849 } |
| 2850 if (_json.containsKey("sideInputLocation")) { |
| 2851 sideInputLocation = new StreamingSideInputLocation.fromJson(_json["sideInp
utLocation"]); |
| 2852 } |
2852 if (_json.containsKey("streamingStageLocation")) { | 2853 if (_json.containsKey("streamingStageLocation")) { |
2853 streamingStageLocation = new StreamingStageLocation.fromJson(_json["stream
ingStageLocation"]); | 2854 streamingStageLocation = new StreamingStageLocation.fromJson(_json["stream
ingStageLocation"]); |
2854 } | 2855 } |
2855 } | 2856 } |
2856 | 2857 |
2857 core.Map toJson() { | 2858 core.Map toJson() { |
2858 var _json = new core.Map(); | 2859 var _json = new core.Map(); |
2859 if (pubsubLocation != null) { | 2860 if (pubsubLocation != null) { |
2860 _json["pubsubLocation"] = (pubsubLocation).toJson(); | 2861 _json["pubsubLocation"] = (pubsubLocation).toJson(); |
2861 } | 2862 } |
| 2863 if (sideInputLocation != null) { |
| 2864 _json["sideInputLocation"] = (sideInputLocation).toJson(); |
| 2865 } |
2862 if (streamingStageLocation != null) { | 2866 if (streamingStageLocation != null) { |
2863 _json["streamingStageLocation"] = (streamingStageLocation).toJson(); | 2867 _json["streamingStageLocation"] = (streamingStageLocation).toJson(); |
2864 } | 2868 } |
2865 return _json; | 2869 return _json; |
2866 } | 2870 } |
2867 } | 2871 } |
2868 | 2872 |
2869 | 2873 |
2870 /** Not documented yet. */ | 2874 class StreamingComputationRanges { |
| 2875 core.String computationId; |
| 2876 |
| 2877 core.List<KeyRangeDataDiskAssignment> rangeAssignments; |
| 2878 |
| 2879 |
| 2880 StreamingComputationRanges(); |
| 2881 |
| 2882 StreamingComputationRanges.fromJson(core.Map _json) { |
| 2883 if (_json.containsKey("computationId")) { |
| 2884 computationId = _json["computationId"]; |
| 2885 } |
| 2886 if (_json.containsKey("rangeAssignments")) { |
| 2887 rangeAssignments = _json["rangeAssignments"].map((value) => new KeyRangeDa
taDiskAssignment.fromJson(value)).toList(); |
| 2888 } |
| 2889 } |
| 2890 |
| 2891 core.Map toJson() { |
| 2892 var _json = new core.Map(); |
| 2893 if (computationId != null) { |
| 2894 _json["computationId"] = computationId; |
| 2895 } |
| 2896 if (rangeAssignments != null) { |
| 2897 _json["rangeAssignments"] = rangeAssignments.map((value) => (value).toJson
()).toList(); |
| 2898 } |
| 2899 return _json; |
| 2900 } |
| 2901 } |
| 2902 |
| 2903 |
| 2904 class StreamingComputationTask { |
| 2905 core.List<StreamingComputationRanges> computationRanges; |
| 2906 |
| 2907 core.List<MountedDataDisk> dataDisks; |
| 2908 |
| 2909 /** |
| 2910 * |
| 2911 * Possible string values are: |
| 2912 * - "STREAMING_COMPUTATION_TASK_START" |
| 2913 * - "STREAMING_COMPUTATION_TASK_STOP" |
| 2914 * - "STREAMING_COMPUTATION_TASK_UNKNOWN" |
| 2915 */ |
| 2916 core.String taskType; |
| 2917 |
| 2918 |
| 2919 StreamingComputationTask(); |
| 2920 |
| 2921 StreamingComputationTask.fromJson(core.Map _json) { |
| 2922 if (_json.containsKey("computationRanges")) { |
| 2923 computationRanges = _json["computationRanges"].map((value) => new Streamin
gComputationRanges.fromJson(value)).toList(); |
| 2924 } |
| 2925 if (_json.containsKey("dataDisks")) { |
| 2926 dataDisks = _json["dataDisks"].map((value) => new MountedDataDisk.fromJson
(value)).toList(); |
| 2927 } |
| 2928 if (_json.containsKey("taskType")) { |
| 2929 taskType = _json["taskType"]; |
| 2930 } |
| 2931 } |
| 2932 |
| 2933 core.Map toJson() { |
| 2934 var _json = new core.Map(); |
| 2935 if (computationRanges != null) { |
| 2936 _json["computationRanges"] = computationRanges.map((value) => (value).toJs
on()).toList(); |
| 2937 } |
| 2938 if (dataDisks != null) { |
| 2939 _json["dataDisks"] = dataDisks.map((value) => (value).toJson()).toList(); |
| 2940 } |
| 2941 if (taskType != null) { |
| 2942 _json["taskType"] = taskType; |
| 2943 } |
| 2944 return _json; |
| 2945 } |
| 2946 } |
| 2947 |
| 2948 |
2871 class StreamingSetupTask { | 2949 class StreamingSetupTask { |
2872 /** Not documented yet. */ | |
2873 core.int receiveWorkPort; | 2950 core.int receiveWorkPort; |
2874 | 2951 |
2875 /** Not documented yet. */ | |
2876 TopologyConfig streamingComputationTopology; | 2952 TopologyConfig streamingComputationTopology; |
2877 | 2953 |
2878 /** Not documented yet. */ | |
2879 core.int workerHarnessPort; | 2954 core.int workerHarnessPort; |
2880 | 2955 |
2881 | 2956 |
2882 StreamingSetupTask(); | 2957 StreamingSetupTask(); |
2883 | 2958 |
2884 StreamingSetupTask.fromJson(core.Map _json) { | 2959 StreamingSetupTask.fromJson(core.Map _json) { |
2885 if (_json.containsKey("receiveWorkPort")) { | 2960 if (_json.containsKey("receiveWorkPort")) { |
2886 receiveWorkPort = _json["receiveWorkPort"]; | 2961 receiveWorkPort = _json["receiveWorkPort"]; |
2887 } | 2962 } |
2888 if (_json.containsKey("streamingComputationTopology")) { | 2963 if (_json.containsKey("streamingComputationTopology")) { |
(...skipping 13 matching lines...) Expand all Loading... |
2902 _json["streamingComputationTopology"] = (streamingComputationTopology).toJ
son(); | 2977 _json["streamingComputationTopology"] = (streamingComputationTopology).toJ
son(); |
2903 } | 2978 } |
2904 if (workerHarnessPort != null) { | 2979 if (workerHarnessPort != null) { |
2905 _json["workerHarnessPort"] = workerHarnessPort; | 2980 _json["workerHarnessPort"] = workerHarnessPort; |
2906 } | 2981 } |
2907 return _json; | 2982 return _json; |
2908 } | 2983 } |
2909 } | 2984 } |
2910 | 2985 |
2911 | 2986 |
2912 /** Not documented yet. */ | 2987 class StreamingSideInputLocation { |
| 2988 core.String tag; |
| 2989 |
| 2990 |
| 2991 StreamingSideInputLocation(); |
| 2992 |
| 2993 StreamingSideInputLocation.fromJson(core.Map _json) { |
| 2994 if (_json.containsKey("tag")) { |
| 2995 tag = _json["tag"]; |
| 2996 } |
| 2997 } |
| 2998 |
| 2999 core.Map toJson() { |
| 3000 var _json = new core.Map(); |
| 3001 if (tag != null) { |
| 3002 _json["tag"] = tag; |
| 3003 } |
| 3004 return _json; |
| 3005 } |
| 3006 } |
| 3007 |
| 3008 |
2913 class StreamingStageLocation { | 3009 class StreamingStageLocation { |
2914 /** Not documented yet. */ | |
2915 core.String streamId; | 3010 core.String streamId; |
2916 | 3011 |
2917 | 3012 |
2918 StreamingStageLocation(); | 3013 StreamingStageLocation(); |
2919 | 3014 |
2920 StreamingStageLocation.fromJson(core.Map _json) { | 3015 StreamingStageLocation.fromJson(core.Map _json) { |
2921 if (_json.containsKey("streamId")) { | 3016 if (_json.containsKey("streamId")) { |
2922 streamId = _json["streamId"]; | 3017 streamId = _json["streamId"]; |
2923 } | 3018 } |
2924 } | 3019 } |
2925 | 3020 |
2926 core.Map toJson() { | 3021 core.Map toJson() { |
2927 var _json = new core.Map(); | 3022 var _json = new core.Map(); |
2928 if (streamId != null) { | 3023 if (streamId != null) { |
2929 _json["streamId"] = streamId; | 3024 _json["streamId"] = streamId; |
2930 } | 3025 } |
2931 return _json; | 3026 return _json; |
2932 } | 3027 } |
2933 } | 3028 } |
2934 | 3029 |
2935 | 3030 |
2936 /** Not documented yet. */ | |
2937 class TaskRunnerSettings { | 3031 class TaskRunnerSettings { |
2938 /** Not documented yet. */ | |
2939 core.bool alsologtostderr; | 3032 core.bool alsologtostderr; |
2940 | 3033 |
2941 /** Not documented yet. */ | |
2942 core.String baseTaskDir; | 3034 core.String baseTaskDir; |
2943 | 3035 |
2944 /** Not documented yet. */ | |
2945 core.String baseUrl; | 3036 core.String baseUrl; |
2946 | 3037 |
2947 /** Not documented yet. */ | |
2948 core.String commandlinesFileName; | 3038 core.String commandlinesFileName; |
2949 | 3039 |
2950 /** Not documented yet. */ | |
2951 core.bool continueOnException; | 3040 core.bool continueOnException; |
2952 | 3041 |
2953 /** Not documented yet. */ | |
2954 core.String dataflowApiVersion; | 3042 core.String dataflowApiVersion; |
2955 | 3043 |
2956 /** Not documented yet. */ | |
2957 core.String harnessCommand; | 3044 core.String harnessCommand; |
2958 | 3045 |
2959 /** Not documented yet. */ | |
2960 core.String languageHint; | 3046 core.String languageHint; |
2961 | 3047 |
2962 /** Not documented yet. */ | |
2963 core.String logDir; | 3048 core.String logDir; |
2964 | 3049 |
2965 /** Not documented yet. */ | |
2966 core.bool logToSerialconsole; | 3050 core.bool logToSerialconsole; |
2967 | 3051 |
2968 /** Not documented yet. */ | |
2969 core.String logUploadLocation; | 3052 core.String logUploadLocation; |
2970 | 3053 |
2971 /** Not documented yet. */ | |
2972 core.List<core.String> oauthScopes; | 3054 core.List<core.String> oauthScopes; |
2973 | 3055 |
2974 /** Not documented yet. */ | |
2975 WorkerSettings parallelWorkerSettings; | 3056 WorkerSettings parallelWorkerSettings; |
2976 | 3057 |
2977 /** Not documented yet. */ | |
2978 core.String streamingWorkerMainClass; | 3058 core.String streamingWorkerMainClass; |
2979 | 3059 |
2980 /** Not documented yet. */ | |
2981 core.String taskGroup; | 3060 core.String taskGroup; |
2982 | 3061 |
2983 /** Not documented yet. */ | |
2984 core.String taskUser; | 3062 core.String taskUser; |
2985 | 3063 |
2986 /** Not documented yet. */ | |
2987 core.String tempStoragePrefix; | 3064 core.String tempStoragePrefix; |
2988 | 3065 |
2989 /** Not documented yet. */ | |
2990 core.String vmId; | 3066 core.String vmId; |
2991 | 3067 |
2992 /** Not documented yet. */ | |
2993 core.String workflowFileName; | 3068 core.String workflowFileName; |
2994 | 3069 |
2995 | 3070 |
2996 TaskRunnerSettings(); | 3071 TaskRunnerSettings(); |
2997 | 3072 |
2998 TaskRunnerSettings.fromJson(core.Map _json) { | 3073 TaskRunnerSettings.fromJson(core.Map _json) { |
2999 if (_json.containsKey("alsologtostderr")) { | 3074 if (_json.containsKey("alsologtostderr")) { |
3000 alsologtostderr = _json["alsologtostderr"]; | 3075 alsologtostderr = _json["alsologtostderr"]; |
3001 } | 3076 } |
3002 if (_json.containsKey("baseTaskDir")) { | 3077 if (_json.containsKey("baseTaskDir")) { |
(...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3112 _json["vmId"] = vmId; | 3187 _json["vmId"] = vmId; |
3113 } | 3188 } |
3114 if (workflowFileName != null) { | 3189 if (workflowFileName != null) { |
3115 _json["workflowFileName"] = workflowFileName; | 3190 _json["workflowFileName"] = workflowFileName; |
3116 } | 3191 } |
3117 return _json; | 3192 return _json; |
3118 } | 3193 } |
3119 } | 3194 } |
3120 | 3195 |
3121 | 3196 |
3122 /** Not documented yet. */ | |
3123 class TopologyConfig { | 3197 class TopologyConfig { |
3124 /** Not documented yet. */ | |
3125 core.List<ComputationTopology> computations; | 3198 core.List<ComputationTopology> computations; |
3126 | 3199 |
3127 /** Not documented yet. */ | |
3128 core.List<DataDiskAssignment> dataDiskAssignments; | 3200 core.List<DataDiskAssignment> dataDiskAssignments; |
3129 | 3201 |
3130 | 3202 |
3131 TopologyConfig(); | 3203 TopologyConfig(); |
3132 | 3204 |
3133 TopologyConfig.fromJson(core.Map _json) { | 3205 TopologyConfig.fromJson(core.Map _json) { |
3134 if (_json.containsKey("computations")) { | 3206 if (_json.containsKey("computations")) { |
3135 computations = _json["computations"].map((value) => new ComputationTopolog
y.fromJson(value)).toList(); | 3207 computations = _json["computations"].map((value) => new ComputationTopolog
y.fromJson(value)).toList(); |
3136 } | 3208 } |
3137 if (_json.containsKey("dataDiskAssignments")) { | 3209 if (_json.containsKey("dataDiskAssignments")) { |
3138 dataDiskAssignments = _json["dataDiskAssignments"].map((value) => new Data
DiskAssignment.fromJson(value)).toList(); | 3210 dataDiskAssignments = _json["dataDiskAssignments"].map((value) => new Data
DiskAssignment.fromJson(value)).toList(); |
3139 } | 3211 } |
3140 } | 3212 } |
3141 | 3213 |
3142 core.Map toJson() { | 3214 core.Map toJson() { |
3143 var _json = new core.Map(); | 3215 var _json = new core.Map(); |
3144 if (computations != null) { | 3216 if (computations != null) { |
3145 _json["computations"] = computations.map((value) => (value).toJson()).toLi
st(); | 3217 _json["computations"] = computations.map((value) => (value).toJson()).toLi
st(); |
3146 } | 3218 } |
3147 if (dataDiskAssignments != null) { | 3219 if (dataDiskAssignments != null) { |
3148 _json["dataDiskAssignments"] = dataDiskAssignments.map((value) => (value).
toJson()).toList(); | 3220 _json["dataDiskAssignments"] = dataDiskAssignments.map((value) => (value).
toJson()).toList(); |
3149 } | 3221 } |
3150 return _json; | 3222 return _json; |
3151 } | 3223 } |
3152 } | 3224 } |
3153 | 3225 |
3154 | 3226 |
3155 /** Not documented yet. */ | |
3156 class WorkItem { | 3227 class WorkItem { |
3157 /** Not documented yet. */ | |
3158 core.String configuration; | 3228 core.String configuration; |
3159 | 3229 |
3160 /** Not documented yet. */ | |
3161 core.String id; | 3230 core.String id; |
3162 | 3231 |
3163 /** Not documented yet. */ | 3232 core.String initialReportIndex; |
| 3233 |
3164 core.String jobId; | 3234 core.String jobId; |
3165 | 3235 |
3166 /** Not documented yet. */ | |
3167 core.String leaseExpireTime; | 3236 core.String leaseExpireTime; |
3168 | 3237 |
3169 /** Not documented yet. */ | |
3170 MapTask mapTask; | 3238 MapTask mapTask; |
3171 | 3239 |
3172 /** Not documented yet. */ | |
3173 core.List<Package> packages; | 3240 core.List<Package> packages; |
3174 | 3241 |
3175 /** Not documented yet. */ | |
3176 core.String projectId; | 3242 core.String projectId; |
3177 | 3243 |
3178 /** Not documented yet. */ | |
3179 core.String reportStatusInterval; | 3244 core.String reportStatusInterval; |
3180 | 3245 |
3181 /** Not documented yet. */ | |
3182 SeqMapTask seqMapTask; | 3246 SeqMapTask seqMapTask; |
3183 | 3247 |
3184 /** Not documented yet. */ | |
3185 ShellTask shellTask; | 3248 ShellTask shellTask; |
3186 | 3249 |
3187 /** Not documented yet. */ | |
3188 SourceOperationRequest sourceOperationTask; | 3250 SourceOperationRequest sourceOperationTask; |
3189 | 3251 |
3190 /** Not documented yet. */ | 3252 StreamingComputationTask streamingComputationTask; |
| 3253 |
3191 StreamingSetupTask streamingSetupTask; | 3254 StreamingSetupTask streamingSetupTask; |
3192 | 3255 |
3193 | 3256 |
3194 WorkItem(); | 3257 WorkItem(); |
3195 | 3258 |
3196 WorkItem.fromJson(core.Map _json) { | 3259 WorkItem.fromJson(core.Map _json) { |
3197 if (_json.containsKey("configuration")) { | 3260 if (_json.containsKey("configuration")) { |
3198 configuration = _json["configuration"]; | 3261 configuration = _json["configuration"]; |
3199 } | 3262 } |
3200 if (_json.containsKey("id")) { | 3263 if (_json.containsKey("id")) { |
3201 id = _json["id"]; | 3264 id = _json["id"]; |
3202 } | 3265 } |
| 3266 if (_json.containsKey("initialReportIndex")) { |
| 3267 initialReportIndex = _json["initialReportIndex"]; |
| 3268 } |
3203 if (_json.containsKey("jobId")) { | 3269 if (_json.containsKey("jobId")) { |
3204 jobId = _json["jobId"]; | 3270 jobId = _json["jobId"]; |
3205 } | 3271 } |
3206 if (_json.containsKey("leaseExpireTime")) { | 3272 if (_json.containsKey("leaseExpireTime")) { |
3207 leaseExpireTime = _json["leaseExpireTime"]; | 3273 leaseExpireTime = _json["leaseExpireTime"]; |
3208 } | 3274 } |
3209 if (_json.containsKey("mapTask")) { | 3275 if (_json.containsKey("mapTask")) { |
3210 mapTask = new MapTask.fromJson(_json["mapTask"]); | 3276 mapTask = new MapTask.fromJson(_json["mapTask"]); |
3211 } | 3277 } |
3212 if (_json.containsKey("packages")) { | 3278 if (_json.containsKey("packages")) { |
3213 packages = _json["packages"].map((value) => new Package.fromJson(value)).t
oList(); | 3279 packages = _json["packages"].map((value) => new Package.fromJson(value)).t
oList(); |
3214 } | 3280 } |
3215 if (_json.containsKey("projectId")) { | 3281 if (_json.containsKey("projectId")) { |
3216 projectId = _json["projectId"]; | 3282 projectId = _json["projectId"]; |
3217 } | 3283 } |
3218 if (_json.containsKey("reportStatusInterval")) { | 3284 if (_json.containsKey("reportStatusInterval")) { |
3219 reportStatusInterval = _json["reportStatusInterval"]; | 3285 reportStatusInterval = _json["reportStatusInterval"]; |
3220 } | 3286 } |
3221 if (_json.containsKey("seqMapTask")) { | 3287 if (_json.containsKey("seqMapTask")) { |
3222 seqMapTask = new SeqMapTask.fromJson(_json["seqMapTask"]); | 3288 seqMapTask = new SeqMapTask.fromJson(_json["seqMapTask"]); |
3223 } | 3289 } |
3224 if (_json.containsKey("shellTask")) { | 3290 if (_json.containsKey("shellTask")) { |
3225 shellTask = new ShellTask.fromJson(_json["shellTask"]); | 3291 shellTask = new ShellTask.fromJson(_json["shellTask"]); |
3226 } | 3292 } |
3227 if (_json.containsKey("sourceOperationTask")) { | 3293 if (_json.containsKey("sourceOperationTask")) { |
3228 sourceOperationTask = new SourceOperationRequest.fromJson(_json["sourceOpe
rationTask"]); | 3294 sourceOperationTask = new SourceOperationRequest.fromJson(_json["sourceOpe
rationTask"]); |
3229 } | 3295 } |
| 3296 if (_json.containsKey("streamingComputationTask")) { |
| 3297 streamingComputationTask = new StreamingComputationTask.fromJson(_json["st
reamingComputationTask"]); |
| 3298 } |
3230 if (_json.containsKey("streamingSetupTask")) { | 3299 if (_json.containsKey("streamingSetupTask")) { |
3231 streamingSetupTask = new StreamingSetupTask.fromJson(_json["streamingSetup
Task"]); | 3300 streamingSetupTask = new StreamingSetupTask.fromJson(_json["streamingSetup
Task"]); |
3232 } | 3301 } |
3233 } | 3302 } |
3234 | 3303 |
3235 core.Map toJson() { | 3304 core.Map toJson() { |
3236 var _json = new core.Map(); | 3305 var _json = new core.Map(); |
3237 if (configuration != null) { | 3306 if (configuration != null) { |
3238 _json["configuration"] = configuration; | 3307 _json["configuration"] = configuration; |
3239 } | 3308 } |
3240 if (id != null) { | 3309 if (id != null) { |
3241 _json["id"] = id; | 3310 _json["id"] = id; |
3242 } | 3311 } |
| 3312 if (initialReportIndex != null) { |
| 3313 _json["initialReportIndex"] = initialReportIndex; |
| 3314 } |
3243 if (jobId != null) { | 3315 if (jobId != null) { |
3244 _json["jobId"] = jobId; | 3316 _json["jobId"] = jobId; |
3245 } | 3317 } |
3246 if (leaseExpireTime != null) { | 3318 if (leaseExpireTime != null) { |
3247 _json["leaseExpireTime"] = leaseExpireTime; | 3319 _json["leaseExpireTime"] = leaseExpireTime; |
3248 } | 3320 } |
3249 if (mapTask != null) { | 3321 if (mapTask != null) { |
3250 _json["mapTask"] = (mapTask).toJson(); | 3322 _json["mapTask"] = (mapTask).toJson(); |
3251 } | 3323 } |
3252 if (packages != null) { | 3324 if (packages != null) { |
3253 _json["packages"] = packages.map((value) => (value).toJson()).toList(); | 3325 _json["packages"] = packages.map((value) => (value).toJson()).toList(); |
3254 } | 3326 } |
3255 if (projectId != null) { | 3327 if (projectId != null) { |
3256 _json["projectId"] = projectId; | 3328 _json["projectId"] = projectId; |
3257 } | 3329 } |
3258 if (reportStatusInterval != null) { | 3330 if (reportStatusInterval != null) { |
3259 _json["reportStatusInterval"] = reportStatusInterval; | 3331 _json["reportStatusInterval"] = reportStatusInterval; |
3260 } | 3332 } |
3261 if (seqMapTask != null) { | 3333 if (seqMapTask != null) { |
3262 _json["seqMapTask"] = (seqMapTask).toJson(); | 3334 _json["seqMapTask"] = (seqMapTask).toJson(); |
3263 } | 3335 } |
3264 if (shellTask != null) { | 3336 if (shellTask != null) { |
3265 _json["shellTask"] = (shellTask).toJson(); | 3337 _json["shellTask"] = (shellTask).toJson(); |
3266 } | 3338 } |
3267 if (sourceOperationTask != null) { | 3339 if (sourceOperationTask != null) { |
3268 _json["sourceOperationTask"] = (sourceOperationTask).toJson(); | 3340 _json["sourceOperationTask"] = (sourceOperationTask).toJson(); |
3269 } | 3341 } |
| 3342 if (streamingComputationTask != null) { |
| 3343 _json["streamingComputationTask"] = (streamingComputationTask).toJson(); |
| 3344 } |
3270 if (streamingSetupTask != null) { | 3345 if (streamingSetupTask != null) { |
3271 _json["streamingSetupTask"] = (streamingSetupTask).toJson(); | 3346 _json["streamingSetupTask"] = (streamingSetupTask).toJson(); |
3272 } | 3347 } |
3273 return _json; | 3348 return _json; |
3274 } | 3349 } |
3275 } | 3350 } |
3276 | 3351 |
3277 | 3352 |
3278 /** Not documented yet. */ | |
3279 class WorkItemServiceState { | 3353 class WorkItemServiceState { |
3280 /** | 3354 /** |
3281 * Not documented yet. | 3355 * |
3282 * | 3356 * |
3283 * The values for Object must be JSON objects. It can consist of `num`, | 3357 * The values for Object must be JSON objects. It can consist of `num`, |
3284 * `String`, `bool` and `null` as well as `Map` and `List` values. | 3358 * `String`, `bool` and `null` as well as `Map` and `List` values. |
3285 */ | 3359 */ |
3286 core.Map<core.String, core.Object> harnessData; | 3360 core.Map<core.String, core.Object> harnessData; |
3287 | 3361 |
3288 /** Not documented yet. */ | |
3289 core.String leaseExpireTime; | 3362 core.String leaseExpireTime; |
3290 | 3363 |
3291 /** Not documented yet. */ | 3364 core.String nextReportIndex; |
| 3365 |
3292 core.String reportStatusInterval; | 3366 core.String reportStatusInterval; |
3293 | 3367 |
3294 /** Not documented yet. */ | |
3295 ApproximateProgress suggestedStopPoint; | 3368 ApproximateProgress suggestedStopPoint; |
3296 | 3369 |
3297 /** Not documented yet. */ | |
3298 Position suggestedStopPosition; | 3370 Position suggestedStopPosition; |
3299 | 3371 |
3300 | 3372 |
3301 WorkItemServiceState(); | 3373 WorkItemServiceState(); |
3302 | 3374 |
3303 WorkItemServiceState.fromJson(core.Map _json) { | 3375 WorkItemServiceState.fromJson(core.Map _json) { |
3304 if (_json.containsKey("harnessData")) { | 3376 if (_json.containsKey("harnessData")) { |
3305 harnessData = _json["harnessData"]; | 3377 harnessData = _json["harnessData"]; |
3306 } | 3378 } |
3307 if (_json.containsKey("leaseExpireTime")) { | 3379 if (_json.containsKey("leaseExpireTime")) { |
3308 leaseExpireTime = _json["leaseExpireTime"]; | 3380 leaseExpireTime = _json["leaseExpireTime"]; |
3309 } | 3381 } |
| 3382 if (_json.containsKey("nextReportIndex")) { |
| 3383 nextReportIndex = _json["nextReportIndex"]; |
| 3384 } |
3310 if (_json.containsKey("reportStatusInterval")) { | 3385 if (_json.containsKey("reportStatusInterval")) { |
3311 reportStatusInterval = _json["reportStatusInterval"]; | 3386 reportStatusInterval = _json["reportStatusInterval"]; |
3312 } | 3387 } |
3313 if (_json.containsKey("suggestedStopPoint")) { | 3388 if (_json.containsKey("suggestedStopPoint")) { |
3314 suggestedStopPoint = new ApproximateProgress.fromJson(_json["suggestedStop
Point"]); | 3389 suggestedStopPoint = new ApproximateProgress.fromJson(_json["suggestedStop
Point"]); |
3315 } | 3390 } |
3316 if (_json.containsKey("suggestedStopPosition")) { | 3391 if (_json.containsKey("suggestedStopPosition")) { |
3317 suggestedStopPosition = new Position.fromJson(_json["suggestedStopPosition
"]); | 3392 suggestedStopPosition = new Position.fromJson(_json["suggestedStopPosition
"]); |
3318 } | 3393 } |
3319 } | 3394 } |
3320 | 3395 |
3321 core.Map toJson() { | 3396 core.Map toJson() { |
3322 var _json = new core.Map(); | 3397 var _json = new core.Map(); |
3323 if (harnessData != null) { | 3398 if (harnessData != null) { |
3324 _json["harnessData"] = harnessData; | 3399 _json["harnessData"] = harnessData; |
3325 } | 3400 } |
3326 if (leaseExpireTime != null) { | 3401 if (leaseExpireTime != null) { |
3327 _json["leaseExpireTime"] = leaseExpireTime; | 3402 _json["leaseExpireTime"] = leaseExpireTime; |
3328 } | 3403 } |
| 3404 if (nextReportIndex != null) { |
| 3405 _json["nextReportIndex"] = nextReportIndex; |
| 3406 } |
3329 if (reportStatusInterval != null) { | 3407 if (reportStatusInterval != null) { |
3330 _json["reportStatusInterval"] = reportStatusInterval; | 3408 _json["reportStatusInterval"] = reportStatusInterval; |
3331 } | 3409 } |
3332 if (suggestedStopPoint != null) { | 3410 if (suggestedStopPoint != null) { |
3333 _json["suggestedStopPoint"] = (suggestedStopPoint).toJson(); | 3411 _json["suggestedStopPoint"] = (suggestedStopPoint).toJson(); |
3334 } | 3412 } |
3335 if (suggestedStopPosition != null) { | 3413 if (suggestedStopPosition != null) { |
3336 _json["suggestedStopPosition"] = (suggestedStopPosition).toJson(); | 3414 _json["suggestedStopPosition"] = (suggestedStopPosition).toJson(); |
3337 } | 3415 } |
3338 return _json; | 3416 return _json; |
3339 } | 3417 } |
3340 } | 3418 } |
3341 | 3419 |
3342 | 3420 |
3343 /** Not documented yet. */ | |
3344 class WorkItemStatus { | 3421 class WorkItemStatus { |
3345 /** Not documented yet. */ | |
3346 core.bool completed; | 3422 core.bool completed; |
3347 | 3423 |
3348 /** Not documented yet. */ | 3424 DynamicSourceSplit dynamicSourceSplit; |
| 3425 |
3349 core.List<Status> errors; | 3426 core.List<Status> errors; |
3350 | 3427 |
3351 /** Not documented yet. */ | |
3352 core.List<MetricUpdate> metricUpdates; | 3428 core.List<MetricUpdate> metricUpdates; |
3353 | 3429 |
3354 /** Not documented yet. */ | |
3355 ApproximateProgress progress; | 3430 ApproximateProgress progress; |
3356 | 3431 |
3357 /** Not documented yet. */ | |
3358 core.String reportIndex; | 3432 core.String reportIndex; |
3359 | 3433 |
3360 /** Not documented yet. */ | |
3361 core.String requestedLeaseDuration; | 3434 core.String requestedLeaseDuration; |
3362 | 3435 |
3363 /** Not documented yet. */ | |
3364 SourceFork sourceFork; | 3436 SourceFork sourceFork; |
3365 | 3437 |
3366 /** Not documented yet. */ | |
3367 SourceOperationResponse sourceOperationResponse; | 3438 SourceOperationResponse sourceOperationResponse; |
3368 | 3439 |
3369 /** Not documented yet. */ | |
3370 Position stopPosition; | 3440 Position stopPosition; |
3371 | 3441 |
3372 /** Not documented yet. */ | |
3373 core.String workItemId; | 3442 core.String workItemId; |
3374 | 3443 |
3375 | 3444 |
3376 WorkItemStatus(); | 3445 WorkItemStatus(); |
3377 | 3446 |
3378 WorkItemStatus.fromJson(core.Map _json) { | 3447 WorkItemStatus.fromJson(core.Map _json) { |
3379 if (_json.containsKey("completed")) { | 3448 if (_json.containsKey("completed")) { |
3380 completed = _json["completed"]; | 3449 completed = _json["completed"]; |
3381 } | 3450 } |
| 3451 if (_json.containsKey("dynamicSourceSplit")) { |
| 3452 dynamicSourceSplit = new DynamicSourceSplit.fromJson(_json["dynamicSourceS
plit"]); |
| 3453 } |
3382 if (_json.containsKey("errors")) { | 3454 if (_json.containsKey("errors")) { |
3383 errors = _json["errors"].map((value) => new Status.fromJson(value)).toList
(); | 3455 errors = _json["errors"].map((value) => new Status.fromJson(value)).toList
(); |
3384 } | 3456 } |
3385 if (_json.containsKey("metricUpdates")) { | 3457 if (_json.containsKey("metricUpdates")) { |
3386 metricUpdates = _json["metricUpdates"].map((value) => new MetricUpdate.fro
mJson(value)).toList(); | 3458 metricUpdates = _json["metricUpdates"].map((value) => new MetricUpdate.fro
mJson(value)).toList(); |
3387 } | 3459 } |
3388 if (_json.containsKey("progress")) { | 3460 if (_json.containsKey("progress")) { |
3389 progress = new ApproximateProgress.fromJson(_json["progress"]); | 3461 progress = new ApproximateProgress.fromJson(_json["progress"]); |
3390 } | 3462 } |
3391 if (_json.containsKey("reportIndex")) { | 3463 if (_json.containsKey("reportIndex")) { |
(...skipping 14 matching lines...) Expand all Loading... |
3406 if (_json.containsKey("workItemId")) { | 3478 if (_json.containsKey("workItemId")) { |
3407 workItemId = _json["workItemId"]; | 3479 workItemId = _json["workItemId"]; |
3408 } | 3480 } |
3409 } | 3481 } |
3410 | 3482 |
3411 core.Map toJson() { | 3483 core.Map toJson() { |
3412 var _json = new core.Map(); | 3484 var _json = new core.Map(); |
3413 if (completed != null) { | 3485 if (completed != null) { |
3414 _json["completed"] = completed; | 3486 _json["completed"] = completed; |
3415 } | 3487 } |
| 3488 if (dynamicSourceSplit != null) { |
| 3489 _json["dynamicSourceSplit"] = (dynamicSourceSplit).toJson(); |
| 3490 } |
3416 if (errors != null) { | 3491 if (errors != null) { |
3417 _json["errors"] = errors.map((value) => (value).toJson()).toList(); | 3492 _json["errors"] = errors.map((value) => (value).toJson()).toList(); |
3418 } | 3493 } |
3419 if (metricUpdates != null) { | 3494 if (metricUpdates != null) { |
3420 _json["metricUpdates"] = metricUpdates.map((value) => (value).toJson()).to
List(); | 3495 _json["metricUpdates"] = metricUpdates.map((value) => (value).toJson()).to
List(); |
3421 } | 3496 } |
3422 if (progress != null) { | 3497 if (progress != null) { |
3423 _json["progress"] = (progress).toJson(); | 3498 _json["progress"] = (progress).toJson(); |
3424 } | 3499 } |
3425 if (reportIndex != null) { | 3500 if (reportIndex != null) { |
(...skipping 12 matching lines...) Expand all Loading... |
3438 _json["stopPosition"] = (stopPosition).toJson(); | 3513 _json["stopPosition"] = (stopPosition).toJson(); |
3439 } | 3514 } |
3440 if (workItemId != null) { | 3515 if (workItemId != null) { |
3441 _json["workItemId"] = workItemId; | 3516 _json["workItemId"] = workItemId; |
3442 } | 3517 } |
3443 return _json; | 3518 return _json; |
3444 } | 3519 } |
3445 } | 3520 } |
3446 | 3521 |
3447 | 3522 |
3448 /** Not documented yet. */ | |
3449 class WorkerPool { | 3523 class WorkerPool { |
3450 /** Not documented yet. */ | |
3451 AutoscalingSettings autoscalingSettings; | 3524 AutoscalingSettings autoscalingSettings; |
3452 | 3525 |
3453 /** Not documented yet. */ | |
3454 core.List<Disk> dataDisks; | 3526 core.List<Disk> dataDisks; |
3455 | 3527 |
3456 /** | 3528 /** |
3457 * Not documented yet. | 3529 * |
3458 * Possible string values are: | 3530 * Possible string values are: |
3459 * - "DEFAULT_PACKAGE_SET_JAVA" | 3531 * - "DEFAULT_PACKAGE_SET_JAVA" |
3460 * - "DEFAULT_PACKAGE_SET_NONE" | 3532 * - "DEFAULT_PACKAGE_SET_NONE" |
3461 * - "DEFAULT_PACKAGE_SET_PYTHON" | 3533 * - "DEFAULT_PACKAGE_SET_PYTHON" |
3462 * - "DEFAULT_PACKAGE_SET_UNKNOWN" | 3534 * - "DEFAULT_PACKAGE_SET_UNKNOWN" |
3463 */ | 3535 */ |
3464 core.String defaultPackageSet; | 3536 core.String defaultPackageSet; |
3465 | 3537 |
3466 /** Not documented yet. */ | |
3467 core.int diskSizeGb; | 3538 core.int diskSizeGb; |
3468 | 3539 |
3469 /** Not documented yet. */ | |
3470 core.String diskSourceImage; | 3540 core.String diskSourceImage; |
3471 | 3541 |
3472 /** Not documented yet. */ | |
3473 core.String kind; | 3542 core.String kind; |
3474 | 3543 |
3475 /** Not documented yet. */ | |
3476 core.String machineType; | 3544 core.String machineType; |
3477 | 3545 |
3478 /** Not documented yet. */ | |
3479 core.Map<core.String, core.String> metadata; | 3546 core.Map<core.String, core.String> metadata; |
3480 | 3547 |
3481 /** Not documented yet. */ | |
3482 core.int numWorkers; | 3548 core.int numWorkers; |
3483 | 3549 |
3484 /** Not documented yet. */ | |
3485 core.String onHostMaintenance; | 3550 core.String onHostMaintenance; |
3486 | 3551 |
3487 /** Not documented yet. */ | |
3488 core.List<Package> packages; | 3552 core.List<Package> packages; |
3489 | 3553 |
3490 /** Not documented yet. */ | 3554 /** |
| 3555 * |
| 3556 * |
| 3557 * The values for Object must be JSON objects. It can consist of `num`, |
| 3558 * `String`, `bool` and `null` as well as `Map` and `List` values. |
| 3559 */ |
| 3560 core.Map<core.String, core.Object> poolArgs; |
| 3561 |
3491 TaskRunnerSettings taskrunnerSettings; | 3562 TaskRunnerSettings taskrunnerSettings; |
3492 | 3563 |
3493 /** | 3564 /** |
3494 * Not documented yet. | 3565 * |
3495 * Possible string values are: | 3566 * Possible string values are: |
3496 * - "TEARDOWN_ALWAYS" | 3567 * - "TEARDOWN_ALWAYS" |
3497 * - "TEARDOWN_NEVER" | 3568 * - "TEARDOWN_NEVER" |
3498 * - "TEARDOWN_ON_SUCCESS" | 3569 * - "TEARDOWN_ON_SUCCESS" |
3499 * - "TEARDOWN_POLICY_UNKNOWN" | 3570 * - "TEARDOWN_POLICY_UNKNOWN" |
3500 */ | 3571 */ |
3501 core.String teardownPolicy; | 3572 core.String teardownPolicy; |
3502 | 3573 |
3503 /** Not documented yet. */ | |
3504 core.String zone; | 3574 core.String zone; |
3505 | 3575 |
3506 | 3576 |
3507 WorkerPool(); | 3577 WorkerPool(); |
3508 | 3578 |
3509 WorkerPool.fromJson(core.Map _json) { | 3579 WorkerPool.fromJson(core.Map _json) { |
3510 if (_json.containsKey("autoscalingSettings")) { | 3580 if (_json.containsKey("autoscalingSettings")) { |
3511 autoscalingSettings = new AutoscalingSettings.fromJson(_json["autoscalingS
ettings"]); | 3581 autoscalingSettings = new AutoscalingSettings.fromJson(_json["autoscalingS
ettings"]); |
3512 } | 3582 } |
3513 if (_json.containsKey("dataDisks")) { | 3583 if (_json.containsKey("dataDisks")) { |
(...skipping 19 matching lines...) Expand all Loading... |
3533 } | 3603 } |
3534 if (_json.containsKey("numWorkers")) { | 3604 if (_json.containsKey("numWorkers")) { |
3535 numWorkers = _json["numWorkers"]; | 3605 numWorkers = _json["numWorkers"]; |
3536 } | 3606 } |
3537 if (_json.containsKey("onHostMaintenance")) { | 3607 if (_json.containsKey("onHostMaintenance")) { |
3538 onHostMaintenance = _json["onHostMaintenance"]; | 3608 onHostMaintenance = _json["onHostMaintenance"]; |
3539 } | 3609 } |
3540 if (_json.containsKey("packages")) { | 3610 if (_json.containsKey("packages")) { |
3541 packages = _json["packages"].map((value) => new Package.fromJson(value)).t
oList(); | 3611 packages = _json["packages"].map((value) => new Package.fromJson(value)).t
oList(); |
3542 } | 3612 } |
| 3613 if (_json.containsKey("poolArgs")) { |
| 3614 poolArgs = _json["poolArgs"]; |
| 3615 } |
3543 if (_json.containsKey("taskrunnerSettings")) { | 3616 if (_json.containsKey("taskrunnerSettings")) { |
3544 taskrunnerSettings = new TaskRunnerSettings.fromJson(_json["taskrunnerSett
ings"]); | 3617 taskrunnerSettings = new TaskRunnerSettings.fromJson(_json["taskrunnerSett
ings"]); |
3545 } | 3618 } |
3546 if (_json.containsKey("teardownPolicy")) { | 3619 if (_json.containsKey("teardownPolicy")) { |
3547 teardownPolicy = _json["teardownPolicy"]; | 3620 teardownPolicy = _json["teardownPolicy"]; |
3548 } | 3621 } |
3549 if (_json.containsKey("zone")) { | 3622 if (_json.containsKey("zone")) { |
3550 zone = _json["zone"]; | 3623 zone = _json["zone"]; |
3551 } | 3624 } |
3552 } | 3625 } |
(...skipping 26 matching lines...) Expand all Loading... |
3579 } | 3652 } |
3580 if (numWorkers != null) { | 3653 if (numWorkers != null) { |
3581 _json["numWorkers"] = numWorkers; | 3654 _json["numWorkers"] = numWorkers; |
3582 } | 3655 } |
3583 if (onHostMaintenance != null) { | 3656 if (onHostMaintenance != null) { |
3584 _json["onHostMaintenance"] = onHostMaintenance; | 3657 _json["onHostMaintenance"] = onHostMaintenance; |
3585 } | 3658 } |
3586 if (packages != null) { | 3659 if (packages != null) { |
3587 _json["packages"] = packages.map((value) => (value).toJson()).toList(); | 3660 _json["packages"] = packages.map((value) => (value).toJson()).toList(); |
3588 } | 3661 } |
| 3662 if (poolArgs != null) { |
| 3663 _json["poolArgs"] = poolArgs; |
| 3664 } |
3589 if (taskrunnerSettings != null) { | 3665 if (taskrunnerSettings != null) { |
3590 _json["taskrunnerSettings"] = (taskrunnerSettings).toJson(); | 3666 _json["taskrunnerSettings"] = (taskrunnerSettings).toJson(); |
3591 } | 3667 } |
3592 if (teardownPolicy != null) { | 3668 if (teardownPolicy != null) { |
3593 _json["teardownPolicy"] = teardownPolicy; | 3669 _json["teardownPolicy"] = teardownPolicy; |
3594 } | 3670 } |
3595 if (zone != null) { | 3671 if (zone != null) { |
3596 _json["zone"] = zone; | 3672 _json["zone"] = zone; |
3597 } | 3673 } |
3598 return _json; | 3674 return _json; |
3599 } | 3675 } |
3600 } | 3676 } |
3601 | 3677 |
3602 | 3678 |
3603 /** Not documented yet. */ | |
3604 class WorkerSettings { | 3679 class WorkerSettings { |
3605 /** Not documented yet. */ | |
3606 core.String baseUrl; | 3680 core.String baseUrl; |
3607 | 3681 |
3608 /** Not documented yet. */ | |
3609 core.bool reportingEnabled; | 3682 core.bool reportingEnabled; |
3610 | 3683 |
3611 /** Not documented yet. */ | |
3612 core.String servicePath; | 3684 core.String servicePath; |
3613 | 3685 |
3614 /** Not documented yet. */ | |
3615 core.String shuffleServicePath; | 3686 core.String shuffleServicePath; |
3616 | 3687 |
3617 /** Not documented yet. */ | |
3618 core.String tempStoragePrefix; | 3688 core.String tempStoragePrefix; |
3619 | 3689 |
3620 /** Not documented yet. */ | |
3621 core.String workerId; | 3690 core.String workerId; |
3622 | 3691 |
3623 | 3692 |
3624 WorkerSettings(); | 3693 WorkerSettings(); |
3625 | 3694 |
3626 WorkerSettings.fromJson(core.Map _json) { | 3695 WorkerSettings.fromJson(core.Map _json) { |
3627 if (_json.containsKey("baseUrl")) { | 3696 if (_json.containsKey("baseUrl")) { |
3628 baseUrl = _json["baseUrl"]; | 3697 baseUrl = _json["baseUrl"]; |
3629 } | 3698 } |
3630 if (_json.containsKey("reportingEnabled")) { | 3699 if (_json.containsKey("reportingEnabled")) { |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3662 _json["tempStoragePrefix"] = tempStoragePrefix; | 3731 _json["tempStoragePrefix"] = tempStoragePrefix; |
3663 } | 3732 } |
3664 if (workerId != null) { | 3733 if (workerId != null) { |
3665 _json["workerId"] = workerId; | 3734 _json["workerId"] = workerId; |
3666 } | 3735 } |
3667 return _json; | 3736 return _json; |
3668 } | 3737 } |
3669 } | 3738 } |
3670 | 3739 |
3671 | 3740 |
3672 /** Not documented yet. */ | |
3673 class WriteInstruction { | 3741 class WriteInstruction { |
3674 /** Not documented yet. */ | |
3675 InstructionInput input; | 3742 InstructionInput input; |
3676 | 3743 |
3677 /** Not documented yet. */ | |
3678 Sink sink; | 3744 Sink sink; |
3679 | 3745 |
3680 | 3746 |
3681 WriteInstruction(); | 3747 WriteInstruction(); |
3682 | 3748 |
3683 WriteInstruction.fromJson(core.Map _json) { | 3749 WriteInstruction.fromJson(core.Map _json) { |
3684 if (_json.containsKey("input")) { | 3750 if (_json.containsKey("input")) { |
3685 input = new InstructionInput.fromJson(_json["input"]); | 3751 input = new InstructionInput.fromJson(_json["input"]); |
3686 } | 3752 } |
3687 if (_json.containsKey("sink")) { | 3753 if (_json.containsKey("sink")) { |
3688 sink = new Sink.fromJson(_json["sink"]); | 3754 sink = new Sink.fromJson(_json["sink"]); |
3689 } | 3755 } |
3690 } | 3756 } |
3691 | 3757 |
3692 core.Map toJson() { | 3758 core.Map toJson() { |
3693 var _json = new core.Map(); | 3759 var _json = new core.Map(); |
3694 if (input != null) { | 3760 if (input != null) { |
3695 _json["input"] = (input).toJson(); | 3761 _json["input"] = (input).toJson(); |
3696 } | 3762 } |
3697 if (sink != null) { | 3763 if (sink != null) { |
3698 _json["sink"] = (sink).toJson(); | 3764 _json["sink"] = (sink).toJson(); |
3699 } | 3765 } |
3700 return _json; | 3766 return _json; |
3701 } | 3767 } |
3702 } | 3768 } |
3703 | |
3704 | |
OLD | NEW |