google-api-client 0.43.0 → 0.44.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (696) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +218 -0
  3. data/docs/oauth-server.md +4 -6
  4. data/generated/google/apis/accessapproval_v1.rb +1 -1
  5. data/generated/google/apis/accessapproval_v1/classes.rb +51 -86
  6. data/generated/google/apis/accessapproval_v1/service.rb +93 -132
  7. data/generated/google/apis/accesscontextmanager_v1.rb +1 -1
  8. data/generated/google/apis/accesscontextmanager_v1/classes.rb +198 -236
  9. data/generated/google/apis/accesscontextmanager_v1/service.rb +128 -171
  10. data/generated/google/apis/accesscontextmanager_v1beta.rb +1 -1
  11. data/generated/google/apis/accesscontextmanager_v1beta/classes.rb +153 -184
  12. data/generated/google/apis/accesscontextmanager_v1beta/service.rb +82 -111
  13. data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
  14. data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +17 -6
  15. data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +1 -0
  16. data/generated/google/apis/adexchangebuyer_v1_4.rb +1 -1
  17. data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +47 -2
  18. data/generated/google/apis/adexchangebuyer_v1_4/representations.rb +18 -0
  19. data/generated/google/apis/adexperiencereport_v1.rb +1 -1
  20. data/generated/google/apis/admin_datatransfer_v1.rb +6 -4
  21. data/generated/google/apis/admin_datatransfer_v1/classes.rb +16 -4
  22. data/generated/google/apis/admin_datatransfer_v1/service.rb +30 -48
  23. data/generated/google/apis/admin_directory_v1.rb +6 -8
  24. data/generated/google/apis/admin_directory_v1/classes.rb +224 -243
  25. data/generated/google/apis/admin_directory_v1/representations.rb +14 -40
  26. data/generated/google/apis/admin_directory_v1/service.rb +475 -1026
  27. data/generated/google/apis/admin_reports_v1.rb +6 -5
  28. data/generated/google/apis/admin_reports_v1/classes.rb +31 -33
  29. data/generated/google/apis/admin_reports_v1/service.rb +131 -187
  30. data/generated/google/apis/admob_v1.rb +1 -1
  31. data/generated/google/apis/alertcenter_v1beta1.rb +1 -1
  32. data/generated/google/apis/androidenterprise_v1.rb +1 -1
  33. data/generated/google/apis/androidmanagement_v1.rb +1 -1
  34. data/generated/google/apis/androidmanagement_v1/classes.rb +95 -59
  35. data/generated/google/apis/androidmanagement_v1/representations.rb +17 -0
  36. data/generated/google/apis/androidpublisher_v3.rb +1 -1
  37. data/generated/google/apis/androidpublisher_v3/service.rb +2 -2
  38. data/generated/google/apis/apigee_v1.rb +6 -7
  39. data/generated/google/apis/apigee_v1/classes.rb +205 -75
  40. data/generated/google/apis/apigee_v1/representations.rb +51 -0
  41. data/generated/google/apis/apigee_v1/service.rb +133 -34
  42. data/generated/google/apis/appengine_v1.rb +1 -1
  43. data/generated/google/apis/appengine_v1/classes.rb +45 -35
  44. data/generated/google/apis/appengine_v1/representations.rb +2 -0
  45. data/generated/google/apis/appengine_v1/service.rb +38 -47
  46. data/generated/google/apis/appengine_v1alpha.rb +1 -1
  47. data/generated/google/apis/appengine_v1alpha/classes.rb +9 -11
  48. data/generated/google/apis/appengine_v1beta.rb +1 -1
  49. data/generated/google/apis/appengine_v1beta/classes.rb +45 -35
  50. data/generated/google/apis/appengine_v1beta/representations.rb +2 -0
  51. data/generated/google/apis/appengine_v1beta/service.rb +37 -47
  52. data/generated/google/apis/appsmarket_v2.rb +1 -1
  53. data/generated/google/apis/appsmarket_v2/classes.rb +14 -16
  54. data/generated/google/apis/artifactregistry_v1beta1.rb +1 -1
  55. data/generated/google/apis/artifactregistry_v1beta1/classes.rb +235 -337
  56. data/generated/google/apis/artifactregistry_v1beta1/service.rb +44 -57
  57. data/generated/google/apis/bigquery_v2.rb +1 -1
  58. data/generated/google/apis/bigquery_v2/classes.rb +355 -553
  59. data/generated/google/apis/bigquery_v2/representations.rb +1 -0
  60. data/generated/google/apis/bigquery_v2/service.rb +32 -40
  61. data/generated/google/apis/bigqueryconnection_v1beta1.rb +1 -1
  62. data/generated/google/apis/bigqueryconnection_v1beta1/classes.rb +192 -337
  63. data/generated/google/apis/bigqueryconnection_v1beta1/service.rb +29 -32
  64. data/generated/google/apis/bigquerydatatransfer_v1.rb +1 -1
  65. data/generated/google/apis/bigquerydatatransfer_v1/classes.rb +132 -158
  66. data/generated/google/apis/bigquerydatatransfer_v1/service.rb +232 -282
  67. data/generated/google/apis/bigqueryreservation_v1.rb +1 -1
  68. data/generated/google/apis/bigqueryreservation_v1/classes.rb +116 -123
  69. data/generated/google/apis/bigqueryreservation_v1/representations.rb +2 -0
  70. data/generated/google/apis/bigqueryreservation_v1/service.rb +137 -183
  71. data/generated/google/apis/bigqueryreservation_v1alpha2.rb +1 -1
  72. data/generated/google/apis/bigqueryreservation_v1alpha2/classes.rb +88 -100
  73. data/generated/google/apis/bigqueryreservation_v1alpha2/service.rb +77 -100
  74. data/generated/google/apis/bigqueryreservation_v1beta1.rb +1 -1
  75. data/generated/google/apis/bigqueryreservation_v1beta1/classes.rb +93 -98
  76. data/generated/google/apis/bigqueryreservation_v1beta1/representations.rb +2 -0
  77. data/generated/google/apis/bigqueryreservation_v1beta1/service.rb +114 -151
  78. data/generated/google/apis/bigtableadmin_v1.rb +1 -1
  79. data/generated/google/apis/bigtableadmin_v1/classes.rb +50 -0
  80. data/generated/google/apis/bigtableadmin_v1/representations.rb +29 -0
  81. data/generated/google/apis/bigtableadmin_v2.rb +1 -1
  82. data/generated/google/apis/bigtableadmin_v2/classes.rb +50 -0
  83. data/generated/google/apis/bigtableadmin_v2/representations.rb +29 -0
  84. data/generated/google/apis/billingbudgets_v1beta1.rb +4 -1
  85. data/generated/google/apis/binaryauthorization_v1.rb +1 -1
  86. data/generated/google/apis/binaryauthorization_v1/classes.rb +239 -354
  87. data/generated/google/apis/binaryauthorization_v1/service.rb +74 -89
  88. data/generated/google/apis/binaryauthorization_v1beta1.rb +1 -1
  89. data/generated/google/apis/binaryauthorization_v1beta1/classes.rb +239 -354
  90. data/generated/google/apis/binaryauthorization_v1beta1/service.rb +74 -89
  91. data/generated/google/apis/calendar_v3.rb +1 -1
  92. data/generated/google/apis/chat_v1.rb +1 -1
  93. data/generated/google/apis/chat_v1/classes.rb +90 -115
  94. data/generated/google/apis/chat_v1/service.rb +30 -42
  95. data/generated/google/apis/civicinfo_v2.rb +1 -1
  96. data/generated/google/apis/cloudasset_v1.rb +1 -1
  97. data/generated/google/apis/cloudasset_v1/classes.rb +712 -1039
  98. data/generated/google/apis/cloudasset_v1/service.rb +125 -167
  99. data/generated/google/apis/cloudasset_v1beta1.rb +1 -1
  100. data/generated/google/apis/cloudasset_v1beta1/classes.rb +531 -777
  101. data/generated/google/apis/cloudasset_v1beta1/service.rb +59 -75
  102. data/generated/google/apis/cloudasset_v1p1beta1.rb +1 -1
  103. data/generated/google/apis/cloudasset_v1p1beta1/classes.rb +204 -349
  104. data/generated/google/apis/cloudasset_v1p1beta1/service.rb +35 -47
  105. data/generated/google/apis/cloudasset_v1p4beta1.rb +1 -1
  106. data/generated/google/apis/cloudasset_v1p4beta1/classes.rb +220 -276
  107. data/generated/google/apis/cloudasset_v1p4beta1/service.rb +75 -93
  108. data/generated/google/apis/cloudasset_v1p5beta1.rb +1 -1
  109. data/generated/google/apis/cloudasset_v1p5beta1/classes.rb +481 -720
  110. data/generated/google/apis/cloudasset_v1p5beta1/service.rb +25 -28
  111. data/generated/google/apis/cloudbilling_v1.rb +7 -1
  112. data/generated/google/apis/cloudbilling_v1/classes.rb +284 -445
  113. data/generated/google/apis/cloudbilling_v1/service.rb +104 -124
  114. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  115. data/generated/google/apis/cloudbuild_v1/classes.rb +291 -343
  116. data/generated/google/apis/cloudbuild_v1/representations.rb +1 -0
  117. data/generated/google/apis/cloudbuild_v1/service.rb +48 -63
  118. data/generated/google/apis/cloudbuild_v1alpha1.rb +1 -1
  119. data/generated/google/apis/cloudbuild_v1alpha1/classes.rb +283 -329
  120. data/generated/google/apis/cloudbuild_v1alpha1/representations.rb +1 -0
  121. data/generated/google/apis/cloudbuild_v1alpha1/service.rb +15 -18
  122. data/generated/google/apis/cloudbuild_v1alpha2.rb +1 -1
  123. data/generated/google/apis/cloudbuild_v1alpha2/classes.rb +269 -313
  124. data/generated/google/apis/cloudbuild_v1alpha2/representations.rb +1 -0
  125. data/generated/google/apis/cloudbuild_v1alpha2/service.rb +22 -28
  126. data/generated/google/apis/clouddebugger_v2.rb +1 -1
  127. data/generated/google/apis/clouddebugger_v2/classes.rb +185 -252
  128. data/generated/google/apis/clouddebugger_v2/service.rb +53 -59
  129. data/generated/google/apis/clouderrorreporting_v1beta1.rb +1 -1
  130. data/generated/google/apis/clouderrorreporting_v1beta1/classes.rb +127 -156
  131. data/generated/google/apis/clouderrorreporting_v1beta1/service.rb +53 -69
  132. data/generated/google/apis/cloudfunctions_v1.rb +1 -1
  133. data/generated/google/apis/cloudfunctions_v1/classes.rb +323 -493
  134. data/generated/google/apis/cloudfunctions_v1/service.rb +79 -93
  135. data/generated/google/apis/cloudidentity_v1.rb +1 -1
  136. data/generated/google/apis/cloudidentity_v1/classes.rb +625 -75
  137. data/generated/google/apis/cloudidentity_v1/representations.rb +203 -0
  138. data/generated/google/apis/cloudidentity_v1/service.rb +43 -61
  139. data/generated/google/apis/cloudidentity_v1beta1.rb +4 -1
  140. data/generated/google/apis/cloudidentity_v1beta1/classes.rb +1045 -317
  141. data/generated/google/apis/cloudidentity_v1beta1/representations.rb +331 -22
  142. data/generated/google/apis/cloudidentity_v1beta1/service.rb +742 -96
  143. data/generated/google/apis/cloudiot_v1.rb +1 -1
  144. data/generated/google/apis/cloudiot_v1/classes.rb +263 -373
  145. data/generated/google/apis/cloudiot_v1/service.rb +147 -154
  146. data/generated/google/apis/cloudkms_v1.rb +1 -1
  147. data/generated/google/apis/cloudkms_v1/classes.rb +502 -692
  148. data/generated/google/apis/cloudkms_v1/representations.rb +17 -0
  149. data/generated/google/apis/cloudkms_v1/service.rb +170 -216
  150. data/generated/google/apis/cloudprofiler_v2.rb +1 -1
  151. data/generated/google/apis/cloudprofiler_v2/classes.rb +28 -33
  152. data/generated/google/apis/cloudprofiler_v2/service.rb +17 -19
  153. data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
  154. data/generated/google/apis/cloudresourcemanager_v1/service.rb +1 -1
  155. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
  156. data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +1 -1
  157. data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
  158. data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
  159. data/generated/google/apis/cloudscheduler_v1.rb +1 -1
  160. data/generated/google/apis/cloudscheduler_v1/classes.rb +272 -383
  161. data/generated/google/apis/cloudscheduler_v1/service.rb +45 -62
  162. data/generated/google/apis/cloudscheduler_v1beta1.rb +1 -1
  163. data/generated/google/apis/cloudscheduler_v1beta1/classes.rb +273 -384
  164. data/generated/google/apis/cloudscheduler_v1beta1/service.rb +45 -62
  165. data/generated/google/apis/cloudsearch_v1.rb +2 -2
  166. data/generated/google/apis/cloudsearch_v1/classes.rb +650 -781
  167. data/generated/google/apis/cloudsearch_v1/representations.rb +15 -0
  168. data/generated/google/apis/cloudsearch_v1/service.rb +286 -326
  169. data/generated/google/apis/cloudshell_v1.rb +1 -1
  170. data/generated/google/apis/cloudshell_v1/classes.rb +36 -227
  171. data/generated/google/apis/cloudshell_v1/representations.rb +0 -67
  172. data/generated/google/apis/cloudshell_v1/service.rb +21 -25
  173. data/generated/google/apis/cloudshell_v1alpha1.rb +1 -1
  174. data/generated/google/apis/cloudshell_v1alpha1/classes.rb +69 -78
  175. data/generated/google/apis/cloudshell_v1alpha1/service.rb +20 -24
  176. data/generated/google/apis/cloudtasks_v2.rb +1 -1
  177. data/generated/google/apis/cloudtasks_v2/classes.rb +605 -933
  178. data/generated/google/apis/cloudtasks_v2/service.rb +146 -217
  179. data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
  180. data/generated/google/apis/cloudtasks_v2beta2/classes.rb +602 -964
  181. data/generated/google/apis/cloudtasks_v2beta2/service.rb +178 -270
  182. data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
  183. data/generated/google/apis/cloudtasks_v2beta3/classes.rb +609 -938
  184. data/generated/google/apis/cloudtasks_v2beta3/service.rb +146 -217
  185. data/generated/google/apis/cloudtrace_v1.rb +1 -1
  186. data/generated/google/apis/cloudtrace_v1/classes.rb +39 -61
  187. data/generated/google/apis/cloudtrace_v1/service.rb +37 -51
  188. data/generated/google/apis/cloudtrace_v2.rb +1 -1
  189. data/generated/google/apis/cloudtrace_v2/classes.rb +92 -107
  190. data/generated/google/apis/cloudtrace_v2/service.rb +8 -11
  191. data/generated/google/apis/cloudtrace_v2beta1.rb +1 -1
  192. data/generated/google/apis/cloudtrace_v2beta1/classes.rb +23 -33
  193. data/generated/google/apis/cloudtrace_v2beta1/service.rb +30 -37
  194. data/generated/google/apis/composer_v1.rb +1 -1
  195. data/generated/google/apis/composer_v1/classes.rb +190 -242
  196. data/generated/google/apis/composer_v1/service.rb +79 -150
  197. data/generated/google/apis/composer_v1beta1.rb +1 -1
  198. data/generated/google/apis/composer_v1beta1/classes.rb +203 -262
  199. data/generated/google/apis/composer_v1beta1/service.rb +92 -179
  200. data/generated/google/apis/compute_alpha.rb +1 -1
  201. data/generated/google/apis/compute_alpha/classes.rb +681 -127
  202. data/generated/google/apis/compute_alpha/representations.rb +110 -6
  203. data/generated/google/apis/compute_alpha/service.rb +695 -692
  204. data/generated/google/apis/compute_beta.rb +1 -1
  205. data/generated/google/apis/compute_beta/classes.rb +570 -70
  206. data/generated/google/apis/compute_beta/representations.rb +112 -1
  207. data/generated/google/apis/compute_beta/service.rb +608 -605
  208. data/generated/google/apis/compute_v1.rb +1 -1
  209. data/generated/google/apis/compute_v1/classes.rb +977 -85
  210. data/generated/google/apis/compute_v1/representations.rb +372 -0
  211. data/generated/google/apis/compute_v1/service.rb +747 -15
  212. data/generated/google/apis/container_v1.rb +1 -1
  213. data/generated/google/apis/container_v1/classes.rb +915 -965
  214. data/generated/google/apis/container_v1/representations.rb +53 -0
  215. data/generated/google/apis/container_v1/service.rb +435 -502
  216. data/generated/google/apis/container_v1beta1.rb +1 -1
  217. data/generated/google/apis/container_v1beta1/classes.rb +1021 -1043
  218. data/generated/google/apis/container_v1beta1/representations.rb +70 -0
  219. data/generated/google/apis/container_v1beta1/service.rb +403 -466
  220. data/generated/google/apis/containeranalysis_v1alpha1.rb +1 -1
  221. data/generated/google/apis/containeranalysis_v1alpha1/classes.rb +456 -596
  222. data/generated/google/apis/containeranalysis_v1alpha1/service.rb +149 -169
  223. data/generated/google/apis/containeranalysis_v1beta1.rb +1 -1
  224. data/generated/google/apis/containeranalysis_v1beta1/classes.rb +454 -613
  225. data/generated/google/apis/containeranalysis_v1beta1/service.rb +75 -90
  226. data/generated/google/apis/content_v2.rb +1 -1
  227. data/generated/google/apis/content_v2/classes.rb +3 -1
  228. data/generated/google/apis/content_v2_1.rb +1 -1
  229. data/generated/google/apis/content_v2_1/classes.rb +93 -2
  230. data/generated/google/apis/content_v2_1/representations.rb +34 -0
  231. data/generated/google/apis/content_v2_1/service.rb +53 -2
  232. data/generated/google/apis/datacatalog_v1beta1.rb +1 -1
  233. data/generated/google/apis/datacatalog_v1beta1/classes.rb +382 -573
  234. data/generated/google/apis/datacatalog_v1beta1/service.rb +319 -440
  235. data/generated/google/apis/dataflow_v1b3.rb +1 -1
  236. data/generated/google/apis/dataflow_v1b3/classes.rb +1015 -973
  237. data/generated/google/apis/dataflow_v1b3/representations.rb +115 -0
  238. data/generated/google/apis/dataflow_v1b3/service.rb +299 -257
  239. data/generated/google/apis/datafusion_v1.rb +5 -8
  240. data/generated/google/apis/datafusion_v1/classes.rb +268 -397
  241. data/generated/google/apis/datafusion_v1/representations.rb +3 -0
  242. data/generated/google/apis/datafusion_v1/service.rb +76 -89
  243. data/generated/google/apis/datafusion_v1beta1.rb +5 -8
  244. data/generated/google/apis/datafusion_v1beta1/classes.rb +268 -397
  245. data/generated/google/apis/datafusion_v1beta1/representations.rb +3 -0
  246. data/generated/google/apis/datafusion_v1beta1/service.rb +81 -95
  247. data/generated/google/apis/dataproc_v1.rb +1 -1
  248. data/generated/google/apis/dataproc_v1/classes.rb +37 -4
  249. data/generated/google/apis/dataproc_v1/representations.rb +16 -0
  250. data/generated/google/apis/dataproc_v1beta2.rb +1 -1
  251. data/generated/google/apis/dataproc_v1beta2/classes.rb +56 -0
  252. data/generated/google/apis/dataproc_v1beta2/representations.rb +31 -0
  253. data/generated/google/apis/datastore_v1.rb +1 -1
  254. data/generated/google/apis/datastore_v1/classes.rb +330 -472
  255. data/generated/google/apis/datastore_v1/service.rb +52 -63
  256. data/generated/google/apis/datastore_v1beta1.rb +1 -1
  257. data/generated/google/apis/datastore_v1beta1/classes.rb +150 -217
  258. data/generated/google/apis/datastore_v1beta1/service.rb +11 -12
  259. data/generated/google/apis/datastore_v1beta3.rb +1 -1
  260. data/generated/google/apis/datastore_v1beta3/classes.rb +255 -371
  261. data/generated/google/apis/datastore_v1beta3/service.rb +1 -2
  262. data/generated/google/apis/dfareporting_v3_3.rb +2 -2
  263. data/generated/google/apis/dfareporting_v3_3/classes.rb +326 -339
  264. data/generated/google/apis/dfareporting_v3_3/representations.rb +42 -0
  265. data/generated/google/apis/dfareporting_v3_3/service.rb +673 -1286
  266. data/generated/google/apis/dfareporting_v3_4.rb +2 -2
  267. data/generated/google/apis/dfareporting_v3_4/classes.rb +348 -350
  268. data/generated/google/apis/dfareporting_v3_4/representations.rb +43 -0
  269. data/generated/google/apis/dfareporting_v3_4/service.rb +708 -1285
  270. data/generated/google/apis/dialogflow_v2.rb +1 -1
  271. data/generated/google/apis/dialogflow_v2/classes.rb +84 -44
  272. data/generated/google/apis/dialogflow_v2/representations.rb +52 -15
  273. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  274. data/generated/google/apis/dialogflow_v2beta1/classes.rb +84 -44
  275. data/generated/google/apis/dialogflow_v2beta1/representations.rb +52 -15
  276. data/generated/google/apis/dialogflow_v2beta1/service.rb +37 -0
  277. data/generated/google/apis/{securitycenter_v1p1alpha1.rb → dialogflow_v3beta1.rb} +13 -10
  278. data/generated/google/apis/dialogflow_v3beta1/classes.rb +8183 -0
  279. data/generated/google/apis/dialogflow_v3beta1/representations.rb +3459 -0
  280. data/generated/google/apis/dialogflow_v3beta1/service.rb +2812 -0
  281. data/generated/google/apis/displayvideo_v1.rb +1 -1
  282. data/generated/google/apis/displayvideo_v1/classes.rb +55 -8
  283. data/generated/google/apis/displayvideo_v1/representations.rb +5 -0
  284. data/generated/google/apis/displayvideo_v1/service.rb +48 -36
  285. data/generated/google/apis/dlp_v2.rb +1 -1
  286. data/generated/google/apis/dlp_v2/classes.rb +1076 -1302
  287. data/generated/google/apis/dlp_v2/service.rb +962 -905
  288. data/generated/google/apis/dns_v1.rb +1 -1
  289. data/generated/google/apis/dns_v1/classes.rb +175 -198
  290. data/generated/google/apis/dns_v1/service.rb +82 -97
  291. data/generated/google/apis/dns_v1beta2.rb +1 -1
  292. data/generated/google/apis/dns_v1beta2/classes.rb +180 -205
  293. data/generated/google/apis/dns_v1beta2/service.rb +82 -97
  294. data/generated/google/apis/docs_v1.rb +1 -1
  295. data/generated/google/apis/docs_v1/classes.rb +894 -1229
  296. data/generated/google/apis/docs_v1/service.rb +17 -22
  297. data/generated/google/apis/documentai_v1beta2.rb +1 -1
  298. data/generated/google/apis/documentai_v1beta2/classes.rb +1186 -810
  299. data/generated/google/apis/documentai_v1beta2/representations.rb +303 -0
  300. data/generated/google/apis/documentai_v1beta2/service.rb +22 -24
  301. data/generated/google/apis/doubleclickbidmanager_v1.rb +3 -2
  302. data/generated/google/apis/doubleclickbidmanager_v1/classes.rb +6 -12
  303. data/generated/google/apis/doubleclickbidmanager_v1/service.rb +33 -64
  304. data/generated/google/apis/doubleclickbidmanager_v1_1.rb +3 -2
  305. data/generated/google/apis/doubleclickbidmanager_v1_1/classes.rb +11 -18
  306. data/generated/google/apis/doubleclickbidmanager_v1_1/service.rb +33 -64
  307. data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
  308. data/generated/google/apis/doubleclicksearch_v2/service.rb +2 -2
  309. data/generated/google/apis/drive_v2.rb +1 -1
  310. data/generated/google/apis/drive_v2/classes.rb +14 -6
  311. data/generated/google/apis/drive_v2/representations.rb +1 -0
  312. data/generated/google/apis/drive_v2/service.rb +79 -15
  313. data/generated/google/apis/drive_v3.rb +1 -1
  314. data/generated/google/apis/drive_v3/classes.rb +14 -6
  315. data/generated/google/apis/drive_v3/representations.rb +1 -0
  316. data/generated/google/apis/drive_v3/service.rb +59 -11
  317. data/generated/google/apis/file_v1.rb +1 -1
  318. data/generated/google/apis/file_v1/classes.rb +154 -173
  319. data/generated/google/apis/file_v1/service.rb +43 -52
  320. data/generated/google/apis/file_v1beta1.rb +1 -1
  321. data/generated/google/apis/file_v1beta1/classes.rb +334 -193
  322. data/generated/google/apis/file_v1beta1/representations.rb +55 -0
  323. data/generated/google/apis/file_v1beta1/service.rb +267 -55
  324. data/generated/google/apis/firebase_v1beta1.rb +1 -1
  325. data/generated/google/apis/firebase_v1beta1/classes.rb +25 -47
  326. data/generated/google/apis/firebase_v1beta1/representations.rb +2 -16
  327. data/generated/google/apis/firebase_v1beta1/service.rb +8 -1
  328. data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
  329. data/generated/google/apis/firebasehosting_v1beta1/classes.rb +26 -0
  330. data/generated/google/apis/firebasehosting_v1beta1/representations.rb +15 -0
  331. data/generated/google/apis/firebaseml_v1beta2.rb +1 -1
  332. data/generated/google/apis/firebaseml_v1beta2/classes.rb +0 -8
  333. data/generated/google/apis/firebaseml_v1beta2/representations.rb +0 -1
  334. data/generated/google/apis/firebaserules_v1.rb +1 -1
  335. data/generated/google/apis/firebaserules_v1/classes.rb +102 -137
  336. data/generated/google/apis/firebaserules_v1/service.rb +87 -110
  337. data/generated/google/apis/firestore_v1.rb +1 -1
  338. data/generated/google/apis/firestore_v1/classes.rb +402 -498
  339. data/generated/google/apis/firestore_v1/service.rb +165 -201
  340. data/generated/google/apis/firestore_v1beta1.rb +1 -1
  341. data/generated/google/apis/firestore_v1beta1/classes.rb +334 -409
  342. data/generated/google/apis/firestore_v1beta1/service.rb +106 -122
  343. data/generated/google/apis/firestore_v1beta2.rb +1 -1
  344. data/generated/google/apis/firestore_v1beta2/classes.rb +135 -165
  345. data/generated/google/apis/firestore_v1beta2/service.rb +65 -86
  346. data/generated/google/apis/fitness_v1.rb +85 -0
  347. data/generated/google/apis/fitness_v1/classes.rb +982 -0
  348. data/generated/google/apis/fitness_v1/representations.rb +398 -0
  349. data/generated/google/apis/fitness_v1/service.rb +626 -0
  350. data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
  351. data/generated/google/apis/games_configuration_v1configuration/classes.rb +2 -3
  352. data/generated/google/apis/games_configuration_v1configuration/service.rb +6 -6
  353. data/generated/google/apis/games_management_v1management.rb +2 -3
  354. data/generated/google/apis/games_management_v1management/classes.rb +14 -20
  355. data/generated/google/apis/games_management_v1management/service.rb +35 -36
  356. data/generated/google/apis/games_v1.rb +2 -3
  357. data/generated/google/apis/games_v1/classes.rb +76 -83
  358. data/generated/google/apis/games_v1/representations.rb +2 -0
  359. data/generated/google/apis/games_v1/service.rb +84 -90
  360. data/generated/google/apis/genomics_v1.rb +1 -1
  361. data/generated/google/apis/genomics_v1/classes.rb +70 -76
  362. data/generated/google/apis/genomics_v1/service.rb +28 -43
  363. data/generated/google/apis/genomics_v1alpha2.rb +1 -1
  364. data/generated/google/apis/genomics_v1alpha2/classes.rb +223 -290
  365. data/generated/google/apis/genomics_v1alpha2/service.rb +54 -76
  366. data/generated/google/apis/genomics_v2alpha1.rb +1 -1
  367. data/generated/google/apis/genomics_v2alpha1/classes.rb +252 -275
  368. data/generated/google/apis/genomics_v2alpha1/representations.rb +1 -0
  369. data/generated/google/apis/genomics_v2alpha1/service.rb +47 -66
  370. data/generated/google/apis/gmail_v1.rb +1 -1
  371. data/generated/google/apis/gmail_v1/classes.rb +37 -43
  372. data/generated/google/apis/gmail_v1/service.rb +4 -3
  373. data/generated/google/apis/gmailpostmastertools_v1beta1.rb +2 -2
  374. data/generated/google/apis/gmailpostmastertools_v1beta1/service.rb +1 -1
  375. data/generated/google/apis/groupsmigration_v1.rb +35 -0
  376. data/generated/google/apis/groupsmigration_v1/classes.rb +51 -0
  377. data/generated/google/apis/groupsmigration_v1/representations.rb +40 -0
  378. data/generated/google/apis/groupsmigration_v1/service.rb +100 -0
  379. data/generated/google/apis/healthcare_v1.rb +1 -1
  380. data/generated/google/apis/healthcare_v1/classes.rb +563 -826
  381. data/generated/google/apis/healthcare_v1/service.rb +675 -853
  382. data/generated/google/apis/healthcare_v1beta1.rb +1 -1
  383. data/generated/google/apis/healthcare_v1beta1/classes.rb +828 -1102
  384. data/generated/google/apis/healthcare_v1beta1/representations.rb +20 -0
  385. data/generated/google/apis/healthcare_v1beta1/service.rb +895 -1139
  386. data/generated/google/apis/homegraph_v1.rb +1 -1
  387. data/generated/google/apis/homegraph_v1/classes.rb +76 -164
  388. data/generated/google/apis/homegraph_v1/service.rb +23 -35
  389. data/generated/google/apis/iam_v1.rb +5 -2
  390. data/generated/google/apis/iam_v1/classes.rb +388 -592
  391. data/generated/google/apis/iam_v1/service.rb +429 -555
  392. data/generated/google/apis/iamcredentials_v1.rb +4 -2
  393. data/generated/google/apis/iamcredentials_v1/classes.rb +75 -85
  394. data/generated/google/apis/iamcredentials_v1/service.rb +15 -13
  395. data/generated/google/apis/iap_v1.rb +1 -1
  396. data/generated/google/apis/iap_v1/classes.rb +246 -355
  397. data/generated/google/apis/iap_v1/service.rb +61 -71
  398. data/generated/google/apis/iap_v1beta1.rb +1 -1
  399. data/generated/google/apis/iap_v1beta1/classes.rb +157 -254
  400. data/generated/google/apis/iap_v1beta1/service.rb +17 -19
  401. data/generated/google/apis/indexing_v3.rb +1 -1
  402. data/generated/google/apis/indexing_v3/classes.rb +11 -11
  403. data/generated/google/apis/kgsearch_v1.rb +1 -1
  404. data/generated/google/apis/kgsearch_v1/classes.rb +4 -4
  405. data/generated/google/apis/kgsearch_v1/service.rb +11 -11
  406. data/generated/google/apis/lifesciences_v2beta.rb +1 -1
  407. data/generated/google/apis/lifesciences_v2beta/classes.rb +262 -290
  408. data/generated/google/apis/lifesciences_v2beta/service.rb +30 -42
  409. data/generated/google/apis/localservices_v1.rb +31 -0
  410. data/generated/google/apis/localservices_v1/classes.rb +419 -0
  411. data/generated/google/apis/localservices_v1/representations.rb +172 -0
  412. data/generated/google/apis/localservices_v1/service.rb +199 -0
  413. data/generated/google/apis/logging_v2.rb +1 -1
  414. data/generated/google/apis/logging_v2/classes.rb +174 -214
  415. data/generated/google/apis/logging_v2/representations.rb +15 -0
  416. data/generated/google/apis/logging_v2/service.rb +1017 -584
  417. data/generated/google/apis/manufacturers_v1.rb +1 -1
  418. data/generated/google/apis/manufacturers_v1/classes.rb +99 -109
  419. data/generated/google/apis/manufacturers_v1/service.rb +44 -55
  420. data/generated/google/apis/memcache_v1beta2.rb +1 -1
  421. data/generated/google/apis/memcache_v1beta2/classes.rb +170 -249
  422. data/generated/google/apis/memcache_v1beta2/representations.rb +0 -19
  423. data/generated/google/apis/memcache_v1beta2/service.rb +58 -71
  424. data/generated/google/apis/ml_v1.rb +1 -1
  425. data/generated/google/apis/ml_v1/classes.rb +949 -1144
  426. data/generated/google/apis/ml_v1/representations.rb +64 -0
  427. data/generated/google/apis/ml_v1/service.rb +194 -253
  428. data/generated/google/apis/monitoring_v1.rb +1 -1
  429. data/generated/google/apis/monitoring_v1/classes.rb +103 -26
  430. data/generated/google/apis/monitoring_v1/representations.rb +35 -0
  431. data/generated/google/apis/monitoring_v1/service.rb +10 -11
  432. data/generated/google/apis/monitoring_v3.rb +1 -1
  433. data/generated/google/apis/monitoring_v3/classes.rb +220 -322
  434. data/generated/google/apis/monitoring_v3/service.rb +121 -140
  435. data/generated/google/apis/networkmanagement_v1.rb +1 -1
  436. data/generated/google/apis/networkmanagement_v1/classes.rb +273 -429
  437. data/generated/google/apis/networkmanagement_v1/service.rb +97 -120
  438. data/generated/google/apis/networkmanagement_v1beta1.rb +1 -1
  439. data/generated/google/apis/networkmanagement_v1beta1/classes.rb +388 -429
  440. data/generated/google/apis/networkmanagement_v1beta1/representations.rb +40 -0
  441. data/generated/google/apis/networkmanagement_v1beta1/service.rb +97 -120
  442. data/generated/google/apis/osconfig_v1.rb +1 -1
  443. data/generated/google/apis/osconfig_v1/classes.rb +226 -270
  444. data/generated/google/apis/osconfig_v1/service.rb +22 -27
  445. data/generated/google/apis/osconfig_v1beta.rb +1 -1
  446. data/generated/google/apis/osconfig_v1beta/classes.rb +1031 -411
  447. data/generated/google/apis/osconfig_v1beta/representations.rb +337 -0
  448. data/generated/google/apis/osconfig_v1beta/service.rb +39 -52
  449. data/generated/google/apis/oslogin_v1.rb +1 -1
  450. data/generated/google/apis/oslogin_v1/classes.rb +14 -12
  451. data/generated/google/apis/oslogin_v1/representations.rb +1 -0
  452. data/generated/google/apis/oslogin_v1/service.rb +12 -16
  453. data/generated/google/apis/oslogin_v1alpha.rb +1 -1
  454. data/generated/google/apis/oslogin_v1alpha/classes.rb +14 -12
  455. data/generated/google/apis/oslogin_v1alpha/representations.rb +1 -0
  456. data/generated/google/apis/oslogin_v1alpha/service.rb +14 -14
  457. data/generated/google/apis/oslogin_v1beta.rb +1 -1
  458. data/generated/google/apis/oslogin_v1beta/classes.rb +14 -12
  459. data/generated/google/apis/oslogin_v1beta/representations.rb +1 -0
  460. data/generated/google/apis/oslogin_v1beta/service.rb +12 -16
  461. data/generated/google/apis/pagespeedonline_v5.rb +2 -2
  462. data/generated/google/apis/pagespeedonline_v5/classes.rb +18 -24
  463. data/generated/google/apis/pagespeedonline_v5/service.rb +3 -4
  464. data/generated/google/apis/people_v1.rb +1 -1
  465. data/generated/google/apis/people_v1/classes.rb +121 -12
  466. data/generated/google/apis/people_v1/representations.rb +41 -0
  467. data/generated/google/apis/people_v1/service.rb +39 -39
  468. data/generated/google/apis/playablelocations_v3.rb +1 -1
  469. data/generated/google/apis/playablelocations_v3/classes.rb +108 -155
  470. data/generated/google/apis/playablelocations_v3/service.rb +10 -10
  471. data/generated/google/apis/prod_tt_sasportal_v1alpha1.rb +1 -1
  472. data/generated/google/apis/prod_tt_sasportal_v1alpha1/classes.rb +6 -0
  473. data/generated/google/apis/prod_tt_sasportal_v1alpha1/representations.rb +1 -0
  474. data/generated/google/apis/pubsub_v1.rb +1 -1
  475. data/generated/google/apis/pubsub_v1/classes.rb +392 -518
  476. data/generated/google/apis/pubsub_v1/representations.rb +1 -0
  477. data/generated/google/apis/pubsub_v1/service.rb +220 -246
  478. data/generated/google/apis/pubsub_v1beta1a.rb +1 -1
  479. data/generated/google/apis/pubsub_v1beta1a/classes.rb +71 -86
  480. data/generated/google/apis/pubsub_v1beta1a/service.rb +31 -38
  481. data/generated/google/apis/pubsub_v1beta2.rb +1 -1
  482. data/generated/google/apis/pubsub_v1beta2/classes.rb +244 -354
  483. data/generated/google/apis/pubsub_v1beta2/service.rb +96 -108
  484. data/generated/google/apis/{memcache_v1.rb → pubsublite_v1.rb} +8 -9
  485. data/generated/google/apis/pubsublite_v1/classes.rb +389 -0
  486. data/generated/google/apis/{accessapproval_v1beta1 → pubsublite_v1}/representations.rb +78 -53
  487. data/generated/google/apis/{memcache_v1 → pubsublite_v1}/service.rb +195 -228
  488. data/generated/google/apis/realtimebidding_v1.rb +1 -1
  489. data/generated/google/apis/recommendationengine_v1beta1.rb +1 -1
  490. data/generated/google/apis/recommendationengine_v1beta1/classes.rb +335 -456
  491. data/generated/google/apis/recommendationengine_v1beta1/representations.rb +0 -16
  492. data/generated/google/apis/recommendationengine_v1beta1/service.rb +140 -206
  493. data/generated/google/apis/redis_v1.rb +1 -1
  494. data/generated/google/apis/redis_v1/classes.rb +172 -208
  495. data/generated/google/apis/redis_v1/service.rb +93 -110
  496. data/generated/google/apis/redis_v1beta1.rb +1 -1
  497. data/generated/google/apis/redis_v1beta1/classes.rb +176 -212
  498. data/generated/google/apis/redis_v1beta1/service.rb +93 -110
  499. data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
  500. data/generated/google/apis/remotebuildexecution_v1/classes.rb +951 -1078
  501. data/generated/google/apis/remotebuildexecution_v1/representations.rb +61 -0
  502. data/generated/google/apis/remotebuildexecution_v1/service.rb +26 -33
  503. data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
  504. data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +946 -1071
  505. data/generated/google/apis/remotebuildexecution_v1alpha/representations.rb +61 -0
  506. data/generated/google/apis/remotebuildexecution_v1alpha/service.rb +103 -65
  507. data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
  508. data/generated/google/apis/remotebuildexecution_v2/classes.rb +1099 -1250
  509. data/generated/google/apis/remotebuildexecution_v2/representations.rb +61 -0
  510. data/generated/google/apis/remotebuildexecution_v2/service.rb +147 -206
  511. data/generated/google/apis/run_v1.rb +1 -1
  512. data/generated/google/apis/run_v1/classes.rb +4 -3
  513. data/generated/google/apis/run_v1/representations.rb +1 -1
  514. data/generated/google/apis/run_v1alpha1.rb +1 -1
  515. data/generated/google/apis/run_v1alpha1/classes.rb +1 -1
  516. data/generated/google/apis/run_v1alpha1/representations.rb +1 -1
  517. data/generated/google/apis/run_v1beta1.rb +1 -1
  518. data/generated/google/apis/run_v1beta1/classes.rb +3 -2
  519. data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
  520. data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +295 -412
  521. data/generated/google/apis/runtimeconfig_v1beta1/service.rb +135 -159
  522. data/generated/google/apis/safebrowsing_v4.rb +1 -1
  523. data/generated/google/apis/safebrowsing_v4/classes.rb +55 -64
  524. data/generated/google/apis/safebrowsing_v4/service.rb +4 -4
  525. data/generated/google/apis/sasportal_v1alpha1.rb +1 -1
  526. data/generated/google/apis/sasportal_v1alpha1/classes.rb +6 -0
  527. data/generated/google/apis/sasportal_v1alpha1/representations.rb +1 -0
  528. data/generated/google/apis/script_v1.rb +1 -1
  529. data/generated/google/apis/script_v1/classes.rb +88 -111
  530. data/generated/google/apis/script_v1/service.rb +63 -69
  531. data/generated/google/apis/secretmanager_v1.rb +1 -1
  532. data/generated/google/apis/secretmanager_v1/classes.rb +211 -363
  533. data/generated/google/apis/secretmanager_v1/service.rb +66 -82
  534. data/generated/google/apis/secretmanager_v1beta1.rb +1 -1
  535. data/generated/google/apis/secretmanager_v1beta1/classes.rb +211 -363
  536. data/generated/google/apis/secretmanager_v1beta1/service.rb +66 -82
  537. data/generated/google/apis/securitycenter_v1.rb +1 -1
  538. data/generated/google/apis/securitycenter_v1/classes.rb +16 -6
  539. data/generated/google/apis/securitycenter_v1/representations.rb +1 -0
  540. data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
  541. data/generated/google/apis/securitycenter_v1beta1/classes.rb +21 -9
  542. data/generated/google/apis/securitycenter_v1beta1/representations.rb +1 -0
  543. data/generated/google/apis/{securitycenter_v1p1beta1.rb → securitycenter_v1beta2.rb} +6 -6
  544. data/generated/google/apis/{securitycenter_v1p1alpha1 → securitycenter_v1beta2}/classes.rb +281 -103
  545. data/generated/google/apis/{securitycenter_v1p1alpha1 → securitycenter_v1beta2}/representations.rb +101 -30
  546. data/generated/google/apis/securitycenter_v1beta2/service.rb +1494 -0
  547. data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
  548. data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +18 -48
  549. data/generated/google/apis/serviceconsumermanagement_v1beta1.rb +1 -1
  550. data/generated/google/apis/serviceconsumermanagement_v1beta1/classes.rb +19 -49
  551. data/generated/google/apis/servicecontrol_v1.rb +1 -1
  552. data/generated/google/apis/servicecontrol_v1/classes.rb +523 -641
  553. data/generated/google/apis/servicecontrol_v1/service.rb +36 -46
  554. data/generated/google/apis/servicecontrol_v2.rb +1 -1
  555. data/generated/google/apis/servicecontrol_v2/classes.rb +279 -325
  556. data/generated/google/apis/servicecontrol_v2/service.rb +33 -43
  557. data/generated/google/apis/servicedirectory_v1beta1.rb +1 -1
  558. data/generated/google/apis/servicedirectory_v1beta1/classes.rb +214 -333
  559. data/generated/google/apis/servicedirectory_v1beta1/service.rb +94 -129
  560. data/generated/google/apis/servicemanagement_v1.rb +1 -1
  561. data/generated/google/apis/servicemanagement_v1/classes.rb +1266 -2116
  562. data/generated/google/apis/servicemanagement_v1/service.rb +144 -195
  563. data/generated/google/apis/servicenetworking_v1.rb +1 -1
  564. data/generated/google/apis/servicenetworking_v1/classes.rb +93 -48
  565. data/generated/google/apis/servicenetworking_v1/representations.rb +52 -0
  566. data/generated/google/apis/servicenetworking_v1/service.rb +116 -0
  567. data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
  568. data/generated/google/apis/servicenetworking_v1beta/classes.rb +74 -48
  569. data/generated/google/apis/servicenetworking_v1beta/representations.rb +38 -0
  570. data/generated/google/apis/serviceusage_v1.rb +1 -1
  571. data/generated/google/apis/serviceusage_v1/classes.rb +52 -48
  572. data/generated/google/apis/serviceusage_v1/representations.rb +4 -0
  573. data/generated/google/apis/serviceusage_v1/service.rb +5 -1
  574. data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
  575. data/generated/google/apis/serviceusage_v1beta1/classes.rb +87 -49
  576. data/generated/google/apis/serviceusage_v1beta1/representations.rb +8 -0
  577. data/generated/google/apis/sheets_v4.rb +1 -1
  578. data/generated/google/apis/sheets_v4/classes.rb +3932 -5007
  579. data/generated/google/apis/sheets_v4/representations.rb +625 -0
  580. data/generated/google/apis/sheets_v4/service.rb +113 -149
  581. data/generated/google/apis/site_verification_v1.rb +1 -1
  582. data/generated/google/apis/slides_v1.rb +1 -1
  583. data/generated/google/apis/slides_v1/classes.rb +841 -1114
  584. data/generated/google/apis/slides_v1/service.rb +23 -30
  585. data/generated/google/apis/sourcerepo_v1.rb +1 -1
  586. data/generated/google/apis/sourcerepo_v1/classes.rb +6 -6
  587. data/generated/google/apis/spanner_v1.rb +1 -1
  588. data/generated/google/apis/spanner_v1/classes.rb +1546 -2157
  589. data/generated/google/apis/spanner_v1/service.rb +443 -618
  590. data/generated/google/apis/speech_v1.rb +1 -1
  591. data/generated/google/apis/speech_v1/classes.rb +174 -220
  592. data/generated/google/apis/speech_v1/service.rb +27 -32
  593. data/generated/google/apis/speech_v1p1beta1.rb +1 -1
  594. data/generated/google/apis/speech_v1p1beta1/classes.rb +253 -306
  595. data/generated/google/apis/speech_v1p1beta1/service.rb +27 -32
  596. data/generated/google/apis/speech_v2beta1.rb +1 -1
  597. data/generated/google/apis/speech_v2beta1/classes.rb +66 -76
  598. data/generated/google/apis/speech_v2beta1/service.rb +10 -12
  599. data/generated/google/apis/sql_v1beta4.rb +1 -1
  600. data/generated/google/apis/sql_v1beta4/classes.rb +311 -370
  601. data/generated/google/apis/sql_v1beta4/representations.rb +2 -0
  602. data/generated/google/apis/sql_v1beta4/service.rb +51 -56
  603. data/generated/google/apis/storage_v1.rb +1 -1
  604. data/generated/google/apis/storage_v1/classes.rb +8 -7
  605. data/generated/google/apis/storage_v1/representations.rb +2 -2
  606. data/generated/google/apis/storagetransfer_v1.rb +1 -1
  607. data/generated/google/apis/storagetransfer_v1/classes.rb +261 -339
  608. data/generated/google/apis/storagetransfer_v1/service.rb +43 -64
  609. data/generated/google/apis/streetviewpublish_v1.rb +1 -1
  610. data/generated/google/apis/streetviewpublish_v1/classes.rb +106 -148
  611. data/generated/google/apis/streetviewpublish_v1/service.rb +94 -177
  612. data/generated/google/apis/tagmanager_v1.rb +1 -1
  613. data/generated/google/apis/tagmanager_v1/service.rb +2 -2
  614. data/generated/google/apis/tagmanager_v2.rb +1 -1
  615. data/generated/google/apis/tagmanager_v2/service.rb +2 -2
  616. data/generated/google/apis/tasks_v1.rb +1 -1
  617. data/generated/google/apis/tasks_v1/classes.rb +20 -21
  618. data/generated/google/apis/tasks_v1/service.rb +16 -17
  619. data/generated/google/apis/testing_v1.rb +1 -1
  620. data/generated/google/apis/testing_v1/classes.rb +317 -382
  621. data/generated/google/apis/testing_v1/representations.rb +2 -0
  622. data/generated/google/apis/testing_v1/service.rb +22 -28
  623. data/generated/google/apis/texttospeech_v1.rb +1 -1
  624. data/generated/google/apis/texttospeech_v1/classes.rb +51 -57
  625. data/generated/google/apis/texttospeech_v1/service.rb +9 -10
  626. data/generated/google/apis/texttospeech_v1beta1.rb +1 -1
  627. data/generated/google/apis/texttospeech_v1beta1/classes.rb +96 -57
  628. data/generated/google/apis/texttospeech_v1beta1/representations.rb +19 -0
  629. data/generated/google/apis/texttospeech_v1beta1/service.rb +9 -10
  630. data/generated/google/apis/toolresults_v1beta3.rb +1 -1
  631. data/generated/google/apis/toolresults_v1beta3/classes.rb +7 -0
  632. data/generated/google/apis/toolresults_v1beta3/representations.rb +1 -0
  633. data/generated/google/apis/tpu_v1.rb +1 -1
  634. data/generated/google/apis/tpu_v1/classes.rb +11 -0
  635. data/generated/google/apis/tpu_v1/representations.rb +1 -0
  636. data/generated/google/apis/tpu_v1alpha1.rb +1 -1
  637. data/generated/google/apis/tpu_v1alpha1/classes.rb +11 -0
  638. data/generated/google/apis/tpu_v1alpha1/representations.rb +1 -0
  639. data/generated/google/apis/{accessapproval_v1beta1.rb → trafficdirector_v2.rb} +9 -9
  640. data/generated/google/apis/trafficdirector_v2/classes.rb +1347 -0
  641. data/generated/google/apis/trafficdirector_v2/representations.rb +620 -0
  642. data/generated/google/apis/trafficdirector_v2/service.rb +89 -0
  643. data/generated/google/apis/translate_v3.rb +1 -1
  644. data/generated/google/apis/translate_v3/classes.rb +148 -175
  645. data/generated/google/apis/translate_v3/service.rb +122 -151
  646. data/generated/google/apis/translate_v3beta1.rb +1 -1
  647. data/generated/google/apis/translate_v3beta1/classes.rb +149 -170
  648. data/generated/google/apis/translate_v3beta1/service.rb +122 -151
  649. data/generated/google/apis/vectortile_v1.rb +1 -1
  650. data/generated/google/apis/vectortile_v1/classes.rb +185 -267
  651. data/generated/google/apis/vectortile_v1/service.rb +75 -88
  652. data/generated/google/apis/videointelligence_v1.rb +1 -1
  653. data/generated/google/apis/videointelligence_v1/classes.rb +753 -918
  654. data/generated/google/apis/videointelligence_v1/service.rb +40 -48
  655. data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
  656. data/generated/google/apis/videointelligence_v1beta2/classes.rb +748 -911
  657. data/generated/google/apis/videointelligence_v1beta2/service.rb +4 -4
  658. data/generated/google/apis/videointelligence_v1p1beta1.rb +1 -1
  659. data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +748 -911
  660. data/generated/google/apis/videointelligence_v1p1beta1/service.rb +4 -4
  661. data/generated/google/apis/videointelligence_v1p2beta1.rb +1 -1
  662. data/generated/google/apis/videointelligence_v1p2beta1/classes.rb +748 -911
  663. data/generated/google/apis/videointelligence_v1p2beta1/service.rb +4 -4
  664. data/generated/google/apis/videointelligence_v1p3beta1.rb +1 -1
  665. data/generated/google/apis/videointelligence_v1p3beta1/classes.rb +754 -920
  666. data/generated/google/apis/videointelligence_v1p3beta1/service.rb +4 -4
  667. data/generated/google/apis/webfonts_v1.rb +2 -3
  668. data/generated/google/apis/webfonts_v1/classes.rb +1 -2
  669. data/generated/google/apis/webfonts_v1/service.rb +2 -4
  670. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  671. data/generated/google/apis/youtube_v3.rb +1 -1
  672. data/generated/google/apis/youtube_v3/classes.rb +347 -0
  673. data/generated/google/apis/youtube_v3/representations.rb +176 -0
  674. data/generated/google/apis/youtube_v3/service.rb +78 -0
  675. data/lib/google/apis/version.rb +1 -1
  676. metadata +31 -31
  677. data/generated/google/apis/accessapproval_v1beta1/classes.rb +0 -417
  678. data/generated/google/apis/accessapproval_v1beta1/service.rb +0 -857
  679. data/generated/google/apis/dns_v2beta1.rb +0 -43
  680. data/generated/google/apis/dns_v2beta1/classes.rb +0 -1447
  681. data/generated/google/apis/dns_v2beta1/representations.rb +0 -588
  682. data/generated/google/apis/dns_v2beta1/service.rb +0 -928
  683. data/generated/google/apis/memcache_v1/classes.rb +0 -1157
  684. data/generated/google/apis/memcache_v1/representations.rb +0 -471
  685. data/generated/google/apis/oauth2_v2.rb +0 -40
  686. data/generated/google/apis/oauth2_v2/classes.rb +0 -165
  687. data/generated/google/apis/oauth2_v2/representations.rb +0 -68
  688. data/generated/google/apis/oauth2_v2/service.rb +0 -158
  689. data/generated/google/apis/securitycenter_v1p1alpha1/service.rb +0 -207
  690. data/generated/google/apis/securitycenter_v1p1beta1/classes.rb +0 -2059
  691. data/generated/google/apis/securitycenter_v1p1beta1/representations.rb +0 -789
  692. data/generated/google/apis/securitycenter_v1p1beta1/service.rb +0 -1243
  693. data/generated/google/apis/storage_v1beta2.rb +0 -40
  694. data/generated/google/apis/storage_v1beta2/classes.rb +0 -1047
  695. data/generated/google/apis/storage_v1beta2/representations.rb +0 -425
  696. data/generated/google/apis/storage_v1beta2/service.rb +0 -1667
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://cloud.google.com/dataflow
26
26
  module DataflowV1b3
27
27
  VERSION = 'V1b3'
28
- REVISION = '20200713'
28
+ REVISION = '20200805'
29
29
 
30
30
  # View and manage your data across Google Cloud Platform services
31
31
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
@@ -31,9 +31,9 @@ module Google
31
31
  # @return [Float]
32
32
  attr_accessor :percent_complete
33
33
 
34
- # Position defines a position within a collection of data. The value
35
- # can be either the end position, a key (used with ordered
36
- # collections), a byte offset, or a record index.
34
+ # Position defines a position within a collection of data. The value can be
35
+ # either the end position, a key (used with ordered collections), a byte offset,
36
+ # or a record index.
37
37
  # Corresponds to the JSON property `position`
38
38
  # @return [Google::Apis::DataflowV1b3::Position]
39
39
  attr_accessor :position
@@ -59,8 +59,8 @@ module Google
59
59
  class ApproximateReportedProgress
60
60
  include Google::Apis::Core::Hashable
61
61
 
62
- # Represents the level of parallelism in a WorkItem's input,
63
- # reported by the worker.
62
+ # Represents the level of parallelism in a WorkItem's input, reported by the
63
+ # worker.
64
64
  # Corresponds to the JSON property `consumedParallelism`
65
65
  # @return [Google::Apis::DataflowV1b3::ReportedParallelism]
66
66
  attr_accessor :consumed_parallelism
@@ -71,15 +71,15 @@ module Google
71
71
  # @return [Float]
72
72
  attr_accessor :fraction_consumed
73
73
 
74
- # Position defines a position within a collection of data. The value
75
- # can be either the end position, a key (used with ordered
76
- # collections), a byte offset, or a record index.
74
+ # Position defines a position within a collection of data. The value can be
75
+ # either the end position, a key (used with ordered collections), a byte offset,
76
+ # or a record index.
77
77
  # Corresponds to the JSON property `position`
78
78
  # @return [Google::Apis::DataflowV1b3::Position]
79
79
  attr_accessor :position
80
80
 
81
- # Represents the level of parallelism in a WorkItem's input,
82
- # reported by the worker.
81
+ # Represents the level of parallelism in a WorkItem's input, reported by the
82
+ # worker.
83
83
  # Corresponds to the JSON property `remainingParallelism`
84
84
  # @return [Google::Apis::DataflowV1b3::ReportedParallelism]
85
85
  attr_accessor :remaining_parallelism
@@ -101,21 +101,21 @@ module Google
101
101
  class ApproximateSplitRequest
102
102
  include Google::Apis::Core::Hashable
103
103
 
104
- # A fraction at which to split the work item, from 0.0 (beginning of the
105
- # input) to 1.0 (end of the input).
104
+ # A fraction at which to split the work item, from 0.0 (beginning of the input)
105
+ # to 1.0 (end of the input).
106
106
  # Corresponds to the JSON property `fractionConsumed`
107
107
  # @return [Float]
108
108
  attr_accessor :fraction_consumed
109
109
 
110
- # The fraction of the remainder of work to split the work item at, from 0.0
111
- # (split at the current position) to 1.0 (end of the input).
110
+ # The fraction of the remainder of work to split the work item at, from 0.0 (
111
+ # split at the current position) to 1.0 (end of the input).
112
112
  # Corresponds to the JSON property `fractionOfRemainder`
113
113
  # @return [Float]
114
114
  attr_accessor :fraction_of_remainder
115
115
 
116
- # Position defines a position within a collection of data. The value
117
- # can be either the end position, a key (used with ordered
118
- # collections), a byte offset, or a record index.
116
+ # Position defines a position within a collection of data. The value can be
117
+ # either the end position, a key (used with ordered collections), a byte offset,
118
+ # or a record index.
119
119
  # Corresponds to the JSON property `position`
120
120
  # @return [Google::Apis::DataflowV1b3::Position]
121
121
  attr_accessor :position
@@ -196,8 +196,8 @@ module Google
196
196
  # @return [String]
197
197
  attr_accessor :time
198
198
 
199
- # A short and friendly name for the worker pool this event refers to,
200
- # populated from the value of PoolStageRelation::user_pool_name.
199
+ # A short and friendly name for the worker pool this event refers to, populated
200
+ # from the value of PoolStageRelation::user_pool_name.
201
201
  # Corresponds to the JSON property `workerPool`
202
202
  # @return [String]
203
203
  attr_accessor :worker_pool
@@ -314,8 +314,7 @@ module Google
314
314
  class CpuTime
315
315
  include Google::Apis::Core::Hashable
316
316
 
317
- # Average CPU utilization rate (% non-idle cpu / second) since previous
318
- # sample.
317
+ # Average CPU utilization rate (% non-idle cpu / second) since previous sample.
319
318
  # Corresponds to the JSON property `rate`
320
319
  # @return [Float]
321
320
  attr_accessor :rate
@@ -325,8 +324,8 @@ module Google
325
324
  # @return [String]
326
325
  attr_accessor :timestamp
327
326
 
328
- # Total active CPU time across all cores (ie., non-idle) in milliseconds
329
- # since start-up.
327
+ # Total active CPU time across all cores (ie., non-idle) in milliseconds since
328
+ # start-up.
330
329
  # Corresponds to the JSON property `totalMs`
331
330
  # @return [Fixnum]
332
331
  attr_accessor :total_ms
@@ -347,15 +346,14 @@ module Google
347
346
  class CommitTemplateVersionRequest
348
347
  include Google::Apis::Core::Hashable
349
348
 
350
- # /////////////////////////////////////////////////////////////////////////////
351
- # //// Template Catalog is used to organize user TemplateVersions.
352
- # //// TemplateVersions that have the same project_id and display_name are
353
- # //// belong to the same Template.
354
- # //// Templates with the same project_id belong to the same Project.
355
- # //// TemplateVersion may have labels and multiple labels are allowed.
356
- # //// Duplicated labels in the same `TemplateVersion` are not allowed.
357
- # //// TemplateVersion may have tags and multiple tags are allowed. Duplicated
358
- # //// tags in the same `Template` are not allowed!
349
+ # ///////////////////////////////////////////////////////////////////////////// /
350
+ # /// Template Catalog is used to organize user TemplateVersions. ////
351
+ # TemplateVersions that have the same project_id and display_name are ////
352
+ # belong to the same Template. //// Templates with the same project_id belong to
353
+ # the same Project. //// TemplateVersion may have labels and multiple labels are
354
+ # allowed. //// Duplicated labels in the same `TemplateVersion` are not allowed.
355
+ # //// TemplateVersion may have tags and multiple tags are allowed. Duplicated //
356
+ # // tags in the same `Template` are not allowed!
359
357
  # Corresponds to the JSON property `templateVersion`
360
358
  # @return [Google::Apis::DataflowV1b3::TemplateVersion]
361
359
  attr_accessor :template_version
@@ -370,8 +368,7 @@ module Google
370
368
  end
371
369
  end
372
370
 
373
- # Description of an interstitial value between transforms in an execution
374
- # stage.
371
+ # Description of an interstitial value between transforms in an execution stage.
375
372
  class ComponentSource
376
373
  include Google::Apis::Core::Hashable
377
374
 
@@ -380,8 +377,8 @@ module Google
380
377
  # @return [String]
381
378
  attr_accessor :name
382
379
 
383
- # User name for the original user transform or collection with which this
384
- # source is most closely associated.
380
+ # User name for the original user transform or collection with which this source
381
+ # is most closely associated.
385
382
  # Corresponds to the JSON property `originalTransformOrCollection`
386
383
  # @return [String]
387
384
  attr_accessor :original_transform_or_collection
@@ -412,8 +409,8 @@ module Google
412
409
  # @return [String]
413
410
  attr_accessor :name
414
411
 
415
- # User name for the original user transform with which this transform is
416
- # most closely associated.
412
+ # User name for the original user transform with which this transform is most
413
+ # closely associated.
417
414
  # Corresponds to the JSON property `originalTransform`
418
415
  # @return [String]
419
416
  attr_accessor :original_transform
@@ -495,9 +492,9 @@ module Google
495
492
  # @return [Fixnum]
496
493
  attr_accessor :index
497
494
 
498
- # Position defines a position within a collection of data. The value
499
- # can be either the end position, a key (used with ordered
500
- # collections), a byte offset, or a record index.
495
+ # Position defines a position within a collection of data. The value can be
496
+ # either the end position, a key (used with ordered collections), a byte offset,
497
+ # or a record index.
501
498
  # Corresponds to the JSON property `position`
502
499
  # @return [Google::Apis::DataflowV1b3::Position]
503
500
  attr_accessor :position
@@ -596,19 +593,17 @@ module Google
596
593
  # @return [String]
597
594
  attr_accessor :execution_step_name
598
595
 
599
- # Index of an input collection that's being read from/written to as a side
600
- # input.
601
- # The index identifies a step's side inputs starting by 1 (e.g. the first
602
- # side input has input_index 1, the third has input_index 3).
603
- # Side inputs are identified by a pair of (original_step_name, input_index).
604
- # This field helps uniquely identify them.
596
+ # Index of an input collection that's being read from/written to as a side input.
597
+ # The index identifies a step's side inputs starting by 1 (e.g. the first side
598
+ # input has input_index 1, the third has input_index 3). Side inputs are
599
+ # identified by a pair of (original_step_name, input_index). This field helps
600
+ # uniquely identify them.
605
601
  # Corresponds to the JSON property `inputIndex`
606
602
  # @return [Fixnum]
607
603
  attr_accessor :input_index
608
604
 
609
- # Counter name. Not necessarily globally-unique, but unique within the
610
- # context of the other fields.
611
- # Required.
605
+ # Counter name. Not necessarily globally-unique, but unique within the context
606
+ # of the other fields. Required.
612
607
  # Corresponds to the JSON property `name`
613
608
  # @return [String]
614
609
  attr_accessor :name
@@ -623,9 +618,8 @@ module Google
623
618
  # @return [String]
624
619
  attr_accessor :origin_namespace
625
620
 
626
- # The step name requesting an operation, such as GBK.
627
- # I.e. the ParDo causing a read/write from shuffle to occur, or a
628
- # read from side inputs.
621
+ # The step name requesting an operation, such as GBK. I.e. the ParDo causing a
622
+ # read/write from shuffle to occur, or a read from side inputs.
629
623
  # Corresponds to the JSON property `originalRequestingStepName`
630
624
  # @return [String]
631
625
  attr_accessor :original_requesting_step_name
@@ -702,10 +696,9 @@ module Google
702
696
  attr_accessor :boolean
703
697
  alias_method :boolean?, :boolean
704
698
 
705
- # True if this counter is reported as the total cumulative aggregate
706
- # value accumulated since the worker started working on this WorkItem.
707
- # By default this is false, indicating that this counter is reported
708
- # as a delta.
699
+ # True if this counter is reported as the total cumulative aggregate value
700
+ # accumulated since the worker started working on this WorkItem. By default this
701
+ # is false, indicating that this counter is reported as a delta.
709
702
  # Corresponds to the JSON property `cumulative`
710
703
  # @return [Boolean]
711
704
  attr_accessor :cumulative
@@ -731,8 +724,8 @@ module Google
731
724
  # @return [Google::Apis::DataflowV1b3::FloatingPointMean]
732
725
  attr_accessor :floating_point_mean
733
726
 
734
- # A representation of an int64, n, that is immune to precision loss when
735
- # encoded in JSON.
727
+ # A representation of an int64, n, that is immune to precision loss when encoded
728
+ # in JSON.
736
729
  # Corresponds to the JSON property `integer`
737
730
  # @return [Google::Apis::DataflowV1b3::SplitInt64]
738
731
  attr_accessor :integer
@@ -762,9 +755,8 @@ module Google
762
755
  # @return [Google::Apis::DataflowV1b3::NameAndKind]
763
756
  attr_accessor :name_and_kind
764
757
 
765
- # The service-generated short identifier for this counter.
766
- # The short_id -> (name, metadata) mapping is constant for the lifetime of
767
- # a job.
758
+ # The service-generated short identifier for this counter. The short_id -> (name,
759
+ # metadata) mapping is constant for the lifetime of a job.
768
760
  # Corresponds to the JSON property `shortId`
769
761
  # @return [Fixnum]
770
762
  attr_accessor :short_id
@@ -813,8 +805,7 @@ module Google
813
805
  # @return [Google::Apis::DataflowV1b3::RuntimeEnvironment]
814
806
  attr_accessor :environment
815
807
 
816
- # Required. A Cloud Storage path to the template from which to
817
- # create the job.
808
+ # Required. A Cloud Storage path to the template from which to create the job.
818
809
  # Must be a valid Cloud Storage URL, beginning with `gs://`.
819
810
  # Corresponds to the JSON property `gcsPath`
820
811
  # @return [String]
@@ -825,9 +816,8 @@ module Google
825
816
  # @return [String]
826
817
  attr_accessor :job_name
827
818
 
828
- # The [regional endpoint]
829
- # (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) to
830
- # which to direct the request.
819
+ # The [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/
820
+ # regional-endpoints) to which to direct the request.
831
821
  # Corresponds to the JSON property `location`
832
822
  # @return [String]
833
823
  attr_accessor :location
@@ -855,15 +845,14 @@ module Google
855
845
  class CreateTemplateVersionRequest
856
846
  include Google::Apis::Core::Hashable
857
847
 
858
- # /////////////////////////////////////////////////////////////////////////////
859
- # //// Template Catalog is used to organize user TemplateVersions.
860
- # //// TemplateVersions that have the same project_id and display_name are
861
- # //// belong to the same Template.
862
- # //// Templates with the same project_id belong to the same Project.
863
- # //// TemplateVersion may have labels and multiple labels are allowed.
864
- # //// Duplicated labels in the same `TemplateVersion` are not allowed.
865
- # //// TemplateVersion may have tags and multiple tags are allowed. Duplicated
866
- # //// tags in the same `Template` are not allowed!
848
+ # ///////////////////////////////////////////////////////////////////////////// /
849
+ # /// Template Catalog is used to organize user TemplateVersions. ////
850
+ # TemplateVersions that have the same project_id and display_name are ////
851
+ # belong to the same Template. //// Templates with the same project_id belong to
852
+ # the same Project. //// TemplateVersion may have labels and multiple labels are
853
+ # allowed. //// Duplicated labels in the same `TemplateVersion` are not allowed.
854
+ # //// TemplateVersion may have tags and multiple tags are allowed. Duplicated //
855
+ # // tags in the same `Template` are not allowed!
867
856
  # Corresponds to the JSON property `templateVersion`
868
857
  # @return [Google::Apis::DataflowV1b3::TemplateVersion]
869
858
  attr_accessor :template_version
@@ -902,16 +891,16 @@ module Google
902
891
  class DataDiskAssignment
903
892
  include Google::Apis::Core::Hashable
904
893
 
905
- # Mounted data disks. The order is important a data disk's 0-based index in
906
- # this list defines which persistent directory the disk is mounted to, for
907
- # example the list of ` "myproject-1014-104817-4c2-harness-0-disk-0" `,
908
- # ` "myproject-1014-104817-4c2-harness-0-disk-1" `.
894
+ # Mounted data disks. The order is important a data disk's 0-based index in this
895
+ # list defines which persistent directory the disk is mounted to, for example
896
+ # the list of ` "myproject-1014-104817-4c2-harness-0-disk-0" `, ` "myproject-
897
+ # 1014-104817-4c2-harness-0-disk-1" `.
909
898
  # Corresponds to the JSON property `dataDisks`
910
899
  # @return [Array<String>]
911
900
  attr_accessor :data_disks
912
901
 
913
- # VM instance name the data disks mounted to, for example
914
- # "myproject-1014-104817-4c2-harness-0".
902
+ # VM instance name the data disks mounted to, for example "myproject-1014-104817-
903
+ # 4c2-harness-0".
915
904
  # Corresponds to the JSON property `vmInstance`
916
905
  # @return [String]
917
906
  attr_accessor :vm_instance
@@ -965,10 +954,9 @@ module Google
965
954
  end
966
955
  end
967
956
 
968
- # Specification of one of the bundles produced as a result of splitting
969
- # a Source (e.g. when executing a SourceSplitRequest, or when
970
- # splitting an active task using WorkItemStatus.dynamic_source_split),
971
- # relative to the source being split.
957
+ # Specification of one of the bundles produced as a result of splitting a Source
958
+ # (e.g. when executing a SourceSplitRequest, or when splitting an active task
959
+ # using WorkItemStatus.dynamic_source_split), relative to the source being split.
972
960
  class DerivedSource
973
961
  include Google::Apis::Core::Hashable
974
962
 
@@ -997,20 +985,17 @@ module Google
997
985
  class Disk
998
986
  include Google::Apis::Core::Hashable
999
987
 
1000
- # Disk storage type, as defined by Google Compute Engine. This
1001
- # must be a disk type appropriate to the project and zone in which
1002
- # the workers will run. If unknown or unspecified, the service
1003
- # will attempt to choose a reasonable default.
1004
- # For example, the standard persistent disk type is a resource name
1005
- # typically ending in "pd-standard". If SSD persistent disks are
1006
- # available, the resource name typically ends with "pd-ssd". The
1007
- # actual valid values are defined the Google Compute Engine API,
1008
- # not by the Cloud Dataflow API; consult the Google Compute Engine
1009
- # documentation for more information about determining the set of
1010
- # available disk types for a particular project and zone.
1011
- # Google Compute Engine Disk types are local to a particular
1012
- # project in a particular zone, and so the resource name will
1013
- # typically look something like this:
988
+ # Disk storage type, as defined by Google Compute Engine. This must be a disk
989
+ # type appropriate to the project and zone in which the workers will run. If
990
+ # unknown or unspecified, the service will attempt to choose a reasonable
991
+ # default. For example, the standard persistent disk type is a resource name
992
+ # typically ending in "pd-standard". If SSD persistent disks are available, the
993
+ # resource name typically ends with "pd-ssd". The actual valid values are
994
+ # defined the Google Compute Engine API, not by the Cloud Dataflow API; consult
995
+ # the Google Compute Engine documentation for more information about determining
996
+ # the set of available disk types for a particular project and zone. Google
997
+ # Compute Engine Disk types are local to a particular project in a particular
998
+ # zone, and so the resource name will typically look something like this:
1014
999
  # compute.googleapis.com/projects/project-id/zones/zone/diskTypes/pd-standard
1015
1000
  # Corresponds to the JSON property `diskType`
1016
1001
  # @return [String]
@@ -1021,8 +1006,8 @@ module Google
1021
1006
  # @return [String]
1022
1007
  attr_accessor :mount_point
1023
1008
 
1024
- # Size of disk in GB. If zero or unspecified, the service will
1025
- # attempt to choose a reasonable default.
1009
+ # Size of disk in GB. If zero or unspecified, the service will attempt to choose
1010
+ # a reasonable default.
1026
1011
  # Corresponds to the JSON property `sizeGb`
1027
1012
  # @return [Fixnum]
1028
1013
  attr_accessor :size_gb
@@ -1069,9 +1054,8 @@ module Google
1069
1054
  # @return [String]
1070
1055
  attr_accessor :java_class_value
1071
1056
 
1072
- # The key identifying the display data.
1073
- # This is intended to be used as a label for the display data
1074
- # when viewed in a dax monitoring system.
1057
+ # The key identifying the display data. This is intended to be used as a label
1058
+ # for the display data when viewed in a dax monitoring system.
1075
1059
  # Corresponds to the JSON property `key`
1076
1060
  # @return [String]
1077
1061
  attr_accessor :key
@@ -1082,19 +1066,18 @@ module Google
1082
1066
  attr_accessor :label
1083
1067
 
1084
1068
  # The namespace for the key. This is usually a class name or programming
1085
- # language namespace (i.e. python module) which defines the display data.
1086
- # This allows a dax monitoring system to specially handle the data
1087
- # and perform custom rendering.
1069
+ # language namespace (i.e. python module) which defines the display data. This
1070
+ # allows a dax monitoring system to specially handle the data and perform custom
1071
+ # rendering.
1088
1072
  # Corresponds to the JSON property `namespace`
1089
1073
  # @return [String]
1090
1074
  attr_accessor :namespace
1091
1075
 
1092
- # A possible additional shorter value to display.
1093
- # For example a java_class_name_value of com.mypackage.MyDoFn
1094
- # will be stored with MyDoFn as the short_str_value and
1095
- # com.mypackage.MyDoFn as the java_class_name value.
1096
- # short_str_value can be displayed and java_class_name_value
1097
- # will be displayed as a tooltip.
1076
+ # A possible additional shorter value to display. For example a
1077
+ # java_class_name_value of com.mypackage.MyDoFn will be stored with MyDoFn as
1078
+ # the short_str_value and com.mypackage.MyDoFn as the java_class_name value.
1079
+ # short_str_value can be displayed and java_class_name_value will be displayed
1080
+ # as a tooltip.
1098
1081
  # Corresponds to the JSON property `shortStrValue`
1099
1082
  # @return [String]
1100
1083
  attr_accessor :short_str_value
@@ -1139,36 +1122,35 @@ module Google
1139
1122
  class DistributionUpdate
1140
1123
  include Google::Apis::Core::Hashable
1141
1124
 
1142
- # A representation of an int64, n, that is immune to precision loss when
1143
- # encoded in JSON.
1125
+ # A representation of an int64, n, that is immune to precision loss when encoded
1126
+ # in JSON.
1144
1127
  # Corresponds to the JSON property `count`
1145
1128
  # @return [Google::Apis::DataflowV1b3::SplitInt64]
1146
1129
  attr_accessor :count
1147
1130
 
1148
- # Histogram of value counts for a distribution.
1149
- # Buckets have an inclusive lower bound and exclusive upper bound and use
1150
- # "1,2,5 bucketing": The first bucket range is from [0,1) and all subsequent
1151
- # bucket boundaries are powers of ten multiplied by 1, 2, or 5. Thus, bucket
1152
- # boundaries are 0, 1, 2, 5, 10, 20, 50, 100, 200, 500, 1000, ...
1153
- # Negative values are not supported.
1131
+ # Histogram of value counts for a distribution. Buckets have an inclusive lower
1132
+ # bound and exclusive upper bound and use "1,2,5 bucketing": The first bucket
1133
+ # range is from [0,1) and all subsequent bucket boundaries are powers of ten
1134
+ # multiplied by 1, 2, or 5. Thus, bucket boundaries are 0, 1, 2, 5, 10, 20, 50,
1135
+ # 100, 200, 500, 1000, ... Negative values are not supported.
1154
1136
  # Corresponds to the JSON property `histogram`
1155
1137
  # @return [Google::Apis::DataflowV1b3::Histogram]
1156
1138
  attr_accessor :histogram
1157
1139
 
1158
- # A representation of an int64, n, that is immune to precision loss when
1159
- # encoded in JSON.
1140
+ # A representation of an int64, n, that is immune to precision loss when encoded
1141
+ # in JSON.
1160
1142
  # Corresponds to the JSON property `max`
1161
1143
  # @return [Google::Apis::DataflowV1b3::SplitInt64]
1162
1144
  attr_accessor :max
1163
1145
 
1164
- # A representation of an int64, n, that is immune to precision loss when
1165
- # encoded in JSON.
1146
+ # A representation of an int64, n, that is immune to precision loss when encoded
1147
+ # in JSON.
1166
1148
  # Corresponds to the JSON property `min`
1167
1149
  # @return [Google::Apis::DataflowV1b3::SplitInt64]
1168
1150
  attr_accessor :min
1169
1151
 
1170
- # A representation of an int64, n, that is immune to precision loss when
1171
- # encoded in JSON.
1152
+ # A representation of an int64, n, that is immune to precision loss when encoded
1153
+ # in JSON.
1172
1154
  # Corresponds to the JSON property `sum`
1173
1155
  # @return [Google::Apis::DataflowV1b3::SplitInt64]
1174
1156
  attr_accessor :sum
@@ -1193,24 +1175,22 @@ module Google
1193
1175
  end
1194
1176
  end
1195
1177
 
1196
- # When a task splits using WorkItemStatus.dynamic_source_split, this
1197
- # message describes the two parts of the split relative to the
1198
- # description of the current task's input.
1178
+ # When a task splits using WorkItemStatus.dynamic_source_split, this message
1179
+ # describes the two parts of the split relative to the description of the
1180
+ # current task's input.
1199
1181
  class DynamicSourceSplit
1200
1182
  include Google::Apis::Core::Hashable
1201
1183
 
1202
- # Specification of one of the bundles produced as a result of splitting
1203
- # a Source (e.g. when executing a SourceSplitRequest, or when
1204
- # splitting an active task using WorkItemStatus.dynamic_source_split),
1205
- # relative to the source being split.
1184
+ # Specification of one of the bundles produced as a result of splitting a Source
1185
+ # (e.g. when executing a SourceSplitRequest, or when splitting an active task
1186
+ # using WorkItemStatus.dynamic_source_split), relative to the source being split.
1206
1187
  # Corresponds to the JSON property `primary`
1207
1188
  # @return [Google::Apis::DataflowV1b3::DerivedSource]
1208
1189
  attr_accessor :primary
1209
1190
 
1210
- # Specification of one of the bundles produced as a result of splitting
1211
- # a Source (e.g. when executing a SourceSplitRequest, or when
1212
- # splitting an active task using WorkItemStatus.dynamic_source_split),
1213
- # relative to the source being split.
1191
+ # Specification of one of the bundles produced as a result of splitting a Source
1192
+ # (e.g. when executing a SourceSplitRequest, or when splitting an active task
1193
+ # using WorkItemStatus.dynamic_source_split), relative to the source being split.
1214
1194
  # Corresponds to the JSON property `residual`
1215
1195
  # @return [Google::Apis::DataflowV1b3::DerivedSource]
1216
1196
  attr_accessor :residual
@@ -1226,13 +1206,11 @@ module Google
1226
1206
  end
1227
1207
  end
1228
1208
 
1229
- # A generic empty message that you can re-use to avoid defining duplicated
1230
- # empty messages in your APIs. A typical example is to use it as the request
1231
- # or the response type of an API method. For instance:
1232
- # service Foo `
1233
- # rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);
1234
- # `
1235
- # The JSON representation for `Empty` is empty JSON object ````.
1209
+ # A generic empty message that you can re-use to avoid defining duplicated empty
1210
+ # messages in your APIs. A typical example is to use it as the request or the
1211
+ # response type of an API method. For instance: service Foo ` rpc Bar(google.
1212
+ # protobuf.Empty) returns (google.protobuf.Empty); ` The JSON representation for
1213
+ # `Empty` is empty JSON object ````.
1236
1214
  class Empty
1237
1215
  include Google::Apis::Core::Hashable
1238
1216
 
@@ -1249,19 +1227,16 @@ module Google
1249
1227
  class Environment
1250
1228
  include Google::Apis::Core::Hashable
1251
1229
 
1252
- # The type of cluster manager API to use. If unknown or
1253
- # unspecified, the service will attempt to choose a reasonable
1254
- # default. This should be in the form of the API service name,
1255
- # e.g. "compute.googleapis.com".
1230
+ # The type of cluster manager API to use. If unknown or unspecified, the service
1231
+ # will attempt to choose a reasonable default. This should be in the form of the
1232
+ # API service name, e.g. "compute.googleapis.com".
1256
1233
  # Corresponds to the JSON property `clusterManagerApiService`
1257
1234
  # @return [String]
1258
1235
  attr_accessor :cluster_manager_api_service
1259
1236
 
1260
- # The dataset for the current project where various workflow
1261
- # related tables are stored.
1262
- # The supported resource type is:
1263
- # Google BigQuery:
1264
- # bigquery.googleapis.com/`dataset`
1237
+ # The dataset for the current project where various workflow related tables are
1238
+ # stored. The supported resource type is: Google BigQuery: bigquery.googleapis.
1239
+ # com/`dataset`
1265
1240
  # Corresponds to the JSON property `dataset`
1266
1241
  # @return [String]
1267
1242
  attr_accessor :dataset
@@ -1281,10 +1256,9 @@ module Google
1281
1256
  # @return [Hash<String,Object>]
1282
1257
  attr_accessor :internal_experiments
1283
1258
 
1284
- # The Cloud Dataflow SDK pipeline options specified by the user. These
1285
- # options are passed through the service and are used to recreate the
1286
- # SDK pipeline options on the worker in a language agnostic and platform
1287
- # independent way.
1259
+ # The Cloud Dataflow SDK pipeline options specified by the user. These options
1260
+ # are passed through the service and are used to recreate the SDK pipeline
1261
+ # options on the worker in a language agnostic and platform independent way.
1288
1262
  # Corresponds to the JSON property `sdkPipelineOptions`
1289
1263
  # @return [Hash<String,Object>]
1290
1264
  attr_accessor :sdk_pipeline_options
@@ -1294,25 +1268,20 @@ module Google
1294
1268
  # @return [String]
1295
1269
  attr_accessor :service_account_email
1296
1270
 
1297
- # If set, contains the Cloud KMS key identifier used to encrypt data
1298
- # at rest, AKA a Customer Managed Encryption Key (CMEK).
1299
- # Format:
1300
- # projects/PROJECT_ID/locations/LOCATION/keyRings/KEY_RING/cryptoKeys/KEY
1271
+ # If set, contains the Cloud KMS key identifier used to encrypt data at rest,
1272
+ # AKA a Customer Managed Encryption Key (CMEK). Format: projects/PROJECT_ID/
1273
+ # locations/LOCATION/keyRings/KEY_RING/cryptoKeys/KEY
1301
1274
  # Corresponds to the JSON property `serviceKmsKeyName`
1302
1275
  # @return [String]
1303
1276
  attr_accessor :service_kms_key_name
1304
1277
 
1305
- # The prefix of the resources the system should use for temporary
1306
- # storage. The system will append the suffix "/temp-`JOBNAME` to
1307
- # this resource prefix, where `JOBNAME` is the value of the
1308
- # job_name field. The resulting bucket and object prefix is used
1309
- # as the prefix of the resources used to store temporary data
1310
- # needed during the job execution. NOTE: This will override the
1311
- # value in taskrunner_settings.
1312
- # The supported resource type is:
1313
- # Google Cloud Storage:
1314
- # storage.googleapis.com/`bucket`/`object`
1315
- # bucket.storage.googleapis.com/`object`
1278
+ # The prefix of the resources the system should use for temporary storage. The
1279
+ # system will append the suffix "/temp-`JOBNAME` to this resource prefix, where `
1280
+ # JOBNAME` is the value of the job_name field. The resulting bucket and object
1281
+ # prefix is used as the prefix of the resources used to store temporary data
1282
+ # needed during the job execution. NOTE: This will override the value in
1283
+ # taskrunner_settings. The supported resource type is: Google Cloud Storage:
1284
+ # storage.googleapis.com/`bucket`/`object` bucket.storage.googleapis.com/`object`
1316
1285
  # Corresponds to the JSON property `tempStoragePrefix`
1317
1286
  # @return [String]
1318
1287
  attr_accessor :temp_storage_prefix
@@ -1322,32 +1291,31 @@ module Google
1322
1291
  # @return [Hash<String,Object>]
1323
1292
  attr_accessor :user_agent
1324
1293
 
1325
- # A structure describing which components and their versions of the service
1326
- # are required in order to run the job.
1294
+ # A structure describing which components and their versions of the service are
1295
+ # required in order to run the job.
1327
1296
  # Corresponds to the JSON property `version`
1328
1297
  # @return [Hash<String,Object>]
1329
1298
  attr_accessor :version
1330
1299
 
1331
- # The worker pools. At least one "harness" worker pool must be
1332
- # specified in order for the job to have workers.
1300
+ # The worker pools. At least one "harness" worker pool must be specified in
1301
+ # order for the job to have workers.
1333
1302
  # Corresponds to the JSON property `workerPools`
1334
1303
  # @return [Array<Google::Apis::DataflowV1b3::WorkerPool>]
1335
1304
  attr_accessor :worker_pools
1336
1305
 
1337
- # The Compute Engine region
1338
- # (https://cloud.google.com/compute/docs/regions-zones/regions-zones) in
1339
- # which worker processing should occur, e.g. "us-west1". Mutually exclusive
1340
- # with worker_zone. If neither worker_region nor worker_zone is specified,
1341
- # default to the control plane's region.
1306
+ # The Compute Engine region (https://cloud.google.com/compute/docs/regions-zones/
1307
+ # regions-zones) in which worker processing should occur, e.g. "us-west1".
1308
+ # Mutually exclusive with worker_zone. If neither worker_region nor worker_zone
1309
+ # is specified, default to the control plane's region.
1342
1310
  # Corresponds to the JSON property `workerRegion`
1343
1311
  # @return [String]
1344
1312
  attr_accessor :worker_region
1345
1313
 
1346
- # The Compute Engine zone
1347
- # (https://cloud.google.com/compute/docs/regions-zones/regions-zones) in
1348
- # which worker processing should occur, e.g. "us-west1-a". Mutually exclusive
1349
- # with worker_region. If neither worker_region nor worker_zone is specified,
1350
- # a zone in the control plane's region is chosen based on available capacity.
1314
+ # The Compute Engine zone (https://cloud.google.com/compute/docs/regions-zones/
1315
+ # regions-zones) in which worker processing should occur, e.g. "us-west1-a".
1316
+ # Mutually exclusive with worker_region. If neither worker_region nor
1317
+ # worker_zone is specified, a zone in the control plane's region is chosen based
1318
+ # on available capacity.
1351
1319
  # Corresponds to the JSON property `workerZone`
1352
1320
  # @return [String]
1353
1321
  attr_accessor :worker_zone
@@ -1407,7 +1375,7 @@ module Google
1407
1375
  end
1408
1376
 
1409
1377
  # Description of the composing transforms, names/ids, and input/outputs of a
1410
- # stage of execution. Some composing transforms and sources may have been
1378
+ # stage of execution. Some composing transforms and sources may have been
1411
1379
  # generated by the Dataflow service during execution planning.
1412
1380
  class ExecutionStageSummary
1413
1381
  include Google::Apis::Core::Hashable
@@ -1463,15 +1431,13 @@ module Google
1463
1431
  end
1464
1432
  end
1465
1433
 
1466
- # Indicates which [regional endpoint]
1467
- # (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) failed
1468
- # to respond to a request for data.
1434
+ # Indicates which [regional endpoint] (https://cloud.google.com/dataflow/docs/
1435
+ # concepts/regional-endpoints) failed to respond to a request for data.
1469
1436
  class FailedLocation
1470
1437
  include Google::Apis::Core::Hashable
1471
1438
 
1472
- # The name of the [regional endpoint]
1473
- # (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) that
1474
- # failed to respond.
1439
+ # The name of the [regional endpoint] (https://cloud.google.com/dataflow/docs/
1440
+ # concepts/regional-endpoints) that failed to respond.
1475
1441
  # Corresponds to the JSON property `name`
1476
1442
  # @return [String]
1477
1443
  attr_accessor :name
@@ -1547,8 +1513,8 @@ module Google
1547
1513
  class FloatingPointMean
1548
1514
  include Google::Apis::Core::Hashable
1549
1515
 
1550
- # A representation of an int64, n, that is immune to precision loss when
1551
- # encoded in JSON.
1516
+ # A representation of an int64, n, that is immune to precision loss when encoded
1517
+ # in JSON.
1552
1518
  # Corresponds to the JSON property `count`
1553
1519
  # @return [Google::Apis::DataflowV1b3::SplitInt64]
1554
1520
  attr_accessor :count
@@ -1573,15 +1539,13 @@ module Google
1573
1539
  class GetDebugConfigRequest
1574
1540
  include Google::Apis::Core::Hashable
1575
1541
 
1576
- # The internal component id for which debug configuration is
1577
- # requested.
1542
+ # The internal component id for which debug configuration is requested.
1578
1543
  # Corresponds to the JSON property `componentId`
1579
1544
  # @return [String]
1580
1545
  attr_accessor :component_id
1581
1546
 
1582
- # The [regional endpoint]
1583
- # (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) that
1584
- # contains the job specified by job_id.
1547
+ # The [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/
1548
+ # regional-endpoints) that contains the job specified by job_id.
1585
1549
  # Corresponds to the JSON property `location`
1586
1550
  # @return [String]
1587
1551
  attr_accessor :location
@@ -1636,12 +1600,12 @@ module Google
1636
1600
  # @return [Google::Apis::DataflowV1b3::RuntimeMetadata]
1637
1601
  attr_accessor :runtime_metadata
1638
1602
 
1639
- # The `Status` type defines a logical error model that is suitable for
1640
- # different programming environments, including REST APIs and RPC APIs. It is
1641
- # used by [gRPC](https://github.com/grpc). Each `Status` message contains
1642
- # three pieces of data: error code, error message, and error details.
1643
- # You can find out more about this error model and how to work with it in the
1644
- # [API Design Guide](https://cloud.google.com/apis/design/errors).
1603
+ # The `Status` type defines a logical error model that is suitable for different
1604
+ # programming environments, including REST APIs and RPC APIs. It is used by [
1605
+ # gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
1606
+ # data: error code, error message, and error details. You can find out more
1607
+ # about this error model and how to work with it in the [API Design Guide](https:
1608
+ # //cloud.google.com/apis/design/errors).
1645
1609
  # Corresponds to the JSON property `status`
1646
1610
  # @return [Google::Apis::DataflowV1b3::Status]
1647
1611
  attr_accessor :status
@@ -1664,26 +1628,25 @@ module Google
1664
1628
  end
1665
1629
  end
1666
1630
 
1667
- # Histogram of value counts for a distribution.
1668
- # Buckets have an inclusive lower bound and exclusive upper bound and use
1669
- # "1,2,5 bucketing": The first bucket range is from [0,1) and all subsequent
1670
- # bucket boundaries are powers of ten multiplied by 1, 2, or 5. Thus, bucket
1671
- # boundaries are 0, 1, 2, 5, 10, 20, 50, 100, 200, 500, 1000, ...
1672
- # Negative values are not supported.
1631
+ # Histogram of value counts for a distribution. Buckets have an inclusive lower
1632
+ # bound and exclusive upper bound and use "1,2,5 bucketing": The first bucket
1633
+ # range is from [0,1) and all subsequent bucket boundaries are powers of ten
1634
+ # multiplied by 1, 2, or 5. Thus, bucket boundaries are 0, 1, 2, 5, 10, 20, 50,
1635
+ # 100, 200, 500, 1000, ... Negative values are not supported.
1673
1636
  class Histogram
1674
1637
  include Google::Apis::Core::Hashable
1675
1638
 
1676
- # Counts of values in each bucket. For efficiency, prefix and trailing
1677
- # buckets with count = 0 are elided. Buckets can store the full range of
1678
- # values of an unsigned long, with ULLONG_MAX falling into the 59th bucket
1679
- # with range [1e19, 2e19).
1639
+ # Counts of values in each bucket. For efficiency, prefix and trailing buckets
1640
+ # with count = 0 are elided. Buckets can store the full range of values of an
1641
+ # unsigned long, with ULLONG_MAX falling into the 59th bucket with range [1e19,
1642
+ # 2e19).
1680
1643
  # Corresponds to the JSON property `bucketCounts`
1681
1644
  # @return [Array<Fixnum>]
1682
1645
  attr_accessor :bucket_counts
1683
1646
 
1684
- # Starting index of first stored bucket. The non-inclusive upper-bound of
1685
- # the ith bucket is given by:
1686
- # pow(10,(i-first_bucket_offset)/3) * (1,2,5)[(i-first_bucket_offset)%3]
1647
+ # Starting index of first stored bucket. The non-inclusive upper-bound of the
1648
+ # ith bucket is given by: pow(10,(i-first_bucket_offset)/3) * (1,2,5)[(i-
1649
+ # first_bucket_offset)%3]
1687
1650
  # Corresponds to the JSON property `firstBucketOffset`
1688
1651
  # @return [Fixnum]
1689
1652
  attr_accessor :first_bucket_offset
@@ -1708,8 +1671,8 @@ module Google
1708
1671
  # @return [String]
1709
1672
  attr_accessor :hot_key_age
1710
1673
 
1711
- # System-defined name of the step containing this hot key.
1712
- # Unique across the workflow.
1674
+ # System-defined name of the step containing this hot key. Unique across the
1675
+ # workflow.
1713
1676
  # Corresponds to the JSON property `systemName`
1714
1677
  # @return [String]
1715
1678
  attr_accessor :system_name
@@ -1731,8 +1694,8 @@ module Google
1731
1694
  end
1732
1695
  end
1733
1696
 
1734
- # An input of an instruction, as a reference to an output of a
1735
- # producer instruction.
1697
+ # An input of an instruction, as a reference to an output of a producer
1698
+ # instruction.
1736
1699
  class InstructionInput
1737
1700
  include Google::Apis::Core::Hashable
1738
1701
 
@@ -1741,10 +1704,9 @@ module Google
1741
1704
  # @return [Fixnum]
1742
1705
  attr_accessor :output_num
1743
1706
 
1744
- # The index (origin zero) of the parallel instruction that produces
1745
- # the output to be consumed by this input. This index is relative
1746
- # to the list of instructions in this input's instruction's
1747
- # containing MapTask.
1707
+ # The index (origin zero) of the parallel instruction that produces the output
1708
+ # to be consumed by this input. This index is relative to the list of
1709
+ # instructions in this input's instruction's containing MapTask.
1748
1710
  # Corresponds to the JSON property `producerInstructionIndex`
1749
1711
  # @return [Fixnum]
1750
1712
  attr_accessor :producer_instruction_index
@@ -1774,28 +1736,27 @@ module Google
1774
1736
  # @return [String]
1775
1737
  attr_accessor :name
1776
1738
 
1777
- # For system-generated byte and mean byte metrics, certain instructions
1778
- # should only report the key size.
1739
+ # For system-generated byte and mean byte metrics, certain instructions should
1740
+ # only report the key size.
1779
1741
  # Corresponds to the JSON property `onlyCountKeyBytes`
1780
1742
  # @return [Boolean]
1781
1743
  attr_accessor :only_count_key_bytes
1782
1744
  alias_method :only_count_key_bytes?, :only_count_key_bytes
1783
1745
 
1784
- # For system-generated byte and mean byte metrics, certain instructions
1785
- # should only report the value size.
1746
+ # For system-generated byte and mean byte metrics, certain instructions should
1747
+ # only report the value size.
1786
1748
  # Corresponds to the JSON property `onlyCountValueBytes`
1787
1749
  # @return [Boolean]
1788
1750
  attr_accessor :only_count_value_bytes
1789
1751
  alias_method :only_count_value_bytes?, :only_count_value_bytes
1790
1752
 
1791
- # System-defined name for this output in the original workflow graph.
1792
- # Outputs that do not contribute to an original instruction do not set this.
1753
+ # System-defined name for this output in the original workflow graph. Outputs
1754
+ # that do not contribute to an original instruction do not set this.
1793
1755
  # Corresponds to the JSON property `originalName`
1794
1756
  # @return [String]
1795
1757
  attr_accessor :original_name
1796
1758
 
1797
- # System-defined name of this output.
1798
- # Unique across the workflow.
1759
+ # System-defined name of this output. Unique across the workflow.
1799
1760
  # Corresponds to the JSON property `systemName`
1800
1761
  # @return [String]
1801
1762
  attr_accessor :system_name
@@ -1824,8 +1785,8 @@ module Google
1824
1785
  # @return [String]
1825
1786
  attr_accessor :timestamp
1826
1787
 
1827
- # A representation of an int64, n, that is immune to precision loss when
1828
- # encoded in JSON.
1788
+ # A representation of an int64, n, that is immune to precision loss when encoded
1789
+ # in JSON.
1829
1790
  # Corresponds to the JSON property `value`
1830
1791
  # @return [Google::Apis::DataflowV1b3::SplitInt64]
1831
1792
  attr_accessor :value
@@ -1864,14 +1825,14 @@ module Google
1864
1825
  class IntegerMean
1865
1826
  include Google::Apis::Core::Hashable
1866
1827
 
1867
- # A representation of an int64, n, that is immune to precision loss when
1868
- # encoded in JSON.
1828
+ # A representation of an int64, n, that is immune to precision loss when encoded
1829
+ # in JSON.
1869
1830
  # Corresponds to the JSON property `count`
1870
1831
  # @return [Google::Apis::DataflowV1b3::SplitInt64]
1871
1832
  attr_accessor :count
1872
1833
 
1873
- # A representation of an int64, n, that is immune to precision loss when
1874
- # encoded in JSON.
1834
+ # A representation of an int64, n, that is immune to precision loss when encoded
1835
+ # in JSON.
1875
1836
  # Corresponds to the JSON property `sum`
1876
1837
  # @return [Google::Apis::DataflowV1b3::SplitInt64]
1877
1838
  attr_accessor :sum
@@ -1891,13 +1852,12 @@ module Google
1891
1852
  class Job
1892
1853
  include Google::Apis::Core::Hashable
1893
1854
 
1894
- # The client's unique identifier of the job, re-used across retried attempts.
1895
- # If this field is set, the service will ensure its uniqueness.
1896
- # The request to create a job will fail if the service has knowledge of a
1897
- # previously submitted job with the same client's ID and job name.
1898
- # The caller may use this field to ensure idempotence of job
1899
- # creation across retried attempts to create a job.
1900
- # By default, the field is empty and, in that case, the service ignores it.
1855
+ # The client's unique identifier of the job, re-used across retried attempts. If
1856
+ # this field is set, the service will ensure its uniqueness. The request to
1857
+ # create a job will fail if the service has knowledge of a previously submitted
1858
+ # job with the same client's ID and job name. The caller may use this field to
1859
+ # ensure idempotence of job creation across retried attempts to create a job. By
1860
+ # default, the field is empty and, in that case, the service ignores it.
1901
1861
  # Corresponds to the JSON property `clientRequestId`
1902
1862
  # @return [String]
1903
1863
  attr_accessor :client_request_id
@@ -1914,14 +1874,11 @@ module Google
1914
1874
  # @return [String]
1915
1875
  attr_accessor :created_from_snapshot_id
1916
1876
 
1917
- # The current state of the job.
1918
- # Jobs are created in the `JOB_STATE_STOPPED` state unless otherwise
1919
- # specified.
1920
- # A job in the `JOB_STATE_RUNNING` state may asynchronously enter a
1921
- # terminal state. After a job has reached a terminal state, no
1922
- # further state updates may be made.
1923
- # This field may be mutated by the Cloud Dataflow service;
1924
- # callers cannot mutate it.
1877
+ # The current state of the job. Jobs are created in the `JOB_STATE_STOPPED`
1878
+ # state unless otherwise specified. A job in the `JOB_STATE_RUNNING` state may
1879
+ # asynchronously enter a terminal state. After a job has reached a terminal
1880
+ # state, no further state updates may be made. This field may be mutated by the
1881
+ # Cloud Dataflow service; callers cannot mutate it.
1925
1882
  # Corresponds to the JSON property `currentState`
1926
1883
  # @return [String]
1927
1884
  attr_accessor :current_state
@@ -1942,9 +1899,8 @@ module Google
1942
1899
  # @return [Google::Apis::DataflowV1b3::JobExecutionInfo]
1943
1900
  attr_accessor :execution_info
1944
1901
 
1945
- # The unique ID of this job.
1946
- # This field is set by the Cloud Dataflow service when the Job is
1947
- # created, and is immutable for the life of the job.
1902
+ # The unique ID of this job. This field is set by the Cloud Dataflow service
1903
+ # when the Job is created, and is immutable for the life of the job.
1948
1904
  # Corresponds to the JSON property `id`
1949
1905
  # @return [String]
1950
1906
  attr_accessor :id
@@ -1955,37 +1911,32 @@ module Google
1955
1911
  # @return [Google::Apis::DataflowV1b3::JobMetadata]
1956
1912
  attr_accessor :job_metadata
1957
1913
 
1958
- # User-defined labels for this job.
1959
- # The labels map can contain no more than 64 entries. Entries of the labels
1960
- # map are UTF8 strings that comply with the following restrictions:
1961
- # * Keys must conform to regexp: \p`Ll`\p`Lo``0,62`
1962
- # * Values must conform to regexp: [\p`Ll`\p`Lo`\p`N`_-]`0,63`
1963
- # * Both keys and values are additionally constrained to be <= 128 bytes in
1964
- # size.
1914
+ # User-defined labels for this job. The labels map can contain no more than 64
1915
+ # entries. Entries of the labels map are UTF8 strings that comply with the
1916
+ # following restrictions: * Keys must conform to regexp: \p`Ll`\p`Lo``0,62` *
1917
+ # Values must conform to regexp: [\p`Ll`\p`Lo`\p`N`_-]`0,63` * Both keys and
1918
+ # values are additionally constrained to be <= 128 bytes in size.
1965
1919
  # Corresponds to the JSON property `labels`
1966
1920
  # @return [Hash<String,String>]
1967
1921
  attr_accessor :labels
1968
1922
 
1969
- # The [regional endpoint]
1970
- # (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) that
1971
- # contains this job.
1923
+ # The [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/
1924
+ # regional-endpoints) that contains this job.
1972
1925
  # Corresponds to the JSON property `location`
1973
1926
  # @return [String]
1974
1927
  attr_accessor :location
1975
1928
 
1976
- # The user-specified Cloud Dataflow job name.
1977
- # Only one Job with a given name may exist in a project at any
1978
- # given time. If a caller attempts to create a Job with the same
1979
- # name as an already-existing Job, the attempt returns the
1980
- # existing Job.
1981
- # The name must match the regular expression
1982
- # `[a-z]([-a-z0-9]`0,38`[a-z0-9])?`
1929
+ # The user-specified Cloud Dataflow job name. Only one Job with a given name may
1930
+ # exist in a project at any given time. If a caller attempts to create a Job
1931
+ # with the same name as an already-existing Job, the attempt returns the
1932
+ # existing Job. The name must match the regular expression `[a-z]([-a-z0-9]`0,38`
1933
+ # [a-z0-9])?`
1983
1934
  # Corresponds to the JSON property `name`
1984
1935
  # @return [String]
1985
1936
  attr_accessor :name
1986
1937
 
1987
1938
  # A descriptive representation of submitted pipeline as well as the executed
1988
- # form. This data is provided by the Dataflow service for ease of visualizing
1939
+ # form. This data is provided by the Dataflow service for ease of visualizing
1989
1940
  # the pipeline and interpreting Dataflow provided metrics.
1990
1941
  # Corresponds to the JSON property `pipelineDescription`
1991
1942
  # @return [Google::Apis::DataflowV1b3::PipelineDescription]
@@ -1996,50 +1947,46 @@ module Google
1996
1947
  # @return [String]
1997
1948
  attr_accessor :project_id
1998
1949
 
1999
- # If this job is an update of an existing job, this field is the job ID
2000
- # of the job it replaced.
2001
- # When sending a `CreateJobRequest`, you can update a job by specifying it
2002
- # here. The job named here is stopped, and its intermediate state is
2003
- # transferred to this job.
1950
+ # If this job is an update of an existing job, this field is the job ID of the
1951
+ # job it replaced. When sending a `CreateJobRequest`, you can update a job by
1952
+ # specifying it here. The job named here is stopped, and its intermediate state
1953
+ # is transferred to this job.
2004
1954
  # Corresponds to the JSON property `replaceJobId`
2005
1955
  # @return [String]
2006
1956
  attr_accessor :replace_job_id
2007
1957
 
2008
- # If another job is an update of this job (and thus, this job is in
2009
- # `JOB_STATE_UPDATED`), this field contains the ID of that job.
1958
+ # If another job is an update of this job (and thus, this job is in `
1959
+ # JOB_STATE_UPDATED`), this field contains the ID of that job.
2010
1960
  # Corresponds to the JSON property `replacedByJobId`
2011
1961
  # @return [String]
2012
1962
  attr_accessor :replaced_by_job_id
2013
1963
 
2014
- # The job's requested state.
2015
- # `UpdateJob` may be used to switch between the `JOB_STATE_STOPPED` and
2016
- # `JOB_STATE_RUNNING` states, by setting requested_state. `UpdateJob` may
2017
- # also be used to directly set a job's requested state to
2018
- # `JOB_STATE_CANCELLED` or `JOB_STATE_DONE`, irrevocably terminating the
2019
- # job if it has not already reached a terminal state.
1964
+ # The job's requested state. `UpdateJob` may be used to switch between the `
1965
+ # JOB_STATE_STOPPED` and `JOB_STATE_RUNNING` states, by setting requested_state.
1966
+ # `UpdateJob` may also be used to directly set a job's requested state to `
1967
+ # JOB_STATE_CANCELLED` or `JOB_STATE_DONE`, irrevocably terminating the job if
1968
+ # it has not already reached a terminal state.
2020
1969
  # Corresponds to the JSON property `requestedState`
2021
1970
  # @return [String]
2022
1971
  attr_accessor :requested_state
2023
1972
 
2024
- # This field may be mutated by the Cloud Dataflow service;
2025
- # callers cannot mutate it.
1973
+ # This field may be mutated by the Cloud Dataflow service; callers cannot mutate
1974
+ # it.
2026
1975
  # Corresponds to the JSON property `stageStates`
2027
1976
  # @return [Array<Google::Apis::DataflowV1b3::ExecutionStageState>]
2028
1977
  attr_accessor :stage_states
2029
1978
 
2030
1979
  # The timestamp when the job was started (transitioned to JOB_STATE_PENDING).
2031
1980
  # Flexible resource scheduling jobs are started with some delay after job
2032
- # creation, so start_time is unset before start and is updated when the
2033
- # job is started by the Cloud Dataflow service. For other jobs, start_time
2034
- # always equals to create_time and is immutable and set by the Cloud Dataflow
2035
- # service.
1981
+ # creation, so start_time is unset before start and is updated when the job is
1982
+ # started by the Cloud Dataflow service. For other jobs, start_time always
1983
+ # equals to create_time and is immutable and set by the Cloud Dataflow service.
2036
1984
  # Corresponds to the JSON property `startTime`
2037
1985
  # @return [String]
2038
1986
  attr_accessor :start_time
2039
1987
 
2040
- # Exactly one of step or steps_location should be specified.
2041
- # The top-level steps that constitute the entire job. Only retrieved with
2042
- # JOB_VIEW_ALL.
1988
+ # Exactly one of step or steps_location should be specified. The top-level steps
1989
+ # that constitute the entire job. Only retrieved with JOB_VIEW_ALL.
2043
1990
  # Corresponds to the JSON property `steps`
2044
1991
  # @return [Array<Google::Apis::DataflowV1b3::Step>]
2045
1992
  attr_accessor :steps
@@ -2049,15 +1996,11 @@ module Google
2049
1996
  # @return [String]
2050
1997
  attr_accessor :steps_location
2051
1998
 
2052
- # A set of files the system should be aware of that are used
2053
- # for temporary storage. These temporary files will be
2054
- # removed on job completion.
2055
- # No duplicates are allowed.
2056
- # No file patterns are supported.
2057
- # The supported files are:
2058
- # Google Cloud Storage:
2059
- # storage.googleapis.com/`bucket`/`object`
2060
- # bucket.storage.googleapis.com/`object`
1999
+ # A set of files the system should be aware of that are used for temporary
2000
+ # storage. These temporary files will be removed on job completion. No
2001
+ # duplicates are allowed. No file patterns are supported. The supported files
2002
+ # are: Google Cloud Storage: storage.googleapis.com/`bucket`/`object` bucket.
2003
+ # storage.googleapis.com/`object`
2061
2004
  # Corresponds to the JSON property `tempFiles`
2062
2005
  # @return [Array<String>]
2063
2006
  attr_accessor :temp_files
@@ -2106,6 +2049,25 @@ module Google
2106
2049
  end
2107
2050
  end
2108
2051
 
2052
+ # Information about the execution of a job.
2053
+ class JobExecutionDetails
2054
+ include Google::Apis::Core::Hashable
2055
+
2056
+ # The stages of the job execution.
2057
+ # Corresponds to the JSON property `stages`
2058
+ # @return [Array<Google::Apis::DataflowV1b3::StageSummary>]
2059
+ attr_accessor :stages
2060
+
2061
+ def initialize(**args)
2062
+ update!(**args)
2063
+ end
2064
+
2065
+ # Update properties of this object
2066
+ def update!(**args)
2067
+ @stages = args[:stages] if args.key?(:stages)
2068
+ end
2069
+ end
2070
+
2109
2071
  # Additional information about how a Cloud Dataflow job will be executed that
2110
2072
  # isn't contained in the submitted job.
2111
2073
  class JobExecutionInfo
@@ -2126,14 +2088,13 @@ module Google
2126
2088
  end
2127
2089
  end
2128
2090
 
2129
- # Contains information about how a particular
2130
- # google.dataflow.v1beta3.Step will be executed.
2091
+ # Contains information about how a particular google.dataflow.v1beta3.Step will
2092
+ # be executed.
2131
2093
  class JobExecutionStageInfo
2132
2094
  include Google::Apis::Core::Hashable
2133
2095
 
2134
- # The steps associated with the execution stage.
2135
- # Note that stages may have several steps, and that a given step
2136
- # might be run by more than one stage.
2096
+ # The steps associated with the execution stage. Note that stages may have
2097
+ # several steps, and that a given step might be run by more than one stage.
2137
2098
  # Corresponds to the JSON property `stepName`
2138
2099
  # @return [Array<String>]
2139
2100
  attr_accessor :step_name
@@ -2243,9 +2204,8 @@ module Google
2243
2204
 
2244
2205
  # JobMetrics contains a collection of metrics describing the detailed progress
2245
2206
  # of a Dataflow job. Metrics correspond to user-defined and system-defined
2246
- # metrics in the job.
2247
- # This resource captures only the most recent values of each metric;
2248
- # time-series data can be queried for them (under the same metric names)
2207
+ # metrics in the job. This resource captures only the most recent values of each
2208
+ # metric; time-series data can be queried for them (under the same metric names)
2249
2209
  # from Cloud Monitoring.
2250
2210
  class JobMetrics
2251
2211
  include Google::Apis::Core::Hashable
@@ -2272,16 +2232,14 @@ module Google
2272
2232
  end
2273
2233
 
2274
2234
  # Data disk assignment information for a specific key-range of a sharded
2275
- # computation.
2276
- # Currently we only support UTF-8 character splits to simplify encoding into
2277
- # JSON.
2235
+ # computation. Currently we only support UTF-8 character splits to simplify
2236
+ # encoding into JSON.
2278
2237
  class KeyRangeDataDiskAssignment
2279
2238
  include Google::Apis::Core::Hashable
2280
2239
 
2281
- # The name of the data disk where data for this range is stored.
2282
- # This name is local to the Google Cloud Platform project and uniquely
2283
- # identifies the disk within that project, for example
2284
- # "myproject-1014-104817-4c2-harness-0-disk-1".
2240
+ # The name of the data disk where data for this range is stored. This name is
2241
+ # local to the Google Cloud Platform project and uniquely identifies the disk
2242
+ # within that project, for example "myproject-1014-104817-4c2-harness-0-disk-1".
2285
2243
  # Corresponds to the JSON property `dataDisk`
2286
2244
  # @return [String]
2287
2245
  attr_accessor :data_disk
@@ -2314,16 +2272,15 @@ module Google
2314
2272
  class KeyRangeLocation
2315
2273
  include Google::Apis::Core::Hashable
2316
2274
 
2317
- # The name of the data disk where data for this range is stored.
2318
- # This name is local to the Google Cloud Platform project and uniquely
2319
- # identifies the disk within that project, for example
2320
- # "myproject-1014-104817-4c2-harness-0-disk-1".
2275
+ # The name of the data disk where data for this range is stored. This name is
2276
+ # local to the Google Cloud Platform project and uniquely identifies the disk
2277
+ # within that project, for example "myproject-1014-104817-4c2-harness-0-disk-1".
2321
2278
  # Corresponds to the JSON property `dataDisk`
2322
2279
  # @return [String]
2323
2280
  attr_accessor :data_disk
2324
2281
 
2325
- # The physical location of this range assignment to be used for
2326
- # streaming computation cross-worker message delivery.
2282
+ # The physical location of this range assignment to be used for streaming
2283
+ # computation cross-worker message delivery.
2327
2284
  # Corresponds to the JSON property `deliveryEndpoint`
2328
2285
  # @return [String]
2329
2286
  attr_accessor :delivery_endpoint
@@ -2378,14 +2335,12 @@ module Google
2378
2335
  attr_accessor :job_name
2379
2336
 
2380
2337
  # Launch options for this flex template job. This is a common set of options
2381
- # across languages and templates. This should not be used to pass job
2382
- # parameters.
2338
+ # across languages and templates. This should not be used to pass job parameters.
2383
2339
  # Corresponds to the JSON property `launchOptions`
2384
2340
  # @return [Hash<String,String>]
2385
2341
  attr_accessor :launch_options
2386
2342
 
2387
- # The parameters for FlexTemplate.
2388
- # Ex. `"num_workers":"5"`
2343
+ # The parameters for FlexTemplate. Ex. `"num_workers":"5"`
2389
2344
  # Corresponds to the JSON property `parameters`
2390
2345
  # @return [Hash<String,String>]
2391
2346
  attr_accessor :parameters
@@ -2413,8 +2368,7 @@ module Google
2413
2368
  # @return [Google::Apis::DataflowV1b3::LaunchFlexTemplateParameter]
2414
2369
  attr_accessor :launch_parameter
2415
2370
 
2416
- # If true, the request is validated but not actually executed.
2417
- # Defaults to false.
2371
+ # If true, the request is validated but not actually executed. Defaults to false.
2418
2372
  # Corresponds to the JSON property `validateOnly`
2419
2373
  # @return [Boolean]
2420
2374
  attr_accessor :validate_only
@@ -2475,8 +2429,8 @@ module Google
2475
2429
  # @return [Hash<String,String>]
2476
2430
  attr_accessor :transform_name_mapping
2477
2431
 
2478
- # If set, replace the existing pipeline with the name specified by jobName
2479
- # with this pipeline, preserving state.
2432
+ # If set, replace the existing pipeline with the name specified by jobName with
2433
+ # this pipeline, preserving state.
2480
2434
  # Corresponds to the JSON property `update`
2481
2435
  # @return [Boolean]
2482
2436
  attr_accessor :update
@@ -2524,9 +2478,8 @@ module Google
2524
2478
  # @return [String]
2525
2479
  attr_accessor :current_worker_time
2526
2480
 
2527
- # The [regional endpoint]
2528
- # (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) that
2529
- # contains the WorkItem's job.
2481
+ # The [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/
2482
+ # regional-endpoints) that contains the WorkItem's job.
2530
2483
  # Corresponds to the JSON property `location`
2531
2484
  # @return [String]
2532
2485
  attr_accessor :location
@@ -2552,8 +2505,8 @@ module Google
2552
2505
  # @return [Array<String>]
2553
2506
  attr_accessor :worker_capabilities
2554
2507
 
2555
- # Identifies the worker leasing work -- typically the ID of the
2556
- # virtual machine running the worker.
2508
+ # Identifies the worker leasing work -- typically the ID of the virtual machine
2509
+ # running the worker.
2557
2510
  # Corresponds to the JSON property `workerId`
2558
2511
  # @return [String]
2559
2512
  attr_accessor :worker_id
@@ -2630,17 +2583,15 @@ module Google
2630
2583
  end
2631
2584
  end
2632
2585
 
2633
- # Response to a request to list Cloud Dataflow jobs in a project. This might
2634
- # be a partial response, depending on the page size in the ListJobsRequest.
2635
- # However, if the project does not have any jobs, an instance of
2636
- # ListJobsResponse is not returned and the requests's response
2637
- # body is empty ``.
2586
+ # Response to a request to list Cloud Dataflow jobs in a project. This might be
2587
+ # a partial response, depending on the page size in the ListJobsRequest. However,
2588
+ # if the project does not have any jobs, an instance of ListJobsResponse is not
2589
+ # returned and the requests's response body is empty ``.
2638
2590
  class ListJobsResponse
2639
2591
  include Google::Apis::Core::Hashable
2640
2592
 
2641
- # Zero or more messages describing the [regional endpoints]
2642
- # (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) that
2643
- # failed to respond.
2593
+ # Zero or more messages describing the [regional endpoints] (https://cloud.
2594
+ # google.com/dataflow/docs/concepts/regional-endpoints) that failed to respond.
2644
2595
  # Corresponds to the JSON property `failedLocation`
2645
2596
  # @return [Array<Google::Apis::DataflowV1b3::FailedLocation>]
2646
2597
  attr_accessor :failed_location
@@ -2690,8 +2641,8 @@ module Google
2690
2641
  class ListTemplateVersionsResponse
2691
2642
  include Google::Apis::Core::Hashable
2692
2643
 
2693
- # A token that can be sent as `page_token` to retrieve the next page.
2694
- # If this field is omitted, there are no subsequent pages.
2644
+ # A token that can be sent as `page_token` to retrieve the next page. If this
2645
+ # field is omitted, there are no subsequent pages.
2695
2646
  # Corresponds to the JSON property `nextPageToken`
2696
2647
  # @return [String]
2697
2648
  attr_accessor :next_page_token
@@ -2712,11 +2663,10 @@ module Google
2712
2663
  end
2713
2664
  end
2714
2665
 
2715
- # MapTask consists of an ordered set of instructions, each of which
2716
- # describes one particular low-level operation for the worker to
2717
- # perform in order to accomplish the MapTask's WorkItem.
2718
- # Each instruction must appear in the list before any instructions which
2719
- # depends on its output.
2666
+ # MapTask consists of an ordered set of instructions, each of which describes
2667
+ # one particular low-level operation for the worker to perform in order to
2668
+ # accomplish the MapTask's WorkItem. Each instruction must appear in the list
2669
+ # before any instructions which depends on its output.
2720
2670
  class MapTask
2721
2671
  include Google::Apis::Core::Hashable
2722
2672
 
@@ -2731,14 +2681,13 @@ module Google
2731
2681
  # @return [Array<Google::Apis::DataflowV1b3::ParallelInstruction>]
2732
2682
  attr_accessor :instructions
2733
2683
 
2734
- # System-defined name of the stage containing this MapTask.
2735
- # Unique across the workflow.
2684
+ # System-defined name of the stage containing this MapTask. Unique across the
2685
+ # workflow.
2736
2686
  # Corresponds to the JSON property `stageName`
2737
2687
  # @return [String]
2738
2688
  attr_accessor :stage_name
2739
2689
 
2740
- # System-defined name of this MapTask.
2741
- # Unique across the workflow.
2690
+ # System-defined name of this MapTask. Unique across the workflow.
2742
2691
  # Corresponds to the JSON property `systemName`
2743
2692
  # @return [String]
2744
2693
  attr_accessor :system_name
@@ -2756,8 +2705,7 @@ module Google
2756
2705
  end
2757
2706
  end
2758
2707
 
2759
- # Information about the memory usage of a worker or a container within a
2760
- # worker.
2708
+ # Information about the memory usage of a worker or a container within a worker.
2761
2709
  class MemInfo
2762
2710
  include Google::Apis::Core::Hashable
2763
2711
 
@@ -2799,8 +2747,8 @@ module Google
2799
2747
  class MetricShortId
2800
2748
  include Google::Apis::Core::Hashable
2801
2749
 
2802
- # The index of the corresponding metric in
2803
- # the ReportWorkItemStatusRequest. Required.
2750
+ # The index of the corresponding metric in the ReportWorkItemStatusRequest.
2751
+ # Required.
2804
2752
  # Corresponds to the JSON property `metricIndex`
2805
2753
  # @return [Fixnum]
2806
2754
  attr_accessor :metric_index
@@ -2821,16 +2769,14 @@ module Google
2821
2769
  end
2822
2770
  end
2823
2771
 
2824
- # Identifies a metric, by describing the source which generated the
2825
- # metric.
2772
+ # Identifies a metric, by describing the source which generated the metric.
2826
2773
  class MetricStructuredName
2827
2774
  include Google::Apis::Core::Hashable
2828
2775
 
2829
- # Zero or more labeled fields which identify the part of the job this
2830
- # metric is associated with, such as the name of a step or collection.
2831
- # For example, built-in counters associated with steps will have
2832
- # context['step'] = <step-name>. Counters associated with PCollections
2833
- # in the SDK will have context['pcollection'] = <pcollection-name>.
2776
+ # Zero or more labeled fields which identify the part of the job this metric is
2777
+ # associated with, such as the name of a step or collection. For example, built-
2778
+ # in counters associated with steps will have context['step'] = . Counters
2779
+ # associated with PCollections in the SDK will have context['pcollection'] = .
2834
2780
  # Corresponds to the JSON property `context`
2835
2781
  # @return [Hash<String,String>]
2836
2782
  attr_accessor :context
@@ -2840,8 +2786,8 @@ module Google
2840
2786
  # @return [String]
2841
2787
  attr_accessor :name
2842
2788
 
2843
- # Origin (namespace) of metric name. May be blank for user-define metrics;
2844
- # will be "dataflow" for metrics defined by the Dataflow service or SDK.
2789
+ # Origin (namespace) of metric name. May be blank for user-define metrics; will
2790
+ # be "dataflow" for metrics defined by the Dataflow service or SDK.
2845
2791
  # Corresponds to the JSON property `origin`
2846
2792
  # @return [String]
2847
2793
  attr_accessor :origin
@@ -2862,10 +2808,10 @@ module Google
2862
2808
  class MetricUpdate
2863
2809
  include Google::Apis::Core::Hashable
2864
2810
 
2865
- # True if this metric is reported as the total cumulative aggregate
2866
- # value accumulated since the worker started working on this WorkItem.
2867
- # By default this is false, indicating that this metric is reported
2868
- # as a delta that is not associated with any WorkItem.
2811
+ # True if this metric is reported as the total cumulative aggregate value
2812
+ # accumulated since the worker started working on this WorkItem. By default this
2813
+ # is false, indicating that this metric is reported as a delta that is not
2814
+ # associated with any WorkItem.
2869
2815
  # Corresponds to the JSON property `cumulative`
2870
2816
  # @return [Boolean]
2871
2817
  attr_accessor :cumulative
@@ -2876,67 +2822,62 @@ module Google
2876
2822
  # @return [Object]
2877
2823
  attr_accessor :distribution
2878
2824
 
2879
- # A struct value describing properties of a Gauge.
2880
- # Metrics of gauge type show the value of a metric across time, and is
2881
- # aggregated based on the newest value.
2825
+ # A struct value describing properties of a Gauge. Metrics of gauge type show
2826
+ # the value of a metric across time, and is aggregated based on the newest value.
2882
2827
  # Corresponds to the JSON property `gauge`
2883
2828
  # @return [Object]
2884
2829
  attr_accessor :gauge
2885
2830
 
2886
- # Worker-computed aggregate value for internal use by the Dataflow
2887
- # service.
2831
+ # Worker-computed aggregate value for internal use by the Dataflow service.
2888
2832
  # Corresponds to the JSON property `internal`
2889
2833
  # @return [Object]
2890
2834
  attr_accessor :internal
2891
2835
 
2892
- # Metric aggregation kind. The possible metric aggregation kinds are
2893
- # "Sum", "Max", "Min", "Mean", "Set", "And", "Or", and "Distribution".
2894
- # The specified aggregation kind is case-insensitive.
2895
- # If omitted, this is not an aggregated value but instead
2896
- # a single metric sample value.
2836
+ # Metric aggregation kind. The possible metric aggregation kinds are "Sum", "Max"
2837
+ # , "Min", "Mean", "Set", "And", "Or", and "Distribution". The specified
2838
+ # aggregation kind is case-insensitive. If omitted, this is not an aggregated
2839
+ # value but instead a single metric sample value.
2897
2840
  # Corresponds to the JSON property `kind`
2898
2841
  # @return [String]
2899
2842
  attr_accessor :kind
2900
2843
 
2901
- # Worker-computed aggregate value for the "Mean" aggregation kind.
2902
- # This holds the count of the aggregated values and is used in combination
2903
- # with mean_sum above to obtain the actual mean aggregate value.
2904
- # The only possible value type is Long.
2844
+ # Worker-computed aggregate value for the "Mean" aggregation kind. This holds
2845
+ # the count of the aggregated values and is used in combination with mean_sum
2846
+ # above to obtain the actual mean aggregate value. The only possible value type
2847
+ # is Long.
2905
2848
  # Corresponds to the JSON property `meanCount`
2906
2849
  # @return [Object]
2907
2850
  attr_accessor :mean_count
2908
2851
 
2909
- # Worker-computed aggregate value for the "Mean" aggregation kind.
2910
- # This holds the sum of the aggregated values and is used in combination
2911
- # with mean_count below to obtain the actual mean aggregate value.
2912
- # The only possible value types are Long and Double.
2852
+ # Worker-computed aggregate value for the "Mean" aggregation kind. This holds
2853
+ # the sum of the aggregated values and is used in combination with mean_count
2854
+ # below to obtain the actual mean aggregate value. The only possible value types
2855
+ # are Long and Double.
2913
2856
  # Corresponds to the JSON property `meanSum`
2914
2857
  # @return [Object]
2915
2858
  attr_accessor :mean_sum
2916
2859
 
2917
- # Identifies a metric, by describing the source which generated the
2918
- # metric.
2860
+ # Identifies a metric, by describing the source which generated the metric.
2919
2861
  # Corresponds to the JSON property `name`
2920
2862
  # @return [Google::Apis::DataflowV1b3::MetricStructuredName]
2921
2863
  attr_accessor :name
2922
2864
 
2923
- # Worker-computed aggregate value for aggregation kinds "Sum", "Max", "Min",
2924
- # "And", and "Or". The possible value types are Long, Double, and Boolean.
2865
+ # Worker-computed aggregate value for aggregation kinds "Sum", "Max", "Min", "
2866
+ # And", and "Or". The possible value types are Long, Double, and Boolean.
2925
2867
  # Corresponds to the JSON property `scalar`
2926
2868
  # @return [Object]
2927
2869
  attr_accessor :scalar
2928
2870
 
2929
- # Worker-computed aggregate value for the "Set" aggregation kind. The only
2930
- # possible value type is a list of Values whose type can be Long, Double,
2931
- # or String, according to the metric's type. All Values in the list must
2932
- # be of the same type.
2871
+ # Worker-computed aggregate value for the "Set" aggregation kind. The only
2872
+ # possible value type is a list of Values whose type can be Long, Double, or
2873
+ # String, according to the metric's type. All Values in the list must be of the
2874
+ # same type.
2933
2875
  # Corresponds to the JSON property `set`
2934
2876
  # @return [Object]
2935
2877
  attr_accessor :set
2936
2878
 
2937
2879
  # Timestamp associated with the metric value. Optional when workers are
2938
- # reporting work progress; it will be filled in responses from the
2939
- # metrics API.
2880
+ # reporting work progress; it will be filled in responses from the metrics API.
2940
2881
  # Corresponds to the JSON property `updateTime`
2941
2882
  # @return [String]
2942
2883
  attr_accessor :update_time
@@ -2961,8 +2902,7 @@ module Google
2961
2902
  end
2962
2903
  end
2963
2904
 
2964
- # Either add the label to TemplateVersion or remove it from the
2965
- # TemplateVersion.
2905
+ # Either add the label to TemplateVersion or remove it from the TemplateVersion.
2966
2906
  class ModifyTemplateVersionLabelRequest
2967
2907
  include Google::Apis::Core::Hashable
2968
2908
 
@@ -2971,8 +2911,7 @@ module Google
2971
2911
  # @return [String]
2972
2912
  attr_accessor :key
2973
2913
 
2974
- # Requests for add label to TemplateVersion or remove label from
2975
- # TemplateVersion.
2914
+ # Requests for add label to TemplateVersion or remove label from TemplateVersion.
2976
2915
  # Corresponds to the JSON property `op`
2977
2916
  # @return [String]
2978
2917
  attr_accessor :op
@@ -3066,10 +3005,9 @@ module Google
3066
3005
  class MountedDataDisk
3067
3006
  include Google::Apis::Core::Hashable
3068
3007
 
3069
- # The name of the data disk.
3070
- # This name is local to the Google Cloud Platform project and uniquely
3071
- # identifies the disk within that project, for example
3072
- # "myproject-1014-104817-4c2-harness-0-disk-1".
3008
+ # The name of the data disk. This name is local to the Google Cloud Platform
3009
+ # project and uniquely identifies the disk within that project, for example "
3010
+ # myproject-1014-104817-4c2-harness-0-disk-1".
3073
3011
  # Corresponds to the JSON property `dataDisk`
3074
3012
  # @return [String]
3075
3013
  attr_accessor :data_disk
@@ -3088,8 +3026,8 @@ module Google
3088
3026
  class MultiOutputInfo
3089
3027
  include Google::Apis::Core::Hashable
3090
3028
 
3091
- # The id of the tag the user code will emit to this output by; this
3092
- # should correspond to the tag of some SideInputInfo.
3029
+ # The id of the tag the user code will emit to this output by; this should
3030
+ # correspond to the tag of some SideInputInfo.
3093
3031
  # Corresponds to the JSON property `tag`
3094
3032
  # @return [String]
3095
3033
  attr_accessor :tag
@@ -3129,21 +3067,17 @@ module Google
3129
3067
  end
3130
3068
  end
3131
3069
 
3132
- # The packages that must be installed in order for a worker to run the
3133
- # steps of the Cloud Dataflow job that will be assigned to its worker
3134
- # pool.
3135
- # This is the mechanism by which the Cloud Dataflow SDK causes code to
3136
- # be loaded onto the workers. For example, the Cloud Dataflow Java SDK
3137
- # might use this to install jars containing the user's code and all of the
3138
- # various dependencies (libraries, data files, etc.) required in order
3139
- # for that code to run.
3070
+ # The packages that must be installed in order for a worker to run the steps of
3071
+ # the Cloud Dataflow job that will be assigned to its worker pool. This is the
3072
+ # mechanism by which the Cloud Dataflow SDK causes code to be loaded onto the
3073
+ # workers. For example, the Cloud Dataflow Java SDK might use this to install
3074
+ # jars containing the user's code and all of the various dependencies (libraries,
3075
+ # data files, etc.) required in order for that code to run.
3140
3076
  class Package
3141
3077
  include Google::Apis::Core::Hashable
3142
3078
 
3143
- # The resource to read the package from. The supported resource type is:
3144
- # Google Cloud Storage:
3145
- # storage.googleapis.com/`bucket`
3146
- # bucket.storage.googleapis.com/
3079
+ # The resource to read the package from. The supported resource type is: Google
3080
+ # Cloud Storage: storage.googleapis.com/`bucket` bucket.storage.googleapis.com/
3147
3081
  # Corresponds to the JSON property `location`
3148
3082
  # @return [String]
3149
3083
  attr_accessor :location
@@ -3164,20 +3098,18 @@ module Google
3164
3098
  end
3165
3099
  end
3166
3100
 
3167
- # An instruction that does a ParDo operation.
3168
- # Takes one main input and zero or more side inputs, and produces
3169
- # zero or more outputs.
3170
- # Runs user code.
3101
+ # An instruction that does a ParDo operation. Takes one main input and zero or
3102
+ # more side inputs, and produces zero or more outputs. Runs user code.
3171
3103
  class ParDoInstruction
3172
3104
  include Google::Apis::Core::Hashable
3173
3105
 
3174
- # An input of an instruction, as a reference to an output of a
3175
- # producer instruction.
3106
+ # An input of an instruction, as a reference to an output of a producer
3107
+ # instruction.
3176
3108
  # Corresponds to the JSON property `input`
3177
3109
  # @return [Google::Apis::DataflowV1b3::InstructionInput]
3178
3110
  attr_accessor :input
3179
3111
 
3180
- # Information about each of the outputs, if user_fn is a MultiDoFn.
3112
+ # Information about each of the outputs, if user_fn is a MultiDoFn.
3181
3113
  # Corresponds to the JSON property `multiOutputInfos`
3182
3114
  # @return [Array<Google::Apis::DataflowV1b3::MultiOutputInfo>]
3183
3115
  attr_accessor :multi_output_infos
@@ -3235,34 +3167,28 @@ module Google
3235
3167
  # @return [Array<Google::Apis::DataflowV1b3::InstructionOutput>]
3236
3168
  attr_accessor :outputs
3237
3169
 
3238
- # An instruction that does a ParDo operation.
3239
- # Takes one main input and zero or more side inputs, and produces
3240
- # zero or more outputs.
3241
- # Runs user code.
3170
+ # An instruction that does a ParDo operation. Takes one main input and zero or
3171
+ # more side inputs, and produces zero or more outputs. Runs user code.
3242
3172
  # Corresponds to the JSON property `parDo`
3243
3173
  # @return [Google::Apis::DataflowV1b3::ParDoInstruction]
3244
3174
  attr_accessor :par_do
3245
3175
 
3246
- # An instruction that does a partial group-by-key.
3247
- # One input and one output.
3176
+ # An instruction that does a partial group-by-key. One input and one output.
3248
3177
  # Corresponds to the JSON property `partialGroupByKey`
3249
3178
  # @return [Google::Apis::DataflowV1b3::PartialGroupByKeyInstruction]
3250
3179
  attr_accessor :partial_group_by_key
3251
3180
 
3252
- # An instruction that reads records.
3253
- # Takes no inputs, produces one output.
3181
+ # An instruction that reads records. Takes no inputs, produces one output.
3254
3182
  # Corresponds to the JSON property `read`
3255
3183
  # @return [Google::Apis::DataflowV1b3::ReadInstruction]
3256
3184
  attr_accessor :read
3257
3185
 
3258
- # System-defined name of this operation.
3259
- # Unique across the workflow.
3186
+ # System-defined name of this operation. Unique across the workflow.
3260
3187
  # Corresponds to the JSON property `systemName`
3261
3188
  # @return [String]
3262
3189
  attr_accessor :system_name
3263
3190
 
3264
- # An instruction that writes records.
3265
- # Takes one input, produces no outputs.
3191
+ # An instruction that writes records. Takes one input, produces no outputs.
3266
3192
  # Corresponds to the JSON property `write`
3267
3193
  # @return [Google::Apis::DataflowV1b3::WriteInstruction]
3268
3194
  attr_accessor :write
@@ -3335,8 +3261,7 @@ module Google
3335
3261
  # @return [String]
3336
3262
  attr_accessor :name
3337
3263
 
3338
- # Optional. The type of the parameter.
3339
- # Used for selecting input picker.
3264
+ # Optional. The type of the parameter. Used for selecting input picker.
3340
3265
  # Corresponds to the JSON property `paramType`
3341
3266
  # @return [String]
3342
3267
  attr_accessor :param_type
@@ -3361,13 +3286,12 @@ module Google
3361
3286
  end
3362
3287
  end
3363
3288
 
3364
- # An instruction that does a partial group-by-key.
3365
- # One input and one output.
3289
+ # An instruction that does a partial group-by-key. One input and one output.
3366
3290
  class PartialGroupByKeyInstruction
3367
3291
  include Google::Apis::Core::Hashable
3368
3292
 
3369
- # An input of an instruction, as a reference to an output of a
3370
- # producer instruction.
3293
+ # An input of an instruction, as a reference to an output of a producer
3294
+ # instruction.
3371
3295
  # Corresponds to the JSON property `input`
3372
3296
  # @return [Google::Apis::DataflowV1b3::InstructionInput]
3373
3297
  attr_accessor :input
@@ -3415,7 +3339,7 @@ module Google
3415
3339
  end
3416
3340
 
3417
3341
  # A descriptive representation of submitted pipeline as well as the executed
3418
- # form. This data is provided by the Dataflow service for ease of visualizing
3342
+ # form. This data is provided by the Dataflow service for ease of visualizing
3419
3343
  # the pipeline and interpreting Dataflow provided metrics.
3420
3344
  class PipelineDescription
3421
3345
  include Google::Apis::Core::Hashable
@@ -3447,9 +3371,34 @@ module Google
3447
3371
  end
3448
3372
  end
3449
3373
 
3450
- # Position defines a position within a collection of data. The value
3451
- # can be either the end position, a key (used with ordered
3452
- # collections), a byte offset, or a record index.
3374
+ # A point in the timeseries.
3375
+ class Point
3376
+ include Google::Apis::Core::Hashable
3377
+
3378
+ # The timestamp of the point.
3379
+ # Corresponds to the JSON property `time`
3380
+ # @return [String]
3381
+ attr_accessor :time
3382
+
3383
+ # The value of the point.
3384
+ # Corresponds to the JSON property `value`
3385
+ # @return [Float]
3386
+ attr_accessor :value
3387
+
3388
+ def initialize(**args)
3389
+ update!(**args)
3390
+ end
3391
+
3392
+ # Update properties of this object
3393
+ def update!(**args)
3394
+ @time = args[:time] if args.key?(:time)
3395
+ @value = args[:value] if args.key?(:value)
3396
+ end
3397
+ end
3398
+
3399
+ # Position defines a position within a collection of data. The value can be
3400
+ # either the end position, a key (used with ordered collections), a byte offset,
3401
+ # or a record index.
3453
3402
  class Position
3454
3403
  include Google::Apis::Core::Hashable
3455
3404
 
@@ -3465,8 +3414,8 @@ module Google
3465
3414
  # @return [Google::Apis::DataflowV1b3::ConcatPosition]
3466
3415
  attr_accessor :concat_position
3467
3416
 
3468
- # Position is past all other positions. Also useful for the end
3469
- # position of an unbounded range.
3417
+ # Position is past all other positions. Also useful for the end position of an
3418
+ # unbounded range.
3470
3419
  # Corresponds to the JSON property `end`
3471
3420
  # @return [Boolean]
3472
3421
  attr_accessor :end
@@ -3482,8 +3431,7 @@ module Google
3482
3431
  # @return [Fixnum]
3483
3432
  attr_accessor :record_index
3484
3433
 
3485
- # CloudPosition is a base64 encoded BatchShufflePosition (with FIXED
3486
- # sharding).
3434
+ # CloudPosition is a base64 encoded BatchShufflePosition (with FIXED sharding).
3487
3435
  # Corresponds to the JSON property `shufflePosition`
3488
3436
  # @return [String]
3489
3437
  attr_accessor :shuffle_position
@@ -3503,6 +3451,31 @@ module Google
3503
3451
  end
3504
3452
  end
3505
3453
 
3454
+ # Information about the progress of some component of job execution.
3455
+ class ProgressTimeseries
3456
+ include Google::Apis::Core::Hashable
3457
+
3458
+ # The current progress of the component, in the range [0,1].
3459
+ # Corresponds to the JSON property `currentProgress`
3460
+ # @return [Float]
3461
+ attr_accessor :current_progress
3462
+
3463
+ # History of progress for the component. Points are sorted by time.
3464
+ # Corresponds to the JSON property `dataPoints`
3465
+ # @return [Array<Google::Apis::DataflowV1b3::Point>]
3466
+ attr_accessor :data_points
3467
+
3468
+ def initialize(**args)
3469
+ update!(**args)
3470
+ end
3471
+
3472
+ # Update properties of this object
3473
+ def update!(**args)
3474
+ @current_progress = args[:current_progress] if args.key?(:current_progress)
3475
+ @data_points = args[:data_points] if args.key?(:data_points)
3476
+ end
3477
+ end
3478
+
3506
3479
  # Metadata for a PubSub connector used by the job.
3507
3480
  class PubSubIoDetails
3508
3481
  include Google::Apis::Core::Hashable
@@ -3528,8 +3501,8 @@ module Google
3528
3501
  end
3529
3502
  end
3530
3503
 
3531
- # Identifies a pubsub location to use for transferring data into or
3532
- # out of a streaming Dataflow job.
3504
+ # Identifies a pubsub location to use for transferring data into or out of a
3505
+ # streaming Dataflow job.
3533
3506
  class PubsubLocation
3534
3507
  include Google::Apis::Core::Hashable
3535
3508
 
@@ -3539,26 +3512,24 @@ module Google
3539
3512
  attr_accessor :drop_late_data
3540
3513
  alias_method :drop_late_data?, :drop_late_data
3541
3514
 
3542
- # If set, contains a pubsub label from which to extract record ids.
3543
- # If left empty, record deduplication will be strictly best effort.
3515
+ # If set, contains a pubsub label from which to extract record ids. If left
3516
+ # empty, record deduplication will be strictly best effort.
3544
3517
  # Corresponds to the JSON property `idLabel`
3545
3518
  # @return [String]
3546
3519
  attr_accessor :id_label
3547
3520
 
3548
- # A pubsub subscription, in the form of
3549
- # "pubsub.googleapis.com/subscriptions/<project-id>/<subscription-name>"
3521
+ # A pubsub subscription, in the form of "pubsub.googleapis.com/subscriptions//"
3550
3522
  # Corresponds to the JSON property `subscription`
3551
3523
  # @return [String]
3552
3524
  attr_accessor :subscription
3553
3525
 
3554
- # If set, contains a pubsub label from which to extract record timestamps.
3555
- # If left empty, record timestamps will be generated upon arrival.
3526
+ # If set, contains a pubsub label from which to extract record timestamps. If
3527
+ # left empty, record timestamps will be generated upon arrival.
3556
3528
  # Corresponds to the JSON property `timestampLabel`
3557
3529
  # @return [String]
3558
3530
  attr_accessor :timestamp_label
3559
3531
 
3560
- # A pubsub topic, in the form of
3561
- # "pubsub.googleapis.com/topics/<project-id>/<topic-name>"
3532
+ # A pubsub topic, in the form of "pubsub.googleapis.com/topics//"
3562
3533
  # Corresponds to the JSON property `topic`
3563
3534
  # @return [String]
3564
3535
  attr_accessor :topic
@@ -3641,8 +3612,7 @@ module Google
3641
3612
  end
3642
3613
  end
3643
3614
 
3644
- # An instruction that reads records.
3645
- # Takes no inputs, produces one output.
3615
+ # An instruction that reads records. Takes no inputs, produces one output.
3646
3616
  class ReadInstruction
3647
3617
  include Google::Apis::Core::Hashable
3648
3618
 
@@ -3670,9 +3640,8 @@ module Google
3670
3640
  # @return [String]
3671
3641
  attr_accessor :current_worker_time
3672
3642
 
3673
- # The [regional endpoint]
3674
- # (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) that
3675
- # contains the WorkItem's job.
3643
+ # The [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/
3644
+ # regional-endpoints) that contains the WorkItem's job.
3676
3645
  # Corresponds to the JSON property `location`
3677
3646
  # @return [String]
3678
3647
  attr_accessor :location
@@ -3682,17 +3651,16 @@ module Google
3682
3651
  # @return [Hash<String,Object>]
3683
3652
  attr_accessor :unified_worker_request
3684
3653
 
3685
- # The order is unimportant, except that the order of the
3686
- # WorkItemServiceState messages in the ReportWorkItemStatusResponse
3687
- # corresponds to the order of WorkItemStatus messages here.
3654
+ # The order is unimportant, except that the order of the WorkItemServiceState
3655
+ # messages in the ReportWorkItemStatusResponse corresponds to the order of
3656
+ # WorkItemStatus messages here.
3688
3657
  # Corresponds to the JSON property `workItemStatuses`
3689
3658
  # @return [Array<Google::Apis::DataflowV1b3::WorkItemStatus>]
3690
3659
  attr_accessor :work_item_statuses
3691
3660
 
3692
- # The ID of the worker reporting the WorkItem status. If this
3693
- # does not match the ID of the worker which the Dataflow service
3694
- # believes currently has the lease on the WorkItem, the report
3695
- # will be dropped (with an error response).
3661
+ # The ID of the worker reporting the WorkItem status. If this does not match the
3662
+ # ID of the worker which the Dataflow service believes currently has the lease
3663
+ # on the WorkItem, the report will be dropped (with an error response).
3696
3664
  # Corresponds to the JSON property `workerId`
3697
3665
  # @return [String]
3698
3666
  attr_accessor :worker_id
@@ -3720,10 +3688,9 @@ module Google
3720
3688
  # @return [Hash<String,Object>]
3721
3689
  attr_accessor :unified_worker_response
3722
3690
 
3723
- # A set of messages indicating the service-side state for each
3724
- # WorkItem whose status was reported, in the same order as the
3725
- # WorkItemStatus messages in the ReportWorkItemStatusRequest which
3726
- # resulting in this response.
3691
+ # A set of messages indicating the service-side state for each WorkItem whose
3692
+ # status was reported, in the same order as the WorkItemStatus messages in the
3693
+ # ReportWorkItemStatusRequest which resulting in this response.
3727
3694
  # Corresponds to the JSON property `workItemServiceStates`
3728
3695
  # @return [Array<Google::Apis::DataflowV1b3::WorkItemServiceState>]
3729
3696
  attr_accessor :work_item_service_states
@@ -3739,17 +3706,16 @@ module Google
3739
3706
  end
3740
3707
  end
3741
3708
 
3742
- # Represents the level of parallelism in a WorkItem's input,
3743
- # reported by the worker.
3709
+ # Represents the level of parallelism in a WorkItem's input, reported by the
3710
+ # worker.
3744
3711
  class ReportedParallelism
3745
3712
  include Google::Apis::Core::Hashable
3746
3713
 
3747
- # Specifies whether the parallelism is infinite. If true, "value" is
3748
- # ignored.
3749
- # Infinite parallelism means the service will assume that the work item
3750
- # can always be split into more non-empty work items by dynamic splitting.
3751
- # This is a work-around for lack of support for infinity by the current
3752
- # JSON-based Java RPC stack.
3714
+ # Specifies whether the parallelism is infinite. If true, "value" is ignored.
3715
+ # Infinite parallelism means the service will assume that the work item can
3716
+ # always be split into more non-empty work items by dynamic splitting. This is a
3717
+ # work-around for lack of support for infinity by the current JSON-based Java
3718
+ # RPC stack.
3753
3719
  # Corresponds to the JSON property `isInfinite`
3754
3720
  # @return [Boolean]
3755
3721
  attr_accessor :is_infinite
@@ -3772,13 +3738,12 @@ module Google
3772
3738
  end
3773
3739
 
3774
3740
  # Worker metrics exported from workers. This contains resource utilization
3775
- # metrics accumulated from a variety of sources. For more information, see
3776
- # go/df-resource-signals.
3741
+ # metrics accumulated from a variety of sources. For more information, see go/df-
3742
+ # resource-signals.
3777
3743
  class ResourceUtilizationReport
3778
3744
  include Google::Apis::Core::Hashable
3779
3745
 
3780
- # Per container information.
3781
- # Key: container name.
3746
+ # Per container information. Key: container name.
3782
3747
  # Corresponds to the JSON property `containers`
3783
3748
  # @return [Hash<String,Google::Apis::DataflowV1b3::ResourceUtilizationReport>]
3784
3749
  attr_accessor :containers
@@ -3827,48 +3792,51 @@ module Google
3827
3792
  # @return [Array<String>]
3828
3793
  attr_accessor :additional_experiments
3829
3794
 
3830
- # Additional user labels to be specified for the job.
3831
- # Keys and values should follow the restrictions specified in the [labeling
3832
- # restrictions](https://cloud.google.com/compute/docs/labeling-resources#
3833
- # restrictions)
3834
- # page.
3795
+ # Additional user labels to be specified for the job. Keys and values should
3796
+ # follow the restrictions specified in the [labeling restrictions](https://cloud.
3797
+ # google.com/compute/docs/labeling-resources#restrictions) page.
3835
3798
  # Corresponds to the JSON property `additionalUserLabels`
3836
3799
  # @return [Hash<String,String>]
3837
3800
  attr_accessor :additional_user_labels
3838
3801
 
3839
- # Whether to bypass the safety checks for the job's temporary directory.
3840
- # Use with caution.
3802
+ # Whether to bypass the safety checks for the job's temporary directory. Use
3803
+ # with caution.
3841
3804
  # Corresponds to the JSON property `bypassTempDirValidation`
3842
3805
  # @return [Boolean]
3843
3806
  attr_accessor :bypass_temp_dir_validation
3844
3807
  alias_method :bypass_temp_dir_validation?, :bypass_temp_dir_validation
3845
3808
 
3809
+ # Whether to enable Streaming Engine for the job.
3810
+ # Corresponds to the JSON property `enableStreamingEngine`
3811
+ # @return [Boolean]
3812
+ attr_accessor :enable_streaming_engine
3813
+ alias_method :enable_streaming_engine?, :enable_streaming_engine
3814
+
3846
3815
  # Configuration for VM IPs.
3847
3816
  # Corresponds to the JSON property `ipConfiguration`
3848
3817
  # @return [String]
3849
3818
  attr_accessor :ip_configuration
3850
3819
 
3851
- # Optional. Name for the Cloud KMS key for the job.
3852
- # Key format is:
3853
- # projects/<project>/locations/<location>/keyRings/<keyring>/cryptoKeys/<key>
3820
+ # Optional. Name for the Cloud KMS key for the job. Key format is: projects//
3821
+ # locations//keyRings//cryptoKeys/
3854
3822
  # Corresponds to the JSON property `kmsKeyName`
3855
3823
  # @return [String]
3856
3824
  attr_accessor :kms_key_name
3857
3825
 
3858
- # The machine type to use for the job. Defaults to the value from the
3859
- # template if not specified.
3826
+ # The machine type to use for the job. Defaults to the value from the template
3827
+ # if not specified.
3860
3828
  # Corresponds to the JSON property `machineType`
3861
3829
  # @return [String]
3862
3830
  attr_accessor :machine_type
3863
3831
 
3864
- # The maximum number of Google Compute Engine instances to be made
3865
- # available to your pipeline during execution, from 1 to 1000.
3832
+ # The maximum number of Google Compute Engine instances to be made available to
3833
+ # your pipeline during execution, from 1 to 1000.
3866
3834
  # Corresponds to the JSON property `maxWorkers`
3867
3835
  # @return [Fixnum]
3868
3836
  attr_accessor :max_workers
3869
3837
 
3870
- # Network to which VMs will be assigned. If empty or unspecified,
3871
- # the service will use the network "default".
3838
+ # Network to which VMs will be assigned. If empty or unspecified, the service
3839
+ # will use the network "default".
3872
3840
  # Corresponds to the JSON property `network`
3873
3841
  # @return [String]
3874
3842
  attr_accessor :network
@@ -3883,41 +3851,39 @@ module Google
3883
3851
  # @return [String]
3884
3852
  attr_accessor :service_account_email
3885
3853
 
3886
- # Subnetwork to which VMs will be assigned, if desired. Expected to be of
3887
- # the form "regions/REGION/subnetworks/SUBNETWORK".
3854
+ # Subnetwork to which VMs will be assigned, if desired. Expected to be of the
3855
+ # form "regions/REGION/subnetworks/SUBNETWORK".
3888
3856
  # Corresponds to the JSON property `subnetwork`
3889
3857
  # @return [String]
3890
3858
  attr_accessor :subnetwork
3891
3859
 
3892
- # The Cloud Storage path to use for temporary files.
3893
- # Must be a valid Cloud Storage URL, beginning with `gs://`.
3860
+ # The Cloud Storage path to use for temporary files. Must be a valid Cloud
3861
+ # Storage URL, beginning with `gs://`.
3894
3862
  # Corresponds to the JSON property `tempLocation`
3895
3863
  # @return [String]
3896
3864
  attr_accessor :temp_location
3897
3865
 
3898
- # The Compute Engine region
3899
- # (https://cloud.google.com/compute/docs/regions-zones/regions-zones) in
3900
- # which worker processing should occur, e.g. "us-west1". Mutually exclusive
3901
- # with worker_zone. If neither worker_region nor worker_zone is specified,
3902
- # default to the control plane's region.
3866
+ # The Compute Engine region (https://cloud.google.com/compute/docs/regions-zones/
3867
+ # regions-zones) in which worker processing should occur, e.g. "us-west1".
3868
+ # Mutually exclusive with worker_zone. If neither worker_region nor worker_zone
3869
+ # is specified, default to the control plane's region.
3903
3870
  # Corresponds to the JSON property `workerRegion`
3904
3871
  # @return [String]
3905
3872
  attr_accessor :worker_region
3906
3873
 
3907
- # The Compute Engine zone
3908
- # (https://cloud.google.com/compute/docs/regions-zones/regions-zones) in
3909
- # which worker processing should occur, e.g. "us-west1-a". Mutually exclusive
3910
- # with worker_region. If neither worker_region nor worker_zone is specified,
3911
- # a zone in the control plane's region is chosen based on available capacity.
3912
- # If both `worker_zone` and `zone` are set, `worker_zone` takes precedence.
3874
+ # The Compute Engine zone (https://cloud.google.com/compute/docs/regions-zones/
3875
+ # regions-zones) in which worker processing should occur, e.g. "us-west1-a".
3876
+ # Mutually exclusive with worker_region. If neither worker_region nor
3877
+ # worker_zone is specified, a zone in the control plane's region is chosen based
3878
+ # on available capacity. If both `worker_zone` and `zone` are set, `worker_zone`
3879
+ # takes precedence.
3913
3880
  # Corresponds to the JSON property `workerZone`
3914
3881
  # @return [String]
3915
3882
  attr_accessor :worker_zone
3916
3883
 
3917
- # The Compute Engine [availability
3918
- # zone](https://cloud.google.com/compute/docs/regions-zones/regions-zones)
3919
- # for launching worker instances to run your pipeline.
3920
- # In the future, worker_zone will take precedence.
3884
+ # The Compute Engine [availability zone](https://cloud.google.com/compute/docs/
3885
+ # regions-zones/regions-zones) for launching worker instances to run your
3886
+ # pipeline. In the future, worker_zone will take precedence.
3921
3887
  # Corresponds to the JSON property `zone`
3922
3888
  # @return [String]
3923
3889
  attr_accessor :zone
@@ -3931,6 +3897,7 @@ module Google
3931
3897
  @additional_experiments = args[:additional_experiments] if args.key?(:additional_experiments)
3932
3898
  @additional_user_labels = args[:additional_user_labels] if args.key?(:additional_user_labels)
3933
3899
  @bypass_temp_dir_validation = args[:bypass_temp_dir_validation] if args.key?(:bypass_temp_dir_validation)
3900
+ @enable_streaming_engine = args[:enable_streaming_engine] if args.key?(:enable_streaming_engine)
3934
3901
  @ip_configuration = args[:ip_configuration] if args.key?(:ip_configuration)
3935
3902
  @kms_key_name = args[:kms_key_name] if args.key?(:kms_key_name)
3936
3903
  @machine_type = args[:machine_type] if args.key?(:machine_type)
@@ -4006,10 +3973,9 @@ module Google
4006
3973
  attr_accessor :container_image
4007
3974
 
4008
3975
  # If true, recommends the Dataflow service to use only one core per SDK
4009
- # container instance with this image. If false (or unset) recommends using
4010
- # more than one core per SDK container instance with this image for
4011
- # efficiency. Note that Dataflow service may choose to override this property
4012
- # if needed.
3976
+ # container instance with this image. If false (or unset) recommends using more
3977
+ # than one core per SDK container instance with this image for efficiency. Note
3978
+ # that Dataflow service may choose to override this property if needed.
4013
3979
  # Corresponds to the JSON property `useSingleCorePerContainer`
4014
3980
  # @return [Boolean]
4015
3981
  attr_accessor :use_single_core_per_container
@@ -4071,9 +4037,8 @@ module Google
4071
4037
  # @return [String]
4072
4038
  attr_accessor :data
4073
4039
 
4074
- # The [regional endpoint]
4075
- # (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) that
4076
- # contains the job specified by job_id.
4040
+ # The [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/
4041
+ # regional-endpoints) that contains the job specified by job_id.
4077
4042
  # Corresponds to the JSON property `location`
4078
4043
  # @return [String]
4079
4044
  attr_accessor :location
@@ -4096,8 +4061,7 @@ module Google
4096
4061
  end
4097
4062
  end
4098
4063
 
4099
- # Response to a send capture request.
4100
- # nothing
4064
+ # Response to a send capture request. nothing
4101
4065
  class SendDebugCaptureResponse
4102
4066
  include Google::Apis::Core::Hashable
4103
4067
 
@@ -4114,9 +4078,8 @@ module Google
4114
4078
  class SendWorkerMessagesRequest
4115
4079
  include Google::Apis::Core::Hashable
4116
4080
 
4117
- # The [regional endpoint]
4118
- # (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) that
4119
- # contains the job.
4081
+ # The [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/
4082
+ # regional-endpoints) that contains the job.
4120
4083
  # Corresponds to the JSON property `location`
4121
4084
  # @return [String]
4122
4085
  attr_accessor :location
@@ -4175,14 +4138,13 @@ module Google
4175
4138
  # @return [Array<Google::Apis::DataflowV1b3::SeqMapTaskOutputInfo>]
4176
4139
  attr_accessor :output_infos
4177
4140
 
4178
- # System-defined name of the stage containing the SeqDo operation.
4179
- # Unique across the workflow.
4141
+ # System-defined name of the stage containing the SeqDo operation. Unique across
4142
+ # the workflow.
4180
4143
  # Corresponds to the JSON property `stageName`
4181
4144
  # @return [String]
4182
4145
  attr_accessor :stage_name
4183
4146
 
4184
- # System-defined name of the SeqDo operation.
4185
- # Unique across the workflow.
4147
+ # System-defined name of the SeqDo operation. Unique across the workflow.
4186
4148
  # Corresponds to the JSON property `systemName`
4187
4149
  # @return [String]
4188
4150
  attr_accessor :system_name
@@ -4266,16 +4228,15 @@ module Google
4266
4228
  # @return [Hash<String,Object>]
4267
4229
  attr_accessor :kind
4268
4230
 
4269
- # The source(s) to read element(s) from to get the value of this side input.
4270
- # If more than one source, then the elements are taken from the
4271
- # sources, in the specified order if order matters.
4272
- # At least one source is required.
4231
+ # The source(s) to read element(s) from to get the value of this side input. If
4232
+ # more than one source, then the elements are taken from the sources, in the
4233
+ # specified order if order matters. At least one source is required.
4273
4234
  # Corresponds to the JSON property `sources`
4274
4235
  # @return [Array<Google::Apis::DataflowV1b3::Source>]
4275
4236
  attr_accessor :sources
4276
4237
 
4277
- # The id of the tag the user code will access this side input by;
4278
- # this should correspond to the tag of some MultiOutputInfo.
4238
+ # The id of the tag the user code will access this side input by; this should
4239
+ # correspond to the tag of some MultiOutputInfo.
4279
4240
  # Corresponds to the JSON property `tag`
4280
4241
  # @return [String]
4281
4242
  attr_accessor :tag
@@ -4427,13 +4388,12 @@ module Google
4427
4388
  class Source
4428
4389
  include Google::Apis::Core::Hashable
4429
4390
 
4430
- # While splitting, sources may specify the produced bundles
4431
- # as differences against another source, in order to save backend-side
4432
- # memory and allow bigger jobs. For details, see SourceSplitRequest.
4433
- # To support this use case, the full set of parameters of the source
4434
- # is logically obtained by taking the latest explicitly specified value
4435
- # of each parameter in the order:
4436
- # base_specs (later items win), spec (overrides anything in base_specs).
4391
+ # While splitting, sources may specify the produced bundles as differences
4392
+ # against another source, in order to save backend-side memory and allow bigger
4393
+ # jobs. For details, see SourceSplitRequest. To support this use case, the full
4394
+ # set of parameters of the source is logically obtained by taking the latest
4395
+ # explicitly specified value of each parameter in the order: base_specs (later
4396
+ # items win), spec (overrides anything in base_specs).
4437
4397
  # Corresponds to the JSON property `baseSpecs`
4438
4398
  # @return [Array<Hash<String,Object>>]
4439
4399
  attr_accessor :base_specs
@@ -4443,27 +4403,24 @@ module Google
4443
4403
  # @return [Hash<String,Object>]
4444
4404
  attr_accessor :codec
4445
4405
 
4446
- # Setting this value to true hints to the framework that the source
4447
- # doesn't need splitting, and using SourceSplitRequest on it would
4448
- # yield SOURCE_SPLIT_OUTCOME_USE_CURRENT.
4449
- # E.g. a file splitter may set this to true when splitting a single file
4450
- # into a set of byte ranges of appropriate size, and set this
4451
- # to false when splitting a filepattern into individual files.
4452
- # However, for efficiency, a file splitter may decide to produce
4453
- # file subranges directly from the filepattern to avoid a splitting
4454
- # round-trip.
4455
- # See SourceSplitRequest for an overview of the splitting process.
4456
- # This field is meaningful only in the Source objects populated
4457
- # by the user (e.g. when filling in a DerivedSource).
4458
- # Source objects supplied by the framework to the user don't have
4459
- # this field populated.
4406
+ # Setting this value to true hints to the framework that the source doesn't need
4407
+ # splitting, and using SourceSplitRequest on it would yield
4408
+ # SOURCE_SPLIT_OUTCOME_USE_CURRENT. E.g. a file splitter may set this to true
4409
+ # when splitting a single file into a set of byte ranges of appropriate size,
4410
+ # and set this to false when splitting a filepattern into individual files.
4411
+ # However, for efficiency, a file splitter may decide to produce file subranges
4412
+ # directly from the filepattern to avoid a splitting round-trip. See
4413
+ # SourceSplitRequest for an overview of the splitting process. This field is
4414
+ # meaningful only in the Source objects populated by the user (e.g. when filling
4415
+ # in a DerivedSource). Source objects supplied by the framework to the user don'
4416
+ # t have this field populated.
4460
4417
  # Corresponds to the JSON property `doesNotNeedSplitting`
4461
4418
  # @return [Boolean]
4462
4419
  attr_accessor :does_not_need_splitting
4463
4420
  alias_method :does_not_need_splitting?, :does_not_need_splitting
4464
4421
 
4465
- # Metadata about a Source useful for automatically optimizing
4466
- # and tuning the pipeline, etc.
4422
+ # Metadata about a Source useful for automatically optimizing and tuning the
4423
+ # pipeline, etc.
4467
4424
  # Corresponds to the JSON property `metadata`
4468
4425
  # @return [Google::Apis::DataflowV1b3::SourceMetadata]
4469
4426
  attr_accessor :metadata
@@ -4496,10 +4453,9 @@ module Google
4496
4453
  # @return [Google::Apis::DataflowV1b3::SourceSplitShard]
4497
4454
  attr_accessor :primary
4498
4455
 
4499
- # Specification of one of the bundles produced as a result of splitting
4500
- # a Source (e.g. when executing a SourceSplitRequest, or when
4501
- # splitting an active task using WorkItemStatus.dynamic_source_split),
4502
- # relative to the source being split.
4456
+ # Specification of one of the bundles produced as a result of splitting a Source
4457
+ # (e.g. when executing a SourceSplitRequest, or when splitting an active task
4458
+ # using WorkItemStatus.dynamic_source_split), relative to the source being split.
4503
4459
  # Corresponds to the JSON property `primarySource`
4504
4460
  # @return [Google::Apis::DataflowV1b3::DerivedSource]
4505
4461
  attr_accessor :primary_source
@@ -4509,10 +4465,9 @@ module Google
4509
4465
  # @return [Google::Apis::DataflowV1b3::SourceSplitShard]
4510
4466
  attr_accessor :residual
4511
4467
 
4512
- # Specification of one of the bundles produced as a result of splitting
4513
- # a Source (e.g. when executing a SourceSplitRequest, or when
4514
- # splitting an active task using WorkItemStatus.dynamic_source_split),
4515
- # relative to the source being split.
4468
+ # Specification of one of the bundles produced as a result of splitting a Source
4469
+ # (e.g. when executing a SourceSplitRequest, or when splitting an active task
4470
+ # using WorkItemStatus.dynamic_source_split), relative to the source being split.
4516
4471
  # Corresponds to the JSON property `residualSource`
4517
4472
  # @return [Google::Apis::DataflowV1b3::DerivedSource]
4518
4473
  attr_accessor :residual_source
@@ -4553,8 +4508,8 @@ module Google
4553
4508
  class SourceGetMetadataResponse
4554
4509
  include Google::Apis::Core::Hashable
4555
4510
 
4556
- # Metadata about a Source useful for automatically optimizing
4557
- # and tuning the pipeline, etc.
4511
+ # Metadata about a Source useful for automatically optimizing and tuning the
4512
+ # pipeline, etc.
4558
4513
  # Corresponds to the JSON property `metadata`
4559
4514
  # @return [Google::Apis::DataflowV1b3::SourceMetadata]
4560
4515
  attr_accessor :metadata
@@ -4569,27 +4524,27 @@ module Google
4569
4524
  end
4570
4525
  end
4571
4526
 
4572
- # Metadata about a Source useful for automatically optimizing
4573
- # and tuning the pipeline, etc.
4527
+ # Metadata about a Source useful for automatically optimizing and tuning the
4528
+ # pipeline, etc.
4574
4529
  class SourceMetadata
4575
4530
  include Google::Apis::Core::Hashable
4576
4531
 
4577
- # An estimate of the total size (in bytes) of the data that would be
4578
- # read from this source. This estimate is in terms of external storage
4579
- # size, before any decompression or other processing done by the reader.
4532
+ # An estimate of the total size (in bytes) of the data that would be read from
4533
+ # this source. This estimate is in terms of external storage size, before any
4534
+ # decompression or other processing done by the reader.
4580
4535
  # Corresponds to the JSON property `estimatedSizeBytes`
4581
4536
  # @return [Fixnum]
4582
4537
  attr_accessor :estimated_size_bytes
4583
4538
 
4584
- # Specifies that the size of this source is known to be infinite
4585
- # (this is a streaming source).
4539
+ # Specifies that the size of this source is known to be infinite (this is a
4540
+ # streaming source).
4586
4541
  # Corresponds to the JSON property `infinite`
4587
4542
  # @return [Boolean]
4588
4543
  attr_accessor :infinite
4589
4544
  alias_method :infinite?, :infinite
4590
4545
 
4591
- # Whether this source is known to produce key/value pairs with
4592
- # the (encoded) keys in lexicographically sorted order.
4546
+ # Whether this source is known to produce key/value pairs with the (encoded)
4547
+ # keys in lexicographically sorted order.
4593
4548
  # Corresponds to the JSON property `producesSortedKeys`
4594
4549
  # @return [Boolean]
4595
4550
  attr_accessor :produces_sorted_keys
@@ -4607,8 +4562,8 @@ module Google
4607
4562
  end
4608
4563
  end
4609
4564
 
4610
- # A work item that represents the different operations that can be
4611
- # performed on a user-defined Source specification.
4565
+ # A work item that represents the different operations that can be performed on
4566
+ # a user-defined Source specification.
4612
4567
  class SourceOperationRequest
4613
4568
  include Google::Apis::Core::Hashable
4614
4569
 
@@ -4622,36 +4577,34 @@ module Google
4622
4577
  # @return [String]
4623
4578
  attr_accessor :name
4624
4579
 
4625
- # System-defined name for the Read instruction for this source
4626
- # in the original workflow graph.
4580
+ # System-defined name for the Read instruction for this source in the original
4581
+ # workflow graph.
4627
4582
  # Corresponds to the JSON property `originalName`
4628
4583
  # @return [String]
4629
4584
  attr_accessor :original_name
4630
4585
 
4631
- # Represents the operation to split a high-level Source specification
4632
- # into bundles (parts for parallel processing).
4633
- # At a high level, splitting of a source into bundles happens as follows:
4634
- # SourceSplitRequest is applied to the source. If it returns
4635
- # SOURCE_SPLIT_OUTCOME_USE_CURRENT, no further splitting happens and the source
4636
- # is used "as is". Otherwise, splitting is applied recursively to each
4637
- # produced DerivedSource.
4638
- # As an optimization, for any Source, if its does_not_need_splitting is
4639
- # true, the framework assumes that splitting this source would return
4640
- # SOURCE_SPLIT_OUTCOME_USE_CURRENT, and doesn't initiate a SourceSplitRequest.
4641
- # This applies both to the initial source being split and to bundles
4642
- # produced from it.
4586
+ # Represents the operation to split a high-level Source specification into
4587
+ # bundles (parts for parallel processing). At a high level, splitting of a
4588
+ # source into bundles happens as follows: SourceSplitRequest is applied to the
4589
+ # source. If it returns SOURCE_SPLIT_OUTCOME_USE_CURRENT, no further splitting
4590
+ # happens and the source is used "as is". Otherwise, splitting is applied
4591
+ # recursively to each produced DerivedSource. As an optimization, for any Source,
4592
+ # if its does_not_need_splitting is true, the framework assumes that splitting
4593
+ # this source would return SOURCE_SPLIT_OUTCOME_USE_CURRENT, and doesn't
4594
+ # initiate a SourceSplitRequest. This applies both to the initial source being
4595
+ # split and to bundles produced from it.
4643
4596
  # Corresponds to the JSON property `split`
4644
4597
  # @return [Google::Apis::DataflowV1b3::SourceSplitRequest]
4645
4598
  attr_accessor :split
4646
4599
 
4647
- # System-defined name of the stage containing the source operation.
4648
- # Unique across the workflow.
4600
+ # System-defined name of the stage containing the source operation. Unique
4601
+ # across the workflow.
4649
4602
  # Corresponds to the JSON property `stageName`
4650
4603
  # @return [String]
4651
4604
  attr_accessor :stage_name
4652
4605
 
4653
- # System-defined name of the Read instruction for this source.
4654
- # Unique across the workflow.
4606
+ # System-defined name of the Read instruction for this source. Unique across the
4607
+ # workflow.
4655
4608
  # Corresponds to the JSON property `systemName`
4656
4609
  # @return [String]
4657
4610
  attr_accessor :system_name
@@ -4672,8 +4625,7 @@ module Google
4672
4625
  end
4673
4626
 
4674
4627
  # The result of a SourceOperationRequest, specified in
4675
- # ReportWorkItemStatusRequest.source_operation when the work item
4676
- # is completed.
4628
+ # ReportWorkItemStatusRequest.source_operation when the work item is completed.
4677
4629
  class SourceOperationResponse
4678
4630
  include Google::Apis::Core::Hashable
4679
4631
 
@@ -4698,13 +4650,13 @@ module Google
4698
4650
  end
4699
4651
  end
4700
4652
 
4701
- # Hints for splitting a Source into bundles (parts for parallel
4702
- # processing) using SourceSplitRequest.
4653
+ # Hints for splitting a Source into bundles (parts for parallel processing)
4654
+ # using SourceSplitRequest.
4703
4655
  class SourceSplitOptions
4704
4656
  include Google::Apis::Core::Hashable
4705
4657
 
4706
- # The source should be split into a set of bundles where the estimated size
4707
- # of each is approximately this many bytes.
4658
+ # The source should be split into a set of bundles where the estimated size of
4659
+ # each is approximately this many bytes.
4708
4660
  # Corresponds to the JSON property `desiredBundleSizeBytes`
4709
4661
  # @return [Fixnum]
4710
4662
  attr_accessor :desired_bundle_size_bytes
@@ -4725,23 +4677,21 @@ module Google
4725
4677
  end
4726
4678
  end
4727
4679
 
4728
- # Represents the operation to split a high-level Source specification
4729
- # into bundles (parts for parallel processing).
4730
- # At a high level, splitting of a source into bundles happens as follows:
4731
- # SourceSplitRequest is applied to the source. If it returns
4732
- # SOURCE_SPLIT_OUTCOME_USE_CURRENT, no further splitting happens and the source
4733
- # is used "as is". Otherwise, splitting is applied recursively to each
4734
- # produced DerivedSource.
4735
- # As an optimization, for any Source, if its does_not_need_splitting is
4736
- # true, the framework assumes that splitting this source would return
4737
- # SOURCE_SPLIT_OUTCOME_USE_CURRENT, and doesn't initiate a SourceSplitRequest.
4738
- # This applies both to the initial source being split and to bundles
4739
- # produced from it.
4680
+ # Represents the operation to split a high-level Source specification into
4681
+ # bundles (parts for parallel processing). At a high level, splitting of a
4682
+ # source into bundles happens as follows: SourceSplitRequest is applied to the
4683
+ # source. If it returns SOURCE_SPLIT_OUTCOME_USE_CURRENT, no further splitting
4684
+ # happens and the source is used "as is". Otherwise, splitting is applied
4685
+ # recursively to each produced DerivedSource. As an optimization, for any Source,
4686
+ # if its does_not_need_splitting is true, the framework assumes that splitting
4687
+ # this source would return SOURCE_SPLIT_OUTCOME_USE_CURRENT, and doesn't
4688
+ # initiate a SourceSplitRequest. This applies both to the initial source being
4689
+ # split and to bundles produced from it.
4740
4690
  class SourceSplitRequest
4741
4691
  include Google::Apis::Core::Hashable
4742
4692
 
4743
- # Hints for splitting a Source into bundles (parts for parallel
4744
- # processing) using SourceSplitRequest.
4693
+ # Hints for splitting a Source into bundles (parts for parallel processing)
4694
+ # using SourceSplitRequest.
4745
4695
  # Corresponds to the JSON property `options`
4746
4696
  # @return [Google::Apis::DataflowV1b3::SourceSplitOptions]
4747
4697
  attr_accessor :options
@@ -4766,18 +4716,18 @@ module Google
4766
4716
  class SourceSplitResponse
4767
4717
  include Google::Apis::Core::Hashable
4768
4718
 
4769
- # If outcome is SPLITTING_HAPPENED, then this is a list of bundles
4770
- # into which the source was split. Otherwise this field is ignored.
4771
- # This list can be empty, which means the source represents an empty input.
4719
+ # If outcome is SPLITTING_HAPPENED, then this is a list of bundles into which
4720
+ # the source was split. Otherwise this field is ignored. This list can be empty,
4721
+ # which means the source represents an empty input.
4772
4722
  # Corresponds to the JSON property `bundles`
4773
4723
  # @return [Array<Google::Apis::DataflowV1b3::DerivedSource>]
4774
4724
  attr_accessor :bundles
4775
4725
 
4776
- # Indicates whether splitting happened and produced a list of bundles.
4777
- # If this is USE_CURRENT_SOURCE_AS_IS, the current source should
4778
- # be processed "as is" without splitting. "bundles" is ignored in this case.
4779
- # If this is SPLITTING_HAPPENED, then "bundles" contains a list of
4780
- # bundles into which the source was split.
4726
+ # Indicates whether splitting happened and produced a list of bundles. If this
4727
+ # is USE_CURRENT_SOURCE_AS_IS, the current source should be processed "as is"
4728
+ # without splitting. "bundles" is ignored in this case. If this is
4729
+ # SPLITTING_HAPPENED, then "bundles" contains a list of bundles into which the
4730
+ # source was split.
4781
4731
  # Corresponds to the JSON property `outcome`
4782
4732
  # @return [String]
4783
4733
  attr_accessor :outcome
@@ -4855,8 +4805,8 @@ module Google
4855
4805
  end
4856
4806
  end
4857
4807
 
4858
- # A representation of an int64, n, that is immune to precision loss when
4859
- # encoded in JSON.
4808
+ # A representation of an int64, n, that is immune to precision loss when encoded
4809
+ # in JSON.
4860
4810
  class SplitInt64
4861
4811
  include Google::Apis::Core::Hashable
4862
4812
 
@@ -4881,6 +4831,32 @@ module Google
4881
4831
  end
4882
4832
  end
4883
4833
 
4834
+ # Information about the workers and work items within a stage.
4835
+ class StageExecutionDetails
4836
+ include Google::Apis::Core::Hashable
4837
+
4838
+ # If present, this response does not contain all requested tasks. To obtain the
4839
+ # next page of results, repeat the request with page_token set to this value.
4840
+ # Corresponds to the JSON property `nextPageToken`
4841
+ # @return [String]
4842
+ attr_accessor :next_page_token
4843
+
4844
+ # Workers that have done work on the stage.
4845
+ # Corresponds to the JSON property `workers`
4846
+ # @return [Array<Google::Apis::DataflowV1b3::WorkerDetails>]
4847
+ attr_accessor :workers
4848
+
4849
+ def initialize(**args)
4850
+ update!(**args)
4851
+ end
4852
+
4853
+ # Update properties of this object
4854
+ def update!(**args)
4855
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
4856
+ @workers = args[:workers] if args.key?(:workers)
4857
+ end
4858
+ end
4859
+
4884
4860
  # Description of an input or output of an execution stage.
4885
4861
  class StageSource
4886
4862
  include Google::Apis::Core::Hashable
@@ -4890,8 +4866,8 @@ module Google
4890
4866
  # @return [String]
4891
4867
  attr_accessor :name
4892
4868
 
4893
- # User name for the original user transform or collection with which this
4894
- # source is most closely associated.
4869
+ # User name for the original user transform or collection with which this source
4870
+ # is most closely associated.
4895
4871
  # Corresponds to the JSON property `originalTransformOrCollection`
4896
4872
  # @return [String]
4897
4873
  attr_accessor :original_transform_or_collection
@@ -4919,6 +4895,56 @@ module Google
4919
4895
  end
4920
4896
  end
4921
4897
 
4898
+ # Information about a particular execution stage of a job.
4899
+ class StageSummary
4900
+ include Google::Apis::Core::Hashable
4901
+
4902
+ # End time of this stage. If the work item is completed, this is the actual end
4903
+ # time of the stage. Otherwise, it is the predicted end time.
4904
+ # Corresponds to the JSON property `endTime`
4905
+ # @return [String]
4906
+ attr_accessor :end_time
4907
+
4908
+ # Metrics for this stage.
4909
+ # Corresponds to the JSON property `metrics`
4910
+ # @return [Array<Google::Apis::DataflowV1b3::MetricUpdate>]
4911
+ attr_accessor :metrics
4912
+
4913
+ # Information about the progress of some component of job execution.
4914
+ # Corresponds to the JSON property `progress`
4915
+ # @return [Google::Apis::DataflowV1b3::ProgressTimeseries]
4916
+ attr_accessor :progress
4917
+
4918
+ # ID of this stage
4919
+ # Corresponds to the JSON property `stageId`
4920
+ # @return [String]
4921
+ attr_accessor :stage_id
4922
+
4923
+ # Start time of this stage.
4924
+ # Corresponds to the JSON property `startTime`
4925
+ # @return [String]
4926
+ attr_accessor :start_time
4927
+
4928
+ # State of this stage.
4929
+ # Corresponds to the JSON property `state`
4930
+ # @return [String]
4931
+ attr_accessor :state
4932
+
4933
+ def initialize(**args)
4934
+ update!(**args)
4935
+ end
4936
+
4937
+ # Update properties of this object
4938
+ def update!(**args)
4939
+ @end_time = args[:end_time] if args.key?(:end_time)
4940
+ @metrics = args[:metrics] if args.key?(:metrics)
4941
+ @progress = args[:progress] if args.key?(:progress)
4942
+ @stage_id = args[:stage_id] if args.key?(:stage_id)
4943
+ @start_time = args[:start_time] if args.key?(:start_time)
4944
+ @state = args[:state] if args.key?(:state)
4945
+ end
4946
+ end
4947
+
4922
4948
  # State family configuration.
4923
4949
  class StateFamilyConfig
4924
4950
  include Google::Apis::Core::Hashable
@@ -4945,12 +4971,12 @@ module Google
4945
4971
  end
4946
4972
  end
4947
4973
 
4948
- # The `Status` type defines a logical error model that is suitable for
4949
- # different programming environments, including REST APIs and RPC APIs. It is
4950
- # used by [gRPC](https://github.com/grpc). Each `Status` message contains
4951
- # three pieces of data: error code, error message, and error details.
4952
- # You can find out more about this error model and how to work with it in the
4953
- # [API Design Guide](https://cloud.google.com/apis/design/errors).
4974
+ # The `Status` type defines a logical error model that is suitable for different
4975
+ # programming environments, including REST APIs and RPC APIs. It is used by [
4976
+ # gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
4977
+ # data: error code, error message, and error details. You can find out more
4978
+ # about this error model and how to work with it in the [API Design Guide](https:
4979
+ # //cloud.google.com/apis/design/errors).
4954
4980
  class Status
4955
4981
  include Google::Apis::Core::Hashable
4956
4982
 
@@ -4959,15 +4985,15 @@ module Google
4959
4985
  # @return [Fixnum]
4960
4986
  attr_accessor :code
4961
4987
 
4962
- # A list of messages that carry the error details. There is a common set of
4988
+ # A list of messages that carry the error details. There is a common set of
4963
4989
  # message types for APIs to use.
4964
4990
  # Corresponds to the JSON property `details`
4965
4991
  # @return [Array<Hash<String,Object>>]
4966
4992
  attr_accessor :details
4967
4993
 
4968
- # A developer-facing error message, which should be in English. Any
4969
- # user-facing error message should be localized and sent in the
4970
- # google.rpc.Status.details field, or localized by the client.
4994
+ # A developer-facing error message, which should be in English. Any user-facing
4995
+ # error message should be localized and sent in the google.rpc.Status.details
4996
+ # field, or localized by the client.
4971
4997
  # Corresponds to the JSON property `message`
4972
4998
  # @return [String]
4973
4999
  attr_accessor :message
@@ -4984,23 +5010,17 @@ module Google
4984
5010
  end
4985
5011
  end
4986
5012
 
4987
- # Defines a particular step within a Cloud Dataflow job.
4988
- # A job consists of multiple steps, each of which performs some
4989
- # specific operation as part of the overall job. Data is typically
4990
- # passed from one step to another as part of the job.
4991
- # Here's an example of a sequence of steps which together implement a
4992
- # Map-Reduce job:
4993
- # * Read a collection of data from some source, parsing the
4994
- # collection's elements.
4995
- # * Validate the elements.
4996
- # * Apply a user-defined function to map each element to some value
4997
- # and extract an element-specific key value.
4998
- # * Group elements with the same key into a single element with
4999
- # that key, transforming a multiply-keyed collection into a
5000
- # uniquely-keyed collection.
5001
- # * Write the elements out to some data sink.
5002
- # Note that the Cloud Dataflow service may be used to run many different
5003
- # types of jobs, not just Map-Reduce.
5013
+ # Defines a particular step within a Cloud Dataflow job. A job consists of
5014
+ # multiple steps, each of which performs some specific operation as part of the
5015
+ # overall job. Data is typically passed from one step to another as part of the
5016
+ # job. Here's an example of a sequence of steps which together implement a Map-
5017
+ # Reduce job: * Read a collection of data from some source, parsing the
5018
+ # collection's elements. * Validate the elements. * Apply a user-defined
5019
+ # function to map each element to some value and extract an element-specific key
5020
+ # value. * Group elements with the same key into a single element with that key,
5021
+ # transforming a multiply-keyed collection into a uniquely-keyed collection. *
5022
+ # Write the elements out to some data sink. Note that the Cloud Dataflow service
5023
+ # may be used to run many different types of jobs, not just Map-Reduce.
5004
5024
  class Step
5005
5025
  include Google::Apis::Core::Hashable
5006
5026
 
@@ -5009,15 +5029,15 @@ module Google
5009
5029
  # @return [String]
5010
5030
  attr_accessor :kind
5011
5031
 
5012
- # The name that identifies the step. This must be unique for each
5013
- # step with respect to all other steps in the Cloud Dataflow job.
5032
+ # The name that identifies the step. This must be unique for each step with
5033
+ # respect to all other steps in the Cloud Dataflow job.
5014
5034
  # Corresponds to the JSON property `name`
5015
5035
  # @return [String]
5016
5036
  attr_accessor :name
5017
5037
 
5018
- # Named properties associated with the step. Each kind of
5019
- # predefined step has its own required set of properties.
5020
- # Must be provided on Create. Only retrieved with JOB_VIEW_ALL.
5038
+ # Named properties associated with the step. Each kind of predefined step has
5039
+ # its own required set of properties. Must be provided on Create. Only retrieved
5040
+ # with JOB_VIEW_ALL.
5021
5041
  # Corresponds to the JSON property `properties`
5022
5042
  # @return [Hash<String,Object>]
5023
5043
  attr_accessor :properties
@@ -5034,8 +5054,8 @@ module Google
5034
5054
  end
5035
5055
  end
5036
5056
 
5037
- # Describes a stream of data, either as input to be processed or as
5038
- # output of a streaming Dataflow job.
5057
+ # Describes a stream of data, either as input to be processed or as output of a
5058
+ # streaming Dataflow job.
5039
5059
  class StreamLocation
5040
5060
  include Google::Apis::Core::Hashable
5041
5061
 
@@ -5044,8 +5064,8 @@ module Google
5044
5064
  # @return [Google::Apis::DataflowV1b3::CustomSourceLocation]
5045
5065
  attr_accessor :custom_source_location
5046
5066
 
5047
- # Identifies a pubsub location to use for transferring data into or
5048
- # out of a streaming Dataflow job.
5067
+ # Identifies a pubsub location to use for transferring data into or out of a
5068
+ # streaming Dataflow job.
5049
5069
  # Corresponds to the JSON property `pubsubLocation`
5050
5070
  # @return [Google::Apis::DataflowV1b3::PubsubLocation]
5051
5071
  attr_accessor :pubsub_location
@@ -5055,8 +5075,8 @@ module Google
5055
5075
  # @return [Google::Apis::DataflowV1b3::StreamingSideInputLocation]
5056
5076
  attr_accessor :side_input_location
5057
5077
 
5058
- # Identifies the location of a streaming computation stage, for
5059
- # stage-to-stage communication.
5078
+ # Identifies the location of a streaming computation stage, for stage-to-stage
5079
+ # communication.
5060
5080
  # Corresponds to the JSON property `streamingStageLocation`
5061
5081
  # @return [Google::Apis::DataflowV1b3::StreamingStageLocation]
5062
5082
  attr_accessor :streaming_stage_location
@@ -5123,8 +5143,7 @@ module Google
5123
5143
  # @return [String]
5124
5144
  attr_accessor :system_name
5125
5145
 
5126
- # Map from user name of stateful transforms in this stage to their state
5127
- # family.
5146
+ # Map from user name of stateful transforms in this stage to their state family.
5128
5147
  # Corresponds to the JSON property `transformUserNameToStateFamily`
5129
5148
  # @return [Hash<String,String>]
5130
5149
  attr_accessor :transform_user_name_to_state_family
@@ -5237,9 +5256,8 @@ module Google
5237
5256
  # @return [String]
5238
5257
  attr_accessor :windmill_service_endpoint
5239
5258
 
5240
- # If present, the worker must use this port to communicate with Windmill
5241
- # Service dispatchers. Only applicable when windmill_service_endpoint is
5242
- # specified.
5259
+ # If present, the worker must use this port to communicate with Windmill Service
5260
+ # dispatchers. Only applicable when windmill_service_endpoint is specified.
5243
5261
  # Corresponds to the JSON property `windmillServicePort`
5244
5262
  # @return [Fixnum]
5245
5263
  attr_accessor :windmill_service_port
@@ -5270,8 +5288,8 @@ module Google
5270
5288
  attr_accessor :drain
5271
5289
  alias_method :drain?, :drain
5272
5290
 
5273
- # The TCP port on which the worker should listen for messages from
5274
- # other streaming computation workers.
5291
+ # The TCP port on which the worker should listen for messages from other
5292
+ # streaming computation workers.
5275
5293
  # Corresponds to the JSON property `receiveWorkPort`
5276
5294
  # @return [Fixnum]
5277
5295
  attr_accessor :receive_work_port
@@ -5281,14 +5299,14 @@ module Google
5281
5299
  # @return [Google::Apis::DataflowV1b3::StreamingApplianceSnapshotConfig]
5282
5300
  attr_accessor :snapshot_config
5283
5301
 
5284
- # Global topology of the streaming Dataflow job, including all
5285
- # computations and their sharded locations.
5302
+ # Global topology of the streaming Dataflow job, including all computations and
5303
+ # their sharded locations.
5286
5304
  # Corresponds to the JSON property `streamingComputationTopology`
5287
5305
  # @return [Google::Apis::DataflowV1b3::TopologyConfig]
5288
5306
  attr_accessor :streaming_computation_topology
5289
5307
 
5290
- # The TCP port used by the worker to communicate with the Dataflow
5291
- # worker harness.
5308
+ # The TCP port used by the worker to communicate with the Dataflow worker
5309
+ # harness.
5292
5310
  # Corresponds to the JSON property `workerHarnessPort`
5293
5311
  # @return [Fixnum]
5294
5312
  attr_accessor :worker_harness_port
@@ -5332,13 +5350,12 @@ module Google
5332
5350
  end
5333
5351
  end
5334
5352
 
5335
- # Identifies the location of a streaming computation stage, for
5336
- # stage-to-stage communication.
5353
+ # Identifies the location of a streaming computation stage, for stage-to-stage
5354
+ # communication.
5337
5355
  class StreamingStageLocation
5338
5356
  include Google::Apis::Core::Hashable
5339
5357
 
5340
- # Identifies the particular stream within the streaming Dataflow
5341
- # job.
5358
+ # Identifies the particular stream within the streaming Dataflow job.
5342
5359
  # Corresponds to the JSON property `streamId`
5343
5360
  # @return [String]
5344
5361
  attr_accessor :stream_id
@@ -5378,8 +5395,8 @@ module Google
5378
5395
  class StructuredMessage
5379
5396
  include Google::Apis::Core::Hashable
5380
5397
 
5381
- # Identifier for this message type. Used by external systems to
5382
- # internationalize or personalize message.
5398
+ # Identifier for this message type. Used by external systems to internationalize
5399
+ # or personalize message.
5383
5400
  # Corresponds to the JSON property `messageKey`
5384
5401
  # @return [String]
5385
5402
  attr_accessor :message_key
@@ -5421,13 +5438,12 @@ module Google
5421
5438
  # @return [String]
5422
5439
  attr_accessor :base_task_dir
5423
5440
 
5424
- # The base URL for the taskrunner to use when accessing Google Cloud APIs.
5425
- # When workers access Google Cloud APIs, they logically do so via
5426
- # relative URLs. If this field is specified, it supplies the base
5427
- # URL to use for resolving these relative URLs. The normative
5428
- # algorithm used is defined by RFC 1808, "Relative Uniform Resource
5429
- # Locators".
5430
- # If not specified, the default value is "http://www.googleapis.com/"
5441
+ # The base URL for the taskrunner to use when accessing Google Cloud APIs. When
5442
+ # workers access Google Cloud APIs, they logically do so via relative URLs. If
5443
+ # this field is specified, it supplies the base URL to use for resolving these
5444
+ # relative URLs. The normative algorithm used is defined by RFC 1808, "Relative
5445
+ # Uniform Resource Locators". If not specified, the default value is "http://www.
5446
+ # googleapis.com/"
5431
5447
  # Corresponds to the JSON property `baseUrl`
5432
5448
  # @return [String]
5433
5449
  attr_accessor :base_url
@@ -5463,25 +5479,21 @@ module Google
5463
5479
  # @return [String]
5464
5480
  attr_accessor :log_dir
5465
5481
 
5466
- # Whether to send taskrunner log info to Google Compute Engine VM serial
5467
- # console.
5482
+ # Whether to send taskrunner log info to Google Compute Engine VM serial console.
5468
5483
  # Corresponds to the JSON property `logToSerialconsole`
5469
5484
  # @return [Boolean]
5470
5485
  attr_accessor :log_to_serialconsole
5471
5486
  alias_method :log_to_serialconsole?, :log_to_serialconsole
5472
5487
 
5473
- # Indicates where to put logs. If this is not specified, the logs
5474
- # will not be uploaded.
5475
- # The supported resource type is:
5476
- # Google Cloud Storage:
5477
- # storage.googleapis.com/`bucket`/`object`
5478
- # bucket.storage.googleapis.com/`object`
5488
+ # Indicates where to put logs. If this is not specified, the logs will not be
5489
+ # uploaded. The supported resource type is: Google Cloud Storage: storage.
5490
+ # googleapis.com/`bucket`/`object` bucket.storage.googleapis.com/`object`
5479
5491
  # Corresponds to the JSON property `logUploadLocation`
5480
5492
  # @return [String]
5481
5493
  attr_accessor :log_upload_location
5482
5494
 
5483
- # The OAuth2 scopes to be requested by the taskrunner in order to
5484
- # access the Cloud Dataflow API.
5495
+ # The OAuth2 scopes to be requested by the taskrunner in order to access the
5496
+ # Cloud Dataflow API.
5485
5497
  # Corresponds to the JSON property `oauthScopes`
5486
5498
  # @return [Array<String>]
5487
5499
  attr_accessor :oauth_scopes
@@ -5496,24 +5508,21 @@ module Google
5496
5508
  # @return [String]
5497
5509
  attr_accessor :streaming_worker_main_class
5498
5510
 
5499
- # The UNIX group ID on the worker VM to use for tasks launched by
5500
- # taskrunner; e.g. "wheel".
5511
+ # The UNIX group ID on the worker VM to use for tasks launched by taskrunner; e.
5512
+ # g. "wheel".
5501
5513
  # Corresponds to the JSON property `taskGroup`
5502
5514
  # @return [String]
5503
5515
  attr_accessor :task_group
5504
5516
 
5505
- # The UNIX user ID on the worker VM to use for tasks launched by
5506
- # taskrunner; e.g. "root".
5517
+ # The UNIX user ID on the worker VM to use for tasks launched by taskrunner; e.g.
5518
+ # "root".
5507
5519
  # Corresponds to the JSON property `taskUser`
5508
5520
  # @return [String]
5509
5521
  attr_accessor :task_user
5510
5522
 
5511
- # The prefix of the resources the taskrunner should use for
5512
- # temporary storage.
5513
- # The supported resource type is:
5514
- # Google Cloud Storage:
5515
- # storage.googleapis.com/`bucket`/`object`
5516
- # bucket.storage.googleapis.com/`object`
5523
+ # The prefix of the resources the taskrunner should use for temporary storage.
5524
+ # The supported resource type is: Google Cloud Storage: storage.googleapis.com/`
5525
+ # bucket`/`object` bucket.storage.googleapis.com/`object`
5517
5526
  # Corresponds to the JSON property `tempStoragePrefix`
5518
5527
  # @return [String]
5519
5528
  attr_accessor :temp_storage_prefix
@@ -5587,15 +5596,14 @@ module Google
5587
5596
  end
5588
5597
  end
5589
5598
 
5590
- # /////////////////////////////////////////////////////////////////////////////
5591
- # //// Template Catalog is used to organize user TemplateVersions.
5592
- # //// TemplateVersions that have the same project_id and display_name are
5593
- # //// belong to the same Template.
5594
- # //// Templates with the same project_id belong to the same Project.
5595
- # //// TemplateVersion may have labels and multiple labels are allowed.
5596
- # //// Duplicated labels in the same `TemplateVersion` are not allowed.
5597
- # //// TemplateVersion may have tags and multiple tags are allowed. Duplicated
5598
- # //// tags in the same `Template` are not allowed!
5599
+ # ///////////////////////////////////////////////////////////////////////////// /
5600
+ # /// Template Catalog is used to organize user TemplateVersions. ////
5601
+ # TemplateVersions that have the same project_id and display_name are ////
5602
+ # belong to the same Template. //// Templates with the same project_id belong to
5603
+ # the same Project. //// TemplateVersion may have labels and multiple labels are
5604
+ # allowed. //// Duplicated labels in the same `TemplateVersion` are not allowed.
5605
+ # //// TemplateVersion may have tags and multiple tags are allowed. Duplicated //
5606
+ # // tags in the same `Template` are not allowed!
5599
5607
  class TemplateVersion
5600
5608
  include Google::Apis::Core::Hashable
5601
5609
 
@@ -5662,8 +5670,8 @@ module Google
5662
5670
  end
5663
5671
  end
5664
5672
 
5665
- # Global topology of the streaming Dataflow job, including all
5666
- # computations and their sharded locations.
5673
+ # Global topology of the streaming Dataflow job, including all computations and
5674
+ # their sharded locations.
5667
5675
  class TopologyConfig
5668
5676
  include Google::Apis::Core::Hashable
5669
5677
 
@@ -5735,7 +5743,7 @@ module Google
5735
5743
  # @return [String]
5736
5744
  attr_accessor :name
5737
5745
 
5738
- # User names for all collection outputs to this transform.
5746
+ # User names for all collection outputs to this transform.
5739
5747
  # Corresponds to the JSON property `outputCollectionName`
5740
5748
  # @return [Array<String>]
5741
5749
  attr_accessor :output_collection_name
@@ -5780,8 +5788,8 @@ module Google
5780
5788
  end
5781
5789
  end
5782
5790
 
5783
- # WorkItem represents basic information about a WorkItem to be executed
5784
- # in the cloud.
5791
+ # WorkItem represents basic information about a WorkItem to be executed in the
5792
+ # cloud.
5785
5793
  class WorkItem
5786
5794
  include Google::Apis::Core::Hashable
5787
5795
 
@@ -5810,17 +5818,16 @@ module Google
5810
5818
  # @return [String]
5811
5819
  attr_accessor :lease_expire_time
5812
5820
 
5813
- # MapTask consists of an ordered set of instructions, each of which
5814
- # describes one particular low-level operation for the worker to
5815
- # perform in order to accomplish the MapTask's WorkItem.
5816
- # Each instruction must appear in the list before any instructions which
5817
- # depends on its output.
5821
+ # MapTask consists of an ordered set of instructions, each of which describes
5822
+ # one particular low-level operation for the worker to perform in order to
5823
+ # accomplish the MapTask's WorkItem. Each instruction must appear in the list
5824
+ # before any instructions which depends on its output.
5818
5825
  # Corresponds to the JSON property `mapTask`
5819
5826
  # @return [Google::Apis::DataflowV1b3::MapTask]
5820
5827
  attr_accessor :map_task
5821
5828
 
5822
- # Any required packages that need to be fetched in order to execute
5823
- # this WorkItem.
5829
+ # Any required packages that need to be fetched in order to execute this
5830
+ # WorkItem.
5824
5831
  # Corresponds to the JSON property `packages`
5825
5832
  # @return [Array<Google::Apis::DataflowV1b3::Package>]
5826
5833
  attr_accessor :packages
@@ -5845,8 +5852,8 @@ module Google
5845
5852
  # @return [Google::Apis::DataflowV1b3::ShellTask]
5846
5853
  attr_accessor :shell_task
5847
5854
 
5848
- # A work item that represents the different operations that can be
5849
- # performed on a user-defined Source specification.
5855
+ # A work item that represents the different operations that can be performed on
5856
+ # a user-defined Source specification.
5850
5857
  # Corresponds to the JSON property `sourceOperationTask`
5851
5858
  # @return [Google::Apis::DataflowV1b3::SourceOperationRequest]
5852
5859
  attr_accessor :source_operation_task
@@ -5891,23 +5898,78 @@ module Google
5891
5898
  end
5892
5899
  end
5893
5900
 
5894
- # The Dataflow service's idea of the current state of a WorkItem
5895
- # being processed by a worker.
5901
+ # Information about an individual work item execution.
5902
+ class WorkItemDetails
5903
+ include Google::Apis::Core::Hashable
5904
+
5905
+ # Attempt ID of this work item
5906
+ # Corresponds to the JSON property `attemptId`
5907
+ # @return [String]
5908
+ attr_accessor :attempt_id
5909
+
5910
+ # End time of this work item attempt. If the work item is completed, this is the
5911
+ # actual end time of the work item. Otherwise, it is the predicted end time.
5912
+ # Corresponds to the JSON property `endTime`
5913
+ # @return [String]
5914
+ attr_accessor :end_time
5915
+
5916
+ # Metrics for this work item.
5917
+ # Corresponds to the JSON property `metrics`
5918
+ # @return [Array<Google::Apis::DataflowV1b3::MetricUpdate>]
5919
+ attr_accessor :metrics
5920
+
5921
+ # Information about the progress of some component of job execution.
5922
+ # Corresponds to the JSON property `progress`
5923
+ # @return [Google::Apis::DataflowV1b3::ProgressTimeseries]
5924
+ attr_accessor :progress
5925
+
5926
+ # Start time of this work item attempt.
5927
+ # Corresponds to the JSON property `startTime`
5928
+ # @return [String]
5929
+ attr_accessor :start_time
5930
+
5931
+ # State of this work item.
5932
+ # Corresponds to the JSON property `state`
5933
+ # @return [String]
5934
+ attr_accessor :state
5935
+
5936
+ # Name of this work item.
5937
+ # Corresponds to the JSON property `taskId`
5938
+ # @return [String]
5939
+ attr_accessor :task_id
5940
+
5941
+ def initialize(**args)
5942
+ update!(**args)
5943
+ end
5944
+
5945
+ # Update properties of this object
5946
+ def update!(**args)
5947
+ @attempt_id = args[:attempt_id] if args.key?(:attempt_id)
5948
+ @end_time = args[:end_time] if args.key?(:end_time)
5949
+ @metrics = args[:metrics] if args.key?(:metrics)
5950
+ @progress = args[:progress] if args.key?(:progress)
5951
+ @start_time = args[:start_time] if args.key?(:start_time)
5952
+ @state = args[:state] if args.key?(:state)
5953
+ @task_id = args[:task_id] if args.key?(:task_id)
5954
+ end
5955
+ end
5956
+
5957
+ # The Dataflow service's idea of the current state of a WorkItem being processed
5958
+ # by a worker.
5896
5959
  class WorkItemServiceState
5897
5960
  include Google::Apis::Core::Hashable
5898
5961
 
5899
- # The `Status` type defines a logical error model that is suitable for
5900
- # different programming environments, including REST APIs and RPC APIs. It is
5901
- # used by [gRPC](https://github.com/grpc). Each `Status` message contains
5902
- # three pieces of data: error code, error message, and error details.
5903
- # You can find out more about this error model and how to work with it in the
5904
- # [API Design Guide](https://cloud.google.com/apis/design/errors).
5962
+ # The `Status` type defines a logical error model that is suitable for different
5963
+ # programming environments, including REST APIs and RPC APIs. It is used by [
5964
+ # gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
5965
+ # data: error code, error message, and error details. You can find out more
5966
+ # about this error model and how to work with it in the [API Design Guide](https:
5967
+ # //cloud.google.com/apis/design/errors).
5905
5968
  # Corresponds to the JSON property `completeWorkStatus`
5906
5969
  # @return [Google::Apis::DataflowV1b3::Status]
5907
5970
  attr_accessor :complete_work_status
5908
5971
 
5909
- # Other data returned by the service, specific to the particular
5910
- # worker harness.
5972
+ # Other data returned by the service, specific to the particular worker harness.
5911
5973
  # Corresponds to the JSON property `harnessData`
5912
5974
  # @return [Hash<String,Object>]
5913
5975
  attr_accessor :harness_data
@@ -5922,19 +5984,18 @@ module Google
5922
5984
  # @return [String]
5923
5985
  attr_accessor :lease_expire_time
5924
5986
 
5925
- # The short ids that workers should use in subsequent metric updates.
5926
- # Workers should strive to use short ids whenever possible, but it is ok
5927
- # to request the short_id again if a worker lost track of it
5928
- # (e.g. if the worker is recovering from a crash).
5929
- # NOTE: it is possible that the response may have short ids for a subset
5930
- # of the metrics.
5987
+ # The short ids that workers should use in subsequent metric updates. Workers
5988
+ # should strive to use short ids whenever possible, but it is ok to request the
5989
+ # short_id again if a worker lost track of it (e.g. if the worker is recovering
5990
+ # from a crash). NOTE: it is possible that the response may have short ids for a
5991
+ # subset of the metrics.
5931
5992
  # Corresponds to the JSON property `metricShortId`
5932
5993
  # @return [Array<Google::Apis::DataflowV1b3::MetricShortId>]
5933
5994
  attr_accessor :metric_short_id
5934
5995
 
5935
- # The index value to use for the next report sent by the worker.
5936
- # Note: If the report call fails for whatever reason, the worker should
5937
- # reuse this index for subsequent report attempts.
5996
+ # The index value to use for the next report sent by the worker. Note: If the
5997
+ # report call fails for whatever reason, the worker should reuse this index for
5998
+ # subsequent report attempts.
5938
5999
  # Corresponds to the JSON property `nextReportIndex`
5939
6000
  # @return [Fixnum]
5940
6001
  attr_accessor :next_report_index
@@ -5954,9 +6015,9 @@ module Google
5954
6015
  # @return [Google::Apis::DataflowV1b3::ApproximateProgress]
5955
6016
  attr_accessor :suggested_stop_point
5956
6017
 
5957
- # Position defines a position within a collection of data. The value
5958
- # can be either the end position, a key (used with ordered
5959
- # collections), a byte offset, or a record index.
6018
+ # Position defines a position within a collection of data. The value can be
6019
+ # either the end position, a key (used with ordered collections), a byte offset,
6020
+ # or a record index.
5960
6021
  # Corresponds to the JSON property `suggestedStopPosition`
5961
6022
  # @return [Google::Apis::DataflowV1b3::Position]
5962
6023
  attr_accessor :suggested_stop_position
@@ -5995,16 +6056,15 @@ module Google
5995
6056
  # @return [Array<Google::Apis::DataflowV1b3::CounterUpdate>]
5996
6057
  attr_accessor :counter_updates
5997
6058
 
5998
- # When a task splits using WorkItemStatus.dynamic_source_split, this
5999
- # message describes the two parts of the split relative to the
6000
- # description of the current task's input.
6059
+ # When a task splits using WorkItemStatus.dynamic_source_split, this message
6060
+ # describes the two parts of the split relative to the description of the
6061
+ # current task's input.
6001
6062
  # Corresponds to the JSON property `dynamicSourceSplit`
6002
6063
  # @return [Google::Apis::DataflowV1b3::DynamicSourceSplit]
6003
6064
  attr_accessor :dynamic_source_split
6004
6065
 
6005
- # Specifies errors which occurred during processing. If errors are
6006
- # provided, and completed = true, then the WorkItem is considered
6007
- # to have failed.
6066
+ # Specifies errors which occurred during processing. If errors are provided, and
6067
+ # completed = true, then the WorkItem is considered to have failed.
6008
6068
  # Corresponds to the JSON property `errors`
6009
6069
  # @return [Array<Google::Apis::DataflowV1b3::Status>]
6010
6070
  attr_accessor :errors
@@ -6019,16 +6079,14 @@ module Google
6019
6079
  # @return [Google::Apis::DataflowV1b3::ApproximateProgress]
6020
6080
  attr_accessor :progress
6021
6081
 
6022
- # The report index. When a WorkItem is leased, the lease will
6023
- # contain an initial report index. When a WorkItem's status is
6024
- # reported to the system, the report should be sent with
6025
- # that report index, and the response will contain the index the
6026
- # worker should use for the next report. Reports received with
6027
- # unexpected index values will be rejected by the service.
6028
- # In order to preserve idempotency, the worker should not alter the
6029
- # contents of a report, even if the worker must submit the same
6030
- # report multiple times before getting back a response. The worker
6031
- # should not submit a subsequent report until the response for the
6082
+ # The report index. When a WorkItem is leased, the lease will contain an initial
6083
+ # report index. When a WorkItem's status is reported to the system, the report
6084
+ # should be sent with that report index, and the response will contain the index
6085
+ # the worker should use for the next report. Reports received with unexpected
6086
+ # index values will be rejected by the service. In order to preserve idempotency,
6087
+ # the worker should not alter the contents of a report, even if the worker must
6088
+ # submit the same report multiple times before getting back a response. The
6089
+ # worker should not submit a subsequent report until the response for the
6032
6090
  # previous report had been received from the service.
6033
6091
  # Corresponds to the JSON property `reportIndex`
6034
6092
  # @return [Fixnum]
@@ -6050,15 +6108,14 @@ module Google
6050
6108
  attr_accessor :source_fork
6051
6109
 
6052
6110
  # The result of a SourceOperationRequest, specified in
6053
- # ReportWorkItemStatusRequest.source_operation when the work item
6054
- # is completed.
6111
+ # ReportWorkItemStatusRequest.source_operation when the work item is completed.
6055
6112
  # Corresponds to the JSON property `sourceOperationResponse`
6056
6113
  # @return [Google::Apis::DataflowV1b3::SourceOperationResponse]
6057
6114
  attr_accessor :source_operation_response
6058
6115
 
6059
- # Position defines a position within a collection of data. The value
6060
- # can be either the end position, a key (used with ordered
6061
- # collections), a byte offset, or a record index.
6116
+ # Position defines a position within a collection of data. The value can be
6117
+ # either the end position, a key (used with ordered collections), a byte offset,
6118
+ # or a record index.
6062
6119
  # Corresponds to the JSON property `stopPosition`
6063
6120
  # @return [Google::Apis::DataflowV1b3::Position]
6064
6121
  attr_accessor :stop_position
@@ -6096,9 +6153,34 @@ module Google
6096
6153
  end
6097
6154
  end
6098
6155
 
6099
- # WorkerHealthReport contains information about the health of a worker.
6100
- # The VM should be identified by the labels attached to the WorkerMessage that
6101
- # this health ping belongs to.
6156
+ # Information about a worker
6157
+ class WorkerDetails
6158
+ include Google::Apis::Core::Hashable
6159
+
6160
+ # Work items processed by this worker, sorted by time.
6161
+ # Corresponds to the JSON property `workItems`
6162
+ # @return [Array<Google::Apis::DataflowV1b3::WorkItemDetails>]
6163
+ attr_accessor :work_items
6164
+
6165
+ # Name of this worker
6166
+ # Corresponds to the JSON property `workerName`
6167
+ # @return [String]
6168
+ attr_accessor :worker_name
6169
+
6170
+ def initialize(**args)
6171
+ update!(**args)
6172
+ end
6173
+
6174
+ # Update properties of this object
6175
+ def update!(**args)
6176
+ @work_items = args[:work_items] if args.key?(:work_items)
6177
+ @worker_name = args[:worker_name] if args.key?(:worker_name)
6178
+ end
6179
+ end
6180
+
6181
+ # WorkerHealthReport contains information about the health of a worker. The VM
6182
+ # should be identified by the labels attached to the WorkerMessage that this
6183
+ # health ping belongs to.
6102
6184
  class WorkerHealthReport
6103
6185
  include Google::Apis::Core::Hashable
6104
6186
 
@@ -6107,24 +6189,22 @@ module Google
6107
6189
  # @return [String]
6108
6190
  attr_accessor :msg
6109
6191
 
6110
- # The pods running on the worker. See:
6111
- # http://kubernetes.io/v1.1/docs/api-reference/v1/definitions.html#_v1_pod
6112
- # This field is used by the worker to send the status of the indvidual
6113
- # containers running on each worker.
6192
+ # The pods running on the worker. See: http://kubernetes.io/v1.1/docs/api-
6193
+ # reference/v1/definitions.html#_v1_pod This field is used by the worker to send
6194
+ # the status of the indvidual containers running on each worker.
6114
6195
  # Corresponds to the JSON property `pods`
6115
6196
  # @return [Array<Hash<String,Object>>]
6116
6197
  attr_accessor :pods
6117
6198
 
6118
- # The interval at which the worker is sending health reports.
6119
- # The default value of 0 should be interpreted as the field is not being
6120
- # explicitly set by the worker.
6199
+ # The interval at which the worker is sending health reports. The default value
6200
+ # of 0 should be interpreted as the field is not being explicitly set by the
6201
+ # worker.
6121
6202
  # Corresponds to the JSON property `reportInterval`
6122
6203
  # @return [String]
6123
6204
  attr_accessor :report_interval
6124
6205
 
6125
- # Whether the VM is in a permanently broken state.
6126
- # Broken VMs should be abandoned or deleted ASAP to avoid assigning or
6127
- # completing any work.
6206
+ # Whether the VM is in a permanently broken state. Broken VMs should be
6207
+ # abandoned or deleted ASAP to avoid assigning or completing any work.
6128
6208
  # Corresponds to the JSON property `vmIsBroken`
6129
6209
  # @return [Boolean]
6130
6210
  attr_accessor :vm_is_broken
@@ -6156,15 +6236,14 @@ module Google
6156
6236
  end
6157
6237
  end
6158
6238
 
6159
- # WorkerHealthReportResponse contains information returned to the worker
6160
- # in response to a health ping.
6239
+ # WorkerHealthReportResponse contains information returned to the worker in
6240
+ # response to a health ping.
6161
6241
  class WorkerHealthReportResponse
6162
6242
  include Google::Apis::Core::Hashable
6163
6243
 
6164
- # A positive value indicates the worker should change its reporting interval
6165
- # to the specified value.
6166
- # The default value of zero means no change in report rate is requested by
6167
- # the server.
6244
+ # A positive value indicates the worker should change its reporting interval to
6245
+ # the specified value. The default value of zero means no change in report rate
6246
+ # is requested by the server.
6168
6247
  # Corresponds to the JSON property `reportInterval`
6169
6248
  # @return [String]
6170
6249
  attr_accessor :report_interval
@@ -6179,17 +6258,16 @@ module Google
6179
6258
  end
6180
6259
  end
6181
6260
 
6182
- # A report of an event in a worker's lifecycle.
6183
- # The proto contains one event, because the worker is expected to
6184
- # asynchronously send each message immediately after the event.
6185
- # Due to this asynchrony, messages may arrive out of order (or missing), and it
6186
- # is up to the consumer to interpret.
6187
- # The timestamp of the event is in the enclosing WorkerMessage proto.
6261
+ # A report of an event in a worker's lifecycle. The proto contains one event,
6262
+ # because the worker is expected to asynchronously send each message immediately
6263
+ # after the event. Due to this asynchrony, messages may arrive out of order (or
6264
+ # missing), and it is up to the consumer to interpret. The timestamp of the
6265
+ # event is in the enclosing WorkerMessage proto.
6188
6266
  class WorkerLifecycleEvent
6189
6267
  include Google::Apis::Core::Hashable
6190
6268
 
6191
- # The start time of this container. All events will report this so that
6192
- # events can be grouped together across container/VM restarts.
6269
+ # The start time of this container. All events will report this so that events
6270
+ # can be grouped together across container/VM restarts.
6193
6271
  # Corresponds to the JSON property `containerStartTime`
6194
6272
  # @return [String]
6195
6273
  attr_accessor :container_start_time
@@ -6199,8 +6277,7 @@ module Google
6199
6277
  # @return [String]
6200
6278
  attr_accessor :event
6201
6279
 
6202
- # Other stats that can accompany an event. E.g.
6203
- # ` "downloaded_bytes" : "123456" `
6280
+ # Other stats that can accompany an event. E.g. ` "downloaded_bytes" : "123456" `
6204
6281
  # Corresponds to the JSON property `metadata`
6205
6282
  # @return [Hash<String,String>]
6206
6283
  attr_accessor :metadata
@@ -6221,16 +6298,12 @@ module Google
6221
6298
  class WorkerMessage
6222
6299
  include Google::Apis::Core::Hashable
6223
6300
 
6224
- # Labels are used to group WorkerMessages.
6225
- # For example, a worker_message about a particular container
6226
- # might have the labels:
6227
- # ` "JOB_ID": "2015-04-22",
6228
- # "WORKER_ID": "wordcount-vm-2015…"
6229
- # "CONTAINER_TYPE": "worker",
6230
- # "CONTAINER_ID": "ac1234def"`
6231
- # Label tags typically correspond to Label enum values. However, for ease
6232
- # of development other strings can be used as tags. LABEL_UNSPECIFIED should
6233
- # not be used here.
6301
+ # Labels are used to group WorkerMessages. For example, a worker_message about a
6302
+ # particular container might have the labels: ` "JOB_ID": "2015-04-22", "
6303
+ # WORKER_ID": "wordcount-vm-2015…" "CONTAINER_TYPE": "worker", "CONTAINER_ID": "
6304
+ # ac1234def"` Label tags typically correspond to Label enum values. However, for
6305
+ # ease of development other strings can be used as tags. LABEL_UNSPECIFIED
6306
+ # should not be used here.
6234
6307
  # Corresponds to the JSON property `labels`
6235
6308
  # @return [Hash<String,String>]
6236
6309
  attr_accessor :labels
@@ -6240,45 +6313,40 @@ module Google
6240
6313
  # @return [String]
6241
6314
  attr_accessor :time
6242
6315
 
6243
- # WorkerHealthReport contains information about the health of a worker.
6244
- # The VM should be identified by the labels attached to the WorkerMessage that
6245
- # this health ping belongs to.
6316
+ # WorkerHealthReport contains information about the health of a worker. The VM
6317
+ # should be identified by the labels attached to the WorkerMessage that this
6318
+ # health ping belongs to.
6246
6319
  # Corresponds to the JSON property `workerHealthReport`
6247
6320
  # @return [Google::Apis::DataflowV1b3::WorkerHealthReport]
6248
6321
  attr_accessor :worker_health_report
6249
6322
 
6250
- # A report of an event in a worker's lifecycle.
6251
- # The proto contains one event, because the worker is expected to
6252
- # asynchronously send each message immediately after the event.
6253
- # Due to this asynchrony, messages may arrive out of order (or missing), and it
6254
- # is up to the consumer to interpret.
6255
- # The timestamp of the event is in the enclosing WorkerMessage proto.
6323
+ # A report of an event in a worker's lifecycle. The proto contains one event,
6324
+ # because the worker is expected to asynchronously send each message immediately
6325
+ # after the event. Due to this asynchrony, messages may arrive out of order (or
6326
+ # missing), and it is up to the consumer to interpret. The timestamp of the
6327
+ # event is in the enclosing WorkerMessage proto.
6256
6328
  # Corresponds to the JSON property `workerLifecycleEvent`
6257
6329
  # @return [Google::Apis::DataflowV1b3::WorkerLifecycleEvent]
6258
6330
  attr_accessor :worker_lifecycle_event
6259
6331
 
6260
- # A message code is used to report status and error messages to the service.
6261
- # The message codes are intended to be machine readable. The service will
6262
- # take care of translating these into user understandable messages if
6263
- # necessary.
6264
- # Example use cases:
6265
- # 1. Worker processes reporting successful startup.
6266
- # 2. Worker processes reporting specific errors (e.g. package staging
6267
- # failure).
6332
+ # A message code is used to report status and error messages to the service. The
6333
+ # message codes are intended to be machine readable. The service will take care
6334
+ # of translating these into user understandable messages if necessary. Example
6335
+ # use cases: 1. Worker processes reporting successful startup. 2. Worker
6336
+ # processes reporting specific errors (e.g. package staging failure).
6268
6337
  # Corresponds to the JSON property `workerMessageCode`
6269
6338
  # @return [Google::Apis::DataflowV1b3::WorkerMessageCode]
6270
6339
  attr_accessor :worker_message_code
6271
6340
 
6272
6341
  # Worker metrics exported from workers. This contains resource utilization
6273
- # metrics accumulated from a variety of sources. For more information, see
6274
- # go/df-resource-signals.
6342
+ # metrics accumulated from a variety of sources. For more information, see go/df-
6343
+ # resource-signals.
6275
6344
  # Corresponds to the JSON property `workerMetrics`
6276
6345
  # @return [Google::Apis::DataflowV1b3::ResourceUtilizationReport]
6277
6346
  attr_accessor :worker_metrics
6278
6347
 
6279
- # Shutdown notification from workers. This is to be sent by the shutdown
6280
- # script of the worker VM so that the backend knows that the VM is being
6281
- # shut down.
6348
+ # Shutdown notification from workers. This is to be sent by the shutdown script
6349
+ # of the worker VM so that the backend knows that the VM is being shut down.
6282
6350
  # Corresponds to the JSON property `workerShutdownNotice`
6283
6351
  # @return [Google::Apis::DataflowV1b3::WorkerShutdownNotice]
6284
6352
  attr_accessor :worker_shutdown_notice
@@ -6299,46 +6367,35 @@ module Google
6299
6367
  end
6300
6368
  end
6301
6369
 
6302
- # A message code is used to report status and error messages to the service.
6303
- # The message codes are intended to be machine readable. The service will
6304
- # take care of translating these into user understandable messages if
6305
- # necessary.
6306
- # Example use cases:
6307
- # 1. Worker processes reporting successful startup.
6308
- # 2. Worker processes reporting specific errors (e.g. package staging
6309
- # failure).
6370
+ # A message code is used to report status and error messages to the service. The
6371
+ # message codes are intended to be machine readable. The service will take care
6372
+ # of translating these into user understandable messages if necessary. Example
6373
+ # use cases: 1. Worker processes reporting successful startup. 2. Worker
6374
+ # processes reporting specific errors (e.g. package staging failure).
6310
6375
  class WorkerMessageCode
6311
6376
  include Google::Apis::Core::Hashable
6312
6377
 
6313
- # The code is a string intended for consumption by a machine that identifies
6314
- # the type of message being sent.
6315
- # Examples:
6316
- # 1. "HARNESS_STARTED" might be used to indicate the worker harness has
6317
- # started.
6318
- # 2. "GCS_DOWNLOAD_ERROR" might be used to indicate an error downloading
6319
- # a GCS file as part of the boot process of one of the worker containers.
6320
- # This is a string and not an enum to make it easy to add new codes without
6321
- # waiting for an API change.
6378
+ # The code is a string intended for consumption by a machine that identifies the
6379
+ # type of message being sent. Examples: 1. "HARNESS_STARTED" might be used to
6380
+ # indicate the worker harness has started. 2. "GCS_DOWNLOAD_ERROR" might be used
6381
+ # to indicate an error downloading a GCS file as part of the boot process of one
6382
+ # of the worker containers. This is a string and not an enum to make it easy to
6383
+ # add new codes without waiting for an API change.
6322
6384
  # Corresponds to the JSON property `code`
6323
6385
  # @return [String]
6324
6386
  attr_accessor :code
6325
6387
 
6326
- # Parameters contains specific information about the code.
6327
- # This is a struct to allow parameters of different types.
6328
- # Examples:
6329
- # 1. For a "HARNESS_STARTED" message parameters might provide the name
6330
- # of the worker and additional data like timing information.
6331
- # 2. For a "GCS_DOWNLOAD_ERROR" parameters might contain fields listing
6332
- # the GCS objects being downloaded and fields containing errors.
6333
- # In general complex data structures should be avoided. If a worker
6334
- # needs to send a specific and complicated data structure then please
6335
- # consider defining a new proto and adding it to the data oneof in
6336
- # WorkerMessageResponse.
6337
- # Conventions:
6338
- # Parameters should only be used for information that isn't typically passed
6339
- # as a label.
6340
- # hostname and other worker identifiers should almost always be passed
6341
- # as labels since they will be included on most messages.
6388
+ # Parameters contains specific information about the code. This is a struct to
6389
+ # allow parameters of different types. Examples: 1. For a "HARNESS_STARTED"
6390
+ # message parameters might provide the name of the worker and additional data
6391
+ # like timing information. 2. For a "GCS_DOWNLOAD_ERROR" parameters might
6392
+ # contain fields listing the GCS objects being downloaded and fields containing
6393
+ # errors. In general complex data structures should be avoided. If a worker
6394
+ # needs to send a specific and complicated data structure then please consider
6395
+ # defining a new proto and adding it to the data oneof in WorkerMessageResponse.
6396
+ # Conventions: Parameters should only be used for information that isn't
6397
+ # typically passed as a label. hostname and other worker identifiers should
6398
+ # almost always be passed as labels since they will be included on most messages.
6342
6399
  # Corresponds to the JSON property `parameters`
6343
6400
  # @return [Hash<String,Object>]
6344
6401
  attr_accessor :parameters
@@ -6354,13 +6411,12 @@ module Google
6354
6411
  end
6355
6412
  end
6356
6413
 
6357
- # A worker_message response allows the server to pass information to the
6358
- # sender.
6414
+ # A worker_message response allows the server to pass information to the sender.
6359
6415
  class WorkerMessageResponse
6360
6416
  include Google::Apis::Core::Hashable
6361
6417
 
6362
- # WorkerHealthReportResponse contains information returned to the worker
6363
- # in response to a health ping.
6418
+ # WorkerHealthReportResponse contains information returned to the worker in
6419
+ # response to a health ping.
6364
6420
  # Corresponds to the JSON property `workerHealthReportResponse`
6365
6421
  # @return [Google::Apis::DataflowV1b3::WorkerHealthReportResponse]
6366
6422
  attr_accessor :worker_health_report_response
@@ -6387,11 +6443,10 @@ module Google
6387
6443
  end
6388
6444
  end
6389
6445
 
6390
- # Describes one particular pool of Cloud Dataflow workers to be
6391
- # instantiated by the Cloud Dataflow service in order to perform the
6392
- # computations required by a job. Note that a workflow job may use
6393
- # multiple pools, in order to match the various computational
6394
- # requirements of the various stages of the job.
6446
+ # Describes one particular pool of Cloud Dataflow workers to be instantiated by
6447
+ # the Cloud Dataflow service in order to perform the computations required by a
6448
+ # job. Note that a workflow job may use multiple pools, in order to match the
6449
+ # various computational requirements of the various stages of the job.
6395
6450
  class WorkerPool
6396
6451
  include Google::Apis::Core::Hashable
6397
6452
 
@@ -6405,14 +6460,14 @@ module Google
6405
6460
  # @return [Array<Google::Apis::DataflowV1b3::Disk>]
6406
6461
  attr_accessor :data_disks
6407
6462
 
6408
- # The default package set to install. This allows the service to
6409
- # select a default set of packages which are useful to worker
6410
- # harnesses written in a particular language.
6463
+ # The default package set to install. This allows the service to select a
6464
+ # default set of packages which are useful to worker harnesses written in a
6465
+ # particular language.
6411
6466
  # Corresponds to the JSON property `defaultPackageSet`
6412
6467
  # @return [String]
6413
6468
  attr_accessor :default_package_set
6414
6469
 
6415
- # Size of root disk for VMs, in GB. If zero or unspecified, the service will
6470
+ # Size of root disk for VMs, in GB. If zero or unspecified, the service will
6416
6471
  # attempt to choose a reasonable default.
6417
6472
  # Corresponds to the JSON property `diskSizeGb`
6418
6473
  # @return [Fixnum]
@@ -6423,8 +6478,8 @@ module Google
6423
6478
  # @return [String]
6424
6479
  attr_accessor :disk_source_image
6425
6480
 
6426
- # Type of root disk for VMs. If empty or unspecified, the service will
6427
- # attempt to choose a reasonable default.
6481
+ # Type of root disk for VMs. If empty or unspecified, the service will attempt
6482
+ # to choose a reasonable default.
6428
6483
  # Corresponds to the JSON property `diskType`
6429
6484
  # @return [String]
6430
6485
  attr_accessor :disk_type
@@ -6434,14 +6489,14 @@ module Google
6434
6489
  # @return [String]
6435
6490
  attr_accessor :ip_configuration
6436
6491
 
6437
- # The kind of the worker pool; currently only `harness` and `shuffle`
6438
- # are supported.
6492
+ # The kind of the worker pool; currently only `harness` and `shuffle` are
6493
+ # supported.
6439
6494
  # Corresponds to the JSON property `kind`
6440
6495
  # @return [String]
6441
6496
  attr_accessor :kind
6442
6497
 
6443
- # Machine type (e.g. "n1-standard-1"). If empty or unspecified, the
6444
- # service will attempt to choose a reasonable default.
6498
+ # Machine type (e.g. "n1-standard-1"). If empty or unspecified, the service will
6499
+ # attempt to choose a reasonable default.
6445
6500
  # Corresponds to the JSON property `machineType`
6446
6501
  # @return [String]
6447
6502
  attr_accessor :machine_type
@@ -6451,28 +6506,28 @@ module Google
6451
6506
  # @return [Hash<String,String>]
6452
6507
  attr_accessor :metadata
6453
6508
 
6454
- # Network to which VMs will be assigned. If empty or unspecified,
6455
- # the service will use the network "default".
6509
+ # Network to which VMs will be assigned. If empty or unspecified, the service
6510
+ # will use the network "default".
6456
6511
  # Corresponds to the JSON property `network`
6457
6512
  # @return [String]
6458
6513
  attr_accessor :network
6459
6514
 
6460
- # The number of threads per worker harness. If empty or unspecified, the
6461
- # service will choose a number of threads (according to the number of cores
6462
- # on the selected machine type for batch, or 1 by convention for streaming).
6515
+ # The number of threads per worker harness. If empty or unspecified, the service
6516
+ # will choose a number of threads (according to the number of cores on the
6517
+ # selected machine type for batch, or 1 by convention for streaming).
6463
6518
  # Corresponds to the JSON property `numThreadsPerWorker`
6464
6519
  # @return [Fixnum]
6465
6520
  attr_accessor :num_threads_per_worker
6466
6521
 
6467
- # Number of Google Compute Engine workers in this pool needed to
6468
- # execute the job. If zero or unspecified, the service will
6469
- # attempt to choose a reasonable default.
6522
+ # Number of Google Compute Engine workers in this pool needed to execute the job.
6523
+ # If zero or unspecified, the service will attempt to choose a reasonable
6524
+ # default.
6470
6525
  # Corresponds to the JSON property `numWorkers`
6471
6526
  # @return [Fixnum]
6472
6527
  attr_accessor :num_workers
6473
6528
 
6474
- # The action to take on host maintenance, as defined by the Google
6475
- # Compute Engine API.
6529
+ # The action to take on host maintenance, as defined by the Google Compute
6530
+ # Engine API.
6476
6531
  # Corresponds to the JSON property `onHostMaintenance`
6477
6532
  # @return [String]
6478
6533
  attr_accessor :on_host_maintenance
@@ -6487,16 +6542,15 @@ module Google
6487
6542
  # @return [Hash<String,Object>]
6488
6543
  attr_accessor :pool_args
6489
6544
 
6490
- # Set of SDK harness containers needed to execute this pipeline. This will
6491
- # only be set in the Fn API path. For non-cross-language pipelines this
6492
- # should have only one entry. Cross-language pipelines will have two or more
6493
- # entries.
6545
+ # Set of SDK harness containers needed to execute this pipeline. This will only
6546
+ # be set in the Fn API path. For non-cross-language pipelines this should have
6547
+ # only one entry. Cross-language pipelines will have two or more entries.
6494
6548
  # Corresponds to the JSON property `sdkHarnessContainerImages`
6495
6549
  # @return [Array<Google::Apis::DataflowV1b3::SdkHarnessContainerImage>]
6496
6550
  attr_accessor :sdk_harness_container_images
6497
6551
 
6498
- # Subnetwork to which VMs will be assigned, if desired. Expected to be of
6499
- # the form "regions/REGION/subnetworks/SUBNETWORK".
6552
+ # Subnetwork to which VMs will be assigned, if desired. Expected to be of the
6553
+ # form "regions/REGION/subnetworks/SUBNETWORK".
6500
6554
  # Corresponds to the JSON property `subnetwork`
6501
6555
  # @return [String]
6502
6556
  attr_accessor :subnetwork
@@ -6506,18 +6560,15 @@ module Google
6506
6560
  # @return [Google::Apis::DataflowV1b3::TaskRunnerSettings]
6507
6561
  attr_accessor :taskrunner_settings
6508
6562
 
6509
- # Sets the policy for determining when to turndown worker pool.
6510
- # Allowed values are: `TEARDOWN_ALWAYS`, `TEARDOWN_ON_SUCCESS`, and
6511
- # `TEARDOWN_NEVER`.
6512
- # `TEARDOWN_ALWAYS` means workers are always torn down regardless of whether
6513
- # the job succeeds. `TEARDOWN_ON_SUCCESS` means workers are torn down
6514
- # if the job succeeds. `TEARDOWN_NEVER` means the workers are never torn
6515
- # down.
6516
- # If the workers are not torn down by the service, they will
6517
- # continue to run and use Google Compute Engine VM resources in the
6518
- # user's project until they are explicitly terminated by the user.
6519
- # Because of this, Google recommends using the `TEARDOWN_ALWAYS`
6520
- # policy except for small, manually supervised test jobs.
6563
+ # Sets the policy for determining when to turndown worker pool. Allowed values
6564
+ # are: `TEARDOWN_ALWAYS`, `TEARDOWN_ON_SUCCESS`, and `TEARDOWN_NEVER`. `
6565
+ # TEARDOWN_ALWAYS` means workers are always torn down regardless of whether the
6566
+ # job succeeds. `TEARDOWN_ON_SUCCESS` means workers are torn down if the job
6567
+ # succeeds. `TEARDOWN_NEVER` means the workers are never torn down. If the
6568
+ # workers are not torn down by the service, they will continue to run and use
6569
+ # Google Compute Engine VM resources in the user's project until they are
6570
+ # explicitly terminated by the user. Because of this, Google recommends using
6571
+ # the `TEARDOWN_ALWAYS` policy except for small, manually supervised test jobs.
6521
6572
  # If unknown or unspecified, the service will attempt to choose a reasonable
6522
6573
  # default.
6523
6574
  # Corresponds to the JSON property `teardownPolicy`
@@ -6525,14 +6576,14 @@ module Google
6525
6576
  attr_accessor :teardown_policy
6526
6577
 
6527
6578
  # Required. Docker container image that executes the Cloud Dataflow worker
6528
- # harness, residing in Google Container Registry.
6529
- # Deprecated for the Fn API path. Use sdk_harness_container_images instead.
6579
+ # harness, residing in Google Container Registry. Deprecated for the Fn API path.
6580
+ # Use sdk_harness_container_images instead.
6530
6581
  # Corresponds to the JSON property `workerHarnessContainerImage`
6531
6582
  # @return [String]
6532
6583
  attr_accessor :worker_harness_container_image
6533
6584
 
6534
- # Zone to run the worker pools in. If empty or unspecified, the service
6535
- # will attempt to choose a reasonable default.
6585
+ # Zone to run the worker pools in. If empty or unspecified, the service will
6586
+ # attempt to choose a reasonable default.
6536
6587
  # Corresponds to the JSON property `zone`
6537
6588
  # @return [String]
6538
6589
  attr_accessor :zone
@@ -6572,12 +6623,10 @@ module Google
6572
6623
  class WorkerSettings
6573
6624
  include Google::Apis::Core::Hashable
6574
6625
 
6575
- # The base URL for accessing Google Cloud APIs.
6576
- # When workers access Google Cloud APIs, they logically do so via
6577
- # relative URLs. If this field is specified, it supplies the base
6578
- # URL to use for resolving these relative URLs. The normative
6579
- # algorithm used is defined by RFC 1808, "Relative Uniform Resource
6580
- # Locators".
6626
+ # The base URL for accessing Google Cloud APIs. When workers access Google Cloud
6627
+ # APIs, they logically do so via relative URLs. If this field is specified, it
6628
+ # supplies the base URL to use for resolving these relative URLs. The normative
6629
+ # algorithm used is defined by RFC 1808, "Relative Uniform Resource Locators".
6581
6630
  # If not specified, the default value is "http://www.googleapis.com/"
6582
6631
  # Corresponds to the JSON property `baseUrl`
6583
6632
  # @return [String]
@@ -6589,24 +6638,21 @@ module Google
6589
6638
  attr_accessor :reporting_enabled
6590
6639
  alias_method :reporting_enabled?, :reporting_enabled
6591
6640
 
6592
- # The Cloud Dataflow service path relative to the root URL, for example,
6593
- # "dataflow/v1b3/projects".
6641
+ # The Cloud Dataflow service path relative to the root URL, for example, "
6642
+ # dataflow/v1b3/projects".
6594
6643
  # Corresponds to the JSON property `servicePath`
6595
6644
  # @return [String]
6596
6645
  attr_accessor :service_path
6597
6646
 
6598
- # The Shuffle service path relative to the root URL, for example,
6599
- # "shuffle/v1beta1".
6647
+ # The Shuffle service path relative to the root URL, for example, "shuffle/
6648
+ # v1beta1".
6600
6649
  # Corresponds to the JSON property `shuffleServicePath`
6601
6650
  # @return [String]
6602
6651
  attr_accessor :shuffle_service_path
6603
6652
 
6604
- # The prefix of the resources the system should use for temporary
6605
- # storage.
6606
- # The supported resource type is:
6607
- # Google Cloud Storage:
6608
- # storage.googleapis.com/`bucket`/`object`
6609
- # bucket.storage.googleapis.com/`object`
6653
+ # The prefix of the resources the system should use for temporary storage. The
6654
+ # supported resource type is: Google Cloud Storage: storage.googleapis.com/`
6655
+ # bucket`/`object` bucket.storage.googleapis.com/`object`
6610
6656
  # Corresponds to the JSON property `tempStoragePrefix`
6611
6657
  # @return [String]
6612
6658
  attr_accessor :temp_storage_prefix
@@ -6631,17 +6677,14 @@ module Google
6631
6677
  end
6632
6678
  end
6633
6679
 
6634
- # Shutdown notification from workers. This is to be sent by the shutdown
6635
- # script of the worker VM so that the backend knows that the VM is being
6636
- # shut down.
6680
+ # Shutdown notification from workers. This is to be sent by the shutdown script
6681
+ # of the worker VM so that the backend knows that the VM is being shut down.
6637
6682
  class WorkerShutdownNotice
6638
6683
  include Google::Apis::Core::Hashable
6639
6684
 
6640
- # The reason for the worker shutdown.
6641
- # Current possible values are:
6642
- # "UNKNOWN": shutdown reason is unknown.
6643
- # "PREEMPTION": shutdown reason is preemption.
6644
- # Other possible reasons may be added in the future.
6685
+ # The reason for the worker shutdown. Current possible values are: "UNKNOWN":
6686
+ # shutdown reason is unknown. "PREEMPTION": shutdown reason is preemption. Other
6687
+ # possible reasons may be added in the future.
6645
6688
  # Corresponds to the JSON property `reason`
6646
6689
  # @return [String]
6647
6690
  attr_accessor :reason
@@ -6669,13 +6712,12 @@ module Google
6669
6712
  end
6670
6713
  end
6671
6714
 
6672
- # An instruction that writes records.
6673
- # Takes one input, produces no outputs.
6715
+ # An instruction that writes records. Takes one input, produces no outputs.
6674
6716
  class WriteInstruction
6675
6717
  include Google::Apis::Core::Hashable
6676
6718
 
6677
- # An input of an instruction, as a reference to an output of a
6678
- # producer instruction.
6719
+ # An input of an instruction, as a reference to an output of a producer
6720
+ # instruction.
6679
6721
  # Corresponds to the JSON property `input`
6680
6722
  # @return [Google::Apis::DataflowV1b3::InstructionInput]
6681
6723
  attr_accessor :input