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

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

Issue 2987103002: Api-Roll 52: 2017-07-31 (Closed)
Patch Set: Created 3 years, 4 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/compute.readonly": { 5 "https://www.googleapis.com/auth/compute.readonly": {
6 "description": "View your Google Compute Engine resources" 6 "description": "View your Google Compute Engine resources"
7 }, 7 },
8 "https://www.googleapis.com/auth/compute": { 8 "https://www.googleapis.com/auth/compute": {
9 "description": "View and manage your Google Compute Engine r esources" 9 "description": "View and manage your Google Compute Engine r esources"
10 }, 10 },
(...skipping 15 matching lines...) Expand all
26 "icons": { 26 "icons": {
27 "x16": "http://www.google.com/images/icons/product/search-16.gif", 27 "x16": "http://www.google.com/images/icons/product/search-16.gif",
28 "x32": "http://www.google.com/images/icons/product/search-32.gif" 28 "x32": "http://www.google.com/images/icons/product/search-32.gif"
29 }, 29 },
30 "id": "dataflow:v1b3", 30 "id": "dataflow:v1b3",
31 "kind": "discovery#restDescription", 31 "kind": "discovery#restDescription",
32 "name": "dataflow", 32 "name": "dataflow",
33 "ownerDomain": "google.com", 33 "ownerDomain": "google.com",
34 "ownerName": "Google", 34 "ownerName": "Google",
35 "parameters": { 35 "parameters": {
36 "quotaUser": { 36 "oauth_token": {
37 "description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exc eed 40 characters.", 37 "description": "OAuth 2.0 token for the current user.",
38 "location": "query", 38 "location": "query",
39 "type": "string" 39 "type": "string"
40 }, 40 },
41 "pp": {
42 "default": "true",
43 "description": "Pretty-print response.",
44 "location": "query",
45 "type": "boolean"
46 },
47 "bearer_token": { 41 "bearer_token": {
48 "description": "OAuth bearer token.", 42 "description": "OAuth bearer token.",
49 "location": "query", 43 "location": "query",
50 "type": "string" 44 "type": "string"
51 }, 45 },
52 "oauth_token": {
53 "description": "OAuth 2.0 token for the current user.",
54 "location": "query",
55 "type": "string"
56 },
57 "upload_protocol": { 46 "upload_protocol": {
58 "description": "Upload protocol for media (e.g. \"raw\", \"multipart \").", 47 "description": "Upload protocol for media (e.g. \"raw\", \"multipart \").",
59 "location": "query", 48 "location": "query",
60 "type": "string" 49 "type": "string"
61 }, 50 },
62 "prettyPrint": { 51 "prettyPrint": {
63 "default": "true", 52 "default": "true",
64 "description": "Returns response with indentations and line breaks." , 53 "description": "Returns response with indentations and line breaks." ,
65 "location": "query", 54 "location": "query",
66 "type": "boolean" 55 "type": "boolean"
67 }, 56 },
57 "fields": {
58 "description": "Selector specifying which fields to include in a par tial response.",
59 "location": "query",
60 "type": "string"
61 },
68 "uploadType": { 62 "uploadType": {
69 "description": "Legacy upload protocol for media (e.g. \"media\", \" multipart\").", 63 "description": "Legacy upload protocol for media (e.g. \"media\", \" multipart\").",
70 "location": "query", 64 "location": "query",
71 "type": "string" 65 "type": "string"
72 }, 66 },
73 "fields": {
74 "description": "Selector specifying which fields to include in a par tial response.",
75 "location": "query",
76 "type": "string"
77 },
78 "$.xgafv": { 67 "$.xgafv": {
79 "description": "V1 error format.", 68 "description": "V1 error format.",
80 "enum": [ 69 "enum": [
81 "1", 70 "1",
82 "2" 71 "2"
83 ], 72 ],
84 "enumDescriptions": [ 73 "enumDescriptions": [
85 "v1 error format", 74 "v1 error format",
86 "v2 error format" 75 "v2 error format"
87 ], 76 ],
(...skipping 14 matching lines...) Expand all
102 "proto" 91 "proto"
103 ], 92 ],
104 "enumDescriptions": [ 93 "enumDescriptions": [
105 "Responses with Content-Type of application/json", 94 "Responses with Content-Type of application/json",
106 "Media download with context-dependent Content-Type", 95 "Media download with context-dependent Content-Type",
107 "Responses with Content-Type of application/x-protobuf" 96 "Responses with Content-Type of application/x-protobuf"
108 ], 97 ],
109 "location": "query", 98 "location": "query",
110 "type": "string" 99 "type": "string"
111 }, 100 },
101 "key": {
102 "description": "API key. Your API key identifies your project and pr ovides you with API access, quota, and reports. Required unless you provide an O Auth 2.0 token.",
103 "location": "query",
104 "type": "string"
105 },
112 "access_token": { 106 "access_token": {
113 "description": "OAuth access token.", 107 "description": "OAuth access token.",
114 "location": "query", 108 "location": "query",
115 "type": "string" 109 "type": "string"
116 }, 110 },
117 "key": { 111 "quotaUser": {
118 "description": "API key. Your API key identifies your project and pr ovides you with API access, quota, and reports. Required unless you provide an O Auth 2.0 token.", 112 "description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exc eed 40 characters.",
119 "location": "query", 113 "location": "query",
120 "type": "string" 114 "type": "string"
115 },
116 "pp": {
117 "default": "true",
118 "description": "Pretty-print response.",
119 "location": "query",
120 "type": "boolean"
121 } 121 }
122 }, 122 },
123 "protocol": "rest", 123 "protocol": "rest",
124 "resources": { 124 "resources": {
125 "projects": { 125 "projects": {
126 "methods": { 126 "methods": {
127 "workerMessages": { 127 "workerMessages": {
128 "description": "Send a worker_message to the service.", 128 "description": "Send a worker_message to the service.",
129 "httpMethod": "POST", 129 "httpMethod": "POST",
130 "id": "dataflow.projects.workerMessages", 130 "id": "dataflow.projects.workerMessages",
(...skipping 28 matching lines...) Expand all
159 "methods": { 159 "methods": {
160 "workerMessages": { 160 "workerMessages": {
161 "description": "Send a worker_message to the service .", 161 "description": "Send a worker_message to the service .",
162 "httpMethod": "POST", 162 "httpMethod": "POST",
163 "id": "dataflow.projects.locations.workerMessages", 163 "id": "dataflow.projects.locations.workerMessages",
164 "parameterOrder": [ 164 "parameterOrder": [
165 "projectId", 165 "projectId",
166 "location" 166 "location"
167 ], 167 ],
168 "parameters": { 168 "parameters": {
169 "location": {
170 "description": "The location which contains the job",
171 "location": "path",
172 "required": true,
173 "type": "string"
174 },
169 "projectId": { 175 "projectId": {
170 "description": "The project to send the Work erMessages to.", 176 "description": "The project to send the Work erMessages to.",
171 "location": "path", 177 "location": "path",
172 "required": true, 178 "required": true,
173 "type": "string" 179 "type": "string"
174 },
175 "location": {
176 "description": "The location which contains the job",
177 "location": "path",
178 "required": true,
179 "type": "string"
180 } 180 }
181 }, 181 },
182 "path": "v1b3/projects/{projectId}/locations/{locati on}/WorkerMessages", 182 "path": "v1b3/projects/{projectId}/locations/{locati on}/WorkerMessages",
183 "request": { 183 "request": {
184 "$ref": "SendWorkerMessagesRequest" 184 "$ref": "SendWorkerMessagesRequest"
185 }, 185 },
186 "response": { 186 "response": {
187 "$ref": "SendWorkerMessagesResponse" 187 "$ref": "SendWorkerMessagesResponse"
188 }, 188 },
189 "scopes": [ 189 "scopes": [
190 "https://www.googleapis.com/auth/cloud-platform" , 190 "https://www.googleapis.com/auth/cloud-platform" ,
191 "https://www.googleapis.com/auth/compute", 191 "https://www.googleapis.com/auth/compute",
192 "https://www.googleapis.com/auth/compute.readonl y", 192 "https://www.googleapis.com/auth/compute.readonl y",
193 "https://www.googleapis.com/auth/userinfo.email" 193 "https://www.googleapis.com/auth/userinfo.email"
194 ] 194 ]
195 } 195 }
196 }, 196 },
197 "resources": { 197 "resources": {
198 "templates": { 198 "templates": {
199 "methods": { 199 "methods": {
200 "get": { 200 "launch": {
201 "description": "Get the template associated with a template.", 201 "description": "Launch a template.",
202 "httpMethod": "GET", 202 "httpMethod": "POST",
203 "id": "dataflow.projects.locations.templates .get", 203 "id": "dataflow.projects.locations.templates .launch",
204 "parameterOrder": [ 204 "parameterOrder": [
205 "projectId", 205 "projectId",
206 "location" 206 "location"
207 ], 207 ],
208 "parameters": { 208 "parameters": {
209 "view": { 209 "location": {
210 "description": "The view to retrieve . Defaults to METADATA_ONLY.", 210 "description": "The location to whic h to direct the request.",
211 "enum": [ 211 "location": "path",
212 "METADATA_ONLY" 212 "required": true,
213 ], 213 "type": "string"
214 },
215 "validateOnly": {
216 "description": "If true, the request is validated but not actually executed.\nDefaults to false.",
214 "location": "query", 217 "location": "query",
215 "type": "string" 218 "type": "boolean"
216 }, 219 },
217 "projectId": { 220 "projectId": {
218 "description": "Required. The ID of the Cloud Platform project that the job belongs to.", 221 "description": "Required. The ID of the Cloud Platform project that the job belongs to.",
219 "location": "path", 222 "location": "path",
220 "required": true, 223 "required": true,
221 "type": "string" 224 "type": "string"
222 }, 225 },
223 "gcsPath": { 226 "gcsPath": {
224 "description": "Required. A Cloud St orage path to the template from which to\ncreate the job.\nMust be a valid Cloud Storage URL, beginning with `gs://`.", 227 "description": "Required. A Cloud St orage path to the template from which to create\nthe job.\nMust be valid Cloud S torage URL, beginning with 'gs://'.",
225 "location": "query", 228 "location": "query",
226 "type": "string" 229 "type": "string"
227 },
228 "location": {
229 "description": "The location to whic h to direct the request.",
230 "location": "path",
231 "required": true,
232 "type": "string"
233 } 230 }
234 }, 231 },
235 "path": "v1b3/projects/{projectId}/locations /{location}/templates:get", 232 "path": "v1b3/projects/{projectId}/locations /{location}/templates:launch",
233 "request": {
234 "$ref": "LaunchTemplateParameters"
235 },
236 "response": { 236 "response": {
237 "$ref": "GetTemplateResponse" 237 "$ref": "LaunchTemplateResponse"
238 }, 238 },
239 "scopes": [ 239 "scopes": [
240 "https://www.googleapis.com/auth/cloud-p latform", 240 "https://www.googleapis.com/auth/cloud-p latform",
241 "https://www.googleapis.com/auth/compute ", 241 "https://www.googleapis.com/auth/compute ",
242 "https://www.googleapis.com/auth/compute .readonly", 242 "https://www.googleapis.com/auth/compute .readonly",
243 "https://www.googleapis.com/auth/userinf o.email" 243 "https://www.googleapis.com/auth/userinf o.email"
244 ] 244 ]
245 }, 245 },
246 "create": { 246 "get": {
247 "description": "Creates a Cloud Dataflow job from a template.", 247 "description": "Get the template associated with a template.",
248 "httpMethod": "POST", 248 "httpMethod": "GET",
249 "id": "dataflow.projects.locations.templates .create", 249 "id": "dataflow.projects.locations.templates .get",
250 "parameterOrder": [ 250 "parameterOrder": [
251 "projectId", 251 "projectId",
252 "location" 252 "location"
253 ], 253 ],
254 "parameters": { 254 "parameters": {
255 "location": { 255 "location": {
256 "description": "The location to whic h to direct the request.", 256 "description": "The location to whic h to direct the request.",
257 "location": "path", 257 "location": "path",
258 "required": true, 258 "required": true,
259 "type": "string" 259 "type": "string"
260 }, 260 },
261 "view": {
262 "description": "The view to retrieve . Defaults to METADATA_ONLY.",
263 "enum": [
264 "METADATA_ONLY"
265 ],
266 "location": "query",
267 "type": "string"
268 },
261 "projectId": { 269 "projectId": {
262 "description": "Required. The ID of the Cloud Platform project that the job belongs to.", 270 "description": "Required. The ID of the Cloud Platform project that the job belongs to.",
263 "location": "path", 271 "location": "path",
264 "required": true, 272 "required": true,
265 "type": "string" 273 "type": "string"
274 },
275 "gcsPath": {
276 "description": "Required. A Cloud St orage path to the template from which to\ncreate the job.\nMust be a valid Cloud Storage URL, beginning with `gs://`.",
277 "location": "query",
278 "type": "string"
266 } 279 }
267 }, 280 },
268 "path": "v1b3/projects/{projectId}/locations /{location}/templates", 281 "path": "v1b3/projects/{projectId}/locations /{location}/templates:get",
269 "request": {
270 "$ref": "CreateJobFromTemplateRequest"
271 },
272 "response": { 282 "response": {
273 "$ref": "Job" 283 "$ref": "GetTemplateResponse"
274 }, 284 },
275 "scopes": [ 285 "scopes": [
276 "https://www.googleapis.com/auth/cloud-p latform", 286 "https://www.googleapis.com/auth/cloud-p latform",
277 "https://www.googleapis.com/auth/compute ", 287 "https://www.googleapis.com/auth/compute ",
278 "https://www.googleapis.com/auth/compute .readonly", 288 "https://www.googleapis.com/auth/compute .readonly",
279 "https://www.googleapis.com/auth/userinf o.email" 289 "https://www.googleapis.com/auth/userinf o.email"
280 ] 290 ]
281 }, 291 },
282 "launch": { 292 "create": {
283 "description": "Launch a template.", 293 "description": "Creates a Cloud Dataflow job from a template.",
284 "httpMethod": "POST", 294 "httpMethod": "POST",
285 "id": "dataflow.projects.locations.templates .launch", 295 "id": "dataflow.projects.locations.templates .create",
286 "parameterOrder": [ 296 "parameterOrder": [
287 "projectId", 297 "projectId",
288 "location" 298 "location"
289 ], 299 ],
290 "parameters": { 300 "parameters": {
291 "gcsPath": { 301 "projectId": {
292 "description": "Required. A Cloud St orage path to the template from which to create\nthe job.\nMust be valid Cloud S torage URL, beginning with 'gs://'.", 302 "description": "Required. The ID of the Cloud Platform project that the job belongs to.",
293 "location": "query", 303 "location": "path",
304 "required": true,
294 "type": "string" 305 "type": "string"
295 }, 306 },
296 "location": { 307 "location": {
297 "description": "The location to whic h to direct the request.", 308 "description": "The location to whic h to direct the request.",
298 "location": "path", 309 "location": "path",
299 "required": true, 310 "required": true,
300 "type": "string" 311 "type": "string"
301 },
302 "validateOnly": {
303 "description": "If true, the request is validated but not actually executed.\nDefaults to false.",
304 "location": "query",
305 "type": "boolean"
306 },
307 "projectId": {
308 "description": "Required. The ID of the Cloud Platform project that the job belongs to.",
309 "location": "path",
310 "required": true,
311 "type": "string"
312 } 312 }
313 }, 313 },
314 "path": "v1b3/projects/{projectId}/locations /{location}/templates:launch", 314 "path": "v1b3/projects/{projectId}/locations /{location}/templates",
315 "request": { 315 "request": {
316 "$ref": "LaunchTemplateParameters" 316 "$ref": "CreateJobFromTemplateRequest"
317 }, 317 },
318 "response": { 318 "response": {
319 "$ref": "LaunchTemplateResponse" 319 "$ref": "Job"
320 }, 320 },
321 "scopes": [ 321 "scopes": [
322 "https://www.googleapis.com/auth/cloud-p latform", 322 "https://www.googleapis.com/auth/cloud-p latform",
323 "https://www.googleapis.com/auth/compute ", 323 "https://www.googleapis.com/auth/compute ",
324 "https://www.googleapis.com/auth/compute .readonly", 324 "https://www.googleapis.com/auth/compute .readonly",
325 "https://www.googleapis.com/auth/userinf o.email" 325 "https://www.googleapis.com/auth/userinf o.email"
326 ] 326 ]
327 } 327 }
328 } 328 }
329 }, 329 },
(...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after
444 "get": { 444 "get": {
445 "description": "Gets the state of the specif ied Cloud Dataflow job.", 445 "description": "Gets the state of the specif ied Cloud Dataflow job.",
446 "httpMethod": "GET", 446 "httpMethod": "GET",
447 "id": "dataflow.projects.locations.jobs.get" , 447 "id": "dataflow.projects.locations.jobs.get" ,
448 "parameterOrder": [ 448 "parameterOrder": [
449 "projectId", 449 "projectId",
450 "location", 450 "location",
451 "jobId" 451 "jobId"
452 ], 452 ],
453 "parameters": { 453 "parameters": {
454 "location": {
455 "description": "The location that co ntains this job.",
456 "location": "path",
457 "required": true,
458 "type": "string"
459 },
454 "view": { 460 "view": {
455 "description": "The level of informa tion requested in response.", 461 "description": "The level of informa tion requested in response.",
456 "enum": [ 462 "enum": [
457 "JOB_VIEW_UNKNOWN", 463 "JOB_VIEW_UNKNOWN",
458 "JOB_VIEW_SUMMARY", 464 "JOB_VIEW_SUMMARY",
459 "JOB_VIEW_ALL", 465 "JOB_VIEW_ALL",
460 "JOB_VIEW_DESCRIPTION" 466 "JOB_VIEW_DESCRIPTION"
461 ], 467 ],
462 "location": "query", 468 "location": "query",
463 "type": "string" 469 "type": "string"
464 }, 470 },
465 "jobId": { 471 "jobId": {
466 "description": "The job ID.", 472 "description": "The job ID.",
467 "location": "path", 473 "location": "path",
468 "required": true, 474 "required": true,
469 "type": "string" 475 "type": "string"
470 }, 476 },
471 "projectId": { 477 "projectId": {
472 "description": "The ID of the Cloud Platform project that the job belongs to.", 478 "description": "The ID of the Cloud Platform project that the job belongs to.",
473 "location": "path", 479 "location": "path",
474 "required": true, 480 "required": true,
475 "type": "string" 481 "type": "string"
476 },
477 "location": {
478 "description": "The location that co ntains this job.",
479 "location": "path",
480 "required": true,
481 "type": "string"
482 } 482 }
483 }, 483 },
484 "path": "v1b3/projects/{projectId}/locations /{location}/jobs/{jobId}", 484 "path": "v1b3/projects/{projectId}/locations /{location}/jobs/{jobId}",
485 "response": { 485 "response": {
486 "$ref": "Job" 486 "$ref": "Job"
487 }, 487 },
488 "scopes": [ 488 "scopes": [
489 "https://www.googleapis.com/auth/cloud-p latform", 489 "https://www.googleapis.com/auth/cloud-p latform",
490 "https://www.googleapis.com/auth/compute ", 490 "https://www.googleapis.com/auth/compute ",
491 "https://www.googleapis.com/auth/compute .readonly", 491 "https://www.googleapis.com/auth/compute .readonly",
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
537 }, 537 },
538 "create": { 538 "create": {
539 "description": "Creates a Cloud Dataflow job .", 539 "description": "Creates a Cloud Dataflow job .",
540 "httpMethod": "POST", 540 "httpMethod": "POST",
541 "id": "dataflow.projects.locations.jobs.crea te", 541 "id": "dataflow.projects.locations.jobs.crea te",
542 "parameterOrder": [ 542 "parameterOrder": [
543 "projectId", 543 "projectId",
544 "location" 544 "location"
545 ], 545 ],
546 "parameters": { 546 "parameters": {
547 "location": {
548 "description": "The location that co ntains this job.",
549 "location": "path",
550 "required": true,
551 "type": "string"
552 },
547 "replaceJobId": { 553 "replaceJobId": {
548 "description": "Deprecated. This fie ld is now in the Job message.", 554 "description": "Deprecated. This fie ld is now in the Job message.",
549 "location": "query", 555 "location": "query",
550 "type": "string" 556 "type": "string"
551 }, 557 },
552 "view": { 558 "view": {
553 "description": "The level of informa tion requested in response.", 559 "description": "The level of informa tion requested in response.",
554 "enum": [ 560 "enum": [
555 "JOB_VIEW_UNKNOWN", 561 "JOB_VIEW_UNKNOWN",
556 "JOB_VIEW_SUMMARY", 562 "JOB_VIEW_SUMMARY",
557 "JOB_VIEW_ALL", 563 "JOB_VIEW_ALL",
558 "JOB_VIEW_DESCRIPTION" 564 "JOB_VIEW_DESCRIPTION"
559 ], 565 ],
560 "location": "query", 566 "location": "query",
561 "type": "string" 567 "type": "string"
562 }, 568 },
563 "projectId": { 569 "projectId": {
564 "description": "The ID of the Cloud Platform project that the job belongs to.", 570 "description": "The ID of the Cloud Platform project that the job belongs to.",
565 "location": "path", 571 "location": "path",
566 "required": true, 572 "required": true,
567 "type": "string" 573 "type": "string"
568 },
569 "location": {
570 "description": "The location that co ntains this job.",
571 "location": "path",
572 "required": true,
573 "type": "string"
574 } 574 }
575 }, 575 },
576 "path": "v1b3/projects/{projectId}/locations /{location}/jobs", 576 "path": "v1b3/projects/{projectId}/locations /{location}/jobs",
577 "request": { 577 "request": {
578 "$ref": "Job" 578 "$ref": "Job"
579 }, 579 },
580 "response": { 580 "response": {
581 "$ref": "Job" 581 "$ref": "Job"
582 }, 582 },
583 "scopes": [ 583 "scopes": [
(...skipping 10 matching lines...) Expand all
594 "list": { 594 "list": {
595 "description": "Request the job stat us.", 595 "description": "Request the job stat us.",
596 "httpMethod": "GET", 596 "httpMethod": "GET",
597 "id": "dataflow.projects.locations.j obs.messages.list", 597 "id": "dataflow.projects.locations.j obs.messages.list",
598 "parameterOrder": [ 598 "parameterOrder": [
599 "projectId", 599 "projectId",
600 "location", 600 "location",
601 "jobId" 601 "jobId"
602 ], 602 ],
603 "parameters": { 603 "parameters": {
604 "pageSize": {
605 "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.",
606 "format": "int32",
607 "location": "query",
608 "type": "integer"
609 },
610 "minimumImportance": {
611 "description": "Filter to on ly get messages with importance >= level",
612 "enum": [
613 "JOB_MESSAGE_IMPORTANCE_ UNKNOWN",
614 "JOB_MESSAGE_DEBUG",
615 "JOB_MESSAGE_DETAILED",
616 "JOB_MESSAGE_BASIC",
617 "JOB_MESSAGE_WARNING",
618 "JOB_MESSAGE_ERROR"
619 ],
620 "location": "query",
621 "type": "string"
622 },
604 "projectId": { 623 "projectId": {
605 "description": "A project id .", 624 "description": "A project id .",
606 "location": "path", 625 "location": "path",
607 "required": true, 626 "required": true,
608 "type": "string" 627 "type": "string"
609 }, 628 },
610 "jobId": { 629 "jobId": {
611 "description": "The job to g et messages about.", 630 "description": "The job to g et messages about.",
612 "location": "path", 631 "location": "path",
613 "required": true, 632 "required": true,
(...skipping 14 matching lines...) Expand all
628 "startTime": { 647 "startTime": {
629 "description": "If specified , return only messages with timestamps >= start_time.\nThe default is the job cr eation time (i.e. beginning of messages).", 648 "description": "If specified , return only messages with timestamps >= start_time.\nThe default is the job cr eation time (i.e. beginning of messages).",
630 "format": "google-datetime", 649 "format": "google-datetime",
631 "location": "query", 650 "location": "query",
632 "type": "string" 651 "type": "string"
633 }, 652 },
634 "pageToken": { 653 "pageToken": {
635 "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.", 654 "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.",
636 "location": "query", 655 "location": "query",
637 "type": "string" 656 "type": "string"
638 },
639 "pageSize": {
640 "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.",
641 "format": "int32",
642 "location": "query",
643 "type": "integer"
644 },
645 "minimumImportance": {
646 "description": "Filter to on ly get messages with importance >= level",
647 "enum": [
648 "JOB_MESSAGE_IMPORTANCE_ UNKNOWN",
649 "JOB_MESSAGE_DEBUG",
650 "JOB_MESSAGE_DETAILED",
651 "JOB_MESSAGE_BASIC",
652 "JOB_MESSAGE_WARNING",
653 "JOB_MESSAGE_ERROR"
654 ],
655 "location": "query",
656 "type": "string"
657 } 657 }
658 }, 658 },
659 "path": "v1b3/projects/{projectId}/l ocations/{location}/jobs/{jobId}/messages", 659 "path": "v1b3/projects/{projectId}/l ocations/{location}/jobs/{jobId}/messages",
660 "response": { 660 "response": {
661 "$ref": "ListJobMessagesResponse " 661 "$ref": "ListJobMessagesResponse "
662 }, 662 },
663 "scopes": [ 663 "scopes": [
664 "https://www.googleapis.com/auth /cloud-platform", 664 "https://www.googleapis.com/auth /cloud-platform",
665 "https://www.googleapis.com/auth /compute", 665 "https://www.googleapis.com/auth /compute",
666 "https://www.googleapis.com/auth /compute.readonly", 666 "https://www.googleapis.com/auth /compute.readonly",
667 "https://www.googleapis.com/auth /userinfo.email" 667 "https://www.googleapis.com/auth /userinfo.email"
668 ] 668 ]
669 } 669 }
670 } 670 }
671 }, 671 },
672 "workItems": { 672 "workItems": {
673 "methods": { 673 "methods": {
674 "lease": { 674 "reportStatus": {
675 "description": "Leases a dataflow Wo rkItem to run.", 675 "description": "Reports the status o f dataflow WorkItems leased by a worker.",
676 "httpMethod": "POST", 676 "httpMethod": "POST",
677 "id": "dataflow.projects.locations.j obs.workItems.lease", 677 "id": "dataflow.projects.locations.j obs.workItems.reportStatus",
678 "parameterOrder": [ 678 "parameterOrder": [
679 "projectId", 679 "projectId",
680 "location", 680 "location",
681 "jobId" 681 "jobId"
682 ], 682 ],
683 "parameters": { 683 "parameters": {
684 "location": {
685 "description": "The location which contains the WorkItem's job.",
686 "location": "path",
687 "required": true,
688 "type": "string"
689 },
684 "jobId": { 690 "jobId": {
685 "description": "Identifies t he workflow job this worker belongs to.", 691 "description": "The job whic h the WorkItem is part of.",
686 "location": "path", 692 "location": "path",
687 "required": true, 693 "required": true,
688 "type": "string" 694 "type": "string"
689 }, 695 },
690 "projectId": { 696 "projectId": {
691 "description": "Identifies t he project this worker belongs to.", 697 "description": "The project which owns the WorkItem's job.",
692 "location": "path",
693 "required": true,
694 "type": "string"
695 },
696 "location": {
697 "description": "The location which contains the WorkItem's job.",
698 "location": "path", 698 "location": "path",
699 "required": true, 699 "required": true,
700 "type": "string" 700 "type": "string"
701 } 701 }
702 }, 702 },
703 "path": "v1b3/projects/{projectId}/l ocations/{location}/jobs/{jobId}/workItems:lease", 703 "path": "v1b3/projects/{projectId}/l ocations/{location}/jobs/{jobId}/workItems:reportStatus",
704 "request": { 704 "request": {
705 "$ref": "LeaseWorkItemRequest" 705 "$ref": "ReportWorkItemStatusReq uest"
706 }, 706 },
707 "response": { 707 "response": {
708 "$ref": "LeaseWorkItemResponse" 708 "$ref": "ReportWorkItemStatusRes ponse"
709 }, 709 },
710 "scopes": [ 710 "scopes": [
711 "https://www.googleapis.com/auth /cloud-platform", 711 "https://www.googleapis.com/auth /cloud-platform",
712 "https://www.googleapis.com/auth /compute", 712 "https://www.googleapis.com/auth /compute",
713 "https://www.googleapis.com/auth /compute.readonly", 713 "https://www.googleapis.com/auth /compute.readonly",
714 "https://www.googleapis.com/auth /userinfo.email" 714 "https://www.googleapis.com/auth /userinfo.email"
715 ] 715 ]
716 }, 716 },
717 "reportStatus": { 717 "lease": {
718 "description": "Reports the status o f dataflow WorkItems leased by a worker.", 718 "description": "Leases a dataflow Wo rkItem to run.",
719 "httpMethod": "POST", 719 "httpMethod": "POST",
720 "id": "dataflow.projects.locations.j obs.workItems.reportStatus", 720 "id": "dataflow.projects.locations.j obs.workItems.lease",
721 "parameterOrder": [ 721 "parameterOrder": [
722 "projectId", 722 "projectId",
723 "location", 723 "location",
724 "jobId" 724 "jobId"
725 ], 725 ],
726 "parameters": { 726 "parameters": {
727 "location": {
728 "description": "The location which contains the WorkItem's job.",
729 "location": "path",
730 "required": true,
731 "type": "string"
732 },
727 "jobId": { 733 "jobId": {
728 "description": "The job whic h the WorkItem is part of.", 734 "description": "Identifies t he workflow job this worker belongs to.",
729 "location": "path", 735 "location": "path",
730 "required": true, 736 "required": true,
731 "type": "string" 737 "type": "string"
732 }, 738 },
733 "projectId": { 739 "projectId": {
734 "description": "The project which owns the WorkItem's job.", 740 "description": "Identifies t he project this worker belongs to.",
735 "location": "path",
736 "required": true,
737 "type": "string"
738 },
739 "location": {
740 "description": "The location which contains the WorkItem's job.",
741 "location": "path", 741 "location": "path",
742 "required": true, 742 "required": true,
743 "type": "string" 743 "type": "string"
744 } 744 }
745 }, 745 },
746 "path": "v1b3/projects/{projectId}/l ocations/{location}/jobs/{jobId}/workItems:reportStatus", 746 "path": "v1b3/projects/{projectId}/l ocations/{location}/jobs/{jobId}/workItems:lease",
747 "request": { 747 "request": {
748 "$ref": "ReportWorkItemStatusReq uest" 748 "$ref": "LeaseWorkItemRequest"
749 }, 749 },
750 "response": { 750 "response": {
751 "$ref": "ReportWorkItemStatusRes ponse" 751 "$ref": "LeaseWorkItemResponse"
752 }, 752 },
753 "scopes": [ 753 "scopes": [
754 "https://www.googleapis.com/auth /cloud-platform", 754 "https://www.googleapis.com/auth /cloud-platform",
755 "https://www.googleapis.com/auth /compute", 755 "https://www.googleapis.com/auth /compute",
756 "https://www.googleapis.com/auth /compute.readonly", 756 "https://www.googleapis.com/auth /compute.readonly",
757 "https://www.googleapis.com/auth /userinfo.email" 757 "https://www.googleapis.com/auth /userinfo.email"
758 ] 758 ]
759 } 759 }
760 } 760 }
761 }, 761 },
762 "debug": { 762 "debug": {
763 "methods": { 763 "methods": {
764 "sendCapture": { 764 "sendCapture": {
765 "description": "Send encoded debug c apture data for component.", 765 "description": "Send encoded debug c apture data for component.",
766 "httpMethod": "POST", 766 "httpMethod": "POST",
767 "id": "dataflow.projects.locations.j obs.debug.sendCapture", 767 "id": "dataflow.projects.locations.j obs.debug.sendCapture",
768 "parameterOrder": [ 768 "parameterOrder": [
769 "projectId", 769 "projectId",
770 "location", 770 "location",
771 "jobId" 771 "jobId"
772 ], 772 ],
773 "parameters": { 773 "parameters": {
774 "location": {
775 "description": "The location which contains the job specified by job_id.",
776 "location": "path",
777 "required": true,
778 "type": "string"
779 },
780 "jobId": { 774 "jobId": {
781 "description": "The job id." , 775 "description": "The job id." ,
782 "location": "path", 776 "location": "path",
783 "required": true, 777 "required": true,
784 "type": "string" 778 "type": "string"
785 }, 779 },
786 "projectId": { 780 "projectId": {
787 "description": "The project id.", 781 "description": "The project id.",
788 "location": "path", 782 "location": "path",
789 "required": true, 783 "required": true,
790 "type": "string" 784 "type": "string"
785 },
786 "location": {
787 "description": "The location which contains the job specified by job_id.",
788 "location": "path",
789 "required": true,
790 "type": "string"
791 } 791 }
792 }, 792 },
793 "path": "v1b3/projects/{projectId}/l ocations/{location}/jobs/{jobId}/debug/sendCapture", 793 "path": "v1b3/projects/{projectId}/l ocations/{location}/jobs/{jobId}/debug/sendCapture",
794 "request": { 794 "request": {
795 "$ref": "SendDebugCaptureRequest " 795 "$ref": "SendDebugCaptureRequest "
796 }, 796 },
797 "response": { 797 "response": {
798 "$ref": "SendDebugCaptureRespons e" 798 "$ref": "SendDebugCaptureRespons e"
799 }, 799 },
800 "scopes": [ 800 "scopes": [
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
848 ] 848 ]
849 } 849 }
850 } 850 }
851 } 851 }
852 } 852 }
853 } 853 }
854 } 854 }
855 }, 855 },
856 "templates": { 856 "templates": {
857 "methods": { 857 "methods": {
858 "launch": { 858 "get": {
859 "description": "Launch a template.", 859 "description": "Get the template associated with a t emplate.",
860 "httpMethod": "POST", 860 "httpMethod": "GET",
861 "id": "dataflow.projects.templates.launch", 861 "id": "dataflow.projects.templates.get",
862 "parameterOrder": [ 862 "parameterOrder": [
863 "projectId" 863 "projectId"
864 ], 864 ],
865 "parameters": { 865 "parameters": {
866 "gcsPath": {
867 "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://'.",
868 "location": "query",
869 "type": "string"
870 },
871 "location": { 866 "location": {
872 "description": "The location to which to dir ect the request.", 867 "description": "The location to which to dir ect the request.",
873 "location": "query", 868 "location": "query",
874 "type": "string" 869 "type": "string"
875 }, 870 },
876 "validateOnly": { 871 "view": {
877 "description": "If true, the request is vali dated but not actually executed.\nDefaults to false.", 872 "description": "The view to retrieve. Defaul ts to METADATA_ONLY.",
873 "enum": [
874 "METADATA_ONLY"
875 ],
878 "location": "query", 876 "location": "query",
879 "type": "boolean" 877 "type": "string"
880 }, 878 },
881 "projectId": { 879 "projectId": {
882 "description": "Required. The ID of the Clou d Platform project that the job belongs to.", 880 "description": "Required. The ID of the Clou d Platform project that the job belongs to.",
883 "location": "path", 881 "location": "path",
884 "required": true, 882 "required": true,
885 "type": "string" 883 "type": "string"
884 },
885 "gcsPath": {
886 "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://`.",
887 "location": "query",
888 "type": "string"
886 } 889 }
887 }, 890 },
888 "path": "v1b3/projects/{projectId}/templates:launch" , 891 "path": "v1b3/projects/{projectId}/templates:get",
889 "request": {
890 "$ref": "LaunchTemplateParameters"
891 },
892 "response": { 892 "response": {
893 "$ref": "LaunchTemplateResponse" 893 "$ref": "GetTemplateResponse"
894 }, 894 },
895 "scopes": [ 895 "scopes": [
896 "https://www.googleapis.com/auth/cloud-platform" , 896 "https://www.googleapis.com/auth/cloud-platform" ,
897 "https://www.googleapis.com/auth/compute", 897 "https://www.googleapis.com/auth/compute",
898 "https://www.googleapis.com/auth/compute.readonl y", 898 "https://www.googleapis.com/auth/compute.readonl y",
899 "https://www.googleapis.com/auth/userinfo.email" 899 "https://www.googleapis.com/auth/userinfo.email"
900 ] 900 ]
901 }, 901 },
902 "get": { 902 "create": {
903 "description": "Get the template associated with a t emplate.", 903 "description": "Creates a Cloud Dataflow job from a template.",
904 "httpMethod": "GET", 904 "httpMethod": "POST",
905 "id": "dataflow.projects.templates.get", 905 "id": "dataflow.projects.templates.create",
906 "parameterOrder": [ 906 "parameterOrder": [
907 "projectId" 907 "projectId"
908 ], 908 ],
909 "parameters": { 909 "parameters": {
910 "view": {
911 "description": "The view to retrieve. Defaul ts to METADATA_ONLY.",
912 "enum": [
913 "METADATA_ONLY"
914 ],
915 "location": "query",
916 "type": "string"
917 },
918 "projectId": { 910 "projectId": {
919 "description": "Required. The ID of the Clou d Platform project that the job belongs to.", 911 "description": "Required. The ID of the Clou d Platform project that the job belongs to.",
920 "location": "path", 912 "location": "path",
921 "required": true, 913 "required": true,
922 "type": "string" 914 "type": "string"
923 },
924 "gcsPath": {
925 "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://`.",
926 "location": "query",
927 "type": "string"
928 },
929 "location": {
930 "description": "The location to which to dir ect the request.",
931 "location": "query",
932 "type": "string"
933 } 915 }
934 }, 916 },
935 "path": "v1b3/projects/{projectId}/templates:get", 917 "path": "v1b3/projects/{projectId}/templates",
918 "request": {
919 "$ref": "CreateJobFromTemplateRequest"
920 },
936 "response": { 921 "response": {
937 "$ref": "GetTemplateResponse" 922 "$ref": "Job"
938 }, 923 },
939 "scopes": [ 924 "scopes": [
940 "https://www.googleapis.com/auth/cloud-platform" , 925 "https://www.googleapis.com/auth/cloud-platform" ,
941 "https://www.googleapis.com/auth/compute", 926 "https://www.googleapis.com/auth/compute",
942 "https://www.googleapis.com/auth/compute.readonl y", 927 "https://www.googleapis.com/auth/compute.readonl y",
943 "https://www.googleapis.com/auth/userinfo.email" 928 "https://www.googleapis.com/auth/userinfo.email"
944 ] 929 ]
945 }, 930 },
946 "create": { 931 "launch": {
947 "description": "Creates a Cloud Dataflow job from a template.", 932 "description": "Launch a template.",
948 "httpMethod": "POST", 933 "httpMethod": "POST",
949 "id": "dataflow.projects.templates.create", 934 "id": "dataflow.projects.templates.launch",
950 "parameterOrder": [ 935 "parameterOrder": [
951 "projectId" 936 "projectId"
952 ], 937 ],
953 "parameters": { 938 "parameters": {
939 "location": {
940 "description": "The location to which to dir ect the request.",
941 "location": "query",
942 "type": "string"
943 },
944 "validateOnly": {
945 "description": "If true, the request is vali dated but not actually executed.\nDefaults to false.",
946 "location": "query",
947 "type": "boolean"
948 },
954 "projectId": { 949 "projectId": {
955 "description": "Required. The ID of the Clou d Platform project that the job belongs to.", 950 "description": "Required. The ID of the Clou d Platform project that the job belongs to.",
956 "location": "path", 951 "location": "path",
957 "required": true, 952 "required": true,
958 "type": "string" 953 "type": "string"
954 },
955 "gcsPath": {
956 "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://'.",
957 "location": "query",
958 "type": "string"
959 } 959 }
960 }, 960 },
961 "path": "v1b3/projects/{projectId}/templates", 961 "path": "v1b3/projects/{projectId}/templates:launch" ,
962 "request": { 962 "request": {
963 "$ref": "CreateJobFromTemplateRequest" 963 "$ref": "LaunchTemplateParameters"
964 }, 964 },
965 "response": { 965 "response": {
966 "$ref": "Job" 966 "$ref": "LaunchTemplateResponse"
967 }, 967 },
968 "scopes": [ 968 "scopes": [
969 "https://www.googleapis.com/auth/cloud-platform" , 969 "https://www.googleapis.com/auth/cloud-platform" ,
970 "https://www.googleapis.com/auth/compute", 970 "https://www.googleapis.com/auth/compute",
971 "https://www.googleapis.com/auth/compute.readonl y", 971 "https://www.googleapis.com/auth/compute.readonl y",
972 "https://www.googleapis.com/auth/userinfo.email" 972 "https://www.googleapis.com/auth/userinfo.email"
973 ] 973 ]
974 } 974 }
975 } 975 }
976 }, 976 },
977 "jobs": { 977 "jobs": {
978 "methods": { 978 "methods": {
979 "getMetrics": {
980 "description": "Request the job status.",
981 "httpMethod": "GET",
982 "id": "dataflow.projects.jobs.getMetrics",
983 "parameterOrder": [
984 "projectId",
985 "jobId"
986 ],
987 "parameters": {
988 "startTime": {
989 "description": "Return only metric data that has changed since this time.\nDefault is to return all information about all me trics for the job.",
990 "format": "google-datetime",
991 "location": "query",
992 "type": "string"
993 },
994 "jobId": {
995 "description": "The job to get messages for. ",
996 "location": "path",
997 "required": true,
998 "type": "string"
999 },
1000 "projectId": {
1001 "description": "A project id.",
1002 "location": "path",
1003 "required": true,
1004 "type": "string"
1005 },
1006 "location": {
1007 "description": "The location which contains the job specified by job_id.",
1008 "location": "query",
1009 "type": "string"
1010 }
1011 },
1012 "path": "v1b3/projects/{projectId}/jobs/{jobId}/metr ics",
1013 "response": {
1014 "$ref": "JobMetrics"
1015 },
1016 "scopes": [
1017 "https://www.googleapis.com/auth/cloud-platform" ,
1018 "https://www.googleapis.com/auth/compute",
1019 "https://www.googleapis.com/auth/compute.readonl y",
1020 "https://www.googleapis.com/auth/userinfo.email"
1021 ]
1022 },
979 "list": { 1023 "list": {
980 "description": "List the jobs of a project.", 1024 "description": "List the jobs of a project.",
981 "httpMethod": "GET", 1025 "httpMethod": "GET",
982 "id": "dataflow.projects.jobs.list", 1026 "id": "dataflow.projects.jobs.list",
983 "parameterOrder": [ 1027 "parameterOrder": [
984 "projectId" 1028 "projectId"
985 ], 1029 ],
986 "parameters": { 1030 "parameters": {
987 "pageSize": { 1031 "pageSize": {
988 "description": "If there are many jobs, limi t response to at most this many.\nThe actual number of jobs returned will be the lesser of max_responses\nand an unspecified server-defined limit.", 1032 "description": "If there are many jobs, limi t response to at most this many.\nThe actual number of jobs returned will be the lesser of max_responses\nand an unspecified server-defined limit.",
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after
1091 }, 1135 },
1092 "update": { 1136 "update": {
1093 "description": "Updates the state of an existing Clo ud Dataflow job.", 1137 "description": "Updates the state of an existing Clo ud Dataflow job.",
1094 "httpMethod": "PUT", 1138 "httpMethod": "PUT",
1095 "id": "dataflow.projects.jobs.update", 1139 "id": "dataflow.projects.jobs.update",
1096 "parameterOrder": [ 1140 "parameterOrder": [
1097 "projectId", 1141 "projectId",
1098 "jobId" 1142 "jobId"
1099 ], 1143 ],
1100 "parameters": { 1144 "parameters": {
1145 "location": {
1146 "description": "The location that contains t his job.",
1147 "location": "query",
1148 "type": "string"
1149 },
1101 "jobId": { 1150 "jobId": {
1102 "description": "The job ID.", 1151 "description": "The job ID.",
1103 "location": "path", 1152 "location": "path",
1104 "required": true, 1153 "required": true,
1105 "type": "string" 1154 "type": "string"
1106 }, 1155 },
1107 "projectId": { 1156 "projectId": {
1108 "description": "The ID of the Cloud Platform project that the job belongs to.", 1157 "description": "The ID of the Cloud Platform project that the job belongs to.",
1109 "location": "path", 1158 "location": "path",
1110 "required": true, 1159 "required": true,
1111 "type": "string" 1160 "type": "string"
1112 },
1113 "location": {
1114 "description": "The location that contains t his job.",
1115 "location": "query",
1116 "type": "string"
1117 } 1161 }
1118 }, 1162 },
1119 "path": "v1b3/projects/{projectId}/jobs/{jobId}", 1163 "path": "v1b3/projects/{projectId}/jobs/{jobId}",
1120 "request": { 1164 "request": {
1121 "$ref": "Job" 1165 "$ref": "Job"
1122 }, 1166 },
1123 "response": { 1167 "response": {
1124 "$ref": "Job" 1168 "$ref": "Job"
1125 }, 1169 },
1126 "scopes": [ 1170 "scopes": [
1127 "https://www.googleapis.com/auth/cloud-platform" , 1171 "https://www.googleapis.com/auth/cloud-platform" ,
1128 "https://www.googleapis.com/auth/compute", 1172 "https://www.googleapis.com/auth/compute",
1129 "https://www.googleapis.com/auth/compute.readonl y", 1173 "https://www.googleapis.com/auth/compute.readonl y",
1130 "https://www.googleapis.com/auth/userinfo.email" 1174 "https://www.googleapis.com/auth/userinfo.email"
1131 ] 1175 ]
1132 }, 1176 },
1133 "create": { 1177 "create": {
1134 "description": "Creates a Cloud Dataflow job.", 1178 "description": "Creates a Cloud Dataflow job.",
1135 "httpMethod": "POST", 1179 "httpMethod": "POST",
1136 "id": "dataflow.projects.jobs.create", 1180 "id": "dataflow.projects.jobs.create",
1137 "parameterOrder": [ 1181 "parameterOrder": [
1138 "projectId" 1182 "projectId"
1139 ], 1183 ],
1140 "parameters": { 1184 "parameters": {
1141 "location": {
1142 "description": "The location that contains t his job.",
1143 "location": "query",
1144 "type": "string"
1145 },
1146 "replaceJobId": { 1185 "replaceJobId": {
1147 "description": "Deprecated. This field is no w in the Job message.", 1186 "description": "Deprecated. This field is no w in the Job message.",
1148 "location": "query", 1187 "location": "query",
1149 "type": "string" 1188 "type": "string"
1150 }, 1189 },
1151 "view": { 1190 "view": {
1152 "description": "The level of information req uested in response.", 1191 "description": "The level of information req uested in response.",
1153 "enum": [ 1192 "enum": [
1154 "JOB_VIEW_UNKNOWN", 1193 "JOB_VIEW_UNKNOWN",
1155 "JOB_VIEW_SUMMARY", 1194 "JOB_VIEW_SUMMARY",
1156 "JOB_VIEW_ALL", 1195 "JOB_VIEW_ALL",
1157 "JOB_VIEW_DESCRIPTION" 1196 "JOB_VIEW_DESCRIPTION"
1158 ], 1197 ],
1159 "location": "query", 1198 "location": "query",
1160 "type": "string" 1199 "type": "string"
1161 }, 1200 },
1162 "projectId": { 1201 "projectId": {
1163 "description": "The ID of the Cloud Platform project that the job belongs to.", 1202 "description": "The ID of the Cloud Platform project that the job belongs to.",
1164 "location": "path", 1203 "location": "path",
1165 "required": true, 1204 "required": true,
1166 "type": "string" 1205 "type": "string"
1206 },
1207 "location": {
1208 "description": "The location that contains t his job.",
1209 "location": "query",
1210 "type": "string"
1167 } 1211 }
1168 }, 1212 },
1169 "path": "v1b3/projects/{projectId}/jobs", 1213 "path": "v1b3/projects/{projectId}/jobs",
1170 "request": { 1214 "request": {
1171 "$ref": "Job" 1215 "$ref": "Job"
1172 }, 1216 },
1173 "response": { 1217 "response": {
1174 "$ref": "Job" 1218 "$ref": "Job"
1175 }, 1219 },
1176 "scopes": [ 1220 "scopes": [
1177 "https://www.googleapis.com/auth/cloud-platform" , 1221 "https://www.googleapis.com/auth/cloud-platform" ,
1178 "https://www.googleapis.com/auth/compute", 1222 "https://www.googleapis.com/auth/compute",
1179 "https://www.googleapis.com/auth/compute.readonl y", 1223 "https://www.googleapis.com/auth/compute.readonl y",
1180 "https://www.googleapis.com/auth/userinfo.email" 1224 "https://www.googleapis.com/auth/userinfo.email"
1181 ] 1225 ]
1182 },
1183 "getMetrics": {
1184 "description": "Request the job status.",
1185 "httpMethod": "GET",
1186 "id": "dataflow.projects.jobs.getMetrics",
1187 "parameterOrder": [
1188 "projectId",
1189 "jobId"
1190 ],
1191 "parameters": {
1192 "location": {
1193 "description": "The location which contains the job specified by job_id.",
1194 "location": "query",
1195 "type": "string"
1196 },
1197 "startTime": {
1198 "description": "Return only metric data that has changed since this time.\nDefault is to return all information about all me trics for the job.",
1199 "format": "google-datetime",
1200 "location": "query",
1201 "type": "string"
1202 },
1203 "jobId": {
1204 "description": "The job to get messages for. ",
1205 "location": "path",
1206 "required": true,
1207 "type": "string"
1208 },
1209 "projectId": {
1210 "description": "A project id.",
1211 "location": "path",
1212 "required": true,
1213 "type": "string"
1214 }
1215 },
1216 "path": "v1b3/projects/{projectId}/jobs/{jobId}/metr ics",
1217 "response": {
1218 "$ref": "JobMetrics"
1219 },
1220 "scopes": [
1221 "https://www.googleapis.com/auth/cloud-platform" ,
1222 "https://www.googleapis.com/auth/compute",
1223 "https://www.googleapis.com/auth/compute.readonl y",
1224 "https://www.googleapis.com/auth/userinfo.email"
1225 ]
1226 } 1226 }
1227 }, 1227 },
1228 "resources": { 1228 "resources": {
1229 "workItems": { 1229 "workItems": {
1230 "methods": { 1230 "methods": {
1231 "lease": { 1231 "lease": {
1232 "description": "Leases a dataflow WorkItem t o run.", 1232 "description": "Leases a dataflow WorkItem t o run.",
1233 "httpMethod": "POST", 1233 "httpMethod": "POST",
1234 "id": "dataflow.projects.jobs.workItems.leas e", 1234 "id": "dataflow.projects.jobs.workItems.leas e",
1235 "parameterOrder": [ 1235 "parameterOrder": [
(...skipping 146 matching lines...) Expand 10 before | Expand all | Expand 10 after
1382 "methods": { 1382 "methods": {
1383 "list": { 1383 "list": {
1384 "description": "Request the job status.", 1384 "description": "Request the job status.",
1385 "httpMethod": "GET", 1385 "httpMethod": "GET",
1386 "id": "dataflow.projects.jobs.messages.list" , 1386 "id": "dataflow.projects.jobs.messages.list" ,
1387 "parameterOrder": [ 1387 "parameterOrder": [
1388 "projectId", 1388 "projectId",
1389 "jobId" 1389 "jobId"
1390 ], 1390 ],
1391 "parameters": { 1391 "parameters": {
1392 "pageSize": {
1393 "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.",
1394 "format": "int32",
1395 "location": "query",
1396 "type": "integer"
1397 },
1398 "minimumImportance": {
1399 "description": "Filter to only get m essages with importance >= level",
1400 "enum": [
1401 "JOB_MESSAGE_IMPORTANCE_UNKNOWN" ,
1402 "JOB_MESSAGE_DEBUG",
1403 "JOB_MESSAGE_DETAILED",
1404 "JOB_MESSAGE_BASIC",
1405 "JOB_MESSAGE_WARNING",
1406 "JOB_MESSAGE_ERROR"
1407 ],
1408 "location": "query",
1409 "type": "string"
1410 },
1392 "projectId": { 1411 "projectId": {
1393 "description": "A project id.", 1412 "description": "A project id.",
1394 "location": "path", 1413 "location": "path",
1395 "required": true, 1414 "required": true,
1396 "type": "string" 1415 "type": "string"
1397 }, 1416 },
1398 "jobId": { 1417 "jobId": {
1399 "description": "The job to get messa ges about.", 1418 "description": "The job to get messa ges about.",
1400 "location": "path", 1419 "location": "path",
1401 "required": true, 1420 "required": true,
(...skipping 13 matching lines...) Expand all
1415 "startTime": { 1434 "startTime": {
1416 "description": "If specified, return only messages with timestamps >= start_time.\nThe default is the job creation t ime (i.e. beginning of messages).", 1435 "description": "If specified, return only messages with timestamps >= start_time.\nThe default is the job creation t ime (i.e. beginning of messages).",
1417 "format": "google-datetime", 1436 "format": "google-datetime",
1418 "location": "query", 1437 "location": "query",
1419 "type": "string" 1438 "type": "string"
1420 }, 1439 },
1421 "pageToken": { 1440 "pageToken": {
1422 "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.", 1441 "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.",
1423 "location": "query", 1442 "location": "query",
1424 "type": "string" 1443 "type": "string"
1425 },
1426 "pageSize": {
1427 "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.",
1428 "format": "int32",
1429 "location": "query",
1430 "type": "integer"
1431 },
1432 "minimumImportance": {
1433 "description": "Filter to only get m essages with importance >= level",
1434 "enum": [
1435 "JOB_MESSAGE_IMPORTANCE_UNKNOWN" ,
1436 "JOB_MESSAGE_DEBUG",
1437 "JOB_MESSAGE_DETAILED",
1438 "JOB_MESSAGE_BASIC",
1439 "JOB_MESSAGE_WARNING",
1440 "JOB_MESSAGE_ERROR"
1441 ],
1442 "location": "query",
1443 "type": "string"
1444 } 1444 }
1445 }, 1445 },
1446 "path": "v1b3/projects/{projectId}/jobs/{job Id}/messages", 1446 "path": "v1b3/projects/{projectId}/jobs/{job Id}/messages",
1447 "response": { 1447 "response": {
1448 "$ref": "ListJobMessagesResponse" 1448 "$ref": "ListJobMessagesResponse"
1449 }, 1449 },
1450 "scopes": [ 1450 "scopes": [
1451 "https://www.googleapis.com/auth/cloud-p latform", 1451 "https://www.googleapis.com/auth/cloud-p latform",
1452 "https://www.googleapis.com/auth/compute ", 1452 "https://www.googleapis.com/auth/compute ",
1453 "https://www.googleapis.com/auth/compute .readonly", 1453 "https://www.googleapis.com/auth/compute .readonly",
1454 "https://www.googleapis.com/auth/userinf o.email" 1454 "https://www.googleapis.com/auth/userinf o.email"
1455 ] 1455 ]
1456 } 1456 }
1457 } 1457 }
1458 } 1458 }
1459 } 1459 }
1460 } 1460 }
1461 } 1461 }
1462 } 1462 }
1463 }, 1463 },
1464 "revision": "20170701", 1464 "revision": "20170718",
1465 "rootUrl": "https://dataflow.googleapis.com/", 1465 "rootUrl": "https://dataflow.googleapis.com/",
1466 "schemas": { 1466 "schemas": {
1467 "WorkItemStatus": {
1468 "description": "Conveys a worker's progress through the work describ ed by a WorkItem.",
1469 "id": "WorkItemStatus",
1470 "properties": {
1471 "workItemId": {
1472 "description": "Identifies the WorkItem.",
1473 "type": "string"
1474 },
1475 "errors": {
1476 "description": "Specifies errors which occurred during proce ssing. If errors are\nprovided, and completed = true, then the WorkItem is cons idered\nto have failed.",
1477 "items": {
1478 "$ref": "Status"
1479 },
1480 "type": "array"
1481 },
1482 "metricUpdates": {
1483 "description": "DEPRECATED in favor of counter_updates.",
1484 "items": {
1485 "$ref": "MetricUpdate"
1486 },
1487 "type": "array"
1488 },
1489 "dynamicSourceSplit": {
1490 "$ref": "DynamicSourceSplit",
1491 "description": "See documentation of stop_position."
1492 },
1493 "sourceOperationResponse": {
1494 "$ref": "SourceOperationResponse",
1495 "description": "If the work item represented a SourceOperati onRequest, and the work\nis completed, contains the result of the operation."
1496 },
1497 "progress": {
1498 "$ref": "ApproximateProgress",
1499 "description": "DEPRECATED in favor of reported_progress."
1500 },
1501 "requestedLeaseDuration": {
1502 "description": "Amount of time the worker requests for its l ease.",
1503 "format": "google-duration",
1504 "type": "string"
1505 },
1506 "reportIndex": {
1507 "description": "The report index. When a WorkItem is leased , the lease will\ncontain an initial report index. When a WorkItem's status is\ nreported to the system, the report should be sent with\nthat report index, and the response will contain the index the\nworker should use for the next report. Reports received with\nunexpected index values will be rejected by the service. \n\nIn order to preserve idempotency, the worker should not alter the\ncontents of a report, even if the worker must submit the same\nreport multiple times befo re getting back a response. The worker\nshould not submit a subsequent report u ntil the response for the\nprevious report had been received from the service.",
1508 "format": "int64",
1509 "type": "string"
1510 },
1511 "stopPosition": {
1512 "$ref": "Position",
1513 "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."
1514 },
1515 "completed": {
1516 "description": "True if the WorkItem was completed (successf ully or unsuccessfully).",
1517 "type": "boolean"
1518 },
1519 "reportedProgress": {
1520 "$ref": "ApproximateReportedProgress",
1521 "description": "The worker's progress through this WorkItem. "
1522 },
1523 "sourceFork": {
1524 "$ref": "SourceFork",
1525 "description": "DEPRECATED in favor of dynamic_source_split. "
1526 },
1527 "counterUpdates": {
1528 "description": "Worker output counters for this WorkItem.",
1529 "items": {
1530 "$ref": "CounterUpdate"
1531 },
1532 "type": "array"
1533 }
1534 },
1535 "type": "object"
1536 },
1467 "ComponentSource": { 1537 "ComponentSource": {
1468 "description": "Description of an interstitial value between transfo rms in an execution\nstage.", 1538 "description": "Description of an interstitial value between transfo rms in an execution\nstage.",
1469 "id": "ComponentSource", 1539 "id": "ComponentSource",
1470 "properties": { 1540 "properties": {
1471 "userName": {
1472 "description": "Human-readable name for this transform; may be user or system generated.",
1473 "type": "string"
1474 },
1475 "originalTransformOrCollection": { 1541 "originalTransformOrCollection": {
1476 "description": "User name for the original user transform or collection with which this\nsource is most closely associated.", 1542 "description": "User name for the original user transform or collection with which this\nsource is most closely associated.",
1477 "type": "string" 1543 "type": "string"
1478 }, 1544 },
1479 "name": { 1545 "name": {
1480 "description": "Dataflow service generated name for this sou rce.", 1546 "description": "Dataflow service generated name for this sou rce.",
1481 "type": "string" 1547 "type": "string"
1548 },
1549 "userName": {
1550 "description": "Human-readable name for this transform; may be user or system generated.",
1551 "type": "string"
1482 } 1552 }
1483 }, 1553 },
1484 "type": "object" 1554 "type": "object"
1485 }, 1555 },
1486 "WorkItemServiceState": { 1556 "WorkItemServiceState": {
1487 "description": "The Dataflow service's idea of the current state of a WorkItem\nbeing processed by a worker.", 1557 "description": "The Dataflow service's idea of the current state of a WorkItem\nbeing processed by a worker.",
1488 "id": "WorkItemServiceState", 1558 "id": "WorkItemServiceState",
1489 "properties": { 1559 "properties": {
1490 "metricShortId": {
1491 "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.",
1492 "items": {
1493 "$ref": "MetricShortId"
1494 },
1495 "type": "array"
1496 },
1497 "nextReportIndex": {
1498 "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.",
1499 "format": "int64",
1500 "type": "string"
1501 },
1502 "suggestedStopPoint": {
1503 "$ref": "ApproximateProgress",
1504 "description": "DEPRECATED in favor of split_request."
1505 },
1506 "splitRequest": { 1560 "splitRequest": {
1507 "$ref": "ApproximateSplitRequest", 1561 "$ref": "ApproximateSplitRequest",
1508 "description": "The progress point in the WorkItem where the Dataflow service\nsuggests that the worker truncate the task." 1562 "description": "The progress point in the WorkItem where the Dataflow service\nsuggests that the worker truncate the task."
1509 }, 1563 },
1510 "suggestedStopPosition": { 1564 "suggestedStopPosition": {
1511 "$ref": "Position", 1565 "$ref": "Position",
1512 "description": "Obsolete, always empty." 1566 "description": "Obsolete, always empty."
1513 }, 1567 },
1514 "reportStatusInterval": { 1568 "reportStatusInterval": {
1515 "description": "New recommended reporting interval.", 1569 "description": "New recommended reporting interval.",
1516 "format": "google-duration", 1570 "format": "google-duration",
1517 "type": "string" 1571 "type": "string"
1518 }, 1572 },
1519 "harnessData": { 1573 "harnessData": {
1520 "additionalProperties": { 1574 "additionalProperties": {
1521 "description": "Properties of the object.", 1575 "description": "Properties of the object.",
1522 "type": "any" 1576 "type": "any"
1523 }, 1577 },
1524 "description": "Other data returned by the service, specific to the particular\nworker harness.", 1578 "description": "Other data returned by the service, specific to the particular\nworker harness.",
1525 "type": "object" 1579 "type": "object"
1526 }, 1580 },
1527 "leaseExpireTime": { 1581 "leaseExpireTime": {
1528 "description": "Time at which the current lease will expire. ", 1582 "description": "Time at which the current lease will expire. ",
1529 "format": "google-datetime", 1583 "format": "google-datetime",
1530 "type": "string" 1584 "type": "string"
1585 },
1586 "metricShortId": {
1587 "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.",
1588 "items": {
1589 "$ref": "MetricShortId"
1590 },
1591 "type": "array"
1592 },
1593 "nextReportIndex": {
1594 "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.",
1595 "format": "int64",
1596 "type": "string"
1597 },
1598 "suggestedStopPoint": {
1599 "$ref": "ApproximateProgress",
1600 "description": "DEPRECATED in favor of split_request."
1531 } 1601 }
1532 }, 1602 },
1533 "type": "object" 1603 "type": "object"
1534 }, 1604 },
1535 "MetricStructuredName": { 1605 "MetricStructuredName": {
1536 "description": "Identifies a metric, by describing the source which generated the\nmetric.", 1606 "description": "Identifies a metric, by describing the source which generated the\nmetric.",
1537 "id": "MetricStructuredName", 1607 "id": "MetricStructuredName",
1538 "properties": { 1608 "properties": {
1539 "context": {
1540 "additionalProperties": {
1541 "type": "string"
1542 },
1543 "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>.",
1544 "type": "object"
1545 },
1546 "name": { 1609 "name": {
1547 "description": "Worker-defined metric name.", 1610 "description": "Worker-defined metric name.",
1548 "type": "string" 1611 "type": "string"
1549 }, 1612 },
1550 "origin": { 1613 "origin": {
1551 "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.", 1614 "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.",
1552 "type": "string" 1615 "type": "string"
1616 },
1617 "context": {
1618 "additionalProperties": {
1619 "type": "string"
1620 },
1621 "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>.",
1622 "type": "object"
1553 } 1623 }
1554 }, 1624 },
1555 "type": "object" 1625 "type": "object"
1556 }, 1626 },
1557 "SeqMapTaskOutputInfo": { 1627 "SeqMapTaskOutputInfo": {
1558 "description": "Information about an output of a SeqMapTask.", 1628 "description": "Information about an output of a SeqMapTask.",
1559 "id": "SeqMapTaskOutputInfo", 1629 "id": "SeqMapTaskOutputInfo",
1560 "properties": { 1630 "properties": {
1561 "tag": { 1631 "tag": {
1562 "description": "The id of the TupleTag the user code will ta g the output value by.", 1632 "description": "The id of the TupleTag the user code will ta g the output value by.",
(...skipping 17 matching lines...) Expand all
1580 }, 1650 },
1581 "type": "array" 1651 "type": "array"
1582 } 1652 }
1583 }, 1653 },
1584 "type": "object" 1654 "type": "object"
1585 }, 1655 },
1586 "KeyRangeLocation": { 1656 "KeyRangeLocation": {
1587 "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.", 1657 "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.",
1588 "id": "KeyRangeLocation", 1658 "id": "KeyRangeLocation",
1589 "properties": { 1659 "properties": {
1660 "dataDisk": {
1661 "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\".",
1662 "type": "string"
1663 },
1664 "start": {
1665 "description": "The start (inclusive) of the key range.",
1666 "type": "string"
1667 },
1590 "end": { 1668 "end": {
1591 "description": "The end (exclusive) of the key range.", 1669 "description": "The end (exclusive) of the key range.",
1592 "type": "string" 1670 "type": "string"
1593 }, 1671 },
1594 "deprecatedPersistentDirectory": { 1672 "deprecatedPersistentDirectory": {
1595 "description": "DEPRECATED. The location of the persistent s tate for this range, as a\npersistent directory in the worker local filesystem." , 1673 "description": "DEPRECATED. The location of the persistent s tate for this range, as a\npersistent directory in the worker local filesystem." ,
1596 "type": "string" 1674 "type": "string"
1597 }, 1675 },
1598 "deliveryEndpoint": { 1676 "deliveryEndpoint": {
1599 "description": "The physical location of this range assignme nt to be used for\nstreaming computation cross-worker message delivery.", 1677 "description": "The physical location of this range assignme nt to be used for\nstreaming computation cross-worker message delivery.",
1600 "type": "string" 1678 "type": "string"
1601 },
1602 "dataDisk": {
1603 "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\".",
1604 "type": "string"
1605 },
1606 "start": {
1607 "description": "The start (inclusive) of the key range.",
1608 "type": "string"
1609 } 1679 }
1610 }, 1680 },
1611 "type": "object" 1681 "type": "object"
1612 }, 1682 },
1613 "SourceGetMetadataRequest": { 1683 "SourceGetMetadataRequest": {
1614 "description": "A request to compute the SourceMetadata of a Source. ", 1684 "description": "A request to compute the SourceMetadata of a Source. ",
1615 "id": "SourceGetMetadataRequest", 1685 "id": "SourceGetMetadataRequest",
1616 "properties": { 1686 "properties": {
1617 "source": { 1687 "source": {
1618 "$ref": "Source", 1688 "$ref": "Source",
1619 "description": "Specification of the source whose metadata s hould be computed." 1689 "description": "Specification of the source whose metadata s hould be computed."
1620 } 1690 }
1621 }, 1691 },
1622 "type": "object" 1692 "type": "object"
1623 }, 1693 },
1694 "SeqMapTask": {
1695 "description": "Describes a particular function to invoke.",
1696 "id": "SeqMapTask",
1697 "properties": {
1698 "name": {
1699 "description": "The user-provided name of the SeqDo operatio n.",
1700 "type": "string"
1701 },
1702 "outputInfos": {
1703 "description": "Information about each of the outputs.",
1704 "items": {
1705 "$ref": "SeqMapTaskOutputInfo"
1706 },
1707 "type": "array"
1708 },
1709 "inputs": {
1710 "description": "Information about each of the inputs.",
1711 "items": {
1712 "$ref": "SideInputInfo"
1713 },
1714 "type": "array"
1715 },
1716 "stageName": {
1717 "description": "System-defined name of the stage containing the SeqDo operation.\nUnique across the workflow.",
1718 "type": "string"
1719 },
1720 "systemName": {
1721 "description": "System-defined name of the SeqDo operation.\ nUnique across the workflow.",
1722 "type": "string"
1723 },
1724 "userFn": {
1725 "additionalProperties": {
1726 "description": "Properties of the object.",
1727 "type": "any"
1728 },
1729 "description": "The user function to invoke.",
1730 "type": "object"
1731 }
1732 },
1733 "type": "object"
1734 },
1624 "NameAndKind": { 1735 "NameAndKind": {
1625 "description": "Basic metadata about a counter.", 1736 "description": "Basic metadata about a counter.",
1626 "id": "NameAndKind", 1737 "id": "NameAndKind",
1627 "properties": { 1738 "properties": {
1628 "name": { 1739 "name": {
1629 "description": "Name of the counter.", 1740 "description": "Name of the counter.",
1630 "type": "string" 1741 "type": "string"
1631 }, 1742 },
1632 "kind": { 1743 "kind": {
1633 "description": "Counter aggregation kind.", 1744 "description": "Counter aggregation kind.",
(...skipping 17 matching lines...) Expand all
1651 "Aggregated value represents the logical 'or' of all con tributed values.", 1762 "Aggregated value represents the logical 'or' of all con tributed values.",
1652 "Aggregated value represents the logical 'and' of all co ntributed values.", 1763 "Aggregated value represents the logical 'and' of all co ntributed values.",
1653 "Aggregated value is a set of unique contributed values. ", 1764 "Aggregated value is a set of unique contributed values. ",
1654 "Aggregated value captures statistics about a distributi on." 1765 "Aggregated value captures statistics about a distributi on."
1655 ], 1766 ],
1656 "type": "string" 1767 "type": "string"
1657 } 1768 }
1658 }, 1769 },
1659 "type": "object" 1770 "type": "object"
1660 }, 1771 },
1661 "SeqMapTask": {
1662 "description": "Describes a particular function to invoke.",
1663 "id": "SeqMapTask",
1664 "properties": {
1665 "systemName": {
1666 "description": "System-defined name of the SeqDo operation.\ nUnique across the workflow.",
1667 "type": "string"
1668 },
1669 "stageName": {
1670 "description": "System-defined name of the stage containing the SeqDo operation.\nUnique across the workflow.",
1671 "type": "string"
1672 },
1673 "userFn": {
1674 "additionalProperties": {
1675 "description": "Properties of the object.",
1676 "type": "any"
1677 },
1678 "description": "The user function to invoke.",
1679 "type": "object"
1680 },
1681 "name": {
1682 "description": "The user-provided name of the SeqDo operatio n.",
1683 "type": "string"
1684 },
1685 "outputInfos": {
1686 "description": "Information about each of the outputs.",
1687 "items": {
1688 "$ref": "SeqMapTaskOutputInfo"
1689 },
1690 "type": "array"
1691 },
1692 "inputs": {
1693 "description": "Information about each of the inputs.",
1694 "items": {
1695 "$ref": "SideInputInfo"
1696 },
1697 "type": "array"
1698 }
1699 },
1700 "type": "object"
1701 },
1702 "WorkerMessageCode": { 1772 "WorkerMessageCode": {
1703 "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).", 1773 "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).",
1704 "id": "WorkerMessageCode", 1774 "id": "WorkerMessageCode",
1705 "properties": { 1775 "properties": {
1776 "code": {
1777 "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.",
1778 "type": "string"
1779 },
1706 "parameters": { 1780 "parameters": {
1707 "additionalProperties": { 1781 "additionalProperties": {
1708 "description": "Properties of the object.", 1782 "description": "Properties of the object.",
1709 "type": "any" 1783 "type": "any"
1710 }, 1784 },
1711 "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.", 1785 "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.",
1712 "type": "object" 1786 "type": "object"
1713 },
1714 "code": {
1715 "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.",
1716 "type": "string"
1717 } 1787 }
1718 }, 1788 },
1719 "type": "object" 1789 "type": "object"
1720 }, 1790 },
1721 "CustomSourceLocation": { 1791 "CustomSourceLocation": {
1722 "description": "Identifies the location of a custom souce.", 1792 "description": "Identifies the location of a custom souce.",
1723 "id": "CustomSourceLocation", 1793 "id": "CustomSourceLocation",
1724 "properties": { 1794 "properties": {
1725 "stateful": { 1795 "stateful": {
1726 "description": "Whether this source is stateful.", 1796 "description": "Whether this source is stateful.",
1727 "type": "boolean" 1797 "type": "boolean"
1728 } 1798 }
1729 }, 1799 },
1730 "type": "object" 1800 "type": "object"
1731 }, 1801 },
1732 "MapTask": { 1802 "MapTask": {
1733 "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.", 1803 "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.",
1734 "id": "MapTask", 1804 "id": "MapTask",
1735 "properties": { 1805 "properties": {
1736 "instructions": {
1737 "description": "The instructions in the MapTask.",
1738 "items": {
1739 "$ref": "ParallelInstruction"
1740 },
1741 "type": "array"
1742 },
1743 "stageName": { 1806 "stageName": {
1744 "description": "System-defined name of the stage containing this MapTask.\nUnique across the workflow.", 1807 "description": "System-defined name of the stage containing this MapTask.\nUnique across the workflow.",
1745 "type": "string" 1808 "type": "string"
1746 }, 1809 },
1747 "systemName": { 1810 "systemName": {
1748 "description": "System-defined name of this MapTask.\nUnique across the workflow.", 1811 "description": "System-defined name of this MapTask.\nUnique across the workflow.",
1749 "type": "string" 1812 "type": "string"
1813 },
1814 "instructions": {
1815 "description": "The instructions in the MapTask.",
1816 "items": {
1817 "$ref": "ParallelInstruction"
1818 },
1819 "type": "array"
1750 } 1820 }
1751 }, 1821 },
1752 "type": "object" 1822 "type": "object"
1753 }, 1823 },
1754 "FloatingPointMean": { 1824 "FloatingPointMean": {
1755 "description": "A representation of a floating point mean metric con tribution.", 1825 "description": "A representation of a floating point mean metric con tribution.",
1756 "id": "FloatingPointMean", 1826 "id": "FloatingPointMean",
1757 "properties": { 1827 "properties": {
1758 "sum": { 1828 "sum": {
1759 "description": "The sum of all values being aggregated.", 1829 "description": "The sum of all values being aggregated.",
(...skipping 18 matching lines...) Expand all
1778 }, 1848 },
1779 "type": "array" 1849 "type": "array"
1780 } 1850 }
1781 }, 1851 },
1782 "type": "object" 1852 "type": "object"
1783 }, 1853 },
1784 "InstructionOutput": { 1854 "InstructionOutput": {
1785 "description": "An output of an instruction.", 1855 "description": "An output of an instruction.",
1786 "id": "InstructionOutput", 1856 "id": "InstructionOutput",
1787 "properties": { 1857 "properties": {
1788 "onlyCountValueBytes": {
1789 "description": "For system-generated byte and mean byte metr ics, certain instructions\nshould only report the value size.",
1790 "type": "boolean"
1791 },
1792 "codec": { 1858 "codec": {
1793 "additionalProperties": { 1859 "additionalProperties": {
1794 "description": "Properties of the object.", 1860 "description": "Properties of the object.",
1795 "type": "any" 1861 "type": "any"
1796 }, 1862 },
1797 "description": "The codec to use to encode data being writte n via this output.", 1863 "description": "The codec to use to encode data being writte n via this output.",
1798 "type": "object" 1864 "type": "object"
1799 }, 1865 },
1800 "name": { 1866 "name": {
1801 "description": "The user-provided name of this output.", 1867 "description": "The user-provided name of this output.",
1802 "type": "string" 1868 "type": "string"
1803 }, 1869 },
1804 "originalName": { 1870 "originalName": {
1805 "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.", 1871 "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.",
1806 "type": "string" 1872 "type": "string"
1807 }, 1873 },
1808 "systemName": { 1874 "systemName": {
1809 "description": "System-defined name of this output.\nUnique across the workflow.", 1875 "description": "System-defined name of this output.\nUnique across the workflow.",
1810 "type": "string" 1876 "type": "string"
1811 }, 1877 },
1812 "onlyCountKeyBytes": { 1878 "onlyCountKeyBytes": {
1813 "description": "For system-generated byte and mean byte metr ics, certain instructions\nshould only report the key size.", 1879 "description": "For system-generated byte and mean byte metr ics, certain instructions\nshould only report the key size.",
1814 "type": "boolean" 1880 "type": "boolean"
1881 },
1882 "onlyCountValueBytes": {
1883 "description": "For system-generated byte and mean byte metr ics, certain instructions\nshould only report the value size.",
1884 "type": "boolean"
1815 } 1885 }
1816 }, 1886 },
1817 "type": "object" 1887 "type": "object"
1818 }, 1888 },
1819 "CreateJobFromTemplateRequest": { 1889 "CreateJobFromTemplateRequest": {
1820 "description": "A request to create a Cloud Dataflow job from a temp late.", 1890 "description": "A request to create a Cloud Dataflow job from a temp late.",
1821 "id": "CreateJobFromTemplateRequest", 1891 "id": "CreateJobFromTemplateRequest",
1822 "properties": { 1892 "properties": {
1823 "gcsPath": { 1893 "gcsPath": {
1824 "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://`.", 1894 "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://`.",
(...skipping 18 matching lines...) Expand all
1843 "description": "Required. The job name to use for the create d job.", 1913 "description": "Required. The job name to use for the create d job.",
1844 "type": "string" 1914 "type": "string"
1845 } 1915 }
1846 }, 1916 },
1847 "type": "object" 1917 "type": "object"
1848 }, 1918 },
1849 "IntegerMean": { 1919 "IntegerMean": {
1850 "description": "A representation of an integer mean metric contribut ion.", 1920 "description": "A representation of an integer mean metric contribut ion.",
1851 "id": "IntegerMean", 1921 "id": "IntegerMean",
1852 "properties": { 1922 "properties": {
1923 "sum": {
1924 "$ref": "SplitInt64",
1925 "description": "The sum of all values being aggregated."
1926 },
1853 "count": { 1927 "count": {
1854 "$ref": "SplitInt64", 1928 "$ref": "SplitInt64",
1855 "description": "The number of values being aggregated." 1929 "description": "The number of values being aggregated."
1856 },
1857 "sum": {
1858 "$ref": "SplitInt64",
1859 "description": "The sum of all values being aggregated."
1860 } 1930 }
1861 }, 1931 },
1862 "type": "object" 1932 "type": "object"
1863 }, 1933 },
1864 "ListJobsResponse": { 1934 "ListJobsResponse": {
1865 "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.", 1935 "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.",
1866 "id": "ListJobsResponse", 1936 "id": "ListJobsResponse",
1867 "properties": { 1937 "properties": {
1868 "jobs": { 1938 "jobs": {
1869 "description": "A subset of the requested job information.", 1939 "description": "A subset of the requested job information.",
(...skipping 13 matching lines...) Expand all
1883 "description": "Set if there may be more results than fit in this response.", 1953 "description": "Set if there may be more results than fit in this response.",
1884 "type": "string" 1954 "type": "string"
1885 } 1955 }
1886 }, 1956 },
1887 "type": "object" 1957 "type": "object"
1888 }, 1958 },
1889 "ComputationTopology": { 1959 "ComputationTopology": {
1890 "description": "All configuration data for a particular Computation. ", 1960 "description": "All configuration data for a particular Computation. ",
1891 "id": "ComputationTopology", 1961 "id": "ComputationTopology",
1892 "properties": { 1962 "properties": {
1963 "outputs": {
1964 "description": "The outputs from the computation.",
1965 "items": {
1966 "$ref": "StreamLocation"
1967 },
1968 "type": "array"
1969 },
1970 "stateFamilies": {
1971 "description": "The state family values.",
1972 "items": {
1973 "$ref": "StateFamilyConfig"
1974 },
1975 "type": "array"
1976 },
1893 "systemStageName": { 1977 "systemStageName": {
1894 "description": "The system stage name.", 1978 "description": "The system stage name.",
1895 "type": "string" 1979 "type": "string"
1896 }, 1980 },
1897 "computationId": { 1981 "computationId": {
1898 "description": "The ID of the computation.", 1982 "description": "The ID of the computation.",
1899 "type": "string" 1983 "type": "string"
1900 }, 1984 },
1901 "inputs": { 1985 "inputs": {
1902 "description": "The inputs to the computation.", 1986 "description": "The inputs to the computation.",
1903 "items": { 1987 "items": {
1904 "$ref": "StreamLocation" 1988 "$ref": "StreamLocation"
1905 }, 1989 },
1906 "type": "array" 1990 "type": "array"
1907 }, 1991 },
1908 "keyRanges": { 1992 "keyRanges": {
1909 "description": "The key ranges processed by the computation. ", 1993 "description": "The key ranges processed by the computation. ",
1910 "items": { 1994 "items": {
1911 "$ref": "KeyRangeLocation" 1995 "$ref": "KeyRangeLocation"
1912 }, 1996 },
1913 "type": "array" 1997 "type": "array"
1914 },
1915 "stateFamilies": {
1916 "description": "The state family values.",
1917 "items": {
1918 "$ref": "StateFamilyConfig"
1919 },
1920 "type": "array"
1921 },
1922 "outputs": {
1923 "description": "The outputs from the computation.",
1924 "items": {
1925 "$ref": "StreamLocation"
1926 },
1927 "type": "array"
1928 } 1998 }
1929 }, 1999 },
1930 "type": "object" 2000 "type": "object"
1931 }, 2001 },
1932 "RuntimeEnvironment": { 2002 "RuntimeEnvironment": {
1933 "description": "The environment values to set at runtime.", 2003 "description": "The environment values to set at runtime.",
1934 "id": "RuntimeEnvironment", 2004 "id": "RuntimeEnvironment",
1935 "properties": { 2005 "properties": {
1936 "maxWorkers": {
1937 "description": "The maximum number of Google Compute Engine instances to be made\navailable to your pipeline during execution, from 1 to 100 0.",
1938 "format": "int32",
1939 "type": "integer"
1940 },
1941 "bypassTempDirValidation": {
1942 "description": "Whether to bypass the safety checks for the job's temporary directory.\nUse with caution.",
1943 "type": "boolean"
1944 },
1945 "serviceAccountEmail": { 2006 "serviceAccountEmail": {
1946 "description": "The email address of the service account to run the job as.", 2007 "description": "The email address of the service account to run the job as.",
1947 "type": "string" 2008 "type": "string"
1948 }, 2009 },
1949 "tempLocation": { 2010 "tempLocation": {
1950 "description": "The Cloud Storage path to use for temporary files.\nMust be a valid Cloud Storage URL, beginning with `gs://`.", 2011 "description": "The Cloud Storage path to use for temporary files.\nMust be a valid Cloud Storage URL, beginning with `gs://`.",
1951 "type": "string" 2012 "type": "string"
1952 }, 2013 },
2014 "bypassTempDirValidation": {
2015 "description": "Whether to bypass the safety checks for the job's temporary directory.\nUse with caution.",
2016 "type": "boolean"
2017 },
1953 "machineType": { 2018 "machineType": {
1954 "description": "The machine type to use for the job. Default s to the value from the\ntemplate if not specified.", 2019 "description": "The machine type to use for the job. Default s to the value from the\ntemplate if not specified.",
1955 "type": "string" 2020 "type": "string"
1956 }, 2021 },
1957 "zone": { 2022 "zone": {
1958 "description": "The Compute Engine [availability\nzone](http s://cloud.google.com/compute/docs/regions-zones/regions-zones)\nfor launching wo rker instances to run your pipeline.", 2023 "description": "The Compute Engine [availability\nzone](http s://cloud.google.com/compute/docs/regions-zones/regions-zones)\nfor launching wo rker instances to run your pipeline.",
1959 "type": "string" 2024 "type": "string"
2025 },
2026 "maxWorkers": {
2027 "description": "The maximum number of Google Compute Engine instances to be made\navailable to your pipeline during execution, from 1 to 100 0.",
2028 "format": "int32",
2029 "type": "integer"
1960 } 2030 }
1961 }, 2031 },
1962 "type": "object" 2032 "type": "object"
1963 },
1964 "MountedDataDisk": {
1965 "description": "Describes mounted data disk.",
1966 "id": "MountedDataDisk",
1967 "properties": {
1968 "dataDisk": {
1969 "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\".",
1970 "type": "string"
1971 }
1972 },
1973 "type": "object"
1974 }, 2033 },
1975 "StreamingSideInputLocation": { 2034 "StreamingSideInputLocation": {
1976 "description": "Identifies the location of a streaming side input.", 2035 "description": "Identifies the location of a streaming side input.",
1977 "id": "StreamingSideInputLocation", 2036 "id": "StreamingSideInputLocation",
1978 "properties": { 2037 "properties": {
1979 "tag": { 2038 "tag": {
1980 "description": "Identifies the particular side input within the streaming Dataflow job.", 2039 "description": "Identifies the particular side input within the streaming Dataflow job.",
1981 "type": "string" 2040 "type": "string"
1982 }, 2041 },
1983 "stateFamily": { 2042 "stateFamily": {
1984 "description": "Identifies the state family where this side input is stored.", 2043 "description": "Identifies the state family where this side input is stored.",
1985 "type": "string" 2044 "type": "string"
1986 } 2045 }
1987 }, 2046 },
1988 "type": "object" 2047 "type": "object"
1989 }, 2048 },
2049 "MountedDataDisk": {
2050 "description": "Describes mounted data disk.",
2051 "id": "MountedDataDisk",
2052 "properties": {
2053 "dataDisk": {
2054 "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\".",
2055 "type": "string"
2056 }
2057 },
2058 "type": "object"
2059 },
1990 "LaunchTemplateResponse": { 2060 "LaunchTemplateResponse": {
1991 "description": "Response to the request to launch a template.", 2061 "description": "Response to the request to launch a template.",
1992 "id": "LaunchTemplateResponse", 2062 "id": "LaunchTemplateResponse",
1993 "properties": { 2063 "properties": {
1994 "job": { 2064 "job": {
1995 "$ref": "Job", 2065 "$ref": "Job",
1996 "description": "The job that was launched, if the request wa s not a dry run and\nthe job was successfully launched." 2066 "description": "The job that was launched, if the request wa s not a dry run and\nthe job was successfully launched."
1997 } 2067 }
1998 }, 2068 },
1999 "type": "object" 2069 "type": "object"
2000 }, 2070 },
2071 "DerivedSource": {
2072 "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.",
2073 "id": "DerivedSource",
2074 "properties": {
2075 "derivationMode": {
2076 "description": "What source to base the produced source on ( if any).",
2077 "enum": [
2078 "SOURCE_DERIVATION_MODE_UNKNOWN",
2079 "SOURCE_DERIVATION_MODE_INDEPENDENT",
2080 "SOURCE_DERIVATION_MODE_CHILD_OF_CURRENT",
2081 "SOURCE_DERIVATION_MODE_SIBLING_OF_CURRENT"
2082 ],
2083 "enumDescriptions": [
2084 "The source derivation is unknown, or unspecified.",
2085 "Produce a completely independent Source with no base.",
2086 "Produce a Source based on the Source being split.",
2087 "Produce a Source based on the base of the Source being split."
2088 ],
2089 "type": "string"
2090 },
2091 "source": {
2092 "$ref": "Source",
2093 "description": "Specification of the source."
2094 }
2095 },
2096 "type": "object"
2097 },
2098 "DynamicSourceSplit": {
2099 "description": "When a task splits using WorkItemStatus.dynamic_sour ce_split, this\nmessage describes the two parts of the split relative to the\nde scription of the current task's input.",
2100 "id": "DynamicSourceSplit",
2101 "properties": {
2102 "residual": {
2103 "$ref": "DerivedSource",
2104 "description": "Residual part (returned to the pool of work) .\nSpecified relative to the previously-current source."
2105 },
2106 "primary": {
2107 "$ref": "DerivedSource",
2108 "description": "Primary part (continued to be processed by w orker).\nSpecified relative to the previously-current source.\nBecomes current."
2109 }
2110 },
2111 "type": "object"
2112 },
2001 "Job": { 2113 "Job": {
2002 "description": "Defines a job to be run by the Cloud Dataflow servic e.", 2114 "description": "Defines a job to be run by the Cloud Dataflow servic e.",
2003 "id": "Job", 2115 "id": "Job",
2004 "properties": { 2116 "properties": {
2117 "clientRequestId": {
2118 "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.",
2119 "type": "string"
2120 },
2121 "name": {
2122 "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])?`",
2123 "type": "string"
2124 },
2125 "steps": {
2126 "description": "The top-level steps that constitute the enti re job.",
2127 "items": {
2128 "$ref": "Step"
2129 },
2130 "type": "array"
2131 },
2132 "replacedByJobId": {
2133 "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.",
2134 "type": "string"
2135 },
2136 "executionInfo": {
2137 "$ref": "JobExecutionInfo",
2138 "description": "Deprecated."
2139 },
2140 "id": {
2141 "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.",
2142 "type": "string"
2143 },
2144 "currentState": {
2145 "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 .",
2146 "enum": [
2147 "JOB_STATE_UNKNOWN",
2148 "JOB_STATE_STOPPED",
2149 "JOB_STATE_RUNNING",
2150 "JOB_STATE_DONE",
2151 "JOB_STATE_FAILED",
2152 "JOB_STATE_CANCELLED",
2153 "JOB_STATE_UPDATED",
2154 "JOB_STATE_DRAINING",
2155 "JOB_STATE_DRAINED",
2156 "JOB_STATE_PENDING",
2157 "JOB_STATE_CANCELLING"
2158 ],
2159 "enumDescriptions": [
2160 "The job's run state isn't specified.",
2161 "`JOB_STATE_STOPPED` indicates that the job has not\nyet started to run.",
2162 "`JOB_STATE_RUNNING` indicates that the job is currently running.",
2163 "`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.",
2164 "`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`.",
2165 "`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.",
2166 "`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`.",
2167 "`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`.",
2168 "`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`.",
2169 "'JOB_STATE_PENDING' indicates that the job has been cre ated but is not yet\nrunning. Jobs that are pending may only transition to `JOB _STATE_RUNNING`,\nor `JOB_STATE_FAILED`.",
2170 "'JOB_STATE_CANCELLING' indicates that the job has been explicitly cancelled\nand is in the process of stopping. Jobs that are cancelli ng may only\ntransition to 'JOB_STATE_CANCELLED' or 'JOB_STATE_FAILED'."
2171 ],
2172 "type": "string"
2173 },
2174 "location": {
2175 "description": "The location that contains this job.",
2176 "type": "string"
2177 },
2005 "currentStateTime": { 2178 "currentStateTime": {
2006 "description": "The timestamp associated with the current st ate.", 2179 "description": "The timestamp associated with the current st ate.",
2007 "format": "google-datetime", 2180 "format": "google-datetime",
2008 "type": "string" 2181 "type": "string"
2009 }, 2182 },
2010 "transformNameMapping": { 2183 "transformNameMapping": {
2011 "additionalProperties": { 2184 "additionalProperties": {
2012 "type": "string" 2185 "type": "string"
2013 }, 2186 },
2014 "description": "The map of transform name prefixes of the jo b to be replaced to the\ncorresponding name prefixes of the new job.", 2187 "description": "The map of transform name prefixes of the jo b to be replaced to the\ncorresponding name prefixes of the new job.",
(...skipping 15 matching lines...) Expand all
2030 "format": "google-datetime", 2203 "format": "google-datetime",
2031 "type": "string" 2204 "type": "string"
2032 }, 2205 },
2033 "stageStates": { 2206 "stageStates": {
2034 "description": "This field may be mutated by the Cloud Dataf low service;\ncallers cannot mutate it.", 2207 "description": "This field may be mutated by the Cloud Dataf low service;\ncallers cannot mutate it.",
2035 "items": { 2208 "items": {
2036 "$ref": "ExecutionStageState" 2209 "$ref": "ExecutionStageState"
2037 }, 2210 },
2038 "type": "array" 2211 "type": "array"
2039 }, 2212 },
2213 "projectId": {
2214 "description": "The ID of the Cloud Platform project that th e job belongs to.",
2215 "type": "string"
2216 },
2040 "type": { 2217 "type": {
2041 "description": "The type of Cloud Dataflow job.", 2218 "description": "The type of Cloud Dataflow job.",
2042 "enum": [ 2219 "enum": [
2043 "JOB_TYPE_UNKNOWN", 2220 "JOB_TYPE_UNKNOWN",
2044 "JOB_TYPE_BATCH", 2221 "JOB_TYPE_BATCH",
2045 "JOB_TYPE_STREAMING" 2222 "JOB_TYPE_STREAMING"
2046 ], 2223 ],
2047 "enumDescriptions": [ 2224 "enumDescriptions": [
2048 "The type of the job is unspecified, or unknown.", 2225 "The type of the job is unspecified, or unknown.",
2049 "A batch job with a well-defined end point: data is read , data is\nprocessed, data is written, and the job is done.", 2226 "A batch job with a well-defined end point: data is read , data is\nprocessed, data is written, and the job is done.",
2050 "A continuously streaming job with no end: data is read, \nprocessed, and written continuously." 2227 "A continuously streaming job with no end: data is read, \nprocessed, and written continuously."
2051 ], 2228 ],
2052 "type": "string" 2229 "type": "string"
2053 }, 2230 },
2054 "projectId": {
2055 "description": "The ID of the Cloud Platform project that th e job belongs to.",
2056 "type": "string"
2057 },
2058 "pipelineDescription": { 2231 "pipelineDescription": {
2059 "$ref": "PipelineDescription", 2232 "$ref": "PipelineDescription",
2060 "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." 2233 "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."
2061 }, 2234 },
2062 "replaceJobId": { 2235 "replaceJobId": {
2063 "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.", 2236 "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.",
2064 "type": "string" 2237 "type": "string"
2065 }, 2238 },
2066 "requestedState": { 2239 "requestedState": {
2067 "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.", 2240 "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 24 matching lines...) Expand all
2092 "'JOB_STATE_CANCELLING' indicates that the job has been explicitly cancelled\nand is in the process of stopping. Jobs that are cancelli ng may only\ntransition to 'JOB_STATE_CANCELLED' or 'JOB_STATE_FAILED'." 2265 "'JOB_STATE_CANCELLING' indicates that the job has been explicitly cancelled\nand is in the process of stopping. Jobs that are cancelli ng may only\ntransition to 'JOB_STATE_CANCELLED' or 'JOB_STATE_FAILED'."
2093 ], 2266 ],
2094 "type": "string" 2267 "type": "string"
2095 }, 2268 },
2096 "tempFiles": { 2269 "tempFiles": {
2097 "description": "A set of files the system should be aware of that are used\nfor temporary storage. These temporary files will be\nremoved on job completion.\nNo duplicates are allowed.\nNo file patterns are supported.\n\ nThe supported files are:\n\nGoogle Cloud Storage:\n\n storage.googleapis.com/ {bucket}/{object}\n bucket.storage.googleapis.com/{object}", 2270 "description": "A set of files the system should be aware of that are used\nfor temporary storage. These temporary files will be\nremoved on job completion.\nNo duplicates are allowed.\nNo file patterns are supported.\n\ nThe supported files are:\n\nGoogle Cloud Storage:\n\n storage.googleapis.com/ {bucket}/{object}\n bucket.storage.googleapis.com/{object}",
2098 "items": { 2271 "items": {
2099 "type": "string" 2272 "type": "string"
2100 }, 2273 },
2101 "type": "array" 2274 "type": "array"
2102 },
2103 "clientRequestId": {
2104 "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.",
2105 "type": "string"
2106 },
2107 "name": {
2108 "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])?`",
2109 "type": "string"
2110 },
2111 "replacedByJobId": {
2112 "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.",
2113 "type": "string"
2114 },
2115 "steps": {
2116 "description": "The top-level steps that constitute the enti re job.",
2117 "items": {
2118 "$ref": "Step"
2119 },
2120 "type": "array"
2121 },
2122 "executionInfo": {
2123 "$ref": "JobExecutionInfo",
2124 "description": "Deprecated."
2125 },
2126 "id": {
2127 "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.",
2128 "type": "string"
2129 },
2130 "currentState": {
2131 "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 .",
2132 "enum": [
2133 "JOB_STATE_UNKNOWN",
2134 "JOB_STATE_STOPPED",
2135 "JOB_STATE_RUNNING",
2136 "JOB_STATE_DONE",
2137 "JOB_STATE_FAILED",
2138 "JOB_STATE_CANCELLED",
2139 "JOB_STATE_UPDATED",
2140 "JOB_STATE_DRAINING",
2141 "JOB_STATE_DRAINED",
2142 "JOB_STATE_PENDING",
2143 "JOB_STATE_CANCELLING"
2144 ],
2145 "enumDescriptions": [
2146 "The job's run state isn't specified.",
2147 "`JOB_STATE_STOPPED` indicates that the job has not\nyet started to run.",
2148 "`JOB_STATE_RUNNING` indicates that the job is currently running.",
2149 "`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.",
2150 "`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`.",
2151 "`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.",
2152 "`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`.",
2153 "`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`.",
2154 "`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`.",
2155 "'JOB_STATE_PENDING' indicates that the job has been cre ated but is not yet\nrunning. Jobs that are pending may only transition to `JOB _STATE_RUNNING`,\nor `JOB_STATE_FAILED`.",
2156 "'JOB_STATE_CANCELLING' indicates that the job has been explicitly cancelled\nand is in the process of stopping. Jobs that are cancelli ng may only\ntransition to 'JOB_STATE_CANCELLED' or 'JOB_STATE_FAILED'."
2157 ],
2158 "type": "string"
2159 },
2160 "location": {
2161 "description": "The location that contains this job.",
2162 "type": "string"
2163 } 2275 }
2164 }, 2276 },
2165 "type": "object" 2277 "type": "object"
2166 },
2167 "DynamicSourceSplit": {
2168 "description": "When a task splits using WorkItemStatus.dynamic_sour ce_split, this\nmessage describes the two parts of the split relative to the\nde scription of the current task's input.",
2169 "id": "DynamicSourceSplit",
2170 "properties": {
2171 "residual": {
2172 "$ref": "DerivedSource",
2173 "description": "Residual part (returned to the pool of work) .\nSpecified relative to the previously-current source."
2174 },
2175 "primary": {
2176 "$ref": "DerivedSource",
2177 "description": "Primary part (continued to be processed by w orker).\nSpecified relative to the previously-current source.\nBecomes current."
2178 }
2179 },
2180 "type": "object"
2181 },
2182 "DerivedSource": {
2183 "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.",
2184 "id": "DerivedSource",
2185 "properties": {
2186 "derivationMode": {
2187 "description": "What source to base the produced source on ( if any).",
2188 "enum": [
2189 "SOURCE_DERIVATION_MODE_UNKNOWN",
2190 "SOURCE_DERIVATION_MODE_INDEPENDENT",
2191 "SOURCE_DERIVATION_MODE_CHILD_OF_CURRENT",
2192 "SOURCE_DERIVATION_MODE_SIBLING_OF_CURRENT"
2193 ],
2194 "enumDescriptions": [
2195 "The source derivation is unknown, or unspecified.",
2196 "Produce a completely independent Source with no base.",
2197 "Produce a Source based on the Source being split.",
2198 "Produce a Source based on the base of the Source being split."
2199 ],
2200 "type": "string"
2201 },
2202 "source": {
2203 "$ref": "Source",
2204 "description": "Specification of the source."
2205 }
2206 },
2207 "type": "object"
2208 }, 2278 },
2209 "SourceOperationResponse": { 2279 "SourceOperationResponse": {
2210 "description": "The result of a SourceOperationRequest, specified in \nReportWorkItemStatusRequest.source_operation when the work item\nis completed. ", 2280 "description": "The result of a SourceOperationRequest, specified in \nReportWorkItemStatusRequest.source_operation when the work item\nis completed. ",
2211 "id": "SourceOperationResponse", 2281 "id": "SourceOperationResponse",
2212 "properties": { 2282 "properties": {
2283 "split": {
2284 "$ref": "SourceSplitResponse",
2285 "description": "A response to a request to split a source."
2286 },
2213 "getMetadata": { 2287 "getMetadata": {
2214 "$ref": "SourceGetMetadataResponse", 2288 "$ref": "SourceGetMetadataResponse",
2215 "description": "A response to a request to get metadata abou t a source." 2289 "description": "A response to a request to get metadata abou t a source."
2216 },
2217 "split": {
2218 "$ref": "SourceSplitResponse",
2219 "description": "A response to a request to split a source."
2220 } 2290 }
2221 }, 2291 },
2222 "type": "object" 2292 "type": "object"
2223 }, 2293 },
2224 "SendDebugCaptureResponse": {
2225 "description": "Response to a send capture request.\nnothing",
2226 "id": "SendDebugCaptureResponse",
2227 "properties": {},
2228 "type": "object"
2229 },
2230 "SideInputInfo": { 2294 "SideInputInfo": {
2231 "description": "Information about a side input of a DoFn or an input of a SeqDoFn.", 2295 "description": "Information about a side input of a DoFn or an input of a SeqDoFn.",
2232 "id": "SideInputInfo", 2296 "id": "SideInputInfo",
2233 "properties": { 2297 "properties": {
2234 "tag": { 2298 "tag": {
2235 "description": "The id of the tag the user code will access this side input by;\nthis should correspond to the tag of some MultiOutputInfo." , 2299 "description": "The id of the tag the user code will access this side input by;\nthis should correspond to the tag of some MultiOutputInfo." ,
2236 "type": "string" 2300 "type": "string"
2237 }, 2301 },
2238 "kind": { 2302 "kind": {
2239 "additionalProperties": { 2303 "additionalProperties": {
2240 "description": "Properties of the object.", 2304 "description": "Properties of the object.",
2241 "type": "any" 2305 "type": "any"
2242 }, 2306 },
2243 "description": "How to interpret the source element(s) as a side input value.", 2307 "description": "How to interpret the source element(s) as a side input value.",
2244 "type": "object" 2308 "type": "object"
2245 }, 2309 },
2246 "sources": { 2310 "sources": {
2247 "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.", 2311 "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.",
2248 "items": { 2312 "items": {
2249 "$ref": "Source" 2313 "$ref": "Source"
2250 }, 2314 },
2251 "type": "array" 2315 "type": "array"
2252 } 2316 }
2253 }, 2317 },
2254 "type": "object" 2318 "type": "object"
2255 }, 2319 },
2256 "CounterStructuredNameAndMetadata": { 2320 "SendDebugCaptureResponse": {
2257 "description": "A single message which encapsulates structured name and metadata for a given\ncounter.", 2321 "description": "Response to a send capture request.\nnothing",
2258 "id": "CounterStructuredNameAndMetadata", 2322 "id": "SendDebugCaptureResponse",
2323 "properties": {},
2324 "type": "object"
2325 },
2326 "WriteInstruction": {
2327 "description": "An instruction that writes records.\nTakes one input , produces no outputs.",
2328 "id": "WriteInstruction",
2259 "properties": { 2329 "properties": {
2260 "name": { 2330 "input": {
2261 "$ref": "CounterStructuredName", 2331 "$ref": "InstructionInput",
2262 "description": "Structured name of the counter." 2332 "description": "The input."
2263 }, 2333 },
2264 "metadata": { 2334 "sink": {
2265 "$ref": "CounterMetadata", 2335 "$ref": "Sink",
2266 "description": "Metadata associated with a counter" 2336 "description": "The sink to write to."
2267 } 2337 }
2268 }, 2338 },
2269 "type": "object" 2339 "type": "object"
2270 }, 2340 },
2271 "ConcatPosition": { 2341 "ConcatPosition": {
2272 "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.", 2342 "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.",
2273 "id": "ConcatPosition", 2343 "id": "ConcatPosition",
2274 "properties": { 2344 "properties": {
2345 "position": {
2346 "$ref": "Position",
2347 "description": "Position within the inner source."
2348 },
2275 "index": { 2349 "index": {
2276 "description": "Index of the inner source.", 2350 "description": "Index of the inner source.",
2277 "format": "int32", 2351 "format": "int32",
2278 "type": "integer" 2352 "type": "integer"
2279 },
2280 "position": {
2281 "$ref": "Position",
2282 "description": "Position within the inner source."
2283 } 2353 }
2284 }, 2354 },
2285 "type": "object" 2355 "type": "object"
2286 }, 2356 },
2287 "WriteInstruction": { 2357 "CounterStructuredNameAndMetadata": {
2288 "description": "An instruction that writes records.\nTakes one input , produces no outputs.", 2358 "description": "A single message which encapsulates structured name and metadata for a given\ncounter.",
2289 "id": "WriteInstruction", 2359 "id": "CounterStructuredNameAndMetadata",
2290 "properties": { 2360 "properties": {
2291 "input": { 2361 "name": {
2292 "$ref": "InstructionInput", 2362 "$ref": "CounterStructuredName",
2293 "description": "The input." 2363 "description": "Structured name of the counter."
2294 }, 2364 },
2295 "sink": { 2365 "metadata": {
2296 "$ref": "Sink", 2366 "$ref": "CounterMetadata",
2297 "description": "The sink to write to." 2367 "description": "Metadata associated with a counter"
2298 } 2368 }
2299 }, 2369 },
2300 "type": "object" 2370 "type": "object"
2301 },
2302 "StreamingComputationRanges": {
2303 "description": "Describes full or partial data disk assignment infor mation of the computation\nranges.",
2304 "id": "StreamingComputationRanges",
2305 "properties": {
2306 "rangeAssignments": {
2307 "description": "Data disk assignments for ranges from this c omputation.",
2308 "items": {
2309 "$ref": "KeyRangeDataDiskAssignment"
2310 },
2311 "type": "array"
2312 },
2313 "computationId": {
2314 "description": "The ID of the computation.",
2315 "type": "string"
2316 }
2317 },
2318 "type": "object"
2319 }, 2371 },
2320 "AutoscalingSettings": { 2372 "AutoscalingSettings": {
2321 "description": "Settings for WorkerPool autoscaling.", 2373 "description": "Settings for WorkerPool autoscaling.",
2322 "id": "AutoscalingSettings", 2374 "id": "AutoscalingSettings",
2323 "properties": { 2375 "properties": {
2324 "algorithm": { 2376 "algorithm": {
2325 "description": "The algorithm to use for autoscaling.", 2377 "description": "The algorithm to use for autoscaling.",
2326 "enum": [ 2378 "enum": [
2327 "AUTOSCALING_ALGORITHM_UNKNOWN", 2379 "AUTOSCALING_ALGORITHM_UNKNOWN",
2328 "AUTOSCALING_ALGORITHM_NONE", 2380 "AUTOSCALING_ALGORITHM_NONE",
2329 "AUTOSCALING_ALGORITHM_BASIC" 2381 "AUTOSCALING_ALGORITHM_BASIC"
2330 ], 2382 ],
2331 "enumDescriptions": [ 2383 "enumDescriptions": [
2332 "The algorithm is unknown, or unspecified.", 2384 "The algorithm is unknown, or unspecified.",
2333 "Disable autoscaling.", 2385 "Disable autoscaling.",
2334 "Increase worker count over time to reduce job execution time." 2386 "Increase worker count over time to reduce job execution time."
2335 ], 2387 ],
2336 "type": "string" 2388 "type": "string"
2337 }, 2389 },
2338 "maxNumWorkers": { 2390 "maxNumWorkers": {
2339 "description": "The maximum number of workers to cap scaling at.", 2391 "description": "The maximum number of workers to cap scaling at.",
2340 "format": "int32", 2392 "format": "int32",
2341 "type": "integer" 2393 "type": "integer"
2342 } 2394 }
2343 }, 2395 },
2344 "type": "object" 2396 "type": "object"
2345 }, 2397 },
2398 "StreamingComputationRanges": {
2399 "description": "Describes full or partial data disk assignment infor mation of the computation\nranges.",
2400 "id": "StreamingComputationRanges",
2401 "properties": {
2402 "computationId": {
2403 "description": "The ID of the computation.",
2404 "type": "string"
2405 },
2406 "rangeAssignments": {
2407 "description": "Data disk assignments for ranges from this c omputation.",
2408 "items": {
2409 "$ref": "KeyRangeDataDiskAssignment"
2410 },
2411 "type": "array"
2412 }
2413 },
2414 "type": "object"
2415 },
2346 "ExecutionStageSummary": { 2416 "ExecutionStageSummary": {
2347 "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.", 2417 "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.",
2348 "id": "ExecutionStageSummary", 2418 "id": "ExecutionStageSummary",
2349 "properties": { 2419 "properties": {
2350 "outputSource": { 2420 "outputSource": {
2351 "description": "Output sources for this stage.", 2421 "description": "Output sources for this stage.",
2352 "items": { 2422 "items": {
2353 "$ref": "StageSource" 2423 "$ref": "StageSource"
2354 }, 2424 },
2355 "type": "array" 2425 "type": "array"
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
2405 "Write transform.", 2475 "Write transform.",
2406 "Constructs from a constant value, such as with Create.o f.", 2476 "Constructs from a constant value, such as with Create.o f.",
2407 "Creates a Singleton view of a collection.", 2477 "Creates a Singleton view of a collection.",
2408 "Opening or closing a shuffle session, often as part of a GroupByKey." 2478 "Opening or closing a shuffle session, often as part of a GroupByKey."
2409 ], 2479 ],
2410 "type": "string" 2480 "type": "string"
2411 } 2481 }
2412 }, 2482 },
2413 "type": "object" 2483 "type": "object"
2414 }, 2484 },
2485 "LogBucket": {
2486 "description": "Bucket of values for Distribution's logarithmic hist ogram.",
2487 "id": "LogBucket",
2488 "properties": {
2489 "count": {
2490 "description": "Number of values in this bucket.",
2491 "format": "int64",
2492 "type": "string"
2493 },
2494 "log": {
2495 "description": "floor(log2(value)); defined to be zero for n onpositive values.\n log(-1) = 0\n log(0) = 0\n log(1) = 0\n log(2) = 1\n l og(3) = 1\n log(4) = 2\n log(5) = 2",
2496 "format": "int32",
2497 "type": "integer"
2498 }
2499 },
2500 "type": "object"
2501 },
2415 "SendWorkerMessagesRequest": { 2502 "SendWorkerMessagesRequest": {
2416 "description": "A request for sending worker messages to the service .", 2503 "description": "A request for sending worker messages to the service .",
2417 "id": "SendWorkerMessagesRequest", 2504 "id": "SendWorkerMessagesRequest",
2418 "properties": { 2505 "properties": {
2419 "location": {
2420 "description": "The location which contains the job",
2421 "type": "string"
2422 },
2423 "workerMessages": { 2506 "workerMessages": {
2424 "description": "The WorkerMessages to send.", 2507 "description": "The WorkerMessages to send.",
2425 "items": { 2508 "items": {
2426 "$ref": "WorkerMessage" 2509 "$ref": "WorkerMessage"
2427 }, 2510 },
2428 "type": "array" 2511 "type": "array"
2429 }
2430 },
2431 "type": "object"
2432 },
2433 "LogBucket": {
2434 "description": "Bucket of values for Distribution's logarithmic hist ogram.",
2435 "id": "LogBucket",
2436 "properties": {
2437 "log": {
2438 "description": "floor(log2(value)); defined to be zero for n onpositive values.\n log(-1) = 0\n log(0) = 0\n log(1) = 0\n log(2) = 1\n l og(3) = 1\n log(4) = 2\n log(5) = 2",
2439 "format": "int32",
2440 "type": "integer"
2441 }, 2512 },
2442 "count": { 2513 "location": {
2443 "description": "Number of values in this bucket.", 2514 "description": "The location which contains the job",
2444 "format": "int64",
2445 "type": "string" 2515 "type": "string"
2446 } 2516 }
2447 }, 2517 },
2448 "type": "object" 2518 "type": "object"
2449 }, 2519 },
2450 "SourceSplitShard": { 2520 "SourceSplitShard": {
2451 "description": "DEPRECATED in favor of DerivedSource.", 2521 "description": "DEPRECATED in favor of DerivedSource.",
2452 "id": "SourceSplitShard", 2522 "id": "SourceSplitShard",
2453 "properties": { 2523 "properties": {
2524 "source": {
2525 "$ref": "Source",
2526 "description": "DEPRECATED"
2527 },
2454 "derivationMode": { 2528 "derivationMode": {
2455 "description": "DEPRECATED", 2529 "description": "DEPRECATED",
2456 "enum": [ 2530 "enum": [
2457 "SOURCE_DERIVATION_MODE_UNKNOWN", 2531 "SOURCE_DERIVATION_MODE_UNKNOWN",
2458 "SOURCE_DERIVATION_MODE_INDEPENDENT", 2532 "SOURCE_DERIVATION_MODE_INDEPENDENT",
2459 "SOURCE_DERIVATION_MODE_CHILD_OF_CURRENT", 2533 "SOURCE_DERIVATION_MODE_CHILD_OF_CURRENT",
2460 "SOURCE_DERIVATION_MODE_SIBLING_OF_CURRENT" 2534 "SOURCE_DERIVATION_MODE_SIBLING_OF_CURRENT"
2461 ], 2535 ],
2462 "enumDescriptions": [ 2536 "enumDescriptions": [
2463 "The source derivation is unknown, or unspecified.", 2537 "The source derivation is unknown, or unspecified.",
2464 "Produce a completely independent Source with no base.", 2538 "Produce a completely independent Source with no base.",
2465 "Produce a Source based on the Source being split.", 2539 "Produce a Source based on the Source being split.",
2466 "Produce a Source based on the base of the Source being split." 2540 "Produce a Source based on the base of the Source being split."
2467 ], 2541 ],
2468 "type": "string" 2542 "type": "string"
2469 },
2470 "source": {
2471 "$ref": "Source",
2472 "description": "DEPRECATED"
2473 } 2543 }
2474 }, 2544 },
2475 "type": "object" 2545 "type": "object"
2476 }, 2546 },
2477 "CPUTime": { 2547 "CPUTime": {
2478 "description": "Modeled after information exposed by /proc/stat.", 2548 "description": "Modeled after information exposed by /proc/stat.",
2479 "id": "CPUTime", 2549 "id": "CPUTime",
2480 "properties": { 2550 "properties": {
2481 "rate": {
2482 "description": "Average CPU utilization rate (% non-idle cpu / second) since previous\nsample.",
2483 "format": "double",
2484 "type": "number"
2485 },
2486 "timestamp": { 2551 "timestamp": {
2487 "description": "Timestamp of the measurement.", 2552 "description": "Timestamp of the measurement.",
2488 "format": "google-datetime", 2553 "format": "google-datetime",
2489 "type": "string" 2554 "type": "string"
2490 }, 2555 },
2491 "totalMs": { 2556 "totalMs": {
2492 "description": "Total active CPU time across all cores (ie., non-idle) in milliseconds\nsince start-up.", 2557 "description": "Total active CPU time across all cores (ie., non-idle) in milliseconds\nsince start-up.",
2493 "format": "uint64", 2558 "format": "uint64",
2494 "type": "string" 2559 "type": "string"
2560 },
2561 "rate": {
2562 "description": "Average CPU utilization rate (% non-idle cpu / second) since previous\nsample.",
2563 "format": "double",
2564 "type": "number"
2495 } 2565 }
2496 }, 2566 },
2497 "type": "object" 2567 "type": "object"
2498 }, 2568 },
2499 "Environment": { 2569 "Environment": {
2500 "description": "Describes the environment in which a Dataflow Job ru ns.", 2570 "description": "Describes the environment in which a Dataflow Job ru ns.",
2501 "id": "Environment", 2571 "id": "Environment",
2502 "properties": { 2572 "properties": {
2503 "sdkPipelineOptions": { 2573 "serviceAccountEmail": {
2504 "additionalProperties": { 2574 "description": "Identity to run virtual machines as. Default s to the default account.",
2505 "description": "Properties of the object.", 2575 "type": "string"
2506 "type": "any"
2507 },
2508 "description": "The Cloud Dataflow SDK pipeline options spec ified by the user. These\noptions are passed through the service and are used to recreate the\nSDK pipeline options on the worker in a language agnostic and pla tform\nindependent way.",
2509 "type": "object"
2510 }, 2576 },
2511 "userAgent": { 2577 "userAgent": {
2512 "additionalProperties": { 2578 "additionalProperties": {
2513 "description": "Properties of the object.", 2579 "description": "Properties of the object.",
2514 "type": "any" 2580 "type": "any"
2515 }, 2581 },
2516 "description": "A description of the process that generated the request.", 2582 "description": "A description of the process that generated the request.",
2517 "type": "object" 2583 "type": "object"
2518 }, 2584 },
2585 "sdkPipelineOptions": {
2586 "additionalProperties": {
2587 "description": "Properties of the object.",
2588 "type": "any"
2589 },
2590 "description": "The Cloud Dataflow SDK pipeline options spec ified by the user. These\noptions are passed through the service and are used to recreate the\nSDK pipeline options on the worker in a language agnostic and pla tform\nindependent way.",
2591 "type": "object"
2592 },
2519 "clusterManagerApiService": { 2593 "clusterManagerApiService": {
2520 "description": "The type of cluster manager API to use. If unknown or\nunspecified, the service will attempt to choose a reasonable\ndefaul t. This should be in the form of the API service name,\ne.g. \"compute.googleap is.com\".", 2594 "description": "The type of cluster manager API to use. If unknown or\nunspecified, the service will attempt to choose a reasonable\ndefaul t. This should be in the form of the API service name,\ne.g. \"compute.googleap is.com\".",
2521 "type": "string" 2595 "type": "string"
2522 }, 2596 },
2523 "tempStoragePrefix": { 2597 "tempStoragePrefix": {
2524 "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}", 2598 "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}",
2525 "type": "string" 2599 "type": "string"
2526 }, 2600 },
2527 "workerPools": { 2601 "workerPools": {
2528 "description": "The worker pools. At least one \"harness\" w orker pool must be\nspecified in order for the job to have workers.", 2602 "description": "The worker pools. At least one \"harness\" w orker pool must be\nspecified in order for the job to have workers.",
(...skipping 21 matching lines...) Expand all
2550 "description": "Experimental settings.", 2624 "description": "Experimental settings.",
2551 "type": "object" 2625 "type": "object"
2552 }, 2626 },
2553 "version": { 2627 "version": {
2554 "additionalProperties": { 2628 "additionalProperties": {
2555 "description": "Properties of the object.", 2629 "description": "Properties of the object.",
2556 "type": "any" 2630 "type": "any"
2557 }, 2631 },
2558 "description": "A structure describing which components and their versions of the service\nare required in order to run the job.", 2632 "description": "A structure describing which components and their versions of the service\nare required in order to run the job.",
2559 "type": "object" 2633 "type": "object"
2560 },
2561 "serviceAccountEmail": {
2562 "description": "Identity to run virtual machines as. Default s to the default account.",
2563 "type": "string"
2564 } 2634 }
2565 }, 2635 },
2566 "type": "object" 2636 "type": "object"
2567 }, 2637 },
2568 "StreamingComputationTask": { 2638 "StreamingComputationTask": {
2569 "description": "A task which describes what action should be perform ed for the specified\nstreaming computation ranges.", 2639 "description": "A task which describes what action should be perform ed for the specified\nstreaming computation ranges.",
2570 "id": "StreamingComputationTask", 2640 "id": "StreamingComputationTask",
2571 "properties": { 2641 "properties": {
2642 "computationRanges": {
2643 "description": "Contains ranges of a streaming computation t his task should apply to.",
2644 "items": {
2645 "$ref": "StreamingComputationRanges"
2646 },
2647 "type": "array"
2648 },
2572 "dataDisks": { 2649 "dataDisks": {
2573 "description": "Describes the set of data disks this task sh ould apply to.", 2650 "description": "Describes the set of data disks this task sh ould apply to.",
2574 "items": { 2651 "items": {
2575 "$ref": "MountedDataDisk" 2652 "$ref": "MountedDataDisk"
2576 }, 2653 },
2577 "type": "array" 2654 "type": "array"
2578 }, 2655 },
2579 "taskType": { 2656 "taskType": {
2580 "description": "A type of streaming computation task.", 2657 "description": "A type of streaming computation task.",
2581 "enum": [ 2658 "enum": [
2582 "STREAMING_COMPUTATION_TASK_UNKNOWN", 2659 "STREAMING_COMPUTATION_TASK_UNKNOWN",
2583 "STREAMING_COMPUTATION_TASK_STOP", 2660 "STREAMING_COMPUTATION_TASK_STOP",
2584 "STREAMING_COMPUTATION_TASK_START" 2661 "STREAMING_COMPUTATION_TASK_START"
2585 ], 2662 ],
2586 "enumDescriptions": [ 2663 "enumDescriptions": [
2587 "The streaming computation task is unknown, or unspecifi ed.", 2664 "The streaming computation task is unknown, or unspecifi ed.",
2588 "Stop processing specified streaming computation range(s ).", 2665 "Stop processing specified streaming computation range(s ).",
2589 "Start processing specified streaming computation range( s)." 2666 "Start processing specified streaming computation range( s)."
2590 ], 2667 ],
2591 "type": "string" 2668 "type": "string"
2592 },
2593 "computationRanges": {
2594 "description": "Contains ranges of a streaming computation t his task should apply to.",
2595 "items": {
2596 "$ref": "StreamingComputationRanges"
2597 },
2598 "type": "array"
2599 } 2669 }
2600 }, 2670 },
2601 "type": "object" 2671 "type": "object"
2602 }, 2672 },
2603 "SendDebugCaptureRequest": { 2673 "SendDebugCaptureRequest": {
2604 "description": "Request to send encoded debug information.", 2674 "description": "Request to send encoded debug information.",
2605 "id": "SendDebugCaptureRequest", 2675 "id": "SendDebugCaptureRequest",
2606 "properties": { 2676 "properties": {
2677 "componentId": {
2678 "description": "The internal component id for which debug in formation is sent.",
2679 "type": "string"
2680 },
2607 "workerId": { 2681 "workerId": {
2608 "description": "The worker id, i.e., VM hostname.", 2682 "description": "The worker id, i.e., VM hostname.",
2609 "type": "string" 2683 "type": "string"
2610 }, 2684 },
2611 "location": { 2685 "location": {
2612 "description": "The location which contains the job specifie d by job_id.", 2686 "description": "The location which contains the job specifie d by job_id.",
2613 "type": "string" 2687 "type": "string"
2614 }, 2688 },
2615 "data": { 2689 "data": {
2616 "description": "The encoded debug information.", 2690 "description": "The encoded debug information.",
2617 "type": "string" 2691 "type": "string"
2618 },
2619 "componentId": {
2620 "description": "The internal component id for which debug in formation is sent.",
2621 "type": "string"
2622 } 2692 }
2623 }, 2693 },
2624 "type": "object" 2694 "type": "object"
2625 }, 2695 },
2626 "GetDebugConfigResponse": { 2696 "GetDebugConfigResponse": {
2627 "description": "Response to a get debug configuration request.", 2697 "description": "Response to a get debug configuration request.",
2628 "id": "GetDebugConfigResponse", 2698 "id": "GetDebugConfigResponse",
2629 "properties": { 2699 "properties": {
2630 "config": { 2700 "config": {
2631 "description": "The encoded debug configuration for the requ ested component.", 2701 "description": "The encoded debug configuration for the requ ested component.",
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
2675 "format": "int32", 2745 "format": "int32",
2676 "type": "integer" 2746 "type": "integer"
2677 } 2747 }
2678 }, 2748 },
2679 "type": "object" 2749 "type": "object"
2680 }, 2750 },
2681 "PubsubLocation": { 2751 "PubsubLocation": {
2682 "description": "Identifies a pubsub location to use for transferring data into or\nout of a streaming Dataflow job.", 2752 "description": "Identifies a pubsub location to use for transferring data into or\nout of a streaming Dataflow job.",
2683 "id": "PubsubLocation", 2753 "id": "PubsubLocation",
2684 "properties": { 2754 "properties": {
2755 "subscription": {
2756 "description": "A pubsub subscription, in the form of\n\"pub sub.googleapis.com/subscriptions/<project-id>/<subscription-name>\"",
2757 "type": "string"
2758 },
2685 "dropLateData": { 2759 "dropLateData": {
2686 "description": "Indicates whether the pipeline allows late-a rriving data.", 2760 "description": "Indicates whether the pipeline allows late-a rriving data.",
2687 "type": "boolean" 2761 "type": "boolean"
2688 }, 2762 },
2689 "trackingSubscription": { 2763 "trackingSubscription": {
2690 "description": "If set, specifies the pubsub subscription th at will be used for tracking\ncustom time timestamps for watermark estimation.", 2764 "description": "If set, specifies the pubsub subscription th at will be used for tracking\ncustom time timestamps for watermark estimation.",
2691 "type": "string" 2765 "type": "string"
2692 }, 2766 },
2693 "withAttributes": { 2767 "withAttributes": {
2694 "description": "If true, then the client has requested to ge t pubsub attributes.", 2768 "description": "If true, then the client has requested to ge t pubsub attributes.",
2695 "type": "boolean" 2769 "type": "boolean"
2696 }, 2770 },
2697 "idLabel": { 2771 "idLabel": {
2698 "description": "If set, contains a pubsub label from which t o extract record ids.\nIf left empty, record deduplication will be strictly best effort.", 2772 "description": "If set, contains a pubsub label from which t o extract record ids.\nIf left empty, record deduplication will be strictly best effort.",
2699 "type": "string" 2773 "type": "string"
2700 }, 2774 },
2701 "topic": { 2775 "topic": {
2702 "description": "A pubsub topic, in the form of\n\"pubsub.goo gleapis.com/topics/<project-id>/<topic-name>\"", 2776 "description": "A pubsub topic, in the form of\n\"pubsub.goo gleapis.com/topics/<project-id>/<topic-name>\"",
2703 "type": "string" 2777 "type": "string"
2704 }, 2778 },
2705 "timestampLabel": { 2779 "timestampLabel": {
2706 "description": "If set, contains a pubsub label from which t o extract record timestamps.\nIf left empty, record timestamps will be generated upon arrival.", 2780 "description": "If set, contains a pubsub label from which t o extract record timestamps.\nIf left empty, record timestamps will be generated upon arrival.",
2707 "type": "string" 2781 "type": "string"
2708 },
2709 "subscription": {
2710 "description": "A pubsub subscription, in the form of\n\"pub sub.googleapis.com/subscriptions/<project-id>/<subscription-name>\"",
2711 "type": "string"
2712 } 2782 }
2713 }, 2783 },
2714 "type": "object" 2784 "type": "object"
2715 }, 2785 },
2716 "WorkerHealthReport": { 2786 "WorkerHealthReport": {
2717 "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.", 2787 "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.",
2718 "id": "WorkerHealthReport", 2788 "id": "WorkerHealthReport",
2719 "properties": { 2789 "properties": {
2720 "vmStartupTime": {
2721 "description": "The time the VM was booted.",
2722 "format": "google-datetime",
2723 "type": "string"
2724 },
2725 "reportInterval": { 2790 "reportInterval": {
2726 "description": "The interval at which the worker is sending health reports.\nThe default value of 0 should be interpreted as the field is no t being\nexplicitly set by the worker.", 2791 "description": "The interval at which the worker is sending health reports.\nThe default value of 0 should be interpreted as the field is no t being\nexplicitly set by the worker.",
2727 "format": "google-duration", 2792 "format": "google-duration",
2728 "type": "string" 2793 "type": "string"
2729 }, 2794 },
2730 "vmIsHealthy": { 2795 "vmIsHealthy": {
2731 "description": "Whether the VM is healthy.", 2796 "description": "Whether the VM is healthy.",
2732 "type": "boolean" 2797 "type": "boolean"
2733 }, 2798 },
2734 "pods": { 2799 "pods": {
2735 "description": "The pods running on the worker. See:\nhttp:/ /kubernetes.io/v1.1/docs/api-reference/v1/definitions.html#_v1_pod\n\nThis field is used by the worker to send the status of the indvidual\ncontainers running o n each worker.", 2800 "description": "The pods running on the worker. See:\nhttp:/ /kubernetes.io/v1.1/docs/api-reference/v1/definitions.html#_v1_pod\n\nThis field is used by the worker to send the status of the indvidual\ncontainers running o n each worker.",
2736 "items": { 2801 "items": {
2737 "additionalProperties": { 2802 "additionalProperties": {
2738 "description": "Properties of the object.", 2803 "description": "Properties of the object.",
2739 "type": "any" 2804 "type": "any"
2740 }, 2805 },
2741 "type": "object" 2806 "type": "object"
2742 }, 2807 },
2743 "type": "array" 2808 "type": "array"
2809 },
2810 "vmStartupTime": {
2811 "description": "The time the VM was booted.",
2812 "format": "google-datetime",
2813 "type": "string"
2744 } 2814 }
2745 }, 2815 },
2746 "type": "object" 2816 "type": "object"
2747 }, 2817 },
2748 "JobMessage": { 2818 "JobMessage": {
2749 "description": "A particular message pertaining to a Dataflow job.", 2819 "description": "A particular message pertaining to a Dataflow job.",
2750 "id": "JobMessage", 2820 "id": "JobMessage",
2751 "properties": { 2821 "properties": {
2752 "time": {
2753 "description": "The timestamp of the message.",
2754 "format": "google-datetime",
2755 "type": "string"
2756 },
2757 "id": {
2758 "description": "Deprecated.",
2759 "type": "string"
2760 },
2761 "messageImportance": { 2822 "messageImportance": {
2762 "description": "Importance level of the message.", 2823 "description": "Importance level of the message.",
2763 "enum": [ 2824 "enum": [
2764 "JOB_MESSAGE_IMPORTANCE_UNKNOWN", 2825 "JOB_MESSAGE_IMPORTANCE_UNKNOWN",
2765 "JOB_MESSAGE_DEBUG", 2826 "JOB_MESSAGE_DEBUG",
2766 "JOB_MESSAGE_DETAILED", 2827 "JOB_MESSAGE_DETAILED",
2767 "JOB_MESSAGE_BASIC", 2828 "JOB_MESSAGE_BASIC",
2768 "JOB_MESSAGE_WARNING", 2829 "JOB_MESSAGE_WARNING",
2769 "JOB_MESSAGE_ERROR" 2830 "JOB_MESSAGE_ERROR"
2770 ], 2831 ],
2771 "enumDescriptions": [ 2832 "enumDescriptions": [
2772 "The message importance isn't specified, or is unknown." , 2833 "The message importance isn't specified, or is unknown." ,
2773 "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. ", 2834 "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. ",
2774 "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.", 2835 "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.",
2775 "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.", 2836 "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.",
2776 "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.", 2837 "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.",
2777 "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." 2838 "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."
2778 ], 2839 ],
2779 "type": "string" 2840 "type": "string"
2780 }, 2841 },
2781 "messageText": { 2842 "messageText": {
2782 "description": "The text of the message.", 2843 "description": "The text of the message.",
2783 "type": "string" 2844 "type": "string"
2845 },
2846 "time": {
2847 "description": "The timestamp of the message.",
2848 "format": "google-datetime",
2849 "type": "string"
2850 },
2851 "id": {
2852 "description": "Deprecated.",
2853 "type": "string"
2784 } 2854 }
2785 }, 2855 },
2786 "type": "object" 2856 "type": "object"
2787 }, 2857 },
2788 "ParameterMetadata": { 2858 "ParameterMetadata": {
2789 "description": "Metadata for a specific parameter.", 2859 "description": "Metadata for a specific parameter.",
2790 "id": "ParameterMetadata", 2860 "id": "ParameterMetadata",
2791 "properties": { 2861 "properties": {
2792 "regexes": { 2862 "regexes": {
2793 "description": "Optional. Regexes that the parameter must ma tch.", 2863 "description": "Optional. Regexes that the parameter must ma tch.",
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
2849 "$ref": "SourceMetadata", 2919 "$ref": "SourceMetadata",
2850 "description": "The computed metadata." 2920 "description": "The computed metadata."
2851 } 2921 }
2852 }, 2922 },
2853 "type": "object" 2923 "type": "object"
2854 }, 2924 },
2855 "AutoscalingEvent": { 2925 "AutoscalingEvent": {
2856 "description": "A structured message reporting an autoscaling decisi on made by the Dataflow\nservice.", 2926 "description": "A structured message reporting an autoscaling decisi on made by the Dataflow\nservice.",
2857 "id": "AutoscalingEvent", 2927 "id": "AutoscalingEvent",
2858 "properties": { 2928 "properties": {
2929 "time": {
2930 "description": "The time this event was emitted to indicate a new target or current\nnum_workers value.",
2931 "format": "google-datetime",
2932 "type": "string"
2933 },
2934 "description": {
2935 "$ref": "StructuredMessage",
2936 "description": "A message describing why the system decided to adjust the current\nnumber of workers, why it failed, or why the system decid ed to\nnot make any changes to the number of workers."
2937 },
2859 "eventType": { 2938 "eventType": {
2860 "description": "The type of autoscaling event to report.", 2939 "description": "The type of autoscaling event to report.",
2861 "enum": [ 2940 "enum": [
2862 "TYPE_UNKNOWN", 2941 "TYPE_UNKNOWN",
2863 "TARGET_NUM_WORKERS_CHANGED", 2942 "TARGET_NUM_WORKERS_CHANGED",
2864 "CURRENT_NUM_WORKERS_CHANGED", 2943 "CURRENT_NUM_WORKERS_CHANGED",
2865 "ACTUATION_FAILURE", 2944 "ACTUATION_FAILURE",
2866 "NO_CHANGE" 2945 "NO_CHANGE"
2867 ], 2946 ],
2868 "enumDescriptions": [ 2947 "enumDescriptions": [
2869 "Default type for the enum. Value should never be retur ned.", 2948 "Default type for the enum. Value should never be retur ned.",
2870 "The TARGET_NUM_WORKERS_CHANGED type should be used when the target\nworker pool size has changed at the start of an actuation. An event \nshould always be specified as TARGET_NUM_WORKERS_CHANGED if it reflects\na cha nge in the target_num_workers.", 2949 "The TARGET_NUM_WORKERS_CHANGED type should be used when the target\nworker pool size has changed at the start of an actuation. An event \nshould always be specified as TARGET_NUM_WORKERS_CHANGED if it reflects\na cha nge in the target_num_workers.",
2871 "The CURRENT_NUM_WORKERS_CHANGED type should be used whe n actual worker\npool size has been changed, but the target_num_workers has not changed.", 2950 "The CURRENT_NUM_WORKERS_CHANGED type should be used whe n actual worker\npool size has been changed, but the target_num_workers has not changed.",
2872 "The ACTUATION_FAILURE type should be used when we want to report\nan error to the user indicating why the current number of workers\nin the pool could not be changed.\nDisplayed in the current status and history wid gets.", 2951 "The ACTUATION_FAILURE type should be used when we want to report\nan error to the user indicating why the current number of workers\nin the pool could not be changed.\nDisplayed in the current status and history wid gets.",
2873 "Used when we want to report to the user a reason why we are\nnot currently adjusting the number of workers.\nShould specify both target _num_workers, current_num_workers and a\ndecision_message." 2952 "Used when we want to report to the user a reason why we are\nnot currently adjusting the number of workers.\nShould specify both target _num_workers, current_num_workers and a\ndecision_message."
2874 ], 2953 ],
2875 "type": "string" 2954 "type": "string"
2876 }, 2955 },
2877 "targetNumWorkers": { 2956 "targetNumWorkers": {
2878 "description": "The target number of workers the worker pool wants to resize to use.", 2957 "description": "The target number of workers the worker pool wants to resize to use.",
2879 "format": "int64", 2958 "format": "int64",
2880 "type": "string" 2959 "type": "string"
2881 }, 2960 },
2882 "currentNumWorkers": { 2961 "currentNumWorkers": {
2883 "description": "The current number of workers the job has.", 2962 "description": "The current number of workers the job has.",
2884 "format": "int64", 2963 "format": "int64",
2885 "type": "string" 2964 "type": "string"
2886 },
2887 "time": {
2888 "description": "The time this event was emitted to indicate a new target or current\nnum_workers value.",
2889 "format": "google-datetime",
2890 "type": "string"
2891 },
2892 "description": {
2893 "$ref": "StructuredMessage",
2894 "description": "A message describing why the system decided to adjust the current\nnumber of workers, why it failed, or why the system decid ed to\nnot make any changes to the number of workers."
2895 } 2965 }
2896 }, 2966 },
2897 "type": "object" 2967 "type": "object"
2898 }, 2968 },
2899 "MetricShortId": { 2969 "MetricShortId": {
2900 "description": "The metric short id is returned to the user alongsid e an offset into\nReportWorkItemStatusRequest", 2970 "description": "The metric short id is returned to the user alongsid e an offset into\nReportWorkItemStatusRequest",
2901 "id": "MetricShortId", 2971 "id": "MetricShortId",
2902 "properties": { 2972 "properties": {
2903 "metricIndex": { 2973 "metricIndex": {
2904 "description": "The index of the corresponding metric in\nth e ReportWorkItemStatusRequest. Required.", 2974 "description": "The index of the corresponding metric in\nth e ReportWorkItemStatusRequest. Required.",
(...skipping 21 matching lines...) Expand all
2926 "description": "The shell command to run.", 2996 "description": "The shell command to run.",
2927 "type": "string" 2997 "type": "string"
2928 } 2998 }
2929 }, 2999 },
2930 "type": "object" 3000 "type": "object"
2931 }, 3001 },
2932 "TaskRunnerSettings": { 3002 "TaskRunnerSettings": {
2933 "description": "Taskrunner configuration settings.", 3003 "description": "Taskrunner configuration settings.",
2934 "id": "TaskRunnerSettings", 3004 "id": "TaskRunnerSettings",
2935 "properties": { 3005 "properties": {
2936 "baseUrl": {
2937 "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/\"",
2938 "type": "string"
2939 },
2940 "logToSerialconsole": {
2941 "description": "Whether to send taskrunner log info to Googl e Compute Engine VM serial\nconsole.",
2942 "type": "boolean"
2943 },
2944 "continueOnException": {
2945 "description": "Whether to continue taskrunner if an excepti on is hit.",
2946 "type": "boolean"
2947 },
2948 "parallelWorkerSettings": { 3006 "parallelWorkerSettings": {
2949 "$ref": "WorkerSettings", 3007 "$ref": "WorkerSettings",
2950 "description": "The settings to pass to the parallel worker harness." 3008 "description": "The settings to pass to the parallel worker harness."
2951 }, 3009 },
3010 "vmId": {
3011 "description": "The ID string of the VM.",
3012 "type": "string"
3013 },
2952 "taskUser": { 3014 "taskUser": {
2953 "description": "The UNIX user ID on the worker VM to use for tasks launched by\ntaskrunner; e.g. \"root\".", 3015 "description": "The UNIX user ID on the worker VM to use for tasks launched by\ntaskrunner; e.g. \"root\".",
2954 "type": "string" 3016 "type": "string"
2955 }, 3017 },
2956 "vmId": {
2957 "description": "The ID string of the VM.",
2958 "type": "string"
2959 },
2960 "alsologtostderr": { 3018 "alsologtostderr": {
2961 "description": "Whether to also send taskrunner log info to stderr.", 3019 "description": "Whether to also send taskrunner log info to stderr.",
2962 "type": "boolean" 3020 "type": "boolean"
2963 }, 3021 },
2964 "taskGroup": { 3022 "taskGroup": {
2965 "description": "The UNIX group ID on the worker VM to use fo r tasks launched by\ntaskrunner; e.g. \"wheel\".", 3023 "description": "The UNIX group ID on the worker VM to use fo r tasks launched by\ntaskrunner; e.g. \"wheel\".",
2966 "type": "string" 3024 "type": "string"
2967 }, 3025 },
2968 "harnessCommand": { 3026 "harnessCommand": {
2969 "description": "The command to launch the worker harness.", 3027 "description": "The command to launch the worker harness.",
2970 "type": "string" 3028 "type": "string"
2971 }, 3029 },
2972 "logDir": { 3030 "logDir": {
2973 "description": "The directory on the VM to store logs.", 3031 "description": "The directory on the VM to store logs.",
2974 "type": "string" 3032 "type": "string"
2975 }, 3033 },
3034 "dataflowApiVersion": {
3035 "description": "The API version of endpoint, e.g. \"v1b3\"",
3036 "type": "string"
3037 },
2976 "oauthScopes": { 3038 "oauthScopes": {
2977 "description": "The OAuth2 scopes to be requested by the tas krunner in order to\naccess the Cloud Dataflow API.", 3039 "description": "The OAuth2 scopes to be requested by the tas krunner in order to\naccess the Cloud Dataflow API.",
2978 "items": { 3040 "items": {
2979 "type": "string" 3041 "type": "string"
2980 }, 3042 },
2981 "type": "array" 3043 "type": "array"
2982 }, 3044 },
2983 "dataflowApiVersion": { 3045 "streamingWorkerMainClass": {
2984 "description": "The API version of endpoint, e.g. \"v1b3\"", 3046 "description": "The streaming worker main class name.",
2985 "type": "string" 3047 "type": "string"
2986 }, 3048 },
2987 "logUploadLocation": { 3049 "logUploadLocation": {
2988 "description": "Indicates where to put logs. If this is not specified, the logs\nwill not be uploaded.\n\nThe supported resource type is:\n \nGoogle Cloud Storage:\n storage.googleapis.com/{bucket}/{object}\n bucket.st orage.googleapis.com/{object}", 3050 "description": "Indicates where to put logs. If this is not specified, the logs\nwill not be uploaded.\n\nThe supported resource type is:\n \nGoogle Cloud Storage:\n storage.googleapis.com/{bucket}/{object}\n bucket.st orage.googleapis.com/{object}",
2989 "type": "string" 3051 "type": "string"
2990 }, 3052 },
2991 "streamingWorkerMainClass": { 3053 "workflowFileName": {
2992 "description": "The streaming worker main class name.", 3054 "description": "The file to store the workflow in.",
2993 "type": "string" 3055 "type": "string"
2994 }, 3056 },
2995 "workflowFileName": { 3057 "commandlinesFileName": {
2996 "description": "The file to store the workflow in.", 3058 "description": "The file to store preprocessing commands in. ",
2997 "type": "string" 3059 "type": "string"
2998 }, 3060 },
2999 "languageHint": { 3061 "languageHint": {
3000 "description": "The suggested backend language.", 3062 "description": "The suggested backend language.",
3001 "type": "string" 3063 "type": "string"
3002 }, 3064 },
3003 "commandlinesFileName": { 3065 "baseTaskDir": {
3004 "description": "The file to store preprocessing commands in. ", 3066 "description": "The location on the worker for task-specific subdirectories.",
3005 "type": "string" 3067 "type": "string"
3006 }, 3068 },
3007 "tempStoragePrefix": { 3069 "tempStoragePrefix": {
3008 "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}", 3070 "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}",
3009 "type": "string" 3071 "type": "string"
3010 }, 3072 },
3011 "baseTaskDir": { 3073 "baseUrl": {
3012 "description": "The location on the worker for task-specific subdirectories.", 3074 "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/\"",
3013 "type": "string" 3075 "type": "string"
3076 },
3077 "logToSerialconsole": {
3078 "description": "Whether to send taskrunner log info to Googl e Compute Engine VM serial\nconsole.",
3079 "type": "boolean"
3080 },
3081 "continueOnException": {
3082 "description": "Whether to continue taskrunner if an excepti on is hit.",
3083 "type": "boolean"
3014 } 3084 }
3015 }, 3085 },
3016 "type": "object" 3086 "type": "object"
3017 }, 3087 },
3018 "Position": { 3088 "Position": {
3019 "description": "Position defines a position within a collection of d ata. The value\ncan be either the end position, a key (used with ordered\ncolle ctions), a byte offset, or a record index.", 3089 "description": "Position defines a position within a collection of d ata. The value\ncan be either the end position, a key (used with ordered\ncolle ctions), a byte offset, or a record index.",
3020 "id": "Position", 3090 "id": "Position",
3021 "properties": { 3091 "properties": {
3022 "recordIndex": { 3092 "recordIndex": {
3023 "description": "Position is a record index.", 3093 "description": "Position is a record index.",
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
3062 "format": "int32", 3132 "format": "int32",
3063 "type": "integer" 3133 "type": "integer"
3064 } 3134 }
3065 }, 3135 },
3066 "type": "object" 3136 "type": "object"
3067 }, 3137 },
3068 "Source": { 3138 "Source": {
3069 "description": "A source that records can be read and decoded from." , 3139 "description": "A source that records can be read and decoded from." ,
3070 "id": "Source", 3140 "id": "Source",
3071 "properties": { 3141 "properties": {
3142 "metadata": {
3143 "$ref": "SourceMetadata",
3144 "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."
3145 },
3146 "baseSpecs": {
3147 "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).",
3148 "items": {
3149 "additionalProperties": {
3150 "description": "Properties of the object.",
3151 "type": "any"
3152 },
3153 "type": "object"
3154 },
3155 "type": "array"
3156 },
3072 "doesNotNeedSplitting": { 3157 "doesNotNeedSplitting": {
3073 "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.", 3158 "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.",
3074 "type": "boolean" 3159 "type": "boolean"
3075 }, 3160 },
3076 "codec": { 3161 "codec": {
3077 "additionalProperties": { 3162 "additionalProperties": {
3078 "description": "Properties of the object.", 3163 "description": "Properties of the object.",
3079 "type": "any" 3164 "type": "any"
3080 }, 3165 },
3081 "description": "The codec to use to decode data read from th e source.", 3166 "description": "The codec to use to decode data read from th e source.",
3082 "type": "object" 3167 "type": "object"
3083 }, 3168 },
3084 "spec": { 3169 "spec": {
3085 "additionalProperties": { 3170 "additionalProperties": {
3086 "description": "Properties of the object.", 3171 "description": "Properties of the object.",
3087 "type": "any" 3172 "type": "any"
3088 }, 3173 },
3089 "description": "The source to read from, plus its parameters .", 3174 "description": "The source to read from, plus its parameters .",
3090 "type": "object" 3175 "type": "object"
3091 },
3092 "metadata": {
3093 "$ref": "SourceMetadata",
3094 "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."
3095 },
3096 "baseSpecs": {
3097 "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).",
3098 "items": {
3099 "additionalProperties": {
3100 "description": "Properties of the object.",
3101 "type": "any"
3102 },
3103 "type": "object"
3104 },
3105 "type": "array"
3106 } 3176 }
3107 }, 3177 },
3108 "type": "object" 3178 "type": "object"
3109 }, 3179 },
3110 "WorkerPool": { 3180 "WorkerPool": {
3111 "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.", 3181 "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.",
3112 "id": "WorkerPool", 3182 "id": "WorkerPool",
3113 "properties": { 3183 "properties": {
3184 "numThreadsPerWorker": {
3185 "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).",
3186 "format": "int32",
3187 "type": "integer"
3188 },
3189 "numWorkers": {
3190 "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.",
3191 "format": "int32",
3192 "type": "integer"
3193 },
3194 "zone": {
3195 "description": "Zone to run the worker pools in. If empty o r unspecified, the service\nwill attempt to choose a reasonable default.",
3196 "type": "string"
3197 },
3198 "diskSourceImage": {
3199 "description": "Fully qualified source image for disks.",
3200 "type": "string"
3201 },
3202 "packages": {
3203 "description": "Packages to be installed on workers.",
3204 "items": {
3205 "$ref": "Package"
3206 },
3207 "type": "array"
3208 },
3209 "teardownPolicy": {
3210 "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.",
3211 "enum": [
3212 "TEARDOWN_POLICY_UNKNOWN",
3213 "TEARDOWN_ALWAYS",
3214 "TEARDOWN_ON_SUCCESS",
3215 "TEARDOWN_NEVER"
3216 ],
3217 "enumDescriptions": [
3218 "The teardown policy isn't specified, or is unknown.",
3219 "Always teardown the resource.",
3220 "Teardown the resource on success. This is useful for de bugging\nfailures.",
3221 "Never teardown the resource. This is useful for debuggi ng and\ndevelopment."
3222 ],
3223 "type": "string"
3224 },
3225 "onHostMaintenance": {
3226 "description": "The action to take on host maintenance, as d efined by the Google\nCompute Engine API.",
3227 "type": "string"
3228 },
3229 "poolArgs": {
3230 "additionalProperties": {
3231 "description": "Properties of the object. Contains field @type with type URL.",
3232 "type": "any"
3233 },
3234 "description": "Extra arguments for this worker pool.",
3235 "type": "object"
3236 },
3237 "diskSizeGb": {
3238 "description": "Size of root disk for VMs, in GB. If zero o r unspecified, the service will\nattempt to choose a reasonable default.",
3239 "format": "int32",
3240 "type": "integer"
3241 },
3114 "workerHarnessContainerImage": { 3242 "workerHarnessContainerImage": {
3115 "description": "Required. Docker container image that execut es the Cloud Dataflow worker\nharness, residing in Google Container Registry.", 3243 "description": "Required. Docker container image that execut es the Cloud Dataflow worker\nharness, residing in Google Container Registry.",
3116 "type": "string" 3244 "type": "string"
3117 }, 3245 },
3246 "machineType": {
3247 "description": "Machine type (e.g. \"n1-standard-1\"). If e mpty or unspecified, the\nservice will attempt to choose a reasonable default.",
3248 "type": "string"
3249 },
3118 "diskType": { 3250 "diskType": {
3119 "description": "Type of root disk for VMs. If empty or unsp ecified, the service will\nattempt to choose a reasonable default.", 3251 "description": "Type of root disk for VMs. If empty or unsp ecified, the service will\nattempt to choose a reasonable default.",
3120 "type": "string" 3252 "type": "string"
3121 }, 3253 },
3122 "machineType": {
3123 "description": "Machine type (e.g. \"n1-standard-1\"). If e mpty or unspecified, the\nservice will attempt to choose a reasonable default.",
3124 "type": "string"
3125 },
3126 "kind": { 3254 "kind": {
3127 "description": "The kind of the worker pool; currently only `harness` and `shuffle`\nare supported.", 3255 "description": "The kind of the worker pool; currently only `harness` and `shuffle`\nare supported.",
3128 "type": "string" 3256 "type": "string"
3129 }, 3257 },
3130 "dataDisks": { 3258 "dataDisks": {
3131 "description": "Data disks that are used by a VM in this wor kflow.", 3259 "description": "Data disks that are used by a VM in this wor kflow.",
3132 "items": { 3260 "items": {
3133 "$ref": "Disk" 3261 "$ref": "Disk"
3134 }, 3262 },
3135 "type": "array" 3263 "type": "array"
3136 }, 3264 },
3137 "subnetwork": { 3265 "subnetwork": {
3138 "description": "Subnetwork to which VMs will be assigned, if desired. Expected to be of\nthe form \"regions/REGION/subnetworks/SUBNETWORK\" .", 3266 "description": "Subnetwork to which VMs will be assigned, if desired. Expected to be of\nthe form \"regions/REGION/subnetworks/SUBNETWORK\" .",
3139 "type": "string" 3267 "type": "string"
3140 }, 3268 },
3141 "ipConfiguration": { 3269 "ipConfiguration": {
3142 "description": "Configuration for VM IPs.", 3270 "description": "Configuration for VM IPs.",
3143 "enum": [ 3271 "enum": [
3144 "WORKER_IP_UNSPECIFIED", 3272 "WORKER_IP_UNSPECIFIED",
3145 "WORKER_IP_PUBLIC", 3273 "WORKER_IP_PUBLIC",
3146 "WORKER_IP_PRIVATE" 3274 "WORKER_IP_PRIVATE"
3147 ], 3275 ],
3148 "enumDescriptions": [ 3276 "enumDescriptions": [
3149 "The configuration is unknown, or unspecified.", 3277 "The configuration is unknown, or unspecified.",
3150 "Workers should have public IP addresses.", 3278 "Workers should have public IP addresses.",
3151 "Workers should have private IP addresses." 3279 "Workers should have private IP addresses."
3152 ], 3280 ],
3153 "type": "string" 3281 "type": "string"
3154 }, 3282 },
3283 "autoscalingSettings": {
3284 "$ref": "AutoscalingSettings",
3285 "description": "Settings for autoscaling of this WorkerPool. "
3286 },
3155 "taskrunnerSettings": { 3287 "taskrunnerSettings": {
3156 "$ref": "TaskRunnerSettings", 3288 "$ref": "TaskRunnerSettings",
3157 "description": "Settings passed through to Google Compute En gine workers when\nusing the standard Dataflow task runner. Users should ignore \nthis field." 3289 "description": "Settings passed through to Google Compute En gine workers when\nusing the standard Dataflow task runner. Users should ignore \nthis field."
3158 }, 3290 },
3159 "autoscalingSettings": {
3160 "$ref": "AutoscalingSettings",
3161 "description": "Settings for autoscaling of this WorkerPool. "
3162 },
3163 "metadata": { 3291 "metadata": {
3164 "additionalProperties": { 3292 "additionalProperties": {
3165 "type": "string" 3293 "type": "string"
3166 }, 3294 },
3167 "description": "Metadata to set on the Google Compute Engine VMs.", 3295 "description": "Metadata to set on the Google Compute Engine VMs.",
3168 "type": "object" 3296 "type": "object"
3169 }, 3297 },
3170 "network": {
3171 "description": "Network to which VMs will be assigned. If e mpty or unspecified,\nthe service will use the network \"default\".",
3172 "type": "string"
3173 },
3174 "defaultPackageSet": { 3298 "defaultPackageSet": {
3175 "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.", 3299 "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.",
3176 "enum": [ 3300 "enum": [
3177 "DEFAULT_PACKAGE_SET_UNKNOWN", 3301 "DEFAULT_PACKAGE_SET_UNKNOWN",
3178 "DEFAULT_PACKAGE_SET_NONE", 3302 "DEFAULT_PACKAGE_SET_NONE",
3179 "DEFAULT_PACKAGE_SET_JAVA", 3303 "DEFAULT_PACKAGE_SET_JAVA",
3180 "DEFAULT_PACKAGE_SET_PYTHON" 3304 "DEFAULT_PACKAGE_SET_PYTHON"
3181 ], 3305 ],
3182 "enumDescriptions": [ 3306 "enumDescriptions": [
3183 "The default set of packages to stage is unknown, or uns pecified.", 3307 "The default set of packages to stage is unknown, or uns pecified.",
3184 "Indicates that no packages should be staged at the work er unless\nexplicitly specified by the job.", 3308 "Indicates that no packages should be staged at the work er unless\nexplicitly specified by the job.",
3185 "Stage packages typically useful to workers written in J ava.", 3309 "Stage packages typically useful to workers written in J ava.",
3186 "Stage pacakges typically useful to workers written in P ython." 3310 "Stage pacakges typically useful to workers written in P ython."
3187 ], 3311 ],
3188 "type": "string" 3312 "type": "string"
3189 }, 3313 },
3190 "numThreadsPerWorker": { 3314 "network": {
3191 "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).", 3315 "description": "Network to which VMs will be assigned. If e mpty or unspecified,\nthe service will use the network \"default\".",
3192 "format": "int32",
3193 "type": "integer"
3194 },
3195 "numWorkers": {
3196 "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.",
3197 "format": "int32",
3198 "type": "integer"
3199 },
3200 "zone": {
3201 "description": "Zone to run the worker pools in. If empty o r unspecified, the service\nwill attempt to choose a reasonable default.",
3202 "type": "string" 3316 "type": "string"
3203 },
3204 "diskSourceImage": {
3205 "description": "Fully qualified source image for disks.",
3206 "type": "string"
3207 },
3208 "packages": {
3209 "description": "Packages to be installed on workers.",
3210 "items": {
3211 "$ref": "Package"
3212 },
3213 "type": "array"
3214 },
3215 "teardownPolicy": {
3216 "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.",
3217 "enum": [
3218 "TEARDOWN_POLICY_UNKNOWN",
3219 "TEARDOWN_ALWAYS",
3220 "TEARDOWN_ON_SUCCESS",
3221 "TEARDOWN_NEVER"
3222 ],
3223 "enumDescriptions": [
3224 "The teardown policy isn't specified, or is unknown.",
3225 "Always teardown the resource.",
3226 "Teardown the resource on success. This is useful for de bugging\nfailures.",
3227 "Never teardown the resource. This is useful for debuggi ng and\ndevelopment."
3228 ],
3229 "type": "string"
3230 },
3231 "onHostMaintenance": {
3232 "description": "The action to take on host maintenance, as d efined by the Google\nCompute Engine API.",
3233 "type": "string"
3234 },
3235 "poolArgs": {
3236 "additionalProperties": {
3237 "description": "Properties of the object. Contains field @type with type URL.",
3238 "type": "any"
3239 },
3240 "description": "Extra arguments for this worker pool.",
3241 "type": "object"
3242 },
3243 "diskSizeGb": {
3244 "description": "Size of root disk for VMs, in GB. If zero o r unspecified, the service will\nattempt to choose a reasonable default.",
3245 "format": "int32",
3246 "type": "integer"
3247 } 3317 }
3248 }, 3318 },
3249 "type": "object" 3319 "type": "object"
3250 }, 3320 },
3251 "SourceOperationRequest": { 3321 "SourceOperationRequest": {
3252 "description": "A work item that represents the different operations that can be\nperformed on a user-defined Source specification.", 3322 "description": "A work item that represents the different operations that can be\nperformed on a user-defined Source specification.",
3253 "id": "SourceOperationRequest", 3323 "id": "SourceOperationRequest",
3254 "properties": { 3324 "properties": {
3255 "getMetadata": { 3325 "getMetadata": {
3256 "$ref": "SourceGetMetadataRequest", 3326 "$ref": "SourceGetMetadataRequest",
3257 "description": "Information about a request to get metadata about a source." 3327 "description": "Information about a request to get metadata about a source."
3258 }, 3328 },
3259 "split": { 3329 "split": {
3260 "$ref": "SourceSplitRequest", 3330 "$ref": "SourceSplitRequest",
3261 "description": "Information about a request to split a sourc e." 3331 "description": "Information about a request to split a sourc e."
3262 } 3332 }
3263 }, 3333 },
3264 "type": "object" 3334 "type": "object"
3265 }, 3335 },
3266 "StructuredMessage": { 3336 "StructuredMessage": {
3267 "description": "A rich message format, including a human readable st ring, a key for\nidentifying the message, and structured data associated with th e message for\nprogrammatic consumption.", 3337 "description": "A rich message format, including a human readable st ring, a key for\nidentifying the message, and structured data associated with th e message for\nprogrammatic consumption.",
3268 "id": "StructuredMessage", 3338 "id": "StructuredMessage",
3269 "properties": { 3339 "properties": {
3340 "messageKey": {
3341 "description": "Idenfier for this message type. Used by ext ernal systems to\ninternationalize or personalize message.",
3342 "type": "string"
3343 },
3270 "messageText": { 3344 "messageText": {
3271 "description": "Human-readable version of message.", 3345 "description": "Human-readable version of message.",
3272 "type": "string" 3346 "type": "string"
3273 }, 3347 },
3274 "parameters": { 3348 "parameters": {
3275 "description": "The structured data associated with this mes sage.", 3349 "description": "The structured data associated with this mes sage.",
3276 "items": { 3350 "items": {
3277 "$ref": "Parameter" 3351 "$ref": "Parameter"
3278 }, 3352 },
3279 "type": "array" 3353 "type": "array"
3280 },
3281 "messageKey": {
3282 "description": "Idenfier for this message type. Used by ext ernal systems to\ninternationalize or personalize message.",
3283 "type": "string"
3284 } 3354 }
3285 }, 3355 },
3286 "type": "object" 3356 "type": "object"
3287 }, 3357 },
3288 "WorkItem": { 3358 "WorkItem": {
3289 "description": "WorkItem represents basic information about a WorkIt em to be executed\nin the cloud.", 3359 "description": "WorkItem represents basic information about a WorkIt em to be executed\nin the cloud.",
3290 "id": "WorkItem", 3360 "id": "WorkItem",
3291 "properties": { 3361 "properties": {
3362 "initialReportIndex": {
3363 "description": "The initial index to use when reporting the status of the WorkItem.",
3364 "format": "int64",
3365 "type": "string"
3366 },
3292 "streamingComputationTask": { 3367 "streamingComputationTask": {
3293 "$ref": "StreamingComputationTask", 3368 "$ref": "StreamingComputationTask",
3294 "description": "Additional information for StreamingComputat ionTask WorkItems." 3369 "description": "Additional information for StreamingComputat ionTask WorkItems."
3295 }, 3370 },
3296 "shellTask": { 3371 "shellTask": {
3297 "$ref": "ShellTask", 3372 "$ref": "ShellTask",
3298 "description": "Additional information for ShellTask WorkIte ms." 3373 "description": "Additional information for ShellTask WorkIte ms."
3299 }, 3374 },
3300 "jobId": { 3375 "jobId": {
3301 "description": "Identifies the workflow job this WorkItem be longs to.", 3376 "description": "Identifies the workflow job this WorkItem be longs to.",
(...skipping 20 matching lines...) Expand all
3322 "description": "Any required packages that need to be fetche d in order to execute\nthis WorkItem.", 3397 "description": "Any required packages that need to be fetche d in order to execute\nthis WorkItem.",
3323 "items": { 3398 "items": {
3324 "$ref": "Package" 3399 "$ref": "Package"
3325 }, 3400 },
3326 "type": "array" 3401 "type": "array"
3327 }, 3402 },
3328 "projectId": { 3403 "projectId": {
3329 "description": "Identifies the cloud project this WorkItem b elongs to.", 3404 "description": "Identifies the cloud project this WorkItem b elongs to.",
3330 "type": "string" 3405 "type": "string"
3331 }, 3406 },
3407 "streamingSetupTask": {
3408 "$ref": "StreamingSetupTask",
3409 "description": "Additional information for StreamingSetupTas k WorkItems."
3410 },
3332 "reportStatusInterval": { 3411 "reportStatusInterval": {
3333 "description": "Recommended reporting interval.", 3412 "description": "Recommended reporting interval.",
3334 "format": "google-duration", 3413 "format": "google-duration",
3335 "type": "string" 3414 "type": "string"
3336 }, 3415 },
3337 "streamingSetupTask": {
3338 "$ref": "StreamingSetupTask",
3339 "description": "Additional information for StreamingSetupTas k WorkItems."
3340 },
3341 "sourceOperationTask": { 3416 "sourceOperationTask": {
3342 "$ref": "SourceOperationRequest", 3417 "$ref": "SourceOperationRequest",
3343 "description": "Additional information for source operation WorkItems." 3418 "description": "Additional information for source operation WorkItems."
3344 }, 3419 },
3345 "streamingConfigTask": { 3420 "streamingConfigTask": {
3346 "$ref": "StreamingConfigTask", 3421 "$ref": "StreamingConfigTask",
3347 "description": "Additional information for StreamingConfigTa sk WorkItems." 3422 "description": "Additional information for StreamingConfigTa sk WorkItems."
3348 }, 3423 },
3349 "leaseExpireTime": { 3424 "leaseExpireTime": {
3350 "description": "Time when the lease on this Work will expire .", 3425 "description": "Time when the lease on this Work will expire .",
3351 "format": "google-datetime", 3426 "format": "google-datetime",
3352 "type": "string" 3427 "type": "string"
3353 },
3354 "initialReportIndex": {
3355 "description": "The initial index to use when reporting the status of the WorkItem.",
3356 "format": "int64",
3357 "type": "string"
3358 } 3428 }
3359 }, 3429 },
3360 "type": "object" 3430 "type": "object"
3431 },
3432 "ResourceUtilizationReport": {
3433 "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.",
3434 "id": "ResourceUtilizationReport",
3435 "properties": {
3436 "cpuTime": {
3437 "description": "CPU utilization samples.",
3438 "items": {
3439 "$ref": "CPUTime"
3440 },
3441 "type": "array"
3442 }
3443 },
3444 "type": "object"
3361 }, 3445 },
3362 "ReportedParallelism": { 3446 "ReportedParallelism": {
3363 "description": "Represents the level of parallelism in a WorkItem's input,\nreported by the worker.", 3447 "description": "Represents the level of parallelism in a WorkItem's input,\nreported by the worker.",
3364 "id": "ReportedParallelism", 3448 "id": "ReportedParallelism",
3365 "properties": { 3449 "properties": {
3366 "isInfinite": { 3450 "isInfinite": {
3367 "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.", 3451 "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.",
3368 "type": "boolean" 3452 "type": "boolean"
3369 }, 3453 },
3370 "value": { 3454 "value": {
3371 "description": "Specifies the level of parallelism in case i t is finite.", 3455 "description": "Specifies the level of parallelism in case i t is finite.",
3372 "format": "double", 3456 "format": "double",
3373 "type": "number" 3457 "type": "number"
3374 } 3458 }
3375 }, 3459 },
3376 "type": "object" 3460 "type": "object"
3377 }, 3461 },
3378 "ResourceUtilizationReport": {
3379 "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.",
3380 "id": "ResourceUtilizationReport",
3381 "properties": {
3382 "cpuTime": {
3383 "description": "CPU utilization samples.",
3384 "items": {
3385 "$ref": "CPUTime"
3386 },
3387 "type": "array"
3388 }
3389 },
3390 "type": "object"
3391 },
3392 "TopologyConfig": { 3462 "TopologyConfig": {
3393 "description": "Global topology of the streaming Dataflow job, inclu ding all\ncomputations and their sharded locations.", 3463 "description": "Global topology of the streaming Dataflow job, inclu ding all\ncomputations and their sharded locations.",
3394 "id": "TopologyConfig", 3464 "id": "TopologyConfig",
3395 "properties": { 3465 "properties": {
3396 "forwardingKeyBits": {
3397 "description": "The size (in bits) of keys that will be assi gned to source messages.",
3398 "format": "int32",
3399 "type": "integer"
3400 },
3401 "userStageToComputationNameMap": { 3466 "userStageToComputationNameMap": {
3402 "additionalProperties": { 3467 "additionalProperties": {
3403 "type": "string" 3468 "type": "string"
3404 }, 3469 },
3405 "description": "Maps user stage names to stable computation names.", 3470 "description": "Maps user stage names to stable computation names.",
3406 "type": "object" 3471 "type": "object"
3407 }, 3472 },
3408 "computations": { 3473 "computations": {
3409 "description": "The computations associated with a streaming Dataflow job.", 3474 "description": "The computations associated with a streaming Dataflow job.",
3410 "items": { 3475 "items": {
3411 "$ref": "ComputationTopology" 3476 "$ref": "ComputationTopology"
3412 }, 3477 },
3413 "type": "array" 3478 "type": "array"
3414 }, 3479 },
3415 "persistentStateVersion": { 3480 "persistentStateVersion": {
3416 "description": "Version number for persistent state.", 3481 "description": "Version number for persistent state.",
3417 "format": "int32", 3482 "format": "int32",
3418 "type": "integer" 3483 "type": "integer"
3419 }, 3484 },
3420 "dataDiskAssignments": { 3485 "dataDiskAssignments": {
3421 "description": "The disks assigned to a streaming Dataflow j ob.", 3486 "description": "The disks assigned to a streaming Dataflow j ob.",
3422 "items": { 3487 "items": {
3423 "$ref": "DataDiskAssignment" 3488 "$ref": "DataDiskAssignment"
3424 }, 3489 },
3425 "type": "array" 3490 "type": "array"
3491 },
3492 "forwardingKeyBits": {
3493 "description": "The size (in bits) of keys that will be assi gned to source messages.",
3494 "format": "int32",
3495 "type": "integer"
3426 } 3496 }
3427 }, 3497 },
3428 "type": "object" 3498 "type": "object"
3429 }, 3499 },
3430 "SourceSplitOptions": { 3500 "SourceSplitOptions": {
3431 "description": "Hints for splitting a Source into bundles (parts for parallel\nprocessing) using SourceSplitRequest.", 3501 "description": "Hints for splitting a Source into bundles (parts for parallel\nprocessing) using SourceSplitRequest.",
3432 "id": "SourceSplitOptions", 3502 "id": "SourceSplitOptions",
3433 "properties": { 3503 "properties": {
3434 "desiredBundleSizeBytes": { 3504 "desiredBundleSizeBytes": {
3435 "description": "The source should be split into a set of bun dles where the estimated size\nof each is approximately this many bytes.", 3505 "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
3452 "$ref": "Source", 3522 "$ref": "Source",
3453 "description": "The source to read from." 3523 "description": "The source to read from."
3454 } 3524 }
3455 }, 3525 },
3456 "type": "object" 3526 "type": "object"
3457 }, 3527 },
3458 "WorkerSettings": { 3528 "WorkerSettings": {
3459 "description": "Provides data to pass through to the worker harness. ", 3529 "description": "Provides data to pass through to the worker harness. ",
3460 "id": "WorkerSettings", 3530 "id": "WorkerSettings",
3461 "properties": { 3531 "properties": {
3532 "workerId": {
3533 "description": "The ID of the worker running this pipeline." ,
3534 "type": "string"
3535 },
3462 "tempStoragePrefix": { 3536 "tempStoragePrefix": {
3463 "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}", 3537 "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}",
3464 "type": "string" 3538 "type": "string"
3465 }, 3539 },
3466 "baseUrl": {
3467 "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/\"",
3468 "type": "string"
3469 },
3470 "reportingEnabled": { 3540 "reportingEnabled": {
3471 "description": "Whether to send work progress updates to the service.", 3541 "description": "Whether to send work progress updates to the service.",
3472 "type": "boolean" 3542 "type": "boolean"
3473 }, 3543 },
3544 "baseUrl": {
3545 "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/\"",
3546 "type": "string"
3547 },
3474 "servicePath": { 3548 "servicePath": {
3475 "description": "The Cloud Dataflow service path relative to the root URL, for example,\n\"dataflow/v1b3/projects\".", 3549 "description": "The Cloud Dataflow service path relative to the root URL, for example,\n\"dataflow/v1b3/projects\".",
3476 "type": "string" 3550 "type": "string"
3477 }, 3551 },
3478 "shuffleServicePath": { 3552 "shuffleServicePath": {
3479 "description": "The Shuffle service path relative to the roo t URL, for example,\n\"shuffle/v1beta1\".", 3553 "description": "The Shuffle service path relative to the roo t URL, for example,\n\"shuffle/v1beta1\".",
3480 "type": "string" 3554 "type": "string"
3481 },
3482 "workerId": {
3483 "description": "The ID of the worker running this pipeline." ,
3484 "type": "string"
3485 } 3555 }
3486 }, 3556 },
3487 "type": "object" 3557 "type": "object"
3488 }, 3558 },
3489 "StreamingStageLocation": { 3559 "StreamingStageLocation": {
3490 "description": "Identifies the location of a streaming computation s tage, for\nstage-to-stage communication.", 3560 "description": "Identifies the location of a streaming computation s tage, for\nstage-to-stage communication.",
3491 "id": "StreamingStageLocation", 3561 "id": "StreamingStageLocation",
3492 "properties": { 3562 "properties": {
3493 "streamId": { 3563 "streamId": {
3494 "description": "Identifies the particular stream within the streaming Dataflow\njob.", 3564 "description": "Identifies the particular stream within the streaming Dataflow\njob.",
3495 "type": "string" 3565 "type": "string"
3496 } 3566 }
3497 }, 3567 },
3498 "type": "object" 3568 "type": "object"
3499 }, 3569 },
3500 "DataDiskAssignment": { 3570 "DataDiskAssignment": {
3501 "description": "Data disk assignment for a given VM instance.", 3571 "description": "Data disk assignment for a given VM instance.",
3502 "id": "DataDiskAssignment", 3572 "id": "DataDiskAssignment",
3503 "properties": { 3573 "properties": {
3504 "vmInstance": {
3505 "description": "VM instance name the data disks mounted to, for example\n\"myproject-1014-104817-4c2-harness-0\".",
3506 "type": "string"
3507 },
3508 "dataDisks": { 3574 "dataDisks": {
3509 "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\" }.", 3575 "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\" }.",
3510 "items": { 3576 "items": {
3511 "type": "string" 3577 "type": "string"
3512 }, 3578 },
3513 "type": "array" 3579 "type": "array"
3580 },
3581 "vmInstance": {
3582 "description": "VM instance name the data disks mounted to, for example\n\"myproject-1014-104817-4c2-harness-0\".",
3583 "type": "string"
3514 } 3584 }
3515 }, 3585 },
3516 "type": "object" 3586 "type": "object"
3517 }, 3587 },
3518 "ApproximateSplitRequest": { 3588 "ApproximateSplitRequest": {
3519 "description": "A suggestion by the service to the worker to dynamic ally split the WorkItem.", 3589 "description": "A suggestion by the service to the worker to dynamic ally split the WorkItem.",
3520 "id": "ApproximateSplitRequest", 3590 "id": "ApproximateSplitRequest",
3521 "properties": { 3591 "properties": {
3592 "position": {
3593 "$ref": "Position",
3594 "description": "A Position at which to split the work item."
3595 },
3522 "fractionConsumed": { 3596 "fractionConsumed": {
3523 "description": "A fraction at which to split the work item, from 0.0 (beginning of the\ninput) to 1.0 (end of the input).", 3597 "description": "A fraction at which to split the work item, from 0.0 (beginning of the\ninput) to 1.0 (end of the input).",
3524 "format": "double", 3598 "format": "double",
3525 "type": "number" 3599 "type": "number"
3526 },
3527 "position": {
3528 "$ref": "Position",
3529 "description": "A Position at which to split the work item."
3530 } 3600 }
3531 }, 3601 },
3532 "type": "object" 3602 "type": "object"
3533 }, 3603 },
3534 "Status": { 3604 "Status": {
3535 "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` that can be used for common error conditions.\n\n# Lang uage 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` mess age is\nexposed in different client libraries and different wire protocols, it c an be\nmapped differently. For example, it will likely be mapped to some excepti ons\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\nenvironm ents, either with or without APIs, to provide a\nconsistent developer experience 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 m ay\n have a `Status` message for error reporting.\n\n- Batch operations. If a client uses batch request and batch response, the\n `Status` message should be used directly inside batch response, one for\n each error sub-response.\n\ n- Asynchronous operations. If an API call embeds asynchronous operation\n re sults in its response, the status of those operations should be\n represented directly using the `Status` message.\n\n- Logging. If some API errors are store d in logs, the message `Status` could\n be used directly after any stripping needed for security/privacy reasons.", 3605 "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` that can be used for common error conditions.\n\n# Lang uage 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` mess age is\nexposed in different client libraries and different wire protocols, it c an be\nmapped differently. For example, it will likely be mapped to some excepti ons\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\nenvironm ents, either with or without APIs, to provide a\nconsistent developer experience 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 m ay\n have a `Status` message for error reporting.\n\n- Batch operations. If a client uses batch request and batch response, the\n `Status` message should be used directly inside batch response, one for\n each error sub-response.\n\ n- Asynchronous operations. If an API call embeds asynchronous operation\n re sults in its response, the status of those operations should be\n represented directly using the `Status` message.\n\n- Logging. If some API errors are store d in logs, the message `Status` could\n be used directly after any stripping needed for security/privacy reasons.",
3536 "id": "Status", 3606 "id": "Status",
3537 "properties": { 3607 "properties": {
3538 "code": {
3539 "description": "The status code, which should be an enum val ue of google.rpc.Code.",
3540 "format": "int32",
3541 "type": "integer"
3542 },
3543 "message": {
3544 "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.",
3545 "type": "string"
3546 },
3547 "details": { 3608 "details": {
3548 "description": "A list of messages that carry the error deta ils. There will be a\ncommon set of message types for APIs to use.", 3609 "description": "A list of messages that carry the error deta ils. There is a common set of\nmessage types for APIs to use.",
3549 "items": { 3610 "items": {
3550 "additionalProperties": { 3611 "additionalProperties": {
3551 "description": "Properties of the object. Contains f ield @type with type URL.", 3612 "description": "Properties of the object. Contains f ield @type with type URL.",
3552 "type": "any" 3613 "type": "any"
3553 }, 3614 },
3554 "type": "object" 3615 "type": "object"
3555 }, 3616 },
3556 "type": "array" 3617 "type": "array"
3618 },
3619 "code": {
3620 "description": "The status code, which should be an enum val ue of google.rpc.Code.",
3621 "format": "int32",
3622 "type": "integer"
3623 },
3624 "message": {
3625 "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.",
3626 "type": "string"
3557 } 3627 }
3558 }, 3628 },
3559 "type": "object" 3629 "type": "object"
3560 }, 3630 },
3561 "ExecutionStageState": { 3631 "ExecutionStageState": {
3562 "description": "A message describing the state of a particular execu tion stage.", 3632 "description": "A message describing the state of a particular execu tion stage.",
3563 "id": "ExecutionStageState", 3633 "id": "ExecutionStageState",
3564 "properties": { 3634 "properties": {
3635 "executionStageName": {
3636 "description": "The name of the execution stage.",
3637 "type": "string"
3638 },
3565 "currentStateTime": { 3639 "currentStateTime": {
3566 "description": "The time at which the stage transitioned to this state.", 3640 "description": "The time at which the stage transitioned to this state.",
3567 "format": "google-datetime", 3641 "format": "google-datetime",
3568 "type": "string" 3642 "type": "string"
3569 }, 3643 },
3570 "executionStageState": { 3644 "executionStageState": {
3571 "description": "Executions stage states allow the same set o f values as JobState.", 3645 "description": "Executions stage states allow the same set o f values as JobState.",
3572 "enum": [ 3646 "enum": [
3573 "JOB_STATE_UNKNOWN", 3647 "JOB_STATE_UNKNOWN",
3574 "JOB_STATE_STOPPED", 3648 "JOB_STATE_STOPPED",
(...skipping 14 matching lines...) Expand all
3589 "`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.", 3663 "`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.",
3590 "`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`.", 3664 "`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`.",
3591 "`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.", 3665 "`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.",
3592 "`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`.", 3666 "`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`.",
3593 "`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`.", 3667 "`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`.",
3594 "`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`.", 3668 "`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`.",
3595 "'JOB_STATE_PENDING' indicates that the job has been cre ated but is not yet\nrunning. Jobs that are pending may only transition to `JOB _STATE_RUNNING`,\nor `JOB_STATE_FAILED`.", 3669 "'JOB_STATE_PENDING' indicates that the job has been cre ated but is not yet\nrunning. Jobs that are pending may only transition to `JOB _STATE_RUNNING`,\nor `JOB_STATE_FAILED`.",
3596 "'JOB_STATE_CANCELLING' indicates that the job has been explicitly cancelled\nand is in the process of stopping. Jobs that are cancelli ng may only\ntransition to 'JOB_STATE_CANCELLED' or 'JOB_STATE_FAILED'." 3670 "'JOB_STATE_CANCELLING' indicates that the job has been explicitly cancelled\nand is in the process of stopping. Jobs that are cancelli ng may only\ntransition to 'JOB_STATE_CANCELLED' or 'JOB_STATE_FAILED'."
3597 ], 3671 ],
3598 "type": "string" 3672 "type": "string"
3599 },
3600 "executionStageName": {
3601 "description": "The name of the execution stage.",
3602 "type": "string"
3603 } 3673 }
3604 }, 3674 },
3605 "type": "object" 3675 "type": "object"
3606 }, 3676 },
3607 "StreamLocation": { 3677 "StreamLocation": {
3608 "description": "Describes a stream of data, either as input to be pr ocessed or as\noutput of a streaming Dataflow job.", 3678 "description": "Describes a stream of data, either as input to be pr ocessed or as\noutput of a streaming Dataflow job.",
3609 "id": "StreamLocation", 3679 "id": "StreamLocation",
3610 "properties": { 3680 "properties": {
3681 "customSourceLocation": {
3682 "$ref": "CustomSourceLocation",
3683 "description": "The stream is a custom source."
3684 },
3611 "sideInputLocation": { 3685 "sideInputLocation": {
3612 "$ref": "StreamingSideInputLocation", 3686 "$ref": "StreamingSideInputLocation",
3613 "description": "The stream is a streaming side input." 3687 "description": "The stream is a streaming side input."
3614 }, 3688 },
3615 "pubsubLocation": { 3689 "pubsubLocation": {
3616 "$ref": "PubsubLocation", 3690 "$ref": "PubsubLocation",
3617 "description": "The stream is a pubsub stream." 3691 "description": "The stream is a pubsub stream."
3618 }, 3692 },
3619 "streamingStageLocation": { 3693 "streamingStageLocation": {
3620 "$ref": "StreamingStageLocation", 3694 "$ref": "StreamingStageLocation",
3621 "description": "The stream is part of another computation wi thin the current\nstreaming Dataflow job." 3695 "description": "The stream is part of another computation wi thin the current\nstreaming Dataflow job."
3622 },
3623 "customSourceLocation": {
3624 "$ref": "CustomSourceLocation",
3625 "description": "The stream is a custom source."
3626 } 3696 }
3627 }, 3697 },
3628 "type": "object" 3698 "type": "object"
3629 }, 3699 },
3630 "SendWorkerMessagesResponse": { 3700 "SendWorkerMessagesResponse": {
3631 "description": "The response to the worker messages.", 3701 "description": "The response to the worker messages.",
3632 "id": "SendWorkerMessagesResponse", 3702 "id": "SendWorkerMessagesResponse",
3633 "properties": { 3703 "properties": {
3634 "workerMessageResponses": { 3704 "workerMessageResponses": {
3635 "description": "The servers response to the worker messages. ", 3705 "description": "The servers response to the worker messages. ",
(...skipping 16 matching lines...) Expand all
3652 }, 3722 },
3653 "type": "array" 3723 "type": "array"
3654 } 3724 }
3655 }, 3725 },
3656 "type": "object" 3726 "type": "object"
3657 }, 3727 },
3658 "TransformSummary": { 3728 "TransformSummary": {
3659 "description": "Description of the type, names/ids, and input/output s for a transform.", 3729 "description": "Description of the type, names/ids, and input/output s for a transform.",
3660 "id": "TransformSummary", 3730 "id": "TransformSummary",
3661 "properties": { 3731 "properties": {
3732 "inputCollectionName": {
3733 "description": "User names for all collection inputs to this transform.",
3734 "items": {
3735 "type": "string"
3736 },
3737 "type": "array"
3738 },
3739 "name": {
3740 "description": "User provided name for this transform instan ce.",
3741 "type": "string"
3742 },
3662 "id": { 3743 "id": {
3663 "description": "SDK generated id of this transform instance. ", 3744 "description": "SDK generated id of this transform instance. ",
3664 "type": "string" 3745 "type": "string"
3665 }, 3746 },
3666 "displayData": { 3747 "displayData": {
3667 "description": "Transform-specific display data.", 3748 "description": "Transform-specific display data.",
3668 "items": { 3749 "items": {
3669 "$ref": "DisplayData" 3750 "$ref": "DisplayData"
3670 }, 3751 },
3671 "type": "array" 3752 "type": "array"
(...skipping 23 matching lines...) Expand all
3695 "ParDo transform.", 3776 "ParDo transform.",
3696 "Group By Key transform.", 3777 "Group By Key transform.",
3697 "Flatten transform.", 3778 "Flatten transform.",
3698 "Read transform.", 3779 "Read transform.",
3699 "Write transform.", 3780 "Write transform.",
3700 "Constructs from a constant value, such as with Create.o f.", 3781 "Constructs from a constant value, such as with Create.o f.",
3701 "Creates a Singleton view of a collection.", 3782 "Creates a Singleton view of a collection.",
3702 "Opening or closing a shuffle session, often as part of a GroupByKey." 3783 "Opening or closing a shuffle session, often as part of a GroupByKey."
3703 ], 3784 ],
3704 "type": "string" 3785 "type": "string"
3705 },
3706 "inputCollectionName": {
3707 "description": "User names for all collection inputs to this transform.",
3708 "items": {
3709 "type": "string"
3710 },
3711 "type": "array"
3712 },
3713 "name": {
3714 "description": "User provided name for this transform instan ce.",
3715 "type": "string"
3716 } 3786 }
3717 }, 3787 },
3718 "type": "object" 3788 "type": "object"
3719 }, 3789 },
3720 "StreamingComputationConfig": { 3790 "StreamingComputationConfig": {
3721 "description": "Configuration information for a single streaming com putation.", 3791 "description": "Configuration information for a single streaming com putation.",
3722 "id": "StreamingComputationConfig", 3792 "id": "StreamingComputationConfig",
3723 "properties": { 3793 "properties": {
3724 "computationId": {
3725 "description": "Unique identifier for this computation.",
3726 "type": "string"
3727 },
3728 "stageName": { 3794 "stageName": {
3729 "description": "Stage name of this computation.", 3795 "description": "Stage name of this computation.",
3730 "type": "string" 3796 "type": "string"
3731 }, 3797 },
3732 "systemName": { 3798 "systemName": {
3733 "description": "System defined name for this computation.", 3799 "description": "System defined name for this computation.",
3734 "type": "string" 3800 "type": "string"
3735 }, 3801 },
3736 "instructions": { 3802 "instructions": {
3737 "description": "Instructions that comprise the computation." , 3803 "description": "Instructions that comprise the computation." ,
3738 "items": { 3804 "items": {
3739 "$ref": "ParallelInstruction" 3805 "$ref": "ParallelInstruction"
3740 }, 3806 },
3741 "type": "array" 3807 "type": "array"
3808 },
3809 "computationId": {
3810 "description": "Unique identifier for this computation.",
3811 "type": "string"
3742 } 3812 }
3743 }, 3813 },
3744 "type": "object" 3814 "type": "object"
3745 }, 3815 },
3746 "Sink": { 3816 "Sink": {
3747 "description": "A sink that records can be encoded and written to.", 3817 "description": "A sink that records can be encoded and written to.",
3748 "id": "Sink", 3818 "id": "Sink",
3749 "properties": { 3819 "properties": {
3750 "codec": { 3820 "codec": {
3751 "additionalProperties": { 3821 "additionalProperties": {
(...skipping 11 matching lines...) Expand all
3763 "description": "The sink to write to, plus its parameters.", 3833 "description": "The sink to write to, plus its parameters.",
3764 "type": "object" 3834 "type": "object"
3765 } 3835 }
3766 }, 3836 },
3767 "type": "object" 3837 "type": "object"
3768 }, 3838 },
3769 "LaunchTemplateParameters": { 3839 "LaunchTemplateParameters": {
3770 "description": "Parameters to provide to the template being launched .", 3840 "description": "Parameters to provide to the template being launched .",
3771 "id": "LaunchTemplateParameters", 3841 "id": "LaunchTemplateParameters",
3772 "properties": { 3842 "properties": {
3773 "environment": {
3774 "$ref": "RuntimeEnvironment",
3775 "description": "The runtime environment for the job."
3776 },
3777 "parameters": { 3843 "parameters": {
3778 "additionalProperties": { 3844 "additionalProperties": {
3779 "type": "string" 3845 "type": "string"
3780 }, 3846 },
3781 "description": "The runtime parameters to pass to the job.", 3847 "description": "The runtime parameters to pass to the job.",
3782 "type": "object" 3848 "type": "object"
3783 }, 3849 },
3784 "jobName": { 3850 "jobName": {
3785 "description": "Required. The job name to use for the create d job.", 3851 "description": "Required. The job name to use for the create d job.",
3786 "type": "string" 3852 "type": "string"
3853 },
3854 "environment": {
3855 "$ref": "RuntimeEnvironment",
3856 "description": "The runtime environment for the job."
3787 } 3857 }
3788 }, 3858 },
3789 "type": "object" 3859 "type": "object"
3790 }, 3860 },
3791 "FlattenInstruction": { 3861 "FlattenInstruction": {
3792 "description": "An instruction that copies its inputs (zero or more) to its (single) output.", 3862 "description": "An instruction that copies its inputs (zero or more) to its (single) output.",
3793 "id": "FlattenInstruction", 3863 "id": "FlattenInstruction",
3794 "properties": { 3864 "properties": {
3795 "inputs": { 3865 "inputs": {
3796 "description": "Describes the inputs to the flatten instruct ion.", 3866 "description": "Describes the inputs to the flatten instruct ion.",
3797 "items": { 3867 "items": {
3798 "$ref": "InstructionInput" 3868 "$ref": "InstructionInput"
3799 }, 3869 },
3800 "type": "array" 3870 "type": "array"
3801 } 3871 }
3802 }, 3872 },
3803 "type": "object" 3873 "type": "object"
3804 }, 3874 },
3805 "PartialGroupByKeyInstruction": { 3875 "PartialGroupByKeyInstruction": {
3806 "description": "An instruction that does a partial group-by-key.\nOn e input and one output.", 3876 "description": "An instruction that does a partial group-by-key.\nOn e input and one output.",
3807 "id": "PartialGroupByKeyInstruction", 3877 "id": "PartialGroupByKeyInstruction",
3808 "properties": { 3878 "properties": {
3809 "originalCombineValuesInputStoreName": {
3810 "description": "If this instruction includes a combining fun ction this is the name of the\nintermediate store between the GBK and the Combin eValues.",
3811 "type": "string"
3812 },
3813 "sideInputs": {
3814 "description": "Zero or more side inputs.",
3815 "items": {
3816 "$ref": "SideInputInfo"
3817 },
3818 "type": "array"
3819 },
3820 "originalCombineValuesStepName": {
3821 "description": "If this instruction includes a combining fun ction, this is the name of the\nCombineValues instruction lifted into this instr uction.",
3822 "type": "string"
3823 },
3824 "input": {
3825 "$ref": "InstructionInput",
3826 "description": "Describes the input to the partial group-by- key instruction."
3827 },
3828 "inputElementCodec": { 3879 "inputElementCodec": {
3829 "additionalProperties": { 3880 "additionalProperties": {
3830 "description": "Properties of the object.", 3881 "description": "Properties of the object.",
3831 "type": "any" 3882 "type": "any"
3832 }, 3883 },
3833 "description": "The codec to use for interpreting an element in the input PTable.", 3884 "description": "The codec to use for interpreting an element in the input PTable.",
3834 "type": "object" 3885 "type": "object"
3835 }, 3886 },
3836 "valueCombiningFn": { 3887 "valueCombiningFn": {
3837 "additionalProperties": { 3888 "additionalProperties": {
3838 "description": "Properties of the object.", 3889 "description": "Properties of the object.",
3839 "type": "any" 3890 "type": "any"
3840 }, 3891 },
3841 "description": "The value combining function to invoke.", 3892 "description": "The value combining function to invoke.",
3842 "type": "object" 3893 "type": "object"
3894 },
3895 "originalCombineValuesInputStoreName": {
3896 "description": "If this instruction includes a combining fun ction this is the name of the\nintermediate store between the GBK and the Combin eValues.",
3897 "type": "string"
3898 },
3899 "originalCombineValuesStepName": {
3900 "description": "If this instruction includes a combining fun ction, this is the name of the\nCombineValues instruction lifted into this instr uction.",
3901 "type": "string"
3902 },
3903 "sideInputs": {
3904 "description": "Zero or more side inputs.",
3905 "items": {
3906 "$ref": "SideInputInfo"
3907 },
3908 "type": "array"
3909 },
3910 "input": {
3911 "$ref": "InstructionInput",
3912 "description": "Describes the input to the partial group-by- key instruction."
3843 } 3913 }
3844 }, 3914 },
3845 "type": "object" 3915 "type": "object"
3846 }, 3916 },
3847 "InstructionInput": { 3917 "InstructionInput": {
3848 "description": "An input of an instruction, as a reference to an out put of a\nproducer instruction.", 3918 "description": "An input of an instruction, as a reference to an out put of a\nproducer instruction.",
3849 "id": "InstructionInput", 3919 "id": "InstructionInput",
3850 "properties": { 3920 "properties": {
3851 "producerInstructionIndex": { 3921 "producerInstructionIndex": {
3852 "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.", 3922 "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.",
3853 "format": "int32", 3923 "format": "int32",
3854 "type": "integer" 3924 "type": "integer"
3855 }, 3925 },
3856 "outputNum": { 3926 "outputNum": {
3857 "description": "The output index (origin zero) within the pr oducer.", 3927 "description": "The output index (origin zero) within the pr oducer.",
3858 "format": "int32", 3928 "format": "int32",
3859 "type": "integer" 3929 "type": "integer"
3860 } 3930 }
3861 }, 3931 },
3862 "type": "object" 3932 "type": "object"
3863 }, 3933 },
3864 "StageSource": { 3934 "StageSource": {
3865 "description": "Description of an input or output of an execution st age.", 3935 "description": "Description of an input or output of an execution st age.",
3866 "id": "StageSource", 3936 "id": "StageSource",
3867 "properties": { 3937 "properties": {
3938 "userName": {
3939 "description": "Human-readable name for this source; may be user or system generated.",
3940 "type": "string"
3941 },
3942 "originalTransformOrCollection": {
3943 "description": "User name for the original user transform or collection with which this\nsource is most closely associated.",
3944 "type": "string"
3945 },
3868 "sizeBytes": { 3946 "sizeBytes": {
3869 "description": "Size of the source, if measurable.", 3947 "description": "Size of the source, if measurable.",
3870 "format": "int64", 3948 "format": "int64",
3871 "type": "string" 3949 "type": "string"
3872 }, 3950 },
3873 "name": { 3951 "name": {
3874 "description": "Dataflow service generated name for this sou rce.", 3952 "description": "Dataflow service generated name for this sou rce.",
3875 "type": "string" 3953 "type": "string"
3876 },
3877 "userName": {
3878 "description": "Human-readable name for this source; may be user or system generated.",
3879 "type": "string"
3880 },
3881 "originalTransformOrCollection": {
3882 "description": "User name for the original user transform or collection with which this\nsource is most closely associated.",
3883 "type": "string"
3884 } 3954 }
3885 }, 3955 },
3886 "type": "object" 3956 "type": "object"
3887 }, 3957 },
3888 "StringList": { 3958 "StringList": {
3889 "description": "A metric value representing a list of strings.", 3959 "description": "A metric value representing a list of strings.",
3890 "id": "StringList", 3960 "id": "StringList",
3891 "properties": { 3961 "properties": {
3892 "elements": { 3962 "elements": {
3893 "description": "Elements of the list.", 3963 "description": "Elements of the list.",
3894 "items": { 3964 "items": {
3895 "type": "string" 3965 "type": "string"
3896 }, 3966 },
3897 "type": "array" 3967 "type": "array"
3898 } 3968 }
3899 }, 3969 },
3900 "type": "object" 3970 "type": "object"
3901 }, 3971 },
3902 "DisplayData": { 3972 "DisplayData": {
3903 "description": "Data provided with a pipeline or transform to provid e descriptive info.", 3973 "description": "Data provided with a pipeline or transform to provid e descriptive info.",
3904 "id": "DisplayData", 3974 "id": "DisplayData",
3905 "properties": { 3975 "properties": {
3906 "timestampValue": { 3976 "strValue": {
3907 "description": "Contains value if the data is of timestamp t ype.", 3977 "description": "Contains value if the data is of string type .",
3908 "format": "google-datetime",
3909 "type": "string" 3978 "type": "string"
3910 }, 3979 },
3911 "boolValue": { 3980 "int64Value": {
3912 "description": "Contains value if the data is of a boolean t ype.", 3981 "description": "Contains value if the data is of int64 type. ",
3913 "type": "boolean" 3982 "format": "int64",
3914 },
3915 "javaClassValue": {
3916 "description": "Contains value if the data is of java class type.",
3917 "type": "string"
3918 },
3919 "strValue": {
3920 "description": "Contains value if the data is of string type .",
3921 "type": "string" 3983 "type": "string"
3922 }, 3984 },
3923 "durationValue": { 3985 "durationValue": {
3924 "description": "Contains value if the data is of duration ty pe.", 3986 "description": "Contains value if the data is of duration ty pe.",
3925 "format": "google-duration", 3987 "format": "google-duration",
3926 "type": "string" 3988 "type": "string"
3927 }, 3989 },
3928 "int64Value": {
3929 "description": "Contains value if the data is of int64 type. ",
3930 "format": "int64",
3931 "type": "string"
3932 },
3933 "namespace": { 3990 "namespace": {
3934 "description": "The namespace for the key. This is usually a class name or programming\nlanguage namespace (i.e. python module) which define s the display data.\nThis allows a dax monitoring system to specially handle the data\nand perform custom rendering.", 3991 "description": "The namespace for the key. This is usually a class name or programming\nlanguage namespace (i.e. python module) which define s the display data.\nThis allows a dax monitoring system to specially handle the data\nand perform custom rendering.",
3935 "type": "string" 3992 "type": "string"
3936 }, 3993 },
3937 "floatValue": { 3994 "floatValue": {
3938 "description": "Contains value if the data is of float type. ", 3995 "description": "Contains value if the data is of float type. ",
3939 "format": "float", 3996 "format": "float",
3940 "type": "number" 3997 "type": "number"
3941 }, 3998 },
3942 "key": { 3999 "key": {
3943 "description": "The key identifying the display data.\nThis is intended to be used as a label for the display data\nwhen viewed in a dax mon itoring system.", 4000 "description": "The key identifying the display data.\nThis is intended to be used as a label for the display data\nwhen viewed in a dax mon itoring system.",
3944 "type": "string" 4001 "type": "string"
3945 }, 4002 },
3946 "shortStrValue": { 4003 "shortStrValue": {
3947 "description": "A possible additional shorter value to displ ay.\nFor example a java_class_name_value of com.mypackage.MyDoFn\nwill be stored with MyDoFn as the short_str_value and\ncom.mypackage.MyDoFn as the java_class_ name value.\nshort_str_value can be displayed and java_class_name_value\nwill be displayed as a tooltip.", 4004 "description": "A possible additional shorter value to displ ay.\nFor example a java_class_name_value of com.mypackage.MyDoFn\nwill be stored with MyDoFn as the short_str_value and\ncom.mypackage.MyDoFn as the java_class_ name value.\nshort_str_value can be displayed and java_class_name_value\nwill be displayed as a tooltip.",
3948 "type": "string" 4005 "type": "string"
3949 }, 4006 },
4007 "label": {
4008 "description": "An optional label to display in a dax UI for the element.",
4009 "type": "string"
4010 },
3950 "url": { 4011 "url": {
3951 "description": "An optional full URL.", 4012 "description": "An optional full URL.",
3952 "type": "string" 4013 "type": "string"
3953 }, 4014 },
3954 "label": { 4015 "timestampValue": {
3955 "description": "An optional label to display in a dax UI for the element.", 4016 "description": "Contains value if the data is of timestamp t ype.",
4017 "format": "google-datetime",
3956 "type": "string" 4018 "type": "string"
4019 },
4020 "javaClassValue": {
4021 "description": "Contains value if the data is of java class type.",
4022 "type": "string"
4023 },
4024 "boolValue": {
4025 "description": "Contains value if the data is of a boolean t ype.",
4026 "type": "boolean"
3957 } 4027 }
3958 }, 4028 },
3959 "type": "object" 4029 "type": "object"
3960 }, 4030 },
3961 "GetDebugConfigRequest": { 4031 "GetDebugConfigRequest": {
3962 "description": "Request to get updated debug configuration for compo nent.", 4032 "description": "Request to get updated debug configuration for compo nent.",
3963 "id": "GetDebugConfigRequest", 4033 "id": "GetDebugConfigRequest",
3964 "properties": { 4034 "properties": {
3965 "componentId": {
3966 "description": "The internal component id for which debug co nfiguration is\nrequested.",
3967 "type": "string"
3968 },
3969 "workerId": { 4035 "workerId": {
3970 "description": "The worker id, i.e., VM hostname.", 4036 "description": "The worker id, i.e., VM hostname.",
3971 "type": "string" 4037 "type": "string"
3972 }, 4038 },
3973 "location": { 4039 "location": {
3974 "description": "The location which contains the job specifie d by job_id.", 4040 "description": "The location which contains the job specifie d by job_id.",
3975 "type": "string" 4041 "type": "string"
4042 },
4043 "componentId": {
4044 "description": "The internal component id for which debug co nfiguration is\nrequested.",
4045 "type": "string"
3976 } 4046 }
3977 }, 4047 },
3978 "type": "object" 4048 "type": "object"
3979 }, 4049 },
3980 "LeaseWorkItemRequest": { 4050 "LeaseWorkItemRequest": {
3981 "description": "Request to lease WorkItems.", 4051 "description": "Request to lease WorkItems.",
3982 "id": "LeaseWorkItemRequest", 4052 "id": "LeaseWorkItemRequest",
3983 "properties": { 4053 "properties": {
3984 "currentWorkerTime": {
3985 "description": "The current timestamp at the worker.",
3986 "format": "google-datetime",
3987 "type": "string"
3988 },
3989 "workItemTypes": {
3990 "description": "Filter for WorkItem type.",
3991 "items": {
3992 "type": "string"
3993 },
3994 "type": "array"
3995 },
3996 "location": {
3997 "description": "The location which contains the WorkItem's j ob.",
3998 "type": "string"
3999 },
4000 "workerCapabilities": { 4054 "workerCapabilities": {
4001 "description": "Worker capabilities. WorkItems might be limi ted to workers with specific\ncapabilities.", 4055 "description": "Worker capabilities. WorkItems might be limi ted to workers with specific\ncapabilities.",
4002 "items": { 4056 "items": {
4003 "type": "string" 4057 "type": "string"
4004 }, 4058 },
4005 "type": "array" 4059 "type": "array"
4006 }, 4060 },
4007 "workerId": { 4061 "workerId": {
4008 "description": "Identifies the worker leasing work -- typica lly the ID of the\nvirtual machine running the worker.", 4062 "description": "Identifies the worker leasing work -- typica lly the ID of the\nvirtual machine running the worker.",
4009 "type": "string" 4063 "type": "string"
4010 }, 4064 },
4011 "requestedLeaseDuration": { 4065 "requestedLeaseDuration": {
4012 "description": "The initial lease period.", 4066 "description": "The initial lease period.",
4013 "format": "google-duration", 4067 "format": "google-duration",
4014 "type": "string" 4068 "type": "string"
4069 },
4070 "currentWorkerTime": {
4071 "description": "The current timestamp at the worker.",
4072 "format": "google-datetime",
4073 "type": "string"
4074 },
4075 "workItemTypes": {
4076 "description": "Filter for WorkItem type.",
4077 "items": {
4078 "type": "string"
4079 },
4080 "type": "array"
4081 },
4082 "location": {
4083 "description": "The location which contains the WorkItem's j ob.",
4084 "type": "string"
4015 } 4085 }
4016 }, 4086 },
4017 "type": "object" 4087 "type": "object"
4018 }, 4088 },
4019 "GetTemplateResponse": { 4089 "GetTemplateResponse": {
4020 "description": "The response to a GetTemplate request.", 4090 "description": "The response to a GetTemplate request.",
4021 "id": "GetTemplateResponse", 4091 "id": "GetTemplateResponse",
4022 "properties": { 4092 "properties": {
4093 "status": {
4094 "$ref": "Status",
4095 "description": "The status of the get template request. Any problems with the\nrequest will be indicated in the error_details."
4096 },
4023 "metadata": { 4097 "metadata": {
4024 "$ref": "TemplateMetadata", 4098 "$ref": "TemplateMetadata",
4025 "description": "The template metadata describing the templat e name, available\nparameters, etc." 4099 "description": "The template metadata describing the templat e name, available\nparameters, etc."
4026 },
4027 "status": {
4028 "$ref": "Status",
4029 "description": "The status of the get template request. Any problems with the\nrequest will be indicated in the error_details."
4030 } 4100 }
4031 }, 4101 },
4032 "type": "object" 4102 "type": "object"
4033 }, 4103 },
4034 "Parameter": { 4104 "Parameter": {
4035 "description": "Structured data associated with this message.", 4105 "description": "Structured data associated with this message.",
4036 "id": "Parameter", 4106 "id": "Parameter",
4037 "properties": { 4107 "properties": {
4108 "key": {
4109 "description": "Key or name for this parameter.",
4110 "type": "string"
4111 },
4038 "value": { 4112 "value": {
4039 "description": "Value for this parameter.", 4113 "description": "Value for this parameter.",
4040 "type": "any" 4114 "type": "any"
4041 },
4042 "key": {
4043 "description": "Key or name for this parameter.",
4044 "type": "string"
4045 } 4115 }
4046 }, 4116 },
4047 "type": "object" 4117 "type": "object"
4048 }, 4118 },
4049 "ReportWorkItemStatusRequest": { 4119 "ReportWorkItemStatusRequest": {
4050 "description": "Request to report the status of WorkItems.", 4120 "description": "Request to report the status of WorkItems.",
4051 "id": "ReportWorkItemStatusRequest", 4121 "id": "ReportWorkItemStatusRequest",
4052 "properties": { 4122 "properties": {
4053 "workItemStatuses": { 4123 "workItemStatuses": {
4054 "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.", 4124 "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.",
(...skipping 11 matching lines...) Expand all
4066 "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).", 4136 "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).",
4067 "type": "string" 4137 "type": "string"
4068 }, 4138 },
4069 "location": { 4139 "location": {
4070 "description": "The location which contains the WorkItem's j ob.", 4140 "description": "The location which contains the WorkItem's j ob.",
4071 "type": "string" 4141 "type": "string"
4072 } 4142 }
4073 }, 4143 },
4074 "type": "object" 4144 "type": "object"
4075 }, 4145 },
4146 "StreamingConfigTask": {
4147 "description": "A task that carries configuration information for st reaming computations.",
4148 "id": "StreamingConfigTask",
4149 "properties": {
4150 "windmillServiceEndpoint": {
4151 "description": "If present, the worker must use this endpoin t to communicate with Windmill\nService dispatchers, otherwise the worker must c ontinue to use whatever\nendpoint it had been using.",
4152 "type": "string"
4153 },
4154 "userStepToStateFamilyNameMap": {
4155 "additionalProperties": {
4156 "type": "string"
4157 },
4158 "description": "Map from user step names to state families." ,
4159 "type": "object"
4160 },
4161 "windmillServicePort": {
4162 "description": "If present, the worker must use this port to communicate with Windmill\nService dispatchers. Only applicable when windmill_s ervice_endpoint is\nspecified.",
4163 "format": "int64",
4164 "type": "string"
4165 },
4166 "streamingComputationConfigs": {
4167 "description": "Set of computation configuration information .",
4168 "items": {
4169 "$ref": "StreamingComputationConfig"
4170 },
4171 "type": "array"
4172 }
4173 },
4174 "type": "object"
4175 },
4076 "PipelineDescription": { 4176 "PipelineDescription": {
4077 "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." , 4177 "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." ,
4078 "id": "PipelineDescription", 4178 "id": "PipelineDescription",
4079 "properties": { 4179 "properties": {
4080 "displayData": {
4081 "description": "Pipeline level display data.",
4082 "items": {
4083 "$ref": "DisplayData"
4084 },
4085 "type": "array"
4086 },
4087 "executionPipelineStage": { 4180 "executionPipelineStage": {
4088 "description": "Description of each stage of execution of th e pipeline.", 4181 "description": "Description of each stage of execution of th e pipeline.",
4089 "items": { 4182 "items": {
4090 "$ref": "ExecutionStageSummary" 4183 "$ref": "ExecutionStageSummary"
4091 }, 4184 },
4092 "type": "array" 4185 "type": "array"
4093 }, 4186 },
4094 "originalPipelineTransform": { 4187 "originalPipelineTransform": {
4095 "description": "Description of each transform in the pipelin e and collections between them.", 4188 "description": "Description of each transform in the pipelin e and collections between them.",
4096 "items": { 4189 "items": {
4097 "$ref": "TransformSummary" 4190 "$ref": "TransformSummary"
4098 }, 4191 },
4099 "type": "array" 4192 "type": "array"
4193 },
4194 "displayData": {
4195 "description": "Pipeline level display data.",
4196 "items": {
4197 "$ref": "DisplayData"
4198 },
4199 "type": "array"
4100 } 4200 }
4101 }, 4201 },
4102 "type": "object" 4202 "type": "object"
4103 },
4104 "StreamingConfigTask": {
4105 "description": "A task that carries configuration information for st reaming computations.",
4106 "id": "StreamingConfigTask",
4107 "properties": {
4108 "windmillServicePort": {
4109 "description": "If present, the worker must use this port to communicate with Windmill\nService dispatchers. Only applicable when windmill_s ervice_endpoint is\nspecified.",
4110 "format": "int64",
4111 "type": "string"
4112 },
4113 "streamingComputationConfigs": {
4114 "description": "Set of computation configuration information .",
4115 "items": {
4116 "$ref": "StreamingComputationConfig"
4117 },
4118 "type": "array"
4119 },
4120 "windmillServiceEndpoint": {
4121 "description": "If present, the worker must use this endpoin t to communicate with Windmill\nService dispatchers, otherwise the worker must c ontinue to use whatever\nendpoint it had been using.",
4122 "type": "string"
4123 },
4124 "userStepToStateFamilyNameMap": {
4125 "additionalProperties": {
4126 "type": "string"
4127 },
4128 "description": "Map from user step names to state families." ,
4129 "type": "object"
4130 }
4131 },
4132 "type": "object"
4133 }, 4203 },
4134 "JobExecutionInfo": { 4204 "JobExecutionInfo": {
4135 "description": "Additional information about how a Cloud Dataflow jo b will be executed that\nisn't contained in the submitted job.", 4205 "description": "Additional information about how a Cloud Dataflow jo b will be executed that\nisn't contained in the submitted job.",
4136 "id": "JobExecutionInfo", 4206 "id": "JobExecutionInfo",
4137 "properties": { 4207 "properties": {
4138 "stages": { 4208 "stages": {
4139 "additionalProperties": { 4209 "additionalProperties": {
4140 "$ref": "JobExecutionStageInfo" 4210 "$ref": "JobExecutionStageInfo"
4141 }, 4211 },
4142 "description": "A mapping from each stage to the information about that stage.", 4212 "description": "A mapping from each stage to the information about that stage.",
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
4192 "format": "int32", 4262 "format": "int32",
4193 "type": "integer" 4263 "type": "integer"
4194 }, 4264 },
4195 "mountPoint": { 4265 "mountPoint": {
4196 "description": "Directory in a VM where disk is mounted.", 4266 "description": "Directory in a VM where disk is mounted.",
4197 "type": "string" 4267 "type": "string"
4198 } 4268 }
4199 }, 4269 },
4200 "type": "object" 4270 "type": "object"
4201 }, 4271 },
4272 "ListJobMessagesResponse": {
4273 "description": "Response to a request to list job messages.",
4274 "id": "ListJobMessagesResponse",
4275 "properties": {
4276 "jobMessages": {
4277 "description": "Messages in ascending timestamp order.",
4278 "items": {
4279 "$ref": "JobMessage"
4280 },
4281 "type": "array"
4282 },
4283 "nextPageToken": {
4284 "description": "The token to obtain the next page of results if there are more.",
4285 "type": "string"
4286 },
4287 "autoscalingEvents": {
4288 "description": "Autoscaling events in ascending timestamp or der.",
4289 "items": {
4290 "$ref": "AutoscalingEvent"
4291 },
4292 "type": "array"
4293 }
4294 },
4295 "type": "object"
4296 },
4202 "CounterMetadata": { 4297 "CounterMetadata": {
4203 "description": "CounterMetadata includes all static non-name non-val ue counter attributes.", 4298 "description": "CounterMetadata includes all static non-name non-val ue counter attributes.",
4204 "id": "CounterMetadata", 4299 "id": "CounterMetadata",
4205 "properties": { 4300 "properties": {
4301 "otherUnits": {
4302 "description": "A string referring to the unit type.",
4303 "type": "string"
4304 },
4206 "description": { 4305 "description": {
4207 "description": "Human-readable description of the counter se mantics.", 4306 "description": "Human-readable description of the counter se mantics.",
4208 "type": "string" 4307 "type": "string"
4209 }, 4308 },
4210 "kind": { 4309 "kind": {
4211 "description": "Counter aggregation kind.", 4310 "description": "Counter aggregation kind.",
4212 "enum": [ 4311 "enum": [
4213 "INVALID", 4312 "INVALID",
4214 "SUM", 4313 "SUM",
4215 "MAX", 4314 "MAX",
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
4249 "Counter returns a value in bytes.", 4348 "Counter returns a value in bytes.",
4250 "Counter returns a value in bytes per second.", 4349 "Counter returns a value in bytes per second.",
4251 "Counter returns a value in milliseconds.", 4350 "Counter returns a value in milliseconds.",
4252 "Counter returns a value in microseconds.", 4351 "Counter returns a value in microseconds.",
4253 "Counter returns a value in nanoseconds.", 4352 "Counter returns a value in nanoseconds.",
4254 "Counter returns a timestamp in milliseconds.", 4353 "Counter returns a timestamp in milliseconds.",
4255 "Counter returns a timestamp in microseconds.", 4354 "Counter returns a timestamp in microseconds.",
4256 "Counter returns a timestamp in nanoseconds." 4355 "Counter returns a timestamp in nanoseconds."
4257 ], 4356 ],
4258 "type": "string" 4357 "type": "string"
4259 },
4260 "otherUnits": {
4261 "description": "A string referring to the unit type.",
4262 "type": "string"
4263 }
4264 },
4265 "type": "object"
4266 },
4267 "ListJobMessagesResponse": {
4268 "description": "Response to a request to list job messages.",
4269 "id": "ListJobMessagesResponse",
4270 "properties": {
4271 "autoscalingEvents": {
4272 "description": "Autoscaling events in ascending timestamp or der.",
4273 "items": {
4274 "$ref": "AutoscalingEvent"
4275 },
4276 "type": "array"
4277 },
4278 "jobMessages": {
4279 "description": "Messages in ascending timestamp order.",
4280 "items": {
4281 "$ref": "JobMessage"
4282 },
4283 "type": "array"
4284 },
4285 "nextPageToken": {
4286 "description": "The token to obtain the next page of results if there are more.",
4287 "type": "string"
4288 } 4358 }
4289 }, 4359 },
4290 "type": "object" 4360 "type": "object"
4291 }, 4361 },
4292 "ApproximateReportedProgress": { 4362 "ApproximateReportedProgress": {
4293 "description": "A progress measurement of a WorkItem by a worker.", 4363 "description": "A progress measurement of a WorkItem by a worker.",
4294 "id": "ApproximateReportedProgress", 4364 "id": "ApproximateReportedProgress",
4295 "properties": { 4365 "properties": {
4296 "remainingParallelism": {
4297 "$ref": "ReportedParallelism",
4298 "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."
4299 },
4300 "position": {
4301 "$ref": "Position",
4302 "description": "A Position within the work to represent a pr ogress."
4303 },
4304 "fractionConsumed": { 4366 "fractionConsumed": {
4305 "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).", 4367 "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).",
4306 "format": "double", 4368 "format": "double",
4307 "type": "number" 4369 "type": "number"
4308 }, 4370 },
4309 "consumedParallelism": { 4371 "consumedParallelism": {
4310 "$ref": "ReportedParallelism", 4372 "$ref": "ReportedParallelism",
4311 "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." 4373 "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."
4374 },
4375 "remainingParallelism": {
4376 "$ref": "ReportedParallelism",
4377 "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."
4378 },
4379 "position": {
4380 "$ref": "Position",
4381 "description": "A Position within the work to represent a pr ogress."
4312 } 4382 }
4313 }, 4383 },
4314 "type": "object" 4384 "type": "object"
4315 },
4316 "IntegerList": {
4317 "description": "A metric value representing a list of integers.",
4318 "id": "IntegerList",
4319 "properties": {
4320 "elements": {
4321 "description": "Elements of the list.",
4322 "items": {
4323 "$ref": "SplitInt64"
4324 },
4325 "type": "array"
4326 }
4327 },
4328 "type": "object"
4329 }, 4385 },
4330 "StateFamilyConfig": { 4386 "StateFamilyConfig": {
4331 "description": "State family configuration.", 4387 "description": "State family configuration.",
4332 "id": "StateFamilyConfig", 4388 "id": "StateFamilyConfig",
4333 "properties": { 4389 "properties": {
4334 "isRead": { 4390 "isRead": {
4335 "description": "If true, this family corresponds to a read o peration.", 4391 "description": "If true, this family corresponds to a read o peration.",
4336 "type": "boolean" 4392 "type": "boolean"
4337 }, 4393 },
4338 "stateFamily": { 4394 "stateFamily": {
4339 "description": "The state family value.", 4395 "description": "The state family value.",
4340 "type": "string" 4396 "type": "string"
4341 } 4397 }
4342 }, 4398 },
4343 "type": "object" 4399 "type": "object"
4344 }, 4400 },
4401 "IntegerList": {
4402 "description": "A metric value representing a list of integers.",
4403 "id": "IntegerList",
4404 "properties": {
4405 "elements": {
4406 "description": "Elements of the list.",
4407 "items": {
4408 "$ref": "SplitInt64"
4409 },
4410 "type": "array"
4411 }
4412 },
4413 "type": "object"
4414 },
4345 "ResourceUtilizationReportResponse": { 4415 "ResourceUtilizationReportResponse": {
4346 "description": "Service-side response to WorkerMessage reporting res ource utilization.", 4416 "description": "Service-side response to WorkerMessage reporting res ource utilization.",
4347 "id": "ResourceUtilizationReportResponse", 4417 "id": "ResourceUtilizationReportResponse",
4348 "properties": {}, 4418 "properties": {},
4349 "type": "object" 4419 "type": "object"
4350 }, 4420 },
4351 "SourceSplitResponse": { 4421 "SourceSplitResponse": {
4352 "description": "The response to a SourceSplitRequest.", 4422 "description": "The response to a SourceSplitRequest.",
4353 "id": "SourceSplitResponse", 4423 "id": "SourceSplitResponse",
4354 "properties": { 4424 "properties": {
(...skipping 25 matching lines...) Expand all
4380 }, 4450 },
4381 "type": "array" 4451 "type": "array"
4382 } 4452 }
4383 }, 4453 },
4384 "type": "object" 4454 "type": "object"
4385 }, 4455 },
4386 "ParallelInstruction": { 4456 "ParallelInstruction": {
4387 "description": "Describes a particular operation comprising a MapTas k.", 4457 "description": "Describes a particular operation comprising a MapTas k.",
4388 "id": "ParallelInstruction", 4458 "id": "ParallelInstruction",
4389 "properties": { 4459 "properties": {
4390 "parDo": { 4460 "name": {
4391 "$ref": "ParDoInstruction", 4461 "description": "User-provided name of this operation.",
4392 "description": "Additional information for ParDo instruction s." 4462 "type": "string"
4393 }, 4463 },
4394 "read": { 4464 "read": {
4395 "$ref": "ReadInstruction", 4465 "$ref": "ReadInstruction",
4396 "description": "Additional information for Read instructions ." 4466 "description": "Additional information for Read instructions ."
4397 }, 4467 },
4468 "parDo": {
4469 "$ref": "ParDoInstruction",
4470 "description": "Additional information for ParDo instruction s."
4471 },
4398 "originalName": { 4472 "originalName": {
4399 "description": "System-defined name for the operation in the original workflow graph.", 4473 "description": "System-defined name for the operation in the original workflow graph.",
4400 "type": "string" 4474 "type": "string"
4401 }, 4475 },
4402 "flatten": { 4476 "flatten": {
4403 "$ref": "FlattenInstruction", 4477 "$ref": "FlattenInstruction",
4404 "description": "Additional information for Flatten instructi ons." 4478 "description": "Additional information for Flatten instructi ons."
4405 }, 4479 },
4480 "write": {
4481 "$ref": "WriteInstruction",
4482 "description": "Additional information for Write instruction s."
4483 },
4406 "systemName": { 4484 "systemName": {
4407 "description": "System-defined name of this operation.\nUniq ue across the workflow.", 4485 "description": "System-defined name of this operation.\nUniq ue across the workflow.",
4408 "type": "string" 4486 "type": "string"
4409 }, 4487 },
4410 "write": {
4411 "$ref": "WriteInstruction",
4412 "description": "Additional information for Write instruction s."
4413 },
4414 "partialGroupByKey": { 4488 "partialGroupByKey": {
4415 "$ref": "PartialGroupByKeyInstruction", 4489 "$ref": "PartialGroupByKeyInstruction",
4416 "description": "Additional information for PartialGroupByKey instructions." 4490 "description": "Additional information for PartialGroupByKey instructions."
4417 }, 4491 },
4418 "outputs": { 4492 "outputs": {
4419 "description": "Describes the outputs of the instruction.", 4493 "description": "Describes the outputs of the instruction.",
4420 "items": { 4494 "items": {
4421 "$ref": "InstructionOutput" 4495 "$ref": "InstructionOutput"
4422 }, 4496 },
4423 "type": "array" 4497 "type": "array"
4424 },
4425 "name": {
4426 "description": "User-provided name of this operation.",
4427 "type": "string"
4428 } 4498 }
4429 }, 4499 },
4430 "type": "object" 4500 "type": "object"
4431 }, 4501 },
4432 "Package": { 4502 "Package": {
4433 "description": "The packages that must be installed in order for a w orker to run the\nsteps of the Cloud Dataflow job that will be assigned to its w orker\npool.\n\nThis is the mechanism by which the Cloud Dataflow SDK causes cod e to\nbe loaded onto the workers. For example, the Cloud Dataflow Java SDK\nmigh t use this to install jars containing the user's code and all of the\nvarious de pendencies (libraries, data files, etc.) required in order\nfor that code to run .", 4503 "description": "The packages that must be installed in order for a w orker to run the\nsteps of the Cloud Dataflow job that will be assigned to its w orker\npool.\n\nThis is the mechanism by which the Cloud Dataflow SDK causes cod e to\nbe loaded onto the workers. For example, the Cloud Dataflow Java SDK\nmigh t use this to install jars containing the user's code and all of the\nvarious de pendencies (libraries, data files, etc.) required in order\nfor that code to run .",
4434 "id": "Package", 4504 "id": "Package",
4435 "properties": { 4505 "properties": {
4506 "name": {
4507 "description": "The name of the package.",
4508 "type": "string"
4509 },
4436 "location": { 4510 "location": {
4437 "description": "The resource to read the package from. The s upported resource type is:\n\nGoogle Cloud Storage:\n\n storage.googleapis.com/ {bucket}\n bucket.storage.googleapis.com/", 4511 "description": "The resource to read the package from. The s upported resource type is:\n\nGoogle Cloud Storage:\n\n storage.googleapis.com/ {bucket}\n bucket.storage.googleapis.com/",
4438 "type": "string" 4512 "type": "string"
4439 },
4440 "name": {
4441 "description": "The name of the package.",
4442 "type": "string"
4443 } 4513 }
4444 }, 4514 },
4445 "type": "object" 4515 "type": "object"
4446 }, 4516 },
4447 "KeyRangeDataDiskAssignment": { 4517 "KeyRangeDataDiskAssignment": {
4448 "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.", 4518 "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.",
4449 "id": "KeyRangeDataDiskAssignment", 4519 "id": "KeyRangeDataDiskAssignment",
4450 "properties": { 4520 "properties": {
4521 "end": {
4522 "description": "The end (exclusive) of the key range.",
4523 "type": "string"
4524 },
4451 "dataDisk": { 4525 "dataDisk": {
4452 "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\".", 4526 "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\".",
4453 "type": "string" 4527 "type": "string"
4454 }, 4528 },
4455 "start": { 4529 "start": {
4456 "description": "The start (inclusive) of the key range.", 4530 "description": "The start (inclusive) of the key range.",
4457 "type": "string" 4531 "type": "string"
4458 },
4459 "end": {
4460 "description": "The end (exclusive) of the key range.",
4461 "type": "string"
4462 } 4532 }
4463 }, 4533 },
4464 "type": "object" 4534 "type": "object"
4465 }, 4535 },
4466 "ParDoInstruction": { 4536 "ParDoInstruction": {
4467 "description": "An instruction that does a ParDo operation.\nTakes o ne main input and zero or more side inputs, and produces\nzero or more outputs.\ nRuns user code.", 4537 "description": "An instruction that does a ParDo operation.\nTakes o ne main input and zero or more side inputs, and produces\nzero or more outputs.\ nRuns user code.",
4468 "id": "ParDoInstruction", 4538 "id": "ParDoInstruction",
4469 "properties": { 4539 "properties": {
4540 "sideInputs": {
4541 "description": "Zero or more side inputs.",
4542 "items": {
4543 "$ref": "SideInputInfo"
4544 },
4545 "type": "array"
4546 },
4470 "multiOutputInfos": { 4547 "multiOutputInfos": {
4471 "description": "Information about each of the outputs, if us er_fn is a MultiDoFn.", 4548 "description": "Information about each of the outputs, if us er_fn is a MultiDoFn.",
4472 "items": { 4549 "items": {
4473 "$ref": "MultiOutputInfo" 4550 "$ref": "MultiOutputInfo"
4474 }, 4551 },
4475 "type": "array" 4552 "type": "array"
4476 }, 4553 },
4477 "userFn": { 4554 "userFn": {
4478 "additionalProperties": { 4555 "additionalProperties": {
4479 "description": "Properties of the object.", 4556 "description": "Properties of the object.",
4480 "type": "any" 4557 "type": "any"
4481 }, 4558 },
4482 "description": "The user function to invoke.", 4559 "description": "The user function to invoke.",
4483 "type": "object" 4560 "type": "object"
4484 }, 4561 },
4485 "input": { 4562 "input": {
4486 "$ref": "InstructionInput", 4563 "$ref": "InstructionInput",
4487 "description": "The input." 4564 "description": "The input."
4488 }, 4565 },
4489 "numOutputs": { 4566 "numOutputs": {
4490 "description": "The number of outputs.", 4567 "description": "The number of outputs.",
4491 "format": "int32", 4568 "format": "int32",
4492 "type": "integer" 4569 "type": "integer"
4493 },
4494 "sideInputs": {
4495 "description": "Zero or more side inputs.",
4496 "items": {
4497 "$ref": "SideInputInfo"
4498 },
4499 "type": "array"
4500 } 4570 }
4501 }, 4571 },
4502 "type": "object" 4572 "type": "object"
4503 }, 4573 },
4504 "MetricUpdate": { 4574 "MetricUpdate": {
4505 "description": "Describes the state of a metric.", 4575 "description": "Describes the state of a metric.",
4506 "id": "MetricUpdate", 4576 "id": "MetricUpdate",
4507 "properties": { 4577 "properties": {
4578 "kind": {
4579 "description": "Metric aggregation kind. The possible metri c aggregation kinds are\n\"Sum\", \"Max\", \"Min\", \"Mean\", \"Set\", \"And\", \"Or\", and \"Distribution\".\nThe specified aggregation kind is case-insensitiv e.\n\nIf omitted, this is not an aggregated value but instead\na single metric s ample value.",
4580 "type": "string"
4581 },
4508 "scalar": { 4582 "scalar": {
4509 "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.", 4583 "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.",
4510 "type": "any" 4584 "type": "any"
4511 }, 4585 },
4512 "meanCount": { 4586 "meanCount": {
4513 "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.", 4587 "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.",
4514 "type": "any" 4588 "type": "any"
4515 }, 4589 },
4516 "meanSum": { 4590 "meanSum": {
4517 "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.", 4591 "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.",
(...skipping 16 matching lines...) Expand all
4534 "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.", 4608 "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.",
4535 "type": "any" 4609 "type": "any"
4536 }, 4610 },
4537 "cumulative": { 4611 "cumulative": {
4538 "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.", 4612 "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.",
4539 "type": "boolean" 4613 "type": "boolean"
4540 }, 4614 },
4541 "internal": { 4615 "internal": {
4542 "description": "Worker-computed aggregate value for internal use by the Dataflow\nservice.", 4616 "description": "Worker-computed aggregate value for internal use by the Dataflow\nservice.",
4543 "type": "any" 4617 "type": "any"
4544 },
4545 "kind": {
4546 "description": "Metric aggregation kind. The possible metri c aggregation kinds are\n\"Sum\", \"Max\", \"Min\", \"Mean\", \"Set\", \"And\", \"Or\", and \"Distribution\".\nThe specified aggregation kind is case-insensitiv e.\n\nIf omitted, this is not an aggregated value but instead\na single metric s ample value.",
4547 "type": "string"
4548 } 4618 }
4549 }, 4619 },
4550 "type": "object" 4620 "type": "object"
4551 }, 4621 },
4552 "CounterStructuredName": { 4622 "CounterStructuredName": {
4553 "description": "Identifies a counter within a per-job namespace. Cou nters whose structured\nnames are the same get merged into a single value for th e job.", 4623 "description": "Identifies a counter within a per-job namespace. Cou nters whose structured\nnames are the same get merged into a single value for th e job.",
4554 "id": "CounterStructuredName", 4624 "id": "CounterStructuredName",
4555 "properties": { 4625 "properties": {
4556 "componentStepName": { 4626 "componentStepName": {
4557 "description": "Name of the optimized step being executed by the workers.", 4627 "description": "Name of the optimized step being executed by the workers.",
(...skipping 18 matching lines...) Expand all
4576 "type": "string" 4646 "type": "string"
4577 }, 4647 },
4578 "workerId": { 4648 "workerId": {
4579 "description": "ID of a particular worker.", 4649 "description": "ID of a particular worker.",
4580 "type": "string" 4650 "type": "string"
4581 }, 4651 },
4582 "originNamespace": { 4652 "originNamespace": {
4583 "description": "A string containing a more specific namespac e of the counter's origin.", 4653 "description": "A string containing a more specific namespac e of the counter's origin.",
4584 "type": "string" 4654 "type": "string"
4585 }, 4655 },
4586 "executionStepName": {
4587 "description": "Name of the stage. An execution step contain s multiple component steps.",
4588 "type": "string"
4589 },
4590 "name": {
4591 "description": "Counter name. Not necessarily globally-uniqu e, but unique within the\ncontext of the other fields.\nRequired.",
4592 "type": "string"
4593 },
4594 "origin": { 4656 "origin": {
4595 "description": "One of the standard Origins defined above.", 4657 "description": "One of the standard Origins defined above.",
4596 "enum": [ 4658 "enum": [
4597 "SYSTEM", 4659 "SYSTEM",
4598 "USER" 4660 "USER"
4599 ], 4661 ],
4600 "enumDescriptions": [ 4662 "enumDescriptions": [
4601 "Counter was created by the Dataflow system.", 4663 "Counter was created by the Dataflow system.",
4602 "Counter was created by the user." 4664 "Counter was created by the user."
4603 ], 4665 ],
4604 "type": "string" 4666 "type": "string"
4667 },
4668 "name": {
4669 "description": "Counter name. Not necessarily globally-uniqu e, but unique within the\ncontext of the other fields.\nRequired.",
4670 "type": "string"
4671 },
4672 "executionStepName": {
4673 "description": "Name of the stage. An execution step contain s multiple component steps.",
4674 "type": "string"
4605 } 4675 }
4606 }, 4676 },
4607 "type": "object" 4677 "type": "object"
4608 }, 4678 },
4609 "ApproximateProgress": { 4679 "ApproximateProgress": {
4610 "description": "Obsolete in favor of ApproximateReportedProgress and ApproximateSplitRequest.", 4680 "description": "Obsolete in favor of ApproximateReportedProgress and ApproximateSplitRequest.",
4611 "id": "ApproximateProgress", 4681 "id": "ApproximateProgress",
4612 "properties": { 4682 "properties": {
4613 "percentComplete": {
4614 "description": "Obsolete.",
4615 "format": "float",
4616 "type": "number"
4617 },
4618 "remainingTime": { 4683 "remainingTime": {
4619 "description": "Obsolete.", 4684 "description": "Obsolete.",
4620 "format": "google-duration", 4685 "format": "google-duration",
4621 "type": "string" 4686 "type": "string"
4622 }, 4687 },
4623 "position": { 4688 "position": {
4624 "$ref": "Position", 4689 "$ref": "Position",
4625 "description": "Obsolete." 4690 "description": "Obsolete."
4691 },
4692 "percentComplete": {
4693 "description": "Obsolete.",
4694 "format": "float",
4695 "type": "number"
4626 } 4696 }
4627 }, 4697 },
4628 "type": "object" 4698 "type": "object"
4629 }, 4699 },
4630 "WorkerMessageResponse": { 4700 "WorkerMessageResponse": {
4631 "description": "A worker_message response allows the server to pass information to the\nsender.", 4701 "description": "A worker_message response allows the server to pass information to the\nsender.",
4632 "id": "WorkerMessageResponse", 4702 "id": "WorkerMessageResponse",
4633 "properties": { 4703 "properties": {
4634 "workerMetricsResponse": { 4704 "workerMetricsResponse": {
4635 "$ref": "ResourceUtilizationReportResponse", 4705 "$ref": "ResourceUtilizationReportResponse",
(...skipping 25 matching lines...) Expand all
4661 "description": "Optional. A description of the template.", 4731 "description": "Optional. A description of the template.",
4662 "type": "string" 4732 "type": "string"
4663 } 4733 }
4664 }, 4734 },
4665 "type": "object" 4735 "type": "object"
4666 }, 4736 },
4667 "WorkerMessage": { 4737 "WorkerMessage": {
4668 "description": "WorkerMessage provides information to the backend ab out a worker.", 4738 "description": "WorkerMessage provides information to the backend ab out a worker.",
4669 "id": "WorkerMessage", 4739 "id": "WorkerMessage",
4670 "properties": { 4740 "properties": {
4741 "labels": {
4742 "additionalProperties": {
4743 "type": "string"
4744 },
4745 "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.",
4746 "type": "object"
4747 },
4671 "time": { 4748 "time": {
4672 "description": "The timestamp of the worker_message.", 4749 "description": "The timestamp of the worker_message.",
4673 "format": "google-datetime", 4750 "format": "google-datetime",
4674 "type": "string" 4751 "type": "string"
4675 }, 4752 },
4676 "workerHealthReport": { 4753 "workerHealthReport": {
4677 "$ref": "WorkerHealthReport", 4754 "$ref": "WorkerHealthReport",
4678 "description": "The health of a worker." 4755 "description": "The health of a worker."
4679 }, 4756 },
4680 "workerMetrics": { 4757 "workerMetrics": {
4681 "$ref": "ResourceUtilizationReport", 4758 "$ref": "ResourceUtilizationReport",
4682 "description": "Resource metrics reported by workers." 4759 "description": "Resource metrics reported by workers."
4683 }, 4760 },
4684 "workerMessageCode": { 4761 "workerMessageCode": {
4685 "$ref": "WorkerMessageCode", 4762 "$ref": "WorkerMessageCode",
4686 "description": "A worker message code." 4763 "description": "A worker message code."
4687 },
4688 "labels": {
4689 "additionalProperties": {
4690 "type": "string"
4691 },
4692 "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.",
4693 "type": "object"
4694 } 4764 }
4695 }, 4765 },
4696 "type": "object" 4766 "type": "object"
4697 }, 4767 },
4698 "JobMetrics": { 4768 "JobMetrics": {
4699 "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.", 4769 "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.",
4700 "id": "JobMetrics", 4770 "id": "JobMetrics",
4701 "properties": { 4771 "properties": {
4702 "metrics": { 4772 "metrics": {
4703 "description": "All metrics for this job.", 4773 "description": "All metrics for this job.",
(...skipping 22 matching lines...) Expand all
4726 }, 4796 },
4727 "type": "array" 4797 "type": "array"
4728 } 4798 }
4729 }, 4799 },
4730 "type": "object" 4800 "type": "object"
4731 }, 4801 },
4732 "CounterUpdate": { 4802 "CounterUpdate": {
4733 "description": "An update to a Counter sent from a worker.", 4803 "description": "An update to a Counter sent from a worker.",
4734 "id": "CounterUpdate", 4804 "id": "CounterUpdate",
4735 "properties": { 4805 "properties": {
4736 "nameAndKind": {
4737 "$ref": "NameAndKind",
4738 "description": "Counter name and aggregation type."
4739 },
4740 "distribution": {
4741 "$ref": "DistributionUpdate",
4742 "description": "Distribution data"
4743 },
4744 "stringList": {
4745 "$ref": "StringList",
4746 "description": "List of strings, for Set."
4747 },
4748 "shortId": {
4749 "description": "The service-generated short identifier for t his counter.\nThe short_id -> (name, metadata) mapping is constant for the lifet ime of\na job.",
4750 "format": "int64",
4751 "type": "string"
4752 },
4753 "floatingPointList": { 4806 "floatingPointList": {
4754 "$ref": "FloatingPointList", 4807 "$ref": "FloatingPointList",
4755 "description": "List of floating point numbers, for Set." 4808 "description": "List of floating point numbers, for Set."
4756 }, 4809 },
4757 "integer": { 4810 "integer": {
4758 "$ref": "SplitInt64", 4811 "$ref": "SplitInt64",
4759 "description": "Integer value for Sum, Max, Min." 4812 "description": "Integer value for Sum, Max, Min."
4760 }, 4813 },
4761 "structuredNameAndMetadata": { 4814 "structuredNameAndMetadata": {
4762 "$ref": "CounterStructuredNameAndMetadata", 4815 "$ref": "CounterStructuredNameAndMetadata",
(...skipping 20 matching lines...) Expand all
4783 "description": "True if this counter is reported as the tota l cumulative aggregate\nvalue accumulated since the worker started working on th is WorkItem.\nBy default this is false, indicating that this counter is reported \nas a delta.", 4836 "description": "True if this counter is reported as the tota l cumulative aggregate\nvalue accumulated since the worker started working on th is WorkItem.\nBy default this is false, indicating that this counter is reported \nas a delta.",
4784 "type": "boolean" 4837 "type": "boolean"
4785 }, 4838 },
4786 "floatingPointMean": { 4839 "floatingPointMean": {
4787 "$ref": "FloatingPointMean", 4840 "$ref": "FloatingPointMean",
4788 "description": "Floating point mean aggregation value for Me an." 4841 "description": "Floating point mean aggregation value for Me an."
4789 }, 4842 },
4790 "boolean": { 4843 "boolean": {
4791 "description": "Boolean value for And, Or.", 4844 "description": "Boolean value for And, Or.",
4792 "type": "boolean" 4845 "type": "boolean"
4846 },
4847 "nameAndKind": {
4848 "$ref": "NameAndKind",
4849 "description": "Counter name and aggregation type."
4850 },
4851 "stringList": {
4852 "$ref": "StringList",
4853 "description": "List of strings, for Set."
4854 },
4855 "distribution": {
4856 "$ref": "DistributionUpdate",
4857 "description": "Distribution data"
4858 },
4859 "shortId": {
4860 "description": "The service-generated short identifier for t his counter.\nThe short_id -> (name, metadata) mapping is constant for the lifet ime of\na job.",
4861 "format": "int64",
4862 "type": "string"
4793 } 4863 }
4794 }, 4864 },
4795 "type": "object" 4865 "type": "object"
4796 }, 4866 },
4797 "SourceMetadata": { 4867 "SourceMetadata": {
4798 "description": "Metadata about a Source useful for automatically opt imizing\nand tuning the pipeline, etc.", 4868 "description": "Metadata about a Source useful for automatically opt imizing\nand tuning the pipeline, etc.",
4799 "id": "SourceMetadata", 4869 "id": "SourceMetadata",
4800 "properties": { 4870 "properties": {
4801 "estimatedSizeBytes": { 4871 "estimatedSizeBytes": {
4802 "description": "An estimate of the total size (in bytes) of the data that would be\nread from this source. This estimate is in terms of ext ernal storage\nsize, before any decompression or other processing done by the re ader.", 4872 "description": "An estimate of the total size (in bytes) of the data that would be\nread from this source. This estimate is in terms of ext ernal storage\nsize, before any decompression or other processing done by the re ader.",
4803 "format": "int64", 4873 "format": "int64",
4804 "type": "string" 4874 "type": "string"
4805 }, 4875 },
4806 "infinite": { 4876 "infinite": {
4807 "description": "Specifies that the size of this source is kn own to be infinite\n(this is a streaming source).", 4877 "description": "Specifies that the size of this source is kn own to be infinite\n(this is a streaming source).",
4808 "type": "boolean" 4878 "type": "boolean"
4809 }, 4879 },
4810 "producesSortedKeys": { 4880 "producesSortedKeys": {
4811 "description": "Whether this source is known to produce key/ value pairs with\nthe (encoded) keys in lexicographically sorted order.", 4881 "description": "Whether this source is known to produce key/ value pairs with\nthe (encoded) keys in lexicographically sorted order.",
4812 "type": "boolean" 4882 "type": "boolean"
4813 } 4883 }
4814 }, 4884 },
4815 "type": "object" 4885 "type": "object"
4816 }, 4886 },
4817 "DistributionUpdate": { 4887 "DistributionUpdate": {
4818 "description": "A metric value representing a distribution.", 4888 "description": "A metric value representing a distribution.",
4819 "id": "DistributionUpdate", 4889 "id": "DistributionUpdate",
4820 "properties": { 4890 "properties": {
4891 "sum": {
4892 "$ref": "SplitInt64",
4893 "description": "Use an int64 since we'd prefer the added pre cision. If overflow is a common\nproblem we can detect it and use an additional int64 or a double."
4894 },
4821 "max": { 4895 "max": {
4822 "$ref": "SplitInt64", 4896 "$ref": "SplitInt64",
4823 "description": "The maximum value present in the distributio n." 4897 "description": "The maximum value present in the distributio n."
4824 }, 4898 },
4825 "logBuckets": { 4899 "logBuckets": {
4826 "description": "(Optional) Logarithmic histogram of values.\ nEach log may be in no more than one bucket. Order does not matter.", 4900 "description": "(Optional) Logarithmic histogram of values.\ nEach log may be in no more than one bucket. Order does not matter.",
4827 "items": { 4901 "items": {
4828 "$ref": "LogBucket" 4902 "$ref": "LogBucket"
4829 }, 4903 },
4830 "type": "array" 4904 "type": "array"
4831 }, 4905 },
4832 "count": { 4906 "count": {
4833 "$ref": "SplitInt64", 4907 "$ref": "SplitInt64",
4834 "description": "The count of the number of elements present in the distribution." 4908 "description": "The count of the number of elements present in the distribution."
4835 }, 4909 },
4836 "min": {
4837 "$ref": "SplitInt64",
4838 "description": "The minimum value present in the distributio n."
4839 },
4840 "sumOfSquares": { 4910 "sumOfSquares": {
4841 "description": "Use a double since the sum of squares is lik ely to overflow int64.", 4911 "description": "Use a double since the sum of squares is lik ely to overflow int64.",
4842 "format": "double", 4912 "format": "double",
4843 "type": "number" 4913 "type": "number"
4844 }, 4914 },
4845 "sum": { 4915 "min": {
4846 "$ref": "SplitInt64", 4916 "$ref": "SplitInt64",
4847 "description": "Use an int64 since we'd prefer the added pre cision. If overflow is a common\nproblem we can detect it and use an additional int64 or a double." 4917 "description": "The minimum value present in the distributio n."
4848 } 4918 }
4849 }, 4919 },
4850 "type": "object" 4920 "type": "object"
4851 }, 4921 },
4852 "WorkerHealthReportResponse": { 4922 "WorkerHealthReportResponse": {
4853 "description": "WorkerHealthReportResponse contains information retu rned to the worker\nin response to a health ping.", 4923 "description": "WorkerHealthReportResponse contains information retu rned to the worker\nin response to a health ping.",
4854 "id": "WorkerHealthReportResponse", 4924 "id": "WorkerHealthReportResponse",
4855 "properties": { 4925 "properties": {
4856 "reportInterval": { 4926 "reportInterval": {
4857 "description": "A positive value indicates the worker should change its reporting interval\nto the specified value.\n\nThe default value of zero means no change in report rate is requested by\nthe server.", 4927 "description": "A positive value indicates the worker should change its reporting interval\nto the specified value.\n\nThe default value of zero means no change in report rate is requested by\nthe server.",
4858 "format": "google-duration", 4928 "format": "google-duration",
4859 "type": "string" 4929 "type": "string"
4860 } 4930 }
4861 }, 4931 },
4862 "type": "object" 4932 "type": "object"
4863 }, 4933 },
4864 "SourceFork": { 4934 "SourceFork": {
4865 "description": "DEPRECATED in favor of DynamicSourceSplit.", 4935 "description": "DEPRECATED in favor of DynamicSourceSplit.",
4866 "id": "SourceFork", 4936 "id": "SourceFork",
4867 "properties": { 4937 "properties": {
4938 "residualSource": {
4939 "$ref": "DerivedSource",
4940 "description": "DEPRECATED"
4941 },
4868 "primary": { 4942 "primary": {
4869 "$ref": "SourceSplitShard", 4943 "$ref": "SourceSplitShard",
4870 "description": "DEPRECATED" 4944 "description": "DEPRECATED"
4871 }, 4945 },
4872 "primarySource": { 4946 "primarySource": {
4873 "$ref": "DerivedSource", 4947 "$ref": "DerivedSource",
4874 "description": "DEPRECATED" 4948 "description": "DEPRECATED"
4875 }, 4949 },
4876 "residual": { 4950 "residual": {
4877 "$ref": "SourceSplitShard", 4951 "$ref": "SourceSplitShard",
4878 "description": "DEPRECATED" 4952 "description": "DEPRECATED"
4879 },
4880 "residualSource": {
4881 "$ref": "DerivedSource",
4882 "description": "DEPRECATED"
4883 } 4953 }
4884 }, 4954 },
4885 "type": "object" 4955 "type": "object"
4886 },
4887 "WorkItemStatus": {
4888 "description": "Conveys a worker's progress through the work describ ed by a WorkItem.",
4889 "id": "WorkItemStatus",
4890 "properties": {
4891 "reportIndex": {
4892 "description": "The report index. When a WorkItem is leased , the lease will\ncontain an initial report index. When a WorkItem's status is\ nreported to the system, the report should be sent with\nthat report index, and the response will contain the index the\nworker should use for the next report. Reports received with\nunexpected index values will be rejected by the service. \n\nIn order to preserve idempotency, the worker should not alter the\ncontents of a report, even if the worker must submit the same\nreport multiple times befo re getting back a response. The worker\nshould not submit a subsequent report u ntil the response for the\nprevious report had been received from the service.",
4893 "format": "int64",
4894 "type": "string"
4895 },
4896 "stopPosition": {
4897 "$ref": "Position",
4898 "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."
4899 },
4900 "completed": {
4901 "description": "True if the WorkItem was completed (successf ully or unsuccessfully).",
4902 "type": "boolean"
4903 },
4904 "reportedProgress": {
4905 "$ref": "ApproximateReportedProgress",
4906 "description": "The worker's progress through this WorkItem. "
4907 },
4908 "sourceFork": {
4909 "$ref": "SourceFork",
4910 "description": "DEPRECATED in favor of dynamic_source_split. "
4911 },
4912 "counterUpdates": {
4913 "description": "Worker output counters for this WorkItem.",
4914 "items": {
4915 "$ref": "CounterUpdate"
4916 },
4917 "type": "array"
4918 },
4919 "workItemId": {
4920 "description": "Identifies the WorkItem.",
4921 "type": "string"
4922 },
4923 "errors": {
4924 "description": "Specifies errors which occurred during proce ssing. If errors are\nprovided, and completed = true, then the WorkItem is cons idered\nto have failed.",
4925 "items": {
4926 "$ref": "Status"
4927 },
4928 "type": "array"
4929 },
4930 "metricUpdates": {
4931 "description": "DEPRECATED in favor of counter_updates.",
4932 "items": {
4933 "$ref": "MetricUpdate"
4934 },
4935 "type": "array"
4936 },
4937 "dynamicSourceSplit": {
4938 "$ref": "DynamicSourceSplit",
4939 "description": "See documentation of stop_position."
4940 },
4941 "sourceOperationResponse": {
4942 "$ref": "SourceOperationResponse",
4943 "description": "If the work item represented a SourceOperati onRequest, and the work\nis completed, contains the result of the operation."
4944 },
4945 "progress": {
4946 "$ref": "ApproximateProgress",
4947 "description": "DEPRECATED in favor of reported_progress."
4948 },
4949 "requestedLeaseDuration": {
4950 "description": "Amount of time the worker requests for its l ease.",
4951 "format": "google-duration",
4952 "type": "string"
4953 }
4954 },
4955 "type": "object"
4956 } 4956 }
4957 }, 4957 },
4958 "servicePath": "", 4958 "servicePath": "",
4959 "title": "Google Dataflow API", 4959 "title": "Google Dataflow API",
4960 "version": "v1b3" 4960 "version": "v1b3"
4961 } 4961 }
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