google-api-client 0.23.4 → 0.23.5

Sign up to get free protection for your applications and to get access to all the features.
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
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://cloud.google.com/dialogflow-enterprise/
27
27
  module DialogflowV2
28
28
  VERSION = 'V2'
29
- REVISION = '20180702'
29
+ REVISION = '20180814'
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'
@@ -693,7 +693,8 @@ module Google
693
693
  # 'https://dialogflow.googleapis.com/v2/projects/<project_name>/agent:
694
694
  # export'\
695
695
  # -X POST \
696
- # -H 'Authorization: Bearer '$(gcloud auth print-access-token) \
696
+ # -H 'Authorization: Bearer '$(gcloud auth application-default
697
+ # print-access-token) \
697
698
  # -H 'Accept: application/json' \
698
699
  # -H 'Content-Type: application/json' \
699
700
  # --compressed \
@@ -732,7 +733,8 @@ module Google
732
733
  # 'https://dialogflow.googleapis.com/v2/projects/<project_name>/agent:
733
734
  # import\
734
735
  # -X POST \
735
- # -H 'Authorization: Bearer '$(gcloud auth print-access-token) \
736
+ # -H 'Authorization: Bearer '$(gcloud auth application-default
737
+ # print-access-token) \
736
738
  # -H 'Accept: application/json' \
737
739
  # -H 'Content-Type: application/json' \
738
740
  # --compressed \
@@ -819,6 +821,7 @@ module Google
819
821
  include Google::Apis::Core::Hashable
820
822
 
821
823
  # Optional. The name of the action associated with the intent.
824
+ # Note: The action name must not contain whitespaces.
822
825
  # Corresponds to the JSON property `action`
823
826
  # @return [String]
824
827
  attr_accessor :action
@@ -931,7 +934,7 @@ module Google
931
934
  # @return [Array<Google::Apis::DialogflowV2::GoogleCloudDialogflowV2IntentTrainingPhrase>]
932
935
  attr_accessor :training_phrases
933
936
 
934
- # Required. Indicates whether webhooks are enabled for the intent.
937
+ # Optional. Indicates whether webhooks are enabled for the intent.
935
938
  # Corresponds to the JSON property `webhookState`
936
939
  # @return [String]
937
940
  attr_accessor :webhook_state
@@ -1670,7 +1673,7 @@ module Google
1670
1673
  class GoogleCloudDialogflowV2IntentTrainingPhrase
1671
1674
  include Google::Apis::Core::Hashable
1672
1675
 
1673
- # Required. The unique identifier of this training phrase.
1676
+ # Output only. The unique identifier of this training phrase.
1674
1677
  # Corresponds to the JSON property `name`
1675
1678
  # @return [String]
1676
1679
  attr_accessor :name
@@ -1864,8 +1867,18 @@ module Google
1864
1867
  class GoogleCloudDialogflowV2OriginalDetectIntentRequest
1865
1868
  include Google::Apis::Core::Hashable
1866
1869
 
1867
- # Optional. This field is set to the value of `QueryParameters.payload` field
1868
- # passed in the request.
1870
+ # Optional. This field is set to the value of the `QueryParameters.payload`
1871
+ # field passed in the request. Some integrations that query a Dialogflow
1872
+ # agent may provide additional information in the payload.
1873
+ # In particular for the Telephony Gateway this field has the form:
1874
+ # <pre>`
1875
+ # "telephony": `
1876
+ # "caller_id": "+18558363987"
1877
+ # `
1878
+ # `</pre>
1879
+ # Note: The caller ID field (`caller_id`) will be redacted for Standard
1880
+ # Edition agents and populated with the caller ID in [E.164
1881
+ # format](https://en.wikipedia.org/wiki/E.164) for Enterprise Edition agents.
1869
1882
  # Corresponds to the JSON property `payload`
1870
1883
  # @return [Hash<String,Object>]
1871
1884
  attr_accessor :payload
@@ -2133,7 +2146,8 @@ module Google
2133
2146
  # 'https://dialogflow.googleapis.com/v2/projects/&lt;project_name&gt;/agent:
2134
2147
  # restore\
2135
2148
  # -X POST \
2136
- # -H 'Authorization: Bearer '$(gcloud auth print-access-token) \
2149
+ # -H 'Authorization: Bearer '$(gcloud auth application-default
2150
+ # print-access-token) \
2137
2151
  # -H 'Accept: application/json' \
2138
2152
  # -H 'Content-Type: application/json' \
2139
2153
  # --compressed \
@@ -2596,7 +2610,8 @@ module Google
2596
2610
  # 'https://dialogflow.googleapis.com/v2beta1/projects/&lt;project_name&gt;/
2597
2611
  # agent:export'\
2598
2612
  # -X POST \
2599
- # -H 'Authorization: Bearer '$(gcloud auth print-access-token) \
2613
+ # -H 'Authorization: Bearer '$(gcloud auth application-default
2614
+ # print-access-token) \
2600
2615
  # -H 'Accept: application/json' \
2601
2616
  # -H 'Content-Type: application/json' \
2602
2617
  # --compressed \
@@ -2632,6 +2647,7 @@ module Google
2632
2647
  include Google::Apis::Core::Hashable
2633
2648
 
2634
2649
  # Optional. The name of the action associated with the intent.
2650
+ # Note: The action name must not contain whitespaces.
2635
2651
  # Corresponds to the JSON property `action`
2636
2652
  # @return [String]
2637
2653
  attr_accessor :action
@@ -2647,6 +2663,14 @@ module Google
2647
2663
  # @return [String]
2648
2664
  attr_accessor :display_name
2649
2665
 
2666
+ # Optional. Indicates that this intent ends an interaction. Some integrations
2667
+ # (e.g., Actions on Google or Dialogflow phone gateway) use this information
2668
+ # to close interaction with an end user. Default is false.
2669
+ # Corresponds to the JSON property `endInteraction`
2670
+ # @return [Boolean]
2671
+ attr_accessor :end_interaction
2672
+ alias_method :end_interaction?, :end_interaction
2673
+
2650
2674
  # Optional. The collection of event names that trigger the intent.
2651
2675
  # If the collection of input contexts is not empty, all of the contexts must
2652
2676
  # be present in the active user session for an event to trigger this intent.
@@ -2760,7 +2784,7 @@ module Google
2760
2784
  # @return [Array<Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1IntentTrainingPhrase>]
2761
2785
  attr_accessor :training_phrases
2762
2786
 
2763
- # Required. Indicates whether webhooks are enabled for the intent.
2787
+ # Optional. Indicates whether webhooks are enabled for the intent.
2764
2788
  # Corresponds to the JSON property `webhookState`
2765
2789
  # @return [String]
2766
2790
  attr_accessor :webhook_state
@@ -2774,6 +2798,7 @@ module Google
2774
2798
  @action = args[:action] if args.key?(:action)
2775
2799
  @default_response_platforms = args[:default_response_platforms] if args.key?(:default_response_platforms)
2776
2800
  @display_name = args[:display_name] if args.key?(:display_name)
2801
+ @end_interaction = args[:end_interaction] if args.key?(:end_interaction)
2777
2802
  @events = args[:events] if args.key?(:events)
2778
2803
  @followup_intent_info = args[:followup_intent_info] if args.key?(:followup_intent_info)
2779
2804
  @input_context_names = args[:input_context_names] if args.key?(:input_context_names)
@@ -2885,6 +2910,25 @@ module Google
2885
2910
  # @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1IntentMessageSuggestions]
2886
2911
  attr_accessor :suggestions
2887
2912
 
2913
+ # Plays audio from a file in Telephony Gateway.
2914
+ # Corresponds to the JSON property `telephonyPlayAudio`
2915
+ # @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1IntentMessageTelephonyPlayAudio]
2916
+ attr_accessor :telephony_play_audio
2917
+
2918
+ # Synthesizes speech and plays back the synthesized audio to the caller in
2919
+ # Telephony Gateway.
2920
+ # Telephony Gateway takes the synthesizer settings from
2921
+ # `DetectIntentResponse.output_audio_config` which can either be set
2922
+ # at request-level or can come from the agent-level synthesizer config.
2923
+ # Corresponds to the JSON property `telephonySynthesizeSpeech`
2924
+ # @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1IntentMessageTelephonySynthesizeSpeech]
2925
+ attr_accessor :telephony_synthesize_speech
2926
+
2927
+ # Transfers the call in Telephony Gateway.
2928
+ # Corresponds to the JSON property `telephonyTransferCall`
2929
+ # @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1IntentMessageTelephonyTransferCall]
2930
+ attr_accessor :telephony_transfer_call
2931
+
2888
2932
  # The text response message.
2889
2933
  # Corresponds to the JSON property `text`
2890
2934
  # @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1IntentMessageText]
@@ -2907,6 +2951,9 @@ module Google
2907
2951
  @quick_replies = args[:quick_replies] if args.key?(:quick_replies)
2908
2952
  @simple_responses = args[:simple_responses] if args.key?(:simple_responses)
2909
2953
  @suggestions = args[:suggestions] if args.key?(:suggestions)
2954
+ @telephony_play_audio = args[:telephony_play_audio] if args.key?(:telephony_play_audio)
2955
+ @telephony_synthesize_speech = args[:telephony_synthesize_speech] if args.key?(:telephony_synthesize_speech)
2956
+ @telephony_transfer_call = args[:telephony_transfer_call] if args.key?(:telephony_transfer_call)
2910
2957
  @text = args[:text] if args.key?(:text)
2911
2958
  end
2912
2959
  end
@@ -3382,6 +3429,86 @@ module Google
3382
3429
  end
3383
3430
  end
3384
3431
 
3432
+ # Plays audio from a file in Telephony Gateway.
3433
+ class GoogleCloudDialogflowV2beta1IntentMessageTelephonyPlayAudio
3434
+ include Google::Apis::Core::Hashable
3435
+
3436
+ # Required. URI to a Google Cloud Storage object containing the audio to
3437
+ # play, e.g., "gs://bucket/object". The object must contain a single
3438
+ # channel (mono) of linear PCM audio (2 bytes / sample) at 8kHz.
3439
+ # This object must be readable by the `service-<Project
3440
+ # Number>@gcp-sa-dialogflow.iam.gserviceaccount.com` service account
3441
+ # where <Project Number> is the number of the Telephony Gateway project
3442
+ # (usually the same as the Dialogflow agent project). If the Google Cloud
3443
+ # Storage bucket is in the Telephony Gateway project, this permission is
3444
+ # added by default when enabling the Dialogflow V2 API.
3445
+ # For audio from other sources, consider using the
3446
+ # `TelephonySynthesizeSpeech` message with SSML.
3447
+ # Corresponds to the JSON property `audioUri`
3448
+ # @return [String]
3449
+ attr_accessor :audio_uri
3450
+
3451
+ def initialize(**args)
3452
+ update!(**args)
3453
+ end
3454
+
3455
+ # Update properties of this object
3456
+ def update!(**args)
3457
+ @audio_uri = args[:audio_uri] if args.key?(:audio_uri)
3458
+ end
3459
+ end
3460
+
3461
+ # Synthesizes speech and plays back the synthesized audio to the caller in
3462
+ # Telephony Gateway.
3463
+ # Telephony Gateway takes the synthesizer settings from
3464
+ # `DetectIntentResponse.output_audio_config` which can either be set
3465
+ # at request-level or can come from the agent-level synthesizer config.
3466
+ class GoogleCloudDialogflowV2beta1IntentMessageTelephonySynthesizeSpeech
3467
+ include Google::Apis::Core::Hashable
3468
+
3469
+ # The SSML to be synthesized. For more information, see
3470
+ # [SSML](https://developers.google.com/actions/reference/ssml).
3471
+ # Corresponds to the JSON property `ssml`
3472
+ # @return [String]
3473
+ attr_accessor :ssml
3474
+
3475
+ # The raw text to be synthesized.
3476
+ # Corresponds to the JSON property `text`
3477
+ # @return [String]
3478
+ attr_accessor :text
3479
+
3480
+ def initialize(**args)
3481
+ update!(**args)
3482
+ end
3483
+
3484
+ # Update properties of this object
3485
+ def update!(**args)
3486
+ @ssml = args[:ssml] if args.key?(:ssml)
3487
+ @text = args[:text] if args.key?(:text)
3488
+ end
3489
+ end
3490
+
3491
+ # Transfers the call in Telephony Gateway.
3492
+ class GoogleCloudDialogflowV2beta1IntentMessageTelephonyTransferCall
3493
+ include Google::Apis::Core::Hashable
3494
+
3495
+ # Required. The phone number to transfer the call to
3496
+ # in [E.164 format](https://en.wikipedia.org/wiki/E.164).
3497
+ # We currently only allow transferring to US numbers (+1xxxyyyzzzz).
3498
+ # Corresponds to the JSON property `phoneNumber`
3499
+ # @return [String]
3500
+ attr_accessor :phone_number
3501
+
3502
+ def initialize(**args)
3503
+ update!(**args)
3504
+ end
3505
+
3506
+ # Update properties of this object
3507
+ def update!(**args)
3508
+ @phone_number = args[:phone_number] if args.key?(:phone_number)
3509
+ end
3510
+ end
3511
+
3385
3512
  # The text response message.
3386
3513
  class GoogleCloudDialogflowV2beta1IntentMessageText
3387
3514
  include Google::Apis::Core::Hashable
@@ -3481,7 +3608,7 @@ module Google
3481
3608
  class GoogleCloudDialogflowV2beta1IntentTrainingPhrase
3482
3609
  include Google::Apis::Core::Hashable
3483
3610
 
3484
- # Required. The unique identifier of this training phrase.
3611
+ # Output only. The unique identifier of this training phrase.
3485
3612
  # Corresponds to the JSON property `name`
3486
3613
  # @return [String]
3487
3614
  attr_accessor :name
@@ -3562,6 +3689,84 @@ module Google
3562
3689
  end
3563
3690
  end
3564
3691
 
3692
+ # Represents the result of querying a Knowledge base.
3693
+ class GoogleCloudDialogflowV2beta1KnowledgeAnswers
3694
+ include Google::Apis::Core::Hashable
3695
+
3696
+ # A list of answers from Knowledge Connector.
3697
+ # Corresponds to the JSON property `answers`
3698
+ # @return [Array<Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1KnowledgeAnswersAnswer>]
3699
+ attr_accessor :answers
3700
+
3701
+ def initialize(**args)
3702
+ update!(**args)
3703
+ end
3704
+
3705
+ # Update properties of this object
3706
+ def update!(**args)
3707
+ @answers = args[:answers] if args.key?(:answers)
3708
+ end
3709
+ end
3710
+
3711
+ # An answer from Knowledge Connector.
3712
+ class GoogleCloudDialogflowV2beta1KnowledgeAnswersAnswer
3713
+ include Google::Apis::Core::Hashable
3714
+
3715
+ # The piece of text from the `source` knowledge base document that answers
3716
+ # this conversational query.
3717
+ # Corresponds to the JSON property `answer`
3718
+ # @return [String]
3719
+ attr_accessor :answer
3720
+
3721
+ # The corresponding FAQ question if the answer was extracted from a FAQ
3722
+ # Document, empty otherwise.
3723
+ # Corresponds to the JSON property `faqQuestion`
3724
+ # @return [String]
3725
+ attr_accessor :faq_question
3726
+
3727
+ # The system's confidence score that this Knowledge answer is a good match
3728
+ # for this converstational query, range from 0.0 (completely uncertain)
3729
+ # to 1.0 (completely certain).
3730
+ # Note: The confidence score is likely to vary somewhat (possibly even for
3731
+ # identical requests), as the underlying model is under constant
3732
+ # improvement, we may deprecate it in the future. We recommend using
3733
+ # `match_confidence_level` which should be generally more stable.
3734
+ # Corresponds to the JSON property `matchConfidence`
3735
+ # @return [Float]
3736
+ attr_accessor :match_confidence
3737
+
3738
+ # The system's confidence level that this knowledge answer is a good match
3739
+ # for this conversational query.
3740
+ # NOTE: The confidence level for a given `<query, answer>` pair may change
3741
+ # without notice, as it depends on models that are constantly being
3742
+ # improved. However, it will change less frequently than the confidence
3743
+ # score below, and should be preferred for referencing the quality of an
3744
+ # answer.
3745
+ # Corresponds to the JSON property `matchConfidenceLevel`
3746
+ # @return [String]
3747
+ attr_accessor :match_confidence_level
3748
+
3749
+ # Indicates which Knowledge Document this answer was extracted from.
3750
+ # Format: `projects/<Project ID>/knowledgeBases/<Knowledge Base
3751
+ # ID>/documents/<Document ID>`.
3752
+ # Corresponds to the JSON property `source`
3753
+ # @return [String]
3754
+ attr_accessor :source
3755
+
3756
+ def initialize(**args)
3757
+ update!(**args)
3758
+ end
3759
+
3760
+ # Update properties of this object
3761
+ def update!(**args)
3762
+ @answer = args[:answer] if args.key?(:answer)
3763
+ @faq_question = args[:faq_question] if args.key?(:faq_question)
3764
+ @match_confidence = args[:match_confidence] if args.key?(:match_confidence)
3765
+ @match_confidence_level = args[:match_confidence_level] if args.key?(:match_confidence_level)
3766
+ @source = args[:source] if args.key?(:source)
3767
+ end
3768
+ end
3769
+
3565
3770
  # Metadata in google::longrunning::Operation for Knowledge operations.
3566
3771
  class GoogleCloudDialogflowV2beta1KnowledgeOperationMetadata
3567
3772
  include Google::Apis::Core::Hashable
@@ -3586,8 +3791,18 @@ module Google
3586
3791
  class GoogleCloudDialogflowV2beta1OriginalDetectIntentRequest
3587
3792
  include Google::Apis::Core::Hashable
3588
3793
 
3589
- # Optional. This field is set to the value of `QueryParameters.payload` field
3590
- # passed in the request.
3794
+ # Optional. This field is set to the value of the `QueryParameters.payload`
3795
+ # field passed in the request. Some integrations that query a Dialogflow
3796
+ # agent may provide additional information in the payload.
3797
+ # In particular for the Telephony Gateway this field has the form:
3798
+ # <pre>`
3799
+ # "telephony": `
3800
+ # "caller_id": "+18558363987"
3801
+ # `
3802
+ # `</pre>
3803
+ # Note: The caller ID field (`caller_id`) will be redacted for Standard
3804
+ # Edition agents and populated with the caller ID in [E.164
3805
+ # format](https://en.wikipedia.org/wiki/E.164) for Enterprise Edition agents.
3591
3806
  # Corresponds to the JSON property `payload`
3592
3807
  # @return [Hash<String,Object>]
3593
3808
  attr_accessor :payload
@@ -3666,6 +3881,11 @@ module Google
3666
3881
  # @return [Float]
3667
3882
  attr_accessor :intent_detection_confidence
3668
3883
 
3884
+ # Represents the result of querying a Knowledge base.
3885
+ # Corresponds to the JSON property `knowledgeAnswers`
3886
+ # @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1KnowledgeAnswers]
3887
+ attr_accessor :knowledge_answers
3888
+
3669
3889
  # The language that was triggered during intent detection.
3670
3890
  # See [Language Support](https://dialogflow.com/docs/reference/language)
3671
3891
  # for a list of the currently supported language codes.
@@ -3697,6 +3917,12 @@ module Google
3697
3917
  # @return [String]
3698
3918
  attr_accessor :query_text
3699
3919
 
3920
+ # The result of sentiment analysis as configured by
3921
+ # `sentiment_analysis_request_config`.
3922
+ # Corresponds to the JSON property `sentimentAnalysisResult`
3923
+ # @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1SentimentAnalysisResult]
3924
+ attr_accessor :sentiment_analysis_result
3925
+
3700
3926
  # The Speech recognition confidence between 0.0 and 1.0. A higher number
3701
3927
  # indicates an estimated greater likelihood that the recognized words are
3702
3928
  # correct. The default of 0.0 is a sentinel value indicating that confidence
@@ -3734,20 +3960,76 @@ module Google
3734
3960
  @fulfillment_text = args[:fulfillment_text] if args.key?(:fulfillment_text)
3735
3961
  @intent = args[:intent] if args.key?(:intent)
3736
3962
  @intent_detection_confidence = args[:intent_detection_confidence] if args.key?(:intent_detection_confidence)
3963
+ @knowledge_answers = args[:knowledge_answers] if args.key?(:knowledge_answers)
3737
3964
  @language_code = args[:language_code] if args.key?(:language_code)
3738
3965
  @output_contexts = args[:output_contexts] if args.key?(:output_contexts)
3739
3966
  @parameters = args[:parameters] if args.key?(:parameters)
3740
3967
  @query_text = args[:query_text] if args.key?(:query_text)
3968
+ @sentiment_analysis_result = args[:sentiment_analysis_result] if args.key?(:sentiment_analysis_result)
3741
3969
  @speech_recognition_confidence = args[:speech_recognition_confidence] if args.key?(:speech_recognition_confidence)
3742
3970
  @webhook_payload = args[:webhook_payload] if args.key?(:webhook_payload)
3743
3971
  @webhook_source = args[:webhook_source] if args.key?(:webhook_source)
3744
3972
  end
3745
3973
  end
3746
3974
 
3975
+ # The sentiment, such as positive/negative feeling or association, for a unit
3976
+ # of analysis, such as the query text.
3977
+ class GoogleCloudDialogflowV2beta1Sentiment
3978
+ include Google::Apis::Core::Hashable
3979
+
3980
+ # A non-negative number in the [0, +inf) range, which represents the absolute
3981
+ # magnitude of sentiment, regardless of score (positive or negative).
3982
+ # Corresponds to the JSON property `magnitude`
3983
+ # @return [Float]
3984
+ attr_accessor :magnitude
3985
+
3986
+ # Sentiment score between -1.0 (negative sentiment) and 1.0 (positive
3987
+ # sentiment).
3988
+ # Corresponds to the JSON property `score`
3989
+ # @return [Float]
3990
+ attr_accessor :score
3991
+
3992
+ def initialize(**args)
3993
+ update!(**args)
3994
+ end
3995
+
3996
+ # Update properties of this object
3997
+ def update!(**args)
3998
+ @magnitude = args[:magnitude] if args.key?(:magnitude)
3999
+ @score = args[:score] if args.key?(:score)
4000
+ end
4001
+ end
4002
+
4003
+ # The result of sentiment analysis as configured by
4004
+ # `sentiment_analysis_request_config`.
4005
+ class GoogleCloudDialogflowV2beta1SentimentAnalysisResult
4006
+ include Google::Apis::Core::Hashable
4007
+
4008
+ # The sentiment, such as positive/negative feeling or association, for a unit
4009
+ # of analysis, such as the query text.
4010
+ # Corresponds to the JSON property `queryTextSentiment`
4011
+ # @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1Sentiment]
4012
+ attr_accessor :query_text_sentiment
4013
+
4014
+ def initialize(**args)
4015
+ update!(**args)
4016
+ end
4017
+
4018
+ # Update properties of this object
4019
+ def update!(**args)
4020
+ @query_text_sentiment = args[:query_text_sentiment] if args.key?(:query_text_sentiment)
4021
+ end
4022
+ end
4023
+
3747
4024
  # The request message for a webhook call.
3748
4025
  class GoogleCloudDialogflowV2beta1WebhookRequest
3749
4026
  include Google::Apis::Core::Hashable
3750
4027
 
4028
+ # Alternative query results from KnowledgeService.
4029
+ # Corresponds to the JSON property `alternativeQueryResults`
4030
+ # @return [Array<Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1QueryResult>]
4031
+ attr_accessor :alternative_query_results
4032
+
3751
4033
  # Represents the contents of the original request that was passed to
3752
4034
  # the `[Streaming]DetectIntent` call.
3753
4035
  # Corresponds to the JSON property `originalDetectIntentRequest`
@@ -3778,6 +4060,7 @@ module Google
3778
4060
 
3779
4061
  # Update properties of this object
3780
4062
  def update!(**args)
4063
+ @alternative_query_results = args[:alternative_query_results] if args.key?(:alternative_query_results)
3781
4064
  @original_detect_intent_request = args[:original_detect_intent_request] if args.key?(:original_detect_intent_request)
3782
4065
  @query_result = args[:query_result] if args.key?(:query_result)
3783
4066
  @response_id = args[:response_id] if args.key?(:response_id)
@@ -3789,6 +4072,14 @@ module Google
3789
4072
  class GoogleCloudDialogflowV2beta1WebhookResponse
3790
4073
  include Google::Apis::Core::Hashable
3791
4074
 
4075
+ # Optional. Indicates that this intent ends an interaction. Some integrations
4076
+ # (e.g., Actions on Google or Dialogflow phone gateway) use this information
4077
+ # to close interaction with an end user. Default is false.
4078
+ # Corresponds to the JSON property `endInteraction`
4079
+ # @return [Boolean]
4080
+ attr_accessor :end_interaction
4081
+ alias_method :end_interaction?, :end_interaction
4082
+
3792
4083
  # Events allow for matching intents by event name instead of the natural
3793
4084
  # language input. For instance, input `<event: ` name: “welcome_event”,
3794
4085
  # parameters: ` name: “Sam” ` `>` can trigger a personalized welcome response.
@@ -3853,6 +4144,7 @@ module Google
3853
4144
 
3854
4145
  # Update properties of this object
3855
4146
  def update!(**args)
4147
+ @end_interaction = args[:end_interaction] if args.key?(:end_interaction)
3856
4148
  @followup_event_input = args[:followup_event_input] if args.key?(:followup_event_input)
3857
4149
  @fulfillment_messages = args[:fulfillment_messages] if args.key?(:fulfillment_messages)
3858
4150
  @fulfillment_text = args[:fulfillment_text] if args.key?(:fulfillment_text)