google-api-client 0.32.1 → 0.36.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (491) hide show
  1. checksums.yaml +5 -5
  2. data/.kokoro/continuous/linux.cfg +2 -2
  3. data/.kokoro/continuous/post.cfg +30 -0
  4. data/.kokoro/presubmit/linux.cfg +1 -1
  5. data/.kokoro/release.cfg +94 -0
  6. data/.repo-metadata.json +5 -0
  7. data/.rubocop.yml +5 -0
  8. data/.yardopts +16 -3
  9. data/CHANGELOG.md +327 -0
  10. data/Gemfile +1 -0
  11. data/OVERVIEW.md +36 -0
  12. data/README.md +50 -2
  13. data/Rakefile +71 -2
  14. data/docs/api-keys.md +20 -0
  15. data/docs/auth.md +53 -0
  16. data/docs/client-secrets.md +69 -0
  17. data/docs/getting-started.md +340 -0
  18. data/docs/installation.md +0 -0
  19. data/docs/logging.md +34 -0
  20. data/docs/media-upload.md +25 -0
  21. data/docs/oauth-installed.md +191 -0
  22. data/docs/oauth-server.md +135 -0
  23. data/docs/oauth-web.md +280 -0
  24. data/docs/oauth.md +268 -0
  25. data/docs/pagination.md +29 -0
  26. data/docs/performance.md +25 -0
  27. data/generated/google/apis/accessapproval_v1beta1/classes.rb +35 -2
  28. data/generated/google/apis/accessapproval_v1beta1/representations.rb +13 -0
  29. data/generated/google/apis/accessapproval_v1beta1/service.rb +108 -6
  30. data/generated/google/apis/accessapproval_v1beta1.rb +1 -1
  31. data/generated/google/apis/accesscontextmanager_v1/classes.rb +1 -1
  32. data/generated/google/apis/accesscontextmanager_v1.rb +1 -1
  33. data/generated/google/apis/accesscontextmanager_v1beta/classes.rb +1 -73
  34. data/generated/google/apis/accesscontextmanager_v1beta/representations.rb +0 -32
  35. data/generated/google/apis/accesscontextmanager_v1beta.rb +1 -1
  36. data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
  37. data/generated/google/apis/adexchangebuyer_v1_3/classes.rb +24 -2
  38. data/generated/google/apis/adexchangebuyer_v1_3/representations.rb +1 -0
  39. data/generated/google/apis/adexchangebuyer_v1_3.rb +1 -1
  40. data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +25 -3
  41. data/generated/google/apis/adexchangebuyer_v1_4/representations.rb +1 -0
  42. data/generated/google/apis/adexchangebuyer_v1_4.rb +1 -1
  43. data/generated/google/apis/admin_datatransfer_v1/classes.rb +5 -5
  44. data/generated/google/apis/admin_datatransfer_v1/service.rb +2 -2
  45. data/generated/google/apis/admin_datatransfer_v1.rb +1 -1
  46. data/generated/google/apis/admin_directory_v1/classes.rb +4 -3
  47. data/generated/google/apis/admin_directory_v1.rb +4 -1
  48. data/generated/google/apis/admin_reports_v1/classes.rb +87 -44
  49. data/generated/google/apis/admin_reports_v1/service.rb +310 -64
  50. data/generated/google/apis/admin_reports_v1.rb +2 -2
  51. data/generated/google/apis/androidmanagement_v1.rb +1 -1
  52. data/generated/google/apis/androidpublisher_v3/classes.rb +105 -0
  53. data/generated/google/apis/androidpublisher_v3/representations.rb +51 -0
  54. data/generated/google/apis/androidpublisher_v3.rb +1 -1
  55. data/generated/google/apis/appengine_v1/service.rb +10 -6
  56. data/generated/google/apis/appengine_v1.rb +1 -1
  57. data/generated/google/apis/appengine_v1beta/service.rb +10 -6
  58. data/generated/google/apis/appengine_v1beta.rb +1 -1
  59. data/generated/google/apis/appsmarket_v2.rb +1 -1
  60. data/generated/google/apis/bigquery_v2/classes.rb +104 -23
  61. data/generated/google/apis/bigquery_v2/representations.rb +37 -0
  62. data/generated/google/apis/bigquery_v2/service.rb +1 -5
  63. data/generated/google/apis/bigquery_v2.rb +1 -1
  64. data/generated/google/apis/bigqueryconnection_v1beta1/classes.rb +6 -5
  65. data/generated/google/apis/bigqueryconnection_v1beta1/service.rb +3 -2
  66. data/generated/google/apis/bigqueryconnection_v1beta1.rb +1 -1
  67. data/generated/google/apis/bigquerydatatransfer_v1/service.rb +30 -4
  68. data/generated/google/apis/bigquerydatatransfer_v1.rb +1 -1
  69. data/generated/google/apis/bigqueryreservation_v1/classes.rb +0 -21
  70. data/generated/google/apis/bigqueryreservation_v1/representations.rb +0 -13
  71. data/generated/google/apis/bigqueryreservation_v1.rb +1 -1
  72. data/generated/google/apis/bigqueryreservation_v1alpha2/classes.rb +116 -1
  73. data/generated/google/apis/bigqueryreservation_v1alpha2/representations.rb +35 -0
  74. data/generated/google/apis/bigqueryreservation_v1alpha2/service.rb +71 -0
  75. data/generated/google/apis/bigqueryreservation_v1alpha2.rb +1 -1
  76. data/generated/google/apis/bigqueryreservation_v1beta1/classes.rb +61 -77
  77. data/generated/google/apis/bigqueryreservation_v1beta1/representations.rb +16 -17
  78. data/generated/google/apis/bigqueryreservation_v1beta1/service.rb +116 -78
  79. data/generated/google/apis/bigqueryreservation_v1beta1.rb +1 -1
  80. data/generated/google/apis/bigtableadmin_v1/classes.rb +1 -1
  81. data/generated/google/apis/bigtableadmin_v1.rb +1 -1
  82. data/generated/google/apis/bigtableadmin_v2/classes.rb +63 -30
  83. data/generated/google/apis/bigtableadmin_v2/service.rb +1 -1
  84. data/generated/google/apis/bigtableadmin_v2.rb +1 -1
  85. data/generated/google/apis/billingbudgets_v1beta1/classes.rb +392 -0
  86. data/generated/google/apis/billingbudgets_v1beta1/representations.rb +191 -0
  87. data/generated/google/apis/billingbudgets_v1beta1/service.rb +233 -0
  88. data/generated/google/apis/billingbudgets_v1beta1.rb +35 -0
  89. data/generated/google/apis/binaryauthorization_v1/classes.rb +6 -5
  90. data/generated/google/apis/binaryauthorization_v1/service.rb +2 -0
  91. data/generated/google/apis/binaryauthorization_v1.rb +1 -1
  92. data/generated/google/apis/binaryauthorization_v1beta1/classes.rb +6 -5
  93. data/generated/google/apis/binaryauthorization_v1beta1/service.rb +2 -0
  94. data/generated/google/apis/binaryauthorization_v1beta1.rb +1 -1
  95. data/generated/google/apis/books_v1/classes.rb +20 -0
  96. data/generated/google/apis/books_v1/representations.rb +3 -0
  97. data/generated/google/apis/books_v1.rb +1 -1
  98. data/generated/google/apis/calendar_v3/classes.rb +1 -1
  99. data/generated/google/apis/calendar_v3/service.rb +18 -30
  100. data/generated/google/apis/calendar_v3.rb +1 -1
  101. data/generated/google/apis/civicinfo_v2/classes.rb +0 -156
  102. data/generated/google/apis/civicinfo_v2/representations.rb +2 -60
  103. data/generated/google/apis/civicinfo_v2.rb +1 -1
  104. data/generated/google/apis/cloudasset_v1/classes.rb +89 -55
  105. data/generated/google/apis/cloudasset_v1/service.rb +1 -2
  106. data/generated/google/apis/cloudasset_v1.rb +1 -1
  107. data/generated/google/apis/cloudasset_v1beta1/classes.rb +75 -40
  108. data/generated/google/apis/cloudasset_v1beta1.rb +1 -1
  109. data/generated/google/apis/cloudbilling_v1/classes.rb +82 -36
  110. data/generated/google/apis/cloudbilling_v1/representations.rb +0 -1
  111. data/generated/google/apis/cloudbilling_v1/service.rb +5 -3
  112. data/generated/google/apis/cloudbilling_v1.rb +1 -1
  113. data/generated/google/apis/cloudbuild_v1/classes.rb +8 -2
  114. data/generated/google/apis/cloudbuild_v1/representations.rb +1 -0
  115. data/generated/google/apis/cloudbuild_v1/service.rb +18 -18
  116. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  117. data/generated/google/apis/clouddebugger_v2/service.rb +14 -14
  118. data/generated/google/apis/clouddebugger_v2.rb +1 -1
  119. data/generated/google/apis/cloudfunctions_v1/classes.rb +13 -5
  120. data/generated/google/apis/cloudfunctions_v1/representations.rb +1 -0
  121. data/generated/google/apis/cloudfunctions_v1/service.rb +10 -4
  122. data/generated/google/apis/cloudfunctions_v1.rb +1 -1
  123. data/generated/google/apis/cloudfunctions_v1beta2/classes.rb +7 -0
  124. data/generated/google/apis/cloudfunctions_v1beta2/representations.rb +1 -0
  125. data/generated/google/apis/cloudfunctions_v1beta2/service.rb +10 -4
  126. data/generated/google/apis/cloudfunctions_v1beta2.rb +1 -1
  127. data/generated/google/apis/cloudidentity_v1/classes.rb +11 -8
  128. data/generated/google/apis/cloudidentity_v1/service.rb +2 -1
  129. data/generated/google/apis/cloudidentity_v1.rb +1 -1
  130. data/generated/google/apis/cloudidentity_v1beta1/classes.rb +13 -10
  131. data/generated/google/apis/cloudidentity_v1beta1/service.rb +2 -1
  132. data/generated/google/apis/cloudidentity_v1beta1.rb +1 -1
  133. data/generated/google/apis/cloudiot_v1/classes.rb +6 -5
  134. data/generated/google/apis/cloudiot_v1.rb +1 -1
  135. data/generated/google/apis/cloudkms_v1/classes.rb +6 -5
  136. data/generated/google/apis/cloudkms_v1/service.rb +3 -0
  137. data/generated/google/apis/cloudkms_v1.rb +1 -1
  138. data/generated/google/apis/cloudprivatecatalogproducer_v1beta1/classes.rb +75 -40
  139. data/generated/google/apis/cloudprivatecatalogproducer_v1beta1.rb +1 -1
  140. data/generated/google/apis/cloudresourcemanager_v1/classes.rb +18 -17
  141. data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
  142. data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +6 -5
  143. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
  144. data/generated/google/apis/cloudresourcemanager_v2/classes.rb +10 -13
  145. data/generated/google/apis/cloudresourcemanager_v2/service.rb +11 -13
  146. data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
  147. data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +10 -13
  148. data/generated/google/apis/cloudresourcemanager_v2beta1/service.rb +11 -13
  149. data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
  150. data/generated/google/apis/cloudscheduler_v1/classes.rb +2 -1
  151. data/generated/google/apis/cloudscheduler_v1.rb +1 -1
  152. data/generated/google/apis/cloudscheduler_v1beta1/classes.rb +2 -1
  153. data/generated/google/apis/cloudscheduler_v1beta1.rb +1 -1
  154. data/generated/google/apis/cloudsearch_v1/classes.rb +10 -132
  155. data/generated/google/apis/cloudsearch_v1/representations.rb +0 -75
  156. data/generated/google/apis/cloudsearch_v1/service.rb +47 -9
  157. data/generated/google/apis/cloudsearch_v1.rb +8 -8
  158. data/generated/google/apis/cloudshell_v1/classes.rb +24 -1
  159. data/generated/google/apis/cloudshell_v1/representations.rb +3 -0
  160. data/generated/google/apis/cloudshell_v1.rb +1 -1
  161. data/generated/google/apis/cloudshell_v1alpha1/classes.rb +24 -1
  162. data/generated/google/apis/cloudshell_v1alpha1/representations.rb +3 -0
  163. data/generated/google/apis/cloudshell_v1alpha1.rb +1 -1
  164. data/generated/google/apis/cloudtasks_v2/classes.rb +212 -5
  165. data/generated/google/apis/cloudtasks_v2/representations.rb +50 -0
  166. data/generated/google/apis/cloudtasks_v2.rb +1 -1
  167. data/generated/google/apis/cloudtasks_v2beta2/classes.rb +6 -5
  168. data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
  169. data/generated/google/apis/cloudtasks_v2beta3/classes.rb +6 -5
  170. data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
  171. data/generated/google/apis/commentanalyzer_v1alpha1/classes.rb +14 -19
  172. data/generated/google/apis/commentanalyzer_v1alpha1.rb +1 -1
  173. data/generated/google/apis/compute_alpha/classes.rb +594 -164
  174. data/generated/google/apis/compute_alpha/representations.rb +110 -2
  175. data/generated/google/apis/compute_alpha/service.rb +1035 -640
  176. data/generated/google/apis/compute_alpha.rb +1 -1
  177. data/generated/google/apis/compute_beta/classes.rb +1070 -276
  178. data/generated/google/apis/compute_beta/representations.rb +284 -0
  179. data/generated/google/apis/compute_beta/service.rb +1242 -532
  180. data/generated/google/apis/compute_beta.rb +1 -1
  181. data/generated/google/apis/compute_v1/classes.rb +335 -133
  182. data/generated/google/apis/compute_v1/representations.rb +24 -0
  183. data/generated/google/apis/compute_v1/service.rb +759 -473
  184. data/generated/google/apis/compute_v1.rb +1 -1
  185. data/generated/google/apis/container_v1/classes.rb +410 -83
  186. data/generated/google/apis/container_v1/representations.rb +134 -0
  187. data/generated/google/apis/container_v1/service.rb +119 -119
  188. data/generated/google/apis/container_v1.rb +1 -1
  189. data/generated/google/apis/container_v1beta1/classes.rb +157 -3
  190. data/generated/google/apis/container_v1beta1/representations.rb +38 -0
  191. data/generated/google/apis/container_v1beta1.rb +1 -1
  192. data/generated/google/apis/containeranalysis_v1alpha1/classes.rb +6 -5
  193. data/generated/google/apis/containeranalysis_v1alpha1.rb +1 -1
  194. data/generated/google/apis/containeranalysis_v1beta1/classes.rb +6 -5
  195. data/generated/google/apis/containeranalysis_v1beta1.rb +1 -1
  196. data/generated/google/apis/content_v2/classes.rb +35 -223
  197. data/generated/google/apis/content_v2/representations.rb +0 -115
  198. data/generated/google/apis/content_v2/service.rb +0 -160
  199. data/generated/google/apis/content_v2.rb +1 -1
  200. data/generated/google/apis/content_v2_1/classes.rb +69 -21
  201. data/generated/google/apis/content_v2_1/representations.rb +3 -0
  202. data/generated/google/apis/content_v2_1.rb +1 -1
  203. data/generated/google/apis/datacatalog_v1beta1/classes.rb +1646 -0
  204. data/generated/google/apis/datacatalog_v1beta1/representations.rb +700 -0
  205. data/generated/google/apis/datacatalog_v1beta1/service.rb +1982 -0
  206. data/generated/google/apis/{cloudbuild_v1alpha1.rb → datacatalog_v1beta1.rb} +10 -9
  207. data/generated/google/apis/dataflow_v1b3/classes.rb +6 -9
  208. data/generated/google/apis/dataflow_v1b3/representations.rb +1 -1
  209. data/generated/google/apis/dataflow_v1b3.rb +1 -1
  210. data/generated/google/apis/datafusion_v1beta1/classes.rb +156 -46
  211. data/generated/google/apis/datafusion_v1beta1/representations.rb +33 -0
  212. data/generated/google/apis/datafusion_v1beta1/service.rb +10 -1
  213. data/generated/google/apis/datafusion_v1beta1.rb +1 -1
  214. data/generated/google/apis/dataproc_v1/classes.rb +119 -11
  215. data/generated/google/apis/dataproc_v1/representations.rb +39 -0
  216. data/generated/google/apis/dataproc_v1/service.rb +14 -7
  217. data/generated/google/apis/dataproc_v1.rb +1 -1
  218. data/generated/google/apis/dataproc_v1beta2/classes.rb +9 -11
  219. data/generated/google/apis/dataproc_v1beta2/service.rb +26 -19
  220. data/generated/google/apis/dataproc_v1beta2.rb +1 -1
  221. data/generated/google/apis/datastore_v1/service.rb +85 -1
  222. data/generated/google/apis/datastore_v1.rb +1 -1
  223. data/generated/google/apis/datastore_v1beta3/service.rb +1 -1
  224. data/generated/google/apis/datastore_v1beta3.rb +1 -1
  225. data/generated/google/apis/dfareporting_v3_3/classes.rb +21 -1
  226. data/generated/google/apis/dfareporting_v3_3/service.rb +6 -6
  227. data/generated/google/apis/dfareporting_v3_3.rb +1 -1
  228. data/generated/google/apis/{dfareporting_v3_2 → dfareporting_v3_4}/classes.rb +1215 -797
  229. data/generated/google/apis/{dfareporting_v3_2 → dfareporting_v3_4}/representations.rb +593 -395
  230. data/generated/google/apis/{dfareporting_v3_2 → dfareporting_v3_4}/service.rb +966 -1074
  231. data/generated/google/apis/{dfareporting_v3_2.rb → dfareporting_v3_4.rb} +6 -6
  232. data/generated/google/apis/dialogflow_v2/classes.rb +509 -8
  233. data/generated/google/apis/dialogflow_v2/representations.rb +222 -0
  234. data/generated/google/apis/dialogflow_v2.rb +1 -1
  235. data/generated/google/apis/dialogflow_v2beta1/classes.rb +530 -8
  236. data/generated/google/apis/dialogflow_v2beta1/representations.rb +224 -0
  237. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  238. data/generated/google/apis/dlp_v2/classes.rb +109 -33
  239. data/generated/google/apis/dlp_v2/representations.rb +23 -3
  240. data/generated/google/apis/dlp_v2/service.rb +1996 -209
  241. data/generated/google/apis/dlp_v2.rb +1 -1
  242. data/generated/google/apis/dns_v1beta2/classes.rb +47 -0
  243. data/generated/google/apis/dns_v1beta2/representations.rb +17 -0
  244. data/generated/google/apis/dns_v1beta2.rb +1 -1
  245. data/generated/google/apis/docs_v1/classes.rb +175 -0
  246. data/generated/google/apis/docs_v1/representations.rb +77 -0
  247. data/generated/google/apis/docs_v1.rb +1 -1
  248. data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
  249. data/generated/google/apis/doubleclickbidmanager_v1_1/classes.rb +826 -0
  250. data/generated/google/apis/doubleclickbidmanager_v1_1/representations.rb +372 -0
  251. data/generated/google/apis/doubleclickbidmanager_v1_1/service.rb +371 -0
  252. data/generated/google/apis/{urlshortener_v1.rb → doubleclickbidmanager_v1_1.rb} +11 -11
  253. data/generated/google/apis/drive_v2/classes.rb +2 -1
  254. data/generated/google/apis/drive_v2/service.rb +3 -3
  255. data/generated/google/apis/drive_v2.rb +1 -1
  256. data/generated/google/apis/drive_v3/classes.rb +12 -3
  257. data/generated/google/apis/drive_v3.rb +1 -1
  258. data/generated/google/apis/fcm_v1/classes.rb +15 -0
  259. data/generated/google/apis/fcm_v1/representations.rb +2 -0
  260. data/generated/google/apis/fcm_v1.rb +1 -1
  261. data/generated/google/apis/firebase_v1beta1/classes.rb +18 -4
  262. data/generated/google/apis/firebase_v1beta1/representations.rb +2 -0
  263. data/generated/google/apis/firebase_v1beta1/service.rb +6 -6
  264. data/generated/google/apis/firebase_v1beta1.rb +1 -1
  265. data/generated/google/apis/firebasehosting_v1beta1/classes.rb +62 -0
  266. data/generated/google/apis/firebasehosting_v1beta1/representations.rb +31 -0
  267. data/generated/google/apis/firebasehosting_v1beta1/service.rb +47 -0
  268. data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
  269. data/generated/google/apis/firebaserules_v1/classes.rb +26 -0
  270. data/generated/google/apis/firebaserules_v1/representations.rb +15 -0
  271. data/generated/google/apis/firebaserules_v1.rb +1 -1
  272. data/generated/google/apis/firestore_v1.rb +1 -1
  273. data/generated/google/apis/firestore_v1beta1.rb +1 -1
  274. data/generated/google/apis/fitness_v1/service.rb +1 -1
  275. data/generated/google/apis/fitness_v1.rb +1 -1
  276. data/generated/google/apis/games_management_v1management/classes.rb +6 -26
  277. data/generated/google/apis/games_management_v1management/representations.rb +1 -14
  278. data/generated/google/apis/games_management_v1management/service.rb +0 -158
  279. data/generated/google/apis/games_management_v1management.rb +1 -1
  280. data/generated/google/apis/games_v1/classes.rb +6 -292
  281. data/generated/google/apis/games_v1/representations.rb +1 -98
  282. data/generated/google/apis/games_v1/service.rb +0 -123
  283. data/generated/google/apis/games_v1.rb +1 -1
  284. data/generated/google/apis/genomics_v2alpha1/classes.rb +32 -0
  285. data/generated/google/apis/genomics_v2alpha1/representations.rb +16 -0
  286. data/generated/google/apis/genomics_v2alpha1.rb +1 -1
  287. data/generated/google/apis/healthcare_v1beta1/classes.rb +213 -16
  288. data/generated/google/apis/healthcare_v1beta1/representations.rb +101 -0
  289. data/generated/google/apis/healthcare_v1beta1/service.rb +207 -116
  290. data/generated/google/apis/healthcare_v1beta1.rb +1 -1
  291. data/generated/google/apis/homegraph_v1/classes.rb +15 -1
  292. data/generated/google/apis/homegraph_v1/representations.rb +2 -1
  293. data/generated/google/apis/homegraph_v1.rb +1 -1
  294. data/generated/google/apis/iam_v1/classes.rb +15 -7
  295. data/generated/google/apis/iam_v1/representations.rb +1 -0
  296. data/generated/google/apis/iam_v1.rb +1 -1
  297. data/generated/google/apis/iap_v1/classes.rb +187 -2
  298. data/generated/google/apis/iap_v1/representations.rb +102 -0
  299. data/generated/google/apis/iap_v1/service.rb +72 -0
  300. data/generated/google/apis/iap_v1.rb +1 -1
  301. data/generated/google/apis/iap_v1beta1/classes.rb +2 -2
  302. data/generated/google/apis/iap_v1beta1.rb +1 -1
  303. data/generated/google/apis/jobs_v2/classes.rb +167 -0
  304. data/generated/google/apis/jobs_v2/representations.rb +40 -0
  305. data/generated/google/apis/jobs_v2.rb +1 -1
  306. data/generated/google/apis/jobs_v3/classes.rb +179 -0
  307. data/generated/google/apis/jobs_v3/representations.rb +41 -0
  308. data/generated/google/apis/jobs_v3.rb +1 -1
  309. data/generated/google/apis/jobs_v3p1beta1/classes.rb +179 -0
  310. data/generated/google/apis/jobs_v3p1beta1/representations.rb +41 -0
  311. data/generated/google/apis/jobs_v3p1beta1.rb +1 -1
  312. data/generated/google/apis/licensing_v1/classes.rb +15 -7
  313. data/generated/google/apis/licensing_v1/service.rb +81 -37
  314. data/generated/google/apis/licensing_v1.rb +4 -4
  315. data/generated/google/apis/lifesciences_v2beta/classes.rb +1329 -0
  316. data/generated/google/apis/lifesciences_v2beta/representations.rb +533 -0
  317. data/generated/google/apis/lifesciences_v2beta/service.rb +303 -0
  318. data/generated/google/apis/lifesciences_v2beta.rb +35 -0
  319. data/generated/google/apis/logging_v2/classes.rb +30 -2
  320. data/generated/google/apis/logging_v2/representations.rb +4 -0
  321. data/generated/google/apis/logging_v2/service.rb +10 -5
  322. data/generated/google/apis/logging_v2.rb +1 -1
  323. data/generated/google/apis/ml_v1/classes.rb +308 -155
  324. data/generated/google/apis/ml_v1/representations.rb +59 -0
  325. data/generated/google/apis/ml_v1/service.rb +44 -3
  326. data/generated/google/apis/ml_v1.rb +2 -2
  327. data/generated/google/apis/monitoring_v1/classes.rb +1153 -0
  328. data/generated/google/apis/monitoring_v1/representations.rb +528 -0
  329. data/generated/google/apis/{cloudbuild_v1alpha1 → monitoring_v1}/service.rb +86 -63
  330. data/generated/google/apis/monitoring_v1.rb +48 -0
  331. data/generated/google/apis/monitoring_v3/classes.rb +836 -60
  332. data/generated/google/apis/monitoring_v3/representations.rb +348 -0
  333. data/generated/google/apis/monitoring_v3/service.rb +384 -2
  334. data/generated/google/apis/monitoring_v3.rb +1 -1
  335. data/generated/google/apis/oslogin_v1/classes.rb +1 -1
  336. data/generated/google/apis/oslogin_v1/service.rb +10 -6
  337. data/generated/google/apis/oslogin_v1.rb +1 -1
  338. data/generated/google/apis/oslogin_v1beta/classes.rb +1 -1
  339. data/generated/google/apis/oslogin_v1beta/service.rb +9 -5
  340. data/generated/google/apis/oslogin_v1beta.rb +1 -1
  341. data/generated/google/apis/pagespeedonline_v5/classes.rb +8 -0
  342. data/generated/google/apis/pagespeedonline_v5/representations.rb +1 -0
  343. data/generated/google/apis/pagespeedonline_v5.rb +1 -1
  344. data/generated/google/apis/people_v1/classes.rb +67 -63
  345. data/generated/google/apis/people_v1/service.rb +53 -44
  346. data/generated/google/apis/people_v1.rb +1 -1
  347. data/generated/google/apis/policytroubleshooter_v1beta/classes.rb +168 -90
  348. data/generated/google/apis/policytroubleshooter_v1beta/service.rb +2 -3
  349. data/generated/google/apis/policytroubleshooter_v1beta.rb +1 -1
  350. data/generated/google/apis/pubsub_v1/classes.rb +8 -6
  351. data/generated/google/apis/pubsub_v1/service.rb +9 -7
  352. data/generated/google/apis/pubsub_v1.rb +1 -1
  353. data/generated/google/apis/pubsub_v1beta2/classes.rb +6 -5
  354. data/generated/google/apis/pubsub_v1beta2/service.rb +2 -0
  355. data/generated/google/apis/pubsub_v1beta2.rb +1 -1
  356. data/generated/google/apis/recommender_v1beta1/classes.rb +1 -1
  357. data/generated/google/apis/recommender_v1beta1/service.rb +10 -8
  358. data/generated/google/apis/recommender_v1beta1.rb +1 -1
  359. data/generated/google/apis/redis_v1/classes.rb +11 -11
  360. data/generated/google/apis/redis_v1/service.rb +5 -5
  361. data/generated/google/apis/redis_v1.rb +1 -1
  362. data/generated/google/apis/redis_v1beta1/classes.rb +11 -11
  363. data/generated/google/apis/redis_v1beta1/service.rb +5 -5
  364. data/generated/google/apis/redis_v1beta1.rb +1 -1
  365. data/generated/google/apis/remotebuildexecution_v1/classes.rb +113 -0
  366. data/generated/google/apis/remotebuildexecution_v1/representations.rb +50 -0
  367. data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
  368. data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +113 -0
  369. data/generated/google/apis/remotebuildexecution_v1alpha/representations.rb +50 -0
  370. data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
  371. data/generated/google/apis/remotebuildexecution_v2/classes.rb +113 -0
  372. data/generated/google/apis/remotebuildexecution_v2/representations.rb +50 -0
  373. data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
  374. data/generated/google/apis/reseller_v1/service.rb +1 -1
  375. data/generated/google/apis/reseller_v1.rb +1 -1
  376. data/generated/google/apis/run_v1/classes.rb +8 -176
  377. data/generated/google/apis/run_v1/representations.rb +0 -71
  378. data/generated/google/apis/run_v1/service.rb +209 -1125
  379. data/generated/google/apis/run_v1.rb +1 -1
  380. data/generated/google/apis/run_v1alpha1/classes.rb +328 -9
  381. data/generated/google/apis/run_v1alpha1/representations.rb +126 -0
  382. data/generated/google/apis/run_v1alpha1/service.rb +408 -0
  383. data/generated/google/apis/run_v1alpha1.rb +1 -1
  384. data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +75 -40
  385. data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
  386. data/generated/google/apis/securitycenter_v1/classes.rb +159 -66
  387. data/generated/google/apis/securitycenter_v1/representations.rb +19 -0
  388. data/generated/google/apis/securitycenter_v1/service.rb +14 -12
  389. data/generated/google/apis/securitycenter_v1.rb +1 -1
  390. data/generated/google/apis/securitycenter_v1beta1/classes.rb +95 -57
  391. data/generated/google/apis/securitycenter_v1beta1/service.rb +14 -12
  392. data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
  393. data/generated/google/apis/servicebroker_v1/classes.rb +75 -40
  394. data/generated/google/apis/servicebroker_v1.rb +1 -1
  395. data/generated/google/apis/servicebroker_v1alpha1/classes.rb +75 -40
  396. data/generated/google/apis/servicebroker_v1alpha1.rb +1 -1
  397. data/generated/google/apis/servicebroker_v1beta1/classes.rb +75 -40
  398. data/generated/google/apis/servicebroker_v1beta1.rb +1 -1
  399. data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +95 -43
  400. data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +30 -0
  401. data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
  402. data/generated/google/apis/servicecontrol_v1/classes.rb +8 -12
  403. data/generated/google/apis/servicecontrol_v1/representations.rb +1 -1
  404. data/generated/google/apis/servicecontrol_v1.rb +1 -1
  405. data/generated/google/apis/servicemanagement_v1/classes.rb +142 -91
  406. data/generated/google/apis/servicemanagement_v1/representations.rb +24 -0
  407. data/generated/google/apis/servicemanagement_v1/service.rb +32 -26
  408. data/generated/google/apis/servicemanagement_v1.rb +1 -1
  409. data/generated/google/apis/servicenetworking_v1/classes.rb +181 -54
  410. data/generated/google/apis/servicenetworking_v1/representations.rb +71 -0
  411. data/generated/google/apis/servicenetworking_v1/service.rb +77 -3
  412. data/generated/google/apis/servicenetworking_v1.rb +1 -1
  413. data/generated/google/apis/servicenetworking_v1beta/classes.rb +32 -43
  414. data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
  415. data/generated/google/apis/serviceusage_v1/classes.rb +87 -43
  416. data/generated/google/apis/serviceusage_v1/representations.rb +29 -0
  417. data/generated/google/apis/serviceusage_v1.rb +1 -1
  418. data/generated/google/apis/serviceusage_v1beta1/classes.rb +87 -43
  419. data/generated/google/apis/serviceusage_v1beta1/representations.rb +29 -0
  420. data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
  421. data/generated/google/apis/sheets_v4/classes.rb +1371 -232
  422. data/generated/google/apis/sheets_v4/representations.rb +180 -0
  423. data/generated/google/apis/sheets_v4.rb +1 -1
  424. data/generated/google/apis/spanner_v1/classes.rb +70 -30
  425. data/generated/google/apis/spanner_v1/service.rb +270 -0
  426. data/generated/google/apis/spanner_v1.rb +1 -1
  427. data/generated/google/apis/speech_v1/classes.rb +6 -0
  428. data/generated/google/apis/speech_v1/representations.rb +1 -0
  429. data/generated/google/apis/speech_v1.rb +1 -1
  430. data/generated/google/apis/speech_v1p1beta1/classes.rb +6 -0
  431. data/generated/google/apis/speech_v1p1beta1/representations.rb +1 -0
  432. data/generated/google/apis/speech_v1p1beta1.rb +1 -1
  433. data/generated/google/apis/{speech_v2beta → speech_v2beta1}/classes.rb +9 -8
  434. data/generated/google/apis/{speech_v2beta → speech_v2beta1}/representations.rb +6 -6
  435. data/generated/google/apis/{speech_v2beta → speech_v2beta1}/service.rb +13 -13
  436. data/generated/google/apis/{speech_v2beta.rb → speech_v2beta1.rb} +6 -6
  437. data/generated/google/apis/{sqladmin_v1beta4 → sql_v1beta4}/classes.rb +499 -380
  438. data/generated/google/apis/{sqladmin_v1beta4 → sql_v1beta4}/representations.rb +125 -104
  439. data/generated/google/apis/{sqladmin_v1beta4 → sql_v1beta4}/service.rb +637 -590
  440. data/generated/google/apis/{sqladmin_v1beta4.rb → sql_v1beta4.rb} +7 -8
  441. data/generated/google/apis/storage_v1.rb +1 -1
  442. data/generated/google/apis/storagetransfer_v1.rb +1 -1
  443. data/generated/google/apis/streetviewpublish_v1/classes.rb +1 -1
  444. data/generated/google/apis/streetviewpublish_v1.rb +1 -1
  445. data/generated/google/apis/testing_v1/classes.rb +142 -1
  446. data/generated/google/apis/testing_v1/representations.rb +76 -0
  447. data/generated/google/apis/testing_v1.rb +1 -1
  448. data/generated/google/apis/videointelligence_v1/classes.rb +147 -36
  449. data/generated/google/apis/videointelligence_v1/representations.rb +62 -0
  450. data/generated/google/apis/videointelligence_v1.rb +1 -1
  451. data/generated/google/apis/videointelligence_v1beta2/classes.rb +147 -36
  452. data/generated/google/apis/videointelligence_v1beta2/representations.rb +62 -0
  453. data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
  454. data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +147 -36
  455. data/generated/google/apis/videointelligence_v1p1beta1/representations.rb +62 -0
  456. data/generated/google/apis/videointelligence_v1p1beta1.rb +1 -1
  457. data/generated/google/apis/videointelligence_v1p2beta1/classes.rb +147 -36
  458. data/generated/google/apis/videointelligence_v1p2beta1/representations.rb +62 -0
  459. data/generated/google/apis/videointelligence_v1p2beta1.rb +1 -1
  460. data/generated/google/apis/videointelligence_v1p3beta1/classes.rb +147 -36
  461. data/generated/google/apis/videointelligence_v1p3beta1/representations.rb +62 -0
  462. data/generated/google/apis/videointelligence_v1p3beta1.rb +1 -1
  463. data/generated/google/apis/vision_v1/classes.rb +66 -0
  464. data/generated/google/apis/vision_v1/representations.rb +32 -0
  465. data/generated/google/apis/vision_v1.rb +1 -1
  466. data/generated/google/apis/vision_v1p1beta1/classes.rb +66 -0
  467. data/generated/google/apis/vision_v1p1beta1/representations.rb +32 -0
  468. data/generated/google/apis/vision_v1p1beta1.rb +1 -1
  469. data/generated/google/apis/vision_v1p2beta1/classes.rb +66 -0
  470. data/generated/google/apis/vision_v1p2beta1/representations.rb +32 -0
  471. data/generated/google/apis/vision_v1p2beta1.rb +1 -1
  472. data/generated/google/apis/youtube_partner_v1/service.rb +2 -2
  473. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  474. data/google-api-client.gemspec +6 -3
  475. data/lib/google/apis/core/api_command.rb +3 -0
  476. data/lib/google/apis/core/http_command.rb +10 -8
  477. data/lib/google/apis/core/upload.rb +4 -0
  478. data/lib/google/apis/version.rb +1 -1
  479. data/rakelib/devsite/devsite_builder.rb +126 -0
  480. data/rakelib/devsite/link_checker.rb +64 -0
  481. data/rakelib/devsite/repo_metadata.rb +56 -0
  482. metadata +64 -42
  483. data/generated/google/apis/cloudbuild_v1alpha1/classes.rb +0 -1168
  484. data/generated/google/apis/cloudbuild_v1alpha1/representations.rb +0 -434
  485. data/generated/google/apis/storage_v1beta1/classes.rb +0 -616
  486. data/generated/google/apis/storage_v1beta1/representations.rb +0 -249
  487. data/generated/google/apis/storage_v1beta1/service.rb +0 -1032
  488. data/generated/google/apis/storage_v1beta1.rb +0 -40
  489. data/generated/google/apis/urlshortener_v1/classes.rb +0 -246
  490. data/generated/google/apis/urlshortener_v1/representations.rb +0 -121
  491. data/generated/google/apis/urlshortener_v1/service.rb +0 -169
@@ -864,6 +864,11 @@ module Google
864
864
  # @return [String]
865
865
  attr_accessor :network_uri
866
866
 
867
+ # Reservation Affinity for consuming Zonal reservation.
868
+ # Corresponds to the JSON property `reservationAffinity`
869
+ # @return [Google::Apis::DataprocV1::ReservationAffinity]
870
+ attr_accessor :reservation_affinity
871
+
867
872
  # Optional. The service account of the instances. Defaults to the default
868
873
  # Compute Engine service account. Custom service accounts need permissions
869
874
  # equivalent to the following IAM roles:
@@ -926,6 +931,7 @@ module Google
926
931
  @internal_ip_only = args[:internal_ip_only] if args.key?(:internal_ip_only)
927
932
  @metadata = args[:metadata] if args.key?(:metadata)
928
933
  @network_uri = args[:network_uri] if args.key?(:network_uri)
934
+ @reservation_affinity = args[:reservation_affinity] if args.key?(:reservation_affinity)
929
935
  @service_account = args[:service_account] if args.key?(:service_account)
930
936
  @service_account_scopes = args[:service_account_scopes] if args.key?(:service_account_scopes)
931
937
  @subnetwork_uri = args[:subnetwork_uri] if args.key?(:subnetwork_uri)
@@ -1168,8 +1174,6 @@ module Google
1168
1174
  include Google::Apis::Core::Hashable
1169
1175
 
1170
1176
  # Optional. The Compute Engine accelerator configuration for these instances.
1171
- # Beta Feature: This feature is still under development. It may be changed
1172
- # before final release.
1173
1177
  # Corresponds to the JSON property `accelerators`
1174
1178
  # @return [Array<Google::Apis::DataprocV1::AcceleratorConfig>]
1175
1179
  attr_accessor :accelerators
@@ -1214,6 +1218,12 @@ module Google
1214
1218
  # @return [Google::Apis::DataprocV1::ManagedGroupConfig]
1215
1219
  attr_accessor :managed_group_config
1216
1220
 
1221
+ # Optional. Specifies the minimum cpu platform for the Instance Group. See Cloud
1222
+ # Dataproc&rarr;Minimum CPU Platform.
1223
+ # Corresponds to the JSON property `minCpuPlatform`
1224
+ # @return [String]
1225
+ attr_accessor :min_cpu_platform
1226
+
1217
1227
  # Optional. The number of VM instances in the instance group. For master
1218
1228
  # instance groups, must be set to 1.
1219
1229
  # Corresponds to the JSON property `numInstances`
@@ -1233,6 +1243,7 @@ module Google
1233
1243
  @is_preemptible = args[:is_preemptible] if args.key?(:is_preemptible)
1234
1244
  @machine_type_uri = args[:machine_type_uri] if args.key?(:machine_type_uri)
1235
1245
  @managed_group_config = args[:managed_group_config] if args.key?(:managed_group_config)
1246
+ @min_cpu_platform = args[:min_cpu_platform] if args.key?(:min_cpu_platform)
1236
1247
  @num_instances = args[:num_instances] if args.key?(:num_instances)
1237
1248
  end
1238
1249
  end
@@ -1357,6 +1368,12 @@ module Google
1357
1368
  # @return [Google::Apis::DataprocV1::SparkJob]
1358
1369
  attr_accessor :spark_job
1359
1370
 
1371
+ # A Cloud Dataproc job for running Apache SparkR (https://spark.apache.org/docs/
1372
+ # latest/sparkr.html) applications on YARN.
1373
+ # Corresponds to the JSON property `sparkRJob`
1374
+ # @return [Google::Apis::DataprocV1::SparkRJob]
1375
+ attr_accessor :spark_r_job
1376
+
1360
1377
  # A Cloud Dataproc job for running Apache Spark SQL (http://spark.apache.org/sql/
1361
1378
  # ) queries.
1362
1379
  # Corresponds to the JSON property `sparkSqlJob`
@@ -1398,6 +1415,7 @@ module Google
1398
1415
  @reference = args[:reference] if args.key?(:reference)
1399
1416
  @scheduling = args[:scheduling] if args.key?(:scheduling)
1400
1417
  @spark_job = args[:spark_job] if args.key?(:spark_job)
1418
+ @spark_r_job = args[:spark_r_job] if args.key?(:spark_r_job)
1401
1419
  @spark_sql_job = args[:spark_sql_job] if args.key?(:spark_sql_job)
1402
1420
  @status = args[:status] if args.key?(:status)
1403
1421
  @status_history = args[:status_history] if args.key?(:status_history)
@@ -2183,7 +2201,7 @@ module Google
2183
2201
  # `
2184
2202
  # "bindings": [
2185
2203
  # `
2186
- # "role": "role/resourcemanager.organizationAdmin",
2204
+ # "role": "roles/resourcemanager.organizationAdmin",
2187
2205
  # "members": [
2188
2206
  # "user:mike@example.com",
2189
2207
  # "group:admins@example.com",
@@ -2238,8 +2256,8 @@ module Google
2238
2256
  # the request to setIamPolicy to ensure that their change will be applied to the
2239
2257
  # same version of the policy.If no etag is provided in the call to setIamPolicy,
2240
2258
  # then the existing policy is overwritten. Due to blind-set semantics of an etag-
2241
- # less policy, 'setIamPolicy' will not fail even if either of incoming or stored
2242
- # policy does not meet the version requirements.
2259
+ # less policy, 'setIamPolicy' will not fail even if the incoming policy version
2260
+ # does not meet the requirements for modifying the stored policy.
2243
2261
  # Corresponds to the JSON property `etag`
2244
2262
  # NOTE: Values are automatically base64 encoded/decoded in the client library.
2245
2263
  # @return [String]
@@ -2248,11 +2266,11 @@ module Google
2248
2266
  # Specifies the format of the policy.Valid values are 0, 1, and 3. Requests
2249
2267
  # specifying an invalid value will be rejected.Operations affecting conditional
2250
2268
  # bindings must specify version 3. This can be either setting a conditional
2251
- # policy, modifying a conditional binding, or removing a conditional binding
2252
- # from the stored conditional policy. Operations on non-conditional policies may
2253
- # specify any valid value or leave the field unset.If no etag is provided in the
2254
- # call to setIamPolicy, any version compliance checks on the incoming and/or
2255
- # stored policy is skipped.
2269
+ # policy, modifying a conditional binding, or removing a binding (conditional or
2270
+ # unconditional) from the stored conditional policy. Operations on non-
2271
+ # conditional policies may specify any valid value or leave the field unset.If
2272
+ # no etag is provided in the call to setIamPolicy, version compliance checks
2273
+ # against the stored policy is skipped.
2256
2274
  # Corresponds to the JSON property `version`
2257
2275
  # @return [Fixnum]
2258
2276
  attr_accessor :version
@@ -2393,6 +2411,37 @@ module Google
2393
2411
  end
2394
2412
  end
2395
2413
 
2414
+ # Reservation Affinity for consuming Zonal reservation.
2415
+ class ReservationAffinity
2416
+ include Google::Apis::Core::Hashable
2417
+
2418
+ # Optional. Type of reservation to consume
2419
+ # Corresponds to the JSON property `consumeReservationType`
2420
+ # @return [String]
2421
+ attr_accessor :consume_reservation_type
2422
+
2423
+ # Optional. Corresponds to the label key of reservation resource.
2424
+ # Corresponds to the JSON property `key`
2425
+ # @return [String]
2426
+ attr_accessor :key
2427
+
2428
+ # Optional. Corresponds to the label values of reservation resource.
2429
+ # Corresponds to the JSON property `values`
2430
+ # @return [Array<String>]
2431
+ attr_accessor :values
2432
+
2433
+ def initialize(**args)
2434
+ update!(**args)
2435
+ end
2436
+
2437
+ # Update properties of this object
2438
+ def update!(**args)
2439
+ @consume_reservation_type = args[:consume_reservation_type] if args.key?(:consume_reservation_type)
2440
+ @key = args[:key] if args.key?(:key)
2441
+ @values = args[:values] if args.key?(:values)
2442
+ end
2443
+ end
2444
+
2396
2445
  # Security related configuration, including Kerberos.
2397
2446
  class SecurityConfig
2398
2447
  include Google::Apis::Core::Hashable
@@ -2427,7 +2476,7 @@ module Google
2427
2476
  # `
2428
2477
  # "bindings": [
2429
2478
  # `
2430
- # "role": "role/resourcemanager.organizationAdmin",
2479
+ # "role": "roles/resourcemanager.organizationAdmin",
2431
2480
  # "members": [
2432
2481
  # "user:mike@example.com",
2433
2482
  # "group:admins@example.com",
@@ -2595,6 +2644,65 @@ module Google
2595
2644
  end
2596
2645
  end
2597
2646
 
2647
+ # A Cloud Dataproc job for running Apache SparkR (https://spark.apache.org/docs/
2648
+ # latest/sparkr.html) applications on YARN.
2649
+ class SparkRJob
2650
+ include Google::Apis::Core::Hashable
2651
+
2652
+ # Optional. HCFS URIs of archives to be extracted in the working directory of
2653
+ # Spark drivers and tasks. Supported file types: .jar, .tar, .tar.gz, .tgz, and .
2654
+ # zip.
2655
+ # Corresponds to the JSON property `archiveUris`
2656
+ # @return [Array<String>]
2657
+ attr_accessor :archive_uris
2658
+
2659
+ # Optional. The arguments to pass to the driver. Do not include arguments, such
2660
+ # as --conf, that can be set as job properties, since a collision may occur that
2661
+ # causes an incorrect job submission.
2662
+ # Corresponds to the JSON property `args`
2663
+ # @return [Array<String>]
2664
+ attr_accessor :args
2665
+
2666
+ # Optional. HCFS URIs of files to be copied to the working directory of R
2667
+ # drivers and distributed tasks. Useful for naively parallel tasks.
2668
+ # Corresponds to the JSON property `fileUris`
2669
+ # @return [Array<String>]
2670
+ attr_accessor :file_uris
2671
+
2672
+ # The runtime logging config of the job.
2673
+ # Corresponds to the JSON property `loggingConfig`
2674
+ # @return [Google::Apis::DataprocV1::LoggingConfig]
2675
+ attr_accessor :logging_config
2676
+
2677
+ # Required. The HCFS URI of the main R file to use as the driver. Must be a .R
2678
+ # file.
2679
+ # Corresponds to the JSON property `mainRFileUri`
2680
+ # @return [String]
2681
+ attr_accessor :main_r_file_uri
2682
+
2683
+ # Optional. A mapping of property names to values, used to configure SparkR.
2684
+ # Properties that conflict with values set by the Cloud Dataproc API may be
2685
+ # overwritten. Can include properties set in /etc/spark/conf/spark-defaults.conf
2686
+ # and classes in user code.
2687
+ # Corresponds to the JSON property `properties`
2688
+ # @return [Hash<String,String>]
2689
+ attr_accessor :properties
2690
+
2691
+ def initialize(**args)
2692
+ update!(**args)
2693
+ end
2694
+
2695
+ # Update properties of this object
2696
+ def update!(**args)
2697
+ @archive_uris = args[:archive_uris] if args.key?(:archive_uris)
2698
+ @args = args[:args] if args.key?(:args)
2699
+ @file_uris = args[:file_uris] if args.key?(:file_uris)
2700
+ @logging_config = args[:logging_config] if args.key?(:logging_config)
2701
+ @main_r_file_uri = args[:main_r_file_uri] if args.key?(:main_r_file_uri)
2702
+ @properties = args[:properties] if args.key?(:properties)
2703
+ end
2704
+ end
2705
+
2598
2706
  # A Cloud Dataproc job for running Apache Spark SQL (http://spark.apache.org/sql/
2599
2707
  # ) queries.
2600
2708
  class SparkSqlJob
@@ -340,6 +340,12 @@ module Google
340
340
  include Google::Apis::Core::JsonObjectSupport
341
341
  end
342
342
 
343
+ class ReservationAffinity
344
+ class Representation < Google::Apis::Core::JsonRepresentation; end
345
+
346
+ include Google::Apis::Core::JsonObjectSupport
347
+ end
348
+
343
349
  class SecurityConfig
344
350
  class Representation < Google::Apis::Core::JsonRepresentation; end
345
351
 
@@ -364,6 +370,12 @@ module Google
364
370
  include Google::Apis::Core::JsonObjectSupport
365
371
  end
366
372
 
373
+ class SparkRJob
374
+ class Representation < Google::Apis::Core::JsonRepresentation; end
375
+
376
+ include Google::Apis::Core::JsonObjectSupport
377
+ end
378
+
367
379
  class SparkSqlJob
368
380
  class Representation < Google::Apis::Core::JsonRepresentation; end
369
381
 
@@ -664,6 +676,8 @@ module Google
664
676
  property :internal_ip_only, as: 'internalIpOnly'
665
677
  hash :metadata, as: 'metadata'
666
678
  property :network_uri, as: 'networkUri'
679
+ property :reservation_affinity, as: 'reservationAffinity', class: Google::Apis::DataprocV1::ReservationAffinity, decorator: Google::Apis::DataprocV1::ReservationAffinity::Representation
680
+
667
681
  property :service_account, as: 'serviceAccount'
668
682
  collection :service_account_scopes, as: 'serviceAccountScopes'
669
683
  property :subnetwork_uri, as: 'subnetworkUri'
@@ -737,6 +751,7 @@ module Google
737
751
  property :machine_type_uri, as: 'machineTypeUri'
738
752
  property :managed_group_config, as: 'managedGroupConfig', class: Google::Apis::DataprocV1::ManagedGroupConfig, decorator: Google::Apis::DataprocV1::ManagedGroupConfig::Representation
739
753
 
754
+ property :min_cpu_platform, as: 'minCpuPlatform'
740
755
  property :num_instances, as: 'numInstances'
741
756
  end
742
757
  end
@@ -773,6 +788,8 @@ module Google
773
788
 
774
789
  property :spark_job, as: 'sparkJob', class: Google::Apis::DataprocV1::SparkJob, decorator: Google::Apis::DataprocV1::SparkJob::Representation
775
790
 
791
+ property :spark_r_job, as: 'sparkRJob', class: Google::Apis::DataprocV1::SparkRJob, decorator: Google::Apis::DataprocV1::SparkRJob::Representation
792
+
776
793
  property :spark_sql_job, as: 'sparkSqlJob', class: Google::Apis::DataprocV1::SparkSqlJob, decorator: Google::Apis::DataprocV1::SparkSqlJob::Representation
777
794
 
778
795
  property :status, as: 'status', class: Google::Apis::DataprocV1::JobStatus, decorator: Google::Apis::DataprocV1::JobStatus::Representation
@@ -1025,6 +1042,15 @@ module Google
1025
1042
  end
1026
1043
  end
1027
1044
 
1045
+ class ReservationAffinity
1046
+ # @private
1047
+ class Representation < Google::Apis::Core::JsonRepresentation
1048
+ property :consume_reservation_type, as: 'consumeReservationType'
1049
+ property :key, as: 'key'
1050
+ collection :values, as: 'values'
1051
+ end
1052
+ end
1053
+
1028
1054
  class SecurityConfig
1029
1055
  # @private
1030
1056
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1065,6 +1091,19 @@ module Google
1065
1091
  end
1066
1092
  end
1067
1093
 
1094
+ class SparkRJob
1095
+ # @private
1096
+ class Representation < Google::Apis::Core::JsonRepresentation
1097
+ collection :archive_uris, as: 'archiveUris'
1098
+ collection :args, as: 'args'
1099
+ collection :file_uris, as: 'fileUris'
1100
+ property :logging_config, as: 'loggingConfig', class: Google::Apis::DataprocV1::LoggingConfig, decorator: Google::Apis::DataprocV1::LoggingConfig::Representation
1101
+
1102
+ property :main_r_file_uri, as: 'mainRFileUri'
1103
+ hash :properties, as: 'properties'
1104
+ end
1105
+ end
1106
+
1068
1107
  class SparkSqlJob
1069
1108
  # @private
1070
1109
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -239,7 +239,8 @@ module Google
239
239
  end
240
240
 
241
241
  # Sets the access control policy on the specified resource. Replaces any
242
- # existing policy.
242
+ # existing policy.Can return Public Errors: NOT_FOUND, INVALID_ARGUMENT and
243
+ # PERMISSION_DENIED
243
244
  # @param [String] resource
244
245
  # REQUIRED: The resource for which the policy is being specified. See the
245
246
  # operation documentation for the appropriate value for this field.
@@ -652,7 +653,8 @@ module Google
652
653
  end
653
654
 
654
655
  # Sets the access control policy on the specified resource. Replaces any
655
- # existing policy.
656
+ # existing policy.Can return Public Errors: NOT_FOUND, INVALID_ARGUMENT and
657
+ # PERMISSION_DENIED
656
658
  # @param [String] resource
657
659
  # REQUIRED: The resource for which the policy is being specified. See the
658
660
  # operation documentation for the appropriate value for this field.
@@ -957,7 +959,8 @@ module Google
957
959
  end
958
960
 
959
961
  # Sets the access control policy on the specified resource. Replaces any
960
- # existing policy.
962
+ # existing policy.Can return Public Errors: NOT_FOUND, INVALID_ARGUMENT and
963
+ # PERMISSION_DENIED
961
964
  # @param [String] resource
962
965
  # REQUIRED: The resource for which the policy is being specified. See the
963
966
  # operation documentation for the appropriate value for this field.
@@ -1425,7 +1428,8 @@ module Google
1425
1428
  end
1426
1429
 
1427
1430
  # Sets the access control policy on the specified resource. Replaces any
1428
- # existing policy.
1431
+ # existing policy.Can return Public Errors: NOT_FOUND, INVALID_ARGUMENT and
1432
+ # PERMISSION_DENIED
1429
1433
  # @param [String] resource
1430
1434
  # REQUIRED: The resource for which the policy is being specified. See the
1431
1435
  # operation documentation for the appropriate value for this field.
@@ -1749,7 +1753,8 @@ module Google
1749
1753
  end
1750
1754
 
1751
1755
  # Sets the access control policy on the specified resource. Replaces any
1752
- # existing policy.
1756
+ # existing policy.Can return Public Errors: NOT_FOUND, INVALID_ARGUMENT and
1757
+ # PERMISSION_DENIED
1753
1758
  # @param [String] resource
1754
1759
  # REQUIRED: The resource for which the policy is being specified. See the
1755
1760
  # operation documentation for the appropriate value for this field.
@@ -2040,7 +2045,8 @@ module Google
2040
2045
  end
2041
2046
 
2042
2047
  # Sets the access control policy on the specified resource. Replaces any
2043
- # existing policy.
2048
+ # existing policy.Can return Public Errors: NOT_FOUND, INVALID_ARGUMENT and
2049
+ # PERMISSION_DENIED
2044
2050
  # @param [String] resource
2045
2051
  # REQUIRED: The resource for which the policy is being specified. See the
2046
2052
  # operation documentation for the appropriate value for this field.
@@ -2412,7 +2418,8 @@ module Google
2412
2418
  end
2413
2419
 
2414
2420
  # Sets the access control policy on the specified resource. Replaces any
2415
- # existing policy.
2421
+ # existing policy.Can return Public Errors: NOT_FOUND, INVALID_ARGUMENT and
2422
+ # PERMISSION_DENIED
2416
2423
  # @param [String] resource
2417
2424
  # REQUIRED: The resource for which the policy is being specified. See the
2418
2425
  # operation documentation for the appropriate value for this field.
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://cloud.google.com/dataproc/
26
26
  module DataprocV1
27
27
  VERSION = 'V1'
28
- REVISION = '20190920'
28
+ REVISION = '20191120'
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'
@@ -1207,8 +1207,6 @@ module Google
1207
1207
  include Google::Apis::Core::Hashable
1208
1208
 
1209
1209
  # Optional. The Compute Engine accelerator configuration for these instances.
1210
- # Beta Feature: This feature is still under development. It may be changed
1211
- # before final release.
1212
1210
  # Corresponds to the JSON property `accelerators`
1213
1211
  # @return [Array<Google::Apis::DataprocV1beta2::AcceleratorConfig>]
1214
1212
  attr_accessor :accelerators
@@ -2261,7 +2259,7 @@ module Google
2261
2259
  # `
2262
2260
  # "bindings": [
2263
2261
  # `
2264
- # "role": "role/resourcemanager.organizationAdmin",
2262
+ # "role": "roles/resourcemanager.organizationAdmin",
2265
2263
  # "members": [
2266
2264
  # "user:mike@example.com",
2267
2265
  # "group:admins@example.com",
@@ -2316,8 +2314,8 @@ module Google
2316
2314
  # the request to setIamPolicy to ensure that their change will be applied to the
2317
2315
  # same version of the policy.If no etag is provided in the call to setIamPolicy,
2318
2316
  # then the existing policy is overwritten. Due to blind-set semantics of an etag-
2319
- # less policy, 'setIamPolicy' will not fail even if either of incoming or stored
2320
- # policy does not meet the version requirements.
2317
+ # less policy, 'setIamPolicy' will not fail even if the incoming policy version
2318
+ # does not meet the requirements for modifying the stored policy.
2321
2319
  # Corresponds to the JSON property `etag`
2322
2320
  # NOTE: Values are automatically base64 encoded/decoded in the client library.
2323
2321
  # @return [String]
@@ -2326,11 +2324,11 @@ module Google
2326
2324
  # Specifies the format of the policy.Valid values are 0, 1, and 3. Requests
2327
2325
  # specifying an invalid value will be rejected.Operations affecting conditional
2328
2326
  # bindings must specify version 3. This can be either setting a conditional
2329
- # policy, modifying a conditional binding, or removing a conditional binding
2330
- # from the stored conditional policy. Operations on non-conditional policies may
2331
- # specify any valid value or leave the field unset.If no etag is provided in the
2332
- # call to setIamPolicy, any version compliance checks on the incoming and/or
2333
- # stored policy is skipped.
2327
+ # policy, modifying a conditional binding, or removing a binding (conditional or
2328
+ # unconditional) from the stored conditional policy. Operations on non-
2329
+ # conditional policies may specify any valid value or leave the field unset.If
2330
+ # no etag is provided in the call to setIamPolicy, version compliance checks
2331
+ # against the stored policy is skipped.
2334
2332
  # Corresponds to the JSON property `version`
2335
2333
  # @return [Fixnum]
2336
2334
  attr_accessor :version
@@ -2597,7 +2595,7 @@ module Google
2597
2595
  # `
2598
2596
  # "bindings": [
2599
2597
  # `
2600
- # "role": "role/resourcemanager.organizationAdmin",
2598
+ # "role": "roles/resourcemanager.organizationAdmin",
2601
2599
  # "members": [
2602
2600
  # "user:mike@example.com",
2603
2601
  # "group:admins@example.com",
@@ -242,7 +242,8 @@ module Google
242
242
  end
243
243
 
244
244
  # Sets the access control policy on the specified resource. Replaces any
245
- # existing policy.
245
+ # existing policy.Can return Public Errors: NOT_FOUND, INVALID_ARGUMENT and
246
+ # PERMISSION_DENIED
246
247
  # @param [String] resource
247
248
  # REQUIRED: The resource for which the policy is being specified. See the
248
249
  # operation documentation for the appropriate value for this field.
@@ -661,7 +662,8 @@ module Google
661
662
  end
662
663
 
663
664
  # Sets the access control policy on the specified resource. Replaces any
664
- # existing policy.
665
+ # existing policy.Can return Public Errors: NOT_FOUND, INVALID_ARGUMENT and
666
+ # PERMISSION_DENIED
665
667
  # @param [String] resource
666
668
  # REQUIRED: The resource for which the policy is being specified. See the
667
669
  # operation documentation for the appropriate value for this field.
@@ -969,7 +971,8 @@ module Google
969
971
  end
970
972
 
971
973
  # Sets the access control policy on the specified resource. Replaces any
972
- # existing policy.
974
+ # existing policy.Can return Public Errors: NOT_FOUND, INVALID_ARGUMENT and
975
+ # PERMISSION_DENIED
973
976
  # @param [String] resource
974
977
  # REQUIRED: The resource for which the policy is being specified. See the
975
978
  # operation documentation for the appropriate value for this field.
@@ -1116,7 +1119,7 @@ module Google
1116
1119
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1117
1120
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1118
1121
  def create_project_region_cluster(project_id, region, cluster_object = nil, request_id: nil, fields: nil, quota_user: nil, options: nil, &block)
1119
- command = make_simple_command(:post, 'v1beta2/projects/{projectId}/regions/{region}/clusters', options)
1122
+ command = make_simple_command(:post, 'v1beta2/projects/{+projectId}/regions/{+region}/clusters', options)
1120
1123
  command.request_representation = Google::Apis::DataprocV1beta2::Cluster::Representation
1121
1124
  command.request_object = cluster_object
1122
1125
  command.response_representation = Google::Apis::DataprocV1beta2::Operation::Representation
@@ -1167,7 +1170,7 @@ module Google
1167
1170
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1168
1171
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1169
1172
  def delete_project_region_cluster(project_id, region, cluster_name, cluster_uuid: nil, request_id: nil, fields: nil, quota_user: nil, options: nil, &block)
1170
- command = make_simple_command(:delete, 'v1beta2/projects/{projectId}/regions/{region}/clusters/{clusterName}', options)
1173
+ command = make_simple_command(:delete, 'v1beta2/projects/{+projectId}/regions/{+region}/clusters/{+clusterName}', options)
1171
1174
  command.response_representation = Google::Apis::DataprocV1beta2::Operation::Representation
1172
1175
  command.response_class = Google::Apis::DataprocV1beta2::Operation
1173
1176
  command.params['projectId'] = project_id unless project_id.nil?
@@ -1209,7 +1212,7 @@ module Google
1209
1212
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1210
1213
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1211
1214
  def diagnose_cluster(project_id, region, cluster_name, diagnose_cluster_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
1212
- command = make_simple_command(:post, 'v1beta2/projects/{projectId}/regions/{region}/clusters/{clusterName}:diagnose', options)
1215
+ command = make_simple_command(:post, 'v1beta2/projects/{+projectId}/regions/{+region}/clusters/{+clusterName}:diagnose', options)
1213
1216
  command.request_representation = Google::Apis::DataprocV1beta2::DiagnoseClusterRequest::Representation
1214
1217
  command.request_object = diagnose_cluster_request_object
1215
1218
  command.response_representation = Google::Apis::DataprocV1beta2::Operation::Representation
@@ -1248,7 +1251,7 @@ module Google
1248
1251
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1249
1252
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1250
1253
  def get_project_region_cluster(project_id, region, cluster_name, fields: nil, quota_user: nil, options: nil, &block)
1251
- command = make_simple_command(:get, 'v1beta2/projects/{projectId}/regions/{region}/clusters/{clusterName}', options)
1254
+ command = make_simple_command(:get, 'v1beta2/projects/{+projectId}/regions/{+region}/clusters/{+clusterName}', options)
1252
1255
  command.response_representation = Google::Apis::DataprocV1beta2::Cluster::Representation
1253
1256
  command.response_class = Google::Apis::DataprocV1beta2::Cluster
1254
1257
  command.params['projectId'] = project_id unless project_id.nil?
@@ -1337,7 +1340,7 @@ module Google
1337
1340
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1338
1341
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1339
1342
  def list_project_region_clusters(project_id, region, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
1340
- command = make_simple_command(:get, 'v1beta2/projects/{projectId}/regions/{region}/clusters', options)
1343
+ command = make_simple_command(:get, 'v1beta2/projects/{+projectId}/regions/{+region}/clusters', options)
1341
1344
  command.response_representation = Google::Apis::DataprocV1beta2::ListClustersResponse::Representation
1342
1345
  command.response_class = Google::Apis::DataprocV1beta2::ListClustersResponse
1343
1346
  command.params['projectId'] = project_id unless project_id.nil?
@@ -1447,7 +1450,7 @@ module Google
1447
1450
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1448
1451
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1449
1452
  def patch_project_region_cluster(project_id, region, cluster_name, cluster_object = nil, graceful_decommission_timeout: nil, request_id: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
1450
- command = make_simple_command(:patch, 'v1beta2/projects/{projectId}/regions/{region}/clusters/{clusterName}', options)
1453
+ command = make_simple_command(:patch, 'v1beta2/projects/{+projectId}/regions/{+region}/clusters/{+clusterName}', options)
1451
1454
  command.request_representation = Google::Apis::DataprocV1beta2::Cluster::Representation
1452
1455
  command.request_object = cluster_object
1453
1456
  command.response_representation = Google::Apis::DataprocV1beta2::Operation::Representation
@@ -1464,7 +1467,8 @@ module Google
1464
1467
  end
1465
1468
 
1466
1469
  # Sets the access control policy on the specified resource. Replaces any
1467
- # existing policy.
1470
+ # existing policy.Can return Public Errors: NOT_FOUND, INVALID_ARGUMENT and
1471
+ # PERMISSION_DENIED
1468
1472
  # @param [String] resource
1469
1473
  # REQUIRED: The resource for which the policy is being specified. See the
1470
1474
  # operation documentation for the appropriate value for this field.
@@ -1563,7 +1567,7 @@ module Google
1563
1567
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1564
1568
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1565
1569
  def cancel_job(project_id, region, job_id, cancel_job_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
1566
- command = make_simple_command(:post, 'v1beta2/projects/{projectId}/regions/{region}/jobs/{jobId}:cancel', options)
1570
+ command = make_simple_command(:post, 'v1beta2/projects/{+projectId}/regions/{+region}/jobs/{+jobId}:cancel', options)
1567
1571
  command.request_representation = Google::Apis::DataprocV1beta2::CancelJobRequest::Representation
1568
1572
  command.request_object = cancel_job_request_object
1569
1573
  command.response_representation = Google::Apis::DataprocV1beta2::Job::Representation
@@ -1602,7 +1606,7 @@ module Google
1602
1606
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1603
1607
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1604
1608
  def delete_project_region_job(project_id, region, job_id, fields: nil, quota_user: nil, options: nil, &block)
1605
- command = make_simple_command(:delete, 'v1beta2/projects/{projectId}/regions/{region}/jobs/{jobId}', options)
1609
+ command = make_simple_command(:delete, 'v1beta2/projects/{+projectId}/regions/{+region}/jobs/{+jobId}', options)
1606
1610
  command.response_representation = Google::Apis::DataprocV1beta2::Empty::Representation
1607
1611
  command.response_class = Google::Apis::DataprocV1beta2::Empty
1608
1612
  command.params['projectId'] = project_id unless project_id.nil?
@@ -1638,7 +1642,7 @@ module Google
1638
1642
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1639
1643
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1640
1644
  def get_project_region_job(project_id, region, job_id, fields: nil, quota_user: nil, options: nil, &block)
1641
- command = make_simple_command(:get, 'v1beta2/projects/{projectId}/regions/{region}/jobs/{jobId}', options)
1645
+ command = make_simple_command(:get, 'v1beta2/projects/{+projectId}/regions/{+region}/jobs/{+jobId}', options)
1642
1646
  command.response_representation = Google::Apis::DataprocV1beta2::Job::Representation
1643
1647
  command.response_class = Google::Apis::DataprocV1beta2::Job
1644
1648
  command.params['projectId'] = project_id unless project_id.nil?
@@ -1729,7 +1733,7 @@ module Google
1729
1733
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1730
1734
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1731
1735
  def list_project_region_jobs(project_id, region, cluster_name: nil, filter: nil, job_state_matcher: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
1732
- command = make_simple_command(:get, 'v1beta2/projects/{projectId}/regions/{region}/jobs', options)
1736
+ command = make_simple_command(:get, 'v1beta2/projects/{+projectId}/regions/{+region}/jobs', options)
1733
1737
  command.response_representation = Google::Apis::DataprocV1beta2::ListJobsResponse::Representation
1734
1738
  command.response_class = Google::Apis::DataprocV1beta2::ListJobsResponse
1735
1739
  command.params['projectId'] = project_id unless project_id.nil?
@@ -1776,7 +1780,7 @@ module Google
1776
1780
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1777
1781
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1778
1782
  def patch_project_region_job(project_id, region, job_id, job_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
1779
- command = make_simple_command(:patch, 'v1beta2/projects/{projectId}/regions/{region}/jobs/{jobId}', options)
1783
+ command = make_simple_command(:patch, 'v1beta2/projects/{+projectId}/regions/{+region}/jobs/{+jobId}', options)
1780
1784
  command.request_representation = Google::Apis::DataprocV1beta2::Job::Representation
1781
1785
  command.request_object = job_object
1782
1786
  command.response_representation = Google::Apis::DataprocV1beta2::Job::Representation
@@ -1791,7 +1795,8 @@ module Google
1791
1795
  end
1792
1796
 
1793
1797
  # Sets the access control policy on the specified resource. Replaces any
1794
- # existing policy.
1798
+ # existing policy.Can return Public Errors: NOT_FOUND, INVALID_ARGUMENT and
1799
+ # PERMISSION_DENIED
1795
1800
  # @param [String] resource
1796
1801
  # REQUIRED: The resource for which the policy is being specified. See the
1797
1802
  # operation documentation for the appropriate value for this field.
@@ -1849,7 +1854,7 @@ module Google
1849
1854
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1850
1855
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1851
1856
  def submit_job(project_id, region, submit_job_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
1852
- command = make_simple_command(:post, 'v1beta2/projects/{projectId}/regions/{region}/jobs:submit', options)
1857
+ command = make_simple_command(:post, 'v1beta2/projects/{+projectId}/regions/{+region}/jobs:submit', options)
1853
1858
  command.request_representation = Google::Apis::DataprocV1beta2::SubmitJobRequest::Representation
1854
1859
  command.request_object = submit_job_request_object
1855
1860
  command.response_representation = Google::Apis::DataprocV1beta2::Job::Representation
@@ -2085,7 +2090,8 @@ module Google
2085
2090
  end
2086
2091
 
2087
2092
  # Sets the access control policy on the specified resource. Replaces any
2088
- # existing policy.
2093
+ # existing policy.Can return Public Errors: NOT_FOUND, INVALID_ARGUMENT and
2094
+ # PERMISSION_DENIED
2089
2095
  # @param [String] resource
2090
2096
  # REQUIRED: The resource for which the policy is being specified. See the
2091
2097
  # operation documentation for the appropriate value for this field.
@@ -2463,7 +2469,8 @@ module Google
2463
2469
  end
2464
2470
 
2465
2471
  # Sets the access control policy on the specified resource. Replaces any
2466
- # existing policy.
2472
+ # existing policy.Can return Public Errors: NOT_FOUND, INVALID_ARGUMENT and
2473
+ # PERMISSION_DENIED
2467
2474
  # @param [String] resource
2468
2475
  # REQUIRED: The resource for which the policy is being specified. See the
2469
2476
  # operation documentation for the appropriate value for this field.
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://cloud.google.com/dataproc/
26
26
  module DataprocV1beta2
27
27
  VERSION = 'V1beta2'
28
- REVISION = '20190920'
28
+ REVISION = '20191120'
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'