google-api-client 0.41.2 → 0.44.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (897) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +529 -0
  3. data/docs/oauth-server.md +4 -6
  4. data/generated/google/apis/abusiveexperiencereport_v1.rb +1 -1
  5. data/generated/google/apis/abusiveexperiencereport_v1/classes.rb +8 -13
  6. data/generated/google/apis/abusiveexperiencereport_v1/service.rb +2 -3
  7. data/generated/google/apis/accessapproval_v1.rb +1 -1
  8. data/generated/google/apis/accessapproval_v1/classes.rb +57 -83
  9. data/generated/google/apis/accessapproval_v1/representations.rb +1 -0
  10. data/generated/google/apis/accessapproval_v1/service.rb +93 -129
  11. data/generated/google/apis/accesscontextmanager_v1.rb +1 -1
  12. data/generated/google/apis/accesscontextmanager_v1/classes.rb +198 -236
  13. data/generated/google/apis/accesscontextmanager_v1/service.rb +128 -171
  14. data/generated/google/apis/accesscontextmanager_v1beta.rb +1 -1
  15. data/generated/google/apis/accesscontextmanager_v1beta/classes.rb +153 -184
  16. data/generated/google/apis/accesscontextmanager_v1beta/service.rb +82 -111
  17. data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
  18. data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +532 -651
  19. data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +1 -0
  20. data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +467 -631
  21. data/generated/google/apis/adexchangebuyer_v1_4.rb +1 -1
  22. data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +47 -2
  23. data/generated/google/apis/adexchangebuyer_v1_4/representations.rb +18 -0
  24. data/generated/google/apis/adexperiencereport_v1.rb +1 -1
  25. data/generated/google/apis/adexperiencereport_v1/classes.rb +11 -18
  26. data/generated/google/apis/adexperiencereport_v1/service.rb +2 -3
  27. data/generated/google/apis/admin_datatransfer_v1.rb +6 -4
  28. data/generated/google/apis/admin_datatransfer_v1/classes.rb +16 -4
  29. data/generated/google/apis/admin_datatransfer_v1/service.rb +30 -48
  30. data/generated/google/apis/admin_directory_v1.rb +6 -8
  31. data/generated/google/apis/admin_directory_v1/classes.rb +224 -243
  32. data/generated/google/apis/admin_directory_v1/representations.rb +14 -40
  33. data/generated/google/apis/admin_directory_v1/service.rb +475 -1026
  34. data/generated/google/apis/admin_reports_v1.rb +6 -5
  35. data/generated/google/apis/admin_reports_v1/classes.rb +31 -33
  36. data/generated/google/apis/admin_reports_v1/service.rb +131 -187
  37. data/generated/google/apis/admob_v1.rb +1 -1
  38. data/generated/google/apis/admob_v1/classes.rb +139 -268
  39. data/generated/google/apis/admob_v1/service.rb +11 -13
  40. data/generated/google/apis/alertcenter_v1beta1.rb +1 -1
  41. data/generated/google/apis/alertcenter_v1beta1/classes.rb +107 -138
  42. data/generated/google/apis/alertcenter_v1beta1/service.rb +50 -55
  43. data/generated/google/apis/analyticsreporting_v4.rb +1 -1
  44. data/generated/google/apis/analyticsreporting_v4/classes.rb +315 -399
  45. data/generated/google/apis/androiddeviceprovisioning_v1.rb +1 -1
  46. data/generated/google/apis/androiddeviceprovisioning_v1/classes.rb +193 -220
  47. data/generated/google/apis/androiddeviceprovisioning_v1/service.rb +55 -61
  48. data/generated/google/apis/androidenterprise_v1.rb +1 -1
  49. data/generated/google/apis/androidenterprise_v1/classes.rb +452 -557
  50. data/generated/google/apis/androidenterprise_v1/service.rb +181 -240
  51. data/generated/google/apis/androidmanagement_v1.rb +1 -1
  52. data/generated/google/apis/androidmanagement_v1/classes.rb +95 -59
  53. data/generated/google/apis/androidmanagement_v1/representations.rb +17 -0
  54. data/generated/google/apis/androidpublisher_v3.rb +1 -1
  55. data/generated/google/apis/androidpublisher_v3/classes.rb +281 -342
  56. data/generated/google/apis/androidpublisher_v3/service.rb +127 -155
  57. data/generated/google/apis/apigee_v1.rb +6 -8
  58. data/generated/google/apis/apigee_v1/classes.rb +2060 -1099
  59. data/generated/google/apis/apigee_v1/representations.rb +593 -0
  60. data/generated/google/apis/apigee_v1/service.rb +2596 -1692
  61. data/generated/google/apis/appengine_v1.rb +1 -1
  62. data/generated/google/apis/appengine_v1/classes.rb +45 -35
  63. data/generated/google/apis/appengine_v1/representations.rb +2 -0
  64. data/generated/google/apis/appengine_v1/service.rb +38 -44
  65. data/generated/google/apis/appengine_v1alpha.rb +1 -1
  66. data/generated/google/apis/appengine_v1alpha/classes.rb +9 -11
  67. data/generated/google/apis/appengine_v1beta.rb +1 -1
  68. data/generated/google/apis/appengine_v1beta/classes.rb +45 -35
  69. data/generated/google/apis/appengine_v1beta/representations.rb +2 -0
  70. data/generated/google/apis/appengine_v1beta/service.rb +37 -43
  71. data/generated/google/apis/appsmarket_v2.rb +1 -1
  72. data/generated/google/apis/appsmarket_v2/classes.rb +14 -16
  73. data/generated/google/apis/artifactregistry_v1beta1.rb +1 -1
  74. data/generated/google/apis/artifactregistry_v1beta1/classes.rb +235 -337
  75. data/generated/google/apis/artifactregistry_v1beta1/service.rb +44 -57
  76. data/generated/google/apis/bigquery_v2.rb +1 -1
  77. data/generated/google/apis/bigquery_v2/classes.rb +538 -541
  78. data/generated/google/apis/bigquery_v2/representations.rb +71 -0
  79. data/generated/google/apis/bigquery_v2/service.rb +32 -40
  80. data/generated/google/apis/bigqueryconnection_v1beta1.rb +1 -1
  81. data/generated/google/apis/bigqueryconnection_v1beta1/classes.rb +192 -337
  82. data/generated/google/apis/bigqueryconnection_v1beta1/service.rb +29 -32
  83. data/generated/google/apis/bigquerydatatransfer_v1.rb +1 -1
  84. data/generated/google/apis/bigquerydatatransfer_v1/classes.rb +132 -158
  85. data/generated/google/apis/bigquerydatatransfer_v1/service.rb +232 -282
  86. data/generated/google/apis/bigqueryreservation_v1.rb +1 -1
  87. data/generated/google/apis/bigqueryreservation_v1/classes.rb +146 -119
  88. data/generated/google/apis/bigqueryreservation_v1/representations.rb +18 -0
  89. data/generated/google/apis/bigqueryreservation_v1/service.rb +174 -160
  90. data/generated/google/apis/bigqueryreservation_v1alpha2.rb +1 -1
  91. data/generated/google/apis/bigqueryreservation_v1alpha2/classes.rb +88 -100
  92. data/generated/google/apis/bigqueryreservation_v1alpha2/service.rb +77 -100
  93. data/generated/google/apis/bigqueryreservation_v1beta1.rb +1 -1
  94. data/generated/google/apis/bigqueryreservation_v1beta1/classes.rb +99 -96
  95. data/generated/google/apis/bigqueryreservation_v1beta1/representations.rb +3 -0
  96. data/generated/google/apis/bigqueryreservation_v1beta1/service.rb +114 -151
  97. data/generated/google/apis/bigtableadmin_v1.rb +1 -1
  98. data/generated/google/apis/bigtableadmin_v1/classes.rb +317 -0
  99. data/generated/google/apis/bigtableadmin_v1/representations.rb +129 -0
  100. data/generated/google/apis/bigtableadmin_v2.rb +1 -1
  101. data/generated/google/apis/bigtableadmin_v2/classes.rb +405 -0
  102. data/generated/google/apis/bigtableadmin_v2/representations.rb +175 -0
  103. data/generated/google/apis/bigtableadmin_v2/service.rb +298 -0
  104. data/generated/google/apis/billingbudgets_v1beta1.rb +4 -1
  105. data/generated/google/apis/billingbudgets_v1beta1/classes.rb +103 -109
  106. data/generated/google/apis/billingbudgets_v1beta1/representations.rb +1 -0
  107. data/generated/google/apis/billingbudgets_v1beta1/service.rb +30 -33
  108. data/generated/google/apis/binaryauthorization_v1.rb +1 -1
  109. data/generated/google/apis/binaryauthorization_v1/classes.rb +239 -354
  110. data/generated/google/apis/binaryauthorization_v1/service.rb +74 -89
  111. data/generated/google/apis/binaryauthorization_v1beta1.rb +1 -1
  112. data/generated/google/apis/binaryauthorization_v1beta1/classes.rb +239 -354
  113. data/generated/google/apis/binaryauthorization_v1beta1/service.rb +74 -89
  114. data/generated/google/apis/blogger_v2.rb +2 -3
  115. data/generated/google/apis/blogger_v2/classes.rb +1 -2
  116. data/generated/google/apis/blogger_v2/service.rb +1 -2
  117. data/generated/google/apis/blogger_v3.rb +2 -3
  118. data/generated/google/apis/blogger_v3/classes.rb +1 -2
  119. data/generated/google/apis/blogger_v3/service.rb +1 -2
  120. data/generated/google/apis/books_v1.rb +1 -1
  121. data/generated/google/apis/books_v1/classes.rb +140 -159
  122. data/generated/google/apis/books_v1/service.rb +47 -49
  123. data/generated/google/apis/calendar_v3.rb +1 -1
  124. data/generated/google/apis/chat_v1.rb +1 -1
  125. data/generated/google/apis/chat_v1/classes.rb +211 -106
  126. data/generated/google/apis/chat_v1/representations.rb +63 -0
  127. data/generated/google/apis/chat_v1/service.rb +95 -36
  128. data/generated/google/apis/chromeuxreport_v1.rb +1 -1
  129. data/generated/google/apis/chromeuxreport_v1/classes.rb +68 -57
  130. data/generated/google/apis/chromeuxreport_v1/representations.rb +2 -0
  131. data/generated/google/apis/civicinfo_v2.rb +1 -1
  132. data/generated/google/apis/civicinfo_v2/classes.rb +9 -1
  133. data/generated/google/apis/civicinfo_v2/representations.rb +1 -0
  134. data/generated/google/apis/civicinfo_v2/service.rb +1 -1
  135. data/generated/google/apis/classroom_v1.rb +1 -1
  136. data/generated/google/apis/classroom_v1/classes.rb +250 -365
  137. data/generated/google/apis/classroom_v1/service.rb +645 -900
  138. data/generated/google/apis/cloudasset_v1.rb +1 -1
  139. data/generated/google/apis/cloudasset_v1/classes.rb +713 -1036
  140. data/generated/google/apis/cloudasset_v1/service.rb +131 -156
  141. data/generated/google/apis/cloudasset_v1beta1.rb +1 -1
  142. data/generated/google/apis/cloudasset_v1beta1/classes.rb +531 -775
  143. data/generated/google/apis/cloudasset_v1beta1/service.rb +59 -75
  144. data/generated/google/apis/cloudasset_v1p1beta1.rb +1 -1
  145. data/generated/google/apis/cloudasset_v1p1beta1/classes.rb +204 -349
  146. data/generated/google/apis/cloudasset_v1p1beta1/service.rb +35 -47
  147. data/generated/google/apis/cloudasset_v1p4beta1.rb +1 -1
  148. data/generated/google/apis/cloudasset_v1p4beta1/classes.rb +220 -276
  149. data/generated/google/apis/cloudasset_v1p4beta1/service.rb +75 -93
  150. data/generated/google/apis/{securitycenter_v1p1alpha1.rb → cloudasset_v1p5beta1.rb} +9 -10
  151. data/generated/google/apis/cloudasset_v1p5beta1/classes.rb +1300 -0
  152. data/generated/google/apis/cloudasset_v1p5beta1/representations.rb +399 -0
  153. data/generated/google/apis/cloudasset_v1p5beta1/service.rb +126 -0
  154. data/generated/google/apis/cloudbilling_v1.rb +7 -1
  155. data/generated/google/apis/cloudbilling_v1/classes.rb +284 -445
  156. data/generated/google/apis/cloudbilling_v1/service.rb +104 -124
  157. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  158. data/generated/google/apis/cloudbuild_v1/classes.rb +292 -344
  159. data/generated/google/apis/cloudbuild_v1/representations.rb +1 -0
  160. data/generated/google/apis/cloudbuild_v1/service.rb +48 -63
  161. data/generated/google/apis/cloudbuild_v1alpha1.rb +1 -1
  162. data/generated/google/apis/cloudbuild_v1alpha1/classes.rb +283 -329
  163. data/generated/google/apis/cloudbuild_v1alpha1/representations.rb +1 -0
  164. data/generated/google/apis/cloudbuild_v1alpha1/service.rb +15 -18
  165. data/generated/google/apis/cloudbuild_v1alpha2.rb +1 -1
  166. data/generated/google/apis/cloudbuild_v1alpha2/classes.rb +269 -313
  167. data/generated/google/apis/cloudbuild_v1alpha2/representations.rb +1 -0
  168. data/generated/google/apis/cloudbuild_v1alpha2/service.rb +22 -28
  169. data/generated/google/apis/clouddebugger_v2.rb +1 -1
  170. data/generated/google/apis/clouddebugger_v2/classes.rb +185 -252
  171. data/generated/google/apis/clouddebugger_v2/service.rb +53 -59
  172. data/generated/google/apis/clouderrorreporting_v1beta1.rb +1 -1
  173. data/generated/google/apis/clouderrorreporting_v1beta1/classes.rb +132 -154
  174. data/generated/google/apis/clouderrorreporting_v1beta1/representations.rb +1 -0
  175. data/generated/google/apis/clouderrorreporting_v1beta1/service.rb +53 -69
  176. data/generated/google/apis/cloudfunctions_v1.rb +1 -1
  177. data/generated/google/apis/cloudfunctions_v1/classes.rb +333 -534
  178. data/generated/google/apis/cloudfunctions_v1/representations.rb +2 -17
  179. data/generated/google/apis/cloudfunctions_v1/service.rb +79 -93
  180. data/generated/google/apis/cloudidentity_v1.rb +1 -1
  181. data/generated/google/apis/cloudidentity_v1/classes.rb +625 -75
  182. data/generated/google/apis/cloudidentity_v1/representations.rb +203 -0
  183. data/generated/google/apis/cloudidentity_v1/service.rb +43 -61
  184. data/generated/google/apis/cloudidentity_v1beta1.rb +4 -1
  185. data/generated/google/apis/cloudidentity_v1beta1/classes.rb +1051 -298
  186. data/generated/google/apis/cloudidentity_v1beta1/representations.rb +346 -22
  187. data/generated/google/apis/cloudidentity_v1beta1/service.rb +742 -96
  188. data/generated/google/apis/cloudiot_v1.rb +1 -1
  189. data/generated/google/apis/cloudiot_v1/classes.rb +263 -373
  190. data/generated/google/apis/cloudiot_v1/service.rb +147 -154
  191. data/generated/google/apis/cloudkms_v1.rb +1 -1
  192. data/generated/google/apis/cloudkms_v1/classes.rb +502 -692
  193. data/generated/google/apis/cloudkms_v1/representations.rb +17 -0
  194. data/generated/google/apis/cloudkms_v1/service.rb +170 -216
  195. data/generated/google/apis/cloudprofiler_v2.rb +1 -1
  196. data/generated/google/apis/cloudprofiler_v2/classes.rb +28 -33
  197. data/generated/google/apis/cloudprofiler_v2/service.rb +17 -19
  198. data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
  199. data/generated/google/apis/cloudresourcemanager_v1/classes.rb +503 -754
  200. data/generated/google/apis/cloudresourcemanager_v1/service.rb +198 -249
  201. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
  202. data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +258 -429
  203. data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +136 -178
  204. data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
  205. data/generated/google/apis/cloudresourcemanager_v2/classes.rb +258 -414
  206. data/generated/google/apis/cloudresourcemanager_v2/service.rb +96 -129
  207. data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
  208. data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +258 -414
  209. data/generated/google/apis/cloudresourcemanager_v2beta1/service.rb +96 -129
  210. data/generated/google/apis/cloudscheduler_v1.rb +1 -1
  211. data/generated/google/apis/cloudscheduler_v1/classes.rb +280 -380
  212. data/generated/google/apis/cloudscheduler_v1/representations.rb +1 -0
  213. data/generated/google/apis/cloudscheduler_v1/service.rb +45 -62
  214. data/generated/google/apis/cloudscheduler_v1beta1.rb +1 -1
  215. data/generated/google/apis/cloudscheduler_v1beta1/classes.rb +281 -381
  216. data/generated/google/apis/cloudscheduler_v1beta1/representations.rb +1 -0
  217. data/generated/google/apis/cloudscheduler_v1beta1/service.rb +45 -62
  218. data/generated/google/apis/cloudsearch_v1.rb +2 -2
  219. data/generated/google/apis/cloudsearch_v1/classes.rb +650 -782
  220. data/generated/google/apis/cloudsearch_v1/representations.rb +15 -0
  221. data/generated/google/apis/cloudsearch_v1/service.rb +286 -326
  222. data/generated/google/apis/cloudshell_v1.rb +1 -1
  223. data/generated/google/apis/cloudshell_v1/classes.rb +36 -227
  224. data/generated/google/apis/cloudshell_v1/representations.rb +0 -67
  225. data/generated/google/apis/cloudshell_v1/service.rb +21 -25
  226. data/generated/google/apis/cloudshell_v1alpha1.rb +1 -1
  227. data/generated/google/apis/cloudshell_v1alpha1/classes.rb +66 -72
  228. data/generated/google/apis/cloudshell_v1alpha1/service.rb +20 -24
  229. data/generated/google/apis/cloudtasks_v2.rb +1 -1
  230. data/generated/google/apis/cloudtasks_v2/classes.rb +605 -933
  231. data/generated/google/apis/cloudtasks_v2/service.rb +146 -217
  232. data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
  233. data/generated/google/apis/cloudtasks_v2beta2/classes.rb +602 -964
  234. data/generated/google/apis/cloudtasks_v2beta2/service.rb +178 -270
  235. data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
  236. data/generated/google/apis/cloudtasks_v2beta3/classes.rb +609 -938
  237. data/generated/google/apis/cloudtasks_v2beta3/service.rb +146 -217
  238. data/generated/google/apis/cloudtrace_v1.rb +1 -1
  239. data/generated/google/apis/cloudtrace_v1/classes.rb +39 -62
  240. data/generated/google/apis/cloudtrace_v1/service.rb +37 -57
  241. data/generated/google/apis/cloudtrace_v2.rb +1 -1
  242. data/generated/google/apis/cloudtrace_v2/classes.rb +93 -107
  243. data/generated/google/apis/cloudtrace_v2/service.rb +8 -14
  244. data/generated/google/apis/cloudtrace_v2beta1.rb +1 -1
  245. data/generated/google/apis/cloudtrace_v2beta1/classes.rb +23 -33
  246. data/generated/google/apis/cloudtrace_v2beta1/service.rb +30 -37
  247. data/generated/google/apis/composer_v1.rb +1 -1
  248. data/generated/google/apis/composer_v1/classes.rb +190 -242
  249. data/generated/google/apis/composer_v1/service.rb +79 -150
  250. data/generated/google/apis/composer_v1beta1.rb +1 -1
  251. data/generated/google/apis/composer_v1beta1/classes.rb +203 -262
  252. data/generated/google/apis/composer_v1beta1/service.rb +92 -179
  253. data/generated/google/apis/compute_alpha.rb +1 -1
  254. data/generated/google/apis/compute_alpha/classes.rb +1021 -137
  255. data/generated/google/apis/compute_alpha/representations.rb +208 -4
  256. data/generated/google/apis/compute_alpha/service.rb +710 -699
  257. data/generated/google/apis/compute_beta.rb +1 -1
  258. data/generated/google/apis/compute_beta/classes.rb +879 -75
  259. data/generated/google/apis/compute_beta/representations.rb +204 -1
  260. data/generated/google/apis/compute_beta/service.rb +875 -607
  261. data/generated/google/apis/compute_v1.rb +1 -1
  262. data/generated/google/apis/compute_v1/classes.rb +1324 -130
  263. data/generated/google/apis/compute_v1/representations.rb +480 -15
  264. data/generated/google/apis/compute_v1/service.rb +1076 -43
  265. data/generated/google/apis/container_v1.rb +1 -1
  266. data/generated/google/apis/container_v1/classes.rb +946 -961
  267. data/generated/google/apis/container_v1/representations.rb +69 -0
  268. data/generated/google/apis/container_v1/service.rb +435 -502
  269. data/generated/google/apis/container_v1beta1.rb +1 -1
  270. data/generated/google/apis/container_v1beta1/classes.rb +1032 -1039
  271. data/generated/google/apis/container_v1beta1/representations.rb +72 -0
  272. data/generated/google/apis/container_v1beta1/service.rb +403 -466
  273. data/generated/google/apis/containeranalysis_v1alpha1.rb +1 -1
  274. data/generated/google/apis/containeranalysis_v1alpha1/classes.rb +456 -596
  275. data/generated/google/apis/containeranalysis_v1alpha1/service.rb +149 -169
  276. data/generated/google/apis/containeranalysis_v1beta1.rb +1 -1
  277. data/generated/google/apis/containeranalysis_v1beta1/classes.rb +454 -613
  278. data/generated/google/apis/containeranalysis_v1beta1/service.rb +75 -90
  279. data/generated/google/apis/content_v2.rb +1 -1
  280. data/generated/google/apis/content_v2/classes.rb +20 -3
  281. data/generated/google/apis/content_v2/representations.rb +1 -0
  282. data/generated/google/apis/content_v2_1.rb +1 -1
  283. data/generated/google/apis/content_v2_1/classes.rb +112 -6
  284. data/generated/google/apis/content_v2_1/representations.rb +35 -0
  285. data/generated/google/apis/content_v2_1/service.rb +53 -2
  286. data/generated/google/apis/{androidpublisher_v1.rb → customsearch_v1.rb} +8 -8
  287. data/generated/google/apis/customsearch_v1/classes.rb +1421 -0
  288. data/generated/google/apis/customsearch_v1/representations.rb +372 -0
  289. data/generated/google/apis/customsearch_v1/service.rb +461 -0
  290. data/generated/google/apis/datacatalog_v1beta1.rb +1 -1
  291. data/generated/google/apis/datacatalog_v1beta1/classes.rb +382 -570
  292. data/generated/google/apis/datacatalog_v1beta1/service.rb +319 -440
  293. data/generated/google/apis/dataflow_v1b3.rb +1 -1
  294. data/generated/google/apis/dataflow_v1b3/classes.rb +1015 -972
  295. data/generated/google/apis/dataflow_v1b3/representations.rb +115 -0
  296. data/generated/google/apis/dataflow_v1b3/service.rb +299 -257
  297. data/generated/google/apis/datafusion_v1.rb +40 -0
  298. data/generated/google/apis/datafusion_v1/classes.rb +1025 -0
  299. data/generated/google/apis/{cloudfunctions_v1beta2 → datafusion_v1}/representations.rb +141 -93
  300. data/generated/google/apis/datafusion_v1/service.rb +667 -0
  301. data/generated/google/apis/datafusion_v1beta1.rb +5 -8
  302. data/generated/google/apis/datafusion_v1beta1/classes.rb +268 -397
  303. data/generated/google/apis/datafusion_v1beta1/representations.rb +3 -0
  304. data/generated/google/apis/datafusion_v1beta1/service.rb +81 -95
  305. data/generated/google/apis/dataproc_v1.rb +1 -1
  306. data/generated/google/apis/dataproc_v1/classes.rb +238 -329
  307. data/generated/google/apis/dataproc_v1/representations.rb +16 -0
  308. data/generated/google/apis/dataproc_v1/service.rb +134 -168
  309. data/generated/google/apis/dataproc_v1beta2.rb +1 -1
  310. data/generated/google/apis/dataproc_v1beta2/classes.rb +263 -326
  311. data/generated/google/apis/dataproc_v1beta2/representations.rb +31 -0
  312. data/generated/google/apis/dataproc_v1beta2/service.rb +137 -192
  313. data/generated/google/apis/datastore_v1.rb +1 -1
  314. data/generated/google/apis/datastore_v1/classes.rb +331 -473
  315. data/generated/google/apis/datastore_v1/service.rb +52 -63
  316. data/generated/google/apis/datastore_v1beta1.rb +1 -1
  317. data/generated/google/apis/datastore_v1beta1/classes.rb +150 -217
  318. data/generated/google/apis/datastore_v1beta1/service.rb +11 -12
  319. data/generated/google/apis/datastore_v1beta3.rb +1 -1
  320. data/generated/google/apis/datastore_v1beta3/classes.rb +255 -371
  321. data/generated/google/apis/datastore_v1beta3/service.rb +1 -2
  322. data/generated/google/apis/deploymentmanager_alpha.rb +1 -1
  323. data/generated/google/apis/deploymentmanager_v2.rb +1 -1
  324. data/generated/google/apis/deploymentmanager_v2beta.rb +1 -1
  325. data/generated/google/apis/dfareporting_v3_3.rb +2 -2
  326. data/generated/google/apis/dfareporting_v3_3/classes.rb +326 -339
  327. data/generated/google/apis/dfareporting_v3_3/representations.rb +42 -0
  328. data/generated/google/apis/dfareporting_v3_3/service.rb +673 -1286
  329. data/generated/google/apis/dfareporting_v3_4.rb +2 -2
  330. data/generated/google/apis/dfareporting_v3_4/classes.rb +769 -350
  331. data/generated/google/apis/dfareporting_v3_4/representations.rb +225 -0
  332. data/generated/google/apis/dfareporting_v3_4/service.rb +708 -1285
  333. data/generated/google/apis/dialogflow_v2.rb +1 -1
  334. data/generated/google/apis/dialogflow_v2/classes.rb +1365 -1563
  335. data/generated/google/apis/dialogflow_v2/representations.rb +67 -15
  336. data/generated/google/apis/dialogflow_v2/service.rb +324 -444
  337. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  338. data/generated/google/apis/dialogflow_v2beta1/classes.rb +1443 -1641
  339. data/generated/google/apis/dialogflow_v2beta1/representations.rb +67 -15
  340. data/generated/google/apis/dialogflow_v2beta1/service.rb +779 -984
  341. data/generated/google/apis/dialogflow_v3beta1.rb +38 -0
  342. data/generated/google/apis/dialogflow_v3beta1/classes.rb +8183 -0
  343. data/generated/google/apis/dialogflow_v3beta1/representations.rb +3459 -0
  344. data/generated/google/apis/dialogflow_v3beta1/service.rb +2812 -0
  345. data/generated/google/apis/displayvideo_v1.rb +7 -1
  346. data/generated/google/apis/displayvideo_v1/classes.rb +1817 -1719
  347. data/generated/google/apis/displayvideo_v1/representations.rb +305 -0
  348. data/generated/google/apis/displayvideo_v1/service.rb +1287 -923
  349. data/generated/google/apis/dlp_v2.rb +1 -1
  350. data/generated/google/apis/dlp_v2/classes.rb +1076 -1298
  351. data/generated/google/apis/dlp_v2/service.rb +962 -905
  352. data/generated/google/apis/dns_v1.rb +4 -4
  353. data/generated/google/apis/dns_v1/classes.rb +290 -162
  354. data/generated/google/apis/dns_v1/service.rb +232 -180
  355. data/generated/google/apis/dns_v1beta2.rb +1 -1
  356. data/generated/google/apis/dns_v1beta2/classes.rb +180 -205
  357. data/generated/google/apis/dns_v1beta2/service.rb +82 -97
  358. data/generated/google/apis/docs_v1.rb +1 -1
  359. data/generated/google/apis/docs_v1/classes.rb +894 -1229
  360. data/generated/google/apis/docs_v1/service.rb +17 -22
  361. data/generated/google/apis/documentai_v1beta2.rb +1 -1
  362. data/generated/google/apis/documentai_v1beta2/classes.rb +1186 -810
  363. data/generated/google/apis/documentai_v1beta2/representations.rb +303 -0
  364. data/generated/google/apis/documentai_v1beta2/service.rb +22 -24
  365. data/generated/google/apis/domainsrdap_v1.rb +1 -1
  366. data/generated/google/apis/domainsrdap_v1/classes.rb +42 -69
  367. data/generated/google/apis/domainsrdap_v1/service.rb +16 -16
  368. data/generated/google/apis/doubleclickbidmanager_v1.rb +3 -2
  369. data/generated/google/apis/doubleclickbidmanager_v1/classes.rb +7 -13
  370. data/generated/google/apis/doubleclickbidmanager_v1/service.rb +37 -66
  371. data/generated/google/apis/doubleclickbidmanager_v1_1.rb +3 -2
  372. data/generated/google/apis/doubleclickbidmanager_v1_1/classes.rb +201 -13
  373. data/generated/google/apis/doubleclickbidmanager_v1_1/representations.rb +107 -0
  374. data/generated/google/apis/doubleclickbidmanager_v1_1/service.rb +37 -66
  375. data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
  376. data/generated/google/apis/doubleclicksearch_v2/classes.rb +109 -126
  377. data/generated/google/apis/doubleclicksearch_v2/service.rb +5 -6
  378. data/generated/google/apis/drive_v2.rb +1 -1
  379. data/generated/google/apis/drive_v2/classes.rb +82 -8
  380. data/generated/google/apis/drive_v2/representations.rb +23 -0
  381. data/generated/google/apis/drive_v2/service.rb +102 -25
  382. data/generated/google/apis/drive_v3.rb +1 -1
  383. data/generated/google/apis/drive_v3/classes.rb +87 -8
  384. data/generated/google/apis/drive_v3/representations.rb +24 -0
  385. data/generated/google/apis/drive_v3/service.rb +67 -16
  386. data/generated/google/apis/driveactivity_v2.rb +1 -1
  387. data/generated/google/apis/driveactivity_v2/classes.rb +55 -68
  388. data/generated/google/apis/factchecktools_v1alpha1.rb +1 -1
  389. data/generated/google/apis/factchecktools_v1alpha1/classes.rb +46 -56
  390. data/generated/google/apis/factchecktools_v1alpha1/service.rb +30 -33
  391. data/generated/google/apis/fcm_v1.rb +1 -1
  392. data/generated/google/apis/fcm_v1/classes.rb +245 -393
  393. data/generated/google/apis/fcm_v1/service.rb +5 -6
  394. data/generated/google/apis/file_v1.rb +1 -1
  395. data/generated/google/apis/file_v1/classes.rb +154 -173
  396. data/generated/google/apis/file_v1/service.rb +43 -52
  397. data/generated/google/apis/file_v1beta1.rb +1 -1
  398. data/generated/google/apis/file_v1beta1/classes.rb +334 -193
  399. data/generated/google/apis/file_v1beta1/representations.rb +55 -0
  400. data/generated/google/apis/file_v1beta1/service.rb +267 -55
  401. data/generated/google/apis/firebase_v1beta1.rb +1 -1
  402. data/generated/google/apis/firebase_v1beta1/classes.rb +321 -381
  403. data/generated/google/apis/firebase_v1beta1/representations.rb +3 -16
  404. data/generated/google/apis/firebase_v1beta1/service.rb +364 -421
  405. data/generated/google/apis/firebasedynamiclinks_v1.rb +1 -1
  406. data/generated/google/apis/firebasedynamiclinks_v1/classes.rb +89 -112
  407. data/generated/google/apis/firebasedynamiclinks_v1/service.rb +18 -21
  408. data/generated/google/apis/{androidpublisher_v2.rb → firebasehosting_v1.rb} +11 -12
  409. data/generated/google/apis/firebasehosting_v1/classes.rb +182 -0
  410. data/generated/google/apis/{androidpublisher_v2 → firebasehosting_v1}/representations.rb +22 -32
  411. data/generated/google/apis/{securitycenter_v1p1alpha1 → firebasehosting_v1}/service.rb +51 -82
  412. data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
  413. data/generated/google/apis/firebasehosting_v1beta1/classes.rb +174 -177
  414. data/generated/google/apis/firebasehosting_v1beta1/representations.rb +15 -0
  415. data/generated/google/apis/firebasehosting_v1beta1/service.rb +112 -143
  416. data/generated/google/apis/firebaseml_v1.rb +1 -1
  417. data/generated/google/apis/firebaseml_v1/classes.rb +39 -44
  418. data/generated/google/apis/firebaseml_v1/service.rb +19 -22
  419. data/generated/google/apis/firebaseml_v1beta2.rb +1 -1
  420. data/generated/google/apis/firebaseml_v1beta2/classes.rb +59 -68
  421. data/generated/google/apis/firebaseml_v1beta2/service.rb +16 -18
  422. data/generated/google/apis/firebaserules_v1.rb +1 -1
  423. data/generated/google/apis/firebaserules_v1/classes.rb +102 -137
  424. data/generated/google/apis/firebaserules_v1/service.rb +87 -110
  425. data/generated/google/apis/firestore_v1.rb +1 -1
  426. data/generated/google/apis/firestore_v1/classes.rb +506 -450
  427. data/generated/google/apis/firestore_v1/representations.rb +63 -0
  428. data/generated/google/apis/firestore_v1/service.rb +227 -185
  429. data/generated/google/apis/firestore_v1beta1.rb +1 -1
  430. data/generated/google/apis/firestore_v1beta1/classes.rb +438 -361
  431. data/generated/google/apis/firestore_v1beta1/representations.rb +63 -0
  432. data/generated/google/apis/firestore_v1beta1/service.rb +168 -106
  433. data/generated/google/apis/firestore_v1beta2.rb +1 -1
  434. data/generated/google/apis/firestore_v1beta2/classes.rb +135 -165
  435. data/generated/google/apis/firestore_v1beta2/service.rb +65 -86
  436. data/generated/google/apis/fitness_v1.rb +1 -1
  437. data/generated/google/apis/fitness_v1/classes.rb +170 -208
  438. data/generated/google/apis/fitness_v1/service.rb +125 -146
  439. data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
  440. data/generated/google/apis/games_configuration_v1configuration/classes.rb +2 -3
  441. data/generated/google/apis/games_configuration_v1configuration/service.rb +8 -8
  442. data/generated/google/apis/games_management_v1management.rb +2 -3
  443. data/generated/google/apis/games_management_v1management/classes.rb +14 -20
  444. data/generated/google/apis/games_management_v1management/service.rb +37 -38
  445. data/generated/google/apis/games_v1.rb +5 -4
  446. data/generated/google/apis/games_v1/classes.rb +320 -2085
  447. data/generated/google/apis/games_v1/representations.rb +14 -647
  448. data/generated/google/apis/games_v1/service.rb +161 -1109
  449. data/generated/google/apis/gameservices_v1.rb +1 -1
  450. data/generated/google/apis/gameservices_v1/classes.rb +344 -523
  451. data/generated/google/apis/gameservices_v1/service.rb +167 -207
  452. data/generated/google/apis/gameservices_v1beta.rb +1 -1
  453. data/generated/google/apis/gameservices_v1beta/classes.rb +344 -523
  454. data/generated/google/apis/gameservices_v1beta/service.rb +167 -207
  455. data/generated/google/apis/genomics_v1.rb +1 -1
  456. data/generated/google/apis/genomics_v1/classes.rb +70 -76
  457. data/generated/google/apis/genomics_v1/service.rb +28 -43
  458. data/generated/google/apis/genomics_v1alpha2.rb +1 -1
  459. data/generated/google/apis/genomics_v1alpha2/classes.rb +223 -290
  460. data/generated/google/apis/genomics_v1alpha2/service.rb +54 -76
  461. data/generated/google/apis/genomics_v2alpha1.rb +1 -1
  462. data/generated/google/apis/genomics_v2alpha1/classes.rb +252 -347
  463. data/generated/google/apis/genomics_v2alpha1/representations.rb +1 -27
  464. data/generated/google/apis/genomics_v2alpha1/service.rb +47 -100
  465. data/generated/google/apis/gmail_v1.rb +3 -3
  466. data/generated/google/apis/gmail_v1/classes.rb +207 -266
  467. data/generated/google/apis/gmail_v1/service.rb +263 -290
  468. data/generated/google/apis/gmailpostmastertools_v1beta1.rb +5 -2
  469. data/generated/google/apis/gmailpostmastertools_v1beta1/classes.rb +37 -42
  470. data/generated/google/apis/gmailpostmastertools_v1beta1/service.rb +35 -41
  471. data/generated/google/apis/groupsmigration_v1.rb +3 -3
  472. data/generated/google/apis/groupsmigration_v1/service.rb +4 -4
  473. data/generated/google/apis/groupssettings_v1.rb +1 -1
  474. data/generated/google/apis/groupssettings_v1/classes.rb +1 -1
  475. data/generated/google/apis/healthcare_v1.rb +1 -1
  476. data/generated/google/apis/healthcare_v1/classes.rb +563 -826
  477. data/generated/google/apis/healthcare_v1/service.rb +687 -806
  478. data/generated/google/apis/healthcare_v1beta1.rb +1 -1
  479. data/generated/google/apis/healthcare_v1beta1/classes.rb +880 -1086
  480. data/generated/google/apis/healthcare_v1beta1/representations.rb +59 -0
  481. data/generated/google/apis/healthcare_v1beta1/service.rb +939 -1053
  482. data/generated/google/apis/homegraph_v1.rb +1 -1
  483. data/generated/google/apis/homegraph_v1/classes.rb +76 -164
  484. data/generated/google/apis/homegraph_v1/service.rb +23 -35
  485. data/generated/google/apis/iam_v1.rb +5 -2
  486. data/generated/google/apis/iam_v1/classes.rb +388 -573
  487. data/generated/google/apis/iam_v1/service.rb +430 -544
  488. data/generated/google/apis/iamcredentials_v1.rb +4 -2
  489. data/generated/google/apis/iamcredentials_v1/classes.rb +75 -85
  490. data/generated/google/apis/iamcredentials_v1/service.rb +15 -13
  491. data/generated/google/apis/iap_v1.rb +1 -1
  492. data/generated/google/apis/iap_v1/classes.rb +246 -355
  493. data/generated/google/apis/iap_v1/service.rb +61 -71
  494. data/generated/google/apis/iap_v1beta1.rb +1 -1
  495. data/generated/google/apis/iap_v1beta1/classes.rb +157 -254
  496. data/generated/google/apis/iap_v1beta1/service.rb +17 -19
  497. data/generated/google/apis/indexing_v3.rb +1 -1
  498. data/generated/google/apis/indexing_v3/classes.rb +11 -11
  499. data/generated/google/apis/kgsearch_v1.rb +1 -1
  500. data/generated/google/apis/kgsearch_v1/classes.rb +4 -4
  501. data/generated/google/apis/kgsearch_v1/service.rb +11 -11
  502. data/generated/google/apis/language_v1.rb +1 -1
  503. data/generated/google/apis/language_v1/classes.rb +93 -111
  504. data/generated/google/apis/language_v1/service.rb +4 -4
  505. data/generated/google/apis/language_v1beta1.rb +1 -1
  506. data/generated/google/apis/language_v1beta1/classes.rb +78 -90
  507. data/generated/google/apis/language_v1beta1/service.rb +2 -2
  508. data/generated/google/apis/language_v1beta2.rb +1 -1
  509. data/generated/google/apis/language_v1beta2/classes.rb +95 -112
  510. data/generated/google/apis/language_v1beta2/service.rb +4 -4
  511. data/generated/google/apis/libraryagent_v1.rb +1 -1
  512. data/generated/google/apis/libraryagent_v1/classes.rb +10 -16
  513. data/generated/google/apis/libraryagent_v1/service.rb +13 -16
  514. data/generated/google/apis/lifesciences_v2beta.rb +1 -1
  515. data/generated/google/apis/lifesciences_v2beta/classes.rb +262 -290
  516. data/generated/google/apis/lifesciences_v2beta/service.rb +30 -42
  517. data/generated/google/apis/{androidpublisher_v1/classes.rb → localservices_v1.rb} +11 -6
  518. data/generated/google/apis/localservices_v1/classes.rb +419 -0
  519. data/generated/google/apis/localservices_v1/representations.rb +172 -0
  520. data/generated/google/apis/localservices_v1/service.rb +199 -0
  521. data/generated/google/apis/logging_v2.rb +1 -1
  522. data/generated/google/apis/logging_v2/classes.rb +174 -214
  523. data/generated/google/apis/logging_v2/representations.rb +15 -0
  524. data/generated/google/apis/logging_v2/service.rb +1017 -584
  525. data/generated/google/apis/managedidentities_v1.rb +1 -1
  526. data/generated/google/apis/managedidentities_v1/classes.rb +326 -452
  527. data/generated/google/apis/managedidentities_v1/service.rb +78 -99
  528. data/generated/google/apis/managedidentities_v1alpha1.rb +1 -1
  529. data/generated/google/apis/managedidentities_v1alpha1/classes.rb +336 -457
  530. data/generated/google/apis/managedidentities_v1alpha1/service.rb +88 -112
  531. data/generated/google/apis/managedidentities_v1beta1.rb +1 -1
  532. data/generated/google/apis/managedidentities_v1beta1/classes.rb +332 -456
  533. data/generated/google/apis/managedidentities_v1beta1/service.rb +76 -96
  534. data/generated/google/apis/manufacturers_v1.rb +1 -1
  535. data/generated/google/apis/manufacturers_v1/classes.rb +99 -109
  536. data/generated/google/apis/manufacturers_v1/service.rb +44 -55
  537. data/generated/google/apis/memcache_v1beta2.rb +1 -1
  538. data/generated/google/apis/memcache_v1beta2/classes.rb +170 -710
  539. data/generated/google/apis/memcache_v1beta2/representations.rb +0 -120
  540. data/generated/google/apis/memcache_v1beta2/service.rb +58 -190
  541. data/generated/google/apis/ml_v1.rb +1 -1
  542. data/generated/google/apis/ml_v1/classes.rb +954 -1143
  543. data/generated/google/apis/ml_v1/representations.rb +64 -0
  544. data/generated/google/apis/ml_v1/service.rb +194 -253
  545. data/generated/google/apis/monitoring_v1.rb +1 -1
  546. data/generated/google/apis/monitoring_v1/classes.rb +117 -38
  547. data/generated/google/apis/monitoring_v1/representations.rb +35 -0
  548. data/generated/google/apis/monitoring_v1/service.rb +10 -11
  549. data/generated/google/apis/monitoring_v3.rb +1 -1
  550. data/generated/google/apis/monitoring_v3/classes.rb +263 -315
  551. data/generated/google/apis/monitoring_v3/representations.rb +3 -0
  552. data/generated/google/apis/monitoring_v3/service.rb +126 -141
  553. data/generated/google/apis/networkmanagement_v1.rb +1 -1
  554. data/generated/google/apis/networkmanagement_v1/classes.rb +273 -429
  555. data/generated/google/apis/networkmanagement_v1/service.rb +97 -120
  556. data/generated/google/apis/networkmanagement_v1beta1.rb +1 -1
  557. data/generated/google/apis/networkmanagement_v1beta1/classes.rb +388 -429
  558. data/generated/google/apis/networkmanagement_v1beta1/representations.rb +40 -0
  559. data/generated/google/apis/networkmanagement_v1beta1/service.rb +97 -120
  560. data/generated/google/apis/osconfig_v1.rb +1 -1
  561. data/generated/google/apis/osconfig_v1/classes.rb +931 -179
  562. data/generated/google/apis/osconfig_v1/representations.rb +372 -0
  563. data/generated/google/apis/osconfig_v1/service.rb +22 -27
  564. data/generated/google/apis/osconfig_v1beta.rb +1 -1
  565. data/generated/google/apis/osconfig_v1beta/classes.rb +1158 -463
  566. data/generated/google/apis/osconfig_v1beta/representations.rb +372 -0
  567. data/generated/google/apis/osconfig_v1beta/service.rb +39 -52
  568. data/generated/google/apis/oslogin_v1.rb +1 -1
  569. data/generated/google/apis/oslogin_v1/classes.rb +14 -12
  570. data/generated/google/apis/oslogin_v1/representations.rb +1 -0
  571. data/generated/google/apis/oslogin_v1/service.rb +12 -16
  572. data/generated/google/apis/oslogin_v1alpha.rb +1 -1
  573. data/generated/google/apis/oslogin_v1alpha/classes.rb +14 -12
  574. data/generated/google/apis/oslogin_v1alpha/representations.rb +1 -0
  575. data/generated/google/apis/oslogin_v1alpha/service.rb +14 -14
  576. data/generated/google/apis/oslogin_v1beta.rb +1 -1
  577. data/generated/google/apis/oslogin_v1beta/classes.rb +14 -12
  578. data/generated/google/apis/oslogin_v1beta/representations.rb +1 -0
  579. data/generated/google/apis/oslogin_v1beta/service.rb +12 -16
  580. data/generated/google/apis/pagespeedonline_v5.rb +2 -2
  581. data/generated/google/apis/pagespeedonline_v5/classes.rb +18 -24
  582. data/generated/google/apis/pagespeedonline_v5/service.rb +3 -4
  583. data/generated/google/apis/people_v1.rb +1 -1
  584. data/generated/google/apis/people_v1/classes.rb +493 -403
  585. data/generated/google/apis/people_v1/representations.rb +98 -0
  586. data/generated/google/apis/people_v1/service.rb +169 -385
  587. data/generated/google/apis/playablelocations_v3.rb +1 -1
  588. data/generated/google/apis/playablelocations_v3/classes.rb +108 -155
  589. data/generated/google/apis/playablelocations_v3/service.rb +10 -10
  590. data/generated/google/apis/playcustomapp_v1.rb +1 -1
  591. data/generated/google/apis/playcustomapp_v1/classes.rb +2 -2
  592. data/generated/google/apis/policytroubleshooter_v1.rb +1 -1
  593. data/generated/google/apis/policytroubleshooter_v1/classes.rb +232 -394
  594. data/generated/google/apis/policytroubleshooter_v1/service.rb +2 -2
  595. data/generated/google/apis/policytroubleshooter_v1beta.rb +1 -1
  596. data/generated/google/apis/policytroubleshooter_v1beta/classes.rb +232 -393
  597. data/generated/google/apis/policytroubleshooter_v1beta/service.rb +2 -2
  598. data/generated/google/apis/prod_tt_sasportal_v1alpha1.rb +1 -1
  599. data/generated/google/apis/prod_tt_sasportal_v1alpha1/classes.rb +128 -219
  600. data/generated/google/apis/prod_tt_sasportal_v1alpha1/representations.rb +1 -32
  601. data/generated/google/apis/prod_tt_sasportal_v1alpha1/service.rb +38 -526
  602. data/generated/google/apis/pubsub_v1.rb +1 -1
  603. data/generated/google/apis/pubsub_v1/classes.rb +407 -516
  604. data/generated/google/apis/pubsub_v1/representations.rb +3 -0
  605. data/generated/google/apis/pubsub_v1/service.rb +217 -252
  606. data/generated/google/apis/pubsub_v1beta1a.rb +1 -1
  607. data/generated/google/apis/pubsub_v1beta1a/classes.rb +71 -86
  608. data/generated/google/apis/pubsub_v1beta1a/service.rb +31 -38
  609. data/generated/google/apis/pubsub_v1beta2.rb +1 -1
  610. data/generated/google/apis/pubsub_v1beta2/classes.rb +244 -354
  611. data/generated/google/apis/pubsub_v1beta2/service.rb +96 -108
  612. data/generated/google/apis/{accessapproval_v1beta1.rb → pubsublite_v1.rb} +9 -9
  613. data/generated/google/apis/pubsublite_v1/classes.rb +389 -0
  614. data/generated/google/apis/{accessapproval_v1beta1 → pubsublite_v1}/representations.rb +78 -53
  615. data/generated/google/apis/pubsublite_v1/service.rb +525 -0
  616. data/generated/google/apis/realtimebidding_v1.rb +1 -4
  617. data/generated/google/apis/realtimebidding_v1/classes.rb +198 -291
  618. data/generated/google/apis/realtimebidding_v1/service.rb +98 -135
  619. data/generated/google/apis/recommendationengine_v1beta1.rb +36 -0
  620. data/generated/google/apis/recommendationengine_v1beta1/classes.rb +1896 -0
  621. data/generated/google/apis/recommendationengine_v1beta1/representations.rb +832 -0
  622. data/generated/google/apis/recommendationengine_v1beta1/service.rb +924 -0
  623. data/generated/google/apis/recommender_v1.rb +1 -1
  624. data/generated/google/apis/recommender_v1/classes.rb +271 -84
  625. data/generated/google/apis/recommender_v1/representations.rb +96 -0
  626. data/generated/google/apis/recommender_v1/service.rb +143 -35
  627. data/generated/google/apis/recommender_v1beta1.rb +1 -1
  628. data/generated/google/apis/recommender_v1beta1/classes.rb +75 -99
  629. data/generated/google/apis/recommender_v1beta1/service.rb +43 -58
  630. data/generated/google/apis/redis_v1.rb +1 -1
  631. data/generated/google/apis/redis_v1/classes.rb +477 -116
  632. data/generated/google/apis/redis_v1/representations.rb +139 -0
  633. data/generated/google/apis/redis_v1/service.rb +93 -110
  634. data/generated/google/apis/redis_v1beta1.rb +1 -1
  635. data/generated/google/apis/redis_v1beta1/classes.rb +481 -120
  636. data/generated/google/apis/redis_v1beta1/representations.rb +139 -0
  637. data/generated/google/apis/redis_v1beta1/service.rb +93 -110
  638. data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
  639. data/generated/google/apis/remotebuildexecution_v1/classes.rb +951 -1078
  640. data/generated/google/apis/remotebuildexecution_v1/representations.rb +61 -0
  641. data/generated/google/apis/remotebuildexecution_v1/service.rb +26 -33
  642. data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
  643. data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +946 -1071
  644. data/generated/google/apis/remotebuildexecution_v1alpha/representations.rb +61 -0
  645. data/generated/google/apis/remotebuildexecution_v1alpha/service.rb +103 -65
  646. data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
  647. data/generated/google/apis/remotebuildexecution_v2/classes.rb +1099 -1250
  648. data/generated/google/apis/remotebuildexecution_v2/representations.rb +61 -0
  649. data/generated/google/apis/remotebuildexecution_v2/service.rb +147 -206
  650. data/generated/google/apis/reseller_v1.rb +4 -3
  651. data/generated/google/apis/reseller_v1/classes.rb +219 -160
  652. data/generated/google/apis/reseller_v1/service.rb +247 -252
  653. data/generated/google/apis/run_v1.rb +2 -2
  654. data/generated/google/apis/run_v1/classes.rb +837 -1244
  655. data/generated/google/apis/run_v1/representations.rb +1 -1
  656. data/generated/google/apis/run_v1/service.rb +234 -248
  657. data/generated/google/apis/run_v1alpha1.rb +2 -2
  658. data/generated/google/apis/run_v1alpha1/classes.rb +935 -1332
  659. data/generated/google/apis/run_v1alpha1/representations.rb +1 -1
  660. data/generated/google/apis/run_v1alpha1/service.rb +322 -378
  661. data/generated/google/apis/run_v1beta1.rb +2 -2
  662. data/generated/google/apis/run_v1beta1/classes.rb +210 -276
  663. data/generated/google/apis/run_v1beta1/service.rb +17 -19
  664. data/generated/google/apis/runtimeconfig_v1.rb +1 -1
  665. data/generated/google/apis/runtimeconfig_v1/classes.rb +36 -40
  666. data/generated/google/apis/runtimeconfig_v1/service.rb +19 -22
  667. data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
  668. data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +295 -412
  669. data/generated/google/apis/runtimeconfig_v1beta1/service.rb +135 -159
  670. data/generated/google/apis/safebrowsing_v4.rb +1 -1
  671. data/generated/google/apis/safebrowsing_v4/classes.rb +55 -64
  672. data/generated/google/apis/safebrowsing_v4/service.rb +4 -4
  673. data/generated/google/apis/sasportal_v1alpha1.rb +1 -1
  674. data/generated/google/apis/sasportal_v1alpha1/classes.rb +128 -219
  675. data/generated/google/apis/sasportal_v1alpha1/representations.rb +1 -32
  676. data/generated/google/apis/sasportal_v1alpha1/service.rb +38 -526
  677. data/generated/google/apis/script_v1.rb +1 -1
  678. data/generated/google/apis/script_v1/classes.rb +88 -111
  679. data/generated/google/apis/script_v1/service.rb +63 -69
  680. data/generated/google/apis/searchconsole_v1.rb +4 -3
  681. data/generated/google/apis/searchconsole_v1/classes.rb +2 -2
  682. data/generated/google/apis/searchconsole_v1/service.rb +3 -2
  683. data/generated/google/apis/secretmanager_v1.rb +1 -1
  684. data/generated/google/apis/secretmanager_v1/classes.rb +211 -363
  685. data/generated/google/apis/secretmanager_v1/service.rb +66 -82
  686. data/generated/google/apis/secretmanager_v1beta1.rb +1 -1
  687. data/generated/google/apis/secretmanager_v1beta1/classes.rb +211 -363
  688. data/generated/google/apis/secretmanager_v1beta1/service.rb +66 -82
  689. data/generated/google/apis/securitycenter_v1.rb +1 -1
  690. data/generated/google/apis/securitycenter_v1/classes.rb +584 -826
  691. data/generated/google/apis/securitycenter_v1/representations.rb +1 -0
  692. data/generated/google/apis/securitycenter_v1/service.rb +250 -332
  693. data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
  694. data/generated/google/apis/securitycenter_v1beta1/classes.rb +533 -746
  695. data/generated/google/apis/securitycenter_v1beta1/representations.rb +1 -0
  696. data/generated/google/apis/securitycenter_v1beta1/service.rb +160 -202
  697. data/generated/google/apis/{securitycenter_v1p1beta1.rb → securitycenter_v1beta2.rb} +6 -6
  698. data/generated/google/apis/{securitycenter_v1p1alpha1 → securitycenter_v1beta2}/classes.rb +415 -269
  699. data/generated/google/apis/{securitycenter_v1p1alpha1 → securitycenter_v1beta2}/representations.rb +101 -30
  700. data/generated/google/apis/securitycenter_v1beta2/service.rb +1494 -0
  701. data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
  702. data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +1120 -1784
  703. data/generated/google/apis/serviceconsumermanagement_v1/service.rb +114 -141
  704. data/generated/google/apis/serviceconsumermanagement_v1beta1.rb +1 -1
  705. data/generated/google/apis/serviceconsumermanagement_v1beta1/classes.rb +1107 -1774
  706. data/generated/google/apis/serviceconsumermanagement_v1beta1/service.rb +52 -66
  707. data/generated/google/apis/servicecontrol_v1.rb +1 -1
  708. data/generated/google/apis/servicecontrol_v1/classes.rb +523 -641
  709. data/generated/google/apis/servicecontrol_v1/service.rb +36 -46
  710. data/generated/google/apis/servicecontrol_v2.rb +38 -0
  711. data/generated/google/apis/servicecontrol_v2/classes.rb +1075 -0
  712. data/generated/google/apis/servicecontrol_v2/representations.rb +405 -0
  713. data/generated/google/apis/servicecontrol_v2/service.rb +155 -0
  714. data/generated/google/apis/servicedirectory_v1beta1.rb +1 -1
  715. data/generated/google/apis/servicedirectory_v1beta1/classes.rb +214 -333
  716. data/generated/google/apis/servicedirectory_v1beta1/service.rb +94 -129
  717. data/generated/google/apis/servicemanagement_v1.rb +1 -1
  718. data/generated/google/apis/servicemanagement_v1/classes.rb +1288 -2090
  719. data/generated/google/apis/servicemanagement_v1/representations.rb +14 -0
  720. data/generated/google/apis/servicemanagement_v1/service.rb +144 -195
  721. data/generated/google/apis/servicenetworking_v1.rb +1 -1
  722. data/generated/google/apis/servicenetworking_v1/classes.rb +1164 -1758
  723. data/generated/google/apis/servicenetworking_v1/representations.rb +52 -0
  724. data/generated/google/apis/servicenetworking_v1/service.rb +210 -114
  725. data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
  726. data/generated/google/apis/servicenetworking_v1beta/classes.rb +1091 -1684
  727. data/generated/google/apis/servicenetworking_v1beta/representations.rb +38 -0
  728. data/generated/google/apis/servicenetworking_v1beta/service.rb +52 -63
  729. data/generated/google/apis/serviceusage_v1.rb +1 -1
  730. data/generated/google/apis/serviceusage_v1/classes.rb +1144 -1823
  731. data/generated/google/apis/serviceusage_v1/representations.rb +4 -0
  732. data/generated/google/apis/serviceusage_v1/service.rb +67 -80
  733. data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
  734. data/generated/google/apis/serviceusage_v1beta1/classes.rb +1273 -1986
  735. data/generated/google/apis/serviceusage_v1beta1/representations.rb +8 -0
  736. data/generated/google/apis/serviceusage_v1beta1/service.rb +130 -162
  737. data/generated/google/apis/sheets_v4.rb +1 -1
  738. data/generated/google/apis/sheets_v4/classes.rb +3932 -5007
  739. data/generated/google/apis/sheets_v4/representations.rb +625 -0
  740. data/generated/google/apis/sheets_v4/service.rb +113 -149
  741. data/generated/google/apis/site_verification_v1.rb +1 -1
  742. data/generated/google/apis/slides_v1.rb +1 -1
  743. data/generated/google/apis/slides_v1/classes.rb +841 -1114
  744. data/generated/google/apis/slides_v1/service.rb +23 -30
  745. data/generated/google/apis/sourcerepo_v1.rb +1 -1
  746. data/generated/google/apis/sourcerepo_v1/classes.rb +6 -6
  747. data/generated/google/apis/spanner_v1.rb +1 -1
  748. data/generated/google/apis/spanner_v1/classes.rb +1546 -2156
  749. data/generated/google/apis/spanner_v1/service.rb +443 -618
  750. data/generated/google/apis/speech_v1.rb +1 -1
  751. data/generated/google/apis/speech_v1/classes.rb +174 -220
  752. data/generated/google/apis/speech_v1/service.rb +27 -32
  753. data/generated/google/apis/speech_v1p1beta1.rb +1 -1
  754. data/generated/google/apis/speech_v1p1beta1/classes.rb +253 -306
  755. data/generated/google/apis/speech_v1p1beta1/service.rb +27 -32
  756. data/generated/google/apis/speech_v2beta1.rb +1 -1
  757. data/generated/google/apis/speech_v2beta1/classes.rb +66 -76
  758. data/generated/google/apis/speech_v2beta1/service.rb +10 -12
  759. data/generated/google/apis/sql_v1beta4.rb +1 -1
  760. data/generated/google/apis/sql_v1beta4/classes.rb +322 -374
  761. data/generated/google/apis/sql_v1beta4/representations.rb +3 -0
  762. data/generated/google/apis/sql_v1beta4/service.rb +49 -54
  763. data/generated/google/apis/storage_v1.rb +1 -1
  764. data/generated/google/apis/storage_v1/classes.rb +8 -7
  765. data/generated/google/apis/storage_v1/representations.rb +2 -2
  766. data/generated/google/apis/storagetransfer_v1.rb +1 -1
  767. data/generated/google/apis/storagetransfer_v1/classes.rb +263 -343
  768. data/generated/google/apis/storagetransfer_v1/service.rb +43 -40
  769. data/generated/google/apis/streetviewpublish_v1.rb +1 -1
  770. data/generated/google/apis/streetviewpublish_v1/classes.rb +106 -148
  771. data/generated/google/apis/streetviewpublish_v1/service.rb +94 -177
  772. data/generated/google/apis/tagmanager_v1.rb +2 -3
  773. data/generated/google/apis/tagmanager_v1/classes.rb +225 -288
  774. data/generated/google/apis/tagmanager_v1/service.rb +22 -23
  775. data/generated/google/apis/tagmanager_v2.rb +2 -3
  776. data/generated/google/apis/tagmanager_v2/classes.rb +240 -280
  777. data/generated/google/apis/tagmanager_v2/representations.rb +1 -0
  778. data/generated/google/apis/tagmanager_v2/service.rb +189 -285
  779. data/generated/google/apis/tasks_v1.rb +1 -1
  780. data/generated/google/apis/tasks_v1/classes.rb +20 -21
  781. data/generated/google/apis/tasks_v1/service.rb +16 -17
  782. data/generated/google/apis/testing_v1.rb +1 -1
  783. data/generated/google/apis/testing_v1/classes.rb +383 -374
  784. data/generated/google/apis/testing_v1/representations.rb +35 -0
  785. data/generated/google/apis/testing_v1/service.rb +22 -28
  786. data/generated/google/apis/texttospeech_v1.rb +1 -1
  787. data/generated/google/apis/texttospeech_v1/classes.rb +51 -57
  788. data/generated/google/apis/texttospeech_v1/service.rb +9 -10
  789. data/generated/google/apis/texttospeech_v1beta1.rb +1 -1
  790. data/generated/google/apis/texttospeech_v1beta1/classes.rb +96 -57
  791. data/generated/google/apis/texttospeech_v1beta1/representations.rb +19 -0
  792. data/generated/google/apis/texttospeech_v1beta1/service.rb +9 -10
  793. data/generated/google/apis/toolresults_v1beta3.rb +1 -1
  794. data/generated/google/apis/toolresults_v1beta3/classes.rb +678 -928
  795. data/generated/google/apis/toolresults_v1beta3/representations.rb +2 -0
  796. data/generated/google/apis/toolresults_v1beta3/service.rb +522 -640
  797. data/generated/google/apis/tpu_v1.rb +1 -1
  798. data/generated/google/apis/tpu_v1/classes.rb +79 -78
  799. data/generated/google/apis/tpu_v1/representations.rb +1 -0
  800. data/generated/google/apis/tpu_v1/service.rb +21 -25
  801. data/generated/google/apis/tpu_v1alpha1.rb +1 -1
  802. data/generated/google/apis/tpu_v1alpha1/classes.rb +79 -78
  803. data/generated/google/apis/tpu_v1alpha1/representations.rb +1 -0
  804. data/generated/google/apis/tpu_v1alpha1/service.rb +21 -25
  805. data/generated/google/apis/{cloudfunctions_v1beta2.rb → trafficdirector_v2.rb} +9 -9
  806. data/generated/google/apis/trafficdirector_v2/classes.rb +1347 -0
  807. data/generated/google/apis/trafficdirector_v2/representations.rb +620 -0
  808. data/generated/google/apis/trafficdirector_v2/service.rb +89 -0
  809. data/generated/google/apis/translate_v3.rb +1 -1
  810. data/generated/google/apis/translate_v3/classes.rb +148 -175
  811. data/generated/google/apis/translate_v3/service.rb +122 -138
  812. data/generated/google/apis/translate_v3beta1.rb +1 -1
  813. data/generated/google/apis/translate_v3beta1/classes.rb +149 -170
  814. data/generated/google/apis/translate_v3beta1/service.rb +122 -138
  815. data/generated/google/apis/vectortile_v1.rb +1 -1
  816. data/generated/google/apis/vectortile_v1/classes.rb +185 -267
  817. data/generated/google/apis/vectortile_v1/service.rb +75 -88
  818. data/generated/google/apis/videointelligence_v1.rb +1 -1
  819. data/generated/google/apis/videointelligence_v1/classes.rb +753 -918
  820. data/generated/google/apis/videointelligence_v1/service.rb +40 -48
  821. data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
  822. data/generated/google/apis/videointelligence_v1beta2/classes.rb +748 -911
  823. data/generated/google/apis/videointelligence_v1beta2/service.rb +4 -4
  824. data/generated/google/apis/videointelligence_v1p1beta1.rb +1 -1
  825. data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +748 -911
  826. data/generated/google/apis/videointelligence_v1p1beta1/service.rb +4 -4
  827. data/generated/google/apis/videointelligence_v1p2beta1.rb +1 -1
  828. data/generated/google/apis/videointelligence_v1p2beta1/classes.rb +748 -911
  829. data/generated/google/apis/videointelligence_v1p2beta1/service.rb +4 -4
  830. data/generated/google/apis/videointelligence_v1p3beta1.rb +1 -1
  831. data/generated/google/apis/videointelligence_v1p3beta1/classes.rb +754 -920
  832. data/generated/google/apis/videointelligence_v1p3beta1/service.rb +4 -4
  833. data/generated/google/apis/vision_v1.rb +1 -1
  834. data/generated/google/apis/vision_v1/classes.rb +1304 -1868
  835. data/generated/google/apis/vision_v1/service.rb +254 -340
  836. data/generated/google/apis/vision_v1p1beta1.rb +1 -1
  837. data/generated/google/apis/vision_v1p1beta1/classes.rb +1246 -1788
  838. data/generated/google/apis/vision_v1p1beta1/service.rb +91 -121
  839. data/generated/google/apis/vision_v1p2beta1.rb +1 -1
  840. data/generated/google/apis/vision_v1p2beta1/classes.rb +1246 -1788
  841. data/generated/google/apis/vision_v1p2beta1/service.rb +91 -121
  842. data/generated/google/apis/webfonts_v1.rb +2 -3
  843. data/generated/google/apis/webfonts_v1/classes.rb +1 -2
  844. data/generated/google/apis/webfonts_v1/service.rb +4 -6
  845. data/generated/google/apis/websecurityscanner_v1.rb +1 -1
  846. data/generated/google/apis/websecurityscanner_v1/classes.rb +71 -95
  847. data/generated/google/apis/websecurityscanner_v1/service.rb +46 -65
  848. data/generated/google/apis/websecurityscanner_v1alpha.rb +1 -1
  849. data/generated/google/apis/websecurityscanner_v1alpha/classes.rb +55 -63
  850. data/generated/google/apis/websecurityscanner_v1alpha/service.rb +46 -65
  851. data/generated/google/apis/websecurityscanner_v1beta.rb +1 -1
  852. data/generated/google/apis/websecurityscanner_v1beta/classes.rb +77 -92
  853. data/generated/google/apis/websecurityscanner_v1beta/service.rb +46 -65
  854. data/generated/google/apis/youtube_analytics_v2.rb +1 -1
  855. data/generated/google/apis/youtube_analytics_v2/classes.rb +77 -104
  856. data/generated/google/apis/youtube_analytics_v2/service.rb +106 -126
  857. data/generated/google/apis/youtube_partner_v1.rb +4 -3
  858. data/generated/google/apis/youtube_partner_v1/classes.rb +1106 -690
  859. data/generated/google/apis/youtube_partner_v1/representations.rb +357 -256
  860. data/generated/google/apis/youtube_partner_v1/service.rb +519 -1079
  861. data/generated/google/apis/youtube_v3.rb +1 -1
  862. data/generated/google/apis/youtube_v3/classes.rb +1826 -1157
  863. data/generated/google/apis/youtube_v3/representations.rb +458 -0
  864. data/generated/google/apis/youtube_v3/service.rb +1303 -1274
  865. data/generated/google/apis/youtubereporting_v1.rb +1 -1
  866. data/generated/google/apis/youtubereporting_v1/classes.rb +20 -29
  867. data/generated/google/apis/youtubereporting_v1/service.rb +40 -43
  868. data/lib/google/apis/core/base_service.rb +7 -1
  869. data/lib/google/apis/version.rb +1 -1
  870. metadata +47 -43
  871. data/generated/google/apis/accessapproval_v1beta1/classes.rb +0 -417
  872. data/generated/google/apis/accessapproval_v1beta1/service.rb +0 -854
  873. data/generated/google/apis/androidpublisher_v1/representations.rb +0 -26
  874. data/generated/google/apis/androidpublisher_v1/service.rb +0 -64
  875. data/generated/google/apis/androidpublisher_v1_1.rb +0 -34
  876. data/generated/google/apis/androidpublisher_v1_1/classes.rb +0 -94
  877. data/generated/google/apis/androidpublisher_v1_1/representations.rb +0 -45
  878. data/generated/google/apis/androidpublisher_v1_1/service.rb +0 -104
  879. data/generated/google/apis/androidpublisher_v2/classes.rb +0 -223
  880. data/generated/google/apis/androidpublisher_v2/service.rb +0 -160
  881. data/generated/google/apis/cloudfunctions_v1beta2/classes.rb +0 -841
  882. data/generated/google/apis/cloudfunctions_v1beta2/service.rb +0 -486
  883. data/generated/google/apis/dns_v2beta1.rb +0 -43
  884. data/generated/google/apis/dns_v2beta1/classes.rb +0 -1296
  885. data/generated/google/apis/dns_v2beta1/representations.rb +0 -588
  886. data/generated/google/apis/dns_v2beta1/service.rb +0 -861
  887. data/generated/google/apis/oauth2_v2.rb +0 -40
  888. data/generated/google/apis/oauth2_v2/classes.rb +0 -165
  889. data/generated/google/apis/oauth2_v2/representations.rb +0 -68
  890. data/generated/google/apis/oauth2_v2/service.rb +0 -158
  891. data/generated/google/apis/securitycenter_v1p1beta1/classes.rb +0 -2305
  892. data/generated/google/apis/securitycenter_v1p1beta1/representations.rb +0 -789
  893. data/generated/google/apis/securitycenter_v1p1beta1/service.rb +0 -1326
  894. data/generated/google/apis/storage_v1beta2.rb +0 -40
  895. data/generated/google/apis/storage_v1beta2/classes.rb +0 -1047
  896. data/generated/google/apis/storage_v1beta2/representations.rb +0 -425
  897. data/generated/google/apis/storage_v1beta2/service.rb +0 -1667
@@ -22,12 +22,24 @@ module Google
22
22
  module Apis
23
23
  module DialogflowV2beta1
24
24
 
25
+ class GoogleCloudDialogflowCxV3beta1CreateVersionOperationMetadata
26
+ class Representation < Google::Apis::Core::JsonRepresentation; end
27
+
28
+ include Google::Apis::Core::JsonObjectSupport
29
+ end
30
+
25
31
  class GoogleCloudDialogflowCxV3beta1ExportAgentResponse
26
32
  class Representation < Google::Apis::Core::JsonRepresentation; end
27
33
 
28
34
  include Google::Apis::Core::JsonObjectSupport
29
35
  end
30
36
 
37
+ class GoogleCloudDialogflowCxV3beta1ImportAgentResponse
38
+ class Representation < Google::Apis::Core::JsonRepresentation; end
39
+
40
+ include Google::Apis::Core::JsonObjectSupport
41
+ end
42
+
31
43
  class GoogleCloudDialogflowCxV3beta1PageInfo
32
44
  class Representation < Google::Apis::Core::JsonRepresentation; end
33
45
 
@@ -64,12 +76,6 @@ module Google
64
76
  include Google::Apis::Core::JsonObjectSupport
65
77
  end
66
78
 
67
- class GoogleCloudDialogflowCxV3beta1ResponseMessageHumanAgentHandoff
68
- class Representation < Google::Apis::Core::JsonRepresentation; end
69
-
70
- include Google::Apis::Core::JsonObjectSupport
71
- end
72
-
73
79
  class GoogleCloudDialogflowCxV3beta1ResponseMessageLiveAgentHandoff
74
80
  class Representation < Google::Apis::Core::JsonRepresentation; end
75
81
 
@@ -466,6 +472,12 @@ module Google
466
472
  include Google::Apis::Core::JsonObjectSupport
467
473
  end
468
474
 
475
+ class GoogleCloudDialogflowV2beta1AutoApproveSmartMessagingEntriesResponse
476
+ class Representation < Google::Apis::Core::JsonRepresentation; end
477
+
478
+ include Google::Apis::Core::JsonObjectSupport
479
+ end
480
+
469
481
  class GoogleCloudDialogflowV2beta1BatchCreateEntitiesRequest
470
482
  class Representation < Google::Apis::Core::JsonRepresentation; end
471
483
 
@@ -1120,12 +1132,24 @@ module Google
1120
1132
  include Google::Apis::Core::JsonObjectSupport
1121
1133
  end
1122
1134
 
1135
+ class GoogleCloudDialogflowV3alpha1CreateVersionOperationMetadata
1136
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1137
+
1138
+ include Google::Apis::Core::JsonObjectSupport
1139
+ end
1140
+
1123
1141
  class GoogleCloudDialogflowV3alpha1ExportAgentResponse
1124
1142
  class Representation < Google::Apis::Core::JsonRepresentation; end
1125
1143
 
1126
1144
  include Google::Apis::Core::JsonObjectSupport
1127
1145
  end
1128
1146
 
1147
+ class GoogleCloudDialogflowV3alpha1ImportAgentResponse
1148
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1149
+
1150
+ include Google::Apis::Core::JsonObjectSupport
1151
+ end
1152
+
1129
1153
  class GoogleLongrunningListOperationsResponse
1130
1154
  class Representation < Google::Apis::Core::JsonRepresentation; end
1131
1155
 
@@ -1156,6 +1180,13 @@ module Google
1156
1180
  include Google::Apis::Core::JsonObjectSupport
1157
1181
  end
1158
1182
 
1183
+ class GoogleCloudDialogflowCxV3beta1CreateVersionOperationMetadata
1184
+ # @private
1185
+ class Representation < Google::Apis::Core::JsonRepresentation
1186
+ property :version, as: 'version'
1187
+ end
1188
+ end
1189
+
1159
1190
  class GoogleCloudDialogflowCxV3beta1ExportAgentResponse
1160
1191
  # @private
1161
1192
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1164,6 +1195,13 @@ module Google
1164
1195
  end
1165
1196
  end
1166
1197
 
1198
+ class GoogleCloudDialogflowCxV3beta1ImportAgentResponse
1199
+ # @private
1200
+ class Representation < Google::Apis::Core::JsonRepresentation
1201
+ property :agent, as: 'agent'
1202
+ end
1203
+ end
1204
+
1167
1205
  class GoogleCloudDialogflowCxV3beta1PageInfo
1168
1206
  # @private
1169
1207
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1199,8 +1237,6 @@ module Google
1199
1237
 
1200
1238
  property :end_interaction, as: 'endInteraction', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1ResponseMessageEndInteraction, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1ResponseMessageEndInteraction::Representation
1201
1239
 
1202
- property :human_agent_handoff, as: 'humanAgentHandoff', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1ResponseMessageHumanAgentHandoff, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1ResponseMessageHumanAgentHandoff::Representation
1203
-
1204
1240
  property :live_agent_handoff, as: 'liveAgentHandoff', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1ResponseMessageLiveAgentHandoff, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1ResponseMessageLiveAgentHandoff::Representation
1205
1241
 
1206
1242
  property :mixed_audio, as: 'mixedAudio', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudio, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudio::Representation
@@ -1228,13 +1264,6 @@ module Google
1228
1264
  end
1229
1265
  end
1230
1266
 
1231
- class GoogleCloudDialogflowCxV3beta1ResponseMessageHumanAgentHandoff
1232
- # @private
1233
- class Representation < Google::Apis::Core::JsonRepresentation
1234
- hash :metadata, as: 'metadata'
1235
- end
1236
- end
1237
-
1238
1267
  class GoogleCloudDialogflowCxV3beta1ResponseMessageLiveAgentHandoff
1239
1268
  # @private
1240
1269
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1943,6 +1972,15 @@ module Google
1943
1972
  end
1944
1973
  end
1945
1974
 
1975
+ class GoogleCloudDialogflowV2beta1AutoApproveSmartMessagingEntriesResponse
1976
+ # @private
1977
+ class Representation < Google::Apis::Core::JsonRepresentation
1978
+ property :disabled_count, as: 'disabledCount'
1979
+ property :enabled_count, as: 'enabledCount'
1980
+ property :unreviewed_count, as: 'unreviewedCount'
1981
+ end
1982
+ end
1983
+
1946
1984
  class GoogleCloudDialogflowV2beta1BatchCreateEntitiesRequest
1947
1985
  # @private
1948
1986
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -3060,6 +3098,13 @@ module Google
3060
3098
  end
3061
3099
  end
3062
3100
 
3101
+ class GoogleCloudDialogflowV3alpha1CreateVersionOperationMetadata
3102
+ # @private
3103
+ class Representation < Google::Apis::Core::JsonRepresentation
3104
+ property :version, as: 'version'
3105
+ end
3106
+ end
3107
+
3063
3108
  class GoogleCloudDialogflowV3alpha1ExportAgentResponse
3064
3109
  # @private
3065
3110
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -3068,6 +3113,13 @@ module Google
3068
3113
  end
3069
3114
  end
3070
3115
 
3116
+ class GoogleCloudDialogflowV3alpha1ImportAgentResponse
3117
+ # @private
3118
+ class Representation < Google::Apis::Core::JsonRepresentation
3119
+ property :agent, as: 'agent'
3120
+ end
3121
+ end
3122
+
3071
3123
  class GoogleLongrunningListOperationsResponse
3072
3124
  # @private
3073
3125
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -50,8 +50,8 @@ module Google
50
50
 
51
51
  # Deletes the specified agent.
52
52
  # @param [String] parent
53
- # Required. The project that the agent to delete is associated with.
54
- # Format: `projects/<Project ID>`.
53
+ # Required. The project that the agent to delete is associated with. Format: `
54
+ # projects/`.
55
55
  # @param [String] fields
56
56
  # Selector specifying which fields to include in a partial response.
57
57
  # @param [String] quota_user
@@ -81,8 +81,8 @@ module Google
81
81
 
82
82
  # Retrieves the specified agent.
83
83
  # @param [String] parent
84
- # Required. The project that the agent to fetch is associated with.
85
- # Format: `projects/<Project ID>`.
84
+ # Required. The project that the agent to fetch is associated with. Format: `
85
+ # projects/`.
86
86
  # @param [String] fields
87
87
  # Selector specifying which fields to include in a partial response.
88
88
  # @param [String] quota_user
@@ -112,8 +112,7 @@ module Google
112
112
 
113
113
  # Creates/updates the specified agent.
114
114
  # @param [String] parent
115
- # Required. The project of this agent.
116
- # Format: `projects/<Project ID>`.
115
+ # Required. The project of this agent. Format: `projects/`.
117
116
  # @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Agent] google_cloud_dialogflow_v2beta1_agent_object
118
117
  # @param [String] update_mask
119
118
  # Optional. The mask to control which fields get updated.
@@ -147,11 +146,10 @@ module Google
147
146
  execute_or_queue_command(command, &block)
148
147
  end
149
148
 
150
- # Exports the specified agent to a ZIP file.
151
- # Operation <response: ExportAgentResponse>
149
+ # Exports the specified agent to a ZIP file. Operation
152
150
  # @param [String] parent
153
- # Required. The project that the agent to export is associated with.
154
- # Format: `projects/<Project ID>`.
151
+ # Required. The project that the agent to export is associated with. Format: `
152
+ # projects/`.
155
153
  # @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ExportAgentRequest] google_cloud_dialogflow_v2beta1_export_agent_request_object
156
154
  # @param [String] fields
157
155
  # Selector specifying which fields to include in a partial response.
@@ -184,8 +182,7 @@ module Google
184
182
 
185
183
  # Retrieves the fulfillment.
186
184
  # @param [String] name
187
- # Required. The name of the fulfillment.
188
- # Format: `projects/<Project ID>/agent/fulfillment`.
185
+ # Required. The name of the fulfillment. Format: `projects//agent/fulfillment`.
189
186
  # @param [String] fields
190
187
  # Selector specifying which fields to include in a partial response.
191
188
  # @param [String] quota_user
@@ -213,17 +210,15 @@ module Google
213
210
  execute_or_queue_command(command, &block)
214
211
  end
215
212
 
216
- # Gets agent validation result. Agent validation is performed during
217
- # training time and is updated automatically when training is completed.
213
+ # Gets agent validation result. Agent validation is performed during training
214
+ # time and is updated automatically when training is completed.
218
215
  # @param [String] parent
219
- # Required. The project that the agent is associated with.
220
- # Format: `projects/<Project ID>`.
216
+ # Required. The project that the agent is associated with. Format: `projects/`.
221
217
  # @param [String] language_code
222
218
  # Optional. The language for which you want a validation result. If not
223
- # specified, the agent's default language is used. [Many
224
- # languages](https://cloud.google.com/dialogflow/docs/reference/language)
225
- # are supported. Note: languages must be enabled in the agent before they can
226
- # be used.
219
+ # specified, the agent's default language is used. [Many languages](https://
220
+ # cloud.google.com/dialogflow/docs/reference/language) are supported. Note:
221
+ # languages must be enabled in the agent before they can be used.
227
222
  # @param [String] fields
228
223
  # Selector specifying which fields to include in a partial response.
229
224
  # @param [String] quota_user
@@ -252,20 +247,18 @@ module Google
252
247
  execute_or_queue_command(command, &block)
253
248
  end
254
249
 
255
- # Imports the specified agent from a ZIP file.
256
- # Uploads new intents and entity types without deleting the existing ones.
257
- # Intents and entity types with the same name are replaced with the new
258
- # versions from ImportAgentRequest. After the import, the imported draft
259
- # agent will be trained automatically (unless disabled in agent settings).
260
- # However, once the import is done, training may not be completed yet. Please
261
- # call TrainAgent and wait for the operation it returns in order to train
262
- # explicitly.
263
- # Operation <response: google.protobuf.Empty>
264
- # An operation which tracks when importing is complete. It only tracks
265
- # when the draft agent is updated not when it is done training.
250
+ # Imports the specified agent from a ZIP file. Uploads new intents and entity
251
+ # types without deleting the existing ones. Intents and entity types with the
252
+ # same name are replaced with the new versions from ImportAgentRequest. After
253
+ # the import, the imported draft agent will be trained automatically (unless
254
+ # disabled in agent settings). However, once the import is done, training may
255
+ # not be completed yet. Please call TrainAgent and wait for the operation it
256
+ # returns in order to train explicitly. Operation An operation which tracks when
257
+ # importing is complete. It only tracks when the draft agent is updated not when
258
+ # it is done training.
266
259
  # @param [String] parent
267
- # Required. The project that the agent to import is associated with.
268
- # Format: `projects/<Project ID>`.
260
+ # Required. The project that the agent to import is associated with. Format: `
261
+ # projects/`.
269
262
  # @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ImportAgentRequest] google_cloud_dialogflow_v2beta1_import_agent_request_object
270
263
  # @param [String] fields
271
264
  # Selector specifying which fields to include in a partial response.
@@ -296,19 +289,17 @@ module Google
296
289
  execute_or_queue_command(command, &block)
297
290
  end
298
291
 
299
- # Restores the specified agent from a ZIP file.
300
- # Replaces the current agent version with a new one. All the intents and
301
- # entity types in the older version are deleted. After the restore, the
302
- # restored draft agent will be trained automatically (unless disabled in
303
- # agent settings). However, once the restore is done, training may not be
304
- # completed yet. Please call TrainAgent and wait for the operation it
305
- # returns in order to train explicitly.
306
- # Operation <response: google.protobuf.Empty>
307
- # An operation which tracks when restoring is complete. It only tracks
308
- # when the draft agent is updated not when it is done training.
292
+ # Restores the specified agent from a ZIP file. Replaces the current agent
293
+ # version with a new one. All the intents and entity types in the older version
294
+ # are deleted. After the restore, the restored draft agent will be trained
295
+ # automatically (unless disabled in agent settings). However, once the restore
296
+ # is done, training may not be completed yet. Please call TrainAgent and wait
297
+ # for the operation it returns in order to train explicitly. Operation An
298
+ # operation which tracks when restoring is complete. It only tracks when the
299
+ # draft agent is updated not when it is done training.
309
300
  # @param [String] parent
310
- # Required. The project that the agent to restore is associated with.
311
- # Format: `projects/<Project ID>`.
301
+ # Required. The project that the agent to restore is associated with. Format: `
302
+ # projects/`.
312
303
  # @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1RestoreAgentRequest] google_cloud_dialogflow_v2beta1_restore_agent_request_object
313
304
  # @param [String] fields
314
305
  # Selector specifying which fields to include in a partial response.
@@ -339,19 +330,16 @@ module Google
339
330
  execute_or_queue_command(command, &block)
340
331
  end
341
332
 
342
- # Returns the list of agents.
343
- # Since there is at most one conversational agent per project, this method is
344
- # useful primarily for listing all agents across projects the caller has
345
- # access to. One can achieve that with a wildcard project collection id "-".
346
- # Refer to [List
347
- # Sub-Collections](https://cloud.google.com/apis/design/design_patterns#list_sub-
348
- # collections).
333
+ # Returns the list of agents. Since there is at most one conversational agent
334
+ # per project, this method is useful primarily for listing all agents across
335
+ # projects the caller has access to. One can achieve that with a wildcard
336
+ # project collection id "-". Refer to [List Sub-Collections](https://cloud.
337
+ # google.com/apis/design/design_patterns#list_sub-collections).
349
338
  # @param [String] parent
350
- # Required. The project to list agents from.
351
- # Format: `projects/<Project ID or '-'>`.
339
+ # Required. The project to list agents from. Format: `projects/`.
352
340
  # @param [Fixnum] page_size
353
- # Optional. The maximum number of items to return in a single page. By
354
- # default 100 and at most 1000.
341
+ # Optional. The maximum number of items to return in a single page. By default
342
+ # 100 and at most 1000.
355
343
  # @param [String] page_token
356
344
  # Optional. The next_page_token value returned from a previous list request.
357
345
  # @param [String] fields
@@ -383,11 +371,10 @@ module Google
383
371
  execute_or_queue_command(command, &block)
384
372
  end
385
373
 
386
- # Trains the specified agent.
387
- # Operation <response: google.protobuf.Empty>
374
+ # Trains the specified agent. Operation
388
375
  # @param [String] parent
389
- # Required. The project that the agent to train is associated with.
390
- # Format: `projects/<Project ID>`.
376
+ # Required. The project that the agent to train is associated with. Format: `
377
+ # projects/`.
391
378
  # @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1TrainAgentRequest] google_cloud_dialogflow_v2beta1_train_agent_request_object
392
379
  # @param [String] fields
393
380
  # Selector specifying which fields to include in a partial response.
@@ -420,8 +407,8 @@ module Google
420
407
 
421
408
  # Updates the fulfillment.
422
409
  # @param [String] name
423
- # Required. The unique identifier of the fulfillment.
424
- # Format: `projects/<Project ID>/agent/fulfillment`.
410
+ # Required. The unique identifier of the fulfillment. Format: `projects//agent/
411
+ # fulfillment`.
425
412
  # @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Fulfillment] google_cloud_dialogflow_v2beta1_fulfillment_object
426
413
  # @param [String] update_mask
427
414
  # Required. The mask to control which fields get updated. If the mask is not
@@ -456,11 +443,10 @@ module Google
456
443
  execute_or_queue_command(command, &block)
457
444
  end
458
445
 
459
- # Deletes entity types in the specified agent.
460
- # Operation <response: google.protobuf.Empty>
446
+ # Deletes entity types in the specified agent. Operation
461
447
  # @param [String] parent
462
- # Required. The name of the agent to delete all entities types for. Format:
463
- # `projects/<Project ID>/agent`.
448
+ # Required. The name of the agent to delete all entities types for. Format: `
449
+ # projects//agent`.
464
450
  # @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1BatchDeleteEntityTypesRequest] google_cloud_dialogflow_v2beta1_batch_delete_entity_types_request_object
465
451
  # @param [String] fields
466
452
  # Selector specifying which fields to include in a partial response.
@@ -491,11 +477,10 @@ module Google
491
477
  execute_or_queue_command(command, &block)
492
478
  end
493
479
 
494
- # Updates/Creates multiple entity types in the specified agent.
495
- # Operation <response: BatchUpdateEntityTypesResponse>
480
+ # Updates/Creates multiple entity types in the specified agent. Operation
496
481
  # @param [String] parent
497
- # Required. The name of the agent to update or create entity types in.
498
- # Format: `projects/<Project ID>/agent`.
482
+ # Required. The name of the agent to update or create entity types in. Format: `
483
+ # projects//agent`.
499
484
  # @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1BatchUpdateEntityTypesRequest] google_cloud_dialogflow_v2beta1_batch_update_entity_types_request_object
500
485
  # @param [String] fields
501
486
  # Selector specifying which fields to include in a partial response.
@@ -528,16 +513,13 @@ module Google
528
513
 
529
514
  # Creates an entity type in the specified agent.
530
515
  # @param [String] parent
531
- # Required. The agent to create a entity type for.
532
- # Format: `projects/<Project ID>/agent`.
516
+ # Required. The agent to create a entity type for. Format: `projects//agent`.
533
517
  # @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1EntityType] google_cloud_dialogflow_v2beta1_entity_type_object
534
518
  # @param [String] language_code
535
- # Optional. The language used to access language-specific data.
536
- # If not specified, the agent's default language is used.
537
- # For more information, see
538
- # [Multilingual intent and entity
539
- # data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-
540
- # entity).
519
+ # Optional. The language used to access language-specific data. If not specified,
520
+ # the agent's default language is used. For more information, see [Multilingual
521
+ # intent and entity data](https://cloud.google.com/dialogflow/docs/agents-
522
+ # multilingual#intent-entity).
541
523
  # @param [String] fields
542
524
  # Selector specifying which fields to include in a partial response.
543
525
  # @param [String] quota_user
@@ -570,8 +552,8 @@ module Google
570
552
 
571
553
  # Deletes the specified entity type.
572
554
  # @param [String] name
573
- # Required. The name of the entity type to delete.
574
- # Format: `projects/<Project ID>/agent/entityTypes/<EntityType ID>`.
555
+ # Required. The name of the entity type to delete. Format: `projects//agent/
556
+ # entityTypes/`.
575
557
  # @param [String] fields
576
558
  # Selector specifying which fields to include in a partial response.
577
559
  # @param [String] quota_user
@@ -601,15 +583,12 @@ module Google
601
583
 
602
584
  # Retrieves the specified entity type.
603
585
  # @param [String] name
604
- # Required. The name of the entity type.
605
- # Format: `projects/<Project ID>/agent/entityTypes/<EntityType ID>`.
586
+ # Required. The name of the entity type. Format: `projects//agent/entityTypes/`.
606
587
  # @param [String] language_code
607
- # Optional. The language used to access language-specific data.
608
- # If not specified, the agent's default language is used.
609
- # For more information, see
610
- # [Multilingual intent and entity
611
- # data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-
612
- # entity).
588
+ # Optional. The language used to access language-specific data. If not specified,
589
+ # the agent's default language is used. For more information, see [Multilingual
590
+ # intent and entity data](https://cloud.google.com/dialogflow/docs/agents-
591
+ # multilingual#intent-entity).
613
592
  # @param [String] fields
614
593
  # Selector specifying which fields to include in a partial response.
615
594
  # @param [String] quota_user
@@ -640,18 +619,15 @@ module Google
640
619
 
641
620
  # Returns the list of all entity types in the specified agent.
642
621
  # @param [String] parent
643
- # Required. The agent to list all entity types from.
644
- # Format: `projects/<Project ID>/agent`.
622
+ # Required. The agent to list all entity types from. Format: `projects//agent`.
645
623
  # @param [String] language_code
646
- # Optional. The language used to access language-specific data.
647
- # If not specified, the agent's default language is used.
648
- # For more information, see
649
- # [Multilingual intent and entity
650
- # data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-
651
- # entity).
624
+ # Optional. The language used to access language-specific data. If not specified,
625
+ # the agent's default language is used. For more information, see [Multilingual
626
+ # intent and entity data](https://cloud.google.com/dialogflow/docs/agents-
627
+ # multilingual#intent-entity).
652
628
  # @param [Fixnum] page_size
653
- # Optional. The maximum number of items to return in a single page. By
654
- # default 100 and at most 1000.
629
+ # Optional. The maximum number of items to return in a single page. By default
630
+ # 100 and at most 1000.
655
631
  # @param [String] page_token
656
632
  # Optional. The next_page_token value returned from a previous list request.
657
633
  # @param [String] fields
@@ -686,18 +662,15 @@ module Google
686
662
 
687
663
  # Updates the specified entity type.
688
664
  # @param [String] name
689
- # The unique identifier of the entity type.
690
- # Required for EntityTypes.UpdateEntityType and
691
- # EntityTypes.BatchUpdateEntityTypes methods.
692
- # Format: `projects/<Project ID>/agent/entityTypes/<Entity Type ID>`.
665
+ # The unique identifier of the entity type. Required for EntityTypes.
666
+ # UpdateEntityType and EntityTypes.BatchUpdateEntityTypes methods. Format: `
667
+ # projects//agent/entityTypes/`.
693
668
  # @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1EntityType] google_cloud_dialogflow_v2beta1_entity_type_object
694
669
  # @param [String] language_code
695
- # Optional. The language used to access language-specific data.
696
- # If not specified, the agent's default language is used.
697
- # For more information, see
698
- # [Multilingual intent and entity
699
- # data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-
700
- # entity).
670
+ # Optional. The language used to access language-specific data. If not specified,
671
+ # the agent's default language is used. For more information, see [Multilingual
672
+ # intent and entity data](https://cloud.google.com/dialogflow/docs/agents-
673
+ # multilingual#intent-entity).
701
674
  # @param [String] update_mask
702
675
  # Optional. The mask to control which fields get updated.
703
676
  # @param [String] fields
@@ -731,11 +704,10 @@ module Google
731
704
  execute_or_queue_command(command, &block)
732
705
  end
733
706
 
734
- # Creates multiple new entities in the specified entity type.
735
- # Operation <response: google.protobuf.Empty>
707
+ # Creates multiple new entities in the specified entity type. Operation
736
708
  # @param [String] parent
737
- # Required. The name of the entity type to create entities in. Format:
738
- # `projects/<Project ID>/agent/entityTypes/<Entity Type ID>`.
709
+ # Required. The name of the entity type to create entities in. Format: `projects/
710
+ # /agent/entityTypes/`.
739
711
  # @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1BatchCreateEntitiesRequest] google_cloud_dialogflow_v2beta1_batch_create_entities_request_object
740
712
  # @param [String] fields
741
713
  # Selector specifying which fields to include in a partial response.
@@ -766,11 +738,10 @@ module Google
766
738
  execute_or_queue_command(command, &block)
767
739
  end
768
740
 
769
- # Deletes entities in the specified entity type.
770
- # Operation <response: google.protobuf.Empty>
741
+ # Deletes entities in the specified entity type. Operation
771
742
  # @param [String] parent
772
- # Required. The name of the entity type to delete entries for. Format:
773
- # `projects/<Project ID>/agent/entityTypes/<Entity Type ID>`.
743
+ # Required. The name of the entity type to delete entries for. Format: `projects/
744
+ # /agent/entityTypes/`.
774
745
  # @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1BatchDeleteEntitiesRequest] google_cloud_dialogflow_v2beta1_batch_delete_entities_request_object
775
746
  # @param [String] fields
776
747
  # Selector specifying which fields to include in a partial response.
@@ -801,13 +772,12 @@ module Google
801
772
  execute_or_queue_command(command, &block)
802
773
  end
803
774
 
804
- # Updates or creates multiple entities in the specified entity type. This
805
- # method does not affect entities in the entity type that aren't explicitly
806
- # specified in the request.
807
- # Operation <response: google.protobuf.Empty>
775
+ # Updates or creates multiple entities in the specified entity type. This method
776
+ # does not affect entities in the entity type that aren't explicitly specified
777
+ # in the request. Operation
808
778
  # @param [String] parent
809
- # Required. The name of the entity type to update or create entities in.
810
- # Format: `projects/<Project ID>/agent/entityTypes/<Entity Type ID>`.
779
+ # Required. The name of the entity type to update or create entities in. Format:
780
+ # `projects//agent/entityTypes/`.
811
781
  # @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1BatchUpdateEntitiesRequest] google_cloud_dialogflow_v2beta1_batch_update_entities_request_object
812
782
  # @param [String] fields
813
783
  # Selector specifying which fields to include in a partial response.
@@ -840,12 +810,11 @@ module Google
840
810
 
841
811
  # Returns the list of all non-draft environments of the specified agent.
842
812
  # @param [String] parent
843
- # Required. The agent to list all environments from.
844
- # Format: `projects/<Project ID>/agent`.
813
+ # Required. The agent to list all environments from. Format: - `projects//agent`
814
+ # - `projects//locations//agent
845
815
  # @param [Fixnum] page_size
846
816
  # Optional. The maximum number of items to return in a single page. By default
847
- # 100 and
848
- # at most 1000.
817
+ # 100 and at most 1000.
849
818
  # @param [String] page_token
850
819
  # Optional. The next_page_token value returned from a previous list request.
851
820
  # @param [String] fields
@@ -879,11 +848,10 @@ module Google
879
848
 
880
849
  # Deletes all active contexts in the specified session.
881
850
  # @param [String] parent
882
- # Required. The name of the session to delete all contexts from. Format:
883
- # `projects/<Project ID>/agent/sessions/<Session ID>` or `projects/<Project
884
- # ID>/agent/environments/<Environment ID>/users/<User ID>/sessions/<Session
885
- # ID>`. If `Environment ID` is not specified we assume default 'draft'
886
- # environment. If `User ID` is not specified, we assume default '-' user.
851
+ # Required. The name of the session to delete all contexts from. Format: `
852
+ # projects//agent/sessions/` or `projects//agent/environments//users//sessions/`.
853
+ # If `Environment ID` is not specified we assume default 'draft' environment.
854
+ # If `User ID` is not specified, we assume default '-' user.
887
855
  # @param [String] fields
888
856
  # Selector specifying which fields to include in a partial response.
889
857
  # @param [String] quota_user
@@ -911,20 +879,20 @@ module Google
911
879
  execute_or_queue_command(command, &block)
912
880
  end
913
881
 
914
- # Processes a natural language query and returns structured, actionable data
915
- # as a result. This method is not idempotent, because it may cause contexts
916
- # and session entity types to be updated, which in turn might affect
917
- # results of future queries.
882
+ # Processes a natural language query and returns structured, actionable data as
883
+ # a result. This method is not idempotent, because it may cause contexts and
884
+ # session entity types to be updated, which in turn might affect results of
885
+ # future queries.
918
886
  # @param [String] session
919
- # Required. The name of the session this query is sent to. Format:
920
- # `projects/<Project ID>/agent/sessions/<Session ID>`, or
921
- # `projects/<Project ID>/agent/environments/<Environment ID>/users/<User
922
- # ID>/sessions/<Session ID>`. If `Environment ID` is not specified, we assume
923
- # default 'draft' environment. If `User ID` is not specified, we are using
924
- # "-". It's up to the API caller to choose an appropriate `Session ID` and
925
- # `User Id`. They can be a random number or some type of user and session
926
- # identifiers (preferably hashed). The length of the `Session ID` and
927
- # `User ID` must not exceed 36 characters.
887
+ # Required. The name of the session this query is sent to. Format: `projects//
888
+ # agent/sessions/`, or `projects//agent/environments//users//sessions/`. If `
889
+ # Environment ID` is not specified, we assume default 'draft' environment. If `
890
+ # User ID` is not specified, we are using "-". It's up to the API caller to
891
+ # choose an appropriate `Session ID` and `User Id`. They can be a random number
892
+ # or some type of user and session identifiers (preferably hashed). The length
893
+ # of the `Session ID` and `User ID` must not exceed 36 characters. For more
894
+ # information, see the [API interactions guide](https://cloud.google.com/
895
+ # dialogflow/docs/api-overview).
928
896
  # @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1DetectIntentRequest] google_cloud_dialogflow_v2beta1_detect_intent_request_object
929
897
  # @param [String] fields
930
898
  # Selector specifying which fields to include in a partial response.
@@ -955,15 +923,13 @@ module Google
955
923
  execute_or_queue_command(command, &block)
956
924
  end
957
925
 
958
- # Creates a context.
959
- # If the specified context already exists, overrides the context.
926
+ # Creates a context. If the specified context already exists, overrides the
927
+ # context.
960
928
  # @param [String] parent
961
- # Required. The session to create a context for.
962
- # Format: `projects/<Project ID>/agent/sessions/<Session ID>` or
963
- # `projects/<Project ID>/agent/environments/<Environment ID>/users/<User
964
- # ID>/sessions/<Session ID>`. If `Environment ID` is not specified, we assume
965
- # default 'draft' environment. If `User ID` is not specified, we assume
966
- # default '-' user.
929
+ # Required. The session to create a context for. Format: `projects//agent/
930
+ # sessions/` or `projects//agent/environments//users//sessions/`. If `
931
+ # Environment ID` is not specified, we assume default 'draft' environment. If `
932
+ # User ID` is not specified, we assume default '-' user.
967
933
  # @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Context] google_cloud_dialogflow_v2beta1_context_object
968
934
  # @param [String] fields
969
935
  # Selector specifying which fields to include in a partial response.
@@ -996,12 +962,10 @@ module Google
996
962
 
997
963
  # Deletes the specified context.
998
964
  # @param [String] name
999
- # Required. The name of the context to delete. Format:
1000
- # `projects/<Project ID>/agent/sessions/<Session ID>/contexts/<Context ID>`
1001
- # or `projects/<Project ID>/agent/environments/<Environment ID>/users/<User
1002
- # ID>/sessions/<Session ID>/contexts/<Context ID>`. If `Environment ID` is
1003
- # not specified, we assume default 'draft' environment. If `User ID` is not
1004
- # specified, we assume default '-' user.
965
+ # Required. The name of the context to delete. Format: `projects//agent/sessions/
966
+ # /contexts/` or `projects//agent/environments//users//sessions//contexts/`. If `
967
+ # Environment ID` is not specified, we assume default 'draft' environment. If `
968
+ # User ID` is not specified, we assume default '-' user.
1005
969
  # @param [String] fields
1006
970
  # Selector specifying which fields to include in a partial response.
1007
971
  # @param [String] quota_user
@@ -1031,12 +995,10 @@ module Google
1031
995
 
1032
996
  # Retrieves the specified context.
1033
997
  # @param [String] name
1034
- # Required. The name of the context. Format:
1035
- # `projects/<Project ID>/agent/sessions/<Session ID>/contexts/<Context ID>`
1036
- # or `projects/<Project ID>/agent/environments/<Environment ID>/users/<User
1037
- # ID>/sessions/<Session ID>/contexts/<Context ID>`. If `Environment ID` is
1038
- # not specified, we assume default 'draft' environment. If `User ID` is not
1039
- # specified, we assume default '-' user.
998
+ # Required. The name of the context. Format: `projects//agent/sessions//contexts/
999
+ # ` or `projects//agent/environments//users//sessions//contexts/`. If `
1000
+ # Environment ID` is not specified, we assume default 'draft' environment. If `
1001
+ # User ID` is not specified, we assume default '-' user.
1040
1002
  # @param [String] fields
1041
1003
  # Selector specifying which fields to include in a partial response.
1042
1004
  # @param [String] quota_user
@@ -1066,15 +1028,13 @@ module Google
1066
1028
 
1067
1029
  # Returns the list of all contexts in the specified session.
1068
1030
  # @param [String] parent
1069
- # Required. The session to list all contexts from.
1070
- # Format: `projects/<Project ID>/agent/sessions/<Session ID>` or
1071
- # `projects/<Project ID>/agent/environments/<Environment ID>/users/<User
1072
- # ID>/sessions/<Session ID>`. If `Environment ID` is not specified, we assume
1073
- # default 'draft' environment. If `User ID` is not specified, we assume
1074
- # default '-' user.
1031
+ # Required. The session to list all contexts from. Format: `projects//agent/
1032
+ # sessions/` or `projects//agent/environments//users//sessions/`. If `
1033
+ # Environment ID` is not specified, we assume default 'draft' environment. If `
1034
+ # User ID` is not specified, we assume default '-' user.
1075
1035
  # @param [Fixnum] page_size
1076
- # Optional. The maximum number of items to return in a single page. By
1077
- # default 100 and at most 1000.
1036
+ # Optional. The maximum number of items to return in a single page. By default
1037
+ # 100 and at most 1000.
1078
1038
  # @param [String] page_token
1079
1039
  # Optional. The next_page_token value returned from a previous list request.
1080
1040
  # @param [String] fields
@@ -1108,19 +1068,15 @@ module Google
1108
1068
 
1109
1069
  # Updates the specified context.
1110
1070
  # @param [String] name
1111
- # Required. The unique identifier of the context. Format:
1112
- # `projects/<Project ID>/agent/sessions/<Session ID>/contexts/<Context ID>`,
1113
- # or `projects/<Project ID>/agent/environments/<Environment ID>/users/<User
1114
- # ID>/sessions/<Session ID>/contexts/<Context ID>`.
1115
- # The `Context ID` is always converted to lowercase, may only contain
1116
- # characters in a-zA-Z0-9_-% and may be at most 250 bytes long.
1117
- # If `Environment ID` is not specified, we assume default 'draft'
1118
- # environment. If `User ID` is not specified, we assume default '-' user.
1119
- # The following context names are reserved for internal use by Dialogflow.
1120
- # You should not use these contexts or create contexts with these names:
1121
- # * `__system_counters__`
1122
- # * `*_id_dialog_context`
1123
- # * `*_dialog_params_size`
1071
+ # Required. The unique identifier of the context. Format: `projects//agent/
1072
+ # sessions//contexts/`, or `projects//agent/environments//users//sessions//
1073
+ # contexts/`. The `Context ID` is always converted to lowercase, may only
1074
+ # contain characters in a-zA-Z0-9_-% and may be at most 250 bytes long. If `
1075
+ # Environment ID` is not specified, we assume default 'draft' environment. If `
1076
+ # User ID` is not specified, we assume default '-' user. The following context
1077
+ # names are reserved for internal use by Dialogflow. You should not use these
1078
+ # contexts or create contexts with these names: * `__system_counters__` * `*
1079
+ # _id_dialog_context` * `*_dialog_params_size`
1124
1080
  # @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Context] google_cloud_dialogflow_v2beta1_context_object
1125
1081
  # @param [String] update_mask
1126
1082
  # Optional. The mask to control which fields get updated.
@@ -1154,19 +1110,15 @@ module Google
1154
1110
  execute_or_queue_command(command, &block)
1155
1111
  end
1156
1112
 
1157
- # Creates a session entity type.
1158
- # If the specified session entity type already exists, overrides the
1159
- # session entity type.
1160
- # This method doesn't work with Google Assistant integration.
1161
- # Contact Dialogflow support if you need to use session entities
1162
- # with Google Assistant integration.
1113
+ # Creates a session entity type. If the specified session entity type already
1114
+ # exists, overrides the session entity type. This method doesn't work with
1115
+ # Google Assistant integration. Contact Dialogflow support if you need to use
1116
+ # session entities with Google Assistant integration.
1163
1117
  # @param [String] parent
1164
- # Required. The session to create a session entity type for.
1165
- # Format: `projects/<Project ID>/agent/sessions/<Session ID>` or
1166
- # `projects/<Project ID>/agent/environments/<Environment ID>/users/<User ID>/
1167
- # sessions/<Session ID>`. If `Environment ID` is not specified, we assume
1168
- # default 'draft' environment. If `User ID` is not specified, we assume
1169
- # default '-' user.
1118
+ # Required. The session to create a session entity type for. Format: `projects//
1119
+ # agent/sessions/` or `projects//agent/environments//users// sessions/`. If `
1120
+ # Environment ID` is not specified, we assume default 'draft' environment. If `
1121
+ # User ID` is not specified, we assume default '-' user.
1170
1122
  # @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SessionEntityType] google_cloud_dialogflow_v2beta1_session_entity_type_object
1171
1123
  # @param [String] fields
1172
1124
  # Selector specifying which fields to include in a partial response.
@@ -1197,16 +1149,13 @@ module Google
1197
1149
  execute_or_queue_command(command, &block)
1198
1150
  end
1199
1151
 
1200
- # Deletes the specified session entity type.
1201
- # This method doesn't work with Google Assistant integration.
1202
- # Contact Dialogflow support if you need to use session entities
1203
- # with Google Assistant integration.
1152
+ # Deletes the specified session entity type. This method doesn't work with
1153
+ # Google Assistant integration. Contact Dialogflow support if you need to use
1154
+ # session entities with Google Assistant integration.
1204
1155
  # @param [String] name
1205
- # Required. The name of the entity type to delete. Format:
1206
- # `projects/<Project ID>/agent/sessions/<Session ID>/entityTypes/<Entity Type
1207
- # Display Name>` or `projects/<Project ID>/agent/environments/<Environment
1208
- # ID>/users/<User ID>/sessions/<Session ID>/entityTypes/<Entity Type Display
1209
- # Name>`. If `Environment ID` is not specified, we assume default 'draft'
1156
+ # Required. The name of the entity type to delete. Format: `projects//agent/
1157
+ # sessions//entityTypes/` or `projects//agent/environments//users//sessions//
1158
+ # entityTypes/`. If `Environment ID` is not specified, we assume default 'draft'
1210
1159
  # environment. If `User ID` is not specified, we assume default '-' user.
1211
1160
  # @param [String] fields
1212
1161
  # Selector specifying which fields to include in a partial response.
@@ -1235,16 +1184,13 @@ module Google
1235
1184
  execute_or_queue_command(command, &block)
1236
1185
  end
1237
1186
 
1238
- # Retrieves the specified session entity type.
1239
- # This method doesn't work with Google Assistant integration.
1240
- # Contact Dialogflow support if you need to use session entities
1241
- # with Google Assistant integration.
1187
+ # Retrieves the specified session entity type. This method doesn't work with
1188
+ # Google Assistant integration. Contact Dialogflow support if you need to use
1189
+ # session entities with Google Assistant integration.
1242
1190
  # @param [String] name
1243
- # Required. The name of the session entity type. Format:
1244
- # `projects/<Project ID>/agent/sessions/<Session ID>/entityTypes/<Entity Type
1245
- # Display Name>` or `projects/<Project ID>/agent/environments/<Environment
1246
- # ID>/users/<User ID>/sessions/<Session ID>/entityTypes/<Entity Type Display
1247
- # Name>`. If `Environment ID` is not specified, we assume default 'draft'
1191
+ # Required. The name of the session entity type. Format: `projects//agent/
1192
+ # sessions//entityTypes/` or `projects//agent/environments//users//sessions//
1193
+ # entityTypes/`. If `Environment ID` is not specified, we assume default 'draft'
1248
1194
  # environment. If `User ID` is not specified, we assume default '-' user.
1249
1195
  # @param [String] fields
1250
1196
  # Selector specifying which fields to include in a partial response.
@@ -1273,20 +1219,17 @@ module Google
1273
1219
  execute_or_queue_command(command, &block)
1274
1220
  end
1275
1221
 
1276
- # Returns the list of all session entity types in the specified session.
1277
- # This method doesn't work with Google Assistant integration.
1278
- # Contact Dialogflow support if you need to use session entities
1279
- # with Google Assistant integration.
1222
+ # Returns the list of all session entity types in the specified session. This
1223
+ # method doesn't work with Google Assistant integration. Contact Dialogflow
1224
+ # support if you need to use session entities with Google Assistant integration.
1280
1225
  # @param [String] parent
1281
- # Required. The session to list all session entity types from.
1282
- # Format: `projects/<Project ID>/agent/sessions/<Session ID>` or
1283
- # `projects/<Project ID>/agent/environments/<Environment ID>/users/<User ID>/
1284
- # sessions/<Session ID>`.
1285
- # If `Environment ID` is not specified, we assume default 'draft'
1286
- # environment. If `User ID` is not specified, we assume default '-' user.
1226
+ # Required. The session to list all session entity types from. Format: `projects/
1227
+ # /agent/sessions/` or `projects//agent/environments//users// sessions/`. If `
1228
+ # Environment ID` is not specified, we assume default 'draft' environment. If `
1229
+ # User ID` is not specified, we assume default '-' user.
1287
1230
  # @param [Fixnum] page_size
1288
- # Optional. The maximum number of items to return in a single page. By
1289
- # default 100 and at most 1000.
1231
+ # Optional. The maximum number of items to return in a single page. By default
1232
+ # 100 and at most 1000.
1290
1233
  # @param [String] page_token
1291
1234
  # Optional. The next_page_token value returned from a previous list request.
1292
1235
  # @param [String] fields
@@ -1318,20 +1261,16 @@ module Google
1318
1261
  execute_or_queue_command(command, &block)
1319
1262
  end
1320
1263
 
1321
- # Updates the specified session entity type.
1322
- # This method doesn't work with Google Assistant integration.
1323
- # Contact Dialogflow support if you need to use session entities
1324
- # with Google Assistant integration.
1264
+ # Updates the specified session entity type. This method doesn't work with
1265
+ # Google Assistant integration. Contact Dialogflow support if you need to use
1266
+ # session entities with Google Assistant integration.
1325
1267
  # @param [String] name
1326
- # Required. The unique identifier of this session entity type. Format:
1327
- # `projects/<Project ID>/agent/sessions/<Session ID>/entityTypes/<Entity Type
1328
- # Display Name>`, or
1329
- # `projects/<Project ID>/agent/environments/<Environment ID>/users/<User
1330
- # ID>/sessions/<Session ID>/entityTypes/<Entity Type Display Name>`.
1331
- # If `Environment ID` is not specified, we assume default 'draft'
1332
- # environment. If `User ID` is not specified, we assume default '-' user.
1333
- # `<Entity Type Display Name>` must be the display name of an existing entity
1334
- # type in the same agent that will be overridden or supplemented.
1268
+ # Required. The unique identifier of this session entity type. Format: `projects/
1269
+ # /agent/sessions//entityTypes/`, or `projects//agent/environments//users//
1270
+ # sessions//entityTypes/`. If `Environment ID` is not specified, we assume
1271
+ # default 'draft' environment. If `User ID` is not specified, we assume default '
1272
+ # -' user. `` must be the display name of an existing entity type in the same
1273
+ # agent that will be overridden or supplemented.
1335
1274
  # @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SessionEntityType] google_cloud_dialogflow_v2beta1_session_entity_type_object
1336
1275
  # @param [String] update_mask
1337
1276
  # Optional. The mask to control which fields get updated.
@@ -1365,11 +1304,10 @@ module Google
1365
1304
  execute_or_queue_command(command, &block)
1366
1305
  end
1367
1306
 
1368
- # Deletes intents in the specified agent.
1369
- # Operation <response: google.protobuf.Empty>
1307
+ # Deletes intents in the specified agent. Operation
1370
1308
  # @param [String] parent
1371
- # Required. The name of the agent to delete all entities types for. Format:
1372
- # `projects/<Project ID>/agent`.
1309
+ # Required. The name of the agent to delete all entities types for. Format: `
1310
+ # projects//agent`.
1373
1311
  # @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1BatchDeleteIntentsRequest] google_cloud_dialogflow_v2beta1_batch_delete_intents_request_object
1374
1312
  # @param [String] fields
1375
1313
  # Selector specifying which fields to include in a partial response.
@@ -1400,11 +1338,10 @@ module Google
1400
1338
  execute_or_queue_command(command, &block)
1401
1339
  end
1402
1340
 
1403
- # Updates/Creates multiple intents in the specified agent.
1404
- # Operation <response: BatchUpdateIntentsResponse>
1341
+ # Updates/Creates multiple intents in the specified agent. Operation
1405
1342
  # @param [String] parent
1406
- # Required. The name of the agent to update or create intents in.
1407
- # Format: `projects/<Project ID>/agent`.
1343
+ # Required. The name of the agent to update or create intents in. Format: `
1344
+ # projects//agent`.
1408
1345
  # @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1BatchUpdateIntentsRequest] google_cloud_dialogflow_v2beta1_batch_update_intents_request_object
1409
1346
  # @param [String] fields
1410
1347
  # Selector specifying which fields to include in a partial response.
@@ -1437,18 +1374,15 @@ module Google
1437
1374
 
1438
1375
  # Creates an intent in the specified agent.
1439
1376
  # @param [String] parent
1440
- # Required. The agent to create a intent for.
1441
- # Format: `projects/<Project ID>/agent`.
1377
+ # Required. The agent to create a intent for. Format: `projects//agent`.
1442
1378
  # @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Intent] google_cloud_dialogflow_v2beta1_intent_object
1443
1379
  # @param [String] intent_view
1444
1380
  # Optional. The resource view to apply to the returned intent.
1445
1381
  # @param [String] language_code
1446
- # Optional. The language used to access language-specific data.
1447
- # If not specified, the agent's default language is used.
1448
- # For more information, see
1449
- # [Multilingual intent and entity
1450
- # data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-
1451
- # entity).
1382
+ # Optional. The language used to access language-specific data. If not specified,
1383
+ # the agent's default language is used. For more information, see [Multilingual
1384
+ # intent and entity data](https://cloud.google.com/dialogflow/docs/agents-
1385
+ # multilingual#intent-entity).
1452
1386
  # @param [String] fields
1453
1387
  # Selector specifying which fields to include in a partial response.
1454
1388
  # @param [String] quota_user
@@ -1483,8 +1417,8 @@ module Google
1483
1417
  # Deletes the specified intent and its direct or indirect followup intents.
1484
1418
  # @param [String] name
1485
1419
  # Required. The name of the intent to delete. If this intent has direct or
1486
- # indirect followup intents, we also delete them.
1487
- # Format: `projects/<Project ID>/agent/intents/<Intent ID>`.
1420
+ # indirect followup intents, we also delete them. Format: `projects//agent/
1421
+ # intents/`.
1488
1422
  # @param [String] fields
1489
1423
  # Selector specifying which fields to include in a partial response.
1490
1424
  # @param [String] quota_user
@@ -1514,17 +1448,14 @@ module Google
1514
1448
 
1515
1449
  # Retrieves the specified intent.
1516
1450
  # @param [String] name
1517
- # Required. The name of the intent.
1518
- # Format: `projects/<Project ID>/agent/intents/<Intent ID>`.
1451
+ # Required. The name of the intent. Format: `projects//agent/intents/`.
1519
1452
  # @param [String] intent_view
1520
1453
  # Optional. The resource view to apply to the returned intent.
1521
1454
  # @param [String] language_code
1522
- # Optional. The language used to access language-specific data.
1523
- # If not specified, the agent's default language is used.
1524
- # For more information, see
1525
- # [Multilingual intent and entity
1526
- # data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-
1527
- # entity).
1455
+ # Optional. The language used to access language-specific data. If not specified,
1456
+ # the agent's default language is used. For more information, see [Multilingual
1457
+ # intent and entity data](https://cloud.google.com/dialogflow/docs/agents-
1458
+ # multilingual#intent-entity).
1528
1459
  # @param [String] fields
1529
1460
  # Selector specifying which fields to include in a partial response.
1530
1461
  # @param [String] quota_user
@@ -1556,20 +1487,17 @@ module Google
1556
1487
 
1557
1488
  # Returns the list of all intents in the specified agent.
1558
1489
  # @param [String] parent
1559
- # Required. The agent to list all intents from.
1560
- # Format: `projects/<Project ID>/agent`.
1490
+ # Required. The agent to list all intents from. Format: `projects//agent`.
1561
1491
  # @param [String] intent_view
1562
1492
  # Optional. The resource view to apply to the returned intent.
1563
1493
  # @param [String] language_code
1564
- # Optional. The language used to access language-specific data.
1565
- # If not specified, the agent's default language is used.
1566
- # For more information, see
1567
- # [Multilingual intent and entity
1568
- # data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-
1569
- # entity).
1494
+ # Optional. The language used to access language-specific data. If not specified,
1495
+ # the agent's default language is used. For more information, see [Multilingual
1496
+ # intent and entity data](https://cloud.google.com/dialogflow/docs/agents-
1497
+ # multilingual#intent-entity).
1570
1498
  # @param [Fixnum] page_size
1571
- # Optional. The maximum number of items to return in a single page. By
1572
- # default 100 and at most 1000.
1499
+ # Optional. The maximum number of items to return in a single page. By default
1500
+ # 100 and at most 1000.
1573
1501
  # @param [String] page_token
1574
1502
  # Optional. The next_page_token value returned from a previous list request.
1575
1503
  # @param [String] fields
@@ -1605,20 +1533,17 @@ module Google
1605
1533
 
1606
1534
  # Updates the specified intent.
1607
1535
  # @param [String] name
1608
- # Optional. The unique identifier of this intent.
1609
- # Required for Intents.UpdateIntent and Intents.BatchUpdateIntents
1610
- # methods.
1611
- # Format: `projects/<Project ID>/agent/intents/<Intent ID>`.
1536
+ # Optional. The unique identifier of this intent. Required for Intents.
1537
+ # UpdateIntent and Intents.BatchUpdateIntents methods. Format: `projects//agent/
1538
+ # intents/`.
1612
1539
  # @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Intent] google_cloud_dialogflow_v2beta1_intent_object
1613
1540
  # @param [String] intent_view
1614
1541
  # Optional. The resource view to apply to the returned intent.
1615
1542
  # @param [String] language_code
1616
- # Optional. The language used to access language-specific data.
1617
- # If not specified, the agent's default language is used.
1618
- # For more information, see
1619
- # [Multilingual intent and entity
1620
- # data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-
1621
- # entity).
1543
+ # Optional. The language used to access language-specific data. If not specified,
1544
+ # the agent's default language is used. For more information, see [Multilingual
1545
+ # intent and entity data](https://cloud.google.com/dialogflow/docs/agents-
1546
+ # multilingual#intent-entity).
1622
1547
  # @param [String] update_mask
1623
1548
  # Optional. The mask to control which fields get updated.
1624
1549
  # @param [String] fields
@@ -1653,12 +1578,10 @@ module Google
1653
1578
  execute_or_queue_command(command, &block)
1654
1579
  end
1655
1580
 
1656
- # Creates a knowledge base.
1657
- # Note: The `projects.agent.knowledgeBases` resource is deprecated;
1658
- # only use `projects.knowledgeBases`.
1581
+ # Creates a knowledge base. Note: The `projects.agent.knowledgeBases` resource
1582
+ # is deprecated; only use `projects.knowledgeBases`.
1659
1583
  # @param [String] parent
1660
- # Required. The project to create a knowledge base for.
1661
- # Format: `projects/<Project ID>`.
1584
+ # Required. The project to create a knowledge base for. Format: `projects/`.
1662
1585
  # @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1KnowledgeBase] google_cloud_dialogflow_v2beta1_knowledge_base_object
1663
1586
  # @param [String] fields
1664
1587
  # Selector specifying which fields to include in a partial response.
@@ -1689,15 +1612,14 @@ module Google
1689
1612
  execute_or_queue_command(command, &block)
1690
1613
  end
1691
1614
 
1692
- # Deletes the specified knowledge base.
1693
- # Note: The `projects.agent.knowledgeBases` resource is deprecated;
1694
- # only use `projects.knowledgeBases`.
1615
+ # Deletes the specified knowledge base. Note: The `projects.agent.knowledgeBases`
1616
+ # resource is deprecated; only use `projects.knowledgeBases`.
1695
1617
  # @param [String] name
1696
- # Required. The name of the knowledge base to delete.
1697
- # Format: `projects/<Project ID>/knowledgeBases/<Knowledge Base ID>`.
1618
+ # Required. The name of the knowledge base to delete. Format: `projects//
1619
+ # knowledgeBases/`.
1698
1620
  # @param [Boolean] force
1699
- # Optional. Force deletes the knowledge base. When set to true, any documents
1700
- # in the knowledge base are also deleted.
1621
+ # Optional. Force deletes the knowledge base. When set to true, any documents in
1622
+ # the knowledge base are also deleted.
1701
1623
  # @param [String] fields
1702
1624
  # Selector specifying which fields to include in a partial response.
1703
1625
  # @param [String] quota_user
@@ -1726,12 +1648,11 @@ module Google
1726
1648
  execute_or_queue_command(command, &block)
1727
1649
  end
1728
1650
 
1729
- # Retrieves the specified knowledge base.
1730
- # Note: The `projects.agent.knowledgeBases` resource is deprecated;
1731
- # only use `projects.knowledgeBases`.
1651
+ # Retrieves the specified knowledge base. Note: The `projects.agent.
1652
+ # knowledgeBases` resource is deprecated; only use `projects.knowledgeBases`.
1732
1653
  # @param [String] name
1733
- # Required. The name of the knowledge base to retrieve.
1734
- # Format `projects/<Project ID>/knowledgeBases/<Knowledge Base ID>`.
1654
+ # Required. The name of the knowledge base to retrieve. Format `projects//
1655
+ # knowledgeBases/`.
1735
1656
  # @param [String] fields
1736
1657
  # Selector specifying which fields to include in a partial response.
1737
1658
  # @param [String] quota_user
@@ -1759,15 +1680,14 @@ module Google
1759
1680
  execute_or_queue_command(command, &block)
1760
1681
  end
1761
1682
 
1762
- # Returns the list of all knowledge bases of the specified agent.
1763
- # Note: The `projects.agent.knowledgeBases` resource is deprecated;
1764
- # only use `projects.knowledgeBases`.
1683
+ # Returns the list of all knowledge bases of the specified agent. Note: The `
1684
+ # projects.agent.knowledgeBases` resource is deprecated; only use `projects.
1685
+ # knowledgeBases`.
1765
1686
  # @param [String] parent
1766
- # Required. The project to list of knowledge bases for.
1767
- # Format: `projects/<Project ID>`.
1687
+ # Required. The project to list of knowledge bases for. Format: `projects/`.
1768
1688
  # @param [Fixnum] page_size
1769
- # Optional. The maximum number of items to return in a single page. By
1770
- # default 10 and at most 100.
1689
+ # Optional. The maximum number of items to return in a single page. By default
1690
+ # 10 and at most 100.
1771
1691
  # @param [String] page_token
1772
1692
  # Optional. The next_page_token value returned from a previous list request.
1773
1693
  # @param [String] fields
@@ -1799,18 +1719,16 @@ module Google
1799
1719
  execute_or_queue_command(command, &block)
1800
1720
  end
1801
1721
 
1802
- # Updates the specified knowledge base.
1803
- # Note: The `projects.agent.knowledgeBases` resource is deprecated;
1804
- # only use `projects.knowledgeBases`.
1722
+ # Updates the specified knowledge base. Note: The `projects.agent.knowledgeBases`
1723
+ # resource is deprecated; only use `projects.knowledgeBases`.
1805
1724
  # @param [String] name
1806
- # The knowledge base resource name.
1807
- # The name must be empty when creating a knowledge base.
1808
- # Format: `projects/<Project ID>/knowledgeBases/<Knowledge Base ID>`.
1725
+ # The knowledge base resource name. The name must be empty when creating a
1726
+ # knowledge base. Format: `projects//knowledgeBases/`.
1809
1727
  # @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1KnowledgeBase] google_cloud_dialogflow_v2beta1_knowledge_base_object
1810
1728
  # @param [String] update_mask
1811
- # Optional. Not specified means `update all`.
1812
- # Currently, only `display_name` can be updated, an InvalidArgument will be
1813
- # returned for attempting to update other fields.
1729
+ # Optional. Not specified means `update all`. Currently, only `display_name` can
1730
+ # be updated, an InvalidArgument will be returned for attempting to update other
1731
+ # fields.
1814
1732
  # @param [String] fields
1815
1733
  # Selector specifying which fields to include in a partial response.
1816
1734
  # @param [String] quota_user
@@ -1841,12 +1759,11 @@ module Google
1841
1759
  execute_or_queue_command(command, &block)
1842
1760
  end
1843
1761
 
1844
- # Creates a new document.
1845
- # Note: The `projects.agent.knowledgeBases.documents` resource is deprecated;
1846
- # only use `projects.knowledgeBases.documents`.
1762
+ # Creates a new document. Note: The `projects.agent.knowledgeBases.documents`
1763
+ # resource is deprecated; only use `projects.knowledgeBases.documents`.
1847
1764
  # @param [String] parent
1848
- # Required. The knoweldge base to create a document for.
1849
- # Format: `projects/<Project ID>/knowledgeBases/<Knowledge Base ID>`.
1765
+ # Required. The knoweldge base to create a document for. Format: `projects//
1766
+ # knowledgeBases/`.
1850
1767
  # @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Document] google_cloud_dialogflow_v2beta1_document_object
1851
1768
  # @param [String] fields
1852
1769
  # Selector specifying which fields to include in a partial response.
@@ -1877,13 +1794,12 @@ module Google
1877
1794
  execute_or_queue_command(command, &block)
1878
1795
  end
1879
1796
 
1880
- # Deletes the specified document.
1881
- # Note: The `projects.agent.knowledgeBases.documents` resource is deprecated;
1882
- # only use `projects.knowledgeBases.documents`.
1797
+ # Deletes the specified document. Note: The `projects.agent.knowledgeBases.
1798
+ # documents` resource is deprecated; only use `projects.knowledgeBases.documents`
1799
+ # .
1883
1800
  # @param [String] name
1884
- # Required. The name of the document to delete.
1885
- # Format: `projects/<Project ID>/knowledgeBases/<Knowledge Base
1886
- # ID>/documents/<Document ID>`.
1801
+ # Required. The name of the document to delete. Format: `projects//
1802
+ # knowledgeBases//documents/`.
1887
1803
  # @param [String] fields
1888
1804
  # Selector specifying which fields to include in a partial response.
1889
1805
  # @param [String] quota_user
@@ -1911,13 +1827,12 @@ module Google
1911
1827
  execute_or_queue_command(command, &block)
1912
1828
  end
1913
1829
 
1914
- # Retrieves the specified document.
1915
- # Note: The `projects.agent.knowledgeBases.documents` resource is deprecated;
1916
- # only use `projects.knowledgeBases.documents`.
1830
+ # Retrieves the specified document. Note: The `projects.agent.knowledgeBases.
1831
+ # documents` resource is deprecated; only use `projects.knowledgeBases.documents`
1832
+ # .
1917
1833
  # @param [String] name
1918
- # Required. The name of the document to retrieve.
1919
- # Format `projects/<Project ID>/knowledgeBases/<Knowledge Base
1920
- # ID>/documents/<Document ID>`.
1834
+ # Required. The name of the document to retrieve. Format `projects//
1835
+ # knowledgeBases//documents/`.
1921
1836
  # @param [String] fields
1922
1837
  # Selector specifying which fields to include in a partial response.
1923
1838
  # @param [String] quota_user
@@ -1945,15 +1860,15 @@ module Google
1945
1860
  execute_or_queue_command(command, &block)
1946
1861
  end
1947
1862
 
1948
- # Returns the list of all documents of the knowledge base.
1949
- # Note: The `projects.agent.knowledgeBases.documents` resource is deprecated;
1950
- # only use `projects.knowledgeBases.documents`.
1863
+ # Returns the list of all documents of the knowledge base. Note: The `projects.
1864
+ # agent.knowledgeBases.documents` resource is deprecated; only use `projects.
1865
+ # knowledgeBases.documents`.
1951
1866
  # @param [String] parent
1952
- # Required. The knowledge base to list all documents for.
1953
- # Format: `projects/<Project ID>/knowledgeBases/<Knowledge Base ID>`.
1867
+ # Required. The knowledge base to list all documents for. Format: `projects//
1868
+ # knowledgeBases/`.
1954
1869
  # @param [Fixnum] page_size
1955
- # The maximum number of items to return in a single page. By
1956
- # default 10 and at most 100.
1870
+ # The maximum number of items to return in a single page. By default 10 and at
1871
+ # most 100.
1957
1872
  # @param [String] page_token
1958
1873
  # The next_page_token value returned from a previous list request.
1959
1874
  # @param [String] fields
@@ -1985,19 +1900,17 @@ module Google
1985
1900
  execute_or_queue_command(command, &block)
1986
1901
  end
1987
1902
 
1988
- # Updates the specified document.
1989
- # Note: The `projects.agent.knowledgeBases.documents` resource is deprecated;
1990
- # only use `projects.knowledgeBases.documents`.
1903
+ # Updates the specified document. Note: The `projects.agent.knowledgeBases.
1904
+ # documents` resource is deprecated; only use `projects.knowledgeBases.documents`
1905
+ # .
1991
1906
  # @param [String] name
1992
- # Optional. The document resource name.
1993
- # The name must be empty when creating a document.
1994
- # Format: `projects/<Project ID>/knowledgeBases/<Knowledge Base
1995
- # ID>/documents/<Document ID>`.
1907
+ # Optional. The document resource name. The name must be empty when creating a
1908
+ # document. Format: `projects//knowledgeBases//documents/`.
1996
1909
  # @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Document] google_cloud_dialogflow_v2beta1_document_object
1997
1910
  # @param [String] update_mask
1998
- # Optional. Not specified means `update all`.
1999
- # Currently, only `display_name` can be updated, an InvalidArgument will be
2000
- # returned for attempting to update other fields.
1911
+ # Optional. Not specified means `update all`. Currently, only `display_name` can
1912
+ # be updated, an InvalidArgument will be returned for attempting to update other
1913
+ # fields.
2001
1914
  # @param [String] fields
2002
1915
  # Selector specifying which fields to include in a partial response.
2003
1916
  # @param [String] quota_user
@@ -2029,15 +1942,14 @@ module Google
2029
1942
  end
2030
1943
 
2031
1944
  # Reloads the specified document from its specified source, content_uri or
2032
- # content. The previously loaded content of the document will be deleted.
2033
- # Note: Even when the content of the document has not changed, there still
2034
- # may be side effects because of internal implementation changes.
2035
- # Note: The `projects.agent.knowledgeBases.documents` resource is deprecated;
2036
- # only use `projects.knowledgeBases.documents`.
1945
+ # content. The previously loaded content of the document will be deleted. Note:
1946
+ # Even when the content of the document has not changed, there still may be side
1947
+ # effects because of internal implementation changes. Note: The `projects.agent.
1948
+ # knowledgeBases.documents` resource is deprecated; only use `projects.
1949
+ # knowledgeBases.documents`.
2037
1950
  # @param [String] name
2038
- # Required. The name of the document to reload.
2039
- # Format: `projects/<Project ID>/knowledgeBases/<Knowledge Base
2040
- # ID>/documents/<Document ID>`
1951
+ # Required. The name of the document to reload. Format: `projects//
1952
+ # knowledgeBases//documents/`
2041
1953
  # @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ReloadDocumentRequest] google_cloud_dialogflow_v2beta1_reload_document_request_object
2042
1954
  # @param [String] fields
2043
1955
  # Selector specifying which fields to include in a partial response.
@@ -2070,11 +1982,10 @@ module Google
2070
1982
 
2071
1983
  # Deletes all active contexts in the specified session.
2072
1984
  # @param [String] parent
2073
- # Required. The name of the session to delete all contexts from. Format:
2074
- # `projects/<Project ID>/agent/sessions/<Session ID>` or `projects/<Project
2075
- # ID>/agent/environments/<Environment ID>/users/<User ID>/sessions/<Session
2076
- # ID>`. If `Environment ID` is not specified we assume default 'draft'
2077
- # environment. If `User ID` is not specified, we assume default '-' user.
1985
+ # Required. The name of the session to delete all contexts from. Format: `
1986
+ # projects//agent/sessions/` or `projects//agent/environments//users//sessions/`.
1987
+ # If `Environment ID` is not specified we assume default 'draft' environment.
1988
+ # If `User ID` is not specified, we assume default '-' user.
2078
1989
  # @param [String] fields
2079
1990
  # Selector specifying which fields to include in a partial response.
2080
1991
  # @param [String] quota_user
@@ -2102,20 +2013,20 @@ module Google
2102
2013
  execute_or_queue_command(command, &block)
2103
2014
  end
2104
2015
 
2105
- # Processes a natural language query and returns structured, actionable data
2106
- # as a result. This method is not idempotent, because it may cause contexts
2107
- # and session entity types to be updated, which in turn might affect
2108
- # results of future queries.
2016
+ # Processes a natural language query and returns structured, actionable data as
2017
+ # a result. This method is not idempotent, because it may cause contexts and
2018
+ # session entity types to be updated, which in turn might affect results of
2019
+ # future queries.
2109
2020
  # @param [String] session
2110
- # Required. The name of the session this query is sent to. Format:
2111
- # `projects/<Project ID>/agent/sessions/<Session ID>`, or
2112
- # `projects/<Project ID>/agent/environments/<Environment ID>/users/<User
2113
- # ID>/sessions/<Session ID>`. If `Environment ID` is not specified, we assume
2114
- # default 'draft' environment. If `User ID` is not specified, we are using
2115
- # "-". It's up to the API caller to choose an appropriate `Session ID` and
2116
- # `User Id`. They can be a random number or some type of user and session
2117
- # identifiers (preferably hashed). The length of the `Session ID` and
2118
- # `User ID` must not exceed 36 characters.
2021
+ # Required. The name of the session this query is sent to. Format: `projects//
2022
+ # agent/sessions/`, or `projects//agent/environments//users//sessions/`. If `
2023
+ # Environment ID` is not specified, we assume default 'draft' environment. If `
2024
+ # User ID` is not specified, we are using "-". It's up to the API caller to
2025
+ # choose an appropriate `Session ID` and `User Id`. They can be a random number
2026
+ # or some type of user and session identifiers (preferably hashed). The length
2027
+ # of the `Session ID` and `User ID` must not exceed 36 characters. For more
2028
+ # information, see the [API interactions guide](https://cloud.google.com/
2029
+ # dialogflow/docs/api-overview).
2119
2030
  # @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1DetectIntentRequest] google_cloud_dialogflow_v2beta1_detect_intent_request_object
2120
2031
  # @param [String] fields
2121
2032
  # Selector specifying which fields to include in a partial response.
@@ -2146,15 +2057,13 @@ module Google
2146
2057
  execute_or_queue_command(command, &block)
2147
2058
  end
2148
2059
 
2149
- # Creates a context.
2150
- # If the specified context already exists, overrides the context.
2060
+ # Creates a context. If the specified context already exists, overrides the
2061
+ # context.
2151
2062
  # @param [String] parent
2152
- # Required. The session to create a context for.
2153
- # Format: `projects/<Project ID>/agent/sessions/<Session ID>` or
2154
- # `projects/<Project ID>/agent/environments/<Environment ID>/users/<User
2155
- # ID>/sessions/<Session ID>`. If `Environment ID` is not specified, we assume
2156
- # default 'draft' environment. If `User ID` is not specified, we assume
2157
- # default '-' user.
2063
+ # Required. The session to create a context for. Format: `projects//agent/
2064
+ # sessions/` or `projects//agent/environments//users//sessions/`. If `
2065
+ # Environment ID` is not specified, we assume default 'draft' environment. If `
2066
+ # User ID` is not specified, we assume default '-' user.
2158
2067
  # @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Context] google_cloud_dialogflow_v2beta1_context_object
2159
2068
  # @param [String] fields
2160
2069
  # Selector specifying which fields to include in a partial response.
@@ -2187,12 +2096,10 @@ module Google
2187
2096
 
2188
2097
  # Deletes the specified context.
2189
2098
  # @param [String] name
2190
- # Required. The name of the context to delete. Format:
2191
- # `projects/<Project ID>/agent/sessions/<Session ID>/contexts/<Context ID>`
2192
- # or `projects/<Project ID>/agent/environments/<Environment ID>/users/<User
2193
- # ID>/sessions/<Session ID>/contexts/<Context ID>`. If `Environment ID` is
2194
- # not specified, we assume default 'draft' environment. If `User ID` is not
2195
- # specified, we assume default '-' user.
2099
+ # Required. The name of the context to delete. Format: `projects//agent/sessions/
2100
+ # /contexts/` or `projects//agent/environments//users//sessions//contexts/`. If `
2101
+ # Environment ID` is not specified, we assume default 'draft' environment. If `
2102
+ # User ID` is not specified, we assume default '-' user.
2196
2103
  # @param [String] fields
2197
2104
  # Selector specifying which fields to include in a partial response.
2198
2105
  # @param [String] quota_user
@@ -2222,12 +2129,10 @@ module Google
2222
2129
 
2223
2130
  # Retrieves the specified context.
2224
2131
  # @param [String] name
2225
- # Required. The name of the context. Format:
2226
- # `projects/<Project ID>/agent/sessions/<Session ID>/contexts/<Context ID>`
2227
- # or `projects/<Project ID>/agent/environments/<Environment ID>/users/<User
2228
- # ID>/sessions/<Session ID>/contexts/<Context ID>`. If `Environment ID` is
2229
- # not specified, we assume default 'draft' environment. If `User ID` is not
2230
- # specified, we assume default '-' user.
2132
+ # Required. The name of the context. Format: `projects//agent/sessions//contexts/
2133
+ # ` or `projects//agent/environments//users//sessions//contexts/`. If `
2134
+ # Environment ID` is not specified, we assume default 'draft' environment. If `
2135
+ # User ID` is not specified, we assume default '-' user.
2231
2136
  # @param [String] fields
2232
2137
  # Selector specifying which fields to include in a partial response.
2233
2138
  # @param [String] quota_user
@@ -2257,15 +2162,13 @@ module Google
2257
2162
 
2258
2163
  # Returns the list of all contexts in the specified session.
2259
2164
  # @param [String] parent
2260
- # Required. The session to list all contexts from.
2261
- # Format: `projects/<Project ID>/agent/sessions/<Session ID>` or
2262
- # `projects/<Project ID>/agent/environments/<Environment ID>/users/<User
2263
- # ID>/sessions/<Session ID>`. If `Environment ID` is not specified, we assume
2264
- # default 'draft' environment. If `User ID` is not specified, we assume
2265
- # default '-' user.
2165
+ # Required. The session to list all contexts from. Format: `projects//agent/
2166
+ # sessions/` or `projects//agent/environments//users//sessions/`. If `
2167
+ # Environment ID` is not specified, we assume default 'draft' environment. If `
2168
+ # User ID` is not specified, we assume default '-' user.
2266
2169
  # @param [Fixnum] page_size
2267
- # Optional. The maximum number of items to return in a single page. By
2268
- # default 100 and at most 1000.
2170
+ # Optional. The maximum number of items to return in a single page. By default
2171
+ # 100 and at most 1000.
2269
2172
  # @param [String] page_token
2270
2173
  # Optional. The next_page_token value returned from a previous list request.
2271
2174
  # @param [String] fields
@@ -2299,19 +2202,15 @@ module Google
2299
2202
 
2300
2203
  # Updates the specified context.
2301
2204
  # @param [String] name
2302
- # Required. The unique identifier of the context. Format:
2303
- # `projects/<Project ID>/agent/sessions/<Session ID>/contexts/<Context ID>`,
2304
- # or `projects/<Project ID>/agent/environments/<Environment ID>/users/<User
2305
- # ID>/sessions/<Session ID>/contexts/<Context ID>`.
2306
- # The `Context ID` is always converted to lowercase, may only contain
2307
- # characters in a-zA-Z0-9_-% and may be at most 250 bytes long.
2308
- # If `Environment ID` is not specified, we assume default 'draft'
2309
- # environment. If `User ID` is not specified, we assume default '-' user.
2310
- # The following context names are reserved for internal use by Dialogflow.
2311
- # You should not use these contexts or create contexts with these names:
2312
- # * `__system_counters__`
2313
- # * `*_id_dialog_context`
2314
- # * `*_dialog_params_size`
2205
+ # Required. The unique identifier of the context. Format: `projects//agent/
2206
+ # sessions//contexts/`, or `projects//agent/environments//users//sessions//
2207
+ # contexts/`. The `Context ID` is always converted to lowercase, may only
2208
+ # contain characters in a-zA-Z0-9_-% and may be at most 250 bytes long. If `
2209
+ # Environment ID` is not specified, we assume default 'draft' environment. If `
2210
+ # User ID` is not specified, we assume default '-' user. The following context
2211
+ # names are reserved for internal use by Dialogflow. You should not use these
2212
+ # contexts or create contexts with these names: * `__system_counters__` * `*
2213
+ # _id_dialog_context` * `*_dialog_params_size`
2315
2214
  # @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Context] google_cloud_dialogflow_v2beta1_context_object
2316
2215
  # @param [String] update_mask
2317
2216
  # Optional. The mask to control which fields get updated.
@@ -2345,19 +2244,15 @@ module Google
2345
2244
  execute_or_queue_command(command, &block)
2346
2245
  end
2347
2246
 
2348
- # Creates a session entity type.
2349
- # If the specified session entity type already exists, overrides the
2350
- # session entity type.
2351
- # This method doesn't work with Google Assistant integration.
2352
- # Contact Dialogflow support if you need to use session entities
2353
- # with Google Assistant integration.
2247
+ # Creates a session entity type. If the specified session entity type already
2248
+ # exists, overrides the session entity type. This method doesn't work with
2249
+ # Google Assistant integration. Contact Dialogflow support if you need to use
2250
+ # session entities with Google Assistant integration.
2354
2251
  # @param [String] parent
2355
- # Required. The session to create a session entity type for.
2356
- # Format: `projects/<Project ID>/agent/sessions/<Session ID>` or
2357
- # `projects/<Project ID>/agent/environments/<Environment ID>/users/<User ID>/
2358
- # sessions/<Session ID>`. If `Environment ID` is not specified, we assume
2359
- # default 'draft' environment. If `User ID` is not specified, we assume
2360
- # default '-' user.
2252
+ # Required. The session to create a session entity type for. Format: `projects//
2253
+ # agent/sessions/` or `projects//agent/environments//users// sessions/`. If `
2254
+ # Environment ID` is not specified, we assume default 'draft' environment. If `
2255
+ # User ID` is not specified, we assume default '-' user.
2361
2256
  # @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SessionEntityType] google_cloud_dialogflow_v2beta1_session_entity_type_object
2362
2257
  # @param [String] fields
2363
2258
  # Selector specifying which fields to include in a partial response.
@@ -2388,16 +2283,13 @@ module Google
2388
2283
  execute_or_queue_command(command, &block)
2389
2284
  end
2390
2285
 
2391
- # Deletes the specified session entity type.
2392
- # This method doesn't work with Google Assistant integration.
2393
- # Contact Dialogflow support if you need to use session entities
2394
- # with Google Assistant integration.
2286
+ # Deletes the specified session entity type. This method doesn't work with
2287
+ # Google Assistant integration. Contact Dialogflow support if you need to use
2288
+ # session entities with Google Assistant integration.
2395
2289
  # @param [String] name
2396
- # Required. The name of the entity type to delete. Format:
2397
- # `projects/<Project ID>/agent/sessions/<Session ID>/entityTypes/<Entity Type
2398
- # Display Name>` or `projects/<Project ID>/agent/environments/<Environment
2399
- # ID>/users/<User ID>/sessions/<Session ID>/entityTypes/<Entity Type Display
2400
- # Name>`. If `Environment ID` is not specified, we assume default 'draft'
2290
+ # Required. The name of the entity type to delete. Format: `projects//agent/
2291
+ # sessions//entityTypes/` or `projects//agent/environments//users//sessions//
2292
+ # entityTypes/`. If `Environment ID` is not specified, we assume default 'draft'
2401
2293
  # environment. If `User ID` is not specified, we assume default '-' user.
2402
2294
  # @param [String] fields
2403
2295
  # Selector specifying which fields to include in a partial response.
@@ -2426,16 +2318,13 @@ module Google
2426
2318
  execute_or_queue_command(command, &block)
2427
2319
  end
2428
2320
 
2429
- # Retrieves the specified session entity type.
2430
- # This method doesn't work with Google Assistant integration.
2431
- # Contact Dialogflow support if you need to use session entities
2432
- # with Google Assistant integration.
2321
+ # Retrieves the specified session entity type. This method doesn't work with
2322
+ # Google Assistant integration. Contact Dialogflow support if you need to use
2323
+ # session entities with Google Assistant integration.
2433
2324
  # @param [String] name
2434
- # Required. The name of the session entity type. Format:
2435
- # `projects/<Project ID>/agent/sessions/<Session ID>/entityTypes/<Entity Type
2436
- # Display Name>` or `projects/<Project ID>/agent/environments/<Environment
2437
- # ID>/users/<User ID>/sessions/<Session ID>/entityTypes/<Entity Type Display
2438
- # Name>`. If `Environment ID` is not specified, we assume default 'draft'
2325
+ # Required. The name of the session entity type. Format: `projects//agent/
2326
+ # sessions//entityTypes/` or `projects//agent/environments//users//sessions//
2327
+ # entityTypes/`. If `Environment ID` is not specified, we assume default 'draft'
2439
2328
  # environment. If `User ID` is not specified, we assume default '-' user.
2440
2329
  # @param [String] fields
2441
2330
  # Selector specifying which fields to include in a partial response.
@@ -2464,20 +2353,17 @@ module Google
2464
2353
  execute_or_queue_command(command, &block)
2465
2354
  end
2466
2355
 
2467
- # Returns the list of all session entity types in the specified session.
2468
- # This method doesn't work with Google Assistant integration.
2469
- # Contact Dialogflow support if you need to use session entities
2470
- # with Google Assistant integration.
2356
+ # Returns the list of all session entity types in the specified session. This
2357
+ # method doesn't work with Google Assistant integration. Contact Dialogflow
2358
+ # support if you need to use session entities with Google Assistant integration.
2471
2359
  # @param [String] parent
2472
- # Required. The session to list all session entity types from.
2473
- # Format: `projects/<Project ID>/agent/sessions/<Session ID>` or
2474
- # `projects/<Project ID>/agent/environments/<Environment ID>/users/<User ID>/
2475
- # sessions/<Session ID>`.
2476
- # If `Environment ID` is not specified, we assume default 'draft'
2477
- # environment. If `User ID` is not specified, we assume default '-' user.
2360
+ # Required. The session to list all session entity types from. Format: `projects/
2361
+ # /agent/sessions/` or `projects//agent/environments//users// sessions/`. If `
2362
+ # Environment ID` is not specified, we assume default 'draft' environment. If `
2363
+ # User ID` is not specified, we assume default '-' user.
2478
2364
  # @param [Fixnum] page_size
2479
- # Optional. The maximum number of items to return in a single page. By
2480
- # default 100 and at most 1000.
2365
+ # Optional. The maximum number of items to return in a single page. By default
2366
+ # 100 and at most 1000.
2481
2367
  # @param [String] page_token
2482
2368
  # Optional. The next_page_token value returned from a previous list request.
2483
2369
  # @param [String] fields
@@ -2509,20 +2395,16 @@ module Google
2509
2395
  execute_or_queue_command(command, &block)
2510
2396
  end
2511
2397
 
2512
- # Updates the specified session entity type.
2513
- # This method doesn't work with Google Assistant integration.
2514
- # Contact Dialogflow support if you need to use session entities
2515
- # with Google Assistant integration.
2398
+ # Updates the specified session entity type. This method doesn't work with
2399
+ # Google Assistant integration. Contact Dialogflow support if you need to use
2400
+ # session entities with Google Assistant integration.
2516
2401
  # @param [String] name
2517
- # Required. The unique identifier of this session entity type. Format:
2518
- # `projects/<Project ID>/agent/sessions/<Session ID>/entityTypes/<Entity Type
2519
- # Display Name>`, or
2520
- # `projects/<Project ID>/agent/environments/<Environment ID>/users/<User
2521
- # ID>/sessions/<Session ID>/entityTypes/<Entity Type Display Name>`.
2522
- # If `Environment ID` is not specified, we assume default 'draft'
2523
- # environment. If `User ID` is not specified, we assume default '-' user.
2524
- # `<Entity Type Display Name>` must be the display name of an existing entity
2525
- # type in the same agent that will be overridden or supplemented.
2402
+ # Required. The unique identifier of this session entity type. Format: `projects/
2403
+ # /agent/sessions//entityTypes/`, or `projects//agent/environments//users//
2404
+ # sessions//entityTypes/`. If `Environment ID` is not specified, we assume
2405
+ # default 'draft' environment. If `User ID` is not specified, we assume default '
2406
+ # -' user. `` must be the display name of an existing entity type in the same
2407
+ # agent that will be overridden or supplemented.
2526
2408
  # @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SessionEntityType] google_cloud_dialogflow_v2beta1_session_entity_type_object
2527
2409
  # @param [String] update_mask
2528
2410
  # Optional. The mask to control which fields get updated.
@@ -2556,12 +2438,10 @@ module Google
2556
2438
  execute_or_queue_command(command, &block)
2557
2439
  end
2558
2440
 
2559
- # Creates a knowledge base.
2560
- # Note: The `projects.agent.knowledgeBases` resource is deprecated;
2561
- # only use `projects.knowledgeBases`.
2441
+ # Creates a knowledge base. Note: The `projects.agent.knowledgeBases` resource
2442
+ # is deprecated; only use `projects.knowledgeBases`.
2562
2443
  # @param [String] parent
2563
- # Required. The project to create a knowledge base for.
2564
- # Format: `projects/<Project ID>`.
2444
+ # Required. The project to create a knowledge base for. Format: `projects/`.
2565
2445
  # @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1KnowledgeBase] google_cloud_dialogflow_v2beta1_knowledge_base_object
2566
2446
  # @param [String] fields
2567
2447
  # Selector specifying which fields to include in a partial response.
@@ -2592,15 +2472,14 @@ module Google
2592
2472
  execute_or_queue_command(command, &block)
2593
2473
  end
2594
2474
 
2595
- # Deletes the specified knowledge base.
2596
- # Note: The `projects.agent.knowledgeBases` resource is deprecated;
2597
- # only use `projects.knowledgeBases`.
2475
+ # Deletes the specified knowledge base. Note: The `projects.agent.knowledgeBases`
2476
+ # resource is deprecated; only use `projects.knowledgeBases`.
2598
2477
  # @param [String] name
2599
- # Required. The name of the knowledge base to delete.
2600
- # Format: `projects/<Project ID>/knowledgeBases/<Knowledge Base ID>`.
2478
+ # Required. The name of the knowledge base to delete. Format: `projects//
2479
+ # knowledgeBases/`.
2601
2480
  # @param [Boolean] force
2602
- # Optional. Force deletes the knowledge base. When set to true, any documents
2603
- # in the knowledge base are also deleted.
2481
+ # Optional. Force deletes the knowledge base. When set to true, any documents in
2482
+ # the knowledge base are also deleted.
2604
2483
  # @param [String] fields
2605
2484
  # Selector specifying which fields to include in a partial response.
2606
2485
  # @param [String] quota_user
@@ -2629,12 +2508,11 @@ module Google
2629
2508
  execute_or_queue_command(command, &block)
2630
2509
  end
2631
2510
 
2632
- # Retrieves the specified knowledge base.
2633
- # Note: The `projects.agent.knowledgeBases` resource is deprecated;
2634
- # only use `projects.knowledgeBases`.
2511
+ # Retrieves the specified knowledge base. Note: The `projects.agent.
2512
+ # knowledgeBases` resource is deprecated; only use `projects.knowledgeBases`.
2635
2513
  # @param [String] name
2636
- # Required. The name of the knowledge base to retrieve.
2637
- # Format `projects/<Project ID>/knowledgeBases/<Knowledge Base ID>`.
2514
+ # Required. The name of the knowledge base to retrieve. Format `projects//
2515
+ # knowledgeBases/`.
2638
2516
  # @param [String] fields
2639
2517
  # Selector specifying which fields to include in a partial response.
2640
2518
  # @param [String] quota_user
@@ -2662,15 +2540,14 @@ module Google
2662
2540
  execute_or_queue_command(command, &block)
2663
2541
  end
2664
2542
 
2665
- # Returns the list of all knowledge bases of the specified agent.
2666
- # Note: The `projects.agent.knowledgeBases` resource is deprecated;
2667
- # only use `projects.knowledgeBases`.
2543
+ # Returns the list of all knowledge bases of the specified agent. Note: The `
2544
+ # projects.agent.knowledgeBases` resource is deprecated; only use `projects.
2545
+ # knowledgeBases`.
2668
2546
  # @param [String] parent
2669
- # Required. The project to list of knowledge bases for.
2670
- # Format: `projects/<Project ID>`.
2547
+ # Required. The project to list of knowledge bases for. Format: `projects/`.
2671
2548
  # @param [Fixnum] page_size
2672
- # Optional. The maximum number of items to return in a single page. By
2673
- # default 10 and at most 100.
2549
+ # Optional. The maximum number of items to return in a single page. By default
2550
+ # 10 and at most 100.
2674
2551
  # @param [String] page_token
2675
2552
  # Optional. The next_page_token value returned from a previous list request.
2676
2553
  # @param [String] fields
@@ -2702,18 +2579,16 @@ module Google
2702
2579
  execute_or_queue_command(command, &block)
2703
2580
  end
2704
2581
 
2705
- # Updates the specified knowledge base.
2706
- # Note: The `projects.agent.knowledgeBases` resource is deprecated;
2707
- # only use `projects.knowledgeBases`.
2582
+ # Updates the specified knowledge base. Note: The `projects.agent.knowledgeBases`
2583
+ # resource is deprecated; only use `projects.knowledgeBases`.
2708
2584
  # @param [String] name
2709
- # The knowledge base resource name.
2710
- # The name must be empty when creating a knowledge base.
2711
- # Format: `projects/<Project ID>/knowledgeBases/<Knowledge Base ID>`.
2585
+ # The knowledge base resource name. The name must be empty when creating a
2586
+ # knowledge base. Format: `projects//knowledgeBases/`.
2712
2587
  # @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1KnowledgeBase] google_cloud_dialogflow_v2beta1_knowledge_base_object
2713
2588
  # @param [String] update_mask
2714
- # Optional. Not specified means `update all`.
2715
- # Currently, only `display_name` can be updated, an InvalidArgument will be
2716
- # returned for attempting to update other fields.
2589
+ # Optional. Not specified means `update all`. Currently, only `display_name` can
2590
+ # be updated, an InvalidArgument will be returned for attempting to update other
2591
+ # fields.
2717
2592
  # @param [String] fields
2718
2593
  # Selector specifying which fields to include in a partial response.
2719
2594
  # @param [String] quota_user
@@ -2744,12 +2619,11 @@ module Google
2744
2619
  execute_or_queue_command(command, &block)
2745
2620
  end
2746
2621
 
2747
- # Creates a new document.
2748
- # Note: The `projects.agent.knowledgeBases.documents` resource is deprecated;
2749
- # only use `projects.knowledgeBases.documents`.
2622
+ # Creates a new document. Note: The `projects.agent.knowledgeBases.documents`
2623
+ # resource is deprecated; only use `projects.knowledgeBases.documents`.
2750
2624
  # @param [String] parent
2751
- # Required. The knoweldge base to create a document for.
2752
- # Format: `projects/<Project ID>/knowledgeBases/<Knowledge Base ID>`.
2625
+ # Required. The knoweldge base to create a document for. Format: `projects//
2626
+ # knowledgeBases/`.
2753
2627
  # @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Document] google_cloud_dialogflow_v2beta1_document_object
2754
2628
  # @param [String] fields
2755
2629
  # Selector specifying which fields to include in a partial response.
@@ -2780,13 +2654,12 @@ module Google
2780
2654
  execute_or_queue_command(command, &block)
2781
2655
  end
2782
2656
 
2783
- # Deletes the specified document.
2784
- # Note: The `projects.agent.knowledgeBases.documents` resource is deprecated;
2785
- # only use `projects.knowledgeBases.documents`.
2657
+ # Deletes the specified document. Note: The `projects.agent.knowledgeBases.
2658
+ # documents` resource is deprecated; only use `projects.knowledgeBases.documents`
2659
+ # .
2786
2660
  # @param [String] name
2787
- # Required. The name of the document to delete.
2788
- # Format: `projects/<Project ID>/knowledgeBases/<Knowledge Base
2789
- # ID>/documents/<Document ID>`.
2661
+ # Required. The name of the document to delete. Format: `projects//
2662
+ # knowledgeBases//documents/`.
2790
2663
  # @param [String] fields
2791
2664
  # Selector specifying which fields to include in a partial response.
2792
2665
  # @param [String] quota_user
@@ -2814,13 +2687,12 @@ module Google
2814
2687
  execute_or_queue_command(command, &block)
2815
2688
  end
2816
2689
 
2817
- # Retrieves the specified document.
2818
- # Note: The `projects.agent.knowledgeBases.documents` resource is deprecated;
2819
- # only use `projects.knowledgeBases.documents`.
2690
+ # Retrieves the specified document. Note: The `projects.agent.knowledgeBases.
2691
+ # documents` resource is deprecated; only use `projects.knowledgeBases.documents`
2692
+ # .
2820
2693
  # @param [String] name
2821
- # Required. The name of the document to retrieve.
2822
- # Format `projects/<Project ID>/knowledgeBases/<Knowledge Base
2823
- # ID>/documents/<Document ID>`.
2694
+ # Required. The name of the document to retrieve. Format `projects//
2695
+ # knowledgeBases//documents/`.
2824
2696
  # @param [String] fields
2825
2697
  # Selector specifying which fields to include in a partial response.
2826
2698
  # @param [String] quota_user
@@ -2848,15 +2720,15 @@ module Google
2848
2720
  execute_or_queue_command(command, &block)
2849
2721
  end
2850
2722
 
2851
- # Returns the list of all documents of the knowledge base.
2852
- # Note: The `projects.agent.knowledgeBases.documents` resource is deprecated;
2853
- # only use `projects.knowledgeBases.documents`.
2723
+ # Returns the list of all documents of the knowledge base. Note: The `projects.
2724
+ # agent.knowledgeBases.documents` resource is deprecated; only use `projects.
2725
+ # knowledgeBases.documents`.
2854
2726
  # @param [String] parent
2855
- # Required. The knowledge base to list all documents for.
2856
- # Format: `projects/<Project ID>/knowledgeBases/<Knowledge Base ID>`.
2727
+ # Required. The knowledge base to list all documents for. Format: `projects//
2728
+ # knowledgeBases/`.
2857
2729
  # @param [Fixnum] page_size
2858
- # The maximum number of items to return in a single page. By
2859
- # default 10 and at most 100.
2730
+ # The maximum number of items to return in a single page. By default 10 and at
2731
+ # most 100.
2860
2732
  # @param [String] page_token
2861
2733
  # The next_page_token value returned from a previous list request.
2862
2734
  # @param [String] fields
@@ -2888,19 +2760,17 @@ module Google
2888
2760
  execute_or_queue_command(command, &block)
2889
2761
  end
2890
2762
 
2891
- # Updates the specified document.
2892
- # Note: The `projects.agent.knowledgeBases.documents` resource is deprecated;
2893
- # only use `projects.knowledgeBases.documents`.
2763
+ # Updates the specified document. Note: The `projects.agent.knowledgeBases.
2764
+ # documents` resource is deprecated; only use `projects.knowledgeBases.documents`
2765
+ # .
2894
2766
  # @param [String] name
2895
- # Optional. The document resource name.
2896
- # The name must be empty when creating a document.
2897
- # Format: `projects/<Project ID>/knowledgeBases/<Knowledge Base
2898
- # ID>/documents/<Document ID>`.
2767
+ # Optional. The document resource name. The name must be empty when creating a
2768
+ # document. Format: `projects//knowledgeBases//documents/`.
2899
2769
  # @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Document] google_cloud_dialogflow_v2beta1_document_object
2900
2770
  # @param [String] update_mask
2901
- # Optional. Not specified means `update all`.
2902
- # Currently, only `display_name` can be updated, an InvalidArgument will be
2903
- # returned for attempting to update other fields.
2771
+ # Optional. Not specified means `update all`. Currently, only `display_name` can
2772
+ # be updated, an InvalidArgument will be returned for attempting to update other
2773
+ # fields.
2904
2774
  # @param [String] fields
2905
2775
  # Selector specifying which fields to include in a partial response.
2906
2776
  # @param [String] quota_user
@@ -2932,15 +2802,14 @@ module Google
2932
2802
  end
2933
2803
 
2934
2804
  # Reloads the specified document from its specified source, content_uri or
2935
- # content. The previously loaded content of the document will be deleted.
2936
- # Note: Even when the content of the document has not changed, there still
2937
- # may be side effects because of internal implementation changes.
2938
- # Note: The `projects.agent.knowledgeBases.documents` resource is deprecated;
2939
- # only use `projects.knowledgeBases.documents`.
2805
+ # content. The previously loaded content of the document will be deleted. Note:
2806
+ # Even when the content of the document has not changed, there still may be side
2807
+ # effects because of internal implementation changes. Note: The `projects.agent.
2808
+ # knowledgeBases.documents` resource is deprecated; only use `projects.
2809
+ # knowledgeBases.documents`.
2940
2810
  # @param [String] name
2941
- # Required. The name of the document to reload.
2942
- # Format: `projects/<Project ID>/knowledgeBases/<Knowledge Base
2943
- # ID>/documents/<Document ID>`
2811
+ # Required. The name of the document to reload. Format: `projects//
2812
+ # knowledgeBases//documents/`
2944
2813
  # @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ReloadDocumentRequest] google_cloud_dialogflow_v2beta1_reload_document_request_object
2945
2814
  # @param [String] fields
2946
2815
  # Selector specifying which fields to include in a partial response.
@@ -2973,8 +2842,8 @@ module Google
2973
2842
 
2974
2843
  # Deletes the specified agent.
2975
2844
  # @param [String] parent
2976
- # Required. The project that the agent to delete is associated with.
2977
- # Format: `projects/<Project ID>`.
2845
+ # Required. The project that the agent to delete is associated with. Format: `
2846
+ # projects/`.
2978
2847
  # @param [String] fields
2979
2848
  # Selector specifying which fields to include in a partial response.
2980
2849
  # @param [String] quota_user
@@ -3004,8 +2873,8 @@ module Google
3004
2873
 
3005
2874
  # Retrieves the specified agent.
3006
2875
  # @param [String] parent
3007
- # Required. The project that the agent to fetch is associated with.
3008
- # Format: `projects/<Project ID>`.
2876
+ # Required. The project that the agent to fetch is associated with. Format: `
2877
+ # projects/`.
3009
2878
  # @param [String] fields
3010
2879
  # Selector specifying which fields to include in a partial response.
3011
2880
  # @param [String] quota_user
@@ -3035,8 +2904,7 @@ module Google
3035
2904
 
3036
2905
  # Creates/updates the specified agent.
3037
2906
  # @param [String] parent
3038
- # Required. The project of this agent.
3039
- # Format: `projects/<Project ID>`.
2907
+ # Required. The project of this agent. Format: `projects/`.
3040
2908
  # @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Agent] google_cloud_dialogflow_v2beta1_agent_object
3041
2909
  # @param [String] update_mask
3042
2910
  # Optional. The mask to control which fields get updated.
@@ -3070,11 +2938,10 @@ module Google
3070
2938
  execute_or_queue_command(command, &block)
3071
2939
  end
3072
2940
 
3073
- # Exports the specified agent to a ZIP file.
3074
- # Operation <response: ExportAgentResponse>
2941
+ # Exports the specified agent to a ZIP file. Operation
3075
2942
  # @param [String] parent
3076
- # Required. The project that the agent to export is associated with.
3077
- # Format: `projects/<Project ID>`.
2943
+ # Required. The project that the agent to export is associated with. Format: `
2944
+ # projects/`.
3078
2945
  # @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ExportAgentRequest] google_cloud_dialogflow_v2beta1_export_agent_request_object
3079
2946
  # @param [String] fields
3080
2947
  # Selector specifying which fields to include in a partial response.
@@ -3107,8 +2974,7 @@ module Google
3107
2974
 
3108
2975
  # Retrieves the fulfillment.
3109
2976
  # @param [String] name
3110
- # Required. The name of the fulfillment.
3111
- # Format: `projects/<Project ID>/agent/fulfillment`.
2977
+ # Required. The name of the fulfillment. Format: `projects//agent/fulfillment`.
3112
2978
  # @param [String] fields
3113
2979
  # Selector specifying which fields to include in a partial response.
3114
2980
  # @param [String] quota_user
@@ -3136,20 +3002,55 @@ module Google
3136
3002
  execute_or_queue_command(command, &block)
3137
3003
  end
3138
3004
 
3139
- # Imports the specified agent from a ZIP file.
3140
- # Uploads new intents and entity types without deleting the existing ones.
3141
- # Intents and entity types with the same name are replaced with the new
3142
- # versions from ImportAgentRequest. After the import, the imported draft
3143
- # agent will be trained automatically (unless disabled in agent settings).
3144
- # However, once the import is done, training may not be completed yet. Please
3145
- # call TrainAgent and wait for the operation it returns in order to train
3146
- # explicitly.
3147
- # Operation <response: google.protobuf.Empty>
3148
- # An operation which tracks when importing is complete. It only tracks
3149
- # when the draft agent is updated not when it is done training.
3005
+ # Gets agent validation result. Agent validation is performed during training
3006
+ # time and is updated automatically when training is completed.
3007
+ # @param [String] parent
3008
+ # Required. The project that the agent is associated with. Format: `projects/`.
3009
+ # @param [String] language_code
3010
+ # Optional. The language for which you want a validation result. If not
3011
+ # specified, the agent's default language is used. [Many languages](https://
3012
+ # cloud.google.com/dialogflow/docs/reference/language) are supported. Note:
3013
+ # languages must be enabled in the agent before they can be used.
3014
+ # @param [String] fields
3015
+ # Selector specifying which fields to include in a partial response.
3016
+ # @param [String] quota_user
3017
+ # Available to use for quota purposes for server-side applications. Can be any
3018
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3019
+ # @param [Google::Apis::RequestOptions] options
3020
+ # Request-specific options
3021
+ #
3022
+ # @yield [result, err] Result & error if block supplied
3023
+ # @yieldparam result [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ValidationResult] parsed result object
3024
+ # @yieldparam err [StandardError] error object if request failed
3025
+ #
3026
+ # @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ValidationResult]
3027
+ #
3028
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3029
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3030
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
3031
+ def get_project_location_agent_validation_result(parent, language_code: nil, fields: nil, quota_user: nil, options: nil, &block)
3032
+ command = make_simple_command(:get, 'v2beta1/{+parent}/agent/validationResult', options)
3033
+ command.response_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ValidationResult::Representation
3034
+ command.response_class = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ValidationResult
3035
+ command.params['parent'] = parent unless parent.nil?
3036
+ command.query['languageCode'] = language_code unless language_code.nil?
3037
+ command.query['fields'] = fields unless fields.nil?
3038
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
3039
+ execute_or_queue_command(command, &block)
3040
+ end
3041
+
3042
+ # Imports the specified agent from a ZIP file. Uploads new intents and entity
3043
+ # types without deleting the existing ones. Intents and entity types with the
3044
+ # same name are replaced with the new versions from ImportAgentRequest. After
3045
+ # the import, the imported draft agent will be trained automatically (unless
3046
+ # disabled in agent settings). However, once the import is done, training may
3047
+ # not be completed yet. Please call TrainAgent and wait for the operation it
3048
+ # returns in order to train explicitly. Operation An operation which tracks when
3049
+ # importing is complete. It only tracks when the draft agent is updated not when
3050
+ # it is done training.
3150
3051
  # @param [String] parent
3151
- # Required. The project that the agent to import is associated with.
3152
- # Format: `projects/<Project ID>`.
3052
+ # Required. The project that the agent to import is associated with. Format: `
3053
+ # projects/`.
3153
3054
  # @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ImportAgentRequest] google_cloud_dialogflow_v2beta1_import_agent_request_object
3154
3055
  # @param [String] fields
3155
3056
  # Selector specifying which fields to include in a partial response.
@@ -3180,19 +3081,17 @@ module Google
3180
3081
  execute_or_queue_command(command, &block)
3181
3082
  end
3182
3083
 
3183
- # Restores the specified agent from a ZIP file.
3184
- # Replaces the current agent version with a new one. All the intents and
3185
- # entity types in the older version are deleted. After the restore, the
3186
- # restored draft agent will be trained automatically (unless disabled in
3187
- # agent settings). However, once the restore is done, training may not be
3188
- # completed yet. Please call TrainAgent and wait for the operation it
3189
- # returns in order to train explicitly.
3190
- # Operation <response: google.protobuf.Empty>
3191
- # An operation which tracks when restoring is complete. It only tracks
3192
- # when the draft agent is updated not when it is done training.
3084
+ # Restores the specified agent from a ZIP file. Replaces the current agent
3085
+ # version with a new one. All the intents and entity types in the older version
3086
+ # are deleted. After the restore, the restored draft agent will be trained
3087
+ # automatically (unless disabled in agent settings). However, once the restore
3088
+ # is done, training may not be completed yet. Please call TrainAgent and wait
3089
+ # for the operation it returns in order to train explicitly. Operation An
3090
+ # operation which tracks when restoring is complete. It only tracks when the
3091
+ # draft agent is updated not when it is done training.
3193
3092
  # @param [String] parent
3194
- # Required. The project that the agent to restore is associated with.
3195
- # Format: `projects/<Project ID>`.
3093
+ # Required. The project that the agent to restore is associated with. Format: `
3094
+ # projects/`.
3196
3095
  # @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1RestoreAgentRequest] google_cloud_dialogflow_v2beta1_restore_agent_request_object
3197
3096
  # @param [String] fields
3198
3097
  # Selector specifying which fields to include in a partial response.
@@ -3223,19 +3122,16 @@ module Google
3223
3122
  execute_or_queue_command(command, &block)
3224
3123
  end
3225
3124
 
3226
- # Returns the list of agents.
3227
- # Since there is at most one conversational agent per project, this method is
3228
- # useful primarily for listing all agents across projects the caller has
3229
- # access to. One can achieve that with a wildcard project collection id "-".
3230
- # Refer to [List
3231
- # Sub-Collections](https://cloud.google.com/apis/design/design_patterns#list_sub-
3232
- # collections).
3125
+ # Returns the list of agents. Since there is at most one conversational agent
3126
+ # per project, this method is useful primarily for listing all agents across
3127
+ # projects the caller has access to. One can achieve that with a wildcard
3128
+ # project collection id "-". Refer to [List Sub-Collections](https://cloud.
3129
+ # google.com/apis/design/design_patterns#list_sub-collections).
3233
3130
  # @param [String] parent
3234
- # Required. The project to list agents from.
3235
- # Format: `projects/<Project ID or '-'>`.
3131
+ # Required. The project to list agents from. Format: `projects/`.
3236
3132
  # @param [Fixnum] page_size
3237
- # Optional. The maximum number of items to return in a single page. By
3238
- # default 100 and at most 1000.
3133
+ # Optional. The maximum number of items to return in a single page. By default
3134
+ # 100 and at most 1000.
3239
3135
  # @param [String] page_token
3240
3136
  # Optional. The next_page_token value returned from a previous list request.
3241
3137
  # @param [String] fields
@@ -3267,11 +3163,10 @@ module Google
3267
3163
  execute_or_queue_command(command, &block)
3268
3164
  end
3269
3165
 
3270
- # Trains the specified agent.
3271
- # Operation <response: google.protobuf.Empty>
3166
+ # Trains the specified agent. Operation
3272
3167
  # @param [String] parent
3273
- # Required. The project that the agent to train is associated with.
3274
- # Format: `projects/<Project ID>`.
3168
+ # Required. The project that the agent to train is associated with. Format: `
3169
+ # projects/`.
3275
3170
  # @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1TrainAgentRequest] google_cloud_dialogflow_v2beta1_train_agent_request_object
3276
3171
  # @param [String] fields
3277
3172
  # Selector specifying which fields to include in a partial response.
@@ -3304,8 +3199,8 @@ module Google
3304
3199
 
3305
3200
  # Updates the fulfillment.
3306
3201
  # @param [String] name
3307
- # Required. The unique identifier of the fulfillment.
3308
- # Format: `projects/<Project ID>/agent/fulfillment`.
3202
+ # Required. The unique identifier of the fulfillment. Format: `projects//agent/
3203
+ # fulfillment`.
3309
3204
  # @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Fulfillment] google_cloud_dialogflow_v2beta1_fulfillment_object
3310
3205
  # @param [String] update_mask
3311
3206
  # Required. The mask to control which fields get updated. If the mask is not
@@ -3340,11 +3235,10 @@ module Google
3340
3235
  execute_or_queue_command(command, &block)
3341
3236
  end
3342
3237
 
3343
- # Deletes entity types in the specified agent.
3344
- # Operation <response: google.protobuf.Empty>
3238
+ # Deletes entity types in the specified agent. Operation
3345
3239
  # @param [String] parent
3346
- # Required. The name of the agent to delete all entities types for. Format:
3347
- # `projects/<Project ID>/agent`.
3240
+ # Required. The name of the agent to delete all entities types for. Format: `
3241
+ # projects//agent`.
3348
3242
  # @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1BatchDeleteEntityTypesRequest] google_cloud_dialogflow_v2beta1_batch_delete_entity_types_request_object
3349
3243
  # @param [String] fields
3350
3244
  # Selector specifying which fields to include in a partial response.
@@ -3375,11 +3269,10 @@ module Google
3375
3269
  execute_or_queue_command(command, &block)
3376
3270
  end
3377
3271
 
3378
- # Updates/Creates multiple entity types in the specified agent.
3379
- # Operation <response: BatchUpdateEntityTypesResponse>
3272
+ # Updates/Creates multiple entity types in the specified agent. Operation
3380
3273
  # @param [String] parent
3381
- # Required. The name of the agent to update or create entity types in.
3382
- # Format: `projects/<Project ID>/agent`.
3274
+ # Required. The name of the agent to update or create entity types in. Format: `
3275
+ # projects//agent`.
3383
3276
  # @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1BatchUpdateEntityTypesRequest] google_cloud_dialogflow_v2beta1_batch_update_entity_types_request_object
3384
3277
  # @param [String] fields
3385
3278
  # Selector specifying which fields to include in a partial response.
@@ -3412,16 +3305,13 @@ module Google
3412
3305
 
3413
3306
  # Creates an entity type in the specified agent.
3414
3307
  # @param [String] parent
3415
- # Required. The agent to create a entity type for.
3416
- # Format: `projects/<Project ID>/agent`.
3308
+ # Required. The agent to create a entity type for. Format: `projects//agent`.
3417
3309
  # @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1EntityType] google_cloud_dialogflow_v2beta1_entity_type_object
3418
3310
  # @param [String] language_code
3419
- # Optional. The language used to access language-specific data.
3420
- # If not specified, the agent's default language is used.
3421
- # For more information, see
3422
- # [Multilingual intent and entity
3423
- # data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-
3424
- # entity).
3311
+ # Optional. The language used to access language-specific data. If not specified,
3312
+ # the agent's default language is used. For more information, see [Multilingual
3313
+ # intent and entity data](https://cloud.google.com/dialogflow/docs/agents-
3314
+ # multilingual#intent-entity).
3425
3315
  # @param [String] fields
3426
3316
  # Selector specifying which fields to include in a partial response.
3427
3317
  # @param [String] quota_user
@@ -3454,8 +3344,8 @@ module Google
3454
3344
 
3455
3345
  # Deletes the specified entity type.
3456
3346
  # @param [String] name
3457
- # Required. The name of the entity type to delete.
3458
- # Format: `projects/<Project ID>/agent/entityTypes/<EntityType ID>`.
3347
+ # Required. The name of the entity type to delete. Format: `projects//agent/
3348
+ # entityTypes/`.
3459
3349
  # @param [String] fields
3460
3350
  # Selector specifying which fields to include in a partial response.
3461
3351
  # @param [String] quota_user
@@ -3485,15 +3375,12 @@ module Google
3485
3375
 
3486
3376
  # Retrieves the specified entity type.
3487
3377
  # @param [String] name
3488
- # Required. The name of the entity type.
3489
- # Format: `projects/<Project ID>/agent/entityTypes/<EntityType ID>`.
3378
+ # Required. The name of the entity type. Format: `projects//agent/entityTypes/`.
3490
3379
  # @param [String] language_code
3491
- # Optional. The language used to access language-specific data.
3492
- # If not specified, the agent's default language is used.
3493
- # For more information, see
3494
- # [Multilingual intent and entity
3495
- # data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-
3496
- # entity).
3380
+ # Optional. The language used to access language-specific data. If not specified,
3381
+ # the agent's default language is used. For more information, see [Multilingual
3382
+ # intent and entity data](https://cloud.google.com/dialogflow/docs/agents-
3383
+ # multilingual#intent-entity).
3497
3384
  # @param [String] fields
3498
3385
  # Selector specifying which fields to include in a partial response.
3499
3386
  # @param [String] quota_user
@@ -3524,18 +3411,15 @@ module Google
3524
3411
 
3525
3412
  # Returns the list of all entity types in the specified agent.
3526
3413
  # @param [String] parent
3527
- # Required. The agent to list all entity types from.
3528
- # Format: `projects/<Project ID>/agent`.
3414
+ # Required. The agent to list all entity types from. Format: `projects//agent`.
3529
3415
  # @param [String] language_code
3530
- # Optional. The language used to access language-specific data.
3531
- # If not specified, the agent's default language is used.
3532
- # For more information, see
3533
- # [Multilingual intent and entity
3534
- # data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-
3535
- # entity).
3416
+ # Optional. The language used to access language-specific data. If not specified,
3417
+ # the agent's default language is used. For more information, see [Multilingual
3418
+ # intent and entity data](https://cloud.google.com/dialogflow/docs/agents-
3419
+ # multilingual#intent-entity).
3536
3420
  # @param [Fixnum] page_size
3537
- # Optional. The maximum number of items to return in a single page. By
3538
- # default 100 and at most 1000.
3421
+ # Optional. The maximum number of items to return in a single page. By default
3422
+ # 100 and at most 1000.
3539
3423
  # @param [String] page_token
3540
3424
  # Optional. The next_page_token value returned from a previous list request.
3541
3425
  # @param [String] fields
@@ -3570,18 +3454,15 @@ module Google
3570
3454
 
3571
3455
  # Updates the specified entity type.
3572
3456
  # @param [String] name
3573
- # The unique identifier of the entity type.
3574
- # Required for EntityTypes.UpdateEntityType and
3575
- # EntityTypes.BatchUpdateEntityTypes methods.
3576
- # Format: `projects/<Project ID>/agent/entityTypes/<Entity Type ID>`.
3457
+ # The unique identifier of the entity type. Required for EntityTypes.
3458
+ # UpdateEntityType and EntityTypes.BatchUpdateEntityTypes methods. Format: `
3459
+ # projects//agent/entityTypes/`.
3577
3460
  # @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1EntityType] google_cloud_dialogflow_v2beta1_entity_type_object
3578
3461
  # @param [String] language_code
3579
- # Optional. The language used to access language-specific data.
3580
- # If not specified, the agent's default language is used.
3581
- # For more information, see
3582
- # [Multilingual intent and entity
3583
- # data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-
3584
- # entity).
3462
+ # Optional. The language used to access language-specific data. If not specified,
3463
+ # the agent's default language is used. For more information, see [Multilingual
3464
+ # intent and entity data](https://cloud.google.com/dialogflow/docs/agents-
3465
+ # multilingual#intent-entity).
3585
3466
  # @param [String] update_mask
3586
3467
  # Optional. The mask to control which fields get updated.
3587
3468
  # @param [String] fields
@@ -3615,11 +3496,10 @@ module Google
3615
3496
  execute_or_queue_command(command, &block)
3616
3497
  end
3617
3498
 
3618
- # Creates multiple new entities in the specified entity type.
3619
- # Operation <response: google.protobuf.Empty>
3499
+ # Creates multiple new entities in the specified entity type. Operation
3620
3500
  # @param [String] parent
3621
- # Required. The name of the entity type to create entities in. Format:
3622
- # `projects/<Project ID>/agent/entityTypes/<Entity Type ID>`.
3501
+ # Required. The name of the entity type to create entities in. Format: `projects/
3502
+ # /agent/entityTypes/`.
3623
3503
  # @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1BatchCreateEntitiesRequest] google_cloud_dialogflow_v2beta1_batch_create_entities_request_object
3624
3504
  # @param [String] fields
3625
3505
  # Selector specifying which fields to include in a partial response.
@@ -3650,11 +3530,10 @@ module Google
3650
3530
  execute_or_queue_command(command, &block)
3651
3531
  end
3652
3532
 
3653
- # Deletes entities in the specified entity type.
3654
- # Operation <response: google.protobuf.Empty>
3533
+ # Deletes entities in the specified entity type. Operation
3655
3534
  # @param [String] parent
3656
- # Required. The name of the entity type to delete entries for. Format:
3657
- # `projects/<Project ID>/agent/entityTypes/<Entity Type ID>`.
3535
+ # Required. The name of the entity type to delete entries for. Format: `projects/
3536
+ # /agent/entityTypes/`.
3658
3537
  # @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1BatchDeleteEntitiesRequest] google_cloud_dialogflow_v2beta1_batch_delete_entities_request_object
3659
3538
  # @param [String] fields
3660
3539
  # Selector specifying which fields to include in a partial response.
@@ -3685,13 +3564,12 @@ module Google
3685
3564
  execute_or_queue_command(command, &block)
3686
3565
  end
3687
3566
 
3688
- # Updates or creates multiple entities in the specified entity type. This
3689
- # method does not affect entities in the entity type that aren't explicitly
3690
- # specified in the request.
3691
- # Operation <response: google.protobuf.Empty>
3567
+ # Updates or creates multiple entities in the specified entity type. This method
3568
+ # does not affect entities in the entity type that aren't explicitly specified
3569
+ # in the request. Operation
3692
3570
  # @param [String] parent
3693
- # Required. The name of the entity type to update or create entities in.
3694
- # Format: `projects/<Project ID>/agent/entityTypes/<Entity Type ID>`.
3571
+ # Required. The name of the entity type to update or create entities in. Format:
3572
+ # `projects//agent/entityTypes/`.
3695
3573
  # @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1BatchUpdateEntitiesRequest] google_cloud_dialogflow_v2beta1_batch_update_entities_request_object
3696
3574
  # @param [String] fields
3697
3575
  # Selector specifying which fields to include in a partial response.
@@ -3724,12 +3602,11 @@ module Google
3724
3602
 
3725
3603
  # Returns the list of all non-draft environments of the specified agent.
3726
3604
  # @param [String] parent
3727
- # Required. The agent to list all environments from.
3728
- # Format: `projects/<Project ID>/agent`.
3605
+ # Required. The agent to list all environments from. Format: - `projects//agent`
3606
+ # - `projects//locations//agent
3729
3607
  # @param [Fixnum] page_size
3730
3608
  # Optional. The maximum number of items to return in a single page. By default
3731
- # 100 and
3732
- # at most 1000.
3609
+ # 100 and at most 1000.
3733
3610
  # @param [String] page_token
3734
3611
  # Optional. The next_page_token value returned from a previous list request.
3735
3612
  # @param [String] fields
@@ -3763,11 +3640,10 @@ module Google
3763
3640
 
3764
3641
  # Deletes all active contexts in the specified session.
3765
3642
  # @param [String] parent
3766
- # Required. The name of the session to delete all contexts from. Format:
3767
- # `projects/<Project ID>/agent/sessions/<Session ID>` or `projects/<Project
3768
- # ID>/agent/environments/<Environment ID>/users/<User ID>/sessions/<Session
3769
- # ID>`. If `Environment ID` is not specified we assume default 'draft'
3770
- # environment. If `User ID` is not specified, we assume default '-' user.
3643
+ # Required. The name of the session to delete all contexts from. Format: `
3644
+ # projects//agent/sessions/` or `projects//agent/environments//users//sessions/`.
3645
+ # If `Environment ID` is not specified we assume default 'draft' environment.
3646
+ # If `User ID` is not specified, we assume default '-' user.
3771
3647
  # @param [String] fields
3772
3648
  # Selector specifying which fields to include in a partial response.
3773
3649
  # @param [String] quota_user
@@ -3795,20 +3671,20 @@ module Google
3795
3671
  execute_or_queue_command(command, &block)
3796
3672
  end
3797
3673
 
3798
- # Processes a natural language query and returns structured, actionable data
3799
- # as a result. This method is not idempotent, because it may cause contexts
3800
- # and session entity types to be updated, which in turn might affect
3801
- # results of future queries.
3674
+ # Processes a natural language query and returns structured, actionable data as
3675
+ # a result. This method is not idempotent, because it may cause contexts and
3676
+ # session entity types to be updated, which in turn might affect results of
3677
+ # future queries.
3802
3678
  # @param [String] session
3803
- # Required. The name of the session this query is sent to. Format:
3804
- # `projects/<Project ID>/agent/sessions/<Session ID>`, or
3805
- # `projects/<Project ID>/agent/environments/<Environment ID>/users/<User
3806
- # ID>/sessions/<Session ID>`. If `Environment ID` is not specified, we assume
3807
- # default 'draft' environment. If `User ID` is not specified, we are using
3808
- # "-". It's up to the API caller to choose an appropriate `Session ID` and
3809
- # `User Id`. They can be a random number or some type of user and session
3810
- # identifiers (preferably hashed). The length of the `Session ID` and
3811
- # `User ID` must not exceed 36 characters.
3679
+ # Required. The name of the session this query is sent to. Format: `projects//
3680
+ # agent/sessions/`, or `projects//agent/environments//users//sessions/`. If `
3681
+ # Environment ID` is not specified, we assume default 'draft' environment. If `
3682
+ # User ID` is not specified, we are using "-". It's up to the API caller to
3683
+ # choose an appropriate `Session ID` and `User Id`. They can be a random number
3684
+ # or some type of user and session identifiers (preferably hashed). The length
3685
+ # of the `Session ID` and `User ID` must not exceed 36 characters. For more
3686
+ # information, see the [API interactions guide](https://cloud.google.com/
3687
+ # dialogflow/docs/api-overview).
3812
3688
  # @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1DetectIntentRequest] google_cloud_dialogflow_v2beta1_detect_intent_request_object
3813
3689
  # @param [String] fields
3814
3690
  # Selector specifying which fields to include in a partial response.
@@ -3839,15 +3715,13 @@ module Google
3839
3715
  execute_or_queue_command(command, &block)
3840
3716
  end
3841
3717
 
3842
- # Creates a context.
3843
- # If the specified context already exists, overrides the context.
3718
+ # Creates a context. If the specified context already exists, overrides the
3719
+ # context.
3844
3720
  # @param [String] parent
3845
- # Required. The session to create a context for.
3846
- # Format: `projects/<Project ID>/agent/sessions/<Session ID>` or
3847
- # `projects/<Project ID>/agent/environments/<Environment ID>/users/<User
3848
- # ID>/sessions/<Session ID>`. If `Environment ID` is not specified, we assume
3849
- # default 'draft' environment. If `User ID` is not specified, we assume
3850
- # default '-' user.
3721
+ # Required. The session to create a context for. Format: `projects//agent/
3722
+ # sessions/` or `projects//agent/environments//users//sessions/`. If `
3723
+ # Environment ID` is not specified, we assume default 'draft' environment. If `
3724
+ # User ID` is not specified, we assume default '-' user.
3851
3725
  # @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Context] google_cloud_dialogflow_v2beta1_context_object
3852
3726
  # @param [String] fields
3853
3727
  # Selector specifying which fields to include in a partial response.
@@ -3880,12 +3754,10 @@ module Google
3880
3754
 
3881
3755
  # Deletes the specified context.
3882
3756
  # @param [String] name
3883
- # Required. The name of the context to delete. Format:
3884
- # `projects/<Project ID>/agent/sessions/<Session ID>/contexts/<Context ID>`
3885
- # or `projects/<Project ID>/agent/environments/<Environment ID>/users/<User
3886
- # ID>/sessions/<Session ID>/contexts/<Context ID>`. If `Environment ID` is
3887
- # not specified, we assume default 'draft' environment. If `User ID` is not
3888
- # specified, we assume default '-' user.
3757
+ # Required. The name of the context to delete. Format: `projects//agent/sessions/
3758
+ # /contexts/` or `projects//agent/environments//users//sessions//contexts/`. If `
3759
+ # Environment ID` is not specified, we assume default 'draft' environment. If `
3760
+ # User ID` is not specified, we assume default '-' user.
3889
3761
  # @param [String] fields
3890
3762
  # Selector specifying which fields to include in a partial response.
3891
3763
  # @param [String] quota_user
@@ -3915,12 +3787,10 @@ module Google
3915
3787
 
3916
3788
  # Retrieves the specified context.
3917
3789
  # @param [String] name
3918
- # Required. The name of the context. Format:
3919
- # `projects/<Project ID>/agent/sessions/<Session ID>/contexts/<Context ID>`
3920
- # or `projects/<Project ID>/agent/environments/<Environment ID>/users/<User
3921
- # ID>/sessions/<Session ID>/contexts/<Context ID>`. If `Environment ID` is
3922
- # not specified, we assume default 'draft' environment. If `User ID` is not
3923
- # specified, we assume default '-' user.
3790
+ # Required. The name of the context. Format: `projects//agent/sessions//contexts/
3791
+ # ` or `projects//agent/environments//users//sessions//contexts/`. If `
3792
+ # Environment ID` is not specified, we assume default 'draft' environment. If `
3793
+ # User ID` is not specified, we assume default '-' user.
3924
3794
  # @param [String] fields
3925
3795
  # Selector specifying which fields to include in a partial response.
3926
3796
  # @param [String] quota_user
@@ -3950,15 +3820,13 @@ module Google
3950
3820
 
3951
3821
  # Returns the list of all contexts in the specified session.
3952
3822
  # @param [String] parent
3953
- # Required. The session to list all contexts from.
3954
- # Format: `projects/<Project ID>/agent/sessions/<Session ID>` or
3955
- # `projects/<Project ID>/agent/environments/<Environment ID>/users/<User
3956
- # ID>/sessions/<Session ID>`. If `Environment ID` is not specified, we assume
3957
- # default 'draft' environment. If `User ID` is not specified, we assume
3958
- # default '-' user.
3823
+ # Required. The session to list all contexts from. Format: `projects//agent/
3824
+ # sessions/` or `projects//agent/environments//users//sessions/`. If `
3825
+ # Environment ID` is not specified, we assume default 'draft' environment. If `
3826
+ # User ID` is not specified, we assume default '-' user.
3959
3827
  # @param [Fixnum] page_size
3960
- # Optional. The maximum number of items to return in a single page. By
3961
- # default 100 and at most 1000.
3828
+ # Optional. The maximum number of items to return in a single page. By default
3829
+ # 100 and at most 1000.
3962
3830
  # @param [String] page_token
3963
3831
  # Optional. The next_page_token value returned from a previous list request.
3964
3832
  # @param [String] fields
@@ -3992,19 +3860,15 @@ module Google
3992
3860
 
3993
3861
  # Updates the specified context.
3994
3862
  # @param [String] name
3995
- # Required. The unique identifier of the context. Format:
3996
- # `projects/<Project ID>/agent/sessions/<Session ID>/contexts/<Context ID>`,
3997
- # or `projects/<Project ID>/agent/environments/<Environment ID>/users/<User
3998
- # ID>/sessions/<Session ID>/contexts/<Context ID>`.
3999
- # The `Context ID` is always converted to lowercase, may only contain
4000
- # characters in a-zA-Z0-9_-% and may be at most 250 bytes long.
4001
- # If `Environment ID` is not specified, we assume default 'draft'
4002
- # environment. If `User ID` is not specified, we assume default '-' user.
4003
- # The following context names are reserved for internal use by Dialogflow.
4004
- # You should not use these contexts or create contexts with these names:
4005
- # * `__system_counters__`
4006
- # * `*_id_dialog_context`
4007
- # * `*_dialog_params_size`
3863
+ # Required. The unique identifier of the context. Format: `projects//agent/
3864
+ # sessions//contexts/`, or `projects//agent/environments//users//sessions//
3865
+ # contexts/`. The `Context ID` is always converted to lowercase, may only
3866
+ # contain characters in a-zA-Z0-9_-% and may be at most 250 bytes long. If `
3867
+ # Environment ID` is not specified, we assume default 'draft' environment. If `
3868
+ # User ID` is not specified, we assume default '-' user. The following context
3869
+ # names are reserved for internal use by Dialogflow. You should not use these
3870
+ # contexts or create contexts with these names: * `__system_counters__` * `*
3871
+ # _id_dialog_context` * `*_dialog_params_size`
4008
3872
  # @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Context] google_cloud_dialogflow_v2beta1_context_object
4009
3873
  # @param [String] update_mask
4010
3874
  # Optional. The mask to control which fields get updated.
@@ -4038,19 +3902,15 @@ module Google
4038
3902
  execute_or_queue_command(command, &block)
4039
3903
  end
4040
3904
 
4041
- # Creates a session entity type.
4042
- # If the specified session entity type already exists, overrides the
4043
- # session entity type.
4044
- # This method doesn't work with Google Assistant integration.
4045
- # Contact Dialogflow support if you need to use session entities
4046
- # with Google Assistant integration.
3905
+ # Creates a session entity type. If the specified session entity type already
3906
+ # exists, overrides the session entity type. This method doesn't work with
3907
+ # Google Assistant integration. Contact Dialogflow support if you need to use
3908
+ # session entities with Google Assistant integration.
4047
3909
  # @param [String] parent
4048
- # Required. The session to create a session entity type for.
4049
- # Format: `projects/<Project ID>/agent/sessions/<Session ID>` or
4050
- # `projects/<Project ID>/agent/environments/<Environment ID>/users/<User ID>/
4051
- # sessions/<Session ID>`. If `Environment ID` is not specified, we assume
4052
- # default 'draft' environment. If `User ID` is not specified, we assume
4053
- # default '-' user.
3910
+ # Required. The session to create a session entity type for. Format: `projects//
3911
+ # agent/sessions/` or `projects//agent/environments//users// sessions/`. If `
3912
+ # Environment ID` is not specified, we assume default 'draft' environment. If `
3913
+ # User ID` is not specified, we assume default '-' user.
4054
3914
  # @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SessionEntityType] google_cloud_dialogflow_v2beta1_session_entity_type_object
4055
3915
  # @param [String] fields
4056
3916
  # Selector specifying which fields to include in a partial response.
@@ -4081,16 +3941,13 @@ module Google
4081
3941
  execute_or_queue_command(command, &block)
4082
3942
  end
4083
3943
 
4084
- # Deletes the specified session entity type.
4085
- # This method doesn't work with Google Assistant integration.
4086
- # Contact Dialogflow support if you need to use session entities
4087
- # with Google Assistant integration.
3944
+ # Deletes the specified session entity type. This method doesn't work with
3945
+ # Google Assistant integration. Contact Dialogflow support if you need to use
3946
+ # session entities with Google Assistant integration.
4088
3947
  # @param [String] name
4089
- # Required. The name of the entity type to delete. Format:
4090
- # `projects/<Project ID>/agent/sessions/<Session ID>/entityTypes/<Entity Type
4091
- # Display Name>` or `projects/<Project ID>/agent/environments/<Environment
4092
- # ID>/users/<User ID>/sessions/<Session ID>/entityTypes/<Entity Type Display
4093
- # Name>`. If `Environment ID` is not specified, we assume default 'draft'
3948
+ # Required. The name of the entity type to delete. Format: `projects//agent/
3949
+ # sessions//entityTypes/` or `projects//agent/environments//users//sessions//
3950
+ # entityTypes/`. If `Environment ID` is not specified, we assume default 'draft'
4094
3951
  # environment. If `User ID` is not specified, we assume default '-' user.
4095
3952
  # @param [String] fields
4096
3953
  # Selector specifying which fields to include in a partial response.
@@ -4119,16 +3976,13 @@ module Google
4119
3976
  execute_or_queue_command(command, &block)
4120
3977
  end
4121
3978
 
4122
- # Retrieves the specified session entity type.
4123
- # This method doesn't work with Google Assistant integration.
4124
- # Contact Dialogflow support if you need to use session entities
4125
- # with Google Assistant integration.
3979
+ # Retrieves the specified session entity type. This method doesn't work with
3980
+ # Google Assistant integration. Contact Dialogflow support if you need to use
3981
+ # session entities with Google Assistant integration.
4126
3982
  # @param [String] name
4127
- # Required. The name of the session entity type. Format:
4128
- # `projects/<Project ID>/agent/sessions/<Session ID>/entityTypes/<Entity Type
4129
- # Display Name>` or `projects/<Project ID>/agent/environments/<Environment
4130
- # ID>/users/<User ID>/sessions/<Session ID>/entityTypes/<Entity Type Display
4131
- # Name>`. If `Environment ID` is not specified, we assume default 'draft'
3983
+ # Required. The name of the session entity type. Format: `projects//agent/
3984
+ # sessions//entityTypes/` or `projects//agent/environments//users//sessions//
3985
+ # entityTypes/`. If `Environment ID` is not specified, we assume default 'draft'
4132
3986
  # environment. If `User ID` is not specified, we assume default '-' user.
4133
3987
  # @param [String] fields
4134
3988
  # Selector specifying which fields to include in a partial response.
@@ -4157,20 +4011,17 @@ module Google
4157
4011
  execute_or_queue_command(command, &block)
4158
4012
  end
4159
4013
 
4160
- # Returns the list of all session entity types in the specified session.
4161
- # This method doesn't work with Google Assistant integration.
4162
- # Contact Dialogflow support if you need to use session entities
4163
- # with Google Assistant integration.
4014
+ # Returns the list of all session entity types in the specified session. This
4015
+ # method doesn't work with Google Assistant integration. Contact Dialogflow
4016
+ # support if you need to use session entities with Google Assistant integration.
4164
4017
  # @param [String] parent
4165
- # Required. The session to list all session entity types from.
4166
- # Format: `projects/<Project ID>/agent/sessions/<Session ID>` or
4167
- # `projects/<Project ID>/agent/environments/<Environment ID>/users/<User ID>/
4168
- # sessions/<Session ID>`.
4169
- # If `Environment ID` is not specified, we assume default 'draft'
4170
- # environment. If `User ID` is not specified, we assume default '-' user.
4018
+ # Required. The session to list all session entity types from. Format: `projects/
4019
+ # /agent/sessions/` or `projects//agent/environments//users// sessions/`. If `
4020
+ # Environment ID` is not specified, we assume default 'draft' environment. If `
4021
+ # User ID` is not specified, we assume default '-' user.
4171
4022
  # @param [Fixnum] page_size
4172
- # Optional. The maximum number of items to return in a single page. By
4173
- # default 100 and at most 1000.
4023
+ # Optional. The maximum number of items to return in a single page. By default
4024
+ # 100 and at most 1000.
4174
4025
  # @param [String] page_token
4175
4026
  # Optional. The next_page_token value returned from a previous list request.
4176
4027
  # @param [String] fields
@@ -4202,20 +4053,16 @@ module Google
4202
4053
  execute_or_queue_command(command, &block)
4203
4054
  end
4204
4055
 
4205
- # Updates the specified session entity type.
4206
- # This method doesn't work with Google Assistant integration.
4207
- # Contact Dialogflow support if you need to use session entities
4208
- # with Google Assistant integration.
4056
+ # Updates the specified session entity type. This method doesn't work with
4057
+ # Google Assistant integration. Contact Dialogflow support if you need to use
4058
+ # session entities with Google Assistant integration.
4209
4059
  # @param [String] name
4210
- # Required. The unique identifier of this session entity type. Format:
4211
- # `projects/<Project ID>/agent/sessions/<Session ID>/entityTypes/<Entity Type
4212
- # Display Name>`, or
4213
- # `projects/<Project ID>/agent/environments/<Environment ID>/users/<User
4214
- # ID>/sessions/<Session ID>/entityTypes/<Entity Type Display Name>`.
4215
- # If `Environment ID` is not specified, we assume default 'draft'
4216
- # environment. If `User ID` is not specified, we assume default '-' user.
4217
- # `<Entity Type Display Name>` must be the display name of an existing entity
4218
- # type in the same agent that will be overridden or supplemented.
4060
+ # Required. The unique identifier of this session entity type. Format: `projects/
4061
+ # /agent/sessions//entityTypes/`, or `projects//agent/environments//users//
4062
+ # sessions//entityTypes/`. If `Environment ID` is not specified, we assume
4063
+ # default 'draft' environment. If `User ID` is not specified, we assume default '
4064
+ # -' user. `` must be the display name of an existing entity type in the same
4065
+ # agent that will be overridden or supplemented.
4219
4066
  # @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SessionEntityType] google_cloud_dialogflow_v2beta1_session_entity_type_object
4220
4067
  # @param [String] update_mask
4221
4068
  # Optional. The mask to control which fields get updated.
@@ -4249,11 +4096,10 @@ module Google
4249
4096
  execute_or_queue_command(command, &block)
4250
4097
  end
4251
4098
 
4252
- # Deletes intents in the specified agent.
4253
- # Operation <response: google.protobuf.Empty>
4099
+ # Deletes intents in the specified agent. Operation
4254
4100
  # @param [String] parent
4255
- # Required. The name of the agent to delete all entities types for. Format:
4256
- # `projects/<Project ID>/agent`.
4101
+ # Required. The name of the agent to delete all entities types for. Format: `
4102
+ # projects//agent`.
4257
4103
  # @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1BatchDeleteIntentsRequest] google_cloud_dialogflow_v2beta1_batch_delete_intents_request_object
4258
4104
  # @param [String] fields
4259
4105
  # Selector specifying which fields to include in a partial response.
@@ -4284,11 +4130,10 @@ module Google
4284
4130
  execute_or_queue_command(command, &block)
4285
4131
  end
4286
4132
 
4287
- # Updates/Creates multiple intents in the specified agent.
4288
- # Operation <response: BatchUpdateIntentsResponse>
4133
+ # Updates/Creates multiple intents in the specified agent. Operation
4289
4134
  # @param [String] parent
4290
- # Required. The name of the agent to update or create intents in.
4291
- # Format: `projects/<Project ID>/agent`.
4135
+ # Required. The name of the agent to update or create intents in. Format: `
4136
+ # projects//agent`.
4292
4137
  # @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1BatchUpdateIntentsRequest] google_cloud_dialogflow_v2beta1_batch_update_intents_request_object
4293
4138
  # @param [String] fields
4294
4139
  # Selector specifying which fields to include in a partial response.
@@ -4321,18 +4166,15 @@ module Google
4321
4166
 
4322
4167
  # Creates an intent in the specified agent.
4323
4168
  # @param [String] parent
4324
- # Required. The agent to create a intent for.
4325
- # Format: `projects/<Project ID>/agent`.
4169
+ # Required. The agent to create a intent for. Format: `projects//agent`.
4326
4170
  # @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Intent] google_cloud_dialogflow_v2beta1_intent_object
4327
4171
  # @param [String] intent_view
4328
4172
  # Optional. The resource view to apply to the returned intent.
4329
4173
  # @param [String] language_code
4330
- # Optional. The language used to access language-specific data.
4331
- # If not specified, the agent's default language is used.
4332
- # For more information, see
4333
- # [Multilingual intent and entity
4334
- # data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-
4335
- # entity).
4174
+ # Optional. The language used to access language-specific data. If not specified,
4175
+ # the agent's default language is used. For more information, see [Multilingual
4176
+ # intent and entity data](https://cloud.google.com/dialogflow/docs/agents-
4177
+ # multilingual#intent-entity).
4336
4178
  # @param [String] fields
4337
4179
  # Selector specifying which fields to include in a partial response.
4338
4180
  # @param [String] quota_user
@@ -4367,8 +4209,8 @@ module Google
4367
4209
  # Deletes the specified intent and its direct or indirect followup intents.
4368
4210
  # @param [String] name
4369
4211
  # Required. The name of the intent to delete. If this intent has direct or
4370
- # indirect followup intents, we also delete them.
4371
- # Format: `projects/<Project ID>/agent/intents/<Intent ID>`.
4212
+ # indirect followup intents, we also delete them. Format: `projects//agent/
4213
+ # intents/`.
4372
4214
  # @param [String] fields
4373
4215
  # Selector specifying which fields to include in a partial response.
4374
4216
  # @param [String] quota_user
@@ -4398,17 +4240,14 @@ module Google
4398
4240
 
4399
4241
  # Retrieves the specified intent.
4400
4242
  # @param [String] name
4401
- # Required. The name of the intent.
4402
- # Format: `projects/<Project ID>/agent/intents/<Intent ID>`.
4243
+ # Required. The name of the intent. Format: `projects//agent/intents/`.
4403
4244
  # @param [String] intent_view
4404
4245
  # Optional. The resource view to apply to the returned intent.
4405
4246
  # @param [String] language_code
4406
- # Optional. The language used to access language-specific data.
4407
- # If not specified, the agent's default language is used.
4408
- # For more information, see
4409
- # [Multilingual intent and entity
4410
- # data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-
4411
- # entity).
4247
+ # Optional. The language used to access language-specific data. If not specified,
4248
+ # the agent's default language is used. For more information, see [Multilingual
4249
+ # intent and entity data](https://cloud.google.com/dialogflow/docs/agents-
4250
+ # multilingual#intent-entity).
4412
4251
  # @param [String] fields
4413
4252
  # Selector specifying which fields to include in a partial response.
4414
4253
  # @param [String] quota_user
@@ -4440,20 +4279,17 @@ module Google
4440
4279
 
4441
4280
  # Returns the list of all intents in the specified agent.
4442
4281
  # @param [String] parent
4443
- # Required. The agent to list all intents from.
4444
- # Format: `projects/<Project ID>/agent`.
4282
+ # Required. The agent to list all intents from. Format: `projects//agent`.
4445
4283
  # @param [String] intent_view
4446
4284
  # Optional. The resource view to apply to the returned intent.
4447
4285
  # @param [String] language_code
4448
- # Optional. The language used to access language-specific data.
4449
- # If not specified, the agent's default language is used.
4450
- # For more information, see
4451
- # [Multilingual intent and entity
4452
- # data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-
4453
- # entity).
4286
+ # Optional. The language used to access language-specific data. If not specified,
4287
+ # the agent's default language is used. For more information, see [Multilingual
4288
+ # intent and entity data](https://cloud.google.com/dialogflow/docs/agents-
4289
+ # multilingual#intent-entity).
4454
4290
  # @param [Fixnum] page_size
4455
- # Optional. The maximum number of items to return in a single page. By
4456
- # default 100 and at most 1000.
4291
+ # Optional. The maximum number of items to return in a single page. By default
4292
+ # 100 and at most 1000.
4457
4293
  # @param [String] page_token
4458
4294
  # Optional. The next_page_token value returned from a previous list request.
4459
4295
  # @param [String] fields
@@ -4489,20 +4325,17 @@ module Google
4489
4325
 
4490
4326
  # Updates the specified intent.
4491
4327
  # @param [String] name
4492
- # Optional. The unique identifier of this intent.
4493
- # Required for Intents.UpdateIntent and Intents.BatchUpdateIntents
4494
- # methods.
4495
- # Format: `projects/<Project ID>/agent/intents/<Intent ID>`.
4328
+ # Optional. The unique identifier of this intent. Required for Intents.
4329
+ # UpdateIntent and Intents.BatchUpdateIntents methods. Format: `projects//agent/
4330
+ # intents/`.
4496
4331
  # @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Intent] google_cloud_dialogflow_v2beta1_intent_object
4497
4332
  # @param [String] intent_view
4498
4333
  # Optional. The resource view to apply to the returned intent.
4499
4334
  # @param [String] language_code
4500
- # Optional. The language used to access language-specific data.
4501
- # If not specified, the agent's default language is used.
4502
- # For more information, see
4503
- # [Multilingual intent and entity
4504
- # data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-
4505
- # entity).
4335
+ # Optional. The language used to access language-specific data. If not specified,
4336
+ # the agent's default language is used. For more information, see [Multilingual
4337
+ # intent and entity data](https://cloud.google.com/dialogflow/docs/agents-
4338
+ # multilingual#intent-entity).
4506
4339
  # @param [String] update_mask
4507
4340
  # Optional. The mask to control which fields get updated.
4508
4341
  # @param [String] fields
@@ -4539,11 +4372,10 @@ module Google
4539
4372
 
4540
4373
  # Deletes all active contexts in the specified session.
4541
4374
  # @param [String] parent
4542
- # Required. The name of the session to delete all contexts from. Format:
4543
- # `projects/<Project ID>/agent/sessions/<Session ID>` or `projects/<Project
4544
- # ID>/agent/environments/<Environment ID>/users/<User ID>/sessions/<Session
4545
- # ID>`. If `Environment ID` is not specified we assume default 'draft'
4546
- # environment. If `User ID` is not specified, we assume default '-' user.
4375
+ # Required. The name of the session to delete all contexts from. Format: `
4376
+ # projects//agent/sessions/` or `projects//agent/environments//users//sessions/`.
4377
+ # If `Environment ID` is not specified we assume default 'draft' environment.
4378
+ # If `User ID` is not specified, we assume default '-' user.
4547
4379
  # @param [String] fields
4548
4380
  # Selector specifying which fields to include in a partial response.
4549
4381
  # @param [String] quota_user
@@ -4571,20 +4403,20 @@ module Google
4571
4403
  execute_or_queue_command(command, &block)
4572
4404
  end
4573
4405
 
4574
- # Processes a natural language query and returns structured, actionable data
4575
- # as a result. This method is not idempotent, because it may cause contexts
4576
- # and session entity types to be updated, which in turn might affect
4577
- # results of future queries.
4406
+ # Processes a natural language query and returns structured, actionable data as
4407
+ # a result. This method is not idempotent, because it may cause contexts and
4408
+ # session entity types to be updated, which in turn might affect results of
4409
+ # future queries.
4578
4410
  # @param [String] session
4579
- # Required. The name of the session this query is sent to. Format:
4580
- # `projects/<Project ID>/agent/sessions/<Session ID>`, or
4581
- # `projects/<Project ID>/agent/environments/<Environment ID>/users/<User
4582
- # ID>/sessions/<Session ID>`. If `Environment ID` is not specified, we assume
4583
- # default 'draft' environment. If `User ID` is not specified, we are using
4584
- # "-". It's up to the API caller to choose an appropriate `Session ID` and
4585
- # `User Id`. They can be a random number or some type of user and session
4586
- # identifiers (preferably hashed). The length of the `Session ID` and
4587
- # `User ID` must not exceed 36 characters.
4411
+ # Required. The name of the session this query is sent to. Format: `projects//
4412
+ # agent/sessions/`, or `projects//agent/environments//users//sessions/`. If `
4413
+ # Environment ID` is not specified, we assume default 'draft' environment. If `
4414
+ # User ID` is not specified, we are using "-". It's up to the API caller to
4415
+ # choose an appropriate `Session ID` and `User Id`. They can be a random number
4416
+ # or some type of user and session identifiers (preferably hashed). The length
4417
+ # of the `Session ID` and `User ID` must not exceed 36 characters. For more
4418
+ # information, see the [API interactions guide](https://cloud.google.com/
4419
+ # dialogflow/docs/api-overview).
4588
4420
  # @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1DetectIntentRequest] google_cloud_dialogflow_v2beta1_detect_intent_request_object
4589
4421
  # @param [String] fields
4590
4422
  # Selector specifying which fields to include in a partial response.
@@ -4615,15 +4447,13 @@ module Google
4615
4447
  execute_or_queue_command(command, &block)
4616
4448
  end
4617
4449
 
4618
- # Creates a context.
4619
- # If the specified context already exists, overrides the context.
4450
+ # Creates a context. If the specified context already exists, overrides the
4451
+ # context.
4620
4452
  # @param [String] parent
4621
- # Required. The session to create a context for.
4622
- # Format: `projects/<Project ID>/agent/sessions/<Session ID>` or
4623
- # `projects/<Project ID>/agent/environments/<Environment ID>/users/<User
4624
- # ID>/sessions/<Session ID>`. If `Environment ID` is not specified, we assume
4625
- # default 'draft' environment. If `User ID` is not specified, we assume
4626
- # default '-' user.
4453
+ # Required. The session to create a context for. Format: `projects//agent/
4454
+ # sessions/` or `projects//agent/environments//users//sessions/`. If `
4455
+ # Environment ID` is not specified, we assume default 'draft' environment. If `
4456
+ # User ID` is not specified, we assume default '-' user.
4627
4457
  # @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Context] google_cloud_dialogflow_v2beta1_context_object
4628
4458
  # @param [String] fields
4629
4459
  # Selector specifying which fields to include in a partial response.
@@ -4656,12 +4486,10 @@ module Google
4656
4486
 
4657
4487
  # Deletes the specified context.
4658
4488
  # @param [String] name
4659
- # Required. The name of the context to delete. Format:
4660
- # `projects/<Project ID>/agent/sessions/<Session ID>/contexts/<Context ID>`
4661
- # or `projects/<Project ID>/agent/environments/<Environment ID>/users/<User
4662
- # ID>/sessions/<Session ID>/contexts/<Context ID>`. If `Environment ID` is
4663
- # not specified, we assume default 'draft' environment. If `User ID` is not
4664
- # specified, we assume default '-' user.
4489
+ # Required. The name of the context to delete. Format: `projects//agent/sessions/
4490
+ # /contexts/` or `projects//agent/environments//users//sessions//contexts/`. If `
4491
+ # Environment ID` is not specified, we assume default 'draft' environment. If `
4492
+ # User ID` is not specified, we assume default '-' user.
4665
4493
  # @param [String] fields
4666
4494
  # Selector specifying which fields to include in a partial response.
4667
4495
  # @param [String] quota_user
@@ -4691,12 +4519,10 @@ module Google
4691
4519
 
4692
4520
  # Retrieves the specified context.
4693
4521
  # @param [String] name
4694
- # Required. The name of the context. Format:
4695
- # `projects/<Project ID>/agent/sessions/<Session ID>/contexts/<Context ID>`
4696
- # or `projects/<Project ID>/agent/environments/<Environment ID>/users/<User
4697
- # ID>/sessions/<Session ID>/contexts/<Context ID>`. If `Environment ID` is
4698
- # not specified, we assume default 'draft' environment. If `User ID` is not
4699
- # specified, we assume default '-' user.
4522
+ # Required. The name of the context. Format: `projects//agent/sessions//contexts/
4523
+ # ` or `projects//agent/environments//users//sessions//contexts/`. If `
4524
+ # Environment ID` is not specified, we assume default 'draft' environment. If `
4525
+ # User ID` is not specified, we assume default '-' user.
4700
4526
  # @param [String] fields
4701
4527
  # Selector specifying which fields to include in a partial response.
4702
4528
  # @param [String] quota_user
@@ -4726,15 +4552,13 @@ module Google
4726
4552
 
4727
4553
  # Returns the list of all contexts in the specified session.
4728
4554
  # @param [String] parent
4729
- # Required. The session to list all contexts from.
4730
- # Format: `projects/<Project ID>/agent/sessions/<Session ID>` or
4731
- # `projects/<Project ID>/agent/environments/<Environment ID>/users/<User
4732
- # ID>/sessions/<Session ID>`. If `Environment ID` is not specified, we assume
4733
- # default 'draft' environment. If `User ID` is not specified, we assume
4734
- # default '-' user.
4555
+ # Required. The session to list all contexts from. Format: `projects//agent/
4556
+ # sessions/` or `projects//agent/environments//users//sessions/`. If `
4557
+ # Environment ID` is not specified, we assume default 'draft' environment. If `
4558
+ # User ID` is not specified, we assume default '-' user.
4735
4559
  # @param [Fixnum] page_size
4736
- # Optional. The maximum number of items to return in a single page. By
4737
- # default 100 and at most 1000.
4560
+ # Optional. The maximum number of items to return in a single page. By default
4561
+ # 100 and at most 1000.
4738
4562
  # @param [String] page_token
4739
4563
  # Optional. The next_page_token value returned from a previous list request.
4740
4564
  # @param [String] fields
@@ -4768,19 +4592,15 @@ module Google
4768
4592
 
4769
4593
  # Updates the specified context.
4770
4594
  # @param [String] name
4771
- # Required. The unique identifier of the context. Format:
4772
- # `projects/<Project ID>/agent/sessions/<Session ID>/contexts/<Context ID>`,
4773
- # or `projects/<Project ID>/agent/environments/<Environment ID>/users/<User
4774
- # ID>/sessions/<Session ID>/contexts/<Context ID>`.
4775
- # The `Context ID` is always converted to lowercase, may only contain
4776
- # characters in a-zA-Z0-9_-% and may be at most 250 bytes long.
4777
- # If `Environment ID` is not specified, we assume default 'draft'
4778
- # environment. If `User ID` is not specified, we assume default '-' user.
4779
- # The following context names are reserved for internal use by Dialogflow.
4780
- # You should not use these contexts or create contexts with these names:
4781
- # * `__system_counters__`
4782
- # * `*_id_dialog_context`
4783
- # * `*_dialog_params_size`
4595
+ # Required. The unique identifier of the context. Format: `projects//agent/
4596
+ # sessions//contexts/`, or `projects//agent/environments//users//sessions//
4597
+ # contexts/`. The `Context ID` is always converted to lowercase, may only
4598
+ # contain characters in a-zA-Z0-9_-% and may be at most 250 bytes long. If `
4599
+ # Environment ID` is not specified, we assume default 'draft' environment. If `
4600
+ # User ID` is not specified, we assume default '-' user. The following context
4601
+ # names are reserved for internal use by Dialogflow. You should not use these
4602
+ # contexts or create contexts with these names: * `__system_counters__` * `*
4603
+ # _id_dialog_context` * `*_dialog_params_size`
4784
4604
  # @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Context] google_cloud_dialogflow_v2beta1_context_object
4785
4605
  # @param [String] update_mask
4786
4606
  # Optional. The mask to control which fields get updated.
@@ -4814,19 +4634,15 @@ module Google
4814
4634
  execute_or_queue_command(command, &block)
4815
4635
  end
4816
4636
 
4817
- # Creates a session entity type.
4818
- # If the specified session entity type already exists, overrides the
4819
- # session entity type.
4820
- # This method doesn't work with Google Assistant integration.
4821
- # Contact Dialogflow support if you need to use session entities
4822
- # with Google Assistant integration.
4637
+ # Creates a session entity type. If the specified session entity type already
4638
+ # exists, overrides the session entity type. This method doesn't work with
4639
+ # Google Assistant integration. Contact Dialogflow support if you need to use
4640
+ # session entities with Google Assistant integration.
4823
4641
  # @param [String] parent
4824
- # Required. The session to create a session entity type for.
4825
- # Format: `projects/<Project ID>/agent/sessions/<Session ID>` or
4826
- # `projects/<Project ID>/agent/environments/<Environment ID>/users/<User ID>/
4827
- # sessions/<Session ID>`. If `Environment ID` is not specified, we assume
4828
- # default 'draft' environment. If `User ID` is not specified, we assume
4829
- # default '-' user.
4642
+ # Required. The session to create a session entity type for. Format: `projects//
4643
+ # agent/sessions/` or `projects//agent/environments//users// sessions/`. If `
4644
+ # Environment ID` is not specified, we assume default 'draft' environment. If `
4645
+ # User ID` is not specified, we assume default '-' user.
4830
4646
  # @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SessionEntityType] google_cloud_dialogflow_v2beta1_session_entity_type_object
4831
4647
  # @param [String] fields
4832
4648
  # Selector specifying which fields to include in a partial response.
@@ -4857,16 +4673,13 @@ module Google
4857
4673
  execute_or_queue_command(command, &block)
4858
4674
  end
4859
4675
 
4860
- # Deletes the specified session entity type.
4861
- # This method doesn't work with Google Assistant integration.
4862
- # Contact Dialogflow support if you need to use session entities
4863
- # with Google Assistant integration.
4676
+ # Deletes the specified session entity type. This method doesn't work with
4677
+ # Google Assistant integration. Contact Dialogflow support if you need to use
4678
+ # session entities with Google Assistant integration.
4864
4679
  # @param [String] name
4865
- # Required. The name of the entity type to delete. Format:
4866
- # `projects/<Project ID>/agent/sessions/<Session ID>/entityTypes/<Entity Type
4867
- # Display Name>` or `projects/<Project ID>/agent/environments/<Environment
4868
- # ID>/users/<User ID>/sessions/<Session ID>/entityTypes/<Entity Type Display
4869
- # Name>`. If `Environment ID` is not specified, we assume default 'draft'
4680
+ # Required. The name of the entity type to delete. Format: `projects//agent/
4681
+ # sessions//entityTypes/` or `projects//agent/environments//users//sessions//
4682
+ # entityTypes/`. If `Environment ID` is not specified, we assume default 'draft'
4870
4683
  # environment. If `User ID` is not specified, we assume default '-' user.
4871
4684
  # @param [String] fields
4872
4685
  # Selector specifying which fields to include in a partial response.
@@ -4895,16 +4708,13 @@ module Google
4895
4708
  execute_or_queue_command(command, &block)
4896
4709
  end
4897
4710
 
4898
- # Retrieves the specified session entity type.
4899
- # This method doesn't work with Google Assistant integration.
4900
- # Contact Dialogflow support if you need to use session entities
4901
- # with Google Assistant integration.
4711
+ # Retrieves the specified session entity type. This method doesn't work with
4712
+ # Google Assistant integration. Contact Dialogflow support if you need to use
4713
+ # session entities with Google Assistant integration.
4902
4714
  # @param [String] name
4903
- # Required. The name of the session entity type. Format:
4904
- # `projects/<Project ID>/agent/sessions/<Session ID>/entityTypes/<Entity Type
4905
- # Display Name>` or `projects/<Project ID>/agent/environments/<Environment
4906
- # ID>/users/<User ID>/sessions/<Session ID>/entityTypes/<Entity Type Display
4907
- # Name>`. If `Environment ID` is not specified, we assume default 'draft'
4715
+ # Required. The name of the session entity type. Format: `projects//agent/
4716
+ # sessions//entityTypes/` or `projects//agent/environments//users//sessions//
4717
+ # entityTypes/`. If `Environment ID` is not specified, we assume default 'draft'
4908
4718
  # environment. If `User ID` is not specified, we assume default '-' user.
4909
4719
  # @param [String] fields
4910
4720
  # Selector specifying which fields to include in a partial response.
@@ -4933,20 +4743,17 @@ module Google
4933
4743
  execute_or_queue_command(command, &block)
4934
4744
  end
4935
4745
 
4936
- # Returns the list of all session entity types in the specified session.
4937
- # This method doesn't work with Google Assistant integration.
4938
- # Contact Dialogflow support if you need to use session entities
4939
- # with Google Assistant integration.
4746
+ # Returns the list of all session entity types in the specified session. This
4747
+ # method doesn't work with Google Assistant integration. Contact Dialogflow
4748
+ # support if you need to use session entities with Google Assistant integration.
4940
4749
  # @param [String] parent
4941
- # Required. The session to list all session entity types from.
4942
- # Format: `projects/<Project ID>/agent/sessions/<Session ID>` or
4943
- # `projects/<Project ID>/agent/environments/<Environment ID>/users/<User ID>/
4944
- # sessions/<Session ID>`.
4945
- # If `Environment ID` is not specified, we assume default 'draft'
4946
- # environment. If `User ID` is not specified, we assume default '-' user.
4750
+ # Required. The session to list all session entity types from. Format: `projects/
4751
+ # /agent/sessions/` or `projects//agent/environments//users// sessions/`. If `
4752
+ # Environment ID` is not specified, we assume default 'draft' environment. If `
4753
+ # User ID` is not specified, we assume default '-' user.
4947
4754
  # @param [Fixnum] page_size
4948
- # Optional. The maximum number of items to return in a single page. By
4949
- # default 100 and at most 1000.
4755
+ # Optional. The maximum number of items to return in a single page. By default
4756
+ # 100 and at most 1000.
4950
4757
  # @param [String] page_token
4951
4758
  # Optional. The next_page_token value returned from a previous list request.
4952
4759
  # @param [String] fields
@@ -4978,20 +4785,16 @@ module Google
4978
4785
  execute_or_queue_command(command, &block)
4979
4786
  end
4980
4787
 
4981
- # Updates the specified session entity type.
4982
- # This method doesn't work with Google Assistant integration.
4983
- # Contact Dialogflow support if you need to use session entities
4984
- # with Google Assistant integration.
4788
+ # Updates the specified session entity type. This method doesn't work with
4789
+ # Google Assistant integration. Contact Dialogflow support if you need to use
4790
+ # session entities with Google Assistant integration.
4985
4791
  # @param [String] name
4986
- # Required. The unique identifier of this session entity type. Format:
4987
- # `projects/<Project ID>/agent/sessions/<Session ID>/entityTypes/<Entity Type
4988
- # Display Name>`, or
4989
- # `projects/<Project ID>/agent/environments/<Environment ID>/users/<User
4990
- # ID>/sessions/<Session ID>/entityTypes/<Entity Type Display Name>`.
4991
- # If `Environment ID` is not specified, we assume default 'draft'
4992
- # environment. If `User ID` is not specified, we assume default '-' user.
4993
- # `<Entity Type Display Name>` must be the display name of an existing entity
4994
- # type in the same agent that will be overridden or supplemented.
4792
+ # Required. The unique identifier of this session entity type. Format: `projects/
4793
+ # /agent/sessions//entityTypes/`, or `projects//agent/environments//users//
4794
+ # sessions//entityTypes/`. If `Environment ID` is not specified, we assume
4795
+ # default 'draft' environment. If `User ID` is not specified, we assume default '
4796
+ # -' user. `` must be the display name of an existing entity type in the same
4797
+ # agent that will be overridden or supplemented.
4995
4798
  # @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SessionEntityType] google_cloud_dialogflow_v2beta1_session_entity_type_object
4996
4799
  # @param [String] update_mask
4997
4800
  # Optional. The mask to control which fields get updated.
@@ -5025,15 +4828,13 @@ module Google
5025
4828
  execute_or_queue_command(command, &block)
5026
4829
  end
5027
4830
 
5028
- # Starts asynchronous cancellation on a long-running operation. The server
5029
- # makes a best effort to cancel the operation, but success is not
5030
- # guaranteed. If the server doesn't support this method, it returns
5031
- # `google.rpc.Code.UNIMPLEMENTED`. Clients can use
5032
- # Operations.GetOperation or
5033
- # other methods to check whether the cancellation succeeded or whether the
5034
- # operation completed despite cancellation. On successful cancellation,
5035
- # the operation is not deleted; instead, it becomes an operation with
5036
- # an Operation.error value with a google.rpc.Status.code of 1,
4831
+ # Starts asynchronous cancellation on a long-running operation. The server makes
4832
+ # a best effort to cancel the operation, but success is not guaranteed. If the
4833
+ # server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.
4834
+ # Clients can use Operations.GetOperation or other methods to check whether the
4835
+ # cancellation succeeded or whether the operation completed despite cancellation.
4836
+ # On successful cancellation, the operation is not deleted; instead, it becomes
4837
+ # an operation with an Operation.error value with a google.rpc.Status.code of 1,
5037
4838
  # corresponding to `Code.CANCELLED`.
5038
4839
  # @param [String] name
5039
4840
  # The name of the operation resource to be cancelled.
@@ -5064,9 +4865,8 @@ module Google
5064
4865
  execute_or_queue_command(command, &block)
5065
4866
  end
5066
4867
 
5067
- # Gets the latest state of a long-running operation. Clients can use this
5068
- # method to poll the operation result at intervals as recommended by the API
5069
- # service.
4868
+ # Gets the latest state of a long-running operation. Clients can use this method
4869
+ # to poll the operation result at intervals as recommended by the API service.
5070
4870
  # @param [String] name
5071
4871
  # The name of the operation resource.
5072
4872
  # @param [String] fields
@@ -5096,15 +4896,14 @@ module Google
5096
4896
  execute_or_queue_command(command, &block)
5097
4897
  end
5098
4898
 
5099
- # Lists operations that match the specified filter in the request. If the
5100
- # server doesn't support this method, it returns `UNIMPLEMENTED`.
5101
- # NOTE: the `name` binding allows API services to override the binding
5102
- # to use different resource name schemes, such as `users/*/operations`. To
5103
- # override the binding, API services can add a binding such as
5104
- # `"/v1/`name=users/*`/operations"` to their service configuration.
5105
- # For backwards compatibility, the default name includes the operations
5106
- # collection id, however overriding users must ensure the name binding
5107
- # is the parent resource, without the operations collection id.
4899
+ # Lists operations that match the specified filter in the request. If the server
4900
+ # doesn't support this method, it returns `UNIMPLEMENTED`. NOTE: the `name`
4901
+ # binding allows API services to override the binding to use different resource
4902
+ # name schemes, such as `users/*/operations`. To override the binding, API
4903
+ # services can add a binding such as `"/v1/`name=users/*`/operations"` to their
4904
+ # service configuration. For backwards compatibility, the default name includes
4905
+ # the operations collection id, however overriding users must ensure the name
4906
+ # binding is the parent resource, without the operations collection id.
5108
4907
  # @param [String] name
5109
4908
  # The name of the operation's parent resource.
5110
4909
  # @param [String] filter
@@ -5143,15 +4942,13 @@ module Google
5143
4942
  execute_or_queue_command(command, &block)
5144
4943
  end
5145
4944
 
5146
- # Starts asynchronous cancellation on a long-running operation. The server
5147
- # makes a best effort to cancel the operation, but success is not
5148
- # guaranteed. If the server doesn't support this method, it returns
5149
- # `google.rpc.Code.UNIMPLEMENTED`. Clients can use
5150
- # Operations.GetOperation or
5151
- # other methods to check whether the cancellation succeeded or whether the
5152
- # operation completed despite cancellation. On successful cancellation,
5153
- # the operation is not deleted; instead, it becomes an operation with
5154
- # an Operation.error value with a google.rpc.Status.code of 1,
4945
+ # Starts asynchronous cancellation on a long-running operation. The server makes
4946
+ # a best effort to cancel the operation, but success is not guaranteed. If the
4947
+ # server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.
4948
+ # Clients can use Operations.GetOperation or other methods to check whether the
4949
+ # cancellation succeeded or whether the operation completed despite cancellation.
4950
+ # On successful cancellation, the operation is not deleted; instead, it becomes
4951
+ # an operation with an Operation.error value with a google.rpc.Status.code of 1,
5155
4952
  # corresponding to `Code.CANCELLED`.
5156
4953
  # @param [String] name
5157
4954
  # The name of the operation resource to be cancelled.
@@ -5182,9 +4979,8 @@ module Google
5182
4979
  execute_or_queue_command(command, &block)
5183
4980
  end
5184
4981
 
5185
- # Gets the latest state of a long-running operation. Clients can use this
5186
- # method to poll the operation result at intervals as recommended by the API
5187
- # service.
4982
+ # Gets the latest state of a long-running operation. Clients can use this method
4983
+ # to poll the operation result at intervals as recommended by the API service.
5188
4984
  # @param [String] name
5189
4985
  # The name of the operation resource.
5190
4986
  # @param [String] fields
@@ -5214,15 +5010,14 @@ module Google
5214
5010
  execute_or_queue_command(command, &block)
5215
5011
  end
5216
5012
 
5217
- # Lists operations that match the specified filter in the request. If the
5218
- # server doesn't support this method, it returns `UNIMPLEMENTED`.
5219
- # NOTE: the `name` binding allows API services to override the binding
5220
- # to use different resource name schemes, such as `users/*/operations`. To
5221
- # override the binding, API services can add a binding such as
5222
- # `"/v1/`name=users/*`/operations"` to their service configuration.
5223
- # For backwards compatibility, the default name includes the operations
5224
- # collection id, however overriding users must ensure the name binding
5225
- # is the parent resource, without the operations collection id.
5013
+ # Lists operations that match the specified filter in the request. If the server
5014
+ # doesn't support this method, it returns `UNIMPLEMENTED`. NOTE: the `name`
5015
+ # binding allows API services to override the binding to use different resource
5016
+ # name schemes, such as `users/*/operations`. To override the binding, API
5017
+ # services can add a binding such as `"/v1/`name=users/*`/operations"` to their
5018
+ # service configuration. For backwards compatibility, the default name includes
5019
+ # the operations collection id, however overriding users must ensure the name
5020
+ # binding is the parent resource, without the operations collection id.
5226
5021
  # @param [String] name
5227
5022
  # The name of the operation's parent resource.
5228
5023
  # @param [String] filter