google-api-client 0.32.1 → 0.40.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (948) hide show
  1. checksums.yaml +5 -5
  2. data/.kokoro/continuous/linux.cfg +2 -2
  3. data/.kokoro/continuous/post.cfg +30 -0
  4. data/.kokoro/presubmit/linux.cfg +1 -1
  5. data/.kokoro/release.cfg +94 -0
  6. data/.repo-metadata.json +5 -0
  7. data/.rubocop.yml +5 -0
  8. data/.yardopts +16 -2
  9. data/CHANGELOG.md +1354 -0
  10. data/Gemfile +1 -0
  11. data/OVERVIEW.md +36 -0
  12. data/README.md +50 -2
  13. data/Rakefile +71 -2
  14. data/api_list_config.yaml +1 -0
  15. data/api_names.yaml +2 -0
  16. data/bin/generate-api +10 -2
  17. data/docs/api-keys.md +20 -0
  18. data/docs/auth.md +53 -0
  19. data/docs/client-secrets.md +69 -0
  20. data/docs/getting-started.md +340 -0
  21. data/docs/installation.md +0 -0
  22. data/docs/logging.md +34 -0
  23. data/docs/media-upload.md +25 -0
  24. data/docs/oauth-installed.md +191 -0
  25. data/docs/oauth-server.md +135 -0
  26. data/docs/oauth-web.md +280 -0
  27. data/docs/oauth.md +268 -0
  28. data/docs/pagination.md +29 -0
  29. data/docs/performance.md +25 -0
  30. data/generated/google/apis/abusiveexperiencereport_v1.rb +1 -4
  31. data/generated/google/apis/acceleratedmobilepageurl_v1.rb +1 -1
  32. data/generated/google/apis/accessapproval_v1/classes.rb +417 -0
  33. data/generated/google/apis/accessapproval_v1/representations.rb +203 -0
  34. data/generated/google/apis/accessapproval_v1/service.rb +869 -0
  35. data/generated/google/apis/{servicebroker_v1.rb → accessapproval_v1.rb} +8 -10
  36. data/generated/google/apis/accessapproval_v1beta1/classes.rb +35 -2
  37. data/generated/google/apis/accessapproval_v1beta1/representations.rb +13 -0
  38. data/generated/google/apis/accessapproval_v1beta1/service.rb +108 -6
  39. data/generated/google/apis/accessapproval_v1beta1.rb +1 -1
  40. data/generated/google/apis/accesscontextmanager_v1/classes.rb +357 -56
  41. data/generated/google/apis/accesscontextmanager_v1/representations.rb +137 -6
  42. data/generated/google/apis/accesscontextmanager_v1/service.rb +143 -5
  43. data/generated/google/apis/accesscontextmanager_v1.rb +1 -1
  44. data/generated/google/apis/accesscontextmanager_v1beta/classes.rb +133 -125
  45. data/generated/google/apis/accesscontextmanager_v1beta/representations.rb +21 -27
  46. data/generated/google/apis/accesscontextmanager_v1beta/service.rb +6 -5
  47. data/generated/google/apis/accesscontextmanager_v1beta.rb +1 -1
  48. data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +35 -5
  49. data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +4 -0
  50. data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
  51. data/generated/google/apis/adexchangebuyer_v1_3/classes.rb +24 -2
  52. data/generated/google/apis/adexchangebuyer_v1_3/representations.rb +1 -0
  53. data/generated/google/apis/adexchangebuyer_v1_3.rb +1 -1
  54. data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +25 -3
  55. data/generated/google/apis/adexchangebuyer_v1_4/representations.rb +1 -0
  56. data/generated/google/apis/adexchangebuyer_v1_4.rb +1 -1
  57. data/generated/google/apis/adexperiencereport_v1.rb +1 -4
  58. data/generated/google/apis/admin_datatransfer_v1/classes.rb +5 -5
  59. data/generated/google/apis/admin_datatransfer_v1/service.rb +2 -2
  60. data/generated/google/apis/admin_datatransfer_v1.rb +1 -1
  61. data/generated/google/apis/admin_directory_v1/classes.rb +4 -150
  62. data/generated/google/apis/admin_directory_v1/representations.rb +0 -54
  63. data/generated/google/apis/admin_directory_v1/service.rb +0 -60
  64. data/generated/google/apis/admin_directory_v1.rb +4 -1
  65. data/generated/google/apis/admin_reports_v1/classes.rb +87 -44
  66. data/generated/google/apis/admin_reports_v1/service.rb +310 -64
  67. data/generated/google/apis/admin_reports_v1.rb +2 -2
  68. data/generated/google/apis/admob_v1/classes.rb +951 -0
  69. data/generated/google/apis/admob_v1/representations.rb +378 -0
  70. data/generated/google/apis/admob_v1/service.rb +196 -0
  71. data/generated/google/apis/{analytics_v2_4/classes.rb → admob_v1.rb} +11 -6
  72. data/generated/google/apis/adsense_v1_4.rb +1 -1
  73. data/generated/google/apis/adsensehost_v4_1/service.rb +5 -1
  74. data/generated/google/apis/adsensehost_v4_1.rb +1 -1
  75. data/generated/google/apis/alertcenter_v1beta1/classes.rb +259 -7
  76. data/generated/google/apis/alertcenter_v1beta1/representations.rb +126 -0
  77. data/generated/google/apis/alertcenter_v1beta1.rb +1 -1
  78. data/generated/google/apis/analyticsreporting_v4.rb +1 -1
  79. data/generated/google/apis/androiddeviceprovisioning_v1/classes.rb +2 -2
  80. data/generated/google/apis/androiddeviceprovisioning_v1.rb +1 -1
  81. data/generated/google/apis/androidenterprise_v1/classes.rb +39 -60
  82. data/generated/google/apis/androidenterprise_v1/representations.rb +1 -0
  83. data/generated/google/apis/androidenterprise_v1/service.rb +0 -403
  84. data/generated/google/apis/androidenterprise_v1.rb +1 -1
  85. data/generated/google/apis/androidmanagement_v1/classes.rb +203 -6
  86. data/generated/google/apis/androidmanagement_v1/representations.rb +68 -0
  87. data/generated/google/apis/androidmanagement_v1/service.rb +6 -1
  88. data/generated/google/apis/androidmanagement_v1.rb +1 -1
  89. data/generated/google/apis/androidpublisher_v1/classes.rb +0 -41
  90. data/generated/google/apis/androidpublisher_v1/representations.rb +0 -16
  91. data/generated/google/apis/androidpublisher_v1/service.rb +1 -81
  92. data/generated/google/apis/androidpublisher_v1.rb +1 -4
  93. data/generated/google/apis/androidpublisher_v1_1/classes.rb +0 -41
  94. data/generated/google/apis/androidpublisher_v1_1/representations.rb +0 -16
  95. data/generated/google/apis/androidpublisher_v1_1/service.rb +0 -80
  96. data/generated/google/apis/androidpublisher_v1_1.rb +1 -1
  97. data/generated/google/apis/androidpublisher_v2/classes.rb +37 -1755
  98. data/generated/google/apis/androidpublisher_v2/representations.rb +15 -804
  99. data/generated/google/apis/androidpublisher_v2/service.rb +0 -2359
  100. data/generated/google/apis/androidpublisher_v2.rb +1 -1
  101. data/generated/google/apis/androidpublisher_v3/classes.rb +404 -65
  102. data/generated/google/apis/androidpublisher_v3/representations.rb +180 -27
  103. data/generated/google/apis/androidpublisher_v3/service.rb +162 -3
  104. data/generated/google/apis/androidpublisher_v3.rb +1 -1
  105. data/generated/google/apis/apigee_v1/classes.rb +4928 -0
  106. data/generated/google/apis/apigee_v1/representations.rb +1822 -0
  107. data/generated/google/apis/apigee_v1/service.rb +5578 -0
  108. data/generated/google/apis/apigee_v1.rb +40 -0
  109. data/generated/google/apis/appengine_v1/classes.rb +7 -0
  110. data/generated/google/apis/appengine_v1/representations.rb +1 -0
  111. data/generated/google/apis/appengine_v1/service.rb +10 -6
  112. data/generated/google/apis/appengine_v1.rb +1 -1
  113. data/generated/google/apis/appengine_v1alpha.rb +1 -1
  114. data/generated/google/apis/appengine_v1beta/classes.rb +7 -38
  115. data/generated/google/apis/appengine_v1beta/representations.rb +1 -17
  116. data/generated/google/apis/appengine_v1beta/service.rb +10 -6
  117. data/generated/google/apis/appengine_v1beta.rb +1 -1
  118. data/generated/google/apis/appsactivity_v1.rb +1 -1
  119. data/generated/google/apis/appsmarket_v2.rb +1 -1
  120. data/generated/google/apis/{cloudprivatecatalogproducer_v1beta1 → artifactregistry_v1beta1}/classes.rb +591 -765
  121. data/generated/google/apis/{servicebroker_v1alpha1 → artifactregistry_v1beta1}/representations.rb +128 -115
  122. data/generated/google/apis/artifactregistry_v1beta1/service.rb +957 -0
  123. data/generated/google/apis/artifactregistry_v1beta1.rb +38 -0
  124. data/generated/google/apis/bigquery_v2/classes.rb +993 -43
  125. data/generated/google/apis/bigquery_v2/representations.rb +273 -2
  126. data/generated/google/apis/bigquery_v2/service.rb +137 -4
  127. data/generated/google/apis/bigquery_v2.rb +1 -1
  128. data/generated/google/apis/bigqueryconnection_v1beta1/classes.rb +149 -59
  129. data/generated/google/apis/bigqueryconnection_v1beta1/representations.rb +2 -0
  130. data/generated/google/apis/bigqueryconnection_v1beta1/service.rb +11 -10
  131. data/generated/google/apis/bigqueryconnection_v1beta1.rb +1 -1
  132. data/generated/google/apis/bigquerydatatransfer_v1/classes.rb +49 -0
  133. data/generated/google/apis/bigquerydatatransfer_v1/representations.rb +19 -0
  134. data/generated/google/apis/bigquerydatatransfer_v1/service.rb +90 -34
  135. data/generated/google/apis/bigquerydatatransfer_v1.rb +1 -1
  136. data/generated/google/apis/bigqueryreservation_v1/classes.rb +392 -16
  137. data/generated/google/apis/bigqueryreservation_v1/representations.rb +174 -6
  138. data/generated/google/apis/bigqueryreservation_v1/service.rb +758 -0
  139. data/generated/google/apis/bigqueryreservation_v1.rb +1 -1
  140. data/generated/google/apis/bigqueryreservation_v1alpha2/classes.rb +109 -10
  141. data/generated/google/apis/bigqueryreservation_v1alpha2/representations.rb +26 -3
  142. data/generated/google/apis/bigqueryreservation_v1alpha2/service.rb +71 -0
  143. data/generated/google/apis/bigqueryreservation_v1alpha2.rb +1 -1
  144. data/generated/google/apis/bigqueryreservation_v1beta1/classes.rb +166 -160
  145. data/generated/google/apis/bigqueryreservation_v1beta1/representations.rb +49 -38
  146. data/generated/google/apis/bigqueryreservation_v1beta1/service.rb +257 -146
  147. data/generated/google/apis/bigqueryreservation_v1beta1.rb +1 -1
  148. data/generated/google/apis/bigtableadmin_v1/classes.rb +21 -18
  149. data/generated/google/apis/bigtableadmin_v1.rb +1 -1
  150. data/generated/google/apis/bigtableadmin_v2/classes.rb +189 -82
  151. data/generated/google/apis/bigtableadmin_v2/service.rb +170 -58
  152. data/generated/google/apis/bigtableadmin_v2.rb +1 -1
  153. data/generated/google/apis/billingbudgets_v1beta1/classes.rb +413 -0
  154. data/generated/google/apis/billingbudgets_v1beta1/representations.rb +197 -0
  155. data/generated/google/apis/billingbudgets_v1beta1/service.rb +244 -0
  156. data/generated/google/apis/{servicebroker_v1beta1.rb → billingbudgets_v1beta1.rb} +9 -10
  157. data/generated/google/apis/binaryauthorization_v1/classes.rb +143 -58
  158. data/generated/google/apis/binaryauthorization_v1/service.rb +10 -2
  159. data/generated/google/apis/binaryauthorization_v1.rb +1 -1
  160. data/generated/google/apis/binaryauthorization_v1beta1/classes.rb +139 -57
  161. data/generated/google/apis/binaryauthorization_v1beta1/service.rb +10 -2
  162. data/generated/google/apis/binaryauthorization_v1beta1.rb +1 -1
  163. data/generated/google/apis/blogger_v2/classes.rb +297 -45
  164. data/generated/google/apis/blogger_v2/representations.rb +105 -26
  165. data/generated/google/apis/blogger_v2/service.rb +79 -134
  166. data/generated/google/apis/blogger_v2.rb +5 -4
  167. data/generated/google/apis/blogger_v3/classes.rb +60 -53
  168. data/generated/google/apis/blogger_v3/representations.rb +10 -18
  169. data/generated/google/apis/blogger_v3/service.rb +183 -463
  170. data/generated/google/apis/blogger_v3.rb +4 -3
  171. data/generated/google/apis/books_v1/classes.rb +494 -242
  172. data/generated/google/apis/books_v1/representations.rb +145 -72
  173. data/generated/google/apis/books_v1/service.rb +354 -484
  174. data/generated/google/apis/books_v1.rb +3 -3
  175. data/generated/google/apis/calendar_v3/classes.rb +8 -21
  176. data/generated/google/apis/calendar_v3/service.rb +18 -30
  177. data/generated/google/apis/calendar_v3.rb +1 -1
  178. data/generated/google/apis/chat_v1/classes.rb +29 -3
  179. data/generated/google/apis/chat_v1/representations.rb +3 -0
  180. data/generated/google/apis/chat_v1/service.rb +5 -2
  181. data/generated/google/apis/chat_v1.rb +1 -1
  182. data/generated/google/apis/chromeuxreport_v1/classes.rb +297 -0
  183. data/generated/google/apis/chromeuxreport_v1/representations.rb +147 -0
  184. data/generated/google/apis/chromeuxreport_v1/service.rb +92 -0
  185. data/generated/google/apis/{pagespeedonline_v1.rb → chromeuxreport_v1.rb} +9 -9
  186. data/generated/google/apis/civicinfo_v2/classes.rb +0 -156
  187. data/generated/google/apis/civicinfo_v2/representations.rb +2 -60
  188. data/generated/google/apis/civicinfo_v2.rb +1 -1
  189. data/generated/google/apis/classroom_v1/classes.rb +14 -14
  190. data/generated/google/apis/classroom_v1/service.rb +11 -11
  191. data/generated/google/apis/classroom_v1.rb +1 -1
  192. data/generated/google/apis/cloudasset_v1/classes.rb +917 -195
  193. data/generated/google/apis/cloudasset_v1/representations.rb +234 -6
  194. data/generated/google/apis/cloudasset_v1/service.rb +363 -12
  195. data/generated/google/apis/cloudasset_v1.rb +2 -2
  196. data/generated/google/apis/cloudasset_v1beta1/classes.rb +139 -57
  197. data/generated/google/apis/cloudasset_v1beta1/service.rb +13 -4
  198. data/generated/google/apis/cloudasset_v1beta1.rb +2 -2
  199. data/generated/google/apis/cloudasset_v1p1beta1/classes.rb +701 -0
  200. data/generated/google/apis/cloudasset_v1p1beta1/representations.rb +201 -0
  201. data/generated/google/apis/cloudasset_v1p1beta1/service.rb +189 -0
  202. data/generated/google/apis/cloudasset_v1p1beta1.rb +34 -0
  203. data/generated/google/apis/cloudasset_v1p4beta1/classes.rb +924 -0
  204. data/generated/google/apis/cloudasset_v1p4beta1/representations.rb +377 -0
  205. data/generated/google/apis/cloudasset_v1p4beta1/service.rb +217 -0
  206. data/generated/google/apis/cloudasset_v1p4beta1.rb +34 -0
  207. data/generated/google/apis/cloudbilling_v1/classes.rb +179 -68
  208. data/generated/google/apis/cloudbilling_v1/representations.rb +0 -1
  209. data/generated/google/apis/cloudbilling_v1/service.rb +16 -9
  210. data/generated/google/apis/cloudbilling_v1.rb +1 -1
  211. data/generated/google/apis/cloudbuild_v1/classes.rb +55 -10
  212. data/generated/google/apis/cloudbuild_v1/representations.rb +5 -0
  213. data/generated/google/apis/cloudbuild_v1/service.rb +139 -18
  214. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  215. data/generated/google/apis/cloudbuild_v1alpha1/classes.rb +170 -5
  216. data/generated/google/apis/cloudbuild_v1alpha1/representations.rb +63 -0
  217. data/generated/google/apis/cloudbuild_v1alpha1/service.rb +121 -5
  218. data/generated/google/apis/cloudbuild_v1alpha1.rb +1 -1
  219. data/generated/google/apis/cloudbuild_v1alpha2/classes.rb +1283 -0
  220. data/generated/google/apis/cloudbuild_v1alpha2/representations.rb +491 -0
  221. data/generated/google/apis/cloudbuild_v1alpha2/service.rb +353 -0
  222. data/generated/google/apis/cloudbuild_v1alpha2.rb +34 -0
  223. data/generated/google/apis/clouddebugger_v2/classes.rb +34 -0
  224. data/generated/google/apis/clouddebugger_v2/representations.rb +4 -0
  225. data/generated/google/apis/clouddebugger_v2/service.rb +24 -17
  226. data/generated/google/apis/clouddebugger_v2.rb +2 -2
  227. data/generated/google/apis/clouderrorreporting_v1beta1/classes.rb +1 -1
  228. data/generated/google/apis/clouderrorreporting_v1beta1/service.rb +13 -13
  229. data/generated/google/apis/clouderrorreporting_v1beta1.rb +2 -2
  230. data/generated/google/apis/cloudfunctions_v1/classes.rb +161 -59
  231. data/generated/google/apis/cloudfunctions_v1/representations.rb +3 -0
  232. data/generated/google/apis/cloudfunctions_v1/service.rb +13 -4
  233. data/generated/google/apis/cloudfunctions_v1.rb +1 -1
  234. data/generated/google/apis/cloudfunctions_v1beta2/classes.rb +7 -0
  235. data/generated/google/apis/cloudfunctions_v1beta2/representations.rb +1 -0
  236. data/generated/google/apis/cloudfunctions_v1beta2/service.rb +10 -4
  237. data/generated/google/apis/cloudfunctions_v1beta2.rb +1 -1
  238. data/generated/google/apis/cloudidentity_v1/classes.rb +11 -8
  239. data/generated/google/apis/cloudidentity_v1/service.rb +22 -14
  240. data/generated/google/apis/cloudidentity_v1.rb +1 -1
  241. data/generated/google/apis/cloudidentity_v1beta1/classes.rb +1009 -69
  242. data/generated/google/apis/cloudidentity_v1beta1/representations.rb +390 -0
  243. data/generated/google/apis/cloudidentity_v1beta1/service.rb +189 -78
  244. data/generated/google/apis/cloudidentity_v1beta1.rb +1 -1
  245. data/generated/google/apis/cloudiot_v1/classes.rb +142 -57
  246. data/generated/google/apis/cloudiot_v1.rb +1 -1
  247. data/generated/google/apis/cloudkms_v1/classes.rb +461 -61
  248. data/generated/google/apis/cloudkms_v1/representations.rb +33 -0
  249. data/generated/google/apis/cloudkms_v1/service.rb +15 -3
  250. data/generated/google/apis/cloudkms_v1.rb +1 -1
  251. data/generated/google/apis/cloudprofiler_v2.rb +1 -1
  252. data/generated/google/apis/cloudresourcemanager_v1/classes.rb +155 -71
  253. data/generated/google/apis/cloudresourcemanager_v1/service.rb +6 -3
  254. data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
  255. data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +143 -59
  256. data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +1 -1
  257. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
  258. data/generated/google/apis/cloudresourcemanager_v2/classes.rb +147 -67
  259. data/generated/google/apis/cloudresourcemanager_v2/service.rb +11 -13
  260. data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
  261. data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +147 -67
  262. data/generated/google/apis/cloudresourcemanager_v2beta1/service.rb +11 -13
  263. data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
  264. data/generated/google/apis/cloudscheduler_v1/classes.rb +3 -2
  265. data/generated/google/apis/cloudscheduler_v1.rb +1 -1
  266. data/generated/google/apis/cloudscheduler_v1beta1/classes.rb +3 -2
  267. data/generated/google/apis/cloudscheduler_v1beta1.rb +1 -1
  268. data/generated/google/apis/cloudsearch_v1/classes.rb +86 -195
  269. data/generated/google/apis/cloudsearch_v1/representations.rb +1 -75
  270. data/generated/google/apis/cloudsearch_v1/service.rb +62 -10
  271. data/generated/google/apis/cloudsearch_v1.rb +8 -8
  272. data/generated/google/apis/cloudshell_v1/classes.rb +24 -1
  273. data/generated/google/apis/cloudshell_v1/representations.rb +3 -0
  274. data/generated/google/apis/cloudshell_v1.rb +1 -1
  275. data/generated/google/apis/cloudshell_v1alpha1/classes.rb +30 -1
  276. data/generated/google/apis/cloudshell_v1alpha1/representations.rb +5 -0
  277. data/generated/google/apis/cloudshell_v1alpha1.rb +1 -1
  278. data/generated/google/apis/cloudtasks_v2/classes.rb +388 -70
  279. data/generated/google/apis/cloudtasks_v2/representations.rb +65 -0
  280. data/generated/google/apis/cloudtasks_v2.rb +1 -1
  281. data/generated/google/apis/cloudtasks_v2beta2/classes.rb +148 -66
  282. data/generated/google/apis/cloudtasks_v2beta2/service.rb +6 -1
  283. data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
  284. data/generated/google/apis/cloudtasks_v2beta3/classes.rb +156 -74
  285. data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
  286. data/generated/google/apis/cloudtrace_v1/service.rb +10 -4
  287. data/generated/google/apis/cloudtrace_v1.rb +5 -5
  288. data/generated/google/apis/cloudtrace_v2/classes.rb +8 -7
  289. data/generated/google/apis/cloudtrace_v2/service.rb +8 -4
  290. data/generated/google/apis/cloudtrace_v2.rb +5 -5
  291. data/generated/google/apis/cloudtrace_v2beta1/classes.rb +143 -0
  292. data/generated/google/apis/{oauth2_v1 → cloudtrace_v2beta1}/representations.rb +36 -27
  293. data/generated/google/apis/cloudtrace_v2beta1/service.rb +258 -0
  294. data/generated/google/apis/cloudtrace_v2beta1.rb +44 -0
  295. data/generated/google/apis/composer_v1/classes.rb +180 -0
  296. data/generated/google/apis/composer_v1/representations.rb +54 -0
  297. data/generated/google/apis/composer_v1.rb +1 -1
  298. data/generated/google/apis/composer_v1beta1/classes.rb +152 -5
  299. data/generated/google/apis/composer_v1beta1/representations.rb +64 -0
  300. data/generated/google/apis/composer_v1beta1/service.rb +5 -0
  301. data/generated/google/apis/composer_v1beta1.rb +1 -1
  302. data/generated/google/apis/compute_alpha/classes.rb +3252 -973
  303. data/generated/google/apis/compute_alpha/representations.rb +634 -69
  304. data/generated/google/apis/compute_alpha/service.rb +9085 -6210
  305. data/generated/google/apis/compute_alpha.rb +1 -1
  306. data/generated/google/apis/compute_beta/classes.rb +4787 -1066
  307. data/generated/google/apis/compute_beta/representations.rb +1394 -31
  308. data/generated/google/apis/compute_beta/service.rb +8858 -5018
  309. data/generated/google/apis/compute_beta.rb +1 -1
  310. data/generated/google/apis/compute_v1/classes.rb +2976 -599
  311. data/generated/google/apis/compute_v1/representations.rb +850 -0
  312. data/generated/google/apis/compute_v1/service.rb +4634 -2481
  313. data/generated/google/apis/compute_v1.rb +1 -1
  314. data/generated/google/apis/container_v1/classes.rb +925 -164
  315. data/generated/google/apis/container_v1/representations.rb +278 -0
  316. data/generated/google/apis/container_v1/service.rb +175 -158
  317. data/generated/google/apis/container_v1.rb +1 -1
  318. data/generated/google/apis/container_v1beta1/classes.rb +803 -340
  319. data/generated/google/apis/container_v1beta1/representations.rb +185 -39
  320. data/generated/google/apis/container_v1beta1/service.rb +294 -277
  321. data/generated/google/apis/container_v1beta1.rb +1 -1
  322. data/generated/google/apis/containeranalysis_v1alpha1/classes.rb +142 -57
  323. data/generated/google/apis/containeranalysis_v1alpha1.rb +1 -1
  324. data/generated/google/apis/containeranalysis_v1beta1/classes.rb +478 -59
  325. data/generated/google/apis/containeranalysis_v1beta1/representations.rb +159 -0
  326. data/generated/google/apis/containeranalysis_v1beta1/service.rb +26 -20
  327. data/generated/google/apis/containeranalysis_v1beta1.rb +1 -1
  328. data/generated/google/apis/content_v2/classes.rb +1566 -634
  329. data/generated/google/apis/content_v2/representations.rb +78 -115
  330. data/generated/google/apis/content_v2/service.rb +81 -206
  331. data/generated/google/apis/content_v2.rb +1 -1
  332. data/generated/google/apis/content_v2_1/classes.rb +2706 -683
  333. data/generated/google/apis/content_v2_1/representations.rb +551 -0
  334. data/generated/google/apis/content_v2_1/service.rb +520 -46
  335. data/generated/google/apis/content_v2_1.rb +1 -1
  336. data/generated/google/apis/customsearch_v1/classes.rb +1194 -353
  337. data/generated/google/apis/customsearch_v1/representations.rb +166 -95
  338. data/generated/google/apis/customsearch_v1/service.rb +373 -104
  339. data/generated/google/apis/customsearch_v1.rb +3 -3
  340. data/generated/google/apis/datacatalog_v1beta1/classes.rb +1907 -0
  341. data/generated/google/apis/datacatalog_v1beta1/representations.rb +739 -0
  342. data/generated/google/apis/datacatalog_v1beta1/service.rb +2247 -0
  343. data/generated/google/apis/{cloudprivatecatalog_v1beta1.rb → datacatalog_v1beta1.rb} +9 -9
  344. data/generated/google/apis/dataflow_v1b3/classes.rb +786 -11
  345. data/generated/google/apis/dataflow_v1b3/representations.rb +377 -1
  346. data/generated/google/apis/dataflow_v1b3/service.rb +626 -0
  347. data/generated/google/apis/dataflow_v1b3.rb +1 -1
  348. data/generated/google/apis/datafusion_v1beta1/classes.rb +245 -362
  349. data/generated/google/apis/datafusion_v1beta1/representations.rb +29 -112
  350. data/generated/google/apis/datafusion_v1beta1/service.rb +15 -2
  351. data/generated/google/apis/datafusion_v1beta1.rb +1 -1
  352. data/generated/google/apis/dataproc_v1/classes.rb +533 -177
  353. data/generated/google/apis/dataproc_v1/representations.rb +85 -0
  354. data/generated/google/apis/dataproc_v1/service.rb +102 -36
  355. data/generated/google/apis/dataproc_v1.rb +1 -1
  356. data/generated/google/apis/dataproc_v1beta2/classes.rb +477 -182
  357. data/generated/google/apis/dataproc_v1beta2/representations.rb +81 -0
  358. data/generated/google/apis/dataproc_v1beta2/service.rb +199 -43
  359. data/generated/google/apis/dataproc_v1beta2.rb +1 -1
  360. data/generated/google/apis/datastore_v1/classes.rb +17 -23
  361. data/generated/google/apis/datastore_v1/service.rb +93 -9
  362. data/generated/google/apis/datastore_v1.rb +1 -1
  363. data/generated/google/apis/datastore_v1beta1.rb +1 -1
  364. data/generated/google/apis/datastore_v1beta3/classes.rb +6 -5
  365. data/generated/google/apis/datastore_v1beta3/service.rb +7 -7
  366. data/generated/google/apis/datastore_v1beta3.rb +1 -1
  367. data/generated/google/apis/deploymentmanager_alpha/classes.rb +362 -176
  368. data/generated/google/apis/deploymentmanager_alpha/representations.rb +22 -4
  369. data/generated/google/apis/deploymentmanager_alpha/service.rb +198 -311
  370. data/generated/google/apis/deploymentmanager_alpha.rb +1 -1
  371. data/generated/google/apis/deploymentmanager_v2/classes.rb +295 -146
  372. data/generated/google/apis/deploymentmanager_v2/representations.rb +17 -1
  373. data/generated/google/apis/deploymentmanager_v2/service.rb +101 -99
  374. data/generated/google/apis/deploymentmanager_v2.rb +1 -1
  375. data/generated/google/apis/deploymentmanager_v2beta/classes.rb +350 -170
  376. data/generated/google/apis/deploymentmanager_v2beta/representations.rb +18 -1
  377. data/generated/google/apis/deploymentmanager_v2beta/service.rb +154 -152
  378. data/generated/google/apis/deploymentmanager_v2beta.rb +1 -1
  379. data/generated/google/apis/dfareporting_v3_3/classes.rb +39 -13
  380. data/generated/google/apis/dfareporting_v3_3/service.rb +9 -8
  381. data/generated/google/apis/dfareporting_v3_3.rb +1 -1
  382. data/generated/google/apis/{dfareporting_v3_2 → dfareporting_v3_4}/classes.rb +1361 -813
  383. data/generated/google/apis/{dfareporting_v3_2 → dfareporting_v3_4}/representations.rb +639 -396
  384. data/generated/google/apis/{dfareporting_v3_2 → dfareporting_v3_4}/service.rb +969 -1076
  385. data/generated/google/apis/{dfareporting_v3_2.rb → dfareporting_v3_4.rb} +6 -6
  386. data/generated/google/apis/dialogflow_v2/classes.rb +1778 -219
  387. data/generated/google/apis/dialogflow_v2/representations.rb +603 -0
  388. data/generated/google/apis/dialogflow_v2/service.rb +849 -158
  389. data/generated/google/apis/dialogflow_v2.rb +1 -1
  390. data/generated/google/apis/dialogflow_v2beta1/classes.rb +1776 -242
  391. data/generated/google/apis/dialogflow_v2beta1/representations.rb +592 -0
  392. data/generated/google/apis/dialogflow_v2beta1/service.rb +436 -172
  393. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  394. data/generated/google/apis/dialogflow_v3alpha1/classes.rb +5579 -0
  395. data/generated/google/apis/dialogflow_v3alpha1/representations.rb +2295 -0
  396. data/generated/google/apis/dialogflow_v3alpha1/service.rb +296 -0
  397. data/generated/google/apis/dialogflow_v3alpha1.rb +38 -0
  398. data/generated/google/apis/digitalassetlinks_v1.rb +1 -1
  399. data/generated/google/apis/displayvideo_v1/classes.rb +7527 -0
  400. data/generated/google/apis/displayvideo_v1/representations.rb +3034 -0
  401. data/generated/google/apis/displayvideo_v1/service.rb +3126 -0
  402. data/generated/google/apis/displayvideo_v1.rb +38 -0
  403. data/generated/google/apis/dlp_v2/classes.rb +798 -130
  404. data/generated/google/apis/dlp_v2/representations.rb +277 -3
  405. data/generated/google/apis/dlp_v2/service.rb +2074 -231
  406. data/generated/google/apis/dlp_v2.rb +1 -1
  407. data/generated/google/apis/dns_v1/classes.rb +220 -251
  408. data/generated/google/apis/dns_v1/representations.rb +49 -0
  409. data/generated/google/apis/dns_v1/service.rb +21 -141
  410. data/generated/google/apis/dns_v1.rb +1 -1
  411. data/generated/google/apis/dns_v1beta2/classes.rb +224 -261
  412. data/generated/google/apis/dns_v1beta2/representations.rb +49 -0
  413. data/generated/google/apis/dns_v1beta2/service.rb +21 -141
  414. data/generated/google/apis/dns_v1beta2.rb +1 -1
  415. data/generated/google/apis/dns_v2beta1/classes.rb +220 -251
  416. data/generated/google/apis/dns_v2beta1/representations.rb +49 -0
  417. data/generated/google/apis/dns_v2beta1/service.rb +21 -141
  418. data/generated/google/apis/dns_v2beta1.rb +1 -1
  419. data/generated/google/apis/docs_v1/classes.rb +608 -2
  420. data/generated/google/apis/docs_v1/representations.rb +211 -0
  421. data/generated/google/apis/docs_v1.rb +1 -1
  422. data/generated/google/apis/domainsrdap_v1.rb +1 -1
  423. data/generated/google/apis/doubleclickbidmanager_v1/classes.rb +1 -1
  424. data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
  425. data/generated/google/apis/doubleclickbidmanager_v1_1/classes.rb +860 -0
  426. data/generated/google/apis/doubleclickbidmanager_v1_1/representations.rb +388 -0
  427. data/generated/google/apis/{surveys_v2 → doubleclickbidmanager_v1_1}/service.rb +140 -110
  428. data/generated/google/apis/{proximitybeacon_v1beta1.rb → doubleclickbidmanager_v1_1.rb} +11 -11
  429. data/generated/google/apis/doubleclicksearch_v2/service.rb +0 -55
  430. data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
  431. data/generated/google/apis/drive_v2/classes.rb +58 -5
  432. data/generated/google/apis/drive_v2/representations.rb +18 -0
  433. data/generated/google/apis/drive_v2/service.rb +92 -118
  434. data/generated/google/apis/drive_v2.rb +1 -1
  435. data/generated/google/apis/drive_v3/classes.rb +66 -5
  436. data/generated/google/apis/drive_v3/representations.rb +18 -0
  437. data/generated/google/apis/drive_v3/service.rb +46 -14
  438. data/generated/google/apis/drive_v3.rb +1 -1
  439. data/generated/google/apis/driveactivity_v2/classes.rb +15 -5
  440. data/generated/google/apis/driveactivity_v2/representations.rb +2 -0
  441. data/generated/google/apis/driveactivity_v2.rb +1 -1
  442. data/generated/google/apis/factchecktools_v1alpha1.rb +1 -1
  443. data/generated/google/apis/fcm_v1/classes.rb +15 -0
  444. data/generated/google/apis/fcm_v1/representations.rb +2 -0
  445. data/generated/google/apis/fcm_v1.rb +1 -1
  446. data/generated/google/apis/file_v1/classes.rb +1235 -158
  447. data/generated/google/apis/file_v1/representations.rb +401 -22
  448. data/generated/google/apis/file_v1/service.rb +14 -10
  449. data/generated/google/apis/file_v1.rb +1 -1
  450. data/generated/google/apis/file_v1beta1/classes.rb +1236 -159
  451. data/generated/google/apis/file_v1beta1/representations.rb +401 -22
  452. data/generated/google/apis/file_v1beta1/service.rb +18 -11
  453. data/generated/google/apis/file_v1beta1.rb +1 -1
  454. data/generated/google/apis/firebase_v1beta1/classes.rb +20 -16
  455. data/generated/google/apis/firebase_v1beta1/representations.rb +2 -0
  456. data/generated/google/apis/firebase_v1beta1/service.rb +22 -16
  457. data/generated/google/apis/firebase_v1beta1.rb +1 -1
  458. data/generated/google/apis/firebasedynamiclinks_v1.rb +1 -1
  459. data/generated/google/apis/firebasehosting_v1beta1/classes.rb +174 -1
  460. data/generated/google/apis/firebasehosting_v1beta1/representations.rb +65 -0
  461. data/generated/google/apis/firebasehosting_v1beta1/service.rb +805 -2
  462. data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
  463. data/generated/google/apis/firebaseml_v1/classes.rb +213 -0
  464. data/generated/google/apis/{servicebroker_v1 → firebaseml_v1}/representations.rb +26 -28
  465. data/generated/google/apis/firebaseml_v1/service.rb +181 -0
  466. data/generated/google/apis/firebaseml_v1.rb +34 -0
  467. data/generated/google/apis/firebaseml_v1beta2/classes.rb +344 -0
  468. data/generated/google/apis/{cloudprivatecatalog_v1beta1 → firebaseml_v1beta2}/representations.rb +62 -31
  469. data/generated/google/apis/firebaseml_v1beta2/service.rb +267 -0
  470. data/generated/google/apis/firebaseml_v1beta2.rb +34 -0
  471. data/generated/google/apis/firebaserules_v1/classes.rb +113 -0
  472. data/generated/google/apis/firebaserules_v1/representations.rb +52 -0
  473. data/generated/google/apis/firebaserules_v1.rb +1 -1
  474. data/generated/google/apis/firestore_v1/classes.rb +16 -5
  475. data/generated/google/apis/firestore_v1/representations.rb +2 -0
  476. data/generated/google/apis/firestore_v1/service.rb +26 -24
  477. data/generated/google/apis/firestore_v1.rb +1 -1
  478. data/generated/google/apis/firestore_v1beta1/classes.rb +16 -5
  479. data/generated/google/apis/firestore_v1beta1/representations.rb +2 -0
  480. data/generated/google/apis/firestore_v1beta1/service.rb +18 -16
  481. data/generated/google/apis/firestore_v1beta1.rb +1 -1
  482. data/generated/google/apis/firestore_v1beta2.rb +1 -1
  483. data/generated/google/apis/fitness_v1/classes.rb +189 -153
  484. data/generated/google/apis/fitness_v1/service.rb +192 -198
  485. data/generated/google/apis/fitness_v1.rb +14 -14
  486. data/generated/google/apis/games_configuration_v1configuration/classes.rb +38 -53
  487. data/generated/google/apis/games_configuration_v1configuration/service.rb +58 -169
  488. data/generated/google/apis/games_configuration_v1configuration.rb +4 -3
  489. data/generated/google/apis/games_management_v1management/classes.rb +50 -109
  490. data/generated/google/apis/games_management_v1management/representations.rb +0 -30
  491. data/generated/google/apis/games_management_v1management/service.rb +116 -452
  492. data/generated/google/apis/games_management_v1management.rb +6 -4
  493. data/generated/google/apis/games_v1/classes.rb +14 -293
  494. data/generated/google/apis/games_v1/representations.rb +2 -98
  495. data/generated/google/apis/games_v1/service.rb +3 -135
  496. data/generated/google/apis/games_v1.rb +1 -1
  497. data/generated/google/apis/gameservices_v1beta/classes.rb +2354 -0
  498. data/generated/google/apis/gameservices_v1beta/representations.rb +971 -0
  499. data/generated/google/apis/gameservices_v1beta/service.rb +1472 -0
  500. data/generated/google/apis/gameservices_v1beta.rb +34 -0
  501. data/generated/google/apis/genomics_v1.rb +1 -1
  502. data/generated/google/apis/genomics_v1alpha2.rb +1 -1
  503. data/generated/google/apis/genomics_v2alpha1/classes.rb +32 -0
  504. data/generated/google/apis/genomics_v2alpha1/representations.rb +16 -0
  505. data/generated/google/apis/genomics_v2alpha1/service.rb +34 -0
  506. data/generated/google/apis/genomics_v2alpha1.rb +1 -1
  507. data/generated/google/apis/gmail_v1/classes.rb +6 -2
  508. data/generated/google/apis/gmail_v1/service.rb +1 -1
  509. data/generated/google/apis/gmail_v1.rb +13 -1
  510. data/generated/google/apis/healthcare_v1/classes.rb +2659 -0
  511. data/generated/google/apis/healthcare_v1/representations.rb +1114 -0
  512. data/generated/google/apis/healthcare_v1/service.rb +3439 -0
  513. data/generated/google/apis/healthcare_v1.rb +34 -0
  514. data/generated/google/apis/healthcare_v1beta1/classes.rb +1013 -128
  515. data/generated/google/apis/healthcare_v1beta1/representations.rb +341 -1
  516. data/generated/google/apis/healthcare_v1beta1/service.rb +762 -275
  517. data/generated/google/apis/healthcare_v1beta1.rb +1 -1
  518. data/generated/google/apis/homegraph_v1/classes.rb +79 -56
  519. data/generated/google/apis/homegraph_v1/representations.rb +2 -1
  520. data/generated/google/apis/homegraph_v1/service.rb +43 -47
  521. data/generated/google/apis/homegraph_v1.rb +1 -1
  522. data/generated/google/apis/iam_v1/classes.rb +201 -169
  523. data/generated/google/apis/iam_v1/representations.rb +1 -6
  524. data/generated/google/apis/iam_v1/service.rb +18 -21
  525. data/generated/google/apis/iam_v1.rb +1 -1
  526. data/generated/google/apis/iamcredentials_v1/classes.rb +40 -8
  527. data/generated/google/apis/iamcredentials_v1/service.rb +4 -4
  528. data/generated/google/apis/iamcredentials_v1.rb +1 -1
  529. data/generated/google/apis/iap_v1/classes.rb +691 -59
  530. data/generated/google/apis/iap_v1/representations.rb +254 -0
  531. data/generated/google/apis/iap_v1/service.rb +362 -0
  532. data/generated/google/apis/iap_v1.rb +1 -1
  533. data/generated/google/apis/iap_v1beta1/classes.rb +144 -59
  534. data/generated/google/apis/iap_v1beta1.rb +1 -1
  535. data/generated/google/apis/indexing_v3.rb +1 -1
  536. data/generated/google/apis/jobs_v2/classes.rb +167 -0
  537. data/generated/google/apis/jobs_v2/representations.rb +40 -0
  538. data/generated/google/apis/jobs_v2.rb +1 -1
  539. data/generated/google/apis/jobs_v3/classes.rb +180 -0
  540. data/generated/google/apis/jobs_v3/representations.rb +41 -0
  541. data/generated/google/apis/jobs_v3.rb +1 -1
  542. data/generated/google/apis/jobs_v3p1beta1/classes.rb +187 -2
  543. data/generated/google/apis/jobs_v3p1beta1/representations.rb +41 -0
  544. data/generated/google/apis/jobs_v3p1beta1.rb +1 -1
  545. data/generated/google/apis/kgsearch_v1.rb +1 -1
  546. data/generated/google/apis/language_v1/classes.rb +6 -6
  547. data/generated/google/apis/language_v1.rb +1 -1
  548. data/generated/google/apis/language_v1beta1/classes.rb +5 -5
  549. data/generated/google/apis/language_v1beta1.rb +1 -1
  550. data/generated/google/apis/language_v1beta2/classes.rb +23 -7
  551. data/generated/google/apis/language_v1beta2/representations.rb +2 -0
  552. data/generated/google/apis/language_v1beta2.rb +1 -1
  553. data/generated/google/apis/libraryagent_v1.rb +1 -1
  554. data/generated/google/apis/licensing_v1/classes.rb +15 -7
  555. data/generated/google/apis/licensing_v1/service.rb +81 -37
  556. data/generated/google/apis/licensing_v1.rb +4 -4
  557. data/generated/google/apis/lifesciences_v2beta/classes.rb +1329 -0
  558. data/generated/google/apis/lifesciences_v2beta/representations.rb +533 -0
  559. data/generated/google/apis/lifesciences_v2beta/service.rb +303 -0
  560. data/generated/google/apis/lifesciences_v2beta.rb +35 -0
  561. data/generated/google/apis/logging_v2/classes.rb +292 -91
  562. data/generated/google/apis/logging_v2/representations.rb +51 -0
  563. data/generated/google/apis/logging_v2/service.rb +888 -15
  564. data/generated/google/apis/logging_v2.rb +6 -6
  565. data/generated/google/apis/managedidentities_v1/classes.rb +1571 -0
  566. data/generated/google/apis/managedidentities_v1/representations.rb +560 -0
  567. data/generated/google/apis/managedidentities_v1/service.rb +779 -0
  568. data/generated/google/apis/managedidentities_v1.rb +35 -0
  569. data/generated/google/apis/managedidentities_v1alpha1/classes.rb +1570 -0
  570. data/generated/google/apis/managedidentities_v1alpha1/representations.rb +560 -0
  571. data/generated/google/apis/managedidentities_v1alpha1/service.rb +782 -0
  572. data/generated/google/apis/{servicebroker_v1alpha1.rb → managedidentities_v1alpha1.rb} +9 -10
  573. data/generated/google/apis/managedidentities_v1beta1/classes.rb +1568 -0
  574. data/generated/google/apis/managedidentities_v1beta1/representations.rb +560 -0
  575. data/generated/google/apis/managedidentities_v1beta1/service.rb +778 -0
  576. data/generated/google/apis/managedidentities_v1beta1.rb +35 -0
  577. data/generated/google/apis/manufacturers_v1/classes.rb +7 -0
  578. data/generated/google/apis/manufacturers_v1/representations.rb +1 -0
  579. data/generated/google/apis/manufacturers_v1.rb +1 -1
  580. data/generated/google/apis/memcache_v1beta2/classes.rb +1587 -0
  581. data/generated/google/apis/memcache_v1beta2/representations.rb +557 -0
  582. data/generated/google/apis/memcache_v1beta2/service.rb +677 -0
  583. data/generated/google/apis/memcache_v1beta2.rb +35 -0
  584. data/generated/google/apis/ml_v1/classes.rb +1518 -233
  585. data/generated/google/apis/ml_v1/representations.rb +559 -0
  586. data/generated/google/apis/ml_v1/service.rb +560 -25
  587. data/generated/google/apis/ml_v1.rb +5 -2
  588. data/generated/google/apis/monitoring_v1/classes.rb +1231 -0
  589. data/generated/google/apis/monitoring_v1/representations.rb +513 -0
  590. data/generated/google/apis/monitoring_v1/service.rb +246 -0
  591. data/generated/google/apis/monitoring_v1.rb +47 -0
  592. data/generated/google/apis/monitoring_v3/classes.rb +1330 -172
  593. data/generated/google/apis/monitoring_v3/representations.rb +482 -1
  594. data/generated/google/apis/monitoring_v3/service.rb +614 -162
  595. data/generated/google/apis/monitoring_v3.rb +7 -8
  596. data/generated/google/apis/networkmanagement_v1/classes.rb +1868 -0
  597. data/generated/google/apis/networkmanagement_v1/representations.rb +661 -0
  598. data/generated/google/apis/networkmanagement_v1/service.rb +667 -0
  599. data/generated/google/apis/networkmanagement_v1.rb +35 -0
  600. data/generated/google/apis/networkmanagement_v1beta1/classes.rb +1868 -0
  601. data/generated/google/apis/networkmanagement_v1beta1/representations.rb +661 -0
  602. data/generated/google/apis/networkmanagement_v1beta1/service.rb +667 -0
  603. data/generated/google/apis/{cloudprivatecatalogproducer_v1beta1.rb → networkmanagement_v1beta1.rb} +9 -9
  604. data/generated/google/apis/oauth2_v2/classes.rb +1 -81
  605. data/generated/google/apis/oauth2_v2/representations.rb +2 -36
  606. data/generated/google/apis/oauth2_v2/service.rb +10 -42
  607. data/generated/google/apis/oauth2_v2.rb +5 -5
  608. data/generated/google/apis/osconfig_v1/classes.rb +1225 -0
  609. data/generated/google/apis/osconfig_v1/representations.rb +506 -0
  610. data/generated/google/apis/osconfig_v1/service.rb +386 -0
  611. data/generated/google/apis/osconfig_v1.rb +35 -0
  612. data/generated/google/apis/osconfig_v1beta/classes.rb +2362 -0
  613. data/generated/google/apis/osconfig_v1beta/representations.rb +966 -0
  614. data/generated/google/apis/osconfig_v1beta/service.rb +605 -0
  615. data/generated/google/apis/osconfig_v1beta.rb +35 -0
  616. data/generated/google/apis/oslogin_v1/classes.rb +1 -1
  617. data/generated/google/apis/oslogin_v1/service.rb +10 -7
  618. data/generated/google/apis/oslogin_v1.rb +1 -2
  619. data/generated/google/apis/oslogin_v1alpha/service.rb +0 -1
  620. data/generated/google/apis/oslogin_v1alpha.rb +1 -2
  621. data/generated/google/apis/oslogin_v1beta/classes.rb +1 -1
  622. data/generated/google/apis/oslogin_v1beta/service.rb +9 -6
  623. data/generated/google/apis/oslogin_v1beta.rb +1 -2
  624. data/generated/google/apis/pagespeedonline_v5/classes.rb +534 -495
  625. data/generated/google/apis/pagespeedonline_v5/representations.rb +226 -221
  626. data/generated/google/apis/pagespeedonline_v5/service.rb +22 -24
  627. data/generated/google/apis/pagespeedonline_v5.rb +9 -4
  628. data/generated/google/apis/people_v1/classes.rb +104 -81
  629. data/generated/google/apis/people_v1/representations.rb +1 -0
  630. data/generated/google/apis/people_v1/service.rb +72 -79
  631. data/generated/google/apis/people_v1.rb +10 -1
  632. data/generated/google/apis/policytroubleshooter_v1/classes.rb +765 -0
  633. data/generated/google/apis/policytroubleshooter_v1/representations.rb +203 -0
  634. data/generated/google/apis/policytroubleshooter_v1/service.rb +90 -0
  635. data/generated/google/apis/policytroubleshooter_v1.rb +34 -0
  636. data/generated/google/apis/policytroubleshooter_v1beta/classes.rb +254 -111
  637. data/generated/google/apis/policytroubleshooter_v1beta/service.rb +2 -3
  638. data/generated/google/apis/policytroubleshooter_v1beta.rb +1 -1
  639. data/generated/google/apis/poly_v1.rb +1 -1
  640. data/generated/google/apis/prod_tt_sasportal_v1alpha1/classes.rb +1137 -0
  641. data/generated/google/apis/prod_tt_sasportal_v1alpha1/representations.rb +532 -0
  642. data/generated/google/apis/prod_tt_sasportal_v1alpha1/service.rb +1676 -0
  643. data/generated/google/apis/{pagespeedonline_v4.rb → prod_tt_sasportal_v1alpha1.rb} +12 -10
  644. data/generated/google/apis/pubsub_v1/classes.rb +248 -76
  645. data/generated/google/apis/pubsub_v1/representations.rb +18 -0
  646. data/generated/google/apis/pubsub_v1/service.rb +43 -31
  647. data/generated/google/apis/pubsub_v1.rb +1 -1
  648. data/generated/google/apis/pubsub_v1beta1a.rb +1 -1
  649. data/generated/google/apis/pubsub_v1beta2/classes.rb +144 -59
  650. data/generated/google/apis/pubsub_v1beta2/service.rb +10 -2
  651. data/generated/google/apis/pubsub_v1beta2.rb +1 -1
  652. data/generated/google/apis/recommender_v1beta1/classes.rb +221 -7
  653. data/generated/google/apis/recommender_v1beta1/representations.rb +96 -0
  654. data/generated/google/apis/recommender_v1beta1/service.rb +146 -19
  655. data/generated/google/apis/recommender_v1beta1.rb +1 -1
  656. data/generated/google/apis/redis_v1/classes.rb +48 -18
  657. data/generated/google/apis/redis_v1/representations.rb +14 -0
  658. data/generated/google/apis/redis_v1/service.rb +41 -5
  659. data/generated/google/apis/redis_v1.rb +1 -1
  660. data/generated/google/apis/redis_v1beta1/classes.rb +48 -18
  661. data/generated/google/apis/redis_v1beta1/representations.rb +14 -0
  662. data/generated/google/apis/redis_v1beta1/service.rb +41 -5
  663. data/generated/google/apis/redis_v1beta1.rb +1 -1
  664. data/generated/google/apis/remotebuildexecution_v1/classes.rb +352 -37
  665. data/generated/google/apis/remotebuildexecution_v1/representations.rb +99 -0
  666. data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
  667. data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +352 -37
  668. data/generated/google/apis/remotebuildexecution_v1alpha/representations.rb +99 -0
  669. data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
  670. data/generated/google/apis/remotebuildexecution_v2/classes.rb +362 -45
  671. data/generated/google/apis/remotebuildexecution_v2/representations.rb +100 -0
  672. data/generated/google/apis/remotebuildexecution_v2/service.rb +5 -1
  673. data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
  674. data/generated/google/apis/reseller_v1/service.rb +1 -1
  675. data/generated/google/apis/reseller_v1.rb +1 -1
  676. data/generated/google/apis/run_v1/classes.rb +308 -325
  677. data/generated/google/apis/run_v1/representations.rb +63 -103
  678. data/generated/google/apis/run_v1/service.rb +336 -933
  679. data/generated/google/apis/run_v1.rb +1 -1
  680. data/generated/google/apis/run_v1alpha1/classes.rb +1045 -392
  681. data/generated/google/apis/run_v1alpha1/representations.rb +343 -144
  682. data/generated/google/apis/run_v1alpha1/service.rb +1735 -492
  683. data/generated/google/apis/run_v1alpha1.rb +1 -1
  684. data/generated/google/apis/run_v1beta1/classes.rb +1 -1
  685. data/generated/google/apis/run_v1beta1.rb +4 -1
  686. data/generated/google/apis/runtimeconfig_v1.rb +1 -1
  687. data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +139 -57
  688. data/generated/google/apis/runtimeconfig_v1beta1/service.rb +8 -5
  689. data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
  690. data/generated/google/apis/safebrowsing_v4/classes.rb +2 -2
  691. data/generated/google/apis/safebrowsing_v4.rb +1 -1
  692. data/generated/google/apis/sasportal_v1alpha1/classes.rb +1137 -0
  693. data/generated/google/apis/sasportal_v1alpha1/representations.rb +532 -0
  694. data/generated/google/apis/sasportal_v1alpha1/service.rb +1676 -0
  695. data/generated/google/apis/{pagespeedonline_v2.rb → sasportal_v1alpha1.rb} +12 -10
  696. data/generated/google/apis/script_v1/classes.rb +4 -22
  697. data/generated/google/apis/script_v1.rb +1 -1
  698. data/generated/google/apis/searchconsole_v1.rb +1 -1
  699. data/generated/google/apis/secretmanager_v1/classes.rb +982 -0
  700. data/generated/google/apis/{cloudprivatecatalogproducer_v1beta1 → secretmanager_v1}/representations.rb +105 -116
  701. data/generated/google/apis/secretmanager_v1/service.rb +681 -0
  702. data/generated/google/apis/secretmanager_v1.rb +35 -0
  703. data/generated/google/apis/secretmanager_v1beta1/classes.rb +982 -0
  704. data/generated/google/apis/{servicebroker_v1beta1 → secretmanager_v1beta1}/representations.rb +114 -142
  705. data/generated/google/apis/secretmanager_v1beta1/service.rb +681 -0
  706. data/generated/google/apis/secretmanager_v1beta1.rb +35 -0
  707. data/generated/google/apis/securitycenter_v1/classes.rb +862 -138
  708. data/generated/google/apis/securitycenter_v1/representations.rb +221 -0
  709. data/generated/google/apis/securitycenter_v1/service.rb +225 -21
  710. data/generated/google/apis/securitycenter_v1.rb +4 -4
  711. data/generated/google/apis/securitycenter_v1beta1/classes.rb +782 -125
  712. data/generated/google/apis/securitycenter_v1beta1/representations.rb +192 -2
  713. data/generated/google/apis/securitycenter_v1beta1/service.rb +53 -51
  714. data/generated/google/apis/securitycenter_v1beta1.rb +4 -4
  715. data/generated/google/apis/securitycenter_v1p1alpha1/classes.rb +568 -0
  716. data/generated/google/apis/securitycenter_v1p1alpha1/representations.rb +190 -0
  717. data/generated/google/apis/securitycenter_v1p1alpha1/service.rb +3 -3
  718. data/generated/google/apis/securitycenter_v1p1alpha1.rb +4 -4
  719. data/generated/google/apis/securitycenter_v1p1beta1/classes.rb +2205 -0
  720. data/generated/google/apis/securitycenter_v1p1beta1/representations.rb +751 -0
  721. data/generated/google/apis/securitycenter_v1p1beta1/service.rb +1329 -0
  722. data/generated/google/apis/securitycenter_v1p1beta1.rb +35 -0
  723. data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +419 -64
  724. data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +98 -0
  725. data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
  726. data/generated/google/apis/serviceconsumermanagement_v1beta1/classes.rb +4159 -0
  727. data/generated/google/apis/serviceconsumermanagement_v1beta1/representations.rb +1307 -0
  728. data/generated/google/apis/serviceconsumermanagement_v1beta1/service.rb +428 -0
  729. data/generated/google/apis/serviceconsumermanagement_v1beta1.rb +34 -0
  730. data/generated/google/apis/servicecontrol_v1/classes.rb +255 -20
  731. data/generated/google/apis/servicecontrol_v1/representations.rb +87 -1
  732. data/generated/google/apis/servicecontrol_v1/service.rb +2 -1
  733. data/generated/google/apis/servicecontrol_v1.rb +1 -1
  734. data/generated/google/apis/servicedirectory_v1beta1/classes.rb +816 -0
  735. data/generated/google/apis/{surveys_v2 → servicedirectory_v1beta1}/representations.rb +103 -104
  736. data/generated/google/apis/servicedirectory_v1beta1/service.rb +992 -0
  737. data/generated/google/apis/servicedirectory_v1beta1.rb +35 -0
  738. data/generated/google/apis/servicemanagement_v1/classes.rb +459 -125
  739. data/generated/google/apis/servicemanagement_v1/representations.rb +61 -0
  740. data/generated/google/apis/servicemanagement_v1/service.rb +40 -29
  741. data/generated/google/apis/servicemanagement_v1.rb +1 -1
  742. data/generated/google/apis/servicenetworking_v1/classes.rb +986 -68
  743. data/generated/google/apis/servicenetworking_v1/representations.rb +403 -0
  744. data/generated/google/apis/servicenetworking_v1/service.rb +351 -23
  745. data/generated/google/apis/servicenetworking_v1.rb +1 -1
  746. data/generated/google/apis/servicenetworking_v1beta/classes.rb +575 -57
  747. data/generated/google/apis/servicenetworking_v1beta/representations.rb +223 -0
  748. data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
  749. data/generated/google/apis/serviceusage_v1/classes.rb +417 -64
  750. data/generated/google/apis/serviceusage_v1/representations.rb +110 -0
  751. data/generated/google/apis/serviceusage_v1/service.rb +42 -0
  752. data/generated/google/apis/serviceusage_v1.rb +1 -1
  753. data/generated/google/apis/serviceusage_v1beta1/classes.rb +644 -64
  754. data/generated/google/apis/serviceusage_v1beta1/representations.rb +198 -0
  755. data/generated/google/apis/serviceusage_v1beta1/service.rb +472 -0
  756. data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
  757. data/generated/google/apis/sheets_v4/classes.rb +1741 -253
  758. data/generated/google/apis/sheets_v4/representations.rb +283 -0
  759. data/generated/google/apis/sheets_v4/service.rb +9 -11
  760. data/generated/google/apis/sheets_v4.rb +1 -1
  761. data/generated/google/apis/slides_v1/classes.rb +1 -1
  762. data/generated/google/apis/slides_v1/service.rb +1 -1
  763. data/generated/google/apis/slides_v1.rb +1 -1
  764. data/generated/google/apis/sourcerepo_v1/classes.rb +173 -67
  765. data/generated/google/apis/sourcerepo_v1/service.rb +9 -1
  766. data/generated/google/apis/sourcerepo_v1.rb +1 -1
  767. data/generated/google/apis/spanner_v1/classes.rb +706 -71
  768. data/generated/google/apis/spanner_v1/representations.rb +194 -0
  769. data/generated/google/apis/spanner_v1/service.rb +770 -7
  770. data/generated/google/apis/spanner_v1.rb +1 -1
  771. data/generated/google/apis/speech_v1/classes.rb +15 -11
  772. data/generated/google/apis/speech_v1/representations.rb +2 -1
  773. data/generated/google/apis/speech_v1.rb +1 -1
  774. data/generated/google/apis/speech_v1p1beta1/classes.rb +197 -11
  775. data/generated/google/apis/speech_v1p1beta1/representations.rb +79 -1
  776. data/generated/google/apis/speech_v1p1beta1.rb +1 -1
  777. data/generated/google/apis/{speech_v2beta → speech_v2beta1}/classes.rb +16 -8
  778. data/generated/google/apis/{speech_v2beta → speech_v2beta1}/representations.rb +7 -6
  779. data/generated/google/apis/{speech_v2beta → speech_v2beta1}/service.rb +13 -13
  780. data/generated/google/apis/{speech_v2beta.rb → speech_v2beta1.rb} +6 -6
  781. data/generated/google/apis/{sqladmin_v1beta4 → sql_v1beta4}/classes.rb +701 -383
  782. data/generated/google/apis/{sqladmin_v1beta4 → sql_v1beta4}/representations.rb +209 -104
  783. data/generated/google/apis/{sqladmin_v1beta4 → sql_v1beta4}/service.rb +579 -597
  784. data/generated/google/apis/{sqladmin_v1beta4.rb → sql_v1beta4.rb} +7 -8
  785. data/generated/google/apis/storage_v1/classes.rb +73 -7
  786. data/generated/google/apis/storage_v1/representations.rb +10 -0
  787. data/generated/google/apis/storage_v1/service.rb +29 -4
  788. data/generated/google/apis/storage_v1.rb +1 -1
  789. data/generated/google/apis/storage_v1beta2/service.rb +1 -1
  790. data/generated/google/apis/storage_v1beta2.rb +1 -1
  791. data/generated/google/apis/storagetransfer_v1/classes.rb +280 -79
  792. data/generated/google/apis/storagetransfer_v1/representations.rb +52 -0
  793. data/generated/google/apis/storagetransfer_v1/service.rb +19 -41
  794. data/generated/google/apis/storagetransfer_v1.rb +1 -1
  795. data/generated/google/apis/streetviewpublish_v1/classes.rb +1 -1
  796. data/generated/google/apis/streetviewpublish_v1/service.rb +1 -1
  797. data/generated/google/apis/streetviewpublish_v1.rb +1 -1
  798. data/generated/google/apis/tagmanager_v1/classes.rb +2 -0
  799. data/generated/google/apis/tagmanager_v1/service.rb +1 -1
  800. data/generated/google/apis/tagmanager_v1.rb +1 -1
  801. data/generated/google/apis/tagmanager_v2/classes.rb +170 -0
  802. data/generated/google/apis/tagmanager_v2/representations.rb +49 -0
  803. data/generated/google/apis/tagmanager_v2/service.rb +1 -1
  804. data/generated/google/apis/tagmanager_v2.rb +1 -1
  805. data/generated/google/apis/tasks_v1/classes.rb +26 -25
  806. data/generated/google/apis/tasks_v1/representations.rb +4 -8
  807. data/generated/google/apis/tasks_v1/service.rb +78 -124
  808. data/generated/google/apis/tasks_v1.rb +3 -3
  809. data/generated/google/apis/testing_v1/classes.rb +187 -1
  810. data/generated/google/apis/testing_v1/representations.rb +93 -0
  811. data/generated/google/apis/testing_v1.rb +1 -1
  812. data/generated/google/apis/texttospeech_v1.rb +1 -1
  813. data/generated/google/apis/texttospeech_v1beta1.rb +1 -1
  814. data/generated/google/apis/toolresults_v1beta3/classes.rb +2061 -1133
  815. data/generated/google/apis/toolresults_v1beta3/representations.rb +723 -13
  816. data/generated/google/apis/toolresults_v1beta3/service.rb +663 -591
  817. data/generated/google/apis/toolresults_v1beta3.rb +2 -2
  818. data/generated/google/apis/tpu_v1/classes.rb +3 -4
  819. data/generated/google/apis/tpu_v1.rb +1 -1
  820. data/generated/google/apis/tpu_v1alpha1/classes.rb +3 -4
  821. data/generated/google/apis/tpu_v1alpha1.rb +1 -1
  822. data/generated/google/apis/translate_v3/classes.rb +946 -0
  823. data/generated/google/apis/translate_v3/representations.rb +439 -0
  824. data/generated/google/apis/translate_v3/service.rb +781 -0
  825. data/generated/google/apis/translate_v3.rb +37 -0
  826. data/generated/google/apis/translate_v3beta1.rb +1 -1
  827. data/generated/google/apis/vault_v1/classes.rb +10 -7
  828. data/generated/google/apis/vault_v1/service.rb +7 -7
  829. data/generated/google/apis/vault_v1.rb +1 -1
  830. data/generated/google/apis/verifiedaccess_v1/service.rb +2 -2
  831. data/generated/google/apis/verifiedaccess_v1.rb +3 -3
  832. data/generated/google/apis/videointelligence_v1/classes.rb +1205 -118
  833. data/generated/google/apis/videointelligence_v1/representations.rb +492 -0
  834. data/generated/google/apis/videointelligence_v1.rb +1 -1
  835. data/generated/google/apis/videointelligence_v1beta2/classes.rb +1205 -118
  836. data/generated/google/apis/videointelligence_v1beta2/representations.rb +492 -0
  837. data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
  838. data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +1216 -129
  839. data/generated/google/apis/videointelligence_v1p1beta1/representations.rb +492 -0
  840. data/generated/google/apis/videointelligence_v1p1beta1.rb +1 -1
  841. data/generated/google/apis/videointelligence_v1p2beta1/classes.rb +1205 -118
  842. data/generated/google/apis/videointelligence_v1p2beta1/representations.rb +492 -0
  843. data/generated/google/apis/videointelligence_v1p2beta1.rb +1 -1
  844. data/generated/google/apis/videointelligence_v1p3beta1/classes.rb +1290 -116
  845. data/generated/google/apis/videointelligence_v1p3beta1/representations.rb +526 -0
  846. data/generated/google/apis/videointelligence_v1p3beta1.rb +1 -1
  847. data/generated/google/apis/vision_v1/classes.rb +67 -1
  848. data/generated/google/apis/vision_v1/representations.rb +32 -0
  849. data/generated/google/apis/vision_v1/service.rb +1 -1
  850. data/generated/google/apis/vision_v1.rb +1 -1
  851. data/generated/google/apis/vision_v1p1beta1/classes.rb +67 -1
  852. data/generated/google/apis/vision_v1p1beta1/representations.rb +32 -0
  853. data/generated/google/apis/vision_v1p1beta1.rb +1 -1
  854. data/generated/google/apis/vision_v1p2beta1/classes.rb +67 -1
  855. data/generated/google/apis/vision_v1p2beta1/representations.rb +32 -0
  856. data/generated/google/apis/vision_v1p2beta1.rb +1 -1
  857. data/generated/google/apis/websecurityscanner_v1/classes.rb +75 -4
  858. data/generated/google/apis/websecurityscanner_v1/representations.rb +32 -0
  859. data/generated/google/apis/websecurityscanner_v1/service.rb +1 -1
  860. data/generated/google/apis/websecurityscanner_v1.rb +2 -2
  861. data/generated/google/apis/websecurityscanner_v1alpha/classes.rb +5 -4
  862. data/generated/google/apis/websecurityscanner_v1alpha/service.rb +1 -1
  863. data/generated/google/apis/websecurityscanner_v1alpha.rb +2 -2
  864. data/generated/google/apis/websecurityscanner_v1beta/classes.rb +77 -6
  865. data/generated/google/apis/websecurityscanner_v1beta/representations.rb +32 -0
  866. data/generated/google/apis/websecurityscanner_v1beta/service.rb +1 -1
  867. data/generated/google/apis/websecurityscanner_v1beta.rb +2 -2
  868. data/generated/google/apis/youtube_analytics_v1.rb +1 -1
  869. data/generated/google/apis/youtube_analytics_v2.rb +1 -1
  870. data/generated/google/apis/youtube_partner_v1/service.rb +2 -2
  871. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  872. data/generated/google/apis/youtube_v3/classes.rb +1376 -1262
  873. data/generated/google/apis/youtube_v3/representations.rb +99 -191
  874. data/generated/google/apis/youtube_v3/service.rb +1829 -2150
  875. data/generated/google/apis/youtube_v3.rb +8 -5
  876. data/generated/google/apis/youtubereporting_v1.rb +1 -1
  877. data/google-api-client.gemspec +6 -3
  878. data/lib/google/apis/core/api_command.rb +7 -0
  879. data/lib/google/apis/core/base_service.rb +1 -1
  880. data/lib/google/apis/core/http_command.rb +11 -10
  881. data/lib/google/apis/core/upload.rb +4 -0
  882. data/lib/google/apis/generator/annotator.rb +1 -1
  883. data/lib/google/apis/version.rb +9 -4
  884. data/rakelib/devsite/devsite_builder.rb +126 -0
  885. data/rakelib/devsite/link_checker.rb +64 -0
  886. data/rakelib/devsite/repo_metadata.rb +56 -0
  887. metadata +193 -110
  888. data/generated/google/apis/analytics_v2_4/representations.rb +0 -26
  889. data/generated/google/apis/analytics_v2_4/service.rb +0 -331
  890. data/generated/google/apis/analytics_v2_4.rb +0 -37
  891. data/generated/google/apis/cloudprivatecatalog_v1beta1/classes.rb +0 -358
  892. data/generated/google/apis/cloudprivatecatalog_v1beta1/service.rb +0 -486
  893. data/generated/google/apis/cloudprivatecatalogproducer_v1beta1/service.rb +0 -1081
  894. data/generated/google/apis/commentanalyzer_v1alpha1/classes.rb +0 -485
  895. data/generated/google/apis/commentanalyzer_v1alpha1/representations.rb +0 -210
  896. data/generated/google/apis/commentanalyzer_v1alpha1/service.rb +0 -124
  897. data/generated/google/apis/commentanalyzer_v1alpha1.rb +0 -39
  898. data/generated/google/apis/fusiontables_v1/classes.rb +0 -977
  899. data/generated/google/apis/fusiontables_v1/representations.rb +0 -449
  900. data/generated/google/apis/fusiontables_v1/service.rb +0 -1307
  901. data/generated/google/apis/fusiontables_v1.rb +0 -37
  902. data/generated/google/apis/fusiontables_v2/classes.rb +0 -1049
  903. data/generated/google/apis/fusiontables_v2/representations.rb +0 -457
  904. data/generated/google/apis/fusiontables_v2/service.rb +0 -1431
  905. data/generated/google/apis/fusiontables_v2.rb +0 -37
  906. data/generated/google/apis/mirror_v1/classes.rb +0 -1072
  907. data/generated/google/apis/mirror_v1/representations.rb +0 -390
  908. data/generated/google/apis/mirror_v1/service.rb +0 -928
  909. data/generated/google/apis/mirror_v1.rb +0 -37
  910. data/generated/google/apis/oauth2_v1/classes.rb +0 -197
  911. data/generated/google/apis/oauth2_v1/service.rb +0 -160
  912. data/generated/google/apis/oauth2_v1.rb +0 -40
  913. data/generated/google/apis/pagespeedonline_v1/classes.rb +0 -542
  914. data/generated/google/apis/pagespeedonline_v1/representations.rb +0 -258
  915. data/generated/google/apis/pagespeedonline_v1/service.rb +0 -116
  916. data/generated/google/apis/pagespeedonline_v2/classes.rb +0 -621
  917. data/generated/google/apis/pagespeedonline_v2/representations.rb +0 -273
  918. data/generated/google/apis/pagespeedonline_v2/service.rb +0 -116
  919. data/generated/google/apis/pagespeedonline_v4/classes.rb +0 -795
  920. data/generated/google/apis/pagespeedonline_v4/representations.rb +0 -335
  921. data/generated/google/apis/pagespeedonline_v4/service.rb +0 -125
  922. data/generated/google/apis/plus_domains_v1/classes.rb +0 -2609
  923. data/generated/google/apis/plus_domains_v1/representations.rb +0 -1111
  924. data/generated/google/apis/plus_domains_v1/service.rb +0 -489
  925. data/generated/google/apis/plus_domains_v1.rb +0 -55
  926. data/generated/google/apis/proximitybeacon_v1beta1/classes.rb +0 -845
  927. data/generated/google/apis/proximitybeacon_v1beta1/representations.rb +0 -350
  928. data/generated/google/apis/proximitybeacon_v1beta1/service.rb +0 -933
  929. data/generated/google/apis/replicapool_v1beta1/classes.rb +0 -918
  930. data/generated/google/apis/replicapool_v1beta1/representations.rb +0 -409
  931. data/generated/google/apis/replicapool_v1beta1/service.rb +0 -489
  932. data/generated/google/apis/replicapool_v1beta1.rb +0 -50
  933. data/generated/google/apis/servicebroker_v1/classes.rb +0 -333
  934. data/generated/google/apis/servicebroker_v1/service.rb +0 -177
  935. data/generated/google/apis/servicebroker_v1alpha1/classes.rb +0 -1037
  936. data/generated/google/apis/servicebroker_v1alpha1/service.rb +0 -737
  937. data/generated/google/apis/servicebroker_v1beta1/classes.rb +0 -1173
  938. data/generated/google/apis/servicebroker_v1beta1/service.rb +0 -926
  939. data/generated/google/apis/storage_v1beta1/classes.rb +0 -616
  940. data/generated/google/apis/storage_v1beta1/representations.rb +0 -249
  941. data/generated/google/apis/storage_v1beta1/service.rb +0 -1032
  942. data/generated/google/apis/storage_v1beta1.rb +0 -40
  943. data/generated/google/apis/surveys_v2/classes.rb +0 -691
  944. data/generated/google/apis/surveys_v2.rb +0 -40
  945. data/generated/google/apis/urlshortener_v1/classes.rb +0 -246
  946. data/generated/google/apis/urlshortener_v1/representations.rb +0 -121
  947. data/generated/google/apis/urlshortener_v1/service.rb +0 -169
  948. data/generated/google/apis/urlshortener_v1.rb +0 -34
@@ -22,6 +22,608 @@ module Google
22
22
  module Apis
23
23
  module DialogflowV2beta1
24
24
 
25
+ # The response message for Agents.ExportAgent.
26
+ class GoogleCloudDialogflowCxV3beta1ExportAgentResponse
27
+ include Google::Apis::Core::Hashable
28
+
29
+ # Uncompressed raw byte content for agent.
30
+ # Corresponds to the JSON property `agentContent`
31
+ # NOTE: Values are automatically base64 encoded/decoded in the client library.
32
+ # @return [String]
33
+ attr_accessor :agent_content
34
+
35
+ # The URI to a file containing the exported agent. This field is populated
36
+ # only if `agent_uri` is specified in ExportAgentRequest.
37
+ # Corresponds to the JSON property `agentUri`
38
+ # @return [String]
39
+ attr_accessor :agent_uri
40
+
41
+ def initialize(**args)
42
+ update!(**args)
43
+ end
44
+
45
+ # Update properties of this object
46
+ def update!(**args)
47
+ @agent_content = args[:agent_content] if args.key?(:agent_content)
48
+ @agent_uri = args[:agent_uri] if args.key?(:agent_uri)
49
+ end
50
+ end
51
+
52
+ # Represents page information communicated to and from the webhook.
53
+ class GoogleCloudDialogflowCxV3beta1PageInfo
54
+ include Google::Apis::Core::Hashable
55
+
56
+ # Always present for WebhookRequest. Ignored for WebhookResponse.
57
+ # The unique identifier of the current page.
58
+ # Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
59
+ # ID>/flows/<Flow ID>/pages/<Page ID>`.
60
+ # Corresponds to the JSON property `currentPage`
61
+ # @return [String]
62
+ attr_accessor :current_page
63
+
64
+ # Represents form information.
65
+ # Corresponds to the JSON property `formInfo`
66
+ # @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1PageInfoFormInfo]
67
+ attr_accessor :form_info
68
+
69
+ # Deprecated. Please use WebhookResponse.target_page or
70
+ # WebhookResponse.target_flow instead.
71
+ # Optional for WebhookResponse.
72
+ # The unique identifier of the next page. This field can be set by the
73
+ # webhook to immediately transition to a page different from `current_page`.
74
+ # Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
75
+ # ID>/flows/<Flow ID>/pages/<Page ID>`.
76
+ # Corresponds to the JSON property `nextPage`
77
+ # @return [String]
78
+ attr_accessor :next_page
79
+
80
+ def initialize(**args)
81
+ update!(**args)
82
+ end
83
+
84
+ # Update properties of this object
85
+ def update!(**args)
86
+ @current_page = args[:current_page] if args.key?(:current_page)
87
+ @form_info = args[:form_info] if args.key?(:form_info)
88
+ @next_page = args[:next_page] if args.key?(:next_page)
89
+ end
90
+ end
91
+
92
+ # Represents form information.
93
+ class GoogleCloudDialogflowCxV3beta1PageInfoFormInfo
94
+ include Google::Apis::Core::Hashable
95
+
96
+ # Optional for both WebhookRequest and WebhookResponse.
97
+ # The parameters contained in the form. Note that the webhook cannot add
98
+ # or remove any form parameter.
99
+ # Corresponds to the JSON property `parameterInfo`
100
+ # @return [Array<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1PageInfoFormInfoParameterInfo>]
101
+ attr_accessor :parameter_info
102
+
103
+ # Always present for WebhookRequest. Ignored for WebhookResponse.
104
+ # The current state of the form.
105
+ # Corresponds to the JSON property `state`
106
+ # @return [String]
107
+ attr_accessor :state
108
+
109
+ def initialize(**args)
110
+ update!(**args)
111
+ end
112
+
113
+ # Update properties of this object
114
+ def update!(**args)
115
+ @parameter_info = args[:parameter_info] if args.key?(:parameter_info)
116
+ @state = args[:state] if args.key?(:state)
117
+ end
118
+ end
119
+
120
+ # Represents parameter information.
121
+ class GoogleCloudDialogflowCxV3beta1PageInfoFormInfoParameterInfo
122
+ include Google::Apis::Core::Hashable
123
+
124
+ # Always present for WebhookRequest. Required for
125
+ # WebhookResponse.
126
+ # The human-readable name of the parameter, unique within the form. This
127
+ # field cannot be modified by the webhook.
128
+ # Corresponds to the JSON property `displayName`
129
+ # @return [String]
130
+ attr_accessor :display_name
131
+
132
+ # Optional for WebhookRequest. Ignored for WebhookResponse.
133
+ # Indicates if the parameter value was just collected on the last
134
+ # conversation turn.
135
+ # Corresponds to the JSON property `justCollected`
136
+ # @return [Boolean]
137
+ attr_accessor :just_collected
138
+ alias_method :just_collected?, :just_collected
139
+
140
+ # Not set for WebhookRequest. Optional for WebhookResponse.
141
+ # The prompt to send to the user to fill a required form parameter. This
142
+ # field can be set by the webhook. If set, this field overrides the
143
+ # prompt defined for the form parameter.
144
+ # Corresponds to the JSON property `prompt`
145
+ # @return [Array<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1ResponseMessage>]
146
+ attr_accessor :prompt
147
+
148
+ # Optional for both WebhookRequest and WebhookResponse.
149
+ # Indicates whether the parameter is required. Optional parameters will
150
+ # not trigger prompts; however, they are filled if the user specifies
151
+ # them. Required parameters must be filled before form filling concludes.
152
+ # Corresponds to the JSON property `required`
153
+ # @return [Boolean]
154
+ attr_accessor :required
155
+ alias_method :required?, :required
156
+
157
+ # Always present for WebhookRequest. Required for
158
+ # WebhookResponse. The state of the parameter. This field can be set
159
+ # to INVALID by
160
+ # the webhook to invalidate the parameter; other values set by the
161
+ # webhook will be ignored.
162
+ # Corresponds to the JSON property `state`
163
+ # @return [String]
164
+ attr_accessor :state
165
+
166
+ # Optional for both WebhookRequest and WebhookResponse.
167
+ # The value of the parameter. This field can be set by the webhook to
168
+ # change the parameter value.
169
+ # Corresponds to the JSON property `value`
170
+ # @return [Object]
171
+ attr_accessor :value
172
+
173
+ def initialize(**args)
174
+ update!(**args)
175
+ end
176
+
177
+ # Update properties of this object
178
+ def update!(**args)
179
+ @display_name = args[:display_name] if args.key?(:display_name)
180
+ @just_collected = args[:just_collected] if args.key?(:just_collected)
181
+ @prompt = args[:prompt] if args.key?(:prompt)
182
+ @required = args[:required] if args.key?(:required)
183
+ @state = args[:state] if args.key?(:state)
184
+ @value = args[:value] if args.key?(:value)
185
+ end
186
+ end
187
+
188
+ # Represents a response message that can be returned by a conversational agent.
189
+ # Response messages are also used for output audio synthesis. The approach is
190
+ # as follows:
191
+ # * If at least one OutputAudioText response is present, then all
192
+ # OutputAudioText responses are linearly concatenated, and the result is used
193
+ # for output audio synthesis.
194
+ # * If the OutputAudioText responses are a mixture of text and SSML, then the
195
+ # concatenated result is treated as SSML; otherwise, the result is treated as
196
+ # either text or SSML as appropriate. The agent designer should ideally use
197
+ # either text or SSML consistently throughout the bot design.
198
+ # * Otherwise, all Text responses are linearly concatenated, and the result is
199
+ # used for output audio synthesis.
200
+ # This approach allows for more sophisticated user experience scenarios, where
201
+ # the text displayed to the user may differ from what is heard.
202
+ class GoogleCloudDialogflowCxV3beta1ResponseMessage
203
+ include Google::Apis::Core::Hashable
204
+
205
+ # Indicates that the conversation succeeded, i.e., the bot handled the issue
206
+ # that the customer talked to it about.
207
+ # Dialogflow only uses this to determine which conversations should be
208
+ # counted as successful and doesn't process the metadata in this message in
209
+ # any way. Note that Dialogflow also considers conversations that get to the
210
+ # conversation end page as successful even if they don't return
211
+ # ConversationSuccess.
212
+ # You may set this, for example:
213
+ # * In the entry_fulfillment of a Page if
214
+ # entering the page indicates that the conversation succeeded.
215
+ # * In a webhook response when you determine that you handled the customer
216
+ # issue.
217
+ # Corresponds to the JSON property `conversationSuccess`
218
+ # @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1ResponseMessageConversationSuccess]
219
+ attr_accessor :conversation_success
220
+
221
+ # Indicates that the conversation should be handed off to a human agent.
222
+ # Dialogflow only uses this to determine which conversations were handed off
223
+ # to a human agent for measurement purposes. What else to do with this signal
224
+ # is up to you and your handoff procedures.
225
+ # You may set this, for example:
226
+ # * In the entry_fulfillment of a Page if
227
+ # entering the page indicates something went extremely wrong in the
228
+ # conversation.
229
+ # * In a webhook response when you determine that the customer issue can only
230
+ # be handled by a human.
231
+ # Corresponds to the JSON property `humanAgentHandoff`
232
+ # @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1ResponseMessageHumanAgentHandoff]
233
+ attr_accessor :human_agent_handoff
234
+
235
+ # Returns a response containing a custom, platform-specific payload.
236
+ # Corresponds to the JSON property `payload`
237
+ # @return [Hash<String,Object>]
238
+ attr_accessor :payload
239
+
240
+ # The text response message.
241
+ # Corresponds to the JSON property `text`
242
+ # @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1ResponseMessageText]
243
+ attr_accessor :text
244
+
245
+ def initialize(**args)
246
+ update!(**args)
247
+ end
248
+
249
+ # Update properties of this object
250
+ def update!(**args)
251
+ @conversation_success = args[:conversation_success] if args.key?(:conversation_success)
252
+ @human_agent_handoff = args[:human_agent_handoff] if args.key?(:human_agent_handoff)
253
+ @payload = args[:payload] if args.key?(:payload)
254
+ @text = args[:text] if args.key?(:text)
255
+ end
256
+ end
257
+
258
+ # Indicates that the conversation succeeded, i.e., the bot handled the issue
259
+ # that the customer talked to it about.
260
+ # Dialogflow only uses this to determine which conversations should be
261
+ # counted as successful and doesn't process the metadata in this message in
262
+ # any way. Note that Dialogflow also considers conversations that get to the
263
+ # conversation end page as successful even if they don't return
264
+ # ConversationSuccess.
265
+ # You may set this, for example:
266
+ # * In the entry_fulfillment of a Page if
267
+ # entering the page indicates that the conversation succeeded.
268
+ # * In a webhook response when you determine that you handled the customer
269
+ # issue.
270
+ class GoogleCloudDialogflowCxV3beta1ResponseMessageConversationSuccess
271
+ include Google::Apis::Core::Hashable
272
+
273
+ # Custom metadata. Dialogflow doesn't impose any structure on this.
274
+ # Corresponds to the JSON property `metadata`
275
+ # @return [Hash<String,Object>]
276
+ attr_accessor :metadata
277
+
278
+ def initialize(**args)
279
+ update!(**args)
280
+ end
281
+
282
+ # Update properties of this object
283
+ def update!(**args)
284
+ @metadata = args[:metadata] if args.key?(:metadata)
285
+ end
286
+ end
287
+
288
+ # Indicates that the conversation should be handed off to a human agent.
289
+ # Dialogflow only uses this to determine which conversations were handed off
290
+ # to a human agent for measurement purposes. What else to do with this signal
291
+ # is up to you and your handoff procedures.
292
+ # You may set this, for example:
293
+ # * In the entry_fulfillment of a Page if
294
+ # entering the page indicates something went extremely wrong in the
295
+ # conversation.
296
+ # * In a webhook response when you determine that the customer issue can only
297
+ # be handled by a human.
298
+ class GoogleCloudDialogflowCxV3beta1ResponseMessageHumanAgentHandoff
299
+ include Google::Apis::Core::Hashable
300
+
301
+ # Custom metadata for your handoff procedure. Dialogflow doesn't impose
302
+ # any structure on this.
303
+ # Corresponds to the JSON property `metadata`
304
+ # @return [Hash<String,Object>]
305
+ attr_accessor :metadata
306
+
307
+ def initialize(**args)
308
+ update!(**args)
309
+ end
310
+
311
+ # Update properties of this object
312
+ def update!(**args)
313
+ @metadata = args[:metadata] if args.key?(:metadata)
314
+ end
315
+ end
316
+
317
+ # The text response message.
318
+ class GoogleCloudDialogflowCxV3beta1ResponseMessageText
319
+ include Google::Apis::Core::Hashable
320
+
321
+ # A collection of text responses.
322
+ # Corresponds to the JSON property `text`
323
+ # @return [Array<String>]
324
+ attr_accessor :text
325
+
326
+ def initialize(**args)
327
+ update!(**args)
328
+ end
329
+
330
+ # Update properties of this object
331
+ def update!(**args)
332
+ @text = args[:text] if args.key?(:text)
333
+ end
334
+ end
335
+
336
+ # Represents session information communicated to and from the webhook.
337
+ class GoogleCloudDialogflowCxV3beta1SessionInfo
338
+ include Google::Apis::Core::Hashable
339
+
340
+ # Optional for WebhookRequest. Optional for WebhookResponse.
341
+ # All parameters collected from forms and intents during the session.
342
+ # Parameters can be created, updated, or removed by the webhook. To remove a
343
+ # parameter from the session, the webhook should explicitly set the parameter
344
+ # value to null in WebhookResponse. The map is keyed by parameters'
345
+ # display names.
346
+ # Corresponds to the JSON property `parameters`
347
+ # @return [Hash<String,Object>]
348
+ attr_accessor :parameters
349
+
350
+ # Always present for WebhookRequest. Ignored for WebhookResponse.
351
+ # The unique identifier of the session. This
352
+ # field can be used by the webhook to identify a user.
353
+ # Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
354
+ # ID>/sessions/<Session ID>`.
355
+ # Corresponds to the JSON property `session`
356
+ # @return [String]
357
+ attr_accessor :session
358
+
359
+ def initialize(**args)
360
+ update!(**args)
361
+ end
362
+
363
+ # Update properties of this object
364
+ def update!(**args)
365
+ @parameters = args[:parameters] if args.key?(:parameters)
366
+ @session = args[:session] if args.key?(:session)
367
+ end
368
+ end
369
+
370
+ # The request message for a webhook call.
371
+ class GoogleCloudDialogflowCxV3beta1WebhookRequest
372
+ include Google::Apis::Core::Hashable
373
+
374
+ # Always present. The unique identifier of the DetectIntentResponse that
375
+ # will be returned to the API caller.
376
+ # Corresponds to the JSON property `detectIntentResponseId`
377
+ # @return [String]
378
+ attr_accessor :detect_intent_response_id
379
+
380
+ # Represents fulfillment information communicated to the webhook.
381
+ # Corresponds to the JSON property `fulfillmentInfo`
382
+ # @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1WebhookRequestFulfillmentInfo]
383
+ attr_accessor :fulfillment_info
384
+
385
+ # Represents intent information communicated to the webhook.
386
+ # Corresponds to the JSON property `intentInfo`
387
+ # @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1WebhookRequestIntentInfo]
388
+ attr_accessor :intent_info
389
+
390
+ # The list of rich message responses to present to the user. Webhook can
391
+ # choose to append or replace this list in
392
+ # WebhookResponse.fulfillment_response;
393
+ # Corresponds to the JSON property `messages`
394
+ # @return [Array<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1ResponseMessage>]
395
+ attr_accessor :messages
396
+
397
+ # Represents page information communicated to and from the webhook.
398
+ # Corresponds to the JSON property `pageInfo`
399
+ # @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1PageInfo]
400
+ attr_accessor :page_info
401
+
402
+ # Custom data set in QueryParameters.payload.
403
+ # Corresponds to the JSON property `payload`
404
+ # @return [Hash<String,Object>]
405
+ attr_accessor :payload
406
+
407
+ # Represents session information communicated to and from the webhook.
408
+ # Corresponds to the JSON property `sessionInfo`
409
+ # @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1SessionInfo]
410
+ attr_accessor :session_info
411
+
412
+ def initialize(**args)
413
+ update!(**args)
414
+ end
415
+
416
+ # Update properties of this object
417
+ def update!(**args)
418
+ @detect_intent_response_id = args[:detect_intent_response_id] if args.key?(:detect_intent_response_id)
419
+ @fulfillment_info = args[:fulfillment_info] if args.key?(:fulfillment_info)
420
+ @intent_info = args[:intent_info] if args.key?(:intent_info)
421
+ @messages = args[:messages] if args.key?(:messages)
422
+ @page_info = args[:page_info] if args.key?(:page_info)
423
+ @payload = args[:payload] if args.key?(:payload)
424
+ @session_info = args[:session_info] if args.key?(:session_info)
425
+ end
426
+ end
427
+
428
+ # Represents fulfillment information communicated to the webhook.
429
+ class GoogleCloudDialogflowCxV3beta1WebhookRequestFulfillmentInfo
430
+ include Google::Apis::Core::Hashable
431
+
432
+ # Always present. The tag used to identify which fulfillment is being
433
+ # called.
434
+ # Corresponds to the JSON property `tag`
435
+ # @return [String]
436
+ attr_accessor :tag
437
+
438
+ def initialize(**args)
439
+ update!(**args)
440
+ end
441
+
442
+ # Update properties of this object
443
+ def update!(**args)
444
+ @tag = args[:tag] if args.key?(:tag)
445
+ end
446
+ end
447
+
448
+ # Represents intent information communicated to the webhook.
449
+ class GoogleCloudDialogflowCxV3beta1WebhookRequestIntentInfo
450
+ include Google::Apis::Core::Hashable
451
+
452
+ # Always present. The unique identifier of the last matched
453
+ # intent. Format: `projects/<Project ID>/locations/<Location
454
+ # ID>/agents/<Agent ID>/intents/<Intent ID>`.
455
+ # Corresponds to the JSON property `lastMatchedIntent`
456
+ # @return [String]
457
+ attr_accessor :last_matched_intent
458
+
459
+ # Parameters identified as a result of intent matching. This is a map of
460
+ # the name of the identified parameter to the value of the parameter
461
+ # identified from the user's utterance. All parameters defined in the
462
+ # matched intent that are identified will be surfaced here.
463
+ # Corresponds to the JSON property `parameters`
464
+ # @return [Hash<String,Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1WebhookRequestIntentInfoIntentParameterValue>]
465
+ attr_accessor :parameters
466
+
467
+ def initialize(**args)
468
+ update!(**args)
469
+ end
470
+
471
+ # Update properties of this object
472
+ def update!(**args)
473
+ @last_matched_intent = args[:last_matched_intent] if args.key?(:last_matched_intent)
474
+ @parameters = args[:parameters] if args.key?(:parameters)
475
+ end
476
+ end
477
+
478
+ # Represents a value for an intent parameter.
479
+ class GoogleCloudDialogflowCxV3beta1WebhookRequestIntentInfoIntentParameterValue
480
+ include Google::Apis::Core::Hashable
481
+
482
+ # Always present. Original text value extracted from user utterance.
483
+ # Corresponds to the JSON property `originalValue`
484
+ # @return [String]
485
+ attr_accessor :original_value
486
+
487
+ # Always present. Structured value for the parameter extracted from user
488
+ # utterance.
489
+ # Corresponds to the JSON property `resolvedValue`
490
+ # @return [Object]
491
+ attr_accessor :resolved_value
492
+
493
+ def initialize(**args)
494
+ update!(**args)
495
+ end
496
+
497
+ # Update properties of this object
498
+ def update!(**args)
499
+ @original_value = args[:original_value] if args.key?(:original_value)
500
+ @resolved_value = args[:resolved_value] if args.key?(:resolved_value)
501
+ end
502
+ end
503
+
504
+ # The response message for a webhook call.
505
+ class GoogleCloudDialogflowCxV3beta1WebhookResponse
506
+ include Google::Apis::Core::Hashable
507
+
508
+ # Represents a fulfillment response to the user.
509
+ # Corresponds to the JSON property `fulfillmentResponse`
510
+ # @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1WebhookResponseFulfillmentResponse]
511
+ attr_accessor :fulfillment_response
512
+
513
+ # Represents page information communicated to and from the webhook.
514
+ # Corresponds to the JSON property `pageInfo`
515
+ # @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1PageInfo]
516
+ attr_accessor :page_info
517
+
518
+ # Value to append directly to QueryResult.webhook_payloads.
519
+ # Corresponds to the JSON property `payload`
520
+ # @return [Hash<String,Object>]
521
+ attr_accessor :payload
522
+
523
+ # Represents session information communicated to and from the webhook.
524
+ # Corresponds to the JSON property `sessionInfo`
525
+ # @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1SessionInfo]
526
+ attr_accessor :session_info
527
+
528
+ # The target flow to transition to.
529
+ # Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
530
+ # ID>/flows/<Flow ID>`.
531
+ # Corresponds to the JSON property `targetFlow`
532
+ # @return [String]
533
+ attr_accessor :target_flow
534
+
535
+ # The target page to transition to.
536
+ # Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
537
+ # ID>/flows/<Flow ID>/pages/<Page ID>`.
538
+ # Corresponds to the JSON property `targetPage`
539
+ # @return [String]
540
+ attr_accessor :target_page
541
+
542
+ def initialize(**args)
543
+ update!(**args)
544
+ end
545
+
546
+ # Update properties of this object
547
+ def update!(**args)
548
+ @fulfillment_response = args[:fulfillment_response] if args.key?(:fulfillment_response)
549
+ @page_info = args[:page_info] if args.key?(:page_info)
550
+ @payload = args[:payload] if args.key?(:payload)
551
+ @session_info = args[:session_info] if args.key?(:session_info)
552
+ @target_flow = args[:target_flow] if args.key?(:target_flow)
553
+ @target_page = args[:target_page] if args.key?(:target_page)
554
+ end
555
+ end
556
+
557
+ # Represents a fulfillment response to the user.
558
+ class GoogleCloudDialogflowCxV3beta1WebhookResponseFulfillmentResponse
559
+ include Google::Apis::Core::Hashable
560
+
561
+ # Merge behavior for `messages`.
562
+ # Corresponds to the JSON property `mergeBehavior`
563
+ # @return [String]
564
+ attr_accessor :merge_behavior
565
+
566
+ # The list of rich message responses to present to the user.
567
+ # Corresponds to the JSON property `messages`
568
+ # @return [Array<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1ResponseMessage>]
569
+ attr_accessor :messages
570
+
571
+ def initialize(**args)
572
+ update!(**args)
573
+ end
574
+
575
+ # Update properties of this object
576
+ def update!(**args)
577
+ @merge_behavior = args[:merge_behavior] if args.key?(:merge_behavior)
578
+ @messages = args[:messages] if args.key?(:messages)
579
+ end
580
+ end
581
+
582
+ # Represents a part of a message possibly annotated with an entity. The part
583
+ # can be an entity or purely a part of the message between two entities or
584
+ # message start/end.
585
+ class GoogleCloudDialogflowV2AnnotatedMessagePart
586
+ include Google::Apis::Core::Hashable
587
+
588
+ # The [Dialogflow system entity
589
+ # type](https://cloud.google.com/dialogflow/docs/reference/system-entities)
590
+ # of this message part. If this is empty, Dialogflow could not annotate the
591
+ # phrase part with a system entity.
592
+ # Corresponds to the JSON property `entityType`
593
+ # @return [String]
594
+ attr_accessor :entity_type
595
+
596
+ # The [Dialogflow system entity formatted value
597
+ # ](https://cloud.google.com/dialogflow/docs/reference/system-entities) of
598
+ # this message part. For example for a system entity of type
599
+ # `@sys.unit-currency`, this may contain:
600
+ # <pre>
601
+ # `
602
+ # "amount": 5,
603
+ # "currency": "USD"
604
+ # `
605
+ # </pre>
606
+ # Corresponds to the JSON property `formattedValue`
607
+ # @return [Object]
608
+ attr_accessor :formatted_value
609
+
610
+ # A part of a message possibly annotated with an entity.
611
+ # Corresponds to the JSON property `text`
612
+ # @return [String]
613
+ attr_accessor :text
614
+
615
+ def initialize(**args)
616
+ update!(**args)
617
+ end
618
+
619
+ # Update properties of this object
620
+ def update!(**args)
621
+ @entity_type = args[:entity_type] if args.key?(:entity_type)
622
+ @formatted_value = args[:formatted_value] if args.key?(:formatted_value)
623
+ @text = args[:text] if args.key?(:text)
624
+ end
625
+ end
626
+
25
627
  # The response message for EntityTypes.BatchUpdateEntityTypes.
26
628
  class GoogleCloudDialogflowV2BatchUpdateEntityTypesResponse
27
629
  include Google::Apis::Core::Hashable
@@ -65,7 +667,7 @@ module Google
65
667
  include Google::Apis::Core::Hashable
66
668
 
67
669
  # Optional. The number of conversational query requests after which the
68
- # context expires. If set to `0` (the default) the context expires
670
+ # context expires. The default is `0`. If set to `0`, the context expires
69
671
  # immediately. Contexts expire automatically after 20 minutes if there
70
672
  # are no matching queries.
71
673
  # Corresponds to the JSON property `lifespanCount`
@@ -73,17 +675,35 @@ module Google
73
675
  attr_accessor :lifespan_count
74
676
 
75
677
  # Required. The unique identifier of the context. Format:
76
- # `projects/<Project ID>/agent/sessions/<Session ID>/contexts/<Context ID>`.
678
+ # `projects/<Project ID>/agent/sessions/<Session ID>/contexts/<Context ID>`,
679
+ # or `projects/<Project ID>/agent/environments/<Environment ID>/users/<User
680
+ # ID>/sessions/<Session ID>/contexts/<Context ID>`.
77
681
  # The `Context ID` is always converted to lowercase, may only contain
78
- # characters in [a-zA-Z0-9_-%] and may be at most 250 bytes long.
682
+ # characters in a-zA-Z0-9_-% and may be at most 250 bytes long.
683
+ # If `Environment ID` is not specified, we assume default 'draft'
684
+ # environment. If `User ID` is not specified, we assume default '-' user.
685
+ # The following context names are reserved for internal use by Dialogflow.
686
+ # You should not use these contexts or create contexts with these names:
687
+ # * `__system_counters__`
688
+ # * `*_id_dialog_context`
689
+ # * `*_dialog_params_size`
79
690
  # Corresponds to the JSON property `name`
80
691
  # @return [String]
81
692
  attr_accessor :name
82
693
 
83
694
  # Optional. The collection of parameters associated with this context.
84
- # Refer to [this
85
- # doc](https://cloud.google.com/dialogflow/docs/intents-actions-parameters)
86
- # for syntax.
695
+ # Depending on your protocol or client library language, this is a
696
+ # map, associative array, symbol table, dictionary, or JSON object
697
+ # composed of a collection of (MapKey, MapValue) pairs:
698
+ # - MapKey type: string
699
+ # - MapKey value: parameter name
700
+ # - MapValue type:
701
+ # - If parameter's entity type is a composite entity: map
702
+ # - Else: string or number, depending on parameter value type
703
+ # - MapValue value:
704
+ # - If parameter's entity type is a composite entity:
705
+ # map from composite entity property names to property values
706
+ # - Else: parameter value
87
707
  # Corresponds to the JSON property `parameters`
88
708
  # @return [Hash<String,Object>]
89
709
  attr_accessor :parameters
@@ -100,6 +720,51 @@ module Google
100
720
  end
101
721
  end
102
722
 
723
+ # Represents a notification sent to Cloud Pub/Sub subscribers for conversation
724
+ # lifecycle events.
725
+ class GoogleCloudDialogflowV2ConversationEvent
726
+ include Google::Apis::Core::Hashable
727
+
728
+ # The unique identifier of the conversation this notification
729
+ # refers to.
730
+ # Format: `projects/<Project ID>/conversations/<Conversation ID>`.
731
+ # Corresponds to the JSON property `conversation`
732
+ # @return [String]
733
+ attr_accessor :conversation
734
+
735
+ # The `Status` type defines a logical error model that is suitable for
736
+ # different programming environments, including REST APIs and RPC APIs. It is
737
+ # used by [gRPC](https://github.com/grpc). Each `Status` message contains
738
+ # three pieces of data: error code, error message, and error details.
739
+ # You can find out more about this error model and how to work with it in the
740
+ # [API Design Guide](https://cloud.google.com/apis/design/errors).
741
+ # Corresponds to the JSON property `errorStatus`
742
+ # @return [Google::Apis::DialogflowV2beta1::GoogleRpcStatus]
743
+ attr_accessor :error_status
744
+
745
+ # Represents a message posted into a conversation.
746
+ # Corresponds to the JSON property `newMessagePayload`
747
+ # @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2Message]
748
+ attr_accessor :new_message_payload
749
+
750
+ # The type of the event that this notification refers to.
751
+ # Corresponds to the JSON property `type`
752
+ # @return [String]
753
+ attr_accessor :type
754
+
755
+ def initialize(**args)
756
+ update!(**args)
757
+ end
758
+
759
+ # Update properties of this object
760
+ def update!(**args)
761
+ @conversation = args[:conversation] if args.key?(:conversation)
762
+ @error_status = args[:error_status] if args.key?(:error_status)
763
+ @new_message_payload = args[:new_message_payload] if args.key?(:new_message_payload)
764
+ @type = args[:type] if args.key?(:type)
765
+ end
766
+ end
767
+
103
768
  # Represents an entity type.
104
769
  # Entity types serve as a tool for extracting parameter values from natural
105
770
  # language queries.
@@ -173,7 +838,7 @@ module Google
173
838
  # For example, if the entity type is *vegetable*, the value could be
174
839
  # *scallions*.
175
840
  # For `KIND_MAP` entity types:
176
- # * A canonical value to be used in place of synonyms.
841
+ # * A reference value to be used in place of synonyms.
177
842
  # For `KIND_LIST` entity types:
178
843
  # * A string that can contain references to other entity types (with or
179
844
  # without aliases).
@@ -213,7 +878,19 @@ module Google
213
878
  # @return [String]
214
879
  attr_accessor :name
215
880
 
216
- # Optional. The collection of parameters associated with the event.
881
+ # The collection of parameters associated with the event.
882
+ # Depending on your protocol or client library language, this is a
883
+ # map, associative array, symbol table, dictionary, or JSON object
884
+ # composed of a collection of (MapKey, MapValue) pairs:
885
+ # - MapKey type: string
886
+ # - MapKey value: parameter name
887
+ # - MapValue type:
888
+ # - If parameter's entity type is a composite entity: map
889
+ # - Else: string or number, depending on parameter value type
890
+ # - MapValue value:
891
+ # - If parameter's entity type is a composite entity:
892
+ # map from composite entity property names to property values
893
+ # - Else: parameter value
217
894
  # Corresponds to the JSON property `parameters`
218
895
  # @return [Hash<String,Object>]
219
896
  attr_accessor :parameters
@@ -283,6 +960,7 @@ module Google
283
960
  # Optional. The collection of event names that trigger the intent.
284
961
  # If the collection of input contexts is not empty, all of the contexts must
285
962
  # be present in the active user session for an event to trigger this intent.
963
+ # Event names are limited to 150 characters.
286
964
  # Corresponds to the JSON property `events`
287
965
  # @return [Array<String>]
288
966
  attr_accessor :events
@@ -313,7 +991,7 @@ module Google
313
991
  attr_accessor :messages
314
992
 
315
993
  # Optional. Indicates whether Machine Learning is disabled for the intent.
316
- # Note: If `ml_diabled` setting is set to true, then this intent is not
994
+ # Note: If `ml_disabled` setting is set to true, then this intent is not
317
995
  # taken into account during inference in `ML ONLY` match mode. Also,
318
996
  # auto-markup in the UI is turned off.
319
997
  # Corresponds to the JSON property `mlDisabled`
@@ -321,7 +999,7 @@ module Google
321
999
  attr_accessor :ml_disabled
322
1000
  alias_method :ml_disabled?, :ml_disabled
323
1001
 
324
- # The unique identifier of this intent.
1002
+ # Optional. The unique identifier of this intent.
325
1003
  # Required for Intents.UpdateIntent and Intents.BatchUpdateIntents
326
1004
  # methods.
327
1005
  # Format: `projects/<Project ID>/agent/intents/<Intent ID>`.
@@ -345,8 +1023,9 @@ module Google
345
1023
 
346
1024
  # Read-only after creation. The unique identifier of the parent intent in the
347
1025
  # chain of followup intents. You can set this field when creating an intent,
348
- # for example with CreateIntent or BatchUpdateIntents, in order to
349
- # make this intent a followup intent.
1026
+ # for example with CreateIntent or
1027
+ # BatchUpdateIntents, in order to make this
1028
+ # intent a followup intent.
350
1029
  # It identifies the parent followup intent.
351
1030
  # Format: `projects/<Project ID>/agent/intents/<Intent ID>`.
352
1031
  # Corresponds to the JSON property `parentFollowupIntentName`
@@ -354,9 +1033,12 @@ module Google
354
1033
  attr_accessor :parent_followup_intent_name
355
1034
 
356
1035
  # Optional. The priority of this intent. Higher numbers represent higher
357
- # priorities. If this is zero or unspecified, we use the default
358
- # priority 500000.
359
- # Negative numbers mean that the intent is disabled.
1036
+ # priorities.
1037
+ # - If the supplied value is unspecified or 0, the service
1038
+ # translates the value to 500,000, which corresponds to the
1039
+ # `Normal` priority in the console.
1040
+ # - If the supplied value is negative, the intent is ignored
1041
+ # in runtime detect intent requests.
360
1042
  # Corresponds to the JSON property `priority`
361
1043
  # @return [Fixnum]
362
1044
  attr_accessor :priority
@@ -441,7 +1123,11 @@ module Google
441
1123
  end
442
1124
  end
443
1125
 
444
- # Corresponds to the `Response` field in the Dialogflow console.
1126
+ # A rich response message.
1127
+ # Corresponds to the intent `Response` field in the Dialogflow console.
1128
+ # For more information, see
1129
+ # [Rich response
1130
+ # messages](https://cloud.google.com/dialogflow/docs/intents-rich-messages).
445
1131
  class GoogleCloudDialogflowV2IntentMessage
446
1132
  include Google::Apis::Core::Hashable
447
1133
 
@@ -450,6 +1136,12 @@ module Google
450
1136
  # @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2IntentMessageBasicCard]
451
1137
  attr_accessor :basic_card
452
1138
 
1139
+ # Browse Carousel Card for Actions on Google.
1140
+ # https://developers.google.com/actions/assistant/responses#browsing_carousel
1141
+ # Corresponds to the JSON property `browseCarouselCard`
1142
+ # @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2IntentMessageBrowseCarouselCard]
1143
+ attr_accessor :browse_carousel_card
1144
+
453
1145
  # The card response message.
454
1146
  # Corresponds to the JSON property `card`
455
1147
  # @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2IntentMessageCard]
@@ -476,9 +1168,12 @@ module Google
476
1168
  # @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2IntentMessageListSelect]
477
1169
  attr_accessor :list_select
478
1170
 
479
- # Returns a response containing a custom, platform-specific payload.
480
- # See the Intent.Message.Platform type for a description of the
481
- # structure that may be required for your platform.
1171
+ # The media content card for Actions on Google.
1172
+ # Corresponds to the JSON property `mediaContent`
1173
+ # @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2IntentMessageMediaContent]
1174
+ attr_accessor :media_content
1175
+
1176
+ # A custom platform-specific response.
482
1177
  # Corresponds to the JSON property `payload`
483
1178
  # @return [Hash<String,Object>]
484
1179
  attr_accessor :payload
@@ -506,6 +1201,11 @@ module Google
506
1201
  # @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2IntentMessageSuggestions]
507
1202
  attr_accessor :suggestions
508
1203
 
1204
+ # Table card for Actions on Google.
1205
+ # Corresponds to the JSON property `tableCard`
1206
+ # @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2IntentMessageTableCard]
1207
+ attr_accessor :table_card
1208
+
509
1209
  # The text response message.
510
1210
  # Corresponds to the JSON property `text`
511
1211
  # @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2IntentMessageText]
@@ -518,16 +1218,19 @@ module Google
518
1218
  # Update properties of this object
519
1219
  def update!(**args)
520
1220
  @basic_card = args[:basic_card] if args.key?(:basic_card)
1221
+ @browse_carousel_card = args[:browse_carousel_card] if args.key?(:browse_carousel_card)
521
1222
  @card = args[:card] if args.key?(:card)
522
1223
  @carousel_select = args[:carousel_select] if args.key?(:carousel_select)
523
1224
  @image = args[:image] if args.key?(:image)
524
1225
  @link_out_suggestion = args[:link_out_suggestion] if args.key?(:link_out_suggestion)
525
1226
  @list_select = args[:list_select] if args.key?(:list_select)
1227
+ @media_content = args[:media_content] if args.key?(:media_content)
526
1228
  @payload = args[:payload] if args.key?(:payload)
527
1229
  @platform = args[:platform] if args.key?(:platform)
528
1230
  @quick_replies = args[:quick_replies] if args.key?(:quick_replies)
529
1231
  @simple_responses = args[:simple_responses] if args.key?(:simple_responses)
530
1232
  @suggestions = args[:suggestions] if args.key?(:suggestions)
1233
+ @table_card = args[:table_card] if args.key?(:table_card)
531
1234
  @text = args[:text] if args.key?(:text)
532
1235
  end
533
1236
  end
@@ -619,6 +1322,105 @@ module Google
619
1322
  end
620
1323
  end
621
1324
 
1325
+ # Browse Carousel Card for Actions on Google.
1326
+ # https://developers.google.com/actions/assistant/responses#browsing_carousel
1327
+ class GoogleCloudDialogflowV2IntentMessageBrowseCarouselCard
1328
+ include Google::Apis::Core::Hashable
1329
+
1330
+ # Optional. Settings for displaying the image. Applies to every image in
1331
+ # items.
1332
+ # Corresponds to the JSON property `imageDisplayOptions`
1333
+ # @return [String]
1334
+ attr_accessor :image_display_options
1335
+
1336
+ # Required. List of items in the Browse Carousel Card. Minimum of two
1337
+ # items, maximum of ten.
1338
+ # Corresponds to the JSON property `items`
1339
+ # @return [Array<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardBrowseCarouselCardItem>]
1340
+ attr_accessor :items
1341
+
1342
+ def initialize(**args)
1343
+ update!(**args)
1344
+ end
1345
+
1346
+ # Update properties of this object
1347
+ def update!(**args)
1348
+ @image_display_options = args[:image_display_options] if args.key?(:image_display_options)
1349
+ @items = args[:items] if args.key?(:items)
1350
+ end
1351
+ end
1352
+
1353
+ # Browsing carousel tile
1354
+ class GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardBrowseCarouselCardItem
1355
+ include Google::Apis::Core::Hashable
1356
+
1357
+ # Optional. Description of the carousel item. Maximum of four lines of
1358
+ # text.
1359
+ # Corresponds to the JSON property `description`
1360
+ # @return [String]
1361
+ attr_accessor :description
1362
+
1363
+ # Optional. Text that appears at the bottom of the Browse Carousel
1364
+ # Card. Maximum of one line of text.
1365
+ # Corresponds to the JSON property `footer`
1366
+ # @return [String]
1367
+ attr_accessor :footer
1368
+
1369
+ # The image response message.
1370
+ # Corresponds to the JSON property `image`
1371
+ # @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2IntentMessageImage]
1372
+ attr_accessor :image
1373
+
1374
+ # Actions on Google action to open a given url.
1375
+ # Corresponds to the JSON property `openUriAction`
1376
+ # @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardBrowseCarouselCardItemOpenUrlAction]
1377
+ attr_accessor :open_uri_action
1378
+
1379
+ # Required. Title of the carousel item. Maximum of two lines of text.
1380
+ # Corresponds to the JSON property `title`
1381
+ # @return [String]
1382
+ attr_accessor :title
1383
+
1384
+ def initialize(**args)
1385
+ update!(**args)
1386
+ end
1387
+
1388
+ # Update properties of this object
1389
+ def update!(**args)
1390
+ @description = args[:description] if args.key?(:description)
1391
+ @footer = args[:footer] if args.key?(:footer)
1392
+ @image = args[:image] if args.key?(:image)
1393
+ @open_uri_action = args[:open_uri_action] if args.key?(:open_uri_action)
1394
+ @title = args[:title] if args.key?(:title)
1395
+ end
1396
+ end
1397
+
1398
+ # Actions on Google action to open a given url.
1399
+ class GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardBrowseCarouselCardItemOpenUrlAction
1400
+ include Google::Apis::Core::Hashable
1401
+
1402
+ # Required. URL
1403
+ # Corresponds to the JSON property `url`
1404
+ # @return [String]
1405
+ attr_accessor :url
1406
+
1407
+ # Optional. Specifies the type of viewer that is used when opening
1408
+ # the URL. Defaults to opening via web browser.
1409
+ # Corresponds to the JSON property `urlTypeHint`
1410
+ # @return [String]
1411
+ attr_accessor :url_type_hint
1412
+
1413
+ def initialize(**args)
1414
+ update!(**args)
1415
+ end
1416
+
1417
+ # Update properties of this object
1418
+ def update!(**args)
1419
+ @url = args[:url] if args.key?(:url)
1420
+ @url_type_hint = args[:url_type_hint] if args.key?(:url_type_hint)
1421
+ end
1422
+ end
1423
+
622
1424
  # The card response message.
623
1425
  class GoogleCloudDialogflowV2IntentMessageCard
624
1426
  include Google::Apis::Core::Hashable
@@ -721,10 +1523,37 @@ module Google
721
1523
  # @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2IntentMessageSelectItemInfo]
722
1524
  attr_accessor :info
723
1525
 
724
- # Required. Title of the carousel item.
725
- # Corresponds to the JSON property `title`
1526
+ # Required. Title of the carousel item.
1527
+ # Corresponds to the JSON property `title`
1528
+ # @return [String]
1529
+ attr_accessor :title
1530
+
1531
+ def initialize(**args)
1532
+ update!(**args)
1533
+ end
1534
+
1535
+ # Update properties of this object
1536
+ def update!(**args)
1537
+ @description = args[:description] if args.key?(:description)
1538
+ @image = args[:image] if args.key?(:image)
1539
+ @info = args[:info] if args.key?(:info)
1540
+ @title = args[:title] if args.key?(:title)
1541
+ end
1542
+ end
1543
+
1544
+ # Column properties for TableCard.
1545
+ class GoogleCloudDialogflowV2IntentMessageColumnProperties
1546
+ include Google::Apis::Core::Hashable
1547
+
1548
+ # Required. Column heading.
1549
+ # Corresponds to the JSON property `header`
726
1550
  # @return [String]
727
- attr_accessor :title
1551
+ attr_accessor :header
1552
+
1553
+ # Optional. Defines text alignment for all cells in this column.
1554
+ # Corresponds to the JSON property `horizontalAlignment`
1555
+ # @return [String]
1556
+ attr_accessor :horizontal_alignment
728
1557
 
729
1558
  def initialize(**args)
730
1559
  update!(**args)
@@ -732,10 +1561,8 @@ module Google
732
1561
 
733
1562
  # Update properties of this object
734
1563
  def update!(**args)
735
- @description = args[:description] if args.key?(:description)
736
- @image = args[:image] if args.key?(:image)
737
- @info = args[:info] if args.key?(:info)
738
- @title = args[:title] if args.key?(:title)
1564
+ @header = args[:header] if args.key?(:header)
1565
+ @horizontal_alignment = args[:horizontal_alignment] if args.key?(:horizontal_alignment)
739
1566
  end
740
1567
  end
741
1568
 
@@ -801,6 +1628,11 @@ module Google
801
1628
  # @return [Array<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2IntentMessageListSelectItem>]
802
1629
  attr_accessor :items
803
1630
 
1631
+ # Optional. Subtitle of the list.
1632
+ # Corresponds to the JSON property `subtitle`
1633
+ # @return [String]
1634
+ attr_accessor :subtitle
1635
+
804
1636
  # Optional. The overall title of the list.
805
1637
  # Corresponds to the JSON property `title`
806
1638
  # @return [String]
@@ -813,6 +1645,7 @@ module Google
813
1645
  # Update properties of this object
814
1646
  def update!(**args)
815
1647
  @items = args[:items] if args.key?(:items)
1648
+ @subtitle = args[:subtitle] if args.key?(:subtitle)
816
1649
  @title = args[:title] if args.key?(:title)
817
1650
  end
818
1651
  end
@@ -855,6 +1688,74 @@ module Google
855
1688
  end
856
1689
  end
857
1690
 
1691
+ # The media content card for Actions on Google.
1692
+ class GoogleCloudDialogflowV2IntentMessageMediaContent
1693
+ include Google::Apis::Core::Hashable
1694
+
1695
+ # Required. List of media objects.
1696
+ # Corresponds to the JSON property `mediaObjects`
1697
+ # @return [Array<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2IntentMessageMediaContentResponseMediaObject>]
1698
+ attr_accessor :media_objects
1699
+
1700
+ # Optional. What type of media is the content (ie "audio").
1701
+ # Corresponds to the JSON property `mediaType`
1702
+ # @return [String]
1703
+ attr_accessor :media_type
1704
+
1705
+ def initialize(**args)
1706
+ update!(**args)
1707
+ end
1708
+
1709
+ # Update properties of this object
1710
+ def update!(**args)
1711
+ @media_objects = args[:media_objects] if args.key?(:media_objects)
1712
+ @media_type = args[:media_type] if args.key?(:media_type)
1713
+ end
1714
+ end
1715
+
1716
+ # Response media object for media content card.
1717
+ class GoogleCloudDialogflowV2IntentMessageMediaContentResponseMediaObject
1718
+ include Google::Apis::Core::Hashable
1719
+
1720
+ # Required. Url where the media is stored.
1721
+ # Corresponds to the JSON property `contentUrl`
1722
+ # @return [String]
1723
+ attr_accessor :content_url
1724
+
1725
+ # Optional. Description of media card.
1726
+ # Corresponds to the JSON property `description`
1727
+ # @return [String]
1728
+ attr_accessor :description
1729
+
1730
+ # The image response message.
1731
+ # Corresponds to the JSON property `icon`
1732
+ # @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2IntentMessageImage]
1733
+ attr_accessor :icon
1734
+
1735
+ # The image response message.
1736
+ # Corresponds to the JSON property `largeImage`
1737
+ # @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2IntentMessageImage]
1738
+ attr_accessor :large_image
1739
+
1740
+ # Required. Name of media card.
1741
+ # Corresponds to the JSON property `name`
1742
+ # @return [String]
1743
+ attr_accessor :name
1744
+
1745
+ def initialize(**args)
1746
+ update!(**args)
1747
+ end
1748
+
1749
+ # Update properties of this object
1750
+ def update!(**args)
1751
+ @content_url = args[:content_url] if args.key?(:content_url)
1752
+ @description = args[:description] if args.key?(:description)
1753
+ @icon = args[:icon] if args.key?(:icon)
1754
+ @large_image = args[:large_image] if args.key?(:large_image)
1755
+ @name = args[:name] if args.key?(:name)
1756
+ end
1757
+ end
1758
+
858
1759
  # The quick replies response message.
859
1760
  class GoogleCloudDialogflowV2IntentMessageQuickReplies
860
1761
  include Google::Apis::Core::Hashable
@@ -1003,6 +1904,100 @@ module Google
1003
1904
  end
1004
1905
  end
1005
1906
 
1907
+ # Table card for Actions on Google.
1908
+ class GoogleCloudDialogflowV2IntentMessageTableCard
1909
+ include Google::Apis::Core::Hashable
1910
+
1911
+ # Optional. List of buttons for the card.
1912
+ # Corresponds to the JSON property `buttons`
1913
+ # @return [Array<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2IntentMessageBasicCardButton>]
1914
+ attr_accessor :buttons
1915
+
1916
+ # Optional. Display properties for the columns in this table.
1917
+ # Corresponds to the JSON property `columnProperties`
1918
+ # @return [Array<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2IntentMessageColumnProperties>]
1919
+ attr_accessor :column_properties
1920
+
1921
+ # The image response message.
1922
+ # Corresponds to the JSON property `image`
1923
+ # @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2IntentMessageImage]
1924
+ attr_accessor :image
1925
+
1926
+ # Optional. Rows in this table of data.
1927
+ # Corresponds to the JSON property `rows`
1928
+ # @return [Array<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2IntentMessageTableCardRow>]
1929
+ attr_accessor :rows
1930
+
1931
+ # Optional. Subtitle to the title.
1932
+ # Corresponds to the JSON property `subtitle`
1933
+ # @return [String]
1934
+ attr_accessor :subtitle
1935
+
1936
+ # Required. Title of the card.
1937
+ # Corresponds to the JSON property `title`
1938
+ # @return [String]
1939
+ attr_accessor :title
1940
+
1941
+ def initialize(**args)
1942
+ update!(**args)
1943
+ end
1944
+
1945
+ # Update properties of this object
1946
+ def update!(**args)
1947
+ @buttons = args[:buttons] if args.key?(:buttons)
1948
+ @column_properties = args[:column_properties] if args.key?(:column_properties)
1949
+ @image = args[:image] if args.key?(:image)
1950
+ @rows = args[:rows] if args.key?(:rows)
1951
+ @subtitle = args[:subtitle] if args.key?(:subtitle)
1952
+ @title = args[:title] if args.key?(:title)
1953
+ end
1954
+ end
1955
+
1956
+ # Cell of TableCardRow.
1957
+ class GoogleCloudDialogflowV2IntentMessageTableCardCell
1958
+ include Google::Apis::Core::Hashable
1959
+
1960
+ # Required. Text in this cell.
1961
+ # Corresponds to the JSON property `text`
1962
+ # @return [String]
1963
+ attr_accessor :text
1964
+
1965
+ def initialize(**args)
1966
+ update!(**args)
1967
+ end
1968
+
1969
+ # Update properties of this object
1970
+ def update!(**args)
1971
+ @text = args[:text] if args.key?(:text)
1972
+ end
1973
+ end
1974
+
1975
+ # Row of TableCard.
1976
+ class GoogleCloudDialogflowV2IntentMessageTableCardRow
1977
+ include Google::Apis::Core::Hashable
1978
+
1979
+ # Optional. List of cells that make up this row.
1980
+ # Corresponds to the JSON property `cells`
1981
+ # @return [Array<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2IntentMessageTableCardCell>]
1982
+ attr_accessor :cells
1983
+
1984
+ # Optional. Whether to add a visual divider after this row.
1985
+ # Corresponds to the JSON property `dividerAfter`
1986
+ # @return [Boolean]
1987
+ attr_accessor :divider_after
1988
+ alias_method :divider_after?, :divider_after
1989
+
1990
+ def initialize(**args)
1991
+ update!(**args)
1992
+ end
1993
+
1994
+ # Update properties of this object
1995
+ def update!(**args)
1996
+ @cells = args[:cells] if args.key?(:cells)
1997
+ @divider_after = args[:divider_after] if args.key?(:divider_after)
1998
+ end
1999
+ end
2000
+
1006
2001
  # The text response message.
1007
2002
  class GoogleCloudDialogflowV2IntentMessageText
1008
2003
  include Google::Apis::Core::Hashable
@@ -1135,7 +2130,107 @@ module Google
1135
2130
  # Required. The type of the training phrase.
1136
2131
  # Corresponds to the JSON property `type`
1137
2132
  # @return [String]
1138
- attr_accessor :type
2133
+ attr_accessor :type
2134
+
2135
+ def initialize(**args)
2136
+ update!(**args)
2137
+ end
2138
+
2139
+ # Update properties of this object
2140
+ def update!(**args)
2141
+ @name = args[:name] if args.key?(:name)
2142
+ @parts = args[:parts] if args.key?(:parts)
2143
+ @times_added_count = args[:times_added_count] if args.key?(:times_added_count)
2144
+ @type = args[:type] if args.key?(:type)
2145
+ end
2146
+ end
2147
+
2148
+ # Represents a part of a training phrase.
2149
+ class GoogleCloudDialogflowV2IntentTrainingPhrasePart
2150
+ include Google::Apis::Core::Hashable
2151
+
2152
+ # Optional. The parameter name for the value extracted from the
2153
+ # annotated part of the example.
2154
+ # This field is required for annotated parts of the training phrase.
2155
+ # Corresponds to the JSON property `alias`
2156
+ # @return [String]
2157
+ attr_accessor :alias
2158
+
2159
+ # Optional. The entity type name prefixed with `@`.
2160
+ # This field is required for annotated parts of the training phrase.
2161
+ # Corresponds to the JSON property `entityType`
2162
+ # @return [String]
2163
+ attr_accessor :entity_type
2164
+
2165
+ # Required. The text for this part.
2166
+ # Corresponds to the JSON property `text`
2167
+ # @return [String]
2168
+ attr_accessor :text
2169
+
2170
+ # Optional. Indicates whether the text was manually annotated.
2171
+ # This field is set to true when the Dialogflow Console is used to
2172
+ # manually annotate the part. When creating an annotated part with the
2173
+ # API, you must set this to true.
2174
+ # Corresponds to the JSON property `userDefined`
2175
+ # @return [Boolean]
2176
+ attr_accessor :user_defined
2177
+ alias_method :user_defined?, :user_defined
2178
+
2179
+ def initialize(**args)
2180
+ update!(**args)
2181
+ end
2182
+
2183
+ # Update properties of this object
2184
+ def update!(**args)
2185
+ @alias = args[:alias] if args.key?(:alias)
2186
+ @entity_type = args[:entity_type] if args.key?(:entity_type)
2187
+ @text = args[:text] if args.key?(:text)
2188
+ @user_defined = args[:user_defined] if args.key?(:user_defined)
2189
+ end
2190
+ end
2191
+
2192
+ # Represents a message posted into a conversation.
2193
+ class GoogleCloudDialogflowV2Message
2194
+ include Google::Apis::Core::Hashable
2195
+
2196
+ # Required. The message content.
2197
+ # Corresponds to the JSON property `content`
2198
+ # @return [String]
2199
+ attr_accessor :content
2200
+
2201
+ # Output only. The time when the message was created.
2202
+ # Corresponds to the JSON property `createTime`
2203
+ # @return [String]
2204
+ attr_accessor :create_time
2205
+
2206
+ # Optional. The message language.
2207
+ # This should be a [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt)
2208
+ # language tag. Example: "en-US".
2209
+ # Corresponds to the JSON property `languageCode`
2210
+ # @return [String]
2211
+ attr_accessor :language_code
2212
+
2213
+ # Represents the result of annotation for the message.
2214
+ # Corresponds to the JSON property `messageAnnotation`
2215
+ # @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2MessageAnnotation]
2216
+ attr_accessor :message_annotation
2217
+
2218
+ # The unique identifier of the message.
2219
+ # Format: `projects/<Project ID>/conversations/<Conversation
2220
+ # ID>/messages/<Message ID>`.
2221
+ # Corresponds to the JSON property `name`
2222
+ # @return [String]
2223
+ attr_accessor :name
2224
+
2225
+ # Output only. The participant that sends this message.
2226
+ # Corresponds to the JSON property `participant`
2227
+ # @return [String]
2228
+ attr_accessor :participant
2229
+
2230
+ # Output only. The role of the participant.
2231
+ # Corresponds to the JSON property `participantRole`
2232
+ # @return [String]
2233
+ attr_accessor :participant_role
1139
2234
 
1140
2235
  def initialize(**args)
1141
2236
  update!(**args)
@@ -1143,43 +2238,32 @@ module Google
1143
2238
 
1144
2239
  # Update properties of this object
1145
2240
  def update!(**args)
2241
+ @content = args[:content] if args.key?(:content)
2242
+ @create_time = args[:create_time] if args.key?(:create_time)
2243
+ @language_code = args[:language_code] if args.key?(:language_code)
2244
+ @message_annotation = args[:message_annotation] if args.key?(:message_annotation)
1146
2245
  @name = args[:name] if args.key?(:name)
1147
- @parts = args[:parts] if args.key?(:parts)
1148
- @times_added_count = args[:times_added_count] if args.key?(:times_added_count)
1149
- @type = args[:type] if args.key?(:type)
2246
+ @participant = args[:participant] if args.key?(:participant)
2247
+ @participant_role = args[:participant_role] if args.key?(:participant_role)
1150
2248
  end
1151
2249
  end
1152
2250
 
1153
- # Represents a part of a training phrase.
1154
- class GoogleCloudDialogflowV2IntentTrainingPhrasePart
2251
+ # Represents the result of annotation for the message.
2252
+ class GoogleCloudDialogflowV2MessageAnnotation
1155
2253
  include Google::Apis::Core::Hashable
1156
2254
 
1157
- # Optional. The parameter name for the value extracted from the
1158
- # annotated part of the example.
1159
- # This field is required for annotated parts of the training phrase.
1160
- # Corresponds to the JSON property `alias`
1161
- # @return [String]
1162
- attr_accessor :alias
1163
-
1164
- # Optional. The entity type name prefixed with `@`.
1165
- # This field is required for annotated parts of the training phrase.
1166
- # Corresponds to the JSON property `entityType`
1167
- # @return [String]
1168
- attr_accessor :entity_type
1169
-
1170
- # Required. The text for this part.
1171
- # Corresponds to the JSON property `text`
1172
- # @return [String]
1173
- attr_accessor :text
1174
-
1175
- # Optional. Indicates whether the text was manually annotated.
1176
- # This field is set to true when the Dialogflow Console is used to
1177
- # manually annotate the part. When creating an annotated part with the
1178
- # API, you must set this to true.
1179
- # Corresponds to the JSON property `userDefined`
2255
+ # Indicates whether the text message contains entities.
2256
+ # Corresponds to the JSON property `containEntities`
1180
2257
  # @return [Boolean]
1181
- attr_accessor :user_defined
1182
- alias_method :user_defined?, :user_defined
2258
+ attr_accessor :contain_entities
2259
+ alias_method :contain_entities?, :contain_entities
2260
+
2261
+ # The collection of annotated message parts ordered by their
2262
+ # position in the message. You can recover the annotated message by
2263
+ # concatenating [AnnotatedMessagePart.text].
2264
+ # Corresponds to the JSON property `parts`
2265
+ # @return [Array<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2AnnotatedMessagePart>]
2266
+ attr_accessor :parts
1183
2267
 
1184
2268
  def initialize(**args)
1185
2269
  update!(**args)
@@ -1187,10 +2271,8 @@ module Google
1187
2271
 
1188
2272
  # Update properties of this object
1189
2273
  def update!(**args)
1190
- @alias = args[:alias] if args.key?(:alias)
1191
- @entity_type = args[:entity_type] if args.key?(:entity_type)
1192
- @text = args[:text] if args.key?(:text)
1193
- @user_defined = args[:user_defined] if args.key?(:user_defined)
2274
+ @contain_entities = args[:contain_entities] if args.key?(:contain_entities)
2275
+ @parts = args[:parts] if args.key?(:parts)
1194
2276
  end
1195
2277
  end
1196
2278
 
@@ -1202,7 +2284,8 @@ module Google
1202
2284
  # Optional. This field is set to the value of the `QueryParameters.payload`
1203
2285
  # field passed in the request. Some integrations that query a Dialogflow
1204
2286
  # agent may provide additional information in the payload.
1205
- # In particular for the Telephony Gateway this field has the form:
2287
+ # In particular, for the Dialogflow Phone Gateway integration, this field has
2288
+ # the form:
1206
2289
  # <pre>`
1207
2290
  # "telephony": `
1208
2291
  # "caller_id": "+18558363987"
@@ -1258,9 +2341,12 @@ module Google
1258
2341
  attr_accessor :all_required_params_present
1259
2342
  alias_method :all_required_params_present?, :all_required_params_present
1260
2343
 
1261
- # The free-form diagnostic info. For example, this field could contain
1262
- # webhook call latency. The string keys of the Struct's fields map can change
1263
- # without notice.
2344
+ # Free-form diagnostic information for the associated detect intent request.
2345
+ # The fields of this data can change without notice, so you should not write
2346
+ # code that depends on its structure.
2347
+ # The data may contain:
2348
+ # - webhook call latency
2349
+ # - webhook errors
1264
2350
  # Corresponds to the JSON property `diagnosticInfo`
1265
2351
  # @return [Hash<String,Object>]
1266
2352
  attr_accessor :diagnostic_info
@@ -1312,6 +2398,18 @@ module Google
1312
2398
  attr_accessor :output_contexts
1313
2399
 
1314
2400
  # The collection of extracted parameters.
2401
+ # Depending on your protocol or client library language, this is a
2402
+ # map, associative array, symbol table, dictionary, or JSON object
2403
+ # composed of a collection of (MapKey, MapValue) pairs:
2404
+ # - MapKey type: string
2405
+ # - MapKey value: parameter name
2406
+ # - MapValue type:
2407
+ # - If parameter's entity type is a composite entity: map
2408
+ # - Else: string or number, depending on parameter value type
2409
+ # - MapValue value:
2410
+ # - If parameter's entity type is a composite entity:
2411
+ # map from composite entity property names to property values
2412
+ # - Else: parameter value
1315
2413
  # Corresponds to the JSON property `parameters`
1316
2414
  # @return [Hash<String,Object>]
1317
2415
  attr_accessor :parameters
@@ -1432,8 +2530,8 @@ module Google
1432
2530
  end
1433
2531
 
1434
2532
  # Represents a session entity type.
1435
- # Extends or replaces a developer entity type at the user session level (we
1436
- # refer to the entity types defined at the agent level as "developer entity
2533
+ # Extends or replaces a custom entity type at the user session level (we
2534
+ # refer to the entity types defined at the agent level as "custom entity
1437
2535
  # types").
1438
2536
  # Note: session entity types apply to all queries, regardless of the language.
1439
2537
  class GoogleCloudDialogflowV2SessionEntityType
@@ -1446,14 +2544,18 @@ module Google
1446
2544
  attr_accessor :entities
1447
2545
 
1448
2546
  # Required. Indicates whether the additional data should override or
1449
- # supplement the developer entity type definition.
2547
+ # supplement the custom entity type definition.
1450
2548
  # Corresponds to the JSON property `entityOverrideMode`
1451
2549
  # @return [String]
1452
2550
  attr_accessor :entity_override_mode
1453
2551
 
1454
2552
  # Required. The unique identifier of this session entity type. Format:
1455
2553
  # `projects/<Project ID>/agent/sessions/<Session ID>/entityTypes/<Entity Type
1456
- # Display Name>`.
2554
+ # Display Name>`, or `projects/<Project ID>/agent/environments/<Environment
2555
+ # ID>/users/<User ID>/sessions/<Session ID>/entityTypes/<Entity Type Display
2556
+ # Name>`.
2557
+ # If `Environment ID` is not specified, we assume default 'draft'
2558
+ # environment. If `User ID` is not specified, we assume default '-' user.
1457
2559
  # `<Entity Type Display Name>` must be the display name of an existing entity
1458
2560
  # type in the same agent that will be overridden or supplemented.
1459
2561
  # Corresponds to the JSON property `name`
@@ -1516,6 +2618,16 @@ module Google
1516
2618
  end
1517
2619
 
1518
2620
  # The response message for a webhook call.
2621
+ # This response is validated by the Dialogflow server. If validation fails,
2622
+ # an error will be returned in the QueryResult.diagnostic_info field.
2623
+ # Setting JSON fields to an empty value with the wrong type is a common error.
2624
+ # To avoid this error:
2625
+ # - Use `""` for empty strings
2626
+ # - Use ```` or `null` for empty objects
2627
+ # - Use `[]` or `null` for empty arrays
2628
+ # For more information, see the
2629
+ # [Protocol Buffers Language
2630
+ # Guide](https://developers.google.com/protocol-buffers/docs/proto3#json).
1519
2631
  class GoogleCloudDialogflowV2WebhookResponse
1520
2632
  include Google::Apis::Core::Hashable
1521
2633
 
@@ -1528,60 +2640,57 @@ module Google
1528
2640
  # @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2EventInput]
1529
2641
  attr_accessor :followup_event_input
1530
2642
 
1531
- # Optional. The collection of rich messages to present to the user. This
1532
- # value is passed directly to `QueryResult.fulfillment_messages`.
2643
+ # Optional. The rich response messages intended for the end-user.
2644
+ # When provided, Dialogflow uses this field to populate
2645
+ # QueryResult.fulfillment_messages sent to the integration or API caller.
1533
2646
  # Corresponds to the JSON property `fulfillmentMessages`
1534
2647
  # @return [Array<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2IntentMessage>]
1535
2648
  attr_accessor :fulfillment_messages
1536
2649
 
1537
- # Optional. The text to be shown on the screen. This value is passed directly
1538
- # to `QueryResult.fulfillment_text`.
2650
+ # Optional. The text response message intended for the end-user.
2651
+ # It is recommended to use `fulfillment_messages.text.text[0]` instead.
2652
+ # When provided, Dialogflow uses this field to populate
2653
+ # QueryResult.fulfillment_text sent to the integration or API caller.
1539
2654
  # Corresponds to the JSON property `fulfillmentText`
1540
2655
  # @return [String]
1541
2656
  attr_accessor :fulfillment_text
1542
2657
 
1543
- # Optional. The collection of output contexts. This value is passed directly
1544
- # to `QueryResult.output_contexts`.
2658
+ # Optional. The collection of output contexts that will overwrite currently
2659
+ # active contexts for the session and reset their lifespans.
2660
+ # When provided, Dialogflow uses this field to populate
2661
+ # QueryResult.output_contexts sent to the integration or API caller.
1545
2662
  # Corresponds to the JSON property `outputContexts`
1546
2663
  # @return [Array<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2Context>]
1547
2664
  attr_accessor :output_contexts
1548
2665
 
1549
- # Optional. This value is passed directly to `QueryResult.webhook_payload`.
1550
- # See the related `fulfillment_messages[i].payload field`, which may be used
1551
- # as an alternative to this field.
1552
- # This field can be used for Actions on Google responses.
1553
- # It should have a structure similar to the JSON message shown here. For more
1554
- # information, see
1555
- # [Actions on Google Webhook
1556
- # Format](https://developers.google.com/actions/dialogflow/webhook)
1557
- # <pre>`
1558
- # "google": `
1559
- # "expectUserResponse": true,
1560
- # "richResponse": `
1561
- # "items": [
1562
- # `
1563
- # "simpleResponse": `
1564
- # "textToSpeech": "this is a simple response"
1565
- # `
1566
- # `
1567
- # ]
1568
- # `
1569
- # `
1570
- # `</pre>
2666
+ # Optional. This field can be used to pass custom data from your webhook to the
2667
+ # integration or API caller. Arbitrary JSON objects are supported.
2668
+ # When provided, Dialogflow uses this field to populate
2669
+ # QueryResult.webhook_payload sent to the integration or API caller.
2670
+ # This field is also used by the
2671
+ # [Google Assistant
2672
+ # integration](https://cloud.google.com/dialogflow/docs/integrations/aog)
2673
+ # for rich response messages.
2674
+ # See the format definition at [Google Assistant Dialogflow webhook
2675
+ # format](https://developers.google.com/assistant/actions/build/json/dialogflow-
2676
+ # webhook-json)
1571
2677
  # Corresponds to the JSON property `payload`
1572
2678
  # @return [Hash<String,Object>]
1573
2679
  attr_accessor :payload
1574
2680
 
1575
2681
  # Optional. Additional session entity types to replace or extend developer
1576
2682
  # entity types with. The entity synonyms apply to all languages and persist
1577
- # for the session of this query. Setting the session entity types inside
1578
- # webhook overwrites the session entity types that have been set through
1579
- # `DetectIntentRequest.query_params.session_entity_types`.
2683
+ # for the session. Setting this data from a webhook overwrites
2684
+ # the session entity types that have been set using `detectIntent`,
2685
+ # `streamingDetectIntent` or SessionEntityType management methods.
1580
2686
  # Corresponds to the JSON property `sessionEntityTypes`
1581
2687
  # @return [Array<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2SessionEntityType>]
1582
2688
  attr_accessor :session_entity_types
1583
2689
 
1584
- # Optional. This value is passed directly to `QueryResult.webhook_source`.
2690
+ # Optional. A custom field used to identify the webhook source.
2691
+ # Arbitrary strings are supported.
2692
+ # When provided, Dialogflow uses this field to populate
2693
+ # QueryResult.webhook_source sent to the integration or API caller.
1585
2694
  # Corresponds to the JSON property `source`
1586
2695
  # @return [String]
1587
2696
  attr_accessor :source
@@ -1786,12 +2895,12 @@ module Google
1786
2895
  # @return [Array<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1EntityTypeEntity>]
1787
2896
  attr_accessor :entities
1788
2897
 
1789
- # Optional. The language of entity synonyms defined in `entities`. If not
1790
- # specified, the agent's default language is used.
1791
- # [Many
1792
- # languages](https://cloud.google.com/dialogflow/docs/reference/language)
1793
- # are supported. Note: languages must be enabled in the agent before they can
1794
- # be used.
2898
+ # Optional. The language used to access language-specific data.
2899
+ # If not specified, the agent's default language is used.
2900
+ # For more information, see
2901
+ # [Multilingual intent and entity
2902
+ # data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-
2903
+ # entity).
1795
2904
  # Corresponds to the JSON property `languageCode`
1796
2905
  # @return [String]
1797
2906
  attr_accessor :language_code
@@ -1811,19 +2920,19 @@ module Google
1811
2920
  class GoogleCloudDialogflowV2beta1BatchDeleteEntitiesRequest
1812
2921
  include Google::Apis::Core::Hashable
1813
2922
 
1814
- # Required. The canonical `values` of the entities to delete. Note that
2923
+ # Required. The reference `values` of the entities to delete. Note that
1815
2924
  # these are not fully-qualified names, i.e. they don't start with
1816
2925
  # `projects/<Project ID>`.
1817
2926
  # Corresponds to the JSON property `entityValues`
1818
2927
  # @return [Array<String>]
1819
2928
  attr_accessor :entity_values
1820
2929
 
1821
- # Optional. The language of entity synonyms defined in `entities`. If not
1822
- # specified, the agent's default language is used.
1823
- # [Many
1824
- # languages](https://cloud.google.com/dialogflow/docs/reference/language)
1825
- # are supported. Note: languages must be enabled in the agent before they can
1826
- # be used.
2930
+ # Optional. The language used to access language-specific data.
2931
+ # If not specified, the agent's default language is used.
2932
+ # For more information, see
2933
+ # [Multilingual intent and entity
2934
+ # data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-
2935
+ # entity).
1827
2936
  # Corresponds to the JSON property `languageCode`
1828
2937
  # @return [String]
1829
2938
  attr_accessor :language_code
@@ -1888,12 +2997,12 @@ module Google
1888
2997
  # @return [Array<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1EntityTypeEntity>]
1889
2998
  attr_accessor :entities
1890
2999
 
1891
- # Optional. The language of entity synonyms defined in `entities`. If not
1892
- # specified, the agent's default language is used.
1893
- # [Many
1894
- # languages](https://cloud.google.com/dialogflow/docs/reference/language)
1895
- # are supported. Note: languages must be enabled in the agent before they can
1896
- # be used.
3000
+ # Optional. The language used to access language-specific data.
3001
+ # If not specified, the agent's default language is used.
3002
+ # For more information, see
3003
+ # [Multilingual intent and entity
3004
+ # data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-
3005
+ # entity).
1897
3006
  # Corresponds to the JSON property `languageCode`
1898
3007
  # @return [String]
1899
3008
  attr_accessor :language_code
@@ -1932,12 +3041,12 @@ module Google
1932
3041
  # @return [String]
1933
3042
  attr_accessor :entity_type_batch_uri
1934
3043
 
1935
- # Optional. The language of entity synonyms defined in `entity_types`. If not
1936
- # specified, the agent's default language is used.
1937
- # [Many
1938
- # languages](https://cloud.google.com/dialogflow/docs/reference/language)
1939
- # are supported. Note: languages must be enabled in the agent before they can
1940
- # be used.
3044
+ # Optional. The language used to access language-specific data.
3045
+ # If not specified, the agent's default language is used.
3046
+ # For more information, see
3047
+ # [Multilingual intent and entity
3048
+ # data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-
3049
+ # entity).
1941
3050
  # Corresponds to the JSON property `languageCode`
1942
3051
  # @return [String]
1943
3052
  attr_accessor :language_code
@@ -2000,12 +3109,12 @@ module Google
2000
3109
  # @return [String]
2001
3110
  attr_accessor :intent_view
2002
3111
 
2003
- # Optional. The language of training phrases, parameters and rich messages
2004
- # defined in `intents`. If not specified, the agent's default language is
2005
- # used. [Many
2006
- # languages](https://cloud.google.com/dialogflow/docs/reference/language)
2007
- # are supported. Note: languages must be enabled in the agent before they can
2008
- # be used.
3112
+ # Optional. The language used to access language-specific data.
3113
+ # If not specified, the agent's default language is used.
3114
+ # For more information, see
3115
+ # [Multilingual intent and entity
3116
+ # data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-
3117
+ # entity).
2009
3118
  # Corresponds to the JSON property `languageCode`
2010
3119
  # @return [String]
2011
3120
  attr_accessor :language_code
@@ -2053,7 +3162,7 @@ module Google
2053
3162
  include Google::Apis::Core::Hashable
2054
3163
 
2055
3164
  # Optional. The number of conversational query requests after which the
2056
- # context expires. If set to `0` (the default) the context expires
3165
+ # context expires. The default is `0`. If set to `0`, the context expires
2057
3166
  # immediately. Contexts expire automatically after 20 minutes if there
2058
3167
  # are no matching queries.
2059
3168
  # Corresponds to the JSON property `lifespanCount`
@@ -2068,14 +3177,28 @@ module Google
2068
3177
  # characters in a-zA-Z0-9_-% and may be at most 250 bytes long.
2069
3178
  # If `Environment ID` is not specified, we assume default 'draft'
2070
3179
  # environment. If `User ID` is not specified, we assume default '-' user.
3180
+ # The following context names are reserved for internal use by Dialogflow.
3181
+ # You should not use these contexts or create contexts with these names:
3182
+ # * `__system_counters__`
3183
+ # * `*_id_dialog_context`
3184
+ # * `*_dialog_params_size`
2071
3185
  # Corresponds to the JSON property `name`
2072
3186
  # @return [String]
2073
3187
  attr_accessor :name
2074
3188
 
2075
3189
  # Optional. The collection of parameters associated with this context.
2076
- # Refer to [this
2077
- # doc](https://cloud.google.com/dialogflow/docs/intents-actions-parameters)
2078
- # for syntax.
3190
+ # Depending on your protocol or client library language, this is a
3191
+ # map, associative array, symbol table, dictionary, or JSON object
3192
+ # composed of a collection of (MapKey, MapValue) pairs:
3193
+ # - MapKey type: string
3194
+ # - MapKey value: parameter name
3195
+ # - MapValue type:
3196
+ # - If parameter's entity type is a composite entity: map
3197
+ # - Else: string or number, depending on parameter value type
3198
+ # - MapValue value:
3199
+ # - If parameter's entity type is a composite entity:
3200
+ # map from composite entity property names to property values
3201
+ # - Else: parameter value
2079
3202
  # Corresponds to the JSON property `parameters`
2080
3203
  # @return [Hash<String,Object>]
2081
3204
  attr_accessor :parameters
@@ -2096,7 +3219,7 @@ module Google
2096
3219
  class GoogleCloudDialogflowV2beta1DetectIntentRequest
2097
3220
  include Google::Apis::Core::Hashable
2098
3221
 
2099
- # Optional. The natural language speech audio to be processed. This field
3222
+ # The natural language speech audio to be processed. This field
2100
3223
  # should be populated iff `query_input` is set to an input audio config.
2101
3224
  # A single request can contain up to 1 minute of speech audio data.
2102
3225
  # Corresponds to the JSON property `inputAudio`
@@ -2105,10 +3228,21 @@ module Google
2105
3228
  attr_accessor :input_audio
2106
3229
 
2107
3230
  # Instructs the speech synthesizer how to generate the output audio content.
3231
+ # If this audio config is supplied in a request, it overrides all existing
3232
+ # text-to-speech settings applied to the agent.
2108
3233
  # Corresponds to the JSON property `outputAudioConfig`
2109
3234
  # @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1OutputAudioConfig]
2110
3235
  attr_accessor :output_audio_config
2111
3236
 
3237
+ # Mask for output_audio_config indicating which settings in this
3238
+ # request-level config should override speech synthesizer settings defined at
3239
+ # agent-level.
3240
+ # If unspecified or empty, output_audio_config replaces the agent-level
3241
+ # config in its entirety.
3242
+ # Corresponds to the JSON property `outputAudioConfigMask`
3243
+ # @return [String]
3244
+ attr_accessor :output_audio_config_mask
3245
+
2112
3246
  # Represents the query input. It can contain either:
2113
3247
  # 1. An audio config which
2114
3248
  # instructs the speech recognizer how to process the speech audio.
@@ -2131,6 +3265,7 @@ module Google
2131
3265
  def update!(**args)
2132
3266
  @input_audio = args[:input_audio] if args.key?(:input_audio)
2133
3267
  @output_audio_config = args[:output_audio_config] if args.key?(:output_audio_config)
3268
+ @output_audio_config_mask = args[:output_audio_config_mask] if args.key?(:output_audio_config_mask)
2134
3269
  @query_input = args[:query_input] if args.key?(:query_input)
2135
3270
  @query_params = args[:query_params] if args.key?(:query_params)
2136
3271
  end
@@ -2158,12 +3293,17 @@ module Google
2158
3293
  # multiple default text responses exist, they will be concatenated when
2159
3294
  # generating audio. If no default platform text responses exist, the
2160
3295
  # generated audio content will be empty.
3296
+ # In some scenarios, multiple output audio fields may be present in the
3297
+ # response structure. In these cases, only the top-most-level audio output
3298
+ # has content.
2161
3299
  # Corresponds to the JSON property `outputAudio`
2162
3300
  # NOTE: Values are automatically base64 encoded/decoded in the client library.
2163
3301
  # @return [String]
2164
3302
  attr_accessor :output_audio
2165
3303
 
2166
3304
  # Instructs the speech synthesizer how to generate the output audio content.
3305
+ # If this audio config is supplied in a request, it overrides all existing
3306
+ # text-to-speech settings applied to the agent.
2167
3307
  # Corresponds to the JSON property `outputAudioConfig`
2168
3308
  # @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1OutputAudioConfig]
2169
3309
  attr_accessor :output_audio_config
@@ -2235,17 +3375,40 @@ module Google
2235
3375
  # @return [String]
2236
3376
  attr_accessor :display_name
2237
3377
 
3378
+ # Optional. If true, we try to automatically reload the document every day
3379
+ # (at a time picked by the system). If false or unspecified, we don't try
3380
+ # to automatically reload the document.
3381
+ # Currently you can only enable automatic reload for documents sourced from
3382
+ # a public url, see `source` field for the source types.
3383
+ # Reload status can be tracked in `latest_reload_status`. If a reload
3384
+ # fails, we will keep the document unchanged.
3385
+ # If a reload fails with internal errors, the system will try to reload the
3386
+ # document on the next day.
3387
+ # If a reload fails with non-retriable errors (e.g. PERMISION_DENIED), the
3388
+ # system will not try to reload the document anymore. You need to manually
3389
+ # reload the document successfully by calling `ReloadDocument` and clear the
3390
+ # errors.
3391
+ # Corresponds to the JSON property `enableAutoReload`
3392
+ # @return [Boolean]
3393
+ attr_accessor :enable_auto_reload
3394
+ alias_method :enable_auto_reload?, :enable_auto_reload
3395
+
2238
3396
  # Required. The knowledge type of document content.
2239
3397
  # Corresponds to the JSON property `knowledgeTypes`
2240
3398
  # @return [Array<String>]
2241
3399
  attr_accessor :knowledge_types
2242
3400
 
3401
+ # The status of a reload attempt.
3402
+ # Corresponds to the JSON property `latestReloadStatus`
3403
+ # @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1DocumentReloadStatus]
3404
+ attr_accessor :latest_reload_status
3405
+
2243
3406
  # Required. The MIME type of this document.
2244
3407
  # Corresponds to the JSON property `mimeType`
2245
3408
  # @return [String]
2246
3409
  attr_accessor :mime_type
2247
3410
 
2248
- # The document resource name.
3411
+ # Optional. The document resource name.
2249
3412
  # The name must be empty when creating a document.
2250
3413
  # Format: `projects/<Project ID>/knowledgeBases/<Knowledge Base
2251
3414
  # ID>/documents/<Document ID>`.
@@ -2269,13 +3432,47 @@ module Google
2269
3432
  @content = args[:content] if args.key?(:content)
2270
3433
  @content_uri = args[:content_uri] if args.key?(:content_uri)
2271
3434
  @display_name = args[:display_name] if args.key?(:display_name)
3435
+ @enable_auto_reload = args[:enable_auto_reload] if args.key?(:enable_auto_reload)
2272
3436
  @knowledge_types = args[:knowledge_types] if args.key?(:knowledge_types)
3437
+ @latest_reload_status = args[:latest_reload_status] if args.key?(:latest_reload_status)
2273
3438
  @mime_type = args[:mime_type] if args.key?(:mime_type)
2274
3439
  @name = args[:name] if args.key?(:name)
2275
3440
  @raw_content = args[:raw_content] if args.key?(:raw_content)
2276
3441
  end
2277
3442
  end
2278
3443
 
3444
+ # The status of a reload attempt.
3445
+ class GoogleCloudDialogflowV2beta1DocumentReloadStatus
3446
+ include Google::Apis::Core::Hashable
3447
+
3448
+ # The `Status` type defines a logical error model that is suitable for
3449
+ # different programming environments, including REST APIs and RPC APIs. It is
3450
+ # used by [gRPC](https://github.com/grpc). Each `Status` message contains
3451
+ # three pieces of data: error code, error message, and error details.
3452
+ # You can find out more about this error model and how to work with it in the
3453
+ # [API Design Guide](https://cloud.google.com/apis/design/errors).
3454
+ # Corresponds to the JSON property `status`
3455
+ # @return [Google::Apis::DialogflowV2beta1::GoogleRpcStatus]
3456
+ attr_accessor :status
3457
+
3458
+ # Output only. The time of a reload attempt.
3459
+ # This reload may have been triggered automatically or manually and may
3460
+ # not have succeeded.
3461
+ # Corresponds to the JSON property `time`
3462
+ # @return [String]
3463
+ attr_accessor :time
3464
+
3465
+ def initialize(**args)
3466
+ update!(**args)
3467
+ end
3468
+
3469
+ # Update properties of this object
3470
+ def update!(**args)
3471
+ @status = args[:status] if args.key?(:status)
3472
+ @time = args[:time] if args.key?(:time)
3473
+ end
3474
+ end
3475
+
2279
3476
  # Represents an entity type.
2280
3477
  # Entity types serve as a tool for extracting parameter values from natural
2281
3478
  # language queries.
@@ -2368,7 +3565,7 @@ module Google
2368
3565
  # For example, if the entity type is *vegetable*, the value could be
2369
3566
  # *scallions*.
2370
3567
  # For `KIND_MAP` entity types:
2371
- # * A canonical value to be used in place of synonyms.
3568
+ # * A reference value to be used in place of synonyms.
2372
3569
  # For `KIND_LIST` entity types:
2373
3570
  # * A string that can contain references to other entity types (with or
2374
3571
  # without aliases).
@@ -2387,6 +3584,57 @@ module Google
2387
3584
  end
2388
3585
  end
2389
3586
 
3587
+ # Represents an agent environment.
3588
+ class GoogleCloudDialogflowV2beta1Environment
3589
+ include Google::Apis::Core::Hashable
3590
+
3591
+ # Optional. The agent version loaded into this environment.
3592
+ # Format: `projects/<Project ID>/agent/versions/<Version ID>`.
3593
+ # Corresponds to the JSON property `agentVersion`
3594
+ # @return [String]
3595
+ attr_accessor :agent_version
3596
+
3597
+ # Optional. The developer-provided description for this environment.
3598
+ # The maximum length is 500 characters. If exceeded, the request is rejected.
3599
+ # Corresponds to the JSON property `description`
3600
+ # @return [String]
3601
+ attr_accessor :description
3602
+
3603
+ # Output only. The unique identifier of this agent environment.
3604
+ # Format: `projects/<Project ID>/agent/environments/<Environment ID>`.
3605
+ # For Environment ID, "-" is reserved for 'draft' environment.
3606
+ # Corresponds to the JSON property `name`
3607
+ # @return [String]
3608
+ attr_accessor :name
3609
+
3610
+ # Output only. The state of this environment. This field is read-only, i.e., it
3611
+ # cannot be
3612
+ # set by create and update methods.
3613
+ # Corresponds to the JSON property `state`
3614
+ # @return [String]
3615
+ attr_accessor :state
3616
+
3617
+ # Output only. The last update time of this environment. This field is read-only,
3618
+ # i.e., it
3619
+ # cannot be set by create and update methods.
3620
+ # Corresponds to the JSON property `updateTime`
3621
+ # @return [String]
3622
+ attr_accessor :update_time
3623
+
3624
+ def initialize(**args)
3625
+ update!(**args)
3626
+ end
3627
+
3628
+ # Update properties of this object
3629
+ def update!(**args)
3630
+ @agent_version = args[:agent_version] if args.key?(:agent_version)
3631
+ @description = args[:description] if args.key?(:description)
3632
+ @name = args[:name] if args.key?(:name)
3633
+ @state = args[:state] if args.key?(:state)
3634
+ @update_time = args[:update_time] if args.key?(:update_time)
3635
+ end
3636
+ end
3637
+
2390
3638
  # Events allow for matching intents by event name instead of the natural
2391
3639
  # language input. For instance, input `<event: ` name: "welcome_event",
2392
3640
  # parameters: ` name: "Sam" ` `>` can trigger a personalized welcome response.
@@ -2408,7 +3656,19 @@ module Google
2408
3656
  # @return [String]
2409
3657
  attr_accessor :name
2410
3658
 
2411
- # Optional. The collection of parameters associated with the event.
3659
+ # The collection of parameters associated with the event.
3660
+ # Depending on your protocol or client library language, this is a
3661
+ # map, associative array, symbol table, dictionary, or JSON object
3662
+ # composed of a collection of (MapKey, MapValue) pairs:
3663
+ # - MapKey type: string
3664
+ # - MapKey value: parameter name
3665
+ # - MapValue type:
3666
+ # - If parameter's entity type is a composite entity: map
3667
+ # - Else: string or number, depending on parameter value type
3668
+ # - MapValue value:
3669
+ # - If parameter's entity type is a composite entity:
3670
+ # map from composite entity property names to property values
3671
+ # - Else: parameter value
2412
3672
  # Corresponds to the JSON property `parameters`
2413
3673
  # @return [Hash<String,Object>]
2414
3674
  attr_accessor :parameters
@@ -2475,6 +3735,127 @@ module Google
2475
3735
  end
2476
3736
  end
2477
3737
 
3738
+ # Represents a fulfillment.
3739
+ class GoogleCloudDialogflowV2beta1Fulfillment
3740
+ include Google::Apis::Core::Hashable
3741
+
3742
+ # Optional. The human-readable name of the fulfillment, unique within the agent.
3743
+ # Corresponds to the JSON property `displayName`
3744
+ # @return [String]
3745
+ attr_accessor :display_name
3746
+
3747
+ # Optional. Whether fulfillment is enabled.
3748
+ # Corresponds to the JSON property `enabled`
3749
+ # @return [Boolean]
3750
+ attr_accessor :enabled
3751
+ alias_method :enabled?, :enabled
3752
+
3753
+ # Optional. The field defines whether the fulfillment is enabled for certain
3754
+ # features.
3755
+ # Corresponds to the JSON property `features`
3756
+ # @return [Array<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1FulfillmentFeature>]
3757
+ attr_accessor :features
3758
+
3759
+ # Represents configuration for a generic web service.
3760
+ # Dialogflow supports two mechanisms for authentications:
3761
+ # - Basic authentication with username and password.
3762
+ # - Authentication with additional authentication headers.
3763
+ # More information could be found at:
3764
+ # https://cloud.google.com/dialogflow/docs/fulfillment-configure.
3765
+ # Corresponds to the JSON property `genericWebService`
3766
+ # @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1FulfillmentGenericWebService]
3767
+ attr_accessor :generic_web_service
3768
+
3769
+ # Required. The unique identifier of the fulfillment.
3770
+ # Format: `projects/<Project ID>/agent/fulfillment`.
3771
+ # Corresponds to the JSON property `name`
3772
+ # @return [String]
3773
+ attr_accessor :name
3774
+
3775
+ def initialize(**args)
3776
+ update!(**args)
3777
+ end
3778
+
3779
+ # Update properties of this object
3780
+ def update!(**args)
3781
+ @display_name = args[:display_name] if args.key?(:display_name)
3782
+ @enabled = args[:enabled] if args.key?(:enabled)
3783
+ @features = args[:features] if args.key?(:features)
3784
+ @generic_web_service = args[:generic_web_service] if args.key?(:generic_web_service)
3785
+ @name = args[:name] if args.key?(:name)
3786
+ end
3787
+ end
3788
+
3789
+ # Whether fulfillment is enabled for the specific feature.
3790
+ class GoogleCloudDialogflowV2beta1FulfillmentFeature
3791
+ include Google::Apis::Core::Hashable
3792
+
3793
+ # The type of the feature that enabled for fulfillment.
3794
+ # Corresponds to the JSON property `type`
3795
+ # @return [String]
3796
+ attr_accessor :type
3797
+
3798
+ def initialize(**args)
3799
+ update!(**args)
3800
+ end
3801
+
3802
+ # Update properties of this object
3803
+ def update!(**args)
3804
+ @type = args[:type] if args.key?(:type)
3805
+ end
3806
+ end
3807
+
3808
+ # Represents configuration for a generic web service.
3809
+ # Dialogflow supports two mechanisms for authentications:
3810
+ # - Basic authentication with username and password.
3811
+ # - Authentication with additional authentication headers.
3812
+ # More information could be found at:
3813
+ # https://cloud.google.com/dialogflow/docs/fulfillment-configure.
3814
+ class GoogleCloudDialogflowV2beta1FulfillmentGenericWebService
3815
+ include Google::Apis::Core::Hashable
3816
+
3817
+ # Optional. Indicates if generic web service is created through Cloud Functions
3818
+ # integration. Defaults to false.
3819
+ # Corresponds to the JSON property `isCloudFunction`
3820
+ # @return [Boolean]
3821
+ attr_accessor :is_cloud_function
3822
+ alias_method :is_cloud_function?, :is_cloud_function
3823
+
3824
+ # Optional. The password for HTTP Basic authentication.
3825
+ # Corresponds to the JSON property `password`
3826
+ # @return [String]
3827
+ attr_accessor :password
3828
+
3829
+ # Optional. The HTTP request headers to send together with fulfillment requests.
3830
+ # Corresponds to the JSON property `requestHeaders`
3831
+ # @return [Hash<String,String>]
3832
+ attr_accessor :request_headers
3833
+
3834
+ # Required. The fulfillment URI for receiving POST requests.
3835
+ # It must use https protocol.
3836
+ # Corresponds to the JSON property `uri`
3837
+ # @return [String]
3838
+ attr_accessor :uri
3839
+
3840
+ # Optional. The user name for HTTP Basic authentication.
3841
+ # Corresponds to the JSON property `username`
3842
+ # @return [String]
3843
+ attr_accessor :username
3844
+
3845
+ def initialize(**args)
3846
+ update!(**args)
3847
+ end
3848
+
3849
+ # Update properties of this object
3850
+ def update!(**args)
3851
+ @is_cloud_function = args[:is_cloud_function] if args.key?(:is_cloud_function)
3852
+ @password = args[:password] if args.key?(:password)
3853
+ @request_headers = args[:request_headers] if args.key?(:request_headers)
3854
+ @uri = args[:uri] if args.key?(:uri)
3855
+ @username = args[:username] if args.key?(:username)
3856
+ end
3857
+ end
3858
+
2478
3859
  # Google Cloud Storage location for single input.
2479
3860
  class GoogleCloudDialogflowV2beta1GcsSource
2480
3861
  include Google::Apis::Core::Hashable
@@ -2533,7 +3914,7 @@ module Google
2533
3914
  # @return [String]
2534
3915
  attr_accessor :audio_encoding
2535
3916
 
2536
- # Optional. If `true`, Dialogflow returns SpeechWordInfo in
3917
+ # If `true`, Dialogflow returns SpeechWordInfo in
2537
3918
  # StreamingRecognitionResult with information about the recognized speech
2538
3919
  # words, e.g. start and end time offsets. If false or unspecified, Speech
2539
3920
  # doesn't return any word-level information.
@@ -2551,7 +3932,7 @@ module Google
2551
3932
  # @return [String]
2552
3933
  attr_accessor :language_code
2553
3934
 
2554
- # Optional. Which Speech model to select for the given request. Select the
3935
+ # Which Speech model to select for the given request. Select the
2555
3936
  # model best suited to your domain to get best results. If a model is not
2556
3937
  # explicitly specified, then we auto-select a model based on the parameters
2557
3938
  # in the InputAudioConfig.
@@ -2567,17 +3948,20 @@ module Google
2567
3948
  # @return [String]
2568
3949
  attr_accessor :model
2569
3950
 
2570
- # Optional. Which variant of the Speech model to use.
3951
+ # Which variant of the Speech model to use.
2571
3952
  # Corresponds to the JSON property `modelVariant`
2572
3953
  # @return [String]
2573
3954
  attr_accessor :model_variant
2574
3955
 
2575
- # Optional. A list of strings containing words and phrases that the speech
3956
+ # A list of strings containing words and phrases that the speech
2576
3957
  # recognizer should recognize with higher likelihood.
2577
3958
  # See [the Cloud Speech
2578
3959
  # documentation](https://cloud.google.com/speech-to-text/docs/basics#phrase-
2579
3960
  # hints)
2580
3961
  # for more details.
3962
+ # This field is deprecated. Please use [speech_contexts]() instead. If you
3963
+ # specify both [phrase_hints]() and [speech_contexts](), Dialogflow will
3964
+ # treat the [phrase_hints]() as a single additional [SpeechContext]().
2581
3965
  # Corresponds to the JSON property `phraseHints`
2582
3966
  # @return [Array<String>]
2583
3967
  attr_accessor :phrase_hints
@@ -2591,7 +3975,7 @@ module Google
2591
3975
  # @return [Fixnum]
2592
3976
  attr_accessor :sample_rate_hertz
2593
3977
 
2594
- # Optional. If `false` (default), recognition does not cease until the
3978
+ # If `false` (default), recognition does not cease until the
2595
3979
  # client closes the stream.
2596
3980
  # If `true`, the recognizer will detect a single spoken utterance in input
2597
3981
  # audio. Recognition ceases when it detects the audio's voice has
@@ -2606,7 +3990,7 @@ module Google
2606
3990
  attr_accessor :single_utterance
2607
3991
  alias_method :single_utterance?, :single_utterance
2608
3992
 
2609
- # Optional. Context information to assist speech recognition.
3993
+ # Context information to assist speech recognition.
2610
3994
  # See [the Cloud Speech
2611
3995
  # documentation](https://cloud.google.com/speech-to-text/docs/basics#phrase-
2612
3996
  # hints)
@@ -2667,11 +4051,12 @@ module Google
2667
4051
  # Optional. The collection of event names that trigger the intent.
2668
4052
  # If the collection of input contexts is not empty, all of the contexts must
2669
4053
  # be present in the active user session for an event to trigger this intent.
4054
+ # Event names are limited to 150 characters.
2670
4055
  # Corresponds to the JSON property `events`
2671
4056
  # @return [Array<String>]
2672
4057
  attr_accessor :events
2673
4058
 
2674
- # Read-only. Information about all followup intents that have this intent as
4059
+ # Output only. Information about all followup intents that have this intent as
2675
4060
  # a direct or indirect parent. We populate this field only in the output.
2676
4061
  # Corresponds to the JSON property `followupIntentInfo`
2677
4062
  # @return [Array<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1IntentFollowupIntentInfo>]
@@ -2721,7 +4106,7 @@ module Google
2721
4106
  attr_accessor :ml_enabled
2722
4107
  alias_method :ml_enabled?, :ml_enabled
2723
4108
 
2724
- # The unique identifier of this intent.
4109
+ # Optional. The unique identifier of this intent.
2725
4110
  # Required for Intents.UpdateIntent and Intents.BatchUpdateIntents
2726
4111
  # methods.
2727
4112
  # Format: `projects/<Project ID>/agent/intents/<Intent ID>`.
@@ -2743,10 +4128,11 @@ module Google
2743
4128
  # @return [Array<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1IntentParameter>]
2744
4129
  attr_accessor :parameters
2745
4130
 
2746
- # Read-only after creation. The unique identifier of the parent intent in the
4131
+ # Optional. The unique identifier of the parent intent in the
2747
4132
  # chain of followup intents. You can set this field when creating an intent,
2748
- # for example with CreateIntent or BatchUpdateIntents, in order to
2749
- # make this intent a followup intent.
4133
+ # for example with CreateIntent or
4134
+ # BatchUpdateIntents, in order to make this
4135
+ # intent a followup intent.
2750
4136
  # It identifies the parent followup intent.
2751
4137
  # Format: `projects/<Project ID>/agent/intents/<Intent ID>`.
2752
4138
  # Corresponds to the JSON property `parentFollowupIntentName`
@@ -2754,9 +4140,12 @@ module Google
2754
4140
  attr_accessor :parent_followup_intent_name
2755
4141
 
2756
4142
  # Optional. The priority of this intent. Higher numbers represent higher
2757
- # priorities. If this is zero or unspecified, we use the default
2758
- # priority 500000.
2759
- # Negative numbers mean that the intent is disabled.
4143
+ # priorities.
4144
+ # - If the supplied value is unspecified or 0, the service
4145
+ # translates the value to 500,000, which corresponds to the
4146
+ # `Normal` priority in the console.
4147
+ # - If the supplied value is negative, the intent is ignored
4148
+ # in runtime detect intent requests.
2760
4149
  # Corresponds to the JSON property `priority`
2761
4150
  # @return [Fixnum]
2762
4151
  attr_accessor :priority
@@ -2768,9 +4157,9 @@ module Google
2768
4157
  attr_accessor :reset_contexts
2769
4158
  alias_method :reset_contexts?, :reset_contexts
2770
4159
 
2771
- # Read-only. The unique identifier of the root intent in the chain of
4160
+ # Output only. The unique identifier of the root intent in the chain of
2772
4161
  # followup intents. It identifies the correct followup intents chain for
2773
- # this intent. We populate this field only in the output.
4162
+ # this intent.
2774
4163
  # Format: `projects/<Project ID>/agent/intents/<Intent ID>`.
2775
4164
  # Corresponds to the JSON property `rootFollowupIntentName`
2776
4165
  # @return [String]
@@ -2908,9 +4297,7 @@ module Google
2908
4297
  # @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1IntentMessageMediaContent]
2909
4298
  attr_accessor :media_content
2910
4299
 
2911
- # Returns a response containing a custom, platform-specific payload.
2912
- # See the Intent.Message.Platform type for a description of the
2913
- # structure that may be required for your platform.
4300
+ # A custom platform-specific response.
2914
4301
  # Corresponds to the JSON property `payload`
2915
4302
  # @return [Hash<String,Object>]
2916
4303
  attr_accessor :payload
@@ -2929,8 +4316,8 @@ module Google
2929
4316
  # Rich cards allow you to respond to users with more vivid content, e.g.
2930
4317
  # with media and suggestions.
2931
4318
  # For more details about RBM rich cards, please see:
2932
- # https://developers.google.com/rcs-business-messaging/rbm/guides/build/send-
2933
- # messages#rich-cards.
4319
+ # https://developers.google.com/business-communications/rcs-business-messaging/
4320
+ # guides/build/messages/send#rich-cards
2934
4321
  # If you want to show a single card with more control over the layout,
2935
4322
  # please use RbmStandaloneCard instead.
2936
4323
  # Corresponds to the JSON property `rbmCarouselRichCard`
@@ -2941,8 +4328,8 @@ module Google
2941
4328
  # Rich cards allow you to respond to users with more vivid content, e.g.
2942
4329
  # with media and suggestions.
2943
4330
  # For more details about RBM rich cards, please see:
2944
- # https://developers.google.com/rcs-business-messaging/rbm/guides/build/send-
2945
- # messages#rich-cards.
4331
+ # https://developers.google.com/business-communications/rcs-business-messaging/
4332
+ # guides/build/messages/send#rich-cards
2946
4333
  # You can group multiple rich cards into one using RbmCarouselCard but
2947
4334
  # carousel cards will give you less control over the card layout.
2948
4335
  # Corresponds to the JSON property `rbmStandaloneRichCard`
@@ -3419,6 +4806,11 @@ module Google
3419
4806
  # @return [Array<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1IntentMessageListSelectItem>]
3420
4807
  attr_accessor :items
3421
4808
 
4809
+ # Optional. Subtitle of the list.
4810
+ # Corresponds to the JSON property `subtitle`
4811
+ # @return [String]
4812
+ attr_accessor :subtitle
4813
+
3422
4814
  # Optional. The overall title of the list.
3423
4815
  # Corresponds to the JSON property `title`
3424
4816
  # @return [String]
@@ -3431,6 +4823,7 @@ module Google
3431
4823
  # Update properties of this object
3432
4824
  def update!(**args)
3433
4825
  @items = args[:items] if args.key?(:items)
4826
+ @subtitle = args[:subtitle] if args.key?(:subtitle)
3434
4827
  @title = args[:title] if args.key?(:title)
3435
4828
  end
3436
4829
  end
@@ -3578,18 +4971,18 @@ module Google
3578
4971
 
3579
4972
  # Rich Business Messaging (RBM) Media displayed in Cards
3580
4973
  # The following media-types are currently supported:
3581
- # ## Image Types
3582
- # image/jpeg
3583
- # image/jpg'
3584
- # image/gif
3585
- # image/png
3586
- # ## Video Types
3587
- # video/h263
3588
- # video/m4v
3589
- # video/mp4
3590
- # video/mpeg
3591
- # video/mpeg4
3592
- # video/webm
4974
+ # Image Types
4975
+ # * image/jpeg
4976
+ # * image/jpg'
4977
+ # * image/gif
4978
+ # * image/png
4979
+ # Video Types
4980
+ # * video/h263
4981
+ # * video/m4v
4982
+ # * video/mp4
4983
+ # * video/mpeg
4984
+ # * video/mpeg4
4985
+ # * video/webm
3593
4986
  # Corresponds to the JSON property `media`
3594
4987
  # @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1IntentMessageRbmCardContentRbmMedia]
3595
4988
  attr_accessor :media
@@ -3620,18 +5013,18 @@ module Google
3620
5013
 
3621
5014
  # Rich Business Messaging (RBM) Media displayed in Cards
3622
5015
  # The following media-types are currently supported:
3623
- # ## Image Types
3624
- # image/jpeg
3625
- # image/jpg'
3626
- # image/gif
3627
- # image/png
3628
- # ## Video Types
3629
- # video/h263
3630
- # video/m4v
3631
- # video/mp4
3632
- # video/mpeg
3633
- # video/mpeg4
3634
- # video/webm
5016
+ # Image Types
5017
+ # * image/jpeg
5018
+ # * image/jpg'
5019
+ # * image/gif
5020
+ # * image/png
5021
+ # Video Types
5022
+ # * video/h263
5023
+ # * video/m4v
5024
+ # * video/mp4
5025
+ # * video/mpeg
5026
+ # * video/mpeg4
5027
+ # * video/webm
3635
5028
  class GoogleCloudDialogflowV2beta1IntentMessageRbmCardContentRbmMedia
3636
5029
  include Google::Apis::Core::Hashable
3637
5030
 
@@ -3676,8 +5069,8 @@ module Google
3676
5069
  # Rich cards allow you to respond to users with more vivid content, e.g.
3677
5070
  # with media and suggestions.
3678
5071
  # For more details about RBM rich cards, please see:
3679
- # https://developers.google.com/rcs-business-messaging/rbm/guides/build/send-
3680
- # messages#rich-cards.
5072
+ # https://developers.google.com/business-communications/rcs-business-messaging/
5073
+ # guides/build/messages/send#rich-cards
3681
5074
  # If you want to show a single card with more control over the layout,
3682
5075
  # please use RbmStandaloneCard instead.
3683
5076
  class GoogleCloudDialogflowV2beta1IntentMessageRbmCarouselCard
@@ -3709,8 +5102,8 @@ module Google
3709
5102
  # Rich cards allow you to respond to users with more vivid content, e.g.
3710
5103
  # with media and suggestions.
3711
5104
  # For more details about RBM rich cards, please see:
3712
- # https://developers.google.com/rcs-business-messaging/rbm/guides/build/send-
3713
- # messages#rich-cards.
5105
+ # https://developers.google.com/business-communications/rcs-business-messaging/
5106
+ # guides/build/messages/send#rich-cards
3714
5107
  # You can group multiple rich cards into one using RbmCarouselCard but
3715
5108
  # carousel cards will give you less control over the card layout.
3716
5109
  class GoogleCloudDialogflowV2beta1IntentMessageRbmStandaloneCard
@@ -4514,6 +5907,13 @@ module Google
4514
5907
  # @return [String]
4515
5908
  attr_accessor :display_name
4516
5909
 
5910
+ # Language which represents the KnowledgeBase. When the KnowledgeBase is
5911
+ # created/updated, this is populated for all non en-us languages. If not
5912
+ # populated, the default language en-us applies.
5913
+ # Corresponds to the JSON property `languageCode`
5914
+ # @return [String]
5915
+ attr_accessor :language_code
5916
+
4517
5917
  # The knowledge base resource name.
4518
5918
  # The name must be empty when creating a knowledge base.
4519
5919
  # Format: `projects/<Project ID>/knowledgeBases/<Knowledge Base ID>`.
@@ -4528,6 +5928,7 @@ module Google
4528
5928
  # Update properties of this object
4529
5929
  def update!(**args)
4530
5930
  @display_name = args[:display_name] if args.key?(:display_name)
5931
+ @language_code = args[:language_code] if args.key?(:language_code)
4531
5932
  @name = args[:name] if args.key?(:name)
4532
5933
  end
4533
5934
  end
@@ -4536,7 +5937,7 @@ module Google
4536
5937
  class GoogleCloudDialogflowV2beta1KnowledgeOperationMetadata
4537
5938
  include Google::Apis::Core::Hashable
4538
5939
 
4539
- # Required. The current state of this operation.
5940
+ # Required. Output only. The current state of this operation.
4540
5941
  # Corresponds to the JSON property `state`
4541
5942
  # @return [String]
4542
5943
  attr_accessor :state
@@ -4552,7 +5953,7 @@ module Google
4552
5953
  end
4553
5954
 
4554
5955
  # The response for
4555
- # ConversationDatasets.LabelConversation
5956
+ # ConversationDatasets.LabelConversation.
4556
5957
  class GoogleCloudDialogflowV2beta1LabelConversationResponse
4557
5958
  include Google::Apis::Core::Hashable
4558
5959
 
@@ -4655,6 +6056,33 @@ module Google
4655
6056
  end
4656
6057
  end
4657
6058
 
6059
+ # The response message for Environments.ListEnvironments.
6060
+ class GoogleCloudDialogflowV2beta1ListEnvironmentsResponse
6061
+ include Google::Apis::Core::Hashable
6062
+
6063
+ # The list of agent environments. There will be a maximum number of items
6064
+ # returned based on the page_size field in the request.
6065
+ # Corresponds to the JSON property `environments`
6066
+ # @return [Array<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Environment>]
6067
+ attr_accessor :environments
6068
+
6069
+ # Token to retrieve the next page of results, or empty if there are no
6070
+ # more results in the list.
6071
+ # Corresponds to the JSON property `nextPageToken`
6072
+ # @return [String]
6073
+ attr_accessor :next_page_token
6074
+
6075
+ def initialize(**args)
6076
+ update!(**args)
6077
+ end
6078
+
6079
+ # Update properties of this object
6080
+ def update!(**args)
6081
+ @environments = args[:environments] if args.key?(:environments)
6082
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
6083
+ end
6084
+ end
6085
+
4658
6086
  # The response message for Intents.ListIntents.
4659
6087
  class GoogleCloudDialogflowV2beta1ListIntentsResponse
4660
6088
  include Google::Apis::Core::Hashable
@@ -4743,7 +6171,8 @@ module Google
4743
6171
  # Optional. This field is set to the value of the `QueryParameters.payload`
4744
6172
  # field passed in the request. Some integrations that query a Dialogflow
4745
6173
  # agent may provide additional information in the payload.
4746
- # In particular for the Telephony Gateway this field has the form:
6174
+ # In particular, for the Dialogflow Phone Gateway integration, this field has
6175
+ # the form:
4747
6176
  # <pre>`
4748
6177
  # "telephony": `
4749
6178
  # "caller_id": "+18558363987"
@@ -4781,6 +6210,8 @@ module Google
4781
6210
  end
4782
6211
 
4783
6212
  # Instructs the speech synthesizer how to generate the output audio content.
6213
+ # If this audio config is supplied in a request, it overrides all existing
6214
+ # text-to-speech settings applied to the agent.
4784
6215
  class GoogleCloudDialogflowV2beta1OutputAudioConfig
4785
6216
  include Google::Apis::Core::Hashable
4786
6217
 
@@ -4789,7 +6220,7 @@ module Google
4789
6220
  # @return [String]
4790
6221
  attr_accessor :audio_encoding
4791
6222
 
4792
- # Optional. The synthesis sample rate (in hertz) for this audio. If not
6223
+ # The synthesis sample rate (in hertz) for this audio. If not
4793
6224
  # provided, then the synthesizer will use the default sample rate based on
4794
6225
  # the audio encoding. If this is different from the voice's natural sample
4795
6226
  # rate, then the synthesizer will honor this request by converting to the
@@ -4858,7 +6289,7 @@ module Google
4858
6289
  class GoogleCloudDialogflowV2beta1QueryParameters
4859
6290
  include Google::Apis::Core::Hashable
4860
6291
 
4861
- # Optional. The collection of contexts to be activated before this query is
6292
+ # The collection of contexts to be activated before this query is
4862
6293
  # executed.
4863
6294
  # Corresponds to the JSON property `contexts`
4864
6295
  # @return [Array<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Context>]
@@ -4873,20 +6304,23 @@ module Google
4873
6304
  # @return [Google::Apis::DialogflowV2beta1::GoogleTypeLatLng]
4874
6305
  attr_accessor :geo_location
4875
6306
 
4876
- # Optional. KnowledgeBases to get alternative results from. If not set, the
6307
+ # KnowledgeBases to get alternative results from. If not set, the
4877
6308
  # KnowledgeBases enabled in the agent (through UI) will be used.
4878
6309
  # Format: `projects/<Project ID>/knowledgeBases/<Knowledge Base ID>`.
4879
6310
  # Corresponds to the JSON property `knowledgeBaseNames`
4880
6311
  # @return [Array<String>]
4881
6312
  attr_accessor :knowledge_base_names
4882
6313
 
4883
- # Optional. This field can be used to pass custom data into the webhook
4884
- # associated with the agent. Arbitrary JSON objects are supported.
6314
+ # This field can be used to pass custom data to your webhook.
6315
+ # Arbitrary JSON objects are supported.
6316
+ # If supplied, the value is used to populate the
6317
+ # `WebhookRequest.original_detect_intent_request.payload`
6318
+ # field sent to your webhook.
4885
6319
  # Corresponds to the JSON property `payload`
4886
6320
  # @return [Hash<String,Object>]
4887
6321
  attr_accessor :payload
4888
6322
 
4889
- # Optional. Specifies whether to delete all contexts in the current session
6323
+ # Specifies whether to delete all contexts in the current session
4890
6324
  # before the new ones are activated.
4891
6325
  # Corresponds to the JSON property `resetContexts`
4892
6326
  # @return [Boolean]
@@ -4898,14 +6332,22 @@ module Google
4898
6332
  # @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SentimentAnalysisRequestConfig]
4899
6333
  attr_accessor :sentiment_analysis_request_config
4900
6334
 
4901
- # Optional. Additional session entity types to replace or extend developer
6335
+ # Additional session entity types to replace or extend developer
4902
6336
  # entity types with. The entity synonyms apply to all languages and persist
4903
6337
  # for the session of this query.
4904
6338
  # Corresponds to the JSON property `sessionEntityTypes`
4905
6339
  # @return [Array<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SessionEntityType>]
4906
6340
  attr_accessor :session_entity_types
4907
6341
 
4908
- # Optional. The time zone of this conversational query from the
6342
+ # For mega agent query, directly specify which sub agents to query.
6343
+ # If any specified sub agent is not linked to the mega agent, an error will
6344
+ # be returned. If empty, Dialogflow will decide which sub agents to query.
6345
+ # If specified for a non-mega-agent query, will be silently ignored.
6346
+ # Corresponds to the JSON property `subAgents`
6347
+ # @return [Array<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SubAgent>]
6348
+ attr_accessor :sub_agents
6349
+
6350
+ # The time zone of this conversational query from the
4909
6351
  # [time zone database](https://www.iana.org/time-zones), e.g.,
4910
6352
  # America/New_York, Europe/Paris. If not provided, the time zone specified in
4911
6353
  # agent settings is used.
@@ -4913,6 +6355,18 @@ module Google
4913
6355
  # @return [String]
4914
6356
  attr_accessor :time_zone
4915
6357
 
6358
+ # This field can be used to pass HTTP headers for a webhook
6359
+ # call. These headers will be sent to webhook alone with the headers that
6360
+ # have been configured through Dialogflow web console. The headers defined
6361
+ # within this field will overwrite the headers configured through Dialogflow
6362
+ # console if there is a conflict. Header names are case-insensitive.
6363
+ # Google's specified headers are not allowed. Including: "Host",
6364
+ # "Content-Length", "Connection", "From", "User-Agent", "Accept-Encoding",
6365
+ # "If-Modified-Since", "If-None-Match", "X-Forwarded-For", etc.
6366
+ # Corresponds to the JSON property `webhookHeaders`
6367
+ # @return [Hash<String,String>]
6368
+ attr_accessor :webhook_headers
6369
+
4916
6370
  def initialize(**args)
4917
6371
  update!(**args)
4918
6372
  end
@@ -4926,7 +6380,9 @@ module Google
4926
6380
  @reset_contexts = args[:reset_contexts] if args.key?(:reset_contexts)
4927
6381
  @sentiment_analysis_request_config = args[:sentiment_analysis_request_config] if args.key?(:sentiment_analysis_request_config)
4928
6382
  @session_entity_types = args[:session_entity_types] if args.key?(:session_entity_types)
6383
+ @sub_agents = args[:sub_agents] if args.key?(:sub_agents)
4929
6384
  @time_zone = args[:time_zone] if args.key?(:time_zone)
6385
+ @webhook_headers = args[:webhook_headers] if args.key?(:webhook_headers)
4930
6386
  end
4931
6387
  end
4932
6388
 
@@ -4949,9 +6405,12 @@ module Google
4949
6405
  attr_accessor :all_required_params_present
4950
6406
  alias_method :all_required_params_present?, :all_required_params_present
4951
6407
 
4952
- # The free-form diagnostic info. For example, this field could contain
4953
- # webhook call latency. The string keys of the Struct's fields map can change
4954
- # without notice.
6408
+ # Free-form diagnostic information for the associated detect intent request.
6409
+ # The fields of this data can change without notice, so you should not write
6410
+ # code that depends on its structure.
6411
+ # The data may contain:
6412
+ # - webhook call latency
6413
+ # - webhook errors
4955
6414
  # Corresponds to the JSON property `diagnosticInfo`
4956
6415
  # @return [Hash<String,Object>]
4957
6416
  attr_accessor :diagnostic_info
@@ -5008,6 +6467,18 @@ module Google
5008
6467
  attr_accessor :output_contexts
5009
6468
 
5010
6469
  # The collection of extracted parameters.
6470
+ # Depending on your protocol or client library language, this is a
6471
+ # map, associative array, symbol table, dictionary, or JSON object
6472
+ # composed of a collection of (MapKey, MapValue) pairs:
6473
+ # - MapKey type: string
6474
+ # - MapKey value: parameter name
6475
+ # - MapValue type:
6476
+ # - If parameter's entity type is a composite entity: map
6477
+ # - Else: string or number, depending on parameter value type
6478
+ # - MapValue value:
6479
+ # - If parameter's entity type is a composite entity:
6480
+ # map from composite entity property names to property values
6481
+ # - Else: parameter value
5011
6482
  # Corresponds to the JSON property `parameters`
5012
6483
  # @return [Hash<String,Object>]
5013
6484
  attr_accessor :parameters
@@ -5184,7 +6655,7 @@ module Google
5184
6655
  class GoogleCloudDialogflowV2beta1SentimentAnalysisRequestConfig
5185
6656
  include Google::Apis::Core::Hashable
5186
6657
 
5187
- # Optional. Instructs the service to perform sentiment analysis on
6658
+ # Instructs the service to perform sentiment analysis on
5188
6659
  # `query_text`. If not provided, sentiment analysis is not performed on
5189
6660
  # `query_text`.
5190
6661
  # Corresponds to the JSON property `analyzeQueryTextSentiment`
@@ -5224,8 +6695,8 @@ module Google
5224
6695
  end
5225
6696
 
5226
6697
  # Represents a session entity type.
5227
- # Extends or replaces a developer entity type at the user session level (we
5228
- # refer to the entity types defined at the agent level as "developer entity
6698
+ # Extends or replaces a custom entity type at the user session level (we
6699
+ # refer to the entity types defined at the agent level as "custom entity
5229
6700
  # types").
5230
6701
  # Note: session entity types apply to all queries, regardless of the language.
5231
6702
  class GoogleCloudDialogflowV2beta1SessionEntityType
@@ -5238,7 +6709,7 @@ module Google
5238
6709
  attr_accessor :entities
5239
6710
 
5240
6711
  # Required. Indicates whether the additional data should override or
5241
- # supplement the developer entity type definition.
6712
+ # supplement the custom entity type definition.
5242
6713
  # Corresponds to the JSON property `entityOverrideMode`
5243
6714
  # @return [String]
5244
6715
  attr_accessor :entity_override_mode
@@ -5309,6 +6780,34 @@ module Google
5309
6780
  end
5310
6781
  end
5311
6782
 
6783
+ # Contains basic configuration for a sub-agent.
6784
+ class GoogleCloudDialogflowV2beta1SubAgent
6785
+ include Google::Apis::Core::Hashable
6786
+
6787
+ # Optional. The unique identifier (`environment name` in dialogflow console)
6788
+ # of this sub-agent environment. Assumes draft environment if `environment`
6789
+ # is not set.
6790
+ # Corresponds to the JSON property `environment`
6791
+ # @return [String]
6792
+ attr_accessor :environment
6793
+
6794
+ # Required. The project of this agent.
6795
+ # Format: `projects/<Project ID>`.
6796
+ # Corresponds to the JSON property `project`
6797
+ # @return [String]
6798
+ attr_accessor :project
6799
+
6800
+ def initialize(**args)
6801
+ update!(**args)
6802
+ end
6803
+
6804
+ # Update properties of this object
6805
+ def update!(**args)
6806
+ @environment = args[:environment] if args.key?(:environment)
6807
+ @project = args[:project] if args.key?(:project)
6808
+ end
6809
+ end
6810
+
5312
6811
  # Configuration of how speech should be synthesized.
5313
6812
  class GoogleCloudDialogflowV2beta1SynthesizeSpeechConfig
5314
6813
  include Google::Apis::Core::Hashable
@@ -5475,7 +6974,8 @@ module Google
5475
6974
  include Google::Apis::Core::Hashable
5476
6975
 
5477
6976
  # Optional. The name of the voice. If not set, the service will choose a
5478
- # voice based on the other parameters such as language_code and gender.
6977
+ # voice based on the other parameters such as language_code and
6978
+ # ssml_gender.
5479
6979
  # Corresponds to the JSON property `name`
5480
6980
  # @return [String]
5481
6981
  attr_accessor :name
@@ -5550,6 +7050,16 @@ module Google
5550
7050
  end
5551
7051
 
5552
7052
  # The response message for a webhook call.
7053
+ # This response is validated by the Dialogflow server. If validation fails,
7054
+ # an error will be returned in the QueryResult.diagnostic_info field.
7055
+ # Setting JSON fields to an empty value with the wrong type is a common error.
7056
+ # To avoid this error:
7057
+ # - Use `""` for empty strings
7058
+ # - Use ```` or `null` for empty objects
7059
+ # - Use `[]` or `null` for empty arrays
7060
+ # For more information, see the
7061
+ # [Protocol Buffers Language
7062
+ # Guide](https://developers.google.com/protocol-buffers/docs/proto3#json).
5553
7063
  class GoogleCloudDialogflowV2beta1WebhookResponse
5554
7064
  include Google::Apis::Core::Hashable
5555
7065
 
@@ -5570,60 +7080,57 @@ module Google
5570
7080
  # @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1EventInput]
5571
7081
  attr_accessor :followup_event_input
5572
7082
 
5573
- # Optional. The collection of rich messages to present to the user. This
5574
- # value is passed directly to `QueryResult.fulfillment_messages`.
7083
+ # Optional. The rich response messages intended for the end-user.
7084
+ # When provided, Dialogflow uses this field to populate
7085
+ # QueryResult.fulfillment_messages sent to the integration or API caller.
5575
7086
  # Corresponds to the JSON property `fulfillmentMessages`
5576
7087
  # @return [Array<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1IntentMessage>]
5577
7088
  attr_accessor :fulfillment_messages
5578
7089
 
5579
- # Optional. The text to be shown on the screen. This value is passed directly
5580
- # to `QueryResult.fulfillment_text`.
7090
+ # Optional. The text response message intended for the end-user.
7091
+ # It is recommended to use `fulfillment_messages.text.text[0]` instead.
7092
+ # When provided, Dialogflow uses this field to populate
7093
+ # QueryResult.fulfillment_text sent to the integration or API caller.
5581
7094
  # Corresponds to the JSON property `fulfillmentText`
5582
7095
  # @return [String]
5583
7096
  attr_accessor :fulfillment_text
5584
7097
 
5585
- # Optional. The collection of output contexts. This value is passed directly
5586
- # to `QueryResult.output_contexts`.
7098
+ # Optional. The collection of output contexts that will overwrite currently
7099
+ # active contexts for the session and reset their lifespans.
7100
+ # When provided, Dialogflow uses this field to populate
7101
+ # QueryResult.output_contexts sent to the integration or API caller.
5587
7102
  # Corresponds to the JSON property `outputContexts`
5588
7103
  # @return [Array<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Context>]
5589
7104
  attr_accessor :output_contexts
5590
7105
 
5591
- # Optional. This value is passed directly to `QueryResult.webhook_payload`.
5592
- # See the related `fulfillment_messages[i].payload field`, which may be used
5593
- # as an alternative to this field.
5594
- # This field can be used for Actions on Google responses.
5595
- # It should have a structure similar to the JSON message shown here. For more
5596
- # information, see
5597
- # [Actions on Google Webhook
5598
- # Format](https://developers.google.com/actions/dialogflow/webhook)
5599
- # <pre>`
5600
- # "google": `
5601
- # "expectUserResponse": true,
5602
- # "richResponse": `
5603
- # "items": [
5604
- # `
5605
- # "simpleResponse": `
5606
- # "textToSpeech": "this is a simple response"
5607
- # `
5608
- # `
5609
- # ]
5610
- # `
5611
- # `
5612
- # `</pre>
7106
+ # Optional. This field can be used to pass custom data from your webhook to the
7107
+ # integration or API caller. Arbitrary JSON objects are supported.
7108
+ # When provided, Dialogflow uses this field to populate
7109
+ # QueryResult.webhook_payload sent to the integration or API caller.
7110
+ # This field is also used by the
7111
+ # [Google Assistant
7112
+ # integration](https://cloud.google.com/dialogflow/docs/integrations/aog)
7113
+ # for rich response messages.
7114
+ # See the format definition at [Google Assistant Dialogflow webhook
7115
+ # format](https://developers.google.com/assistant/actions/build/json/dialogflow-
7116
+ # webhook-json)
5613
7117
  # Corresponds to the JSON property `payload`
5614
7118
  # @return [Hash<String,Object>]
5615
7119
  attr_accessor :payload
5616
7120
 
5617
7121
  # Optional. Additional session entity types to replace or extend developer
5618
7122
  # entity types with. The entity synonyms apply to all languages and persist
5619
- # for the session of this query. Setting the session entity types inside
5620
- # webhook overwrites the session entity types that have been set through
5621
- # `DetectIntentRequest.query_params.session_entity_types`.
7123
+ # for the session. Setting this data from a webhook overwrites
7124
+ # the session entity types that have been set using `detectIntent`,
7125
+ # `streamingDetectIntent` or SessionEntityType management methods.
5622
7126
  # Corresponds to the JSON property `sessionEntityTypes`
5623
7127
  # @return [Array<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SessionEntityType>]
5624
7128
  attr_accessor :session_entity_types
5625
7129
 
5626
- # Optional. This value is passed directly to `QueryResult.webhook_source`.
7130
+ # Optional. A custom field used to identify the webhook source.
7131
+ # Arbitrary strings are supported.
7132
+ # When provided, Dialogflow uses this field to populate
7133
+ # QueryResult.webhook_source sent to the integration or API caller.
5627
7134
  # Corresponds to the JSON property `source`
5628
7135
  # @return [String]
5629
7136
  attr_accessor :source
@@ -5645,6 +7152,33 @@ module Google
5645
7152
  end
5646
7153
  end
5647
7154
 
7155
+ # The response message for Agents.ExportAgent.
7156
+ class GoogleCloudDialogflowV3alpha1ExportAgentResponse
7157
+ include Google::Apis::Core::Hashable
7158
+
7159
+ # Uncompressed raw byte content for agent.
7160
+ # Corresponds to the JSON property `agentContent`
7161
+ # NOTE: Values are automatically base64 encoded/decoded in the client library.
7162
+ # @return [String]
7163
+ attr_accessor :agent_content
7164
+
7165
+ # The URI to a file containing the exported agent. This field is populated
7166
+ # only if `agent_uri` is specified in ExportAgentRequest.
7167
+ # Corresponds to the JSON property `agentUri`
7168
+ # @return [String]
7169
+ attr_accessor :agent_uri
7170
+
7171
+ def initialize(**args)
7172
+ update!(**args)
7173
+ end
7174
+
7175
+ # Update properties of this object
7176
+ def update!(**args)
7177
+ @agent_content = args[:agent_content] if args.key?(:agent_content)
7178
+ @agent_uri = args[:agent_uri] if args.key?(:agent_uri)
7179
+ end
7180
+ end
7181
+
5648
7182
  # The response message for Operations.ListOperations.
5649
7183
  class GoogleLongrunningListOperationsResponse
5650
7184
  include Google::Apis::Core::Hashable