google-api-client 0.9.8 → 0.10.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (320) hide show
  1. checksums.yaml +4 -4
  2. data/.travis.yml +15 -8
  3. data/CHANGELOG.md +84 -0
  4. data/Gemfile +10 -2
  5. data/README.md +10 -2
  6. data/api_names.yaml +37172 -135
  7. data/generated/google/apis/adexchangebuyer2_v2beta1.rb +35 -0
  8. data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +1200 -0
  9. data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +526 -0
  10. data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +844 -0
  11. data/generated/google/apis/adexchangebuyer_v1_4.rb +1 -1
  12. data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +310 -28
  13. data/generated/google/apis/adexchangebuyer_v1_4/representations.rb +84 -0
  14. data/generated/google/apis/adexchangebuyer_v1_4/service.rb +60 -8
  15. data/generated/google/apis/adexchangeseller_v2_0.rb +2 -3
  16. data/generated/google/apis/adexchangeseller_v2_0/service.rb +1 -2
  17. data/generated/google/apis/admin_directory_v1.rb +1 -1
  18. data/generated/google/apis/admin_directory_v1/classes.rb +206 -0
  19. data/generated/google/apis/admin_directory_v1/representations.rb +63 -0
  20. data/generated/google/apis/admin_directory_v1/service.rb +41 -2
  21. data/generated/google/apis/admin_reports_v1.rb +5 -5
  22. data/generated/google/apis/admin_reports_v1/service.rb +6 -6
  23. data/generated/google/apis/adsense_v1_4.rb +1 -1
  24. data/generated/google/apis/adsense_v1_4/classes.rb +1 -1
  25. data/generated/google/apis/adsensehost_v4_1.rb +1 -1
  26. data/generated/google/apis/adsensehost_v4_1/classes.rb +1 -2
  27. data/generated/google/apis/analytics_v3.rb +1 -1
  28. data/generated/google/apis/analytics_v3/classes.rb +379 -3
  29. data/generated/google/apis/analytics_v3/representations.rb +136 -0
  30. data/generated/google/apis/analytics_v3/service.rb +256 -0
  31. data/generated/google/apis/analyticsreporting_v4.rb +1 -1
  32. data/generated/google/apis/analyticsreporting_v4/classes.rb +858 -823
  33. data/generated/google/apis/analyticsreporting_v4/representations.rb +194 -193
  34. data/generated/google/apis/analyticsreporting_v4/service.rb +4 -4
  35. data/generated/google/apis/androidenterprise_v1.rb +1 -1
  36. data/generated/google/apis/androidenterprise_v1/classes.rb +913 -220
  37. data/generated/google/apis/androidenterprise_v1/representations.rb +337 -30
  38. data/generated/google/apis/androidenterprise_v1/service.rb +1163 -561
  39. data/generated/google/apis/androidpublisher_v2.rb +1 -1
  40. data/generated/google/apis/androidpublisher_v2/classes.rb +230 -8
  41. data/generated/google/apis/androidpublisher_v2/representations.rb +90 -0
  42. data/generated/google/apis/androidpublisher_v2/service.rb +116 -3
  43. data/generated/google/apis/appengine_v1beta5.rb +7 -1
  44. data/generated/google/apis/appengine_v1beta5/classes.rb +810 -395
  45. data/generated/google/apis/appengine_v1beta5/representations.rb +188 -22
  46. data/generated/google/apis/appengine_v1beta5/service.rb +343 -39
  47. data/generated/google/apis/appsactivity_v1.rb +3 -3
  48. data/generated/google/apis/appsactivity_v1/classes.rb +7 -0
  49. data/generated/google/apis/appsactivity_v1/representations.rb +1 -0
  50. data/generated/google/apis/appsactivity_v1/service.rb +1 -1
  51. data/generated/google/apis/appstate_v1.rb +1 -1
  52. data/generated/google/apis/bigquery_v2.rb +1 -1
  53. data/generated/google/apis/bigquery_v2/classes.rb +360 -38
  54. data/generated/google/apis/bigquery_v2/representations.rb +106 -0
  55. data/generated/google/apis/bigquery_v2/service.rb +18 -4
  56. data/generated/google/apis/books_v1.rb +2 -2
  57. data/generated/google/apis/books_v1/classes.rb +83 -0
  58. data/generated/google/apis/books_v1/representations.rb +35 -0
  59. data/generated/google/apis/books_v1/service.rb +7 -3
  60. data/generated/google/apis/calendar_v3.rb +1 -1
  61. data/generated/google/apis/calendar_v3/classes.rb +208 -5
  62. data/generated/google/apis/calendar_v3/representations.rb +97 -0
  63. data/generated/google/apis/civicinfo_v2.rb +3 -2
  64. data/generated/google/apis/civicinfo_v2/classes.rb +377 -5
  65. data/generated/google/apis/civicinfo_v2/representations.rb +149 -0
  66. data/generated/google/apis/civicinfo_v2/service.rb +27 -6
  67. data/generated/google/apis/classroom_v1.rb +22 -25
  68. data/generated/google/apis/classroom_v1/classes.rb +998 -761
  69. data/generated/google/apis/classroom_v1/representations.rb +263 -198
  70. data/generated/google/apis/classroom_v1/service.rb +1349 -672
  71. data/generated/google/apis/cloudbilling_v1.rb +3 -3
  72. data/generated/google/apis/cloudbilling_v1/classes.rb +76 -75
  73. data/generated/google/apis/cloudbilling_v1/representations.rb +17 -17
  74. data/generated/google/apis/cloudbilling_v1/service.rb +117 -110
  75. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  76. data/generated/google/apis/cloudbuild_v1/classes.rb +661 -264
  77. data/generated/google/apis/cloudbuild_v1/representations.rb +198 -48
  78. data/generated/google/apis/cloudbuild_v1/service.rb +259 -44
  79. data/generated/google/apis/clouddebugger_v2.rb +5 -8
  80. data/generated/google/apis/clouddebugger_v2/classes.rb +686 -616
  81. data/generated/google/apis/clouddebugger_v2/representations.rb +151 -151
  82. data/generated/google/apis/clouddebugger_v2/service.rb +165 -159
  83. data/generated/google/apis/cloudkms_v1.rb +35 -0
  84. data/generated/google/apis/cloudkms_v1/classes.rb +1022 -0
  85. data/generated/google/apis/cloudkms_v1/representations.rb +448 -0
  86. data/generated/google/apis/cloudkms_v1/service.rb +933 -0
  87. data/generated/google/apis/cloudkms_v1beta1.rb +35 -0
  88. data/generated/google/apis/cloudkms_v1beta1/classes.rb +1039 -0
  89. data/generated/google/apis/cloudkms_v1beta1/representations.rb +448 -0
  90. data/generated/google/apis/cloudkms_v1beta1/service.rb +933 -0
  91. data/generated/google/apis/cloudmonitoring_v2beta2.rb +1 -1
  92. data/generated/google/apis/cloudresourcemanager_v1.rb +4 -4
  93. data/generated/google/apis/cloudresourcemanager_v1/classes.rb +1529 -167
  94. data/generated/google/apis/cloudresourcemanager_v1/representations.rb +491 -26
  95. data/generated/google/apis/cloudresourcemanager_v1/service.rb +1593 -135
  96. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
  97. data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +1155 -235
  98. data/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb +344 -44
  99. data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +702 -310
  100. data/generated/google/apis/cloudtrace_v1.rb +9 -9
  101. data/generated/google/apis/cloudtrace_v1/classes.rb +98 -92
  102. data/generated/google/apis/cloudtrace_v1/representations.rb +24 -24
  103. data/generated/google/apis/cloudtrace_v1/service.rb +42 -37
  104. data/generated/google/apis/compute_beta.rb +1 -1
  105. data/generated/google/apis/compute_beta/classes.rb +7007 -3648
  106. data/generated/google/apis/compute_beta/representations.rb +1459 -120
  107. data/generated/google/apis/compute_beta/service.rb +7943 -3726
  108. data/generated/google/apis/compute_v1.rb +1 -1
  109. data/generated/google/apis/compute_v1/classes.rb +2567 -370
  110. data/generated/google/apis/compute_v1/representations.rb +855 -0
  111. data/generated/google/apis/compute_v1/service.rb +6388 -2908
  112. data/generated/google/apis/container_v1.rb +1 -1
  113. data/generated/google/apis/container_v1/classes.rb +287 -16
  114. data/generated/google/apis/container_v1/representations.rb +113 -2
  115. data/generated/google/apis/container_v1/service.rb +130 -0
  116. data/generated/google/apis/content_v2.rb +1 -1
  117. data/generated/google/apis/content_v2/classes.rb +778 -10
  118. data/generated/google/apis/content_v2/representations.rb +339 -0
  119. data/generated/google/apis/content_v2/service.rb +364 -49
  120. data/generated/google/apis/dataflow_v1b3.rb +37 -0
  121. data/generated/google/apis/dataflow_v1b3/classes.rb +4941 -0
  122. data/generated/google/apis/dataflow_v1b3/representations.rb +2037 -0
  123. data/generated/google/apis/dataflow_v1b3/service.rb +957 -0
  124. data/generated/google/apis/dataproc_v1.rb +1 -1
  125. data/generated/google/apis/dataproc_v1/classes.rb +1235 -963
  126. data/generated/google/apis/dataproc_v1/representations.rb +299 -225
  127. data/generated/google/apis/dataproc_v1/service.rb +277 -192
  128. data/generated/google/apis/datastore_v1.rb +38 -0
  129. data/generated/google/apis/datastore_v1/classes.rb +1289 -0
  130. data/generated/google/apis/datastore_v1/representations.rb +572 -0
  131. data/generated/google/apis/datastore_v1/service.rb +259 -0
  132. data/generated/google/apis/datastore_v1beta3.rb +38 -0
  133. data/generated/google/apis/datastore_v1beta3/classes.rb +1284 -0
  134. data/generated/google/apis/datastore_v1beta3/representations.rb +572 -0
  135. data/generated/google/apis/datastore_v1beta3/service.rb +259 -0
  136. data/generated/google/apis/deploymentmanager_v2.rb +1 -1
  137. data/generated/google/apis/deploymentmanager_v2/classes.rb +436 -3
  138. data/generated/google/apis/deploymentmanager_v2/representations.rb +178 -0
  139. data/generated/google/apis/deploymentmanager_v2/service.rb +226 -61
  140. data/generated/google/apis/dfareporting_v2_5.rb +40 -0
  141. data/generated/google/apis/dfareporting_v2_5/classes.rb +11225 -0
  142. data/generated/google/apis/dfareporting_v2_5/representations.rb +3982 -0
  143. data/generated/google/apis/dfareporting_v2_5/service.rb +8755 -0
  144. data/generated/google/apis/dfareporting_v2_6.rb +40 -0
  145. data/generated/google/apis/dfareporting_v2_6/classes.rb +11586 -0
  146. data/generated/google/apis/dfareporting_v2_6/representations.rb +4119 -0
  147. data/generated/google/apis/dfareporting_v2_6/service.rb +9025 -0
  148. data/generated/google/apis/dfareporting_v2_7.rb +40 -0
  149. data/generated/google/apis/dfareporting_v2_7/classes.rb +11876 -0
  150. data/generated/google/apis/dfareporting_v2_7/representations.rb +4243 -0
  151. data/generated/google/apis/dfareporting_v2_7/service.rb +9095 -0
  152. data/generated/google/apis/dns_v1.rb +1 -1
  153. data/generated/google/apis/dns_v1/classes.rb +1 -1
  154. data/generated/google/apis/dns_v2beta1.rb +43 -0
  155. data/generated/google/apis/dns_v2beta1/classes.rb +915 -0
  156. data/generated/google/apis/dns_v2beta1/representations.rb +368 -0
  157. data/generated/google/apis/dns_v2beta1/service.rb +768 -0
  158. data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
  159. data/generated/google/apis/doubleclickbidmanager_v1/classes.rb +79 -86
  160. data/generated/google/apis/doubleclickbidmanager_v1/representations.rb +25 -28
  161. data/generated/google/apis/doubleclickbidmanager_v1/service.rb +10 -8
  162. data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
  163. data/generated/google/apis/doubleclicksearch_v2/classes.rb +6 -4
  164. data/generated/google/apis/drive_v2.rb +1 -1
  165. data/generated/google/apis/drive_v2/classes.rb +595 -37
  166. data/generated/google/apis/drive_v2/representations.rb +140 -0
  167. data/generated/google/apis/drive_v2/service.rb +406 -40
  168. data/generated/google/apis/drive_v3.rb +1 -1
  169. data/generated/google/apis/drive_v3/classes.rb +507 -40
  170. data/generated/google/apis/drive_v3/representations.rb +105 -0
  171. data/generated/google/apis/drive_v3/service.rb +326 -29
  172. data/generated/google/apis/fitness_v1.rb +38 -2
  173. data/generated/google/apis/fitness_v1/classes.rb +65 -7
  174. data/generated/google/apis/fitness_v1/representations.rb +20 -0
  175. data/generated/google/apis/fitness_v1/service.rb +17 -18
  176. data/generated/google/apis/fusiontables_v2.rb +1 -1
  177. data/generated/google/apis/fusiontables_v2/classes.rb +4 -3
  178. data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
  179. data/generated/google/apis/games_management_v1management.rb +1 -1
  180. data/generated/google/apis/games_v1.rb +1 -1
  181. data/generated/google/apis/genomics_v1.rb +10 -12
  182. data/generated/google/apis/genomics_v1/classes.rb +2276 -2165
  183. data/generated/google/apis/genomics_v1/representations.rb +468 -496
  184. data/generated/google/apis/genomics_v1/service.rb +978 -882
  185. data/generated/google/apis/gmail_v1.rb +11 -2
  186. data/generated/google/apis/gmail_v1/classes.rb +655 -5
  187. data/generated/google/apis/gmail_v1/representations.rb +261 -0
  188. data/generated/google/apis/gmail_v1/service.rb +1211 -48
  189. data/generated/google/apis/groupssettings_v1.rb +2 -2
  190. data/generated/google/apis/groupssettings_v1/classes.rb +12 -0
  191. data/generated/google/apis/groupssettings_v1/representations.rb +2 -0
  192. data/generated/google/apis/iam_v1.rb +2 -2
  193. data/generated/google/apis/iam_v1/classes.rb +446 -368
  194. data/generated/google/apis/iam_v1/representations.rb +109 -91
  195. data/generated/google/apis/iam_v1/service.rb +249 -162
  196. data/generated/google/apis/identitytoolkit_v3.rb +7 -1
  197. data/generated/google/apis/identitytoolkit_v3/classes.rb +254 -2
  198. data/generated/google/apis/identitytoolkit_v3/representations.rb +38 -0
  199. data/generated/google/apis/kgsearch_v1.rb +2 -3
  200. data/generated/google/apis/kgsearch_v1/classes.rb +13 -13
  201. data/generated/google/apis/kgsearch_v1/representations.rb +2 -2
  202. data/generated/google/apis/kgsearch_v1/service.rb +26 -24
  203. data/generated/google/apis/language_v1beta1.rb +36 -0
  204. data/generated/google/apis/language_v1beta1/classes.rb +757 -0
  205. data/generated/google/apis/language_v1beta1/representations.rb +339 -0
  206. data/generated/google/apis/language_v1beta1/service.rb +185 -0
  207. data/generated/google/apis/licensing_v1.rb +3 -3
  208. data/generated/google/apis/licensing_v1/classes.rb +14 -2
  209. data/generated/google/apis/licensing_v1/representations.rb +2 -0
  210. data/generated/google/apis/licensing_v1/service.rb +1 -1
  211. data/generated/google/apis/logging_v2beta1.rb +6 -6
  212. data/generated/google/apis/logging_v2beta1/classes.rb +900 -775
  213. data/generated/google/apis/logging_v2beta1/representations.rb +163 -142
  214. data/generated/google/apis/logging_v2beta1/service.rb +427 -155
  215. data/generated/google/apis/manufacturers_v1.rb +34 -0
  216. data/generated/google/apis/manufacturers_v1/classes.rb +605 -0
  217. data/generated/google/apis/manufacturers_v1/representations.rb +223 -0
  218. data/generated/google/apis/manufacturers_v1/service.rb +138 -0
  219. data/generated/google/apis/mirror_v1.rb +2 -2
  220. data/generated/google/apis/mirror_v1/service.rb +1 -1
  221. data/generated/google/apis/monitoring_v3.rb +45 -0
  222. data/generated/google/apis/monitoring_v3/classes.rb +1333 -0
  223. data/generated/google/apis/monitoring_v3/representations.rb +516 -0
  224. data/generated/google/apis/monitoring_v3/service.rb +706 -0
  225. data/generated/google/apis/oauth2_v2.rb +1 -1
  226. data/generated/google/apis/pagespeedonline_v2.rb +1 -1
  227. data/generated/google/apis/partners_v2.rb +3 -3
  228. data/generated/google/apis/partners_v2/classes.rb +1831 -477
  229. data/generated/google/apis/partners_v2/representations.rb +571 -114
  230. data/generated/google/apis/partners_v2/service.rb +898 -167
  231. data/generated/google/apis/people_v1.rb +15 -16
  232. data/generated/google/apis/people_v1/classes.rb +1047 -859
  233. data/generated/google/apis/people_v1/representations.rb +252 -213
  234. data/generated/google/apis/people_v1/service.rb +75 -62
  235. data/generated/google/apis/plus_domains_v1.rb +1 -1
  236. data/generated/google/apis/plus_v1.rb +1 -1
  237. data/generated/google/apis/proximitybeacon_v1beta1.rb +1 -1
  238. data/generated/google/apis/proximitybeacon_v1beta1/classes.rb +527 -456
  239. data/generated/google/apis/proximitybeacon_v1beta1/representations.rb +101 -100
  240. data/generated/google/apis/proximitybeacon_v1beta1/service.rb +467 -343
  241. data/generated/google/apis/pubsub_v1.rb +1 -1
  242. data/generated/google/apis/pubsub_v1/classes.rb +363 -310
  243. data/generated/google/apis/pubsub_v1/representations.rb +76 -76
  244. data/generated/google/apis/pubsub_v1/service.rb +464 -335
  245. data/generated/google/apis/qpx_express_v1.rb +1 -1
  246. data/generated/google/apis/qpx_express_v1/classes.rb +6 -0
  247. data/generated/google/apis/qpx_express_v1/representations.rb +1 -0
  248. data/generated/google/apis/replicapool_v1beta2.rb +1 -1
  249. data/generated/google/apis/replicapoolupdater_v1beta1.rb +4 -2
  250. data/generated/google/apis/replicapoolupdater_v1beta1/service.rb +3 -1
  251. data/generated/google/apis/reseller_v1.rb +1 -1
  252. data/generated/google/apis/reseller_v1/classes.rb +222 -61
  253. data/generated/google/apis/reseller_v1/representations.rb +28 -0
  254. data/generated/google/apis/reseller_v1/service.rb +240 -47
  255. data/generated/google/apis/script_v1.rb +19 -19
  256. data/generated/google/apis/script_v1/classes.rb +151 -137
  257. data/generated/google/apis/script_v1/representations.rb +26 -26
  258. data/generated/google/apis/script_v1/service.rb +9 -8
  259. data/generated/google/apis/sheets_v4.rb +7 -7
  260. data/generated/google/apis/sheets_v4/classes.rb +4530 -3506
  261. data/generated/google/apis/sheets_v4/representations.rb +988 -737
  262. data/generated/google/apis/sheets_v4/service.rb +266 -99
  263. data/generated/google/apis/site_verification_v1.rb +1 -1
  264. data/generated/google/apis/slides_v1.rb +49 -0
  265. data/generated/google/apis/slides_v1/classes.rb +4480 -0
  266. data/generated/google/apis/slides_v1/representations.rb +1926 -0
  267. data/generated/google/apis/slides_v1/service.rb +245 -0
  268. data/generated/google/apis/speech_v1beta1.rb +34 -0
  269. data/generated/google/apis/speech_v1beta1/classes.rb +498 -0
  270. data/generated/google/apis/speech_v1beta1/representations.rb +206 -0
  271. data/generated/google/apis/speech_v1beta1/service.rb +270 -0
  272. data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
  273. data/generated/google/apis/sqladmin_v1beta4/classes.rb +131 -10
  274. data/generated/google/apis/sqladmin_v1beta4/representations.rb +50 -0
  275. data/generated/google/apis/sqladmin_v1beta4/service.rb +92 -2
  276. data/generated/google/apis/storage_v1.rb +1 -1
  277. data/generated/google/apis/storage_v1/classes.rb +205 -21
  278. data/generated/google/apis/storage_v1/representations.rb +51 -1
  279. data/generated/google/apis/storage_v1/service.rb +263 -9
  280. data/generated/google/apis/tagmanager_v1.rb +5 -5
  281. data/generated/google/apis/translate_v2.rb +2 -2
  282. data/generated/google/apis/translate_v2/service.rb +1 -1
  283. data/generated/google/apis/vision_v1.rb +1 -1
  284. data/generated/google/apis/vision_v1/classes.rb +1275 -731
  285. data/generated/google/apis/vision_v1/representations.rb +378 -111
  286. data/generated/google/apis/vision_v1/service.rb +4 -4
  287. data/generated/google/apis/webmasters_v3.rb +1 -1
  288. data/generated/google/apis/youtube_analytics_v1.rb +1 -1
  289. data/generated/google/apis/youtube_analytics_v1/classes.rb +0 -209
  290. data/generated/google/apis/youtube_analytics_v1/representations.rb +0 -99
  291. data/generated/google/apis/youtube_analytics_v1/service.rb +5 -77
  292. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  293. data/generated/google/apis/youtube_partner_v1/classes.rb +155 -0
  294. data/generated/google/apis/youtube_partner_v1/representations.rb +69 -0
  295. data/generated/google/apis/youtube_partner_v1/service.rb +107 -3
  296. data/generated/google/apis/youtube_v3.rb +1 -1
  297. data/generated/google/apis/youtube_v3/classes.rb +430 -22
  298. data/generated/google/apis/youtube_v3/representations.rb +171 -4
  299. data/generated/google/apis/youtube_v3/service.rb +100 -9
  300. data/generated/google/apis/youtubereporting_v1.rb +4 -4
  301. data/generated/google/apis/youtubereporting_v1/classes.rb +140 -131
  302. data/generated/google/apis/youtubereporting_v1/representations.rb +37 -37
  303. data/generated/google/apis/youtubereporting_v1/service.rb +139 -135
  304. data/google-api-client.gemspec +4 -3
  305. data/lib/google/apis/core/api_command.rb +16 -6
  306. data/lib/google/apis/core/base_service.rb +17 -9
  307. data/lib/google/apis/core/download.rb +7 -2
  308. data/lib/google/apis/core/http_command.rb +5 -1
  309. data/lib/google/apis/core/json_representation.rb +2 -2
  310. data/lib/google/apis/core/upload.rb +7 -1
  311. data/lib/google/apis/errors.rb +6 -2
  312. data/lib/google/apis/generator/annotator.rb +6 -0
  313. data/lib/google/apis/version.rb +1 -1
  314. data/samples/cli/lib/samples/bigquery.rb +101 -0
  315. data/samples/cli/lib/samples/calendar.rb +1 -1
  316. data/samples/cli/lib/samples/gmail.rb +74 -0
  317. data/samples/cli/lib/samples/sheets.rb +61 -0
  318. data/samples/cli/lib/samples/you_tube.rb +4 -1
  319. data/sync.rb +71 -0
  320. metadata +86 -18
@@ -22,121 +22,127 @@ module Google
22
22
  module Apis
23
23
  module DataprocV1
24
24
 
25
- class Cluster
25
+ class OperationMetadata
26
26
  class Representation < Google::Apis::Core::JsonRepresentation; end
27
27
 
28
28
  include Google::Apis::Core::JsonObjectSupport
29
29
  end
30
30
 
31
- class ClusterConfig
31
+ class SoftwareConfig
32
32
  class Representation < Google::Apis::Core::JsonRepresentation; end
33
33
 
34
34
  include Google::Apis::Core::JsonObjectSupport
35
35
  end
36
36
 
37
- class GceClusterConfig
37
+ class JobPlacement
38
38
  class Representation < Google::Apis::Core::JsonRepresentation; end
39
39
 
40
40
  include Google::Apis::Core::JsonObjectSupport
41
41
  end
42
42
 
43
- class InstanceGroupConfig
43
+ class PigJob
44
44
  class Representation < Google::Apis::Core::JsonRepresentation; end
45
45
 
46
46
  include Google::Apis::Core::JsonObjectSupport
47
47
  end
48
48
 
49
- class DiskConfig
49
+ class ClusterStatus
50
50
  class Representation < Google::Apis::Core::JsonRepresentation; end
51
51
 
52
52
  include Google::Apis::Core::JsonObjectSupport
53
53
  end
54
54
 
55
- class ManagedGroupConfig
55
+ class ListClustersResponse
56
56
  class Representation < Google::Apis::Core::JsonRepresentation; end
57
57
 
58
58
  include Google::Apis::Core::JsonObjectSupport
59
59
  end
60
60
 
61
- class SoftwareConfig
61
+ class Job
62
62
  class Representation < Google::Apis::Core::JsonRepresentation; end
63
63
 
64
64
  include Google::Apis::Core::JsonObjectSupport
65
65
  end
66
66
 
67
- class NodeInitializationAction
67
+ class SparkJob
68
68
  class Representation < Google::Apis::Core::JsonRepresentation; end
69
69
 
70
70
  include Google::Apis::Core::JsonObjectSupport
71
71
  end
72
72
 
73
- class ClusterStatus
73
+ class JobStatus
74
74
  class Representation < Google::Apis::Core::JsonRepresentation; end
75
75
 
76
76
  include Google::Apis::Core::JsonObjectSupport
77
77
  end
78
78
 
79
- class Operation
79
+ class ManagedGroupConfig
80
80
  class Representation < Google::Apis::Core::JsonRepresentation; end
81
81
 
82
82
  include Google::Apis::Core::JsonObjectSupport
83
83
  end
84
84
 
85
- class Status
85
+ class ClusterOperationStatus
86
86
  class Representation < Google::Apis::Core::JsonRepresentation; end
87
87
 
88
88
  include Google::Apis::Core::JsonObjectSupport
89
89
  end
90
90
 
91
- class ListClustersResponse
91
+ class HadoopJob
92
92
  class Representation < Google::Apis::Core::JsonRepresentation; end
93
93
 
94
94
  include Google::Apis::Core::JsonObjectSupport
95
95
  end
96
96
 
97
- class DiagnoseClusterRequest
97
+ class QueryList
98
98
  class Representation < Google::Apis::Core::JsonRepresentation; end
99
99
 
100
100
  include Google::Apis::Core::JsonObjectSupport
101
101
  end
102
102
 
103
- class SubmitJobRequest
103
+ class YarnApplication
104
104
  class Representation < Google::Apis::Core::JsonRepresentation; end
105
105
 
106
106
  include Google::Apis::Core::JsonObjectSupport
107
107
  end
108
108
 
109
- class Job
109
+ class DiagnoseClusterRequest
110
110
  class Representation < Google::Apis::Core::JsonRepresentation; end
111
111
 
112
112
  include Google::Apis::Core::JsonObjectSupport
113
113
  end
114
114
 
115
- class JobReference
115
+ class DiskConfig
116
116
  class Representation < Google::Apis::Core::JsonRepresentation; end
117
117
 
118
118
  include Google::Apis::Core::JsonObjectSupport
119
119
  end
120
120
 
121
- class JobPlacement
121
+ class ClusterOperationMetadata
122
122
  class Representation < Google::Apis::Core::JsonRepresentation; end
123
123
 
124
124
  include Google::Apis::Core::JsonObjectSupport
125
125
  end
126
126
 
127
- class HadoopJob
127
+ class Empty
128
128
  class Representation < Google::Apis::Core::JsonRepresentation; end
129
129
 
130
130
  include Google::Apis::Core::JsonObjectSupport
131
131
  end
132
132
 
133
- class LoggingConfig
133
+ class HiveJob
134
134
  class Representation < Google::Apis::Core::JsonRepresentation; end
135
135
 
136
136
  include Google::Apis::Core::JsonObjectSupport
137
137
  end
138
138
 
139
- class SparkJob
139
+ class DiagnoseClusterResults
140
+ class Representation < Google::Apis::Core::JsonRepresentation; end
141
+
142
+ include Google::Apis::Core::JsonObjectSupport
143
+ end
144
+
145
+ class ClusterConfig
140
146
  class Representation < Google::Apis::Core::JsonRepresentation; end
141
147
 
142
148
  include Google::Apis::Core::JsonObjectSupport
@@ -148,319 +154,364 @@ module Google
148
154
  include Google::Apis::Core::JsonObjectSupport
149
155
  end
150
156
 
151
- class HiveJob
157
+ class GceClusterConfig
152
158
  class Representation < Google::Apis::Core::JsonRepresentation; end
153
159
 
154
160
  include Google::Apis::Core::JsonObjectSupport
155
161
  end
156
162
 
157
- class QueryList
163
+ class AcceleratorConfig
158
164
  class Representation < Google::Apis::Core::JsonRepresentation; end
159
165
 
160
166
  include Google::Apis::Core::JsonObjectSupport
161
167
  end
162
168
 
163
- class PigJob
169
+ class ClusterMetrics
164
170
  class Representation < Google::Apis::Core::JsonRepresentation; end
165
171
 
166
172
  include Google::Apis::Core::JsonObjectSupport
167
173
  end
168
174
 
169
- class SparkSqlJob
175
+ class LoggingConfig
170
176
  class Representation < Google::Apis::Core::JsonRepresentation; end
171
177
 
172
178
  include Google::Apis::Core::JsonObjectSupport
173
179
  end
174
180
 
175
- class JobStatus
181
+ class DiagnoseClusterOutputLocation
176
182
  class Representation < Google::Apis::Core::JsonRepresentation; end
177
183
 
178
184
  include Google::Apis::Core::JsonObjectSupport
179
185
  end
180
186
 
181
- class ListJobsResponse
187
+ class Operation
182
188
  class Representation < Google::Apis::Core::JsonRepresentation; end
183
189
 
184
190
  include Google::Apis::Core::JsonObjectSupport
185
191
  end
186
192
 
187
- class CancelJobRequest
193
+ class OperationStatus
188
194
  class Representation < Google::Apis::Core::JsonRepresentation; end
189
195
 
190
196
  include Google::Apis::Core::JsonObjectSupport
191
197
  end
192
198
 
193
- class Empty
199
+ class JobReference
194
200
  class Representation < Google::Apis::Core::JsonRepresentation; end
195
201
 
196
202
  include Google::Apis::Core::JsonObjectSupport
197
203
  end
198
204
 
199
- class ListOperationsResponse
205
+ class SubmitJobRequest
200
206
  class Representation < Google::Apis::Core::JsonRepresentation; end
201
207
 
202
208
  include Google::Apis::Core::JsonObjectSupport
203
209
  end
204
210
 
205
- class DiagnoseClusterResults
211
+ class Status
206
212
  class Representation < Google::Apis::Core::JsonRepresentation; end
207
213
 
208
214
  include Google::Apis::Core::JsonObjectSupport
209
215
  end
210
216
 
211
- class ClusterOperationMetadata
217
+ class InstanceGroupConfig
212
218
  class Representation < Google::Apis::Core::JsonRepresentation; end
213
219
 
214
220
  include Google::Apis::Core::JsonObjectSupport
215
221
  end
216
222
 
217
- class ClusterOperationStatus
223
+ class JobScheduling
218
224
  class Representation < Google::Apis::Core::JsonRepresentation; end
219
225
 
220
226
  include Google::Apis::Core::JsonObjectSupport
221
227
  end
222
228
 
223
- class DiagnoseClusterOutputLocation
229
+ class ListJobsResponse
224
230
  class Representation < Google::Apis::Core::JsonRepresentation; end
225
231
 
226
232
  include Google::Apis::Core::JsonObjectSupport
227
233
  end
228
234
 
229
- class OperationMetadata
235
+ class NodeInitializationAction
230
236
  class Representation < Google::Apis::Core::JsonRepresentation; end
231
237
 
232
238
  include Google::Apis::Core::JsonObjectSupport
233
239
  end
234
240
 
235
- class OperationStatus
241
+ class CancelJobRequest
242
+ class Representation < Google::Apis::Core::JsonRepresentation; end
243
+
244
+ include Google::Apis::Core::JsonObjectSupport
245
+ end
246
+
247
+ class SparkSqlJob
236
248
  class Representation < Google::Apis::Core::JsonRepresentation; end
237
249
 
238
250
  include Google::Apis::Core::JsonObjectSupport
239
251
  end
240
252
 
241
253
  class Cluster
242
- # @private
243
- class Representation < Google::Apis::Core::JsonRepresentation
244
- property :project_id, as: 'projectId'
245
- property :cluster_name, as: 'clusterName'
246
- property :config, as: 'config', class: Google::Apis::DataprocV1::ClusterConfig, decorator: Google::Apis::DataprocV1::ClusterConfig::Representation
254
+ class Representation < Google::Apis::Core::JsonRepresentation; end
247
255
 
248
- property :status, as: 'status', class: Google::Apis::DataprocV1::ClusterStatus, decorator: Google::Apis::DataprocV1::ClusterStatus::Representation
256
+ include Google::Apis::Core::JsonObjectSupport
257
+ end
249
258
 
250
- collection :status_history, as: 'statusHistory', class: Google::Apis::DataprocV1::ClusterStatus, decorator: Google::Apis::DataprocV1::ClusterStatus::Representation
259
+ class ListOperationsResponse
260
+ class Representation < Google::Apis::Core::JsonRepresentation; end
251
261
 
252
- property :cluster_uuid, as: 'clusterUuid'
253
- end
262
+ include Google::Apis::Core::JsonObjectSupport
254
263
  end
255
264
 
256
- class ClusterConfig
265
+ class OperationMetadata
257
266
  # @private
258
267
  class Representation < Google::Apis::Core::JsonRepresentation
259
- property :config_bucket, as: 'configBucket'
260
- property :gce_cluster_config, as: 'gceClusterConfig', class: Google::Apis::DataprocV1::GceClusterConfig, decorator: Google::Apis::DataprocV1::GceClusterConfig::Representation
261
-
262
- property :master_config, as: 'masterConfig', class: Google::Apis::DataprocV1::InstanceGroupConfig, decorator: Google::Apis::DataprocV1::InstanceGroupConfig::Representation
263
-
264
- property :worker_config, as: 'workerConfig', class: Google::Apis::DataprocV1::InstanceGroupConfig, decorator: Google::Apis::DataprocV1::InstanceGroupConfig::Representation
265
-
266
- property :secondary_worker_config, as: 'secondaryWorkerConfig', class: Google::Apis::DataprocV1::InstanceGroupConfig, decorator: Google::Apis::DataprocV1::InstanceGroupConfig::Representation
268
+ property :description, as: 'description'
269
+ property :status, as: 'status', class: Google::Apis::DataprocV1::OperationStatus, decorator: Google::Apis::DataprocV1::OperationStatus::Representation
267
270
 
268
- property :software_config, as: 'softwareConfig', class: Google::Apis::DataprocV1::SoftwareConfig, decorator: Google::Apis::DataprocV1::SoftwareConfig::Representation
271
+ property :details, as: 'details'
272
+ property :state, as: 'state'
273
+ property :cluster_name, as: 'clusterName'
274
+ property :cluster_uuid, as: 'clusterUuid'
275
+ property :inner_state, as: 'innerState'
276
+ property :end_time, as: 'endTime'
277
+ property :start_time, as: 'startTime'
278
+ collection :warnings, as: 'warnings'
279
+ property :insert_time, as: 'insertTime'
280
+ collection :status_history, as: 'statusHistory', class: Google::Apis::DataprocV1::OperationStatus, decorator: Google::Apis::DataprocV1::OperationStatus::Representation
269
281
 
270
- collection :initialization_actions, as: 'initializationActions', class: Google::Apis::DataprocV1::NodeInitializationAction, decorator: Google::Apis::DataprocV1::NodeInitializationAction::Representation
282
+ property :operation_type, as: 'operationType'
283
+ end
284
+ end
271
285
 
286
+ class SoftwareConfig
287
+ # @private
288
+ class Representation < Google::Apis::Core::JsonRepresentation
289
+ property :image_version, as: 'imageVersion'
290
+ hash :properties, as: 'properties'
272
291
  end
273
292
  end
274
293
 
275
- class GceClusterConfig
294
+ class JobPlacement
276
295
  # @private
277
296
  class Representation < Google::Apis::Core::JsonRepresentation
278
- property :zone_uri, as: 'zoneUri'
279
- property :network_uri, as: 'networkUri'
280
- property :subnetwork_uri, as: 'subnetworkUri'
281
- collection :service_account_scopes, as: 'serviceAccountScopes'
282
- collection :tags, as: 'tags'
283
- hash :metadata, as: 'metadata'
297
+ property :cluster_name, as: 'clusterName'
298
+ property :cluster_uuid, as: 'clusterUuid'
284
299
  end
285
300
  end
286
301
 
287
- class InstanceGroupConfig
302
+ class PigJob
288
303
  # @private
289
304
  class Representation < Google::Apis::Core::JsonRepresentation
290
- property :num_instances, as: 'numInstances'
291
- collection :instance_names, as: 'instanceNames'
292
- property :image_uri, as: 'imageUri'
293
- property :machine_type_uri, as: 'machineTypeUri'
294
- property :disk_config, as: 'diskConfig', class: Google::Apis::DataprocV1::DiskConfig, decorator: Google::Apis::DataprocV1::DiskConfig::Representation
305
+ property :continue_on_failure, as: 'continueOnFailure'
306
+ property :query_file_uri, as: 'queryFileUri'
307
+ property :query_list, as: 'queryList', class: Google::Apis::DataprocV1::QueryList, decorator: Google::Apis::DataprocV1::QueryList::Representation
295
308
 
296
- property :is_preemptible, as: 'isPreemptible'
297
- property :managed_group_config, as: 'managedGroupConfig', class: Google::Apis::DataprocV1::ManagedGroupConfig, decorator: Google::Apis::DataprocV1::ManagedGroupConfig::Representation
309
+ collection :jar_file_uris, as: 'jarFileUris'
310
+ hash :script_variables, as: 'scriptVariables'
311
+ property :logging_config, as: 'loggingConfig', class: Google::Apis::DataprocV1::LoggingConfig, decorator: Google::Apis::DataprocV1::LoggingConfig::Representation
298
312
 
313
+ hash :properties, as: 'properties'
299
314
  end
300
315
  end
301
316
 
302
- class DiskConfig
317
+ class ClusterStatus
303
318
  # @private
304
319
  class Representation < Google::Apis::Core::JsonRepresentation
305
- property :boot_disk_size_gb, as: 'bootDiskSizeGb'
306
- property :num_local_ssds, as: 'numLocalSsds'
320
+ property :detail, as: 'detail'
321
+ property :state, as: 'state'
322
+ property :state_start_time, as: 'stateStartTime'
323
+ property :substate, as: 'substate'
307
324
  end
308
325
  end
309
326
 
310
- class ManagedGroupConfig
327
+ class ListClustersResponse
311
328
  # @private
312
329
  class Representation < Google::Apis::Core::JsonRepresentation
313
- property :instance_template_name, as: 'instanceTemplateName'
314
- property :instance_group_manager_name, as: 'instanceGroupManagerName'
330
+ collection :clusters, as: 'clusters', class: Google::Apis::DataprocV1::Cluster, decorator: Google::Apis::DataprocV1::Cluster::Representation
331
+
332
+ property :next_page_token, as: 'nextPageToken'
315
333
  end
316
334
  end
317
335
 
318
- class SoftwareConfig
336
+ class Job
319
337
  # @private
320
338
  class Representation < Google::Apis::Core::JsonRepresentation
321
- property :image_version, as: 'imageVersion'
322
- hash :properties, as: 'properties'
339
+ property :status, as: 'status', class: Google::Apis::DataprocV1::JobStatus, decorator: Google::Apis::DataprocV1::JobStatus::Representation
340
+
341
+ property :placement, as: 'placement', class: Google::Apis::DataprocV1::JobPlacement, decorator: Google::Apis::DataprocV1::JobPlacement::Representation
342
+
343
+ property :driver_control_files_uri, as: 'driverControlFilesUri'
344
+ property :scheduling, as: 'scheduling', class: Google::Apis::DataprocV1::JobScheduling, decorator: Google::Apis::DataprocV1::JobScheduling::Representation
345
+
346
+ property :pig_job, as: 'pigJob', class: Google::Apis::DataprocV1::PigJob, decorator: Google::Apis::DataprocV1::PigJob::Representation
347
+
348
+ property :hive_job, as: 'hiveJob', class: Google::Apis::DataprocV1::HiveJob, decorator: Google::Apis::DataprocV1::HiveJob::Representation
349
+
350
+ hash :labels, as: 'labels'
351
+ property :driver_output_resource_uri, as: 'driverOutputResourceUri'
352
+ property :spark_job, as: 'sparkJob', class: Google::Apis::DataprocV1::SparkJob, decorator: Google::Apis::DataprocV1::SparkJob::Representation
353
+
354
+ property :spark_sql_job, as: 'sparkSqlJob', class: Google::Apis::DataprocV1::SparkSqlJob, decorator: Google::Apis::DataprocV1::SparkSqlJob::Representation
355
+
356
+ collection :status_history, as: 'statusHistory', class: Google::Apis::DataprocV1::JobStatus, decorator: Google::Apis::DataprocV1::JobStatus::Representation
357
+
358
+ collection :yarn_applications, as: 'yarnApplications', class: Google::Apis::DataprocV1::YarnApplication, decorator: Google::Apis::DataprocV1::YarnApplication::Representation
359
+
360
+ property :pyspark_job, as: 'pysparkJob', class: Google::Apis::DataprocV1::PySparkJob, decorator: Google::Apis::DataprocV1::PySparkJob::Representation
361
+
362
+ property :reference, as: 'reference', class: Google::Apis::DataprocV1::JobReference, decorator: Google::Apis::DataprocV1::JobReference::Representation
363
+
364
+ property :hadoop_job, as: 'hadoopJob', class: Google::Apis::DataprocV1::HadoopJob, decorator: Google::Apis::DataprocV1::HadoopJob::Representation
365
+
323
366
  end
324
367
  end
325
368
 
326
- class NodeInitializationAction
369
+ class SparkJob
327
370
  # @private
328
371
  class Representation < Google::Apis::Core::JsonRepresentation
329
- property :executable_file, as: 'executableFile'
330
- property :execution_timeout, as: 'executionTimeout'
372
+ collection :jar_file_uris, as: 'jarFileUris'
373
+ property :logging_config, as: 'loggingConfig', class: Google::Apis::DataprocV1::LoggingConfig, decorator: Google::Apis::DataprocV1::LoggingConfig::Representation
374
+
375
+ hash :properties, as: 'properties'
376
+ collection :args, as: 'args'
377
+ collection :file_uris, as: 'fileUris'
378
+ property :main_class, as: 'mainClass'
379
+ collection :archive_uris, as: 'archiveUris'
380
+ property :main_jar_file_uri, as: 'mainJarFileUri'
331
381
  end
332
382
  end
333
383
 
334
- class ClusterStatus
384
+ class JobStatus
335
385
  # @private
336
386
  class Representation < Google::Apis::Core::JsonRepresentation
337
387
  property :state, as: 'state'
338
- property :detail, as: 'detail'
388
+ property :details, as: 'details'
339
389
  property :state_start_time, as: 'stateStartTime'
390
+ property :substate, as: 'substate'
340
391
  end
341
392
  end
342
393
 
343
- class Operation
394
+ class ManagedGroupConfig
344
395
  # @private
345
396
  class Representation < Google::Apis::Core::JsonRepresentation
346
- property :name, as: 'name'
347
- hash :metadata, as: 'metadata'
348
- property :done, as: 'done'
349
- property :error, as: 'error', class: Google::Apis::DataprocV1::Status, decorator: Google::Apis::DataprocV1::Status::Representation
350
-
351
- hash :response, as: 'response'
397
+ property :instance_group_manager_name, as: 'instanceGroupManagerName'
398
+ property :instance_template_name, as: 'instanceTemplateName'
352
399
  end
353
400
  end
354
401
 
355
- class Status
402
+ class ClusterOperationStatus
356
403
  # @private
357
404
  class Representation < Google::Apis::Core::JsonRepresentation
358
- property :code, as: 'code'
359
- property :message, as: 'message'
360
- collection :details, as: 'details'
405
+ property :inner_state, as: 'innerState'
406
+ property :state_start_time, as: 'stateStartTime'
407
+ property :state, as: 'state'
408
+ property :details, as: 'details'
361
409
  end
362
410
  end
363
411
 
364
- class ListClustersResponse
412
+ class HadoopJob
365
413
  # @private
366
414
  class Representation < Google::Apis::Core::JsonRepresentation
367
- collection :clusters, as: 'clusters', class: Google::Apis::DataprocV1::Cluster, decorator: Google::Apis::DataprocV1::Cluster::Representation
415
+ property :main_class, as: 'mainClass'
416
+ collection :archive_uris, as: 'archiveUris'
417
+ property :main_jar_file_uri, as: 'mainJarFileUri'
418
+ collection :jar_file_uris, as: 'jarFileUris'
419
+ property :logging_config, as: 'loggingConfig', class: Google::Apis::DataprocV1::LoggingConfig, decorator: Google::Apis::DataprocV1::LoggingConfig::Representation
368
420
 
369
- property :next_page_token, as: 'nextPageToken'
421
+ hash :properties, as: 'properties'
422
+ collection :args, as: 'args'
423
+ collection :file_uris, as: 'fileUris'
370
424
  end
371
425
  end
372
426
 
373
- class DiagnoseClusterRequest
427
+ class QueryList
374
428
  # @private
375
429
  class Representation < Google::Apis::Core::JsonRepresentation
430
+ collection :queries, as: 'queries'
376
431
  end
377
432
  end
378
433
 
379
- class SubmitJobRequest
434
+ class YarnApplication
380
435
  # @private
381
436
  class Representation < Google::Apis::Core::JsonRepresentation
382
- property :job, as: 'job', class: Google::Apis::DataprocV1::Job, decorator: Google::Apis::DataprocV1::Job::Representation
383
-
437
+ property :tracking_url, as: 'trackingUrl'
438
+ property :progress, as: 'progress'
439
+ property :state, as: 'state'
440
+ property :name, as: 'name'
384
441
  end
385
442
  end
386
443
 
387
- class Job
444
+ class DiagnoseClusterRequest
388
445
  # @private
389
446
  class Representation < Google::Apis::Core::JsonRepresentation
390
- property :reference, as: 'reference', class: Google::Apis::DataprocV1::JobReference, decorator: Google::Apis::DataprocV1::JobReference::Representation
391
-
392
- property :placement, as: 'placement', class: Google::Apis::DataprocV1::JobPlacement, decorator: Google::Apis::DataprocV1::JobPlacement::Representation
393
-
394
- property :hadoop_job, as: 'hadoopJob', class: Google::Apis::DataprocV1::HadoopJob, decorator: Google::Apis::DataprocV1::HadoopJob::Representation
395
-
396
- property :spark_job, as: 'sparkJob', class: Google::Apis::DataprocV1::SparkJob, decorator: Google::Apis::DataprocV1::SparkJob::Representation
397
-
398
- property :pyspark_job, as: 'pysparkJob', class: Google::Apis::DataprocV1::PySparkJob, decorator: Google::Apis::DataprocV1::PySparkJob::Representation
399
-
400
- property :hive_job, as: 'hiveJob', class: Google::Apis::DataprocV1::HiveJob, decorator: Google::Apis::DataprocV1::HiveJob::Representation
401
-
402
- property :pig_job, as: 'pigJob', class: Google::Apis::DataprocV1::PigJob, decorator: Google::Apis::DataprocV1::PigJob::Representation
403
-
404
- property :spark_sql_job, as: 'sparkSqlJob', class: Google::Apis::DataprocV1::SparkSqlJob, decorator: Google::Apis::DataprocV1::SparkSqlJob::Representation
405
-
406
- property :status, as: 'status', class: Google::Apis::DataprocV1::JobStatus, decorator: Google::Apis::DataprocV1::JobStatus::Representation
407
-
408
- collection :status_history, as: 'statusHistory', class: Google::Apis::DataprocV1::JobStatus, decorator: Google::Apis::DataprocV1::JobStatus::Representation
409
-
410
- property :driver_output_resource_uri, as: 'driverOutputResourceUri'
411
- property :driver_control_files_uri, as: 'driverControlFilesUri'
412
447
  end
413
448
  end
414
449
 
415
- class JobReference
450
+ class DiskConfig
416
451
  # @private
417
452
  class Representation < Google::Apis::Core::JsonRepresentation
418
- property :project_id, as: 'projectId'
419
- property :job_id, as: 'jobId'
453
+ property :boot_disk_size_gb, as: 'bootDiskSizeGb'
454
+ property :num_local_ssds, as: 'numLocalSsds'
420
455
  end
421
456
  end
422
457
 
423
- class JobPlacement
458
+ class ClusterOperationMetadata
424
459
  # @private
425
460
  class Representation < Google::Apis::Core::JsonRepresentation
426
- property :cluster_name, as: 'clusterName'
461
+ property :operation_type, as: 'operationType'
462
+ property :description, as: 'description'
463
+ collection :warnings, as: 'warnings'
464
+ hash :labels, as: 'labels'
465
+ property :status, as: 'status', class: Google::Apis::DataprocV1::ClusterOperationStatus, decorator: Google::Apis::DataprocV1::ClusterOperationStatus::Representation
466
+
467
+ collection :status_history, as: 'statusHistory', class: Google::Apis::DataprocV1::ClusterOperationStatus, decorator: Google::Apis::DataprocV1::ClusterOperationStatus::Representation
468
+
427
469
  property :cluster_uuid, as: 'clusterUuid'
470
+ property :cluster_name, as: 'clusterName'
428
471
  end
429
472
  end
430
473
 
431
- class HadoopJob
474
+ class Empty
475
+ # @private
476
+ class Representation < Google::Apis::Core::JsonRepresentation
477
+ end
478
+ end
479
+
480
+ class HiveJob
432
481
  # @private
433
482
  class Representation < Google::Apis::Core::JsonRepresentation
434
- property :main_jar_file_uri, as: 'mainJarFileUri'
435
- property :main_class, as: 'mainClass'
436
- collection :args, as: 'args'
437
483
  collection :jar_file_uris, as: 'jarFileUris'
438
- collection :file_uris, as: 'fileUris'
439
- collection :archive_uris, as: 'archiveUris'
484
+ hash :script_variables, as: 'scriptVariables'
440
485
  hash :properties, as: 'properties'
441
- property :logging_config, as: 'loggingConfig', class: Google::Apis::DataprocV1::LoggingConfig, decorator: Google::Apis::DataprocV1::LoggingConfig::Representation
486
+ property :continue_on_failure, as: 'continueOnFailure'
487
+ property :query_file_uri, as: 'queryFileUri'
488
+ property :query_list, as: 'queryList', class: Google::Apis::DataprocV1::QueryList, decorator: Google::Apis::DataprocV1::QueryList::Representation
442
489
 
443
490
  end
444
491
  end
445
492
 
446
- class LoggingConfig
493
+ class DiagnoseClusterResults
447
494
  # @private
448
495
  class Representation < Google::Apis::Core::JsonRepresentation
449
- hash :driver_log_levels, as: 'driverLogLevels'
496
+ property :output_uri, as: 'outputUri'
450
497
  end
451
498
  end
452
499
 
453
- class SparkJob
500
+ class ClusterConfig
454
501
  # @private
455
502
  class Representation < Google::Apis::Core::JsonRepresentation
456
- property :main_jar_file_uri, as: 'mainJarFileUri'
457
- property :main_class, as: 'mainClass'
458
- collection :args, as: 'args'
459
- collection :jar_file_uris, as: 'jarFileUris'
460
- collection :file_uris, as: 'fileUris'
461
- collection :archive_uris, as: 'archiveUris'
462
- hash :properties, as: 'properties'
463
- property :logging_config, as: 'loggingConfig', class: Google::Apis::DataprocV1::LoggingConfig, decorator: Google::Apis::DataprocV1::LoggingConfig::Representation
503
+ property :master_config, as: 'masterConfig', class: Google::Apis::DataprocV1::InstanceGroupConfig, decorator: Google::Apis::DataprocV1::InstanceGroupConfig::Representation
504
+
505
+ property :secondary_worker_config, as: 'secondaryWorkerConfig', class: Google::Apis::DataprocV1::InstanceGroupConfig, decorator: Google::Apis::DataprocV1::InstanceGroupConfig::Representation
506
+
507
+ collection :initialization_actions, as: 'initializationActions', class: Google::Apis::DataprocV1::NodeInitializationAction, decorator: Google::Apis::DataprocV1::NodeInitializationAction::Representation
508
+
509
+ property :config_bucket, as: 'configBucket'
510
+ property :worker_config, as: 'workerConfig', class: Google::Apis::DataprocV1::InstanceGroupConfig, decorator: Google::Apis::DataprocV1::InstanceGroupConfig::Representation
511
+
512
+ property :gce_cluster_config, as: 'gceClusterConfig', class: Google::Apis::DataprocV1::GceClusterConfig, decorator: Google::Apis::DataprocV1::GceClusterConfig::Representation
513
+
514
+ property :software_config, as: 'softwareConfig', class: Google::Apis::DataprocV1::SoftwareConfig, decorator: Google::Apis::DataprocV1::SoftwareConfig::Representation
464
515
 
465
516
  end
466
517
  end
@@ -468,171 +519,194 @@ module Google
468
519
  class PySparkJob
469
520
  # @private
470
521
  class Representation < Google::Apis::Core::JsonRepresentation
471
- property :main_python_file_uri, as: 'mainPythonFileUri'
472
- collection :args, as: 'args'
473
- collection :python_file_uris, as: 'pythonFileUris'
474
522
  collection :jar_file_uris, as: 'jarFileUris'
475
- collection :file_uris, as: 'fileUris'
476
- collection :archive_uris, as: 'archiveUris'
477
- hash :properties, as: 'properties'
478
523
  property :logging_config, as: 'loggingConfig', class: Google::Apis::DataprocV1::LoggingConfig, decorator: Google::Apis::DataprocV1::LoggingConfig::Representation
479
524
 
525
+ hash :properties, as: 'properties'
526
+ collection :args, as: 'args'
527
+ collection :file_uris, as: 'fileUris'
528
+ collection :python_file_uris, as: 'pythonFileUris'
529
+ property :main_python_file_uri, as: 'mainPythonFileUri'
530
+ collection :archive_uris, as: 'archiveUris'
480
531
  end
481
532
  end
482
533
 
483
- class HiveJob
534
+ class GceClusterConfig
484
535
  # @private
485
536
  class Representation < Google::Apis::Core::JsonRepresentation
486
- property :query_file_uri, as: 'queryFileUri'
487
- property :query_list, as: 'queryList', class: Google::Apis::DataprocV1::QueryList, decorator: Google::Apis::DataprocV1::QueryList::Representation
488
-
489
- property :continue_on_failure, as: 'continueOnFailure'
490
- hash :script_variables, as: 'scriptVariables'
491
- hash :properties, as: 'properties'
492
- collection :jar_file_uris, as: 'jarFileUris'
537
+ hash :metadata, as: 'metadata'
538
+ property :internal_ip_only, as: 'internalIpOnly'
539
+ collection :service_account_scopes, as: 'serviceAccountScopes'
540
+ collection :tags, as: 'tags'
541
+ property :service_account, as: 'serviceAccount'
542
+ property :subnetwork_uri, as: 'subnetworkUri'
543
+ property :network_uri, as: 'networkUri'
544
+ property :zone_uri, as: 'zoneUri'
493
545
  end
494
546
  end
495
547
 
496
- class QueryList
548
+ class AcceleratorConfig
497
549
  # @private
498
550
  class Representation < Google::Apis::Core::JsonRepresentation
499
- collection :queries, as: 'queries'
551
+ property :accelerator_count, as: 'acceleratorCount'
552
+ property :accelerator_type_uri, as: 'acceleratorTypeUri'
500
553
  end
501
554
  end
502
555
 
503
- class PigJob
556
+ class ClusterMetrics
504
557
  # @private
505
558
  class Representation < Google::Apis::Core::JsonRepresentation
506
- property :query_file_uri, as: 'queryFileUri'
507
- property :query_list, as: 'queryList', class: Google::Apis::DataprocV1::QueryList, decorator: Google::Apis::DataprocV1::QueryList::Representation
508
-
509
- property :continue_on_failure, as: 'continueOnFailure'
510
- hash :script_variables, as: 'scriptVariables'
511
- hash :properties, as: 'properties'
512
- collection :jar_file_uris, as: 'jarFileUris'
513
- property :logging_config, as: 'loggingConfig', class: Google::Apis::DataprocV1::LoggingConfig, decorator: Google::Apis::DataprocV1::LoggingConfig::Representation
559
+ hash :yarn_metrics, as: 'yarnMetrics'
560
+ hash :hdfs_metrics, as: 'hdfsMetrics'
561
+ end
562
+ end
514
563
 
564
+ class LoggingConfig
565
+ # @private
566
+ class Representation < Google::Apis::Core::JsonRepresentation
567
+ hash :driver_log_levels, as: 'driverLogLevels'
515
568
  end
516
569
  end
517
570
 
518
- class SparkSqlJob
571
+ class DiagnoseClusterOutputLocation
519
572
  # @private
520
573
  class Representation < Google::Apis::Core::JsonRepresentation
521
- property :query_file_uri, as: 'queryFileUri'
522
- property :query_list, as: 'queryList', class: Google::Apis::DataprocV1::QueryList, decorator: Google::Apis::DataprocV1::QueryList::Representation
574
+ property :output_uri, as: 'outputUri'
575
+ end
576
+ end
523
577
 
524
- hash :script_variables, as: 'scriptVariables'
525
- hash :properties, as: 'properties'
526
- collection :jar_file_uris, as: 'jarFileUris'
527
- property :logging_config, as: 'loggingConfig', class: Google::Apis::DataprocV1::LoggingConfig, decorator: Google::Apis::DataprocV1::LoggingConfig::Representation
578
+ class Operation
579
+ # @private
580
+ class Representation < Google::Apis::Core::JsonRepresentation
581
+ property :error, as: 'error', class: Google::Apis::DataprocV1::Status, decorator: Google::Apis::DataprocV1::Status::Representation
528
582
 
583
+ hash :metadata, as: 'metadata'
584
+ property :done, as: 'done'
585
+ hash :response, as: 'response'
586
+ property :name, as: 'name'
529
587
  end
530
588
  end
531
589
 
532
- class JobStatus
590
+ class OperationStatus
533
591
  # @private
534
592
  class Representation < Google::Apis::Core::JsonRepresentation
593
+ property :inner_state, as: 'innerState'
594
+ property :state_start_time, as: 'stateStartTime'
535
595
  property :state, as: 'state'
536
596
  property :details, as: 'details'
537
- property :state_start_time, as: 'stateStartTime'
538
597
  end
539
598
  end
540
599
 
541
- class ListJobsResponse
600
+ class JobReference
542
601
  # @private
543
602
  class Representation < Google::Apis::Core::JsonRepresentation
544
- collection :jobs, as: 'jobs', class: Google::Apis::DataprocV1::Job, decorator: Google::Apis::DataprocV1::Job::Representation
545
-
546
- property :next_page_token, as: 'nextPageToken'
603
+ property :project_id, as: 'projectId'
604
+ property :job_id, as: 'jobId'
547
605
  end
548
606
  end
549
607
 
550
- class CancelJobRequest
608
+ class SubmitJobRequest
551
609
  # @private
552
610
  class Representation < Google::Apis::Core::JsonRepresentation
611
+ property :job, as: 'job', class: Google::Apis::DataprocV1::Job, decorator: Google::Apis::DataprocV1::Job::Representation
612
+
553
613
  end
554
614
  end
555
615
 
556
- class Empty
616
+ class Status
557
617
  # @private
558
618
  class Representation < Google::Apis::Core::JsonRepresentation
619
+ property :code, as: 'code'
620
+ property :message, as: 'message'
621
+ collection :details, as: 'details'
559
622
  end
560
623
  end
561
624
 
562
- class ListOperationsResponse
625
+ class InstanceGroupConfig
563
626
  # @private
564
627
  class Representation < Google::Apis::Core::JsonRepresentation
565
- collection :operations, as: 'operations', class: Google::Apis::DataprocV1::Operation, decorator: Google::Apis::DataprocV1::Operation::Representation
628
+ property :managed_group_config, as: 'managedGroupConfig', class: Google::Apis::DataprocV1::ManagedGroupConfig, decorator: Google::Apis::DataprocV1::ManagedGroupConfig::Representation
629
+
630
+ property :is_preemptible, as: 'isPreemptible'
631
+ property :image_uri, as: 'imageUri'
632
+ property :machine_type_uri, as: 'machineTypeUri'
633
+ collection :instance_names, as: 'instanceNames'
634
+ collection :accelerators, as: 'accelerators', class: Google::Apis::DataprocV1::AcceleratorConfig, decorator: Google::Apis::DataprocV1::AcceleratorConfig::Representation
635
+
636
+ property :num_instances, as: 'numInstances'
637
+ property :disk_config, as: 'diskConfig', class: Google::Apis::DataprocV1::DiskConfig, decorator: Google::Apis::DataprocV1::DiskConfig::Representation
566
638
 
567
- property :next_page_token, as: 'nextPageToken'
568
639
  end
569
640
  end
570
641
 
571
- class DiagnoseClusterResults
642
+ class JobScheduling
572
643
  # @private
573
644
  class Representation < Google::Apis::Core::JsonRepresentation
574
- property :output_uri, as: 'outputUri'
645
+ property :max_failures_per_hour, as: 'maxFailuresPerHour'
575
646
  end
576
647
  end
577
648
 
578
- class ClusterOperationMetadata
649
+ class ListJobsResponse
579
650
  # @private
580
651
  class Representation < Google::Apis::Core::JsonRepresentation
581
- property :cluster_name, as: 'clusterName'
582
- property :cluster_uuid, as: 'clusterUuid'
583
- property :status, as: 'status', class: Google::Apis::DataprocV1::ClusterOperationStatus, decorator: Google::Apis::DataprocV1::ClusterOperationStatus::Representation
652
+ collection :jobs, as: 'jobs', class: Google::Apis::DataprocV1::Job, decorator: Google::Apis::DataprocV1::Job::Representation
584
653
 
585
- collection :status_history, as: 'statusHistory', class: Google::Apis::DataprocV1::ClusterOperationStatus, decorator: Google::Apis::DataprocV1::ClusterOperationStatus::Representation
654
+ property :next_page_token, as: 'nextPageToken'
655
+ end
656
+ end
586
657
 
587
- property :operation_type, as: 'operationType'
588
- property :description, as: 'description'
658
+ class NodeInitializationAction
659
+ # @private
660
+ class Representation < Google::Apis::Core::JsonRepresentation
661
+ property :executable_file, as: 'executableFile'
662
+ property :execution_timeout, as: 'executionTimeout'
589
663
  end
590
664
  end
591
665
 
592
- class ClusterOperationStatus
666
+ class CancelJobRequest
593
667
  # @private
594
668
  class Representation < Google::Apis::Core::JsonRepresentation
595
- property :state, as: 'state'
596
- property :inner_state, as: 'innerState'
597
- property :details, as: 'details'
598
- property :state_start_time, as: 'stateStartTime'
599
669
  end
600
670
  end
601
671
 
602
- class DiagnoseClusterOutputLocation
672
+ class SparkSqlJob
603
673
  # @private
604
674
  class Representation < Google::Apis::Core::JsonRepresentation
605
- property :output_uri, as: 'outputUri'
675
+ hash :script_variables, as: 'scriptVariables'
676
+ collection :jar_file_uris, as: 'jarFileUris'
677
+ property :logging_config, as: 'loggingConfig', class: Google::Apis::DataprocV1::LoggingConfig, decorator: Google::Apis::DataprocV1::LoggingConfig::Representation
678
+
679
+ hash :properties, as: 'properties'
680
+ property :query_file_uri, as: 'queryFileUri'
681
+ property :query_list, as: 'queryList', class: Google::Apis::DataprocV1::QueryList, decorator: Google::Apis::DataprocV1::QueryList::Representation
682
+
606
683
  end
607
684
  end
608
685
 
609
- class OperationMetadata
686
+ class Cluster
610
687
  # @private
611
688
  class Representation < Google::Apis::Core::JsonRepresentation
612
- property :state, as: 'state'
613
- property :inner_state, as: 'innerState'
614
- property :details, as: 'details'
615
- property :insert_time, as: 'insertTime'
616
- property :start_time, as: 'startTime'
617
- property :end_time, as: 'endTime'
618
- property :cluster_name, as: 'clusterName'
619
- property :cluster_uuid, as: 'clusterUuid'
620
- property :status, as: 'status', class: Google::Apis::DataprocV1::OperationStatus, decorator: Google::Apis::DataprocV1::OperationStatus::Representation
689
+ property :project_id, as: 'projectId'
690
+ hash :labels, as: 'labels'
691
+ property :status, as: 'status', class: Google::Apis::DataprocV1::ClusterStatus, decorator: Google::Apis::DataprocV1::ClusterStatus::Representation
621
692
 
622
- collection :status_history, as: 'statusHistory', class: Google::Apis::DataprocV1::OperationStatus, decorator: Google::Apis::DataprocV1::OperationStatus::Representation
693
+ property :metrics, as: 'metrics', class: Google::Apis::DataprocV1::ClusterMetrics, decorator: Google::Apis::DataprocV1::ClusterMetrics::Representation
623
694
 
624
- property :operation_type, as: 'operationType'
625
- property :description, as: 'description'
695
+ collection :status_history, as: 'statusHistory', class: Google::Apis::DataprocV1::ClusterStatus, decorator: Google::Apis::DataprocV1::ClusterStatus::Representation
696
+
697
+ property :config, as: 'config', class: Google::Apis::DataprocV1::ClusterConfig, decorator: Google::Apis::DataprocV1::ClusterConfig::Representation
698
+
699
+ property :cluster_uuid, as: 'clusterUuid'
700
+ property :cluster_name, as: 'clusterName'
626
701
  end
627
702
  end
628
703
 
629
- class OperationStatus
704
+ class ListOperationsResponse
630
705
  # @private
631
706
  class Representation < Google::Apis::Core::JsonRepresentation
632
- property :state, as: 'state'
633
- property :inner_state, as: 'innerState'
634
- property :details, as: 'details'
635
- property :state_start_time, as: 'stateStartTime'
707
+ property :next_page_token, as: 'nextPageToken'
708
+ collection :operations, as: 'operations', class: Google::Apis::DataprocV1::Operation, decorator: Google::Apis::DataprocV1::Operation::Representation
709
+
636
710
  end
637
711
  end
638
712
  end