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

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

Issue 3003493002: Api-Roll 53: 2017-08-21 (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/cloud-platform": {
6 "description": "View and manage your data across Google Clou d Platform services"
7 },
8 "https://www.googleapis.com/auth/userinfo.email": {
9 "description": "View your email address"
10 },
5 "https://www.googleapis.com/auth/compute.readonly": { 11 "https://www.googleapis.com/auth/compute.readonly": {
6 "description": "View your Google Compute Engine resources" 12 "description": "View your Google Compute Engine resources"
7 }, 13 },
8 "https://www.googleapis.com/auth/compute": { 14 "https://www.googleapis.com/auth/compute": {
9 "description": "View and manage your Google Compute Engine r esources" 15 "description": "View and manage your Google Compute Engine r esources"
10 },
11 "https://www.googleapis.com/auth/cloud-platform": {
12 "description": "View and manage your data across Google Clou d Platform services"
13 },
14 "https://www.googleapis.com/auth/userinfo.email": {
15 "description": "View your email address"
16 } 16 }
17 } 17 }
18 } 18 }
19 }, 19 },
20 "basePath": "", 20 "basePath": "",
21 "baseUrl": "https://dataflow.googleapis.com/", 21 "baseUrl": "https://dataflow.googleapis.com/",
22 "batchPath": "batch", 22 "batchPath": "batch",
23 "description": "Manages Google Cloud Dataflow projects on Google Cloud Platf orm.", 23 "description": "Manages Google Cloud Dataflow projects on Google Cloud Platf orm.",
24 "discoveryVersion": "v1", 24 "discoveryVersion": "v1",
25 "documentationLink": "https://cloud.google.com/dataflow", 25 "documentationLink": "https://cloud.google.com/dataflow",
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 "oauth_token": { 36 "alt": {
37 "description": "OAuth 2.0 token for the current user.", 37 "default": "json",
38 "description": "Data format for response.",
39 "enum": [
40 "json",
41 "media",
42 "proto"
43 ],
44 "enumDescriptions": [
45 "Responses with Content-Type of application/json",
46 "Media download with context-dependent Content-Type",
47 "Responses with Content-Type of application/x-protobuf"
48 ],
38 "location": "query", 49 "location": "query",
39 "type": "string" 50 "type": "string"
40 }, 51 },
52 "key": {
53 "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.",
54 "location": "query",
55 "type": "string"
56 },
57 "access_token": {
58 "description": "OAuth access token.",
59 "location": "query",
60 "type": "string"
61 },
62 "quotaUser": {
63 "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.",
64 "location": "query",
65 "type": "string"
66 },
67 "pp": {
68 "default": "true",
69 "description": "Pretty-print response.",
70 "location": "query",
71 "type": "boolean"
72 },
41 "bearer_token": { 73 "bearer_token": {
42 "description": "OAuth bearer token.", 74 "description": "OAuth bearer token.",
43 "location": "query", 75 "location": "query",
44 "type": "string" 76 "type": "string"
45 }, 77 },
78 "oauth_token": {
79 "description": "OAuth 2.0 token for the current user.",
80 "location": "query",
81 "type": "string"
82 },
46 "upload_protocol": { 83 "upload_protocol": {
47 "description": "Upload protocol for media (e.g. \"raw\", \"multipart \").", 84 "description": "Upload protocol for media (e.g. \"raw\", \"multipart \").",
48 "location": "query", 85 "location": "query",
49 "type": "string" 86 "type": "string"
50 }, 87 },
51 "prettyPrint": { 88 "prettyPrint": {
52 "default": "true", 89 "default": "true",
53 "description": "Returns response with indentations and line breaks." , 90 "description": "Returns response with indentations and line breaks." ,
54 "location": "query", 91 "location": "query",
55 "type": "boolean" 92 "type": "boolean"
(...skipping 18 matching lines...) Expand all
74 "v1 error format", 111 "v1 error format",
75 "v2 error format" 112 "v2 error format"
76 ], 113 ],
77 "location": "query", 114 "location": "query",
78 "type": "string" 115 "type": "string"
79 }, 116 },
80 "callback": { 117 "callback": {
81 "description": "JSONP", 118 "description": "JSONP",
82 "location": "query", 119 "location": "query",
83 "type": "string" 120 "type": "string"
84 },
85 "alt": {
86 "default": "json",
87 "description": "Data format for response.",
88 "enum": [
89 "json",
90 "media",
91 "proto"
92 ],
93 "enumDescriptions": [
94 "Responses with Content-Type of application/json",
95 "Media download with context-dependent Content-Type",
96 "Responses with Content-Type of application/x-protobuf"
97 ],
98 "location": "query",
99 "type": "string"
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 },
106 "access_token": {
107 "description": "OAuth access token.",
108 "location": "query",
109 "type": "string"
110 },
111 "quotaUser": {
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.",
113 "location": "query",
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 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 "launch": { 200 "get": {
201 "description": "Launch a template.", 201 "description": "Get the template associated with a template.",
202 "httpMethod": "POST", 202 "httpMethod": "GET",
203 "id": "dataflow.projects.locations.templates .launch", 203 "id": "dataflow.projects.locations.templates .get",
204 "parameterOrder": [ 204 "parameterOrder": [
205 "projectId", 205 "projectId",
206 "location" 206 "location"
207 ], 207 ],
208 "parameters": { 208 "parameters": {
209 "location": { 209 "location": {
210 "description": "The location to whic h to direct the request.", 210 "description": "The location to whic h to direct the request.",
211 "location": "path", 211 "location": "path",
212 "required": true, 212 "required": true,
213 "type": "string" 213 "type": "string"
214 }, 214 },
215 "validateOnly": { 215 "view": {
216 "description": "If true, the request is validated but not actually executed.\nDefaults to false.", 216 "description": "The view to retrieve . Defaults to METADATA_ONLY.",
217 "enum": [
218 "METADATA_ONLY"
219 ],
217 "location": "query", 220 "location": "query",
218 "type": "boolean" 221 "type": "string"
219 }, 222 },
220 "projectId": { 223 "projectId": {
221 "description": "Required. The ID of the Cloud Platform project that the job belongs to.", 224 "description": "Required. The ID of the Cloud Platform project that the job belongs to.",
222 "location": "path", 225 "location": "path",
223 "required": true, 226 "required": true,
224 "type": "string" 227 "type": "string"
225 }, 228 },
226 "gcsPath": { 229 "gcsPath": {
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://'.", 230 "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://`.",
228 "location": "query", 231 "location": "query",
229 "type": "string" 232 "type": "string"
230 } 233 }
231 }, 234 },
232 "path": "v1b3/projects/{projectId}/locations /{location}/templates:launch", 235 "path": "v1b3/projects/{projectId}/locations /{location}/templates:get",
233 "request": {
234 "$ref": "LaunchTemplateParameters"
235 },
236 "response": { 236 "response": {
237 "$ref": "LaunchTemplateResponse" 237 "$ref": "GetTemplateResponse"
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 "get": { 246 "create": {
247 "description": "Get the template associated with a template.", 247 "description": "Creates a Cloud Dataflow job from a template.",
248 "httpMethod": "GET", 248 "httpMethod": "POST",
249 "id": "dataflow.projects.locations.templates .get", 249 "id": "dataflow.projects.locations.templates .create",
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 },
269 "projectId": { 261 "projectId": {
270 "description": "Required. The ID of the Cloud Platform project that the job belongs to.", 262 "description": "Required. The ID of the Cloud Platform project that the job belongs to.",
271 "location": "path", 263 "location": "path",
272 "required": true, 264 "required": true,
273 "type": "string" 265 "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"
279 } 266 }
280 }, 267 },
281 "path": "v1b3/projects/{projectId}/locations /{location}/templates:get", 268 "path": "v1b3/projects/{projectId}/locations /{location}/templates",
269 "request": {
270 "$ref": "CreateJobFromTemplateRequest"
271 },
282 "response": { 272 "response": {
283 "$ref": "GetTemplateResponse" 273 "$ref": "Job"
284 }, 274 },
285 "scopes": [ 275 "scopes": [
286 "https://www.googleapis.com/auth/cloud-p latform", 276 "https://www.googleapis.com/auth/cloud-p latform",
287 "https://www.googleapis.com/auth/compute ", 277 "https://www.googleapis.com/auth/compute ",
288 "https://www.googleapis.com/auth/compute .readonly", 278 "https://www.googleapis.com/auth/compute .readonly",
289 "https://www.googleapis.com/auth/userinf o.email" 279 "https://www.googleapis.com/auth/userinf o.email"
290 ] 280 ]
291 }, 281 },
292 "create": { 282 "launch": {
293 "description": "Creates a Cloud Dataflow job from a template.", 283 "description": "Launch a template.",
294 "httpMethod": "POST", 284 "httpMethod": "POST",
295 "id": "dataflow.projects.locations.templates .create", 285 "id": "dataflow.projects.locations.templates .launch",
296 "parameterOrder": [ 286 "parameterOrder": [
297 "projectId", 287 "projectId",
298 "location" 288 "location"
299 ], 289 ],
300 "parameters": { 290 "parameters": {
301 "projectId": { 291 "projectId": {
302 "description": "Required. The ID of the Cloud Platform project that the job belongs to.", 292 "description": "Required. The ID of the Cloud Platform project that the job belongs to.",
303 "location": "path", 293 "location": "path",
304 "required": true, 294 "required": true,
305 "type": "string" 295 "type": "string"
306 }, 296 },
297 "gcsPath": {
298 "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://'.",
299 "location": "query",
300 "type": "string"
301 },
307 "location": { 302 "location": {
308 "description": "The location to whic h to direct the request.", 303 "description": "The location to whic h to direct the request.",
309 "location": "path", 304 "location": "path",
310 "required": true, 305 "required": true,
311 "type": "string" 306 "type": "string"
307 },
308 "validateOnly": {
309 "description": "If true, the request is validated but not actually executed.\nDefaults to false.",
310 "location": "query",
311 "type": "boolean"
312 } 312 }
313 }, 313 },
314 "path": "v1b3/projects/{projectId}/locations /{location}/templates", 314 "path": "v1b3/projects/{projectId}/locations /{location}/templates:launch",
315 "request": { 315 "request": {
316 "$ref": "CreateJobFromTemplateRequest" 316 "$ref": "LaunchTemplateParameters"
317 }, 317 },
318 "response": { 318 "response": {
319 "$ref": "Job" 319 "$ref": "LaunchTemplateResponse"
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 },
330 "jobs": { 330 "jobs": {
331 "methods": { 331 "methods": {
332 "getMetrics": { 332 "getMetrics": {
333 "description": "Request the job status.", 333 "description": "Request the job status.",
334 "httpMethod": "GET", 334 "httpMethod": "GET",
335 "id": "dataflow.projects.locations.jobs.getM etrics", 335 "id": "dataflow.projects.locations.jobs.getM etrics",
336 "parameterOrder": [ 336 "parameterOrder": [
337 "projectId", 337 "projectId",
338 "location", 338 "location",
339 "jobId" 339 "jobId"
340 ], 340 ],
341 "parameters": { 341 "parameters": {
342 "location": {
343 "description": "The location which c ontains the job specified by job_id.",
344 "location": "path",
345 "required": true,
346 "type": "string"
347 },
348 "startTime": {
349 "description": "Return only metric d ata that has changed since this time.\nDefault is to return all information abou t all metrics for the job.",
350 "format": "google-datetime",
351 "location": "query",
352 "type": "string"
353 },
354 "jobId": { 342 "jobId": {
355 "description": "The job to get messa ges for.", 343 "description": "The job to get messa ges for.",
356 "location": "path", 344 "location": "path",
357 "required": true, 345 "required": true,
358 "type": "string" 346 "type": "string"
359 }, 347 },
360 "projectId": { 348 "projectId": {
361 "description": "A project id.", 349 "description": "A project id.",
362 "location": "path", 350 "location": "path",
363 "required": true, 351 "required": true,
364 "type": "string" 352 "type": "string"
353 },
354 "location": {
355 "description": "The location which c ontains the job specified by job_id.",
356 "location": "path",
357 "required": true,
358 "type": "string"
359 },
360 "startTime": {
361 "description": "Return only metric d ata that has changed since this time.\nDefault is to return all information abou t all metrics for the job.",
362 "format": "google-datetime",
363 "location": "query",
364 "type": "string"
365 } 365 }
366 }, 366 },
367 "path": "v1b3/projects/{projectId}/locations /{location}/jobs/{jobId}/metrics", 367 "path": "v1b3/projects/{projectId}/locations /{location}/jobs/{jobId}/metrics",
368 "response": { 368 "response": {
369 "$ref": "JobMetrics" 369 "$ref": "JobMetrics"
370 }, 370 },
371 "scopes": [ 371 "scopes": [
372 "https://www.googleapis.com/auth/cloud-p latform", 372 "https://www.googleapis.com/auth/cloud-p latform",
373 "https://www.googleapis.com/auth/compute ", 373 "https://www.googleapis.com/auth/compute ",
374 "https://www.googleapis.com/auth/compute .readonly", 374 "https://www.googleapis.com/auth/compute .readonly",
375 "https://www.googleapis.com/auth/userinf o.email" 375 "https://www.googleapis.com/auth/userinf o.email"
376 ] 376 ]
377 }, 377 },
378 "list": { 378 "list": {
379 "description": "List the jobs of a project." , 379 "description": "List the jobs of a project i n a given region.",
380 "httpMethod": "GET", 380 "httpMethod": "GET",
381 "id": "dataflow.projects.locations.jobs.list ", 381 "id": "dataflow.projects.locations.jobs.list ",
382 "parameterOrder": [ 382 "parameterOrder": [
383 "projectId", 383 "projectId",
384 "location" 384 "location"
385 ], 385 ],
386 "parameters": { 386 "parameters": {
387 "projectId": { 387 "projectId": {
388 "description": "The project which ow ns the jobs.", 388 "description": "The project which ow ns the jobs.",
389 "location": "path", 389 "location": "path",
(...skipping 204 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 },
623 "projectId": { 604 "projectId": {
624 "description": "A project id .", 605 "description": "A project id .",
625 "location": "path", 606 "location": "path",
626 "required": true, 607 "required": true,
627 "type": "string" 608 "type": "string"
628 }, 609 },
629 "jobId": { 610 "jobId": {
630 "description": "The job to g et messages about.", 611 "description": "The job to g et messages about.",
631 "location": "path", 612 "location": "path",
632 "required": true, 613 "required": true,
633 "type": "string" 614 "type": "string"
634 }, 615 },
616 "location": {
617 "description": "The location which contains the job specified by job_id.",
618 "location": "path",
619 "required": true,
620 "type": "string"
621 },
635 "endTime": { 622 "endTime": {
636 "description": "Return only messages with timestamps < end_time. The default is now\n(i.e. return up to the latest messages available).", 623 "description": "Return only messages with timestamps < end_time. The default is now\n(i.e. return up to the latest messages available).",
637 "format": "google-datetime", 624 "format": "google-datetime",
638 "location": "query", 625 "location": "query",
639 "type": "string" 626 "type": "string"
640 }, 627 },
641 "location": {
642 "description": "The location which contains the job specified by job_id.",
643 "location": "path",
644 "required": true,
645 "type": "string"
646 },
647 "startTime": { 628 "startTime": {
648 "description": "If specified , return only messages with timestamps >= start_time.\nThe default is the job cr eation time (i.e. beginning of messages).", 629 "description": "If specified , return only messages with timestamps >= start_time.\nThe default is the job cr eation time (i.e. beginning of messages).",
649 "format": "google-datetime", 630 "format": "google-datetime",
650 "location": "query", 631 "location": "query",
651 "type": "string" 632 "type": "string"
652 }, 633 },
653 "pageToken": { 634 "pageToken": {
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.", 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.",
655 "location": "query", 636 "location": "query",
656 "type": "string" 637 "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 "reportStatus": { 674 "reportStatus": {
675 "description": "Reports the status o f dataflow WorkItems leased by a worker.", 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.reportStatus", 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 },
690 "jobId": { 684 "jobId": {
691 "description": "The job whic h the WorkItem is part of.", 685 "description": "The job whic h the WorkItem is part of.",
692 "location": "path", 686 "location": "path",
693 "required": true, 687 "required": true,
694 "type": "string" 688 "type": "string"
695 }, 689 },
696 "projectId": { 690 "projectId": {
697 "description": "The project which owns the WorkItem's job.", 691 "description": "The project which owns the WorkItem's job.",
698 "location": "path", 692 "location": "path",
699 "required": true, 693 "required": true,
700 "type": "string" 694 "type": "string"
695 },
696 "location": {
697 "description": "The location which contains the WorkItem's job.",
698 "location": "path",
699 "required": true,
700 "type": "string"
701 } 701 }
702 }, 702 },
703 "path": "v1b3/projects/{projectId}/l ocations/{location}/jobs/{jobId}/workItems:reportStatus", 703 "path": "v1b3/projects/{projectId}/l ocations/{location}/jobs/{jobId}/workItems:reportStatus",
704 "request": { 704 "request": {
705 "$ref": "ReportWorkItemStatusReq uest" 705 "$ref": "ReportWorkItemStatusReq uest"
706 }, 706 },
707 "response": { 707 "response": {
708 "$ref": "ReportWorkItemStatusRes ponse" 708 "$ref": "ReportWorkItemStatusRes ponse"
709 }, 709 },
710 "scopes": [ 710 "scopes": [
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 },
774 "jobId": { 780 "jobId": {
775 "description": "The job id." , 781 "description": "The job id." ,
776 "location": "path", 782 "location": "path",
777 "required": true, 783 "required": true,
778 "type": "string" 784 "type": "string"
779 }, 785 },
780 "projectId": { 786 "projectId": {
781 "description": "The project id.", 787 "description": "The project id.",
782 "location": "path", 788 "location": "path",
783 "required": true, 789 "required": true,
784 "type": "string" 790 "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 168 matching lines...) Expand 10 before | Expand all | Expand 10 after
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": { 979 "get": {
980 "description": "Request the job status.", 980 "description": "Gets the state of the specified Clou d Dataflow job.",
981 "httpMethod": "GET", 981 "httpMethod": "GET",
982 "id": "dataflow.projects.jobs.getMetrics", 982 "id": "dataflow.projects.jobs.get",
983 "parameterOrder": [ 983 "parameterOrder": [
984 "projectId", 984 "projectId",
985 "jobId" 985 "jobId"
986 ], 986 ],
987 "parameters": { 987 "parameters": {
988 "startTime": { 988 "location": {
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.", 989 "description": "The location that contains t his job.",
990 "format": "google-datetime", 990 "location": "query",
991 "type": "string"
992 },
993 "view": {
994 "description": "The level of information req uested in response.",
995 "enum": [
996 "JOB_VIEW_UNKNOWN",
997 "JOB_VIEW_SUMMARY",
998 "JOB_VIEW_ALL",
999 "JOB_VIEW_DESCRIPTION"
1000 ],
991 "location": "query", 1001 "location": "query",
992 "type": "string" 1002 "type": "string"
993 }, 1003 },
994 "jobId": { 1004 "jobId": {
995 "description": "The job to get messages for. ", 1005 "description": "The job ID.",
996 "location": "path", 1006 "location": "path",
997 "required": true, 1007 "required": true,
998 "type": "string" 1008 "type": "string"
999 }, 1009 },
1000 "projectId": { 1010 "projectId": {
1001 "description": "A project id.", 1011 "description": "The ID of the Cloud Platform project that the job belongs to.",
1012 "location": "path",
1013 "required": true,
1014 "type": "string"
1015 }
1016 },
1017 "path": "v1b3/projects/{projectId}/jobs/{jobId}",
1018 "response": {
1019 "$ref": "Job"
1020 },
1021 "scopes": [
1022 "https://www.googleapis.com/auth/cloud-platform" ,
1023 "https://www.googleapis.com/auth/compute",
1024 "https://www.googleapis.com/auth/compute.readonl y",
1025 "https://www.googleapis.com/auth/userinfo.email"
1026 ]
1027 },
1028 "update": {
1029 "description": "Updates the state of an existing Clo ud Dataflow job.",
1030 "httpMethod": "PUT",
1031 "id": "dataflow.projects.jobs.update",
1032 "parameterOrder": [
1033 "projectId",
1034 "jobId"
1035 ],
1036 "parameters": {
1037 "jobId": {
1038 "description": "The job ID.",
1039 "location": "path",
1040 "required": true,
1041 "type": "string"
1042 },
1043 "projectId": {
1044 "description": "The ID of the Cloud Platform project that the job belongs to.",
1002 "location": "path", 1045 "location": "path",
1003 "required": true, 1046 "required": true,
1004 "type": "string" 1047 "type": "string"
1005 }, 1048 },
1006 "location": { 1049 "location": {
1007 "description": "The location which contains the job specified by job_id.", 1050 "description": "The location that contains t his job.",
1008 "location": "query", 1051 "location": "query",
1009 "type": "string" 1052 "type": "string"
1010 } 1053 }
1011 }, 1054 },
1012 "path": "v1b3/projects/{projectId}/jobs/{jobId}/metr ics", 1055 "path": "v1b3/projects/{projectId}/jobs/{jobId}",
1056 "request": {
1057 "$ref": "Job"
1058 },
1013 "response": { 1059 "response": {
1014 "$ref": "JobMetrics" 1060 "$ref": "Job"
1015 }, 1061 },
1016 "scopes": [ 1062 "scopes": [
1017 "https://www.googleapis.com/auth/cloud-platform" , 1063 "https://www.googleapis.com/auth/cloud-platform" ,
1018 "https://www.googleapis.com/auth/compute", 1064 "https://www.googleapis.com/auth/compute",
1019 "https://www.googleapis.com/auth/compute.readonl y", 1065 "https://www.googleapis.com/auth/compute.readonl y",
1020 "https://www.googleapis.com/auth/userinfo.email" 1066 "https://www.googleapis.com/auth/userinfo.email"
1021 ] 1067 ]
1022 }, 1068 },
1023 "list": { 1069 "aggregated": {
1024 "description": "List the jobs of a project.", 1070 "description": "List the jobs of a project across al l regions.",
1025 "httpMethod": "GET", 1071 "httpMethod": "GET",
1026 "id": "dataflow.projects.jobs.list", 1072 "id": "dataflow.projects.jobs.aggregated",
1027 "parameterOrder": [ 1073 "parameterOrder": [
1028 "projectId" 1074 "projectId"
1029 ], 1075 ],
1030 "parameters": { 1076 "parameters": {
1077 "filter": {
1078 "description": "The kind of filter to use.",
1079 "enum": [
1080 "UNKNOWN",
1081 "ALL",
1082 "TERMINATED",
1083 "ACTIVE"
1084 ],
1085 "location": "query",
1086 "type": "string"
1087 },
1088 "location": {
1089 "description": "The location that contains t his job.",
1090 "location": "query",
1091 "type": "string"
1092 },
1093 "pageToken": {
1094 "description": "Set this to the 'next_page_t oken' field of a previous response\nto request additional results in a long list .",
1095 "location": "query",
1096 "type": "string"
1097 },
1031 "pageSize": { 1098 "pageSize": {
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.", 1099 "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.",
1033 "format": "int32", 1100 "format": "int32",
1034 "location": "query", 1101 "location": "query",
1035 "type": "integer" 1102 "type": "integer"
1036 }, 1103 },
1037 "view": { 1104 "view": {
1038 "description": "Level of information request ed in response. Default is `JOB_VIEW_SUMMARY`.", 1105 "description": "Level of information request ed in response. Default is `JOB_VIEW_SUMMARY`.",
1039 "enum": [ 1106 "enum": [
1040 "JOB_VIEW_UNKNOWN", 1107 "JOB_VIEW_UNKNOWN",
1041 "JOB_VIEW_SUMMARY", 1108 "JOB_VIEW_SUMMARY",
1042 "JOB_VIEW_ALL", 1109 "JOB_VIEW_ALL",
1043 "JOB_VIEW_DESCRIPTION" 1110 "JOB_VIEW_DESCRIPTION"
1044 ], 1111 ],
1045 "location": "query", 1112 "location": "query",
1046 "type": "string" 1113 "type": "string"
1047 }, 1114 },
1048 "projectId": { 1115 "projectId": {
1049 "description": "The project which owns the j obs.", 1116 "description": "The project which owns the j obs.",
1050 "location": "path", 1117 "location": "path",
1051 "required": true, 1118 "required": true,
1052 "type": "string" 1119 "type": "string"
1053 },
1054 "filter": {
1055 "description": "The kind of filter to use.",
1056 "enum": [
1057 "UNKNOWN",
1058 "ALL",
1059 "TERMINATED",
1060 "ACTIVE"
1061 ],
1062 "location": "query",
1063 "type": "string"
1064 },
1065 "location": {
1066 "description": "The location that contains t his job.",
1067 "location": "query",
1068 "type": "string"
1069 },
1070 "pageToken": {
1071 "description": "Set this to the 'next_page_t oken' field of a previous response\nto request additional results in a long list .",
1072 "location": "query",
1073 "type": "string"
1074 } 1120 }
1075 }, 1121 },
1076 "path": "v1b3/projects/{projectId}/jobs", 1122 "path": "v1b3/projects/{projectId}/jobs:aggregated",
1077 "response": { 1123 "response": {
1078 "$ref": "ListJobsResponse" 1124 "$ref": "ListJobsResponse"
1079 }, 1125 },
1080 "scopes": [ 1126 "scopes": [
1081 "https://www.googleapis.com/auth/cloud-platform" , 1127 "https://www.googleapis.com/auth/cloud-platform" ,
1082 "https://www.googleapis.com/auth/compute", 1128 "https://www.googleapis.com/auth/compute",
1083 "https://www.googleapis.com/auth/compute.readonl y", 1129 "https://www.googleapis.com/auth/compute.readonl y",
1084 "https://www.googleapis.com/auth/userinfo.email" 1130 "https://www.googleapis.com/auth/userinfo.email"
1085 ] 1131 ]
1086 }, 1132 },
1087 "get": { 1133 "list": {
1088 "description": "Gets the state of the specified Clou d Dataflow job.", 1134 "description": "List the jobs of a project in a give n region.",
1089 "httpMethod": "GET", 1135 "httpMethod": "GET",
1090 "id": "dataflow.projects.jobs.get", 1136 "id": "dataflow.projects.jobs.list",
1091 "parameterOrder": [ 1137 "parameterOrder": [
1092 "projectId", 1138 "projectId"
1093 "jobId"
1094 ], 1139 ],
1095 "parameters": { 1140 "parameters": {
1096 "view": { 1141 "view": {
1097 "description": "The level of information req uested in response.", 1142 "description": "Level of information request ed in response. Default is `JOB_VIEW_SUMMARY`.",
1098 "enum": [ 1143 "enum": [
1099 "JOB_VIEW_UNKNOWN", 1144 "JOB_VIEW_UNKNOWN",
1100 "JOB_VIEW_SUMMARY", 1145 "JOB_VIEW_SUMMARY",
1101 "JOB_VIEW_ALL", 1146 "JOB_VIEW_ALL",
1102 "JOB_VIEW_DESCRIPTION" 1147 "JOB_VIEW_DESCRIPTION"
1103 ], 1148 ],
1104 "location": "query", 1149 "location": "query",
1105 "type": "string" 1150 "type": "string"
1106 }, 1151 },
1107 "jobId": { 1152 "projectId": {
1108 "description": "The job ID.", 1153 "description": "The project which owns the j obs.",
1109 "location": "path", 1154 "location": "path",
1110 "required": true, 1155 "required": true,
1111 "type": "string" 1156 "type": "string"
1112 }, 1157 },
1113 "projectId": { 1158 "filter": {
1114 "description": "The ID of the Cloud Platform project that the job belongs to.", 1159 "description": "The kind of filter to use.",
1115 "location": "path", 1160 "enum": [
1116 "required": true, 1161 "UNKNOWN",
1162 "ALL",
1163 "TERMINATED",
1164 "ACTIVE"
1165 ],
1166 "location": "query",
1117 "type": "string" 1167 "type": "string"
1118 }, 1168 },
1119 "location": { 1169 "location": {
1120 "description": "The location that contains t his job.", 1170 "description": "The location that contains t his job.",
1121 "location": "query", 1171 "location": "query",
1122 "type": "string" 1172 "type": "string"
1173 },
1174 "pageToken": {
1175 "description": "Set this to the 'next_page_t oken' field of a previous response\nto request additional results in a long list .",
1176 "location": "query",
1177 "type": "string"
1178 },
1179 "pageSize": {
1180 "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.",
1181 "format": "int32",
1182 "location": "query",
1183 "type": "integer"
1123 } 1184 }
1124 }, 1185 },
1125 "path": "v1b3/projects/{projectId}/jobs/{jobId}", 1186 "path": "v1b3/projects/{projectId}/jobs",
1126 "response": { 1187 "response": {
1127 "$ref": "Job" 1188 "$ref": "ListJobsResponse"
1128 }, 1189 },
1129 "scopes": [ 1190 "scopes": [
1130 "https://www.googleapis.com/auth/cloud-platform" , 1191 "https://www.googleapis.com/auth/cloud-platform" ,
1131 "https://www.googleapis.com/auth/compute", 1192 "https://www.googleapis.com/auth/compute",
1132 "https://www.googleapis.com/auth/compute.readonl y", 1193 "https://www.googleapis.com/auth/compute.readonl y",
1133 "https://www.googleapis.com/auth/userinfo.email" 1194 "https://www.googleapis.com/auth/userinfo.email"
1134 ] 1195 ]
1135 }, 1196 },
1136 "update": { 1197 "create": {
1137 "description": "Updates the state of an existing Clo ud Dataflow job.", 1198 "description": "Creates a Cloud Dataflow job.",
1138 "httpMethod": "PUT", 1199 "httpMethod": "POST",
1139 "id": "dataflow.projects.jobs.update", 1200 "id": "dataflow.projects.jobs.create",
1140 "parameterOrder": [ 1201 "parameterOrder": [
1141 "projectId", 1202 "projectId"
1142 "jobId"
1143 ], 1203 ],
1144 "parameters": { 1204 "parameters": {
1145 "location": { 1205 "location": {
1146 "description": "The location that contains t his job.", 1206 "description": "The location that contains t his job.",
1147 "location": "query", 1207 "location": "query",
1148 "type": "string" 1208 "type": "string"
1149 }, 1209 },
1150 "jobId": { 1210 "replaceJobId": {
1151 "description": "The job ID.", 1211 "description": "Deprecated. This field is no w in the Job message.",
1152 "location": "path", 1212 "location": "query",
1153 "required": true, 1213 "type": "string"
1214 },
1215 "view": {
1216 "description": "The level of information req uested in response.",
1217 "enum": [
1218 "JOB_VIEW_UNKNOWN",
1219 "JOB_VIEW_SUMMARY",
1220 "JOB_VIEW_ALL",
1221 "JOB_VIEW_DESCRIPTION"
1222 ],
1223 "location": "query",
1154 "type": "string" 1224 "type": "string"
1155 }, 1225 },
1156 "projectId": { 1226 "projectId": {
1157 "description": "The ID of the Cloud Platform project that the job belongs to.", 1227 "description": "The ID of the Cloud Platform project that the job belongs to.",
1158 "location": "path", 1228 "location": "path",
1159 "required": true, 1229 "required": true,
1160 "type": "string" 1230 "type": "string"
1161 } 1231 }
1162 }, 1232 },
1163 "path": "v1b3/projects/{projectId}/jobs/{jobId}", 1233 "path": "v1b3/projects/{projectId}/jobs",
1164 "request": { 1234 "request": {
1165 "$ref": "Job" 1235 "$ref": "Job"
1166 }, 1236 },
1167 "response": { 1237 "response": {
1168 "$ref": "Job" 1238 "$ref": "Job"
1169 }, 1239 },
1170 "scopes": [ 1240 "scopes": [
1171 "https://www.googleapis.com/auth/cloud-platform" , 1241 "https://www.googleapis.com/auth/cloud-platform" ,
1172 "https://www.googleapis.com/auth/compute", 1242 "https://www.googleapis.com/auth/compute",
1173 "https://www.googleapis.com/auth/compute.readonl y", 1243 "https://www.googleapis.com/auth/compute.readonl y",
1174 "https://www.googleapis.com/auth/userinfo.email" 1244 "https://www.googleapis.com/auth/userinfo.email"
1175 ] 1245 ]
1176 }, 1246 },
1177 "create": { 1247 "getMetrics": {
1178 "description": "Creates a Cloud Dataflow job.", 1248 "description": "Request the job status.",
1179 "httpMethod": "POST", 1249 "httpMethod": "GET",
1180 "id": "dataflow.projects.jobs.create", 1250 "id": "dataflow.projects.jobs.getMetrics",
1181 "parameterOrder": [ 1251 "parameterOrder": [
1182 "projectId" 1252 "projectId",
1253 "jobId"
1183 ], 1254 ],
1184 "parameters": { 1255 "parameters": {
1185 "replaceJobId": { 1256 "jobId": {
1186 "description": "Deprecated. This field is no w in the Job message.", 1257 "description": "The job to get messages for. ",
1187 "location": "query", 1258 "location": "path",
1188 "type": "string" 1259 "required": true,
1189 },
1190 "view": {
1191 "description": "The level of information req uested in response.",
1192 "enum": [
1193 "JOB_VIEW_UNKNOWN",
1194 "JOB_VIEW_SUMMARY",
1195 "JOB_VIEW_ALL",
1196 "JOB_VIEW_DESCRIPTION"
1197 ],
1198 "location": "query",
1199 "type": "string" 1260 "type": "string"
1200 }, 1261 },
1201 "projectId": { 1262 "projectId": {
1202 "description": "The ID of the Cloud Platform project that the job belongs to.", 1263 "description": "A project id.",
1203 "location": "path", 1264 "location": "path",
1204 "required": true, 1265 "required": true,
1205 "type": "string" 1266 "type": "string"
1206 }, 1267 },
1207 "location": { 1268 "location": {
1208 "description": "The location that contains t his job.", 1269 "description": "The location which contains the job specified by job_id.",
1270 "location": "query",
1271 "type": "string"
1272 },
1273 "startTime": {
1274 "description": "Return only metric data that has changed since this time.\nDefault is to return all information about all me trics for the job.",
1275 "format": "google-datetime",
1209 "location": "query", 1276 "location": "query",
1210 "type": "string" 1277 "type": "string"
1211 } 1278 }
1212 }, 1279 },
1213 "path": "v1b3/projects/{projectId}/jobs", 1280 "path": "v1b3/projects/{projectId}/jobs/{jobId}/metr ics",
1214 "request": {
1215 "$ref": "Job"
1216 },
1217 "response": { 1281 "response": {
1218 "$ref": "Job" 1282 "$ref": "JobMetrics"
1219 }, 1283 },
1220 "scopes": [ 1284 "scopes": [
1221 "https://www.googleapis.com/auth/cloud-platform" , 1285 "https://www.googleapis.com/auth/cloud-platform" ,
1222 "https://www.googleapis.com/auth/compute", 1286 "https://www.googleapis.com/auth/compute",
1223 "https://www.googleapis.com/auth/compute.readonl y", 1287 "https://www.googleapis.com/auth/compute.readonl y",
1224 "https://www.googleapis.com/auth/userinfo.email" 1288 "https://www.googleapis.com/auth/userinfo.email"
1225 ] 1289 ]
1226 } 1290 }
1227 }, 1291 },
1228 "resources": { 1292 "resources": {
1229 "workItems": { 1293 "messages": {
1230 "methods": { 1294 "methods": {
1231 "lease": { 1295 "list": {
1232 "description": "Leases a dataflow WorkItem t o run.", 1296 "description": "Request the job status.",
1233 "httpMethod": "POST", 1297 "httpMethod": "GET",
1234 "id": "dataflow.projects.jobs.workItems.leas e", 1298 "id": "dataflow.projects.jobs.messages.list" ,
1235 "parameterOrder": [ 1299 "parameterOrder": [
1236 "projectId", 1300 "projectId",
1237 "jobId" 1301 "jobId"
1238 ], 1302 ],
1239 "parameters": { 1303 "parameters": {
1240 "jobId": { 1304 "projectId": {
1241 "description": "Identifies the workf low job this worker belongs to.", 1305 "description": "A project id.",
1242 "location": "path", 1306 "location": "path",
1243 "required": true, 1307 "required": true,
1244 "type": "string" 1308 "type": "string"
1245 }, 1309 },
1246 "projectId": { 1310 "jobId": {
1247 "description": "Identifies the proje ct this worker belongs to.", 1311 "description": "The job to get messa ges about.",
1248 "location": "path", 1312 "location": "path",
1249 "required": true, 1313 "required": true,
1250 "type": "string" 1314 "type": "string"
1315 },
1316 "location": {
1317 "description": "The location which c ontains the job specified by job_id.",
1318 "location": "query",
1319 "type": "string"
1320 },
1321 "endTime": {
1322 "description": "Return only messages with timestamps < end_time. The default is now\n(i.e. return up to the latest m essages available).",
1323 "format": "google-datetime",
1324 "location": "query",
1325 "type": "string"
1326 },
1327 "startTime": {
1328 "description": "If specified, return only messages with timestamps >= start_time.\nThe default is the job creation t ime (i.e. beginning of messages).",
1329 "format": "google-datetime",
1330 "location": "query",
1331 "type": "string"
1332 },
1333 "pageToken": {
1334 "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.",
1335 "location": "query",
1336 "type": "string"
1337 },
1338 "pageSize": {
1339 "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.",
1340 "format": "int32",
1341 "location": "query",
1342 "type": "integer"
1343 },
1344 "minimumImportance": {
1345 "description": "Filter to only get m essages with importance >= level",
1346 "enum": [
1347 "JOB_MESSAGE_IMPORTANCE_UNKNOWN" ,
1348 "JOB_MESSAGE_DEBUG",
1349 "JOB_MESSAGE_DETAILED",
1350 "JOB_MESSAGE_BASIC",
1351 "JOB_MESSAGE_WARNING",
1352 "JOB_MESSAGE_ERROR"
1353 ],
1354 "location": "query",
1355 "type": "string"
1251 } 1356 }
1252 }, 1357 },
1253 "path": "v1b3/projects/{projectId}/jobs/{job Id}/workItems:lease", 1358 "path": "v1b3/projects/{projectId}/jobs/{job Id}/messages",
1254 "request": {
1255 "$ref": "LeaseWorkItemRequest"
1256 },
1257 "response": { 1359 "response": {
1258 "$ref": "LeaseWorkItemResponse" 1360 "$ref": "ListJobMessagesResponse"
1259 }, 1361 },
1260 "scopes": [ 1362 "scopes": [
1261 "https://www.googleapis.com/auth/cloud-p latform", 1363 "https://www.googleapis.com/auth/cloud-p latform",
1262 "https://www.googleapis.com/auth/compute ", 1364 "https://www.googleapis.com/auth/compute ",
1263 "https://www.googleapis.com/auth/compute .readonly", 1365 "https://www.googleapis.com/auth/compute .readonly",
1264 "https://www.googleapis.com/auth/userinf o.email" 1366 "https://www.googleapis.com/auth/userinf o.email"
1265 ] 1367 ]
1266 }, 1368 }
1369 }
1370 },
1371 "workItems": {
1372 "methods": {
1267 "reportStatus": { 1373 "reportStatus": {
1268 "description": "Reports the status of datafl ow WorkItems leased by a worker.", 1374 "description": "Reports the status of datafl ow WorkItems leased by a worker.",
1269 "httpMethod": "POST", 1375 "httpMethod": "POST",
1270 "id": "dataflow.projects.jobs.workItems.repo rtStatus", 1376 "id": "dataflow.projects.jobs.workItems.repo rtStatus",
1271 "parameterOrder": [ 1377 "parameterOrder": [
1272 "projectId", 1378 "projectId",
1273 "jobId" 1379 "jobId"
1274 ], 1380 ],
1275 "parameters": { 1381 "parameters": {
1276 "jobId": { 1382 "jobId": {
(...skipping 15 matching lines...) Expand all
1292 }, 1398 },
1293 "response": { 1399 "response": {
1294 "$ref": "ReportWorkItemStatusResponse" 1400 "$ref": "ReportWorkItemStatusResponse"
1295 }, 1401 },
1296 "scopes": [ 1402 "scopes": [
1297 "https://www.googleapis.com/auth/cloud-p latform", 1403 "https://www.googleapis.com/auth/cloud-p latform",
1298 "https://www.googleapis.com/auth/compute ", 1404 "https://www.googleapis.com/auth/compute ",
1299 "https://www.googleapis.com/auth/compute .readonly", 1405 "https://www.googleapis.com/auth/compute .readonly",
1300 "https://www.googleapis.com/auth/userinf o.email" 1406 "https://www.googleapis.com/auth/userinf o.email"
1301 ] 1407 ]
1302 } 1408 },
1303 } 1409 "lease": {
1304 }, 1410 "description": "Leases a dataflow WorkItem t o run.",
1305 "debug": {
1306 "methods": {
1307 "sendCapture": {
1308 "description": "Send encoded debug capture d ata for component.",
1309 "httpMethod": "POST", 1411 "httpMethod": "POST",
1310 "id": "dataflow.projects.jobs.debug.sendCapt ure", 1412 "id": "dataflow.projects.jobs.workItems.leas e",
1311 "parameterOrder": [ 1413 "parameterOrder": [
1312 "projectId", 1414 "projectId",
1313 "jobId" 1415 "jobId"
1314 ], 1416 ],
1315 "parameters": { 1417 "parameters": {
1316 "jobId": { 1418 "jobId": {
1317 "description": "The job id.", 1419 "description": "Identifies the workf low job this worker belongs to.",
1318 "location": "path", 1420 "location": "path",
1319 "required": true, 1421 "required": true,
1320 "type": "string" 1422 "type": "string"
1321 }, 1423 },
1322 "projectId": { 1424 "projectId": {
1323 "description": "The project id.", 1425 "description": "Identifies the proje ct this worker belongs to.",
1324 "location": "path", 1426 "location": "path",
1325 "required": true, 1427 "required": true,
1326 "type": "string" 1428 "type": "string"
1327 } 1429 }
1328 }, 1430 },
1329 "path": "v1b3/projects/{projectId}/jobs/{job Id}/debug/sendCapture", 1431 "path": "v1b3/projects/{projectId}/jobs/{job Id}/workItems:lease",
1330 "request": { 1432 "request": {
1331 "$ref": "SendDebugCaptureRequest" 1433 "$ref": "LeaseWorkItemRequest"
1332 }, 1434 },
1333 "response": { 1435 "response": {
1334 "$ref": "SendDebugCaptureResponse" 1436 "$ref": "LeaseWorkItemResponse"
1335 }, 1437 },
1336 "scopes": [ 1438 "scopes": [
1337 "https://www.googleapis.com/auth/cloud-p latform", 1439 "https://www.googleapis.com/auth/cloud-p latform",
1338 "https://www.googleapis.com/auth/compute ", 1440 "https://www.googleapis.com/auth/compute ",
1339 "https://www.googleapis.com/auth/compute .readonly", 1441 "https://www.googleapis.com/auth/compute .readonly",
1340 "https://www.googleapis.com/auth/userinf o.email" 1442 "https://www.googleapis.com/auth/userinf o.email"
1341 ] 1443 ]
1342 }, 1444 }
1343 "getConfig": { 1445 }
1344 "description": "Get encoded debug configurat ion for component. Not cacheable.", 1446 },
1447 "debug": {
1448 "methods": {
1449 "sendCapture": {
1450 "description": "Send encoded debug capture d ata for component.",
1345 "httpMethod": "POST", 1451 "httpMethod": "POST",
1346 "id": "dataflow.projects.jobs.debug.getConfi g", 1452 "id": "dataflow.projects.jobs.debug.sendCapt ure",
1347 "parameterOrder": [ 1453 "parameterOrder": [
1348 "projectId", 1454 "projectId",
1349 "jobId" 1455 "jobId"
1350 ], 1456 ],
1351 "parameters": { 1457 "parameters": {
1352 "jobId": { 1458 "jobId": {
1353 "description": "The job id.", 1459 "description": "The job id.",
1354 "location": "path", 1460 "location": "path",
1355 "required": true, 1461 "required": true,
1356 "type": "string" 1462 "type": "string"
1357 }, 1463 },
1358 "projectId": { 1464 "projectId": {
1359 "description": "The project id.", 1465 "description": "The project id.",
1360 "location": "path", 1466 "location": "path",
1361 "required": true, 1467 "required": true,
1362 "type": "string" 1468 "type": "string"
1363 } 1469 }
1364 }, 1470 },
1365 "path": "v1b3/projects/{projectId}/jobs/{job Id}/debug/getConfig", 1471 "path": "v1b3/projects/{projectId}/jobs/{job Id}/debug/sendCapture",
1366 "request": { 1472 "request": {
1367 "$ref": "GetDebugConfigRequest" 1473 "$ref": "SendDebugCaptureRequest"
1368 }, 1474 },
1369 "response": { 1475 "response": {
1370 "$ref": "GetDebugConfigResponse" 1476 "$ref": "SendDebugCaptureResponse"
1371 }, 1477 },
1372 "scopes": [ 1478 "scopes": [
1373 "https://www.googleapis.com/auth/cloud-p latform", 1479 "https://www.googleapis.com/auth/cloud-p latform",
1374 "https://www.googleapis.com/auth/compute ", 1480 "https://www.googleapis.com/auth/compute ",
1375 "https://www.googleapis.com/auth/compute .readonly", 1481 "https://www.googleapis.com/auth/compute .readonly",
1376 "https://www.googleapis.com/auth/userinf o.email" 1482 "https://www.googleapis.com/auth/userinf o.email"
1377 ] 1483 ]
1378 } 1484 },
1379 } 1485 "getConfig": {
1380 }, 1486 "description": "Get encoded debug configurat ion for component. Not cacheable.",
1381 "messages": { 1487 "httpMethod": "POST",
1382 "methods": { 1488 "id": "dataflow.projects.jobs.debug.getConfi g",
1383 "list": {
1384 "description": "Request the job status.",
1385 "httpMethod": "GET",
1386 "id": "dataflow.projects.jobs.messages.list" ,
1387 "parameterOrder": [ 1489 "parameterOrder": [
1388 "projectId", 1490 "projectId",
1389 "jobId" 1491 "jobId"
1390 ], 1492 ],
1391 "parameters": { 1493 "parameters": {
1392 "pageSize": { 1494 "jobId": {
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.", 1495 "description": "The job id.",
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 },
1411 "projectId": {
1412 "description": "A project id.",
1413 "location": "path", 1496 "location": "path",
1414 "required": true, 1497 "required": true,
1415 "type": "string" 1498 "type": "string"
1416 }, 1499 },
1417 "jobId": { 1500 "projectId": {
1418 "description": "The job to get messa ges about.", 1501 "description": "The project id.",
1419 "location": "path", 1502 "location": "path",
1420 "required": true, 1503 "required": true,
1421 "type": "string" 1504 "type": "string"
1422 },
1423 "location": {
1424 "description": "The location which c ontains the job specified by job_id.",
1425 "location": "query",
1426 "type": "string"
1427 },
1428 "endTime": {
1429 "description": "Return only messages with timestamps < end_time. The default is now\n(i.e. return up to the latest m essages available).",
1430 "format": "google-datetime",
1431 "location": "query",
1432 "type": "string"
1433 },
1434 "startTime": {
1435 "description": "If specified, return only messages with timestamps >= start_time.\nThe default is the job creation t ime (i.e. beginning of messages).",
1436 "format": "google-datetime",
1437 "location": "query",
1438 "type": "string"
1439 },
1440 "pageToken": {
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.",
1442 "location": "query",
1443 "type": "string"
1444 } 1505 }
1445 }, 1506 },
1446 "path": "v1b3/projects/{projectId}/jobs/{job Id}/messages", 1507 "path": "v1b3/projects/{projectId}/jobs/{job Id}/debug/getConfig",
1508 "request": {
1509 "$ref": "GetDebugConfigRequest"
1510 },
1447 "response": { 1511 "response": {
1448 "$ref": "ListJobMessagesResponse" 1512 "$ref": "GetDebugConfigResponse"
1449 }, 1513 },
1450 "scopes": [ 1514 "scopes": [
1451 "https://www.googleapis.com/auth/cloud-p latform", 1515 "https://www.googleapis.com/auth/cloud-p latform",
1452 "https://www.googleapis.com/auth/compute ", 1516 "https://www.googleapis.com/auth/compute ",
1453 "https://www.googleapis.com/auth/compute .readonly", 1517 "https://www.googleapis.com/auth/compute .readonly",
1454 "https://www.googleapis.com/auth/userinf o.email" 1518 "https://www.googleapis.com/auth/userinf o.email"
1455 ] 1519 ]
1456 } 1520 }
1457 } 1521 }
1458 } 1522 }
1459 } 1523 }
1460 } 1524 }
1461 } 1525 }
1462 } 1526 }
1463 }, 1527 },
1464 "revision": "20170718", 1528 "revision": "20170809",
1465 "rootUrl": "https://dataflow.googleapis.com/", 1529 "rootUrl": "https://dataflow.googleapis.com/",
1466 "schemas": { 1530 "schemas": {
1531 "ParallelInstruction": {
1532 "description": "Describes a particular operation comprising a MapTas k.",
1533 "id": "ParallelInstruction",
1534 "properties": {
1535 "partialGroupByKey": {
1536 "$ref": "PartialGroupByKeyInstruction",
1537 "description": "Additional information for PartialGroupByKey instructions."
1538 },
1539 "outputs": {
1540 "description": "Describes the outputs of the instruction.",
1541 "items": {
1542 "$ref": "InstructionOutput"
1543 },
1544 "type": "array"
1545 },
1546 "name": {
1547 "description": "User-provided name of this operation.",
1548 "type": "string"
1549 },
1550 "read": {
1551 "$ref": "ReadInstruction",
1552 "description": "Additional information for Read instructions ."
1553 },
1554 "parDo": {
1555 "$ref": "ParDoInstruction",
1556 "description": "Additional information for ParDo instruction s."
1557 },
1558 "originalName": {
1559 "description": "System-defined name for the operation in the original workflow graph.",
1560 "type": "string"
1561 },
1562 "flatten": {
1563 "$ref": "FlattenInstruction",
1564 "description": "Additional information for Flatten instructi ons."
1565 },
1566 "write": {
1567 "$ref": "WriteInstruction",
1568 "description": "Additional information for Write instruction s."
1569 },
1570 "systemName": {
1571 "description": "System-defined name of this operation.\nUniq ue across the workflow.",
1572 "type": "string"
1573 }
1574 },
1575 "type": "object"
1576 },
1577 "KeyRangeDataDiskAssignment": {
1578 "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.",
1579 "id": "KeyRangeDataDiskAssignment",
1580 "properties": {
1581 "end": {
1582 "description": "The end (exclusive) of the key range.",
1583 "type": "string"
1584 },
1585 "dataDisk": {
1586 "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\".",
1587 "type": "string"
1588 },
1589 "start": {
1590 "description": "The start (inclusive) of the key range.",
1591 "type": "string"
1592 }
1593 },
1594 "type": "object"
1595 },
1596 "Package": {
1597 "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 .",
1598 "id": "Package",
1599 "properties": {
1600 "name": {
1601 "description": "The name of the package.",
1602 "type": "string"
1603 },
1604 "location": {
1605 "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/",
1606 "type": "string"
1607 }
1608 },
1609 "type": "object"
1610 },
1611 "ParDoInstruction": {
1612 "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.",
1613 "id": "ParDoInstruction",
1614 "properties": {
1615 "input": {
1616 "$ref": "InstructionInput",
1617 "description": "The input."
1618 },
1619 "numOutputs": {
1620 "description": "The number of outputs.",
1621 "format": "int32",
1622 "type": "integer"
1623 },
1624 "sideInputs": {
1625 "description": "Zero or more side inputs.",
1626 "items": {
1627 "$ref": "SideInputInfo"
1628 },
1629 "type": "array"
1630 },
1631 "multiOutputInfos": {
1632 "description": "Information about each of the outputs, if us er_fn is a MultiDoFn.",
1633 "items": {
1634 "$ref": "MultiOutputInfo"
1635 },
1636 "type": "array"
1637 },
1638 "userFn": {
1639 "additionalProperties": {
1640 "description": "Properties of the object.",
1641 "type": "any"
1642 },
1643 "description": "The user function to invoke.",
1644 "type": "object"
1645 }
1646 },
1647 "type": "object"
1648 },
1649 "CounterStructuredName": {
1650 "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.",
1651 "id": "CounterStructuredName",
1652 "properties": {
1653 "componentStepName": {
1654 "description": "Name of the optimized step being executed by the workers.",
1655 "type": "string"
1656 },
1657 "portion": {
1658 "description": "Portion of this counter, either key or value .",
1659 "enum": [
1660 "ALL",
1661 "KEY",
1662 "VALUE"
1663 ],
1664 "enumDescriptions": [
1665 "Counter portion has not been set.",
1666 "Counter reports a key.",
1667 "Counter reports a value."
1668 ],
1669 "type": "string"
1670 },
1671 "originalStepName": {
1672 "description": "System generated name of the original step i n the user's graph, before\noptimization.",
1673 "type": "string"
1674 },
1675 "workerId": {
1676 "description": "ID of a particular worker.",
1677 "type": "string"
1678 },
1679 "originNamespace": {
1680 "description": "A string containing a more specific namespac e of the counter's origin.",
1681 "type": "string"
1682 },
1683 "origin": {
1684 "description": "One of the standard Origins defined above.",
1685 "enum": [
1686 "SYSTEM",
1687 "USER"
1688 ],
1689 "enumDescriptions": [
1690 "Counter was created by the Dataflow system.",
1691 "Counter was created by the user."
1692 ],
1693 "type": "string"
1694 },
1695 "name": {
1696 "description": "Counter name. Not necessarily globally-uniqu e, but unique within the\ncontext of the other fields.\nRequired.",
1697 "type": "string"
1698 },
1699 "executionStepName": {
1700 "description": "Name of the stage. An execution step contain s multiple component steps.",
1701 "type": "string"
1702 }
1703 },
1704 "type": "object"
1705 },
1706 "MetricUpdate": {
1707 "description": "Describes the state of a metric.",
1708 "id": "MetricUpdate",
1709 "properties": {
1710 "name": {
1711 "$ref": "MetricStructuredName",
1712 "description": "Name of the metric."
1713 },
1714 "distribution": {
1715 "description": "A struct value describing properties of a di stribution of numeric values.",
1716 "type": "any"
1717 },
1718 "set": {
1719 "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.",
1720 "type": "any"
1721 },
1722 "cumulative": {
1723 "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.",
1724 "type": "boolean"
1725 },
1726 "internal": {
1727 "description": "Worker-computed aggregate value for internal use by the Dataflow\nservice.",
1728 "type": "any"
1729 },
1730 "kind": {
1731 "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.",
1732 "type": "string"
1733 },
1734 "scalar": {
1735 "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.",
1736 "type": "any"
1737 },
1738 "meanCount": {
1739 "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.",
1740 "type": "any"
1741 },
1742 "meanSum": {
1743 "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.",
1744 "type": "any"
1745 },
1746 "updateTime": {
1747 "description": "Timestamp associated with the metric value. Optional when workers are\nreporting work progress; it will be filled in respons es from the\nmetrics API.",
1748 "format": "google-datetime",
1749 "type": "string"
1750 }
1751 },
1752 "type": "object"
1753 },
1754 "ApproximateProgress": {
1755 "description": "Obsolete in favor of ApproximateReportedProgress and ApproximateSplitRequest.",
1756 "id": "ApproximateProgress",
1757 "properties": {
1758 "position": {
1759 "$ref": "Position",
1760 "description": "Obsolete."
1761 },
1762 "percentComplete": {
1763 "description": "Obsolete.",
1764 "format": "float",
1765 "type": "number"
1766 },
1767 "remainingTime": {
1768 "description": "Obsolete.",
1769 "format": "google-duration",
1770 "type": "string"
1771 }
1772 },
1773 "type": "object"
1774 },
1775 "WorkerMessageResponse": {
1776 "description": "A worker_message response allows the server to pass information to the\nsender.",
1777 "id": "WorkerMessageResponse",
1778 "properties": {
1779 "workerMetricsResponse": {
1780 "$ref": "ResourceUtilizationReportResponse",
1781 "description": "Service's response to reporting worker metri cs (currently empty)."
1782 },
1783 "workerHealthReportResponse": {
1784 "$ref": "WorkerHealthReportResponse",
1785 "description": "The service's response to a worker's health report."
1786 }
1787 },
1788 "type": "object"
1789 },
1790 "TemplateMetadata": {
1791 "description": "Metadata describing a template.",
1792 "id": "TemplateMetadata",
1793 "properties": {
1794 "parameters": {
1795 "description": "The parameters for the template.",
1796 "items": {
1797 "$ref": "ParameterMetadata"
1798 },
1799 "type": "array"
1800 },
1801 "name": {
1802 "description": "Required. The name of the template.",
1803 "type": "string"
1804 },
1805 "description": {
1806 "description": "Optional. A description of the template.",
1807 "type": "string"
1808 }
1809 },
1810 "type": "object"
1811 },
1812 "WorkerMessage": {
1813 "description": "WorkerMessage provides information to the backend ab out a worker.",
1814 "id": "WorkerMessage",
1815 "properties": {
1816 "time": {
1817 "description": "The timestamp of the worker_message.",
1818 "format": "google-datetime",
1819 "type": "string"
1820 },
1821 "workerHealthReport": {
1822 "$ref": "WorkerHealthReport",
1823 "description": "The health of a worker."
1824 },
1825 "workerMetrics": {
1826 "$ref": "ResourceUtilizationReport",
1827 "description": "Resource metrics reported by workers."
1828 },
1829 "workerMessageCode": {
1830 "$ref": "WorkerMessageCode",
1831 "description": "A worker message code."
1832 },
1833 "labels": {
1834 "additionalProperties": {
1835 "type": "string"
1836 },
1837 "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.",
1838 "type": "object"
1839 }
1840 },
1841 "type": "object"
1842 },
1843 "JobMetrics": {
1844 "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.",
1845 "id": "JobMetrics",
1846 "properties": {
1847 "metrics": {
1848 "description": "All metrics for this job.",
1849 "items": {
1850 "$ref": "MetricUpdate"
1851 },
1852 "type": "array"
1853 },
1854 "metricTime": {
1855 "description": "Timestamp as of which metric values are curr ent.",
1856 "format": "google-datetime",
1857 "type": "string"
1858 }
1859 },
1860 "type": "object"
1861 },
1862 "FloatingPointList": {
1863 "description": "A metric value representing a list of floating point numbers.",
1864 "id": "FloatingPointList",
1865 "properties": {
1866 "elements": {
1867 "description": "Elements of the list.",
1868 "items": {
1869 "format": "double",
1870 "type": "number"
1871 },
1872 "type": "array"
1873 }
1874 },
1875 "type": "object"
1876 },
1877 "CounterUpdate": {
1878 "description": "An update to a Counter sent from a worker.",
1879 "id": "CounterUpdate",
1880 "properties": {
1881 "nameAndKind": {
1882 "$ref": "NameAndKind",
1883 "description": "Counter name and aggregation type."
1884 },
1885 "stringList": {
1886 "$ref": "StringList",
1887 "description": "List of strings, for Set."
1888 },
1889 "distribution": {
1890 "$ref": "DistributionUpdate",
1891 "description": "Distribution data"
1892 },
1893 "shortId": {
1894 "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.",
1895 "format": "int64",
1896 "type": "string"
1897 },
1898 "floatingPointList": {
1899 "$ref": "FloatingPointList",
1900 "description": "List of floating point numbers, for Set."
1901 },
1902 "integer": {
1903 "$ref": "SplitInt64",
1904 "description": "Integer value for Sum, Max, Min."
1905 },
1906 "structuredNameAndMetadata": {
1907 "$ref": "CounterStructuredNameAndMetadata",
1908 "description": "Counter structured name and metadata."
1909 },
1910 "integerList": {
1911 "$ref": "IntegerList",
1912 "description": "List of integers, for Set."
1913 },
1914 "floatingPoint": {
1915 "description": "Floating point value for Sum, Max, Min.",
1916 "format": "double",
1917 "type": "number"
1918 },
1919 "integerMean": {
1920 "$ref": "IntegerMean",
1921 "description": "Integer mean aggregation value for Mean."
1922 },
1923 "internal": {
1924 "description": "Value for internally-defined counters used b y the Dataflow service.",
1925 "type": "any"
1926 },
1927 "cumulative": {
1928 "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.",
1929 "type": "boolean"
1930 },
1931 "floatingPointMean": {
1932 "$ref": "FloatingPointMean",
1933 "description": "Floating point mean aggregation value for Me an."
1934 },
1935 "boolean": {
1936 "description": "Boolean value for And, Or.",
1937 "type": "boolean"
1938 }
1939 },
1940 "type": "object"
1941 },
1942 "SourceMetadata": {
1943 "description": "Metadata about a Source useful for automatically opt imizing\nand tuning the pipeline, etc.",
1944 "id": "SourceMetadata",
1945 "properties": {
1946 "estimatedSizeBytes": {
1947 "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.",
1948 "format": "int64",
1949 "type": "string"
1950 },
1951 "infinite": {
1952 "description": "Specifies that the size of this source is kn own to be infinite\n(this is a streaming source).",
1953 "type": "boolean"
1954 },
1955 "producesSortedKeys": {
1956 "description": "Whether this source is known to produce key/ value pairs with\nthe (encoded) keys in lexicographically sorted order.",
1957 "type": "boolean"
1958 }
1959 },
1960 "type": "object"
1961 },
1962 "DistributionUpdate": {
1963 "description": "A metric value representing a distribution.",
1964 "id": "DistributionUpdate",
1965 "properties": {
1966 "max": {
1967 "$ref": "SplitInt64",
1968 "description": "The maximum value present in the distributio n."
1969 },
1970 "logBuckets": {
1971 "description": "(Optional) Logarithmic histogram of values.\ nEach log may be in no more than one bucket. Order does not matter.",
1972 "items": {
1973 "$ref": "LogBucket"
1974 },
1975 "type": "array"
1976 },
1977 "count": {
1978 "$ref": "SplitInt64",
1979 "description": "The count of the number of elements present in the distribution."
1980 },
1981 "min": {
1982 "$ref": "SplitInt64",
1983 "description": "The minimum value present in the distributio n."
1984 },
1985 "sumOfSquares": {
1986 "description": "Use a double since the sum of squares is lik ely to overflow int64.",
1987 "format": "double",
1988 "type": "number"
1989 },
1990 "sum": {
1991 "$ref": "SplitInt64",
1992 "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."
1993 }
1994 },
1995 "type": "object"
1996 },
1997 "SourceFork": {
1998 "description": "DEPRECATED in favor of DynamicSourceSplit.",
1999 "id": "SourceFork",
2000 "properties": {
2001 "residual": {
2002 "$ref": "SourceSplitShard",
2003 "description": "DEPRECATED"
2004 },
2005 "residualSource": {
2006 "$ref": "DerivedSource",
2007 "description": "DEPRECATED"
2008 },
2009 "primary": {
2010 "$ref": "SourceSplitShard",
2011 "description": "DEPRECATED"
2012 },
2013 "primarySource": {
2014 "$ref": "DerivedSource",
2015 "description": "DEPRECATED"
2016 }
2017 },
2018 "type": "object"
2019 },
2020 "WorkerHealthReportResponse": {
2021 "description": "WorkerHealthReportResponse contains information retu rned to the worker\nin response to a health ping.",
2022 "id": "WorkerHealthReportResponse",
2023 "properties": {
2024 "reportInterval": {
2025 "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.",
2026 "format": "google-duration",
2027 "type": "string"
2028 }
2029 },
2030 "type": "object"
2031 },
1467 "WorkItemStatus": { 2032 "WorkItemStatus": {
1468 "description": "Conveys a worker's progress through the work describ ed by a WorkItem.", 2033 "description": "Conveys a worker's progress through the work describ ed by a WorkItem.",
1469 "id": "WorkItemStatus", 2034 "id": "WorkItemStatus",
1470 "properties": { 2035 "properties": {
2036 "sourceFork": {
2037 "$ref": "SourceFork",
2038 "description": "DEPRECATED in favor of dynamic_source_split. "
2039 },
2040 "counterUpdates": {
2041 "description": "Worker output counters for this WorkItem.",
2042 "items": {
2043 "$ref": "CounterUpdate"
2044 },
2045 "type": "array"
2046 },
1471 "workItemId": { 2047 "workItemId": {
1472 "description": "Identifies the WorkItem.", 2048 "description": "Identifies the WorkItem.",
1473 "type": "string" 2049 "type": "string"
1474 }, 2050 },
1475 "errors": { 2051 "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.", 2052 "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": { 2053 "items": {
1478 "$ref": "Status" 2054 "$ref": "Status"
1479 }, 2055 },
1480 "type": "array" 2056 "type": "array"
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
1512 "$ref": "Position", 2088 "$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." 2089 "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 }, 2090 },
1515 "completed": { 2091 "completed": {
1516 "description": "True if the WorkItem was completed (successf ully or unsuccessfully).", 2092 "description": "True if the WorkItem was completed (successf ully or unsuccessfully).",
1517 "type": "boolean" 2093 "type": "boolean"
1518 }, 2094 },
1519 "reportedProgress": { 2095 "reportedProgress": {
1520 "$ref": "ApproximateReportedProgress", 2096 "$ref": "ApproximateReportedProgress",
1521 "description": "The worker's progress through this WorkItem. " 2097 "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 } 2098 }
1534 }, 2099 },
1535 "type": "object" 2100 "type": "object"
1536 }, 2101 },
1537 "ComponentSource": { 2102 "ComponentSource": {
1538 "description": "Description of an interstitial value between transfo rms in an execution\nstage.", 2103 "description": "Description of an interstitial value between transfo rms in an execution\nstage.",
1539 "id": "ComponentSource", 2104 "id": "ComponentSource",
1540 "properties": { 2105 "properties": {
2106 "name": {
2107 "description": "Dataflow service generated name for this sou rce.",
2108 "type": "string"
2109 },
2110 "userName": {
2111 "description": "Human-readable name for this transform; may be user or system generated.",
2112 "type": "string"
2113 },
1541 "originalTransformOrCollection": { 2114 "originalTransformOrCollection": {
1542 "description": "User name for the original user transform or collection with which this\nsource is most closely associated.", 2115 "description": "User name for the original user transform or collection with which this\nsource is most closely associated.",
1543 "type": "string" 2116 "type": "string"
1544 },
1545 "name": {
1546 "description": "Dataflow service generated name for this sou rce.",
1547 "type": "string"
1548 },
1549 "userName": {
1550 "description": "Human-readable name for this transform; may be user or system generated.",
1551 "type": "string"
1552 } 2117 }
1553 }, 2118 },
1554 "type": "object" 2119 "type": "object"
1555 }, 2120 },
1556 "WorkItemServiceState": { 2121 "WorkItemServiceState": {
1557 "description": "The Dataflow service's idea of the current state of a WorkItem\nbeing processed by a worker.", 2122 "description": "The Dataflow service's idea of the current state of a WorkItem\nbeing processed by a worker.",
1558 "id": "WorkItemServiceState", 2123 "id": "WorkItemServiceState",
1559 "properties": { 2124 "properties": {
2125 "suggestedStopPoint": {
2126 "$ref": "ApproximateProgress",
2127 "description": "DEPRECATED in favor of split_request."
2128 },
1560 "splitRequest": { 2129 "splitRequest": {
1561 "$ref": "ApproximateSplitRequest", 2130 "$ref": "ApproximateSplitRequest",
1562 "description": "The progress point in the WorkItem where the Dataflow service\nsuggests that the worker truncate the task." 2131 "description": "The progress point in the WorkItem where the Dataflow service\nsuggests that the worker truncate the task."
1563 }, 2132 },
1564 "suggestedStopPosition": { 2133 "suggestedStopPosition": {
1565 "$ref": "Position", 2134 "$ref": "Position",
1566 "description": "Obsolete, always empty." 2135 "description": "Obsolete, always empty."
1567 }, 2136 },
1568 "reportStatusInterval": { 2137 "reportStatusInterval": {
1569 "description": "New recommended reporting interval.", 2138 "description": "New recommended reporting interval.",
(...skipping 17 matching lines...) Expand all
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.", 2156 "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": { 2157 "items": {
1589 "$ref": "MetricShortId" 2158 "$ref": "MetricShortId"
1590 }, 2159 },
1591 "type": "array" 2160 "type": "array"
1592 }, 2161 },
1593 "nextReportIndex": { 2162 "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.", 2163 "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", 2164 "format": "int64",
1596 "type": "string" 2165 "type": "string"
1597 },
1598 "suggestedStopPoint": {
1599 "$ref": "ApproximateProgress",
1600 "description": "DEPRECATED in favor of split_request."
1601 } 2166 }
1602 }, 2167 },
1603 "type": "object" 2168 "type": "object"
1604 }, 2169 },
1605 "MetricStructuredName": { 2170 "MetricStructuredName": {
1606 "description": "Identifies a metric, by describing the source which generated the\nmetric.", 2171 "description": "Identifies a metric, by describing the source which generated the\nmetric.",
1607 "id": "MetricStructuredName", 2172 "id": "MetricStructuredName",
1608 "properties": { 2173 "properties": {
1609 "name": {
1610 "description": "Worker-defined metric name.",
1611 "type": "string"
1612 },
1613 "origin": {
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.",
1615 "type": "string"
1616 },
1617 "context": { 2174 "context": {
1618 "additionalProperties": { 2175 "additionalProperties": {
1619 "type": "string" 2176 "type": "string"
1620 }, 2177 },
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>.", 2178 "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" 2179 "type": "object"
2180 },
2181 "name": {
2182 "description": "Worker-defined metric name.",
2183 "type": "string"
2184 },
2185 "origin": {
2186 "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.",
2187 "type": "string"
1623 } 2188 }
1624 }, 2189 },
1625 "type": "object" 2190 "type": "object"
1626 }, 2191 },
1627 "SeqMapTaskOutputInfo": { 2192 "SeqMapTaskOutputInfo": {
1628 "description": "Information about an output of a SeqMapTask.", 2193 "description": "Information about an output of a SeqMapTask.",
1629 "id": "SeqMapTaskOutputInfo", 2194 "id": "SeqMapTaskOutputInfo",
1630 "properties": { 2195 "properties": {
1631 "tag": { 2196 "tag": {
1632 "description": "The id of the TupleTag the user code will ta g the output value by.", 2197 "description": "The id of the TupleTag the user code will ta g the output value by.",
(...skipping 17 matching lines...) Expand all
1650 }, 2215 },
1651 "type": "array" 2216 "type": "array"
1652 } 2217 }
1653 }, 2218 },
1654 "type": "object" 2219 "type": "object"
1655 }, 2220 },
1656 "KeyRangeLocation": { 2221 "KeyRangeLocation": {
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.", 2222 "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.",
1658 "id": "KeyRangeLocation", 2223 "id": "KeyRangeLocation",
1659 "properties": { 2224 "properties": {
2225 "deprecatedPersistentDirectory": {
2226 "description": "DEPRECATED. The location of the persistent s tate for this range, as a\npersistent directory in the worker local filesystem." ,
2227 "type": "string"
2228 },
2229 "deliveryEndpoint": {
2230 "description": "The physical location of this range assignme nt to be used for\nstreaming computation cross-worker message delivery.",
2231 "type": "string"
2232 },
1660 "dataDisk": { 2233 "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\".", 2234 "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" 2235 "type": "string"
1663 }, 2236 },
1664 "start": { 2237 "start": {
1665 "description": "The start (inclusive) of the key range.", 2238 "description": "The start (inclusive) of the key range.",
1666 "type": "string" 2239 "type": "string"
1667 }, 2240 },
1668 "end": { 2241 "end": {
1669 "description": "The end (exclusive) of the key range.", 2242 "description": "The end (exclusive) of the key range.",
1670 "type": "string" 2243 "type": "string"
1671 },
1672 "deprecatedPersistentDirectory": {
1673 "description": "DEPRECATED. The location of the persistent s tate for this range, as a\npersistent directory in the worker local filesystem." ,
1674 "type": "string"
1675 },
1676 "deliveryEndpoint": {
1677 "description": "The physical location of this range assignme nt to be used for\nstreaming computation cross-worker message delivery.",
1678 "type": "string"
1679 } 2244 }
1680 }, 2245 },
1681 "type": "object" 2246 "type": "object"
1682 }, 2247 },
1683 "SourceGetMetadataRequest": { 2248 "SourceGetMetadataRequest": {
1684 "description": "A request to compute the SourceMetadata of a Source. ", 2249 "description": "A request to compute the SourceMetadata of a Source. ",
1685 "id": "SourceGetMetadataRequest", 2250 "id": "SourceGetMetadataRequest",
1686 "properties": { 2251 "properties": {
1687 "source": { 2252 "source": {
1688 "$ref": "Source", 2253 "$ref": "Source",
1689 "description": "Specification of the source whose metadata s hould be computed." 2254 "description": "Specification of the source whose metadata s hould be computed."
1690 } 2255 }
1691 }, 2256 },
1692 "type": "object" 2257 "type": "object"
1693 }, 2258 },
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 },
1735 "NameAndKind": { 2259 "NameAndKind": {
1736 "description": "Basic metadata about a counter.", 2260 "description": "Basic metadata about a counter.",
1737 "id": "NameAndKind", 2261 "id": "NameAndKind",
1738 "properties": { 2262 "properties": {
1739 "name": { 2263 "name": {
1740 "description": "Name of the counter.", 2264 "description": "Name of the counter.",
1741 "type": "string" 2265 "type": "string"
1742 }, 2266 },
1743 "kind": { 2267 "kind": {
1744 "description": "Counter aggregation kind.", 2268 "description": "Counter aggregation kind.",
(...skipping 17 matching lines...) Expand all
1762 "Aggregated value represents the logical 'or' of all con tributed values.", 2286 "Aggregated value represents the logical 'or' of all con tributed values.",
1763 "Aggregated value represents the logical 'and' of all co ntributed values.", 2287 "Aggregated value represents the logical 'and' of all co ntributed values.",
1764 "Aggregated value is a set of unique contributed values. ", 2288 "Aggregated value is a set of unique contributed values. ",
1765 "Aggregated value captures statistics about a distributi on." 2289 "Aggregated value captures statistics about a distributi on."
1766 ], 2290 ],
1767 "type": "string" 2291 "type": "string"
1768 } 2292 }
1769 }, 2293 },
1770 "type": "object" 2294 "type": "object"
1771 }, 2295 },
2296 "SeqMapTask": {
2297 "description": "Describes a particular function to invoke.",
2298 "id": "SeqMapTask",
2299 "properties": {
2300 "userFn": {
2301 "additionalProperties": {
2302 "description": "Properties of the object.",
2303 "type": "any"
2304 },
2305 "description": "The user function to invoke.",
2306 "type": "object"
2307 },
2308 "name": {
2309 "description": "The user-provided name of the SeqDo operatio n.",
2310 "type": "string"
2311 },
2312 "outputInfos": {
2313 "description": "Information about each of the outputs.",
2314 "items": {
2315 "$ref": "SeqMapTaskOutputInfo"
2316 },
2317 "type": "array"
2318 },
2319 "inputs": {
2320 "description": "Information about each of the inputs.",
2321 "items": {
2322 "$ref": "SideInputInfo"
2323 },
2324 "type": "array"
2325 },
2326 "stageName": {
2327 "description": "System-defined name of the stage containing the SeqDo operation.\nUnique across the workflow.",
2328 "type": "string"
2329 },
2330 "systemName": {
2331 "description": "System-defined name of the SeqDo operation.\ nUnique across the workflow.",
2332 "type": "string"
2333 }
2334 },
2335 "type": "object"
2336 },
1772 "WorkerMessageCode": { 2337 "WorkerMessageCode": {
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).", 2338 "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).",
1774 "id": "WorkerMessageCode", 2339 "id": "WorkerMessageCode",
1775 "properties": { 2340 "properties": {
1776 "code": { 2341 "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.", 2342 "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" 2343 "type": "string"
1779 }, 2344 },
1780 "parameters": { 2345 "parameters": {
1781 "additionalProperties": { 2346 "additionalProperties": {
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
1818 }, 2383 },
1819 "type": "array" 2384 "type": "array"
1820 } 2385 }
1821 }, 2386 },
1822 "type": "object" 2387 "type": "object"
1823 }, 2388 },
1824 "FloatingPointMean": { 2389 "FloatingPointMean": {
1825 "description": "A representation of a floating point mean metric con tribution.", 2390 "description": "A representation of a floating point mean metric con tribution.",
1826 "id": "FloatingPointMean", 2391 "id": "FloatingPointMean",
1827 "properties": { 2392 "properties": {
2393 "count": {
2394 "$ref": "SplitInt64",
2395 "description": "The number of values being aggregated."
2396 },
1828 "sum": { 2397 "sum": {
1829 "description": "The sum of all values being aggregated.", 2398 "description": "The sum of all values being aggregated.",
1830 "format": "double", 2399 "format": "double",
1831 "type": "number" 2400 "type": "number"
1832 },
1833 "count": {
1834 "$ref": "SplitInt64",
1835 "description": "The number of values being aggregated."
1836 } 2401 }
1837 }, 2402 },
1838 "type": "object" 2403 "type": "object"
1839 }, 2404 },
1840 "ReportWorkItemStatusResponse": { 2405 "ReportWorkItemStatusResponse": {
1841 "description": "Response from a request to report the status of Work Items.", 2406 "description": "Response from a request to report the status of Work Items.",
1842 "id": "ReportWorkItemStatusResponse", 2407 "id": "ReportWorkItemStatusResponse",
1843 "properties": { 2408 "properties": {
1844 "workItemServiceStates": { 2409 "workItemServiceStates": {
1845 "description": "A set of messages indicating the service-sid e state for each\nWorkItem whose status was reported, in the same order as the\n WorkItemStatus messages in the ReportWorkItemStatusRequest which\nresulting in t his response.", 2410 "description": "A set of messages indicating the service-sid e state for each\nWorkItem whose status was reported, in the same order as the\n WorkItemStatus messages in the ReportWorkItemStatusRequest which\nresulting in t his response.",
1846 "items": { 2411 "items": {
1847 "$ref": "WorkItemServiceState" 2412 "$ref": "WorkItemServiceState"
1848 }, 2413 },
1849 "type": "array" 2414 "type": "array"
1850 } 2415 }
1851 }, 2416 },
1852 "type": "object" 2417 "type": "object"
1853 }, 2418 },
1854 "InstructionOutput": { 2419 "InstructionOutput": {
1855 "description": "An output of an instruction.", 2420 "description": "An output of an instruction.",
1856 "id": "InstructionOutput", 2421 "id": "InstructionOutput",
1857 "properties": { 2422 "properties": {
2423 "onlyCountValueBytes": {
2424 "description": "For system-generated byte and mean byte metr ics, certain instructions\nshould only report the value size.",
2425 "type": "boolean"
2426 },
1858 "codec": { 2427 "codec": {
1859 "additionalProperties": { 2428 "additionalProperties": {
1860 "description": "Properties of the object.", 2429 "description": "Properties of the object.",
1861 "type": "any" 2430 "type": "any"
1862 }, 2431 },
1863 "description": "The codec to use to encode data being writte n via this output.", 2432 "description": "The codec to use to encode data being writte n via this output.",
1864 "type": "object" 2433 "type": "object"
1865 }, 2434 },
1866 "name": { 2435 "name": {
1867 "description": "The user-provided name of this output.", 2436 "description": "The user-provided name of this output.",
1868 "type": "string" 2437 "type": "string"
1869 }, 2438 },
1870 "originalName": { 2439 "originalName": {
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.", 2440 "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.",
1872 "type": "string" 2441 "type": "string"
1873 }, 2442 },
1874 "systemName": { 2443 "systemName": {
1875 "description": "System-defined name of this output.\nUnique across the workflow.", 2444 "description": "System-defined name of this output.\nUnique across the workflow.",
1876 "type": "string" 2445 "type": "string"
1877 }, 2446 },
1878 "onlyCountKeyBytes": { 2447 "onlyCountKeyBytes": {
1879 "description": "For system-generated byte and mean byte metr ics, certain instructions\nshould only report the key size.", 2448 "description": "For system-generated byte and mean byte metr ics, certain instructions\nshould only report the key size.",
1880 "type": "boolean" 2449 "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"
1885 } 2450 }
1886 }, 2451 },
1887 "type": "object" 2452 "type": "object"
1888 }, 2453 },
1889 "CreateJobFromTemplateRequest": { 2454 "CreateJobFromTemplateRequest": {
1890 "description": "A request to create a Cloud Dataflow job from a temp late.", 2455 "description": "A request to create a Cloud Dataflow job from a temp late.",
1891 "id": "CreateJobFromTemplateRequest", 2456 "id": "CreateJobFromTemplateRequest",
1892 "properties": { 2457 "properties": {
2458 "jobName": {
2459 "description": "Required. The job name to use for the create d job.",
2460 "type": "string"
2461 },
1893 "gcsPath": { 2462 "gcsPath": {
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://`.", 2463 "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://`.",
1895 "type": "string" 2464 "type": "string"
1896 }, 2465 },
1897 "environment": { 2466 "environment": {
1898 "$ref": "RuntimeEnvironment", 2467 "$ref": "RuntimeEnvironment",
1899 "description": "The runtime environment for the job." 2468 "description": "The runtime environment for the job."
1900 }, 2469 },
1901 "location": { 2470 "location": {
1902 "description": "The location to which to direct the request. ", 2471 "description": "The location to which to direct the request. ",
1903 "type": "string" 2472 "type": "string"
1904 }, 2473 },
1905 "parameters": { 2474 "parameters": {
1906 "additionalProperties": { 2475 "additionalProperties": {
1907 "type": "string" 2476 "type": "string"
1908 }, 2477 },
1909 "description": "The runtime parameters to pass to the job.", 2478 "description": "The runtime parameters to pass to the job.",
1910 "type": "object" 2479 "type": "object"
1911 },
1912 "jobName": {
1913 "description": "Required. The job name to use for the create d job.",
1914 "type": "string"
1915 } 2480 }
1916 }, 2481 },
1917 "type": "object" 2482 "type": "object"
1918 }, 2483 },
1919 "IntegerMean": { 2484 "IntegerMean": {
1920 "description": "A representation of an integer mean metric contribut ion.", 2485 "description": "A representation of an integer mean metric contribut ion.",
1921 "id": "IntegerMean", 2486 "id": "IntegerMean",
1922 "properties": { 2487 "properties": {
2488 "count": {
2489 "$ref": "SplitInt64",
2490 "description": "The number of values being aggregated."
2491 },
1923 "sum": { 2492 "sum": {
1924 "$ref": "SplitInt64", 2493 "$ref": "SplitInt64",
1925 "description": "The sum of all values being aggregated." 2494 "description": "The sum of all values being aggregated."
1926 },
1927 "count": {
1928 "$ref": "SplitInt64",
1929 "description": "The number of values being aggregated."
1930 } 2495 }
1931 }, 2496 },
1932 "type": "object" 2497 "type": "object"
1933 }, 2498 },
1934 "ListJobsResponse": { 2499 "ListJobsResponse": {
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.", 2500 "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.",
1936 "id": "ListJobsResponse", 2501 "id": "ListJobsResponse",
1937 "properties": { 2502 "properties": {
2503 "failedLocation": {
2504 "description": "Zero or more messages describing locations t hat failed to respond.",
2505 "items": {
2506 "$ref": "FailedLocation"
2507 },
2508 "type": "array"
2509 },
2510 "nextPageToken": {
2511 "description": "Set if there may be more results than fit in this response.",
2512 "type": "string"
2513 },
1938 "jobs": { 2514 "jobs": {
1939 "description": "A subset of the requested job information.", 2515 "description": "A subset of the requested job information.",
1940 "items": { 2516 "items": {
1941 "$ref": "Job" 2517 "$ref": "Job"
1942 }, 2518 },
1943 "type": "array" 2519 "type": "array"
1944 },
1945 "failedLocation": {
1946 "description": "Zero or more messages describing locations t hat failed to respond.",
1947 "items": {
1948 "$ref": "FailedLocation"
1949 },
1950 "type": "array"
1951 },
1952 "nextPageToken": {
1953 "description": "Set if there may be more results than fit in this response.",
1954 "type": "string"
1955 } 2520 }
1956 }, 2521 },
1957 "type": "object" 2522 "type": "object"
1958 }, 2523 },
1959 "ComputationTopology": { 2524 "ComputationTopology": {
1960 "description": "All configuration data for a particular Computation. ", 2525 "description": "All configuration data for a particular Computation. ",
1961 "id": "ComputationTopology", 2526 "id": "ComputationTopology",
1962 "properties": { 2527 "properties": {
1963 "outputs": { 2528 "outputs": {
1964 "description": "The outputs from the computation.", 2529 "description": "The outputs from the computation.",
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
1996 }, 2561 },
1997 "type": "array" 2562 "type": "array"
1998 } 2563 }
1999 }, 2564 },
2000 "type": "object" 2565 "type": "object"
2001 }, 2566 },
2002 "RuntimeEnvironment": { 2567 "RuntimeEnvironment": {
2003 "description": "The environment values to set at runtime.", 2568 "description": "The environment values to set at runtime.",
2004 "id": "RuntimeEnvironment", 2569 "id": "RuntimeEnvironment",
2005 "properties": { 2570 "properties": {
2006 "serviceAccountEmail": {
2007 "description": "The email address of the service account to run the job as.",
2008 "type": "string"
2009 },
2010 "tempLocation": {
2011 "description": "The Cloud Storage path to use for temporary files.\nMust be a valid Cloud Storage URL, beginning with `gs://`.",
2012 "type": "string"
2013 },
2014 "bypassTempDirValidation": {
2015 "description": "Whether to bypass the safety checks for the job's temporary directory.\nUse with caution.",
2016 "type": "boolean"
2017 },
2018 "machineType": { 2571 "machineType": {
2019 "description": "The machine type to use for the job. Default s to the value from the\ntemplate if not specified.", 2572 "description": "The machine type to use for the job. Default s to the value from the\ntemplate if not specified.",
2020 "type": "string" 2573 "type": "string"
2021 }, 2574 },
2022 "zone": { 2575 "zone": {
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.", 2576 "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.",
2024 "type": "string" 2577 "type": "string"
2025 }, 2578 },
2026 "maxWorkers": { 2579 "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.", 2580 "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", 2581 "format": "int32",
2029 "type": "integer" 2582 "type": "integer"
2583 },
2584 "serviceAccountEmail": {
2585 "description": "The email address of the service account to run the job as.",
2586 "type": "string"
2587 },
2588 "tempLocation": {
2589 "description": "The Cloud Storage path to use for temporary files.\nMust be a valid Cloud Storage URL, beginning with `gs://`.",
2590 "type": "string"
2591 },
2592 "bypassTempDirValidation": {
2593 "description": "Whether to bypass the safety checks for the job's temporary directory.\nUse with caution.",
2594 "type": "boolean"
2030 } 2595 }
2031 }, 2596 },
2032 "type": "object" 2597 "type": "object"
2033 }, 2598 },
2034 "StreamingSideInputLocation": { 2599 "StreamingSideInputLocation": {
2035 "description": "Identifies the location of a streaming side input.", 2600 "description": "Identifies the location of a streaming side input.",
2036 "id": "StreamingSideInputLocation", 2601 "id": "StreamingSideInputLocation",
2037 "properties": { 2602 "properties": {
2038 "tag": { 2603 "tag": {
2039 "description": "Identifies the particular side input within the streaming Dataflow job.", 2604 "description": "Identifies the particular side input within the streaming Dataflow job.",
(...skipping 25 matching lines...) Expand all
2065 "$ref": "Job", 2630 "$ref": "Job",
2066 "description": "The job that was launched, if the request wa s not a dry run and\nthe job was successfully launched." 2631 "description": "The job that was launched, if the request wa s not a dry run and\nthe job was successfully launched."
2067 } 2632 }
2068 }, 2633 },
2069 "type": "object" 2634 "type": "object"
2070 }, 2635 },
2071 "DerivedSource": { 2636 "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.", 2637 "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", 2638 "id": "DerivedSource",
2074 "properties": { 2639 "properties": {
2640 "source": {
2641 "$ref": "Source",
2642 "description": "Specification of the source."
2643 },
2075 "derivationMode": { 2644 "derivationMode": {
2076 "description": "What source to base the produced source on ( if any).", 2645 "description": "What source to base the produced source on ( if any).",
2077 "enum": [ 2646 "enum": [
2078 "SOURCE_DERIVATION_MODE_UNKNOWN", 2647 "SOURCE_DERIVATION_MODE_UNKNOWN",
2079 "SOURCE_DERIVATION_MODE_INDEPENDENT", 2648 "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 },
2113 "Job": {
2114 "description": "Defines a job to be run by the Cloud Dataflow servic e.",
2115 "id": "Job",
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 },
2178 "currentStateTime": {
2179 "description": "The timestamp associated with the current st ate.",
2180 "format": "google-datetime",
2181 "type": "string"
2182 },
2183 "transformNameMapping": {
2184 "additionalProperties": {
2185 "type": "string"
2186 },
2187 "description": "The map of transform name prefixes of the jo b to be replaced to the\ncorresponding name prefixes of the new job.",
2188 "type": "object"
2189 },
2190 "labels": {
2191 "additionalProperties": {
2192 "type": "string"
2193 },
2194 "description": "User-defined labels for this job.\n\nThe lab els map can contain no more than 64 entries. Entries of the labels\nmap are UTF 8 strings that comply with the following restrictions:\n\n* Keys must conform to regexp: \\p{Ll}\\p{Lo}{0,62}\n* Values must conform to regexp: [\\p{Ll}\\p{Lo }\\p{N}_-]{0,63}\n* Both keys and values are additionally constrained to be <= 1 28 bytes in\nsize.",
2195 "type": "object"
2196 },
2197 "environment": {
2198 "$ref": "Environment",
2199 "description": "The environment for the job."
2200 },
2201 "createTime": {
2202 "description": "The timestamp when the job was initially cre ated. Immutable and set by the\nCloud Dataflow service.",
2203 "format": "google-datetime",
2204 "type": "string"
2205 },
2206 "stageStates": {
2207 "description": "This field may be mutated by the Cloud Dataf low service;\ncallers cannot mutate it.",
2208 "items": {
2209 "$ref": "ExecutionStageState"
2210 },
2211 "type": "array"
2212 },
2213 "projectId": {
2214 "description": "The ID of the Cloud Platform project that th e job belongs to.",
2215 "type": "string"
2216 },
2217 "type": {
2218 "description": "The type of Cloud Dataflow job.",
2219 "enum": [
2220 "JOB_TYPE_UNKNOWN",
2221 "JOB_TYPE_BATCH",
2222 "JOB_TYPE_STREAMING"
2223 ],
2224 "enumDescriptions": [
2225 "The type of the job is unspecified, or unknown.",
2226 "A batch job with a well-defined end point: data is read , data is\nprocessed, data is written, and the job is done.",
2227 "A continuously streaming job with no end: data is read, \nprocessed, and written continuously."
2228 ],
2229 "type": "string"
2230 },
2231 "pipelineDescription": {
2232 "$ref": "PipelineDescription",
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."
2234 },
2235 "replaceJobId": {
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.",
2237 "type": "string"
2238 },
2239 "requestedState": {
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.",
2241 "enum": [
2242 "JOB_STATE_UNKNOWN",
2243 "JOB_STATE_STOPPED",
2244 "JOB_STATE_RUNNING",
2245 "JOB_STATE_DONE",
2246 "JOB_STATE_FAILED",
2247 "JOB_STATE_CANCELLED",
2248 "JOB_STATE_UPDATED",
2249 "JOB_STATE_DRAINING",
2250 "JOB_STATE_DRAINED",
2251 "JOB_STATE_PENDING",
2252 "JOB_STATE_CANCELLING"
2253 ],
2254 "enumDescriptions": [
2255 "The job's run state isn't specified.",
2256 "`JOB_STATE_STOPPED` indicates that the job has not\nyet started to run.",
2257 "`JOB_STATE_RUNNING` indicates that the job is currently running.",
2258 "`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.",
2259 "`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`.",
2260 "`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.",
2261 "`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`.",
2262 "`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`.",
2263 "`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`.",
2264 "'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`.",
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'."
2266 ],
2267 "type": "string"
2268 },
2269 "tempFiles": {
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}",
2271 "items": {
2272 "type": "string"
2273 },
2274 "type": "array"
2275 }
2276 },
2277 "type": "object"
2278 },
2279 "SourceOperationResponse": {
2280 "description": "The result of a SourceOperationRequest, specified in \nReportWorkItemStatusRequest.source_operation when the work item\nis completed. ",
2281 "id": "SourceOperationResponse",
2282 "properties": {
2283 "split": {
2284 "$ref": "SourceSplitResponse",
2285 "description": "A response to a request to split a source."
2286 },
2287 "getMetadata": {
2288 "$ref": "SourceGetMetadataResponse",
2289 "description": "A response to a request to get metadata abou t a source."
2290 }
2291 },
2292 "type": "object"
2293 },
2294 "SideInputInfo": {
2295 "description": "Information about a side input of a DoFn or an input of a SeqDoFn.",
2296 "id": "SideInputInfo",
2297 "properties": {
2298 "tag": {
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." ,
2300 "type": "string"
2301 },
2302 "kind": {
2303 "additionalProperties": {
2304 "description": "Properties of the object.",
2305 "type": "any"
2306 },
2307 "description": "How to interpret the source element(s) as a side input value.",
2308 "type": "object"
2309 },
2310 "sources": {
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.",
2312 "items": {
2313 "$ref": "Source"
2314 },
2315 "type": "array"
2316 }
2317 },
2318 "type": "object"
2319 },
2320 "SendDebugCaptureResponse": {
2321 "description": "Response to a send capture request.\nnothing",
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",
2329 "properties": {
2330 "input": {
2331 "$ref": "InstructionInput",
2332 "description": "The input."
2333 },
2334 "sink": {
2335 "$ref": "Sink",
2336 "description": "The sink to write to."
2337 }
2338 },
2339 "type": "object"
2340 },
2341 "ConcatPosition": {
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.",
2343 "id": "ConcatPosition",
2344 "properties": {
2345 "position": {
2346 "$ref": "Position",
2347 "description": "Position within the inner source."
2348 },
2349 "index": {
2350 "description": "Index of the inner source.",
2351 "format": "int32",
2352 "type": "integer"
2353 }
2354 },
2355 "type": "object"
2356 },
2357 "CounterStructuredNameAndMetadata": {
2358 "description": "A single message which encapsulates structured name and metadata for a given\ncounter.",
2359 "id": "CounterStructuredNameAndMetadata",
2360 "properties": {
2361 "name": {
2362 "$ref": "CounterStructuredName",
2363 "description": "Structured name of the counter."
2364 },
2365 "metadata": {
2366 "$ref": "CounterMetadata",
2367 "description": "Metadata associated with a counter"
2368 }
2369 },
2370 "type": "object"
2371 },
2372 "AutoscalingSettings": {
2373 "description": "Settings for WorkerPool autoscaling.",
2374 "id": "AutoscalingSettings",
2375 "properties": {
2376 "algorithm": {
2377 "description": "The algorithm to use for autoscaling.",
2378 "enum": [
2379 "AUTOSCALING_ALGORITHM_UNKNOWN",
2380 "AUTOSCALING_ALGORITHM_NONE",
2381 "AUTOSCALING_ALGORITHM_BASIC"
2382 ],
2383 "enumDescriptions": [
2384 "The algorithm is unknown, or unspecified.",
2385 "Disable autoscaling.",
2386 "Increase worker count over time to reduce job execution time."
2387 ],
2388 "type": "string"
2389 },
2390 "maxNumWorkers": {
2391 "description": "The maximum number of workers to cap scaling at.",
2392 "format": "int32",
2393 "type": "integer"
2394 }
2395 },
2396 "type": "object"
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 },
2416 "ExecutionStageSummary": {
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.",
2418 "id": "ExecutionStageSummary",
2419 "properties": {
2420 "outputSource": {
2421 "description": "Output sources for this stage.",
2422 "items": {
2423 "$ref": "StageSource"
2424 },
2425 "type": "array"
2426 },
2427 "name": {
2428 "description": "Dataflow service generated name for this sta ge.",
2429 "type": "string"
2430 },
2431 "inputSource": {
2432 "description": "Input sources for this stage.",
2433 "items": {
2434 "$ref": "StageSource"
2435 },
2436 "type": "array"
2437 },
2438 "id": {
2439 "description": "Dataflow service generated id for this stage .",
2440 "type": "string"
2441 },
2442 "componentTransform": {
2443 "description": "Transforms that comprise this execution stag e.",
2444 "items": {
2445 "$ref": "ComponentTransform"
2446 },
2447 "type": "array"
2448 },
2449 "componentSource": {
2450 "description": "Collections produced and consumed by compone nt transforms of this stage.",
2451 "items": {
2452 "$ref": "ComponentSource"
2453 },
2454 "type": "array"
2455 },
2456 "kind": {
2457 "description": "Type of tranform this stage is executing.",
2458 "enum": [
2459 "UNKNOWN_KIND",
2460 "PAR_DO_KIND",
2461 "GROUP_BY_KEY_KIND",
2462 "FLATTEN_KIND",
2463 "READ_KIND",
2464 "WRITE_KIND",
2465 "CONSTANT_KIND",
2466 "SINGLETON_KIND",
2467 "SHUFFLE_KIND"
2468 ],
2469 "enumDescriptions": [
2470 "Unrecognized transform type.",
2471 "ParDo transform.",
2472 "Group By Key transform.",
2473 "Flatten transform.",
2474 "Read transform.",
2475 "Write transform.",
2476 "Constructs from a constant value, such as with Create.o f.",
2477 "Creates a Singleton view of a collection.",
2478 "Opening or closing a shuffle session, often as part of a GroupByKey."
2479 ],
2480 "type": "string"
2481 }
2482 },
2483 "type": "object"
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 },
2502 "SendWorkerMessagesRequest": {
2503 "description": "A request for sending worker messages to the service .",
2504 "id": "SendWorkerMessagesRequest",
2505 "properties": {
2506 "workerMessages": {
2507 "description": "The WorkerMessages to send.",
2508 "items": {
2509 "$ref": "WorkerMessage"
2510 },
2511 "type": "array"
2512 },
2513 "location": {
2514 "description": "The location which contains the job",
2515 "type": "string"
2516 }
2517 },
2518 "type": "object"
2519 },
2520 "SourceSplitShard": {
2521 "description": "DEPRECATED in favor of DerivedSource.",
2522 "id": "SourceSplitShard",
2523 "properties": {
2524 "source": {
2525 "$ref": "Source",
2526 "description": "DEPRECATED"
2527 },
2528 "derivationMode": {
2529 "description": "DEPRECATED",
2530 "enum": [
2531 "SOURCE_DERIVATION_MODE_UNKNOWN",
2532 "SOURCE_DERIVATION_MODE_INDEPENDENT",
2533 "SOURCE_DERIVATION_MODE_CHILD_OF_CURRENT", 2649 "SOURCE_DERIVATION_MODE_CHILD_OF_CURRENT",
2534 "SOURCE_DERIVATION_MODE_SIBLING_OF_CURRENT" 2650 "SOURCE_DERIVATION_MODE_SIBLING_OF_CURRENT"
2535 ], 2651 ],
2536 "enumDescriptions": [ 2652 "enumDescriptions": [
2537 "The source derivation is unknown, or unspecified.", 2653 "The source derivation is unknown, or unspecified.",
2538 "Produce a completely independent Source with no base.", 2654 "Produce a completely independent Source with no base.",
2539 "Produce a Source based on the Source being split.", 2655 "Produce a Source based on the Source being split.",
2540 "Produce a Source based on the base of the Source being split." 2656 "Produce a Source based on the base of the Source being split."
2541 ], 2657 ],
2542 "type": "string" 2658 "type": "string"
2543 } 2659 }
2544 }, 2660 },
2545 "type": "object" 2661 "type": "object"
2546 }, 2662 },
2663 "DynamicSourceSplit": {
2664 "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.",
2665 "id": "DynamicSourceSplit",
2666 "properties": {
2667 "residual": {
2668 "$ref": "DerivedSource",
2669 "description": "Residual part (returned to the pool of work) .\nSpecified relative to the previously-current source."
2670 },
2671 "primary": {
2672 "$ref": "DerivedSource",
2673 "description": "Primary part (continued to be processed by w orker).\nSpecified relative to the previously-current source.\nBecomes current."
2674 }
2675 },
2676 "type": "object"
2677 },
2678 "Job": {
2679 "description": "Defines a job to be run by the Cloud Dataflow servic e.",
2680 "id": "Job",
2681 "properties": {
2682 "name": {
2683 "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])?`",
2684 "type": "string"
2685 },
2686 "steps": {
2687 "description": "The top-level steps that constitute the enti re job.",
2688 "items": {
2689 "$ref": "Step"
2690 },
2691 "type": "array"
2692 },
2693 "replacedByJobId": {
2694 "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.",
2695 "type": "string"
2696 },
2697 "id": {
2698 "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.",
2699 "type": "string"
2700 },
2701 "executionInfo": {
2702 "$ref": "JobExecutionInfo",
2703 "description": "Deprecated."
2704 },
2705 "currentState": {
2706 "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 .",
2707 "enum": [
2708 "JOB_STATE_UNKNOWN",
2709 "JOB_STATE_STOPPED",
2710 "JOB_STATE_RUNNING",
2711 "JOB_STATE_DONE",
2712 "JOB_STATE_FAILED",
2713 "JOB_STATE_CANCELLED",
2714 "JOB_STATE_UPDATED",
2715 "JOB_STATE_DRAINING",
2716 "JOB_STATE_DRAINED",
2717 "JOB_STATE_PENDING",
2718 "JOB_STATE_CANCELLING"
2719 ],
2720 "enumDescriptions": [
2721 "The job's run state isn't specified.",
2722 "`JOB_STATE_STOPPED` indicates that the job has not\nyet started to run.",
2723 "`JOB_STATE_RUNNING` indicates that the job is currently running.",
2724 "`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.",
2725 "`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`.",
2726 "`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.",
2727 "`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`.",
2728 "`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`.",
2729 "`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`.",
2730 "'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`.",
2731 "'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'."
2732 ],
2733 "type": "string"
2734 },
2735 "location": {
2736 "description": "The location that contains this job.",
2737 "type": "string"
2738 },
2739 "currentStateTime": {
2740 "description": "The timestamp associated with the current st ate.",
2741 "format": "google-datetime",
2742 "type": "string"
2743 },
2744 "transformNameMapping": {
2745 "additionalProperties": {
2746 "type": "string"
2747 },
2748 "description": "The map of transform name prefixes of the jo b to be replaced to the\ncorresponding name prefixes of the new job.",
2749 "type": "object"
2750 },
2751 "labels": {
2752 "additionalProperties": {
2753 "type": "string"
2754 },
2755 "description": "User-defined labels for this job.\n\nThe lab els map can contain no more than 64 entries. Entries of the labels\nmap are UTF 8 strings that comply with the following restrictions:\n\n* Keys must conform to regexp: \\p{Ll}\\p{Lo}{0,62}\n* Values must conform to regexp: [\\p{Ll}\\p{Lo }\\p{N}_-]{0,63}\n* Both keys and values are additionally constrained to be <= 1 28 bytes in\nsize.",
2756 "type": "object"
2757 },
2758 "environment": {
2759 "$ref": "Environment",
2760 "description": "The environment for the job."
2761 },
2762 "createTime": {
2763 "description": "The timestamp when the job was initially cre ated. Immutable and set by the\nCloud Dataflow service.",
2764 "format": "google-datetime",
2765 "type": "string"
2766 },
2767 "stageStates": {
2768 "description": "This field may be mutated by the Cloud Dataf low service;\ncallers cannot mutate it.",
2769 "items": {
2770 "$ref": "ExecutionStageState"
2771 },
2772 "type": "array"
2773 },
2774 "type": {
2775 "description": "The type of Cloud Dataflow job.",
2776 "enum": [
2777 "JOB_TYPE_UNKNOWN",
2778 "JOB_TYPE_BATCH",
2779 "JOB_TYPE_STREAMING"
2780 ],
2781 "enumDescriptions": [
2782 "The type of the job is unspecified, or unknown.",
2783 "A batch job with a well-defined end point: data is read , data is\nprocessed, data is written, and the job is done.",
2784 "A continuously streaming job with no end: data is read, \nprocessed, and written continuously."
2785 ],
2786 "type": "string"
2787 },
2788 "projectId": {
2789 "description": "The ID of the Cloud Platform project that th e job belongs to.",
2790 "type": "string"
2791 },
2792 "pipelineDescription": {
2793 "$ref": "PipelineDescription",
2794 "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."
2795 },
2796 "replaceJobId": {
2797 "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.",
2798 "type": "string"
2799 },
2800 "requestedState": {
2801 "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.",
2802 "enum": [
2803 "JOB_STATE_UNKNOWN",
2804 "JOB_STATE_STOPPED",
2805 "JOB_STATE_RUNNING",
2806 "JOB_STATE_DONE",
2807 "JOB_STATE_FAILED",
2808 "JOB_STATE_CANCELLED",
2809 "JOB_STATE_UPDATED",
2810 "JOB_STATE_DRAINING",
2811 "JOB_STATE_DRAINED",
2812 "JOB_STATE_PENDING",
2813 "JOB_STATE_CANCELLING"
2814 ],
2815 "enumDescriptions": [
2816 "The job's run state isn't specified.",
2817 "`JOB_STATE_STOPPED` indicates that the job has not\nyet started to run.",
2818 "`JOB_STATE_RUNNING` indicates that the job is currently running.",
2819 "`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.",
2820 "`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`.",
2821 "`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.",
2822 "`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`.",
2823 "`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`.",
2824 "`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`.",
2825 "'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`.",
2826 "'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'."
2827 ],
2828 "type": "string"
2829 },
2830 "tempFiles": {
2831 "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}",
2832 "items": {
2833 "type": "string"
2834 },
2835 "type": "array"
2836 },
2837 "clientRequestId": {
2838 "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.",
2839 "type": "string"
2840 }
2841 },
2842 "type": "object"
2843 },
2844 "SourceOperationResponse": {
2845 "description": "The result of a SourceOperationRequest, specified in \nReportWorkItemStatusRequest.source_operation when the work item\nis completed. ",
2846 "id": "SourceOperationResponse",
2847 "properties": {
2848 "getMetadata": {
2849 "$ref": "SourceGetMetadataResponse",
2850 "description": "A response to a request to get metadata abou t a source."
2851 },
2852 "split": {
2853 "$ref": "SourceSplitResponse",
2854 "description": "A response to a request to split a source."
2855 }
2856 },
2857 "type": "object"
2858 },
2859 "SideInputInfo": {
2860 "description": "Information about a side input of a DoFn or an input of a SeqDoFn.",
2861 "id": "SideInputInfo",
2862 "properties": {
2863 "tag": {
2864 "description": "The id of the tag the user code will access this side input by;\nthis should correspond to the tag of some MultiOutputInfo." ,
2865 "type": "string"
2866 },
2867 "kind": {
2868 "additionalProperties": {
2869 "description": "Properties of the object.",
2870 "type": "any"
2871 },
2872 "description": "How to interpret the source element(s) as a side input value.",
2873 "type": "object"
2874 },
2875 "sources": {
2876 "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.",
2877 "items": {
2878 "$ref": "Source"
2879 },
2880 "type": "array"
2881 }
2882 },
2883 "type": "object"
2884 },
2885 "SendDebugCaptureResponse": {
2886 "description": "Response to a send capture request.\nnothing",
2887 "id": "SendDebugCaptureResponse",
2888 "properties": {},
2889 "type": "object"
2890 },
2891 "WriteInstruction": {
2892 "description": "An instruction that writes records.\nTakes one input , produces no outputs.",
2893 "id": "WriteInstruction",
2894 "properties": {
2895 "input": {
2896 "$ref": "InstructionInput",
2897 "description": "The input."
2898 },
2899 "sink": {
2900 "$ref": "Sink",
2901 "description": "The sink to write to."
2902 }
2903 },
2904 "type": "object"
2905 },
2906 "ConcatPosition": {
2907 "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.",
2908 "id": "ConcatPosition",
2909 "properties": {
2910 "position": {
2911 "$ref": "Position",
2912 "description": "Position within the inner source."
2913 },
2914 "index": {
2915 "description": "Index of the inner source.",
2916 "format": "int32",
2917 "type": "integer"
2918 }
2919 },
2920 "type": "object"
2921 },
2922 "CounterStructuredNameAndMetadata": {
2923 "description": "A single message which encapsulates structured name and metadata for a given\ncounter.",
2924 "id": "CounterStructuredNameAndMetadata",
2925 "properties": {
2926 "metadata": {
2927 "$ref": "CounterMetadata",
2928 "description": "Metadata associated with a counter"
2929 },
2930 "name": {
2931 "$ref": "CounterStructuredName",
2932 "description": "Structured name of the counter."
2933 }
2934 },
2935 "type": "object"
2936 },
2937 "AutoscalingSettings": {
2938 "description": "Settings for WorkerPool autoscaling.",
2939 "id": "AutoscalingSettings",
2940 "properties": {
2941 "algorithm": {
2942 "description": "The algorithm to use for autoscaling.",
2943 "enum": [
2944 "AUTOSCALING_ALGORITHM_UNKNOWN",
2945 "AUTOSCALING_ALGORITHM_NONE",
2946 "AUTOSCALING_ALGORITHM_BASIC"
2947 ],
2948 "enumDescriptions": [
2949 "The algorithm is unknown, or unspecified.",
2950 "Disable autoscaling.",
2951 "Increase worker count over time to reduce job execution time."
2952 ],
2953 "type": "string"
2954 },
2955 "maxNumWorkers": {
2956 "description": "The maximum number of workers to cap scaling at.",
2957 "format": "int32",
2958 "type": "integer"
2959 }
2960 },
2961 "type": "object"
2962 },
2963 "StreamingComputationRanges": {
2964 "description": "Describes full or partial data disk assignment infor mation of the computation\nranges.",
2965 "id": "StreamingComputationRanges",
2966 "properties": {
2967 "computationId": {
2968 "description": "The ID of the computation.",
2969 "type": "string"
2970 },
2971 "rangeAssignments": {
2972 "description": "Data disk assignments for ranges from this c omputation.",
2973 "items": {
2974 "$ref": "KeyRangeDataDiskAssignment"
2975 },
2976 "type": "array"
2977 }
2978 },
2979 "type": "object"
2980 },
2981 "ExecutionStageSummary": {
2982 "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.",
2983 "id": "ExecutionStageSummary",
2984 "properties": {
2985 "name": {
2986 "description": "Dataflow service generated name for this sta ge.",
2987 "type": "string"
2988 },
2989 "inputSource": {
2990 "description": "Input sources for this stage.",
2991 "items": {
2992 "$ref": "StageSource"
2993 },
2994 "type": "array"
2995 },
2996 "id": {
2997 "description": "Dataflow service generated id for this stage .",
2998 "type": "string"
2999 },
3000 "componentTransform": {
3001 "description": "Transforms that comprise this execution stag e.",
3002 "items": {
3003 "$ref": "ComponentTransform"
3004 },
3005 "type": "array"
3006 },
3007 "componentSource": {
3008 "description": "Collections produced and consumed by compone nt transforms of this stage.",
3009 "items": {
3010 "$ref": "ComponentSource"
3011 },
3012 "type": "array"
3013 },
3014 "kind": {
3015 "description": "Type of tranform this stage is executing.",
3016 "enum": [
3017 "UNKNOWN_KIND",
3018 "PAR_DO_KIND",
3019 "GROUP_BY_KEY_KIND",
3020 "FLATTEN_KIND",
3021 "READ_KIND",
3022 "WRITE_KIND",
3023 "CONSTANT_KIND",
3024 "SINGLETON_KIND",
3025 "SHUFFLE_KIND"
3026 ],
3027 "enumDescriptions": [
3028 "Unrecognized transform type.",
3029 "ParDo transform.",
3030 "Group By Key transform.",
3031 "Flatten transform.",
3032 "Read transform.",
3033 "Write transform.",
3034 "Constructs from a constant value, such as with Create.o f.",
3035 "Creates a Singleton view of a collection.",
3036 "Opening or closing a shuffle session, often as part of a GroupByKey."
3037 ],
3038 "type": "string"
3039 },
3040 "outputSource": {
3041 "description": "Output sources for this stage.",
3042 "items": {
3043 "$ref": "StageSource"
3044 },
3045 "type": "array"
3046 }
3047 },
3048 "type": "object"
3049 },
3050 "LogBucket": {
3051 "description": "Bucket of values for Distribution's logarithmic hist ogram.",
3052 "id": "LogBucket",
3053 "properties": {
3054 "log": {
3055 "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",
3056 "format": "int32",
3057 "type": "integer"
3058 },
3059 "count": {
3060 "description": "Number of values in this bucket.",
3061 "format": "int64",
3062 "type": "string"
3063 }
3064 },
3065 "type": "object"
3066 },
3067 "SendWorkerMessagesRequest": {
3068 "description": "A request for sending worker messages to the service .",
3069 "id": "SendWorkerMessagesRequest",
3070 "properties": {
3071 "workerMessages": {
3072 "description": "The WorkerMessages to send.",
3073 "items": {
3074 "$ref": "WorkerMessage"
3075 },
3076 "type": "array"
3077 },
3078 "location": {
3079 "description": "The location which contains the job",
3080 "type": "string"
3081 }
3082 },
3083 "type": "object"
3084 },
3085 "SourceSplitShard": {
3086 "description": "DEPRECATED in favor of DerivedSource.",
3087 "id": "SourceSplitShard",
3088 "properties": {
3089 "derivationMode": {
3090 "description": "DEPRECATED",
3091 "enum": [
3092 "SOURCE_DERIVATION_MODE_UNKNOWN",
3093 "SOURCE_DERIVATION_MODE_INDEPENDENT",
3094 "SOURCE_DERIVATION_MODE_CHILD_OF_CURRENT",
3095 "SOURCE_DERIVATION_MODE_SIBLING_OF_CURRENT"
3096 ],
3097 "enumDescriptions": [
3098 "The source derivation is unknown, or unspecified.",
3099 "Produce a completely independent Source with no base.",
3100 "Produce a Source based on the Source being split.",
3101 "Produce a Source based on the base of the Source being split."
3102 ],
3103 "type": "string"
3104 },
3105 "source": {
3106 "$ref": "Source",
3107 "description": "DEPRECATED"
3108 }
3109 },
3110 "type": "object"
3111 },
2547 "CPUTime": { 3112 "CPUTime": {
2548 "description": "Modeled after information exposed by /proc/stat.", 3113 "description": "Modeled after information exposed by /proc/stat.",
2549 "id": "CPUTime", 3114 "id": "CPUTime",
2550 "properties": { 3115 "properties": {
2551 "timestamp": {
2552 "description": "Timestamp of the measurement.",
2553 "format": "google-datetime",
2554 "type": "string"
2555 },
2556 "totalMs": { 3116 "totalMs": {
2557 "description": "Total active CPU time across all cores (ie., non-idle) in milliseconds\nsince start-up.", 3117 "description": "Total active CPU time across all cores (ie., non-idle) in milliseconds\nsince start-up.",
2558 "format": "uint64", 3118 "format": "uint64",
2559 "type": "string" 3119 "type": "string"
2560 }, 3120 },
2561 "rate": { 3121 "rate": {
2562 "description": "Average CPU utilization rate (% non-idle cpu / second) since previous\nsample.", 3122 "description": "Average CPU utilization rate (% non-idle cpu / second) since previous\nsample.",
2563 "format": "double", 3123 "format": "double",
2564 "type": "number" 3124 "type": "number"
3125 },
3126 "timestamp": {
3127 "description": "Timestamp of the measurement.",
3128 "format": "google-datetime",
3129 "type": "string"
2565 } 3130 }
2566 }, 3131 },
2567 "type": "object" 3132 "type": "object"
2568 }, 3133 },
2569 "Environment": { 3134 "Environment": {
2570 "description": "Describes the environment in which a Dataflow Job ru ns.", 3135 "description": "Describes the environment in which a Dataflow Job ru ns.",
2571 "id": "Environment", 3136 "id": "Environment",
2572 "properties": { 3137 "properties": {
2573 "serviceAccountEmail": {
2574 "description": "Identity to run virtual machines as. Default s to the default account.",
2575 "type": "string"
2576 },
2577 "userAgent": { 3138 "userAgent": {
2578 "additionalProperties": { 3139 "additionalProperties": {
2579 "description": "Properties of the object.", 3140 "description": "Properties of the object.",
2580 "type": "any" 3141 "type": "any"
2581 }, 3142 },
2582 "description": "A description of the process that generated the request.", 3143 "description": "A description of the process that generated the request.",
2583 "type": "object" 3144 "type": "object"
2584 }, 3145 },
2585 "sdkPipelineOptions": { 3146 "sdkPipelineOptions": {
2586 "additionalProperties": { 3147 "additionalProperties": {
(...skipping 22 matching lines...) Expand all
2609 "description": "The dataset for the current project where va rious workflow\nrelated tables are stored.\n\nThe supported resource type is:\n\ nGoogle BigQuery:\n bigquery.googleapis.com/{dataset}", 3170 "description": "The dataset for the current project where va rious workflow\nrelated tables are stored.\n\nThe supported resource type is:\n\ nGoogle BigQuery:\n bigquery.googleapis.com/{dataset}",
2610 "type": "string" 3171 "type": "string"
2611 }, 3172 },
2612 "experiments": { 3173 "experiments": {
2613 "description": "The list of experiments to enable.", 3174 "description": "The list of experiments to enable.",
2614 "items": { 3175 "items": {
2615 "type": "string" 3176 "type": "string"
2616 }, 3177 },
2617 "type": "array" 3178 "type": "array"
2618 }, 3179 },
3180 "version": {
3181 "additionalProperties": {
3182 "description": "Properties of the object.",
3183 "type": "any"
3184 },
3185 "description": "A structure describing which components and their versions of the service\nare required in order to run the job.",
3186 "type": "object"
3187 },
2619 "internalExperiments": { 3188 "internalExperiments": {
2620 "additionalProperties": { 3189 "additionalProperties": {
2621 "description": "Properties of the object. Contains field @type with type URL.", 3190 "description": "Properties of the object. Contains field @type with type URL.",
2622 "type": "any" 3191 "type": "any"
2623 }, 3192 },
2624 "description": "Experimental settings.", 3193 "description": "Experimental settings.",
2625 "type": "object" 3194 "type": "object"
2626 }, 3195 },
2627 "version": { 3196 "serviceAccountEmail": {
2628 "additionalProperties": { 3197 "description": "Identity to run virtual machines as. Default s to the default account.",
2629 "description": "Properties of the object.", 3198 "type": "string"
2630 "type": "any"
2631 },
2632 "description": "A structure describing which components and their versions of the service\nare required in order to run the job.",
2633 "type": "object"
2634 } 3199 }
2635 }, 3200 },
2636 "type": "object" 3201 "type": "object"
2637 }, 3202 },
2638 "StreamingComputationTask": { 3203 "StreamingComputationTask": {
2639 "description": "A task which describes what action should be perform ed for the specified\nstreaming computation ranges.", 3204 "description": "A task which describes what action should be perform ed for the specified\nstreaming computation ranges.",
2640 "id": "StreamingComputationTask", 3205 "id": "StreamingComputationTask",
2641 "properties": { 3206 "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 },
2649 "dataDisks": {
2650 "description": "Describes the set of data disks this task sh ould apply to.",
2651 "items": {
2652 "$ref": "MountedDataDisk"
2653 },
2654 "type": "array"
2655 },
2656 "taskType": { 3207 "taskType": {
2657 "description": "A type of streaming computation task.", 3208 "description": "A type of streaming computation task.",
2658 "enum": [ 3209 "enum": [
2659 "STREAMING_COMPUTATION_TASK_UNKNOWN", 3210 "STREAMING_COMPUTATION_TASK_UNKNOWN",
2660 "STREAMING_COMPUTATION_TASK_STOP", 3211 "STREAMING_COMPUTATION_TASK_STOP",
2661 "STREAMING_COMPUTATION_TASK_START" 3212 "STREAMING_COMPUTATION_TASK_START"
2662 ], 3213 ],
2663 "enumDescriptions": [ 3214 "enumDescriptions": [
2664 "The streaming computation task is unknown, or unspecifi ed.", 3215 "The streaming computation task is unknown, or unspecifi ed.",
2665 "Stop processing specified streaming computation range(s ).", 3216 "Stop processing specified streaming computation range(s ).",
2666 "Start processing specified streaming computation range( s)." 3217 "Start processing specified streaming computation range( s)."
2667 ], 3218 ],
2668 "type": "string" 3219 "type": "string"
3220 },
3221 "computationRanges": {
3222 "description": "Contains ranges of a streaming computation t his task should apply to.",
3223 "items": {
3224 "$ref": "StreamingComputationRanges"
3225 },
3226 "type": "array"
3227 },
3228 "dataDisks": {
3229 "description": "Describes the set of data disks this task sh ould apply to.",
3230 "items": {
3231 "$ref": "MountedDataDisk"
3232 },
3233 "type": "array"
2669 } 3234 }
2670 }, 3235 },
2671 "type": "object" 3236 "type": "object"
2672 }, 3237 },
2673 "SendDebugCaptureRequest": { 3238 "SendDebugCaptureRequest": {
2674 "description": "Request to send encoded debug information.", 3239 "description": "Request to send encoded debug information.",
2675 "id": "SendDebugCaptureRequest", 3240 "id": "SendDebugCaptureRequest",
2676 "properties": { 3241 "properties": {
2677 "componentId": { 3242 "componentId": {
2678 "description": "The internal component id for which debug in formation is sent.", 3243 "description": "The internal component id for which debug in formation is sent.",
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
2720 "description": "Human-readable name for this transform; may be user or system generated.", 3285 "description": "Human-readable name for this transform; may be user or system generated.",
2721 "type": "string" 3286 "type": "string"
2722 } 3287 }
2723 }, 3288 },
2724 "type": "object" 3289 "type": "object"
2725 }, 3290 },
2726 "StreamingSetupTask": { 3291 "StreamingSetupTask": {
2727 "description": "A task which initializes part of a streaming Dataflo w job.", 3292 "description": "A task which initializes part of a streaming Dataflo w job.",
2728 "id": "StreamingSetupTask", 3293 "id": "StreamingSetupTask",
2729 "properties": { 3294 "properties": {
3295 "drain": {
3296 "description": "The user has requested drain.",
3297 "type": "boolean"
3298 },
3299 "workerHarnessPort": {
3300 "description": "The TCP port used by the worker to communica te with the Dataflow\nworker harness.",
3301 "format": "int32",
3302 "type": "integer"
3303 },
2730 "receiveWorkPort": { 3304 "receiveWorkPort": {
2731 "description": "The TCP port on which the worker should list en for messages from\nother streaming computation workers.", 3305 "description": "The TCP port on which the worker should list en for messages from\nother streaming computation workers.",
2732 "format": "int32", 3306 "format": "int32",
2733 "type": "integer" 3307 "type": "integer"
2734 }, 3308 },
2735 "streamingComputationTopology": { 3309 "streamingComputationTopology": {
2736 "$ref": "TopologyConfig", 3310 "$ref": "TopologyConfig",
2737 "description": "The global topology of the streaming Dataflo w job." 3311 "description": "The global topology of the streaming Dataflo w job."
2738 },
2739 "drain": {
2740 "description": "The user has requested drain.",
2741 "type": "boolean"
2742 },
2743 "workerHarnessPort": {
2744 "description": "The TCP port used by the worker to communica te with the Dataflow\nworker harness.",
2745 "format": "int32",
2746 "type": "integer"
2747 } 3312 }
2748 }, 3313 },
2749 "type": "object" 3314 "type": "object"
2750 }, 3315 },
2751 "PubsubLocation": { 3316 "PubsubLocation": {
2752 "description": "Identifies a pubsub location to use for transferring data into or\nout of a streaming Dataflow job.", 3317 "description": "Identifies a pubsub location to use for transferring data into or\nout of a streaming Dataflow job.",
2753 "id": "PubsubLocation", 3318 "id": "PubsubLocation",
2754 "properties": { 3319 "properties": {
3320 "trackingSubscription": {
3321 "description": "If set, specifies the pubsub subscription th at will be used for tracking\ncustom time timestamps for watermark estimation.",
3322 "type": "string"
3323 },
3324 "withAttributes": {
3325 "description": "If true, then the client has requested to ge t pubsub attributes.",
3326 "type": "boolean"
3327 },
3328 "idLabel": {
3329 "description": "If set, contains a pubsub label from which t o extract record ids.\nIf left empty, record deduplication will be strictly best effort.",
3330 "type": "string"
3331 },
3332 "topic": {
3333 "description": "A pubsub topic, in the form of\n\"pubsub.goo gleapis.com/topics/<project-id>/<topic-name>\"",
3334 "type": "string"
3335 },
3336 "timestampLabel": {
3337 "description": "If set, contains a pubsub label from which t o extract record timestamps.\nIf left empty, record timestamps will be generated upon arrival.",
3338 "type": "string"
3339 },
2755 "subscription": { 3340 "subscription": {
2756 "description": "A pubsub subscription, in the form of\n\"pub sub.googleapis.com/subscriptions/<project-id>/<subscription-name>\"", 3341 "description": "A pubsub subscription, in the form of\n\"pub sub.googleapis.com/subscriptions/<project-id>/<subscription-name>\"",
2757 "type": "string" 3342 "type": "string"
2758 }, 3343 },
2759 "dropLateData": { 3344 "dropLateData": {
2760 "description": "Indicates whether the pipeline allows late-a rriving data.", 3345 "description": "Indicates whether the pipeline allows late-a rriving data.",
2761 "type": "boolean" 3346 "type": "boolean"
2762 },
2763 "trackingSubscription": {
2764 "description": "If set, specifies the pubsub subscription th at will be used for tracking\ncustom time timestamps for watermark estimation.",
2765 "type": "string"
2766 },
2767 "withAttributes": {
2768 "description": "If true, then the client has requested to ge t pubsub attributes.",
2769 "type": "boolean"
2770 },
2771 "idLabel": {
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.",
2773 "type": "string"
2774 },
2775 "topic": {
2776 "description": "A pubsub topic, in the form of\n\"pubsub.goo gleapis.com/topics/<project-id>/<topic-name>\"",
2777 "type": "string"
2778 },
2779 "timestampLabel": {
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.",
2781 "type": "string"
2782 } 3347 }
2783 }, 3348 },
2784 "type": "object" 3349 "type": "object"
2785 }, 3350 },
2786 "WorkerHealthReport": { 3351 "WorkerHealthReport": {
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.", 3352 "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.",
2788 "id": "WorkerHealthReport", 3353 "id": "WorkerHealthReport",
2789 "properties": { 3354 "properties": {
2790 "reportInterval": { 3355 "reportInterval": {
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.", 3356 "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.",
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
2852 "description": "Deprecated.", 3417 "description": "Deprecated.",
2853 "type": "string" 3418 "type": "string"
2854 } 3419 }
2855 }, 3420 },
2856 "type": "object" 3421 "type": "object"
2857 }, 3422 },
2858 "ParameterMetadata": { 3423 "ParameterMetadata": {
2859 "description": "Metadata for a specific parameter.", 3424 "description": "Metadata for a specific parameter.",
2860 "id": "ParameterMetadata", 3425 "id": "ParameterMetadata",
2861 "properties": { 3426 "properties": {
2862 "regexes": {
2863 "description": "Optional. Regexes that the parameter must ma tch.",
2864 "items": {
2865 "type": "string"
2866 },
2867 "type": "array"
2868 },
2869 "label": {
2870 "description": "Required. The label to display for the param eter.",
2871 "type": "string"
2872 },
2873 "helpText": { 3427 "helpText": {
2874 "description": "Required. The help text to display for the p arameter.", 3428 "description": "Required. The help text to display for the p arameter.",
2875 "type": "string" 3429 "type": "string"
2876 }, 3430 },
2877 "isOptional": { 3431 "isOptional": {
2878 "description": "Optional. Whether the parameter is optional. Defaults to false.", 3432 "description": "Optional. Whether the parameter is optional. Defaults to false.",
2879 "type": "boolean" 3433 "type": "boolean"
2880 }, 3434 },
2881 "name": { 3435 "name": {
2882 "description": "Required. The name of the parameter.", 3436 "description": "Required. The name of the parameter.",
2883 "type": "string" 3437 "type": "string"
3438 },
3439 "regexes": {
3440 "description": "Optional. Regexes that the parameter must ma tch.",
3441 "items": {
3442 "type": "string"
3443 },
3444 "type": "array"
3445 },
3446 "label": {
3447 "description": "Required. The label to display for the param eter.",
3448 "type": "string"
2884 } 3449 }
2885 }, 3450 },
2886 "type": "object" 3451 "type": "object"
2887 }, 3452 },
2888 "MultiOutputInfo": { 3453 "MultiOutputInfo": {
2889 "description": "Information about an output of a multi-output DoFn." , 3454 "description": "Information about an output of a multi-output DoFn." ,
2890 "id": "MultiOutputInfo", 3455 "id": "MultiOutputInfo",
2891 "properties": { 3456 "properties": {
2892 "tag": { 3457 "tag": {
2893 "description": "The id of the tag the user code will emit to this output by; this\nshould correspond to the tag of some SideInputInfo.", 3458 "description": "The id of the tag the user code will emit to this output by; this\nshould correspond to the tag of some SideInputInfo.",
(...skipping 21 matching lines...) Expand all
2915 "description": "The result of a SourceGetMetadataOperation.", 3480 "description": "The result of a SourceGetMetadataOperation.",
2916 "id": "SourceGetMetadataResponse", 3481 "id": "SourceGetMetadataResponse",
2917 "properties": { 3482 "properties": {
2918 "metadata": { 3483 "metadata": {
2919 "$ref": "SourceMetadata", 3484 "$ref": "SourceMetadata",
2920 "description": "The computed metadata." 3485 "description": "The computed metadata."
2921 } 3486 }
2922 }, 3487 },
2923 "type": "object" 3488 "type": "object"
2924 }, 3489 },
3490 "ShellTask": {
3491 "description": "A task which consists of a shell command for the wor ker to execute.",
3492 "id": "ShellTask",
3493 "properties": {
3494 "exitCode": {
3495 "description": "Exit code for the task.",
3496 "format": "int32",
3497 "type": "integer"
3498 },
3499 "command": {
3500 "description": "The shell command to run.",
3501 "type": "string"
3502 }
3503 },
3504 "type": "object"
3505 },
3506 "MetricShortId": {
3507 "description": "The metric short id is returned to the user alongsid e an offset into\nReportWorkItemStatusRequest",
3508 "id": "MetricShortId",
3509 "properties": {
3510 "metricIndex": {
3511 "description": "The index of the corresponding metric in\nth e ReportWorkItemStatusRequest. Required.",
3512 "format": "int32",
3513 "type": "integer"
3514 },
3515 "shortId": {
3516 "description": "The service-generated short identifier for t he metric.",
3517 "format": "int64",
3518 "type": "string"
3519 }
3520 },
3521 "type": "object"
3522 },
2925 "AutoscalingEvent": { 3523 "AutoscalingEvent": {
2926 "description": "A structured message reporting an autoscaling decisi on made by the Dataflow\nservice.", 3524 "description": "A structured message reporting an autoscaling decisi on made by the Dataflow\nservice.",
2927 "id": "AutoscalingEvent", 3525 "id": "AutoscalingEvent",
2928 "properties": { 3526 "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 },
2938 "eventType": { 3527 "eventType": {
2939 "description": "The type of autoscaling event to report.", 3528 "description": "The type of autoscaling event to report.",
2940 "enum": [ 3529 "enum": [
2941 "TYPE_UNKNOWN", 3530 "TYPE_UNKNOWN",
2942 "TARGET_NUM_WORKERS_CHANGED", 3531 "TARGET_NUM_WORKERS_CHANGED",
2943 "CURRENT_NUM_WORKERS_CHANGED", 3532 "CURRENT_NUM_WORKERS_CHANGED",
2944 "ACTUATION_FAILURE", 3533 "ACTUATION_FAILURE",
2945 "NO_CHANGE" 3534 "NO_CHANGE"
2946 ], 3535 ],
2947 "enumDescriptions": [ 3536 "enumDescriptions": [
2948 "Default type for the enum. Value should never be retur ned.", 3537 "Default type for the enum. Value should never be retur ned.",
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.", 3538 "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.",
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.", 3539 "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.",
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.", 3540 "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.",
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." 3541 "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."
2953 ], 3542 ],
2954 "type": "string" 3543 "type": "string"
2955 }, 3544 },
2956 "targetNumWorkers": { 3545 "targetNumWorkers": {
2957 "description": "The target number of workers the worker pool wants to resize to use.", 3546 "description": "The target number of workers the worker pool wants to resize to use.",
2958 "format": "int64", 3547 "format": "int64",
2959 "type": "string" 3548 "type": "string"
2960 }, 3549 },
2961 "currentNumWorkers": { 3550 "currentNumWorkers": {
2962 "description": "The current number of workers the job has.", 3551 "description": "The current number of workers the job has.",
2963 "format": "int64", 3552 "format": "int64",
2964 "type": "string" 3553 "type": "string"
2965 } 3554 },
2966 }, 3555 "time": {
2967 "type": "object" 3556 "description": "The time this event was emitted to indicate a new target or current\nnum_workers value.",
2968 }, 3557 "format": "google-datetime",
2969 "MetricShortId": { 3558 "type": "string"
2970 "description": "The metric short id is returned to the user alongsid e an offset into\nReportWorkItemStatusRequest", 3559 },
2971 "id": "MetricShortId", 3560 "description": {
2972 "properties": { 3561 "$ref": "StructuredMessage",
2973 "metricIndex": { 3562 "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."
2974 "description": "The index of the corresponding metric in\nth e ReportWorkItemStatusRequest. Required.",
2975 "format": "int32",
2976 "type": "integer"
2977 },
2978 "shortId": {
2979 "description": "The service-generated short identifier for t he metric.",
2980 "format": "int64",
2981 "type": "string"
2982 }
2983 },
2984 "type": "object"
2985 },
2986 "ShellTask": {
2987 "description": "A task which consists of a shell command for the wor ker to execute.",
2988 "id": "ShellTask",
2989 "properties": {
2990 "exitCode": {
2991 "description": "Exit code for the task.",
2992 "format": "int32",
2993 "type": "integer"
2994 },
2995 "command": {
2996 "description": "The shell command to run.",
2997 "type": "string"
2998 } 3563 }
2999 }, 3564 },
3000 "type": "object" 3565 "type": "object"
3001 }, 3566 },
3002 "TaskRunnerSettings": { 3567 "TaskRunnerSettings": {
3003 "description": "Taskrunner configuration settings.", 3568 "description": "Taskrunner configuration settings.",
3004 "id": "TaskRunnerSettings", 3569 "id": "TaskRunnerSettings",
3005 "properties": { 3570 "properties": {
3571 "vmId": {
3572 "description": "The ID string of the VM.",
3573 "type": "string"
3574 },
3575 "taskUser": {
3576 "description": "The UNIX user ID on the worker VM to use for tasks launched by\ntaskrunner; e.g. \"root\".",
3577 "type": "string"
3578 },
3579 "alsologtostderr": {
3580 "description": "Whether to also send taskrunner log info to stderr.",
3581 "type": "boolean"
3582 },
3583 "taskGroup": {
3584 "description": "The UNIX group ID on the worker VM to use fo r tasks launched by\ntaskrunner; e.g. \"wheel\".",
3585 "type": "string"
3586 },
3587 "harnessCommand": {
3588 "description": "The command to launch the worker harness.",
3589 "type": "string"
3590 },
3591 "logDir": {
3592 "description": "The directory on the VM to store logs.",
3593 "type": "string"
3594 },
3595 "dataflowApiVersion": {
3596 "description": "The API version of endpoint, e.g. \"v1b3\"",
3597 "type": "string"
3598 },
3599 "oauthScopes": {
3600 "description": "The OAuth2 scopes to be requested by the tas krunner in order to\naccess the Cloud Dataflow API.",
3601 "items": {
3602 "type": "string"
3603 },
3604 "type": "array"
3605 },
3606 "streamingWorkerMainClass": {
3607 "description": "The streaming worker main class name.",
3608 "type": "string"
3609 },
3610 "logUploadLocation": {
3611 "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}",
3612 "type": "string"
3613 },
3614 "workflowFileName": {
3615 "description": "The file to store the workflow in.",
3616 "type": "string"
3617 },
3618 "languageHint": {
3619 "description": "The suggested backend language.",
3620 "type": "string"
3621 },
3622 "commandlinesFileName": {
3623 "description": "The file to store preprocessing commands in. ",
3624 "type": "string"
3625 },
3626 "tempStoragePrefix": {
3627 "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}",
3628 "type": "string"
3629 },
3630 "baseTaskDir": {
3631 "description": "The location on the worker for task-specific subdirectories.",
3632 "type": "string"
3633 },
3634 "baseUrl": {
3635 "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/\"",
3636 "type": "string"
3637 },
3638 "logToSerialconsole": {
3639 "description": "Whether to send taskrunner log info to Googl e Compute Engine VM serial\nconsole.",
3640 "type": "boolean"
3641 },
3642 "continueOnException": {
3643 "description": "Whether to continue taskrunner if an excepti on is hit.",
3644 "type": "boolean"
3645 },
3006 "parallelWorkerSettings": { 3646 "parallelWorkerSettings": {
3007 "$ref": "WorkerSettings", 3647 "$ref": "WorkerSettings",
3008 "description": "The settings to pass to the parallel worker harness." 3648 "description": "The settings to pass to the parallel worker harness."
3009 },
3010 "vmId": {
3011 "description": "The ID string of the VM.",
3012 "type": "string"
3013 },
3014 "taskUser": {
3015 "description": "The UNIX user ID on the worker VM to use for tasks launched by\ntaskrunner; e.g. \"root\".",
3016 "type": "string"
3017 },
3018 "alsologtostderr": {
3019 "description": "Whether to also send taskrunner log info to stderr.",
3020 "type": "boolean"
3021 },
3022 "taskGroup": {
3023 "description": "The UNIX group ID on the worker VM to use fo r tasks launched by\ntaskrunner; e.g. \"wheel\".",
3024 "type": "string"
3025 },
3026 "harnessCommand": {
3027 "description": "The command to launch the worker harness.",
3028 "type": "string"
3029 },
3030 "logDir": {
3031 "description": "The directory on the VM to store logs.",
3032 "type": "string"
3033 },
3034 "dataflowApiVersion": {
3035 "description": "The API version of endpoint, e.g. \"v1b3\"",
3036 "type": "string"
3037 },
3038 "oauthScopes": {
3039 "description": "The OAuth2 scopes to be requested by the tas krunner in order to\naccess the Cloud Dataflow API.",
3040 "items": {
3041 "type": "string"
3042 },
3043 "type": "array"
3044 },
3045 "streamingWorkerMainClass": {
3046 "description": "The streaming worker main class name.",
3047 "type": "string"
3048 },
3049 "logUploadLocation": {
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}",
3051 "type": "string"
3052 },
3053 "workflowFileName": {
3054 "description": "The file to store the workflow in.",
3055 "type": "string"
3056 },
3057 "commandlinesFileName": {
3058 "description": "The file to store preprocessing commands in. ",
3059 "type": "string"
3060 },
3061 "languageHint": {
3062 "description": "The suggested backend language.",
3063 "type": "string"
3064 },
3065 "baseTaskDir": {
3066 "description": "The location on the worker for task-specific subdirectories.",
3067 "type": "string"
3068 },
3069 "tempStoragePrefix": {
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}",
3071 "type": "string"
3072 },
3073 "baseUrl": {
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/\"",
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"
3084 } 3649 }
3085 }, 3650 },
3086 "type": "object" 3651 "type": "object"
3087 }, 3652 },
3088 "Position": { 3653 "Position": {
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.", 3654 "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.",
3090 "id": "Position", 3655 "id": "Position",
3091 "properties": { 3656 "properties": {
3657 "shufflePosition": {
3658 "description": "CloudPosition is a base64 encoded BatchShuff lePosition (with FIXED\nsharding).",
3659 "type": "string"
3660 },
3661 "byteOffset": {
3662 "description": "Position is a byte offset.",
3663 "format": "int64",
3664 "type": "string"
3665 },
3666 "concatPosition": {
3667 "$ref": "ConcatPosition",
3668 "description": "CloudPosition is a concat position."
3669 },
3670 "end": {
3671 "description": "Position is past all other positions. Also u seful for the end\nposition of an unbounded range.",
3672 "type": "boolean"
3673 },
3674 "key": {
3675 "description": "Position is a string key, ordered lexicograp hically.",
3676 "type": "string"
3677 },
3092 "recordIndex": { 3678 "recordIndex": {
3093 "description": "Position is a record index.", 3679 "description": "Position is a record index.",
3094 "format": "int64", 3680 "format": "int64",
3095 "type": "string" 3681 "type": "string"
3096 },
3097 "shufflePosition": {
3098 "description": "CloudPosition is a base64 encoded BatchShuff lePosition (with FIXED\nsharding).",
3099 "type": "string"
3100 },
3101 "concatPosition": {
3102 "$ref": "ConcatPosition",
3103 "description": "CloudPosition is a concat position."
3104 },
3105 "byteOffset": {
3106 "description": "Position is a byte offset.",
3107 "format": "int64",
3108 "type": "string"
3109 },
3110 "end": {
3111 "description": "Position is past all other positions. Also u seful for the end\nposition of an unbounded range.",
3112 "type": "boolean"
3113 },
3114 "key": {
3115 "description": "Position is a string key, ordered lexicograp hically.",
3116 "type": "string"
3117 }
3118 },
3119 "type": "object"
3120 },
3121 "SplitInt64": {
3122 "description": "A representation of an int64, n, that is immune to p recision loss when\nencoded in JSON.",
3123 "id": "SplitInt64",
3124 "properties": {
3125 "lowBits": {
3126 "description": "The low order bits: n & 0xffffffff.",
3127 "format": "uint32",
3128 "type": "integer"
3129 },
3130 "highBits": {
3131 "description": "The high order bits, including the sign: n > > 32.",
3132 "format": "int32",
3133 "type": "integer"
3134 } 3682 }
3135 }, 3683 },
3136 "type": "object" 3684 "type": "object"
3137 }, 3685 },
3138 "Source": { 3686 "Source": {
3139 "description": "A source that records can be read and decoded from." , 3687 "description": "A source that records can be read and decoded from." ,
3140 "id": "Source", 3688 "id": "Source",
3141 "properties": { 3689 "properties": {
3142 "metadata": { 3690 "metadata": {
3143 "$ref": "SourceMetadata", 3691 "$ref": "SourceMetadata",
(...skipping 26 matching lines...) Expand all
3170 "additionalProperties": { 3718 "additionalProperties": {
3171 "description": "Properties of the object.", 3719 "description": "Properties of the object.",
3172 "type": "any" 3720 "type": "any"
3173 }, 3721 },
3174 "description": "The source to read from, plus its parameters .", 3722 "description": "The source to read from, plus its parameters .",
3175 "type": "object" 3723 "type": "object"
3176 } 3724 }
3177 }, 3725 },
3178 "type": "object" 3726 "type": "object"
3179 }, 3727 },
3728 "SplitInt64": {
3729 "description": "A representation of an int64, n, that is immune to p recision loss when\nencoded in JSON.",
3730 "id": "SplitInt64",
3731 "properties": {
3732 "lowBits": {
3733 "description": "The low order bits: n & 0xffffffff.",
3734 "format": "uint32",
3735 "type": "integer"
3736 },
3737 "highBits": {
3738 "description": "The high order bits, including the sign: n > > 32.",
3739 "format": "int32",
3740 "type": "integer"
3741 }
3742 },
3743 "type": "object"
3744 },
3180 "WorkerPool": { 3745 "WorkerPool": {
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.", 3746 "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.",
3182 "id": "WorkerPool", 3747 "id": "WorkerPool",
3183 "properties": { 3748 "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": { 3749 "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.", 3750 "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": [ 3751 "enum": [
3212 "TEARDOWN_POLICY_UNKNOWN", 3752 "TEARDOWN_POLICY_UNKNOWN",
3213 "TEARDOWN_ALWAYS", 3753 "TEARDOWN_ALWAYS",
3214 "TEARDOWN_ON_SUCCESS", 3754 "TEARDOWN_ON_SUCCESS",
3215 "TEARDOWN_NEVER" 3755 "TEARDOWN_NEVER"
3216 ], 3756 ],
3217 "enumDescriptions": [ 3757 "enumDescriptions": [
3218 "The teardown policy isn't specified, or is unknown.", 3758 "The teardown policy isn't specified, or is unknown.",
(...skipping 17 matching lines...) Expand all
3236 }, 3776 },
3237 "diskSizeGb": { 3777 "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.", 3778 "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", 3779 "format": "int32",
3240 "type": "integer" 3780 "type": "integer"
3241 }, 3781 },
3242 "workerHarnessContainerImage": { 3782 "workerHarnessContainerImage": {
3243 "description": "Required. Docker container image that execut es the Cloud Dataflow worker\nharness, residing in Google Container Registry.", 3783 "description": "Required. Docker container image that execut es the Cloud Dataflow worker\nharness, residing in Google Container Registry.",
3244 "type": "string" 3784 "type": "string"
3245 }, 3785 },
3786 "diskType": {
3787 "description": "Type of root disk for VMs. If empty or unsp ecified, the service will\nattempt to choose a reasonable default.",
3788 "type": "string"
3789 },
3246 "machineType": { 3790 "machineType": {
3247 "description": "Machine type (e.g. \"n1-standard-1\"). If e mpty or unspecified, the\nservice will attempt to choose a reasonable default.", 3791 "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" 3792 "type": "string"
3249 }, 3793 },
3250 "diskType": {
3251 "description": "Type of root disk for VMs. If empty or unsp ecified, the service will\nattempt to choose a reasonable default.",
3252 "type": "string"
3253 },
3254 "kind": { 3794 "kind": {
3255 "description": "The kind of the worker pool; currently only `harness` and `shuffle`\nare supported.", 3795 "description": "The kind of the worker pool; currently only `harness` and `shuffle`\nare supported.",
3256 "type": "string" 3796 "type": "string"
3257 }, 3797 },
3258 "dataDisks": { 3798 "dataDisks": {
3259 "description": "Data disks that are used by a VM in this wor kflow.", 3799 "description": "Data disks that are used by a VM in this wor kflow.",
3260 "items": { 3800 "items": {
3261 "$ref": "Disk" 3801 "$ref": "Disk"
3262 }, 3802 },
3263 "type": "array" 3803 "type": "array"
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
3307 "The default set of packages to stage is unknown, or uns pecified.", 3847 "The default set of packages to stage is unknown, or uns pecified.",
3308 "Indicates that no packages should be staged at the work er unless\nexplicitly specified by the job.", 3848 "Indicates that no packages should be staged at the work er unless\nexplicitly specified by the job.",
3309 "Stage packages typically useful to workers written in J ava.", 3849 "Stage packages typically useful to workers written in J ava.",
3310 "Stage pacakges typically useful to workers written in P ython." 3850 "Stage pacakges typically useful to workers written in P ython."
3311 ], 3851 ],
3312 "type": "string" 3852 "type": "string"
3313 }, 3853 },
3314 "network": { 3854 "network": {
3315 "description": "Network to which VMs will be assigned. If e mpty or unspecified,\nthe service will use the network \"default\".", 3855 "description": "Network to which VMs will be assigned. If e mpty or unspecified,\nthe service will use the network \"default\".",
3316 "type": "string" 3856 "type": "string"
3857 },
3858 "zone": {
3859 "description": "Zone to run the worker pools in. If empty o r unspecified, the service\nwill attempt to choose a reasonable default.",
3860 "type": "string"
3861 },
3862 "numWorkers": {
3863 "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.",
3864 "format": "int32",
3865 "type": "integer"
3866 },
3867 "numThreadsPerWorker": {
3868 "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).",
3869 "format": "int32",
3870 "type": "integer"
3871 },
3872 "diskSourceImage": {
3873 "description": "Fully qualified source image for disks.",
3874 "type": "string"
3875 },
3876 "packages": {
3877 "description": "Packages to be installed on workers.",
3878 "items": {
3879 "$ref": "Package"
3880 },
3881 "type": "array"
3317 } 3882 }
3318 }, 3883 },
3319 "type": "object" 3884 "type": "object"
3320 }, 3885 },
3321 "SourceOperationRequest": { 3886 "SourceOperationRequest": {
3322 "description": "A work item that represents the different operations that can be\nperformed on a user-defined Source specification.", 3887 "description": "A work item that represents the different operations that can be\nperformed on a user-defined Source specification.",
3323 "id": "SourceOperationRequest", 3888 "id": "SourceOperationRequest",
3324 "properties": { 3889 "properties": {
3890 "split": {
3891 "$ref": "SourceSplitRequest",
3892 "description": "Information about a request to split a sourc e."
3893 },
3325 "getMetadata": { 3894 "getMetadata": {
3326 "$ref": "SourceGetMetadataRequest", 3895 "$ref": "SourceGetMetadataRequest",
3327 "description": "Information about a request to get metadata about a source." 3896 "description": "Information about a request to get metadata about a source."
3328 }, 3897 }
3329 "split": { 3898 },
3330 "$ref": "SourceSplitRequest", 3899 "type": "object"
3331 "description": "Information about a request to split a sourc e." 3900 },
3901 "WorkItem": {
3902 "description": "WorkItem represents basic information about a WorkIt em to be executed\nin the cloud.",
3903 "id": "WorkItem",
3904 "properties": {
3905 "streamingComputationTask": {
3906 "$ref": "StreamingComputationTask",
3907 "description": "Additional information for StreamingComputat ionTask WorkItems."
3908 },
3909 "shellTask": {
3910 "$ref": "ShellTask",
3911 "description": "Additional information for ShellTask WorkIte ms."
3912 },
3913 "jobId": {
3914 "description": "Identifies the workflow job this WorkItem be longs to.",
3915 "type": "string"
3916 },
3917 "id": {
3918 "description": "Identifies this WorkItem.",
3919 "format": "int64",
3920 "type": "string"
3921 },
3922 "configuration": {
3923 "description": "Work item-specific configuration as an opaqu e blob.",
3924 "type": "string"
3925 },
3926 "mapTask": {
3927 "$ref": "MapTask",
3928 "description": "Additional information for MapTask WorkItems ."
3929 },
3930 "seqMapTask": {
3931 "$ref": "SeqMapTask",
3932 "description": "Additional information for SeqMapTask WorkIt ems."
3933 },
3934 "packages": {
3935 "description": "Any required packages that need to be fetche d in order to execute\nthis WorkItem.",
3936 "items": {
3937 "$ref": "Package"
3938 },
3939 "type": "array"
3940 },
3941 "projectId": {
3942 "description": "Identifies the cloud project this WorkItem b elongs to.",
3943 "type": "string"
3944 },
3945 "sourceOperationTask": {
3946 "$ref": "SourceOperationRequest",
3947 "description": "Additional information for source operation WorkItems."
3948 },
3949 "reportStatusInterval": {
3950 "description": "Recommended reporting interval.",
3951 "format": "google-duration",
3952 "type": "string"
3953 },
3954 "streamingSetupTask": {
3955 "$ref": "StreamingSetupTask",
3956 "description": "Additional information for StreamingSetupTas k WorkItems."
3957 },
3958 "streamingConfigTask": {
3959 "$ref": "StreamingConfigTask",
3960 "description": "Additional information for StreamingConfigTa sk WorkItems."
3961 },
3962 "leaseExpireTime": {
3963 "description": "Time when the lease on this Work will expire .",
3964 "format": "google-datetime",
3965 "type": "string"
3966 },
3967 "initialReportIndex": {
3968 "description": "The initial index to use when reporting the status of the WorkItem.",
3969 "format": "int64",
3970 "type": "string"
3332 } 3971 }
3333 }, 3972 },
3334 "type": "object" 3973 "type": "object"
3335 }, 3974 },
3336 "StructuredMessage": { 3975 "StructuredMessage": {
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.", 3976 "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.",
3338 "id": "StructuredMessage", 3977 "id": "StructuredMessage",
3339 "properties": { 3978 "properties": {
3340 "messageKey": { 3979 "messageKey": {
3341 "description": "Idenfier for this message type. Used by ext ernal systems to\ninternationalize or personalize message.", 3980 "description": "Idenfier for this message type. Used by ext ernal systems to\ninternationalize or personalize message.",
3342 "type": "string" 3981 "type": "string"
3343 }, 3982 },
3344 "messageText": { 3983 "messageText": {
3345 "description": "Human-readable version of message.", 3984 "description": "Human-readable version of message.",
3346 "type": "string" 3985 "type": "string"
3347 }, 3986 },
3348 "parameters": { 3987 "parameters": {
3349 "description": "The structured data associated with this mes sage.", 3988 "description": "The structured data associated with this mes sage.",
3350 "items": { 3989 "items": {
3351 "$ref": "Parameter" 3990 "$ref": "Parameter"
3352 }, 3991 },
3353 "type": "array" 3992 "type": "array"
3354 } 3993 }
3355 }, 3994 },
3356 "type": "object" 3995 "type": "object"
3357 }, 3996 },
3358 "WorkItem": {
3359 "description": "WorkItem represents basic information about a WorkIt em to be executed\nin the cloud.",
3360 "id": "WorkItem",
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 },
3367 "streamingComputationTask": {
3368 "$ref": "StreamingComputationTask",
3369 "description": "Additional information for StreamingComputat ionTask WorkItems."
3370 },
3371 "shellTask": {
3372 "$ref": "ShellTask",
3373 "description": "Additional information for ShellTask WorkIte ms."
3374 },
3375 "jobId": {
3376 "description": "Identifies the workflow job this WorkItem be longs to.",
3377 "type": "string"
3378 },
3379 "id": {
3380 "description": "Identifies this WorkItem.",
3381 "format": "int64",
3382 "type": "string"
3383 },
3384 "configuration": {
3385 "description": "Work item-specific configuration as an opaqu e blob.",
3386 "type": "string"
3387 },
3388 "mapTask": {
3389 "$ref": "MapTask",
3390 "description": "Additional information for MapTask WorkItems ."
3391 },
3392 "seqMapTask": {
3393 "$ref": "SeqMapTask",
3394 "description": "Additional information for SeqMapTask WorkIt ems."
3395 },
3396 "packages": {
3397 "description": "Any required packages that need to be fetche d in order to execute\nthis WorkItem.",
3398 "items": {
3399 "$ref": "Package"
3400 },
3401 "type": "array"
3402 },
3403 "projectId": {
3404 "description": "Identifies the cloud project this WorkItem b elongs to.",
3405 "type": "string"
3406 },
3407 "streamingSetupTask": {
3408 "$ref": "StreamingSetupTask",
3409 "description": "Additional information for StreamingSetupTas k WorkItems."
3410 },
3411 "reportStatusInterval": {
3412 "description": "Recommended reporting interval.",
3413 "format": "google-duration",
3414 "type": "string"
3415 },
3416 "sourceOperationTask": {
3417 "$ref": "SourceOperationRequest",
3418 "description": "Additional information for source operation WorkItems."
3419 },
3420 "streamingConfigTask": {
3421 "$ref": "StreamingConfigTask",
3422 "description": "Additional information for StreamingConfigTa sk WorkItems."
3423 },
3424 "leaseExpireTime": {
3425 "description": "Time when the lease on this Work will expire .",
3426 "format": "google-datetime",
3427 "type": "string"
3428 }
3429 },
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"
3445 },
3446 "ReportedParallelism": { 3997 "ReportedParallelism": {
3447 "description": "Represents the level of parallelism in a WorkItem's input,\nreported by the worker.", 3998 "description": "Represents the level of parallelism in a WorkItem's input,\nreported by the worker.",
3448 "id": "ReportedParallelism", 3999 "id": "ReportedParallelism",
3449 "properties": { 4000 "properties": {
3450 "isInfinite": { 4001 "isInfinite": {
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.", 4002 "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.",
3452 "type": "boolean" 4003 "type": "boolean"
3453 }, 4004 },
3454 "value": { 4005 "value": {
3455 "description": "Specifies the level of parallelism in case i t is finite.", 4006 "description": "Specifies the level of parallelism in case i t is finite.",
3456 "format": "double", 4007 "format": "double",
3457 "type": "number" 4008 "type": "number"
3458 } 4009 }
3459 }, 4010 },
3460 "type": "object" 4011 "type": "object"
3461 }, 4012 },
4013 "ResourceUtilizationReport": {
4014 "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.",
4015 "id": "ResourceUtilizationReport",
4016 "properties": {
4017 "cpuTime": {
4018 "description": "CPU utilization samples.",
4019 "items": {
4020 "$ref": "CPUTime"
4021 },
4022 "type": "array"
4023 }
4024 },
4025 "type": "object"
4026 },
3462 "TopologyConfig": { 4027 "TopologyConfig": {
3463 "description": "Global topology of the streaming Dataflow job, inclu ding all\ncomputations and their sharded locations.", 4028 "description": "Global topology of the streaming Dataflow job, inclu ding all\ncomputations and their sharded locations.",
3464 "id": "TopologyConfig", 4029 "id": "TopologyConfig",
3465 "properties": { 4030 "properties": {
3466 "userStageToComputationNameMap": { 4031 "userStageToComputationNameMap": {
3467 "additionalProperties": { 4032 "additionalProperties": {
3468 "type": "string" 4033 "type": "string"
3469 }, 4034 },
3470 "description": "Maps user stage names to stable computation names.", 4035 "description": "Maps user stage names to stable computation names.",
3471 "type": "object" 4036 "type": "object"
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
3522 "$ref": "Source", 4087 "$ref": "Source",
3523 "description": "The source to read from." 4088 "description": "The source to read from."
3524 } 4089 }
3525 }, 4090 },
3526 "type": "object" 4091 "type": "object"
3527 }, 4092 },
3528 "WorkerSettings": { 4093 "WorkerSettings": {
3529 "description": "Provides data to pass through to the worker harness. ", 4094 "description": "Provides data to pass through to the worker harness. ",
3530 "id": "WorkerSettings", 4095 "id": "WorkerSettings",
3531 "properties": { 4096 "properties": {
4097 "servicePath": {
4098 "description": "The Cloud Dataflow service path relative to the root URL, for example,\n\"dataflow/v1b3/projects\".",
4099 "type": "string"
4100 },
4101 "shuffleServicePath": {
4102 "description": "The Shuffle service path relative to the roo t URL, for example,\n\"shuffle/v1beta1\".",
4103 "type": "string"
4104 },
3532 "workerId": { 4105 "workerId": {
3533 "description": "The ID of the worker running this pipeline." , 4106 "description": "The ID of the worker running this pipeline." ,
3534 "type": "string" 4107 "type": "string"
3535 }, 4108 },
3536 "tempStoragePrefix": { 4109 "tempStoragePrefix": {
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}", 4110 "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}",
3538 "type": "string" 4111 "type": "string"
3539 }, 4112 },
4113 "baseUrl": {
4114 "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/\"",
4115 "type": "string"
4116 },
3540 "reportingEnabled": { 4117 "reportingEnabled": {
3541 "description": "Whether to send work progress updates to the service.", 4118 "description": "Whether to send work progress updates to the service.",
3542 "type": "boolean" 4119 "type": "boolean"
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 },
3548 "servicePath": {
3549 "description": "The Cloud Dataflow service path relative to the root URL, for example,\n\"dataflow/v1b3/projects\".",
3550 "type": "string"
3551 },
3552 "shuffleServicePath": {
3553 "description": "The Shuffle service path relative to the roo t URL, for example,\n\"shuffle/v1beta1\".",
3554 "type": "string"
3555 } 4120 }
3556 }, 4121 },
3557 "type": "object" 4122 "type": "object"
3558 }, 4123 },
3559 "StreamingStageLocation": { 4124 "StreamingStageLocation": {
3560 "description": "Identifies the location of a streaming computation s tage, for\nstage-to-stage communication.", 4125 "description": "Identifies the location of a streaming computation s tage, for\nstage-to-stage communication.",
3561 "id": "StreamingStageLocation", 4126 "id": "StreamingStageLocation",
3562 "properties": { 4127 "properties": {
3563 "streamId": { 4128 "streamId": {
3564 "description": "Identifies the particular stream within the streaming Dataflow\njob.", 4129 "description": "Identifies the particular stream within the streaming Dataflow\njob.",
3565 "type": "string" 4130 "type": "string"
3566 } 4131 }
3567 }, 4132 },
3568 "type": "object" 4133 "type": "object"
3569 }, 4134 },
3570 "DataDiskAssignment": { 4135 "DataDiskAssignment": {
3571 "description": "Data disk assignment for a given VM instance.", 4136 "description": "Data disk assignment for a given VM instance.",
3572 "id": "DataDiskAssignment", 4137 "id": "DataDiskAssignment",
3573 "properties": { 4138 "properties": {
4139 "vmInstance": {
4140 "description": "VM instance name the data disks mounted to, for example\n\"myproject-1014-104817-4c2-harness-0\".",
4141 "type": "string"
4142 },
3574 "dataDisks": { 4143 "dataDisks": {
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\" }.", 4144 "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\" }.",
3576 "items": { 4145 "items": {
3577 "type": "string" 4146 "type": "string"
3578 }, 4147 },
3579 "type": "array" 4148 "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"
3584 } 4149 }
3585 }, 4150 },
3586 "type": "object" 4151 "type": "object"
3587 }, 4152 },
3588 "ApproximateSplitRequest": { 4153 "ApproximateSplitRequest": {
3589 "description": "A suggestion by the service to the worker to dynamic ally split the WorkItem.", 4154 "description": "A suggestion by the service to the worker to dynamic ally split the WorkItem.",
3590 "id": "ApproximateSplitRequest", 4155 "id": "ApproximateSplitRequest",
3591 "properties": { 4156 "properties": {
3592 "position": { 4157 "position": {
3593 "$ref": "Position", 4158 "$ref": "Position",
3594 "description": "A Position at which to split the work item." 4159 "description": "A Position at which to split the work item."
3595 }, 4160 },
3596 "fractionConsumed": { 4161 "fractionConsumed": {
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).", 4162 "description": "A fraction at which to split the work item, from 0.0 (beginning of the\ninput) to 1.0 (end of the input).",
3598 "format": "double", 4163 "format": "double",
3599 "type": "number" 4164 "type": "number"
3600 } 4165 }
3601 }, 4166 },
3602 "type": "object" 4167 "type": "object"
3603 }, 4168 },
3604 "Status": { 4169 "Status": {
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.", 4170 "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.",
3606 "id": "Status", 4171 "id": "Status",
3607 "properties": { 4172 "properties": {
4173 "code": {
4174 "description": "The status code, which should be an enum val ue of google.rpc.Code.",
4175 "format": "int32",
4176 "type": "integer"
4177 },
4178 "message": {
4179 "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.",
4180 "type": "string"
4181 },
3608 "details": { 4182 "details": {
3609 "description": "A list of messages that carry the error deta ils. There is a common set of\nmessage types for APIs to use.", 4183 "description": "A list of messages that carry the error deta ils. There is a common set of\nmessage types for APIs to use.",
3610 "items": { 4184 "items": {
3611 "additionalProperties": { 4185 "additionalProperties": {
3612 "description": "Properties of the object. Contains f ield @type with type URL.", 4186 "description": "Properties of the object. Contains f ield @type with type URL.",
3613 "type": "any" 4187 "type": "any"
3614 }, 4188 },
3615 "type": "object" 4189 "type": "object"
3616 }, 4190 },
3617 "type": "array" 4191 "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"
3627 } 4192 }
3628 }, 4193 },
3629 "type": "object" 4194 "type": "object"
3630 }, 4195 },
3631 "ExecutionStageState": { 4196 "ExecutionStageState": {
3632 "description": "A message describing the state of a particular execu tion stage.", 4197 "description": "A message describing the state of a particular execu tion stage.",
3633 "id": "ExecutionStageState", 4198 "id": "ExecutionStageState",
3634 "properties": { 4199 "properties": {
3635 "executionStageName": {
3636 "description": "The name of the execution stage.",
3637 "type": "string"
3638 },
3639 "currentStateTime": {
3640 "description": "The time at which the stage transitioned to this state.",
3641 "format": "google-datetime",
3642 "type": "string"
3643 },
3644 "executionStageState": { 4200 "executionStageState": {
3645 "description": "Executions stage states allow the same set o f values as JobState.", 4201 "description": "Executions stage states allow the same set o f values as JobState.",
3646 "enum": [ 4202 "enum": [
3647 "JOB_STATE_UNKNOWN", 4203 "JOB_STATE_UNKNOWN",
3648 "JOB_STATE_STOPPED", 4204 "JOB_STATE_STOPPED",
3649 "JOB_STATE_RUNNING", 4205 "JOB_STATE_RUNNING",
3650 "JOB_STATE_DONE", 4206 "JOB_STATE_DONE",
3651 "JOB_STATE_FAILED", 4207 "JOB_STATE_FAILED",
3652 "JOB_STATE_CANCELLED", 4208 "JOB_STATE_CANCELLED",
3653 "JOB_STATE_UPDATED", 4209 "JOB_STATE_UPDATED",
3654 "JOB_STATE_DRAINING", 4210 "JOB_STATE_DRAINING",
3655 "JOB_STATE_DRAINED", 4211 "JOB_STATE_DRAINED",
3656 "JOB_STATE_PENDING", 4212 "JOB_STATE_PENDING",
3657 "JOB_STATE_CANCELLING" 4213 "JOB_STATE_CANCELLING"
3658 ], 4214 ],
3659 "enumDescriptions": [ 4215 "enumDescriptions": [
3660 "The job's run state isn't specified.", 4216 "The job's run state isn't specified.",
3661 "`JOB_STATE_STOPPED` indicates that the job has not\nyet started to run.", 4217 "`JOB_STATE_STOPPED` indicates that the job has not\nyet started to run.",
3662 "`JOB_STATE_RUNNING` indicates that the job is currently running.", 4218 "`JOB_STATE_RUNNING` indicates that the job is currently running.",
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.", 4219 "`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.",
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`.", 4220 "`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`.",
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.", 4221 "`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.",
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`.", 4222 "`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`.",
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`.", 4223 "`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`.",
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`.", 4224 "`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`.",
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`.", 4225 "'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`.",
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'." 4226 "'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'."
3671 ], 4227 ],
3672 "type": "string" 4228 "type": "string"
4229 },
4230 "executionStageName": {
4231 "description": "The name of the execution stage.",
4232 "type": "string"
4233 },
4234 "currentStateTime": {
4235 "description": "The time at which the stage transitioned to this state.",
4236 "format": "google-datetime",
4237 "type": "string"
3673 } 4238 }
3674 }, 4239 },
3675 "type": "object" 4240 "type": "object"
3676 }, 4241 },
3677 "StreamLocation": { 4242 "StreamLocation": {
3678 "description": "Describes a stream of data, either as input to be pr ocessed or as\noutput of a streaming Dataflow job.", 4243 "description": "Describes a stream of data, either as input to be pr ocessed or as\noutput of a streaming Dataflow job.",
3679 "id": "StreamLocation", 4244 "id": "StreamLocation",
3680 "properties": { 4245 "properties": {
3681 "customSourceLocation": { 4246 "customSourceLocation": {
3682 "$ref": "CustomSourceLocation", 4247 "$ref": "CustomSourceLocation",
(...skipping 21 matching lines...) Expand all
3704 "workerMessageResponses": { 4269 "workerMessageResponses": {
3705 "description": "The servers response to the worker messages. ", 4270 "description": "The servers response to the worker messages. ",
3706 "items": { 4271 "items": {
3707 "$ref": "WorkerMessageResponse" 4272 "$ref": "WorkerMessageResponse"
3708 }, 4273 },
3709 "type": "array" 4274 "type": "array"
3710 } 4275 }
3711 }, 4276 },
3712 "type": "object" 4277 "type": "object"
3713 }, 4278 },
3714 "LeaseWorkItemResponse": { 4279 "StreamingComputationConfig": {
3715 "description": "Response to a request to lease WorkItems.", 4280 "description": "Configuration information for a single streaming com putation.",
3716 "id": "LeaseWorkItemResponse", 4281 "id": "StreamingComputationConfig",
3717 "properties": { 4282 "properties": {
3718 "workItems": { 4283 "computationId": {
3719 "description": "A list of the leased WorkItems.", 4284 "description": "Unique identifier for this computation.",
3720 "items": { 4285 "type": "string"
3721 "$ref": "WorkItem" 4286 },
4287 "stageName": {
4288 "description": "Stage name of this computation.",
4289 "type": "string"
4290 },
4291 "systemName": {
4292 "description": "System defined name for this computation.",
4293 "type": "string"
4294 },
4295 "instructions": {
4296 "description": "Instructions that comprise the computation." ,
4297 "items": {
4298 "$ref": "ParallelInstruction"
3722 }, 4299 },
3723 "type": "array" 4300 "type": "array"
3724 } 4301 }
3725 }, 4302 },
3726 "type": "object" 4303 "type": "object"
3727 }, 4304 },
3728 "TransformSummary": { 4305 "TransformSummary": {
3729 "description": "Description of the type, names/ids, and input/output s for a transform.", 4306 "description": "Description of the type, names/ids, and input/output s for a transform.",
3730 "id": "TransformSummary", 4307 "id": "TransformSummary",
3731 "properties": { 4308 "properties": {
3732 "inputCollectionName": { 4309 "inputCollectionName": {
3733 "description": "User names for all collection inputs to this transform.", 4310 "description": "User names for all collection inputs to this transform.",
3734 "items": { 4311 "items": {
3735 "type": "string" 4312 "type": "string"
3736 }, 4313 },
3737 "type": "array" 4314 "type": "array"
3738 }, 4315 },
3739 "name": { 4316 "name": {
3740 "description": "User provided name for this transform instan ce.", 4317 "description": "User provided name for this transform instan ce.",
3741 "type": "string" 4318 "type": "string"
3742 }, 4319 },
3743 "id": { 4320 "id": {
3744 "description": "SDK generated id of this transform instance. ", 4321 "description": "SDK generated id of this transform instance. ",
3745 "type": "string" 4322 "type": "string"
3746 }, 4323 },
4324 "outputCollectionName": {
4325 "description": "User names for all collection outputs to th is transform.",
4326 "items": {
4327 "type": "string"
4328 },
4329 "type": "array"
4330 },
3747 "displayData": { 4331 "displayData": {
3748 "description": "Transform-specific display data.", 4332 "description": "Transform-specific display data.",
3749 "items": { 4333 "items": {
3750 "$ref": "DisplayData" 4334 "$ref": "DisplayData"
3751 }, 4335 },
3752 "type": "array" 4336 "type": "array"
3753 }, 4337 },
3754 "outputCollectionName": {
3755 "description": "User names for all collection outputs to th is transform.",
3756 "items": {
3757 "type": "string"
3758 },
3759 "type": "array"
3760 },
3761 "kind": { 4338 "kind": {
3762 "description": "Type of transform.", 4339 "description": "Type of transform.",
3763 "enum": [ 4340 "enum": [
3764 "UNKNOWN_KIND", 4341 "UNKNOWN_KIND",
3765 "PAR_DO_KIND", 4342 "PAR_DO_KIND",
3766 "GROUP_BY_KEY_KIND", 4343 "GROUP_BY_KEY_KIND",
3767 "FLATTEN_KIND", 4344 "FLATTEN_KIND",
3768 "READ_KIND", 4345 "READ_KIND",
3769 "WRITE_KIND", 4346 "WRITE_KIND",
3770 "CONSTANT_KIND", 4347 "CONSTANT_KIND",
3771 "SINGLETON_KIND", 4348 "SINGLETON_KIND",
3772 "SHUFFLE_KIND" 4349 "SHUFFLE_KIND"
3773 ], 4350 ],
3774 "enumDescriptions": [ 4351 "enumDescriptions": [
3775 "Unrecognized transform type.", 4352 "Unrecognized transform type.",
3776 "ParDo transform.", 4353 "ParDo transform.",
3777 "Group By Key transform.", 4354 "Group By Key transform.",
3778 "Flatten transform.", 4355 "Flatten transform.",
3779 "Read transform.", 4356 "Read transform.",
3780 "Write transform.", 4357 "Write transform.",
3781 "Constructs from a constant value, such as with Create.o f.", 4358 "Constructs from a constant value, such as with Create.o f.",
3782 "Creates a Singleton view of a collection.", 4359 "Creates a Singleton view of a collection.",
3783 "Opening or closing a shuffle session, often as part of a GroupByKey." 4360 "Opening or closing a shuffle session, often as part of a GroupByKey."
3784 ], 4361 ],
3785 "type": "string" 4362 "type": "string"
3786 } 4363 }
3787 }, 4364 },
3788 "type": "object" 4365 "type": "object"
3789 }, 4366 },
3790 "StreamingComputationConfig": { 4367 "LeaseWorkItemResponse": {
3791 "description": "Configuration information for a single streaming com putation.", 4368 "description": "Response to a request to lease WorkItems.",
3792 "id": "StreamingComputationConfig", 4369 "id": "LeaseWorkItemResponse",
3793 "properties": { 4370 "properties": {
3794 "stageName": { 4371 "workItems": {
3795 "description": "Stage name of this computation.", 4372 "description": "A list of the leased WorkItems.",
3796 "type": "string" 4373 "items": {
3797 }, 4374 "$ref": "WorkItem"
3798 "systemName": { 4375 },
3799 "description": "System defined name for this computation.", 4376 "type": "array"
3800 "type": "string" 4377 }
3801 }, 4378 },
3802 "instructions": { 4379 "type": "object"
3803 "description": "Instructions that comprise the computation." , 4380 },
3804 "items": { 4381 "LaunchTemplateParameters": {
3805 "$ref": "ParallelInstruction" 4382 "description": "Parameters to provide to the template being launched .",
3806 }, 4383 "id": "LaunchTemplateParameters",
3807 "type": "array" 4384 "properties": {
3808 }, 4385 "parameters": {
3809 "computationId": { 4386 "additionalProperties": {
3810 "description": "Unique identifier for this computation.", 4387 "type": "string"
3811 "type": "string" 4388 },
4389 "description": "The runtime parameters to pass to the job.",
4390 "type": "object"
4391 },
4392 "jobName": {
4393 "description": "Required. The job name to use for the create d job.",
4394 "type": "string"
4395 },
4396 "environment": {
4397 "$ref": "RuntimeEnvironment",
4398 "description": "The runtime environment for the job."
3812 } 4399 }
3813 }, 4400 },
3814 "type": "object" 4401 "type": "object"
3815 }, 4402 },
3816 "Sink": { 4403 "Sink": {
3817 "description": "A sink that records can be encoded and written to.", 4404 "description": "A sink that records can be encoded and written to.",
3818 "id": "Sink", 4405 "id": "Sink",
3819 "properties": { 4406 "properties": {
3820 "codec": { 4407 "codec": {
3821 "additionalProperties": { 4408 "additionalProperties": {
3822 "description": "Properties of the object.", 4409 "description": "Properties of the object.",
3823 "type": "any" 4410 "type": "any"
3824 }, 4411 },
3825 "description": "The codec to use to encode data written to t he sink.", 4412 "description": "The codec to use to encode data written to t he sink.",
3826 "type": "object" 4413 "type": "object"
3827 }, 4414 },
3828 "spec": { 4415 "spec": {
3829 "additionalProperties": { 4416 "additionalProperties": {
3830 "description": "Properties of the object.", 4417 "description": "Properties of the object.",
3831 "type": "any" 4418 "type": "any"
3832 }, 4419 },
3833 "description": "The sink to write to, plus its parameters.", 4420 "description": "The sink to write to, plus its parameters.",
3834 "type": "object" 4421 "type": "object"
3835 } 4422 }
3836 }, 4423 },
3837 "type": "object" 4424 "type": "object"
3838 }, 4425 },
3839 "LaunchTemplateParameters": {
3840 "description": "Parameters to provide to the template being launched .",
3841 "id": "LaunchTemplateParameters",
3842 "properties": {
3843 "parameters": {
3844 "additionalProperties": {
3845 "type": "string"
3846 },
3847 "description": "The runtime parameters to pass to the job.",
3848 "type": "object"
3849 },
3850 "jobName": {
3851 "description": "Required. The job name to use for the create d job.",
3852 "type": "string"
3853 },
3854 "environment": {
3855 "$ref": "RuntimeEnvironment",
3856 "description": "The runtime environment for the job."
3857 }
3858 },
3859 "type": "object"
3860 },
3861 "FlattenInstruction": { 4426 "FlattenInstruction": {
3862 "description": "An instruction that copies its inputs (zero or more) to its (single) output.", 4427 "description": "An instruction that copies its inputs (zero or more) to its (single) output.",
3863 "id": "FlattenInstruction", 4428 "id": "FlattenInstruction",
3864 "properties": { 4429 "properties": {
3865 "inputs": { 4430 "inputs": {
3866 "description": "Describes the inputs to the flatten instruct ion.", 4431 "description": "Describes the inputs to the flatten instruct ion.",
3867 "items": { 4432 "items": {
3868 "$ref": "InstructionInput" 4433 "$ref": "InstructionInput"
3869 }, 4434 },
3870 "type": "array" 4435 "type": "array"
3871 } 4436 }
3872 }, 4437 },
3873 "type": "object" 4438 "type": "object"
3874 }, 4439 },
3875 "PartialGroupByKeyInstruction": { 4440 "PartialGroupByKeyInstruction": {
3876 "description": "An instruction that does a partial group-by-key.\nOn e input and one output.", 4441 "description": "An instruction that does a partial group-by-key.\nOn e input and one output.",
3877 "id": "PartialGroupByKeyInstruction", 4442 "id": "PartialGroupByKeyInstruction",
3878 "properties": { 4443 "properties": {
4444 "sideInputs": {
4445 "description": "Zero or more side inputs.",
4446 "items": {
4447 "$ref": "SideInputInfo"
4448 },
4449 "type": "array"
4450 },
4451 "originalCombineValuesStepName": {
4452 "description": "If this instruction includes a combining fun ction, this is the name of the\nCombineValues instruction lifted into this instr uction.",
4453 "type": "string"
4454 },
4455 "input": {
4456 "$ref": "InstructionInput",
4457 "description": "Describes the input to the partial group-by- key instruction."
4458 },
4459 "valueCombiningFn": {
4460 "additionalProperties": {
4461 "description": "Properties of the object.",
4462 "type": "any"
4463 },
4464 "description": "The value combining function to invoke.",
4465 "type": "object"
4466 },
3879 "inputElementCodec": { 4467 "inputElementCodec": {
3880 "additionalProperties": { 4468 "additionalProperties": {
3881 "description": "Properties of the object.", 4469 "description": "Properties of the object.",
3882 "type": "any" 4470 "type": "any"
3883 }, 4471 },
3884 "description": "The codec to use for interpreting an element in the input PTable.", 4472 "description": "The codec to use for interpreting an element in the input PTable.",
3885 "type": "object" 4473 "type": "object"
3886 }, 4474 },
3887 "valueCombiningFn": {
3888 "additionalProperties": {
3889 "description": "Properties of the object.",
3890 "type": "any"
3891 },
3892 "description": "The value combining function to invoke.",
3893 "type": "object"
3894 },
3895 "originalCombineValuesInputStoreName": { 4475 "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.", 4476 "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" 4477 "type": "string"
3898 }, 4478 }
3899 "originalCombineValuesStepName": { 4479 },
3900 "description": "If this instruction includes a combining fun ction, this is the name of the\nCombineValues instruction lifted into this instr uction.", 4480 "type": "object"
3901 "type": "string" 4481 },
3902 }, 4482 "StageSource": {
3903 "sideInputs": { 4483 "description": "Description of an input or output of an execution st age.",
3904 "description": "Zero or more side inputs.", 4484 "id": "StageSource",
3905 "items": { 4485 "properties": {
3906 "$ref": "SideInputInfo" 4486 "sizeBytes": {
3907 }, 4487 "description": "Size of the source, if measurable.",
3908 "type": "array" 4488 "format": "int64",
3909 }, 4489 "type": "string"
3910 "input": { 4490 },
3911 "$ref": "InstructionInput", 4491 "name": {
3912 "description": "Describes the input to the partial group-by- key instruction." 4492 "description": "Dataflow service generated name for this sou rce.",
4493 "type": "string"
4494 },
4495 "userName": {
4496 "description": "Human-readable name for this source; may be user or system generated.",
4497 "type": "string"
4498 },
4499 "originalTransformOrCollection": {
4500 "description": "User name for the original user transform or collection with which this\nsource is most closely associated.",
4501 "type": "string"
3913 } 4502 }
3914 }, 4503 },
3915 "type": "object" 4504 "type": "object"
3916 }, 4505 },
3917 "InstructionInput": { 4506 "InstructionInput": {
3918 "description": "An input of an instruction, as a reference to an out put of a\nproducer instruction.", 4507 "description": "An input of an instruction, as a reference to an out put of a\nproducer instruction.",
3919 "id": "InstructionInput", 4508 "id": "InstructionInput",
3920 "properties": { 4509 "properties": {
3921 "producerInstructionIndex": { 4510 "producerInstructionIndex": {
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.", 4511 "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.",
3923 "format": "int32", 4512 "format": "int32",
3924 "type": "integer" 4513 "type": "integer"
3925 }, 4514 },
3926 "outputNum": { 4515 "outputNum": {
3927 "description": "The output index (origin zero) within the pr oducer.", 4516 "description": "The output index (origin zero) within the pr oducer.",
3928 "format": "int32", 4517 "format": "int32",
3929 "type": "integer" 4518 "type": "integer"
3930 } 4519 }
3931 }, 4520 },
3932 "type": "object" 4521 "type": "object"
3933 }, 4522 },
3934 "StageSource": {
3935 "description": "Description of an input or output of an execution st age.",
3936 "id": "StageSource",
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 },
3946 "sizeBytes": {
3947 "description": "Size of the source, if measurable.",
3948 "format": "int64",
3949 "type": "string"
3950 },
3951 "name": {
3952 "description": "Dataflow service generated name for this sou rce.",
3953 "type": "string"
3954 }
3955 },
3956 "type": "object"
3957 },
3958 "StringList": { 4523 "StringList": {
3959 "description": "A metric value representing a list of strings.", 4524 "description": "A metric value representing a list of strings.",
3960 "id": "StringList", 4525 "id": "StringList",
3961 "properties": { 4526 "properties": {
3962 "elements": { 4527 "elements": {
3963 "description": "Elements of the list.", 4528 "description": "Elements of the list.",
3964 "items": { 4529 "items": {
3965 "type": "string" 4530 "type": "string"
3966 }, 4531 },
3967 "type": "array" 4532 "type": "array"
3968 } 4533 }
3969 }, 4534 },
3970 "type": "object" 4535 "type": "object"
3971 }, 4536 },
3972 "DisplayData": { 4537 "DisplayData": {
3973 "description": "Data provided with a pipeline or transform to provid e descriptive info.", 4538 "description": "Data provided with a pipeline or transform to provid e descriptive info.",
3974 "id": "DisplayData", 4539 "id": "DisplayData",
3975 "properties": { 4540 "properties": {
3976 "strValue": { 4541 "strValue": {
3977 "description": "Contains value if the data is of string type .", 4542 "description": "Contains value if the data is of string type .",
3978 "type": "string" 4543 "type": "string"
3979 }, 4544 },
4545 "durationValue": {
4546 "description": "Contains value if the data is of duration ty pe.",
4547 "format": "google-duration",
4548 "type": "string"
4549 },
3980 "int64Value": { 4550 "int64Value": {
3981 "description": "Contains value if the data is of int64 type. ", 4551 "description": "Contains value if the data is of int64 type. ",
3982 "format": "int64", 4552 "format": "int64",
3983 "type": "string" 4553 "type": "string"
3984 }, 4554 },
3985 "durationValue": {
3986 "description": "Contains value if the data is of duration ty pe.",
3987 "format": "google-duration",
3988 "type": "string"
3989 },
3990 "namespace": { 4555 "namespace": {
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.", 4556 "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.",
3992 "type": "string" 4557 "type": "string"
3993 }, 4558 },
3994 "floatValue": { 4559 "floatValue": {
3995 "description": "Contains value if the data is of float type. ", 4560 "description": "Contains value if the data is of float type. ",
3996 "format": "float", 4561 "format": "float",
3997 "type": "number" 4562 "type": "number"
3998 }, 4563 },
3999 "key": { 4564 "key": {
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.", 4565 "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.",
4001 "type": "string" 4566 "type": "string"
4002 }, 4567 },
4003 "shortStrValue": { 4568 "shortStrValue": {
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.", 4569 "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.",
4005 "type": "string" 4570 "type": "string"
4006 }, 4571 },
4572 "url": {
4573 "description": "An optional full URL.",
4574 "type": "string"
4575 },
4007 "label": { 4576 "label": {
4008 "description": "An optional label to display in a dax UI for the element.", 4577 "description": "An optional label to display in a dax UI for the element.",
4009 "type": "string" 4578 "type": "string"
4010 }, 4579 },
4011 "url": {
4012 "description": "An optional full URL.",
4013 "type": "string"
4014 },
4015 "timestampValue": { 4580 "timestampValue": {
4016 "description": "Contains value if the data is of timestamp t ype.", 4581 "description": "Contains value if the data is of timestamp t ype.",
4017 "format": "google-datetime", 4582 "format": "google-datetime",
4018 "type": "string" 4583 "type": "string"
4019 }, 4584 },
4020 "javaClassValue": {
4021 "description": "Contains value if the data is of java class type.",
4022 "type": "string"
4023 },
4024 "boolValue": { 4585 "boolValue": {
4025 "description": "Contains value if the data is of a boolean t ype.", 4586 "description": "Contains value if the data is of a boolean t ype.",
4026 "type": "boolean" 4587 "type": "boolean"
4588 },
4589 "javaClassValue": {
4590 "description": "Contains value if the data is of java class type.",
4591 "type": "string"
4027 } 4592 }
4028 }, 4593 },
4029 "type": "object" 4594 "type": "object"
4030 }, 4595 },
4031 "GetDebugConfigRequest": { 4596 "GetDebugConfigRequest": {
4032 "description": "Request to get updated debug configuration for compo nent.", 4597 "description": "Request to get updated debug configuration for compo nent.",
4033 "id": "GetDebugConfigRequest", 4598 "id": "GetDebugConfigRequest",
4034 "properties": { 4599 "properties": {
4600 "location": {
4601 "description": "The location which contains the job specifie d by job_id.",
4602 "type": "string"
4603 },
4604 "componentId": {
4605 "description": "The internal component id for which debug co nfiguration is\nrequested.",
4606 "type": "string"
4607 },
4035 "workerId": { 4608 "workerId": {
4036 "description": "The worker id, i.e., VM hostname.", 4609 "description": "The worker id, i.e., VM hostname.",
4037 "type": "string" 4610 "type": "string"
4038 },
4039 "location": {
4040 "description": "The location which contains the job specifie d by job_id.",
4041 "type": "string"
4042 },
4043 "componentId": {
4044 "description": "The internal component id for which debug co nfiguration is\nrequested.",
4045 "type": "string"
4046 } 4611 }
4047 }, 4612 },
4048 "type": "object" 4613 "type": "object"
4049 }, 4614 },
4050 "LeaseWorkItemRequest": { 4615 "LeaseWorkItemRequest": {
4051 "description": "Request to lease WorkItems.", 4616 "description": "Request to lease WorkItems.",
4052 "id": "LeaseWorkItemRequest", 4617 "id": "LeaseWorkItemRequest",
4053 "properties": { 4618 "properties": {
4619 "currentWorkerTime": {
4620 "description": "The current timestamp at the worker.",
4621 "format": "google-datetime",
4622 "type": "string"
4623 },
4624 "workItemTypes": {
4625 "description": "Filter for WorkItem type.",
4626 "items": {
4627 "type": "string"
4628 },
4629 "type": "array"
4630 },
4631 "location": {
4632 "description": "The location which contains the WorkItem's j ob.",
4633 "type": "string"
4634 },
4054 "workerCapabilities": { 4635 "workerCapabilities": {
4055 "description": "Worker capabilities. WorkItems might be limi ted to workers with specific\ncapabilities.", 4636 "description": "Worker capabilities. WorkItems might be limi ted to workers with specific\ncapabilities.",
4056 "items": { 4637 "items": {
4057 "type": "string" 4638 "type": "string"
4058 }, 4639 },
4059 "type": "array" 4640 "type": "array"
4060 }, 4641 },
4061 "workerId": { 4642 "workerId": {
4062 "description": "Identifies the worker leasing work -- typica lly the ID of the\nvirtual machine running the worker.", 4643 "description": "Identifies the worker leasing work -- typica lly the ID of the\nvirtual machine running the worker.",
4063 "type": "string" 4644 "type": "string"
4064 }, 4645 },
4065 "requestedLeaseDuration": { 4646 "requestedLeaseDuration": {
4066 "description": "The initial lease period.", 4647 "description": "The initial lease period.",
4067 "format": "google-duration", 4648 "format": "google-duration",
4068 "type": "string" 4649 "type": "string"
4069 }, 4650 }
4651 },
4652 "type": "object"
4653 },
4654 "GetTemplateResponse": {
4655 "description": "The response to a GetTemplate request.",
4656 "id": "GetTemplateResponse",
4657 "properties": {
4658 "metadata": {
4659 "$ref": "TemplateMetadata",
4660 "description": "The template metadata describing the templat e name, available\nparameters, etc."
4661 },
4662 "status": {
4663 "$ref": "Status",
4664 "description": "The status of the get template request. Any problems with the\nrequest will be indicated in the error_details."
4665 }
4666 },
4667 "type": "object"
4668 },
4669 "Parameter": {
4670 "description": "Structured data associated with this message.",
4671 "id": "Parameter",
4672 "properties": {
4673 "value": {
4674 "description": "Value for this parameter.",
4675 "type": "any"
4676 },
4677 "key": {
4678 "description": "Key or name for this parameter.",
4679 "type": "string"
4680 }
4681 },
4682 "type": "object"
4683 },
4684 "ReportWorkItemStatusRequest": {
4685 "description": "Request to report the status of WorkItems.",
4686 "id": "ReportWorkItemStatusRequest",
4687 "properties": {
4070 "currentWorkerTime": { 4688 "currentWorkerTime": {
4071 "description": "The current timestamp at the worker.", 4689 "description": "The current timestamp at the worker.",
4072 "format": "google-datetime", 4690 "format": "google-datetime",
4073 "type": "string" 4691 "type": "string"
4074 }, 4692 },
4075 "workItemTypes": { 4693 "workerId": {
4076 "description": "Filter for WorkItem type.", 4694 "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).",
4077 "items": { 4695 "type": "string"
4078 "type": "string"
4079 },
4080 "type": "array"
4081 }, 4696 },
4082 "location": { 4697 "location": {
4083 "description": "The location which contains the WorkItem's j ob.", 4698 "description": "The location which contains the WorkItem's j ob.",
4084 "type": "string" 4699 "type": "string"
4085 } 4700 },
4086 },
4087 "type": "object"
4088 },
4089 "GetTemplateResponse": {
4090 "description": "The response to a GetTemplate request.",
4091 "id": "GetTemplateResponse",
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 },
4097 "metadata": {
4098 "$ref": "TemplateMetadata",
4099 "description": "The template metadata describing the templat e name, available\nparameters, etc."
4100 }
4101 },
4102 "type": "object"
4103 },
4104 "Parameter": {
4105 "description": "Structured data associated with this message.",
4106 "id": "Parameter",
4107 "properties": {
4108 "key": {
4109 "description": "Key or name for this parameter.",
4110 "type": "string"
4111 },
4112 "value": {
4113 "description": "Value for this parameter.",
4114 "type": "any"
4115 }
4116 },
4117 "type": "object"
4118 },
4119 "ReportWorkItemStatusRequest": {
4120 "description": "Request to report the status of WorkItems.",
4121 "id": "ReportWorkItemStatusRequest",
4122 "properties": {
4123 "workItemStatuses": { 4701 "workItemStatuses": {
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.", 4702 "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.",
4125 "items": { 4703 "items": {
4126 "$ref": "WorkItemStatus" 4704 "$ref": "WorkItemStatus"
4127 }, 4705 },
4128 "type": "array" 4706 "type": "array"
4129 },
4130 "currentWorkerTime": {
4131 "description": "The current timestamp at the worker.",
4132 "format": "google-datetime",
4133 "type": "string"
4134 },
4135 "workerId": {
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).",
4137 "type": "string"
4138 },
4139 "location": {
4140 "description": "The location which contains the WorkItem's j ob.",
4141 "type": "string"
4142 } 4707 }
4143 }, 4708 },
4144 "type": "object" 4709 "type": "object"
4145 }, 4710 },
4146 "StreamingConfigTask": { 4711 "StreamingConfigTask": {
4147 "description": "A task that carries configuration information for st reaming computations.", 4712 "description": "A task that carries configuration information for st reaming computations.",
4148 "id": "StreamingConfigTask", 4713 "id": "StreamingConfigTask",
4149 "properties": { 4714 "properties": {
4715 "windmillServicePort": {
4716 "description": "If present, the worker must use this port to communicate with Windmill\nService dispatchers. Only applicable when windmill_s ervice_endpoint is\nspecified.",
4717 "format": "int64",
4718 "type": "string"
4719 },
4720 "streamingComputationConfigs": {
4721 "description": "Set of computation configuration information .",
4722 "items": {
4723 "$ref": "StreamingComputationConfig"
4724 },
4725 "type": "array"
4726 },
4150 "windmillServiceEndpoint": { 4727 "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.", 4728 "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" 4729 "type": "string"
4153 }, 4730 },
4154 "userStepToStateFamilyNameMap": { 4731 "userStepToStateFamilyNameMap": {
4155 "additionalProperties": { 4732 "additionalProperties": {
4156 "type": "string" 4733 "type": "string"
4157 }, 4734 },
4158 "description": "Map from user step names to state families." , 4735 "description": "Map from user step names to state families." ,
4159 "type": "object" 4736 "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 } 4737 }
4173 }, 4738 },
4174 "type": "object" 4739 "type": "object"
4175 }, 4740 },
4176 "PipelineDescription": { 4741 "PipelineDescription": {
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." , 4742 "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." ,
4178 "id": "PipelineDescription", 4743 "id": "PipelineDescription",
4179 "properties": { 4744 "properties": {
4745 "displayData": {
4746 "description": "Pipeline level display data.",
4747 "items": {
4748 "$ref": "DisplayData"
4749 },
4750 "type": "array"
4751 },
4180 "executionPipelineStage": { 4752 "executionPipelineStage": {
4181 "description": "Description of each stage of execution of th e pipeline.", 4753 "description": "Description of each stage of execution of th e pipeline.",
4182 "items": { 4754 "items": {
4183 "$ref": "ExecutionStageSummary" 4755 "$ref": "ExecutionStageSummary"
4184 }, 4756 },
4185 "type": "array" 4757 "type": "array"
4186 }, 4758 },
4187 "originalPipelineTransform": { 4759 "originalPipelineTransform": {
4188 "description": "Description of each transform in the pipelin e and collections between them.", 4760 "description": "Description of each transform in the pipelin e and collections between them.",
4189 "items": { 4761 "items": {
4190 "$ref": "TransformSummary" 4762 "$ref": "TransformSummary"
4191 }, 4763 },
4192 "type": "array" 4764 "type": "array"
4193 },
4194 "displayData": {
4195 "description": "Pipeline level display data.",
4196 "items": {
4197 "$ref": "DisplayData"
4198 },
4199 "type": "array"
4200 }
4201 },
4202 "type": "object"
4203 },
4204 "JobExecutionInfo": {
4205 "description": "Additional information about how a Cloud Dataflow jo b will be executed that\nisn't contained in the submitted job.",
4206 "id": "JobExecutionInfo",
4207 "properties": {
4208 "stages": {
4209 "additionalProperties": {
4210 "$ref": "JobExecutionStageInfo"
4211 },
4212 "description": "A mapping from each stage to the information about that stage.",
4213 "type": "object"
4214 } 4765 }
4215 }, 4766 },
4216 "type": "object" 4767 "type": "object"
4217 }, 4768 },
4218 "Step": { 4769 "Step": {
4219 "description": "Defines a particular step within a Cloud Dataflow jo b.\n\nA job consists of multiple steps, each of which performs some\nspecific op eration as part of the overall job. Data is typically\npassed from one step to another as part of the job.\n\nHere's an example of a sequence of steps which to gether implement a\nMap-Reduce job:\n\n * Read a collection of data from some s ource, parsing the\n collection's elements.\n\n * Validate the elements.\n\n * Apply a user-defined function to map each element to some value\n and ext ract an element-specific key value.\n\n * Group elements with the same key into a single element with\n that key, transforming a multiply-keyed collection i nto a\n uniquely-keyed collection.\n\n * Write the elements out to some data sink.\n\nNote that the Cloud Dataflow service may be used to run many different \ntypes of jobs, not just Map-Reduce.", 4770 "description": "Defines a particular step within a Cloud Dataflow jo b.\n\nA job consists of multiple steps, each of which performs some\nspecific op eration as part of the overall job. Data is typically\npassed from one step to another as part of the job.\n\nHere's an example of a sequence of steps which to gether implement a\nMap-Reduce job:\n\n * Read a collection of data from some s ource, parsing the\n collection's elements.\n\n * Validate the elements.\n\n * Apply a user-defined function to map each element to some value\n and ext ract an element-specific key value.\n\n * Group elements with the same key into a single element with\n that key, transforming a multiply-keyed collection i nto a\n uniquely-keyed collection.\n\n * Write the elements out to some data sink.\n\nNote that the Cloud Dataflow service may be used to run many different \ntypes of jobs, not just Map-Reduce.",
4220 "id": "Step", 4771 "id": "Step",
4221 "properties": { 4772 "properties": {
4222 "name": {
4223 "description": "The name that identifies the step. This must be unique for each\nstep with respect to all other steps in the Cloud Dataflow job.",
4224 "type": "string"
4225 },
4226 "kind": {
4227 "description": "The kind of step in the Cloud Dataflow job." ,
4228 "type": "string"
4229 },
4230 "properties": { 4773 "properties": {
4231 "additionalProperties": { 4774 "additionalProperties": {
4232 "description": "Properties of the object.", 4775 "description": "Properties of the object.",
4233 "type": "any" 4776 "type": "any"
4234 }, 4777 },
4235 "description": "Named properties associated with the step. E ach kind of\npredefined step has its own required set of properties.\nMust be pr ovided on Create. Only retrieved with JOB_VIEW_ALL.", 4778 "description": "Named properties associated with the step. E ach kind of\npredefined step has its own required set of properties.\nMust be pr ovided on Create. Only retrieved with JOB_VIEW_ALL.",
4236 "type": "object" 4779 "type": "object"
4780 },
4781 "name": {
4782 "description": "The name that identifies the step. This must be unique for each\nstep with respect to all other steps in the Cloud Dataflow job.",
4783 "type": "string"
4784 },
4785 "kind": {
4786 "description": "The kind of step in the Cloud Dataflow job." ,
4787 "type": "string"
4788 }
4789 },
4790 "type": "object"
4791 },
4792 "JobExecutionInfo": {
4793 "description": "Additional information about how a Cloud Dataflow jo b will be executed that\nisn't contained in the submitted job.",
4794 "id": "JobExecutionInfo",
4795 "properties": {
4796 "stages": {
4797 "additionalProperties": {
4798 "$ref": "JobExecutionStageInfo"
4799 },
4800 "description": "A mapping from each stage to the information about that stage.",
4801 "type": "object"
4237 } 4802 }
4238 }, 4803 },
4239 "type": "object" 4804 "type": "object"
4240 }, 4805 },
4241 "FailedLocation": { 4806 "FailedLocation": {
4242 "description": "Indicates which location failed to respond to a requ est for data.", 4807 "description": "Indicates which location failed to respond to a requ est for data.",
4243 "id": "FailedLocation", 4808 "id": "FailedLocation",
4244 "properties": { 4809 "properties": {
4245 "name": { 4810 "name": {
4246 "description": "The name of the failed location.", 4811 "description": "The name of the failed location.",
(...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after
4356 ], 4921 ],
4357 "type": "string" 4922 "type": "string"
4358 } 4923 }
4359 }, 4924 },
4360 "type": "object" 4925 "type": "object"
4361 }, 4926 },
4362 "ApproximateReportedProgress": { 4927 "ApproximateReportedProgress": {
4363 "description": "A progress measurement of a WorkItem by a worker.", 4928 "description": "A progress measurement of a WorkItem by a worker.",
4364 "id": "ApproximateReportedProgress", 4929 "id": "ApproximateReportedProgress",
4365 "properties": { 4930 "properties": {
4931 "position": {
4932 "$ref": "Position",
4933 "description": "A Position within the work to represent a pr ogress."
4934 },
4366 "fractionConsumed": { 4935 "fractionConsumed": {
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).", 4936 "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).",
4368 "format": "double", 4937 "format": "double",
4369 "type": "number" 4938 "type": "number"
4370 }, 4939 },
4371 "consumedParallelism": { 4940 "consumedParallelism": {
4372 "$ref": "ReportedParallelism", 4941 "$ref": "ReportedParallelism",
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." 4942 "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 }, 4943 },
4375 "remainingParallelism": { 4944 "remainingParallelism": {
4376 "$ref": "ReportedParallelism", 4945 "$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." 4946 "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."
4382 } 4947 }
4383 }, 4948 },
4384 "type": "object" 4949 "type": "object"
4385 }, 4950 },
4386 "StateFamilyConfig": { 4951 "StateFamilyConfig": {
4387 "description": "State family configuration.", 4952 "description": "State family configuration.",
4388 "id": "StateFamilyConfig", 4953 "id": "StateFamilyConfig",
4389 "properties": { 4954 "properties": {
4955 "stateFamily": {
4956 "description": "The state family value.",
4957 "type": "string"
4958 },
4390 "isRead": { 4959 "isRead": {
4391 "description": "If true, this family corresponds to a read o peration.", 4960 "description": "If true, this family corresponds to a read o peration.",
4392 "type": "boolean" 4961 "type": "boolean"
4393 },
4394 "stateFamily": {
4395 "description": "The state family value.",
4396 "type": "string"
4397 } 4962 }
4398 }, 4963 },
4399 "type": "object" 4964 "type": "object"
4400 }, 4965 },
4401 "IntegerList": { 4966 "IntegerList": {
4402 "description": "A metric value representing a list of integers.", 4967 "description": "A metric value representing a list of integers.",
4403 "id": "IntegerList", 4968 "id": "IntegerList",
4404 "properties": { 4969 "properties": {
4405 "elements": { 4970 "elements": {
4406 "description": "Elements of the list.", 4971 "description": "Elements of the list.",
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
4445 }, 5010 },
4446 "bundles": { 5011 "bundles": {
4447 "description": "If outcome is SPLITTING_HAPPENED, then this is a list of bundles\ninto which the source was split. Otherwise this field is i gnored.\nThis list can be empty, which means the source represents an empty inpu t.", 5012 "description": "If outcome is SPLITTING_HAPPENED, then this is a list of bundles\ninto which the source was split. Otherwise this field is i gnored.\nThis list can be empty, which means the source represents an empty inpu t.",
4448 "items": { 5013 "items": {
4449 "$ref": "DerivedSource" 5014 "$ref": "DerivedSource"
4450 }, 5015 },
4451 "type": "array" 5016 "type": "array"
4452 } 5017 }
4453 }, 5018 },
4454 "type": "object" 5019 "type": "object"
4455 },
4456 "ParallelInstruction": {
4457 "description": "Describes a particular operation comprising a MapTas k.",
4458 "id": "ParallelInstruction",
4459 "properties": {
4460 "name": {
4461 "description": "User-provided name of this operation.",
4462 "type": "string"
4463 },
4464 "read": {
4465 "$ref": "ReadInstruction",
4466 "description": "Additional information for Read instructions ."
4467 },
4468 "parDo": {
4469 "$ref": "ParDoInstruction",
4470 "description": "Additional information for ParDo instruction s."
4471 },
4472 "originalName": {
4473 "description": "System-defined name for the operation in the original workflow graph.",
4474 "type": "string"
4475 },
4476 "flatten": {
4477 "$ref": "FlattenInstruction",
4478 "description": "Additional information for Flatten instructi ons."
4479 },
4480 "write": {
4481 "$ref": "WriteInstruction",
4482 "description": "Additional information for Write instruction s."
4483 },
4484 "systemName": {
4485 "description": "System-defined name of this operation.\nUniq ue across the workflow.",
4486 "type": "string"
4487 },
4488 "partialGroupByKey": {
4489 "$ref": "PartialGroupByKeyInstruction",
4490 "description": "Additional information for PartialGroupByKey instructions."
4491 },
4492 "outputs": {
4493 "description": "Describes the outputs of the instruction.",
4494 "items": {
4495 "$ref": "InstructionOutput"
4496 },
4497 "type": "array"
4498 }
4499 },
4500 "type": "object"
4501 },
4502 "Package": {
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 .",
4504 "id": "Package",
4505 "properties": {
4506 "name": {
4507 "description": "The name of the package.",
4508 "type": "string"
4509 },
4510 "location": {
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/",
4512 "type": "string"
4513 }
4514 },
4515 "type": "object"
4516 },
4517 "KeyRangeDataDiskAssignment": {
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.",
4519 "id": "KeyRangeDataDiskAssignment",
4520 "properties": {
4521 "end": {
4522 "description": "The end (exclusive) of the key range.",
4523 "type": "string"
4524 },
4525 "dataDisk": {
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\".",
4527 "type": "string"
4528 },
4529 "start": {
4530 "description": "The start (inclusive) of the key range.",
4531 "type": "string"
4532 }
4533 },
4534 "type": "object"
4535 },
4536 "ParDoInstruction": {
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.",
4538 "id": "ParDoInstruction",
4539 "properties": {
4540 "sideInputs": {
4541 "description": "Zero or more side inputs.",
4542 "items": {
4543 "$ref": "SideInputInfo"
4544 },
4545 "type": "array"
4546 },
4547 "multiOutputInfos": {
4548 "description": "Information about each of the outputs, if us er_fn is a MultiDoFn.",
4549 "items": {
4550 "$ref": "MultiOutputInfo"
4551 },
4552 "type": "array"
4553 },
4554 "userFn": {
4555 "additionalProperties": {
4556 "description": "Properties of the object.",
4557 "type": "any"
4558 },
4559 "description": "The user function to invoke.",
4560 "type": "object"
4561 },
4562 "input": {
4563 "$ref": "InstructionInput",
4564 "description": "The input."
4565 },
4566 "numOutputs": {
4567 "description": "The number of outputs.",
4568 "format": "int32",
4569 "type": "integer"
4570 }
4571 },
4572 "type": "object"
4573 },
4574 "MetricUpdate": {
4575 "description": "Describes the state of a metric.",
4576 "id": "MetricUpdate",
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 },
4582 "scalar": {
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.",
4584 "type": "any"
4585 },
4586 "meanCount": {
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.",
4588 "type": "any"
4589 },
4590 "meanSum": {
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.",
4592 "type": "any"
4593 },
4594 "updateTime": {
4595 "description": "Timestamp associated with the metric value. Optional when workers are\nreporting work progress; it will be filled in respons es from the\nmetrics API.",
4596 "format": "google-datetime",
4597 "type": "string"
4598 },
4599 "name": {
4600 "$ref": "MetricStructuredName",
4601 "description": "Name of the metric."
4602 },
4603 "distribution": {
4604 "description": "A struct value describing properties of a di stribution of numeric values.",
4605 "type": "any"
4606 },
4607 "set": {
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.",
4609 "type": "any"
4610 },
4611 "cumulative": {
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.",
4613 "type": "boolean"
4614 },
4615 "internal": {
4616 "description": "Worker-computed aggregate value for internal use by the Dataflow\nservice.",
4617 "type": "any"
4618 }
4619 },
4620 "type": "object"
4621 },
4622 "CounterStructuredName": {
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.",
4624 "id": "CounterStructuredName",
4625 "properties": {
4626 "componentStepName": {
4627 "description": "Name of the optimized step being executed by the workers.",
4628 "type": "string"
4629 },
4630 "portion": {
4631 "description": "Portion of this counter, either key or value .",
4632 "enum": [
4633 "ALL",
4634 "KEY",
4635 "VALUE"
4636 ],
4637 "enumDescriptions": [
4638 "Counter portion has not been set.",
4639 "Counter reports a key.",
4640 "Counter reports a value."
4641 ],
4642 "type": "string"
4643 },
4644 "originalStepName": {
4645 "description": "System generated name of the original step i n the user's graph, before\noptimization.",
4646 "type": "string"
4647 },
4648 "workerId": {
4649 "description": "ID of a particular worker.",
4650 "type": "string"
4651 },
4652 "originNamespace": {
4653 "description": "A string containing a more specific namespac e of the counter's origin.",
4654 "type": "string"
4655 },
4656 "origin": {
4657 "description": "One of the standard Origins defined above.",
4658 "enum": [
4659 "SYSTEM",
4660 "USER"
4661 ],
4662 "enumDescriptions": [
4663 "Counter was created by the Dataflow system.",
4664 "Counter was created by the user."
4665 ],
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"
4675 }
4676 },
4677 "type": "object"
4678 },
4679 "ApproximateProgress": {
4680 "description": "Obsolete in favor of ApproximateReportedProgress and ApproximateSplitRequest.",
4681 "id": "ApproximateProgress",
4682 "properties": {
4683 "remainingTime": {
4684 "description": "Obsolete.",
4685 "format": "google-duration",
4686 "type": "string"
4687 },
4688 "position": {
4689 "$ref": "Position",
4690 "description": "Obsolete."
4691 },
4692 "percentComplete": {
4693 "description": "Obsolete.",
4694 "format": "float",
4695 "type": "number"
4696 }
4697 },
4698 "type": "object"
4699 },
4700 "WorkerMessageResponse": {
4701 "description": "A worker_message response allows the server to pass information to the\nsender.",
4702 "id": "WorkerMessageResponse",
4703 "properties": {
4704 "workerMetricsResponse": {
4705 "$ref": "ResourceUtilizationReportResponse",
4706 "description": "Service's response to reporting worker metri cs (currently empty)."
4707 },
4708 "workerHealthReportResponse": {
4709 "$ref": "WorkerHealthReportResponse",
4710 "description": "The service's response to a worker's health report."
4711 }
4712 },
4713 "type": "object"
4714 },
4715 "TemplateMetadata": {
4716 "description": "Metadata describing a template.",
4717 "id": "TemplateMetadata",
4718 "properties": {
4719 "parameters": {
4720 "description": "The parameters for the template.",
4721 "items": {
4722 "$ref": "ParameterMetadata"
4723 },
4724 "type": "array"
4725 },
4726 "name": {
4727 "description": "Required. The name of the template.",
4728 "type": "string"
4729 },
4730 "description": {
4731 "description": "Optional. A description of the template.",
4732 "type": "string"
4733 }
4734 },
4735 "type": "object"
4736 },
4737 "WorkerMessage": {
4738 "description": "WorkerMessage provides information to the backend ab out a worker.",
4739 "id": "WorkerMessage",
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 },
4748 "time": {
4749 "description": "The timestamp of the worker_message.",
4750 "format": "google-datetime",
4751 "type": "string"
4752 },
4753 "workerHealthReport": {
4754 "$ref": "WorkerHealthReport",
4755 "description": "The health of a worker."
4756 },
4757 "workerMetrics": {
4758 "$ref": "ResourceUtilizationReport",
4759 "description": "Resource metrics reported by workers."
4760 },
4761 "workerMessageCode": {
4762 "$ref": "WorkerMessageCode",
4763 "description": "A worker message code."
4764 }
4765 },
4766 "type": "object"
4767 },
4768 "JobMetrics": {
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.",
4770 "id": "JobMetrics",
4771 "properties": {
4772 "metrics": {
4773 "description": "All metrics for this job.",
4774 "items": {
4775 "$ref": "MetricUpdate"
4776 },
4777 "type": "array"
4778 },
4779 "metricTime": {
4780 "description": "Timestamp as of which metric values are curr ent.",
4781 "format": "google-datetime",
4782 "type": "string"
4783 }
4784 },
4785 "type": "object"
4786 },
4787 "FloatingPointList": {
4788 "description": "A metric value representing a list of floating point numbers.",
4789 "id": "FloatingPointList",
4790 "properties": {
4791 "elements": {
4792 "description": "Elements of the list.",
4793 "items": {
4794 "format": "double",
4795 "type": "number"
4796 },
4797 "type": "array"
4798 }
4799 },
4800 "type": "object"
4801 },
4802 "CounterUpdate": {
4803 "description": "An update to a Counter sent from a worker.",
4804 "id": "CounterUpdate",
4805 "properties": {
4806 "floatingPointList": {
4807 "$ref": "FloatingPointList",
4808 "description": "List of floating point numbers, for Set."
4809 },
4810 "integer": {
4811 "$ref": "SplitInt64",
4812 "description": "Integer value for Sum, Max, Min."
4813 },
4814 "structuredNameAndMetadata": {
4815 "$ref": "CounterStructuredNameAndMetadata",
4816 "description": "Counter structured name and metadata."
4817 },
4818 "integerList": {
4819 "$ref": "IntegerList",
4820 "description": "List of integers, for Set."
4821 },
4822 "integerMean": {
4823 "$ref": "IntegerMean",
4824 "description": "Integer mean aggregation value for Mean."
4825 },
4826 "floatingPoint": {
4827 "description": "Floating point value for Sum, Max, Min.",
4828 "format": "double",
4829 "type": "number"
4830 },
4831 "internal": {
4832 "description": "Value for internally-defined counters used b y the Dataflow service.",
4833 "type": "any"
4834 },
4835 "cumulative": {
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.",
4837 "type": "boolean"
4838 },
4839 "floatingPointMean": {
4840 "$ref": "FloatingPointMean",
4841 "description": "Floating point mean aggregation value for Me an."
4842 },
4843 "boolean": {
4844 "description": "Boolean value for And, Or.",
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"
4863 }
4864 },
4865 "type": "object"
4866 },
4867 "SourceMetadata": {
4868 "description": "Metadata about a Source useful for automatically opt imizing\nand tuning the pipeline, etc.",
4869 "id": "SourceMetadata",
4870 "properties": {
4871 "estimatedSizeBytes": {
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.",
4873 "format": "int64",
4874 "type": "string"
4875 },
4876 "infinite": {
4877 "description": "Specifies that the size of this source is kn own to be infinite\n(this is a streaming source).",
4878 "type": "boolean"
4879 },
4880 "producesSortedKeys": {
4881 "description": "Whether this source is known to produce key/ value pairs with\nthe (encoded) keys in lexicographically sorted order.",
4882 "type": "boolean"
4883 }
4884 },
4885 "type": "object"
4886 },
4887 "DistributionUpdate": {
4888 "description": "A metric value representing a distribution.",
4889 "id": "DistributionUpdate",
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 },
4895 "max": {
4896 "$ref": "SplitInt64",
4897 "description": "The maximum value present in the distributio n."
4898 },
4899 "logBuckets": {
4900 "description": "(Optional) Logarithmic histogram of values.\ nEach log may be in no more than one bucket. Order does not matter.",
4901 "items": {
4902 "$ref": "LogBucket"
4903 },
4904 "type": "array"
4905 },
4906 "count": {
4907 "$ref": "SplitInt64",
4908 "description": "The count of the number of elements present in the distribution."
4909 },
4910 "sumOfSquares": {
4911 "description": "Use a double since the sum of squares is lik ely to overflow int64.",
4912 "format": "double",
4913 "type": "number"
4914 },
4915 "min": {
4916 "$ref": "SplitInt64",
4917 "description": "The minimum value present in the distributio n."
4918 }
4919 },
4920 "type": "object"
4921 },
4922 "WorkerHealthReportResponse": {
4923 "description": "WorkerHealthReportResponse contains information retu rned to the worker\nin response to a health ping.",
4924 "id": "WorkerHealthReportResponse",
4925 "properties": {
4926 "reportInterval": {
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.",
4928 "format": "google-duration",
4929 "type": "string"
4930 }
4931 },
4932 "type": "object"
4933 },
4934 "SourceFork": {
4935 "description": "DEPRECATED in favor of DynamicSourceSplit.",
4936 "id": "SourceFork",
4937 "properties": {
4938 "residualSource": {
4939 "$ref": "DerivedSource",
4940 "description": "DEPRECATED"
4941 },
4942 "primary": {
4943 "$ref": "SourceSplitShard",
4944 "description": "DEPRECATED"
4945 },
4946 "primarySource": {
4947 "$ref": "DerivedSource",
4948 "description": "DEPRECATED"
4949 },
4950 "residual": {
4951 "$ref": "SourceSplitShard",
4952 "description": "DEPRECATED"
4953 }
4954 },
4955 "type": "object"
4956 } 5020 }
4957 }, 5021 },
4958 "servicePath": "", 5022 "servicePath": "",
4959 "title": "Google Dataflow API", 5023 "title": "Google Dataflow API",
4960 "version": "v1b3" 5024 "version": "v1b3"
4961 } 5025 }
OLDNEW
« no previous file with comments | « discovery/googleapis_beta/cloudresourcemanager__v1beta1.json ('k') | discovery/googleapis_beta/dlp__v2beta1.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698