google-api-client 0.42.2 → 0.43.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (358) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +129 -0
  3. data/generated/google/apis/abusiveexperiencereport_v1.rb +1 -1
  4. data/generated/google/apis/abusiveexperiencereport_v1/classes.rb +8 -13
  5. data/generated/google/apis/abusiveexperiencereport_v1/service.rb +2 -3
  6. data/generated/google/apis/accessapproval_v1.rb +1 -1
  7. data/generated/google/apis/accessapproval_v1/classes.rb +9 -0
  8. data/generated/google/apis/accessapproval_v1/representations.rb +1 -0
  9. data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
  10. data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +523 -653
  11. data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +467 -631
  12. data/generated/google/apis/adexperiencereport_v1.rb +1 -1
  13. data/generated/google/apis/adexperiencereport_v1/classes.rb +11 -18
  14. data/generated/google/apis/adexperiencereport_v1/service.rb +2 -3
  15. data/generated/google/apis/admob_v1.rb +1 -1
  16. data/generated/google/apis/admob_v1/classes.rb +139 -270
  17. data/generated/google/apis/admob_v1/service.rb +11 -13
  18. data/generated/google/apis/alertcenter_v1beta1.rb +1 -1
  19. data/generated/google/apis/alertcenter_v1beta1/classes.rb +107 -138
  20. data/generated/google/apis/alertcenter_v1beta1/service.rb +50 -55
  21. data/generated/google/apis/analyticsreporting_v4.rb +1 -1
  22. data/generated/google/apis/analyticsreporting_v4/classes.rb +315 -399
  23. data/generated/google/apis/androiddeviceprovisioning_v1.rb +1 -1
  24. data/generated/google/apis/androiddeviceprovisioning_v1/classes.rb +193 -220
  25. data/generated/google/apis/androiddeviceprovisioning_v1/service.rb +55 -61
  26. data/generated/google/apis/androidenterprise_v1.rb +1 -1
  27. data/generated/google/apis/androidenterprise_v1/classes.rb +452 -557
  28. data/generated/google/apis/androidenterprise_v1/service.rb +181 -240
  29. data/generated/google/apis/androidmanagement_v1.rb +1 -1
  30. data/generated/google/apis/androidpublisher_v3.rb +1 -1
  31. data/generated/google/apis/androidpublisher_v3/classes.rb +281 -342
  32. data/generated/google/apis/androidpublisher_v3/service.rb +125 -153
  33. data/generated/google/apis/apigee_v1.rb +6 -7
  34. data/generated/google/apis/apigee_v1/classes.rb +733 -1180
  35. data/generated/google/apis/apigee_v1/service.rb +879 -1133
  36. data/generated/google/apis/appsmarket_v2.rb +1 -1
  37. data/generated/google/apis/bigtableadmin_v2.rb +1 -1
  38. data/generated/google/apis/bigtableadmin_v2/service.rb +1 -1
  39. data/generated/google/apis/billingbudgets_v1beta1.rb +1 -1
  40. data/generated/google/apis/billingbudgets_v1beta1/classes.rb +97 -118
  41. data/generated/google/apis/billingbudgets_v1beta1/service.rb +30 -33
  42. data/generated/google/apis/blogger_v2.rb +2 -3
  43. data/generated/google/apis/blogger_v2/classes.rb +1 -2
  44. data/generated/google/apis/blogger_v2/service.rb +1 -2
  45. data/generated/google/apis/blogger_v3.rb +2 -3
  46. data/generated/google/apis/blogger_v3/classes.rb +1 -2
  47. data/generated/google/apis/blogger_v3/service.rb +1 -2
  48. data/generated/google/apis/chromeuxreport_v1.rb +1 -1
  49. data/generated/google/apis/chromeuxreport_v1/classes.rb +55 -66
  50. data/generated/google/apis/classroom_v1.rb +1 -1
  51. data/generated/google/apis/classroom_v1/classes.rb +250 -365
  52. data/generated/google/apis/classroom_v1/service.rb +643 -902
  53. data/generated/google/apis/cloudasset_v1.rb +1 -1
  54. data/generated/google/apis/cloudasset_v1/classes.rb +15 -11
  55. data/generated/google/apis/cloudasset_v1/service.rb +62 -45
  56. data/generated/google/apis/cloudasset_v1beta1.rb +1 -1
  57. data/generated/google/apis/cloudasset_v1beta1/classes.rb +3 -1
  58. data/generated/google/apis/cloudasset_v1p4beta1.rb +1 -1
  59. data/generated/google/apis/cloudasset_v1p5beta1.rb +1 -1
  60. data/generated/google/apis/cloudasset_v1p5beta1/classes.rb +3 -1
  61. data/generated/google/apis/clouderrorreporting_v1beta1.rb +1 -1
  62. data/generated/google/apis/clouderrorreporting_v1beta1/classes.rb +7 -0
  63. data/generated/google/apis/clouderrorreporting_v1beta1/representations.rb +1 -0
  64. data/generated/google/apis/cloudsearch_v1.rb +1 -1
  65. data/generated/google/apis/cloudsearch_v1/classes.rb +1 -2
  66. data/generated/google/apis/compute_alpha.rb +1 -1
  67. data/generated/google/apis/compute_alpha/classes.rb +350 -20
  68. data/generated/google/apis/compute_alpha/representations.rb +100 -0
  69. data/generated/google/apis/compute_alpha/service.rb +15 -7
  70. data/generated/google/apis/compute_beta.rb +1 -1
  71. data/generated/google/apis/compute_beta/classes.rb +39 -14
  72. data/generated/google/apis/compute_beta/representations.rb +2 -0
  73. data/generated/google/apis/compute_beta/service.rb +15 -7
  74. data/generated/google/apis/compute_v1.rb +1 -1
  75. data/generated/google/apis/compute_v1/classes.rb +65 -42
  76. data/generated/google/apis/compute_v1/representations.rb +18 -15
  77. data/generated/google/apis/compute_v1/service.rb +63 -19
  78. data/generated/google/apis/container_v1.rb +1 -1
  79. data/generated/google/apis/container_v1/classes.rb +26 -0
  80. data/generated/google/apis/container_v1/representations.rb +15 -0
  81. data/generated/google/apis/content_v2.rb +1 -1
  82. data/generated/google/apis/content_v2/classes.rb +9 -0
  83. data/generated/google/apis/content_v2_1.rb +1 -1
  84. data/generated/google/apis/content_v2_1/classes.rb +9 -0
  85. data/generated/google/apis/customsearch_v1.rb +1 -1
  86. data/generated/google/apis/customsearch_v1/classes.rb +303 -492
  87. data/generated/google/apis/customsearch_v1/service.rb +184 -341
  88. data/generated/google/apis/datacatalog_v1beta1.rb +1 -1
  89. data/generated/google/apis/datacatalog_v1beta1/classes.rb +572 -380
  90. data/generated/google/apis/datacatalog_v1beta1/service.rb +440 -319
  91. data/generated/google/apis/datafusion_v1.rb +43 -0
  92. data/generated/google/apis/datafusion_v1/classes.rb +1154 -0
  93. data/generated/google/apis/datafusion_v1/representations.rb +390 -0
  94. data/generated/google/apis/datafusion_v1/service.rb +680 -0
  95. data/generated/google/apis/dataproc_v1.rb +1 -1
  96. data/generated/google/apis/dataproc_v1/classes.rb +192 -316
  97. data/generated/google/apis/dataproc_v1/service.rb +134 -168
  98. data/generated/google/apis/dataproc_v1beta2.rb +1 -1
  99. data/generated/google/apis/dataproc_v1beta2/classes.rb +198 -317
  100. data/generated/google/apis/dataproc_v1beta2/service.rb +137 -192
  101. data/generated/google/apis/deploymentmanager_alpha.rb +1 -1
  102. data/generated/google/apis/deploymentmanager_v2beta.rb +1 -1
  103. data/generated/google/apis/dialogflow_v2.rb +1 -1
  104. data/generated/google/apis/dialogflow_v2/classes.rb +1238 -1589
  105. data/generated/google/apis/dialogflow_v2/service.rb +324 -448
  106. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  107. data/generated/google/apis/dialogflow_v2beta1/classes.rb +1313 -1681
  108. data/generated/google/apis/dialogflow_v2beta1/service.rb +742 -998
  109. data/generated/google/apis/displayvideo_v1.rb +1 -1
  110. data/generated/google/apis/displayvideo_v1/classes.rb +104 -0
  111. data/generated/google/apis/displayvideo_v1/representations.rb +36 -0
  112. data/generated/google/apis/displayvideo_v1/service.rb +104 -0
  113. data/generated/google/apis/dlp_v2.rb +1 -1
  114. data/generated/google/apis/dlp_v2/classes.rb +5 -4
  115. data/generated/google/apis/dns_v1.rb +1 -1
  116. data/generated/google/apis/dns_v1/classes.rb +7 -7
  117. data/generated/google/apis/dns_v1beta2.rb +1 -1
  118. data/generated/google/apis/dns_v1beta2/classes.rb +7 -7
  119. data/generated/google/apis/dns_v2beta1.rb +1 -1
  120. data/generated/google/apis/dns_v2beta1/classes.rb +7 -7
  121. data/generated/google/apis/domainsrdap_v1.rb +1 -1
  122. data/generated/google/apis/domainsrdap_v1/classes.rb +42 -69
  123. data/generated/google/apis/domainsrdap_v1/service.rb +16 -16
  124. data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
  125. data/generated/google/apis/doubleclickbidmanager_v1/classes.rb +1 -1
  126. data/generated/google/apis/doubleclickbidmanager_v1/service.rb +4 -2
  127. data/generated/google/apis/doubleclickbidmanager_v1_1.rb +1 -1
  128. data/generated/google/apis/doubleclickbidmanager_v1_1/classes.rb +196 -1
  129. data/generated/google/apis/doubleclickbidmanager_v1_1/representations.rb +107 -0
  130. data/generated/google/apis/doubleclickbidmanager_v1_1/service.rb +4 -2
  131. data/generated/google/apis/drive_v2.rb +1 -1
  132. data/generated/google/apis/drive_v2/classes.rb +3 -1
  133. data/generated/google/apis/drive_v3.rb +1 -1
  134. data/generated/google/apis/drive_v3/classes.rb +9 -1
  135. data/generated/google/apis/drive_v3/representations.rb +1 -0
  136. data/generated/google/apis/driveactivity_v2.rb +1 -1
  137. data/generated/google/apis/driveactivity_v2/classes.rb +55 -68
  138. data/generated/google/apis/factchecktools_v1alpha1.rb +1 -1
  139. data/generated/google/apis/factchecktools_v1alpha1/classes.rb +46 -56
  140. data/generated/google/apis/factchecktools_v1alpha1/service.rb +30 -33
  141. data/generated/google/apis/firebase_v1beta1.rb +1 -1
  142. data/generated/google/apis/firebase_v1beta1/classes.rb +313 -345
  143. data/generated/google/apis/firebase_v1beta1/representations.rb +1 -0
  144. data/generated/google/apis/firebase_v1beta1/service.rb +356 -420
  145. data/generated/google/apis/firebasedynamiclinks_v1.rb +1 -1
  146. data/generated/google/apis/firebasedynamiclinks_v1/classes.rb +89 -112
  147. data/generated/google/apis/firebasedynamiclinks_v1/service.rb +18 -21
  148. data/generated/google/apis/firebasehosting_v1.rb +1 -1
  149. data/generated/google/apis/firebasehosting_v1/classes.rb +36 -40
  150. data/generated/google/apis/firebasehosting_v1/service.rb +19 -22
  151. data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
  152. data/generated/google/apis/firebasehosting_v1beta1/classes.rb +148 -177
  153. data/generated/google/apis/firebasehosting_v1beta1/service.rb +112 -145
  154. data/generated/google/apis/firebaseml_v1.rb +1 -1
  155. data/generated/google/apis/firebaseml_v1/classes.rb +39 -44
  156. data/generated/google/apis/firebaseml_v1/service.rb +19 -22
  157. data/generated/google/apis/firebaseml_v1beta2.rb +1 -1
  158. data/generated/google/apis/firebaseml_v1beta2/classes.rb +60 -70
  159. data/generated/google/apis/firebaseml_v1beta2/service.rb +16 -18
  160. data/generated/google/apis/gameservices_v1.rb +1 -1
  161. data/generated/google/apis/gameservices_v1/classes.rb +344 -523
  162. data/generated/google/apis/gameservices_v1/service.rb +167 -207
  163. data/generated/google/apis/gameservices_v1beta.rb +1 -1
  164. data/generated/google/apis/gameservices_v1beta/classes.rb +344 -523
  165. data/generated/google/apis/gameservices_v1beta/service.rb +167 -207
  166. data/generated/google/apis/genomics_v1.rb +1 -1
  167. data/generated/google/apis/genomics_v1alpha2.rb +1 -1
  168. data/generated/google/apis/genomics_v2alpha1.rb +1 -1
  169. data/generated/google/apis/genomics_v2alpha1/classes.rb +3 -75
  170. data/generated/google/apis/genomics_v2alpha1/representations.rb +0 -27
  171. data/generated/google/apis/genomics_v2alpha1/service.rb +0 -34
  172. data/generated/google/apis/gmail_v1.rb +3 -3
  173. data/generated/google/apis/gmail_v1/classes.rb +216 -269
  174. data/generated/google/apis/gmail_v1/service.rb +257 -286
  175. data/generated/google/apis/gmailpostmastertools_v1beta1.rb +1 -1
  176. data/generated/google/apis/gmailpostmastertools_v1beta1/classes.rb +37 -42
  177. data/generated/google/apis/gmailpostmastertools_v1beta1/service.rb +34 -40
  178. data/generated/google/apis/healthcare_v1.rb +1 -1
  179. data/generated/google/apis/healthcare_v1/service.rb +26 -14
  180. data/generated/google/apis/healthcare_v1beta1.rb +1 -1
  181. data/generated/google/apis/healthcare_v1beta1/classes.rb +85 -17
  182. data/generated/google/apis/healthcare_v1beta1/representations.rb +39 -0
  183. data/generated/google/apis/healthcare_v1beta1/service.rb +87 -16
  184. data/generated/google/apis/language_v1.rb +1 -1
  185. data/generated/google/apis/language_v1/classes.rb +93 -111
  186. data/generated/google/apis/language_v1/service.rb +4 -4
  187. data/generated/google/apis/language_v1beta1.rb +1 -1
  188. data/generated/google/apis/language_v1beta1/classes.rb +78 -90
  189. data/generated/google/apis/language_v1beta1/service.rb +2 -2
  190. data/generated/google/apis/language_v1beta2.rb +1 -1
  191. data/generated/google/apis/language_v1beta2/classes.rb +95 -112
  192. data/generated/google/apis/language_v1beta2/service.rb +4 -4
  193. data/generated/google/apis/libraryagent_v1.rb +1 -1
  194. data/generated/google/apis/libraryagent_v1/classes.rb +10 -16
  195. data/generated/google/apis/libraryagent_v1/service.rb +13 -16
  196. data/generated/google/apis/logging_v2.rb +1 -1
  197. data/generated/google/apis/logging_v2/classes.rb +6 -6
  198. data/generated/google/apis/managedidentities_v1.rb +1 -1
  199. data/generated/google/apis/managedidentities_v1/classes.rb +326 -452
  200. data/generated/google/apis/managedidentities_v1/service.rb +78 -99
  201. data/generated/google/apis/managedidentities_v1alpha1.rb +1 -1
  202. data/generated/google/apis/managedidentities_v1alpha1/classes.rb +336 -457
  203. data/generated/google/apis/managedidentities_v1alpha1/service.rb +88 -112
  204. data/generated/google/apis/managedidentities_v1beta1.rb +1 -1
  205. data/generated/google/apis/managedidentities_v1beta1/classes.rb +332 -456
  206. data/generated/google/apis/managedidentities_v1beta1/service.rb +76 -96
  207. data/generated/google/apis/memcache_v1.rb +35 -0
  208. data/generated/google/apis/memcache_v1/classes.rb +1157 -0
  209. data/generated/google/apis/memcache_v1/representations.rb +471 -0
  210. data/generated/google/apis/memcache_v1/service.rb +558 -0
  211. data/generated/google/apis/memcache_v1beta2.rb +1 -1
  212. data/generated/google/apis/memcache_v1beta2/classes.rb +41 -502
  213. data/generated/google/apis/memcache_v1beta2/representations.rb +9 -110
  214. data/generated/google/apis/memcache_v1beta2/service.rb +0 -119
  215. data/generated/google/apis/monitoring_v1.rb +1 -1
  216. data/generated/google/apis/monitoring_v1/classes.rb +12 -11
  217. data/generated/google/apis/monitoring_v3.rb +1 -1
  218. data/generated/google/apis/monitoring_v3/classes.rb +31 -14
  219. data/generated/google/apis/monitoring_v3/representations.rb +2 -0
  220. data/generated/google/apis/osconfig_v1.rb +1 -1
  221. data/generated/google/apis/osconfig_v1/classes.rb +721 -0
  222. data/generated/google/apis/osconfig_v1/representations.rb +337 -0
  223. data/generated/google/apis/people_v1.rb +1 -1
  224. data/generated/google/apis/people_v1/classes.rb +148 -13
  225. data/generated/google/apis/people_v1/representations.rb +57 -0
  226. data/generated/google/apis/people_v1/service.rb +60 -48
  227. data/generated/google/apis/playcustomapp_v1.rb +1 -1
  228. data/generated/google/apis/playcustomapp_v1/classes.rb +2 -2
  229. data/generated/google/apis/policytroubleshooter_v1.rb +1 -1
  230. data/generated/google/apis/policytroubleshooter_v1/classes.rb +232 -394
  231. data/generated/google/apis/policytroubleshooter_v1/service.rb +2 -2
  232. data/generated/google/apis/policytroubleshooter_v1beta.rb +1 -1
  233. data/generated/google/apis/policytroubleshooter_v1beta/classes.rb +232 -393
  234. data/generated/google/apis/policytroubleshooter_v1beta/service.rb +2 -2
  235. data/generated/google/apis/prod_tt_sasportal_v1alpha1.rb +1 -1
  236. data/generated/google/apis/prod_tt_sasportal_v1alpha1/classes.rb +122 -146
  237. data/generated/google/apis/prod_tt_sasportal_v1alpha1/service.rb +38 -49
  238. data/generated/google/apis/realtimebidding_v1.rb +1 -4
  239. data/generated/google/apis/realtimebidding_v1/classes.rb +198 -291
  240. data/generated/google/apis/realtimebidding_v1/service.rb +98 -135
  241. data/generated/google/apis/recommendationengine_v1beta1.rb +2 -2
  242. data/generated/google/apis/recommendationengine_v1beta1/classes.rb +10 -8
  243. data/generated/google/apis/recommendationengine_v1beta1/service.rb +1 -1
  244. data/generated/google/apis/recommender_v1.rb +1 -1
  245. data/generated/google/apis/recommender_v1/classes.rb +76 -100
  246. data/generated/google/apis/recommender_v1/service.rb +43 -58
  247. data/generated/google/apis/recommender_v1beta1.rb +1 -1
  248. data/generated/google/apis/recommender_v1beta1/classes.rb +75 -99
  249. data/generated/google/apis/recommender_v1beta1/service.rb +43 -58
  250. data/generated/google/apis/run_v1.rb +1 -1
  251. data/generated/google/apis/run_v1/classes.rb +2 -2
  252. data/generated/google/apis/run_v1/service.rb +38 -2
  253. data/generated/google/apis/runtimeconfig_v1.rb +1 -1
  254. data/generated/google/apis/runtimeconfig_v1/classes.rb +36 -40
  255. data/generated/google/apis/runtimeconfig_v1/service.rb +19 -22
  256. data/generated/google/apis/sasportal_v1alpha1.rb +1 -1
  257. data/generated/google/apis/sasportal_v1alpha1/classes.rb +122 -146
  258. data/generated/google/apis/sasportal_v1alpha1/service.rb +38 -49
  259. data/generated/google/apis/searchconsole_v1.rb +1 -1
  260. data/generated/google/apis/searchconsole_v1/classes.rb +2 -2
  261. data/generated/google/apis/securitycenter_v1.rb +1 -1
  262. data/generated/google/apis/securitycenter_v1/classes.rb +574 -826
  263. data/generated/google/apis/securitycenter_v1/service.rb +250 -332
  264. data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
  265. data/generated/google/apis/securitycenter_v1beta1/classes.rb +521 -746
  266. data/generated/google/apis/securitycenter_v1beta1/service.rb +160 -202
  267. data/generated/google/apis/securitycenter_v1p1alpha1.rb +1 -1
  268. data/generated/google/apis/securitycenter_v1p1alpha1/classes.rb +176 -208
  269. data/generated/google/apis/securitycenter_v1p1alpha1/service.rb +21 -25
  270. data/generated/google/apis/securitycenter_v1p1beta1.rb +1 -1
  271. data/generated/google/apis/securitycenter_v1p1beta1/classes.rb +545 -791
  272. data/generated/google/apis/securitycenter_v1p1beta1/service.rb +247 -330
  273. data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
  274. data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +1149 -1783
  275. data/generated/google/apis/serviceconsumermanagement_v1/service.rb +111 -138
  276. data/generated/google/apis/serviceconsumermanagement_v1beta1.rb +1 -1
  277. data/generated/google/apis/serviceconsumermanagement_v1beta1/classes.rb +1137 -1774
  278. data/generated/google/apis/serviceconsumermanagement_v1beta1/service.rb +52 -66
  279. data/generated/google/apis/servicecontrol_v2.rb +38 -0
  280. data/generated/google/apis/servicecontrol_v2/classes.rb +1121 -0
  281. data/generated/google/apis/servicecontrol_v2/representations.rb +405 -0
  282. data/generated/google/apis/servicecontrol_v2/service.rb +165 -0
  283. data/generated/google/apis/servicemanagement_v1.rb +1 -1
  284. data/generated/google/apis/servicemanagement_v1/classes.rb +49 -1
  285. data/generated/google/apis/servicemanagement_v1/representations.rb +14 -0
  286. data/generated/google/apis/servicenetworking_v1.rb +1 -1
  287. data/generated/google/apis/servicenetworking_v1/classes.rb +1119 -1758
  288. data/generated/google/apis/servicenetworking_v1/service.rb +94 -114
  289. data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
  290. data/generated/google/apis/servicenetworking_v1beta/classes.rb +1065 -1684
  291. data/generated/google/apis/servicenetworking_v1beta/service.rb +52 -63
  292. data/generated/google/apis/serviceusage_v1.rb +1 -1
  293. data/generated/google/apis/serviceusage_v1/classes.rb +1140 -1823
  294. data/generated/google/apis/serviceusage_v1/service.rb +63 -80
  295. data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
  296. data/generated/google/apis/serviceusage_v1beta1/classes.rb +1235 -1986
  297. data/generated/google/apis/serviceusage_v1beta1/service.rb +130 -162
  298. data/generated/google/apis/spanner_v1.rb +1 -1
  299. data/generated/google/apis/spanner_v1/classes.rb +3 -2
  300. data/generated/google/apis/storagetransfer_v1.rb +1 -1
  301. data/generated/google/apis/storagetransfer_v1/classes.rb +8 -10
  302. data/generated/google/apis/storagetransfer_v1/service.rb +26 -2
  303. data/generated/google/apis/tagmanager_v1.rb +2 -3
  304. data/generated/google/apis/tagmanager_v1/classes.rb +225 -288
  305. data/generated/google/apis/tagmanager_v1/service.rb +20 -21
  306. data/generated/google/apis/tagmanager_v2.rb +2 -3
  307. data/generated/google/apis/tagmanager_v2/classes.rb +240 -280
  308. data/generated/google/apis/tagmanager_v2/representations.rb +1 -0
  309. data/generated/google/apis/tagmanager_v2/service.rb +187 -283
  310. data/generated/google/apis/toolresults_v1beta3.rb +1 -1
  311. data/generated/google/apis/toolresults_v1beta3/classes.rb +665 -931
  312. data/generated/google/apis/toolresults_v1beta3/service.rb +231 -349
  313. data/generated/google/apis/tpu_v1.rb +1 -1
  314. data/generated/google/apis/tpu_v1/classes.rb +68 -78
  315. data/generated/google/apis/tpu_v1/service.rb +21 -25
  316. data/generated/google/apis/tpu_v1alpha1.rb +1 -1
  317. data/generated/google/apis/tpu_v1alpha1/classes.rb +68 -78
  318. data/generated/google/apis/tpu_v1alpha1/service.rb +21 -25
  319. data/generated/google/apis/translate_v3.rb +1 -1
  320. data/generated/google/apis/translate_v3/service.rb +14 -1
  321. data/generated/google/apis/translate_v3beta1.rb +1 -1
  322. data/generated/google/apis/translate_v3beta1/service.rb +14 -1
  323. data/generated/google/apis/vision_v1.rb +1 -1
  324. data/generated/google/apis/vision_v1/classes.rb +1304 -1870
  325. data/generated/google/apis/vision_v1/service.rb +254 -340
  326. data/generated/google/apis/vision_v1p1beta1.rb +1 -1
  327. data/generated/google/apis/vision_v1p1beta1/classes.rb +1246 -1790
  328. data/generated/google/apis/vision_v1p1beta1/service.rb +91 -121
  329. data/generated/google/apis/vision_v1p2beta1.rb +1 -1
  330. data/generated/google/apis/vision_v1p2beta1/classes.rb +1246 -1790
  331. data/generated/google/apis/vision_v1p2beta1/service.rb +91 -121
  332. data/generated/google/apis/websecurityscanner_v1.rb +1 -1
  333. data/generated/google/apis/websecurityscanner_v1/classes.rb +71 -95
  334. data/generated/google/apis/websecurityscanner_v1/service.rb +46 -65
  335. data/generated/google/apis/websecurityscanner_v1alpha.rb +1 -1
  336. data/generated/google/apis/websecurityscanner_v1alpha/classes.rb +55 -63
  337. data/generated/google/apis/websecurityscanner_v1alpha/service.rb +46 -65
  338. data/generated/google/apis/websecurityscanner_v1beta.rb +1 -1
  339. data/generated/google/apis/websecurityscanner_v1beta/classes.rb +77 -92
  340. data/generated/google/apis/websecurityscanner_v1beta/service.rb +46 -65
  341. data/generated/google/apis/youtube_analytics_v2.rb +1 -1
  342. data/generated/google/apis/youtube_analytics_v2/classes.rb +77 -104
  343. data/generated/google/apis/youtube_analytics_v2/service.rb +106 -126
  344. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  345. data/generated/google/apis/youtube_partner_v1/service.rb +19 -19
  346. data/generated/google/apis/youtube_v3.rb +1 -1
  347. data/generated/google/apis/youtube_v3/classes.rb +937 -1175
  348. data/generated/google/apis/youtube_v3/service.rb +975 -1284
  349. data/generated/google/apis/youtubereporting_v1.rb +1 -1
  350. data/generated/google/apis/youtubereporting_v1/classes.rb +20 -29
  351. data/generated/google/apis/youtubereporting_v1/service.rb +40 -43
  352. data/lib/google/apis/core/base_service.rb +7 -1
  353. data/lib/google/apis/version.rb +1 -1
  354. metadata +15 -7
  355. data/generated/google/apis/fitness_v1.rb +0 -85
  356. data/generated/google/apis/fitness_v1/classes.rb +0 -1020
  357. data/generated/google/apis/fitness_v1/representations.rb +0 -398
  358. data/generated/google/apis/fitness_v1/service.rb +0 -647
@@ -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,15 +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:
845
- # - `projects/<Project Number / ID>/agent`
846
- # - `projects/<Project Number / ID>/locations/<Location
847
- # ID>/agent
813
+ # Required. The agent to list all environments from. Format: - `projects//agent`
814
+ # - `projects//locations//agent
848
815
  # @param [Fixnum] page_size
849
816
  # Optional. The maximum number of items to return in a single page. By default
850
- # 100 and
851
- # at most 1000.
817
+ # 100 and at most 1000.
852
818
  # @param [String] page_token
853
819
  # Optional. The next_page_token value returned from a previous list request.
854
820
  # @param [String] fields
@@ -882,11 +848,10 @@ module Google
882
848
 
883
849
  # Deletes all active contexts in the specified session.
884
850
  # @param [String] parent
885
- # Required. The name of the session to delete all contexts from. Format:
886
- # `projects/<Project ID>/agent/sessions/<Session ID>` or `projects/<Project
887
- # ID>/agent/environments/<Environment ID>/users/<User ID>/sessions/<Session
888
- # ID>`. If `Environment ID` is not specified we assume default 'draft'
889
- # 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.
890
855
  # @param [String] fields
891
856
  # Selector specifying which fields to include in a partial response.
892
857
  # @param [String] quota_user
@@ -914,22 +879,20 @@ module Google
914
879
  execute_or_queue_command(command, &block)
915
880
  end
916
881
 
917
- # Processes a natural language query and returns structured, actionable data
918
- # as a result. This method is not idempotent, because it may cause contexts
919
- # and session entity types to be updated, which in turn might affect
920
- # 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.
921
886
  # @param [String] session
922
- # Required. The name of the session this query is sent to. Format:
923
- # `projects/<Project ID>/agent/sessions/<Session ID>`, or
924
- # `projects/<Project ID>/agent/environments/<Environment ID>/users/<User
925
- # ID>/sessions/<Session ID>`. If `Environment ID` is not specified, we assume
926
- # default 'draft' environment. If `User ID` is not specified, we are using
927
- # "-". It's up to the API caller to choose an appropriate `Session ID` and
928
- # `User Id`. They can be a random number or some type of user and session
929
- # identifiers (preferably hashed). The length of the `Session ID` and
930
- # `User ID` must not exceed 36 characters.
931
- # For more information, see the [API interactions
932
- # guide](https://cloud.google.com/dialogflow/docs/api-overview).
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).
933
896
  # @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1DetectIntentRequest] google_cloud_dialogflow_v2beta1_detect_intent_request_object
934
897
  # @param [String] fields
935
898
  # Selector specifying which fields to include in a partial response.
@@ -960,15 +923,13 @@ module Google
960
923
  execute_or_queue_command(command, &block)
961
924
  end
962
925
 
963
- # Creates a context.
964
- # If the specified context already exists, overrides the context.
926
+ # Creates a context. If the specified context already exists, overrides the
927
+ # context.
965
928
  # @param [String] parent
966
- # Required. The session to create a context for.
967
- # Format: `projects/<Project ID>/agent/sessions/<Session ID>` or
968
- # `projects/<Project ID>/agent/environments/<Environment ID>/users/<User
969
- # ID>/sessions/<Session ID>`. If `Environment ID` is not specified, we assume
970
- # default 'draft' environment. If `User ID` is not specified, we assume
971
- # 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.
972
933
  # @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Context] google_cloud_dialogflow_v2beta1_context_object
973
934
  # @param [String] fields
974
935
  # Selector specifying which fields to include in a partial response.
@@ -1001,12 +962,10 @@ module Google
1001
962
 
1002
963
  # Deletes the specified context.
1003
964
  # @param [String] name
1004
- # Required. The name of the context to delete. Format:
1005
- # `projects/<Project ID>/agent/sessions/<Session ID>/contexts/<Context ID>`
1006
- # or `projects/<Project ID>/agent/environments/<Environment ID>/users/<User
1007
- # ID>/sessions/<Session ID>/contexts/<Context ID>`. If `Environment ID` is
1008
- # not specified, we assume default 'draft' environment. If `User ID` is not
1009
- # 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.
1010
969
  # @param [String] fields
1011
970
  # Selector specifying which fields to include in a partial response.
1012
971
  # @param [String] quota_user
@@ -1036,12 +995,10 @@ module Google
1036
995
 
1037
996
  # Retrieves the specified context.
1038
997
  # @param [String] name
1039
- # Required. The name of the context. Format:
1040
- # `projects/<Project ID>/agent/sessions/<Session ID>/contexts/<Context ID>`
1041
- # or `projects/<Project ID>/agent/environments/<Environment ID>/users/<User
1042
- # ID>/sessions/<Session ID>/contexts/<Context ID>`. If `Environment ID` is
1043
- # not specified, we assume default 'draft' environment. If `User ID` is not
1044
- # 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.
1045
1002
  # @param [String] fields
1046
1003
  # Selector specifying which fields to include in a partial response.
1047
1004
  # @param [String] quota_user
@@ -1071,15 +1028,13 @@ module Google
1071
1028
 
1072
1029
  # Returns the list of all contexts in the specified session.
1073
1030
  # @param [String] parent
1074
- # Required. The session to list all contexts from.
1075
- # Format: `projects/<Project ID>/agent/sessions/<Session ID>` or
1076
- # `projects/<Project ID>/agent/environments/<Environment ID>/users/<User
1077
- # ID>/sessions/<Session ID>`. If `Environment ID` is not specified, we assume
1078
- # default 'draft' environment. If `User ID` is not specified, we assume
1079
- # 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.
1080
1035
  # @param [Fixnum] page_size
1081
- # Optional. The maximum number of items to return in a single page. By
1082
- # 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.
1083
1038
  # @param [String] page_token
1084
1039
  # Optional. The next_page_token value returned from a previous list request.
1085
1040
  # @param [String] fields
@@ -1113,19 +1068,15 @@ module Google
1113
1068
 
1114
1069
  # Updates the specified context.
1115
1070
  # @param [String] name
1116
- # Required. The unique identifier of the context. Format:
1117
- # `projects/<Project ID>/agent/sessions/<Session ID>/contexts/<Context ID>`,
1118
- # or `projects/<Project ID>/agent/environments/<Environment ID>/users/<User
1119
- # ID>/sessions/<Session ID>/contexts/<Context ID>`.
1120
- # The `Context ID` is always converted to lowercase, may only contain
1121
- # characters in a-zA-Z0-9_-% and may be at most 250 bytes long.
1122
- # If `Environment ID` is not specified, we assume default 'draft'
1123
- # environment. If `User ID` is not specified, we assume default '-' user.
1124
- # The following context names are reserved for internal use by Dialogflow.
1125
- # You should not use these contexts or create contexts with these names:
1126
- # * `__system_counters__`
1127
- # * `*_id_dialog_context`
1128
- # * `*_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`
1129
1080
  # @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Context] google_cloud_dialogflow_v2beta1_context_object
1130
1081
  # @param [String] update_mask
1131
1082
  # Optional. The mask to control which fields get updated.
@@ -1159,19 +1110,15 @@ module Google
1159
1110
  execute_or_queue_command(command, &block)
1160
1111
  end
1161
1112
 
1162
- # Creates a session entity type.
1163
- # If the specified session entity type already exists, overrides the
1164
- # session entity type.
1165
- # This method doesn't work with Google Assistant integration.
1166
- # Contact Dialogflow support if you need to use session entities
1167
- # 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.
1168
1117
  # @param [String] parent
1169
- # Required. The session to create a session entity type for.
1170
- # Format: `projects/<Project ID>/agent/sessions/<Session ID>` or
1171
- # `projects/<Project ID>/agent/environments/<Environment ID>/users/<User ID>/
1172
- # sessions/<Session ID>`. If `Environment ID` is not specified, we assume
1173
- # default 'draft' environment. If `User ID` is not specified, we assume
1174
- # 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.
1175
1122
  # @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SessionEntityType] google_cloud_dialogflow_v2beta1_session_entity_type_object
1176
1123
  # @param [String] fields
1177
1124
  # Selector specifying which fields to include in a partial response.
@@ -1202,16 +1149,13 @@ module Google
1202
1149
  execute_or_queue_command(command, &block)
1203
1150
  end
1204
1151
 
1205
- # Deletes the specified session entity type.
1206
- # This method doesn't work with Google Assistant integration.
1207
- # Contact Dialogflow support if you need to use session entities
1208
- # 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.
1209
1155
  # @param [String] name
1210
- # Required. The name of the entity type to delete. Format:
1211
- # `projects/<Project ID>/agent/sessions/<Session ID>/entityTypes/<Entity Type
1212
- # Display Name>` or `projects/<Project ID>/agent/environments/<Environment
1213
- # ID>/users/<User ID>/sessions/<Session ID>/entityTypes/<Entity Type Display
1214
- # 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'
1215
1159
  # environment. If `User ID` is not specified, we assume default '-' user.
1216
1160
  # @param [String] fields
1217
1161
  # Selector specifying which fields to include in a partial response.
@@ -1240,16 +1184,13 @@ module Google
1240
1184
  execute_or_queue_command(command, &block)
1241
1185
  end
1242
1186
 
1243
- # Retrieves the specified session entity type.
1244
- # This method doesn't work with Google Assistant integration.
1245
- # Contact Dialogflow support if you need to use session entities
1246
- # 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.
1247
1190
  # @param [String] name
1248
- # Required. The name of the session entity type. Format:
1249
- # `projects/<Project ID>/agent/sessions/<Session ID>/entityTypes/<Entity Type
1250
- # Display Name>` or `projects/<Project ID>/agent/environments/<Environment
1251
- # ID>/users/<User ID>/sessions/<Session ID>/entityTypes/<Entity Type Display
1252
- # 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'
1253
1194
  # environment. If `User ID` is not specified, we assume default '-' user.
1254
1195
  # @param [String] fields
1255
1196
  # Selector specifying which fields to include in a partial response.
@@ -1278,20 +1219,17 @@ module Google
1278
1219
  execute_or_queue_command(command, &block)
1279
1220
  end
1280
1221
 
1281
- # Returns the list of all session entity types in the specified session.
1282
- # This method doesn't work with Google Assistant integration.
1283
- # Contact Dialogflow support if you need to use session entities
1284
- # 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.
1285
1225
  # @param [String] parent
1286
- # Required. The session to list all session entity types from.
1287
- # Format: `projects/<Project ID>/agent/sessions/<Session ID>` or
1288
- # `projects/<Project ID>/agent/environments/<Environment ID>/users/<User ID>/
1289
- # sessions/<Session ID>`.
1290
- # If `Environment ID` is not specified, we assume default 'draft'
1291
- # 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.
1292
1230
  # @param [Fixnum] page_size
1293
- # Optional. The maximum number of items to return in a single page. By
1294
- # 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.
1295
1233
  # @param [String] page_token
1296
1234
  # Optional. The next_page_token value returned from a previous list request.
1297
1235
  # @param [String] fields
@@ -1323,20 +1261,16 @@ module Google
1323
1261
  execute_or_queue_command(command, &block)
1324
1262
  end
1325
1263
 
1326
- # Updates the specified session entity type.
1327
- # This method doesn't work with Google Assistant integration.
1328
- # Contact Dialogflow support if you need to use session entities
1329
- # 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.
1330
1267
  # @param [String] name
1331
- # Required. The unique identifier of this session entity type. Format:
1332
- # `projects/<Project ID>/agent/sessions/<Session ID>/entityTypes/<Entity Type
1333
- # Display Name>`, or
1334
- # `projects/<Project ID>/agent/environments/<Environment ID>/users/<User
1335
- # ID>/sessions/<Session ID>/entityTypes/<Entity Type Display Name>`.
1336
- # If `Environment ID` is not specified, we assume default 'draft'
1337
- # environment. If `User ID` is not specified, we assume default '-' user.
1338
- # `<Entity Type Display Name>` must be the display name of an existing entity
1339
- # 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.
1340
1274
  # @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SessionEntityType] google_cloud_dialogflow_v2beta1_session_entity_type_object
1341
1275
  # @param [String] update_mask
1342
1276
  # Optional. The mask to control which fields get updated.
@@ -1370,11 +1304,10 @@ module Google
1370
1304
  execute_or_queue_command(command, &block)
1371
1305
  end
1372
1306
 
1373
- # Deletes intents in the specified agent.
1374
- # Operation <response: google.protobuf.Empty>
1307
+ # Deletes intents in the specified agent. Operation
1375
1308
  # @param [String] parent
1376
- # Required. The name of the agent to delete all entities types for. Format:
1377
- # `projects/<Project ID>/agent`.
1309
+ # Required. The name of the agent to delete all entities types for. Format: `
1310
+ # projects//agent`.
1378
1311
  # @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1BatchDeleteIntentsRequest] google_cloud_dialogflow_v2beta1_batch_delete_intents_request_object
1379
1312
  # @param [String] fields
1380
1313
  # Selector specifying which fields to include in a partial response.
@@ -1405,11 +1338,10 @@ module Google
1405
1338
  execute_or_queue_command(command, &block)
1406
1339
  end
1407
1340
 
1408
- # Updates/Creates multiple intents in the specified agent.
1409
- # Operation <response: BatchUpdateIntentsResponse>
1341
+ # Updates/Creates multiple intents in the specified agent. Operation
1410
1342
  # @param [String] parent
1411
- # Required. The name of the agent to update or create intents in.
1412
- # Format: `projects/<Project ID>/agent`.
1343
+ # Required. The name of the agent to update or create intents in. Format: `
1344
+ # projects//agent`.
1413
1345
  # @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1BatchUpdateIntentsRequest] google_cloud_dialogflow_v2beta1_batch_update_intents_request_object
1414
1346
  # @param [String] fields
1415
1347
  # Selector specifying which fields to include in a partial response.
@@ -1442,18 +1374,15 @@ module Google
1442
1374
 
1443
1375
  # Creates an intent in the specified agent.
1444
1376
  # @param [String] parent
1445
- # Required. The agent to create a intent for.
1446
- # Format: `projects/<Project ID>/agent`.
1377
+ # Required. The agent to create a intent for. Format: `projects//agent`.
1447
1378
  # @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Intent] google_cloud_dialogflow_v2beta1_intent_object
1448
1379
  # @param [String] intent_view
1449
1380
  # Optional. The resource view to apply to the returned intent.
1450
1381
  # @param [String] language_code
1451
- # Optional. The language used to access language-specific data.
1452
- # If not specified, the agent's default language is used.
1453
- # For more information, see
1454
- # [Multilingual intent and entity
1455
- # data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-
1456
- # 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).
1457
1386
  # @param [String] fields
1458
1387
  # Selector specifying which fields to include in a partial response.
1459
1388
  # @param [String] quota_user
@@ -1488,8 +1417,8 @@ module Google
1488
1417
  # Deletes the specified intent and its direct or indirect followup intents.
1489
1418
  # @param [String] name
1490
1419
  # Required. The name of the intent to delete. If this intent has direct or
1491
- # indirect followup intents, we also delete them.
1492
- # Format: `projects/<Project ID>/agent/intents/<Intent ID>`.
1420
+ # indirect followup intents, we also delete them. Format: `projects//agent/
1421
+ # intents/`.
1493
1422
  # @param [String] fields
1494
1423
  # Selector specifying which fields to include in a partial response.
1495
1424
  # @param [String] quota_user
@@ -1519,17 +1448,14 @@ module Google
1519
1448
 
1520
1449
  # Retrieves the specified intent.
1521
1450
  # @param [String] name
1522
- # Required. The name of the intent.
1523
- # Format: `projects/<Project ID>/agent/intents/<Intent ID>`.
1451
+ # Required. The name of the intent. Format: `projects//agent/intents/`.
1524
1452
  # @param [String] intent_view
1525
1453
  # Optional. The resource view to apply to the returned intent.
1526
1454
  # @param [String] language_code
1527
- # Optional. The language used to access language-specific data.
1528
- # If not specified, the agent's default language is used.
1529
- # For more information, see
1530
- # [Multilingual intent and entity
1531
- # data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-
1532
- # 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).
1533
1459
  # @param [String] fields
1534
1460
  # Selector specifying which fields to include in a partial response.
1535
1461
  # @param [String] quota_user
@@ -1561,20 +1487,17 @@ module Google
1561
1487
 
1562
1488
  # Returns the list of all intents in the specified agent.
1563
1489
  # @param [String] parent
1564
- # Required. The agent to list all intents from.
1565
- # Format: `projects/<Project ID>/agent`.
1490
+ # Required. The agent to list all intents from. Format: `projects//agent`.
1566
1491
  # @param [String] intent_view
1567
1492
  # Optional. The resource view to apply to the returned intent.
1568
1493
  # @param [String] language_code
1569
- # Optional. The language used to access language-specific data.
1570
- # If not specified, the agent's default language is used.
1571
- # For more information, see
1572
- # [Multilingual intent and entity
1573
- # data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-
1574
- # 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).
1575
1498
  # @param [Fixnum] page_size
1576
- # Optional. The maximum number of items to return in a single page. By
1577
- # 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.
1578
1501
  # @param [String] page_token
1579
1502
  # Optional. The next_page_token value returned from a previous list request.
1580
1503
  # @param [String] fields
@@ -1610,20 +1533,17 @@ module Google
1610
1533
 
1611
1534
  # Updates the specified intent.
1612
1535
  # @param [String] name
1613
- # Optional. The unique identifier of this intent.
1614
- # Required for Intents.UpdateIntent and Intents.BatchUpdateIntents
1615
- # methods.
1616
- # 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/`.
1617
1539
  # @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Intent] google_cloud_dialogflow_v2beta1_intent_object
1618
1540
  # @param [String] intent_view
1619
1541
  # Optional. The resource view to apply to the returned intent.
1620
1542
  # @param [String] language_code
1621
- # Optional. The language used to access language-specific data.
1622
- # If not specified, the agent's default language is used.
1623
- # For more information, see
1624
- # [Multilingual intent and entity
1625
- # data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-
1626
- # 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).
1627
1547
  # @param [String] update_mask
1628
1548
  # Optional. The mask to control which fields get updated.
1629
1549
  # @param [String] fields
@@ -1658,12 +1578,10 @@ module Google
1658
1578
  execute_or_queue_command(command, &block)
1659
1579
  end
1660
1580
 
1661
- # Creates a knowledge base.
1662
- # Note: The `projects.agent.knowledgeBases` resource is deprecated;
1663
- # only use `projects.knowledgeBases`.
1581
+ # Creates a knowledge base. Note: The `projects.agent.knowledgeBases` resource
1582
+ # is deprecated; only use `projects.knowledgeBases`.
1664
1583
  # @param [String] parent
1665
- # Required. The project to create a knowledge base for.
1666
- # Format: `projects/<Project ID>`.
1584
+ # Required. The project to create a knowledge base for. Format: `projects/`.
1667
1585
  # @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1KnowledgeBase] google_cloud_dialogflow_v2beta1_knowledge_base_object
1668
1586
  # @param [String] fields
1669
1587
  # Selector specifying which fields to include in a partial response.
@@ -1694,15 +1612,14 @@ module Google
1694
1612
  execute_or_queue_command(command, &block)
1695
1613
  end
1696
1614
 
1697
- # Deletes the specified knowledge base.
1698
- # Note: The `projects.agent.knowledgeBases` resource is deprecated;
1699
- # only use `projects.knowledgeBases`.
1615
+ # Deletes the specified knowledge base. Note: The `projects.agent.knowledgeBases`
1616
+ # resource is deprecated; only use `projects.knowledgeBases`.
1700
1617
  # @param [String] name
1701
- # Required. The name of the knowledge base to delete.
1702
- # Format: `projects/<Project ID>/knowledgeBases/<Knowledge Base ID>`.
1618
+ # Required. The name of the knowledge base to delete. Format: `projects//
1619
+ # knowledgeBases/`.
1703
1620
  # @param [Boolean] force
1704
- # Optional. Force deletes the knowledge base. When set to true, any documents
1705
- # 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.
1706
1623
  # @param [String] fields
1707
1624
  # Selector specifying which fields to include in a partial response.
1708
1625
  # @param [String] quota_user
@@ -1731,12 +1648,11 @@ module Google
1731
1648
  execute_or_queue_command(command, &block)
1732
1649
  end
1733
1650
 
1734
- # Retrieves the specified knowledge base.
1735
- # Note: The `projects.agent.knowledgeBases` resource is deprecated;
1736
- # only use `projects.knowledgeBases`.
1651
+ # Retrieves the specified knowledge base. Note: The `projects.agent.
1652
+ # knowledgeBases` resource is deprecated; only use `projects.knowledgeBases`.
1737
1653
  # @param [String] name
1738
- # Required. The name of the knowledge base to retrieve.
1739
- # Format `projects/<Project ID>/knowledgeBases/<Knowledge Base ID>`.
1654
+ # Required. The name of the knowledge base to retrieve. Format `projects//
1655
+ # knowledgeBases/`.
1740
1656
  # @param [String] fields
1741
1657
  # Selector specifying which fields to include in a partial response.
1742
1658
  # @param [String] quota_user
@@ -1764,15 +1680,14 @@ module Google
1764
1680
  execute_or_queue_command(command, &block)
1765
1681
  end
1766
1682
 
1767
- # Returns the list of all knowledge bases of the specified agent.
1768
- # Note: The `projects.agent.knowledgeBases` resource is deprecated;
1769
- # 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`.
1770
1686
  # @param [String] parent
1771
- # Required. The project to list of knowledge bases for.
1772
- # Format: `projects/<Project ID>`.
1687
+ # Required. The project to list of knowledge bases for. Format: `projects/`.
1773
1688
  # @param [Fixnum] page_size
1774
- # Optional. The maximum number of items to return in a single page. By
1775
- # 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.
1776
1691
  # @param [String] page_token
1777
1692
  # Optional. The next_page_token value returned from a previous list request.
1778
1693
  # @param [String] fields
@@ -1804,18 +1719,16 @@ module Google
1804
1719
  execute_or_queue_command(command, &block)
1805
1720
  end
1806
1721
 
1807
- # Updates the specified knowledge base.
1808
- # Note: The `projects.agent.knowledgeBases` resource is deprecated;
1809
- # only use `projects.knowledgeBases`.
1722
+ # Updates the specified knowledge base. Note: The `projects.agent.knowledgeBases`
1723
+ # resource is deprecated; only use `projects.knowledgeBases`.
1810
1724
  # @param [String] name
1811
- # The knowledge base resource name.
1812
- # The name must be empty when creating a knowledge base.
1813
- # 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/`.
1814
1727
  # @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1KnowledgeBase] google_cloud_dialogflow_v2beta1_knowledge_base_object
1815
1728
  # @param [String] update_mask
1816
- # Optional. Not specified means `update all`.
1817
- # Currently, only `display_name` can be updated, an InvalidArgument will be
1818
- # 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.
1819
1732
  # @param [String] fields
1820
1733
  # Selector specifying which fields to include in a partial response.
1821
1734
  # @param [String] quota_user
@@ -1846,12 +1759,11 @@ module Google
1846
1759
  execute_or_queue_command(command, &block)
1847
1760
  end
1848
1761
 
1849
- # Creates a new document.
1850
- # Note: The `projects.agent.knowledgeBases.documents` resource is deprecated;
1851
- # 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`.
1852
1764
  # @param [String] parent
1853
- # Required. The knoweldge base to create a document for.
1854
- # Format: `projects/<Project ID>/knowledgeBases/<Knowledge Base ID>`.
1765
+ # Required. The knoweldge base to create a document for. Format: `projects//
1766
+ # knowledgeBases/`.
1855
1767
  # @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Document] google_cloud_dialogflow_v2beta1_document_object
1856
1768
  # @param [String] fields
1857
1769
  # Selector specifying which fields to include in a partial response.
@@ -1882,13 +1794,12 @@ module Google
1882
1794
  execute_or_queue_command(command, &block)
1883
1795
  end
1884
1796
 
1885
- # Deletes the specified document.
1886
- # Note: The `projects.agent.knowledgeBases.documents` resource is deprecated;
1887
- # 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
+ # .
1888
1800
  # @param [String] name
1889
- # Required. The name of the document to delete.
1890
- # Format: `projects/<Project ID>/knowledgeBases/<Knowledge Base
1891
- # ID>/documents/<Document ID>`.
1801
+ # Required. The name of the document to delete. Format: `projects//
1802
+ # knowledgeBases//documents/`.
1892
1803
  # @param [String] fields
1893
1804
  # Selector specifying which fields to include in a partial response.
1894
1805
  # @param [String] quota_user
@@ -1916,13 +1827,12 @@ module Google
1916
1827
  execute_or_queue_command(command, &block)
1917
1828
  end
1918
1829
 
1919
- # Retrieves the specified document.
1920
- # Note: The `projects.agent.knowledgeBases.documents` resource is deprecated;
1921
- # 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
+ # .
1922
1833
  # @param [String] name
1923
- # Required. The name of the document to retrieve.
1924
- # Format `projects/<Project ID>/knowledgeBases/<Knowledge Base
1925
- # ID>/documents/<Document ID>`.
1834
+ # Required. The name of the document to retrieve. Format `projects//
1835
+ # knowledgeBases//documents/`.
1926
1836
  # @param [String] fields
1927
1837
  # Selector specifying which fields to include in a partial response.
1928
1838
  # @param [String] quota_user
@@ -1950,15 +1860,15 @@ module Google
1950
1860
  execute_or_queue_command(command, &block)
1951
1861
  end
1952
1862
 
1953
- # Returns the list of all documents of the knowledge base.
1954
- # Note: The `projects.agent.knowledgeBases.documents` resource is deprecated;
1955
- # 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`.
1956
1866
  # @param [String] parent
1957
- # Required. The knowledge base to list all documents for.
1958
- # Format: `projects/<Project ID>/knowledgeBases/<Knowledge Base ID>`.
1867
+ # Required. The knowledge base to list all documents for. Format: `projects//
1868
+ # knowledgeBases/`.
1959
1869
  # @param [Fixnum] page_size
1960
- # The maximum number of items to return in a single page. By
1961
- # 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.
1962
1872
  # @param [String] page_token
1963
1873
  # The next_page_token value returned from a previous list request.
1964
1874
  # @param [String] fields
@@ -1990,19 +1900,17 @@ module Google
1990
1900
  execute_or_queue_command(command, &block)
1991
1901
  end
1992
1902
 
1993
- # Updates the specified document.
1994
- # Note: The `projects.agent.knowledgeBases.documents` resource is deprecated;
1995
- # 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
+ # .
1996
1906
  # @param [String] name
1997
- # Optional. The document resource name.
1998
- # The name must be empty when creating a document.
1999
- # Format: `projects/<Project ID>/knowledgeBases/<Knowledge Base
2000
- # ID>/documents/<Document ID>`.
1907
+ # Optional. The document resource name. The name must be empty when creating a
1908
+ # document. Format: `projects//knowledgeBases//documents/`.
2001
1909
  # @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Document] google_cloud_dialogflow_v2beta1_document_object
2002
1910
  # @param [String] update_mask
2003
- # Optional. Not specified means `update all`.
2004
- # Currently, only `display_name` can be updated, an InvalidArgument will be
2005
- # 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.
2006
1914
  # @param [String] fields
2007
1915
  # Selector specifying which fields to include in a partial response.
2008
1916
  # @param [String] quota_user
@@ -2034,15 +1942,14 @@ module Google
2034
1942
  end
2035
1943
 
2036
1944
  # Reloads the specified document from its specified source, content_uri or
2037
- # content. The previously loaded content of the document will be deleted.
2038
- # Note: Even when the content of the document has not changed, there still
2039
- # may be side effects because of internal implementation changes.
2040
- # Note: The `projects.agent.knowledgeBases.documents` resource is deprecated;
2041
- # 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`.
2042
1950
  # @param [String] name
2043
- # Required. The name of the document to reload.
2044
- # Format: `projects/<Project ID>/knowledgeBases/<Knowledge Base
2045
- # ID>/documents/<Document ID>`
1951
+ # Required. The name of the document to reload. Format: `projects//
1952
+ # knowledgeBases//documents/`
2046
1953
  # @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ReloadDocumentRequest] google_cloud_dialogflow_v2beta1_reload_document_request_object
2047
1954
  # @param [String] fields
2048
1955
  # Selector specifying which fields to include in a partial response.
@@ -2075,11 +1982,10 @@ module Google
2075
1982
 
2076
1983
  # Deletes all active contexts in the specified session.
2077
1984
  # @param [String] parent
2078
- # Required. The name of the session to delete all contexts from. Format:
2079
- # `projects/<Project ID>/agent/sessions/<Session ID>` or `projects/<Project
2080
- # ID>/agent/environments/<Environment ID>/users/<User ID>/sessions/<Session
2081
- # ID>`. If `Environment ID` is not specified we assume default 'draft'
2082
- # 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.
2083
1989
  # @param [String] fields
2084
1990
  # Selector specifying which fields to include in a partial response.
2085
1991
  # @param [String] quota_user
@@ -2107,22 +2013,20 @@ module Google
2107
2013
  execute_or_queue_command(command, &block)
2108
2014
  end
2109
2015
 
2110
- # Processes a natural language query and returns structured, actionable data
2111
- # as a result. This method is not idempotent, because it may cause contexts
2112
- # and session entity types to be updated, which in turn might affect
2113
- # 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.
2114
2020
  # @param [String] session
2115
- # Required. The name of the session this query is sent to. Format:
2116
- # `projects/<Project ID>/agent/sessions/<Session ID>`, or
2117
- # `projects/<Project ID>/agent/environments/<Environment ID>/users/<User
2118
- # ID>/sessions/<Session ID>`. If `Environment ID` is not specified, we assume
2119
- # default 'draft' environment. If `User ID` is not specified, we are using
2120
- # "-". It's up to the API caller to choose an appropriate `Session ID` and
2121
- # `User Id`. They can be a random number or some type of user and session
2122
- # identifiers (preferably hashed). The length of the `Session ID` and
2123
- # `User ID` must not exceed 36 characters.
2124
- # For more information, see the [API interactions
2125
- # guide](https://cloud.google.com/dialogflow/docs/api-overview).
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).
2126
2030
  # @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1DetectIntentRequest] google_cloud_dialogflow_v2beta1_detect_intent_request_object
2127
2031
  # @param [String] fields
2128
2032
  # Selector specifying which fields to include in a partial response.
@@ -2153,15 +2057,13 @@ module Google
2153
2057
  execute_or_queue_command(command, &block)
2154
2058
  end
2155
2059
 
2156
- # Creates a context.
2157
- # If the specified context already exists, overrides the context.
2060
+ # Creates a context. If the specified context already exists, overrides the
2061
+ # context.
2158
2062
  # @param [String] parent
2159
- # Required. The session to create a context for.
2160
- # Format: `projects/<Project ID>/agent/sessions/<Session ID>` or
2161
- # `projects/<Project ID>/agent/environments/<Environment ID>/users/<User
2162
- # ID>/sessions/<Session ID>`. If `Environment ID` is not specified, we assume
2163
- # default 'draft' environment. If `User ID` is not specified, we assume
2164
- # 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.
2165
2067
  # @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Context] google_cloud_dialogflow_v2beta1_context_object
2166
2068
  # @param [String] fields
2167
2069
  # Selector specifying which fields to include in a partial response.
@@ -2194,12 +2096,10 @@ module Google
2194
2096
 
2195
2097
  # Deletes the specified context.
2196
2098
  # @param [String] name
2197
- # Required. The name of the context to delete. Format:
2198
- # `projects/<Project ID>/agent/sessions/<Session ID>/contexts/<Context ID>`
2199
- # or `projects/<Project ID>/agent/environments/<Environment ID>/users/<User
2200
- # ID>/sessions/<Session ID>/contexts/<Context ID>`. If `Environment ID` is
2201
- # not specified, we assume default 'draft' environment. If `User ID` is not
2202
- # 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.
2203
2103
  # @param [String] fields
2204
2104
  # Selector specifying which fields to include in a partial response.
2205
2105
  # @param [String] quota_user
@@ -2229,12 +2129,10 @@ module Google
2229
2129
 
2230
2130
  # Retrieves the specified context.
2231
2131
  # @param [String] name
2232
- # Required. The name of the context. Format:
2233
- # `projects/<Project ID>/agent/sessions/<Session ID>/contexts/<Context ID>`
2234
- # or `projects/<Project ID>/agent/environments/<Environment ID>/users/<User
2235
- # ID>/sessions/<Session ID>/contexts/<Context ID>`. If `Environment ID` is
2236
- # not specified, we assume default 'draft' environment. If `User ID` is not
2237
- # 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.
2238
2136
  # @param [String] fields
2239
2137
  # Selector specifying which fields to include in a partial response.
2240
2138
  # @param [String] quota_user
@@ -2264,15 +2162,13 @@ module Google
2264
2162
 
2265
2163
  # Returns the list of all contexts in the specified session.
2266
2164
  # @param [String] parent
2267
- # Required. The session to list all contexts from.
2268
- # Format: `projects/<Project ID>/agent/sessions/<Session ID>` or
2269
- # `projects/<Project ID>/agent/environments/<Environment ID>/users/<User
2270
- # ID>/sessions/<Session ID>`. If `Environment ID` is not specified, we assume
2271
- # default 'draft' environment. If `User ID` is not specified, we assume
2272
- # 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.
2273
2169
  # @param [Fixnum] page_size
2274
- # Optional. The maximum number of items to return in a single page. By
2275
- # 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.
2276
2172
  # @param [String] page_token
2277
2173
  # Optional. The next_page_token value returned from a previous list request.
2278
2174
  # @param [String] fields
@@ -2306,19 +2202,15 @@ module Google
2306
2202
 
2307
2203
  # Updates the specified context.
2308
2204
  # @param [String] name
2309
- # Required. The unique identifier of the context. Format:
2310
- # `projects/<Project ID>/agent/sessions/<Session ID>/contexts/<Context ID>`,
2311
- # or `projects/<Project ID>/agent/environments/<Environment ID>/users/<User
2312
- # ID>/sessions/<Session ID>/contexts/<Context ID>`.
2313
- # The `Context ID` is always converted to lowercase, may only contain
2314
- # characters in a-zA-Z0-9_-% and may be at most 250 bytes long.
2315
- # If `Environment ID` is not specified, we assume default 'draft'
2316
- # environment. If `User ID` is not specified, we assume default '-' user.
2317
- # The following context names are reserved for internal use by Dialogflow.
2318
- # You should not use these contexts or create contexts with these names:
2319
- # * `__system_counters__`
2320
- # * `*_id_dialog_context`
2321
- # * `*_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`
2322
2214
  # @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Context] google_cloud_dialogflow_v2beta1_context_object
2323
2215
  # @param [String] update_mask
2324
2216
  # Optional. The mask to control which fields get updated.
@@ -2352,19 +2244,15 @@ module Google
2352
2244
  execute_or_queue_command(command, &block)
2353
2245
  end
2354
2246
 
2355
- # Creates a session entity type.
2356
- # If the specified session entity type already exists, overrides the
2357
- # session entity type.
2358
- # This method doesn't work with Google Assistant integration.
2359
- # Contact Dialogflow support if you need to use session entities
2360
- # 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.
2361
2251
  # @param [String] parent
2362
- # Required. The session to create a session entity type for.
2363
- # Format: `projects/<Project ID>/agent/sessions/<Session ID>` or
2364
- # `projects/<Project ID>/agent/environments/<Environment ID>/users/<User ID>/
2365
- # sessions/<Session ID>`. If `Environment ID` is not specified, we assume
2366
- # default 'draft' environment. If `User ID` is not specified, we assume
2367
- # 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.
2368
2256
  # @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SessionEntityType] google_cloud_dialogflow_v2beta1_session_entity_type_object
2369
2257
  # @param [String] fields
2370
2258
  # Selector specifying which fields to include in a partial response.
@@ -2395,16 +2283,13 @@ module Google
2395
2283
  execute_or_queue_command(command, &block)
2396
2284
  end
2397
2285
 
2398
- # Deletes the specified session entity type.
2399
- # This method doesn't work with Google Assistant integration.
2400
- # Contact Dialogflow support if you need to use session entities
2401
- # 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.
2402
2289
  # @param [String] name
2403
- # Required. The name of the entity type to delete. Format:
2404
- # `projects/<Project ID>/agent/sessions/<Session ID>/entityTypes/<Entity Type
2405
- # Display Name>` or `projects/<Project ID>/agent/environments/<Environment
2406
- # ID>/users/<User ID>/sessions/<Session ID>/entityTypes/<Entity Type Display
2407
- # 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'
2408
2293
  # environment. If `User ID` is not specified, we assume default '-' user.
2409
2294
  # @param [String] fields
2410
2295
  # Selector specifying which fields to include in a partial response.
@@ -2433,16 +2318,13 @@ module Google
2433
2318
  execute_or_queue_command(command, &block)
2434
2319
  end
2435
2320
 
2436
- # Retrieves the specified session entity type.
2437
- # This method doesn't work with Google Assistant integration.
2438
- # Contact Dialogflow support if you need to use session entities
2439
- # 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.
2440
2324
  # @param [String] name
2441
- # Required. The name of the session entity type. Format:
2442
- # `projects/<Project ID>/agent/sessions/<Session ID>/entityTypes/<Entity Type
2443
- # Display Name>` or `projects/<Project ID>/agent/environments/<Environment
2444
- # ID>/users/<User ID>/sessions/<Session ID>/entityTypes/<Entity Type Display
2445
- # 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'
2446
2328
  # environment. If `User ID` is not specified, we assume default '-' user.
2447
2329
  # @param [String] fields
2448
2330
  # Selector specifying which fields to include in a partial response.
@@ -2471,20 +2353,17 @@ module Google
2471
2353
  execute_or_queue_command(command, &block)
2472
2354
  end
2473
2355
 
2474
- # Returns the list of all session entity types in the specified session.
2475
- # This method doesn't work with Google Assistant integration.
2476
- # Contact Dialogflow support if you need to use session entities
2477
- # 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.
2478
2359
  # @param [String] parent
2479
- # Required. The session to list all session entity types from.
2480
- # Format: `projects/<Project ID>/agent/sessions/<Session ID>` or
2481
- # `projects/<Project ID>/agent/environments/<Environment ID>/users/<User ID>/
2482
- # sessions/<Session ID>`.
2483
- # If `Environment ID` is not specified, we assume default 'draft'
2484
- # 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.
2485
2364
  # @param [Fixnum] page_size
2486
- # Optional. The maximum number of items to return in a single page. By
2487
- # 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.
2488
2367
  # @param [String] page_token
2489
2368
  # Optional. The next_page_token value returned from a previous list request.
2490
2369
  # @param [String] fields
@@ -2516,20 +2395,16 @@ module Google
2516
2395
  execute_or_queue_command(command, &block)
2517
2396
  end
2518
2397
 
2519
- # Updates the specified session entity type.
2520
- # This method doesn't work with Google Assistant integration.
2521
- # Contact Dialogflow support if you need to use session entities
2522
- # 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.
2523
2401
  # @param [String] name
2524
- # Required. The unique identifier of this session entity type. Format:
2525
- # `projects/<Project ID>/agent/sessions/<Session ID>/entityTypes/<Entity Type
2526
- # Display Name>`, or
2527
- # `projects/<Project ID>/agent/environments/<Environment ID>/users/<User
2528
- # ID>/sessions/<Session ID>/entityTypes/<Entity Type Display Name>`.
2529
- # If `Environment ID` is not specified, we assume default 'draft'
2530
- # environment. If `User ID` is not specified, we assume default '-' user.
2531
- # `<Entity Type Display Name>` must be the display name of an existing entity
2532
- # 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.
2533
2408
  # @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SessionEntityType] google_cloud_dialogflow_v2beta1_session_entity_type_object
2534
2409
  # @param [String] update_mask
2535
2410
  # Optional. The mask to control which fields get updated.
@@ -2563,12 +2438,10 @@ module Google
2563
2438
  execute_or_queue_command(command, &block)
2564
2439
  end
2565
2440
 
2566
- # Creates a knowledge base.
2567
- # Note: The `projects.agent.knowledgeBases` resource is deprecated;
2568
- # only use `projects.knowledgeBases`.
2441
+ # Creates a knowledge base. Note: The `projects.agent.knowledgeBases` resource
2442
+ # is deprecated; only use `projects.knowledgeBases`.
2569
2443
  # @param [String] parent
2570
- # Required. The project to create a knowledge base for.
2571
- # Format: `projects/<Project ID>`.
2444
+ # Required. The project to create a knowledge base for. Format: `projects/`.
2572
2445
  # @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1KnowledgeBase] google_cloud_dialogflow_v2beta1_knowledge_base_object
2573
2446
  # @param [String] fields
2574
2447
  # Selector specifying which fields to include in a partial response.
@@ -2599,15 +2472,14 @@ module Google
2599
2472
  execute_or_queue_command(command, &block)
2600
2473
  end
2601
2474
 
2602
- # Deletes the specified knowledge base.
2603
- # Note: The `projects.agent.knowledgeBases` resource is deprecated;
2604
- # only use `projects.knowledgeBases`.
2475
+ # Deletes the specified knowledge base. Note: The `projects.agent.knowledgeBases`
2476
+ # resource is deprecated; only use `projects.knowledgeBases`.
2605
2477
  # @param [String] name
2606
- # Required. The name of the knowledge base to delete.
2607
- # Format: `projects/<Project ID>/knowledgeBases/<Knowledge Base ID>`.
2478
+ # Required. The name of the knowledge base to delete. Format: `projects//
2479
+ # knowledgeBases/`.
2608
2480
  # @param [Boolean] force
2609
- # Optional. Force deletes the knowledge base. When set to true, any documents
2610
- # 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.
2611
2483
  # @param [String] fields
2612
2484
  # Selector specifying which fields to include in a partial response.
2613
2485
  # @param [String] quota_user
@@ -2636,12 +2508,11 @@ module Google
2636
2508
  execute_or_queue_command(command, &block)
2637
2509
  end
2638
2510
 
2639
- # Retrieves the specified knowledge base.
2640
- # Note: The `projects.agent.knowledgeBases` resource is deprecated;
2641
- # only use `projects.knowledgeBases`.
2511
+ # Retrieves the specified knowledge base. Note: The `projects.agent.
2512
+ # knowledgeBases` resource is deprecated; only use `projects.knowledgeBases`.
2642
2513
  # @param [String] name
2643
- # Required. The name of the knowledge base to retrieve.
2644
- # Format `projects/<Project ID>/knowledgeBases/<Knowledge Base ID>`.
2514
+ # Required. The name of the knowledge base to retrieve. Format `projects//
2515
+ # knowledgeBases/`.
2645
2516
  # @param [String] fields
2646
2517
  # Selector specifying which fields to include in a partial response.
2647
2518
  # @param [String] quota_user
@@ -2669,15 +2540,14 @@ module Google
2669
2540
  execute_or_queue_command(command, &block)
2670
2541
  end
2671
2542
 
2672
- # Returns the list of all knowledge bases of the specified agent.
2673
- # Note: The `projects.agent.knowledgeBases` resource is deprecated;
2674
- # 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`.
2675
2546
  # @param [String] parent
2676
- # Required. The project to list of knowledge bases for.
2677
- # Format: `projects/<Project ID>`.
2547
+ # Required. The project to list of knowledge bases for. Format: `projects/`.
2678
2548
  # @param [Fixnum] page_size
2679
- # Optional. The maximum number of items to return in a single page. By
2680
- # 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.
2681
2551
  # @param [String] page_token
2682
2552
  # Optional. The next_page_token value returned from a previous list request.
2683
2553
  # @param [String] fields
@@ -2709,18 +2579,16 @@ module Google
2709
2579
  execute_or_queue_command(command, &block)
2710
2580
  end
2711
2581
 
2712
- # Updates the specified knowledge base.
2713
- # Note: The `projects.agent.knowledgeBases` resource is deprecated;
2714
- # only use `projects.knowledgeBases`.
2582
+ # Updates the specified knowledge base. Note: The `projects.agent.knowledgeBases`
2583
+ # resource is deprecated; only use `projects.knowledgeBases`.
2715
2584
  # @param [String] name
2716
- # The knowledge base resource name.
2717
- # The name must be empty when creating a knowledge base.
2718
- # 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/`.
2719
2587
  # @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1KnowledgeBase] google_cloud_dialogflow_v2beta1_knowledge_base_object
2720
2588
  # @param [String] update_mask
2721
- # Optional. Not specified means `update all`.
2722
- # Currently, only `display_name` can be updated, an InvalidArgument will be
2723
- # 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.
2724
2592
  # @param [String] fields
2725
2593
  # Selector specifying which fields to include in a partial response.
2726
2594
  # @param [String] quota_user
@@ -2751,12 +2619,11 @@ module Google
2751
2619
  execute_or_queue_command(command, &block)
2752
2620
  end
2753
2621
 
2754
- # Creates a new document.
2755
- # Note: The `projects.agent.knowledgeBases.documents` resource is deprecated;
2756
- # 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`.
2757
2624
  # @param [String] parent
2758
- # Required. The knoweldge base to create a document for.
2759
- # Format: `projects/<Project ID>/knowledgeBases/<Knowledge Base ID>`.
2625
+ # Required. The knoweldge base to create a document for. Format: `projects//
2626
+ # knowledgeBases/`.
2760
2627
  # @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Document] google_cloud_dialogflow_v2beta1_document_object
2761
2628
  # @param [String] fields
2762
2629
  # Selector specifying which fields to include in a partial response.
@@ -2787,13 +2654,12 @@ module Google
2787
2654
  execute_or_queue_command(command, &block)
2788
2655
  end
2789
2656
 
2790
- # Deletes the specified document.
2791
- # Note: The `projects.agent.knowledgeBases.documents` resource is deprecated;
2792
- # 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
+ # .
2793
2660
  # @param [String] name
2794
- # Required. The name of the document to delete.
2795
- # Format: `projects/<Project ID>/knowledgeBases/<Knowledge Base
2796
- # ID>/documents/<Document ID>`.
2661
+ # Required. The name of the document to delete. Format: `projects//
2662
+ # knowledgeBases//documents/`.
2797
2663
  # @param [String] fields
2798
2664
  # Selector specifying which fields to include in a partial response.
2799
2665
  # @param [String] quota_user
@@ -2821,13 +2687,12 @@ module Google
2821
2687
  execute_or_queue_command(command, &block)
2822
2688
  end
2823
2689
 
2824
- # Retrieves the specified document.
2825
- # Note: The `projects.agent.knowledgeBases.documents` resource is deprecated;
2826
- # 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
+ # .
2827
2693
  # @param [String] name
2828
- # Required. The name of the document to retrieve.
2829
- # Format `projects/<Project ID>/knowledgeBases/<Knowledge Base
2830
- # ID>/documents/<Document ID>`.
2694
+ # Required. The name of the document to retrieve. Format `projects//
2695
+ # knowledgeBases//documents/`.
2831
2696
  # @param [String] fields
2832
2697
  # Selector specifying which fields to include in a partial response.
2833
2698
  # @param [String] quota_user
@@ -2855,15 +2720,15 @@ module Google
2855
2720
  execute_or_queue_command(command, &block)
2856
2721
  end
2857
2722
 
2858
- # Returns the list of all documents of the knowledge base.
2859
- # Note: The `projects.agent.knowledgeBases.documents` resource is deprecated;
2860
- # 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`.
2861
2726
  # @param [String] parent
2862
- # Required. The knowledge base to list all documents for.
2863
- # Format: `projects/<Project ID>/knowledgeBases/<Knowledge Base ID>`.
2727
+ # Required. The knowledge base to list all documents for. Format: `projects//
2728
+ # knowledgeBases/`.
2864
2729
  # @param [Fixnum] page_size
2865
- # The maximum number of items to return in a single page. By
2866
- # 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.
2867
2732
  # @param [String] page_token
2868
2733
  # The next_page_token value returned from a previous list request.
2869
2734
  # @param [String] fields
@@ -2895,19 +2760,17 @@ module Google
2895
2760
  execute_or_queue_command(command, &block)
2896
2761
  end
2897
2762
 
2898
- # Updates the specified document.
2899
- # Note: The `projects.agent.knowledgeBases.documents` resource is deprecated;
2900
- # 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
+ # .
2901
2766
  # @param [String] name
2902
- # Optional. The document resource name.
2903
- # The name must be empty when creating a document.
2904
- # Format: `projects/<Project ID>/knowledgeBases/<Knowledge Base
2905
- # ID>/documents/<Document ID>`.
2767
+ # Optional. The document resource name. The name must be empty when creating a
2768
+ # document. Format: `projects//knowledgeBases//documents/`.
2906
2769
  # @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Document] google_cloud_dialogflow_v2beta1_document_object
2907
2770
  # @param [String] update_mask
2908
- # Optional. Not specified means `update all`.
2909
- # Currently, only `display_name` can be updated, an InvalidArgument will be
2910
- # 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.
2911
2774
  # @param [String] fields
2912
2775
  # Selector specifying which fields to include in a partial response.
2913
2776
  # @param [String] quota_user
@@ -2939,15 +2802,14 @@ module Google
2939
2802
  end
2940
2803
 
2941
2804
  # Reloads the specified document from its specified source, content_uri or
2942
- # content. The previously loaded content of the document will be deleted.
2943
- # Note: Even when the content of the document has not changed, there still
2944
- # may be side effects because of internal implementation changes.
2945
- # Note: The `projects.agent.knowledgeBases.documents` resource is deprecated;
2946
- # 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`.
2947
2810
  # @param [String] name
2948
- # Required. The name of the document to reload.
2949
- # Format: `projects/<Project ID>/knowledgeBases/<Knowledge Base
2950
- # ID>/documents/<Document ID>`
2811
+ # Required. The name of the document to reload. Format: `projects//
2812
+ # knowledgeBases//documents/`
2951
2813
  # @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ReloadDocumentRequest] google_cloud_dialogflow_v2beta1_reload_document_request_object
2952
2814
  # @param [String] fields
2953
2815
  # Selector specifying which fields to include in a partial response.
@@ -2980,8 +2842,8 @@ module Google
2980
2842
 
2981
2843
  # Deletes the specified agent.
2982
2844
  # @param [String] parent
2983
- # Required. The project that the agent to delete is associated with.
2984
- # Format: `projects/<Project ID>`.
2845
+ # Required. The project that the agent to delete is associated with. Format: `
2846
+ # projects/`.
2985
2847
  # @param [String] fields
2986
2848
  # Selector specifying which fields to include in a partial response.
2987
2849
  # @param [String] quota_user
@@ -3011,8 +2873,8 @@ module Google
3011
2873
 
3012
2874
  # Retrieves the specified agent.
3013
2875
  # @param [String] parent
3014
- # Required. The project that the agent to fetch is associated with.
3015
- # Format: `projects/<Project ID>`.
2876
+ # Required. The project that the agent to fetch is associated with. Format: `
2877
+ # projects/`.
3016
2878
  # @param [String] fields
3017
2879
  # Selector specifying which fields to include in a partial response.
3018
2880
  # @param [String] quota_user
@@ -3042,8 +2904,7 @@ module Google
3042
2904
 
3043
2905
  # Creates/updates the specified agent.
3044
2906
  # @param [String] parent
3045
- # Required. The project of this agent.
3046
- # Format: `projects/<Project ID>`.
2907
+ # Required. The project of this agent. Format: `projects/`.
3047
2908
  # @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Agent] google_cloud_dialogflow_v2beta1_agent_object
3048
2909
  # @param [String] update_mask
3049
2910
  # Optional. The mask to control which fields get updated.
@@ -3077,11 +2938,10 @@ module Google
3077
2938
  execute_or_queue_command(command, &block)
3078
2939
  end
3079
2940
 
3080
- # Exports the specified agent to a ZIP file.
3081
- # Operation <response: ExportAgentResponse>
2941
+ # Exports the specified agent to a ZIP file. Operation
3082
2942
  # @param [String] parent
3083
- # Required. The project that the agent to export is associated with.
3084
- # Format: `projects/<Project ID>`.
2943
+ # Required. The project that the agent to export is associated with. Format: `
2944
+ # projects/`.
3085
2945
  # @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ExportAgentRequest] google_cloud_dialogflow_v2beta1_export_agent_request_object
3086
2946
  # @param [String] fields
3087
2947
  # Selector specifying which fields to include in a partial response.
@@ -3114,8 +2974,7 @@ module Google
3114
2974
 
3115
2975
  # Retrieves the fulfillment.
3116
2976
  # @param [String] name
3117
- # Required. The name of the fulfillment.
3118
- # Format: `projects/<Project ID>/agent/fulfillment`.
2977
+ # Required. The name of the fulfillment. Format: `projects//agent/fulfillment`.
3119
2978
  # @param [String] fields
3120
2979
  # Selector specifying which fields to include in a partial response.
3121
2980
  # @param [String] quota_user
@@ -3143,20 +3002,18 @@ module Google
3143
3002
  execute_or_queue_command(command, &block)
3144
3003
  end
3145
3004
 
3146
- # Imports the specified agent from a ZIP file.
3147
- # Uploads new intents and entity types without deleting the existing ones.
3148
- # Intents and entity types with the same name are replaced with the new
3149
- # versions from ImportAgentRequest. After the import, the imported draft
3150
- # agent will be trained automatically (unless disabled in agent settings).
3151
- # However, once the import is done, training may not be completed yet. Please
3152
- # call TrainAgent and wait for the operation it returns in order to train
3153
- # explicitly.
3154
- # Operation <response: google.protobuf.Empty>
3155
- # An operation which tracks when importing is complete. It only tracks
3156
- # when the draft agent is updated not when it is done training.
3005
+ # Imports the specified agent from a ZIP file. Uploads new intents and entity
3006
+ # types without deleting the existing ones. Intents and entity types with the
3007
+ # same name are replaced with the new versions from ImportAgentRequest. After
3008
+ # the import, the imported draft agent will be trained automatically (unless
3009
+ # disabled in agent settings). However, once the import is done, training may
3010
+ # not be completed yet. Please call TrainAgent and wait for the operation it
3011
+ # returns in order to train explicitly. Operation An operation which tracks when
3012
+ # importing is complete. It only tracks when the draft agent is updated not when
3013
+ # it is done training.
3157
3014
  # @param [String] parent
3158
- # Required. The project that the agent to import is associated with.
3159
- # Format: `projects/<Project ID>`.
3015
+ # Required. The project that the agent to import is associated with. Format: `
3016
+ # projects/`.
3160
3017
  # @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ImportAgentRequest] google_cloud_dialogflow_v2beta1_import_agent_request_object
3161
3018
  # @param [String] fields
3162
3019
  # Selector specifying which fields to include in a partial response.
@@ -3187,19 +3044,17 @@ module Google
3187
3044
  execute_or_queue_command(command, &block)
3188
3045
  end
3189
3046
 
3190
- # Restores the specified agent from a ZIP file.
3191
- # Replaces the current agent version with a new one. All the intents and
3192
- # entity types in the older version are deleted. After the restore, the
3193
- # restored draft agent will be trained automatically (unless disabled in
3194
- # agent settings). However, once the restore is done, training may not be
3195
- # completed yet. Please call TrainAgent and wait for the operation it
3196
- # returns in order to train explicitly.
3197
- # Operation <response: google.protobuf.Empty>
3198
- # An operation which tracks when restoring is complete. It only tracks
3199
- # when the draft agent is updated not when it is done training.
3047
+ # Restores the specified agent from a ZIP file. Replaces the current agent
3048
+ # version with a new one. All the intents and entity types in the older version
3049
+ # are deleted. After the restore, the restored draft agent will be trained
3050
+ # automatically (unless disabled in agent settings). However, once the restore
3051
+ # is done, training may not be completed yet. Please call TrainAgent and wait
3052
+ # for the operation it returns in order to train explicitly. Operation An
3053
+ # operation which tracks when restoring is complete. It only tracks when the
3054
+ # draft agent is updated not when it is done training.
3200
3055
  # @param [String] parent
3201
- # Required. The project that the agent to restore is associated with.
3202
- # Format: `projects/<Project ID>`.
3056
+ # Required. The project that the agent to restore is associated with. Format: `
3057
+ # projects/`.
3203
3058
  # @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1RestoreAgentRequest] google_cloud_dialogflow_v2beta1_restore_agent_request_object
3204
3059
  # @param [String] fields
3205
3060
  # Selector specifying which fields to include in a partial response.
@@ -3230,19 +3085,16 @@ module Google
3230
3085
  execute_or_queue_command(command, &block)
3231
3086
  end
3232
3087
 
3233
- # Returns the list of agents.
3234
- # Since there is at most one conversational agent per project, this method is
3235
- # useful primarily for listing all agents across projects the caller has
3236
- # access to. One can achieve that with a wildcard project collection id "-".
3237
- # Refer to [List
3238
- # Sub-Collections](https://cloud.google.com/apis/design/design_patterns#list_sub-
3239
- # collections).
3088
+ # Returns the list of agents. Since there is at most one conversational agent
3089
+ # per project, this method is useful primarily for listing all agents across
3090
+ # projects the caller has access to. One can achieve that with a wildcard
3091
+ # project collection id "-". Refer to [List Sub-Collections](https://cloud.
3092
+ # google.com/apis/design/design_patterns#list_sub-collections).
3240
3093
  # @param [String] parent
3241
- # Required. The project to list agents from.
3242
- # Format: `projects/<Project ID or '-'>`.
3094
+ # Required. The project to list agents from. Format: `projects/`.
3243
3095
  # @param [Fixnum] page_size
3244
- # Optional. The maximum number of items to return in a single page. By
3245
- # default 100 and at most 1000.
3096
+ # Optional. The maximum number of items to return in a single page. By default
3097
+ # 100 and at most 1000.
3246
3098
  # @param [String] page_token
3247
3099
  # Optional. The next_page_token value returned from a previous list request.
3248
3100
  # @param [String] fields
@@ -3274,11 +3126,10 @@ module Google
3274
3126
  execute_or_queue_command(command, &block)
3275
3127
  end
3276
3128
 
3277
- # Trains the specified agent.
3278
- # Operation <response: google.protobuf.Empty>
3129
+ # Trains the specified agent. Operation
3279
3130
  # @param [String] parent
3280
- # Required. The project that the agent to train is associated with.
3281
- # Format: `projects/<Project ID>`.
3131
+ # Required. The project that the agent to train is associated with. Format: `
3132
+ # projects/`.
3282
3133
  # @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1TrainAgentRequest] google_cloud_dialogflow_v2beta1_train_agent_request_object
3283
3134
  # @param [String] fields
3284
3135
  # Selector specifying which fields to include in a partial response.
@@ -3311,8 +3162,8 @@ module Google
3311
3162
 
3312
3163
  # Updates the fulfillment.
3313
3164
  # @param [String] name
3314
- # Required. The unique identifier of the fulfillment.
3315
- # Format: `projects/<Project ID>/agent/fulfillment`.
3165
+ # Required. The unique identifier of the fulfillment. Format: `projects//agent/
3166
+ # fulfillment`.
3316
3167
  # @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Fulfillment] google_cloud_dialogflow_v2beta1_fulfillment_object
3317
3168
  # @param [String] update_mask
3318
3169
  # Required. The mask to control which fields get updated. If the mask is not
@@ -3347,11 +3198,10 @@ module Google
3347
3198
  execute_or_queue_command(command, &block)
3348
3199
  end
3349
3200
 
3350
- # Deletes entity types in the specified agent.
3351
- # Operation <response: google.protobuf.Empty>
3201
+ # Deletes entity types in the specified agent. Operation
3352
3202
  # @param [String] parent
3353
- # Required. The name of the agent to delete all entities types for. Format:
3354
- # `projects/<Project ID>/agent`.
3203
+ # Required. The name of the agent to delete all entities types for. Format: `
3204
+ # projects//agent`.
3355
3205
  # @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1BatchDeleteEntityTypesRequest] google_cloud_dialogflow_v2beta1_batch_delete_entity_types_request_object
3356
3206
  # @param [String] fields
3357
3207
  # Selector specifying which fields to include in a partial response.
@@ -3382,11 +3232,10 @@ module Google
3382
3232
  execute_or_queue_command(command, &block)
3383
3233
  end
3384
3234
 
3385
- # Updates/Creates multiple entity types in the specified agent.
3386
- # Operation <response: BatchUpdateEntityTypesResponse>
3235
+ # Updates/Creates multiple entity types in the specified agent. Operation
3387
3236
  # @param [String] parent
3388
- # Required. The name of the agent to update or create entity types in.
3389
- # Format: `projects/<Project ID>/agent`.
3237
+ # Required. The name of the agent to update or create entity types in. Format: `
3238
+ # projects//agent`.
3390
3239
  # @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1BatchUpdateEntityTypesRequest] google_cloud_dialogflow_v2beta1_batch_update_entity_types_request_object
3391
3240
  # @param [String] fields
3392
3241
  # Selector specifying which fields to include in a partial response.
@@ -3419,16 +3268,13 @@ module Google
3419
3268
 
3420
3269
  # Creates an entity type in the specified agent.
3421
3270
  # @param [String] parent
3422
- # Required. The agent to create a entity type for.
3423
- # Format: `projects/<Project ID>/agent`.
3271
+ # Required. The agent to create a entity type for. Format: `projects//agent`.
3424
3272
  # @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1EntityType] google_cloud_dialogflow_v2beta1_entity_type_object
3425
3273
  # @param [String] language_code
3426
- # Optional. The language used to access language-specific data.
3427
- # If not specified, the agent's default language is used.
3428
- # For more information, see
3429
- # [Multilingual intent and entity
3430
- # data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-
3431
- # entity).
3274
+ # Optional. The language used to access language-specific data. If not specified,
3275
+ # the agent's default language is used. For more information, see [Multilingual
3276
+ # intent and entity data](https://cloud.google.com/dialogflow/docs/agents-
3277
+ # multilingual#intent-entity).
3432
3278
  # @param [String] fields
3433
3279
  # Selector specifying which fields to include in a partial response.
3434
3280
  # @param [String] quota_user
@@ -3461,8 +3307,8 @@ module Google
3461
3307
 
3462
3308
  # Deletes the specified entity type.
3463
3309
  # @param [String] name
3464
- # Required. The name of the entity type to delete.
3465
- # Format: `projects/<Project ID>/agent/entityTypes/<EntityType ID>`.
3310
+ # Required. The name of the entity type to delete. Format: `projects//agent/
3311
+ # entityTypes/`.
3466
3312
  # @param [String] fields
3467
3313
  # Selector specifying which fields to include in a partial response.
3468
3314
  # @param [String] quota_user
@@ -3492,15 +3338,12 @@ module Google
3492
3338
 
3493
3339
  # Retrieves the specified entity type.
3494
3340
  # @param [String] name
3495
- # Required. The name of the entity type.
3496
- # Format: `projects/<Project ID>/agent/entityTypes/<EntityType ID>`.
3341
+ # Required. The name of the entity type. Format: `projects//agent/entityTypes/`.
3497
3342
  # @param [String] language_code
3498
- # Optional. The language used to access language-specific data.
3499
- # If not specified, the agent's default language is used.
3500
- # For more information, see
3501
- # [Multilingual intent and entity
3502
- # data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-
3503
- # entity).
3343
+ # Optional. The language used to access language-specific data. If not specified,
3344
+ # the agent's default language is used. For more information, see [Multilingual
3345
+ # intent and entity data](https://cloud.google.com/dialogflow/docs/agents-
3346
+ # multilingual#intent-entity).
3504
3347
  # @param [String] fields
3505
3348
  # Selector specifying which fields to include in a partial response.
3506
3349
  # @param [String] quota_user
@@ -3531,18 +3374,15 @@ module Google
3531
3374
 
3532
3375
  # Returns the list of all entity types in the specified agent.
3533
3376
  # @param [String] parent
3534
- # Required. The agent to list all entity types from.
3535
- # Format: `projects/<Project ID>/agent`.
3377
+ # Required. The agent to list all entity types from. Format: `projects//agent`.
3536
3378
  # @param [String] language_code
3537
- # Optional. The language used to access language-specific data.
3538
- # If not specified, the agent's default language is used.
3539
- # For more information, see
3540
- # [Multilingual intent and entity
3541
- # data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-
3542
- # entity).
3379
+ # Optional. The language used to access language-specific data. If not specified,
3380
+ # the agent's default language is used. For more information, see [Multilingual
3381
+ # intent and entity data](https://cloud.google.com/dialogflow/docs/agents-
3382
+ # multilingual#intent-entity).
3543
3383
  # @param [Fixnum] page_size
3544
- # Optional. The maximum number of items to return in a single page. By
3545
- # default 100 and at most 1000.
3384
+ # Optional. The maximum number of items to return in a single page. By default
3385
+ # 100 and at most 1000.
3546
3386
  # @param [String] page_token
3547
3387
  # Optional. The next_page_token value returned from a previous list request.
3548
3388
  # @param [String] fields
@@ -3577,18 +3417,15 @@ module Google
3577
3417
 
3578
3418
  # Updates the specified entity type.
3579
3419
  # @param [String] name
3580
- # The unique identifier of the entity type.
3581
- # Required for EntityTypes.UpdateEntityType and
3582
- # EntityTypes.BatchUpdateEntityTypes methods.
3583
- # Format: `projects/<Project ID>/agent/entityTypes/<Entity Type ID>`.
3420
+ # The unique identifier of the entity type. Required for EntityTypes.
3421
+ # UpdateEntityType and EntityTypes.BatchUpdateEntityTypes methods. Format: `
3422
+ # projects//agent/entityTypes/`.
3584
3423
  # @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1EntityType] google_cloud_dialogflow_v2beta1_entity_type_object
3585
3424
  # @param [String] language_code
3586
- # Optional. The language used to access language-specific data.
3587
- # If not specified, the agent's default language is used.
3588
- # For more information, see
3589
- # [Multilingual intent and entity
3590
- # data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-
3591
- # entity).
3425
+ # Optional. The language used to access language-specific data. If not specified,
3426
+ # the agent's default language is used. For more information, see [Multilingual
3427
+ # intent and entity data](https://cloud.google.com/dialogflow/docs/agents-
3428
+ # multilingual#intent-entity).
3592
3429
  # @param [String] update_mask
3593
3430
  # Optional. The mask to control which fields get updated.
3594
3431
  # @param [String] fields
@@ -3622,11 +3459,10 @@ module Google
3622
3459
  execute_or_queue_command(command, &block)
3623
3460
  end
3624
3461
 
3625
- # Creates multiple new entities in the specified entity type.
3626
- # Operation <response: google.protobuf.Empty>
3462
+ # Creates multiple new entities in the specified entity type. Operation
3627
3463
  # @param [String] parent
3628
- # Required. The name of the entity type to create entities in. Format:
3629
- # `projects/<Project ID>/agent/entityTypes/<Entity Type ID>`.
3464
+ # Required. The name of the entity type to create entities in. Format: `projects/
3465
+ # /agent/entityTypes/`.
3630
3466
  # @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1BatchCreateEntitiesRequest] google_cloud_dialogflow_v2beta1_batch_create_entities_request_object
3631
3467
  # @param [String] fields
3632
3468
  # Selector specifying which fields to include in a partial response.
@@ -3657,11 +3493,10 @@ module Google
3657
3493
  execute_or_queue_command(command, &block)
3658
3494
  end
3659
3495
 
3660
- # Deletes entities in the specified entity type.
3661
- # Operation <response: google.protobuf.Empty>
3496
+ # Deletes entities in the specified entity type. Operation
3662
3497
  # @param [String] parent
3663
- # Required. The name of the entity type to delete entries for. Format:
3664
- # `projects/<Project ID>/agent/entityTypes/<Entity Type ID>`.
3498
+ # Required. The name of the entity type to delete entries for. Format: `projects/
3499
+ # /agent/entityTypes/`.
3665
3500
  # @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1BatchDeleteEntitiesRequest] google_cloud_dialogflow_v2beta1_batch_delete_entities_request_object
3666
3501
  # @param [String] fields
3667
3502
  # Selector specifying which fields to include in a partial response.
@@ -3692,13 +3527,12 @@ module Google
3692
3527
  execute_or_queue_command(command, &block)
3693
3528
  end
3694
3529
 
3695
- # Updates or creates multiple entities in the specified entity type. This
3696
- # method does not affect entities in the entity type that aren't explicitly
3697
- # specified in the request.
3698
- # Operation <response: google.protobuf.Empty>
3530
+ # Updates or creates multiple entities in the specified entity type. This method
3531
+ # does not affect entities in the entity type that aren't explicitly specified
3532
+ # in the request. Operation
3699
3533
  # @param [String] parent
3700
- # Required. The name of the entity type to update or create entities in.
3701
- # Format: `projects/<Project ID>/agent/entityTypes/<Entity Type ID>`.
3534
+ # Required. The name of the entity type to update or create entities in. Format:
3535
+ # `projects//agent/entityTypes/`.
3702
3536
  # @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1BatchUpdateEntitiesRequest] google_cloud_dialogflow_v2beta1_batch_update_entities_request_object
3703
3537
  # @param [String] fields
3704
3538
  # Selector specifying which fields to include in a partial response.
@@ -3731,15 +3565,11 @@ module Google
3731
3565
 
3732
3566
  # Returns the list of all non-draft environments of the specified agent.
3733
3567
  # @param [String] parent
3734
- # Required. The agent to list all environments from.
3735
- # Format:
3736
- # - `projects/<Project Number / ID>/agent`
3737
- # - `projects/<Project Number / ID>/locations/<Location
3738
- # ID>/agent
3568
+ # Required. The agent to list all environments from. Format: - `projects//agent`
3569
+ # - `projects//locations//agent
3739
3570
  # @param [Fixnum] page_size
3740
3571
  # Optional. The maximum number of items to return in a single page. By default
3741
- # 100 and
3742
- # at most 1000.
3572
+ # 100 and at most 1000.
3743
3573
  # @param [String] page_token
3744
3574
  # Optional. The next_page_token value returned from a previous list request.
3745
3575
  # @param [String] fields
@@ -3773,11 +3603,10 @@ module Google
3773
3603
 
3774
3604
  # Deletes all active contexts in the specified session.
3775
3605
  # @param [String] parent
3776
- # Required. The name of the session to delete all contexts from. Format:
3777
- # `projects/<Project ID>/agent/sessions/<Session ID>` or `projects/<Project
3778
- # ID>/agent/environments/<Environment ID>/users/<User ID>/sessions/<Session
3779
- # ID>`. If `Environment ID` is not specified we assume default 'draft'
3780
- # environment. If `User ID` is not specified, we assume default '-' user.
3606
+ # Required. The name of the session to delete all contexts from. Format: `
3607
+ # projects//agent/sessions/` or `projects//agent/environments//users//sessions/`.
3608
+ # If `Environment ID` is not specified we assume default 'draft' environment.
3609
+ # If `User ID` is not specified, we assume default '-' user.
3781
3610
  # @param [String] fields
3782
3611
  # Selector specifying which fields to include in a partial response.
3783
3612
  # @param [String] quota_user
@@ -3805,22 +3634,20 @@ module Google
3805
3634
  execute_or_queue_command(command, &block)
3806
3635
  end
3807
3636
 
3808
- # Processes a natural language query and returns structured, actionable data
3809
- # as a result. This method is not idempotent, because it may cause contexts
3810
- # and session entity types to be updated, which in turn might affect
3811
- # results of future queries.
3637
+ # Processes a natural language query and returns structured, actionable data as
3638
+ # a result. This method is not idempotent, because it may cause contexts and
3639
+ # session entity types to be updated, which in turn might affect results of
3640
+ # future queries.
3812
3641
  # @param [String] session
3813
- # Required. The name of the session this query is sent to. Format:
3814
- # `projects/<Project ID>/agent/sessions/<Session ID>`, or
3815
- # `projects/<Project ID>/agent/environments/<Environment ID>/users/<User
3816
- # ID>/sessions/<Session ID>`. If `Environment ID` is not specified, we assume
3817
- # default 'draft' environment. If `User ID` is not specified, we are using
3818
- # "-". It's up to the API caller to choose an appropriate `Session ID` and
3819
- # `User Id`. They can be a random number or some type of user and session
3820
- # identifiers (preferably hashed). The length of the `Session ID` and
3821
- # `User ID` must not exceed 36 characters.
3822
- # For more information, see the [API interactions
3823
- # guide](https://cloud.google.com/dialogflow/docs/api-overview).
3642
+ # Required. The name of the session this query is sent to. Format: `projects//
3643
+ # agent/sessions/`, or `projects//agent/environments//users//sessions/`. If `
3644
+ # Environment ID` is not specified, we assume default 'draft' environment. If `
3645
+ # User ID` is not specified, we are using "-". It's up to the API caller to
3646
+ # choose an appropriate `Session ID` and `User Id`. They can be a random number
3647
+ # or some type of user and session identifiers (preferably hashed). The length
3648
+ # of the `Session ID` and `User ID` must not exceed 36 characters. For more
3649
+ # information, see the [API interactions guide](https://cloud.google.com/
3650
+ # dialogflow/docs/api-overview).
3824
3651
  # @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1DetectIntentRequest] google_cloud_dialogflow_v2beta1_detect_intent_request_object
3825
3652
  # @param [String] fields
3826
3653
  # Selector specifying which fields to include in a partial response.
@@ -3851,15 +3678,13 @@ module Google
3851
3678
  execute_or_queue_command(command, &block)
3852
3679
  end
3853
3680
 
3854
- # Creates a context.
3855
- # If the specified context already exists, overrides the context.
3681
+ # Creates a context. If the specified context already exists, overrides the
3682
+ # context.
3856
3683
  # @param [String] parent
3857
- # Required. The session to create a context for.
3858
- # Format: `projects/<Project ID>/agent/sessions/<Session ID>` or
3859
- # `projects/<Project ID>/agent/environments/<Environment ID>/users/<User
3860
- # ID>/sessions/<Session ID>`. If `Environment ID` is not specified, we assume
3861
- # default 'draft' environment. If `User ID` is not specified, we assume
3862
- # default '-' user.
3684
+ # Required. The session to create a context for. Format: `projects//agent/
3685
+ # sessions/` or `projects//agent/environments//users//sessions/`. If `
3686
+ # Environment ID` is not specified, we assume default 'draft' environment. If `
3687
+ # User ID` is not specified, we assume default '-' user.
3863
3688
  # @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Context] google_cloud_dialogflow_v2beta1_context_object
3864
3689
  # @param [String] fields
3865
3690
  # Selector specifying which fields to include in a partial response.
@@ -3892,12 +3717,10 @@ module Google
3892
3717
 
3893
3718
  # Deletes the specified context.
3894
3719
  # @param [String] name
3895
- # Required. The name of the context to delete. Format:
3896
- # `projects/<Project ID>/agent/sessions/<Session ID>/contexts/<Context ID>`
3897
- # or `projects/<Project ID>/agent/environments/<Environment ID>/users/<User
3898
- # ID>/sessions/<Session ID>/contexts/<Context ID>`. If `Environment ID` is
3899
- # not specified, we assume default 'draft' environment. If `User ID` is not
3900
- # specified, we assume default '-' user.
3720
+ # Required. The name of the context to delete. Format: `projects//agent/sessions/
3721
+ # /contexts/` or `projects//agent/environments//users//sessions//contexts/`. If `
3722
+ # Environment ID` is not specified, we assume default 'draft' environment. If `
3723
+ # User ID` is not specified, we assume default '-' user.
3901
3724
  # @param [String] fields
3902
3725
  # Selector specifying which fields to include in a partial response.
3903
3726
  # @param [String] quota_user
@@ -3927,12 +3750,10 @@ module Google
3927
3750
 
3928
3751
  # Retrieves the specified context.
3929
3752
  # @param [String] name
3930
- # Required. The name of the context. Format:
3931
- # `projects/<Project ID>/agent/sessions/<Session ID>/contexts/<Context ID>`
3932
- # or `projects/<Project ID>/agent/environments/<Environment ID>/users/<User
3933
- # ID>/sessions/<Session ID>/contexts/<Context ID>`. If `Environment ID` is
3934
- # not specified, we assume default 'draft' environment. If `User ID` is not
3935
- # specified, we assume default '-' user.
3753
+ # Required. The name of the context. Format: `projects//agent/sessions//contexts/
3754
+ # ` or `projects//agent/environments//users//sessions//contexts/`. If `
3755
+ # Environment ID` is not specified, we assume default 'draft' environment. If `
3756
+ # User ID` is not specified, we assume default '-' user.
3936
3757
  # @param [String] fields
3937
3758
  # Selector specifying which fields to include in a partial response.
3938
3759
  # @param [String] quota_user
@@ -3962,15 +3783,13 @@ module Google
3962
3783
 
3963
3784
  # Returns the list of all contexts in the specified session.
3964
3785
  # @param [String] parent
3965
- # Required. The session to list all contexts from.
3966
- # Format: `projects/<Project ID>/agent/sessions/<Session ID>` or
3967
- # `projects/<Project ID>/agent/environments/<Environment ID>/users/<User
3968
- # ID>/sessions/<Session ID>`. If `Environment ID` is not specified, we assume
3969
- # default 'draft' environment. If `User ID` is not specified, we assume
3970
- # default '-' user.
3786
+ # Required. The session to list all contexts from. Format: `projects//agent/
3787
+ # sessions/` or `projects//agent/environments//users//sessions/`. If `
3788
+ # Environment ID` is not specified, we assume default 'draft' environment. If `
3789
+ # User ID` is not specified, we assume default '-' user.
3971
3790
  # @param [Fixnum] page_size
3972
- # Optional. The maximum number of items to return in a single page. By
3973
- # default 100 and at most 1000.
3791
+ # Optional. The maximum number of items to return in a single page. By default
3792
+ # 100 and at most 1000.
3974
3793
  # @param [String] page_token
3975
3794
  # Optional. The next_page_token value returned from a previous list request.
3976
3795
  # @param [String] fields
@@ -4004,19 +3823,15 @@ module Google
4004
3823
 
4005
3824
  # Updates the specified context.
4006
3825
  # @param [String] name
4007
- # Required. The unique identifier of the context. Format:
4008
- # `projects/<Project ID>/agent/sessions/<Session ID>/contexts/<Context ID>`,
4009
- # or `projects/<Project ID>/agent/environments/<Environment ID>/users/<User
4010
- # ID>/sessions/<Session ID>/contexts/<Context ID>`.
4011
- # The `Context ID` is always converted to lowercase, may only contain
4012
- # characters in a-zA-Z0-9_-% and may be at most 250 bytes long.
4013
- # If `Environment ID` is not specified, we assume default 'draft'
4014
- # environment. If `User ID` is not specified, we assume default '-' user.
4015
- # The following context names are reserved for internal use by Dialogflow.
4016
- # You should not use these contexts or create contexts with these names:
4017
- # * `__system_counters__`
4018
- # * `*_id_dialog_context`
4019
- # * `*_dialog_params_size`
3826
+ # Required. The unique identifier of the context. Format: `projects//agent/
3827
+ # sessions//contexts/`, or `projects//agent/environments//users//sessions//
3828
+ # contexts/`. The `Context ID` is always converted to lowercase, may only
3829
+ # contain characters in a-zA-Z0-9_-% and may be at most 250 bytes long. If `
3830
+ # Environment ID` is not specified, we assume default 'draft' environment. If `
3831
+ # User ID` is not specified, we assume default '-' user. The following context
3832
+ # names are reserved for internal use by Dialogflow. You should not use these
3833
+ # contexts or create contexts with these names: * `__system_counters__` * `*
3834
+ # _id_dialog_context` * `*_dialog_params_size`
4020
3835
  # @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Context] google_cloud_dialogflow_v2beta1_context_object
4021
3836
  # @param [String] update_mask
4022
3837
  # Optional. The mask to control which fields get updated.
@@ -4050,19 +3865,15 @@ module Google
4050
3865
  execute_or_queue_command(command, &block)
4051
3866
  end
4052
3867
 
4053
- # Creates a session entity type.
4054
- # If the specified session entity type already exists, overrides the
4055
- # session entity type.
4056
- # This method doesn't work with Google Assistant integration.
4057
- # Contact Dialogflow support if you need to use session entities
4058
- # with Google Assistant integration.
3868
+ # Creates a session entity type. If the specified session entity type already
3869
+ # exists, overrides the session entity type. This method doesn't work with
3870
+ # Google Assistant integration. Contact Dialogflow support if you need to use
3871
+ # session entities with Google Assistant integration.
4059
3872
  # @param [String] parent
4060
- # Required. The session to create a session entity type for.
4061
- # Format: `projects/<Project ID>/agent/sessions/<Session ID>` or
4062
- # `projects/<Project ID>/agent/environments/<Environment ID>/users/<User ID>/
4063
- # sessions/<Session ID>`. If `Environment ID` is not specified, we assume
4064
- # default 'draft' environment. If `User ID` is not specified, we assume
4065
- # default '-' user.
3873
+ # Required. The session to create a session entity type for. Format: `projects//
3874
+ # agent/sessions/` or `projects//agent/environments//users// sessions/`. If `
3875
+ # Environment ID` is not specified, we assume default 'draft' environment. If `
3876
+ # User ID` is not specified, we assume default '-' user.
4066
3877
  # @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SessionEntityType] google_cloud_dialogflow_v2beta1_session_entity_type_object
4067
3878
  # @param [String] fields
4068
3879
  # Selector specifying which fields to include in a partial response.
@@ -4093,16 +3904,13 @@ module Google
4093
3904
  execute_or_queue_command(command, &block)
4094
3905
  end
4095
3906
 
4096
- # Deletes the specified session entity type.
4097
- # This method doesn't work with Google Assistant integration.
4098
- # Contact Dialogflow support if you need to use session entities
4099
- # with Google Assistant integration.
3907
+ # Deletes the specified session entity type. This method doesn't work with
3908
+ # Google Assistant integration. Contact Dialogflow support if you need to use
3909
+ # session entities with Google Assistant integration.
4100
3910
  # @param [String] name
4101
- # Required. The name of the entity type to delete. Format:
4102
- # `projects/<Project ID>/agent/sessions/<Session ID>/entityTypes/<Entity Type
4103
- # Display Name>` or `projects/<Project ID>/agent/environments/<Environment
4104
- # ID>/users/<User ID>/sessions/<Session ID>/entityTypes/<Entity Type Display
4105
- # Name>`. If `Environment ID` is not specified, we assume default 'draft'
3911
+ # Required. The name of the entity type to delete. Format: `projects//agent/
3912
+ # sessions//entityTypes/` or `projects//agent/environments//users//sessions//
3913
+ # entityTypes/`. If `Environment ID` is not specified, we assume default 'draft'
4106
3914
  # environment. If `User ID` is not specified, we assume default '-' user.
4107
3915
  # @param [String] fields
4108
3916
  # Selector specifying which fields to include in a partial response.
@@ -4131,16 +3939,13 @@ module Google
4131
3939
  execute_or_queue_command(command, &block)
4132
3940
  end
4133
3941
 
4134
- # Retrieves the specified session entity type.
4135
- # This method doesn't work with Google Assistant integration.
4136
- # Contact Dialogflow support if you need to use session entities
4137
- # with Google Assistant integration.
3942
+ # Retrieves the specified session entity type. This method doesn't work with
3943
+ # Google Assistant integration. Contact Dialogflow support if you need to use
3944
+ # session entities with Google Assistant integration.
4138
3945
  # @param [String] name
4139
- # Required. The name of the session entity type. Format:
4140
- # `projects/<Project ID>/agent/sessions/<Session ID>/entityTypes/<Entity Type
4141
- # Display Name>` or `projects/<Project ID>/agent/environments/<Environment
4142
- # ID>/users/<User ID>/sessions/<Session ID>/entityTypes/<Entity Type Display
4143
- # Name>`. If `Environment ID` is not specified, we assume default 'draft'
3946
+ # Required. The name of the session entity type. Format: `projects//agent/
3947
+ # sessions//entityTypes/` or `projects//agent/environments//users//sessions//
3948
+ # entityTypes/`. If `Environment ID` is not specified, we assume default 'draft'
4144
3949
  # environment. If `User ID` is not specified, we assume default '-' user.
4145
3950
  # @param [String] fields
4146
3951
  # Selector specifying which fields to include in a partial response.
@@ -4169,20 +3974,17 @@ module Google
4169
3974
  execute_or_queue_command(command, &block)
4170
3975
  end
4171
3976
 
4172
- # Returns the list of all session entity types in the specified session.
4173
- # This method doesn't work with Google Assistant integration.
4174
- # Contact Dialogflow support if you need to use session entities
4175
- # with Google Assistant integration.
3977
+ # Returns the list of all session entity types in the specified session. This
3978
+ # method doesn't work with Google Assistant integration. Contact Dialogflow
3979
+ # support if you need to use session entities with Google Assistant integration.
4176
3980
  # @param [String] parent
4177
- # Required. The session to list all session entity types from.
4178
- # Format: `projects/<Project ID>/agent/sessions/<Session ID>` or
4179
- # `projects/<Project ID>/agent/environments/<Environment ID>/users/<User ID>/
4180
- # sessions/<Session ID>`.
4181
- # If `Environment ID` is not specified, we assume default 'draft'
4182
- # environment. If `User ID` is not specified, we assume default '-' user.
3981
+ # Required. The session to list all session entity types from. Format: `projects/
3982
+ # /agent/sessions/` or `projects//agent/environments//users// sessions/`. If `
3983
+ # Environment ID` is not specified, we assume default 'draft' environment. If `
3984
+ # User ID` is not specified, we assume default '-' user.
4183
3985
  # @param [Fixnum] page_size
4184
- # Optional. The maximum number of items to return in a single page. By
4185
- # default 100 and at most 1000.
3986
+ # Optional. The maximum number of items to return in a single page. By default
3987
+ # 100 and at most 1000.
4186
3988
  # @param [String] page_token
4187
3989
  # Optional. The next_page_token value returned from a previous list request.
4188
3990
  # @param [String] fields
@@ -4214,20 +4016,16 @@ module Google
4214
4016
  execute_or_queue_command(command, &block)
4215
4017
  end
4216
4018
 
4217
- # Updates the specified session entity type.
4218
- # This method doesn't work with Google Assistant integration.
4219
- # Contact Dialogflow support if you need to use session entities
4220
- # with Google Assistant integration.
4019
+ # Updates the specified session entity type. This method doesn't work with
4020
+ # Google Assistant integration. Contact Dialogflow support if you need to use
4021
+ # session entities with Google Assistant integration.
4221
4022
  # @param [String] name
4222
- # Required. The unique identifier of this session entity type. Format:
4223
- # `projects/<Project ID>/agent/sessions/<Session ID>/entityTypes/<Entity Type
4224
- # Display Name>`, or
4225
- # `projects/<Project ID>/agent/environments/<Environment ID>/users/<User
4226
- # ID>/sessions/<Session ID>/entityTypes/<Entity Type Display Name>`.
4227
- # If `Environment ID` is not specified, we assume default 'draft'
4228
- # environment. If `User ID` is not specified, we assume default '-' user.
4229
- # `<Entity Type Display Name>` must be the display name of an existing entity
4230
- # type in the same agent that will be overridden or supplemented.
4023
+ # Required. The unique identifier of this session entity type. Format: `projects/
4024
+ # /agent/sessions//entityTypes/`, or `projects//agent/environments//users//
4025
+ # sessions//entityTypes/`. If `Environment ID` is not specified, we assume
4026
+ # default 'draft' environment. If `User ID` is not specified, we assume default '
4027
+ # -' user. `` must be the display name of an existing entity type in the same
4028
+ # agent that will be overridden or supplemented.
4231
4029
  # @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SessionEntityType] google_cloud_dialogflow_v2beta1_session_entity_type_object
4232
4030
  # @param [String] update_mask
4233
4031
  # Optional. The mask to control which fields get updated.
@@ -4261,11 +4059,10 @@ module Google
4261
4059
  execute_or_queue_command(command, &block)
4262
4060
  end
4263
4061
 
4264
- # Deletes intents in the specified agent.
4265
- # Operation <response: google.protobuf.Empty>
4062
+ # Deletes intents in the specified agent. Operation
4266
4063
  # @param [String] parent
4267
- # Required. The name of the agent to delete all entities types for. Format:
4268
- # `projects/<Project ID>/agent`.
4064
+ # Required. The name of the agent to delete all entities types for. Format: `
4065
+ # projects//agent`.
4269
4066
  # @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1BatchDeleteIntentsRequest] google_cloud_dialogflow_v2beta1_batch_delete_intents_request_object
4270
4067
  # @param [String] fields
4271
4068
  # Selector specifying which fields to include in a partial response.
@@ -4296,11 +4093,10 @@ module Google
4296
4093
  execute_or_queue_command(command, &block)
4297
4094
  end
4298
4095
 
4299
- # Updates/Creates multiple intents in the specified agent.
4300
- # Operation <response: BatchUpdateIntentsResponse>
4096
+ # Updates/Creates multiple intents in the specified agent. Operation
4301
4097
  # @param [String] parent
4302
- # Required. The name of the agent to update or create intents in.
4303
- # Format: `projects/<Project ID>/agent`.
4098
+ # Required. The name of the agent to update or create intents in. Format: `
4099
+ # projects//agent`.
4304
4100
  # @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1BatchUpdateIntentsRequest] google_cloud_dialogflow_v2beta1_batch_update_intents_request_object
4305
4101
  # @param [String] fields
4306
4102
  # Selector specifying which fields to include in a partial response.
@@ -4333,18 +4129,15 @@ module Google
4333
4129
 
4334
4130
  # Creates an intent in the specified agent.
4335
4131
  # @param [String] parent
4336
- # Required. The agent to create a intent for.
4337
- # Format: `projects/<Project ID>/agent`.
4132
+ # Required. The agent to create a intent for. Format: `projects//agent`.
4338
4133
  # @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Intent] google_cloud_dialogflow_v2beta1_intent_object
4339
4134
  # @param [String] intent_view
4340
4135
  # Optional. The resource view to apply to the returned intent.
4341
4136
  # @param [String] language_code
4342
- # Optional. The language used to access language-specific data.
4343
- # If not specified, the agent's default language is used.
4344
- # For more information, see
4345
- # [Multilingual intent and entity
4346
- # data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-
4347
- # entity).
4137
+ # Optional. The language used to access language-specific data. If not specified,
4138
+ # the agent's default language is used. For more information, see [Multilingual
4139
+ # intent and entity data](https://cloud.google.com/dialogflow/docs/agents-
4140
+ # multilingual#intent-entity).
4348
4141
  # @param [String] fields
4349
4142
  # Selector specifying which fields to include in a partial response.
4350
4143
  # @param [String] quota_user
@@ -4379,8 +4172,8 @@ module Google
4379
4172
  # Deletes the specified intent and its direct or indirect followup intents.
4380
4173
  # @param [String] name
4381
4174
  # Required. The name of the intent to delete. If this intent has direct or
4382
- # indirect followup intents, we also delete them.
4383
- # Format: `projects/<Project ID>/agent/intents/<Intent ID>`.
4175
+ # indirect followup intents, we also delete them. Format: `projects//agent/
4176
+ # intents/`.
4384
4177
  # @param [String] fields
4385
4178
  # Selector specifying which fields to include in a partial response.
4386
4179
  # @param [String] quota_user
@@ -4410,17 +4203,14 @@ module Google
4410
4203
 
4411
4204
  # Retrieves the specified intent.
4412
4205
  # @param [String] name
4413
- # Required. The name of the intent.
4414
- # Format: `projects/<Project ID>/agent/intents/<Intent ID>`.
4206
+ # Required. The name of the intent. Format: `projects//agent/intents/`.
4415
4207
  # @param [String] intent_view
4416
4208
  # Optional. The resource view to apply to the returned intent.
4417
4209
  # @param [String] language_code
4418
- # Optional. The language used to access language-specific data.
4419
- # If not specified, the agent's default language is used.
4420
- # For more information, see
4421
- # [Multilingual intent and entity
4422
- # data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-
4423
- # entity).
4210
+ # Optional. The language used to access language-specific data. If not specified,
4211
+ # the agent's default language is used. For more information, see [Multilingual
4212
+ # intent and entity data](https://cloud.google.com/dialogflow/docs/agents-
4213
+ # multilingual#intent-entity).
4424
4214
  # @param [String] fields
4425
4215
  # Selector specifying which fields to include in a partial response.
4426
4216
  # @param [String] quota_user
@@ -4452,20 +4242,17 @@ module Google
4452
4242
 
4453
4243
  # Returns the list of all intents in the specified agent.
4454
4244
  # @param [String] parent
4455
- # Required. The agent to list all intents from.
4456
- # Format: `projects/<Project ID>/agent`.
4245
+ # Required. The agent to list all intents from. Format: `projects//agent`.
4457
4246
  # @param [String] intent_view
4458
4247
  # Optional. The resource view to apply to the returned intent.
4459
4248
  # @param [String] language_code
4460
- # Optional. The language used to access language-specific data.
4461
- # If not specified, the agent's default language is used.
4462
- # For more information, see
4463
- # [Multilingual intent and entity
4464
- # data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-
4465
- # entity).
4249
+ # Optional. The language used to access language-specific data. If not specified,
4250
+ # the agent's default language is used. For more information, see [Multilingual
4251
+ # intent and entity data](https://cloud.google.com/dialogflow/docs/agents-
4252
+ # multilingual#intent-entity).
4466
4253
  # @param [Fixnum] page_size
4467
- # Optional. The maximum number of items to return in a single page. By
4468
- # default 100 and at most 1000.
4254
+ # Optional. The maximum number of items to return in a single page. By default
4255
+ # 100 and at most 1000.
4469
4256
  # @param [String] page_token
4470
4257
  # Optional. The next_page_token value returned from a previous list request.
4471
4258
  # @param [String] fields
@@ -4501,20 +4288,17 @@ module Google
4501
4288
 
4502
4289
  # Updates the specified intent.
4503
4290
  # @param [String] name
4504
- # Optional. The unique identifier of this intent.
4505
- # Required for Intents.UpdateIntent and Intents.BatchUpdateIntents
4506
- # methods.
4507
- # Format: `projects/<Project ID>/agent/intents/<Intent ID>`.
4291
+ # Optional. The unique identifier of this intent. Required for Intents.
4292
+ # UpdateIntent and Intents.BatchUpdateIntents methods. Format: `projects//agent/
4293
+ # intents/`.
4508
4294
  # @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Intent] google_cloud_dialogflow_v2beta1_intent_object
4509
4295
  # @param [String] intent_view
4510
4296
  # Optional. The resource view to apply to the returned intent.
4511
4297
  # @param [String] language_code
4512
- # Optional. The language used to access language-specific data.
4513
- # If not specified, the agent's default language is used.
4514
- # For more information, see
4515
- # [Multilingual intent and entity
4516
- # data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-
4517
- # entity).
4298
+ # Optional. The language used to access language-specific data. If not specified,
4299
+ # the agent's default language is used. For more information, see [Multilingual
4300
+ # intent and entity data](https://cloud.google.com/dialogflow/docs/agents-
4301
+ # multilingual#intent-entity).
4518
4302
  # @param [String] update_mask
4519
4303
  # Optional. The mask to control which fields get updated.
4520
4304
  # @param [String] fields
@@ -4551,11 +4335,10 @@ module Google
4551
4335
 
4552
4336
  # Deletes all active contexts in the specified session.
4553
4337
  # @param [String] parent
4554
- # Required. The name of the session to delete all contexts from. Format:
4555
- # `projects/<Project ID>/agent/sessions/<Session ID>` or `projects/<Project
4556
- # ID>/agent/environments/<Environment ID>/users/<User ID>/sessions/<Session
4557
- # ID>`. If `Environment ID` is not specified we assume default 'draft'
4558
- # environment. If `User ID` is not specified, we assume default '-' user.
4338
+ # Required. The name of the session to delete all contexts from. Format: `
4339
+ # projects//agent/sessions/` or `projects//agent/environments//users//sessions/`.
4340
+ # If `Environment ID` is not specified we assume default 'draft' environment.
4341
+ # If `User ID` is not specified, we assume default '-' user.
4559
4342
  # @param [String] fields
4560
4343
  # Selector specifying which fields to include in a partial response.
4561
4344
  # @param [String] quota_user
@@ -4583,22 +4366,20 @@ module Google
4583
4366
  execute_or_queue_command(command, &block)
4584
4367
  end
4585
4368
 
4586
- # Processes a natural language query and returns structured, actionable data
4587
- # as a result. This method is not idempotent, because it may cause contexts
4588
- # and session entity types to be updated, which in turn might affect
4589
- # results of future queries.
4369
+ # Processes a natural language query and returns structured, actionable data as
4370
+ # a result. This method is not idempotent, because it may cause contexts and
4371
+ # session entity types to be updated, which in turn might affect results of
4372
+ # future queries.
4590
4373
  # @param [String] session
4591
- # Required. The name of the session this query is sent to. Format:
4592
- # `projects/<Project ID>/agent/sessions/<Session ID>`, or
4593
- # `projects/<Project ID>/agent/environments/<Environment ID>/users/<User
4594
- # ID>/sessions/<Session ID>`. If `Environment ID` is not specified, we assume
4595
- # default 'draft' environment. If `User ID` is not specified, we are using
4596
- # "-". It's up to the API caller to choose an appropriate `Session ID` and
4597
- # `User Id`. They can be a random number or some type of user and session
4598
- # identifiers (preferably hashed). The length of the `Session ID` and
4599
- # `User ID` must not exceed 36 characters.
4600
- # For more information, see the [API interactions
4601
- # guide](https://cloud.google.com/dialogflow/docs/api-overview).
4374
+ # Required. The name of the session this query is sent to. Format: `projects//
4375
+ # agent/sessions/`, or `projects//agent/environments//users//sessions/`. If `
4376
+ # Environment ID` is not specified, we assume default 'draft' environment. If `
4377
+ # User ID` is not specified, we are using "-". It's up to the API caller to
4378
+ # choose an appropriate `Session ID` and `User Id`. They can be a random number
4379
+ # or some type of user and session identifiers (preferably hashed). The length
4380
+ # of the `Session ID` and `User ID` must not exceed 36 characters. For more
4381
+ # information, see the [API interactions guide](https://cloud.google.com/
4382
+ # dialogflow/docs/api-overview).
4602
4383
  # @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1DetectIntentRequest] google_cloud_dialogflow_v2beta1_detect_intent_request_object
4603
4384
  # @param [String] fields
4604
4385
  # Selector specifying which fields to include in a partial response.
@@ -4629,15 +4410,13 @@ module Google
4629
4410
  execute_or_queue_command(command, &block)
4630
4411
  end
4631
4412
 
4632
- # Creates a context.
4633
- # If the specified context already exists, overrides the context.
4413
+ # Creates a context. If the specified context already exists, overrides the
4414
+ # context.
4634
4415
  # @param [String] parent
4635
- # Required. The session to create a context for.
4636
- # Format: `projects/<Project ID>/agent/sessions/<Session ID>` or
4637
- # `projects/<Project ID>/agent/environments/<Environment ID>/users/<User
4638
- # ID>/sessions/<Session ID>`. If `Environment ID` is not specified, we assume
4639
- # default 'draft' environment. If `User ID` is not specified, we assume
4640
- # default '-' user.
4416
+ # Required. The session to create a context for. Format: `projects//agent/
4417
+ # sessions/` or `projects//agent/environments//users//sessions/`. If `
4418
+ # Environment ID` is not specified, we assume default 'draft' environment. If `
4419
+ # User ID` is not specified, we assume default '-' user.
4641
4420
  # @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Context] google_cloud_dialogflow_v2beta1_context_object
4642
4421
  # @param [String] fields
4643
4422
  # Selector specifying which fields to include in a partial response.
@@ -4670,12 +4449,10 @@ module Google
4670
4449
 
4671
4450
  # Deletes the specified context.
4672
4451
  # @param [String] name
4673
- # Required. The name of the context to delete. Format:
4674
- # `projects/<Project ID>/agent/sessions/<Session ID>/contexts/<Context ID>`
4675
- # or `projects/<Project ID>/agent/environments/<Environment ID>/users/<User
4676
- # ID>/sessions/<Session ID>/contexts/<Context ID>`. If `Environment ID` is
4677
- # not specified, we assume default 'draft' environment. If `User ID` is not
4678
- # specified, we assume default '-' user.
4452
+ # Required. The name of the context to delete. Format: `projects//agent/sessions/
4453
+ # /contexts/` or `projects//agent/environments//users//sessions//contexts/`. If `
4454
+ # Environment ID` is not specified, we assume default 'draft' environment. If `
4455
+ # User ID` is not specified, we assume default '-' user.
4679
4456
  # @param [String] fields
4680
4457
  # Selector specifying which fields to include in a partial response.
4681
4458
  # @param [String] quota_user
@@ -4705,12 +4482,10 @@ module Google
4705
4482
 
4706
4483
  # Retrieves the specified context.
4707
4484
  # @param [String] name
4708
- # Required. The name of the context. Format:
4709
- # `projects/<Project ID>/agent/sessions/<Session ID>/contexts/<Context ID>`
4710
- # or `projects/<Project ID>/agent/environments/<Environment ID>/users/<User
4711
- # ID>/sessions/<Session ID>/contexts/<Context ID>`. If `Environment ID` is
4712
- # not specified, we assume default 'draft' environment. If `User ID` is not
4713
- # specified, we assume default '-' user.
4485
+ # Required. The name of the context. Format: `projects//agent/sessions//contexts/
4486
+ # ` or `projects//agent/environments//users//sessions//contexts/`. If `
4487
+ # Environment ID` is not specified, we assume default 'draft' environment. If `
4488
+ # User ID` is not specified, we assume default '-' user.
4714
4489
  # @param [String] fields
4715
4490
  # Selector specifying which fields to include in a partial response.
4716
4491
  # @param [String] quota_user
@@ -4740,15 +4515,13 @@ module Google
4740
4515
 
4741
4516
  # Returns the list of all contexts in the specified session.
4742
4517
  # @param [String] parent
4743
- # Required. The session to list all contexts from.
4744
- # Format: `projects/<Project ID>/agent/sessions/<Session ID>` or
4745
- # `projects/<Project ID>/agent/environments/<Environment ID>/users/<User
4746
- # ID>/sessions/<Session ID>`. If `Environment ID` is not specified, we assume
4747
- # default 'draft' environment. If `User ID` is not specified, we assume
4748
- # default '-' user.
4518
+ # Required. The session to list all contexts from. Format: `projects//agent/
4519
+ # sessions/` or `projects//agent/environments//users//sessions/`. If `
4520
+ # Environment ID` is not specified, we assume default 'draft' environment. If `
4521
+ # User ID` is not specified, we assume default '-' user.
4749
4522
  # @param [Fixnum] page_size
4750
- # Optional. The maximum number of items to return in a single page. By
4751
- # default 100 and at most 1000.
4523
+ # Optional. The maximum number of items to return in a single page. By default
4524
+ # 100 and at most 1000.
4752
4525
  # @param [String] page_token
4753
4526
  # Optional. The next_page_token value returned from a previous list request.
4754
4527
  # @param [String] fields
@@ -4782,19 +4555,15 @@ module Google
4782
4555
 
4783
4556
  # Updates the specified context.
4784
4557
  # @param [String] name
4785
- # Required. The unique identifier of the context. Format:
4786
- # `projects/<Project ID>/agent/sessions/<Session ID>/contexts/<Context ID>`,
4787
- # or `projects/<Project ID>/agent/environments/<Environment ID>/users/<User
4788
- # ID>/sessions/<Session ID>/contexts/<Context ID>`.
4789
- # The `Context ID` is always converted to lowercase, may only contain
4790
- # characters in a-zA-Z0-9_-% and may be at most 250 bytes long.
4791
- # If `Environment ID` is not specified, we assume default 'draft'
4792
- # environment. If `User ID` is not specified, we assume default '-' user.
4793
- # The following context names are reserved for internal use by Dialogflow.
4794
- # You should not use these contexts or create contexts with these names:
4795
- # * `__system_counters__`
4796
- # * `*_id_dialog_context`
4797
- # * `*_dialog_params_size`
4558
+ # Required. The unique identifier of the context. Format: `projects//agent/
4559
+ # sessions//contexts/`, or `projects//agent/environments//users//sessions//
4560
+ # contexts/`. The `Context ID` is always converted to lowercase, may only
4561
+ # contain characters in a-zA-Z0-9_-% and may be at most 250 bytes long. If `
4562
+ # Environment ID` is not specified, we assume default 'draft' environment. If `
4563
+ # User ID` is not specified, we assume default '-' user. The following context
4564
+ # names are reserved for internal use by Dialogflow. You should not use these
4565
+ # contexts or create contexts with these names: * `__system_counters__` * `*
4566
+ # _id_dialog_context` * `*_dialog_params_size`
4798
4567
  # @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Context] google_cloud_dialogflow_v2beta1_context_object
4799
4568
  # @param [String] update_mask
4800
4569
  # Optional. The mask to control which fields get updated.
@@ -4828,19 +4597,15 @@ module Google
4828
4597
  execute_or_queue_command(command, &block)
4829
4598
  end
4830
4599
 
4831
- # Creates a session entity type.
4832
- # If the specified session entity type already exists, overrides the
4833
- # session entity type.
4834
- # This method doesn't work with Google Assistant integration.
4835
- # Contact Dialogflow support if you need to use session entities
4836
- # with Google Assistant integration.
4600
+ # Creates a session entity type. If the specified session entity type already
4601
+ # exists, overrides the session entity type. This method doesn't work with
4602
+ # Google Assistant integration. Contact Dialogflow support if you need to use
4603
+ # session entities with Google Assistant integration.
4837
4604
  # @param [String] parent
4838
- # Required. The session to create a session entity type for.
4839
- # Format: `projects/<Project ID>/agent/sessions/<Session ID>` or
4840
- # `projects/<Project ID>/agent/environments/<Environment ID>/users/<User ID>/
4841
- # sessions/<Session ID>`. If `Environment ID` is not specified, we assume
4842
- # default 'draft' environment. If `User ID` is not specified, we assume
4843
- # default '-' user.
4605
+ # Required. The session to create a session entity type for. Format: `projects//
4606
+ # agent/sessions/` or `projects//agent/environments//users// sessions/`. If `
4607
+ # Environment ID` is not specified, we assume default 'draft' environment. If `
4608
+ # User ID` is not specified, we assume default '-' user.
4844
4609
  # @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SessionEntityType] google_cloud_dialogflow_v2beta1_session_entity_type_object
4845
4610
  # @param [String] fields
4846
4611
  # Selector specifying which fields to include in a partial response.
@@ -4871,16 +4636,13 @@ module Google
4871
4636
  execute_or_queue_command(command, &block)
4872
4637
  end
4873
4638
 
4874
- # Deletes the specified session entity type.
4875
- # This method doesn't work with Google Assistant integration.
4876
- # Contact Dialogflow support if you need to use session entities
4877
- # with Google Assistant integration.
4639
+ # Deletes the specified session entity type. This method doesn't work with
4640
+ # Google Assistant integration. Contact Dialogflow support if you need to use
4641
+ # session entities with Google Assistant integration.
4878
4642
  # @param [String] name
4879
- # Required. The name of the entity type to delete. Format:
4880
- # `projects/<Project ID>/agent/sessions/<Session ID>/entityTypes/<Entity Type
4881
- # Display Name>` or `projects/<Project ID>/agent/environments/<Environment
4882
- # ID>/users/<User ID>/sessions/<Session ID>/entityTypes/<Entity Type Display
4883
- # Name>`. If `Environment ID` is not specified, we assume default 'draft'
4643
+ # Required. The name of the entity type to delete. Format: `projects//agent/
4644
+ # sessions//entityTypes/` or `projects//agent/environments//users//sessions//
4645
+ # entityTypes/`. If `Environment ID` is not specified, we assume default 'draft'
4884
4646
  # environment. If `User ID` is not specified, we assume default '-' user.
4885
4647
  # @param [String] fields
4886
4648
  # Selector specifying which fields to include in a partial response.
@@ -4909,16 +4671,13 @@ module Google
4909
4671
  execute_or_queue_command(command, &block)
4910
4672
  end
4911
4673
 
4912
- # Retrieves the specified session entity type.
4913
- # This method doesn't work with Google Assistant integration.
4914
- # Contact Dialogflow support if you need to use session entities
4915
- # with Google Assistant integration.
4674
+ # Retrieves the specified session entity type. This method doesn't work with
4675
+ # Google Assistant integration. Contact Dialogflow support if you need to use
4676
+ # session entities with Google Assistant integration.
4916
4677
  # @param [String] name
4917
- # Required. The name of the session entity type. Format:
4918
- # `projects/<Project ID>/agent/sessions/<Session ID>/entityTypes/<Entity Type
4919
- # Display Name>` or `projects/<Project ID>/agent/environments/<Environment
4920
- # ID>/users/<User ID>/sessions/<Session ID>/entityTypes/<Entity Type Display
4921
- # Name>`. If `Environment ID` is not specified, we assume default 'draft'
4678
+ # Required. The name of the session entity type. Format: `projects//agent/
4679
+ # sessions//entityTypes/` or `projects//agent/environments//users//sessions//
4680
+ # entityTypes/`. If `Environment ID` is not specified, we assume default 'draft'
4922
4681
  # environment. If `User ID` is not specified, we assume default '-' user.
4923
4682
  # @param [String] fields
4924
4683
  # Selector specifying which fields to include in a partial response.
@@ -4947,20 +4706,17 @@ module Google
4947
4706
  execute_or_queue_command(command, &block)
4948
4707
  end
4949
4708
 
4950
- # Returns the list of all session entity types in the specified session.
4951
- # This method doesn't work with Google Assistant integration.
4952
- # Contact Dialogflow support if you need to use session entities
4953
- # with Google Assistant integration.
4709
+ # Returns the list of all session entity types in the specified session. This
4710
+ # method doesn't work with Google Assistant integration. Contact Dialogflow
4711
+ # support if you need to use session entities with Google Assistant integration.
4954
4712
  # @param [String] parent
4955
- # Required. The session to list all session entity types from.
4956
- # Format: `projects/<Project ID>/agent/sessions/<Session ID>` or
4957
- # `projects/<Project ID>/agent/environments/<Environment ID>/users/<User ID>/
4958
- # sessions/<Session ID>`.
4959
- # If `Environment ID` is not specified, we assume default 'draft'
4960
- # environment. If `User ID` is not specified, we assume default '-' user.
4713
+ # Required. The session to list all session entity types from. Format: `projects/
4714
+ # /agent/sessions/` or `projects//agent/environments//users// sessions/`. If `
4715
+ # Environment ID` is not specified, we assume default 'draft' environment. If `
4716
+ # User ID` is not specified, we assume default '-' user.
4961
4717
  # @param [Fixnum] page_size
4962
- # Optional. The maximum number of items to return in a single page. By
4963
- # default 100 and at most 1000.
4718
+ # Optional. The maximum number of items to return in a single page. By default
4719
+ # 100 and at most 1000.
4964
4720
  # @param [String] page_token
4965
4721
  # Optional. The next_page_token value returned from a previous list request.
4966
4722
  # @param [String] fields
@@ -4992,20 +4748,16 @@ module Google
4992
4748
  execute_or_queue_command(command, &block)
4993
4749
  end
4994
4750
 
4995
- # Updates the specified session entity type.
4996
- # This method doesn't work with Google Assistant integration.
4997
- # Contact Dialogflow support if you need to use session entities
4998
- # with Google Assistant integration.
4751
+ # Updates the specified session entity type. This method doesn't work with
4752
+ # Google Assistant integration. Contact Dialogflow support if you need to use
4753
+ # session entities with Google Assistant integration.
4999
4754
  # @param [String] name
5000
- # Required. The unique identifier of this session entity type. Format:
5001
- # `projects/<Project ID>/agent/sessions/<Session ID>/entityTypes/<Entity Type
5002
- # Display Name>`, or
5003
- # `projects/<Project ID>/agent/environments/<Environment ID>/users/<User
5004
- # ID>/sessions/<Session ID>/entityTypes/<Entity Type Display Name>`.
5005
- # If `Environment ID` is not specified, we assume default 'draft'
5006
- # environment. If `User ID` is not specified, we assume default '-' user.
5007
- # `<Entity Type Display Name>` must be the display name of an existing entity
5008
- # type in the same agent that will be overridden or supplemented.
4755
+ # Required. The unique identifier of this session entity type. Format: `projects/
4756
+ # /agent/sessions//entityTypes/`, or `projects//agent/environments//users//
4757
+ # sessions//entityTypes/`. If `Environment ID` is not specified, we assume
4758
+ # default 'draft' environment. If `User ID` is not specified, we assume default '
4759
+ # -' user. `` must be the display name of an existing entity type in the same
4760
+ # agent that will be overridden or supplemented.
5009
4761
  # @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SessionEntityType] google_cloud_dialogflow_v2beta1_session_entity_type_object
5010
4762
  # @param [String] update_mask
5011
4763
  # Optional. The mask to control which fields get updated.
@@ -5039,15 +4791,13 @@ module Google
5039
4791
  execute_or_queue_command(command, &block)
5040
4792
  end
5041
4793
 
5042
- # Starts asynchronous cancellation on a long-running operation. The server
5043
- # makes a best effort to cancel the operation, but success is not
5044
- # guaranteed. If the server doesn't support this method, it returns
5045
- # `google.rpc.Code.UNIMPLEMENTED`. Clients can use
5046
- # Operations.GetOperation or
5047
- # other methods to check whether the cancellation succeeded or whether the
5048
- # operation completed despite cancellation. On successful cancellation,
5049
- # the operation is not deleted; instead, it becomes an operation with
5050
- # an Operation.error value with a google.rpc.Status.code of 1,
4794
+ # Starts asynchronous cancellation on a long-running operation. The server makes
4795
+ # a best effort to cancel the operation, but success is not guaranteed. If the
4796
+ # server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.
4797
+ # Clients can use Operations.GetOperation or other methods to check whether the
4798
+ # cancellation succeeded or whether the operation completed despite cancellation.
4799
+ # On successful cancellation, the operation is not deleted; instead, it becomes
4800
+ # an operation with an Operation.error value with a google.rpc.Status.code of 1,
5051
4801
  # corresponding to `Code.CANCELLED`.
5052
4802
  # @param [String] name
5053
4803
  # The name of the operation resource to be cancelled.
@@ -5078,9 +4828,8 @@ module Google
5078
4828
  execute_or_queue_command(command, &block)
5079
4829
  end
5080
4830
 
5081
- # Gets the latest state of a long-running operation. Clients can use this
5082
- # method to poll the operation result at intervals as recommended by the API
5083
- # service.
4831
+ # Gets the latest state of a long-running operation. Clients can use this method
4832
+ # to poll the operation result at intervals as recommended by the API service.
5084
4833
  # @param [String] name
5085
4834
  # The name of the operation resource.
5086
4835
  # @param [String] fields
@@ -5110,15 +4859,14 @@ module Google
5110
4859
  execute_or_queue_command(command, &block)
5111
4860
  end
5112
4861
 
5113
- # Lists operations that match the specified filter in the request. If the
5114
- # server doesn't support this method, it returns `UNIMPLEMENTED`.
5115
- # NOTE: the `name` binding allows API services to override the binding
5116
- # to use different resource name schemes, such as `users/*/operations`. To
5117
- # override the binding, API services can add a binding such as
5118
- # `"/v1/`name=users/*`/operations"` to their service configuration.
5119
- # For backwards compatibility, the default name includes the operations
5120
- # collection id, however overriding users must ensure the name binding
5121
- # is the parent resource, without the operations collection id.
4862
+ # Lists operations that match the specified filter in the request. If the server
4863
+ # doesn't support this method, it returns `UNIMPLEMENTED`. NOTE: the `name`
4864
+ # binding allows API services to override the binding to use different resource
4865
+ # name schemes, such as `users/*/operations`. To override the binding, API
4866
+ # services can add a binding such as `"/v1/`name=users/*`/operations"` to their
4867
+ # service configuration. For backwards compatibility, the default name includes
4868
+ # the operations collection id, however overriding users must ensure the name
4869
+ # binding is the parent resource, without the operations collection id.
5122
4870
  # @param [String] name
5123
4871
  # The name of the operation's parent resource.
5124
4872
  # @param [String] filter
@@ -5157,15 +4905,13 @@ module Google
5157
4905
  execute_or_queue_command(command, &block)
5158
4906
  end
5159
4907
 
5160
- # Starts asynchronous cancellation on a long-running operation. The server
5161
- # makes a best effort to cancel the operation, but success is not
5162
- # guaranteed. If the server doesn't support this method, it returns
5163
- # `google.rpc.Code.UNIMPLEMENTED`. Clients can use
5164
- # Operations.GetOperation or
5165
- # other methods to check whether the cancellation succeeded or whether the
5166
- # operation completed despite cancellation. On successful cancellation,
5167
- # the operation is not deleted; instead, it becomes an operation with
5168
- # an Operation.error value with a google.rpc.Status.code of 1,
4908
+ # Starts asynchronous cancellation on a long-running operation. The server makes
4909
+ # a best effort to cancel the operation, but success is not guaranteed. If the
4910
+ # server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.
4911
+ # Clients can use Operations.GetOperation or other methods to check whether the
4912
+ # cancellation succeeded or whether the operation completed despite cancellation.
4913
+ # On successful cancellation, the operation is not deleted; instead, it becomes
4914
+ # an operation with an Operation.error value with a google.rpc.Status.code of 1,
5169
4915
  # corresponding to `Code.CANCELLED`.
5170
4916
  # @param [String] name
5171
4917
  # The name of the operation resource to be cancelled.
@@ -5196,9 +4942,8 @@ module Google
5196
4942
  execute_or_queue_command(command, &block)
5197
4943
  end
5198
4944
 
5199
- # Gets the latest state of a long-running operation. Clients can use this
5200
- # method to poll the operation result at intervals as recommended by the API
5201
- # service.
4945
+ # Gets the latest state of a long-running operation. Clients can use this method
4946
+ # to poll the operation result at intervals as recommended by the API service.
5202
4947
  # @param [String] name
5203
4948
  # The name of the operation resource.
5204
4949
  # @param [String] fields
@@ -5228,15 +4973,14 @@ module Google
5228
4973
  execute_or_queue_command(command, &block)
5229
4974
  end
5230
4975
 
5231
- # Lists operations that match the specified filter in the request. If the
5232
- # server doesn't support this method, it returns `UNIMPLEMENTED`.
5233
- # NOTE: the `name` binding allows API services to override the binding
5234
- # to use different resource name schemes, such as `users/*/operations`. To
5235
- # override the binding, API services can add a binding such as
5236
- # `"/v1/`name=users/*`/operations"` to their service configuration.
5237
- # For backwards compatibility, the default name includes the operations
5238
- # collection id, however overriding users must ensure the name binding
5239
- # is the parent resource, without the operations collection id.
4976
+ # Lists operations that match the specified filter in the request. If the server
4977
+ # doesn't support this method, it returns `UNIMPLEMENTED`. NOTE: the `name`
4978
+ # binding allows API services to override the binding to use different resource
4979
+ # name schemes, such as `users/*/operations`. To override the binding, API
4980
+ # services can add a binding such as `"/v1/`name=users/*`/operations"` to their
4981
+ # service configuration. For backwards compatibility, the default name includes
4982
+ # the operations collection id, however overriding users must ensure the name
4983
+ # binding is the parent resource, without the operations collection id.
5240
4984
  # @param [String] name
5241
4985
  # The name of the operation's parent resource.
5242
4986
  # @param [String] filter