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

Side by Side Diff: discovery/googleapis_beta/dataflow__v1b3.json

Issue 2779563003: Api-roll 47: 2017-03-27 (Closed)
Patch Set: Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 { 1 {
2 "auth": { 2 "auth": {
3 "oauth2": { 3 "oauth2": {
4 "scopes": { 4 "scopes": {
5 "https://www.googleapis.com/auth/cloud-platform": { 5 "https://www.googleapis.com/auth/cloud-platform": {
6 "description": "View and manage your data across Google Clou d Platform services" 6 "description": "View and manage your data across Google Clou d Platform services"
7 }, 7 },
8 "https://www.googleapis.com/auth/userinfo.email": { 8 "https://www.googleapis.com/auth/userinfo.email": {
9 "description": "View your email address" 9 "description": "View your email address"
10 } 10 }
11 } 11 }
12 } 12 }
13 }, 13 },
14 "basePath": "", 14 "basePath": "",
15 "baseUrl": "https://dataflow.googleapis.com/", 15 "baseUrl": "https://dataflow.googleapis.com/",
16 "batchPath": "batch", 16 "batchPath": "batch",
17 "description": "Manages Google Cloud Dataflow projects on Google Cloud Platf orm.", 17 "description": "Manages Google Cloud Dataflow projects on Google Cloud Platf orm.",
18 "discoveryVersion": "v1", 18 "discoveryVersion": "v1",
19 "documentationLink": "https://cloud.google.com/dataflow", 19 "documentationLink": "https://cloud.google.com/dataflow",
20 "icons": { 20 "icons": {
21 "x16": "http://www.google.com/images/icons/product/search-16.gif", 21 "x16": "http://www.google.com/images/icons/product/search-16.gif",
22 "x32": "http://www.google.com/images/icons/product/search-32.gif" 22 "x32": "http://www.google.com/images/icons/product/search-32.gif"
23 }, 23 },
24 "id": "dataflow:v1b3", 24 "id": "dataflow:v1b3",
25 "kind": "discovery#restDescription", 25 "kind": "discovery#restDescription",
26 "name": "dataflow", 26 "name": "dataflow",
27 "ownerDomain": "google.com", 27 "ownerDomain": "google.com",
28 "ownerName": "Google", 28 "ownerName": "Google",
29 "parameters": { 29 "parameters": {
30 "prettyPrint": { 30 "uploadType": {
31 "default": "true", 31 "description": "Legacy upload protocol for media (e.g. \"media\", \" multipart\").",
32 "description": "Returns response with indentations and line breaks." ,
33 "location": "query", 32 "location": "query",
34 "type": "boolean" 33 "type": "string"
35 }, 34 },
36 "fields": { 35 "fields": {
37 "description": "Selector specifying which fields to include in a par tial response.", 36 "description": "Selector specifying which fields to include in a par tial response.",
38 "location": "query", 37 "location": "query",
39 "type": "string" 38 "type": "string"
40 }, 39 },
41 "uploadType": {
42 "description": "Legacy upload protocol for media (e.g. \"media\", \" multipart\").",
43 "location": "query",
44 "type": "string"
45 },
46 "$.xgafv": { 40 "$.xgafv": {
47 "description": "V1 error format.", 41 "description": "V1 error format.",
48 "enum": [ 42 "enum": [
49 "1", 43 "1",
50 "2" 44 "2"
51 ], 45 ],
52 "enumDescriptions": [ 46 "enumDescriptions": [
53 "v1 error format", 47 "v1 error format",
54 "v2 error format" 48 "v2 error format"
55 ], 49 ],
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
105 }, 99 },
106 "bearer_token": { 100 "bearer_token": {
107 "description": "OAuth bearer token.", 101 "description": "OAuth bearer token.",
108 "location": "query", 102 "location": "query",
109 "type": "string" 103 "type": "string"
110 }, 104 },
111 "upload_protocol": { 105 "upload_protocol": {
112 "description": "Upload protocol for media (e.g. \"raw\", \"multipart \").", 106 "description": "Upload protocol for media (e.g. \"raw\", \"multipart \").",
113 "location": "query", 107 "location": "query",
114 "type": "string" 108 "type": "string"
109 },
110 "prettyPrint": {
111 "default": "true",
112 "description": "Returns response with indentations and line breaks." ,
113 "location": "query",
114 "type": "boolean"
115 } 115 }
116 }, 116 },
117 "protocol": "rest", 117 "protocol": "rest",
118 "resources": { 118 "resources": {
119 "projects": { 119 "projects": {
120 "methods": { 120 "methods": {
121 "workerMessages": { 121 "workerMessages": {
122 "description": "Send a worker_message to the service.", 122 "description": "Send a worker_message to the service.",
123 "httpMethod": "POST", 123 "httpMethod": "POST",
124 "id": "dataflow.projects.workerMessages", 124 "id": "dataflow.projects.workerMessages",
(...skipping 29 matching lines...) Expand all
154 "get": { 154 "get": {
155 "description": "Gets the state of the specif ied Cloud Dataflow job.", 155 "description": "Gets the state of the specif ied Cloud Dataflow job.",
156 "httpMethod": "GET", 156 "httpMethod": "GET",
157 "id": "dataflow.projects.locations.jobs.get" , 157 "id": "dataflow.projects.locations.jobs.get" ,
158 "parameterOrder": [ 158 "parameterOrder": [
159 "projectId", 159 "projectId",
160 "location", 160 "location",
161 "jobId" 161 "jobId"
162 ], 162 ],
163 "parameters": { 163 "parameters": {
164 "location": {
165 "description": "The location that co ntains this job.",
166 "location": "path",
167 "required": true,
168 "type": "string"
169 },
170 "projectId": { 164 "projectId": {
171 "description": "The ID of the Cloud Platform project that the job belongs to.", 165 "description": "The ID of the Cloud Platform project that the job belongs to.",
172 "location": "path", 166 "location": "path",
173 "required": true, 167 "required": true,
174 "type": "string" 168 "type": "string"
175 }, 169 },
176 "jobId": { 170 "jobId": {
177 "description": "The job ID.", 171 "description": "The job ID.",
178 "location": "path", 172 "location": "path",
179 "required": true, 173 "required": true,
180 "type": "string" 174 "type": "string"
181 }, 175 },
182 "view": { 176 "view": {
183 "description": "The level of informa tion requested in response.", 177 "description": "The level of informa tion requested in response.",
184 "enum": [ 178 "enum": [
185 "JOB_VIEW_UNKNOWN", 179 "JOB_VIEW_UNKNOWN",
186 "JOB_VIEW_SUMMARY", 180 "JOB_VIEW_SUMMARY",
187 "JOB_VIEW_ALL", 181 "JOB_VIEW_ALL",
188 "JOB_VIEW_DESCRIPTION" 182 "JOB_VIEW_DESCRIPTION"
189 ], 183 ],
190 "location": "query", 184 "location": "query",
191 "type": "string" 185 "type": "string"
186 },
187 "location": {
188 "description": "The location that co ntains this job.",
189 "location": "path",
190 "required": true,
191 "type": "string"
192 } 192 }
193 }, 193 },
194 "path": "v1b3/projects/{projectId}/locations /{location}/jobs/{jobId}", 194 "path": "v1b3/projects/{projectId}/locations /{location}/jobs/{jobId}",
195 "response": { 195 "response": {
196 "$ref": "Job" 196 "$ref": "Job"
197 }, 197 },
198 "scopes": [ 198 "scopes": [
199 "https://www.googleapis.com/auth/cloud-p latform", 199 "https://www.googleapis.com/auth/cloud-p latform",
200 "https://www.googleapis.com/auth/userinf o.email" 200 "https://www.googleapis.com/auth/userinf o.email"
201 ] 201 ]
202 }, 202 },
203 "list": { 203 "list": {
204 "description": "List the jobs of a project." , 204 "description": "List the jobs of a project." ,
205 "httpMethod": "GET", 205 "httpMethod": "GET",
206 "id": "dataflow.projects.locations.jobs.list ", 206 "id": "dataflow.projects.locations.jobs.list ",
207 "parameterOrder": [ 207 "parameterOrder": [
208 "projectId", 208 "projectId",
209 "location" 209 "location"
210 ], 210 ],
211 "parameters": { 211 "parameters": {
212 "pageSize": {
213 "description": "If there are many jo bs, limit response to at most this many.\nThe actual number of jobs returned wil l be the lesser of max_responses\nand an unspecified server-defined limit.",
214 "format": "int32",
215 "location": "query",
216 "type": "integer"
217 },
218 "view": {
219 "description": "Level of information requested in response. Default is `JOB_VIEW_SUMMARY`.",
220 "enum": [
221 "JOB_VIEW_UNKNOWN",
222 "JOB_VIEW_SUMMARY",
223 "JOB_VIEW_ALL",
224 "JOB_VIEW_DESCRIPTION"
225 ],
226 "location": "query",
227 "type": "string"
228 },
212 "projectId": { 229 "projectId": {
213 "description": "The project which ow ns the jobs.", 230 "description": "The project which ow ns the jobs.",
214 "location": "path", 231 "location": "path",
215 "required": true, 232 "required": true,
216 "type": "string" 233 "type": "string"
217 }, 234 },
218 "filter": { 235 "filter": {
219 "description": "The kind of filter t o use.", 236 "description": "The kind of filter t o use.",
220 "enum": [ 237 "enum": [
221 "UNKNOWN", 238 "UNKNOWN",
222 "ALL", 239 "ALL",
223 "TERMINATED", 240 "TERMINATED",
224 "ACTIVE" 241 "ACTIVE"
225 ], 242 ],
226 "location": "query", 243 "location": "query",
227 "type": "string" 244 "type": "string"
228 }, 245 },
229 "location": { 246 "location": {
230 "description": "The location that co ntains this job.", 247 "description": "The location that co ntains this job.",
231 "location": "path", 248 "location": "path",
232 "required": true, 249 "required": true,
233 "type": "string" 250 "type": "string"
234 }, 251 },
235 "pageToken": { 252 "pageToken": {
236 "description": "Set this to the 'nex t_page_token' field of a previous response\nto request additional results in a l ong list.", 253 "description": "Set this to the 'nex t_page_token' field of a previous response\nto request additional results in a l ong list.",
237 "location": "query", 254 "location": "query",
238 "type": "string" 255 "type": "string"
239 },
240 "pageSize": {
241 "description": "If there are many jo bs, limit response to at most this many.\nThe actual number of jobs returned wil l be the lesser of max_responses\nand an unspecified server-defined limit.",
242 "format": "int32",
243 "location": "query",
244 "type": "integer"
245 },
246 "view": {
247 "description": "Level of information requested in response. Default is `JOB_VIEW_SUMMARY`.",
248 "enum": [
249 "JOB_VIEW_UNKNOWN",
250 "JOB_VIEW_SUMMARY",
251 "JOB_VIEW_ALL",
252 "JOB_VIEW_DESCRIPTION"
253 ],
254 "location": "query",
255 "type": "string"
256 } 256 }
257 }, 257 },
258 "path": "v1b3/projects/{projectId}/locations /{location}/jobs", 258 "path": "v1b3/projects/{projectId}/locations /{location}/jobs",
259 "response": { 259 "response": {
260 "$ref": "ListJobsResponse" 260 "$ref": "ListJobsResponse"
261 }, 261 },
262 "scopes": [ 262 "scopes": [
263 "https://www.googleapis.com/auth/cloud-p latform", 263 "https://www.googleapis.com/auth/cloud-p latform",
264 "https://www.googleapis.com/auth/userinf o.email" 264 "https://www.googleapis.com/auth/userinf o.email"
265 ] 265 ]
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
307 }, 307 },
308 "create": { 308 "create": {
309 "description": "Creates a Cloud Dataflow job .", 309 "description": "Creates a Cloud Dataflow job .",
310 "httpMethod": "POST", 310 "httpMethod": "POST",
311 "id": "dataflow.projects.locations.jobs.crea te", 311 "id": "dataflow.projects.locations.jobs.crea te",
312 "parameterOrder": [ 312 "parameterOrder": [
313 "projectId", 313 "projectId",
314 "location" 314 "location"
315 ], 315 ],
316 "parameters": { 316 "parameters": {
317 "replaceJobId": {
318 "description": "Deprecated. This fie ld is now in the Job message.",
319 "location": "query",
320 "type": "string"
321 },
322 "projectId": { 317 "projectId": {
323 "description": "The ID of the Cloud Platform project that the job belongs to.", 318 "description": "The ID of the Cloud Platform project that the job belongs to.",
324 "location": "path", 319 "location": "path",
325 "required": true, 320 "required": true,
326 "type": "string" 321 "type": "string"
327 }, 322 },
328 "view": { 323 "view": {
329 "description": "The level of informa tion requested in response.", 324 "description": "The level of informa tion requested in response.",
330 "enum": [ 325 "enum": [
331 "JOB_VIEW_UNKNOWN", 326 "JOB_VIEW_UNKNOWN",
332 "JOB_VIEW_SUMMARY", 327 "JOB_VIEW_SUMMARY",
333 "JOB_VIEW_ALL", 328 "JOB_VIEW_ALL",
334 "JOB_VIEW_DESCRIPTION" 329 "JOB_VIEW_DESCRIPTION"
335 ], 330 ],
336 "location": "query", 331 "location": "query",
337 "type": "string" 332 "type": "string"
338 }, 333 },
339 "location": { 334 "location": {
340 "description": "The location that co ntains this job.", 335 "description": "The location that co ntains this job.",
341 "location": "path", 336 "location": "path",
342 "required": true, 337 "required": true,
343 "type": "string" 338 "type": "string"
339 },
340 "replaceJobId": {
341 "description": "Deprecated. This fie ld is now in the Job message.",
342 "location": "query",
343 "type": "string"
344 } 344 }
345 }, 345 },
346 "path": "v1b3/projects/{projectId}/locations /{location}/jobs", 346 "path": "v1b3/projects/{projectId}/locations /{location}/jobs",
347 "request": { 347 "request": {
348 "$ref": "Job" 348 "$ref": "Job"
349 }, 349 },
350 "response": { 350 "response": {
351 "$ref": "Job" 351 "$ref": "Job"
352 }, 352 },
353 "scopes": [ 353 "scopes": [
354 "https://www.googleapis.com/auth/cloud-p latform", 354 "https://www.googleapis.com/auth/cloud-p latform",
355 "https://www.googleapis.com/auth/userinf o.email" 355 "https://www.googleapis.com/auth/userinf o.email"
356 ] 356 ]
357 }, 357 },
358 "getMetrics": { 358 "getMetrics": {
359 "description": "Request the job status.", 359 "description": "Request the job status.",
360 "httpMethod": "GET", 360 "httpMethod": "GET",
361 "id": "dataflow.projects.locations.jobs.getM etrics", 361 "id": "dataflow.projects.locations.jobs.getM etrics",
362 "parameterOrder": [ 362 "parameterOrder": [
363 "projectId", 363 "projectId",
364 "location", 364 "location",
365 "jobId" 365 "jobId"
366 ], 366 ],
367 "parameters": { 367 "parameters": {
368 "projectId": {
369 "description": "A project id.",
370 "location": "path",
371 "required": true,
372 "type": "string"
373 },
374 "jobId": {
375 "description": "The job to get messa ges for.",
376 "location": "path",
377 "required": true,
378 "type": "string"
379 },
380 "location": { 368 "location": {
381 "description": "The location which c ontains the job specified by job_id.", 369 "description": "The location which c ontains the job specified by job_id.",
382 "location": "path", 370 "location": "path",
383 "required": true, 371 "required": true,
384 "type": "string" 372 "type": "string"
385 }, 373 },
386 "startTime": { 374 "startTime": {
387 "description": "Return only metric d ata that has changed since this time.\nDefault is to return all information abou t all metrics for the job.", 375 "description": "Return only metric d ata that has changed since this time.\nDefault is to return all information abou t all metrics for the job.",
388 "format": "google-datetime", 376 "format": "google-datetime",
389 "location": "query", 377 "location": "query",
390 "type": "string" 378 "type": "string"
379 },
380 "projectId": {
381 "description": "A project id.",
382 "location": "path",
383 "required": true,
384 "type": "string"
385 },
386 "jobId": {
387 "description": "The job to get messa ges for.",
388 "location": "path",
389 "required": true,
390 "type": "string"
391 } 391 }
392 }, 392 },
393 "path": "v1b3/projects/{projectId}/locations /{location}/jobs/{jobId}/metrics", 393 "path": "v1b3/projects/{projectId}/locations /{location}/jobs/{jobId}/metrics",
394 "response": { 394 "response": {
395 "$ref": "JobMetrics" 395 "$ref": "JobMetrics"
396 }, 396 },
397 "scopes": [ 397 "scopes": [
398 "https://www.googleapis.com/auth/cloud-p latform", 398 "https://www.googleapis.com/auth/cloud-p latform",
399 "https://www.googleapis.com/auth/userinf o.email" 399 "https://www.googleapis.com/auth/userinf o.email"
400 ] 400 ]
401 } 401 }
402 }, 402 },
403 "resources": { 403 "resources": {
404 "messages": { 404 "workItems": {
405 "methods": { 405 "methods": {
406 "list": { 406 "reportStatus": {
407 "description": "Request the job stat us.", 407 "description": "Reports the status o f dataflow WorkItems leased by a worker.",
408 "httpMethod": "GET", 408 "httpMethod": "POST",
409 "id": "dataflow.projects.locations.j obs.messages.list", 409 "id": "dataflow.projects.locations.j obs.workItems.reportStatus",
410 "parameterOrder": [ 410 "parameterOrder": [
411 "projectId", 411 "projectId",
412 "location", 412 "location",
413 "jobId" 413 "jobId"
414 ], 414 ],
415 "parameters": { 415 "parameters": {
416 "projectId": { 416 "projectId": {
417 "description": "A project id .", 417 "description": "The project which owns the WorkItem's job.",
418 "location": "path", 418 "location": "path",
419 "required": true, 419 "required": true,
420 "type": "string" 420 "type": "string"
421 }, 421 },
422 "jobId": { 422 "jobId": {
423 "description": "The job to g et messages about.", 423 "description": "The job whic h the WorkItem is part of.",
424 "location": "path", 424 "location": "path",
425 "required": true, 425 "required": true,
426 "type": "string" 426 "type": "string"
427 }, 427 },
428 "location": { 428 "location": {
429 "description": "The location which contains the job specified by job_id.", 429 "description": "The location which contains the WorkItem's job.",
430 "location": "path", 430 "location": "path",
431 "required": true, 431 "required": true,
432 "type": "string" 432 "type": "string"
433 },
434 "endTime": {
435 "description": "Return only messages with timestamps < end_time. The default is now\n(i.e. return up to the latest messages available).",
436 "format": "google-datetime",
437 "location": "query",
438 "type": "string"
439 },
440 "pageToken": {
441 "description": "If supplied, this should be the value of next_page_token returned\nby an earlier call. This will cause the next page of results to\nbe returned.",
442 "location": "query",
443 "type": "string"
444 },
445 "startTime": {
446 "description": "If specified , return only messages with timestamps >= start_time.\nThe default is the job cr eation time (i.e. beginning of messages).",
447 "format": "google-datetime",
448 "location": "query",
449 "type": "string"
450 },
451 "pageSize": {
452 "description": "If specified , determines the maximum number of messages to\nreturn. If unspecified, the ser vice may choose an appropriate\ndefault, or may return an arbitrarily large numb er of results.",
453 "format": "int32",
454 "location": "query",
455 "type": "integer"
456 },
457 "minimumImportance": {
458 "description": "Filter to on ly get messages with importance >= level",
459 "enum": [
460 "JOB_MESSAGE_IMPORTANCE_ UNKNOWN",
461 "JOB_MESSAGE_DEBUG",
462 "JOB_MESSAGE_DETAILED",
463 "JOB_MESSAGE_BASIC",
464 "JOB_MESSAGE_WARNING",
465 "JOB_MESSAGE_ERROR"
466 ],
467 "location": "query",
468 "type": "string"
469 } 433 }
470 }, 434 },
471 "path": "v1b3/projects/{projectId}/l ocations/{location}/jobs/{jobId}/messages", 435 "path": "v1b3/projects/{projectId}/l ocations/{location}/jobs/{jobId}/workItems:reportStatus",
436 "request": {
437 "$ref": "ReportWorkItemStatusReq uest"
438 },
472 "response": { 439 "response": {
473 "$ref": "ListJobMessagesResponse " 440 "$ref": "ReportWorkItemStatusRes ponse"
474 }, 441 },
475 "scopes": [ 442 "scopes": [
476 "https://www.googleapis.com/auth /cloud-platform", 443 "https://www.googleapis.com/auth /cloud-platform",
477 "https://www.googleapis.com/auth /userinfo.email" 444 "https://www.googleapis.com/auth /userinfo.email"
478 ] 445 ]
479 } 446 },
480 }
481 },
482 "workItems": {
483 "methods": {
484 "lease": { 447 "lease": {
485 "description": "Leases a dataflow Wo rkItem to run.", 448 "description": "Leases a dataflow Wo rkItem to run.",
486 "httpMethod": "POST", 449 "httpMethod": "POST",
487 "id": "dataflow.projects.locations.j obs.workItems.lease", 450 "id": "dataflow.projects.locations.j obs.workItems.lease",
488 "parameterOrder": [ 451 "parameterOrder": [
489 "projectId", 452 "projectId",
490 "location", 453 "location",
491 "jobId" 454 "jobId"
492 ], 455 ],
493 "parameters": { 456 "parameters": {
457 "location": {
458 "description": "The location which contains the WorkItem's job.",
459 "location": "path",
460 "required": true,
461 "type": "string"
462 },
494 "projectId": { 463 "projectId": {
495 "description": "Identifies t he project this worker belongs to.", 464 "description": "Identifies t he project this worker belongs to.",
496 "location": "path", 465 "location": "path",
497 "required": true, 466 "required": true,
498 "type": "string" 467 "type": "string"
499 }, 468 },
500 "jobId": { 469 "jobId": {
501 "description": "Identifies t he workflow job this worker belongs to.", 470 "description": "Identifies t he workflow job this worker belongs to.",
502 "location": "path", 471 "location": "path",
503 "required": true, 472 "required": true,
504 "type": "string" 473 "type": "string"
505 },
506 "location": {
507 "description": "The location which contains the WorkItem's job.",
508 "location": "path",
509 "required": true,
510 "type": "string"
511 } 474 }
512 }, 475 },
513 "path": "v1b3/projects/{projectId}/l ocations/{location}/jobs/{jobId}/workItems:lease", 476 "path": "v1b3/projects/{projectId}/l ocations/{location}/jobs/{jobId}/workItems:lease",
514 "request": { 477 "request": {
515 "$ref": "LeaseWorkItemRequest" 478 "$ref": "LeaseWorkItemRequest"
516 }, 479 },
517 "response": { 480 "response": {
518 "$ref": "LeaseWorkItemResponse" 481 "$ref": "LeaseWorkItemResponse"
519 }, 482 },
520 "scopes": [ 483 "scopes": [
521 "https://www.googleapis.com/auth /cloud-platform", 484 "https://www.googleapis.com/auth /cloud-platform",
522 "https://www.googleapis.com/auth /userinfo.email" 485 "https://www.googleapis.com/auth /userinfo.email"
523 ] 486 ]
524 }, 487 }
525 "reportStatus": { 488 }
526 "description": "Reports the status o f dataflow WorkItems leased by a worker.", 489 },
527 "httpMethod": "POST", 490 "messages": {
528 "id": "dataflow.projects.locations.j obs.workItems.reportStatus", 491 "methods": {
492 "list": {
493 "description": "Request the job stat us.",
494 "httpMethod": "GET",
495 "id": "dataflow.projects.locations.j obs.messages.list",
529 "parameterOrder": [ 496 "parameterOrder": [
530 "projectId", 497 "projectId",
531 "location", 498 "location",
532 "jobId" 499 "jobId"
533 ], 500 ],
534 "parameters": { 501 "parameters": {
535 "location": {
536 "description": "The location which contains the WorkItem's job.",
537 "location": "path",
538 "required": true,
539 "type": "string"
540 },
541 "projectId": { 502 "projectId": {
542 "description": "The project which owns the WorkItem's job.", 503 "description": "A project id .",
543 "location": "path", 504 "location": "path",
544 "required": true, 505 "required": true,
545 "type": "string" 506 "type": "string"
546 }, 507 },
547 "jobId": { 508 "jobId": {
548 "description": "The job whic h the WorkItem is part of.", 509 "description": "The job to g et messages about.",
549 "location": "path", 510 "location": "path",
550 "required": true, 511 "required": true,
551 "type": "string" 512 "type": "string"
513 },
514 "location": {
515 "description": "The location which contains the job specified by job_id.",
516 "location": "path",
517 "required": true,
518 "type": "string"
519 },
520 "endTime": {
521 "description": "Return only messages with timestamps < end_time. The default is now\n(i.e. return up to the latest messages available).",
522 "format": "google-datetime",
523 "location": "query",
524 "type": "string"
525 },
526 "pageToken": {
527 "description": "If supplied, this should be the value of next_page_token returned\nby an earlier call. This will cause the next page of results to\nbe returned.",
528 "location": "query",
529 "type": "string"
530 },
531 "startTime": {
532 "description": "If specified , return only messages with timestamps >= start_time.\nThe default is the job cr eation time (i.e. beginning of messages).",
533 "format": "google-datetime",
534 "location": "query",
535 "type": "string"
536 },
537 "pageSize": {
538 "description": "If specified , determines the maximum number of messages to\nreturn. If unspecified, the ser vice may choose an appropriate\ndefault, or may return an arbitrarily large numb er of results.",
539 "format": "int32",
540 "location": "query",
541 "type": "integer"
542 },
543 "minimumImportance": {
544 "description": "Filter to on ly get messages with importance >= level",
545 "enum": [
546 "JOB_MESSAGE_IMPORTANCE_ UNKNOWN",
547 "JOB_MESSAGE_DEBUG",
548 "JOB_MESSAGE_DETAILED",
549 "JOB_MESSAGE_BASIC",
550 "JOB_MESSAGE_WARNING",
551 "JOB_MESSAGE_ERROR"
552 ],
553 "location": "query",
554 "type": "string"
552 } 555 }
553 }, 556 },
554 "path": "v1b3/projects/{projectId}/l ocations/{location}/jobs/{jobId}/workItems:reportStatus", 557 "path": "v1b3/projects/{projectId}/l ocations/{location}/jobs/{jobId}/messages",
555 "request": {
556 "$ref": "ReportWorkItemStatusReq uest"
557 },
558 "response": { 558 "response": {
559 "$ref": "ReportWorkItemStatusRes ponse" 559 "$ref": "ListJobMessagesResponse "
560 }, 560 },
561 "scopes": [ 561 "scopes": [
562 "https://www.googleapis.com/auth /cloud-platform", 562 "https://www.googleapis.com/auth /cloud-platform",
563 "https://www.googleapis.com/auth /userinfo.email" 563 "https://www.googleapis.com/auth /userinfo.email"
564 ] 564 ]
565 } 565 }
566 } 566 }
567 } 567 }
568 } 568 }
569 } 569 }
570 } 570 }
571 }, 571 },
572 "templates": { 572 "templates": {
573 "methods": { 573 "methods": {
574 "get": { 574 "launch": {
575 "description": "Get the template associated with a t emplate.", 575 "description": "Launch a template.",
576 "httpMethod": "GET", 576 "httpMethod": "POST",
577 "id": "dataflow.projects.templates.get", 577 "id": "dataflow.projects.templates.launch",
578 "parameterOrder": [ 578 "parameterOrder": [
579 "projectId" 579 "projectId"
580 ], 580 ],
581 "parameters": { 581 "parameters": {
582 "projectId": { 582 "projectId": {
583 "description": "Required. The ID of the Clou d Platform project that the job belongs to.", 583 "description": "Required. The ID of the Clou d Platform project that the job belongs to.",
584 "location": "path", 584 "location": "path",
585 "required": true, 585 "required": true,
586 "type": "string" 586 "type": "string"
587 }, 587 },
588 "view": { 588 "gcsPath": {
589 "description": "The view to retrieve. Defaul ts to METADATA_ONLY.", 589 "description": "Required. A Cloud Storage pa th to the template from which to create\nthe job.\nMust be valid Cloud Storage U RL, beginning with 'gs://'.",
590 "enum": [
591 "METADATA_ONLY"
592 ],
593 "location": "query", 590 "location": "query",
594 "type": "string" 591 "type": "string"
595 }, 592 },
596 "gcsPath": { 593 "dryRun": {
597 "description": "Required. A Cloud Storage pa th to the template from which to\ncreate the job.\nMust be a valid Cloud Storage URL, beginning with `gs://`.", 594 "description": "Whether or not the job shoul d actually be executed after\nvalidating parameters. Defaults to false. Validati on errors do\nnot cause the HTTP request to fail if true.",
598 "location": "query", 595 "location": "query",
599 "type": "string" 596 "type": "boolean"
600 } 597 }
601 }, 598 },
602 "path": "v1b3/projects/{projectId}/templates:get", 599 "path": "v1b3/projects/{projectId}/templates:launch" ,
600 "request": {
601 "$ref": "LaunchTemplateParameters"
602 },
603 "response": { 603 "response": {
604 "$ref": "GetTemplateResponse" 604 "$ref": "LaunchTemplateResponse"
605 }, 605 },
606 "scopes": [ 606 "scopes": [
607 "https://www.googleapis.com/auth/cloud-platform" , 607 "https://www.googleapis.com/auth/cloud-platform" ,
608 "https://www.googleapis.com/auth/userinfo.email" 608 "https://www.googleapis.com/auth/userinfo.email"
609 ] 609 ]
610 }, 610 },
611 "create": { 611 "get": {
612 "description": "Creates a Cloud Dataflow job from a template.", 612 "description": "Get the template associated with a t emplate.",
613 "httpMethod": "POST", 613 "httpMethod": "GET",
614 "id": "dataflow.projects.templates.create", 614 "id": "dataflow.projects.templates.get",
615 "parameterOrder": [ 615 "parameterOrder": [
616 "projectId" 616 "projectId"
617 ], 617 ],
618 "parameters": { 618 "parameters": {
619 "projectId": { 619 "projectId": {
620 "description": "Required. The ID of the Clou d Platform project that the job belongs to.", 620 "description": "Required. The ID of the Clou d Platform project that the job belongs to.",
621 "location": "path", 621 "location": "path",
622 "required": true, 622 "required": true,
623 "type": "string" 623 "type": "string"
624 },
625 "view": {
626 "description": "The view to retrieve. Defaul ts to METADATA_ONLY.",
627 "enum": [
628 "METADATA_ONLY"
629 ],
630 "location": "query",
631 "type": "string"
632 },
633 "gcsPath": {
634 "description": "Required. A Cloud Storage pa th to the template from which to\ncreate the job.\nMust be a valid Cloud Storage URL, beginning with `gs://`.",
635 "location": "query",
636 "type": "string"
637 }
638 },
639 "path": "v1b3/projects/{projectId}/templates:get",
640 "response": {
641 "$ref": "GetTemplateResponse"
642 },
643 "scopes": [
644 "https://www.googleapis.com/auth/cloud-platform" ,
645 "https://www.googleapis.com/auth/userinfo.email"
646 ]
647 },
648 "create": {
649 "description": "Creates a Cloud Dataflow job from a template.",
650 "httpMethod": "POST",
651 "id": "dataflow.projects.templates.create",
652 "parameterOrder": [
653 "projectId"
654 ],
655 "parameters": {
656 "projectId": {
657 "description": "Required. The ID of the Clou d Platform project that the job belongs to.",
658 "location": "path",
659 "required": true,
660 "type": "string"
624 } 661 }
625 }, 662 },
626 "path": "v1b3/projects/{projectId}/templates", 663 "path": "v1b3/projects/{projectId}/templates",
627 "request": { 664 "request": {
628 "$ref": "CreateJobFromTemplateRequest" 665 "$ref": "CreateJobFromTemplateRequest"
629 }, 666 },
630 "response": { 667 "response": {
631 "$ref": "Job" 668 "$ref": "Job"
632 }, 669 },
633 "scopes": [ 670 "scopes": [
634 "https://www.googleapis.com/auth/cloud-platform" , 671 "https://www.googleapis.com/auth/cloud-platform" ,
635 "https://www.googleapis.com/auth/userinfo.email"
636 ]
637 },
638 "launch": {
639 "description": "Launch a template.",
640 "httpMethod": "POST",
641 "id": "dataflow.projects.templates.launch",
642 "parameterOrder": [
643 "projectId"
644 ],
645 "parameters": {
646 "dryRun": {
647 "description": "Whether or not the job shoul d actually be executed after\nvalidating parameters. Defaults to false. Validati on errors do\nnot cause the HTTP request to fail if true.",
648 "location": "query",
649 "type": "boolean"
650 },
651 "projectId": {
652 "description": "Required. The ID of the Clou d Platform project that the job belongs to.",
653 "location": "path",
654 "required": true,
655 "type": "string"
656 },
657 "gcsPath": {
658 "description": "Required. A Cloud Storage pa th to the template from which to create\nthe job.\nMust be valid Cloud Storage U RL, beginning with 'gs://'.",
659 "location": "query",
660 "type": "string"
661 }
662 },
663 "path": "v1b3/projects/{projectId}/templates:launch" ,
664 "request": {
665 "$ref": "LaunchTemplateParameters"
666 },
667 "response": {
668 "$ref": "LaunchTemplateResponse"
669 },
670 "scopes": [
671 "https://www.googleapis.com/auth/cloud-platform" ,
672 "https://www.googleapis.com/auth/userinfo.email" 672 "https://www.googleapis.com/auth/userinfo.email"
673 ] 673 ]
674 } 674 }
675 } 675 }
676 }, 676 },
677 "jobs": { 677 "jobs": {
678 "methods": { 678 "methods": {
679 "getMetrics": { 679 "getMetrics": {
680 "description": "Request the job status.", 680 "description": "Request the job status.",
681 "httpMethod": "GET", 681 "httpMethod": "GET",
682 "id": "dataflow.projects.jobs.getMetrics", 682 "id": "dataflow.projects.jobs.getMetrics",
683 "parameterOrder": [ 683 "parameterOrder": [
684 "projectId", 684 "projectId",
685 "jobId" 685 "jobId"
686 ], 686 ],
687 "parameters": { 687 "parameters": {
688 "location": {
689 "description": "The location which contains the job specified by job_id.",
690 "location": "query",
691 "type": "string"
692 },
693 "startTime": {
694 "description": "Return only metric data that has changed since this time.\nDefault is to return all information about all me trics for the job.",
695 "format": "google-datetime",
696 "location": "query",
697 "type": "string"
698 },
699 "projectId": { 688 "projectId": {
700 "description": "A project id.", 689 "description": "A project id.",
701 "location": "path", 690 "location": "path",
702 "required": true, 691 "required": true,
703 "type": "string" 692 "type": "string"
704 }, 693 },
705 "jobId": { 694 "jobId": {
706 "description": "The job to get messages for. ", 695 "description": "The job to get messages for. ",
707 "location": "path", 696 "location": "path",
708 "required": true, 697 "required": true,
709 "type": "string" 698 "type": "string"
699 },
700 "location": {
701 "description": "The location which contains the job specified by job_id.",
702 "location": "query",
703 "type": "string"
704 },
705 "startTime": {
706 "description": "Return only metric data that has changed since this time.\nDefault is to return all information about all me trics for the job.",
707 "format": "google-datetime",
708 "location": "query",
709 "type": "string"
710 } 710 }
711 }, 711 },
712 "path": "v1b3/projects/{projectId}/jobs/{jobId}/metr ics", 712 "path": "v1b3/projects/{projectId}/jobs/{jobId}/metr ics",
713 "response": { 713 "response": {
714 "$ref": "JobMetrics" 714 "$ref": "JobMetrics"
715 }, 715 },
716 "scopes": [ 716 "scopes": [
717 "https://www.googleapis.com/auth/cloud-platform" , 717 "https://www.googleapis.com/auth/cloud-platform" ,
718 "https://www.googleapis.com/auth/userinfo.email" 718 "https://www.googleapis.com/auth/userinfo.email"
719 ] 719 ]
720 }, 720 },
721 "get": { 721 "get": {
722 "description": "Gets the state of the specified Clou d Dataflow job.", 722 "description": "Gets the state of the specified Clou d Dataflow job.",
723 "httpMethod": "GET", 723 "httpMethod": "GET",
724 "id": "dataflow.projects.jobs.get", 724 "id": "dataflow.projects.jobs.get",
725 "parameterOrder": [ 725 "parameterOrder": [
726 "projectId", 726 "projectId",
727 "jobId" 727 "jobId"
728 ], 728 ],
729 "parameters": { 729 "parameters": {
730 "location": {
731 "description": "The location that contains t his job.",
732 "location": "query",
733 "type": "string"
734 },
735 "projectId": { 730 "projectId": {
736 "description": "The ID of the Cloud Platform project that the job belongs to.", 731 "description": "The ID of the Cloud Platform project that the job belongs to.",
737 "location": "path", 732 "location": "path",
738 "required": true, 733 "required": true,
739 "type": "string" 734 "type": "string"
740 }, 735 },
741 "jobId": { 736 "jobId": {
742 "description": "The job ID.", 737 "description": "The job ID.",
743 "location": "path", 738 "location": "path",
744 "required": true, 739 "required": true,
745 "type": "string" 740 "type": "string"
746 }, 741 },
747 "view": { 742 "view": {
748 "description": "The level of information req uested in response.", 743 "description": "The level of information req uested in response.",
749 "enum": [ 744 "enum": [
750 "JOB_VIEW_UNKNOWN", 745 "JOB_VIEW_UNKNOWN",
751 "JOB_VIEW_SUMMARY", 746 "JOB_VIEW_SUMMARY",
752 "JOB_VIEW_ALL", 747 "JOB_VIEW_ALL",
753 "JOB_VIEW_DESCRIPTION" 748 "JOB_VIEW_DESCRIPTION"
754 ], 749 ],
755 "location": "query", 750 "location": "query",
756 "type": "string" 751 "type": "string"
752 },
753 "location": {
754 "description": "The location that contains t his job.",
755 "location": "query",
756 "type": "string"
757 } 757 }
758 }, 758 },
759 "path": "v1b3/projects/{projectId}/jobs/{jobId}", 759 "path": "v1b3/projects/{projectId}/jobs/{jobId}",
760 "response": { 760 "response": {
761 "$ref": "Job" 761 "$ref": "Job"
762 }, 762 },
763 "scopes": [ 763 "scopes": [
764 "https://www.googleapis.com/auth/cloud-platform" , 764 "https://www.googleapis.com/auth/cloud-platform" ,
765 "https://www.googleapis.com/auth/userinfo.email" 765 "https://www.googleapis.com/auth/userinfo.email"
766 ] 766 ]
(...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after
909 "response": { 909 "response": {
910 "$ref": "Job" 910 "$ref": "Job"
911 }, 911 },
912 "scopes": [ 912 "scopes": [
913 "https://www.googleapis.com/auth/cloud-platform" , 913 "https://www.googleapis.com/auth/cloud-platform" ,
914 "https://www.googleapis.com/auth/userinfo.email" 914 "https://www.googleapis.com/auth/userinfo.email"
915 ] 915 ]
916 } 916 }
917 }, 917 },
918 "resources": { 918 "resources": {
919 "messages": {
920 "methods": {
921 "list": {
922 "description": "Request the job status.",
923 "httpMethod": "GET",
924 "id": "dataflow.projects.jobs.messages.list" ,
925 "parameterOrder": [
926 "projectId",
927 "jobId"
928 ],
929 "parameters": {
930 "startTime": {
931 "description": "If specified, return only messages with timestamps >= start_time.\nThe default is the job creation t ime (i.e. beginning of messages).",
932 "format": "google-datetime",
933 "location": "query",
934 "type": "string"
935 },
936 "pageToken": {
937 "description": "If supplied, this sh ould be the value of next_page_token returned\nby an earlier call. This will cau se the next page of results to\nbe returned.",
938 "location": "query",
939 "type": "string"
940 },
941 "pageSize": {
942 "description": "If specified, determ ines the maximum number of messages to\nreturn. If unspecified, the service may choose an appropriate\ndefault, or may return an arbitrarily large number of re sults.",
943 "format": "int32",
944 "location": "query",
945 "type": "integer"
946 },
947 "minimumImportance": {
948 "description": "Filter to only get m essages with importance >= level",
949 "enum": [
950 "JOB_MESSAGE_IMPORTANCE_UNKNOWN" ,
951 "JOB_MESSAGE_DEBUG",
952 "JOB_MESSAGE_DETAILED",
953 "JOB_MESSAGE_BASIC",
954 "JOB_MESSAGE_WARNING",
955 "JOB_MESSAGE_ERROR"
956 ],
957 "location": "query",
958 "type": "string"
959 },
960 "jobId": {
961 "description": "The job to get messa ges about.",
962 "location": "path",
963 "required": true,
964 "type": "string"
965 },
966 "projectId": {
967 "description": "A project id.",
968 "location": "path",
969 "required": true,
970 "type": "string"
971 },
972 "location": {
973 "description": "The location which c ontains the job specified by job_id.",
974 "location": "query",
975 "type": "string"
976 },
977 "endTime": {
978 "description": "Return only messages with timestamps < end_time. The default is now\n(i.e. return up to the latest m essages available).",
979 "format": "google-datetime",
980 "location": "query",
981 "type": "string"
982 }
983 },
984 "path": "v1b3/projects/{projectId}/jobs/{job Id}/messages",
985 "response": {
986 "$ref": "ListJobMessagesResponse"
987 },
988 "scopes": [
989 "https://www.googleapis.com/auth/cloud-p latform",
990 "https://www.googleapis.com/auth/userinf o.email"
991 ]
992 }
993 }
994 },
995 "debug": { 919 "debug": {
996 "methods": { 920 "methods": {
997 "getConfig": { 921 "getConfig": {
998 "description": "Get encoded debug configurat ion for component. Not cacheable.", 922 "description": "Get encoded debug configurat ion for component. Not cacheable.",
999 "httpMethod": "POST", 923 "httpMethod": "POST",
1000 "id": "dataflow.projects.jobs.debug.getConfi g", 924 "id": "dataflow.projects.jobs.debug.getConfi g",
1001 "parameterOrder": [ 925 "parameterOrder": [
1002 "projectId", 926 "projectId",
1003 "jobId" 927 "jobId"
1004 ], 928 ],
(...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after
1128 }, 1052 },
1129 "response": { 1053 "response": {
1130 "$ref": "ReportWorkItemStatusResponse" 1054 "$ref": "ReportWorkItemStatusResponse"
1131 }, 1055 },
1132 "scopes": [ 1056 "scopes": [
1133 "https://www.googleapis.com/auth/cloud-p latform", 1057 "https://www.googleapis.com/auth/cloud-p latform",
1134 "https://www.googleapis.com/auth/userinf o.email" 1058 "https://www.googleapis.com/auth/userinf o.email"
1135 ] 1059 ]
1136 } 1060 }
1137 } 1061 }
1062 },
1063 "messages": {
1064 "methods": {
1065 "list": {
1066 "description": "Request the job status.",
1067 "httpMethod": "GET",
1068 "id": "dataflow.projects.jobs.messages.list" ,
1069 "parameterOrder": [
1070 "projectId",
1071 "jobId"
1072 ],
1073 "parameters": {
1074 "pageSize": {
1075 "description": "If specified, determ ines the maximum number of messages to\nreturn. If unspecified, the service may choose an appropriate\ndefault, or may return an arbitrarily large number of re sults.",
1076 "format": "int32",
1077 "location": "query",
1078 "type": "integer"
1079 },
1080 "minimumImportance": {
1081 "description": "Filter to only get m essages with importance >= level",
1082 "enum": [
1083 "JOB_MESSAGE_IMPORTANCE_UNKNOWN" ,
1084 "JOB_MESSAGE_DEBUG",
1085 "JOB_MESSAGE_DETAILED",
1086 "JOB_MESSAGE_BASIC",
1087 "JOB_MESSAGE_WARNING",
1088 "JOB_MESSAGE_ERROR"
1089 ],
1090 "location": "query",
1091 "type": "string"
1092 },
1093 "projectId": {
1094 "description": "A project id.",
1095 "location": "path",
1096 "required": true,
1097 "type": "string"
1098 },
1099 "jobId": {
1100 "description": "The job to get messa ges about.",
1101 "location": "path",
1102 "required": true,
1103 "type": "string"
1104 },
1105 "endTime": {
1106 "description": "Return only messages with timestamps < end_time. The default is now\n(i.e. return up to the latest m essages available).",
1107 "format": "google-datetime",
1108 "location": "query",
1109 "type": "string"
1110 },
1111 "location": {
1112 "description": "The location which c ontains the job specified by job_id.",
1113 "location": "query",
1114 "type": "string"
1115 },
1116 "pageToken": {
1117 "description": "If supplied, this sh ould be the value of next_page_token returned\nby an earlier call. This will cau se the next page of results to\nbe returned.",
1118 "location": "query",
1119 "type": "string"
1120 },
1121 "startTime": {
1122 "description": "If specified, return only messages with timestamps >= start_time.\nThe default is the job creation t ime (i.e. beginning of messages).",
1123 "format": "google-datetime",
1124 "location": "query",
1125 "type": "string"
1126 }
1127 },
1128 "path": "v1b3/projects/{projectId}/jobs/{job Id}/messages",
1129 "response": {
1130 "$ref": "ListJobMessagesResponse"
1131 },
1132 "scopes": [
1133 "https://www.googleapis.com/auth/cloud-p latform",
1134 "https://www.googleapis.com/auth/userinf o.email"
1135 ]
1136 }
1137 }
1138 } 1138 }
1139 } 1139 }
1140 } 1140 }
1141 } 1141 }
1142 } 1142 }
1143 }, 1143 },
1144 "revision": "20170303", 1144 "revision": "20170318",
1145 "rootUrl": "https://dataflow.googleapis.com/", 1145 "rootUrl": "https://dataflow.googleapis.com/",
1146 "schemas": { 1146 "schemas": {
1147 "SeqMapTaskOutputInfo": {
1148 "description": "Information about an output of a SeqMapTask.",
1149 "id": "SeqMapTaskOutputInfo",
1150 "properties": {
1151 "sink": {
1152 "$ref": "Sink",
1153 "description": "The sink to write the output value to."
1154 },
1155 "tag": {
1156 "description": "The id of the TupleTag the user code will ta g the output value by.",
1157 "type": "string"
1158 }
1159 },
1160 "type": "object"
1161 },
1162 "JobExecutionStageInfo": {
1163 "description": "Contains information about how a particular\ngoogle. dataflow.v1beta3.Step will be executed.",
1164 "id": "JobExecutionStageInfo",
1165 "properties": {
1166 "stepName": {
1167 "description": "The steps associated with the execution stag e.\nNote that stages may have several steps, and that a given step\nmight be run by more than one stage.",
1168 "items": {
1169 "type": "string"
1170 },
1171 "type": "array"
1172 }
1173 },
1174 "type": "object"
1175 },
1176 "KeyRangeLocation": {
1177 "description": "Location information for a specific key-range of a s harded computation.\nCurrently we only support UTF-8 character splits to simplif y encoding into\nJSON.",
1178 "id": "KeyRangeLocation",
1179 "properties": {
1180 "deliveryEndpoint": {
1181 "description": "The physical location of this range assignme nt to be used for\nstreaming computation cross-worker message delivery.",
1182 "type": "string"
1183 },
1184 "start": {
1185 "description": "The start (inclusive) of the key range.",
1186 "type": "string"
1187 },
1188 "dataDisk": {
1189 "description": "The name of the data disk where data for thi s range is stored.\nThis name is local to the Google Cloud Platform project and uniquely\nidentifies the disk within that project, for example\n\"myproject-1014 -104817-4c2-harness-0-disk-1\".",
1190 "type": "string"
1191 },
1192 "persistentDirectory": {
1193 "description": "The location of the persistent state for thi s range, as a\npersistent directory in the worker local filesystem.",
1194 "type": "string"
1195 },
1196 "end": {
1197 "description": "The end (exclusive) of the key range.",
1198 "type": "string"
1199 }
1200 },
1201 "type": "object"
1202 },
1203 "SourceGetMetadataRequest": {
1204 "description": "A request to compute the SourceMetadata of a Source. ",
1205 "id": "SourceGetMetadataRequest",
1206 "properties": {
1207 "source": {
1208 "$ref": "Source",
1209 "description": "Specification of the source whose metadata s hould be computed."
1210 }
1211 },
1212 "type": "object"
1213 },
1214 "NameAndKind": {
1215 "description": "Basic metadata about a counter.",
1216 "id": "NameAndKind",
1217 "properties": {
1218 "name": {
1219 "description": "Name of the counter.",
1220 "type": "string"
1221 },
1222 "kind": {
1223 "description": "Counter aggregation kind.",
1224 "enum": [
1225 "INVALID",
1226 "SUM",
1227 "MAX",
1228 "MIN",
1229 "MEAN",
1230 "OR",
1231 "AND",
1232 "SET",
1233 "DISTRIBUTION"
1234 ],
1235 "enumDescriptions": [
1236 "Counter aggregation kind was not set.",
1237 "Aggregated value is the sum of all contributed values." ,
1238 "Aggregated value is the max of all contributed values." ,
1239 "Aggregated value is the min of all contributed values." ,
1240 "Aggregated value is the mean of all contributed values. ",
1241 "Aggregated value represents the logical 'or' of all con tributed values.",
1242 "Aggregated value represents the logical 'and' of all co ntributed values.",
1243 "Aggregated value is a set of unique contributed values. ",
1244 "Aggregated value captures statistics about a distributi on."
1245 ],
1246 "type": "string"
1247 }
1248 },
1249 "type": "object"
1250 },
1251 "SeqMapTask": {
1252 "description": "Describes a particular function to invoke.",
1253 "id": "SeqMapTask",
1254 "properties": {
1255 "inputs": {
1256 "description": "Information about each of the inputs.",
1257 "items": {
1258 "$ref": "SideInputInfo"
1259 },
1260 "type": "array"
1261 },
1262 "systemName": {
1263 "description": "System-defined name of the SeqDo operation.\ nUnique across the workflow.",
1264 "type": "string"
1265 },
1266 "stageName": {
1267 "description": "System-defined name of the stage containing the SeqDo operation.\nUnique across the workflow.",
1268 "type": "string"
1269 },
1270 "userFn": {
1271 "additionalProperties": {
1272 "description": "Properties of the object.",
1273 "type": "any"
1274 },
1275 "description": "The user function to invoke.",
1276 "type": "object"
1277 },
1278 "name": {
1279 "description": "The user-provided name of the SeqDo operatio n.",
1280 "type": "string"
1281 },
1282 "outputInfos": {
1283 "description": "Information about each of the outputs.",
1284 "items": {
1285 "$ref": "SeqMapTaskOutputInfo"
1286 },
1287 "type": "array"
1288 }
1289 },
1290 "type": "object"
1291 },
1292 "WorkerMessageCode": {
1293 "description": "A message code is used to report status and error me ssages to the service.\nThe message codes are intended to be machine readable. T he service will\ntake care of translating these into user understandable message s if\nnecessary.\n\nExample use cases:\n 1. Worker processes reporting successf ul startup.\n 2. Worker processes reporting specific errors (e.g. package stagi ng\n failure).",
1294 "id": "WorkerMessageCode",
1295 "properties": {
1296 "code": {
1297 "description": "The code is a string intended for consumptio n by a machine that identifies\nthe type of message being sent.\nExamples:\n 1. \"HARNESS_STARTED\" might be used to indicate the worker harness has\n start ed.\n 2. \"GCS_DOWNLOAD_ERROR\" might be used to indicate an error downloading\n a GCS file as part of the boot process of one of the worker containers.\n\nT his is a string and not an enum to make it easy to add new codes without\nwaitin g for an API change.",
1298 "type": "string"
1299 },
1300 "parameters": {
1301 "additionalProperties": {
1302 "description": "Properties of the object.",
1303 "type": "any"
1304 },
1305 "description": "Parameters contains specific information abo ut the code.\n\nThis is a struct to allow parameters of different types.\n\nExam ples:\n 1. For a \"HARNESS_STARTED\" message parameters might provide the name\n of the worker and additional data like timing information.\n 2. For a \"GCS_ DOWNLOAD_ERROR\" parameters might contain fields listing\n the GCS objects be ing downloaded and fields containing errors.\n\nIn general complex data structur es should be avoided. If a worker\nneeds to send a specific and complicated data structure then please\nconsider defining a new proto and adding it to the data oneof in\nWorkerMessageResponse.\n\nConventions:\n Parameters should only be use d for information that isn't typically passed\n as a label.\n hostname and other worker identifiers should almost always be passed\n as labels since they will b e included on most messages.",
1306 "type": "object"
1307 }
1308 },
1309 "type": "object"
1310 },
1311 "CustomSourceLocation": {
1312 "description": "Identifies the location of a custom souce.",
1313 "id": "CustomSourceLocation",
1314 "properties": {
1315 "stateful": {
1316 "description": "Whether this source is stateful.",
1317 "type": "boolean"
1318 }
1319 },
1320 "type": "object"
1321 },
1322 "MapTask": {
1323 "description": "MapTask consists of an ordered set of instructions, each of which\ndescribes one particular low-level operation for the worker to\np erform in order to accomplish the MapTask's WorkItem.\n\nEach instruction must a ppear in the list before any instructions which\ndepends on its output.",
1324 "id": "MapTask",
1325 "properties": {
1326 "systemName": {
1327 "description": "System-defined name of this MapTask.\nUnique across the workflow.",
1328 "type": "string"
1329 },
1330 "stageName": {
1331 "description": "System-defined name of the stage containing this MapTask.\nUnique across the workflow.",
1332 "type": "string"
1333 },
1334 "instructions": {
1335 "description": "The instructions in the MapTask.",
1336 "items": {
1337 "$ref": "ParallelInstruction"
1338 },
1339 "type": "array"
1340 }
1341 },
1342 "type": "object"
1343 },
1344 "FloatingPointMean": {
1345 "description": "A representation of a floating point mean metric con tribution.",
1346 "id": "FloatingPointMean",
1347 "properties": {
1348 "count": {
1349 "$ref": "SplitInt64",
1350 "description": "The number of values being aggregated."
1351 },
1352 "sum": {
1353 "description": "The sum of all values being aggregated.",
1354 "format": "double",
1355 "type": "number"
1356 }
1357 },
1358 "type": "object"
1359 },
1360 "ReportWorkItemStatusResponse": {
1361 "description": "Response from a request to report the status of Work Items.",
1362 "id": "ReportWorkItemStatusResponse",
1363 "properties": {
1364 "workItemServiceStates": {
1365 "description": "A set of messages indicating the service-sid e state for each\nWorkItem whose status was reported, in the same order as the\n WorkItemStatus messages in the ReportWorkItemStatusRequest which\nresulting in t his response.",
1366 "items": {
1367 "$ref": "WorkItemServiceState"
1368 },
1369 "type": "array"
1370 }
1371 },
1372 "type": "object"
1373 },
1374 "InstructionOutput": { 1147 "InstructionOutput": {
1375 "description": "An output of an instruction.", 1148 "description": "An output of an instruction.",
1376 "id": "InstructionOutput", 1149 "id": "InstructionOutput",
1377 "properties": { 1150 "properties": {
1378 "systemName": { 1151 "originalName": {
1379 "description": "System-defined name of this output.\nUnique across the workflow.", 1152 "description": "System-defined name for this output in the o riginal workflow graph.\nOutputs that do not contribute to an original instructi on do not set this.",
1380 "type": "string" 1153 "type": "string"
1381 }, 1154 },
1382 "onlyCountKeyBytes": { 1155 "onlyCountKeyBytes": {
1383 "description": "For system-generated byte and mean byte metr ics, certain instructions\nshould only report the key size.", 1156 "description": "For system-generated byte and mean byte metr ics, certain instructions\nshould only report the key size.",
1384 "type": "boolean" 1157 "type": "boolean"
1385 }, 1158 },
1159 "systemName": {
1160 "description": "System-defined name of this output.\nUnique across the workflow.",
1161 "type": "string"
1162 },
1386 "onlyCountValueBytes": { 1163 "onlyCountValueBytes": {
1387 "description": "For system-generated byte and mean byte metr ics, certain instructions\nshould only report the value size.", 1164 "description": "For system-generated byte and mean byte metr ics, certain instructions\nshould only report the value size.",
1388 "type": "boolean" 1165 "type": "boolean"
1389 }, 1166 },
1390 "codec": { 1167 "codec": {
1391 "additionalProperties": { 1168 "additionalProperties": {
1392 "description": "Properties of the object.", 1169 "description": "Properties of the object.",
1393 "type": "any" 1170 "type": "any"
1394 }, 1171 },
1395 "description": "The codec to use to encode data being writte n via this output.", 1172 "description": "The codec to use to encode data being writte n via this output.",
1396 "type": "object" 1173 "type": "object"
1397 }, 1174 },
1398 "name": { 1175 "name": {
1399 "description": "The user-provided name of this output.", 1176 "description": "The user-provided name of this output.",
1400 "type": "string" 1177 "type": "string"
1401 },
1402 "originalName": {
1403 "description": "System-defined name for this output in the o riginal workflow graph.\nOutputs that do not contribute to an original instructi on do not set this.",
1404 "type": "string"
1405 } 1178 }
1406 }, 1179 },
1407 "type": "object" 1180 "type": "object"
1408 }, 1181 },
1409 "CreateJobFromTemplateRequest": { 1182 "CreateJobFromTemplateRequest": {
1410 "description": "A request to create a Cloud Dataflow job from a temp late.", 1183 "description": "A request to create a Cloud Dataflow job from a temp late.",
1411 "id": "CreateJobFromTemplateRequest", 1184 "id": "CreateJobFromTemplateRequest",
1412 "properties": { 1185 "properties": {
1186 "jobName": {
1187 "description": "Required. The job name to use for the create d job.",
1188 "type": "string"
1189 },
1413 "gcsPath": { 1190 "gcsPath": {
1414 "description": "Required. A Cloud Storage path to the templa te from which to\ncreate the job.\nMust be a valid Cloud Storage URL, beginning with `gs://`.", 1191 "description": "Required. A Cloud Storage path to the templa te from which to\ncreate the job.\nMust be a valid Cloud Storage URL, beginning with `gs://`.",
1415 "type": "string" 1192 "type": "string"
1416 }, 1193 },
1417 "environment": { 1194 "environment": {
1418 "$ref": "RuntimeEnvironment", 1195 "$ref": "RuntimeEnvironment",
1419 "description": "The runtime environment for the job." 1196 "description": "The runtime environment for the job."
1420 }, 1197 },
1421 "parameters": { 1198 "parameters": {
1422 "additionalProperties": { 1199 "additionalProperties": {
1423 "type": "string" 1200 "type": "string"
1424 }, 1201 },
1425 "description": "The runtime parameters to pass to the job.", 1202 "description": "The runtime parameters to pass to the job.",
1426 "type": "object" 1203 "type": "object"
1427 },
1428 "jobName": {
1429 "description": "Required. The job name to use for the create d job.",
1430 "type": "string"
1431 } 1204 }
1432 }, 1205 },
1433 "type": "object" 1206 "type": "object"
1434 }, 1207 },
1435 "IntegerMean": { 1208 "IntegerMean": {
1436 "description": "A representation of an integer mean metric contribut ion.", 1209 "description": "A representation of an integer mean metric contribut ion.",
1437 "id": "IntegerMean", 1210 "id": "IntegerMean",
1438 "properties": { 1211 "properties": {
1212 "count": {
1213 "$ref": "SplitInt64",
1214 "description": "The number of values being aggregated."
1215 },
1439 "sum": { 1216 "sum": {
1440 "$ref": "SplitInt64", 1217 "$ref": "SplitInt64",
1441 "description": "The sum of all values being aggregated." 1218 "description": "The sum of all values being aggregated."
1442 },
1443 "count": {
1444 "$ref": "SplitInt64",
1445 "description": "The number of values being aggregated."
1446 } 1219 }
1447 }, 1220 },
1448 "type": "object" 1221 "type": "object"
1449 }, 1222 },
1450 "ListJobsResponse": { 1223 "ListJobsResponse": {
1451 "description": "Response to a request to list Cloud Dataflow jobs. This may be a partial\nresponse, depending on the page size in the ListJobsReque st.", 1224 "description": "Response to a request to list Cloud Dataflow jobs. This may be a partial\nresponse, depending on the page size in the ListJobsReque st.",
1452 "id": "ListJobsResponse", 1225 "id": "ListJobsResponse",
1453 "properties": { 1226 "properties": {
1454 "jobs": {
1455 "description": "A subset of the requested job information.",
1456 "items": {
1457 "$ref": "Job"
1458 },
1459 "type": "array"
1460 },
1461 "nextPageToken": { 1227 "nextPageToken": {
1462 "description": "Set if there may be more results than fit in this response.", 1228 "description": "Set if there may be more results than fit in this response.",
1463 "type": "string" 1229 "type": "string"
1464 }, 1230 },
1465 "failedLocation": { 1231 "failedLocation": {
1466 "description": "Zero or more messages describing locations t hat failed to respond.", 1232 "description": "Zero or more messages describing locations t hat failed to respond.",
1467 "items": { 1233 "items": {
1468 "$ref": "FailedLocation" 1234 "$ref": "FailedLocation"
1469 }, 1235 },
1470 "type": "array" 1236 "type": "array"
1237 },
1238 "jobs": {
1239 "description": "A subset of the requested job information.",
1240 "items": {
1241 "$ref": "Job"
1242 },
1243 "type": "array"
1471 } 1244 }
1472 }, 1245 },
1473 "type": "object" 1246 "type": "object"
1474 }, 1247 },
1475 "ComputationTopology": { 1248 "ComputationTopology": {
1476 "description": "All configuration data for a particular Computation. ", 1249 "description": "All configuration data for a particular Computation. ",
1477 "id": "ComputationTopology", 1250 "id": "ComputationTopology",
1478 "properties": { 1251 "properties": {
1479 "systemStageName": {
1480 "description": "The system stage name.",
1481 "type": "string"
1482 },
1483 "inputs": {
1484 "description": "The inputs to the computation.",
1485 "items": {
1486 "$ref": "StreamLocation"
1487 },
1488 "type": "array"
1489 },
1490 "computationId": {
1491 "description": "The ID of the computation.",
1492 "type": "string"
1493 },
1494 "keyRanges": {
1495 "description": "The key ranges processed by the computation. ",
1496 "items": {
1497 "$ref": "KeyRangeLocation"
1498 },
1499 "type": "array"
1500 },
1501 "userStageName": { 1252 "userStageName": {
1502 "description": "The user stage name.", 1253 "description": "The user stage name.",
1503 "type": "string" 1254 "type": "string"
1504 }, 1255 },
1505 "outputs": { 1256 "outputs": {
1506 "description": "The outputs from the computation.", 1257 "description": "The outputs from the computation.",
1507 "items": { 1258 "items": {
1508 "$ref": "StreamLocation" 1259 "$ref": "StreamLocation"
1509 }, 1260 },
1510 "type": "array" 1261 "type": "array"
1511 }, 1262 },
1512 "stateFamilies": { 1263 "stateFamilies": {
1513 "description": "The state family values.", 1264 "description": "The state family values.",
1514 "items": { 1265 "items": {
1515 "$ref": "StateFamilyConfig" 1266 "$ref": "StateFamilyConfig"
1516 }, 1267 },
1517 "type": "array" 1268 "type": "array"
1269 },
1270 "systemStageName": {
1271 "description": "The system stage name.",
1272 "type": "string"
1273 },
1274 "computationId": {
1275 "description": "The ID of the computation.",
1276 "type": "string"
1277 },
1278 "inputs": {
1279 "description": "The inputs to the computation.",
1280 "items": {
1281 "$ref": "StreamLocation"
1282 },
1283 "type": "array"
1284 },
1285 "keyRanges": {
1286 "description": "The key ranges processed by the computation. ",
1287 "items": {
1288 "$ref": "KeyRangeLocation"
1289 },
1290 "type": "array"
1518 } 1291 }
1519 }, 1292 },
1520 "type": "object" 1293 "type": "object"
1521 }, 1294 },
1522 "RuntimeEnvironment": { 1295 "RuntimeEnvironment": {
1523 "description": "The environment values to set at runtime.", 1296 "description": "The environment values to set at runtime.",
1524 "id": "RuntimeEnvironment", 1297 "id": "RuntimeEnvironment",
1525 "properties": { 1298 "properties": {
1526 "maxWorkers": {
1527 "description": "The maximum number of Google Compute Engine instances to be made\navailable to your pipeline during execution, from 1 to 100 0.",
1528 "format": "int32",
1529 "type": "integer"
1530 },
1531 "zone": {
1532 "description": "The Compute Engine [availability zone](https ://cloud.google.com/compute/docs/regions-zones/regions-zones)\nfor launching wor ker instances to run your pipeline.",
1533 "type": "string"
1534 },
1535 "serviceAccountEmail": { 1299 "serviceAccountEmail": {
1536 "description": "The email address of the service account to run the job as.", 1300 "description": "The email address of the service account to run the job as.",
1537 "type": "string" 1301 "type": "string"
1538 }, 1302 },
1539 "tempLocation": { 1303 "tempLocation": {
1540 "description": "The Cloud Storage path to use for temporary files.\nMust be a valid Cloud Storage URL, beginning with `gs://`.", 1304 "description": "The Cloud Storage path to use for temporary files.\nMust be a valid Cloud Storage URL, beginning with `gs://`.",
1541 "type": "string" 1305 "type": "string"
1542 }, 1306 },
1543 "bypassTempDirValidation": { 1307 "bypassTempDirValidation": {
1544 "description": "Whether to bypass the safety checks for the job's temporary directory.\nUse with caution.", 1308 "description": "Whether to bypass the safety checks for the job's temporary directory.\nUse with caution.",
1545 "type": "boolean" 1309 "type": "boolean"
1546 }
1547 },
1548 "type": "object"
1549 },
1550 "StreamingSideInputLocation": {
1551 "description": "Identifies the location of a streaming side input.",
1552 "id": "StreamingSideInputLocation",
1553 "properties": {
1554 "stateFamily": {
1555 "description": "Identifies the state family where this side input is stored.",
1556 "type": "string"
1557 }, 1310 },
1558 "tag": { 1311 "maxWorkers": {
1559 "description": "Identifies the particular side input within the streaming Dataflow job.", 1312 "description": "The maximum number of Google Compute Engine instances to be made\navailable to your pipeline during execution, from 1 to 100 0.",
1313 "format": "int32",
1314 "type": "integer"
1315 },
1316 "zone": {
1317 "description": "The Compute Engine [availability zone](https ://cloud.google.com/compute/docs/regions-zones/regions-zones)\nfor launching wor ker instances to run your pipeline.",
1560 "type": "string" 1318 "type": "string"
1561 } 1319 }
1562 }, 1320 },
1563 "type": "object" 1321 "type": "object"
1564 }, 1322 },
1565 "MountedDataDisk": { 1323 "MountedDataDisk": {
1566 "description": "Describes mounted data disk.", 1324 "description": "Describes mounted data disk.",
1567 "id": "MountedDataDisk", 1325 "id": "MountedDataDisk",
1568 "properties": { 1326 "properties": {
1569 "dataDisk": { 1327 "dataDisk": {
1570 "description": "The name of the data disk.\nThis name is loc al to the Google Cloud Platform project and uniquely\nidentifies the disk within that project, for example\n\"myproject-1014-104817-4c2-harness-0-disk-1\".", 1328 "description": "The name of the data disk.\nThis name is loc al to the Google Cloud Platform project and uniquely\nidentifies the disk within that project, for example\n\"myproject-1014-104817-4c2-harness-0-disk-1\".",
1571 "type": "string" 1329 "type": "string"
1572 } 1330 }
1573 }, 1331 },
1574 "type": "object" 1332 "type": "object"
1575 }, 1333 },
1334 "StreamingSideInputLocation": {
1335 "description": "Identifies the location of a streaming side input.",
1336 "id": "StreamingSideInputLocation",
1337 "properties": {
1338 "tag": {
1339 "description": "Identifies the particular side input within the streaming Dataflow job.",
1340 "type": "string"
1341 },
1342 "stateFamily": {
1343 "description": "Identifies the state family where this side input is stored.",
1344 "type": "string"
1345 }
1346 },
1347 "type": "object"
1348 },
1576 "LaunchTemplateResponse": { 1349 "LaunchTemplateResponse": {
1577 "description": "Response to the request to launch a template.", 1350 "description": "Response to the request to launch a template.",
1578 "id": "LaunchTemplateResponse", 1351 "id": "LaunchTemplateResponse",
1579 "properties": { 1352 "properties": {
1580 "status": {
1581 "$ref": "Status",
1582 "description": "The status of the launch template request. A ny problems with the request\nwill be indicated in the error_details."
1583 },
1584 "job": { 1353 "job": {
1585 "$ref": "Job", 1354 "$ref": "Job",
1586 "description": "The job that was launched, if the request wa s not a dry run and\nthe job was successfully launched." 1355 "description": "The job that was launched, if the request wa s not a dry run and\nthe job was successfully launched."
1587 } 1356 }
1588 }, 1357 },
1589 "type": "object" 1358 "type": "object"
1590 }, 1359 },
1591 "DerivedSource": { 1360 "DerivedSource": {
1592 "description": "Specification of one of the bundles produced as a re sult of splitting\na Source (e.g. when executing a SourceSplitRequest, or when\n splitting an active task using WorkItemStatus.dynamic_source_split),\nrelative t o the source being split.", 1361 "description": "Specification of one of the bundles produced as a re sult of splitting\na Source (e.g. when executing a SourceSplitRequest, or when\n splitting an active task using WorkItemStatus.dynamic_source_split),\nrelative t o the source being split.",
1593 "id": "DerivedSource", 1362 "id": "DerivedSource",
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
1627 "$ref": "DerivedSource", 1396 "$ref": "DerivedSource",
1628 "description": "Residual part (returned to the pool of work) .\nSpecified relative to the previously-current source." 1397 "description": "Residual part (returned to the pool of work) .\nSpecified relative to the previously-current source."
1629 } 1398 }
1630 }, 1399 },
1631 "type": "object" 1400 "type": "object"
1632 }, 1401 },
1633 "Job": { 1402 "Job": {
1634 "description": "Defines a job to be run by the Cloud Dataflow servic e.", 1403 "description": "Defines a job to be run by the Cloud Dataflow servic e.",
1635 "id": "Job", 1404 "id": "Job",
1636 "properties": { 1405 "properties": {
1637 "steps": {
1638 "description": "The top-level steps that constitute the enti re job.",
1639 "items": {
1640 "$ref": "Step"
1641 },
1642 "type": "array"
1643 },
1644 "replacedByJobId": {
1645 "description": "If another job is an update of this job (and thus, this job is in\n`JOB_STATE_UPDATED`), this field contains the ID of that job.",
1646 "type": "string"
1647 },
1648 "executionInfo": {
1649 "$ref": "JobExecutionInfo",
1650 "description": "Deprecated."
1651 },
1652 "id": {
1653 "description": "The unique ID of this job.\n\nThis field is set by the Cloud Dataflow service when the Job is\ncreated, and is immutable for the life of the job.",
1654 "type": "string"
1655 },
1656 "currentState": {
1657 "description": "The current state of the job.\n\nJobs are cr eated in the `JOB_STATE_STOPPED` state unless otherwise\nspecified.\n\nA job in the `JOB_STATE_RUNNING` state may asynchronously enter a\nterminal state. After a job has reached a terminal state, no\nfurther state updates may be made.\n\nTh is field may be mutated by the Cloud Dataflow service;\ncallers cannot mutate it .",
1658 "enum": [
1659 "JOB_STATE_UNKNOWN",
1660 "JOB_STATE_STOPPED",
1661 "JOB_STATE_RUNNING",
1662 "JOB_STATE_DONE",
1663 "JOB_STATE_FAILED",
1664 "JOB_STATE_CANCELLED",
1665 "JOB_STATE_UPDATED",
1666 "JOB_STATE_DRAINING",
1667 "JOB_STATE_DRAINED"
1668 ],
1669 "enumDescriptions": [
1670 "The job's run state isn't specified.",
1671 "`JOB_STATE_STOPPED` indicates that the job has not\nyet started to run.",
1672 "`JOB_STATE_RUNNING` indicates that the job is currently running.",
1673 "`JOB_STATE_DONE` indicates that the job has successfull y completed.\nThis is a terminal job state. This state may be set by the Cloud Dataflow\nservice, as a transition from `JOB_STATE_RUNNING`. It may also be set via a\nCloud Dataflow `UpdateJob` call, if the job has not yet reached a termina l\nstate.",
1674 "`JOB_STATE_FAILED` indicates that the job has failed. This is a\nterminal job state. This state may only be set by the Cloud Dataflow \nservice, and only as a transition from `JOB_STATE_RUNNING`.",
1675 "`JOB_STATE_CANCELLED` indicates that the job has been e xplicitly\ncancelled. This is a terminal job state. This state may only be\nset via a Cloud Dataflow `UpdateJob` call, and only if the job has not\nyet reached another terminal state.",
1676 "`JOB_STATE_UPDATED` indicates that the job was successf ully updated,\nmeaning that this job was stopped and another job was started, in heriting\nstate from this one. This is a terminal job state. This state may only be\nset by the Cloud Dataflow service, and only as a transition from\n`JOB_STAT E_RUNNING`.",
1677 "`JOB_STATE_DRAINING` indicates that the job is in the p rocess of draining.\nA draining job has stopped pulling from its input sources a nd is processing\nany data that remains in-flight. This state may be set via a C loud Dataflow\n`UpdateJob` call, but only as a transition from `JOB_STATE_RUNNIN G`. Jobs\nthat are draining may only transition to `JOB_STATE_DRAINED`,\n`JOB_ST ATE_CANCELLED`, or `JOB_STATE_FAILED`.",
1678 "`JOB_STATE_DRAINED` indicates that the job has been dra ined.\nA drained job terminated by stopping pulling from its input sources and\n processing any data that remained in-flight when draining was requested.\nThis s tate is a terminal state, may only be set by the Cloud Dataflow\nservice, and on ly as a transition from `JOB_STATE_DRAINING`."
1679 ],
1680 "type": "string"
1681 },
1682 "location": {
1683 "description": "The location that contains this job.",
1684 "type": "string"
1685 },
1686 "currentStateTime": {
1687 "description": "The timestamp associated with the current st ate.",
1688 "format": "google-datetime",
1689 "type": "string"
1690 },
1691 "transformNameMapping": {
1692 "additionalProperties": {
1693 "type": "string"
1694 },
1695 "description": "The map of transform name prefixes of the jo b to be replaced to the\ncorresponding name prefixes of the new job.",
1696 "type": "object"
1697 },
1698 "labels": { 1406 "labels": {
1699 "additionalProperties": { 1407 "additionalProperties": {
1700 "type": "string" 1408 "type": "string"
1701 }, 1409 },
1702 "description": "User-defined labels for this job.\n\nThe lab els map can contain no more than 64 entries. Entries of the labels\nmap are UTF 8 strings that comply with the following restrictions:\n\n* Keys must conform to regexp: \\p{Ll}\\p{Lo}{0,62}\n* Values must conform to regexp: [\\p{Ll}\\p{Lo }\\p{N}_-]{0,63}\n* Both keys and values are additionally constrained to be <= 1 28 bytes in\nsize.", 1410 "description": "User-defined labels for this job.\n\nThe lab els map can contain no more than 64 entries. Entries of the labels\nmap are UTF 8 strings that comply with the following restrictions:\n\n* Keys must conform to regexp: \\p{Ll}\\p{Lo}{0,62}\n* Values must conform to regexp: [\\p{Ll}\\p{Lo }\\p{N}_-]{0,63}\n* Both keys and values are additionally constrained to be <= 1 28 bytes in\nsize.",
1703 "type": "object" 1411 "type": "object"
1704 }, 1412 },
1705 "environment": { 1413 "environment": {
1706 "$ref": "Environment", 1414 "$ref": "Environment",
1707 "description": "The environment for the job." 1415 "description": "The environment for the job."
1708 }, 1416 },
1709 "createTime": { 1417 "createTime": {
1710 "description": "The timestamp when the job was initially cre ated. Immutable and set by the\nCloud Dataflow service.", 1418 "description": "The timestamp when the job was initially cre ated. Immutable and set by the\nCloud Dataflow service.",
1711 "format": "google-datetime", 1419 "format": "google-datetime",
1712 "type": "string" 1420 "type": "string"
1713 }, 1421 },
1422 "projectId": {
1423 "description": "The ID of the Cloud Platform project that th e job belongs to.",
1424 "type": "string"
1425 },
1714 "type": { 1426 "type": {
1715 "description": "The type of Cloud Dataflow job.", 1427 "description": "The type of Cloud Dataflow job.",
1716 "enum": [ 1428 "enum": [
1717 "JOB_TYPE_UNKNOWN", 1429 "JOB_TYPE_UNKNOWN",
1718 "JOB_TYPE_BATCH", 1430 "JOB_TYPE_BATCH",
1719 "JOB_TYPE_STREAMING" 1431 "JOB_TYPE_STREAMING"
1720 ], 1432 ],
1721 "enumDescriptions": [ 1433 "enumDescriptions": [
1722 "The type of the job is unspecified, or unknown.", 1434 "The type of the job is unspecified, or unknown.",
1723 "A batch job with a well-defined end point: data is read , data is\nprocessed, data is written, and the job is done.", 1435 "A batch job with a well-defined end point: data is read , data is\nprocessed, data is written, and the job is done.",
1724 "A continuously streaming job with no end: data is read, \nprocessed, and written continuously." 1436 "A continuously streaming job with no end: data is read, \nprocessed, and written continuously."
1725 ], 1437 ],
1726 "type": "string" 1438 "type": "string"
1727 }, 1439 },
1728 "projectId": {
1729 "description": "The ID of the Cloud Platform project that th e job belongs to.",
1730 "type": "string"
1731 },
1732 "pipelineDescription": { 1440 "pipelineDescription": {
1733 "$ref": "PipelineDescription", 1441 "$ref": "PipelineDescription",
1734 "description": "Preliminary field: The format of this data m ay change at any time.\nA description of the user pipeline and stages through wh ich it is executed.\nCreated by Cloud Dataflow service. Only retrieved with\nJO B_VIEW_DESCRIPTION or JOB_VIEW_ALL." 1442 "description": "Preliminary field: The format of this data m ay change at any time.\nA description of the user pipeline and stages through wh ich it is executed.\nCreated by Cloud Dataflow service. Only retrieved with\nJO B_VIEW_DESCRIPTION or JOB_VIEW_ALL."
1735 }, 1443 },
1736 "replaceJobId": { 1444 "replaceJobId": {
1737 "description": "If this job is an update of an existing job, this field is the job ID\nof the job it replaced.\n\nWhen sending a `CreateJobR equest`, you can update a job by specifying it\nhere. The job named here is stop ped, and its intermediate state is\ntransferred to this job.", 1445 "description": "If this job is an update of an existing job, this field is the job ID\nof the job it replaced.\n\nWhen sending a `CreateJobR equest`, you can update a job by specifying it\nhere. The job named here is stop ped, and its intermediate state is\ntransferred to this job.",
1738 "type": "string" 1446 "type": "string"
1739 }, 1447 },
1740 "requestedState": { 1448 "requestedState": {
1741 "description": "The job's requested state.\n\n`UpdateJob` ma y be used to switch between the `JOB_STATE_STOPPED` and\n`JOB_STATE_RUNNING` sta tes, by setting requested_state. `UpdateJob` may\nalso be used to directly set a job's requested state to\n`JOB_STATE_CANCELLED` or `JOB_STATE_DONE`, irrevocab ly terminating the\njob if it has not already reached a terminal state.", 1449 "description": "The job's requested state.\n\n`UpdateJob` ma y be used to switch between the `JOB_STATE_STOPPED` and\n`JOB_STATE_RUNNING` sta tes, by setting requested_state. `UpdateJob` may\nalso be used to directly set a job's requested state to\n`JOB_STATE_CANCELLED` or `JOB_STATE_DONE`, irrevocab ly terminating the\njob if it has not already reached a terminal state.",
(...skipping 28 matching lines...) Expand all
1770 }, 1478 },
1771 "type": "array" 1479 "type": "array"
1772 }, 1480 },
1773 "clientRequestId": { 1481 "clientRequestId": {
1774 "description": "The client's unique identifier of the job, r e-used across retried attempts.\nIf this field is set, the service will ensure i ts uniqueness.\nThe request to create a job will fail if the service has knowled ge of a\npreviously submitted job with the same client's ID and job name.\nThe c aller may use this field to ensure idempotence of job\ncreation across retried a ttempts to create a job.\nBy default, the field is empty and, in that case, the service ignores it.", 1482 "description": "The client's unique identifier of the job, r e-used across retried attempts.\nIf this field is set, the service will ensure i ts uniqueness.\nThe request to create a job will fail if the service has knowled ge of a\npreviously submitted job with the same client's ID and job name.\nThe c aller may use this field to ensure idempotence of job\ncreation across retried a ttempts to create a job.\nBy default, the field is empty and, in that case, the service ignores it.",
1775 "type": "string" 1483 "type": "string"
1776 }, 1484 },
1777 "name": { 1485 "name": {
1778 "description": "The user-specified Cloud Dataflow job name.\ n\nOnly one Job with a given name may exist in a project at any\ngiven time. If a caller attempts to create a Job with the same\nname as an already-existing Job , the attempt returns the\nexisting Job.\n\nThe name must match the regular expr ession\n`[a-z]([-a-z0-9]{0,38}[a-z0-9])?`", 1486 "description": "The user-specified Cloud Dataflow job name.\ n\nOnly one Job with a given name may exist in a project at any\ngiven time. If a caller attempts to create a Job with the same\nname as an already-existing Job , the attempt returns the\nexisting Job.\n\nThe name must match the regular expr ession\n`[a-z]([-a-z0-9]{0,38}[a-z0-9])?`",
1779 "type": "string" 1487 "type": "string"
1488 },
1489 "steps": {
1490 "description": "The top-level steps that constitute the enti re job.",
1491 "items": {
1492 "$ref": "Step"
1493 },
1494 "type": "array"
1495 },
1496 "replacedByJobId": {
1497 "description": "If another job is an update of this job (and thus, this job is in\n`JOB_STATE_UPDATED`), this field contains the ID of that job.",
1498 "type": "string"
1499 },
1500 "executionInfo": {
1501 "$ref": "JobExecutionInfo",
1502 "description": "Deprecated."
1503 },
1504 "id": {
1505 "description": "The unique ID of this job.\n\nThis field is set by the Cloud Dataflow service when the Job is\ncreated, and is immutable for the life of the job.",
1506 "type": "string"
1507 },
1508 "currentState": {
1509 "description": "The current state of the job.\n\nJobs are cr eated in the `JOB_STATE_STOPPED` state unless otherwise\nspecified.\n\nA job in the `JOB_STATE_RUNNING` state may asynchronously enter a\nterminal state. After a job has reached a terminal state, no\nfurther state updates may be made.\n\nTh is field may be mutated by the Cloud Dataflow service;\ncallers cannot mutate it .",
1510 "enum": [
1511 "JOB_STATE_UNKNOWN",
1512 "JOB_STATE_STOPPED",
1513 "JOB_STATE_RUNNING",
1514 "JOB_STATE_DONE",
1515 "JOB_STATE_FAILED",
1516 "JOB_STATE_CANCELLED",
1517 "JOB_STATE_UPDATED",
1518 "JOB_STATE_DRAINING",
1519 "JOB_STATE_DRAINED"
1520 ],
1521 "enumDescriptions": [
1522 "The job's run state isn't specified.",
1523 "`JOB_STATE_STOPPED` indicates that the job has not\nyet started to run.",
1524 "`JOB_STATE_RUNNING` indicates that the job is currently running.",
1525 "`JOB_STATE_DONE` indicates that the job has successfull y completed.\nThis is a terminal job state. This state may be set by the Cloud Dataflow\nservice, as a transition from `JOB_STATE_RUNNING`. It may also be set via a\nCloud Dataflow `UpdateJob` call, if the job has not yet reached a termina l\nstate.",
1526 "`JOB_STATE_FAILED` indicates that the job has failed. This is a\nterminal job state. This state may only be set by the Cloud Dataflow \nservice, and only as a transition from `JOB_STATE_RUNNING`.",
1527 "`JOB_STATE_CANCELLED` indicates that the job has been e xplicitly\ncancelled. This is a terminal job state. This state may only be\nset via a Cloud Dataflow `UpdateJob` call, and only if the job has not\nyet reached another terminal state.",
1528 "`JOB_STATE_UPDATED` indicates that the job was successf ully updated,\nmeaning that this job was stopped and another job was started, in heriting\nstate from this one. This is a terminal job state. This state may only be\nset by the Cloud Dataflow service, and only as a transition from\n`JOB_STAT E_RUNNING`.",
1529 "`JOB_STATE_DRAINING` indicates that the job is in the p rocess of draining.\nA draining job has stopped pulling from its input sources a nd is processing\nany data that remains in-flight. This state may be set via a C loud Dataflow\n`UpdateJob` call, but only as a transition from `JOB_STATE_RUNNIN G`. Jobs\nthat are draining may only transition to `JOB_STATE_DRAINED`,\n`JOB_ST ATE_CANCELLED`, or `JOB_STATE_FAILED`.",
1530 "`JOB_STATE_DRAINED` indicates that the job has been dra ined.\nA drained job terminated by stopping pulling from its input sources and\n processing any data that remained in-flight when draining was requested.\nThis s tate is a terminal state, may only be set by the Cloud Dataflow\nservice, and on ly as a transition from `JOB_STATE_DRAINING`."
1531 ],
1532 "type": "string"
1533 },
1534 "location": {
1535 "description": "The location that contains this job.",
1536 "type": "string"
1537 },
1538 "currentStateTime": {
1539 "description": "The timestamp associated with the current st ate.",
1540 "format": "google-datetime",
1541 "type": "string"
1542 },
1543 "transformNameMapping": {
1544 "additionalProperties": {
1545 "type": "string"
1546 },
1547 "description": "The map of transform name prefixes of the jo b to be replaced to the\ncorresponding name prefixes of the new job.",
1548 "type": "object"
1780 } 1549 }
1781 }, 1550 },
1782 "type": "object" 1551 "type": "object"
1783 }, 1552 },
1784 "SourceOperationResponse": { 1553 "SourceOperationResponse": {
1785 "description": "The result of a SourceOperationRequest, specified in \nReportWorkItemStatusRequest.source_operation when the work item\nis completed. ", 1554 "description": "The result of a SourceOperationRequest, specified in \nReportWorkItemStatusRequest.source_operation when the work item\nis completed. ",
1786 "id": "SourceOperationResponse", 1555 "id": "SourceOperationResponse",
1787 "properties": { 1556 "properties": {
1557 "getMetadata": {
1558 "$ref": "SourceGetMetadataResponse",
1559 "description": "A response to a request to get metadata abou t a source."
1560 },
1788 "split": { 1561 "split": {
1789 "$ref": "SourceSplitResponse", 1562 "$ref": "SourceSplitResponse",
1790 "description": "A response to a request to split a source." 1563 "description": "A response to a request to split a source."
1791 },
1792 "getMetadata": {
1793 "$ref": "SourceGetMetadataResponse",
1794 "description": "A response to a request to get metadata abou t a source."
1795 } 1564 }
1796 }, 1565 },
1797 "type": "object" 1566 "type": "object"
1798 }, 1567 },
1568 "SendDebugCaptureResponse": {
1569 "description": "Response to a send capture request.\nnothing",
1570 "id": "SendDebugCaptureResponse",
1571 "properties": {},
1572 "type": "object"
1573 },
1799 "SideInputInfo": { 1574 "SideInputInfo": {
1800 "description": "Information about a side input of a DoFn or an input of a SeqDoFn.", 1575 "description": "Information about a side input of a DoFn or an input of a SeqDoFn.",
1801 "id": "SideInputInfo", 1576 "id": "SideInputInfo",
1802 "properties": { 1577 "properties": {
1803 "sources": { 1578 "sources": {
1804 "description": "The source(s) to read element(s) from to get the value of this side input.\nIf more than one source, then the elements are t aken from the\nsources, in the specified order if order matters.\nAt least one s ource is required.", 1579 "description": "The source(s) to read element(s) from to get the value of this side input.\nIf more than one source, then the elements are t aken from the\nsources, in the specified order if order matters.\nAt least one s ource is required.",
1805 "items": { 1580 "items": {
1806 "$ref": "Source" 1581 "$ref": "Source"
1807 }, 1582 },
1808 "type": "array" 1583 "type": "array"
1809 }, 1584 },
1810 "kind": { 1585 "kind": {
1811 "additionalProperties": { 1586 "additionalProperties": {
1812 "description": "Properties of the object.", 1587 "description": "Properties of the object.",
1813 "type": "any" 1588 "type": "any"
1814 }, 1589 },
1815 "description": "How to interpret the source element(s) as a side input value.", 1590 "description": "How to interpret the source element(s) as a side input value.",
1816 "type": "object" 1591 "type": "object"
1817 }, 1592 },
1818 "tag": { 1593 "tag": {
1819 "description": "The id of the tag the user code will access this side input by;\nthis should correspond to the tag of some MultiOutputInfo." , 1594 "description": "The id of the tag the user code will access this side input by;\nthis should correspond to the tag of some MultiOutputInfo." ,
1820 "type": "string" 1595 "type": "string"
1821 } 1596 }
1822 }, 1597 },
1823 "type": "object" 1598 "type": "object"
1824 }, 1599 },
1825 "SendDebugCaptureResponse": {
1826 "description": "Response to a send capture request.\nnothing",
1827 "id": "SendDebugCaptureResponse",
1828 "properties": {},
1829 "type": "object"
1830 },
1831 "WriteInstruction": { 1600 "WriteInstruction": {
1832 "description": "An instruction that writes records.\nTakes one input , produces no outputs.", 1601 "description": "An instruction that writes records.\nTakes one input , produces no outputs.",
1833 "id": "WriteInstruction", 1602 "id": "WriteInstruction",
1834 "properties": { 1603 "properties": {
1835 "input": { 1604 "input": {
1836 "$ref": "InstructionInput", 1605 "$ref": "InstructionInput",
1837 "description": "The input." 1606 "description": "The input."
1838 }, 1607 },
1839 "sink": { 1608 "sink": {
1840 "$ref": "Sink", 1609 "$ref": "Sink",
1841 "description": "The sink to write to." 1610 "description": "The sink to write to."
1842 } 1611 }
1843 }, 1612 },
1844 "type": "object" 1613 "type": "object"
1845 }, 1614 },
1615 "CounterStructuredNameAndMetadata": {
1616 "description": "A single message which encapsulates structured name and metadata for a given\ncounter.",
1617 "id": "CounterStructuredNameAndMetadata",
1618 "properties": {
1619 "metadata": {
1620 "$ref": "CounterMetadata",
1621 "description": "Metadata associated with a counter"
1622 },
1623 "name": {
1624 "$ref": "CounterStructuredName",
1625 "description": "Structured name of the counter."
1626 }
1627 },
1628 "type": "object"
1629 },
1846 "ConcatPosition": { 1630 "ConcatPosition": {
1847 "description": "A position that encapsulates an inner position and a n index for the inner\nposition. A ConcatPosition can be used by a reader of a s ource that\nencapsulates a set of other sources.", 1631 "description": "A position that encapsulates an inner position and a n index for the inner\nposition. A ConcatPosition can be used by a reader of a s ource that\nencapsulates a set of other sources.",
1848 "id": "ConcatPosition", 1632 "id": "ConcatPosition",
1849 "properties": { 1633 "properties": {
1850 "position": { 1634 "position": {
1851 "$ref": "Position", 1635 "$ref": "Position",
1852 "description": "Position within the inner source." 1636 "description": "Position within the inner source."
1853 }, 1637 },
1854 "index": { 1638 "index": {
1855 "description": "Index of the inner source.", 1639 "description": "Index of the inner source.",
1856 "format": "int32", 1640 "format": "int32",
1857 "type": "integer" 1641 "type": "integer"
1858 } 1642 }
1859 }, 1643 },
1860 "type": "object" 1644 "type": "object"
1861 }, 1645 },
1862 "CounterStructuredNameAndMetadata": {
1863 "description": "A single message which encapsulates structured name and metadata for a given\ncounter.",
1864 "id": "CounterStructuredNameAndMetadata",
1865 "properties": {
1866 "name": {
1867 "$ref": "CounterStructuredName",
1868 "description": "Structured name of the counter."
1869 },
1870 "metadata": {
1871 "$ref": "CounterMetadata",
1872 "description": "Metadata associated with a counter"
1873 }
1874 },
1875 "type": "object"
1876 },
1877 "AutoscalingSettings": { 1646 "AutoscalingSettings": {
1878 "description": "Settings for WorkerPool autoscaling.", 1647 "description": "Settings for WorkerPool autoscaling.",
1879 "id": "AutoscalingSettings", 1648 "id": "AutoscalingSettings",
1880 "properties": { 1649 "properties": {
1881 "algorithm": { 1650 "algorithm": {
1882 "description": "The algorithm to use for autoscaling.", 1651 "description": "The algorithm to use for autoscaling.",
1883 "enum": [ 1652 "enum": [
1884 "AUTOSCALING_ALGORITHM_UNKNOWN", 1653 "AUTOSCALING_ALGORITHM_UNKNOWN",
1885 "AUTOSCALING_ALGORITHM_NONE", 1654 "AUTOSCALING_ALGORITHM_NONE",
1886 "AUTOSCALING_ALGORITHM_BASIC" 1655 "AUTOSCALING_ALGORITHM_BASIC"
(...skipping 10 matching lines...) Expand all
1897 "format": "int32", 1666 "format": "int32",
1898 "type": "integer" 1667 "type": "integer"
1899 } 1668 }
1900 }, 1669 },
1901 "type": "object" 1670 "type": "object"
1902 }, 1671 },
1903 "StreamingComputationRanges": { 1672 "StreamingComputationRanges": {
1904 "description": "Describes full or partial data disk assignment infor mation of the computation\nranges.", 1673 "description": "Describes full or partial data disk assignment infor mation of the computation\nranges.",
1905 "id": "StreamingComputationRanges", 1674 "id": "StreamingComputationRanges",
1906 "properties": { 1675 "properties": {
1676 "computationId": {
1677 "description": "The ID of the computation.",
1678 "type": "string"
1679 },
1907 "rangeAssignments": { 1680 "rangeAssignments": {
1908 "description": "Data disk assignments for ranges from this c omputation.", 1681 "description": "Data disk assignments for ranges from this c omputation.",
1909 "items": { 1682 "items": {
1910 "$ref": "KeyRangeDataDiskAssignment" 1683 "$ref": "KeyRangeDataDiskAssignment"
1911 }, 1684 },
1912 "type": "array" 1685 "type": "array"
1913 },
1914 "computationId": {
1915 "description": "The ID of the computation.",
1916 "type": "string"
1917 } 1686 }
1918 }, 1687 },
1919 "type": "object" 1688 "type": "object"
1920 }, 1689 },
1921 "ExecutionStageSummary": { 1690 "ExecutionStageSummary": {
1922 "description": "Description of the composing transforms, names/ids, and input/outputs of a\nstage of execution. Some composing transforms and sourc es may have been\ngenerated by the Dataflow service during execution planning.", 1691 "description": "Description of the composing transforms, names/ids, and input/outputs of a\nstage of execution. Some composing transforms and sourc es may have been\ngenerated by the Dataflow service during execution planning.",
1923 "id": "ExecutionStageSummary", 1692 "id": "ExecutionStageSummary",
1924 "properties": { 1693 "properties": {
1694 "kind": {
1695 "description": "Type of tranform this stage is executing.",
1696 "enum": [
1697 "UNKNOWN_KIND",
1698 "PAR_DO_KIND",
1699 "GROUP_BY_KEY_KIND",
1700 "FLATTEN_KIND",
1701 "READ_KIND",
1702 "WRITE_KIND",
1703 "CONSTANT_KIND",
1704 "SINGLETON_KIND",
1705 "SHUFFLE_KIND"
1706 ],
1707 "enumDescriptions": [
1708 "Unrecognized transform type.",
1709 "ParDo transform.",
1710 "Group By Key transform.",
1711 "Flatten transform.",
1712 "Read transform.",
1713 "Write transform.",
1714 "Constructs from a constant value, such as with Create.o f.",
1715 "Creates a Singleton view of a collection.",
1716 "Opening or closing a shuffle session, often as part of a GroupByKey."
1717 ],
1718 "type": "string"
1719 },
1925 "outputSource": { 1720 "outputSource": {
1926 "description": "Output sources for this stage.", 1721 "description": "Output sources for this stage.",
1927 "items": { 1722 "items": {
1928 "$ref": "StageSource" 1723 "$ref": "StageSource"
1929 }, 1724 },
1930 "type": "array" 1725 "type": "array"
1931 }, 1726 },
1932 "name": { 1727 "name": {
1933 "description": "Dataflow service generated name for this sta ge.", 1728 "description": "Dataflow service generated name for this sta ge.",
1934 "type": "string" 1729 "type": "string"
(...skipping 15 matching lines...) Expand all
1950 "$ref": "ComponentTransform" 1745 "$ref": "ComponentTransform"
1951 }, 1746 },
1952 "type": "array" 1747 "type": "array"
1953 }, 1748 },
1954 "componentSource": { 1749 "componentSource": {
1955 "description": "Collections produced and consumed by compone nt transforms of this stage.", 1750 "description": "Collections produced and consumed by compone nt transforms of this stage.",
1956 "items": { 1751 "items": {
1957 "$ref": "ComponentSource" 1752 "$ref": "ComponentSource"
1958 }, 1753 },
1959 "type": "array" 1754 "type": "array"
1960 },
1961 "kind": {
1962 "description": "Type of tranform this stage is executing.",
1963 "enum": [
1964 "UNKNOWN_KIND",
1965 "PAR_DO_KIND",
1966 "GROUP_BY_KEY_KIND",
1967 "FLATTEN_KIND",
1968 "READ_KIND",
1969 "WRITE_KIND",
1970 "CONSTANT_KIND",
1971 "SINGLETON_KIND",
1972 "SHUFFLE_KIND"
1973 ],
1974 "enumDescriptions": [
1975 "Unrecognized transform type.",
1976 "ParDo transform.",
1977 "Group By Key transform.",
1978 "Flatten transform.",
1979 "Read transform.",
1980 "Write transform.",
1981 "Constructs from a constant value, such as with Create.o f.",
1982 "Creates a Singleton view of a collection.",
1983 "Opening or closing a shuffle session, often as part of a GroupByKey."
1984 ],
1985 "type": "string"
1986 } 1755 }
1987 }, 1756 },
1988 "type": "object" 1757 "type": "object"
1989 }, 1758 },
1990 "SendWorkerMessagesRequest": { 1759 "SendWorkerMessagesRequest": {
1991 "description": "A request for sending worker messages to the service .", 1760 "description": "A request for sending worker messages to the service .",
1992 "id": "SendWorkerMessagesRequest", 1761 "id": "SendWorkerMessagesRequest",
1993 "properties": { 1762 "properties": {
1994 "workerMessages": { 1763 "workerMessages": {
1995 "description": "The WorkerMessages to send.", 1764 "description": "The WorkerMessages to send.",
(...skipping 29 matching lines...) Expand all
2025 "$ref": "Source", 1794 "$ref": "Source",
2026 "description": "DEPRECATED" 1795 "description": "DEPRECATED"
2027 } 1796 }
2028 }, 1797 },
2029 "type": "object" 1798 "type": "object"
2030 }, 1799 },
2031 "CPUTime": { 1800 "CPUTime": {
2032 "description": "Modeled after information exposed by /proc/stat.", 1801 "description": "Modeled after information exposed by /proc/stat.",
2033 "id": "CPUTime", 1802 "id": "CPUTime",
2034 "properties": { 1803 "properties": {
2035 "rate": {
2036 "description": "Average CPU utilization rate (% non-idle cpu / second) since previous\nsample.",
2037 "format": "double",
2038 "type": "number"
2039 },
2040 "timestamp": { 1804 "timestamp": {
2041 "description": "Timestamp of the measurement.", 1805 "description": "Timestamp of the measurement.",
2042 "format": "google-datetime", 1806 "format": "google-datetime",
2043 "type": "string" 1807 "type": "string"
2044 }, 1808 },
2045 "totalMs": { 1809 "totalMs": {
2046 "description": "Total active CPU time across all cores (ie., non-idle) in milliseconds\nsince start-up.", 1810 "description": "Total active CPU time across all cores (ie., non-idle) in milliseconds\nsince start-up.",
2047 "format": "uint64", 1811 "format": "uint64",
2048 "type": "string" 1812 "type": "string"
1813 },
1814 "rate": {
1815 "description": "Average CPU utilization rate (% non-idle cpu / second) since previous\nsample.",
1816 "format": "double",
1817 "type": "number"
2049 } 1818 }
2050 }, 1819 },
2051 "type": "object" 1820 "type": "object"
2052 }, 1821 },
2053 "Environment": { 1822 "Environment": {
2054 "description": "Describes the environment in which a Dataflow Job ru ns.", 1823 "description": "Describes the environment in which a Dataflow Job ru ns.",
2055 "id": "Environment", 1824 "id": "Environment",
2056 "properties": { 1825 "properties": {
1826 "dataset": {
1827 "description": "The dataset for the current project where va rious workflow\nrelated tables are stored.\n\nThe supported resource type is:\n\ nGoogle BigQuery:\n bigquery.googleapis.com/{dataset}",
1828 "type": "string"
1829 },
1830 "experiments": {
1831 "description": "The list of experiments to enable.",
1832 "items": {
1833 "type": "string"
1834 },
1835 "type": "array"
1836 },
1837 "version": {
1838 "additionalProperties": {
1839 "description": "Properties of the object.",
1840 "type": "any"
1841 },
1842 "description": "A structure describing which components and their versions of the service\nare required in order to run the job.",
1843 "type": "object"
1844 },
1845 "internalExperiments": {
1846 "additionalProperties": {
1847 "description": "Properties of the object. Contains field @type with type URL.",
1848 "type": "any"
1849 },
1850 "description": "Experimental settings.",
1851 "type": "object"
1852 },
2057 "serviceAccountEmail": { 1853 "serviceAccountEmail": {
2058 "description": "Identity to run virtual machines as. Default s to the default account.", 1854 "description": "Identity to run virtual machines as. Default s to the default account.",
2059 "type": "string" 1855 "type": "string"
2060 }, 1856 },
2061 "userAgent": { 1857 "userAgent": {
2062 "additionalProperties": { 1858 "additionalProperties": {
2063 "description": "Properties of the object.", 1859 "description": "Properties of the object.",
2064 "type": "any" 1860 "type": "any"
2065 }, 1861 },
2066 "description": "A description of the process that generated the request.", 1862 "description": "A description of the process that generated the request.",
(...skipping 14 matching lines...) Expand all
2081 "tempStoragePrefix": { 1877 "tempStoragePrefix": {
2082 "description": "The prefix of the resources the system shoul d use for temporary\nstorage. The system will append the suffix \"/temp-{JOBNAM E} to\nthis resource prefix, where {JOBNAME} is the value of the\njob_name field . The resulting bucket and object prefix is used\nas the prefix of the resource s used to store temporary data\nneeded during the job execution. NOTE: This wil l override the\nvalue in taskrunner_settings.\nThe supported resource type is:\n \nGoogle Cloud Storage:\n\n storage.googleapis.com/{bucket}/{object}\n bucket. storage.googleapis.com/{object}", 1878 "description": "The prefix of the resources the system shoul d use for temporary\nstorage. The system will append the suffix \"/temp-{JOBNAM E} to\nthis resource prefix, where {JOBNAME} is the value of the\njob_name field . The resulting bucket and object prefix is used\nas the prefix of the resource s used to store temporary data\nneeded during the job execution. NOTE: This wil l override the\nvalue in taskrunner_settings.\nThe supported resource type is:\n \nGoogle Cloud Storage:\n\n storage.googleapis.com/{bucket}/{object}\n bucket. storage.googleapis.com/{object}",
2083 "type": "string" 1879 "type": "string"
2084 }, 1880 },
2085 "workerPools": { 1881 "workerPools": {
2086 "description": "The worker pools. At least one \"harness\" w orker pool must be\nspecified in order for the job to have workers.", 1882 "description": "The worker pools. At least one \"harness\" w orker pool must be\nspecified in order for the job to have workers.",
2087 "items": { 1883 "items": {
2088 "$ref": "WorkerPool" 1884 "$ref": "WorkerPool"
2089 }, 1885 },
2090 "type": "array" 1886 "type": "array"
2091 },
2092 "dataset": {
2093 "description": "The dataset for the current project where va rious workflow\nrelated tables are stored.\n\nThe supported resource type is:\n\ nGoogle BigQuery:\n bigquery.googleapis.com/{dataset}",
2094 "type": "string"
2095 },
2096 "experiments": {
2097 "description": "The list of experiments to enable.",
2098 "items": {
2099 "type": "string"
2100 },
2101 "type": "array"
2102 },
2103 "version": {
2104 "additionalProperties": {
2105 "description": "Properties of the object.",
2106 "type": "any"
2107 },
2108 "description": "A structure describing which components and their versions of the service\nare required in order to run the job.",
2109 "type": "object"
2110 },
2111 "internalExperiments": {
2112 "additionalProperties": {
2113 "description": "Properties of the object. Contains field @type with type URL.",
2114 "type": "any"
2115 },
2116 "description": "Experimental settings.",
2117 "type": "object"
2118 } 1887 }
2119 }, 1888 },
2120 "type": "object" 1889 "type": "object"
2121 }, 1890 },
2122 "StreamingComputationTask": { 1891 "StreamingComputationTask": {
2123 "description": "A task which describes what action should be perform ed for the specified\nstreaming computation ranges.", 1892 "description": "A task which describes what action should be perform ed for the specified\nstreaming computation ranges.",
2124 "id": "StreamingComputationTask", 1893 "id": "StreamingComputationTask",
2125 "properties": { 1894 "properties": {
1895 "dataDisks": {
1896 "description": "Describes the set of data disks this task sh ould apply to.",
1897 "items": {
1898 "$ref": "MountedDataDisk"
1899 },
1900 "type": "array"
1901 },
2126 "taskType": { 1902 "taskType": {
2127 "description": "A type of streaming computation task.", 1903 "description": "A type of streaming computation task.",
2128 "enum": [ 1904 "enum": [
2129 "STREAMING_COMPUTATION_TASK_UNKNOWN", 1905 "STREAMING_COMPUTATION_TASK_UNKNOWN",
2130 "STREAMING_COMPUTATION_TASK_STOP", 1906 "STREAMING_COMPUTATION_TASK_STOP",
2131 "STREAMING_COMPUTATION_TASK_START" 1907 "STREAMING_COMPUTATION_TASK_START"
2132 ], 1908 ],
2133 "enumDescriptions": [ 1909 "enumDescriptions": [
2134 "The streaming computation task is unknown, or unspecifi ed.", 1910 "The streaming computation task is unknown, or unspecifi ed.",
2135 "Stop processing specified streaming computation range(s ).", 1911 "Stop processing specified streaming computation range(s ).",
2136 "Start processing specified streaming computation range( s)." 1912 "Start processing specified streaming computation range( s)."
2137 ], 1913 ],
2138 "type": "string" 1914 "type": "string"
2139 }, 1915 },
2140 "computationRanges": { 1916 "computationRanges": {
2141 "description": "Contains ranges of a streaming computation t his task should apply to.", 1917 "description": "Contains ranges of a streaming computation t his task should apply to.",
2142 "items": { 1918 "items": {
2143 "$ref": "StreamingComputationRanges" 1919 "$ref": "StreamingComputationRanges"
2144 }, 1920 },
2145 "type": "array" 1921 "type": "array"
2146 },
2147 "dataDisks": {
2148 "description": "Describes the set of data disks this task sh ould apply to.",
2149 "items": {
2150 "$ref": "MountedDataDisk"
2151 },
2152 "type": "array"
2153 } 1922 }
2154 }, 1923 },
2155 "type": "object" 1924 "type": "object"
2156 }, 1925 },
2157 "SendDebugCaptureRequest": { 1926 "SendDebugCaptureRequest": {
2158 "description": "Request to send encoded debug information.", 1927 "description": "Request to send encoded debug information.",
2159 "id": "SendDebugCaptureRequest", 1928 "id": "SendDebugCaptureRequest",
2160 "properties": { 1929 "properties": {
2161 "data": {
2162 "description": "The encoded debug information.",
2163 "type": "string"
2164 },
2165 "componentId": { 1930 "componentId": {
2166 "description": "The internal component id for which debug in formation is sent.", 1931 "description": "The internal component id for which debug in formation is sent.",
2167 "type": "string" 1932 "type": "string"
2168 }, 1933 },
2169 "workerId": { 1934 "workerId": {
2170 "description": "The worker id, i.e., VM hostname.", 1935 "description": "The worker id, i.e., VM hostname.",
2171 "type": "string" 1936 "type": "string"
1937 },
1938 "data": {
1939 "description": "The encoded debug information.",
1940 "type": "string"
2172 } 1941 }
2173 }, 1942 },
2174 "type": "object" 1943 "type": "object"
2175 }, 1944 },
2176 "GetDebugConfigResponse": { 1945 "GetDebugConfigResponse": {
2177 "description": "Response to a get debug configuration request.", 1946 "description": "Response to a get debug configuration request.",
2178 "id": "GetDebugConfigResponse", 1947 "id": "GetDebugConfigResponse",
2179 "properties": { 1948 "properties": {
2180 "config": { 1949 "config": {
2181 "description": "The encoded debug configuration for the requ ested component.", 1950 "description": "The encoded debug configuration for the requ ested component.",
2182 "type": "string" 1951 "type": "string"
2183 } 1952 }
2184 }, 1953 },
2185 "type": "object" 1954 "type": "object"
2186 }, 1955 },
2187 "ComponentTransform": { 1956 "ComponentTransform": {
2188 "description": "Description of a transform executed as part of an ex ecution stage.", 1957 "description": "Description of a transform executed as part of an ex ecution stage.",
2189 "id": "ComponentTransform", 1958 "id": "ComponentTransform",
2190 "properties": { 1959 "properties": {
2191 "name": {
2192 "description": "Dataflow service generated name for this sou rce.",
2193 "type": "string"
2194 },
2195 "userName": { 1960 "userName": {
2196 "description": "Human-readable name for this transform; may be user or system generated.", 1961 "description": "Human-readable name for this transform; may be user or system generated.",
2197 "type": "string" 1962 "type": "string"
2198 }, 1963 },
2199 "originalTransform": { 1964 "originalTransform": {
2200 "description": "User name for the original user transform wi th which this transform is\nmost closely associated.", 1965 "description": "User name for the original user transform wi th which this transform is\nmost closely associated.",
2201 "type": "string" 1966 "type": "string"
1967 },
1968 "name": {
1969 "description": "Dataflow service generated name for this sou rce.",
1970 "type": "string"
2202 } 1971 }
2203 }, 1972 },
2204 "type": "object" 1973 "type": "object"
2205 }, 1974 },
2206 "StreamingSetupTask": { 1975 "StreamingSetupTask": {
2207 "description": "A task which initializes part of a streaming Dataflo w job.", 1976 "description": "A task which initializes part of a streaming Dataflo w job.",
2208 "id": "StreamingSetupTask", 1977 "id": "StreamingSetupTask",
2209 "properties": { 1978 "properties": {
2210 "streamingComputationTopology": { 1979 "streamingComputationTopology": {
2211 "$ref": "TopologyConfig", 1980 "$ref": "TopologyConfig",
(...skipping 13 matching lines...) Expand all
2225 "format": "int32", 1994 "format": "int32",
2226 "type": "integer" 1995 "type": "integer"
2227 } 1996 }
2228 }, 1997 },
2229 "type": "object" 1998 "type": "object"
2230 }, 1999 },
2231 "PubsubLocation": { 2000 "PubsubLocation": {
2232 "description": "Identifies a pubsub location to use for transferring data into or\nout of a streaming Dataflow job.", 2001 "description": "Identifies a pubsub location to use for transferring data into or\nout of a streaming Dataflow job.",
2233 "id": "PubsubLocation", 2002 "id": "PubsubLocation",
2234 "properties": { 2003 "properties": {
2235 "withAttributes": { 2004 "topic": {
2236 "description": "If true, then the client has requested to ge t pubsub attributes.", 2005 "description": "A pubsub topic, in the form of\n\"pubsub.goo gleapis.com/topics/<project-id>/<topic-name>\"",
2237 "type": "boolean"
2238 },
2239 "idLabel": {
2240 "description": "If set, contains a pubsub label from which t o extract record ids.\nIf left empty, record deduplication will be strictly best effort.",
2241 "type": "string" 2006 "type": "string"
2242 }, 2007 },
2243 "timestampLabel": { 2008 "timestampLabel": {
2244 "description": "If set, contains a pubsub label from which t o extract record timestamps.\nIf left empty, record timestamps will be generated upon arrival.", 2009 "description": "If set, contains a pubsub label from which t o extract record timestamps.\nIf left empty, record timestamps will be generated upon arrival.",
2245 "type": "string" 2010 "type": "string"
2246 }, 2011 },
2247 "topic": {
2248 "description": "A pubsub topic, in the form of\n\"pubsub.goo gleapis.com/topics/<project-id>/<topic-name>\"",
2249 "type": "string"
2250 },
2251 "subscription": { 2012 "subscription": {
2252 "description": "A pubsub subscription, in the form of\n\"pub sub.googleapis.com/subscriptions/<project-id>/<subscription-name>\"", 2013 "description": "A pubsub subscription, in the form of\n\"pub sub.googleapis.com/subscriptions/<project-id>/<subscription-name>\"",
2253 "type": "string" 2014 "type": "string"
2254 }, 2015 },
2255 "dropLateData": { 2016 "dropLateData": {
2256 "description": "Indicates whether the pipeline allows late-a rriving data.", 2017 "description": "Indicates whether the pipeline allows late-a rriving data.",
2257 "type": "boolean" 2018 "type": "boolean"
2258 }, 2019 },
2259 "trackingSubscription": { 2020 "trackingSubscription": {
2260 "description": "If set, specifies the pubsub subscription th at will be used for tracking\ncustom time timestamps for watermark estimation.", 2021 "description": "If set, specifies the pubsub subscription th at will be used for tracking\ncustom time timestamps for watermark estimation.",
2261 "type": "string" 2022 "type": "string"
2023 },
2024 "withAttributes": {
2025 "description": "If true, then the client has requested to ge t pubsub attributes.",
2026 "type": "boolean"
2027 },
2028 "idLabel": {
2029 "description": "If set, contains a pubsub label from which t o extract record ids.\nIf left empty, record deduplication will be strictly best effort.",
2030 "type": "string"
2262 } 2031 }
2263 }, 2032 },
2264 "type": "object" 2033 "type": "object"
2265 }, 2034 },
2266 "WorkerHealthReport": { 2035 "WorkerHealthReport": {
2267 "description": "WorkerHealthReport contains information about the he alth of a worker.\n\nThe VM should be identified by the labels attached to the W orkerMessage that\nthis health ping belongs to.", 2036 "description": "WorkerHealthReport contains information about the he alth of a worker.\n\nThe VM should be identified by the labels attached to the W orkerMessage that\nthis health ping belongs to.",
2268 "id": "WorkerHealthReport", 2037 "id": "WorkerHealthReport",
2269 "properties": { 2038 "properties": {
2270 "vmIsHealthy": { 2039 "vmIsHealthy": {
2271 "description": "Whether the VM is healthy.", 2040 "description": "Whether the VM is healthy.",
(...skipping 20 matching lines...) Expand all
2292 "format": "google-datetime", 2061 "format": "google-datetime",
2293 "type": "string" 2062 "type": "string"
2294 } 2063 }
2295 }, 2064 },
2296 "type": "object" 2065 "type": "object"
2297 }, 2066 },
2298 "JobMessage": { 2067 "JobMessage": {
2299 "description": "A particular message pertaining to a Dataflow job.", 2068 "description": "A particular message pertaining to a Dataflow job.",
2300 "id": "JobMessage", 2069 "id": "JobMessage",
2301 "properties": { 2070 "properties": {
2071 "time": {
2072 "description": "The timestamp of the message.",
2073 "format": "google-datetime",
2074 "type": "string"
2075 },
2302 "id": { 2076 "id": {
2303 "description": "Identifies the message. This is automatical ly generated by the\nservice; the caller should treat it as an opaque string.", 2077 "description": "Identifies the message. This is automatical ly generated by the\nservice; the caller should treat it as an opaque string.",
2304 "type": "string" 2078 "type": "string"
2305 }, 2079 },
2306 "messageText": { 2080 "messageText": {
2307 "description": "The text of the message.", 2081 "description": "The text of the message.",
2308 "type": "string" 2082 "type": "string"
2309 }, 2083 },
2310 "messageImportance": { 2084 "messageImportance": {
2311 "description": "Importance level of the message.", 2085 "description": "Importance level of the message.",
2312 "enum": [ 2086 "enum": [
2313 "JOB_MESSAGE_IMPORTANCE_UNKNOWN", 2087 "JOB_MESSAGE_IMPORTANCE_UNKNOWN",
2314 "JOB_MESSAGE_DEBUG", 2088 "JOB_MESSAGE_DEBUG",
2315 "JOB_MESSAGE_DETAILED", 2089 "JOB_MESSAGE_DETAILED",
2316 "JOB_MESSAGE_BASIC", 2090 "JOB_MESSAGE_BASIC",
2317 "JOB_MESSAGE_WARNING", 2091 "JOB_MESSAGE_WARNING",
2318 "JOB_MESSAGE_ERROR" 2092 "JOB_MESSAGE_ERROR"
2319 ], 2093 ],
2320 "enumDescriptions": [ 2094 "enumDescriptions": [
2321 "The message importance isn't specified, or is unknown." , 2095 "The message importance isn't specified, or is unknown." ,
2322 "The message is at the 'debug' level: typically only use ful for\nsoftware engineers working on the code the job is running.\nTypically, Dataflow pipeline runners do not display log messages\nat this level by default. ", 2096 "The message is at the 'debug' level: typically only use ful for\nsoftware engineers working on the code the job is running.\nTypically, Dataflow pipeline runners do not display log messages\nat this level by default. ",
2323 "The message is at the 'detailed' level: somewhat verbos e, but\npotentially useful to users. Typically, Dataflow pipeline\nrunners do n ot display log messages at this level by default.\nThese messages are displayed by default in the Dataflow\nmonitoring UI.", 2097 "The message is at the 'detailed' level: somewhat verbos e, but\npotentially useful to users. Typically, Dataflow pipeline\nrunners do n ot display log messages at this level by default.\nThese messages are displayed by default in the Dataflow\nmonitoring UI.",
2324 "The message is at the 'basic' level: useful for keeping \ntrack of the execution of a Dataflow pipeline. Typically,\nDataflow pipeline runners display log messages at this level by\ndefault, and these messages are d isplayed by default in the\nDataflow monitoring UI.", 2098 "The message is at the 'basic' level: useful for keeping \ntrack of the execution of a Dataflow pipeline. Typically,\nDataflow pipeline runners display log messages at this level by\ndefault, and these messages are d isplayed by default in the\nDataflow monitoring UI.",
2325 "The message is at the 'warning' level: indicating a con dition\npertaining to a job which may require human intervention.\nTypically, Da taflow pipeline runners display log messages at this\nlevel by default, and thes e messages are displayed by default in\nthe Dataflow monitoring UI.", 2099 "The message is at the 'warning' level: indicating a con dition\npertaining to a job which may require human intervention.\nTypically, Da taflow pipeline runners display log messages at this\nlevel by default, and thes e messages are displayed by default in\nthe Dataflow monitoring UI.",
2326 "The message is at the 'error' level: indicating a condi tion\npreventing a job from succeeding. Typically, Dataflow pipeline\nrunners d isplay log messages at this level by default, and these\nmessages are displayed by default in the Dataflow monitoring UI." 2100 "The message is at the 'error' level: indicating a condi tion\npreventing a job from succeeding. Typically, Dataflow pipeline\nrunners d isplay log messages at this level by default, and these\nmessages are displayed by default in the Dataflow monitoring UI."
2327 ], 2101 ],
2328 "type": "string" 2102 "type": "string"
2329 },
2330 "time": {
2331 "description": "The timestamp of the message.",
2332 "format": "google-datetime",
2333 "type": "string"
2334 } 2103 }
2335 }, 2104 },
2336 "type": "object" 2105 "type": "object"
2337 }, 2106 },
2338 "ParameterMetadata": { 2107 "ParameterMetadata": {
2339 "description": "Metadata for a specific parameter.", 2108 "description": "Metadata for a specific parameter.",
2340 "id": "ParameterMetadata", 2109 "id": "ParameterMetadata",
2341 "properties": { 2110 "properties": {
2111 "regexes": {
2112 "description": "Optional. Regexes that the parameter must ma tch.",
2113 "items": {
2114 "type": "string"
2115 },
2116 "type": "array"
2117 },
2342 "label": { 2118 "label": {
2343 "description": "Required. The label to display for the param eter.", 2119 "description": "Required. The label to display for the param eter.",
2344 "type": "string" 2120 "type": "string"
2345 }, 2121 },
2346 "helpText": { 2122 "helpText": {
2347 "description": "Required. The help text to display for the p arameter.", 2123 "description": "Required. The help text to display for the p arameter.",
2348 "type": "string" 2124 "type": "string"
2349 }, 2125 },
2350 "isOptional": { 2126 "isOptional": {
2351 "description": "Optional. Whether the parameter is optional. Defaults to false.", 2127 "description": "Optional. Whether the parameter is optional. Defaults to false.",
2352 "type": "boolean" 2128 "type": "boolean"
2353 }, 2129 },
2354 "name": { 2130 "name": {
2355 "description": "Required. The name of the parameter.", 2131 "description": "Required. The name of the parameter.",
2356 "type": "string" 2132 "type": "string"
2357 },
2358 "regexes": {
2359 "description": "Optional. Regexes that the parameter must ma tch.",
2360 "items": {
2361 "type": "string"
2362 },
2363 "type": "array"
2364 } 2133 }
2365 }, 2134 },
2366 "type": "object" 2135 "type": "object"
2367 }, 2136 },
2368 "MultiOutputInfo": { 2137 "MultiOutputInfo": {
2369 "description": "Information about an output of a multi-output DoFn." , 2138 "description": "Information about an output of a multi-output DoFn." ,
2370 "id": "MultiOutputInfo", 2139 "id": "MultiOutputInfo",
2371 "properties": { 2140 "properties": {
2372 "tag": { 2141 "tag": {
2373 "description": "The id of the tag the user code will emit to this output by; this\nshould correspond to the tag of some SideInputInfo.", 2142 "description": "The id of the tag the user code will emit to this output by; this\nshould correspond to the tag of some SideInputInfo.",
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after
2475 "type": "string" 2244 "type": "string"
2476 }, 2245 },
2477 "tempStoragePrefix": { 2246 "tempStoragePrefix": {
2478 "description": "The prefix of the resources the taskrunner s hould use for\ntemporary storage.\n\nThe supported resource type is:\n\nGoogle C loud Storage:\n storage.googleapis.com/{bucket}/{object}\n bucket.storage.goog leapis.com/{object}", 2247 "description": "The prefix of the resources the taskrunner s hould use for\ntemporary storage.\n\nThe supported resource type is:\n\nGoogle C loud Storage:\n storage.googleapis.com/{bucket}/{object}\n bucket.storage.goog leapis.com/{object}",
2479 "type": "string" 2248 "type": "string"
2480 }, 2249 },
2481 "baseTaskDir": { 2250 "baseTaskDir": {
2482 "description": "The location on the worker for task-specific subdirectories.", 2251 "description": "The location on the worker for task-specific subdirectories.",
2483 "type": "string" 2252 "type": "string"
2484 }, 2253 },
2254 "commandlinesFileName": {
2255 "description": "The file to store preprocessing commands in. ",
2256 "type": "string"
2257 },
2485 "languageHint": { 2258 "languageHint": {
2486 "description": "The suggested backend language.", 2259 "description": "The suggested backend language.",
2487 "type": "string" 2260 "type": "string"
2488 }, 2261 },
2489 "commandlinesFileName": {
2490 "description": "The file to store preprocessing commands in. ",
2491 "type": "string"
2492 },
2493 "baseUrl": { 2262 "baseUrl": {
2494 "description": "The base URL for the taskrunner to use when accessing Google Cloud APIs.\n\nWhen workers access Google Cloud APIs, they logi cally do so via\nrelative URLs. If this field is specified, it supplies the bas e\nURL to use for resolving these relative URLs. The normative\nalgorithm used is defined by RFC 1808, \"Relative Uniform Resource\nLocators\".\n\nIf not speci fied, the default value is \"http://www.googleapis.com/\"", 2263 "description": "The base URL for the taskrunner to use when accessing Google Cloud APIs.\n\nWhen workers access Google Cloud APIs, they logi cally do so via\nrelative URLs. If this field is specified, it supplies the bas e\nURL to use for resolving these relative URLs. The normative\nalgorithm used is defined by RFC 1808, \"Relative Uniform Resource\nLocators\".\n\nIf not speci fied, the default value is \"http://www.googleapis.com/\"",
2495 "type": "string" 2264 "type": "string"
2496 }, 2265 },
2497 "logToSerialconsole": { 2266 "logToSerialconsole": {
2498 "description": "Whether to send taskrunner log info to Googl e Compute Engine VM serial\nconsole.", 2267 "description": "Whether to send taskrunner log info to Googl e Compute Engine VM serial\nconsole.",
2499 "type": "boolean" 2268 "type": "boolean"
2500 }, 2269 },
2501 "continueOnException": { 2270 "continueOnException": {
2502 "description": "Whether to continue taskrunner if an excepti on is hit.", 2271 "description": "Whether to continue taskrunner if an excepti on is hit.",
(...skipping 24 matching lines...) Expand all
2527 "properties": { 2296 "properties": {
2528 "recordIndex": { 2297 "recordIndex": {
2529 "description": "Position is a record index.", 2298 "description": "Position is a record index.",
2530 "format": "int64", 2299 "format": "int64",
2531 "type": "string" 2300 "type": "string"
2532 }, 2301 },
2533 "shufflePosition": { 2302 "shufflePosition": {
2534 "description": "CloudPosition is a base64 encoded BatchShuff lePosition (with FIXED\nsharding).", 2303 "description": "CloudPosition is a base64 encoded BatchShuff lePosition (with FIXED\nsharding).",
2535 "type": "string" 2304 "type": "string"
2536 }, 2305 },
2306 "byteOffset": {
2307 "description": "Position is a byte offset.",
2308 "format": "int64",
2309 "type": "string"
2310 },
2537 "concatPosition": { 2311 "concatPosition": {
2538 "$ref": "ConcatPosition", 2312 "$ref": "ConcatPosition",
2539 "description": "CloudPosition is a concat position." 2313 "description": "CloudPosition is a concat position."
2540 }, 2314 },
2541 "byteOffset": {
2542 "description": "Position is a byte offset.",
2543 "format": "int64",
2544 "type": "string"
2545 },
2546 "end": { 2315 "end": {
2547 "description": "Position is past all other positions. Also u seful for the end\nposition of an unbounded range.", 2316 "description": "Position is past all other positions. Also u seful for the end\nposition of an unbounded range.",
2548 "type": "boolean" 2317 "type": "boolean"
2549 }, 2318 },
2550 "key": { 2319 "key": {
2551 "description": "Position is a string key, ordered lexicograp hically.", 2320 "description": "Position is a string key, ordered lexicograp hically.",
2552 "type": "string" 2321 "type": "string"
2553 } 2322 }
2554 }, 2323 },
2555 "type": "object" 2324 "type": "object"
(...skipping 12 matching lines...) Expand all
2568 "format": "int32", 2337 "format": "int32",
2569 "type": "integer" 2338 "type": "integer"
2570 } 2339 }
2571 }, 2340 },
2572 "type": "object" 2341 "type": "object"
2573 }, 2342 },
2574 "Source": { 2343 "Source": {
2575 "description": "A source that records can be read and decoded from." , 2344 "description": "A source that records can be read and decoded from." ,
2576 "id": "Source", 2345 "id": "Source",
2577 "properties": { 2346 "properties": {
2578 "metadata": {
2579 "$ref": "SourceMetadata",
2580 "description": "Optionally, metadata for this source can be supplied right away,\navoiding a SourceGetMetadataOperation roundtrip\n(see Sour ceOperationRequest).\n\nThis field is meaningful only in the Source objects popu lated\nby the user (e.g. when filling in a DerivedSource).\nSource objects suppl ied by the framework to the user don't have\nthis field populated."
2581 },
2582 "baseSpecs": {
2583 "description": "While splitting, sources may specify the pro duced bundles\nas differences against another source, in order to save backend-s ide\nmemory and allow bigger jobs. For details, see SourceSplitRequest.\nTo supp ort this use case, the full set of parameters of the source\nis logically obtain ed by taking the latest explicitly specified value\nof each parameter in the ord er:\nbase_specs (later items win), spec (overrides anything in base_specs).",
2584 "items": {
2585 "additionalProperties": {
2586 "description": "Properties of the object.",
2587 "type": "any"
2588 },
2589 "type": "object"
2590 },
2591 "type": "array"
2592 },
2593 "codec": { 2347 "codec": {
2594 "additionalProperties": { 2348 "additionalProperties": {
2595 "description": "Properties of the object.", 2349 "description": "Properties of the object.",
2596 "type": "any" 2350 "type": "any"
2597 }, 2351 },
2598 "description": "The codec to use to decode data read from th e source.", 2352 "description": "The codec to use to decode data read from th e source.",
2599 "type": "object" 2353 "type": "object"
2600 }, 2354 },
2601 "doesNotNeedSplitting": { 2355 "doesNotNeedSplitting": {
2602 "description": "Setting this value to true hints to the fram ework that the source\ndoesn't need splitting, and using SourceSplitRequest on i t would\nyield SOURCE_SPLIT_OUTCOME_USE_CURRENT.\n\nE.g. a file splitter may set this to true when splitting a single file\ninto a set of byte ranges of appropr iate size, and set this\nto false when splitting a filepattern into individual f iles.\nHowever, for efficiency, a file splitter may decide to produce\nfile subr anges directly from the filepattern to avoid a splitting\nround-trip.\n\nSee Sou rceSplitRequest for an overview of the splitting process.\n\nThis field is meani ngful only in the Source objects populated\nby the user (e.g. when filling in a DerivedSource).\nSource objects supplied by the framework to the user don't have \nthis field populated.", 2356 "description": "Setting this value to true hints to the fram ework that the source\ndoesn't need splitting, and using SourceSplitRequest on i t would\nyield SOURCE_SPLIT_OUTCOME_USE_CURRENT.\n\nE.g. a file splitter may set this to true when splitting a single file\ninto a set of byte ranges of appropr iate size, and set this\nto false when splitting a filepattern into individual f iles.\nHowever, for efficiency, a file splitter may decide to produce\nfile subr anges directly from the filepattern to avoid a splitting\nround-trip.\n\nSee Sou rceSplitRequest for an overview of the splitting process.\n\nThis field is meani ngful only in the Source objects populated\nby the user (e.g. when filling in a DerivedSource).\nSource objects supplied by the framework to the user don't have \nthis field populated.",
2603 "type": "boolean" 2357 "type": "boolean"
2604 }, 2358 },
2605 "spec": { 2359 "spec": {
2606 "additionalProperties": { 2360 "additionalProperties": {
2607 "description": "Properties of the object.", 2361 "description": "Properties of the object.",
2608 "type": "any" 2362 "type": "any"
2609 }, 2363 },
2610 "description": "The source to read from, plus its parameters .", 2364 "description": "The source to read from, plus its parameters .",
2611 "type": "object" 2365 "type": "object"
2366 },
2367 "metadata": {
2368 "$ref": "SourceMetadata",
2369 "description": "Optionally, metadata for this source can be supplied right away,\navoiding a SourceGetMetadataOperation roundtrip\n(see Sour ceOperationRequest).\n\nThis field is meaningful only in the Source objects popu lated\nby the user (e.g. when filling in a DerivedSource).\nSource objects suppl ied by the framework to the user don't have\nthis field populated."
2370 },
2371 "baseSpecs": {
2372 "description": "While splitting, sources may specify the pro duced bundles\nas differences against another source, in order to save backend-s ide\nmemory and allow bigger jobs. For details, see SourceSplitRequest.\nTo supp ort this use case, the full set of parameters of the source\nis logically obtain ed by taking the latest explicitly specified value\nof each parameter in the ord er:\nbase_specs (later items win), spec (overrides anything in base_specs).",
2373 "items": {
2374 "additionalProperties": {
2375 "description": "Properties of the object.",
2376 "type": "any"
2377 },
2378 "type": "object"
2379 },
2380 "type": "array"
2612 } 2381 }
2613 }, 2382 },
2614 "type": "object" 2383 "type": "object"
2615 }, 2384 },
2616 "WorkerPool": { 2385 "WorkerPool": {
2617 "description": "Describes one particular pool of Cloud Dataflow work ers to be\ninstantiated by the Cloud Dataflow service in order to perform the\nc omputations required by a job. Note that a workflow job may use\nmultiple pools , in order to match the various computational\nrequirements of the various stage s of the job.", 2386 "description": "Describes one particular pool of Cloud Dataflow work ers to be\ninstantiated by the Cloud Dataflow service in order to perform the\nc omputations required by a job. Note that a workflow job may use\nmultiple pools , in order to match the various computational\nrequirements of the various stage s of the job.",
2618 "id": "WorkerPool", 2387 "id": "WorkerPool",
2619 "properties": { 2388 "properties": {
2620 "numThreadsPerWorker": {
2621 "description": "The number of threads per worker harness. If empty or unspecified, the\nservice will choose a number of threads (according t o the number of cores\non the selected machine type for batch, or 1 by conventio n for streaming).",
2622 "format": "int32",
2623 "type": "integer"
2624 },
2625 "zone": {
2626 "description": "Zone to run the worker pools in. If empty o r unspecified, the service\nwill attempt to choose a reasonable default.",
2627 "type": "string"
2628 },
2629 "numWorkers": {
2630 "description": "Number of Google Compute Engine workers in t his pool needed to\nexecute the job. If zero or unspecified, the service will\n attempt to choose a reasonable default.",
2631 "format": "int32",
2632 "type": "integer"
2633 },
2634 "diskSourceImage": {
2635 "description": "Fully qualified source image for disks.",
2636 "type": "string"
2637 },
2638 "packages": { 2389 "packages": {
2639 "description": "Packages to be installed on workers.", 2390 "description": "Packages to be installed on workers.",
2640 "items": { 2391 "items": {
2641 "$ref": "Package" 2392 "$ref": "Package"
2642 }, 2393 },
2643 "type": "array" 2394 "type": "array"
2644 }, 2395 },
2645 "teardownPolicy": { 2396 "teardownPolicy": {
2646 "description": "Sets the policy for determining when to turn down worker pool.\nAllowed values are: `TEARDOWN_ALWAYS`, `TEARDOWN_ON_SUCCESS`, and\n`TEARDOWN_NEVER`.\n`TEARDOWN_ALWAYS` means workers are always torn down re gardless of whether\nthe job succeeds. `TEARDOWN_ON_SUCCESS` means workers are t orn down\nif the job succeeds. `TEARDOWN_NEVER` means the workers are never torn \ndown.\n\nIf the workers are not torn down by the service, they will\ncontinue to run and use Google Compute Engine VM resources in the\nuser's project until t hey are explicitly terminated by the user.\nBecause of this, Google recommends u sing the `TEARDOWN_ALWAYS`\npolicy except for small, manually supervised test jo bs.\n\nIf unknown or unspecified, the service will attempt to choose a reasonabl e\ndefault.", 2397 "description": "Sets the policy for determining when to turn down worker pool.\nAllowed values are: `TEARDOWN_ALWAYS`, `TEARDOWN_ON_SUCCESS`, and\n`TEARDOWN_NEVER`.\n`TEARDOWN_ALWAYS` means workers are always torn down re gardless of whether\nthe job succeeds. `TEARDOWN_ON_SUCCESS` means workers are t orn down\nif the job succeeds. `TEARDOWN_NEVER` means the workers are never torn \ndown.\n\nIf the workers are not torn down by the service, they will\ncontinue to run and use Google Compute Engine VM resources in the\nuser's project until t hey are explicitly terminated by the user.\nBecause of this, Google recommends u sing the `TEARDOWN_ALWAYS`\npolicy except for small, manually supervised test jo bs.\n\nIf unknown or unspecified, the service will attempt to choose a reasonabl e\ndefault.",
2647 "enum": [ 2398 "enum": [
(...skipping 24 matching lines...) Expand all
2672 }, 2423 },
2673 "diskSizeGb": { 2424 "diskSizeGb": {
2674 "description": "Size of root disk for VMs, in GB. If zero o r unspecified, the service will\nattempt to choose a reasonable default.", 2425 "description": "Size of root disk for VMs, in GB. If zero o r unspecified, the service will\nattempt to choose a reasonable default.",
2675 "format": "int32", 2426 "format": "int32",
2676 "type": "integer" 2427 "type": "integer"
2677 }, 2428 },
2678 "workerHarnessContainerImage": { 2429 "workerHarnessContainerImage": {
2679 "description": "Required. Docker container image that execut es the Cloud Dataflow worker\nharness, residing in Google Container Registry.", 2430 "description": "Required. Docker container image that execut es the Cloud Dataflow worker\nharness, residing in Google Container Registry.",
2680 "type": "string" 2431 "type": "string"
2681 }, 2432 },
2433 "diskType": {
2434 "description": "Type of root disk for VMs. If empty or unsp ecified, the service will\nattempt to choose a reasonable default.",
2435 "type": "string"
2436 },
2682 "machineType": { 2437 "machineType": {
2683 "description": "Machine type (e.g. \"n1-standard-1\"). If e mpty or unspecified, the\nservice will attempt to choose a reasonable default.", 2438 "description": "Machine type (e.g. \"n1-standard-1\"). If e mpty or unspecified, the\nservice will attempt to choose a reasonable default.",
2684 "type": "string" 2439 "type": "string"
2685 }, 2440 },
2686 "diskType": {
2687 "description": "Type of root disk for VMs. If empty or unsp ecified, the service will\nattempt to choose a reasonable default.",
2688 "type": "string"
2689 },
2690 "kind": { 2441 "kind": {
2691 "description": "The kind of the worker pool; currently only `harness` and `shuffle`\nare supported.", 2442 "description": "The kind of the worker pool; currently only `harness` and `shuffle`\nare supported.",
2692 "type": "string" 2443 "type": "string"
2693 }, 2444 },
2694 "dataDisks": { 2445 "dataDisks": {
2695 "description": "Data disks that are used by a VM in this wor kflow.", 2446 "description": "Data disks that are used by a VM in this wor kflow.",
2696 "items": { 2447 "items": {
2697 "$ref": "Disk" 2448 "$ref": "Disk"
2698 }, 2449 },
2699 "type": "array" 2450 "type": "array"
2700 }, 2451 },
2701 "subnetwork": { 2452 "subnetwork": {
2702 "description": "Subnetwork to which VMs will be assigned, if desired. Expected to be of\nthe form \"regions/REGION/subnetworks/SUBNETWORK\" .", 2453 "description": "Subnetwork to which VMs will be assigned, if desired. Expected to be of\nthe form \"regions/REGION/subnetworks/SUBNETWORK\" .",
2703 "type": "string" 2454 "type": "string"
2704 }, 2455 },
2705 "ipConfiguration": { 2456 "ipConfiguration": {
2706 "description": "Configuration for VM IPs.", 2457 "description": "Configuration for VM IPs.",
2707 "enum": [ 2458 "enum": [
2708 "WORKER_IP_UNSPECIFIED", 2459 "WORKER_IP_UNSPECIFIED",
2709 "WORKER_IP_PUBLIC", 2460 "WORKER_IP_PUBLIC",
2710 "WORKER_IP_PRIVATE" 2461 "WORKER_IP_PRIVATE"
2711 ], 2462 ],
2712 "enumDescriptions": [ 2463 "enumDescriptions": [
2713 "The configuration is unknown, or unspecified.", 2464 "The configuration is unknown, or unspecified.",
2714 "Workers should have public IP addresses.", 2465 "Workers should have public IP addresses.",
2715 "Workers should have private IP addresses." 2466 "Workers should have private IP addresses."
2716 ], 2467 ],
2717 "type": "string" 2468 "type": "string"
2718 }, 2469 },
2470 "taskrunnerSettings": {
2471 "$ref": "TaskRunnerSettings",
2472 "description": "Settings passed through to Google Compute En gine workers when\nusing the standard Dataflow task runner. Users should ignore \nthis field."
2473 },
2719 "autoscalingSettings": { 2474 "autoscalingSettings": {
2720 "$ref": "AutoscalingSettings", 2475 "$ref": "AutoscalingSettings",
2721 "description": "Settings for autoscaling of this WorkerPool. " 2476 "description": "Settings for autoscaling of this WorkerPool. "
2722 }, 2477 },
2723 "taskrunnerSettings": {
2724 "$ref": "TaskRunnerSettings",
2725 "description": "Settings passed through to Google Compute En gine workers when\nusing the standard Dataflow task runner. Users should ignore \nthis field."
2726 },
2727 "metadata": { 2478 "metadata": {
2728 "additionalProperties": { 2479 "additionalProperties": {
2729 "type": "string" 2480 "type": "string"
2730 }, 2481 },
2731 "description": "Metadata to set on the Google Compute Engine VMs.", 2482 "description": "Metadata to set on the Google Compute Engine VMs.",
2732 "type": "object" 2483 "type": "object"
2733 }, 2484 },
2734 "defaultPackageSet": { 2485 "defaultPackageSet": {
2735 "description": "The default package set to install. This al lows the service to\nselect a default set of packages which are useful to worker \nharnesses written in a particular language.", 2486 "description": "The default package set to install. This al lows the service to\nselect a default set of packages which are useful to worker \nharnesses written in a particular language.",
2736 "enum": [ 2487 "enum": [
2737 "DEFAULT_PACKAGE_SET_UNKNOWN", 2488 "DEFAULT_PACKAGE_SET_UNKNOWN",
2738 "DEFAULT_PACKAGE_SET_NONE", 2489 "DEFAULT_PACKAGE_SET_NONE",
2739 "DEFAULT_PACKAGE_SET_JAVA", 2490 "DEFAULT_PACKAGE_SET_JAVA",
2740 "DEFAULT_PACKAGE_SET_PYTHON" 2491 "DEFAULT_PACKAGE_SET_PYTHON"
2741 ], 2492 ],
2742 "enumDescriptions": [ 2493 "enumDescriptions": [
2743 "The default set of packages to stage is unknown, or uns pecified.", 2494 "The default set of packages to stage is unknown, or uns pecified.",
2744 "Indicates that no packages should be staged at the work er unless\nexplicitly specified by the job.", 2495 "Indicates that no packages should be staged at the work er unless\nexplicitly specified by the job.",
2745 "Stage packages typically useful to workers written in J ava.", 2496 "Stage packages typically useful to workers written in J ava.",
2746 "Stage pacakges typically useful to workers written in P ython." 2497 "Stage pacakges typically useful to workers written in P ython."
2747 ], 2498 ],
2748 "type": "string" 2499 "type": "string"
2749 }, 2500 },
2750 "network": { 2501 "network": {
2751 "description": "Network to which VMs will be assigned. If e mpty or unspecified,\nthe service will use the network \"default\".", 2502 "description": "Network to which VMs will be assigned. If e mpty or unspecified,\nthe service will use the network \"default\".",
2752 "type": "string" 2503 "type": "string"
2504 },
2505 "zone": {
2506 "description": "Zone to run the worker pools in. If empty o r unspecified, the service\nwill attempt to choose a reasonable default.",
2507 "type": "string"
2508 },
2509 "numWorkers": {
2510 "description": "Number of Google Compute Engine workers in t his pool needed to\nexecute the job. If zero or unspecified, the service will\n attempt to choose a reasonable default.",
2511 "format": "int32",
2512 "type": "integer"
2513 },
2514 "numThreadsPerWorker": {
2515 "description": "The number of threads per worker harness. If empty or unspecified, the\nservice will choose a number of threads (according t o the number of cores\non the selected machine type for batch, or 1 by conventio n for streaming).",
2516 "format": "int32",
2517 "type": "integer"
2518 },
2519 "diskSourceImage": {
2520 "description": "Fully qualified source image for disks.",
2521 "type": "string"
2753 } 2522 }
2754 }, 2523 },
2755 "type": "object" 2524 "type": "object"
2756 }, 2525 },
2757 "SourceOperationRequest": { 2526 "SourceOperationRequest": {
2758 "description": "A work item that represents the different operations that can be\nperformed on a user-defined Source specification.", 2527 "description": "A work item that represents the different operations that can be\nperformed on a user-defined Source specification.",
2759 "id": "SourceOperationRequest", 2528 "id": "SourceOperationRequest",
2760 "properties": { 2529 "properties": {
2761 "getMetadata": { 2530 "getMetadata": {
2762 "$ref": "SourceGetMetadataRequest", 2531 "$ref": "SourceGetMetadataRequest",
2763 "description": "Information about a request to get metadata about a source." 2532 "description": "Information about a request to get metadata about a source."
2764 }, 2533 },
2765 "split": { 2534 "split": {
2766 "$ref": "SourceSplitRequest", 2535 "$ref": "SourceSplitRequest",
2767 "description": "Information about a request to split a sourc e." 2536 "description": "Information about a request to split a sourc e."
2768 } 2537 }
2769 }, 2538 },
2770 "type": "object" 2539 "type": "object"
2771 }, 2540 },
2772 "WorkItem": { 2541 "WorkItem": {
2773 "description": "WorkItem represents basic information about a WorkIt em to be executed\nin the cloud.", 2542 "description": "WorkItem represents basic information about a WorkIt em to be executed\nin the cloud.",
2774 "id": "WorkItem", 2543 "id": "WorkItem",
2775 "properties": { 2544 "properties": {
2776 "shellTask": { 2545 "projectId": {
2777 "$ref": "ShellTask", 2546 "description": "Identifies the cloud project this WorkItem b elongs to.",
2778 "description": "Additional information for ShellTask WorkIte ms." 2547 "type": "string"
2548 },
2549 "reportStatusInterval": {
2550 "description": "Recommended reporting interval.",
2551 "format": "google-duration",
2552 "type": "string"
2553 },
2554 "sourceOperationTask": {
2555 "$ref": "SourceOperationRequest",
2556 "description": "Additional information for source operation WorkItems."
2557 },
2558 "streamingSetupTask": {
2559 "$ref": "StreamingSetupTask",
2560 "description": "Additional information for StreamingSetupTas k WorkItems."
2561 },
2562 "streamingConfigTask": {
2563 "$ref": "StreamingConfigTask",
2564 "description": "Additional information for StreamingConfigTa sk WorkItems."
2565 },
2566 "leaseExpireTime": {
2567 "description": "Time when the lease on this Work will expire .",
2568 "format": "google-datetime",
2569 "type": "string"
2570 },
2571 "initialReportIndex": {
2572 "description": "The initial index to use when reporting the status of the WorkItem.",
2573 "format": "int64",
2574 "type": "string"
2779 }, 2575 },
2780 "streamingComputationTask": { 2576 "streamingComputationTask": {
2781 "$ref": "StreamingComputationTask", 2577 "$ref": "StreamingComputationTask",
2782 "description": "Additional information for StreamingComputat ionTask WorkItems." 2578 "description": "Additional information for StreamingComputat ionTask WorkItems."
2783 }, 2579 },
2580 "shellTask": {
2581 "$ref": "ShellTask",
2582 "description": "Additional information for ShellTask WorkIte ms."
2583 },
2784 "jobId": { 2584 "jobId": {
2785 "description": "Identifies the workflow job this WorkItem be longs to.", 2585 "description": "Identifies the workflow job this WorkItem be longs to.",
2786 "type": "string" 2586 "type": "string"
2787 }, 2587 },
2788 "id": { 2588 "id": {
2789 "description": "Identifies this WorkItem.", 2589 "description": "Identifies this WorkItem.",
2790 "format": "int64", 2590 "format": "int64",
2791 "type": "string" 2591 "type": "string"
2792 }, 2592 },
2793 "configuration": { 2593 "configuration": {
2794 "description": "Work item-specific configuration as an opaqu e blob.", 2594 "description": "Work item-specific configuration as an opaqu e blob.",
2795 "type": "string" 2595 "type": "string"
2796 }, 2596 },
2797 "mapTask": { 2597 "mapTask": {
2798 "$ref": "MapTask", 2598 "$ref": "MapTask",
2799 "description": "Additional information for MapTask WorkItems ." 2599 "description": "Additional information for MapTask WorkItems ."
2800 }, 2600 },
2801 "seqMapTask": { 2601 "seqMapTask": {
2802 "$ref": "SeqMapTask", 2602 "$ref": "SeqMapTask",
2803 "description": "Additional information for SeqMapTask WorkIt ems." 2603 "description": "Additional information for SeqMapTask WorkIt ems."
2804 }, 2604 },
2805 "packages": { 2605 "packages": {
2806 "description": "Any required packages that need to be fetche d in order to execute\nthis WorkItem.", 2606 "description": "Any required packages that need to be fetche d in order to execute\nthis WorkItem.",
2807 "items": { 2607 "items": {
2808 "$ref": "Package" 2608 "$ref": "Package"
2809 }, 2609 },
2810 "type": "array" 2610 "type": "array"
2811 },
2812 "projectId": {
2813 "description": "Identifies the cloud project this WorkItem b elongs to.",
2814 "type": "string"
2815 },
2816 "sourceOperationTask": {
2817 "$ref": "SourceOperationRequest",
2818 "description": "Additional information for source operation WorkItems."
2819 },
2820 "streamingSetupTask": {
2821 "$ref": "StreamingSetupTask",
2822 "description": "Additional information for StreamingSetupTas k WorkItems."
2823 },
2824 "reportStatusInterval": {
2825 "description": "Recommended reporting interval.",
2826 "format": "google-duration",
2827 "type": "string"
2828 },
2829 "streamingConfigTask": {
2830 "$ref": "StreamingConfigTask",
2831 "description": "Additional information for StreamingConfigTa sk WorkItems."
2832 },
2833 "leaseExpireTime": {
2834 "description": "Time when the lease on this Work will expire .",
2835 "format": "google-datetime",
2836 "type": "string"
2837 },
2838 "initialReportIndex": {
2839 "description": "The initial index to use when reporting the status of the WorkItem.",
2840 "format": "int64",
2841 "type": "string"
2842 } 2611 }
2843 }, 2612 },
2844 "type": "object" 2613 "type": "object"
2845 },
2846 "ReportedParallelism": {
2847 "description": "Represents the level of parallelism in a WorkItem's input,\nreported by the worker.",
2848 "id": "ReportedParallelism",
2849 "properties": {
2850 "value": {
2851 "description": "Specifies the level of parallelism in case i t is finite.",
2852 "format": "double",
2853 "type": "number"
2854 },
2855 "isInfinite": {
2856 "description": "Specifies whether the parallelism is infinit e. If true, \"value\" is\nignored.\nInfinite parallelism means the service will assume that the work item\ncan always be split into more non-empty work items by dynamic splitting.\nThis is a work-around for lack of support for infinity by t he current\nJSON-based Java RPC stack.",
2857 "type": "boolean"
2858 }
2859 },
2860 "type": "object"
2861 }, 2614 },
2862 "ResourceUtilizationReport": { 2615 "ResourceUtilizationReport": {
2863 "description": "Worker metrics exported from workers. This contains resource utilization\nmetrics accumulated from a variety of sources. For more in formation, see\ngo/df-resource-signals.", 2616 "description": "Worker metrics exported from workers. This contains resource utilization\nmetrics accumulated from a variety of sources. For more in formation, see\ngo/df-resource-signals.",
2864 "id": "ResourceUtilizationReport", 2617 "id": "ResourceUtilizationReport",
2865 "properties": { 2618 "properties": {
2866 "cpuTime": { 2619 "cpuTime": {
2867 "description": "CPU utilization samples.", 2620 "description": "CPU utilization samples.",
2868 "items": { 2621 "items": {
2869 "$ref": "CPUTime" 2622 "$ref": "CPUTime"
2870 }, 2623 },
2871 "type": "array" 2624 "type": "array"
2872 } 2625 }
2873 }, 2626 },
2874 "type": "object" 2627 "type": "object"
2875 }, 2628 },
2629 "ReportedParallelism": {
2630 "description": "Represents the level of parallelism in a WorkItem's input,\nreported by the worker.",
2631 "id": "ReportedParallelism",
2632 "properties": {
2633 "isInfinite": {
2634 "description": "Specifies whether the parallelism is infinit e. If true, \"value\" is\nignored.\nInfinite parallelism means the service will assume that the work item\ncan always be split into more non-empty work items by dynamic splitting.\nThis is a work-around for lack of support for infinity by t he current\nJSON-based Java RPC stack.",
2635 "type": "boolean"
2636 },
2637 "value": {
2638 "description": "Specifies the level of parallelism in case i t is finite.",
2639 "format": "double",
2640 "type": "number"
2641 }
2642 },
2643 "type": "object"
2644 },
2876 "TopologyConfig": { 2645 "TopologyConfig": {
2877 "description": "Global topology of the streaming Dataflow job, inclu ding all\ncomputations and their sharded locations.", 2646 "description": "Global topology of the streaming Dataflow job, inclu ding all\ncomputations and their sharded locations.",
2878 "id": "TopologyConfig", 2647 "id": "TopologyConfig",
2879 "properties": { 2648 "properties": {
2649 "forwardingKeyBits": {
2650 "description": "The size (in bits) of keys that will be assi gned to source messages.",
2651 "format": "int32",
2652 "type": "integer"
2653 },
2654 "userStageToComputationNameMap": {
2655 "additionalProperties": {
2656 "type": "string"
2657 },
2658 "description": "Maps user stage names to stable computation names.",
2659 "type": "object"
2660 },
2880 "computations": { 2661 "computations": {
2881 "description": "The computations associated with a streaming Dataflow job.", 2662 "description": "The computations associated with a streaming Dataflow job.",
2882 "items": { 2663 "items": {
2883 "$ref": "ComputationTopology" 2664 "$ref": "ComputationTopology"
2884 }, 2665 },
2885 "type": "array" 2666 "type": "array"
2886 }, 2667 },
2887 "dataDiskAssignments": { 2668 "dataDiskAssignments": {
2888 "description": "The disks assigned to a streaming Dataflow j ob.", 2669 "description": "The disks assigned to a streaming Dataflow j ob.",
2889 "items": { 2670 "items": {
2890 "$ref": "DataDiskAssignment" 2671 "$ref": "DataDiskAssignment"
2891 }, 2672 },
2892 "type": "array" 2673 "type": "array"
2893 }, 2674 },
2894 "persistentStateVersion": { 2675 "persistentStateVersion": {
2895 "description": "Version number for persistent state.", 2676 "description": "Version number for persistent state.",
2896 "format": "int32", 2677 "format": "int32",
2897 "type": "integer" 2678 "type": "integer"
2898 },
2899 "forwardingKeyBits": {
2900 "description": "The size (in bits) of keys that will be assi gned to source messages.",
2901 "format": "int32",
2902 "type": "integer"
2903 },
2904 "userStageToComputationNameMap": {
2905 "additionalProperties": {
2906 "type": "string"
2907 },
2908 "description": "Maps user stage names to stable computation names.",
2909 "type": "object"
2910 } 2679 }
2911 }, 2680 },
2912 "type": "object" 2681 "type": "object"
2913 }, 2682 },
2914 "SourceSplitOptions": { 2683 "SourceSplitOptions": {
2915 "description": "Hints for splitting a Source into bundles (parts for parallel\nprocessing) using SourceSplitRequest.", 2684 "description": "Hints for splitting a Source into bundles (parts for parallel\nprocessing) using SourceSplitRequest.",
2916 "id": "SourceSplitOptions", 2685 "id": "SourceSplitOptions",
2917 "properties": { 2686 "properties": {
2918 "desiredBundleSizeBytes": { 2687 "desiredBundleSizeBytes": {
2919 "description": "The source should be split into a set of bun dles where the estimated size\nof each is approximately this many bytes.", 2688 "description": "The source should be split into a set of bun dles where the estimated size\nof each is approximately this many bytes.",
(...skipping 16 matching lines...) Expand all
2936 "$ref": "Source", 2705 "$ref": "Source",
2937 "description": "The source to read from." 2706 "description": "The source to read from."
2938 } 2707 }
2939 }, 2708 },
2940 "type": "object" 2709 "type": "object"
2941 }, 2710 },
2942 "WorkerSettings": { 2711 "WorkerSettings": {
2943 "description": "Provides data to pass through to the worker harness. ", 2712 "description": "Provides data to pass through to the worker harness. ",
2944 "id": "WorkerSettings", 2713 "id": "WorkerSettings",
2945 "properties": { 2714 "properties": {
2946 "tempStoragePrefix": {
2947 "description": "The prefix of the resources the system shoul d use for temporary\nstorage.\n\nThe supported resource type is:\n\nGoogle Cloud Storage:\n\n storage.googleapis.com/{bucket}/{object}\n bucket.storage.google apis.com/{object}",
2948 "type": "string"
2949 },
2950 "baseUrl": {
2951 "description": "The base URL for accessing Google Cloud APIs .\n\nWhen workers access Google Cloud APIs, they logically do so via\nrelative U RLs. If this field is specified, it supplies the base\nURL to use for resolving these relative URLs. The normative\nalgorithm used is defined by RFC 1808, \"R elative Uniform Resource\nLocators\".\n\nIf not specified, the default value is \"http://www.googleapis.com/\"",
2952 "type": "string"
2953 },
2954 "reportingEnabled": {
2955 "description": "Whether to send work progress updates to the service.",
2956 "type": "boolean"
2957 },
2958 "servicePath": { 2715 "servicePath": {
2959 "description": "The Cloud Dataflow service path relative to the root URL, for example,\n\"dataflow/v1b3/projects\".", 2716 "description": "The Cloud Dataflow service path relative to the root URL, for example,\n\"dataflow/v1b3/projects\".",
2960 "type": "string" 2717 "type": "string"
2961 }, 2718 },
2962 "shuffleServicePath": { 2719 "shuffleServicePath": {
2963 "description": "The Shuffle service path relative to the roo t URL, for example,\n\"shuffle/v1beta1\".", 2720 "description": "The Shuffle service path relative to the roo t URL, for example,\n\"shuffle/v1beta1\".",
2964 "type": "string" 2721 "type": "string"
2965 }, 2722 },
2966 "workerId": { 2723 "workerId": {
2967 "description": "The ID of the worker running this pipeline." , 2724 "description": "The ID of the worker running this pipeline." ,
2968 "type": "string" 2725 "type": "string"
2726 },
2727 "tempStoragePrefix": {
2728 "description": "The prefix of the resources the system shoul d use for temporary\nstorage.\n\nThe supported resource type is:\n\nGoogle Cloud Storage:\n\n storage.googleapis.com/{bucket}/{object}\n bucket.storage.google apis.com/{object}",
2729 "type": "string"
2730 },
2731 "baseUrl": {
2732 "description": "The base URL for accessing Google Cloud APIs .\n\nWhen workers access Google Cloud APIs, they logically do so via\nrelative U RLs. If this field is specified, it supplies the base\nURL to use for resolving these relative URLs. The normative\nalgorithm used is defined by RFC 1808, \"R elative Uniform Resource\nLocators\".\n\nIf not specified, the default value is \"http://www.googleapis.com/\"",
2733 "type": "string"
2734 },
2735 "reportingEnabled": {
2736 "description": "Whether to send work progress updates to the service.",
2737 "type": "boolean"
2969 } 2738 }
2970 }, 2739 },
2971 "type": "object" 2740 "type": "object"
2972 },
2973 "StreamingStageLocation": {
2974 "description": "Identifies the location of a streaming computation s tage, for\nstage-to-stage communication.",
2975 "id": "StreamingStageLocation",
2976 "properties": {
2977 "streamId": {
2978 "description": "Identifies the particular stream within the streaming Dataflow\njob.",
2979 "type": "string"
2980 }
2981 },
2982 "type": "object"
2983 }, 2741 },
2984 "DataDiskAssignment": { 2742 "DataDiskAssignment": {
2985 "description": "Data disk assignment for a given VM instance.", 2743 "description": "Data disk assignment for a given VM instance.",
2986 "id": "DataDiskAssignment", 2744 "id": "DataDiskAssignment",
2987 "properties": { 2745 "properties": {
2988 "vmInstance": {
2989 "description": "VM instance name the data disks mounted to, for example\n\"myproject-1014-104817-4c2-harness-0\".",
2990 "type": "string"
2991 },
2992 "dataDisks": { 2746 "dataDisks": {
2993 "description": "Mounted data disks. The order is important a data disk's 0-based index in\nthis list defines which persistent directory the disk is mounted to, for\nexample the list of { \"myproject-1014-104817-4c2-harne ss-0-disk-0\" },\n{ \"myproject-1014-104817-4c2-harness-0-disk-1\" }.", 2747 "description": "Mounted data disks. The order is important a data disk's 0-based index in\nthis list defines which persistent directory the disk is mounted to, for\nexample the list of { \"myproject-1014-104817-4c2-harne ss-0-disk-0\" },\n{ \"myproject-1014-104817-4c2-harness-0-disk-1\" }.",
2994 "items": { 2748 "items": {
2995 "type": "string" 2749 "type": "string"
2996 }, 2750 },
2997 "type": "array" 2751 "type": "array"
2752 },
2753 "vmInstance": {
2754 "description": "VM instance name the data disks mounted to, for example\n\"myproject-1014-104817-4c2-harness-0\".",
2755 "type": "string"
2998 } 2756 }
2999 }, 2757 },
3000 "type": "object" 2758 "type": "object"
2759 },
2760 "StreamingStageLocation": {
2761 "description": "Identifies the location of a streaming computation s tage, for\nstage-to-stage communication.",
2762 "id": "StreamingStageLocation",
2763 "properties": {
2764 "streamId": {
2765 "description": "Identifies the particular stream within the streaming Dataflow\njob.",
2766 "type": "string"
2767 }
2768 },
2769 "type": "object"
3001 }, 2770 },
3002 "ApproximateSplitRequest": { 2771 "ApproximateSplitRequest": {
3003 "description": "A suggestion by the service to the worker to dynamic ally split the WorkItem.", 2772 "description": "A suggestion by the service to the worker to dynamic ally split the WorkItem.",
3004 "id": "ApproximateSplitRequest", 2773 "id": "ApproximateSplitRequest",
3005 "properties": { 2774 "properties": {
3006 "position": { 2775 "position": {
3007 "$ref": "Position", 2776 "$ref": "Position",
3008 "description": "A Position at which to split the work item." 2777 "description": "A Position at which to split the work item."
3009 }, 2778 },
3010 "fractionConsumed": { 2779 "fractionConsumed": {
3011 "description": "A fraction at which to split the work item, from 0.0 (beginning of the\ninput) to 1.0 (end of the input).", 2780 "description": "A fraction at which to split the work item, from 0.0 (beginning of the\ninput) to 1.0 (end of the input).",
3012 "format": "double", 2781 "format": "double",
3013 "type": "number" 2782 "type": "number"
3014 } 2783 }
3015 }, 2784 },
3016 "type": "object" 2785 "type": "object"
3017 }, 2786 },
3018 "Status": { 2787 "Status": {
3019 "description": "The `Status` type defines a logical error model that is suitable for different\nprogramming environments, including REST APIs and RP C APIs. It is used by\n[gRPC](https://github.com/grpc). The error model is desig ned to be:\n\n- Simple to use and understand for most users\n- Flexible enough t o meet unexpected needs\n\n# Overview\n\nThe `Status` message contains three pie ces of data: error code, error message,\nand error details. The error code shoul d be an enum value of\ngoogle.rpc.Code, but it may accept additional error codes if needed. The\nerror message should be a developer-facing English message tha t helps\ndevelopers *understand* and *resolve* the error. If a localized user-fa cing\nerror message is needed, put the localized message in the error details or \nlocalize it in the client. The optional error details may contain arbitrary\ni nformation about the error. There is a predefined set of error detail types\nin the package `google.rpc` which can be used for common error conditions.\n\n# Lan guage mapping\n\nThe `Status` message is the logical representation of the error model, but it\nis not necessarily the actual wire format. When the `Status` mes sage is\nexposed in different client libraries and different wire protocols, it can be\nmapped differently. For example, it will likely be mapped to some except ions\nin Java, but more likely mapped to some error codes in C.\n\n# Other uses\ n\nThe error model and the `Status` message can be used in a variety of\nenviron ments, either with or without APIs, to provide a\nconsistent developer experienc e across different environments.\n\nExample uses of this error model include:\n\ n- Partial errors. If a service needs to return partial errors to the client,\n it may embed the `Status` in the normal response to indicate the partial\n errors.\n\n- Workflow errors. A typical workflow has multiple steps. Each step may\n have a `Status` message for error reporting purpose.\n\n- Batch operati ons. If a client uses batch request and batch response, the\n `Status` messag e should be used directly inside batch response, one for\n each error sub-res ponse.\n\n- Asynchronous operations. If an API call embeds asynchronous operatio n\n results in its response, the status of those operations should be\n re presented directly using the `Status` message.\n\n- Logging. If some API errors are stored in logs, the message `Status` could\n be used directly after any s tripping needed for security/privacy reasons.", 2788 "description": "The `Status` type defines a logical error model that is suitable for different\nprogramming environments, including REST APIs and RP C APIs. It is used by\n[gRPC](https://github.com/grpc). The error model is desig ned to be:\n\n- Simple to use and understand for most users\n- Flexible enough t o meet unexpected needs\n\n# Overview\n\nThe `Status` message contains three pie ces of data: error code, error message,\nand error details. The error code shoul d be an enum value of\ngoogle.rpc.Code, but it may accept additional error codes if needed. The\nerror message should be a developer-facing English message tha t helps\ndevelopers *understand* and *resolve* the error. If a localized user-fa cing\nerror message is needed, put the localized message in the error details or \nlocalize it in the client. The optional error details may contain arbitrary\ni nformation about the error. There is a predefined set of error detail types\nin the package `google.rpc` which can be used for common error conditions.\n\n# Lan guage mapping\n\nThe `Status` message is the logical representation of the error model, but it\nis not necessarily the actual wire format. When the `Status` mes sage is\nexposed in different client libraries and different wire protocols, it can be\nmapped differently. For example, it will likely be mapped to some except ions\nin Java, but more likely mapped to some error codes in C.\n\n# Other uses\ n\nThe error model and the `Status` message can be used in a variety of\nenviron ments, either with or without APIs, to provide a\nconsistent developer experienc e across different environments.\n\nExample uses of this error model include:\n\ n- Partial errors. If a service needs to return partial errors to the client,\n it may embed the `Status` in the normal response to indicate the partial\n errors.\n\n- Workflow errors. A typical workflow has multiple steps. Each step may\n have a `Status` message for error reporting purpose.\n\n- Batch operati ons. If a client uses batch request and batch response, the\n `Status` messag e should be used directly inside batch response, one for\n each error sub-res ponse.\n\n- Asynchronous operations. If an API call embeds asynchronous operatio n\n results in its response, the status of those operations should be\n re presented directly using the `Status` message.\n\n- Logging. If some API errors are stored in logs, the message `Status` could\n be used directly after any s tripping needed for security/privacy reasons.",
3020 "id": "Status", 2789 "id": "Status",
3021 "properties": { 2790 "properties": {
2791 "code": {
2792 "description": "The status code, which should be an enum val ue of google.rpc.Code.",
2793 "format": "int32",
2794 "type": "integer"
2795 },
2796 "message": {
2797 "description": "A developer-facing error message, which shou ld be in English. Any\nuser-facing error message should be localized and sent in the\ngoogle.rpc.Status.details field, or localized by the client.",
2798 "type": "string"
2799 },
3022 "details": { 2800 "details": {
3023 "description": "A list of messages that carry the error deta ils. There will be a\ncommon set of message types for APIs to use.", 2801 "description": "A list of messages that carry the error deta ils. There will be a\ncommon set of message types for APIs to use.",
3024 "items": { 2802 "items": {
3025 "additionalProperties": { 2803 "additionalProperties": {
3026 "description": "Properties of the object. Contains f ield @type with type URL.", 2804 "description": "Properties of the object. Contains f ield @type with type URL.",
3027 "type": "any" 2805 "type": "any"
3028 }, 2806 },
3029 "type": "object" 2807 "type": "object"
3030 }, 2808 },
3031 "type": "array" 2809 "type": "array"
3032 },
3033 "code": {
3034 "description": "The status code, which should be an enum val ue of google.rpc.Code.",
3035 "format": "int32",
3036 "type": "integer"
3037 },
3038 "message": {
3039 "description": "A developer-facing error message, which shou ld be in English. Any\nuser-facing error message should be localized and sent in the\ngoogle.rpc.Status.details field, or localized by the client.",
3040 "type": "string"
3041 } 2810 }
3042 }, 2811 },
3043 "type": "object" 2812 "type": "object"
3044 }, 2813 },
3045 "StreamLocation": { 2814 "StreamLocation": {
3046 "description": "Describes a stream of data, either as input to be pr ocessed or as\noutput of a streaming Dataflow job.", 2815 "description": "Describes a stream of data, either as input to be pr ocessed or as\noutput of a streaming Dataflow job.",
3047 "id": "StreamLocation", 2816 "id": "StreamLocation",
3048 "properties": { 2817 "properties": {
3049 "customSourceLocation": { 2818 "customSourceLocation": {
3050 "$ref": "CustomSourceLocation", 2819 "$ref": "CustomSourceLocation",
(...skipping 21 matching lines...) Expand all
3072 "workerMessageResponses": { 2841 "workerMessageResponses": {
3073 "description": "The servers response to the worker messages. ", 2842 "description": "The servers response to the worker messages. ",
3074 "items": { 2843 "items": {
3075 "$ref": "WorkerMessageResponse" 2844 "$ref": "WorkerMessageResponse"
3076 }, 2845 },
3077 "type": "array" 2846 "type": "array"
3078 } 2847 }
3079 }, 2848 },
3080 "type": "object" 2849 "type": "object"
3081 }, 2850 },
3082 "LeaseWorkItemResponse": { 2851 "StreamingComputationConfig": {
3083 "description": "Response to a request to lease WorkItems.", 2852 "description": "Configuration information for a single streaming com putation.",
3084 "id": "LeaseWorkItemResponse", 2853 "id": "StreamingComputationConfig",
3085 "properties": { 2854 "properties": {
3086 "workItems": { 2855 "computationId": {
3087 "description": "A list of the leased WorkItems.", 2856 "description": "Unique identifier for this computation.",
2857 "type": "string"
2858 },
2859 "systemName": {
2860 "description": "System defined name for this computation.",
2861 "type": "string"
2862 },
2863 "stageName": {
2864 "description": "Stage name of this computation.",
2865 "type": "string"
2866 },
2867 "instructions": {
2868 "description": "Instructions that comprise the computation." ,
3088 "items": { 2869 "items": {
3089 "$ref": "WorkItem" 2870 "$ref": "ParallelInstruction"
3090 }, 2871 },
3091 "type": "array" 2872 "type": "array"
3092 } 2873 }
3093 }, 2874 },
3094 "type": "object" 2875 "type": "object"
3095 }, 2876 },
3096 "TransformSummary": { 2877 "TransformSummary": {
3097 "description": "Description of the type, names/ids, and input/output s for a transform.", 2878 "description": "Description of the type, names/ids, and input/output s for a transform.",
3098 "id": "TransformSummary", 2879 "id": "TransformSummary",
3099 "properties": { 2880 "properties": {
3100 "name": {
3101 "description": "User provided name for this transform instan ce.",
3102 "type": "string"
3103 },
3104 "id": { 2881 "id": {
3105 "description": "SDK generated id of this transform instance. ", 2882 "description": "SDK generated id of this transform instance. ",
3106 "type": "string" 2883 "type": "string"
3107 }, 2884 },
2885 "outputCollectionName": {
2886 "description": "User names for all collection outputs to th is transform.",
2887 "items": {
2888 "type": "string"
2889 },
2890 "type": "array"
2891 },
3108 "displayData": { 2892 "displayData": {
3109 "description": "Transform-specific display data.", 2893 "description": "Transform-specific display data.",
3110 "items": { 2894 "items": {
3111 "$ref": "DisplayData" 2895 "$ref": "DisplayData"
3112 }, 2896 },
3113 "type": "array" 2897 "type": "array"
3114 }, 2898 },
3115 "outputCollectionName": {
3116 "description": "User names for all collection outputs to th is transform.",
3117 "items": {
3118 "type": "string"
3119 },
3120 "type": "array"
3121 },
3122 "kind": { 2899 "kind": {
3123 "description": "Type of transform.", 2900 "description": "Type of transform.",
3124 "enum": [ 2901 "enum": [
3125 "UNKNOWN_KIND", 2902 "UNKNOWN_KIND",
3126 "PAR_DO_KIND", 2903 "PAR_DO_KIND",
3127 "GROUP_BY_KEY_KIND", 2904 "GROUP_BY_KEY_KIND",
3128 "FLATTEN_KIND", 2905 "FLATTEN_KIND",
3129 "READ_KIND", 2906 "READ_KIND",
3130 "WRITE_KIND", 2907 "WRITE_KIND",
3131 "CONSTANT_KIND", 2908 "CONSTANT_KIND",
(...skipping 12 matching lines...) Expand all
3144 "Opening or closing a shuffle session, often as part of a GroupByKey." 2921 "Opening or closing a shuffle session, often as part of a GroupByKey."
3145 ], 2922 ],
3146 "type": "string" 2923 "type": "string"
3147 }, 2924 },
3148 "inputCollectionName": { 2925 "inputCollectionName": {
3149 "description": "User names for all collection inputs to this transform.", 2926 "description": "User names for all collection inputs to this transform.",
3150 "items": { 2927 "items": {
3151 "type": "string" 2928 "type": "string"
3152 }, 2929 },
3153 "type": "array" 2930 "type": "array"
2931 },
2932 "name": {
2933 "description": "User provided name for this transform instan ce.",
2934 "type": "string"
2935 }
2936 },
2937 "type": "object"
2938 },
2939 "LeaseWorkItemResponse": {
2940 "description": "Response to a request to lease WorkItems.",
2941 "id": "LeaseWorkItemResponse",
2942 "properties": {
2943 "workItems": {
2944 "description": "A list of the leased WorkItems.",
2945 "items": {
2946 "$ref": "WorkItem"
2947 },
2948 "type": "array"
3154 } 2949 }
3155 }, 2950 },
3156 "type": "object" 2951 "type": "object"
3157 }, 2952 },
3158 "StreamingComputationConfig": { 2953 "LaunchTemplateParameters": {
3159 "description": "Configuration information for a single streaming com putation.", 2954 "description": "Parameters to provide to the template being launched .",
3160 "id": "StreamingComputationConfig", 2955 "id": "LaunchTemplateParameters",
3161 "properties": { 2956 "properties": {
3162 "computationId": { 2957 "jobName": {
3163 "description": "Unique identifier for this computation.", 2958 "description": "Required. The job name to use for the create d job.",
3164 "type": "string" 2959 "type": "string"
3165 }, 2960 },
3166 "systemName": { 2961 "environment": {
3167 "description": "System defined name for this computation.", 2962 "$ref": "RuntimeEnvironment",
3168 "type": "string" 2963 "description": "The runtime environment for the job."
3169 }, 2964 },
3170 "stageName": { 2965 "parameters": {
3171 "description": "Stage name of this computation.", 2966 "additionalProperties": {
3172 "type": "string" 2967 "type": "string"
3173 },
3174 "instructions": {
3175 "description": "Instructions that comprise the computation." ,
3176 "items": {
3177 "$ref": "ParallelInstruction"
3178 }, 2968 },
3179 "type": "array" 2969 "description": "The runtime parameters to pass to the job.",
2970 "type": "object"
3180 } 2971 }
3181 }, 2972 },
3182 "type": "object" 2973 "type": "object"
3183 }, 2974 },
3184 "Sink": { 2975 "Sink": {
3185 "description": "A sink that records can be encoded and written to.", 2976 "description": "A sink that records can be encoded and written to.",
3186 "id": "Sink", 2977 "id": "Sink",
3187 "properties": { 2978 "properties": {
3188 "codec": { 2979 "codec": {
3189 "additionalProperties": { 2980 "additionalProperties": {
3190 "description": "Properties of the object.", 2981 "description": "Properties of the object.",
3191 "type": "any" 2982 "type": "any"
3192 }, 2983 },
3193 "description": "The codec to use to encode data written to t he sink.", 2984 "description": "The codec to use to encode data written to t he sink.",
3194 "type": "object" 2985 "type": "object"
3195 }, 2986 },
3196 "spec": { 2987 "spec": {
3197 "additionalProperties": { 2988 "additionalProperties": {
3198 "description": "Properties of the object.", 2989 "description": "Properties of the object.",
3199 "type": "any" 2990 "type": "any"
3200 }, 2991 },
3201 "description": "The sink to write to, plus its parameters.", 2992 "description": "The sink to write to, plus its parameters.",
3202 "type": "object" 2993 "type": "object"
3203 } 2994 }
3204 }, 2995 },
3205 "type": "object" 2996 "type": "object"
3206 }, 2997 },
3207 "LaunchTemplateParameters": {
3208 "description": "Parameters to provide to the template being launched .",
3209 "id": "LaunchTemplateParameters",
3210 "properties": {
3211 "environment": {
3212 "$ref": "RuntimeEnvironment",
3213 "description": "The runtime environment for the job."
3214 },
3215 "parameters": {
3216 "additionalProperties": {
3217 "type": "string"
3218 },
3219 "description": "The runtime parameters to pass to the job.",
3220 "type": "object"
3221 },
3222 "jobName": {
3223 "description": "Required. The job name to use for the create d job.",
3224 "type": "string"
3225 }
3226 },
3227 "type": "object"
3228 },
3229 "FlattenInstruction": { 2998 "FlattenInstruction": {
3230 "description": "An instruction that copies its inputs (zero or more) to its (single) output.", 2999 "description": "An instruction that copies its inputs (zero or more) to its (single) output.",
3231 "id": "FlattenInstruction", 3000 "id": "FlattenInstruction",
3232 "properties": { 3001 "properties": {
3233 "inputs": { 3002 "inputs": {
3234 "description": "Describes the inputs to the flatten instruct ion.", 3003 "description": "Describes the inputs to the flatten instruct ion.",
3235 "items": { 3004 "items": {
3236 "$ref": "InstructionInput" 3005 "$ref": "InstructionInput"
3237 }, 3006 },
3238 "type": "array" 3007 "type": "array"
3239 } 3008 }
3240 }, 3009 },
3241 "type": "object" 3010 "type": "object"
3242 }, 3011 },
3243 "PartialGroupByKeyInstruction": { 3012 "PartialGroupByKeyInstruction": {
3244 "description": "An instruction that does a partial group-by-key.\nOn e input and one output.", 3013 "description": "An instruction that does a partial group-by-key.\nOn e input and one output.",
3245 "id": "PartialGroupByKeyInstruction", 3014 "id": "PartialGroupByKeyInstruction",
3246 "properties": { 3015 "properties": {
3247 "valueCombiningFn": {
3248 "additionalProperties": {
3249 "description": "Properties of the object.",
3250 "type": "any"
3251 },
3252 "description": "The value combining function to invoke.",
3253 "type": "object"
3254 },
3255 "inputElementCodec": {
3256 "additionalProperties": {
3257 "description": "Properties of the object.",
3258 "type": "any"
3259 },
3260 "description": "The codec to use for interpreting an element in the input PTable.",
3261 "type": "object"
3262 },
3263 "originalCombineValuesInputStoreName": { 3016 "originalCombineValuesInputStoreName": {
3264 "description": "If this instruction includes a combining fun ction this is the name of the\nintermediate store between the GBK and the Combin eValues.", 3017 "description": "If this instruction includes a combining fun ction this is the name of the\nintermediate store between the GBK and the Combin eValues.",
3265 "type": "string" 3018 "type": "string"
3266 }, 3019 },
3020 "originalCombineValuesStepName": {
3021 "description": "If this instruction includes a combining fun ction, this is the name of the\nCombineValues instruction lifted into this instr uction.",
3022 "type": "string"
3023 },
3267 "sideInputs": { 3024 "sideInputs": {
3268 "description": "Zero or more side inputs.", 3025 "description": "Zero or more side inputs.",
3269 "items": { 3026 "items": {
3270 "$ref": "SideInputInfo" 3027 "$ref": "SideInputInfo"
3271 }, 3028 },
3272 "type": "array" 3029 "type": "array"
3273 }, 3030 },
3274 "originalCombineValuesStepName": {
3275 "description": "If this instruction includes a combining fun ction, this is the name of the\nCombineValues instruction lifted into this instr uction.",
3276 "type": "string"
3277 },
3278 "input": { 3031 "input": {
3279 "$ref": "InstructionInput", 3032 "$ref": "InstructionInput",
3280 "description": "Describes the input to the partial group-by- key instruction." 3033 "description": "Describes the input to the partial group-by- key instruction."
3034 },
3035 "inputElementCodec": {
3036 "additionalProperties": {
3037 "description": "Properties of the object.",
3038 "type": "any"
3039 },
3040 "description": "The codec to use for interpreting an element in the input PTable.",
3041 "type": "object"
3042 },
3043 "valueCombiningFn": {
3044 "additionalProperties": {
3045 "description": "Properties of the object.",
3046 "type": "any"
3047 },
3048 "description": "The value combining function to invoke.",
3049 "type": "object"
3281 } 3050 }
3282 }, 3051 },
3283 "type": "object" 3052 "type": "object"
3284 }, 3053 },
3285 "InstructionInput": { 3054 "InstructionInput": {
3286 "description": "An input of an instruction, as a reference to an out put of a\nproducer instruction.", 3055 "description": "An input of an instruction, as a reference to an out put of a\nproducer instruction.",
3287 "id": "InstructionInput", 3056 "id": "InstructionInput",
3288 "properties": { 3057 "properties": {
3289 "producerInstructionIndex": { 3058 "producerInstructionIndex": {
3290 "description": "The index (origin zero) of the parallel inst ruction that produces\nthe output to be consumed by this input. This index is r elative\nto the list of instructions in this input's instruction's\ncontaining M apTask.", 3059 "description": "The index (origin zero) of the parallel inst ruction that produces\nthe output to be consumed by this input. This index is r elative\nto the list of instructions in this input's instruction's\ncontaining M apTask.",
3291 "format": "int32", 3060 "format": "int32",
3292 "type": "integer" 3061 "type": "integer"
3293 }, 3062 },
3294 "outputNum": { 3063 "outputNum": {
3295 "description": "The output index (origin zero) within the pr oducer.", 3064 "description": "The output index (origin zero) within the pr oducer.",
3296 "format": "int32", 3065 "format": "int32",
3297 "type": "integer" 3066 "type": "integer"
3298 } 3067 }
3299 }, 3068 },
3300 "type": "object" 3069 "type": "object"
3301 }, 3070 },
3302 "StageSource": { 3071 "StageSource": {
3303 "description": "Description of an input or output of an execution st age.", 3072 "description": "Description of an input or output of an execution st age.",
3304 "id": "StageSource", 3073 "id": "StageSource",
3305 "properties": { 3074 "properties": {
3306 "originalTransformOrCollection": {
3307 "description": "User name for the original user transform or collection with which this\nsource is most closely associated.",
3308 "type": "string"
3309 },
3310 "name": { 3075 "name": {
3311 "description": "Dataflow service generated name for this sou rce.", 3076 "description": "Dataflow service generated name for this sou rce.",
3312 "type": "string" 3077 "type": "string"
3313 }, 3078 },
3314 "sizeBytes": { 3079 "sizeBytes": {
3315 "description": "Size of the source, if measurable.", 3080 "description": "Size of the source, if measurable.",
3316 "format": "int64", 3081 "format": "int64",
3317 "type": "string" 3082 "type": "string"
3318 }, 3083 },
3319 "userName": { 3084 "userName": {
3320 "description": "Human-readable name for this source; may be user or system generated.", 3085 "description": "Human-readable name for this source; may be user or system generated.",
3321 "type": "string" 3086 "type": "string"
3087 },
3088 "originalTransformOrCollection": {
3089 "description": "User name for the original user transform or collection with which this\nsource is most closely associated.",
3090 "type": "string"
3322 } 3091 }
3323 }, 3092 },
3324 "type": "object" 3093 "type": "object"
3325 }, 3094 },
3326 "StringList": { 3095 "StringList": {
3327 "description": "A metric value representing a list of strings.", 3096 "description": "A metric value representing a list of strings.",
3328 "id": "StringList", 3097 "id": "StringList",
3329 "properties": { 3098 "properties": {
3330 "elements": { 3099 "elements": {
3331 "description": "Elements of the list.", 3100 "description": "Elements of the list.",
3332 "items": { 3101 "items": {
3333 "type": "string" 3102 "type": "string"
3334 }, 3103 },
3335 "type": "array" 3104 "type": "array"
3336 } 3105 }
3337 }, 3106 },
3338 "type": "object" 3107 "type": "object"
3339 }, 3108 },
3340 "DisplayData": { 3109 "DisplayData": {
3341 "description": "Data provided with a pipeline or transform to provid e descriptive info.", 3110 "description": "Data provided with a pipeline or transform to provid e descriptive info.",
3342 "id": "DisplayData", 3111 "id": "DisplayData",
3343 "properties": { 3112 "properties": {
3113 "strValue": {
3114 "description": "Contains value if the data is of string type .",
3115 "type": "string"
3116 },
3344 "durationValue": { 3117 "durationValue": {
3345 "description": "Contains value if the data is of duration ty pe.", 3118 "description": "Contains value if the data is of duration ty pe.",
3346 "format": "google-duration", 3119 "format": "google-duration",
3347 "type": "string" 3120 "type": "string"
3348 }, 3121 },
3349 "int64Value": { 3122 "int64Value": {
3350 "description": "Contains value if the data is of int64 type. ", 3123 "description": "Contains value if the data is of int64 type. ",
3351 "format": "int64", 3124 "format": "int64",
3352 "type": "string" 3125 "type": "string"
3353 }, 3126 },
(...skipping 20 matching lines...) Expand all
3374 }, 3147 },
3375 "url": { 3148 "url": {
3376 "description": "An optional full URL.", 3149 "description": "An optional full URL.",
3377 "type": "string" 3150 "type": "string"
3378 }, 3151 },
3379 "timestampValue": { 3152 "timestampValue": {
3380 "description": "Contains value if the data is of timestamp t ype.", 3153 "description": "Contains value if the data is of timestamp t ype.",
3381 "format": "google-datetime", 3154 "format": "google-datetime",
3382 "type": "string" 3155 "type": "string"
3383 }, 3156 },
3384 "javaClassValue": {
3385 "description": "Contains value if the data is of java class type.",
3386 "type": "string"
3387 },
3388 "boolValue": { 3157 "boolValue": {
3389 "description": "Contains value if the data is of a boolean t ype.", 3158 "description": "Contains value if the data is of a boolean t ype.",
3390 "type": "boolean" 3159 "type": "boolean"
3391 }, 3160 },
3392 "strValue": { 3161 "javaClassValue": {
3393 "description": "Contains value if the data is of string type .", 3162 "description": "Contains value if the data is of java class type.",
3394 "type": "string"
3395 }
3396 },
3397 "type": "object"
3398 },
3399 "GetDebugConfigRequest": {
3400 "description": "Request to get updated debug configuration for compo nent.",
3401 "id": "GetDebugConfigRequest",
3402 "properties": {
3403 "workerId": {
3404 "description": "The worker id, i.e., VM hostname.",
3405 "type": "string"
3406 },
3407 "componentId": {
3408 "description": "The internal component id for which debug co nfiguration is\nrequested.",
3409 "type": "string" 3163 "type": "string"
3410 } 3164 }
3411 }, 3165 },
3412 "type": "object" 3166 "type": "object"
3413 }, 3167 },
3414 "LeaseWorkItemRequest": { 3168 "LeaseWorkItemRequest": {
3415 "description": "Request to lease WorkItems.", 3169 "description": "Request to lease WorkItems.",
3416 "id": "LeaseWorkItemRequest", 3170 "id": "LeaseWorkItemRequest",
3417 "properties": { 3171 "properties": {
3172 "workerCapabilities": {
3173 "description": "Worker capabilities. WorkItems might be limi ted to workers with specific\ncapabilities.",
3174 "items": {
3175 "type": "string"
3176 },
3177 "type": "array"
3178 },
3179 "workerId": {
3180 "description": "Identifies the worker leasing work -- typica lly the ID of the\nvirtual machine running the worker.",
3181 "type": "string"
3182 },
3183 "requestedLeaseDuration": {
3184 "description": "The initial lease period.",
3185 "format": "google-duration",
3186 "type": "string"
3187 },
3418 "currentWorkerTime": { 3188 "currentWorkerTime": {
3419 "description": "The current timestamp at the worker.", 3189 "description": "The current timestamp at the worker.",
3420 "format": "google-datetime", 3190 "format": "google-datetime",
3421 "type": "string" 3191 "type": "string"
3422 }, 3192 },
3423 "location": { 3193 "location": {
3424 "description": "The location which contains the WorkItem's j ob.", 3194 "description": "The location which contains the WorkItem's j ob.",
3425 "type": "string" 3195 "type": "string"
3426 }, 3196 },
3427 "workItemTypes": { 3197 "workItemTypes": {
3428 "description": "Filter for WorkItem type.", 3198 "description": "Filter for WorkItem type.",
3429 "items": { 3199 "items": {
3430 "type": "string" 3200 "type": "string"
3431 }, 3201 },
3432 "type": "array" 3202 "type": "array"
3433 }, 3203 }
3434 "workerCapabilities": { 3204 },
3435 "description": "Worker capabilities. WorkItems might be limi ted to workers with specific\ncapabilities.", 3205 "type": "object"
3436 "items": { 3206 },
3437 "type": "string" 3207 "GetDebugConfigRequest": {
3438 }, 3208 "description": "Request to get updated debug configuration for compo nent.",
3439 "type": "array" 3209 "id": "GetDebugConfigRequest",
3440 }, 3210 "properties": {
3441 "workerId": { 3211 "workerId": {
3442 "description": "Identifies the worker leasing work -- typica lly the ID of the\nvirtual machine running the worker.", 3212 "description": "The worker id, i.e., VM hostname.",
3443 "type": "string" 3213 "type": "string"
3444 }, 3214 },
3445 "requestedLeaseDuration": { 3215 "componentId": {
3446 "description": "The initial lease period.", 3216 "description": "The internal component id for which debug co nfiguration is\nrequested.",
3447 "format": "google-duration",
3448 "type": "string" 3217 "type": "string"
3449 } 3218 }
3450 }, 3219 },
3451 "type": "object" 3220 "type": "object"
3452 }, 3221 },
3453 "GetTemplateResponse": { 3222 "GetTemplateResponse": {
3454 "description": "The response to a GetTemplate request.", 3223 "description": "The response to a GetTemplate request.",
3455 "id": "GetTemplateResponse", 3224 "id": "GetTemplateResponse",
3456 "properties": { 3225 "properties": {
3226 "metadata": {
3227 "$ref": "TemplateMetadata",
3228 "description": "The template metadata describing the templat e name, available\nparameters, etc."
3229 },
3457 "status": { 3230 "status": {
3458 "$ref": "Status", 3231 "$ref": "Status",
3459 "description": "The status of the get template request. Any problems with the\nrequest will be indicated in the error_details." 3232 "description": "The status of the get template request. Any problems with the\nrequest will be indicated in the error_details."
3460 },
3461 "metadata": {
3462 "$ref": "TemplateMetadata",
3463 "description": "The template metadata describing the templat e name, available\nparameters, etc."
3464 } 3233 }
3465 }, 3234 },
3466 "type": "object" 3235 "type": "object"
3467 }, 3236 },
3468 "ReportWorkItemStatusRequest": { 3237 "ReportWorkItemStatusRequest": {
3469 "description": "Request to report the status of WorkItems.", 3238 "description": "Request to report the status of WorkItems.",
3470 "id": "ReportWorkItemStatusRequest", 3239 "id": "ReportWorkItemStatusRequest",
3471 "properties": { 3240 "properties": {
3472 "workerId": { 3241 "workerId": {
3473 "description": "The ID of the worker reporting the WorkItem status. If this\ndoes not match the ID of the worker which the Dataflow service \nbelieves currently has the lease on the WorkItem, the report\nwill be dropped (with an error response).", 3242 "description": "The ID of the worker reporting the WorkItem status. If this\ndoes not match the ID of the worker which the Dataflow service \nbelieves currently has the lease on the WorkItem, the report\nwill be dropped (with an error response).",
(...skipping 11 matching lines...) Expand all
3485 "workItemStatuses": { 3254 "workItemStatuses": {
3486 "description": "The order is unimportant, except that the or der of the\nWorkItemServiceState messages in the ReportWorkItemStatusResponse\nc orresponds to the order of WorkItemStatus messages here.", 3255 "description": "The order is unimportant, except that the or der of the\nWorkItemServiceState messages in the ReportWorkItemStatusResponse\nc orresponds to the order of WorkItemStatus messages here.",
3487 "items": { 3256 "items": {
3488 "$ref": "WorkItemStatus" 3257 "$ref": "WorkItemStatus"
3489 }, 3258 },
3490 "type": "array" 3259 "type": "array"
3491 } 3260 }
3492 }, 3261 },
3493 "type": "object" 3262 "type": "object"
3494 }, 3263 },
3264 "PipelineDescription": {
3265 "description": "A descriptive representation of submitted pipeline a s well as the executed\nform. This data is provided by the Dataflow service for ease of visualizing\nthe pipeline and interpretting Dataflow provided metrics." ,
3266 "id": "PipelineDescription",
3267 "properties": {
3268 "displayData": {
3269 "description": "Pipeline level display data.",
3270 "items": {
3271 "$ref": "DisplayData"
3272 },
3273 "type": "array"
3274 },
3275 "executionPipelineStage": {
3276 "description": "Description of each stage of execution of th e pipeline.",
3277 "items": {
3278 "$ref": "ExecutionStageSummary"
3279 },
3280 "type": "array"
3281 },
3282 "originalPipelineTransform": {
3283 "description": "Description of each transform in the pipelin e and collections between them.",
3284 "items": {
3285 "$ref": "TransformSummary"
3286 },
3287 "type": "array"
3288 }
3289 },
3290 "type": "object"
3291 },
3495 "StreamingConfigTask": { 3292 "StreamingConfigTask": {
3496 "description": "A task that carries configuration information for st reaming computations.", 3293 "description": "A task that carries configuration information for st reaming computations.",
3497 "id": "StreamingConfigTask", 3294 "id": "StreamingConfigTask",
3498 "properties": { 3295 "properties": {
3499 "streamingComputationConfigs": { 3296 "streamingComputationConfigs": {
3500 "description": "Set of computation configuration information .", 3297 "description": "Set of computation configuration information .",
3501 "items": { 3298 "items": {
3502 "$ref": "StreamingComputationConfig" 3299 "$ref": "StreamingComputationConfig"
3503 }, 3300 },
3504 "type": "array" 3301 "type": "array"
3505 }, 3302 },
3506 "userStepToStateFamilyNameMap": { 3303 "userStepToStateFamilyNameMap": {
3507 "additionalProperties": { 3304 "additionalProperties": {
3508 "type": "string" 3305 "type": "string"
3509 }, 3306 },
3510 "description": "Map from user step names to state families." , 3307 "description": "Map from user step names to state families." ,
3511 "type": "object" 3308 "type": "object"
3512 } 3309 }
3513 }, 3310 },
3514 "type": "object" 3311 "type": "object"
3515 }, 3312 },
3516 "PipelineDescription": { 3313 "JobExecutionInfo": {
3517 "description": "A descriptive representation of submitted pipeline a s well as the executed\nform. This data is provided by the Dataflow service for ease of visualizing\nthe pipeline and interpretting Dataflow provided metrics." , 3314 "description": "Additional information about how a Cloud Dataflow jo b will be executed that\nisn't contained in the submitted job.",
3518 "id": "PipelineDescription", 3315 "id": "JobExecutionInfo",
3519 "properties": { 3316 "properties": {
3520 "originalPipelineTransform": { 3317 "stages": {
3521 "description": "Description of each transform in the pipelin e and collections between them.", 3318 "additionalProperties": {
3522 "items": { 3319 "$ref": "JobExecutionStageInfo"
3523 "$ref": "TransformSummary"
3524 }, 3320 },
3525 "type": "array" 3321 "description": "A mapping from each stage to the information about that stage.",
3526 }, 3322 "type": "object"
3527 "displayData": {
3528 "description": "Pipeline level display data.",
3529 "items": {
3530 "$ref": "DisplayData"
3531 },
3532 "type": "array"
3533 },
3534 "executionPipelineStage": {
3535 "description": "Description of each stage of execution of th e pipeline.",
3536 "items": {
3537 "$ref": "ExecutionStageSummary"
3538 },
3539 "type": "array"
3540 } 3323 }
3541 }, 3324 },
3542 "type": "object" 3325 "type": "object"
3543 }, 3326 },
3544 "Step": { 3327 "Step": {
3545 "description": "Defines a particular step within a Cloud Dataflow jo b.\n\nA job consists of multiple steps, each of which performs some\nspecific op eration as part of the overall job. Data is typically\npassed from one step to another as part of the job.\n\nHere's an example of a sequence of steps which to gether implement a\nMap-Reduce job:\n\n * Read a collection of data from some s ource, parsing the\n collection's elements.\n\n * Validate the elements.\n\n * Apply a user-defined function to map each element to some value\n and ext ract an element-specific key value.\n\n * Group elements with the same key into a single element with\n that key, transforming a multiply-keyed collection i nto a\n uniquely-keyed collection.\n\n * Write the elements out to some data sink.\n\nNote that the Cloud Dataflow service may be used to run many different \ntypes of jobs, not just Map-Reduce.", 3328 "description": "Defines a particular step within a Cloud Dataflow jo b.\n\nA job consists of multiple steps, each of which performs some\nspecific op eration as part of the overall job. Data is typically\npassed from one step to another as part of the job.\n\nHere's an example of a sequence of steps which to gether implement a\nMap-Reduce job:\n\n * Read a collection of data from some s ource, parsing the\n collection's elements.\n\n * Validate the elements.\n\n * Apply a user-defined function to map each element to some value\n and ext ract an element-specific key value.\n\n * Group elements with the same key into a single element with\n that key, transforming a multiply-keyed collection i nto a\n uniquely-keyed collection.\n\n * Write the elements out to some data sink.\n\nNote that the Cloud Dataflow service may be used to run many different \ntypes of jobs, not just Map-Reduce.",
3546 "id": "Step", 3329 "id": "Step",
3547 "properties": { 3330 "properties": {
3548 "name": { 3331 "name": {
3549 "description": "The name that identifies the step. This must be unique for each\nstep with respect to all other steps in the Cloud Dataflow job.", 3332 "description": "The name that identifies the step. This must be unique for each\nstep with respect to all other steps in the Cloud Dataflow job.",
3550 "type": "string" 3333 "type": "string"
3551 }, 3334 },
3552 "kind": { 3335 "kind": {
3553 "description": "The kind of step in the Cloud Dataflow job." , 3336 "description": "The kind of step in the Cloud Dataflow job." ,
3554 "type": "string" 3337 "type": "string"
3555 }, 3338 },
3556 "properties": { 3339 "properties": {
3557 "additionalProperties": { 3340 "additionalProperties": {
3558 "description": "Properties of the object.", 3341 "description": "Properties of the object.",
3559 "type": "any" 3342 "type": "any"
3560 }, 3343 },
3561 "description": "Named properties associated with the step. E ach kind of\npredefined step has its own required set of properties.\nMust be pr ovided on Create. Only retrieved with JOB_VIEW_ALL.", 3344 "description": "Named properties associated with the step. E ach kind of\npredefined step has its own required set of properties.\nMust be pr ovided on Create. Only retrieved with JOB_VIEW_ALL.",
3562 "type": "object" 3345 "type": "object"
3563 } 3346 }
3564 }, 3347 },
3565 "type": "object" 3348 "type": "object"
3566 }, 3349 },
3567 "JobExecutionInfo": {
3568 "description": "Additional information about how a Cloud Dataflow jo b will be executed that\nisn't contained in the submitted job.",
3569 "id": "JobExecutionInfo",
3570 "properties": {
3571 "stages": {
3572 "additionalProperties": {
3573 "$ref": "JobExecutionStageInfo"
3574 },
3575 "description": "A mapping from each stage to the information about that stage.",
3576 "type": "object"
3577 }
3578 },
3579 "type": "object"
3580 },
3581 "FailedLocation": { 3350 "FailedLocation": {
3582 "description": "Indicates which location failed to respond to a requ est for data.", 3351 "description": "Indicates which location failed to respond to a requ est for data.",
3583 "id": "FailedLocation", 3352 "id": "FailedLocation",
3584 "properties": { 3353 "properties": {
3585 "name": { 3354 "name": {
3586 "description": "The name of the failed location.", 3355 "description": "The name of the failed location.",
3587 "type": "string" 3356 "type": "string"
3588 } 3357 }
3589 }, 3358 },
3590 "type": "object" 3359 "type": "object"
(...skipping 15 matching lines...) Expand all
3606 "description": "Directory in a VM where disk is mounted.", 3375 "description": "Directory in a VM where disk is mounted.",
3607 "type": "string" 3376 "type": "string"
3608 } 3377 }
3609 }, 3378 },
3610 "type": "object" 3379 "type": "object"
3611 }, 3380 },
3612 "CounterMetadata": { 3381 "CounterMetadata": {
3613 "description": "CounterMetadata includes all static non-name non-val ue counter attributes.", 3382 "description": "CounterMetadata includes all static non-name non-val ue counter attributes.",
3614 "id": "CounterMetadata", 3383 "id": "CounterMetadata",
3615 "properties": { 3384 "properties": {
3616 "standardUnits": {
3617 "description": "System defined Units, see above enum.",
3618 "enum": [
3619 "BYTES",
3620 "BYTES_PER_SEC",
3621 "MILLISECONDS",
3622 "MICROSECONDS",
3623 "NANOSECONDS",
3624 "TIMESTAMP_MSEC",
3625 "TIMESTAMP_USEC",
3626 "TIMESTAMP_NSEC"
3627 ],
3628 "enumDescriptions": [
3629 "Counter returns a value in bytes.",
3630 "Counter returns a value in bytes per second.",
3631 "Counter returns a value in milliseconds.",
3632 "Counter returns a value in microseconds.",
3633 "Counter returns a value in nanoseconds.",
3634 "Counter returns a timestamp in milliseconds.",
3635 "Counter returns a timestamp in microseconds.",
3636 "Counter returns a timestamp in nanoseconds."
3637 ],
3638 "type": "string"
3639 },
3640 "otherUnits": {
3641 "description": "A string referring to the unit type.",
3642 "type": "string"
3643 },
3644 "kind": { 3385 "kind": {
3645 "description": "Counter aggregation kind.", 3386 "description": "Counter aggregation kind.",
3646 "enum": [ 3387 "enum": [
3647 "INVALID", 3388 "INVALID",
3648 "SUM", 3389 "SUM",
3649 "MAX", 3390 "MAX",
3650 "MIN", 3391 "MIN",
3651 "MEAN", 3392 "MEAN",
3652 "OR", 3393 "OR",
3653 "AND", 3394 "AND",
3654 "SET", 3395 "SET",
3655 "DISTRIBUTION" 3396 "DISTRIBUTION"
3656 ], 3397 ],
3657 "enumDescriptions": [ 3398 "enumDescriptions": [
3658 "Counter aggregation kind was not set.", 3399 "Counter aggregation kind was not set.",
3659 "Aggregated value is the sum of all contributed values." , 3400 "Aggregated value is the sum of all contributed values." ,
3660 "Aggregated value is the max of all contributed values." , 3401 "Aggregated value is the max of all contributed values." ,
3661 "Aggregated value is the min of all contributed values." , 3402 "Aggregated value is the min of all contributed values." ,
3662 "Aggregated value is the mean of all contributed values. ", 3403 "Aggregated value is the mean of all contributed values. ",
3663 "Aggregated value represents the logical 'or' of all con tributed values.", 3404 "Aggregated value represents the logical 'or' of all con tributed values.",
3664 "Aggregated value represents the logical 'and' of all co ntributed values.", 3405 "Aggregated value represents the logical 'and' of all co ntributed values.",
3665 "Aggregated value is a set of unique contributed values. ", 3406 "Aggregated value is a set of unique contributed values. ",
3666 "Aggregated value captures statistics about a distributi on." 3407 "Aggregated value captures statistics about a distributi on."
3667 ], 3408 ],
3668 "type": "string" 3409 "type": "string"
3669 }, 3410 },
3670 "description": { 3411 "description": {
3671 "description": "Human-readable description of the counter se mantics.", 3412 "description": "Human-readable description of the counter se mantics.",
3672 "type": "string" 3413 "type": "string"
3414 },
3415 "standardUnits": {
3416 "description": "System defined Units, see above enum.",
3417 "enum": [
3418 "BYTES",
3419 "BYTES_PER_SEC",
3420 "MILLISECONDS",
3421 "MICROSECONDS",
3422 "NANOSECONDS",
3423 "TIMESTAMP_MSEC",
3424 "TIMESTAMP_USEC",
3425 "TIMESTAMP_NSEC"
3426 ],
3427 "enumDescriptions": [
3428 "Counter returns a value in bytes.",
3429 "Counter returns a value in bytes per second.",
3430 "Counter returns a value in milliseconds.",
3431 "Counter returns a value in microseconds.",
3432 "Counter returns a value in nanoseconds.",
3433 "Counter returns a timestamp in milliseconds.",
3434 "Counter returns a timestamp in microseconds.",
3435 "Counter returns a timestamp in nanoseconds."
3436 ],
3437 "type": "string"
3438 },
3439 "otherUnits": {
3440 "description": "A string referring to the unit type.",
3441 "type": "string"
3673 } 3442 }
3674 }, 3443 },
3675 "type": "object" 3444 "type": "object"
3676 }, 3445 },
3677 "ListJobMessagesResponse": { 3446 "ListJobMessagesResponse": {
3678 "description": "Response to a request to list job messages.", 3447 "description": "Response to a request to list job messages.",
3679 "id": "ListJobMessagesResponse", 3448 "id": "ListJobMessagesResponse",
3680 "properties": { 3449 "properties": {
3681 "jobMessages": { 3450 "jobMessages": {
3682 "description": "Messages in ascending timestamp order.", 3451 "description": "Messages in ascending timestamp order.",
3683 "items": { 3452 "items": {
3684 "$ref": "JobMessage" 3453 "$ref": "JobMessage"
3685 }, 3454 },
3686 "type": "array" 3455 "type": "array"
3687 }, 3456 },
3688 "nextPageToken": { 3457 "nextPageToken": {
3689 "description": "The token to obtain the next page of results if there are more.", 3458 "description": "The token to obtain the next page of results if there are more.",
3690 "type": "string" 3459 "type": "string"
3691 } 3460 }
3692 }, 3461 },
3693 "type": "object" 3462 "type": "object"
3694 }, 3463 },
3695 "ApproximateReportedProgress": { 3464 "ApproximateReportedProgress": {
3696 "description": "A progress measurement of a WorkItem by a worker.", 3465 "description": "A progress measurement of a WorkItem by a worker.",
3697 "id": "ApproximateReportedProgress", 3466 "id": "ApproximateReportedProgress",
3698 "properties": { 3467 "properties": {
3699 "position": {
3700 "$ref": "Position",
3701 "description": "A Position within the work to represent a pr ogress."
3702 },
3703 "fractionConsumed": {
3704 "description": "Completion as fraction of the input consumed , from 0.0 (beginning, nothing\nconsumed), to 1.0 (end of the input, entire inpu t consumed).",
3705 "format": "double",
3706 "type": "number"
3707 },
3708 "consumedParallelism": { 3468 "consumedParallelism": {
3709 "$ref": "ReportedParallelism", 3469 "$ref": "ReportedParallelism",
3710 "description": "Total amount of parallelism in the portion o f input of this task that has\nalready been consumed and is no longer active. In the first two examples\nabove (see remaining_parallelism), the value should be 29 or 2\nrespectively. The sum of remaining_parallelism and consumed_parallelis m\nshould equal the total amount of parallelism in this work item. If\nspecifie d, must be finite." 3470 "description": "Total amount of parallelism in the portion o f input of this task that has\nalready been consumed and is no longer active. In the first two examples\nabove (see remaining_parallelism), the value should be 29 or 2\nrespectively. The sum of remaining_parallelism and consumed_parallelis m\nshould equal the total amount of parallelism in this work item. If\nspecifie d, must be finite."
3711 }, 3471 },
3712 "remainingParallelism": { 3472 "remainingParallelism": {
3713 "$ref": "ReportedParallelism", 3473 "$ref": "ReportedParallelism",
3714 "description": "Total amount of parallelism in the input of this task that remains,\n(i.e. can be delegated to this task and any new tasks v ia dynamic\nsplitting). Always at least 1 for non-finished work items and 0 for\ nfinished.\n\n\"Amount of parallelism\" refers to how many non-empty parts of th e input\ncan be read in parallel. This does not necessarily equal number\nof rec ords. An input that can be read in parallel down to the\nindividual records is c alled \"perfectly splittable\".\nAn example of non-perfectly parallelizable inpu t is a block-compressed\nfile format where a block of records has to be read as a whole,\nbut different blocks can be read in parallel.\n\nExamples:\n* If we ar e processing record #30 (starting at 1) out of 50 in a perfectly\n splittable 5 0-record input, this value should be 21 (20 remaining + 1\n current).\n* If we are reading through block 3 in a block-compressed file consisting\n of 5 blocks , this value should be 3 (since blocks 4 and 5 can be\n processed in parallel b y new tasks via dynamic splitting and the current\n task remains processing blo ck 3).\n* If we are reading through the last block in a block-compressed file,\n or reading or processing the last record in a perfectly splittable\n input, t his value should be 1, because apart from the current task, no\n additional rem ainder can be split off." 3474 "description": "Total amount of parallelism in the input of this task that remains,\n(i.e. can be delegated to this task and any new tasks v ia dynamic\nsplitting). Always at least 1 for non-finished work items and 0 for\ nfinished.\n\n\"Amount of parallelism\" refers to how many non-empty parts of th e input\ncan be read in parallel. This does not necessarily equal number\nof rec ords. An input that can be read in parallel down to the\nindividual records is c alled \"perfectly splittable\".\nAn example of non-perfectly parallelizable inpu t is a block-compressed\nfile format where a block of records has to be read as a whole,\nbut different blocks can be read in parallel.\n\nExamples:\n* If we ar e processing record #30 (starting at 1) out of 50 in a perfectly\n splittable 5 0-record input, this value should be 21 (20 remaining + 1\n current).\n* If we are reading through block 3 in a block-compressed file consisting\n of 5 blocks , this value should be 3 (since blocks 4 and 5 can be\n processed in parallel b y new tasks via dynamic splitting and the current\n task remains processing blo ck 3).\n* If we are reading through the last block in a block-compressed file,\n or reading or processing the last record in a perfectly splittable\n input, t his value should be 1, because apart from the current task, no\n additional rem ainder can be split off."
3475 },
3476 "position": {
3477 "$ref": "Position",
3478 "description": "A Position within the work to represent a pr ogress."
3479 },
3480 "fractionConsumed": {
3481 "description": "Completion as fraction of the input consumed , from 0.0 (beginning, nothing\nconsumed), to 1.0 (end of the input, entire inpu t consumed).",
3482 "format": "double",
3483 "type": "number"
3715 } 3484 }
3716 }, 3485 },
3717 "type": "object" 3486 "type": "object"
3718 },
3719 "StateFamilyConfig": {
3720 "description": "State family configuration.",
3721 "id": "StateFamilyConfig",
3722 "properties": {
3723 "stateFamily": {
3724 "description": "The state family value.",
3725 "type": "string"
3726 },
3727 "isRead": {
3728 "description": "If true, this family corresponds to a read o peration.",
3729 "type": "boolean"
3730 }
3731 },
3732 "type": "object"
3733 }, 3487 },
3734 "IntegerList": { 3488 "IntegerList": {
3735 "description": "A metric value representing a list of integers.", 3489 "description": "A metric value representing a list of integers.",
3736 "id": "IntegerList", 3490 "id": "IntegerList",
3737 "properties": { 3491 "properties": {
3738 "elements": { 3492 "elements": {
3739 "description": "Elements of the list.", 3493 "description": "Elements of the list.",
3740 "items": { 3494 "items": {
3741 "$ref": "SplitInt64" 3495 "$ref": "SplitInt64"
3742 }, 3496 },
3743 "type": "array" 3497 "type": "array"
3744 } 3498 }
3745 }, 3499 },
3746 "type": "object" 3500 "type": "object"
3747 }, 3501 },
3502 "StateFamilyConfig": {
3503 "description": "State family configuration.",
3504 "id": "StateFamilyConfig",
3505 "properties": {
3506 "isRead": {
3507 "description": "If true, this family corresponds to a read o peration.",
3508 "type": "boolean"
3509 },
3510 "stateFamily": {
3511 "description": "The state family value.",
3512 "type": "string"
3513 }
3514 },
3515 "type": "object"
3516 },
3748 "ResourceUtilizationReportResponse": { 3517 "ResourceUtilizationReportResponse": {
3749 "description": "Service-side response to WorkerMessage reporting res ource utilization.", 3518 "description": "Service-side response to WorkerMessage reporting res ource utilization.",
3750 "id": "ResourceUtilizationReportResponse", 3519 "id": "ResourceUtilizationReportResponse",
3751 "properties": {}, 3520 "properties": {},
3752 "type": "object" 3521 "type": "object"
3753 }, 3522 },
3754 "SourceSplitResponse": { 3523 "SourceSplitResponse": {
3755 "description": "The response to a SourceSplitRequest.", 3524 "description": "The response to a SourceSplitRequest.",
3756 "id": "SourceSplitResponse", 3525 "id": "SourceSplitResponse",
3757 "properties": { 3526 "properties": {
3527 "shards": {
3528 "description": "DEPRECATED in favor of bundles.",
3529 "items": {
3530 "$ref": "SourceSplitShard"
3531 },
3532 "type": "array"
3533 },
3758 "outcome": { 3534 "outcome": {
3759 "description": "Indicates whether splitting happened and pro duced a list of bundles.\nIf this is USE_CURRENT_SOURCE_AS_IS, the current sourc e should\nbe processed \"as is\" without splitting. \"bundles\" is ignored in th is case.\nIf this is SPLITTING_HAPPENED, then \"bundles\" contains a list of\nbu ndles into which the source was split.", 3535 "description": "Indicates whether splitting happened and pro duced a list of bundles.\nIf this is USE_CURRENT_SOURCE_AS_IS, the current sourc e should\nbe processed \"as is\" without splitting. \"bundles\" is ignored in th is case.\nIf this is SPLITTING_HAPPENED, then \"bundles\" contains a list of\nbu ndles into which the source was split.",
3760 "enum": [ 3536 "enum": [
3761 "SOURCE_SPLIT_OUTCOME_UNKNOWN", 3537 "SOURCE_SPLIT_OUTCOME_UNKNOWN",
3762 "SOURCE_SPLIT_OUTCOME_USE_CURRENT", 3538 "SOURCE_SPLIT_OUTCOME_USE_CURRENT",
3763 "SOURCE_SPLIT_OUTCOME_SPLITTING_HAPPENED" 3539 "SOURCE_SPLIT_OUTCOME_SPLITTING_HAPPENED"
3764 ], 3540 ],
3765 "enumDescriptions": [ 3541 "enumDescriptions": [
3766 "The source split outcome is unknown, or unspecified.", 3542 "The source split outcome is unknown, or unspecified.",
3767 "The current source should be processed \"as is\" withou t splitting.", 3543 "The current source should be processed \"as is\" withou t splitting.",
3768 "Splitting produced a list of bundles." 3544 "Splitting produced a list of bundles."
3769 ], 3545 ],
3770 "type": "string" 3546 "type": "string"
3771 }, 3547 },
3772 "bundles": { 3548 "bundles": {
3773 "description": "If outcome is SPLITTING_HAPPENED, then this is a list of bundles\ninto which the source was split. Otherwise this field is i gnored.\nThis list can be empty, which means the source represents an empty inpu t.", 3549 "description": "If outcome is SPLITTING_HAPPENED, then this is a list of bundles\ninto which the source was split. Otherwise this field is i gnored.\nThis list can be empty, which means the source represents an empty inpu t.",
3774 "items": { 3550 "items": {
3775 "$ref": "DerivedSource" 3551 "$ref": "DerivedSource"
3776 }, 3552 },
3777 "type": "array" 3553 "type": "array"
3778 },
3779 "shards": {
3780 "description": "DEPRECATED in favor of bundles.",
3781 "items": {
3782 "$ref": "SourceSplitShard"
3783 },
3784 "type": "array"
3785 } 3554 }
3786 }, 3555 },
3787 "type": "object" 3556 "type": "object"
3788 }, 3557 },
3789 "ParallelInstruction": { 3558 "ParallelInstruction": {
3790 "description": "Describes a particular operation comprising a MapTas k.", 3559 "description": "Describes a particular operation comprising a MapTas k.",
3791 "id": "ParallelInstruction", 3560 "id": "ParallelInstruction",
3792 "properties": { 3561 "properties": {
3793 "flatten": {
3794 "$ref": "FlattenInstruction",
3795 "description": "Additional information for Flatten instructi ons."
3796 },
3797 "originalName": {
3798 "description": "System-defined name for the operation in the original workflow graph.",
3799 "type": "string"
3800 },
3801 "write": {
3802 "$ref": "WriteInstruction",
3803 "description": "Additional information for Write instruction s."
3804 },
3805 "systemName": {
3806 "description": "System-defined name of this operation.\nUniq ue across the workflow.",
3807 "type": "string"
3808 },
3809 "partialGroupByKey": { 3562 "partialGroupByKey": {
3810 "$ref": "PartialGroupByKeyInstruction", 3563 "$ref": "PartialGroupByKeyInstruction",
3811 "description": "Additional information for PartialGroupByKey instructions." 3564 "description": "Additional information for PartialGroupByKey instructions."
3812 }, 3565 },
3813 "outputs": { 3566 "outputs": {
3814 "description": "Describes the outputs of the instruction.", 3567 "description": "Describes the outputs of the instruction.",
3815 "items": { 3568 "items": {
3816 "$ref": "InstructionOutput" 3569 "$ref": "InstructionOutput"
3817 }, 3570 },
3818 "type": "array" 3571 "type": "array"
3819 }, 3572 },
3820 "name": { 3573 "name": {
3821 "description": "User-provided name of this operation.", 3574 "description": "User-provided name of this operation.",
3822 "type": "string" 3575 "type": "string"
3823 }, 3576 },
3577 "read": {
3578 "$ref": "ReadInstruction",
3579 "description": "Additional information for Read instructions ."
3580 },
3824 "parDo": { 3581 "parDo": {
3825 "$ref": "ParDoInstruction", 3582 "$ref": "ParDoInstruction",
3826 "description": "Additional information for ParDo instruction s." 3583 "description": "Additional information for ParDo instruction s."
3827 }, 3584 },
3828 "read": { 3585 "originalName": {
3829 "$ref": "ReadInstruction", 3586 "description": "System-defined name for the operation in the original workflow graph.",
3830 "description": "Additional information for Read instructions ." 3587 "type": "string"
3588 },
3589 "flatten": {
3590 "$ref": "FlattenInstruction",
3591 "description": "Additional information for Flatten instructi ons."
3592 },
3593 "systemName": {
3594 "description": "System-defined name of this operation.\nUniq ue across the workflow.",
3595 "type": "string"
3596 },
3597 "write": {
3598 "$ref": "WriteInstruction",
3599 "description": "Additional information for Write instruction s."
3831 } 3600 }
3832 }, 3601 },
3833 "type": "object" 3602 "type": "object"
3834 }, 3603 },
3835 "KeyRangeDataDiskAssignment": { 3604 "KeyRangeDataDiskAssignment": {
3836 "description": "Data disk assignment information for a specific key- range of a sharded\ncomputation.\nCurrently we only support UTF-8 character spli ts to simplify encoding into\nJSON.", 3605 "description": "Data disk assignment information for a specific key- range of a sharded\ncomputation.\nCurrently we only support UTF-8 character spli ts to simplify encoding into\nJSON.",
3837 "id": "KeyRangeDataDiskAssignment", 3606 "id": "KeyRangeDataDiskAssignment",
3838 "properties": { 3607 "properties": {
3839 "start": { 3608 "start": {
3840 "description": "The start (inclusive) of the key range.", 3609 "description": "The start (inclusive) of the key range.",
(...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after
3958 "description": "Counter name. Not necessarily globally-uniqu e, but unique within the\ncontext of the other fields.\nRequired.", 3727 "description": "Counter name. Not necessarily globally-uniqu e, but unique within the\ncontext of the other fields.\nRequired.",
3959 "type": "string" 3728 "type": "string"
3960 } 3729 }
3961 }, 3730 },
3962 "type": "object" 3731 "type": "object"
3963 }, 3732 },
3964 "MetricUpdate": { 3733 "MetricUpdate": {
3965 "description": "Describes the state of a metric.", 3734 "description": "Describes the state of a metric.",
3966 "id": "MetricUpdate", 3735 "id": "MetricUpdate",
3967 "properties": { 3736 "properties": {
3737 "set": {
3738 "description": "Worker-computed aggregate value for the \"Se t\" aggregation kind. The only\npossible value type is a list of Values whose t ype can be Long, Double,\nor String, according to the metric's type. All Values in the list must\nbe of the same type.",
3739 "type": "any"
3740 },
3741 "internal": {
3742 "description": "Worker-computed aggregate value for internal use by the Dataflow\nservice.",
3743 "type": "any"
3744 },
3745 "cumulative": {
3746 "description": "True if this metric is reported as the total cumulative aggregate\nvalue accumulated since the worker started working on thi s WorkItem.\nBy default this is false, indicating that this metric is reported\n as a delta that is not associated with any WorkItem.",
3747 "type": "boolean"
3748 },
3968 "kind": { 3749 "kind": {
3969 "description": "Metric aggregation kind. The possible metri c aggregation kinds are\n\"Sum\", \"Max\", \"Min\", \"Mean\", \"Set\", \"And\", and \"Or\".\nThe specified aggregation kind is case-insensitive.\n\nIf omitted, this is not an aggregated value but instead\na single metric sample value.", 3750 "description": "Metric aggregation kind. The possible metri c aggregation kinds are\n\"Sum\", \"Max\", \"Min\", \"Mean\", \"Set\", \"And\", and \"Or\".\nThe specified aggregation kind is case-insensitive.\n\nIf omitted, this is not an aggregated value but instead\na single metric sample value.",
3970 "type": "string" 3751 "type": "string"
3971 }, 3752 },
3972 "scalar": { 3753 "scalar": {
3973 "description": "Worker-computed aggregate value for aggregat ion kinds \"Sum\", \"Max\", \"Min\",\n\"And\", and \"Or\". The possible value t ypes are Long, Double, and Boolean.", 3754 "description": "Worker-computed aggregate value for aggregat ion kinds \"Sum\", \"Max\", \"Min\",\n\"And\", and \"Or\". The possible value t ypes are Long, Double, and Boolean.",
3974 "type": "any" 3755 "type": "any"
3975 }, 3756 },
3976 "meanCount": { 3757 "meanCount": {
3977 "description": "Worker-computed aggregate value for the \"Me an\" aggregation kind.\nThis holds the count of the aggregated values and is use d in combination\nwith mean_sum above to obtain the actual mean aggregate value. \nThe only possible value type is Long.", 3758 "description": "Worker-computed aggregate value for the \"Me an\" aggregation kind.\nThis holds the count of the aggregated values and is use d in combination\nwith mean_sum above to obtain the actual mean aggregate value. \nThe only possible value type is Long.",
3978 "type": "any" 3759 "type": "any"
3979 }, 3760 },
3980 "meanSum": { 3761 "meanSum": {
3981 "description": "Worker-computed aggregate value for the \"Me an\" aggregation kind.\nThis holds the sum of the aggregated values and is used in combination\nwith mean_count below to obtain the actual mean aggregate value. \nThe only possible value types are Long and Double.", 3762 "description": "Worker-computed aggregate value for the \"Me an\" aggregation kind.\nThis holds the sum of the aggregated values and is used in combination\nwith mean_count below to obtain the actual mean aggregate value. \nThe only possible value types are Long and Double.",
3982 "type": "any" 3763 "type": "any"
3983 }, 3764 },
3984 "updateTime": { 3765 "updateTime": {
3985 "description": "Timestamp associated with the metric value. Optional when workers are\nreporting work progress; it will be filled in respons es from the\nmetrics API.", 3766 "description": "Timestamp associated with the metric value. Optional when workers are\nreporting work progress; it will be filled in respons es from the\nmetrics API.",
3986 "format": "google-datetime", 3767 "format": "google-datetime",
3987 "type": "string" 3768 "type": "string"
3988 }, 3769 },
3989 "name": { 3770 "name": {
3990 "$ref": "MetricStructuredName", 3771 "$ref": "MetricStructuredName",
3991 "description": "Name of the metric." 3772 "description": "Name of the metric."
3992 },
3993 "set": {
3994 "description": "Worker-computed aggregate value for the \"Se t\" aggregation kind. The only\npossible value type is a list of Values whose t ype can be Long, Double,\nor String, according to the metric's type. All Values in the list must\nbe of the same type.",
3995 "type": "any"
3996 },
3997 "cumulative": {
3998 "description": "True if this metric is reported as the total cumulative aggregate\nvalue accumulated since the worker started working on thi s WorkItem.\nBy default this is false, indicating that this metric is reported\n as a delta that is not associated with any WorkItem.",
3999 "type": "boolean"
4000 },
4001 "internal": {
4002 "description": "Worker-computed aggregate value for internal use by the Dataflow\nservice.",
4003 "type": "any"
4004 } 3773 }
4005 }, 3774 },
4006 "type": "object" 3775 "type": "object"
4007 }, 3776 },
4008 "ApproximateProgress": { 3777 "ApproximateProgress": {
4009 "description": "Obsolete in favor of ApproximateReportedProgress and ApproximateSplitRequest.", 3778 "description": "Obsolete in favor of ApproximateReportedProgress and ApproximateSplitRequest.",
4010 "id": "ApproximateProgress", 3779 "id": "ApproximateProgress",
4011 "properties": { 3780 "properties": {
4012 "position": {
4013 "$ref": "Position",
4014 "description": "Obsolete."
4015 },
4016 "percentComplete": { 3781 "percentComplete": {
4017 "description": "Obsolete.", 3782 "description": "Obsolete.",
4018 "format": "float", 3783 "format": "float",
4019 "type": "number" 3784 "type": "number"
4020 }, 3785 },
4021 "remainingTime": { 3786 "remainingTime": {
4022 "description": "Obsolete.", 3787 "description": "Obsolete.",
4023 "format": "google-duration", 3788 "format": "google-duration",
4024 "type": "string" 3789 "type": "string"
3790 },
3791 "position": {
3792 "$ref": "Position",
3793 "description": "Obsolete."
4025 } 3794 }
4026 }, 3795 },
4027 "type": "object" 3796 "type": "object"
4028 }, 3797 },
4029 "WorkerMessageResponse": { 3798 "WorkerMessageResponse": {
4030 "description": "A worker_message response allows the server to pass information to the\nsender.", 3799 "description": "A worker_message response allows the server to pass information to the\nsender.",
4031 "id": "WorkerMessageResponse", 3800 "id": "WorkerMessageResponse",
4032 "properties": { 3801 "properties": {
4033 "workerMetricsResponse": { 3802 "workerMetricsResponse": {
4034 "$ref": "ResourceUtilizationReportResponse", 3803 "$ref": "ResourceUtilizationReportResponse",
4035 "description": "Service's response to reporting worker metri cs (currently empty)." 3804 "description": "Service's response to reporting worker metri cs (currently empty)."
4036 }, 3805 },
4037 "workerHealthReportResponse": { 3806 "workerHealthReportResponse": {
4038 "$ref": "WorkerHealthReportResponse", 3807 "$ref": "WorkerHealthReportResponse",
4039 "description": "The service's response to a worker's health report." 3808 "description": "The service's response to a worker's health report."
4040 } 3809 }
4041 }, 3810 },
4042 "type": "object" 3811 "type": "object"
4043 }, 3812 },
4044 "TemplateMetadata": { 3813 "TemplateMetadata": {
4045 "description": "Metadata describing a template.", 3814 "description": "Metadata describing a template.",
4046 "id": "TemplateMetadata", 3815 "id": "TemplateMetadata",
4047 "properties": { 3816 "properties": {
3817 "bypassTempDirValidation": {
3818 "description": "If true, will bypass the validation that the temp directory is\nwritable. This should only be used with templates for pipeli nes\nthat are guaranteed not to need to write to the temp directory,\nwhich is s ubject to change based on the optimizer.",
3819 "type": "boolean"
3820 },
4048 "name": { 3821 "name": {
4049 "description": "Required. The name of the template.", 3822 "description": "Required. The name of the template.",
4050 "type": "string" 3823 "type": "string"
4051 }, 3824 },
4052 "parameters": { 3825 "parameters": {
4053 "description": "The parameters for the template.", 3826 "description": "The parameters for the template.",
4054 "items": { 3827 "items": {
4055 "$ref": "ParameterMetadata" 3828 "$ref": "ParameterMetadata"
4056 }, 3829 },
4057 "type": "array" 3830 "type": "array"
4058 }, 3831 },
4059 "description": { 3832 "description": {
4060 "description": "Optional. A description of the template.", 3833 "description": "Optional. A description of the template.",
4061 "type": "string" 3834 "type": "string"
4062 },
4063 "bypassTempDirValidation": {
4064 "description": "If true, will bypass the validation that the temp directory is\nwritable. This should only be used with templates for pipeli nes\nthat are guaranteed not to need to write to the temp directory,\nwhich is s ubject to change based on the optimizer.",
4065 "type": "boolean"
4066 } 3835 }
4067 }, 3836 },
4068 "type": "object" 3837 "type": "object"
4069 }, 3838 },
4070 "WorkerMessage": { 3839 "WorkerMessage": {
4071 "description": "WorkerMessage provides information to the backend ab out a worker.", 3840 "description": "WorkerMessage provides information to the backend ab out a worker.",
4072 "id": "WorkerMessage", 3841 "id": "WorkerMessage",
4073 "properties": { 3842 "properties": {
4074 "workerMessageCode": {
4075 "$ref": "WorkerMessageCode",
4076 "description": "A worker message code."
4077 },
4078 "workerMetrics": {
4079 "$ref": "ResourceUtilizationReport",
4080 "description": "Resource metrics reported by workers."
4081 },
4082 "labels": { 3843 "labels": {
4083 "additionalProperties": { 3844 "additionalProperties": {
4084 "type": "string" 3845 "type": "string"
4085 }, 3846 },
4086 "description": "Labels are used to group WorkerMessages.\nFo r example, a worker_message about a particular container\nmight have the labels: \n{ \"JOB_ID\": \"2015-04-22\",\n \"WORKER_ID\": \"wordcount-vm-2015…\"\n \"CO NTAINER_TYPE\": \"worker\",\n \"CONTAINER_ID\": \"ac1234def\"}\nLabel tags typi cally correspond to Label enum values. However, for ease\nof development other s trings can be used as tags. LABEL_UNSPECIFIED should\nnot be used here.", 3847 "description": "Labels are used to group WorkerMessages.\nFo r example, a worker_message about a particular container\nmight have the labels: \n{ \"JOB_ID\": \"2015-04-22\",\n \"WORKER_ID\": \"wordcount-vm-2015…\"\n \"CO NTAINER_TYPE\": \"worker\",\n \"CONTAINER_ID\": \"ac1234def\"}\nLabel tags typi cally correspond to Label enum values. However, for ease\nof development other s trings can be used as tags. LABEL_UNSPECIFIED should\nnot be used here.",
4087 "type": "object" 3848 "type": "object"
4088 }, 3849 },
4089 "time": { 3850 "time": {
4090 "description": "The timestamp of the worker_message.", 3851 "description": "The timestamp of the worker_message.",
4091 "format": "google-datetime", 3852 "format": "google-datetime",
4092 "type": "string" 3853 "type": "string"
4093 }, 3854 },
4094 "workerHealthReport": { 3855 "workerHealthReport": {
4095 "$ref": "WorkerHealthReport", 3856 "$ref": "WorkerHealthReport",
4096 "description": "The health of a worker." 3857 "description": "The health of a worker."
3858 },
3859 "workerMessageCode": {
3860 "$ref": "WorkerMessageCode",
3861 "description": "A worker message code."
3862 },
3863 "workerMetrics": {
3864 "$ref": "ResourceUtilizationReport",
3865 "description": "Resource metrics reported by workers."
4097 } 3866 }
4098 }, 3867 },
4099 "type": "object" 3868 "type": "object"
4100 }, 3869 },
4101 "JobMetrics": { 3870 "JobMetrics": {
4102 "description": "JobMetrics contains a collection of metrics descibin g the detailed progress\nof a Dataflow job. Metrics correspond to user-defined a nd system-defined\nmetrics in the job.\n\nThis resource captures only the most r ecent values of each metric;\ntime-series data can be queried for them (under th e same metric names)\nfrom Cloud Monitoring.", 3871 "description": "JobMetrics contains a collection of metrics descibin g the detailed progress\nof a Dataflow job. Metrics correspond to user-defined a nd system-defined\nmetrics in the job.\n\nThis resource captures only the most r ecent values of each metric;\ntime-series data can be queried for them (under th e same metric names)\nfrom Cloud Monitoring.",
4103 "id": "JobMetrics", 3872 "id": "JobMetrics",
4104 "properties": { 3873 "properties": {
4105 "metricTime": { 3874 "metricTime": {
4106 "description": "Timestamp as of which metric values are curr ent.", 3875 "description": "Timestamp as of which metric values are curr ent.",
(...skipping 22 matching lines...) Expand all
4129 }, 3898 },
4130 "type": "array" 3899 "type": "array"
4131 } 3900 }
4132 }, 3901 },
4133 "type": "object" 3902 "type": "object"
4134 }, 3903 },
4135 "CounterUpdate": { 3904 "CounterUpdate": {
4136 "description": "An update to a Counter sent from a worker.", 3905 "description": "An update to a Counter sent from a worker.",
4137 "id": "CounterUpdate", 3906 "id": "CounterUpdate",
4138 "properties": { 3907 "properties": {
4139 "structuredNameAndMetadata": {
4140 "$ref": "CounterStructuredNameAndMetadata",
4141 "description": "Counter structured name and metadata."
4142 },
4143 "integerList": {
4144 "$ref": "IntegerList",
4145 "description": "List of integers, for Set."
4146 },
4147 "floatingPoint": { 3908 "floatingPoint": {
4148 "description": "Floating point value for Sum, Max, Min.", 3909 "description": "Floating point value for Sum, Max, Min.",
4149 "format": "double", 3910 "format": "double",
4150 "type": "number" 3911 "type": "number"
4151 }, 3912 },
4152 "integerMean": { 3913 "integerMean": {
4153 "$ref": "IntegerMean", 3914 "$ref": "IntegerMean",
4154 "description": "Integer mean aggregation value for Mean." 3915 "description": "Integer mean aggregation value for Mean."
4155 }, 3916 },
4156 "internal": { 3917 "internal": {
(...skipping 29 matching lines...) Expand all
4186 "format": "int64", 3947 "format": "int64",
4187 "type": "string" 3948 "type": "string"
4188 }, 3949 },
4189 "floatingPointList": { 3950 "floatingPointList": {
4190 "$ref": "FloatingPointList", 3951 "$ref": "FloatingPointList",
4191 "description": "List of floating point numbers, for Set." 3952 "description": "List of floating point numbers, for Set."
4192 }, 3953 },
4193 "integer": { 3954 "integer": {
4194 "$ref": "SplitInt64", 3955 "$ref": "SplitInt64",
4195 "description": "Integer value for Sum, Max, Min." 3956 "description": "Integer value for Sum, Max, Min."
3957 },
3958 "structuredNameAndMetadata": {
3959 "$ref": "CounterStructuredNameAndMetadata",
3960 "description": "Counter structured name and metadata."
3961 },
3962 "integerList": {
3963 "$ref": "IntegerList",
3964 "description": "List of integers, for Set."
4196 } 3965 }
4197 }, 3966 },
4198 "type": "object" 3967 "type": "object"
4199 }, 3968 },
4200 "SourceMetadata": { 3969 "SourceMetadata": {
4201 "description": "Metadata about a Source useful for automatically opt imizing\nand tuning the pipeline, etc.", 3970 "description": "Metadata about a Source useful for automatically opt imizing\nand tuning the pipeline, etc.",
4202 "id": "SourceMetadata", 3971 "id": "SourceMetadata",
4203 "properties": { 3972 "properties": {
4204 "producesSortedKeys": { 3973 "producesSortedKeys": {
4205 "description": "Whether this source is known to produce key/ value pairs with\nthe (encoded) keys in lexicographically sorted order.", 3974 "description": "Whether this source is known to produce key/ value pairs with\nthe (encoded) keys in lexicographically sorted order.",
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
4277 "$ref": "DerivedSource", 4046 "$ref": "DerivedSource",
4278 "description": "DEPRECATED" 4047 "description": "DEPRECATED"
4279 } 4048 }
4280 }, 4049 },
4281 "type": "object" 4050 "type": "object"
4282 }, 4051 },
4283 "WorkItemStatus": { 4052 "WorkItemStatus": {
4284 "description": "Conveys a worker's progress through the work describ ed by a WorkItem.", 4053 "description": "Conveys a worker's progress through the work describ ed by a WorkItem.",
4285 "id": "WorkItemStatus", 4054 "id": "WorkItemStatus",
4286 "properties": { 4055 "properties": {
4287 "sourceFork": {
4288 "$ref": "SourceFork",
4289 "description": "DEPRECATED in favor of dynamic_source_split. "
4290 },
4291 "counterUpdates": { 4056 "counterUpdates": {
4292 "description": "Worker output counters for this WorkItem.", 4057 "description": "Worker output counters for this WorkItem.",
4293 "items": { 4058 "items": {
4294 "$ref": "CounterUpdate" 4059 "$ref": "CounterUpdate"
4295 }, 4060 },
4296 "type": "array" 4061 "type": "array"
4297 }, 4062 },
4298 "workItemId": { 4063 "workItemId": {
4299 "description": "Identifies the WorkItem.", 4064 "description": "Identifies the WorkItem.",
4300 "type": "string" 4065 "type": "string"
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
4339 "$ref": "Position", 4104 "$ref": "Position",
4340 "description": "A worker may split an active map task in two parts, \"primary\" and\n\"residual\", continuing to process the primary part an d returning the\nresidual part into the pool of available work.\nThis event is c alled a \"dynamic split\" and is critical to the dynamic\nwork rebalancing featu re. The two obtained sub-tasks are called\n\"parts\" of the split.\nThe parts, i f concatenated, must represent the same input as would\nbe read by the current t ask if the split did not happen.\nThe exact way in which the original task is de composed into the two\nparts is specified either as a position demarcating them\ n(stop_position), or explicitly as two DerivedSources, if this\ntask consumes a user-defined source type (dynamic_source_split).\n\nThe \"current\" task is adju sted as a result of the split: after a task\nwith range [A, B) sends a stop_posi tion update at C, its range is\nconsidered to be [A, C), e.g.:\n* Progress shoul d be interpreted relative to the new range, e.g.\n \"75% completed\" means \"75 % of [A, C) completed\"\n* The worker should interpret proposed_stop_position re lative to the\n new range, e.g. \"split at 68%\" should be interpreted as\n \" split at 68% of [A, C)\".\n* If the worker chooses to split again using stop_pos ition, only\n stop_positions in [A, C) will be accepted.\n* Etc.\ndynamic_sourc e_split has similar semantics: e.g., if a task with\nsource S splits using dynam ic_source_split into {P, R}\n(where P and R must be together equivalent to S), t hen subsequent\nprogress and proposed_stop_position should be interpreted relati ve\nto P, and in a potential subsequent dynamic_source_split into {P', R'},\nP' and R' must be together equivalent to P, etc." 4105 "description": "A worker may split an active map task in two parts, \"primary\" and\n\"residual\", continuing to process the primary part an d returning the\nresidual part into the pool of available work.\nThis event is c alled a \"dynamic split\" and is critical to the dynamic\nwork rebalancing featu re. The two obtained sub-tasks are called\n\"parts\" of the split.\nThe parts, i f concatenated, must represent the same input as would\nbe read by the current t ask if the split did not happen.\nThe exact way in which the original task is de composed into the two\nparts is specified either as a position demarcating them\ n(stop_position), or explicitly as two DerivedSources, if this\ntask consumes a user-defined source type (dynamic_source_split).\n\nThe \"current\" task is adju sted as a result of the split: after a task\nwith range [A, B) sends a stop_posi tion update at C, its range is\nconsidered to be [A, C), e.g.:\n* Progress shoul d be interpreted relative to the new range, e.g.\n \"75% completed\" means \"75 % of [A, C) completed\"\n* The worker should interpret proposed_stop_position re lative to the\n new range, e.g. \"split at 68%\" should be interpreted as\n \" split at 68% of [A, C)\".\n* If the worker chooses to split again using stop_pos ition, only\n stop_positions in [A, C) will be accepted.\n* Etc.\ndynamic_sourc e_split has similar semantics: e.g., if a task with\nsource S splits using dynam ic_source_split into {P, R}\n(where P and R must be together equivalent to S), t hen subsequent\nprogress and proposed_stop_position should be interpreted relati ve\nto P, and in a potential subsequent dynamic_source_split into {P', R'},\nP' and R' must be together equivalent to P, etc."
4341 }, 4106 },
4342 "completed": { 4107 "completed": {
4343 "description": "True if the WorkItem was completed (successf ully or unsuccessfully).", 4108 "description": "True if the WorkItem was completed (successf ully or unsuccessfully).",
4344 "type": "boolean" 4109 "type": "boolean"
4345 }, 4110 },
4346 "reportedProgress": { 4111 "reportedProgress": {
4347 "$ref": "ApproximateReportedProgress", 4112 "$ref": "ApproximateReportedProgress",
4348 "description": "The worker's progress through this WorkItem. " 4113 "description": "The worker's progress through this WorkItem. "
4114 },
4115 "sourceFork": {
4116 "$ref": "SourceFork",
4117 "description": "DEPRECATED in favor of dynamic_source_split. "
4349 } 4118 }
4350 }, 4119 },
4351 "type": "object" 4120 "type": "object"
4352 }, 4121 },
4353 "ComponentSource": { 4122 "ComponentSource": {
4354 "description": "Description of an interstitial value between transfo rms in an execution\nstage.", 4123 "description": "Description of an interstitial value between transfo rms in an execution\nstage.",
4355 "id": "ComponentSource", 4124 "id": "ComponentSource",
4356 "properties": { 4125 "properties": {
4357 "originalTransformOrCollection": {
4358 "description": "User name for the original user transform or collection with which this\nsource is most closely associated.",
4359 "type": "string"
4360 },
4361 "name": { 4126 "name": {
4362 "description": "Dataflow service generated name for this sou rce.", 4127 "description": "Dataflow service generated name for this sou rce.",
4363 "type": "string" 4128 "type": "string"
4364 }, 4129 },
4365 "userName": { 4130 "userName": {
4366 "description": "Human-readable name for this transform; may be user or system generated.", 4131 "description": "Human-readable name for this transform; may be user or system generated.",
4367 "type": "string" 4132 "type": "string"
4133 },
4134 "originalTransformOrCollection": {
4135 "description": "User name for the original user transform or collection with which this\nsource is most closely associated.",
4136 "type": "string"
4368 } 4137 }
4369 }, 4138 },
4370 "type": "object" 4139 "type": "object"
4371 }, 4140 },
4372 "WorkItemServiceState": { 4141 "WorkItemServiceState": {
4373 "description": "The Dataflow service's idea of the current state of a WorkItem\nbeing processed by a worker.", 4142 "description": "The Dataflow service's idea of the current state of a WorkItem\nbeing processed by a worker.",
4374 "id": "WorkItemServiceState", 4143 "id": "WorkItemServiceState",
4375 "properties": { 4144 "properties": {
4145 "nextReportIndex": {
4146 "description": "The index value to use for the next report s ent by the worker.\nNote: If the report call fails for whatever reason, the work er should\nreuse this index for subsequent report attempts.",
4147 "format": "int64",
4148 "type": "string"
4149 },
4150 "suggestedStopPoint": {
4151 "$ref": "ApproximateProgress",
4152 "description": "DEPRECATED in favor of split_request."
4153 },
4154 "splitRequest": {
4155 "$ref": "ApproximateSplitRequest",
4156 "description": "The progress point in the WorkItem where the Dataflow service\nsuggests that the worker truncate the task."
4157 },
4376 "suggestedStopPosition": { 4158 "suggestedStopPosition": {
4377 "$ref": "Position", 4159 "$ref": "Position",
4378 "description": "Obsolete, always empty." 4160 "description": "Obsolete, always empty."
4379 }, 4161 },
4380 "reportStatusInterval": { 4162 "reportStatusInterval": {
4381 "description": "New recommended reporting interval.", 4163 "description": "New recommended reporting interval.",
4382 "format": "google-duration", 4164 "format": "google-duration",
4383 "type": "string" 4165 "type": "string"
4384 }, 4166 },
4385 "harnessData": { 4167 "harnessData": {
4386 "additionalProperties": { 4168 "additionalProperties": {
4387 "description": "Properties of the object.", 4169 "description": "Properties of the object.",
4388 "type": "any" 4170 "type": "any"
4389 }, 4171 },
4390 "description": "Other data returned by the service, specific to the particular\nworker harness.", 4172 "description": "Other data returned by the service, specific to the particular\nworker harness.",
4391 "type": "object" 4173 "type": "object"
4392 }, 4174 },
4393 "leaseExpireTime": { 4175 "leaseExpireTime": {
4394 "description": "Time at which the current lease will expire. ", 4176 "description": "Time at which the current lease will expire. ",
4395 "format": "google-datetime", 4177 "format": "google-datetime",
4396 "type": "string" 4178 "type": "string"
4397 }, 4179 },
4398 "metricShortId": { 4180 "metricShortId": {
4399 "description": "The short ids that workers should use in sub sequent metric updates.\nWorkers should strive to use short ids whenever possibl e, but it is ok\nto request the short_id again if a worker lost track of it\n(e. g. if the worker is recovering from a crash).\nNOTE: it is possible that the res ponse may have short ids for a subset\nof the metrics.", 4181 "description": "The short ids that workers should use in sub sequent metric updates.\nWorkers should strive to use short ids whenever possibl e, but it is ok\nto request the short_id again if a worker lost track of it\n(e. g. if the worker is recovering from a crash).\nNOTE: it is possible that the res ponse may have short ids for a subset\nof the metrics.",
4400 "items": { 4182 "items": {
4401 "$ref": "MetricShortId" 4183 "$ref": "MetricShortId"
4402 }, 4184 },
4403 "type": "array" 4185 "type": "array"
4404 },
4405 "nextReportIndex": {
4406 "description": "The index value to use for the next report s ent by the worker.\nNote: If the report call fails for whatever reason, the work er should\nreuse this index for subsequent report attempts.",
4407 "format": "int64",
4408 "type": "string"
4409 },
4410 "suggestedStopPoint": {
4411 "$ref": "ApproximateProgress",
4412 "description": "DEPRECATED in favor of split_request."
4413 },
4414 "splitRequest": {
4415 "$ref": "ApproximateSplitRequest",
4416 "description": "The progress point in the WorkItem where the Dataflow service\nsuggests that the worker truncate the task."
4417 } 4186 }
4418 }, 4187 },
4419 "type": "object" 4188 "type": "object"
4420 }, 4189 },
4421 "MetricStructuredName": { 4190 "MetricStructuredName": {
4422 "description": "Identifies a metric, by describing the source which generated the\nmetric.", 4191 "description": "Identifies a metric, by describing the source which generated the\nmetric.",
4423 "id": "MetricStructuredName", 4192 "id": "MetricStructuredName",
4424 "properties": { 4193 "properties": {
4425 "context": { 4194 "context": {
4426 "additionalProperties": { 4195 "additionalProperties": {
4427 "type": "string" 4196 "type": "string"
4428 }, 4197 },
4429 "description": "Zero or more labeled fields which identify t he part of the job this\nmetric is associated with, such as the name of a step o r collection.\n\nFor example, built-in counters associated with steps will have\ ncontext['step'] = <step-name>. Counters associated with PCollections\nin the SD K will have context['pcollection'] = <pcollection-name>.", 4198 "description": "Zero or more labeled fields which identify t he part of the job this\nmetric is associated with, such as the name of a step o r collection.\n\nFor example, built-in counters associated with steps will have\ ncontext['step'] = <step-name>. Counters associated with PCollections\nin the SD K will have context['pcollection'] = <pcollection-name>.",
4430 "type": "object" 4199 "type": "object"
4431 }, 4200 },
4432 "origin": { 4201 "origin": {
4433 "description": "Origin (namespace) of metric name. May be bl ank for user-define metrics;\nwill be \"dataflow\" for metrics defined by the Da taflow service or SDK.", 4202 "description": "Origin (namespace) of metric name. May be bl ank for user-define metrics;\nwill be \"dataflow\" for metrics defined by the Da taflow service or SDK.",
4434 "type": "string" 4203 "type": "string"
4435 }, 4204 },
4436 "name": { 4205 "name": {
4437 "description": "Worker-defined metric name.", 4206 "description": "Worker-defined metric name.",
4438 "type": "string" 4207 "type": "string"
4439 } 4208 }
4440 }, 4209 },
4441 "type": "object" 4210 "type": "object"
4211 },
4212 "SeqMapTaskOutputInfo": {
4213 "description": "Information about an output of a SeqMapTask.",
4214 "id": "SeqMapTaskOutputInfo",
4215 "properties": {
4216 "tag": {
4217 "description": "The id of the TupleTag the user code will ta g the output value by.",
4218 "type": "string"
4219 },
4220 "sink": {
4221 "$ref": "Sink",
4222 "description": "The sink to write the output value to."
4223 }
4224 },
4225 "type": "object"
4226 },
4227 "JobExecutionStageInfo": {
4228 "description": "Contains information about how a particular\ngoogle. dataflow.v1beta3.Step will be executed.",
4229 "id": "JobExecutionStageInfo",
4230 "properties": {
4231 "stepName": {
4232 "description": "The steps associated with the execution stag e.\nNote that stages may have several steps, and that a given step\nmight be run by more than one stage.",
4233 "items": {
4234 "type": "string"
4235 },
4236 "type": "array"
4237 }
4238 },
4239 "type": "object"
4240 },
4241 "KeyRangeLocation": {
4242 "description": "Location information for a specific key-range of a s harded computation.\nCurrently we only support UTF-8 character splits to simplif y encoding into\nJSON.",
4243 "id": "KeyRangeLocation",
4244 "properties": {
4245 "deliveryEndpoint": {
4246 "description": "The physical location of this range assignme nt to be used for\nstreaming computation cross-worker message delivery.",
4247 "type": "string"
4248 },
4249 "start": {
4250 "description": "The start (inclusive) of the key range.",
4251 "type": "string"
4252 },
4253 "dataDisk": {
4254 "description": "The name of the data disk where data for thi s range is stored.\nThis name is local to the Google Cloud Platform project and uniquely\nidentifies the disk within that project, for example\n\"myproject-1014 -104817-4c2-harness-0-disk-1\".",
4255 "type": "string"
4256 },
4257 "end": {
4258 "description": "The end (exclusive) of the key range.",
4259 "type": "string"
4260 },
4261 "deprecatedPersistentDirectory": {
4262 "description": "DEPRECATED. The location of the persistent s tate for this range, as a\npersistent directory in the worker local filesystem." ,
4263 "type": "string"
4264 }
4265 },
4266 "type": "object"
4267 },
4268 "SourceGetMetadataRequest": {
4269 "description": "A request to compute the SourceMetadata of a Source. ",
4270 "id": "SourceGetMetadataRequest",
4271 "properties": {
4272 "source": {
4273 "$ref": "Source",
4274 "description": "Specification of the source whose metadata s hould be computed."
4275 }
4276 },
4277 "type": "object"
4278 },
4279 "NameAndKind": {
4280 "description": "Basic metadata about a counter.",
4281 "id": "NameAndKind",
4282 "properties": {
4283 "kind": {
4284 "description": "Counter aggregation kind.",
4285 "enum": [
4286 "INVALID",
4287 "SUM",
4288 "MAX",
4289 "MIN",
4290 "MEAN",
4291 "OR",
4292 "AND",
4293 "SET",
4294 "DISTRIBUTION"
4295 ],
4296 "enumDescriptions": [
4297 "Counter aggregation kind was not set.",
4298 "Aggregated value is the sum of all contributed values." ,
4299 "Aggregated value is the max of all contributed values." ,
4300 "Aggregated value is the min of all contributed values." ,
4301 "Aggregated value is the mean of all contributed values. ",
4302 "Aggregated value represents the logical 'or' of all con tributed values.",
4303 "Aggregated value represents the logical 'and' of all co ntributed values.",
4304 "Aggregated value is a set of unique contributed values. ",
4305 "Aggregated value captures statistics about a distributi on."
4306 ],
4307 "type": "string"
4308 },
4309 "name": {
4310 "description": "Name of the counter.",
4311 "type": "string"
4312 }
4313 },
4314 "type": "object"
4315 },
4316 "SeqMapTask": {
4317 "description": "Describes a particular function to invoke.",
4318 "id": "SeqMapTask",
4319 "properties": {
4320 "inputs": {
4321 "description": "Information about each of the inputs.",
4322 "items": {
4323 "$ref": "SideInputInfo"
4324 },
4325 "type": "array"
4326 },
4327 "systemName": {
4328 "description": "System-defined name of the SeqDo operation.\ nUnique across the workflow.",
4329 "type": "string"
4330 },
4331 "stageName": {
4332 "description": "System-defined name of the stage containing the SeqDo operation.\nUnique across the workflow.",
4333 "type": "string"
4334 },
4335 "userFn": {
4336 "additionalProperties": {
4337 "description": "Properties of the object.",
4338 "type": "any"
4339 },
4340 "description": "The user function to invoke.",
4341 "type": "object"
4342 },
4343 "name": {
4344 "description": "The user-provided name of the SeqDo operatio n.",
4345 "type": "string"
4346 },
4347 "outputInfos": {
4348 "description": "Information about each of the outputs.",
4349 "items": {
4350 "$ref": "SeqMapTaskOutputInfo"
4351 },
4352 "type": "array"
4353 }
4354 },
4355 "type": "object"
4356 },
4357 "WorkerMessageCode": {
4358 "description": "A message code is used to report status and error me ssages to the service.\nThe message codes are intended to be machine readable. T he service will\ntake care of translating these into user understandable message s if\nnecessary.\n\nExample use cases:\n 1. Worker processes reporting successf ul startup.\n 2. Worker processes reporting specific errors (e.g. package stagi ng\n failure).",
4359 "id": "WorkerMessageCode",
4360 "properties": {
4361 "code": {
4362 "description": "The code is a string intended for consumptio n by a machine that identifies\nthe type of message being sent.\nExamples:\n 1. \"HARNESS_STARTED\" might be used to indicate the worker harness has\n start ed.\n 2. \"GCS_DOWNLOAD_ERROR\" might be used to indicate an error downloading\n a GCS file as part of the boot process of one of the worker containers.\n\nT his is a string and not an enum to make it easy to add new codes without\nwaitin g for an API change.",
4363 "type": "string"
4364 },
4365 "parameters": {
4366 "additionalProperties": {
4367 "description": "Properties of the object.",
4368 "type": "any"
4369 },
4370 "description": "Parameters contains specific information abo ut the code.\n\nThis is a struct to allow parameters of different types.\n\nExam ples:\n 1. For a \"HARNESS_STARTED\" message parameters might provide the name\n of the worker and additional data like timing information.\n 2. For a \"GCS_ DOWNLOAD_ERROR\" parameters might contain fields listing\n the GCS objects be ing downloaded and fields containing errors.\n\nIn general complex data structur es should be avoided. If a worker\nneeds to send a specific and complicated data structure then please\nconsider defining a new proto and adding it to the data oneof in\nWorkerMessageResponse.\n\nConventions:\n Parameters should only be use d for information that isn't typically passed\n as a label.\n hostname and other worker identifiers should almost always be passed\n as labels since they will b e included on most messages.",
4371 "type": "object"
4372 }
4373 },
4374 "type": "object"
4375 },
4376 "CustomSourceLocation": {
4377 "description": "Identifies the location of a custom souce.",
4378 "id": "CustomSourceLocation",
4379 "properties": {
4380 "stateful": {
4381 "description": "Whether this source is stateful.",
4382 "type": "boolean"
4383 }
4384 },
4385 "type": "object"
4386 },
4387 "MapTask": {
4388 "description": "MapTask consists of an ordered set of instructions, each of which\ndescribes one particular low-level operation for the worker to\np erform in order to accomplish the MapTask's WorkItem.\n\nEach instruction must a ppear in the list before any instructions which\ndepends on its output.",
4389 "id": "MapTask",
4390 "properties": {
4391 "systemName": {
4392 "description": "System-defined name of this MapTask.\nUnique across the workflow.",
4393 "type": "string"
4394 },
4395 "stageName": {
4396 "description": "System-defined name of the stage containing this MapTask.\nUnique across the workflow.",
4397 "type": "string"
4398 },
4399 "instructions": {
4400 "description": "The instructions in the MapTask.",
4401 "items": {
4402 "$ref": "ParallelInstruction"
4403 },
4404 "type": "array"
4405 }
4406 },
4407 "type": "object"
4408 },
4409 "FloatingPointMean": {
4410 "description": "A representation of a floating point mean metric con tribution.",
4411 "id": "FloatingPointMean",
4412 "properties": {
4413 "count": {
4414 "$ref": "SplitInt64",
4415 "description": "The number of values being aggregated."
4416 },
4417 "sum": {
4418 "description": "The sum of all values being aggregated.",
4419 "format": "double",
4420 "type": "number"
4421 }
4422 },
4423 "type": "object"
4424 },
4425 "ReportWorkItemStatusResponse": {
4426 "description": "Response from a request to report the status of Work Items.",
4427 "id": "ReportWorkItemStatusResponse",
4428 "properties": {
4429 "workItemServiceStates": {
4430 "description": "A set of messages indicating the service-sid e state for each\nWorkItem whose status was reported, in the same order as the\n WorkItemStatus messages in the ReportWorkItemStatusRequest which\nresulting in t his response.",
4431 "items": {
4432 "$ref": "WorkItemServiceState"
4433 },
4434 "type": "array"
4435 }
4436 },
4437 "type": "object"
4442 } 4438 }
4443 }, 4439 },
4444 "servicePath": "", 4440 "servicePath": "",
4445 "title": "Google Dataflow API", 4441 "title": "Google Dataflow API",
4446 "version": "v1b3" 4442 "version": "v1b3"
4447 } 4443 }
OLDNEW
« no previous file with comments | « discovery/googleapis_beta/cloudresourcemanager__v1beta1.json ('k') | discovery/googleapis_beta/dataproc__v1beta1.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698