google-api-client 0.40.0 → 0.41.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (326) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +184 -0
  3. data/generated/google/apis/admob_v1/classes.rb +5 -6
  4. data/generated/google/apis/admob_v1.rb +1 -1
  5. data/generated/google/apis/androidenterprise_v1/classes.rb +547 -724
  6. data/generated/google/apis/androidenterprise_v1/representations.rb +0 -54
  7. data/generated/google/apis/androidenterprise_v1/service.rb +540 -795
  8. data/generated/google/apis/androidenterprise_v1.rb +2 -2
  9. data/generated/google/apis/androidmanagement_v1/classes.rb +117 -0
  10. data/generated/google/apis/androidmanagement_v1/representations.rb +39 -0
  11. data/generated/google/apis/androidmanagement_v1.rb +1 -1
  12. data/generated/google/apis/androidpublisher_v3/classes.rb +473 -736
  13. data/generated/google/apis/androidpublisher_v3/representations.rb +10 -201
  14. data/generated/google/apis/androidpublisher_v3/service.rb +531 -863
  15. data/generated/google/apis/androidpublisher_v3.rb +3 -3
  16. data/generated/google/apis/apigee_v1/classes.rb +12 -6
  17. data/generated/google/apis/apigee_v1/representations.rb +1 -0
  18. data/generated/google/apis/apigee_v1.rb +1 -1
  19. data/generated/google/apis/appsmarket_v2/classes.rb +160 -159
  20. data/generated/google/apis/appsmarket_v2/representations.rb +78 -78
  21. data/generated/google/apis/appsmarket_v2/service.rb +24 -39
  22. data/generated/google/apis/appsmarket_v2.rb +3 -3
  23. data/generated/google/apis/artifactregistry_v1beta1/classes.rb +122 -0
  24. data/generated/google/apis/artifactregistry_v1beta1/representations.rb +62 -0
  25. data/generated/google/apis/artifactregistry_v1beta1.rb +1 -1
  26. data/generated/google/apis/bigquery_v2/classes.rb +15 -7
  27. data/generated/google/apis/bigquery_v2.rb +1 -1
  28. data/generated/google/apis/bigquerydatatransfer_v1/classes.rb +4 -4
  29. data/generated/google/apis/bigquerydatatransfer_v1.rb +1 -1
  30. data/generated/google/apis/bigtableadmin_v1/classes.rb +5 -10
  31. data/generated/google/apis/bigtableadmin_v1.rb +1 -1
  32. data/generated/google/apis/bigtableadmin_v2/classes.rb +39 -31
  33. data/generated/google/apis/bigtableadmin_v2/service.rb +1 -5
  34. data/generated/google/apis/bigtableadmin_v2.rb +1 -1
  35. data/generated/google/apis/binaryauthorization_v1/classes.rb +1 -4
  36. data/generated/google/apis/binaryauthorization_v1.rb +1 -1
  37. data/generated/google/apis/books_v1/service.rb +2 -2
  38. data/generated/google/apis/books_v1.rb +1 -1
  39. data/generated/google/apis/calendar_v3.rb +1 -1
  40. data/generated/google/apis/chat_v1/classes.rb +2 -0
  41. data/generated/google/apis/chat_v1.rb +1 -1
  42. data/generated/google/apis/cloudasset_v1/classes.rb +37 -345
  43. data/generated/google/apis/cloudasset_v1/representations.rb +1 -96
  44. data/generated/google/apis/cloudasset_v1/service.rb +11 -186
  45. data/generated/google/apis/cloudasset_v1.rb +1 -1
  46. data/generated/google/apis/cloudasset_v1beta1/classes.rb +954 -42
  47. data/generated/google/apis/cloudasset_v1beta1/representations.rb +241 -0
  48. data/generated/google/apis/cloudasset_v1beta1/service.rb +8 -8
  49. data/generated/google/apis/cloudasset_v1beta1.rb +1 -1
  50. data/generated/google/apis/cloudasset_v1p1beta1/classes.rb +6 -6
  51. data/generated/google/apis/cloudasset_v1p1beta1/service.rb +15 -16
  52. data/generated/google/apis/cloudasset_v1p1beta1.rb +1 -1
  53. data/generated/google/apis/cloudasset_v1p4beta1/classes.rb +40 -23
  54. data/generated/google/apis/cloudasset_v1p4beta1/service.rb +34 -9
  55. data/generated/google/apis/cloudasset_v1p4beta1.rb +1 -1
  56. data/generated/google/apis/cloudbuild_v1/classes.rb +16 -4
  57. data/generated/google/apis/cloudbuild_v1/representations.rb +1 -0
  58. data/generated/google/apis/cloudbuild_v1/service.rb +42 -0
  59. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  60. data/generated/google/apis/cloudbuild_v1alpha1/classes.rb +14 -2
  61. data/generated/google/apis/cloudbuild_v1alpha1/representations.rb +1 -0
  62. data/generated/google/apis/cloudbuild_v1alpha1.rb +1 -1
  63. data/generated/google/apis/cloudbuild_v1alpha2/classes.rb +14 -2
  64. data/generated/google/apis/cloudbuild_v1alpha2/representations.rb +1 -0
  65. data/generated/google/apis/cloudbuild_v1alpha2.rb +1 -1
  66. data/generated/google/apis/clouderrorreporting_v1beta1/classes.rb +1 -1
  67. data/generated/google/apis/clouderrorreporting_v1beta1/service.rb +5 -6
  68. data/generated/google/apis/clouderrorreporting_v1beta1.rb +1 -1
  69. data/generated/google/apis/cloudidentity_v1.rb +1 -1
  70. data/generated/google/apis/cloudidentity_v1beta1.rb +1 -1
  71. data/generated/google/apis/cloudkms_v1/classes.rb +7 -7
  72. data/generated/google/apis/cloudkms_v1.rb +1 -1
  73. data/generated/google/apis/cloudresourcemanager_v1/classes.rb +20 -15
  74. data/generated/google/apis/cloudresourcemanager_v1/service.rb +21 -14
  75. data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
  76. data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +10 -8
  77. data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +8 -8
  78. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
  79. data/generated/google/apis/cloudresourcemanager_v2/classes.rb +6 -6
  80. data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
  81. data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +6 -6
  82. data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
  83. data/generated/google/apis/cloudsearch_v1/service.rb +1 -1
  84. data/generated/google/apis/cloudsearch_v1.rb +1 -1
  85. data/generated/google/apis/cloudtasks_v2/classes.rb +6 -4
  86. data/generated/google/apis/cloudtasks_v2.rb +1 -1
  87. data/generated/google/apis/cloudtasks_v2beta3/classes.rb +9 -0
  88. data/generated/google/apis/cloudtasks_v2beta3/representations.rb +1 -0
  89. data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
  90. data/generated/google/apis/compute_alpha/classes.rb +689 -145
  91. data/generated/google/apis/compute_alpha/representations.rb +217 -32
  92. data/generated/google/apis/compute_alpha/service.rb +869 -82
  93. data/generated/google/apis/compute_alpha.rb +1 -1
  94. data/generated/google/apis/compute_beta/classes.rb +173 -71
  95. data/generated/google/apis/compute_beta/representations.rb +25 -0
  96. data/generated/google/apis/compute_beta.rb +1 -1
  97. data/generated/google/apis/compute_v1/classes.rb +30 -18
  98. data/generated/google/apis/compute_v1/representations.rb +1 -0
  99. data/generated/google/apis/compute_v1.rb +1 -1
  100. data/generated/google/apis/container_v1beta1/classes.rb +21 -7
  101. data/generated/google/apis/container_v1beta1.rb +1 -1
  102. data/generated/google/apis/content_v2/classes.rb +41 -1
  103. data/generated/google/apis/content_v2/representations.rb +17 -0
  104. data/generated/google/apis/content_v2/service.rb +15 -6
  105. data/generated/google/apis/content_v2.rb +1 -1
  106. data/generated/google/apis/content_v2_1/classes.rb +444 -6
  107. data/generated/google/apis/content_v2_1/representations.rb +172 -0
  108. data/generated/google/apis/content_v2_1/service.rb +95 -6
  109. data/generated/google/apis/content_v2_1.rb +1 -1
  110. data/generated/google/apis/datafusion_v1beta1/classes.rb +64 -19
  111. data/generated/google/apis/datafusion_v1beta1/representations.rb +16 -0
  112. data/generated/google/apis/datafusion_v1beta1/service.rb +49 -2
  113. data/generated/google/apis/datafusion_v1beta1.rb +1 -1
  114. data/generated/google/apis/dataproc_v1/classes.rb +68 -22
  115. data/generated/google/apis/dataproc_v1/representations.rb +17 -0
  116. data/generated/google/apis/dataproc_v1.rb +1 -1
  117. data/generated/google/apis/dataproc_v1beta2/classes.rb +35 -23
  118. data/generated/google/apis/dataproc_v1beta2/representations.rb +1 -0
  119. data/generated/google/apis/dataproc_v1beta2.rb +1 -1
  120. data/generated/google/apis/dialogflow_v2/classes.rb +9 -29
  121. data/generated/google/apis/dialogflow_v2/representations.rb +0 -4
  122. data/generated/google/apis/dialogflow_v2/service.rb +14 -2
  123. data/generated/google/apis/dialogflow_v2.rb +1 -1
  124. data/generated/google/apis/dialogflow_v2beta1/classes.rb +0 -28
  125. data/generated/google/apis/dialogflow_v2beta1/representations.rb +0 -4
  126. data/generated/google/apis/dialogflow_v2beta1/service.rb +28 -4
  127. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  128. data/generated/google/apis/displayvideo_v1/classes.rb +464 -1
  129. data/generated/google/apis/displayvideo_v1/representations.rb +238 -0
  130. data/generated/google/apis/displayvideo_v1/service.rb +1722 -376
  131. data/generated/google/apis/displayvideo_v1.rb +1 -1
  132. data/generated/google/apis/dlp_v2/classes.rb +8 -6
  133. data/generated/google/apis/dlp_v2/service.rb +170 -64
  134. data/generated/google/apis/dlp_v2.rb +1 -1
  135. data/generated/google/apis/documentai_v1beta2/classes.rb +3284 -0
  136. data/generated/google/apis/documentai_v1beta2/representations.rb +1344 -0
  137. data/generated/google/apis/{dialogflow_v3alpha1 → documentai_v1beta2}/service.rb +91 -118
  138. data/generated/google/apis/{dialogflow_v3alpha1.rb → documentai_v1beta2.rb} +11 -13
  139. data/generated/google/apis/drive_v2/service.rb +26 -78
  140. data/generated/google/apis/drive_v2.rb +1 -1
  141. data/generated/google/apis/drive_v3/service.rb +18 -54
  142. data/generated/google/apis/drive_v3.rb +1 -1
  143. data/generated/google/apis/fcm_v1/classes.rb +6 -0
  144. data/generated/google/apis/fcm_v1.rb +1 -1
  145. data/generated/google/apis/file_v1/classes.rb +0 -1156
  146. data/generated/google/apis/file_v1/representations.rb +0 -381
  147. data/generated/google/apis/file_v1.rb +1 -1
  148. data/generated/google/apis/file_v1beta1/classes.rb +67 -1156
  149. data/generated/google/apis/file_v1beta1/representations.rb +14 -376
  150. data/generated/google/apis/file_v1beta1.rb +1 -1
  151. data/generated/google/apis/firebase_v1beta1/classes.rb +7 -6
  152. data/generated/google/apis/firebase_v1beta1/service.rb +53 -49
  153. data/generated/google/apis/firebase_v1beta1.rb +1 -1
  154. data/generated/google/apis/firebasehosting_v1beta1/classes.rb +30 -25
  155. data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
  156. data/generated/google/apis/fitness_v1/classes.rb +1 -1
  157. data/generated/google/apis/fitness_v1.rb +1 -1
  158. data/generated/google/apis/games_v1.rb +1 -1
  159. data/generated/google/apis/genomics_v2alpha1/classes.rb +84 -0
  160. data/generated/google/apis/genomics_v2alpha1/representations.rb +28 -0
  161. data/generated/google/apis/genomics_v2alpha1/service.rb +38 -2
  162. data/generated/google/apis/genomics_v2alpha1.rb +1 -1
  163. data/generated/google/apis/gmail_v1/classes.rb +263 -200
  164. data/generated/google/apis/gmail_v1/service.rb +551 -743
  165. data/generated/google/apis/gmail_v1.rb +3 -2
  166. data/generated/google/apis/groupsmigration_v1/service.rb +10 -17
  167. data/generated/google/apis/groupsmigration_v1.rb +3 -2
  168. data/generated/google/apis/healthcare_v1/classes.rb +3 -3
  169. data/generated/google/apis/healthcare_v1/service.rb +5 -3
  170. data/generated/google/apis/healthcare_v1.rb +1 -1
  171. data/generated/google/apis/healthcare_v1beta1/classes.rb +913 -46
  172. data/generated/google/apis/healthcare_v1beta1/representations.rb +404 -0
  173. data/generated/google/apis/healthcare_v1beta1/service.rb +520 -3
  174. data/generated/google/apis/healthcare_v1beta1.rb +1 -1
  175. data/generated/google/apis/iam_v1/classes.rb +92 -81
  176. data/generated/google/apis/iam_v1/service.rb +167 -148
  177. data/generated/google/apis/iam_v1.rb +1 -1
  178. data/generated/google/apis/iamcredentials_v1/classes.rb +4 -3
  179. data/generated/google/apis/iamcredentials_v1/service.rb +1 -1
  180. data/generated/google/apis/iamcredentials_v1.rb +2 -2
  181. data/generated/google/apis/jobs_v3/classes.rb +4 -2
  182. data/generated/google/apis/jobs_v3.rb +1 -1
  183. data/generated/google/apis/jobs_v3p1beta1/classes.rb +4 -2
  184. data/generated/google/apis/jobs_v3p1beta1.rb +1 -1
  185. data/generated/google/apis/lifesciences_v2beta/classes.rb +10 -0
  186. data/generated/google/apis/lifesciences_v2beta/representations.rb +1 -0
  187. data/generated/google/apis/lifesciences_v2beta.rb +1 -1
  188. data/generated/google/apis/memcache_v1beta2/classes.rb +42 -11
  189. data/generated/google/apis/memcache_v1beta2/representations.rb +15 -0
  190. data/generated/google/apis/memcache_v1beta2.rb +1 -1
  191. data/generated/google/apis/monitoring_v1/classes.rb +46 -0
  192. data/generated/google/apis/monitoring_v1/representations.rb +18 -0
  193. data/generated/google/apis/monitoring_v1.rb +1 -1
  194. data/generated/google/apis/monitoring_v3/classes.rb +66 -17
  195. data/generated/google/apis/monitoring_v3/representations.rb +1 -0
  196. data/generated/google/apis/monitoring_v3.rb +1 -1
  197. data/generated/google/apis/osconfig_v1/classes.rb +2 -2
  198. data/generated/google/apis/osconfig_v1.rb +1 -1
  199. data/generated/google/apis/osconfig_v1beta/classes.rb +6 -7
  200. data/generated/google/apis/osconfig_v1beta.rb +1 -1
  201. data/generated/google/apis/pagespeedonline_v5/classes.rb +7 -0
  202. data/generated/google/apis/pagespeedonline_v5/representations.rb +1 -0
  203. data/generated/google/apis/pagespeedonline_v5.rb +1 -1
  204. data/generated/google/apis/people_v1/classes.rb +216 -0
  205. data/generated/google/apis/people_v1/representations.rb +82 -0
  206. data/generated/google/apis/people_v1/service.rb +371 -8
  207. data/generated/google/apis/people_v1.rb +1 -1
  208. data/generated/google/apis/playcustomapp_v1/classes.rb +7 -0
  209. data/generated/google/apis/playcustomapp_v1/representations.rb +1 -0
  210. data/generated/google/apis/playcustomapp_v1/service.rb +11 -19
  211. data/generated/google/apis/playcustomapp_v1.rb +3 -3
  212. data/generated/google/apis/policytroubleshooter_v1/classes.rb +6 -6
  213. data/generated/google/apis/policytroubleshooter_v1.rb +1 -1
  214. data/generated/google/apis/policytroubleshooter_v1beta/classes.rb +6 -6
  215. data/generated/google/apis/policytroubleshooter_v1beta.rb +1 -1
  216. data/generated/google/apis/prod_tt_sasportal_v1alpha1/service.rb +30 -0
  217. data/generated/google/apis/prod_tt_sasportal_v1alpha1.rb +1 -1
  218. data/generated/google/apis/pubsub_v1/classes.rb +64 -8
  219. data/generated/google/apis/pubsub_v1/representations.rb +28 -0
  220. data/generated/google/apis/pubsub_v1/service.rb +35 -1
  221. data/generated/google/apis/pubsub_v1.rb +1 -1
  222. data/generated/google/apis/recommender_v1/classes.rb +505 -0
  223. data/generated/google/apis/recommender_v1/representations.rb +232 -0
  224. data/generated/google/apis/recommender_v1/service.rb +266 -0
  225. data/generated/google/apis/{customsearch_v1.rb → recommender_v1.rb} +11 -8
  226. data/generated/google/apis/run_v1/classes.rb +15 -6
  227. data/generated/google/apis/run_v1/representations.rb +1 -0
  228. data/generated/google/apis/run_v1.rb +1 -1
  229. data/generated/google/apis/run_v1alpha1/classes.rb +15 -6
  230. data/generated/google/apis/run_v1alpha1/representations.rb +1 -0
  231. data/generated/google/apis/run_v1alpha1.rb +1 -1
  232. data/generated/google/apis/run_v1beta1.rb +1 -1
  233. data/generated/google/apis/sasportal_v1alpha1/service.rb +30 -0
  234. data/generated/google/apis/sasportal_v1alpha1.rb +1 -1
  235. data/generated/google/apis/secretmanager_v1/classes.rb +6 -6
  236. data/generated/google/apis/secretmanager_v1.rb +1 -1
  237. data/generated/google/apis/secretmanager_v1beta1/classes.rb +6 -6
  238. data/generated/google/apis/secretmanager_v1beta1.rb +1 -1
  239. data/generated/google/apis/securitycenter_v1/classes.rb +116 -16
  240. data/generated/google/apis/securitycenter_v1/representations.rb +38 -0
  241. data/generated/google/apis/securitycenter_v1/service.rb +10 -10
  242. data/generated/google/apis/securitycenter_v1.rb +1 -1
  243. data/generated/google/apis/securitycenter_v1beta1/classes.rb +106 -6
  244. data/generated/google/apis/securitycenter_v1beta1/representations.rb +38 -0
  245. data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
  246. data/generated/google/apis/securitycenter_v1p1alpha1/classes.rb +100 -0
  247. data/generated/google/apis/securitycenter_v1p1alpha1/representations.rb +38 -0
  248. data/generated/google/apis/securitycenter_v1p1alpha1.rb +1 -1
  249. data/generated/google/apis/securitycenter_v1p1beta1/classes.rb +116 -16
  250. data/generated/google/apis/securitycenter_v1p1beta1/representations.rb +38 -0
  251. data/generated/google/apis/securitycenter_v1p1beta1/service.rb +10 -10
  252. data/generated/google/apis/securitycenter_v1p1beta1.rb +1 -1
  253. data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +223 -43
  254. data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +33 -1
  255. data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
  256. data/generated/google/apis/serviceconsumermanagement_v1beta1/classes.rb +229 -43
  257. data/generated/google/apis/serviceconsumermanagement_v1beta1/representations.rb +34 -1
  258. data/generated/google/apis/serviceconsumermanagement_v1beta1.rb +1 -1
  259. data/generated/google/apis/servicecontrol_v1/classes.rb +3 -3
  260. data/generated/google/apis/servicecontrol_v1.rb +1 -1
  261. data/generated/google/apis/servicemanagement_v1/classes.rb +123 -49
  262. data/generated/google/apis/servicemanagement_v1/representations.rb +0 -1
  263. data/generated/google/apis/servicemanagement_v1.rb +1 -1
  264. data/generated/google/apis/servicenetworking_v1/classes.rb +119 -43
  265. data/generated/google/apis/servicenetworking_v1/representations.rb +0 -1
  266. data/generated/google/apis/servicenetworking_v1.rb +1 -1
  267. data/generated/google/apis/servicenetworking_v1beta/classes.rb +119 -43
  268. data/generated/google/apis/servicenetworking_v1beta/representations.rb +0 -1
  269. data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
  270. data/generated/google/apis/serviceusage_v1/classes.rb +221 -43
  271. data/generated/google/apis/serviceusage_v1/representations.rb +34 -1
  272. data/generated/google/apis/serviceusage_v1.rb +1 -1
  273. data/generated/google/apis/serviceusage_v1beta1/classes.rb +272 -43
  274. data/generated/google/apis/serviceusage_v1beta1/representations.rb +63 -1
  275. data/generated/google/apis/serviceusage_v1beta1/service.rb +71 -0
  276. data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
  277. data/generated/google/apis/slides_v1/classes.rb +4 -0
  278. data/generated/google/apis/slides_v1.rb +1 -1
  279. data/generated/google/apis/sourcerepo_v1/classes.rb +23 -10
  280. data/generated/google/apis/sourcerepo_v1/service.rb +3 -0
  281. data/generated/google/apis/sourcerepo_v1.rb +1 -1
  282. data/generated/google/apis/spanner_v1/classes.rb +1 -2
  283. data/generated/google/apis/spanner_v1/service.rb +8 -8
  284. data/generated/google/apis/spanner_v1.rb +1 -1
  285. data/generated/google/apis/sql_v1beta4/classes.rb +7 -0
  286. data/generated/google/apis/sql_v1beta4/representations.rb +1 -0
  287. data/generated/google/apis/sql_v1beta4.rb +1 -1
  288. data/generated/google/apis/storagetransfer_v1/classes.rb +2 -1
  289. data/generated/google/apis/storagetransfer_v1.rb +1 -1
  290. data/generated/google/apis/testing_v1/classes.rb +2 -1
  291. data/generated/google/apis/testing_v1.rb +1 -1
  292. data/generated/google/apis/texttospeech_v1/classes.rb +1 -1
  293. data/generated/google/apis/texttospeech_v1.rb +1 -1
  294. data/generated/google/apis/texttospeech_v1beta1/classes.rb +1 -1
  295. data/generated/google/apis/texttospeech_v1beta1.rb +1 -1
  296. data/generated/google/apis/videointelligence_v1/classes.rb +1 -1
  297. data/generated/google/apis/videointelligence_v1/service.rb +32 -0
  298. data/generated/google/apis/videointelligence_v1.rb +1 -1
  299. data/generated/google/apis/videointelligence_v1beta2/classes.rb +1 -1
  300. data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
  301. data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +1 -1
  302. data/generated/google/apis/videointelligence_v1p1beta1.rb +1 -1
  303. data/generated/google/apis/videointelligence_v1p2beta1/classes.rb +1 -1
  304. data/generated/google/apis/videointelligence_v1p2beta1.rb +1 -1
  305. data/generated/google/apis/videointelligence_v1p3beta1/classes.rb +1 -1
  306. data/generated/google/apis/videointelligence_v1p3beta1.rb +1 -1
  307. data/generated/google/apis/vision_v1/classes.rb +18 -0
  308. data/generated/google/apis/vision_v1.rb +1 -1
  309. data/generated/google/apis/vision_v1p1beta1/classes.rb +18 -0
  310. data/generated/google/apis/vision_v1p1beta1.rb +1 -1
  311. data/generated/google/apis/vision_v1p2beta1/classes.rb +18 -0
  312. data/generated/google/apis/vision_v1p2beta1.rb +1 -1
  313. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  314. data/generated/google/apis/youtube_v3/classes.rb +38 -0
  315. data/generated/google/apis/youtube_v3/representations.rb +27 -0
  316. data/generated/google/apis/youtube_v3/service.rb +32 -0
  317. data/generated/google/apis/youtube_v3.rb +1 -1
  318. data/lib/google/apis/core/api_command.rb +12 -7
  319. data/lib/google/apis/options.rb +5 -1
  320. data/lib/google/apis/version.rb +1 -1
  321. metadata +11 -11
  322. data/generated/google/apis/customsearch_v1/classes.rb +0 -1606
  323. data/generated/google/apis/customsearch_v1/representations.rb +0 -372
  324. data/generated/google/apis/customsearch_v1/service.rb +0 -608
  325. data/generated/google/apis/dialogflow_v3alpha1/classes.rb +0 -5579
  326. data/generated/google/apis/dialogflow_v3alpha1/representations.rb +0 -2295
@@ -241,6 +241,9 @@ module Google
241
241
  # Requests for policies with any conditional bindings must specify version 3.
242
242
  # Policies without any conditional bindings may specify any valid value or
243
243
  # leave the field unset.
244
+ # To learn which resources support conditions in their IAM policies, see the
245
+ # [IAM
246
+ # documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
244
247
  # @param [String] fields
245
248
  # Selector specifying which fields to include in a partial response.
246
249
  # @param [String] quota_user
@@ -394,7 +397,7 @@ module Google
394
397
 
395
398
  # Sets the access control policy on the specified resource. Replaces any
396
399
  # existing policy.
397
- # Can return Public Errors: NOT_FOUND, INVALID_ARGUMENT and PERMISSION_DENIED
400
+ # Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.
398
401
  # @param [String] resource
399
402
  # REQUIRED: The resource for which the policy is being specified.
400
403
  # See the operation documentation for the appropriate value for this field.
@@ -430,7 +433,7 @@ module Google
430
433
 
431
434
  # Returns permissions that a caller has on the specified resource.
432
435
  # If the resource does not exist, this will return an empty set of
433
- # permissions, not a NOT_FOUND error.
436
+ # permissions, not a `NOT_FOUND` error.
434
437
  # Note: This operation is designed to be used for building permission-aware
435
438
  # UIs and command-line tools, not for authorization checking. This operation
436
439
  # may "fail open" without warning.
@@ -657,6 +660,50 @@ module Google
657
660
  command.query['quotaUser'] = quota_user unless quota_user.nil?
658
661
  execute_or_queue_command(command, &block)
659
662
  end
663
+
664
+ # Lists possible versions for Data Fusion instances in the specified project
665
+ # and location.
666
+ # @param [String] parent
667
+ # Required. The project and location for which to retrieve instance information
668
+ # in the format projects/`project`/locations/`location`.
669
+ # @param [Boolean] latest_patch_only
670
+ # Whether or not to return the latest patch of every available minor version.
671
+ # If true, only the latest patch will be returned. Ex. if allowed versions is
672
+ # [6.1.1, 6.1.2, 6.2.0] then response will be [6.1.2, 6.2.0]
673
+ # @param [Fixnum] page_size
674
+ # The maximum number of items to return.
675
+ # @param [String] page_token
676
+ # The next_page_token value to use if there are additional
677
+ # results to retrieve for this list request.
678
+ # @param [String] fields
679
+ # Selector specifying which fields to include in a partial response.
680
+ # @param [String] quota_user
681
+ # Available to use for quota purposes for server-side applications. Can be any
682
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
683
+ # @param [Google::Apis::RequestOptions] options
684
+ # Request-specific options
685
+ #
686
+ # @yield [result, err] Result & error if block supplied
687
+ # @yieldparam result [Google::Apis::DatafusionV1beta1::ListAvailableVersionsResponse] parsed result object
688
+ # @yieldparam err [StandardError] error object if request failed
689
+ #
690
+ # @return [Google::Apis::DatafusionV1beta1::ListAvailableVersionsResponse]
691
+ #
692
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
693
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
694
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
695
+ def list_project_location_versions(parent, latest_patch_only: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
696
+ command = make_simple_command(:get, 'v1beta1/{+parent}/versions', options)
697
+ command.response_representation = Google::Apis::DatafusionV1beta1::ListAvailableVersionsResponse::Representation
698
+ command.response_class = Google::Apis::DatafusionV1beta1::ListAvailableVersionsResponse
699
+ command.params['parent'] = parent unless parent.nil?
700
+ command.query['latestPatchOnly'] = latest_patch_only unless latest_patch_only.nil?
701
+ command.query['pageSize'] = page_size unless page_size.nil?
702
+ command.query['pageToken'] = page_token unless page_token.nil?
703
+ command.query['fields'] = fields unless fields.nil?
704
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
705
+ execute_or_queue_command(command, &block)
706
+ end
660
707
 
661
708
  protected
662
709
 
@@ -34,7 +34,7 @@ module Google
34
34
  # @see https://cloud.google.com/data-fusion/docs
35
35
  module DatafusionV1beta1
36
36
  VERSION = 'V1beta1'
37
- REVISION = '20200311'
37
+ REVISION = '20200609'
38
38
 
39
39
  # View and manage your data across Google Cloud Platform services
40
40
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
@@ -175,11 +175,12 @@ module Google
175
175
  # @return [String]
176
176
  attr_accessor :graceful_decommission_timeout
177
177
 
178
- # Required. Fraction of average pending memory in the last cooldown period for
179
- # which to remove workers. A scale-down factor of 1 will result in scaling down
180
- # so that there is no available memory remaining after the update (more
178
+ # Required. Fraction of average YARN pending memory in the last cooldown period
179
+ # for which to remove workers. A scale-down factor of 1 will result in scaling
180
+ # down so that there is no available memory remaining after the update (more
181
181
  # aggressive scaling). A scale-down factor of 0 disables removing workers, which
182
- # can be beneficial for autoscaling a single job.Bounds: 0.0, 1.0.
182
+ # can be beneficial for autoscaling a single job. See How autoscaling works for
183
+ # more information.Bounds: 0.0, 1.0.
183
184
  # Corresponds to the JSON property `scaleDownFactor`
184
185
  # @return [Float]
185
186
  attr_accessor :scale_down_factor
@@ -193,11 +194,12 @@ module Google
193
194
  # @return [Float]
194
195
  attr_accessor :scale_down_min_worker_fraction
195
196
 
196
- # Required. Fraction of average pending memory in the last cooldown period for
197
- # which to add workers. A scale-up factor of 1.0 will result in scaling up so
198
- # that there is no pending memory remaining after the update (more aggressive
197
+ # Required. Fraction of average YARN pending memory in the last cooldown period
198
+ # for which to add workers. A scale-up factor of 1.0 will result in scaling up
199
+ # so that there is no pending memory remaining after the update (more aggressive
199
200
  # scaling). A scale-up factor closer to 0 will result in a smaller magnitude of
200
- # scaling up (less aggressive scaling).Bounds: 0.0, 1.0.
201
+ # scaling up (less aggressive scaling). See How autoscaling works for more
202
+ # information.Bounds: 0.0, 1.0.
201
203
  # Corresponds to the JSON property `scaleUpFactor`
202
204
  # @return [Float]
203
205
  attr_accessor :scale_up_factor
@@ -414,6 +416,11 @@ module Google
414
416
  # @return [Google::Apis::DataprocV1::EncryptionConfig]
415
417
  attr_accessor :encryption_config
416
418
 
419
+ # Endpoint config for this cluster
420
+ # Corresponds to the JSON property `endpointConfig`
421
+ # @return [Google::Apis::DataprocV1::EndpointConfig]
422
+ attr_accessor :endpoint_config
423
+
417
424
  # Common config settings for resources of Compute Engine cluster instances,
418
425
  # applicable to all instances in the cluster.
419
426
  # Corresponds to the JSON property `gceClusterConfig`
@@ -462,6 +469,17 @@ module Google
462
469
  # @return [Google::Apis::DataprocV1::SoftwareConfig]
463
470
  attr_accessor :software_config
464
471
 
472
+ # Optional. A Cloud Storage bucket used to store ephemeral cluster and jobs data,
473
+ # such as Spark and MapReduce history files. If you do not specify a temp
474
+ # bucket, Cloud Dataproc will determine a Cloud Storage location (US, ASIA, or
475
+ # EU) for your cluster's temp bucket according to the Compute Engine zone where
476
+ # your cluster is deployed, and then create and manage this project-level, per-
477
+ # location bucket. The default bucket has a TTL of 90 days, but you can use any
478
+ # TTL (or none) if you specify a bucket.
479
+ # Corresponds to the JSON property `tempBucket`
480
+ # @return [String]
481
+ attr_accessor :temp_bucket
482
+
465
483
  # The config settings for Compute Engine resources in an instance group, such as
466
484
  # a master or worker group.
467
485
  # Corresponds to the JSON property `workerConfig`
@@ -477,6 +495,7 @@ module Google
477
495
  @autoscaling_config = args[:autoscaling_config] if args.key?(:autoscaling_config)
478
496
  @config_bucket = args[:config_bucket] if args.key?(:config_bucket)
479
497
  @encryption_config = args[:encryption_config] if args.key?(:encryption_config)
498
+ @endpoint_config = args[:endpoint_config] if args.key?(:endpoint_config)
480
499
  @gce_cluster_config = args[:gce_cluster_config] if args.key?(:gce_cluster_config)
481
500
  @initialization_actions = args[:initialization_actions] if args.key?(:initialization_actions)
482
501
  @lifecycle_config = args[:lifecycle_config] if args.key?(:lifecycle_config)
@@ -484,6 +503,7 @@ module Google
484
503
  @secondary_worker_config = args[:secondary_worker_config] if args.key?(:secondary_worker_config)
485
504
  @security_config = args[:security_config] if args.key?(:security_config)
486
505
  @software_config = args[:software_config] if args.key?(:software_config)
506
+ @temp_bucket = args[:temp_bucket] if args.key?(:temp_bucket)
487
507
  @worker_config = args[:worker_config] if args.key?(:worker_config)
488
508
  end
489
509
  end
@@ -820,6 +840,34 @@ module Google
820
840
  end
821
841
  end
822
842
 
843
+ # Endpoint config for this cluster
844
+ class EndpointConfig
845
+ include Google::Apis::Core::Hashable
846
+
847
+ # Optional. If true, enable http access to specific ports on the cluster from
848
+ # external sources. Defaults to false.
849
+ # Corresponds to the JSON property `enableHttpPortAccess`
850
+ # @return [Boolean]
851
+ attr_accessor :enable_http_port_access
852
+ alias_method :enable_http_port_access?, :enable_http_port_access
853
+
854
+ # Output only. The map of port descriptions to URLs. Will only be populated if
855
+ # enable_http_port_access is true.
856
+ # Corresponds to the JSON property `httpPorts`
857
+ # @return [Hash<String,String>]
858
+ attr_accessor :http_ports
859
+
860
+ def initialize(**args)
861
+ update!(**args)
862
+ end
863
+
864
+ # Update properties of this object
865
+ def update!(**args)
866
+ @enable_http_port_access = args[:enable_http_port_access] if args.key?(:enable_http_port_access)
867
+ @http_ports = args[:http_ports] if args.key?(:http_ports)
868
+ end
869
+ end
870
+
823
871
  # Represents a textual expression in the Common Expression Language (CEL) syntax.
824
872
  # CEL is a C-like expression language. The syntax and semantics of CEL are
825
873
  # documented at https://github.com/google/cel-spec.Example (Comparison):
@@ -2528,8 +2576,8 @@ module Google
2528
2576
  class PySparkJob
2529
2577
  include Google::Apis::Core::Hashable
2530
2578
 
2531
- # Optional. HCFS URIs of archives to be extracted in the working directory of .
2532
- # jar, .tar, .tar.gz, .tgz, and .zip.
2579
+ # Optional. HCFS URIs of archives to be extracted into the working directory of
2580
+ # each executor. Supported file types: .jar, .tar, .tar.gz, .tgz, and .zip.
2533
2581
  # Corresponds to the JSON property `archiveUris`
2534
2582
  # @return [Array<String>]
2535
2583
  attr_accessor :archive_uris
@@ -2541,8 +2589,8 @@ module Google
2541
2589
  # @return [Array<String>]
2542
2590
  attr_accessor :args
2543
2591
 
2544
- # Optional. HCFS URIs of files to be copied to the working directory of Python
2545
- # drivers and distributed tasks. Useful for naively parallel tasks.
2592
+ # Optional. HCFS URIs of files to be placed in the working directory of each
2593
+ # executor. Useful for naively parallel tasks.
2546
2594
  # Corresponds to the JSON property `fileUris`
2547
2595
  # @return [Array<String>]
2548
2596
  attr_accessor :file_uris
@@ -2825,9 +2873,8 @@ module Google
2825
2873
  class SparkJob
2826
2874
  include Google::Apis::Core::Hashable
2827
2875
 
2828
- # Optional. HCFS URIs of archives to be extracted in the working directory of
2829
- # Spark drivers and tasks. Supported file types: .jar, .tar, .tar.gz, .tgz, and .
2830
- # zip.
2876
+ # Optional. HCFS URIs of archives to be extracted into the working directory of
2877
+ # each executor. Supported file types: .jar, .tar, .tar.gz, .tgz, and .zip.
2831
2878
  # Corresponds to the JSON property `archiveUris`
2832
2879
  # @return [Array<String>]
2833
2880
  attr_accessor :archive_uris
@@ -2839,8 +2886,8 @@ module Google
2839
2886
  # @return [Array<String>]
2840
2887
  attr_accessor :args
2841
2888
 
2842
- # Optional. HCFS URIs of files to be copied to the working directory of Spark
2843
- # drivers and distributed tasks. Useful for naively parallel tasks.
2889
+ # Optional. HCFS URIs of files to be placed in the working directory of each
2890
+ # executor. Useful for naively parallel tasks.
2844
2891
  # Corresponds to the JSON property `fileUris`
2845
2892
  # @return [Array<String>]
2846
2893
  attr_accessor :file_uris
@@ -2897,9 +2944,8 @@ module Google
2897
2944
  class SparkRJob
2898
2945
  include Google::Apis::Core::Hashable
2899
2946
 
2900
- # Optional. HCFS URIs of archives to be extracted in the working directory of
2901
- # Spark drivers and tasks. Supported file types: .jar, .tar, .tar.gz, .tgz, and .
2902
- # zip.
2947
+ # Optional. HCFS URIs of archives to be extracted into the working directory of
2948
+ # each executor. Supported file types: .jar, .tar, .tar.gz, .tgz, and .zip.
2903
2949
  # Corresponds to the JSON property `archiveUris`
2904
2950
  # @return [Array<String>]
2905
2951
  attr_accessor :archive_uris
@@ -2911,8 +2957,8 @@ module Google
2911
2957
  # @return [Array<String>]
2912
2958
  attr_accessor :args
2913
2959
 
2914
- # Optional. HCFS URIs of files to be copied to the working directory of R
2915
- # drivers and distributed tasks. Useful for naively parallel tasks.
2960
+ # Optional. HCFS URIs of files to be placed in the working directory of each
2961
+ # executor. Useful for naively parallel tasks.
2916
2962
  # Corresponds to the JSON property `fileUris`
2917
2963
  # @return [Array<String>]
2918
2964
  attr_accessor :file_uris
@@ -142,6 +142,12 @@ module Google
142
142
  include Google::Apis::Core::JsonObjectSupport
143
143
  end
144
144
 
145
+ class EndpointConfig
146
+ class Representation < Google::Apis::Core::JsonRepresentation; end
147
+
148
+ include Google::Apis::Core::JsonObjectSupport
149
+ end
150
+
145
151
  class Expr
146
152
  class Representation < Google::Apis::Core::JsonRepresentation; end
147
153
 
@@ -557,6 +563,8 @@ module Google
557
563
  property :config_bucket, as: 'configBucket'
558
564
  property :encryption_config, as: 'encryptionConfig', class: Google::Apis::DataprocV1::EncryptionConfig, decorator: Google::Apis::DataprocV1::EncryptionConfig::Representation
559
565
 
566
+ property :endpoint_config, as: 'endpointConfig', class: Google::Apis::DataprocV1::EndpointConfig, decorator: Google::Apis::DataprocV1::EndpointConfig::Representation
567
+
560
568
  property :gce_cluster_config, as: 'gceClusterConfig', class: Google::Apis::DataprocV1::GceClusterConfig, decorator: Google::Apis::DataprocV1::GceClusterConfig::Representation
561
569
 
562
570
  collection :initialization_actions, as: 'initializationActions', class: Google::Apis::DataprocV1::NodeInitializationAction, decorator: Google::Apis::DataprocV1::NodeInitializationAction::Representation
@@ -571,6 +579,7 @@ module Google
571
579
 
572
580
  property :software_config, as: 'softwareConfig', class: Google::Apis::DataprocV1::SoftwareConfig, decorator: Google::Apis::DataprocV1::SoftwareConfig::Representation
573
581
 
582
+ property :temp_bucket, as: 'tempBucket'
574
583
  property :worker_config, as: 'workerConfig', class: Google::Apis::DataprocV1::InstanceGroupConfig, decorator: Google::Apis::DataprocV1::InstanceGroupConfig::Representation
575
584
 
576
585
  end
@@ -672,6 +681,14 @@ module Google
672
681
  end
673
682
  end
674
683
 
684
+ class EndpointConfig
685
+ # @private
686
+ class Representation < Google::Apis::Core::JsonRepresentation
687
+ property :enable_http_port_access, as: 'enableHttpPortAccess'
688
+ hash :http_ports, as: 'httpPorts'
689
+ end
690
+ end
691
+
675
692
  class Expr
676
693
  # @private
677
694
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://cloud.google.com/dataproc/
26
26
  module DataprocV1
27
27
  VERSION = 'V1'
28
- REVISION = '20200501'
28
+ REVISION = '20200611'
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'
@@ -175,11 +175,12 @@ module Google
175
175
  # @return [String]
176
176
  attr_accessor :graceful_decommission_timeout
177
177
 
178
- # Required. Fraction of average pending memory in the last cooldown period for
179
- # which to remove workers. A scale-down factor of 1 will result in scaling down
180
- # so that there is no available memory remaining after the update (more
178
+ # Required. Fraction of average YARN pending memory in the last cooldown period
179
+ # for which to remove workers. A scale-down factor of 1 will result in scaling
180
+ # down so that there is no available memory remaining after the update (more
181
181
  # aggressive scaling). A scale-down factor of 0 disables removing workers, which
182
- # can be beneficial for autoscaling a single job.Bounds: 0.0, 1.0.
182
+ # can be beneficial for autoscaling a single job. See How autoscaling works for
183
+ # more information.Bounds: 0.0, 1.0.
183
184
  # Corresponds to the JSON property `scaleDownFactor`
184
185
  # @return [Float]
185
186
  attr_accessor :scale_down_factor
@@ -193,11 +194,12 @@ module Google
193
194
  # @return [Float]
194
195
  attr_accessor :scale_down_min_worker_fraction
195
196
 
196
- # Required. Fraction of average pending memory in the last cooldown period for
197
- # which to add workers. A scale-up factor of 1.0 will result in scaling up so
198
- # that there is no pending memory remaining after the update (more aggressive
197
+ # Required. Fraction of average YARN pending memory in the last cooldown period
198
+ # for which to add workers. A scale-up factor of 1.0 will result in scaling up
199
+ # so that there is no pending memory remaining after the update (more aggressive
199
200
  # scaling). A scale-up factor closer to 0 will result in a smaller magnitude of
200
- # scaling up (less aggressive scaling).Bounds: 0.0, 1.0.
201
+ # scaling up (less aggressive scaling). See How autoscaling works for more
202
+ # information.Bounds: 0.0, 1.0.
201
203
  # Corresponds to the JSON property `scaleUpFactor`
202
204
  # @return [Float]
203
205
  attr_accessor :scale_up_factor
@@ -472,6 +474,17 @@ module Google
472
474
  # @return [Google::Apis::DataprocV1beta2::SoftwareConfig]
473
475
  attr_accessor :software_config
474
476
 
477
+ # Optional. A Cloud Storage bucket used to store ephemeral cluster and jobs data,
478
+ # such as Spark and MapReduce history files. If you do not specify a temp
479
+ # bucket, Cloud Dataproc will determine a Cloud Storage location (US, ASIA, or
480
+ # EU) for your cluster's temp bucket according to the Compute Engine zone where
481
+ # your cluster is deployed, and then create and manage this project-level, per-
482
+ # location bucket. The default bucket has a TTL of 90 days, but you can use any
483
+ # TTL (or none) if you specify a bucket.
484
+ # Corresponds to the JSON property `tempBucket`
485
+ # @return [String]
486
+ attr_accessor :temp_bucket
487
+
475
488
  # The config settings for Compute Engine resources in an instance group, such as
476
489
  # a master or worker group.
477
490
  # Corresponds to the JSON property `workerConfig`
@@ -496,6 +509,7 @@ module Google
496
509
  @secondary_worker_config = args[:secondary_worker_config] if args.key?(:secondary_worker_config)
497
510
  @security_config = args[:security_config] if args.key?(:security_config)
498
511
  @software_config = args[:software_config] if args.key?(:software_config)
512
+ @temp_bucket = args[:temp_bucket] if args.key?(:temp_bucket)
499
513
  @worker_config = args[:worker_config] if args.key?(:worker_config)
500
514
  end
501
515
  end
@@ -2632,8 +2646,8 @@ module Google
2632
2646
  class PySparkJob
2633
2647
  include Google::Apis::Core::Hashable
2634
2648
 
2635
- # Optional. HCFS URIs of archives to be extracted in the working directory of .
2636
- # jar, .tar, .tar.gz, .tgz, and .zip.
2649
+ # Optional. HCFS URIs of archives to be extracted into the working directory of
2650
+ # each executor. Supported file types: .jar, .tar, .tar.gz, .tgz, and .zip.
2637
2651
  # Corresponds to the JSON property `archiveUris`
2638
2652
  # @return [Array<String>]
2639
2653
  attr_accessor :archive_uris
@@ -2645,8 +2659,8 @@ module Google
2645
2659
  # @return [Array<String>]
2646
2660
  attr_accessor :args
2647
2661
 
2648
- # Optional. HCFS URIs of files to be copied to the working directory of Python
2649
- # drivers and distributed tasks. Useful for naively parallel tasks.
2662
+ # Optional. HCFS URIs of files to be placed in the working directory of each
2663
+ # executor. Useful for naively parallel tasks.
2650
2664
  # Corresponds to the JSON property `fileUris`
2651
2665
  # @return [Array<String>]
2652
2666
  attr_accessor :file_uris
@@ -2932,9 +2946,8 @@ module Google
2932
2946
  class SparkJob
2933
2947
  include Google::Apis::Core::Hashable
2934
2948
 
2935
- # Optional. HCFS URIs of archives to be extracted in the working directory of
2936
- # Spark drivers and tasks. Supported file types: .jar, .tar, .tar.gz, .tgz, and .
2937
- # zip.
2949
+ # Optional. HCFS URIs of archives to be extracted into the working directory of
2950
+ # each executor. Supported file types: .jar, .tar, .tar.gz, .tgz, and .zip.
2938
2951
  # Corresponds to the JSON property `archiveUris`
2939
2952
  # @return [Array<String>]
2940
2953
  attr_accessor :archive_uris
@@ -2946,8 +2959,8 @@ module Google
2946
2959
  # @return [Array<String>]
2947
2960
  attr_accessor :args
2948
2961
 
2949
- # Optional. HCFS URIs of files to be copied to the working directory of Spark
2950
- # drivers and distributed tasks. Useful for naively parallel tasks.
2962
+ # Optional. HCFS URIs of files to be placed in the working directory of each
2963
+ # executor. Useful for naively parallel tasks.
2951
2964
  # Corresponds to the JSON property `fileUris`
2952
2965
  # @return [Array<String>]
2953
2966
  attr_accessor :file_uris
@@ -3004,9 +3017,8 @@ module Google
3004
3017
  class SparkRJob
3005
3018
  include Google::Apis::Core::Hashable
3006
3019
 
3007
- # Optional. HCFS URIs of archives to be extracted in the working directory of
3008
- # Spark drivers and tasks. Supported file types: .jar, .tar, .tar.gz, .tgz, and .
3009
- # zip.
3020
+ # Optional. HCFS URIs of archives to be extracted into the working directory of
3021
+ # each executor. Supported file types: .jar, .tar, .tar.gz, .tgz, and .zip.
3010
3022
  # Corresponds to the JSON property `archiveUris`
3011
3023
  # @return [Array<String>]
3012
3024
  attr_accessor :archive_uris
@@ -3018,8 +3030,8 @@ module Google
3018
3030
  # @return [Array<String>]
3019
3031
  attr_accessor :args
3020
3032
 
3021
- # Optional. HCFS URIs of files to be copied to the working directory of R
3022
- # drivers and distributed tasks. Useful for naively parallel tasks.
3033
+ # Optional. HCFS URIs of files to be placed in the working directory of each
3034
+ # executor. Useful for naively parallel tasks.
3023
3035
  # Corresponds to the JSON property `fileUris`
3024
3036
  # @return [Array<String>]
3025
3037
  attr_accessor :file_uris
@@ -3528,7 +3540,7 @@ module Google
3528
3540
  end
3529
3541
  end
3530
3542
 
3531
- # A Dataproc workflow template resource.
3543
+ # A Dataproc workflow template resource. Next ID: 11
3532
3544
  class WorkflowTemplate
3533
3545
  include Google::Apis::Core::Hashable
3534
3546
 
@@ -605,6 +605,7 @@ module Google
605
605
 
606
606
  property :software_config, as: 'softwareConfig', class: Google::Apis::DataprocV1beta2::SoftwareConfig, decorator: Google::Apis::DataprocV1beta2::SoftwareConfig::Representation
607
607
 
608
+ property :temp_bucket, as: 'tempBucket'
608
609
  property :worker_config, as: 'workerConfig', class: Google::Apis::DataprocV1beta2::InstanceGroupConfig, decorator: Google::Apis::DataprocV1beta2::InstanceGroupConfig::Representation
609
610
 
610
611
  end
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://cloud.google.com/dataproc/
26
26
  module DataprocV1beta2
27
27
  VERSION = 'V1beta2'
28
- REVISION = '20200511'
28
+ REVISION = '20200611'
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'
@@ -66,17 +66,6 @@ module Google
66
66
  # @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1PageInfoFormInfo]
67
67
  attr_accessor :form_info
68
68
 
69
- # Deprecated. Please use WebhookResponse.target_page or
70
- # WebhookResponse.target_flow instead.
71
- # Optional for WebhookResponse.
72
- # The unique identifier of the next page. This field can be set by the
73
- # webhook to immediately transition to a page different from `current_page`.
74
- # Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
75
- # ID>/flows/<Flow ID>/pages/<Page ID>`.
76
- # Corresponds to the JSON property `nextPage`
77
- # @return [String]
78
- attr_accessor :next_page
79
-
80
69
  def initialize(**args)
81
70
  update!(**args)
82
71
  end
@@ -85,7 +74,6 @@ module Google
85
74
  def update!(**args)
86
75
  @current_page = args[:current_page] if args.key?(:current_page)
87
76
  @form_info = args[:form_info] if args.key?(:form_info)
88
- @next_page = args[:next_page] if args.key?(:next_page)
89
77
  end
90
78
  end
91
79
 
@@ -100,12 +88,6 @@ module Google
100
88
  # @return [Array<Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1PageInfoFormInfoParameterInfo>]
101
89
  attr_accessor :parameter_info
102
90
 
103
- # Always present for WebhookRequest. Ignored for WebhookResponse.
104
- # The current state of the form.
105
- # Corresponds to the JSON property `state`
106
- # @return [String]
107
- attr_accessor :state
108
-
109
91
  def initialize(**args)
110
92
  update!(**args)
111
93
  end
@@ -113,7 +95,6 @@ module Google
113
95
  # Update properties of this object
114
96
  def update!(**args)
115
97
  @parameter_info = args[:parameter_info] if args.key?(:parameter_info)
116
- @state = args[:state] if args.key?(:state)
117
98
  end
118
99
  end
119
100
 
@@ -137,14 +118,6 @@ module Google
137
118
  attr_accessor :just_collected
138
119
  alias_method :just_collected?, :just_collected
139
120
 
140
- # Not set for WebhookRequest. Optional for WebhookResponse.
141
- # The prompt to send to the user to fill a required form parameter. This
142
- # field can be set by the webhook. If set, this field overrides the
143
- # prompt defined for the form parameter.
144
- # Corresponds to the JSON property `prompt`
145
- # @return [Array<Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1ResponseMessage>]
146
- attr_accessor :prompt
147
-
148
121
  # Optional for both WebhookRequest and WebhookResponse.
149
122
  # Indicates whether the parameter is required. Optional parameters will
150
123
  # not trigger prompts; however, they are filled if the user specifies
@@ -178,7 +151,6 @@ module Google
178
151
  def update!(**args)
179
152
  @display_name = args[:display_name] if args.key?(:display_name)
180
153
  @just_collected = args[:just_collected] if args.key?(:just_collected)
181
- @prompt = args[:prompt] if args.key?(:prompt)
182
154
  @required = args[:required] if args.key?(:required)
183
155
  @state = args[:state] if args.key?(:state)
184
156
  @value = args[:value] if args.key?(:value)
@@ -579,7 +551,15 @@ module Google
579
551
  end
580
552
  end
581
553
 
582
- # Represents a conversational agent.
554
+ # A Dialogflow agent is a virtual agent that handles conversations with your
555
+ # end-users. It is a natural language understanding module that understands the
556
+ # nuances of human language. Dialogflow translates end-user text or audio
557
+ # during a conversation to structured data that your apps and services can
558
+ # understand. You design and build a Dialogflow agent to handle the types of
559
+ # conversations required for your system.
560
+ # For more information about agents, see the
561
+ # [Agents
562
+ # documentation](https://cloud.google.com/dialogflow/docs/agents-overview).
583
563
  class GoogleCloudDialogflowV2Agent
584
564
  include Google::Apis::Core::Hashable
585
565
 
@@ -1086,7 +1086,6 @@ module Google
1086
1086
  property :current_page, as: 'currentPage'
1087
1087
  property :form_info, as: 'formInfo', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1PageInfoFormInfo, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1PageInfoFormInfo::Representation
1088
1088
 
1089
- property :next_page, as: 'nextPage'
1090
1089
  end
1091
1090
  end
1092
1091
 
@@ -1095,7 +1094,6 @@ module Google
1095
1094
  class Representation < Google::Apis::Core::JsonRepresentation
1096
1095
  collection :parameter_info, as: 'parameterInfo', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1PageInfoFormInfoParameterInfo, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1PageInfoFormInfoParameterInfo::Representation
1097
1096
 
1098
- property :state, as: 'state'
1099
1097
  end
1100
1098
  end
1101
1099
 
@@ -1104,8 +1102,6 @@ module Google
1104
1102
  class Representation < Google::Apis::Core::JsonRepresentation
1105
1103
  property :display_name, as: 'displayName'
1106
1104
  property :just_collected, as: 'justCollected'
1107
- collection :prompt, as: 'prompt', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1ResponseMessage, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1ResponseMessage::Representation
1108
-
1109
1105
  property :required, as: 'required'
1110
1106
  property :state, as: 'state'
1111
1107
  property :value, as: 'value'
@@ -255,8 +255,14 @@ module Google
255
255
  # Imports the specified agent from a ZIP file.
256
256
  # Uploads new intents and entity types without deleting the existing ones.
257
257
  # Intents and entity types with the same name are replaced with the new
258
- # versions from ImportAgentRequest.
258
+ # versions from ImportAgentRequest. After the import, the imported draft
259
+ # agent will be trained automatically (unless disabled in agent settings).
260
+ # However, once the import is done, training may not be completed yet. Please
261
+ # call TrainAgent and wait for the operation it returns in order to train
262
+ # explicitly.
259
263
  # Operation <response: google.protobuf.Empty>
264
+ # An operation which tracks when importing is complete. It only tracks
265
+ # when the draft agent is updated not when it is done training.
260
266
  # @param [String] parent
261
267
  # Required. The project that the agent to import is associated with.
262
268
  # Format: `projects/<Project ID>`.
@@ -292,8 +298,14 @@ module Google
292
298
 
293
299
  # Restores the specified agent from a ZIP file.
294
300
  # Replaces the current agent version with a new one. All the intents and
295
- # entity types in the older version are deleted.
301
+ # entity types in the older version are deleted. After the restore, the
302
+ # restored draft agent will be trained automatically (unless disabled in
303
+ # agent settings). However, once the restore is done, training may not be
304
+ # completed yet. Please call TrainAgent and wait for the operation it
305
+ # returns in order to train explicitly.
296
306
  # Operation <response: google.protobuf.Empty>
307
+ # An operation which tracks when restoring is complete. It only tracks
308
+ # when the draft agent is updated not when it is done training.
297
309
  # @param [String] parent
298
310
  # Required. The project that the agent to restore is associated with.
299
311
  # Format: `projects/<Project ID>`.
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://cloud.google.com/dialogflow/
27
27
  module DialogflowV2
28
28
  VERSION = 'V2'
29
- REVISION = '20200526'
29
+ REVISION = '20200615'
30
30
 
31
31
  # View and manage your data across Google Cloud Platform services
32
32
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'