google-api-client 0.23.4 → 0.23.5

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 (403) hide show
  1. checksums.yaml +4 -4
  2. data/.gitignore +1 -0
  3. data/CHANGELOG.md +171 -0
  4. data/Gemfile +1 -0
  5. data/generated/google/apis/abusiveexperiencereport_v1.rb +1 -1
  6. data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
  7. data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +7 -1
  8. data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +1 -0
  9. data/generated/google/apis/adexchangebuyer_v1_2.rb +1 -1
  10. data/generated/google/apis/adexchangebuyer_v1_3.rb +1 -1
  11. data/generated/google/apis/adexchangebuyer_v1_4.rb +1 -1
  12. data/generated/google/apis/adexchangeseller_v1.rb +1 -1
  13. data/generated/google/apis/adexchangeseller_v1_1.rb +1 -1
  14. data/generated/google/apis/adexchangeseller_v2_0.rb +1 -1
  15. data/generated/google/apis/adexperiencereport_v1.rb +1 -1
  16. data/generated/google/apis/admin_datatransfer_v1.rb +1 -1
  17. data/generated/google/apis/admin_directory_v1.rb +1 -1
  18. data/generated/google/apis/admin_directory_v1/classes.rb +7 -0
  19. data/generated/google/apis/admin_directory_v1/representations.rb +1 -0
  20. data/generated/google/apis/admin_reports_v1.rb +1 -1
  21. data/generated/google/apis/adsense_v1_4.rb +1 -1
  22. data/generated/google/apis/adsense_v1_4/classes.rb +13 -1
  23. data/generated/google/apis/adsense_v1_4/representations.rb +2 -0
  24. data/generated/google/apis/adsense_v1_4/service.rb +36 -0
  25. data/generated/google/apis/adsensehost_v4_1.rb +1 -1
  26. data/generated/google/apis/analytics_v2_4.rb +1 -1
  27. data/generated/google/apis/analytics_v3.rb +1 -1
  28. data/generated/google/apis/analytics_v3/classes.rb +68 -0
  29. data/generated/google/apis/analytics_v3/representations.rb +31 -0
  30. data/generated/google/apis/analytics_v3/service.rb +33 -0
  31. data/generated/google/apis/analyticsreporting_v4.rb +1 -1
  32. data/generated/google/apis/androiddeviceprovisioning_v1.rb +1 -1
  33. data/generated/google/apis/androiddeviceprovisioning_v1/classes.rb +108 -28
  34. data/generated/google/apis/androiddeviceprovisioning_v1/representations.rb +32 -0
  35. data/generated/google/apis/androiddeviceprovisioning_v1/service.rb +73 -0
  36. data/generated/google/apis/androidenterprise_v1.rb +1 -1
  37. data/generated/google/apis/androidenterprise_v1/service.rb +0 -70
  38. data/generated/google/apis/androidmanagement_v1.rb +1 -1
  39. data/generated/google/apis/androidmanagement_v1/classes.rb +2 -5
  40. data/generated/google/apis/androidpublisher_v1.rb +1 -1
  41. data/generated/google/apis/androidpublisher_v1_1.rb +1 -1
  42. data/generated/google/apis/androidpublisher_v2.rb +1 -1
  43. data/generated/google/apis/androidpublisher_v3.rb +1 -1
  44. data/generated/google/apis/appengine_v1.rb +1 -1
  45. data/generated/google/apis/appengine_v1beta.rb +1 -1
  46. data/generated/google/apis/appengine_v1beta/classes.rb +3 -4
  47. data/generated/google/apis/appsactivity_v1.rb +2 -2
  48. data/generated/google/apis/appsactivity_v1/service.rb +1 -1
  49. data/generated/google/apis/appsmarket_v2.rb +1 -1
  50. data/generated/google/apis/appstate_v1.rb +1 -1
  51. data/generated/google/apis/bigquery_v2.rb +1 -1
  52. data/generated/google/apis/bigquery_v2/classes.rb +103 -61
  53. data/generated/google/apis/bigquery_v2/representations.rb +17 -0
  54. data/generated/google/apis/bigquerydatatransfer_v1.rb +1 -1
  55. data/generated/google/apis/binaryauthorization_v1beta1.rb +35 -0
  56. data/generated/google/apis/binaryauthorization_v1beta1/classes.rb +597 -0
  57. data/generated/google/apis/binaryauthorization_v1beta1/representations.rb +238 -0
  58. data/generated/google/apis/binaryauthorization_v1beta1/service.rb +523 -0
  59. data/generated/google/apis/blogger_v2.rb +1 -1
  60. data/generated/google/apis/blogger_v3.rb +1 -1
  61. data/generated/google/apis/books_v1.rb +1 -1
  62. data/generated/google/apis/books_v1/classes.rb +7 -0
  63. data/generated/google/apis/books_v1/representations.rb +1 -0
  64. data/generated/google/apis/calendar_v3.rb +1 -1
  65. data/generated/google/apis/calendar_v3/classes.rb +44 -12
  66. data/generated/google/apis/calendar_v3/service.rb +7 -7
  67. data/generated/google/apis/chat_v1.rb +1 -1
  68. data/generated/google/apis/civicinfo_v2.rb +1 -1
  69. data/generated/google/apis/civicinfo_v2/classes.rb +641 -0
  70. data/generated/google/apis/civicinfo_v2/representations.rb +215 -0
  71. data/generated/google/apis/classroom_v1.rb +1 -1
  72. data/generated/google/apis/classroom_v1/classes.rb +25 -0
  73. data/generated/google/apis/classroom_v1/representations.rb +15 -0
  74. data/generated/google/apis/cloudbilling_v1.rb +1 -1
  75. data/generated/google/apis/cloudbilling_v1/classes.rb +85 -10
  76. data/generated/google/apis/cloudbilling_v1/representations.rb +18 -0
  77. data/generated/google/apis/cloudbilling_v1/service.rb +3 -13
  78. data/generated/google/apis/cloudbuild_v1.rb +4 -4
  79. data/generated/google/apis/cloudbuild_v1/classes.rb +37 -3
  80. data/generated/google/apis/cloudbuild_v1/representations.rb +3 -0
  81. data/generated/google/apis/cloudbuild_v1/service.rb +3 -3
  82. data/generated/google/apis/clouddebugger_v2.rb +1 -1
  83. data/generated/google/apis/clouddebugger_v2/classes.rb +8 -0
  84. data/generated/google/apis/clouddebugger_v2/representations.rb +1 -0
  85. data/generated/google/apis/clouderrorreporting_v1beta1.rb +1 -1
  86. data/generated/google/apis/clouderrorreporting_v1beta1/service.rb +4 -5
  87. data/generated/google/apis/cloudiot_v1.rb +1 -1
  88. data/generated/google/apis/cloudiot_v1/classes.rb +56 -0
  89. data/generated/google/apis/cloudiot_v1/representations.rb +18 -0
  90. data/generated/google/apis/cloudiot_v1/service.rb +355 -0
  91. data/generated/google/apis/cloudkms_v1.rb +6 -3
  92. data/generated/google/apis/cloudkms_v1/classes.rb +340 -14
  93. data/generated/google/apis/cloudkms_v1/representations.rb +147 -0
  94. data/generated/google/apis/cloudkms_v1/service.rb +126 -6
  95. data/generated/google/apis/cloudprofiler_v2.rb +3 -3
  96. data/generated/google/apis/cloudprofiler_v2/classes.rb +0 -6
  97. data/generated/google/apis/cloudprofiler_v2/representations.rb +0 -2
  98. data/generated/google/apis/cloudprofiler_v2/service.rb +2 -2
  99. data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
  100. data/generated/google/apis/cloudresourcemanager_v1/classes.rb +57 -1
  101. data/generated/google/apis/cloudresourcemanager_v1/representations.rb +18 -0
  102. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
  103. data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +56 -0
  104. data/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb +18 -0
  105. data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
  106. data/generated/google/apis/cloudresourcemanager_v2/classes.rb +57 -1
  107. data/generated/google/apis/cloudresourcemanager_v2/representations.rb +18 -0
  108. data/generated/google/apis/cloudresourcemanager_v2/service.rb +1 -1
  109. data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
  110. data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +57 -1
  111. data/generated/google/apis/cloudresourcemanager_v2beta1/representations.rb +18 -0
  112. data/generated/google/apis/cloudresourcemanager_v2beta1/service.rb +1 -1
  113. data/generated/google/apis/cloudshell_v1alpha1.rb +1 -1
  114. data/generated/google/apis/cloudshell_v1alpha1/classes.rb +28 -0
  115. data/generated/google/apis/cloudshell_v1alpha1/representations.rb +14 -0
  116. data/generated/google/apis/cloudshell_v1alpha1/service.rb +37 -0
  117. data/generated/google/apis/cloudtasks_v2beta2.rb +2 -2
  118. data/generated/google/apis/cloudtasks_v2beta2/classes.rb +167 -103
  119. data/generated/google/apis/cloudtasks_v2beta2/representations.rb +18 -0
  120. data/generated/google/apis/cloudtasks_v2beta2/service.rb +28 -21
  121. data/generated/google/apis/cloudtrace_v1.rb +1 -1
  122. data/generated/google/apis/cloudtrace_v1/classes.rb +1 -1
  123. data/generated/google/apis/cloudtrace_v2.rb +1 -1
  124. data/generated/google/apis/{spectrum_v1explorer.rb → composer_v1.rb} +12 -9
  125. data/generated/google/apis/composer_v1/classes.rb +640 -0
  126. data/generated/google/apis/composer_v1/representations.rb +195 -0
  127. data/generated/google/apis/composer_v1/service.rb +462 -0
  128. data/generated/google/apis/composer_v1beta1.rb +1 -1
  129. data/generated/google/apis/composer_v1beta1/classes.rb +13 -10
  130. data/generated/google/apis/composer_v1beta1/service.rb +6 -6
  131. data/generated/google/apis/compute_alpha.rb +1 -1
  132. data/generated/google/apis/compute_alpha/classes.rb +5135 -4250
  133. data/generated/google/apis/compute_alpha/representations.rb +644 -216
  134. data/generated/google/apis/compute_alpha/service.rb +2308 -1655
  135. data/generated/google/apis/compute_beta.rb +1 -1
  136. data/generated/google/apis/compute_beta/classes.rb +1070 -62
  137. data/generated/google/apis/compute_beta/representations.rb +435 -0
  138. data/generated/google/apis/compute_beta/service.rb +1758 -321
  139. data/generated/google/apis/compute_v1.rb +1 -1
  140. data/generated/google/apis/compute_v1/classes.rb +1984 -210
  141. data/generated/google/apis/compute_v1/representations.rb +754 -9
  142. data/generated/google/apis/compute_v1/service.rb +1299 -12
  143. data/generated/google/apis/container_v1.rb +1 -1
  144. data/generated/google/apis/container_v1/classes.rb +43 -0
  145. data/generated/google/apis/container_v1/representations.rb +17 -0
  146. data/generated/google/apis/container_v1beta1.rb +1 -1
  147. data/generated/google/apis/container_v1beta1/classes.rb +193 -231
  148. data/generated/google/apis/container_v1beta1/representations.rb +72 -82
  149. data/generated/google/apis/container_v1beta1/service.rb +0 -112
  150. data/generated/google/apis/content_v2.rb +1 -1
  151. data/generated/google/apis/content_v2/classes.rb +199 -29
  152. data/generated/google/apis/content_v2/representations.rb +59 -0
  153. data/generated/google/apis/content_v2/service.rb +8 -3
  154. data/generated/google/apis/content_v2sandbox.rb +1 -1
  155. data/generated/google/apis/content_v2sandbox/classes.rb +32 -19
  156. data/generated/google/apis/content_v2sandbox/representations.rb +1 -0
  157. data/generated/google/apis/content_v2sandbox/service.rb +8 -3
  158. data/generated/google/apis/customsearch_v1.rb +1 -1
  159. data/generated/google/apis/customsearch_v1/service.rb +7 -7
  160. data/generated/google/apis/dataproc_v1beta2.rb +1 -1
  161. data/generated/google/apis/dataproc_v1beta2/classes.rb +112 -43
  162. data/generated/google/apis/dataproc_v1beta2/representations.rb +19 -0
  163. data/generated/google/apis/datastore_v1.rb +1 -1
  164. data/generated/google/apis/datastore_v1/classes.rb +140 -0
  165. data/generated/google/apis/datastore_v1/representations.rb +65 -0
  166. data/generated/google/apis/datastore_v1/service.rb +74 -0
  167. data/generated/google/apis/datastore_v1beta1.rb +1 -1
  168. data/generated/google/apis/datastore_v1beta1/classes.rb +31 -0
  169. data/generated/google/apis/datastore_v1beta1/representations.rb +17 -0
  170. data/generated/google/apis/datastore_v1beta3.rb +1 -1
  171. data/generated/google/apis/datastore_v1beta3/classes.rb +31 -0
  172. data/generated/google/apis/datastore_v1beta3/representations.rb +17 -0
  173. data/generated/google/apis/deploymentmanager_alpha.rb +1 -1
  174. data/generated/google/apis/deploymentmanager_v2.rb +1 -1
  175. data/generated/google/apis/deploymentmanager_v2beta.rb +1 -1
  176. data/generated/google/apis/dfareporting_v2_8.rb +1 -1
  177. data/generated/google/apis/dfareporting_v3_0.rb +1 -1
  178. data/generated/google/apis/dfareporting_v3_1.rb +1 -1
  179. data/generated/google/apis/dfareporting_v3_2.rb +40 -0
  180. data/generated/google/apis/dfareporting_v3_2/classes.rb +12297 -0
  181. data/generated/google/apis/dfareporting_v3_2/representations.rb +4397 -0
  182. data/generated/google/apis/dfareporting_v3_2/service.rb +8790 -0
  183. data/generated/google/apis/dialogflow_v2.rb +1 -1
  184. data/generated/google/apis/dialogflow_v2/classes.rb +304 -12
  185. data/generated/google/apis/dialogflow_v2/representations.rb +113 -0
  186. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  187. data/generated/google/apis/dialogflow_v2beta1/classes.rb +656 -26
  188. data/generated/google/apis/dialogflow_v2beta1/representations.rb +248 -0
  189. data/generated/google/apis/dialogflow_v2beta1/service.rb +556 -0
  190. data/generated/google/apis/discovery_v1.rb +1 -1
  191. data/generated/google/apis/dlp_v2.rb +1 -1
  192. data/generated/google/apis/dlp_v2/classes.rb +357 -6
  193. data/generated/google/apis/dlp_v2/representations.rb +161 -0
  194. data/generated/google/apis/dlp_v2/service.rb +366 -0
  195. data/generated/google/apis/dns_v1.rb +1 -1
  196. data/generated/google/apis/dns_v1/classes.rb +0 -7
  197. data/generated/google/apis/dns_v1/representations.rb +0 -1
  198. data/generated/google/apis/dns_v1beta2.rb +1 -1
  199. data/generated/google/apis/dns_v1beta2/classes.rb +0 -7
  200. data/generated/google/apis/dns_v1beta2/representations.rb +0 -1
  201. data/generated/google/apis/dns_v2beta1.rb +1 -1
  202. data/generated/google/apis/dns_v2beta1/classes.rb +0 -7
  203. data/generated/google/apis/dns_v2beta1/representations.rb +0 -1
  204. data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
  205. data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
  206. data/generated/google/apis/drive_v2.rb +1 -1
  207. data/generated/google/apis/drive_v2/service.rb +3 -2
  208. data/generated/google/apis/drive_v3.rb +1 -1
  209. data/generated/google/apis/firestore_v1.rb +37 -0
  210. data/generated/google/apis/firestore_v1/classes.rb +324 -0
  211. data/generated/google/apis/firestore_v1/representations.rb +130 -0
  212. data/generated/google/apis/firestore_v1/service.rb +282 -0
  213. data/generated/google/apis/firestore_v1beta1.rb +1 -1
  214. data/generated/google/apis/firestore_v1beta1/classes.rb +290 -0
  215. data/generated/google/apis/firestore_v1beta1/representations.rb +128 -0
  216. data/generated/google/apis/firestore_v1beta1/service.rb +79 -0
  217. data/generated/google/apis/firestore_v1beta2.rb +37 -0
  218. data/generated/google/apis/firestore_v1beta2/classes.rb +531 -0
  219. data/generated/google/apis/firestore_v1beta2/representations.rb +189 -0
  220. data/generated/google/apis/firestore_v1beta2/service.rb +213 -0
  221. data/generated/google/apis/fitness_v1.rb +1 -1
  222. data/generated/google/apis/fusiontables_v1.rb +1 -1
  223. data/generated/google/apis/fusiontables_v2.rb +1 -1
  224. data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
  225. data/generated/google/apis/games_management_v1management.rb +1 -1
  226. data/generated/google/apis/games_v1.rb +1 -1
  227. data/generated/google/apis/genomics_v1.rb +1 -1
  228. data/generated/google/apis/genomics_v1/classes.rb +113 -36
  229. data/generated/google/apis/genomics_v1/representations.rb +31 -0
  230. data/generated/google/apis/genomics_v1/service.rb +2 -0
  231. data/generated/google/apis/genomics_v1alpha2.rb +1 -1
  232. data/generated/google/apis/genomics_v1alpha2/classes.rb +57 -36
  233. data/generated/google/apis/genomics_v1alpha2/representations.rb +13 -0
  234. data/generated/google/apis/genomics_v1alpha2/service.rb +2 -0
  235. data/generated/google/apis/genomics_v2alpha1.rb +1 -1
  236. data/generated/google/apis/genomics_v2alpha1/classes.rb +252 -137
  237. data/generated/google/apis/genomics_v2alpha1/representations.rb +50 -0
  238. data/generated/google/apis/genomics_v2alpha1/service.rb +7 -5
  239. data/generated/google/apis/gmail_v1.rb +1 -1
  240. data/generated/google/apis/groupsmigration_v1.rb +1 -1
  241. data/generated/google/apis/groupssettings_v1.rb +1 -1
  242. data/generated/google/apis/iam_v1.rb +1 -1
  243. data/generated/google/apis/iam_v1/classes.rb +258 -3
  244. data/generated/google/apis/iam_v1/representations.rb +73 -0
  245. data/generated/google/apis/iam_v1/service.rb +50 -2
  246. data/generated/google/apis/iamcredentials_v1.rb +2 -2
  247. data/generated/google/apis/iamcredentials_v1/classes.rb +2 -2
  248. data/generated/google/apis/iamcredentials_v1/service.rb +1 -1
  249. data/generated/google/apis/iap_v1beta1.rb +34 -0
  250. data/generated/google/apis/iap_v1beta1/classes.rb +440 -0
  251. data/generated/google/apis/iap_v1beta1/representations.rb +158 -0
  252. data/generated/google/apis/iap_v1beta1/service.rb +398 -0
  253. data/generated/google/apis/identitytoolkit_v3.rb +1 -1
  254. data/generated/google/apis/jobs_v2.rb +3 -3
  255. data/generated/google/apis/jobs_v2/classes.rb +61 -5
  256. data/generated/google/apis/jobs_v2/representations.rb +18 -0
  257. data/generated/google/apis/jobs_v2/service.rb +3 -3
  258. data/generated/google/apis/licensing_v1.rb +1 -1
  259. data/generated/google/apis/logging_v2.rb +2 -2
  260. data/generated/google/apis/logging_v2/classes.rb +64 -58
  261. data/generated/google/apis/logging_v2/representations.rb +1 -0
  262. data/generated/google/apis/logging_v2/service.rb +39 -40
  263. data/generated/google/apis/logging_v2beta1.rb +2 -2
  264. data/generated/google/apis/logging_v2beta1/classes.rb +59 -53
  265. data/generated/google/apis/logging_v2beta1/representations.rb +1 -0
  266. data/generated/google/apis/logging_v2beta1/service.rb +15 -16
  267. data/generated/google/apis/mirror_v1.rb +1 -1
  268. data/generated/google/apis/ml_v1.rb +1 -1
  269. data/generated/google/apis/ml_v1/classes.rb +87 -0
  270. data/generated/google/apis/ml_v1/representations.rb +34 -0
  271. data/generated/google/apis/ml_v1/service.rb +53 -0
  272. data/generated/google/apis/monitoring_v3.rb +1 -1
  273. data/generated/google/apis/monitoring_v3/classes.rb +68 -15
  274. data/generated/google/apis/monitoring_v3/representations.rb +26 -0
  275. data/generated/google/apis/mybusiness_v3/classes.rb +1 -1
  276. data/generated/google/apis/oauth2_v1.rb +1 -1
  277. data/generated/google/apis/oauth2_v2.rb +1 -1
  278. data/generated/google/apis/pagespeedonline_v1.rb +1 -1
  279. data/generated/google/apis/pagespeedonline_v2.rb +1 -1
  280. data/generated/google/apis/pagespeedonline_v4.rb +1 -1
  281. data/generated/google/apis/playcustomapp_v1.rb +1 -1
  282. data/generated/google/apis/plus_domains_v1.rb +1 -1
  283. data/generated/google/apis/plus_v1.rb +1 -1
  284. data/generated/google/apis/poly_v1.rb +4 -3
  285. data/generated/google/apis/poly_v1/classes.rb +28 -0
  286. data/generated/google/apis/poly_v1/representations.rb +15 -0
  287. data/generated/google/apis/poly_v1/service.rb +3 -2
  288. data/generated/google/apis/pubsub_v1.rb +1 -1
  289. data/generated/google/apis/pubsub_v1/classes.rb +63 -8
  290. data/generated/google/apis/pubsub_v1/representations.rb +18 -0
  291. data/generated/google/apis/pubsub_v1/service.rb +7 -8
  292. data/generated/google/apis/pubsub_v1beta2.rb +1 -1
  293. data/generated/google/apis/pubsub_v1beta2/classes.rb +56 -0
  294. data/generated/google/apis/pubsub_v1beta2/representations.rb +18 -0
  295. data/generated/google/apis/redis_v1beta1.rb +2 -2
  296. data/generated/google/apis/redis_v1beta1/classes.rb +38 -119
  297. data/generated/google/apis/redis_v1beta1/representations.rb +10 -43
  298. data/generated/google/apis/redis_v1beta1/service.rb +73 -1
  299. data/generated/google/apis/replicapool_v1beta1.rb +1 -1
  300. data/generated/google/apis/replicapoolupdater_v1beta1.rb +1 -1
  301. data/generated/google/apis/reseller_v1.rb +1 -1
  302. data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
  303. data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +57 -1
  304. data/generated/google/apis/runtimeconfig_v1beta1/representations.rb +18 -0
  305. data/generated/google/apis/script_v1.rb +1 -1
  306. data/generated/google/apis/script_v1/classes.rb +1 -57
  307. data/generated/google/apis/script_v1/representations.rb +0 -32
  308. data/generated/google/apis/servicebroker_v1.rb +1 -1
  309. data/generated/google/apis/servicebroker_v1/classes.rb +56 -1
  310. data/generated/google/apis/servicebroker_v1/representations.rb +18 -0
  311. data/generated/google/apis/servicebroker_v1alpha1.rb +1 -1
  312. data/generated/google/apis/servicebroker_v1alpha1/classes.rb +56 -1
  313. data/generated/google/apis/servicebroker_v1alpha1/representations.rb +18 -0
  314. data/generated/google/apis/servicebroker_v1beta1.rb +1 -1
  315. data/generated/google/apis/servicebroker_v1beta1/classes.rb +56 -1
  316. data/generated/google/apis/servicebroker_v1beta1/representations.rb +18 -0
  317. data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
  318. data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +13 -4
  319. data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +1 -0
  320. data/generated/google/apis/servicecontrol_v1.rb +1 -1
  321. data/generated/google/apis/servicecontrol_v1/classes.rb +259 -0
  322. data/generated/google/apis/servicecontrol_v1/representations.rb +68 -0
  323. data/generated/google/apis/servicemanagement_v1.rb +1 -1
  324. data/generated/google/apis/servicemanagement_v1/classes.rb +68 -4
  325. data/generated/google/apis/servicemanagement_v1/representations.rb +19 -0
  326. data/generated/google/apis/serviceusage_v1.rb +1 -1
  327. data/generated/google/apis/serviceusage_v1/classes.rb +13 -4
  328. data/generated/google/apis/serviceusage_v1/representations.rb +1 -0
  329. data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
  330. data/generated/google/apis/serviceusage_v1beta1/classes.rb +13 -4
  331. data/generated/google/apis/serviceusage_v1beta1/representations.rb +1 -0
  332. data/generated/google/apis/serviceuser_v1.rb +1 -1
  333. data/generated/google/apis/serviceuser_v1/classes.rb +12 -3
  334. data/generated/google/apis/serviceuser_v1/representations.rb +1 -0
  335. data/generated/google/apis/sheets_v4.rb +1 -1
  336. data/generated/google/apis/sheets_v4/classes.rb +22 -22
  337. data/generated/google/apis/site_verification_v1.rb +1 -1
  338. data/generated/google/apis/slides_v1.rb +1 -1
  339. data/generated/google/apis/sourcerepo_v1.rb +1 -1
  340. data/generated/google/apis/sourcerepo_v1/classes.rb +56 -1
  341. data/generated/google/apis/sourcerepo_v1/representations.rb +18 -0
  342. data/generated/google/apis/sqladmin_v1beta3.rb +38 -0
  343. data/generated/google/apis/sqladmin_v1beta3/classes.rb +1632 -0
  344. data/generated/google/apis/sqladmin_v1beta3/representations.rb +733 -0
  345. data/generated/google/apis/sqladmin_v1beta3/service.rb +995 -0
  346. data/generated/google/apis/sqladmin_v1beta4.rb +4 -4
  347. data/generated/google/apis/sqladmin_v1beta4/classes.rb +30 -14
  348. data/generated/google/apis/sqladmin_v1beta4/service.rb +7 -7
  349. data/generated/google/apis/storage_v1.rb +1 -1
  350. data/generated/google/apis/storage_v1beta1.rb +1 -1
  351. data/generated/google/apis/storage_v1beta2.rb +1 -1
  352. data/generated/google/apis/surveys_v2.rb +1 -1
  353. data/generated/google/apis/tagmanager_v1.rb +1 -1
  354. data/generated/google/apis/tagmanager_v2.rb +1 -1
  355. data/generated/google/apis/tasks_v1.rb +1 -1
  356. data/generated/google/apis/testing_v1.rb +1 -1
  357. data/generated/google/apis/testing_v1/classes.rb +2 -2
  358. data/generated/google/apis/texttospeech_v1.rb +34 -0
  359. data/generated/google/apis/texttospeech_v1/classes.rb +278 -0
  360. data/generated/google/apis/texttospeech_v1/representations.rb +133 -0
  361. data/generated/google/apis/texttospeech_v1/service.rb +127 -0
  362. data/generated/google/apis/texttospeech_v1beta1.rb +1 -1
  363. data/generated/google/apis/texttospeech_v1beta1/service.rb +1 -2
  364. data/generated/google/apis/toolresults_v1beta3.rb +1 -1
  365. data/generated/google/apis/toolresults_v1beta3/classes.rb +0 -12
  366. data/generated/google/apis/toolresults_v1beta3/representations.rb +0 -2
  367. data/generated/google/apis/tpu_v1.rb +1 -1
  368. data/generated/google/apis/tpu_v1/classes.rb +0 -13
  369. data/generated/google/apis/tpu_v1/representations.rb +0 -12
  370. data/generated/google/apis/tpu_v1/service.rb +0 -33
  371. data/generated/google/apis/tpu_v1alpha1.rb +1 -1
  372. data/generated/google/apis/tpu_v1alpha1/classes.rb +0 -13
  373. data/generated/google/apis/tpu_v1alpha1/representations.rb +0 -12
  374. data/generated/google/apis/tpu_v1alpha1/service.rb +0 -33
  375. data/generated/google/apis/urlshortener_v1.rb +1 -1
  376. data/generated/google/apis/vault_v1.rb +1 -1
  377. data/generated/google/apis/vault_v1/classes.rb +803 -0
  378. data/generated/google/apis/vault_v1/representations.rb +384 -0
  379. data/generated/google/apis/vault_v1/service.rb +211 -0
  380. data/generated/google/apis/vision_v1.rb +1 -1
  381. data/generated/google/apis/vision_v1/classes.rb +3342 -227
  382. data/generated/google/apis/vision_v1/representations.rb +1696 -365
  383. data/generated/google/apis/vision_v1p1beta1.rb +1 -1
  384. data/generated/google/apis/vision_v1p1beta1/classes.rb +1826 -94
  385. data/generated/google/apis/vision_v1p1beta1/representations.rb +754 -1
  386. data/generated/google/apis/vision_v1p2beta1.rb +1 -1
  387. data/generated/google/apis/vision_v1p2beta1/classes.rb +3712 -597
  388. data/generated/google/apis/vision_v1p2beta1/representations.rb +1606 -275
  389. data/generated/google/apis/webfonts_v1.rb +1 -1
  390. data/generated/google/apis/webmasters_v3.rb +1 -1
  391. data/generated/google/apis/websecurityscanner_v1alpha.rb +1 -1
  392. data/generated/google/apis/websecurityscanner_v1alpha/classes.rb +58 -2
  393. data/generated/google/apis/websecurityscanner_v1alpha/representations.rb +32 -0
  394. data/generated/google/apis/youtube_analytics_v1.rb +1 -1
  395. data/generated/google/apis/youtube_analytics_v1beta1.rb +1 -1
  396. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  397. data/generated/google/apis/youtube_v3.rb +1 -1
  398. data/lib/google/apis/core/http_command.rb +1 -1
  399. data/lib/google/apis/version.rb +1 -1
  400. metadata +34 -6
  401. data/generated/google/apis/spectrum_v1explorer/classes.rb +0 -1612
  402. data/generated/google/apis/spectrum_v1explorer/representations.rb +0 -611
  403. data/generated/google/apis/spectrum_v1explorer/service.rb +0 -271
@@ -310,6 +310,12 @@ module Google
310
310
  include Google::Apis::Core::JsonObjectSupport
311
311
  end
312
312
 
313
+ class GoogleCloudDialogflowV2beta1Document
314
+ class Representation < Google::Apis::Core::JsonRepresentation; end
315
+
316
+ include Google::Apis::Core::JsonObjectSupport
317
+ end
318
+
313
319
  class GoogleCloudDialogflowV2beta1EntityType
314
320
  class Representation < Google::Apis::Core::JsonRepresentation; end
315
321
 
@@ -484,6 +490,24 @@ module Google
484
490
  include Google::Apis::Core::JsonObjectSupport
485
491
  end
486
492
 
493
+ class GoogleCloudDialogflowV2beta1IntentMessageTelephonyPlayAudio
494
+ class Representation < Google::Apis::Core::JsonRepresentation; end
495
+
496
+ include Google::Apis::Core::JsonObjectSupport
497
+ end
498
+
499
+ class GoogleCloudDialogflowV2beta1IntentMessageTelephonySynthesizeSpeech
500
+ class Representation < Google::Apis::Core::JsonRepresentation; end
501
+
502
+ include Google::Apis::Core::JsonObjectSupport
503
+ end
504
+
505
+ class GoogleCloudDialogflowV2beta1IntentMessageTelephonyTransferCall
506
+ class Representation < Google::Apis::Core::JsonRepresentation; end
507
+
508
+ include Google::Apis::Core::JsonObjectSupport
509
+ end
510
+
487
511
  class GoogleCloudDialogflowV2beta1IntentMessageText
488
512
  class Representation < Google::Apis::Core::JsonRepresentation; end
489
513
 
@@ -508,6 +532,24 @@ module Google
508
532
  include Google::Apis::Core::JsonObjectSupport
509
533
  end
510
534
 
535
+ class GoogleCloudDialogflowV2beta1KnowledgeAnswers
536
+ class Representation < Google::Apis::Core::JsonRepresentation; end
537
+
538
+ include Google::Apis::Core::JsonObjectSupport
539
+ end
540
+
541
+ class GoogleCloudDialogflowV2beta1KnowledgeAnswersAnswer
542
+ class Representation < Google::Apis::Core::JsonRepresentation; end
543
+
544
+ include Google::Apis::Core::JsonObjectSupport
545
+ end
546
+
547
+ class GoogleCloudDialogflowV2beta1KnowledgeBase
548
+ class Representation < Google::Apis::Core::JsonRepresentation; end
549
+
550
+ include Google::Apis::Core::JsonObjectSupport
551
+ end
552
+
511
553
  class GoogleCloudDialogflowV2beta1KnowledgeOperationMetadata
512
554
  class Representation < Google::Apis::Core::JsonRepresentation; end
513
555
 
@@ -520,6 +562,12 @@ module Google
520
562
  include Google::Apis::Core::JsonObjectSupport
521
563
  end
522
564
 
565
+ class GoogleCloudDialogflowV2beta1ListDocumentsResponse
566
+ class Representation < Google::Apis::Core::JsonRepresentation; end
567
+
568
+ include Google::Apis::Core::JsonObjectSupport
569
+ end
570
+
523
571
  class GoogleCloudDialogflowV2beta1ListEntityTypesResponse
524
572
  class Representation < Google::Apis::Core::JsonRepresentation; end
525
573
 
@@ -532,6 +580,12 @@ module Google
532
580
  include Google::Apis::Core::JsonObjectSupport
533
581
  end
534
582
 
583
+ class GoogleCloudDialogflowV2beta1ListKnowledgeBasesResponse
584
+ class Representation < Google::Apis::Core::JsonRepresentation; end
585
+
586
+ include Google::Apis::Core::JsonObjectSupport
587
+ end
588
+
535
589
  class GoogleCloudDialogflowV2beta1ListSessionEntityTypesResponse
536
590
  class Representation < Google::Apis::Core::JsonRepresentation; end
537
591
 
@@ -544,6 +598,12 @@ module Google
544
598
  include Google::Apis::Core::JsonObjectSupport
545
599
  end
546
600
 
601
+ class GoogleCloudDialogflowV2beta1OutputAudioConfig
602
+ class Representation < Google::Apis::Core::JsonRepresentation; end
603
+
604
+ include Google::Apis::Core::JsonObjectSupport
605
+ end
606
+
547
607
  class GoogleCloudDialogflowV2beta1QueryInput
548
608
  class Representation < Google::Apis::Core::JsonRepresentation; end
549
609
 
@@ -574,12 +634,36 @@ module Google
574
634
  include Google::Apis::Core::JsonObjectSupport
575
635
  end
576
636
 
637
+ class GoogleCloudDialogflowV2beta1Sentiment
638
+ class Representation < Google::Apis::Core::JsonRepresentation; end
639
+
640
+ include Google::Apis::Core::JsonObjectSupport
641
+ end
642
+
643
+ class GoogleCloudDialogflowV2beta1SentimentAnalysisRequestConfig
644
+ class Representation < Google::Apis::Core::JsonRepresentation; end
645
+
646
+ include Google::Apis::Core::JsonObjectSupport
647
+ end
648
+
649
+ class GoogleCloudDialogflowV2beta1SentimentAnalysisResult
650
+ class Representation < Google::Apis::Core::JsonRepresentation; end
651
+
652
+ include Google::Apis::Core::JsonObjectSupport
653
+ end
654
+
577
655
  class GoogleCloudDialogflowV2beta1SessionEntityType
578
656
  class Representation < Google::Apis::Core::JsonRepresentation; end
579
657
 
580
658
  include Google::Apis::Core::JsonObjectSupport
581
659
  end
582
660
 
661
+ class GoogleCloudDialogflowV2beta1SynthesizeSpeechConfig
662
+ class Representation < Google::Apis::Core::JsonRepresentation; end
663
+
664
+ include Google::Apis::Core::JsonObjectSupport
665
+ end
666
+
583
667
  class GoogleCloudDialogflowV2beta1TextInput
584
668
  class Representation < Google::Apis::Core::JsonRepresentation; end
585
669
 
@@ -592,6 +676,12 @@ module Google
592
676
  include Google::Apis::Core::JsonObjectSupport
593
677
  end
594
678
 
679
+ class GoogleCloudDialogflowV2beta1VoiceSelectionParams
680
+ class Representation < Google::Apis::Core::JsonRepresentation; end
681
+
682
+ include Google::Apis::Core::JsonObjectSupport
683
+ end
684
+
595
685
  class GoogleCloudDialogflowV2beta1WebhookRequest
596
686
  class Representation < Google::Apis::Core::JsonRepresentation; end
597
687
 
@@ -1119,6 +1209,8 @@ module Google
1119
1209
  # @private
1120
1210
  class Representation < Google::Apis::Core::JsonRepresentation
1121
1211
  property :input_audio, :base64 => true, as: 'inputAudio'
1212
+ property :output_audio_config, as: 'outputAudioConfig', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1OutputAudioConfig, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1OutputAudioConfig::Representation
1213
+
1122
1214
  property :query_input, as: 'queryInput', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1QueryInput, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1QueryInput::Representation
1123
1215
 
1124
1216
  property :query_params, as: 'queryParams', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1QueryParameters, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1QueryParameters::Representation
@@ -1129,6 +1221,11 @@ module Google
1129
1221
  class GoogleCloudDialogflowV2beta1DetectIntentResponse
1130
1222
  # @private
1131
1223
  class Representation < Google::Apis::Core::JsonRepresentation
1224
+ collection :alternative_query_results, as: 'alternativeQueryResults', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1QueryResult, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1QueryResult::Representation
1225
+
1226
+ property :output_audio, :base64 => true, as: 'outputAudio'
1227
+ property :output_audio_config, as: 'outputAudioConfig', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1OutputAudioConfig, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1OutputAudioConfig::Representation
1228
+
1132
1229
  property :query_result, as: 'queryResult', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1QueryResult, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1QueryResult::Representation
1133
1230
 
1134
1231
  property :response_id, as: 'responseId'
@@ -1137,6 +1234,19 @@ module Google
1137
1234
  end
1138
1235
  end
1139
1236
 
1237
+ class GoogleCloudDialogflowV2beta1Document
1238
+ # @private
1239
+ class Representation < Google::Apis::Core::JsonRepresentation
1240
+ property :content, as: 'content'
1241
+ property :content_uri, as: 'contentUri'
1242
+ property :display_name, as: 'displayName'
1243
+ collection :knowledge_types, as: 'knowledgeTypes'
1244
+ property :mime_type, as: 'mimeType'
1245
+ property :name, as: 'name'
1246
+ property :raw_content, :base64 => true, as: 'rawContent'
1247
+ end
1248
+ end
1249
+
1140
1250
  class GoogleCloudDialogflowV2beta1EntityType
1141
1251
  # @private
1142
1252
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1202,6 +1312,7 @@ module Google
1202
1312
  class Representation < Google::Apis::Core::JsonRepresentation
1203
1313
  property :audio_encoding, as: 'audioEncoding'
1204
1314
  property :language_code, as: 'languageCode'
1315
+ property :model, as: 'model'
1205
1316
  collection :phrase_hints, as: 'phraseHints'
1206
1317
  property :sample_rate_hertz, as: 'sampleRateHertz'
1207
1318
  end
@@ -1213,6 +1324,7 @@ module Google
1213
1324
  property :action, as: 'action'
1214
1325
  collection :default_response_platforms, as: 'defaultResponsePlatforms'
1215
1326
  property :display_name, as: 'displayName'
1327
+ property :end_interaction, as: 'endInteraction'
1216
1328
  collection :events, as: 'events'
1217
1329
  collection :followup_intent_info, as: 'followupIntentInfo', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1IntentFollowupIntentInfo, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1IntentFollowupIntentInfo::Representation
1218
1330
 
@@ -1276,6 +1388,12 @@ module Google
1276
1388
 
1277
1389
  property :suggestions, as: 'suggestions', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1IntentMessageSuggestions, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1IntentMessageSuggestions::Representation
1278
1390
 
1391
+ property :telephony_play_audio, as: 'telephonyPlayAudio', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1IntentMessageTelephonyPlayAudio, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1IntentMessageTelephonyPlayAudio::Representation
1392
+
1393
+ property :telephony_synthesize_speech, as: 'telephonySynthesizeSpeech', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1IntentMessageTelephonySynthesizeSpeech, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1IntentMessageTelephonySynthesizeSpeech::Representation
1394
+
1395
+ property :telephony_transfer_call, as: 'telephonyTransferCall', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1IntentMessageTelephonyTransferCall, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1IntentMessageTelephonyTransferCall::Representation
1396
+
1279
1397
  property :text, as: 'text', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1IntentMessageText, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1IntentMessageText::Representation
1280
1398
 
1281
1399
  end
@@ -1434,6 +1552,28 @@ module Google
1434
1552
  end
1435
1553
  end
1436
1554
 
1555
+ class GoogleCloudDialogflowV2beta1IntentMessageTelephonyPlayAudio
1556
+ # @private
1557
+ class Representation < Google::Apis::Core::JsonRepresentation
1558
+ property :audio_uri, as: 'audioUri'
1559
+ end
1560
+ end
1561
+
1562
+ class GoogleCloudDialogflowV2beta1IntentMessageTelephonySynthesizeSpeech
1563
+ # @private
1564
+ class Representation < Google::Apis::Core::JsonRepresentation
1565
+ property :ssml, as: 'ssml'
1566
+ property :text, as: 'text'
1567
+ end
1568
+ end
1569
+
1570
+ class GoogleCloudDialogflowV2beta1IntentMessageTelephonyTransferCall
1571
+ # @private
1572
+ class Representation < Google::Apis::Core::JsonRepresentation
1573
+ property :phone_number, as: 'phoneNumber'
1574
+ end
1575
+ end
1576
+
1437
1577
  class GoogleCloudDialogflowV2beta1IntentMessageText
1438
1578
  # @private
1439
1579
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1476,6 +1616,33 @@ module Google
1476
1616
  end
1477
1617
  end
1478
1618
 
1619
+ class GoogleCloudDialogflowV2beta1KnowledgeAnswers
1620
+ # @private
1621
+ class Representation < Google::Apis::Core::JsonRepresentation
1622
+ collection :answers, as: 'answers', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1KnowledgeAnswersAnswer, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1KnowledgeAnswersAnswer::Representation
1623
+
1624
+ end
1625
+ end
1626
+
1627
+ class GoogleCloudDialogflowV2beta1KnowledgeAnswersAnswer
1628
+ # @private
1629
+ class Representation < Google::Apis::Core::JsonRepresentation
1630
+ property :answer, as: 'answer'
1631
+ property :faq_question, as: 'faqQuestion'
1632
+ property :match_confidence, as: 'matchConfidence'
1633
+ property :match_confidence_level, as: 'matchConfidenceLevel'
1634
+ property :source, as: 'source'
1635
+ end
1636
+ end
1637
+
1638
+ class GoogleCloudDialogflowV2beta1KnowledgeBase
1639
+ # @private
1640
+ class Representation < Google::Apis::Core::JsonRepresentation
1641
+ property :display_name, as: 'displayName'
1642
+ property :name, as: 'name'
1643
+ end
1644
+ end
1645
+
1479
1646
  class GoogleCloudDialogflowV2beta1KnowledgeOperationMetadata
1480
1647
  # @private
1481
1648
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1492,6 +1659,15 @@ module Google
1492
1659
  end
1493
1660
  end
1494
1661
 
1662
+ class GoogleCloudDialogflowV2beta1ListDocumentsResponse
1663
+ # @private
1664
+ class Representation < Google::Apis::Core::JsonRepresentation
1665
+ collection :documents, as: 'documents', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Document, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Document::Representation
1666
+
1667
+ property :next_page_token, as: 'nextPageToken'
1668
+ end
1669
+ end
1670
+
1495
1671
  class GoogleCloudDialogflowV2beta1ListEntityTypesResponse
1496
1672
  # @private
1497
1673
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1510,6 +1686,15 @@ module Google
1510
1686
  end
1511
1687
  end
1512
1688
 
1689
+ class GoogleCloudDialogflowV2beta1ListKnowledgeBasesResponse
1690
+ # @private
1691
+ class Representation < Google::Apis::Core::JsonRepresentation
1692
+ collection :knowledge_bases, as: 'knowledgeBases', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1KnowledgeBase, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1KnowledgeBase::Representation
1693
+
1694
+ property :next_page_token, as: 'nextPageToken'
1695
+ end
1696
+ end
1697
+
1513
1698
  class GoogleCloudDialogflowV2beta1ListSessionEntityTypesResponse
1514
1699
  # @private
1515
1700
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1528,6 +1713,16 @@ module Google
1528
1713
  end
1529
1714
  end
1530
1715
 
1716
+ class GoogleCloudDialogflowV2beta1OutputAudioConfig
1717
+ # @private
1718
+ class Representation < Google::Apis::Core::JsonRepresentation
1719
+ property :audio_encoding, as: 'audioEncoding'
1720
+ property :sample_rate_hertz, as: 'sampleRateHertz'
1721
+ property :synthesize_speech_config, as: 'synthesizeSpeechConfig', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SynthesizeSpeechConfig, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SynthesizeSpeechConfig::Representation
1722
+
1723
+ end
1724
+ end
1725
+
1531
1726
  class GoogleCloudDialogflowV2beta1QueryInput
1532
1727
  # @private
1533
1728
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1547,8 +1742,11 @@ module Google
1547
1742
 
1548
1743
  property :geo_location, as: 'geoLocation', class: Google::Apis::DialogflowV2beta1::GoogleTypeLatLng, decorator: Google::Apis::DialogflowV2beta1::GoogleTypeLatLng::Representation
1549
1744
 
1745
+ collection :knowledge_base_names, as: 'knowledgeBaseNames'
1550
1746
  hash :payload, as: 'payload'
1551
1747
  property :reset_contexts, as: 'resetContexts'
1748
+ property :sentiment_analysis_request_config, as: 'sentimentAnalysisRequestConfig', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SentimentAnalysisRequestConfig, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SentimentAnalysisRequestConfig::Representation
1749
+
1552
1750
  collection :session_entity_types, as: 'sessionEntityTypes', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SessionEntityType, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SessionEntityType::Representation
1553
1751
 
1554
1752
  property :time_zone, as: 'timeZone'
@@ -1567,11 +1765,15 @@ module Google
1567
1765
  property :intent, as: 'intent', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Intent, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Intent::Representation
1568
1766
 
1569
1767
  property :intent_detection_confidence, as: 'intentDetectionConfidence'
1768
+ property :knowledge_answers, as: 'knowledgeAnswers', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1KnowledgeAnswers, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1KnowledgeAnswers::Representation
1769
+
1570
1770
  property :language_code, as: 'languageCode'
1571
1771
  collection :output_contexts, as: 'outputContexts', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Context, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Context::Representation
1572
1772
 
1573
1773
  hash :parameters, as: 'parameters'
1574
1774
  property :query_text, as: 'queryText'
1775
+ property :sentiment_analysis_result, as: 'sentimentAnalysisResult', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SentimentAnalysisResult, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SentimentAnalysisResult::Representation
1776
+
1575
1777
  property :speech_recognition_confidence, as: 'speechRecognitionConfidence'
1576
1778
  hash :webhook_payload, as: 'webhookPayload'
1577
1779
  property :webhook_source, as: 'webhookSource'
@@ -1595,6 +1797,29 @@ module Google
1595
1797
  end
1596
1798
  end
1597
1799
 
1800
+ class GoogleCloudDialogflowV2beta1Sentiment
1801
+ # @private
1802
+ class Representation < Google::Apis::Core::JsonRepresentation
1803
+ property :magnitude, as: 'magnitude'
1804
+ property :score, as: 'score'
1805
+ end
1806
+ end
1807
+
1808
+ class GoogleCloudDialogflowV2beta1SentimentAnalysisRequestConfig
1809
+ # @private
1810
+ class Representation < Google::Apis::Core::JsonRepresentation
1811
+ property :analyze_query_text_sentiment, as: 'analyzeQueryTextSentiment'
1812
+ end
1813
+ end
1814
+
1815
+ class GoogleCloudDialogflowV2beta1SentimentAnalysisResult
1816
+ # @private
1817
+ class Representation < Google::Apis::Core::JsonRepresentation
1818
+ property :query_text_sentiment, as: 'queryTextSentiment', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Sentiment, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Sentiment::Representation
1819
+
1820
+ end
1821
+ end
1822
+
1598
1823
  class GoogleCloudDialogflowV2beta1SessionEntityType
1599
1824
  # @private
1600
1825
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1605,6 +1830,18 @@ module Google
1605
1830
  end
1606
1831
  end
1607
1832
 
1833
+ class GoogleCloudDialogflowV2beta1SynthesizeSpeechConfig
1834
+ # @private
1835
+ class Representation < Google::Apis::Core::JsonRepresentation
1836
+ collection :effects_profile_id, as: 'effectsProfileId'
1837
+ property :pitch, as: 'pitch'
1838
+ property :speaking_rate, as: 'speakingRate'
1839
+ property :voice, as: 'voice', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1VoiceSelectionParams, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1VoiceSelectionParams::Representation
1840
+
1841
+ property :volume_gain_db, as: 'volumeGainDb'
1842
+ end
1843
+ end
1844
+
1608
1845
  class GoogleCloudDialogflowV2beta1TextInput
1609
1846
  # @private
1610
1847
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1619,9 +1856,19 @@ module Google
1619
1856
  end
1620
1857
  end
1621
1858
 
1859
+ class GoogleCloudDialogflowV2beta1VoiceSelectionParams
1860
+ # @private
1861
+ class Representation < Google::Apis::Core::JsonRepresentation
1862
+ property :name, as: 'name'
1863
+ property :ssml_gender, as: 'ssmlGender'
1864
+ end
1865
+ end
1866
+
1622
1867
  class GoogleCloudDialogflowV2beta1WebhookRequest
1623
1868
  # @private
1624
1869
  class Representation < Google::Apis::Core::JsonRepresentation
1870
+ collection :alternative_query_results, as: 'alternativeQueryResults', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1QueryResult, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1QueryResult::Representation
1871
+
1625
1872
  property :original_detect_intent_request, as: 'originalDetectIntentRequest', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1OriginalDetectIntentRequest, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1OriginalDetectIntentRequest::Representation
1626
1873
 
1627
1874
  property :query_result, as: 'queryResult', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1QueryResult, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1QueryResult::Representation
@@ -1634,6 +1881,7 @@ module Google
1634
1881
  class GoogleCloudDialogflowV2beta1WebhookResponse
1635
1882
  # @private
1636
1883
  class Representation < Google::Apis::Core::JsonRepresentation
1884
+ property :end_interaction, as: 'endInteraction'
1637
1885
  property :followup_event_input, as: 'followupEventInput', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1EventInput, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1EventInput::Representation
1638
1886
 
1639
1887
  collection :fulfillment_messages, as: 'fulfillmentMessages', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1IntentMessage, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1IntentMessage::Representation
@@ -1399,6 +1399,284 @@ module Google
1399
1399
  execute_or_queue_command(command, &block)
1400
1400
  end
1401
1401
 
1402
+ # Creates a knowledge base.
1403
+ # @param [String] parent
1404
+ # Required. The project to create a knowledge base for.
1405
+ # Format: `projects/<Project ID>`.
1406
+ # @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1KnowledgeBase] google_cloud_dialogflow_v2beta1_knowledge_base_object
1407
+ # @param [String] fields
1408
+ # Selector specifying which fields to include in a partial response.
1409
+ # @param [String] quota_user
1410
+ # Available to use for quota purposes for server-side applications. Can be any
1411
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1412
+ # @param [Google::Apis::RequestOptions] options
1413
+ # Request-specific options
1414
+ #
1415
+ # @yield [result, err] Result & error if block supplied
1416
+ # @yieldparam result [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1KnowledgeBase] parsed result object
1417
+ # @yieldparam err [StandardError] error object if request failed
1418
+ #
1419
+ # @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1KnowledgeBase]
1420
+ #
1421
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1422
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1423
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1424
+ def create_project_agent_knowledge_basis(parent, google_cloud_dialogflow_v2beta1_knowledge_base_object = nil, fields: nil, quota_user: nil, options: nil, &block)
1425
+ command = make_simple_command(:post, 'v2beta1/{+parent}/knowledgeBases', options)
1426
+ command.request_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1KnowledgeBase::Representation
1427
+ command.request_object = google_cloud_dialogflow_v2beta1_knowledge_base_object
1428
+ command.response_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1KnowledgeBase::Representation
1429
+ command.response_class = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1KnowledgeBase
1430
+ command.params['parent'] = parent unless parent.nil?
1431
+ command.query['fields'] = fields unless fields.nil?
1432
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1433
+ execute_or_queue_command(command, &block)
1434
+ end
1435
+
1436
+ # Deletes the specified knowledge base.
1437
+ # @param [String] name
1438
+ # Required. The name of the knowledge base to delete.
1439
+ # Format: `projects/<Project ID>/knowledgeBases/<Knowledge Base ID>`.
1440
+ # @param [Boolean] force
1441
+ # Optional. Force deletes the knowledge base. When set to true, any documents
1442
+ # in the knowledge base are also deleted.
1443
+ # @param [String] fields
1444
+ # Selector specifying which fields to include in a partial response.
1445
+ # @param [String] quota_user
1446
+ # Available to use for quota purposes for server-side applications. Can be any
1447
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1448
+ # @param [Google::Apis::RequestOptions] options
1449
+ # Request-specific options
1450
+ #
1451
+ # @yield [result, err] Result & error if block supplied
1452
+ # @yieldparam result [Google::Apis::DialogflowV2beta1::GoogleProtobufEmpty] parsed result object
1453
+ # @yieldparam err [StandardError] error object if request failed
1454
+ #
1455
+ # @return [Google::Apis::DialogflowV2beta1::GoogleProtobufEmpty]
1456
+ #
1457
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1458
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1459
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1460
+ def delete_project_agent_knowledge_basis(name, force: nil, fields: nil, quota_user: nil, options: nil, &block)
1461
+ command = make_simple_command(:delete, 'v2beta1/{+name}', options)
1462
+ command.response_representation = Google::Apis::DialogflowV2beta1::GoogleProtobufEmpty::Representation
1463
+ command.response_class = Google::Apis::DialogflowV2beta1::GoogleProtobufEmpty
1464
+ command.params['name'] = name unless name.nil?
1465
+ command.query['force'] = force unless force.nil?
1466
+ command.query['fields'] = fields unless fields.nil?
1467
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1468
+ execute_or_queue_command(command, &block)
1469
+ end
1470
+
1471
+ # Retrieves the specified knowledge base.
1472
+ # @param [String] name
1473
+ # Required. The name of the knowledge base to retrieve.
1474
+ # Format `projects/<Project ID>/knowledgeBases/<Knowledge Base ID>`.
1475
+ # @param [String] fields
1476
+ # Selector specifying which fields to include in a partial response.
1477
+ # @param [String] quota_user
1478
+ # Available to use for quota purposes for server-side applications. Can be any
1479
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1480
+ # @param [Google::Apis::RequestOptions] options
1481
+ # Request-specific options
1482
+ #
1483
+ # @yield [result, err] Result & error if block supplied
1484
+ # @yieldparam result [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1KnowledgeBase] parsed result object
1485
+ # @yieldparam err [StandardError] error object if request failed
1486
+ #
1487
+ # @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1KnowledgeBase]
1488
+ #
1489
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1490
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1491
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1492
+ def get_project_agent_knowledge_basis(name, fields: nil, quota_user: nil, options: nil, &block)
1493
+ command = make_simple_command(:get, 'v2beta1/{+name}', options)
1494
+ command.response_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1KnowledgeBase::Representation
1495
+ command.response_class = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1KnowledgeBase
1496
+ command.params['name'] = name unless name.nil?
1497
+ command.query['fields'] = fields unless fields.nil?
1498
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1499
+ execute_or_queue_command(command, &block)
1500
+ end
1501
+
1502
+ # Returns the list of all knowledge bases of the specified agent.
1503
+ # @param [String] parent
1504
+ # Required. The project to list of knowledge bases for.
1505
+ # Format: `projects/<Project ID>`.
1506
+ # @param [Fixnum] page_size
1507
+ # Optional. The maximum number of items to return in a single page. By
1508
+ # default 10 and at most 100.
1509
+ # @param [String] page_token
1510
+ # Optional. The next_page_token value returned from a previous list request.
1511
+ # @param [String] fields
1512
+ # Selector specifying which fields to include in a partial response.
1513
+ # @param [String] quota_user
1514
+ # Available to use for quota purposes for server-side applications. Can be any
1515
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1516
+ # @param [Google::Apis::RequestOptions] options
1517
+ # Request-specific options
1518
+ #
1519
+ # @yield [result, err] Result & error if block supplied
1520
+ # @yieldparam result [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ListKnowledgeBasesResponse] parsed result object
1521
+ # @yieldparam err [StandardError] error object if request failed
1522
+ #
1523
+ # @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ListKnowledgeBasesResponse]
1524
+ #
1525
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1526
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1527
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1528
+ def list_project_agent_knowledge_bases(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
1529
+ command = make_simple_command(:get, 'v2beta1/{+parent}/knowledgeBases', options)
1530
+ command.response_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ListKnowledgeBasesResponse::Representation
1531
+ command.response_class = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ListKnowledgeBasesResponse
1532
+ command.params['parent'] = parent unless parent.nil?
1533
+ command.query['pageSize'] = page_size unless page_size.nil?
1534
+ command.query['pageToken'] = page_token unless page_token.nil?
1535
+ command.query['fields'] = fields unless fields.nil?
1536
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1537
+ execute_or_queue_command(command, &block)
1538
+ end
1539
+
1540
+ # Creates a new document.
1541
+ # Operation <response: Document,
1542
+ # metadata: KnowledgeOperationMetadata>
1543
+ # @param [String] parent
1544
+ # Required. The knoweldge base to create a document for.
1545
+ # Format: `projects/<Project ID>/knowledgeBases/<Knowledge Base ID>`.
1546
+ # @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Document] google_cloud_dialogflow_v2beta1_document_object
1547
+ # @param [String] fields
1548
+ # Selector specifying which fields to include in a partial response.
1549
+ # @param [String] quota_user
1550
+ # Available to use for quota purposes for server-side applications. Can be any
1551
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1552
+ # @param [Google::Apis::RequestOptions] options
1553
+ # Request-specific options
1554
+ #
1555
+ # @yield [result, err] Result & error if block supplied
1556
+ # @yieldparam result [Google::Apis::DialogflowV2beta1::GoogleLongrunningOperation] parsed result object
1557
+ # @yieldparam err [StandardError] error object if request failed
1558
+ #
1559
+ # @return [Google::Apis::DialogflowV2beta1::GoogleLongrunningOperation]
1560
+ #
1561
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1562
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1563
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1564
+ def create_project_agent_knowledge_basis_document(parent, google_cloud_dialogflow_v2beta1_document_object = nil, fields: nil, quota_user: nil, options: nil, &block)
1565
+ command = make_simple_command(:post, 'v2beta1/{+parent}/documents', options)
1566
+ command.request_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Document::Representation
1567
+ command.request_object = google_cloud_dialogflow_v2beta1_document_object
1568
+ command.response_representation = Google::Apis::DialogflowV2beta1::GoogleLongrunningOperation::Representation
1569
+ command.response_class = Google::Apis::DialogflowV2beta1::GoogleLongrunningOperation
1570
+ command.params['parent'] = parent unless parent.nil?
1571
+ command.query['fields'] = fields unless fields.nil?
1572
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1573
+ execute_or_queue_command(command, &block)
1574
+ end
1575
+
1576
+ # Deletes the specified document.
1577
+ # Operation <response: google.protobuf.Empty,
1578
+ # metadata: KnowledgeOperationMetadata>
1579
+ # @param [String] name
1580
+ # The name of the document to delete.
1581
+ # Format: `projects/<Project ID>/knowledgeBases/<Knowledge Base
1582
+ # ID>/documents/<Document ID>`.
1583
+ # @param [String] fields
1584
+ # Selector specifying which fields to include in a partial response.
1585
+ # @param [String] quota_user
1586
+ # Available to use for quota purposes for server-side applications. Can be any
1587
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1588
+ # @param [Google::Apis::RequestOptions] options
1589
+ # Request-specific options
1590
+ #
1591
+ # @yield [result, err] Result & error if block supplied
1592
+ # @yieldparam result [Google::Apis::DialogflowV2beta1::GoogleLongrunningOperation] parsed result object
1593
+ # @yieldparam err [StandardError] error object if request failed
1594
+ #
1595
+ # @return [Google::Apis::DialogflowV2beta1::GoogleLongrunningOperation]
1596
+ #
1597
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1598
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1599
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1600
+ def delete_project_agent_knowledge_basis_document(name, fields: nil, quota_user: nil, options: nil, &block)
1601
+ command = make_simple_command(:delete, 'v2beta1/{+name}', options)
1602
+ command.response_representation = Google::Apis::DialogflowV2beta1::GoogleLongrunningOperation::Representation
1603
+ command.response_class = Google::Apis::DialogflowV2beta1::GoogleLongrunningOperation
1604
+ command.params['name'] = name unless name.nil?
1605
+ command.query['fields'] = fields unless fields.nil?
1606
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1607
+ execute_or_queue_command(command, &block)
1608
+ end
1609
+
1610
+ # Retrieves the specified document.
1611
+ # @param [String] name
1612
+ # Required. The name of the document to retrieve.
1613
+ # Format `projects/<Project ID>/knowledgeBases/<Knowledge Base
1614
+ # ID>/documents/<Document ID>`.
1615
+ # @param [String] fields
1616
+ # Selector specifying which fields to include in a partial response.
1617
+ # @param [String] quota_user
1618
+ # Available to use for quota purposes for server-side applications. Can be any
1619
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1620
+ # @param [Google::Apis::RequestOptions] options
1621
+ # Request-specific options
1622
+ #
1623
+ # @yield [result, err] Result & error if block supplied
1624
+ # @yieldparam result [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Document] parsed result object
1625
+ # @yieldparam err [StandardError] error object if request failed
1626
+ #
1627
+ # @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Document]
1628
+ #
1629
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1630
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1631
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1632
+ def get_project_agent_knowledge_basis_document(name, fields: nil, quota_user: nil, options: nil, &block)
1633
+ command = make_simple_command(:get, 'v2beta1/{+name}', options)
1634
+ command.response_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Document::Representation
1635
+ command.response_class = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Document
1636
+ command.params['name'] = name unless name.nil?
1637
+ command.query['fields'] = fields unless fields.nil?
1638
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1639
+ execute_or_queue_command(command, &block)
1640
+ end
1641
+
1642
+ # Returns the list of all documents of the knowledge base.
1643
+ # @param [String] parent
1644
+ # Required. The knowledge base to list all documents for.
1645
+ # Format: `projects/<Project ID>/knowledgeBases/<Knowledge Base ID>`.
1646
+ # @param [Fixnum] page_size
1647
+ # Optional. The maximum number of items to return in a single page. By
1648
+ # default 10 and at most 100.
1649
+ # @param [String] page_token
1650
+ # Optional. The next_page_token value returned from a previous list request.
1651
+ # @param [String] fields
1652
+ # Selector specifying which fields to include in a partial response.
1653
+ # @param [String] quota_user
1654
+ # Available to use for quota purposes for server-side applications. Can be any
1655
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1656
+ # @param [Google::Apis::RequestOptions] options
1657
+ # Request-specific options
1658
+ #
1659
+ # @yield [result, err] Result & error if block supplied
1660
+ # @yieldparam result [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ListDocumentsResponse] parsed result object
1661
+ # @yieldparam err [StandardError] error object if request failed
1662
+ #
1663
+ # @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ListDocumentsResponse]
1664
+ #
1665
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1666
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1667
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1668
+ def list_project_agent_knowledge_basis_documents(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
1669
+ command = make_simple_command(:get, 'v2beta1/{+parent}/documents', options)
1670
+ command.response_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ListDocumentsResponse::Representation
1671
+ command.response_class = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ListDocumentsResponse
1672
+ command.params['parent'] = parent unless parent.nil?
1673
+ command.query['pageSize'] = page_size unless page_size.nil?
1674
+ command.query['pageToken'] = page_token unless page_token.nil?
1675
+ command.query['fields'] = fields unless fields.nil?
1676
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1677
+ execute_or_queue_command(command, &block)
1678
+ end
1679
+
1402
1680
  # Deletes all active contexts in the specified session.
1403
1681
  # @param [String] parent
1404
1682
  # Required. The name of the session to delete all contexts from. Format:
@@ -1861,6 +2139,284 @@ module Google
1861
2139
  execute_or_queue_command(command, &block)
1862
2140
  end
1863
2141
 
2142
+ # Creates a knowledge base.
2143
+ # @param [String] parent
2144
+ # Required. The project to create a knowledge base for.
2145
+ # Format: `projects/<Project ID>`.
2146
+ # @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1KnowledgeBase] google_cloud_dialogflow_v2beta1_knowledge_base_object
2147
+ # @param [String] fields
2148
+ # Selector specifying which fields to include in a partial response.
2149
+ # @param [String] quota_user
2150
+ # Available to use for quota purposes for server-side applications. Can be any
2151
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2152
+ # @param [Google::Apis::RequestOptions] options
2153
+ # Request-specific options
2154
+ #
2155
+ # @yield [result, err] Result & error if block supplied
2156
+ # @yieldparam result [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1KnowledgeBase] parsed result object
2157
+ # @yieldparam err [StandardError] error object if request failed
2158
+ #
2159
+ # @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1KnowledgeBase]
2160
+ #
2161
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2162
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2163
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
2164
+ def create_project_knowledge_basis(parent, google_cloud_dialogflow_v2beta1_knowledge_base_object = nil, fields: nil, quota_user: nil, options: nil, &block)
2165
+ command = make_simple_command(:post, 'v2beta1/{+parent}/knowledgeBases', options)
2166
+ command.request_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1KnowledgeBase::Representation
2167
+ command.request_object = google_cloud_dialogflow_v2beta1_knowledge_base_object
2168
+ command.response_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1KnowledgeBase::Representation
2169
+ command.response_class = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1KnowledgeBase
2170
+ command.params['parent'] = parent unless parent.nil?
2171
+ command.query['fields'] = fields unless fields.nil?
2172
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
2173
+ execute_or_queue_command(command, &block)
2174
+ end
2175
+
2176
+ # Deletes the specified knowledge base.
2177
+ # @param [String] name
2178
+ # Required. The name of the knowledge base to delete.
2179
+ # Format: `projects/<Project ID>/knowledgeBases/<Knowledge Base ID>`.
2180
+ # @param [Boolean] force
2181
+ # Optional. Force deletes the knowledge base. When set to true, any documents
2182
+ # in the knowledge base are also deleted.
2183
+ # @param [String] fields
2184
+ # Selector specifying which fields to include in a partial response.
2185
+ # @param [String] quota_user
2186
+ # Available to use for quota purposes for server-side applications. Can be any
2187
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2188
+ # @param [Google::Apis::RequestOptions] options
2189
+ # Request-specific options
2190
+ #
2191
+ # @yield [result, err] Result & error if block supplied
2192
+ # @yieldparam result [Google::Apis::DialogflowV2beta1::GoogleProtobufEmpty] parsed result object
2193
+ # @yieldparam err [StandardError] error object if request failed
2194
+ #
2195
+ # @return [Google::Apis::DialogflowV2beta1::GoogleProtobufEmpty]
2196
+ #
2197
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2198
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2199
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
2200
+ def delete_project_knowledge_basis(name, force: nil, fields: nil, quota_user: nil, options: nil, &block)
2201
+ command = make_simple_command(:delete, 'v2beta1/{+name}', options)
2202
+ command.response_representation = Google::Apis::DialogflowV2beta1::GoogleProtobufEmpty::Representation
2203
+ command.response_class = Google::Apis::DialogflowV2beta1::GoogleProtobufEmpty
2204
+ command.params['name'] = name unless name.nil?
2205
+ command.query['force'] = force unless force.nil?
2206
+ command.query['fields'] = fields unless fields.nil?
2207
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
2208
+ execute_or_queue_command(command, &block)
2209
+ end
2210
+
2211
+ # Retrieves the specified knowledge base.
2212
+ # @param [String] name
2213
+ # Required. The name of the knowledge base to retrieve.
2214
+ # Format `projects/<Project ID>/knowledgeBases/<Knowledge Base ID>`.
2215
+ # @param [String] fields
2216
+ # Selector specifying which fields to include in a partial response.
2217
+ # @param [String] quota_user
2218
+ # Available to use for quota purposes for server-side applications. Can be any
2219
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2220
+ # @param [Google::Apis::RequestOptions] options
2221
+ # Request-specific options
2222
+ #
2223
+ # @yield [result, err] Result & error if block supplied
2224
+ # @yieldparam result [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1KnowledgeBase] parsed result object
2225
+ # @yieldparam err [StandardError] error object if request failed
2226
+ #
2227
+ # @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1KnowledgeBase]
2228
+ #
2229
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2230
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2231
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
2232
+ def get_project_knowledge_basis(name, fields: nil, quota_user: nil, options: nil, &block)
2233
+ command = make_simple_command(:get, 'v2beta1/{+name}', options)
2234
+ command.response_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1KnowledgeBase::Representation
2235
+ command.response_class = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1KnowledgeBase
2236
+ command.params['name'] = name unless name.nil?
2237
+ command.query['fields'] = fields unless fields.nil?
2238
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
2239
+ execute_or_queue_command(command, &block)
2240
+ end
2241
+
2242
+ # Returns the list of all knowledge bases of the specified agent.
2243
+ # @param [String] parent
2244
+ # Required. The project to list of knowledge bases for.
2245
+ # Format: `projects/<Project ID>`.
2246
+ # @param [Fixnum] page_size
2247
+ # Optional. The maximum number of items to return in a single page. By
2248
+ # default 10 and at most 100.
2249
+ # @param [String] page_token
2250
+ # Optional. The next_page_token value returned from a previous list request.
2251
+ # @param [String] fields
2252
+ # Selector specifying which fields to include in a partial response.
2253
+ # @param [String] quota_user
2254
+ # Available to use for quota purposes for server-side applications. Can be any
2255
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2256
+ # @param [Google::Apis::RequestOptions] options
2257
+ # Request-specific options
2258
+ #
2259
+ # @yield [result, err] Result & error if block supplied
2260
+ # @yieldparam result [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ListKnowledgeBasesResponse] parsed result object
2261
+ # @yieldparam err [StandardError] error object if request failed
2262
+ #
2263
+ # @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ListKnowledgeBasesResponse]
2264
+ #
2265
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2266
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2267
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
2268
+ def list_project_knowledge_bases(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
2269
+ command = make_simple_command(:get, 'v2beta1/{+parent}/knowledgeBases', options)
2270
+ command.response_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ListKnowledgeBasesResponse::Representation
2271
+ command.response_class = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ListKnowledgeBasesResponse
2272
+ command.params['parent'] = parent unless parent.nil?
2273
+ command.query['pageSize'] = page_size unless page_size.nil?
2274
+ command.query['pageToken'] = page_token unless page_token.nil?
2275
+ command.query['fields'] = fields unless fields.nil?
2276
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
2277
+ execute_or_queue_command(command, &block)
2278
+ end
2279
+
2280
+ # Creates a new document.
2281
+ # Operation <response: Document,
2282
+ # metadata: KnowledgeOperationMetadata>
2283
+ # @param [String] parent
2284
+ # Required. The knoweldge base to create a document for.
2285
+ # Format: `projects/<Project ID>/knowledgeBases/<Knowledge Base ID>`.
2286
+ # @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Document] google_cloud_dialogflow_v2beta1_document_object
2287
+ # @param [String] fields
2288
+ # Selector specifying which fields to include in a partial response.
2289
+ # @param [String] quota_user
2290
+ # Available to use for quota purposes for server-side applications. Can be any
2291
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2292
+ # @param [Google::Apis::RequestOptions] options
2293
+ # Request-specific options
2294
+ #
2295
+ # @yield [result, err] Result & error if block supplied
2296
+ # @yieldparam result [Google::Apis::DialogflowV2beta1::GoogleLongrunningOperation] parsed result object
2297
+ # @yieldparam err [StandardError] error object if request failed
2298
+ #
2299
+ # @return [Google::Apis::DialogflowV2beta1::GoogleLongrunningOperation]
2300
+ #
2301
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2302
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2303
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
2304
+ def create_project_knowledge_basis_document(parent, google_cloud_dialogflow_v2beta1_document_object = nil, fields: nil, quota_user: nil, options: nil, &block)
2305
+ command = make_simple_command(:post, 'v2beta1/{+parent}/documents', options)
2306
+ command.request_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Document::Representation
2307
+ command.request_object = google_cloud_dialogflow_v2beta1_document_object
2308
+ command.response_representation = Google::Apis::DialogflowV2beta1::GoogleLongrunningOperation::Representation
2309
+ command.response_class = Google::Apis::DialogflowV2beta1::GoogleLongrunningOperation
2310
+ command.params['parent'] = parent unless parent.nil?
2311
+ command.query['fields'] = fields unless fields.nil?
2312
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
2313
+ execute_or_queue_command(command, &block)
2314
+ end
2315
+
2316
+ # Deletes the specified document.
2317
+ # Operation <response: google.protobuf.Empty,
2318
+ # metadata: KnowledgeOperationMetadata>
2319
+ # @param [String] name
2320
+ # The name of the document to delete.
2321
+ # Format: `projects/<Project ID>/knowledgeBases/<Knowledge Base
2322
+ # ID>/documents/<Document ID>`.
2323
+ # @param [String] fields
2324
+ # Selector specifying which fields to include in a partial response.
2325
+ # @param [String] quota_user
2326
+ # Available to use for quota purposes for server-side applications. Can be any
2327
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2328
+ # @param [Google::Apis::RequestOptions] options
2329
+ # Request-specific options
2330
+ #
2331
+ # @yield [result, err] Result & error if block supplied
2332
+ # @yieldparam result [Google::Apis::DialogflowV2beta1::GoogleLongrunningOperation] parsed result object
2333
+ # @yieldparam err [StandardError] error object if request failed
2334
+ #
2335
+ # @return [Google::Apis::DialogflowV2beta1::GoogleLongrunningOperation]
2336
+ #
2337
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2338
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2339
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
2340
+ def delete_project_knowledge_basis_document(name, fields: nil, quota_user: nil, options: nil, &block)
2341
+ command = make_simple_command(:delete, 'v2beta1/{+name}', options)
2342
+ command.response_representation = Google::Apis::DialogflowV2beta1::GoogleLongrunningOperation::Representation
2343
+ command.response_class = Google::Apis::DialogflowV2beta1::GoogleLongrunningOperation
2344
+ command.params['name'] = name unless name.nil?
2345
+ command.query['fields'] = fields unless fields.nil?
2346
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
2347
+ execute_or_queue_command(command, &block)
2348
+ end
2349
+
2350
+ # Retrieves the specified document.
2351
+ # @param [String] name
2352
+ # Required. The name of the document to retrieve.
2353
+ # Format `projects/<Project ID>/knowledgeBases/<Knowledge Base
2354
+ # ID>/documents/<Document ID>`.
2355
+ # @param [String] fields
2356
+ # Selector specifying which fields to include in a partial response.
2357
+ # @param [String] quota_user
2358
+ # Available to use for quota purposes for server-side applications. Can be any
2359
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2360
+ # @param [Google::Apis::RequestOptions] options
2361
+ # Request-specific options
2362
+ #
2363
+ # @yield [result, err] Result & error if block supplied
2364
+ # @yieldparam result [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Document] parsed result object
2365
+ # @yieldparam err [StandardError] error object if request failed
2366
+ #
2367
+ # @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Document]
2368
+ #
2369
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2370
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2371
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
2372
+ def get_project_knowledge_basis_document(name, fields: nil, quota_user: nil, options: nil, &block)
2373
+ command = make_simple_command(:get, 'v2beta1/{+name}', options)
2374
+ command.response_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Document::Representation
2375
+ command.response_class = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Document
2376
+ command.params['name'] = name unless name.nil?
2377
+ command.query['fields'] = fields unless fields.nil?
2378
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
2379
+ execute_or_queue_command(command, &block)
2380
+ end
2381
+
2382
+ # Returns the list of all documents of the knowledge base.
2383
+ # @param [String] parent
2384
+ # Required. The knowledge base to list all documents for.
2385
+ # Format: `projects/<Project ID>/knowledgeBases/<Knowledge Base ID>`.
2386
+ # @param [Fixnum] page_size
2387
+ # Optional. The maximum number of items to return in a single page. By
2388
+ # default 10 and at most 100.
2389
+ # @param [String] page_token
2390
+ # Optional. The next_page_token value returned from a previous list request.
2391
+ # @param [String] fields
2392
+ # Selector specifying which fields to include in a partial response.
2393
+ # @param [String] quota_user
2394
+ # Available to use for quota purposes for server-side applications. Can be any
2395
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2396
+ # @param [Google::Apis::RequestOptions] options
2397
+ # Request-specific options
2398
+ #
2399
+ # @yield [result, err] Result & error if block supplied
2400
+ # @yieldparam result [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ListDocumentsResponse] parsed result object
2401
+ # @yieldparam err [StandardError] error object if request failed
2402
+ #
2403
+ # @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ListDocumentsResponse]
2404
+ #
2405
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2406
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2407
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
2408
+ def list_project_knowledge_basis_documents(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
2409
+ command = make_simple_command(:get, 'v2beta1/{+parent}/documents', options)
2410
+ command.response_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ListDocumentsResponse::Representation
2411
+ command.response_class = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ListDocumentsResponse
2412
+ command.params['parent'] = parent unless parent.nil?
2413
+ command.query['pageSize'] = page_size unless page_size.nil?
2414
+ command.query['pageToken'] = page_token unless page_token.nil?
2415
+ command.query['fields'] = fields unless fields.nil?
2416
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
2417
+ execute_or_queue_command(command, &block)
2418
+ end
2419
+
1864
2420
  # Gets the latest state of a long-running operation. Clients can use this
1865
2421
  # method to poll the operation result at intervals as recommended by the API
1866
2422
  # service.