google-api-client 0.29.1 → 0.29.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (472) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +102 -0
  3. data/README.md +1 -1
  4. data/bin/generate-api +4 -2
  5. data/generated/google/apis/abusiveexperiencereport_v1/service.rb +2 -2
  6. data/generated/google/apis/acceleratedmobilepageurl_v1/service.rb +1 -1
  7. data/generated/google/apis/accessapproval_v1beta1.rb +1 -1
  8. data/generated/google/apis/accessapproval_v1beta1/classes.rb +27 -0
  9. data/generated/google/apis/accessapproval_v1beta1/representations.rb +15 -0
  10. data/generated/google/apis/accessapproval_v1beta1/service.rb +18 -18
  11. data/generated/google/apis/accesscontextmanager_v1.rb +1 -1
  12. data/generated/google/apis/accesscontextmanager_v1/classes.rb +1 -1
  13. data/generated/google/apis/accesscontextmanager_v1/service.rb +19 -19
  14. data/generated/google/apis/accesscontextmanager_v1beta.rb +1 -1
  15. data/generated/google/apis/accesscontextmanager_v1beta/classes.rb +1 -1
  16. data/generated/google/apis/accesscontextmanager_v1beta/service.rb +16 -16
  17. data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
  18. data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +0 -69
  19. data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +0 -32
  20. data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +62 -62
  21. data/generated/google/apis/adexchangebuyer_v1_2/service.rb +7 -7
  22. data/generated/google/apis/adexchangebuyer_v1_3/service.rb +21 -21
  23. data/generated/google/apis/adexchangebuyer_v1_4/service.rb +38 -38
  24. data/generated/google/apis/adexperiencereport_v1/service.rb +2 -2
  25. data/generated/google/apis/admin_datatransfer_v1/service.rb +5 -5
  26. data/generated/google/apis/admin_directory_v1/service.rb +113 -113
  27. data/generated/google/apis/admin_reports_v1/service.rb +6 -6
  28. data/generated/google/apis/adsense_v1_4/service.rb +39 -39
  29. data/generated/google/apis/adsensehost_v4_1/service.rb +26 -26
  30. data/generated/google/apis/alertcenter_v1beta1/service.rb +8 -8
  31. data/generated/google/apis/analytics_v2_4/service.rb +6 -6
  32. data/generated/google/apis/analytics_v3/service.rb +88 -88
  33. data/generated/google/apis/analyticsreporting_v4/service.rb +2 -2
  34. data/generated/google/apis/androiddeviceprovisioning_v1.rb +1 -1
  35. data/generated/google/apis/androiddeviceprovisioning_v1/classes.rb +1 -1
  36. data/generated/google/apis/androiddeviceprovisioning_v1/service.rb +26 -26
  37. data/generated/google/apis/androidenterprise_v1/service.rb +85 -85
  38. data/generated/google/apis/androidmanagement_v1.rb +1 -1
  39. data/generated/google/apis/androidmanagement_v1/classes.rb +111 -2
  40. data/generated/google/apis/androidmanagement_v1/representations.rb +48 -0
  41. data/generated/google/apis/androidmanagement_v1/service.rb +26 -26
  42. data/generated/google/apis/androidpublisher_v1/service.rb +2 -2
  43. data/generated/google/apis/androidpublisher_v1_1/service.rb +3 -3
  44. data/generated/google/apis/androidpublisher_v2/service.rb +58 -58
  45. data/generated/google/apis/androidpublisher_v3.rb +1 -1
  46. data/generated/google/apis/androidpublisher_v3/classes.rb +81 -0
  47. data/generated/google/apis/androidpublisher_v3/representations.rb +42 -0
  48. data/generated/google/apis/androidpublisher_v3/service.rb +228 -52
  49. data/generated/google/apis/appengine_v1.rb +1 -1
  50. data/generated/google/apis/appengine_v1/classes.rb +2 -2
  51. data/generated/google/apis/appengine_v1/service.rb +38 -38
  52. data/generated/google/apis/appengine_v1alpha.rb +1 -1
  53. data/generated/google/apis/appengine_v1alpha/classes.rb +2 -2
  54. data/generated/google/apis/appengine_v1alpha/service.rb +15 -15
  55. data/generated/google/apis/appengine_v1beta.rb +1 -1
  56. data/generated/google/apis/appengine_v1beta/classes.rb +2 -2
  57. data/generated/google/apis/appengine_v1beta/service.rb +38 -38
  58. data/generated/google/apis/appengine_v1beta4/service.rb +20 -20
  59. data/generated/google/apis/appengine_v1beta5/service.rb +20 -20
  60. data/generated/google/apis/appsactivity_v1/service.rb +1 -1
  61. data/generated/google/apis/appsmarket_v2/service.rb +3 -3
  62. data/generated/google/apis/appstate_v1/service.rb +5 -5
  63. data/generated/google/apis/bigquery_v2.rb +1 -1
  64. data/generated/google/apis/bigquery_v2/classes.rb +934 -0
  65. data/generated/google/apis/bigquery_v2/representations.rb +367 -0
  66. data/generated/google/apis/bigquery_v2/service.rb +184 -22
  67. data/generated/google/apis/bigquerydatatransfer_v1/service.rb +30 -30
  68. data/generated/google/apis/bigtableadmin_v1/service.rb +2 -2
  69. data/generated/google/apis/bigtableadmin_v2/service.rb +34 -34
  70. data/generated/google/apis/binaryauthorization_v1beta1.rb +1 -1
  71. data/generated/google/apis/binaryauthorization_v1beta1/service.rb +17 -13
  72. data/generated/google/apis/blogger_v2/service.rb +9 -9
  73. data/generated/google/apis/blogger_v3/service.rb +33 -33
  74. data/generated/google/apis/books_v1/service.rb +51 -51
  75. data/generated/google/apis/calendar_v3/service.rb +37 -37
  76. data/generated/google/apis/chat_v1/service.rb +8 -8
  77. data/generated/google/apis/civicinfo_v2/service.rb +5 -5
  78. data/generated/google/apis/classroom_v1.rb +1 -1
  79. data/generated/google/apis/classroom_v1/service.rb +57 -56
  80. data/generated/google/apis/cloudasset_v1/service.rb +3 -3
  81. data/generated/google/apis/cloudasset_v1beta1/service.rb +8 -8
  82. data/generated/google/apis/cloudbilling_v1/service.rb +12 -12
  83. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  84. data/generated/google/apis/cloudbuild_v1/classes.rb +1 -1
  85. data/generated/google/apis/cloudbuild_v1/service.rb +14 -14
  86. data/generated/google/apis/cloudbuild_v1alpha1/service.rb +5 -5
  87. data/generated/google/apis/clouddebugger_v2/service.rb +8 -8
  88. data/generated/google/apis/clouderrorreporting_v1beta1/service.rb +6 -6
  89. data/generated/google/apis/cloudfunctions_v1.rb +1 -1
  90. data/generated/google/apis/cloudfunctions_v1/classes.rb +1 -1
  91. data/generated/google/apis/cloudfunctions_v1/service.rb +14 -14
  92. data/generated/google/apis/cloudfunctions_v1beta2.rb +1 -1
  93. data/generated/google/apis/cloudfunctions_v1beta2/classes.rb +1 -1
  94. data/generated/google/apis/cloudfunctions_v1beta2/service.rb +11 -11
  95. data/generated/google/apis/cloudidentity_v1.rb +1 -1
  96. data/generated/google/apis/cloudidentity_v1/classes.rb +1 -1
  97. data/generated/google/apis/cloudidentity_v1/service.rb +12 -12
  98. data/generated/google/apis/cloudidentity_v1beta1.rb +1 -1
  99. data/generated/google/apis/cloudidentity_v1beta1/classes.rb +1 -1
  100. data/generated/google/apis/cloudidentity_v1beta1/service.rb +11 -11
  101. data/generated/google/apis/cloudiot_v1.rb +1 -1
  102. data/generated/google/apis/cloudiot_v1/service.rb +23 -330
  103. data/generated/google/apis/cloudkms_v1/service.rb +30 -30
  104. data/generated/google/apis/cloudprivatecatalog_v1beta1.rb +2 -2
  105. data/generated/google/apis/cloudprivatecatalog_v1beta1/service.rb +10 -10
  106. data/generated/google/apis/cloudprivatecatalogproducer_v1beta1.rb +2 -2
  107. data/generated/google/apis/cloudprivatecatalogproducer_v1beta1/classes.rb +1 -1
  108. data/generated/google/apis/cloudprivatecatalogproducer_v1beta1/service.rb +30 -30
  109. data/generated/google/apis/cloudprofiler_v2/service.rb +3 -3
  110. data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
  111. data/generated/google/apis/cloudresourcemanager_v1/classes.rb +1 -1
  112. data/generated/google/apis/cloudresourcemanager_v1/service.rb +38 -38
  113. data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +16 -16
  114. data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
  115. data/generated/google/apis/cloudresourcemanager_v2/classes.rb +1 -1
  116. data/generated/google/apis/cloudresourcemanager_v2/service.rb +12 -12
  117. data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
  118. data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +1 -1
  119. data/generated/google/apis/cloudresourcemanager_v2beta1/service.rb +12 -12
  120. data/generated/google/apis/cloudscheduler_v1/service.rb +10 -10
  121. data/generated/google/apis/cloudscheduler_v1beta1/service.rb +10 -10
  122. data/generated/google/apis/cloudsearch_v1.rb +1 -1
  123. data/generated/google/apis/cloudsearch_v1/classes.rb +1 -1
  124. data/generated/google/apis/cloudsearch_v1/service.rb +35 -35
  125. data/generated/google/apis/cloudshell_v1.rb +1 -1
  126. data/generated/google/apis/cloudshell_v1/classes.rb +1 -1
  127. data/generated/google/apis/cloudshell_v1/service.rb +4 -4
  128. data/generated/google/apis/cloudshell_v1alpha1.rb +1 -1
  129. data/generated/google/apis/cloudshell_v1alpha1/classes.rb +1 -1
  130. data/generated/google/apis/cloudshell_v1alpha1/service.rb +6 -6
  131. data/generated/google/apis/cloudtasks_v2.rb +1 -1
  132. data/generated/google/apis/cloudtasks_v2/classes.rb +22 -18
  133. data/generated/google/apis/cloudtasks_v2/service.rb +24 -24
  134. data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
  135. data/generated/google/apis/cloudtasks_v2beta2/classes.rb +22 -14
  136. data/generated/google/apis/cloudtasks_v2beta2/service.rb +28 -28
  137. data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
  138. data/generated/google/apis/cloudtasks_v2beta3/classes.rb +266 -18
  139. data/generated/google/apis/cloudtasks_v2beta3/representations.rb +65 -0
  140. data/generated/google/apis/cloudtasks_v2beta3/service.rb +24 -24
  141. data/generated/google/apis/cloudtrace_v1/service.rb +3 -3
  142. data/generated/google/apis/cloudtrace_v2/service.rb +2 -2
  143. data/generated/google/apis/commentanalyzer_v1alpha1/service.rb +2 -2
  144. data/generated/google/apis/composer_v1/service.rb +9 -9
  145. data/generated/google/apis/composer_v1beta1/service.rb +9 -9
  146. data/generated/google/apis/compute_alpha.rb +1 -1
  147. data/generated/google/apis/compute_alpha/classes.rb +29 -0
  148. data/generated/google/apis/compute_alpha/representations.rb +15 -0
  149. data/generated/google/apis/compute_alpha/service.rb +625 -623
  150. data/generated/google/apis/compute_beta.rb +1 -1
  151. data/generated/google/apis/compute_beta/service.rb +504 -503
  152. data/generated/google/apis/compute_v1.rb +1 -1
  153. data/generated/google/apis/compute_v1/service.rb +411 -410
  154. data/generated/google/apis/container_v1.rb +1 -1
  155. data/generated/google/apis/container_v1/classes.rb +2 -1
  156. data/generated/google/apis/container_v1/service.rb +63 -63
  157. data/generated/google/apis/container_v1beta1.rb +1 -1
  158. data/generated/google/apis/container_v1beta1/classes.rb +52 -4
  159. data/generated/google/apis/container_v1beta1/representations.rb +20 -0
  160. data/generated/google/apis/container_v1beta1/service.rb +64 -64
  161. data/generated/google/apis/containeranalysis_v1alpha1.rb +1 -1
  162. data/generated/google/apis/containeranalysis_v1alpha1/classes.rb +1 -1
  163. data/generated/google/apis/containeranalysis_v1alpha1/service.rb +33 -33
  164. data/generated/google/apis/containeranalysis_v1beta1/service.rb +24 -24
  165. data/generated/google/apis/content_v2.rb +1 -1
  166. data/generated/google/apis/content_v2/classes.rb +9 -3
  167. data/generated/google/apis/content_v2/service.rb +101 -105
  168. data/generated/google/apis/content_v2_1.rb +1 -1
  169. data/generated/google/apis/content_v2_1/classes.rb +9 -3
  170. data/generated/google/apis/content_v2_1/service.rb +89 -93
  171. data/generated/google/apis/customsearch_v1/service.rb +2 -2
  172. data/generated/google/apis/dataflow_v1b3.rb +1 -1
  173. data/generated/google/apis/dataflow_v1b3/classes.rb +22 -1
  174. data/generated/google/apis/dataflow_v1b3/representations.rb +3 -0
  175. data/generated/google/apis/dataflow_v1b3/service.rb +38 -38
  176. data/generated/google/apis/datafusion_v1beta1.rb +1 -1
  177. data/generated/google/apis/datafusion_v1beta1/classes.rb +1 -1
  178. data/generated/google/apis/datafusion_v1beta1/service.rb +16 -16
  179. data/generated/google/apis/dataproc_v1.rb +1 -1
  180. data/generated/google/apis/dataproc_v1/classes.rb +2 -2
  181. data/generated/google/apis/dataproc_v1/service.rb +261 -45
  182. data/generated/google/apis/dataproc_v1beta2.rb +1 -1
  183. data/generated/google/apis/dataproc_v1beta2/classes.rb +2 -2
  184. data/generated/google/apis/dataproc_v1beta2/service.rb +62 -65
  185. data/generated/google/apis/datastore_v1.rb +1 -1
  186. data/generated/google/apis/datastore_v1/service.rb +15 -15
  187. data/generated/google/apis/datastore_v1beta1/service.rb +2 -2
  188. data/generated/google/apis/datastore_v1beta3.rb +1 -1
  189. data/generated/google/apis/datastore_v1beta3/service.rb +7 -7
  190. data/generated/google/apis/deploymentmanager_alpha/service.rb +37 -37
  191. data/generated/google/apis/deploymentmanager_v2/service.rb +18 -18
  192. data/generated/google/apis/deploymentmanager_v2beta/service.rb +32 -32
  193. data/generated/google/apis/dfareporting_v3_1/service.rb +206 -206
  194. data/generated/google/apis/dfareporting_v3_2/service.rb +206 -206
  195. data/generated/google/apis/dfareporting_v3_3/service.rb +204 -204
  196. data/generated/google/apis/dialogflow_v2.rb +1 -1
  197. data/generated/google/apis/dialogflow_v2/classes.rb +5 -5
  198. data/generated/google/apis/dialogflow_v2/service.rb +36 -36
  199. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  200. data/generated/google/apis/dialogflow_v2beta1/classes.rb +9 -9
  201. data/generated/google/apis/dialogflow_v2beta1/service.rb +114 -70
  202. data/generated/google/apis/digitalassetlinks_v1/service.rb +2 -2
  203. data/generated/google/apis/discovery_v1/service.rb +2 -2
  204. data/generated/google/apis/dlp_v2.rb +1 -1
  205. data/generated/google/apis/dlp_v2/classes.rb +8 -2
  206. data/generated/google/apis/dlp_v2/service.rb +51 -46
  207. data/generated/google/apis/dns_v1/service.rb +15 -15
  208. data/generated/google/apis/dns_v1beta2/service.rb +21 -21
  209. data/generated/google/apis/dns_v2beta1/service.rb +15 -15
  210. data/generated/google/apis/docs_v1.rb +1 -1
  211. data/generated/google/apis/docs_v1/classes.rb +137 -0
  212. data/generated/google/apis/docs_v1/representations.rb +57 -0
  213. data/generated/google/apis/docs_v1/service.rb +3 -3
  214. data/generated/google/apis/doubleclickbidmanager_v1/service.rb +9 -9
  215. data/generated/google/apis/doubleclicksearch_v2/service.rb +10 -10
  216. data/generated/google/apis/drive_v2/service.rb +74 -74
  217. data/generated/google/apis/drive_v3/service.rb +46 -46
  218. data/generated/google/apis/driveactivity_v2/service.rb +1 -1
  219. data/generated/google/apis/factchecktools_v1alpha1/service.rb +6 -6
  220. data/generated/google/apis/fcm_v1.rb +35 -0
  221. data/generated/google/apis/fcm_v1/classes.rb +424 -0
  222. data/generated/google/apis/fcm_v1/representations.rb +167 -0
  223. data/generated/google/apis/fcm_v1/service.rb +97 -0
  224. data/generated/google/apis/file_v1.rb +1 -1
  225. data/generated/google/apis/file_v1/classes.rb +52 -1
  226. data/generated/google/apis/file_v1/representations.rb +16 -0
  227. data/generated/google/apis/file_v1/service.rb +11 -11
  228. data/generated/google/apis/file_v1beta1.rb +1 -1
  229. data/generated/google/apis/file_v1beta1/classes.rb +52 -1
  230. data/generated/google/apis/file_v1beta1/representations.rb +16 -0
  231. data/generated/google/apis/file_v1beta1/service.rb +11 -11
  232. data/generated/google/apis/firebasedynamiclinks_v1/service.rb +5 -5
  233. data/generated/google/apis/firebasehosting_v1beta1/service.rb +14 -14
  234. data/generated/google/apis/firebaserules_v1/service.rb +11 -11
  235. data/generated/google/apis/firestore_v1/service.rb +28 -28
  236. data/generated/google/apis/firestore_v1beta1/service.rb +19 -19
  237. data/generated/google/apis/firestore_v1beta2/service.rb +9 -9
  238. data/generated/google/apis/fitness_v1/service.rb +13 -13
  239. data/generated/google/apis/fusiontables_v1/service.rb +32 -32
  240. data/generated/google/apis/fusiontables_v2/service.rb +34 -34
  241. data/generated/google/apis/games_configuration_v1configuration/service.rb +13 -13
  242. data/generated/google/apis/games_management_v1management/service.rb +27 -27
  243. data/generated/google/apis/games_v1/service.rb +53 -53
  244. data/generated/google/apis/genomics_v1.rb +1 -1
  245. data/generated/google/apis/genomics_v1/service.rb +3 -3
  246. data/generated/google/apis/genomics_v1alpha2.rb +1 -1
  247. data/generated/google/apis/genomics_v1alpha2/classes.rb +2 -2
  248. data/generated/google/apis/genomics_v1alpha2/service.rb +10 -10
  249. data/generated/google/apis/genomics_v2alpha1.rb +1 -1
  250. data/generated/google/apis/genomics_v2alpha1/classes.rb +7 -0
  251. data/generated/google/apis/genomics_v2alpha1/representations.rb +1 -0
  252. data/generated/google/apis/genomics_v2alpha1/service.rb +5 -5
  253. data/generated/google/apis/gmail_v1/service.rb +68 -68
  254. data/generated/google/apis/groupsmigration_v1/service.rb +1 -1
  255. data/generated/google/apis/groupssettings_v1/service.rb +3 -3
  256. data/generated/google/apis/healthcare_v1alpha2.rb +34 -0
  257. data/generated/google/apis/healthcare_v1alpha2/classes.rb +2849 -0
  258. data/generated/google/apis/healthcare_v1alpha2/representations.rb +1260 -0
  259. data/generated/google/apis/healthcare_v1alpha2/service.rb +4011 -0
  260. data/generated/google/apis/healthcare_v1beta1.rb +1 -1
  261. data/generated/google/apis/healthcare_v1beta1/classes.rb +4 -2
  262. data/generated/google/apis/healthcare_v1beta1/service.rb +97 -87
  263. data/generated/google/apis/iam_v1/service.rb +36 -36
  264. data/generated/google/apis/iamcredentials_v1/service.rb +5 -5
  265. data/generated/google/apis/iap_v1/service.rb +3 -3
  266. data/generated/google/apis/iap_v1beta1/service.rb +3 -3
  267. data/generated/google/apis/identitytoolkit_v3/service.rb +20 -20
  268. data/generated/google/apis/indexing_v3/service.rb +2 -2
  269. data/generated/google/apis/jobs_v2/service.rb +17 -17
  270. data/generated/google/apis/jobs_v3/service.rb +15 -15
  271. data/generated/google/apis/jobs_v3p1beta1.rb +1 -1
  272. data/generated/google/apis/jobs_v3p1beta1/classes.rb +2 -2
  273. data/generated/google/apis/jobs_v3p1beta1/service.rb +16 -16
  274. data/generated/google/apis/kgsearch_v1/service.rb +1 -1
  275. data/generated/google/apis/language_v1.rb +1 -1
  276. data/generated/google/apis/language_v1/service.rb +6 -6
  277. data/generated/google/apis/language_v1beta1/service.rb +4 -4
  278. data/generated/google/apis/language_v1beta2.rb +1 -1
  279. data/generated/google/apis/language_v1beta2/service.rb +6 -6
  280. data/generated/google/apis/libraryagent_v1/service.rb +6 -6
  281. data/generated/google/apis/licensing_v1/service.rb +7 -7
  282. data/generated/google/apis/logging_v2.rb +1 -1
  283. data/generated/google/apis/logging_v2/classes.rb +6 -0
  284. data/generated/google/apis/logging_v2/representations.rb +1 -0
  285. data/generated/google/apis/logging_v2/service.rb +72 -72
  286. data/generated/google/apis/manufacturers_v1/service.rb +4 -4
  287. data/generated/google/apis/mirror_v1/service.rb +24 -24
  288. data/generated/google/apis/ml_v1.rb +1 -1
  289. data/generated/google/apis/ml_v1/classes.rb +73 -55
  290. data/generated/google/apis/ml_v1/service.rb +31 -31
  291. data/generated/google/apis/monitoring_v3.rb +1 -1
  292. data/generated/google/apis/monitoring_v3/classes.rb +14 -1
  293. data/generated/google/apis/monitoring_v3/representations.rb +2 -0
  294. data/generated/google/apis/monitoring_v3/service.rb +36 -36
  295. data/generated/google/apis/oauth2_v1/service.rb +3 -3
  296. data/generated/google/apis/oauth2_v2/service.rb +4 -4
  297. data/generated/google/apis/oslogin_v1/service.rb +6 -6
  298. data/generated/google/apis/oslogin_v1alpha/service.rb +6 -6
  299. data/generated/google/apis/oslogin_v1beta/service.rb +6 -6
  300. data/generated/google/apis/pagespeedonline_v1/service.rb +1 -1
  301. data/generated/google/apis/pagespeedonline_v2/service.rb +1 -1
  302. data/generated/google/apis/pagespeedonline_v4/service.rb +1 -1
  303. data/generated/google/apis/pagespeedonline_v5.rb +1 -1
  304. data/generated/google/apis/pagespeedonline_v5/classes.rb +43 -0
  305. data/generated/google/apis/pagespeedonline_v5/representations.rb +18 -0
  306. data/generated/google/apis/pagespeedonline_v5/service.rb +1 -1
  307. data/generated/google/apis/people_v1.rb +1 -1
  308. data/generated/google/apis/people_v1/service.rb +13 -13
  309. data/generated/google/apis/playcustomapp_v1/service.rb +1 -1
  310. data/generated/google/apis/plus_domains_v1/service.rb +10 -10
  311. data/generated/google/apis/plus_v1/service.rb +9 -9
  312. data/generated/google/apis/poly_v1/service.rb +4 -4
  313. data/generated/google/apis/proximitybeacon_v1beta1/service.rb +17 -17
  314. data/generated/google/apis/pubsub_v1.rb +1 -1
  315. data/generated/google/apis/pubsub_v1/service.rb +32 -32
  316. data/generated/google/apis/pubsub_v1beta1a/service.rb +15 -15
  317. data/generated/google/apis/pubsub_v1beta2/service.rb +20 -20
  318. data/generated/google/apis/redis_v1.rb +1 -1
  319. data/generated/google/apis/redis_v1/service.rb +19 -19
  320. data/generated/google/apis/redis_v1beta1.rb +1 -1
  321. data/generated/google/apis/redis_v1beta1/classes.rb +1 -1
  322. data/generated/google/apis/redis_v1beta1/service.rb +15 -15
  323. data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
  324. data/generated/google/apis/remotebuildexecution_v1/classes.rb +1 -1
  325. data/generated/google/apis/remotebuildexecution_v1/service.rb +7 -7
  326. data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
  327. data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +1 -1
  328. data/generated/google/apis/remotebuildexecution_v1alpha/service.rb +10 -10
  329. data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
  330. data/generated/google/apis/remotebuildexecution_v2/classes.rb +1 -1
  331. data/generated/google/apis/remotebuildexecution_v2/service.rb +9 -9
  332. data/generated/google/apis/replicapool_v1beta1/service.rb +10 -10
  333. data/generated/google/apis/reseller_v1/service.rb +17 -17
  334. data/generated/google/apis/run_v1/service.rb +1 -1
  335. data/generated/google/apis/run_v1alpha1.rb +1 -1
  336. data/generated/google/apis/run_v1alpha1/classes.rb +427 -0
  337. data/generated/google/apis/run_v1alpha1/representations.rb +162 -0
  338. data/generated/google/apis/run_v1alpha1/service.rb +446 -38
  339. data/generated/google/apis/runtimeconfig_v1.rb +1 -1
  340. data/generated/google/apis/runtimeconfig_v1/classes.rb +1 -1
  341. data/generated/google/apis/runtimeconfig_v1/service.rb +3 -3
  342. data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
  343. data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +1 -1
  344. data/generated/google/apis/runtimeconfig_v1beta1/service.rb +22 -22
  345. data/generated/google/apis/safebrowsing_v4/service.rb +7 -7
  346. data/generated/google/apis/script_v1.rb +1 -1
  347. data/generated/google/apis/script_v1/classes.rb +167 -0
  348. data/generated/google/apis/script_v1/representations.rb +79 -0
  349. data/generated/google/apis/script_v1/service.rb +16 -16
  350. data/generated/google/apis/searchconsole_v1/service.rb +1 -1
  351. data/generated/google/apis/securitycenter_v1.rb +1 -1
  352. data/generated/google/apis/securitycenter_v1/classes.rb +1 -1
  353. data/generated/google/apis/securitycenter_v1/service.rb +23 -23
  354. data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
  355. data/generated/google/apis/securitycenter_v1beta1/classes.rb +1 -1
  356. data/generated/google/apis/securitycenter_v1beta1/service.rb +23 -23
  357. data/generated/google/apis/servicebroker_v1/service.rb +3 -3
  358. data/generated/google/apis/servicebroker_v1alpha1/service.rb +16 -16
  359. data/generated/google/apis/servicebroker_v1beta1/service.rb +21 -21
  360. data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
  361. data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +8 -60
  362. data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +1 -29
  363. data/generated/google/apis/serviceconsumermanagement_v1/service.rb +14 -14
  364. data/generated/google/apis/servicecontrol_v1.rb +1 -1
  365. data/generated/google/apis/servicecontrol_v1/classes.rb +12 -0
  366. data/generated/google/apis/servicecontrol_v1/representations.rb +2 -0
  367. data/generated/google/apis/servicecontrol_v1/service.rb +3 -3
  368. data/generated/google/apis/servicemanagement_v1.rb +1 -1
  369. data/generated/google/apis/servicemanagement_v1/classes.rb +40 -60
  370. data/generated/google/apis/servicemanagement_v1/representations.rb +13 -26
  371. data/generated/google/apis/servicemanagement_v1/service.rb +24 -24
  372. data/generated/google/apis/servicenetworking_v1.rb +1 -1
  373. data/generated/google/apis/servicenetworking_v1/classes.rb +8 -60
  374. data/generated/google/apis/servicenetworking_v1/representations.rb +1 -29
  375. data/generated/google/apis/servicenetworking_v1/service.rb +9 -9
  376. data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
  377. data/generated/google/apis/servicenetworking_v1beta/classes.rb +8 -60
  378. data/generated/google/apis/servicenetworking_v1beta/representations.rb +1 -29
  379. data/generated/google/apis/servicenetworking_v1beta/service.rb +6 -6
  380. data/generated/google/apis/serviceusage_v1.rb +1 -1
  381. data/generated/google/apis/serviceusage_v1/classes.rb +8 -60
  382. data/generated/google/apis/serviceusage_v1/representations.rb +1 -29
  383. data/generated/google/apis/serviceusage_v1/service.rb +17 -19
  384. data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
  385. data/generated/google/apis/serviceusage_v1beta1/classes.rb +8 -60
  386. data/generated/google/apis/serviceusage_v1beta1/representations.rb +1 -29
  387. data/generated/google/apis/serviceusage_v1beta1/service.rb +7 -7
  388. data/generated/google/apis/sheets_v4.rb +1 -1
  389. data/generated/google/apis/sheets_v4/service.rb +17 -17
  390. data/generated/google/apis/site_verification_v1/service.rb +7 -7
  391. data/generated/google/apis/slides_v1/service.rb +5 -5
  392. data/generated/google/apis/sourcerepo_v1/service.rb +11 -11
  393. data/generated/google/apis/spanner_v1.rb +1 -1
  394. data/generated/google/apis/spanner_v1/classes.rb +3 -3
  395. data/generated/google/apis/spanner_v1/service.rb +41 -41
  396. data/generated/google/apis/speech_v1.rb +1 -1
  397. data/generated/google/apis/speech_v1/classes.rb +2 -2
  398. data/generated/google/apis/speech_v1/service.rb +7 -7
  399. data/generated/google/apis/speech_v1p1beta1.rb +1 -1
  400. data/generated/google/apis/speech_v1p1beta1/classes.rb +2 -2
  401. data/generated/google/apis/speech_v1p1beta1/service.rb +7 -7
  402. data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
  403. data/generated/google/apis/sqladmin_v1beta4/classes.rb +12 -0
  404. data/generated/google/apis/sqladmin_v1beta4/representations.rb +2 -0
  405. data/generated/google/apis/sqladmin_v1beta4/service.rb +44 -44
  406. data/generated/google/apis/storage_v1/service.rb +52 -52
  407. data/generated/google/apis/storage_v1beta1/service.rb +24 -24
  408. data/generated/google/apis/storage_v1beta2/service.rb +34 -34
  409. data/generated/google/apis/storagetransfer_v1.rb +1 -1
  410. data/generated/google/apis/storagetransfer_v1/classes.rb +13 -20
  411. data/generated/google/apis/storagetransfer_v1/service.rb +31 -32
  412. data/generated/google/apis/streetviewpublish_v1.rb +1 -1
  413. data/generated/google/apis/streetviewpublish_v1/classes.rb +1 -1
  414. data/generated/google/apis/streetviewpublish_v1/service.rb +9 -9
  415. data/generated/google/apis/surveys_v2/service.rb +8 -8
  416. data/generated/google/apis/tagmanager_v1/service.rb +49 -49
  417. data/generated/google/apis/tagmanager_v2/service.rb +74 -74
  418. data/generated/google/apis/tasks_v1/service.rb +14 -14
  419. data/generated/google/apis/testing_v1.rb +1 -1
  420. data/generated/google/apis/testing_v1/classes.rb +25 -12
  421. data/generated/google/apis/testing_v1/representations.rb +2 -0
  422. data/generated/google/apis/testing_v1/service.rb +5 -5
  423. data/generated/google/apis/texttospeech_v1/service.rb +2 -2
  424. data/generated/google/apis/texttospeech_v1beta1/service.rb +2 -2
  425. data/generated/google/apis/toolresults_v1beta3.rb +1 -1
  426. data/generated/google/apis/toolresults_v1beta3/classes.rb +8 -17
  427. data/generated/google/apis/toolresults_v1beta3/service.rb +26 -26
  428. data/generated/google/apis/tpu_v1.rb +1 -1
  429. data/generated/google/apis/tpu_v1/classes.rb +1 -1
  430. data/generated/google/apis/tpu_v1/service.rb +17 -17
  431. data/generated/google/apis/tpu_v1alpha1.rb +1 -1
  432. data/generated/google/apis/tpu_v1alpha1/classes.rb +1 -1
  433. data/generated/google/apis/tpu_v1alpha1/service.rb +17 -17
  434. data/generated/google/apis/translate_v2/service.rb +5 -5
  435. data/generated/google/apis/urlshortener_v1/service.rb +3 -3
  436. data/generated/google/apis/vault_v1/service.rb +28 -28
  437. data/generated/google/apis/videointelligence_v1/service.rb +5 -5
  438. data/generated/google/apis/videointelligence_v1beta2/service.rb +1 -1
  439. data/generated/google/apis/videointelligence_v1p1beta1/service.rb +1 -1
  440. data/generated/google/apis/videointelligence_v1p2beta1/service.rb +1 -1
  441. data/generated/google/apis/videointelligence_v1p3beta1/service.rb +1 -1
  442. data/generated/google/apis/vision_v1.rb +1 -1
  443. data/generated/google/apis/vision_v1/classes.rb +2372 -73
  444. data/generated/google/apis/vision_v1/representations.rb +1643 -651
  445. data/generated/google/apis/vision_v1/service.rb +98 -35
  446. data/generated/google/apis/vision_v1p1beta1.rb +1 -1
  447. data/generated/google/apis/vision_v1p1beta1/classes.rb +2371 -52
  448. data/generated/google/apis/vision_v1p1beta1/representations.rb +1733 -727
  449. data/generated/google/apis/vision_v1p1beta1/service.rb +73 -2
  450. data/generated/google/apis/vision_v1p2beta1.rb +1 -1
  451. data/generated/google/apis/vision_v1p2beta1/classes.rb +2371 -52
  452. data/generated/google/apis/vision_v1p2beta1/representations.rb +1733 -727
  453. data/generated/google/apis/vision_v1p2beta1/service.rb +73 -2
  454. data/generated/google/apis/webfonts_v1/service.rb +1 -1
  455. data/generated/google/apis/webmasters_v3/service.rb +9 -9
  456. data/generated/google/apis/websecurityscanner_v1alpha/service.rb +13 -13
  457. data/generated/google/apis/websecurityscanner_v1beta.rb +1 -1
  458. data/generated/google/apis/websecurityscanner_v1beta/service.rb +13 -13
  459. data/generated/google/apis/youtube_analytics_v1/service.rb +8 -8
  460. data/generated/google/apis/youtube_analytics_v1beta1/service.rb +8 -8
  461. data/generated/google/apis/youtube_analytics_v2/service.rb +8 -8
  462. data/generated/google/apis/youtube_partner_v1/service.rb +74 -74
  463. data/generated/google/apis/youtube_v3.rb +1 -1
  464. data/generated/google/apis/youtube_v3/service.rb +71 -71
  465. data/generated/google/apis/youtubereporting_v1/service.rb +8 -8
  466. data/google-api-client.gemspec +1 -1
  467. data/lib/google/apis/core/json_representation.rb +4 -0
  468. data/lib/google/apis/core/upload.rb +3 -3
  469. data/lib/google/apis/generator/templates/_method.tmpl +3 -3
  470. data/lib/google/apis/version.rb +1 -1
  471. metadata +13 -6
  472. data/samples/web/.env +0 -2
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://cloud.google.com/dialogflow-enterprise/
27
27
  module DialogflowV2
28
28
  VERSION = 'V2'
29
- REVISION = '20190429'
29
+ REVISION = '20190514'
30
30
 
31
31
  # View and manage your data across Google Cloud Platform services
32
32
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
@@ -882,8 +882,8 @@ module Google
882
882
  # @return [String]
883
883
  attr_accessor :action
884
884
 
885
- # Optional. The list of platforms for which the first response will be
886
- # taken from among the messages assigned to the DEFAULT_PLATFORM.
885
+ # Optional. The list of platforms for which the first responses will be
886
+ # copied from the messages in PLATFORM_UNSPECIFIED (i.e. default platform).
887
887
  # Corresponds to the JSON property `defaultResponsePlatforms`
888
888
  # @return [Array<String>]
889
889
  attr_accessor :default_response_platforms
@@ -2948,8 +2948,8 @@ module Google
2948
2948
  # @return [String]
2949
2949
  attr_accessor :action
2950
2950
 
2951
- # Optional. The list of platforms for which the first response will be
2952
- # taken from among the messages assigned to the DEFAULT_PLATFORM.
2951
+ # Optional. The list of platforms for which the first responses will be
2952
+ # copied from the messages in PLATFORM_UNSPECIFIED (i.e. default platform).
2953
2953
  # Corresponds to the JSON property `defaultResponsePlatforms`
2954
2954
  # @return [Array<String>]
2955
2955
  attr_accessor :default_response_platforms
@@ -4538,7 +4538,7 @@ module Google
4538
4538
 
4539
4539
  # The server-assigned name, which is only unique within the same service that
4540
4540
  # originally returns it. If you use the default HTTP mapping, the
4541
- # `name` should have the format of `operations/some/unique/name`.
4541
+ # `name` should be a resource name ending with `operations/`unique_id``.
4542
4542
  # Corresponds to the JSON property `name`
4543
4543
  # @return [String]
4544
4544
  attr_accessor :name
@@ -70,7 +70,7 @@ module Google
70
70
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
71
71
  # @raise [Google::Apis::AuthorizationError] Authorization is required
72
72
  def get_project_agent(parent, fields: nil, quota_user: nil, options: nil, &block)
73
- command = make_simple_command(:get, 'v2/{+parent}/agent', options)
73
+ command = make_simple_command(:get, 'v2/{+parent}/agent', options)
74
74
  command.response_representation = Google::Apis::DialogflowV2::GoogleCloudDialogflowV2Agent::Representation
75
75
  command.response_class = Google::Apis::DialogflowV2::GoogleCloudDialogflowV2Agent
76
76
  command.params['parent'] = parent unless parent.nil?
@@ -103,7 +103,7 @@ module Google
103
103
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
104
104
  # @raise [Google::Apis::AuthorizationError] Authorization is required
105
105
  def export_project_agent(parent, google_cloud_dialogflow_v2_export_agent_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
106
- command = make_simple_command(:post, 'v2/{+parent}/agent:export', options)
106
+ command = make_simple_command(:post, 'v2/{+parent}/agent:export', options)
107
107
  command.request_representation = Google::Apis::DialogflowV2::GoogleCloudDialogflowV2ExportAgentRequest::Representation
108
108
  command.request_object = google_cloud_dialogflow_v2_export_agent_request_object
109
109
  command.response_representation = Google::Apis::DialogflowV2::GoogleLongrunningOperation::Representation
@@ -141,7 +141,7 @@ module Google
141
141
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
142
142
  # @raise [Google::Apis::AuthorizationError] Authorization is required
143
143
  def import_project_agent(parent, google_cloud_dialogflow_v2_import_agent_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
144
- command = make_simple_command(:post, 'v2/{+parent}/agent:import', options)
144
+ command = make_simple_command(:post, 'v2/{+parent}/agent:import', options)
145
145
  command.request_representation = Google::Apis::DialogflowV2::GoogleCloudDialogflowV2ImportAgentRequest::Representation
146
146
  command.request_object = google_cloud_dialogflow_v2_import_agent_request_object
147
147
  command.response_representation = Google::Apis::DialogflowV2::GoogleLongrunningOperation::Representation
@@ -178,7 +178,7 @@ module Google
178
178
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
179
179
  # @raise [Google::Apis::AuthorizationError] Authorization is required
180
180
  def restore_project_agent(parent, google_cloud_dialogflow_v2_restore_agent_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
181
- command = make_simple_command(:post, 'v2/{+parent}/agent:restore', options)
181
+ command = make_simple_command(:post, 'v2/{+parent}/agent:restore', options)
182
182
  command.request_representation = Google::Apis::DialogflowV2::GoogleCloudDialogflowV2RestoreAgentRequest::Representation
183
183
  command.request_object = google_cloud_dialogflow_v2_restore_agent_request_object
184
184
  command.response_representation = Google::Apis::DialogflowV2::GoogleLongrunningOperation::Representation
@@ -222,7 +222,7 @@ module Google
222
222
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
223
223
  # @raise [Google::Apis::AuthorizationError] Authorization is required
224
224
  def search_project_agents(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
225
- command = make_simple_command(:get, 'v2/{+parent}/agent:search', options)
225
+ command = make_simple_command(:get, 'v2/{+parent}/agent:search', options)
226
226
  command.response_representation = Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SearchAgentsResponse::Representation
227
227
  command.response_class = Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SearchAgentsResponse
228
228
  command.params['parent'] = parent unless parent.nil?
@@ -257,7 +257,7 @@ module Google
257
257
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
258
258
  # @raise [Google::Apis::AuthorizationError] Authorization is required
259
259
  def train_project_agent(parent, google_cloud_dialogflow_v2_train_agent_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
260
- command = make_simple_command(:post, 'v2/{+parent}/agent:train', options)
260
+ command = make_simple_command(:post, 'v2/{+parent}/agent:train', options)
261
261
  command.request_representation = Google::Apis::DialogflowV2::GoogleCloudDialogflowV2TrainAgentRequest::Representation
262
262
  command.request_object = google_cloud_dialogflow_v2_train_agent_request_object
263
263
  command.response_representation = Google::Apis::DialogflowV2::GoogleLongrunningOperation::Representation
@@ -292,7 +292,7 @@ module Google
292
292
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
293
293
  # @raise [Google::Apis::AuthorizationError] Authorization is required
294
294
  def batch_project_agent_entity_type_delete(parent, google_cloud_dialogflow_v2_batch_delete_entity_types_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
295
- command = make_simple_command(:post, 'v2/{+parent}/entityTypes:batchDelete', options)
295
+ command = make_simple_command(:post, 'v2/{+parent}/entityTypes:batchDelete', options)
296
296
  command.request_representation = Google::Apis::DialogflowV2::GoogleCloudDialogflowV2BatchDeleteEntityTypesRequest::Representation
297
297
  command.request_object = google_cloud_dialogflow_v2_batch_delete_entity_types_request_object
298
298
  command.response_representation = Google::Apis::DialogflowV2::GoogleLongrunningOperation::Representation
@@ -327,7 +327,7 @@ module Google
327
327
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
328
328
  # @raise [Google::Apis::AuthorizationError] Authorization is required
329
329
  def batch_project_agent_entity_type_update(parent, google_cloud_dialogflow_v2_batch_update_entity_types_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
330
- command = make_simple_command(:post, 'v2/{+parent}/entityTypes:batchUpdate', options)
330
+ command = make_simple_command(:post, 'v2/{+parent}/entityTypes:batchUpdate', options)
331
331
  command.request_representation = Google::Apis::DialogflowV2::GoogleCloudDialogflowV2BatchUpdateEntityTypesRequest::Representation
332
332
  command.request_object = google_cloud_dialogflow_v2_batch_update_entity_types_request_object
333
333
  command.response_representation = Google::Apis::DialogflowV2::GoogleLongrunningOperation::Representation
@@ -369,7 +369,7 @@ module Google
369
369
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
370
370
  # @raise [Google::Apis::AuthorizationError] Authorization is required
371
371
  def create_project_agent_entity_type(parent, google_cloud_dialogflow_v2_entity_type_object = nil, language_code: nil, fields: nil, quota_user: nil, options: nil, &block)
372
- command = make_simple_command(:post, 'v2/{+parent}/entityTypes', options)
372
+ command = make_simple_command(:post, 'v2/{+parent}/entityTypes', options)
373
373
  command.request_representation = Google::Apis::DialogflowV2::GoogleCloudDialogflowV2EntityType::Representation
374
374
  command.request_object = google_cloud_dialogflow_v2_entity_type_object
375
375
  command.response_representation = Google::Apis::DialogflowV2::GoogleCloudDialogflowV2EntityType::Representation
@@ -403,7 +403,7 @@ module Google
403
403
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
404
404
  # @raise [Google::Apis::AuthorizationError] Authorization is required
405
405
  def delete_project_agent_entity_type(name, fields: nil, quota_user: nil, options: nil, &block)
406
- command = make_simple_command(:delete, 'v2/{+name}', options)
406
+ command = make_simple_command(:delete, 'v2/{+name}', options)
407
407
  command.response_representation = Google::Apis::DialogflowV2::GoogleProtobufEmpty::Representation
408
408
  command.response_class = Google::Apis::DialogflowV2::GoogleProtobufEmpty
409
409
  command.params['name'] = name unless name.nil?
@@ -442,7 +442,7 @@ module Google
442
442
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
443
443
  # @raise [Google::Apis::AuthorizationError] Authorization is required
444
444
  def get_project_agent_entity_type(name, language_code: nil, fields: nil, quota_user: nil, options: nil, &block)
445
- command = make_simple_command(:get, 'v2/{+name}', options)
445
+ command = make_simple_command(:get, 'v2/{+name}', options)
446
446
  command.response_representation = Google::Apis::DialogflowV2::GoogleCloudDialogflowV2EntityType::Representation
447
447
  command.response_class = Google::Apis::DialogflowV2::GoogleCloudDialogflowV2EntityType
448
448
  command.params['name'] = name unless name.nil?
@@ -487,7 +487,7 @@ module Google
487
487
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
488
488
  # @raise [Google::Apis::AuthorizationError] Authorization is required
489
489
  def list_project_agent_entity_types(parent, language_code: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
490
- command = make_simple_command(:get, 'v2/{+parent}/entityTypes', options)
490
+ command = make_simple_command(:get, 'v2/{+parent}/entityTypes', options)
491
491
  command.response_representation = Google::Apis::DialogflowV2::GoogleCloudDialogflowV2ListEntityTypesResponse::Representation
492
492
  command.response_class = Google::Apis::DialogflowV2::GoogleCloudDialogflowV2ListEntityTypesResponse
493
493
  command.params['parent'] = parent unless parent.nil?
@@ -534,7 +534,7 @@ module Google
534
534
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
535
535
  # @raise [Google::Apis::AuthorizationError] Authorization is required
536
536
  def patch_project_agent_entity_type(name, google_cloud_dialogflow_v2_entity_type_object = nil, language_code: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
537
- command = make_simple_command(:patch, 'v2/{+name}', options)
537
+ command = make_simple_command(:patch, 'v2/{+name}', options)
538
538
  command.request_representation = Google::Apis::DialogflowV2::GoogleCloudDialogflowV2EntityType::Representation
539
539
  command.request_object = google_cloud_dialogflow_v2_entity_type_object
540
540
  command.response_representation = Google::Apis::DialogflowV2::GoogleCloudDialogflowV2EntityType::Representation
@@ -571,7 +571,7 @@ module Google
571
571
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
572
572
  # @raise [Google::Apis::AuthorizationError] Authorization is required
573
573
  def batch_project_agent_entity_type_entity_create(parent, google_cloud_dialogflow_v2_batch_create_entities_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
574
- command = make_simple_command(:post, 'v2/{+parent}/entities:batchCreate', options)
574
+ command = make_simple_command(:post, 'v2/{+parent}/entities:batchCreate', options)
575
575
  command.request_representation = Google::Apis::DialogflowV2::GoogleCloudDialogflowV2BatchCreateEntitiesRequest::Representation
576
576
  command.request_object = google_cloud_dialogflow_v2_batch_create_entities_request_object
577
577
  command.response_representation = Google::Apis::DialogflowV2::GoogleLongrunningOperation::Representation
@@ -606,7 +606,7 @@ module Google
606
606
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
607
607
  # @raise [Google::Apis::AuthorizationError] Authorization is required
608
608
  def batch_project_agent_entity_type_entity_delete(parent, google_cloud_dialogflow_v2_batch_delete_entities_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
609
- command = make_simple_command(:post, 'v2/{+parent}/entities:batchDelete', options)
609
+ command = make_simple_command(:post, 'v2/{+parent}/entities:batchDelete', options)
610
610
  command.request_representation = Google::Apis::DialogflowV2::GoogleCloudDialogflowV2BatchDeleteEntitiesRequest::Representation
611
611
  command.request_object = google_cloud_dialogflow_v2_batch_delete_entities_request_object
612
612
  command.response_representation = Google::Apis::DialogflowV2::GoogleLongrunningOperation::Representation
@@ -643,7 +643,7 @@ module Google
643
643
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
644
644
  # @raise [Google::Apis::AuthorizationError] Authorization is required
645
645
  def batch_project_agent_entity_type_entity_update(parent, google_cloud_dialogflow_v2_batch_update_entities_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
646
- command = make_simple_command(:post, 'v2/{+parent}/entities:batchUpdate', options)
646
+ command = make_simple_command(:post, 'v2/{+parent}/entities:batchUpdate', options)
647
647
  command.request_representation = Google::Apis::DialogflowV2::GoogleCloudDialogflowV2BatchUpdateEntitiesRequest::Representation
648
648
  command.request_object = google_cloud_dialogflow_v2_batch_update_entities_request_object
649
649
  command.response_representation = Google::Apis::DialogflowV2::GoogleLongrunningOperation::Representation
@@ -678,7 +678,7 @@ module Google
678
678
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
679
679
  # @raise [Google::Apis::AuthorizationError] Authorization is required
680
680
  def batch_project_agent_intent_delete(parent, google_cloud_dialogflow_v2_batch_delete_intents_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
681
- command = make_simple_command(:post, 'v2/{+parent}/intents:batchDelete', options)
681
+ command = make_simple_command(:post, 'v2/{+parent}/intents:batchDelete', options)
682
682
  command.request_representation = Google::Apis::DialogflowV2::GoogleCloudDialogflowV2BatchDeleteIntentsRequest::Representation
683
683
  command.request_object = google_cloud_dialogflow_v2_batch_delete_intents_request_object
684
684
  command.response_representation = Google::Apis::DialogflowV2::GoogleLongrunningOperation::Representation
@@ -713,7 +713,7 @@ module Google
713
713
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
714
714
  # @raise [Google::Apis::AuthorizationError] Authorization is required
715
715
  def batch_project_agent_intent_update(parent, google_cloud_dialogflow_v2_batch_update_intents_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
716
- command = make_simple_command(:post, 'v2/{+parent}/intents:batchUpdate', options)
716
+ command = make_simple_command(:post, 'v2/{+parent}/intents:batchUpdate', options)
717
717
  command.request_representation = Google::Apis::DialogflowV2::GoogleCloudDialogflowV2BatchUpdateIntentsRequest::Representation
718
718
  command.request_object = google_cloud_dialogflow_v2_batch_update_intents_request_object
719
719
  command.response_representation = Google::Apis::DialogflowV2::GoogleLongrunningOperation::Representation
@@ -757,7 +757,7 @@ module Google
757
757
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
758
758
  # @raise [Google::Apis::AuthorizationError] Authorization is required
759
759
  def create_project_agent_intent(parent, google_cloud_dialogflow_v2_intent_object = nil, intent_view: nil, language_code: nil, fields: nil, quota_user: nil, options: nil, &block)
760
- command = make_simple_command(:post, 'v2/{+parent}/intents', options)
760
+ command = make_simple_command(:post, 'v2/{+parent}/intents', options)
761
761
  command.request_representation = Google::Apis::DialogflowV2::GoogleCloudDialogflowV2Intent::Representation
762
762
  command.request_object = google_cloud_dialogflow_v2_intent_object
763
763
  command.response_representation = Google::Apis::DialogflowV2::GoogleCloudDialogflowV2Intent::Representation
@@ -793,7 +793,7 @@ module Google
793
793
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
794
794
  # @raise [Google::Apis::AuthorizationError] Authorization is required
795
795
  def delete_project_agent_intent(name, fields: nil, quota_user: nil, options: nil, &block)
796
- command = make_simple_command(:delete, 'v2/{+name}', options)
796
+ command = make_simple_command(:delete, 'v2/{+name}', options)
797
797
  command.response_representation = Google::Apis::DialogflowV2::GoogleProtobufEmpty::Representation
798
798
  command.response_class = Google::Apis::DialogflowV2::GoogleProtobufEmpty
799
799
  command.params['name'] = name unless name.nil?
@@ -834,7 +834,7 @@ module Google
834
834
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
835
835
  # @raise [Google::Apis::AuthorizationError] Authorization is required
836
836
  def get_project_agent_intent(name, intent_view: nil, language_code: nil, fields: nil, quota_user: nil, options: nil, &block)
837
- command = make_simple_command(:get, 'v2/{+name}', options)
837
+ command = make_simple_command(:get, 'v2/{+name}', options)
838
838
  command.response_representation = Google::Apis::DialogflowV2::GoogleCloudDialogflowV2Intent::Representation
839
839
  command.response_class = Google::Apis::DialogflowV2::GoogleCloudDialogflowV2Intent
840
840
  command.params['name'] = name unless name.nil?
@@ -882,7 +882,7 @@ module Google
882
882
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
883
883
  # @raise [Google::Apis::AuthorizationError] Authorization is required
884
884
  def list_project_agent_intents(parent, intent_view: nil, language_code: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
885
- command = make_simple_command(:get, 'v2/{+parent}/intents', options)
885
+ command = make_simple_command(:get, 'v2/{+parent}/intents', options)
886
886
  command.response_representation = Google::Apis::DialogflowV2::GoogleCloudDialogflowV2ListIntentsResponse::Representation
887
887
  command.response_class = Google::Apis::DialogflowV2::GoogleCloudDialogflowV2ListIntentsResponse
888
888
  command.params['parent'] = parent unless parent.nil?
@@ -932,7 +932,7 @@ module Google
932
932
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
933
933
  # @raise [Google::Apis::AuthorizationError] Authorization is required
934
934
  def patch_project_agent_intent(name, google_cloud_dialogflow_v2_intent_object = nil, intent_view: nil, language_code: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
935
- command = make_simple_command(:patch, 'v2/{+name}', options)
935
+ command = make_simple_command(:patch, 'v2/{+name}', options)
936
936
  command.request_representation = Google::Apis::DialogflowV2::GoogleCloudDialogflowV2Intent::Representation
937
937
  command.request_object = google_cloud_dialogflow_v2_intent_object
938
938
  command.response_representation = Google::Apis::DialogflowV2::GoogleCloudDialogflowV2Intent::Representation
@@ -968,7 +968,7 @@ module Google
968
968
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
969
969
  # @raise [Google::Apis::AuthorizationError] Authorization is required
970
970
  def delete_project_agent_session_contexts(parent, fields: nil, quota_user: nil, options: nil, &block)
971
- command = make_simple_command(:delete, 'v2/{+parent}/contexts', options)
971
+ command = make_simple_command(:delete, 'v2/{+parent}/contexts', options)
972
972
  command.response_representation = Google::Apis::DialogflowV2::GoogleProtobufEmpty::Representation
973
973
  command.response_class = Google::Apis::DialogflowV2::GoogleProtobufEmpty
974
974
  command.params['parent'] = parent unless parent.nil?
@@ -1006,7 +1006,7 @@ module Google
1006
1006
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1007
1007
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1008
1008
  def detect_project_agent_session_intent(session, google_cloud_dialogflow_v2_detect_intent_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
1009
- command = make_simple_command(:post, 'v2/{+session}:detectIntent', options)
1009
+ command = make_simple_command(:post, 'v2/{+session}:detectIntent', options)
1010
1010
  command.request_representation = Google::Apis::DialogflowV2::GoogleCloudDialogflowV2DetectIntentRequest::Representation
1011
1011
  command.request_object = google_cloud_dialogflow_v2_detect_intent_request_object
1012
1012
  command.response_representation = Google::Apis::DialogflowV2::GoogleCloudDialogflowV2DetectIntentResponse::Representation
@@ -1041,7 +1041,7 @@ module Google
1041
1041
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1042
1042
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1043
1043
  def create_project_agent_session_context(parent, google_cloud_dialogflow_v2_context_object = nil, fields: nil, quota_user: nil, options: nil, &block)
1044
- command = make_simple_command(:post, 'v2/{+parent}/contexts', options)
1044
+ command = make_simple_command(:post, 'v2/{+parent}/contexts', options)
1045
1045
  command.request_representation = Google::Apis::DialogflowV2::GoogleCloudDialogflowV2Context::Representation
1046
1046
  command.request_object = google_cloud_dialogflow_v2_context_object
1047
1047
  command.response_representation = Google::Apis::DialogflowV2::GoogleCloudDialogflowV2Context::Representation
@@ -1074,7 +1074,7 @@ module Google
1074
1074
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1075
1075
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1076
1076
  def delete_project_agent_session_context(name, fields: nil, quota_user: nil, options: nil, &block)
1077
- command = make_simple_command(:delete, 'v2/{+name}', options)
1077
+ command = make_simple_command(:delete, 'v2/{+name}', options)
1078
1078
  command.response_representation = Google::Apis::DialogflowV2::GoogleProtobufEmpty::Representation
1079
1079
  command.response_class = Google::Apis::DialogflowV2::GoogleProtobufEmpty
1080
1080
  command.params['name'] = name unless name.nil?
@@ -1105,7 +1105,7 @@ module Google
1105
1105
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1106
1106
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1107
1107
  def get_project_agent_session_context(name, fields: nil, quota_user: nil, options: nil, &block)
1108
- command = make_simple_command(:get, 'v2/{+name}', options)
1108
+ command = make_simple_command(:get, 'v2/{+name}', options)
1109
1109
  command.response_representation = Google::Apis::DialogflowV2::GoogleCloudDialogflowV2Context::Representation
1110
1110
  command.response_class = Google::Apis::DialogflowV2::GoogleCloudDialogflowV2Context
1111
1111
  command.params['name'] = name unless name.nil?
@@ -1141,7 +1141,7 @@ module Google
1141
1141
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1142
1142
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1143
1143
  def list_project_agent_session_contexts(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
1144
- command = make_simple_command(:get, 'v2/{+parent}/contexts', options)
1144
+ command = make_simple_command(:get, 'v2/{+parent}/contexts', options)
1145
1145
  command.response_representation = Google::Apis::DialogflowV2::GoogleCloudDialogflowV2ListContextsResponse::Representation
1146
1146
  command.response_class = Google::Apis::DialogflowV2::GoogleCloudDialogflowV2ListContextsResponse
1147
1147
  command.params['parent'] = parent unless parent.nil?
@@ -1179,7 +1179,7 @@ module Google
1179
1179
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1180
1180
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1181
1181
  def patch_project_agent_session_context(name, google_cloud_dialogflow_v2_context_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
1182
- command = make_simple_command(:patch, 'v2/{+name}', options)
1182
+ command = make_simple_command(:patch, 'v2/{+name}', options)
1183
1183
  command.request_representation = Google::Apis::DialogflowV2::GoogleCloudDialogflowV2Context::Representation
1184
1184
  command.request_object = google_cloud_dialogflow_v2_context_object
1185
1185
  command.response_representation = Google::Apis::DialogflowV2::GoogleCloudDialogflowV2Context::Representation
@@ -1216,7 +1216,7 @@ module Google
1216
1216
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1217
1217
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1218
1218
  def create_project_agent_session_entity_type(parent, google_cloud_dialogflow_v2_session_entity_type_object = nil, fields: nil, quota_user: nil, options: nil, &block)
1219
- command = make_simple_command(:post, 'v2/{+parent}/entityTypes', options)
1219
+ command = make_simple_command(:post, 'v2/{+parent}/entityTypes', options)
1220
1220
  command.request_representation = Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SessionEntityType::Representation
1221
1221
  command.request_object = google_cloud_dialogflow_v2_session_entity_type_object
1222
1222
  command.response_representation = Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SessionEntityType::Representation
@@ -1250,7 +1250,7 @@ module Google
1250
1250
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1251
1251
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1252
1252
  def delete_project_agent_session_entity_type(name, fields: nil, quota_user: nil, options: nil, &block)
1253
- command = make_simple_command(:delete, 'v2/{+name}', options)
1253
+ command = make_simple_command(:delete, 'v2/{+name}', options)
1254
1254
  command.response_representation = Google::Apis::DialogflowV2::GoogleProtobufEmpty::Representation
1255
1255
  command.response_class = Google::Apis::DialogflowV2::GoogleProtobufEmpty
1256
1256
  command.params['name'] = name unless name.nil?
@@ -1282,7 +1282,7 @@ module Google
1282
1282
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1283
1283
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1284
1284
  def get_project_agent_session_entity_type(name, fields: nil, quota_user: nil, options: nil, &block)
1285
- command = make_simple_command(:get, 'v2/{+name}', options)
1285
+ command = make_simple_command(:get, 'v2/{+name}', options)
1286
1286
  command.response_representation = Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SessionEntityType::Representation
1287
1287
  command.response_class = Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SessionEntityType
1288
1288
  command.params['name'] = name unless name.nil?
@@ -1318,7 +1318,7 @@ module Google
1318
1318
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1319
1319
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1320
1320
  def list_project_agent_session_entity_types(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
1321
- command = make_simple_command(:get, 'v2/{+parent}/entityTypes', options)
1321
+ command = make_simple_command(:get, 'v2/{+parent}/entityTypes', options)
1322
1322
  command.response_representation = Google::Apis::DialogflowV2::GoogleCloudDialogflowV2ListSessionEntityTypesResponse::Representation
1323
1323
  command.response_class = Google::Apis::DialogflowV2::GoogleCloudDialogflowV2ListSessionEntityTypesResponse
1324
1324
  command.params['parent'] = parent unless parent.nil?
@@ -1357,7 +1357,7 @@ module Google
1357
1357
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1358
1358
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1359
1359
  def patch_project_agent_session_entity_type(name, google_cloud_dialogflow_v2_session_entity_type_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
1360
- command = make_simple_command(:patch, 'v2/{+name}', options)
1360
+ command = make_simple_command(:patch, 'v2/{+name}', options)
1361
1361
  command.request_representation = Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SessionEntityType::Representation
1362
1362
  command.request_object = google_cloud_dialogflow_v2_session_entity_type_object
1363
1363
  command.response_representation = Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SessionEntityType::Representation
@@ -1392,7 +1392,7 @@ module Google
1392
1392
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1393
1393
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1394
1394
  def get_project_operation(name, fields: nil, quota_user: nil, options: nil, &block)
1395
- command = make_simple_command(:get, 'v2/{+name}', options)
1395
+ command = make_simple_command(:get, 'v2/{+name}', options)
1396
1396
  command.response_representation = Google::Apis::DialogflowV2::GoogleLongrunningOperation::Representation
1397
1397
  command.response_class = Google::Apis::DialogflowV2::GoogleLongrunningOperation
1398
1398
  command.params['name'] = name unless name.nil?
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://cloud.google.com/dialogflow-enterprise/
27
27
  module DialogflowV2beta1
28
28
  VERSION = 'V2beta1'
29
- REVISION = '20190429'
29
+ REVISION = '20190514'
30
30
 
31
31
  # View and manage your data across Google Cloud Platform services
32
32
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
@@ -277,8 +277,8 @@ module Google
277
277
  # @return [String]
278
278
  attr_accessor :action
279
279
 
280
- # Optional. The list of platforms for which the first response will be
281
- # taken from among the messages assigned to the DEFAULT_PLATFORM.
280
+ # Optional. The list of platforms for which the first responses will be
281
+ # copied from the messages in PLATFORM_UNSPECIFIED (i.e. default platform).
282
282
  # Corresponds to the JSON property `defaultResponsePlatforms`
283
283
  # @return [Array<String>]
284
284
  attr_accessor :default_response_platforms
@@ -2117,8 +2117,8 @@ module Google
2117
2117
  end
2118
2118
 
2119
2119
  # A document resource.
2120
- # Note: resource `projects.agent.knowledgeBases.documents` is deprecated,
2121
- # please use `projects.knowledgeBases.documents` instead.
2120
+ # Note: The `projects.agent.knowledgeBases.documents` resource is deprecated;
2121
+ # only use `projects.knowledgeBases.documents`.
2122
2122
  class GoogleCloudDialogflowV2beta1Document
2123
2123
  include Google::Apis::Core::Hashable
2124
2124
 
@@ -2521,8 +2521,8 @@ module Google
2521
2521
  # @return [String]
2522
2522
  attr_accessor :action
2523
2523
 
2524
- # Optional. The list of platforms for which the first response will be
2525
- # taken from among the messages assigned to the DEFAULT_PLATFORM.
2524
+ # Optional. The list of platforms for which the first responses will be
2525
+ # copied from the messages in PLATFORM_UNSPECIFIED (i.e. default platform).
2526
2526
  # Corresponds to the JSON property `defaultResponsePlatforms`
2527
2527
  # @return [Array<String>]
2528
2528
  attr_accessor :default_response_platforms
@@ -3672,8 +3672,8 @@ module Google
3672
3672
  end
3673
3673
 
3674
3674
  # Represents knowledge base resource.
3675
- # Note: resource `projects.agent.knowledgeBases` is deprecated, please use
3676
- # `projects.knowledgeBases` instead.
3675
+ # Note: The `projects.agent.knowledgeBases` resource is deprecated;
3676
+ # only use `projects.knowledgeBases`.
3677
3677
  class GoogleCloudDialogflowV2beta1KnowledgeBase
3678
3678
  include Google::Apis::Core::Hashable
3679
3679
 
@@ -4747,7 +4747,7 @@ module Google
4747
4747
 
4748
4748
  # The server-assigned name, which is only unique within the same service that
4749
4749
  # originally returns it. If you use the default HTTP mapping, the
4750
- # `name` should have the format of `operations/some/unique/name`.
4750
+ # `name` should be a resource name ending with `operations/`unique_id``.
4751
4751
  # Corresponds to the JSON property `name`
4752
4752
  # @return [String]
4753
4753
  attr_accessor :name
@@ -70,7 +70,7 @@ module Google
70
70
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
71
71
  # @raise [Google::Apis::AuthorizationError] Authorization is required
72
72
  def get_project_agent(parent, fields: nil, quota_user: nil, options: nil, &block)
73
- command = make_simple_command(:get, 'v2beta1/{+parent}/agent', options)
73
+ command = make_simple_command(:get, 'v2beta1/{+parent}/agent', options)
74
74
  command.response_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Agent::Representation
75
75
  command.response_class = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Agent
76
76
  command.params['parent'] = parent unless parent.nil?
@@ -103,7 +103,7 @@ module Google
103
103
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
104
104
  # @raise [Google::Apis::AuthorizationError] Authorization is required
105
105
  def export_agent(parent, google_cloud_dialogflow_v2beta1_export_agent_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
106
- command = make_simple_command(:post, 'v2beta1/{+parent}/agent:export', options)
106
+ command = make_simple_command(:post, 'v2beta1/{+parent}/agent:export', options)
107
107
  command.request_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ExportAgentRequest::Representation
108
108
  command.request_object = google_cloud_dialogflow_v2beta1_export_agent_request_object
109
109
  command.response_representation = Google::Apis::DialogflowV2beta1::GoogleLongrunningOperation::Representation
@@ -141,7 +141,7 @@ module Google
141
141
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
142
142
  # @raise [Google::Apis::AuthorizationError] Authorization is required
143
143
  def import_agent(parent, google_cloud_dialogflow_v2beta1_import_agent_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
144
- command = make_simple_command(:post, 'v2beta1/{+parent}/agent:import', options)
144
+ command = make_simple_command(:post, 'v2beta1/{+parent}/agent:import', options)
145
145
  command.request_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ImportAgentRequest::Representation
146
146
  command.request_object = google_cloud_dialogflow_v2beta1_import_agent_request_object
147
147
  command.response_representation = Google::Apis::DialogflowV2beta1::GoogleLongrunningOperation::Representation
@@ -178,7 +178,7 @@ module Google
178
178
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
179
179
  # @raise [Google::Apis::AuthorizationError] Authorization is required
180
180
  def restore_agent(parent, google_cloud_dialogflow_v2beta1_restore_agent_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
181
- command = make_simple_command(:post, 'v2beta1/{+parent}/agent:restore', options)
181
+ command = make_simple_command(:post, 'v2beta1/{+parent}/agent:restore', options)
182
182
  command.request_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1RestoreAgentRequest::Representation
183
183
  command.request_object = google_cloud_dialogflow_v2beta1_restore_agent_request_object
184
184
  command.response_representation = Google::Apis::DialogflowV2beta1::GoogleLongrunningOperation::Representation
@@ -222,7 +222,7 @@ module Google
222
222
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
223
223
  # @raise [Google::Apis::AuthorizationError] Authorization is required
224
224
  def search_project_agents(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
225
- command = make_simple_command(:get, 'v2beta1/{+parent}/agent:search', options)
225
+ command = make_simple_command(:get, 'v2beta1/{+parent}/agent:search', options)
226
226
  command.response_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SearchAgentsResponse::Representation
227
227
  command.response_class = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SearchAgentsResponse
228
228
  command.params['parent'] = parent unless parent.nil?
@@ -257,7 +257,7 @@ module Google
257
257
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
258
258
  # @raise [Google::Apis::AuthorizationError] Authorization is required
259
259
  def train_agent(parent, google_cloud_dialogflow_v2beta1_train_agent_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
260
- command = make_simple_command(:post, 'v2beta1/{+parent}/agent:train', options)
260
+ command = make_simple_command(:post, 'v2beta1/{+parent}/agent:train', options)
261
261
  command.request_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1TrainAgentRequest::Representation
262
262
  command.request_object = google_cloud_dialogflow_v2beta1_train_agent_request_object
263
263
  command.response_representation = Google::Apis::DialogflowV2beta1::GoogleLongrunningOperation::Representation
@@ -292,7 +292,7 @@ module Google
292
292
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
293
293
  # @raise [Google::Apis::AuthorizationError] Authorization is required
294
294
  def batch_delete_entity_types(parent, google_cloud_dialogflow_v2beta1_batch_delete_entity_types_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
295
- command = make_simple_command(:post, 'v2beta1/{+parent}/entityTypes:batchDelete', options)
295
+ command = make_simple_command(:post, 'v2beta1/{+parent}/entityTypes:batchDelete', options)
296
296
  command.request_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1BatchDeleteEntityTypesRequest::Representation
297
297
  command.request_object = google_cloud_dialogflow_v2beta1_batch_delete_entity_types_request_object
298
298
  command.response_representation = Google::Apis::DialogflowV2beta1::GoogleLongrunningOperation::Representation
@@ -327,7 +327,7 @@ module Google
327
327
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
328
328
  # @raise [Google::Apis::AuthorizationError] Authorization is required
329
329
  def batch_update_entity_types(parent, google_cloud_dialogflow_v2beta1_batch_update_entity_types_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
330
- command = make_simple_command(:post, 'v2beta1/{+parent}/entityTypes:batchUpdate', options)
330
+ command = make_simple_command(:post, 'v2beta1/{+parent}/entityTypes:batchUpdate', options)
331
331
  command.request_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1BatchUpdateEntityTypesRequest::Representation
332
332
  command.request_object = google_cloud_dialogflow_v2beta1_batch_update_entity_types_request_object
333
333
  command.response_representation = Google::Apis::DialogflowV2beta1::GoogleLongrunningOperation::Representation
@@ -369,7 +369,7 @@ module Google
369
369
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
370
370
  # @raise [Google::Apis::AuthorizationError] Authorization is required
371
371
  def create_project_agent_entity_type(parent, google_cloud_dialogflow_v2beta1_entity_type_object = nil, language_code: nil, fields: nil, quota_user: nil, options: nil, &block)
372
- command = make_simple_command(:post, 'v2beta1/{+parent}/entityTypes', options)
372
+ command = make_simple_command(:post, 'v2beta1/{+parent}/entityTypes', options)
373
373
  command.request_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1EntityType::Representation
374
374
  command.request_object = google_cloud_dialogflow_v2beta1_entity_type_object
375
375
  command.response_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1EntityType::Representation
@@ -403,7 +403,7 @@ module Google
403
403
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
404
404
  # @raise [Google::Apis::AuthorizationError] Authorization is required
405
405
  def delete_project_agent_entity_type(name, fields: nil, quota_user: nil, options: nil, &block)
406
- command = make_simple_command(:delete, 'v2beta1/{+name}', options)
406
+ command = make_simple_command(:delete, 'v2beta1/{+name}', options)
407
407
  command.response_representation = Google::Apis::DialogflowV2beta1::GoogleProtobufEmpty::Representation
408
408
  command.response_class = Google::Apis::DialogflowV2beta1::GoogleProtobufEmpty
409
409
  command.params['name'] = name unless name.nil?
@@ -442,7 +442,7 @@ module Google
442
442
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
443
443
  # @raise [Google::Apis::AuthorizationError] Authorization is required
444
444
  def get_project_agent_entity_type(name, language_code: nil, fields: nil, quota_user: nil, options: nil, &block)
445
- command = make_simple_command(:get, 'v2beta1/{+name}', options)
445
+ command = make_simple_command(:get, 'v2beta1/{+name}', options)
446
446
  command.response_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1EntityType::Representation
447
447
  command.response_class = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1EntityType
448
448
  command.params['name'] = name unless name.nil?
@@ -487,7 +487,7 @@ module Google
487
487
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
488
488
  # @raise [Google::Apis::AuthorizationError] Authorization is required
489
489
  def list_project_agent_entity_types(parent, language_code: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
490
- command = make_simple_command(:get, 'v2beta1/{+parent}/entityTypes', options)
490
+ command = make_simple_command(:get, 'v2beta1/{+parent}/entityTypes', options)
491
491
  command.response_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ListEntityTypesResponse::Representation
492
492
  command.response_class = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ListEntityTypesResponse
493
493
  command.params['parent'] = parent unless parent.nil?
@@ -534,7 +534,7 @@ module Google
534
534
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
535
535
  # @raise [Google::Apis::AuthorizationError] Authorization is required
536
536
  def patch_project_agent_entity_type(name, google_cloud_dialogflow_v2beta1_entity_type_object = nil, language_code: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
537
- command = make_simple_command(:patch, 'v2beta1/{+name}', options)
537
+ command = make_simple_command(:patch, 'v2beta1/{+name}', options)
538
538
  command.request_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1EntityType::Representation
539
539
  command.request_object = google_cloud_dialogflow_v2beta1_entity_type_object
540
540
  command.response_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1EntityType::Representation
@@ -571,7 +571,7 @@ module Google
571
571
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
572
572
  # @raise [Google::Apis::AuthorizationError] Authorization is required
573
573
  def batch_entity_create_entities(parent, google_cloud_dialogflow_v2beta1_batch_create_entities_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
574
- command = make_simple_command(:post, 'v2beta1/{+parent}/entities:batchCreate', options)
574
+ command = make_simple_command(:post, 'v2beta1/{+parent}/entities:batchCreate', options)
575
575
  command.request_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1BatchCreateEntitiesRequest::Representation
576
576
  command.request_object = google_cloud_dialogflow_v2beta1_batch_create_entities_request_object
577
577
  command.response_representation = Google::Apis::DialogflowV2beta1::GoogleLongrunningOperation::Representation
@@ -606,7 +606,7 @@ module Google
606
606
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
607
607
  # @raise [Google::Apis::AuthorizationError] Authorization is required
608
608
  def batch_entity_delete_entities(parent, google_cloud_dialogflow_v2beta1_batch_delete_entities_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
609
- command = make_simple_command(:post, 'v2beta1/{+parent}/entities:batchDelete', options)
609
+ command = make_simple_command(:post, 'v2beta1/{+parent}/entities:batchDelete', options)
610
610
  command.request_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1BatchDeleteEntitiesRequest::Representation
611
611
  command.request_object = google_cloud_dialogflow_v2beta1_batch_delete_entities_request_object
612
612
  command.response_representation = Google::Apis::DialogflowV2beta1::GoogleLongrunningOperation::Representation
@@ -643,7 +643,7 @@ module Google
643
643
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
644
644
  # @raise [Google::Apis::AuthorizationError] Authorization is required
645
645
  def batch_entity_update_entities(parent, google_cloud_dialogflow_v2beta1_batch_update_entities_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
646
- command = make_simple_command(:post, 'v2beta1/{+parent}/entities:batchUpdate', options)
646
+ command = make_simple_command(:post, 'v2beta1/{+parent}/entities:batchUpdate', options)
647
647
  command.request_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1BatchUpdateEntitiesRequest::Representation
648
648
  command.request_object = google_cloud_dialogflow_v2beta1_batch_update_entities_request_object
649
649
  command.response_representation = Google::Apis::DialogflowV2beta1::GoogleLongrunningOperation::Representation
@@ -679,7 +679,7 @@ module Google
679
679
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
680
680
  # @raise [Google::Apis::AuthorizationError] Authorization is required
681
681
  def delete_project_agent_environment_user_session_contexts(parent, fields: nil, quota_user: nil, options: nil, &block)
682
- command = make_simple_command(:delete, 'v2beta1/{+parent}/contexts', options)
682
+ command = make_simple_command(:delete, 'v2beta1/{+parent}/contexts', options)
683
683
  command.response_representation = Google::Apis::DialogflowV2beta1::GoogleProtobufEmpty::Representation
684
684
  command.response_class = Google::Apis::DialogflowV2beta1::GoogleProtobufEmpty
685
685
  command.params['parent'] = parent unless parent.nil?
@@ -721,7 +721,7 @@ module Google
721
721
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
722
722
  # @raise [Google::Apis::AuthorizationError] Authorization is required
723
723
  def detect_project_agent_environment_user_session_intent(session, google_cloud_dialogflow_v2beta1_detect_intent_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
724
- command = make_simple_command(:post, 'v2beta1/{+session}:detectIntent', options)
724
+ command = make_simple_command(:post, 'v2beta1/{+session}:detectIntent', options)
725
725
  command.request_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1DetectIntentRequest::Representation
726
726
  command.request_object = google_cloud_dialogflow_v2beta1_detect_intent_request_object
727
727
  command.response_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1DetectIntentResponse::Representation
@@ -760,7 +760,7 @@ module Google
760
760
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
761
761
  # @raise [Google::Apis::AuthorizationError] Authorization is required
762
762
  def create_project_agent_environment_user_session_context(parent, google_cloud_dialogflow_v2beta1_context_object = nil, fields: nil, quota_user: nil, options: nil, &block)
763
- command = make_simple_command(:post, 'v2beta1/{+parent}/contexts', options)
763
+ command = make_simple_command(:post, 'v2beta1/{+parent}/contexts', options)
764
764
  command.request_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Context::Representation
765
765
  command.request_object = google_cloud_dialogflow_v2beta1_context_object
766
766
  command.response_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Context::Representation
@@ -797,7 +797,7 @@ module Google
797
797
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
798
798
  # @raise [Google::Apis::AuthorizationError] Authorization is required
799
799
  def delete_project_agent_environment_user_session_context(name, fields: nil, quota_user: nil, options: nil, &block)
800
- command = make_simple_command(:delete, 'v2beta1/{+name}', options)
800
+ command = make_simple_command(:delete, 'v2beta1/{+name}', options)
801
801
  command.response_representation = Google::Apis::DialogflowV2beta1::GoogleProtobufEmpty::Representation
802
802
  command.response_class = Google::Apis::DialogflowV2beta1::GoogleProtobufEmpty
803
803
  command.params['name'] = name unless name.nil?
@@ -832,7 +832,7 @@ module Google
832
832
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
833
833
  # @raise [Google::Apis::AuthorizationError] Authorization is required
834
834
  def get_project_agent_environment_user_session_context(name, fields: nil, quota_user: nil, options: nil, &block)
835
- command = make_simple_command(:get, 'v2beta1/{+name}', options)
835
+ command = make_simple_command(:get, 'v2beta1/{+name}', options)
836
836
  command.response_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Context::Representation
837
837
  command.response_class = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Context
838
838
  command.params['name'] = name unless name.nil?
@@ -872,7 +872,7 @@ module Google
872
872
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
873
873
  # @raise [Google::Apis::AuthorizationError] Authorization is required
874
874
  def list_project_agent_environment_user_session_contexts(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
875
- command = make_simple_command(:get, 'v2beta1/{+parent}/contexts', options)
875
+ command = make_simple_command(:get, 'v2beta1/{+parent}/contexts', options)
876
876
  command.response_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ListContextsResponse::Representation
877
877
  command.response_class = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ListContextsResponse
878
878
  command.params['parent'] = parent unless parent.nil?
@@ -914,7 +914,7 @@ module Google
914
914
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
915
915
  # @raise [Google::Apis::AuthorizationError] Authorization is required
916
916
  def patch_project_agent_environment_user_session_context(name, google_cloud_dialogflow_v2beta1_context_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
917
- command = make_simple_command(:patch, 'v2beta1/{+name}', options)
917
+ command = make_simple_command(:patch, 'v2beta1/{+name}', options)
918
918
  command.request_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Context::Representation
919
919
  command.request_object = google_cloud_dialogflow_v2beta1_context_object
920
920
  command.response_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Context::Representation
@@ -955,7 +955,7 @@ module Google
955
955
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
956
956
  # @raise [Google::Apis::AuthorizationError] Authorization is required
957
957
  def create_project_agent_environment_user_session_entity_type(parent, google_cloud_dialogflow_v2beta1_session_entity_type_object = nil, fields: nil, quota_user: nil, options: nil, &block)
958
- command = make_simple_command(:post, 'v2beta1/{+parent}/entityTypes', options)
958
+ command = make_simple_command(:post, 'v2beta1/{+parent}/entityTypes', options)
959
959
  command.request_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SessionEntityType::Representation
960
960
  command.request_object = google_cloud_dialogflow_v2beta1_session_entity_type_object
961
961
  command.response_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SessionEntityType::Representation
@@ -992,7 +992,7 @@ module Google
992
992
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
993
993
  # @raise [Google::Apis::AuthorizationError] Authorization is required
994
994
  def delete_project_agent_environment_user_session_entity_type(name, fields: nil, quota_user: nil, options: nil, &block)
995
- command = make_simple_command(:delete, 'v2beta1/{+name}', options)
995
+ command = make_simple_command(:delete, 'v2beta1/{+name}', options)
996
996
  command.response_representation = Google::Apis::DialogflowV2beta1::GoogleProtobufEmpty::Representation
997
997
  command.response_class = Google::Apis::DialogflowV2beta1::GoogleProtobufEmpty
998
998
  command.params['name'] = name unless name.nil?
@@ -1027,7 +1027,7 @@ module Google
1027
1027
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1028
1028
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1029
1029
  def get_project_agent_environment_user_session_entity_type(name, fields: nil, quota_user: nil, options: nil, &block)
1030
- command = make_simple_command(:get, 'v2beta1/{+name}', options)
1030
+ command = make_simple_command(:get, 'v2beta1/{+name}', options)
1031
1031
  command.response_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SessionEntityType::Representation
1032
1032
  command.response_class = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SessionEntityType
1033
1033
  command.params['name'] = name unless name.nil?
@@ -1067,7 +1067,7 @@ module Google
1067
1067
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1068
1068
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1069
1069
  def list_project_agent_environment_user_session_entity_types(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
1070
- command = make_simple_command(:get, 'v2beta1/{+parent}/entityTypes', options)
1070
+ command = make_simple_command(:get, 'v2beta1/{+parent}/entityTypes', options)
1071
1071
  command.response_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ListSessionEntityTypesResponse::Representation
1072
1072
  command.response_class = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ListSessionEntityTypesResponse
1073
1073
  command.params['parent'] = parent unless parent.nil?
@@ -1110,7 +1110,7 @@ module Google
1110
1110
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1111
1111
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1112
1112
  def patch_project_agent_environment_user_session_entity_type(name, google_cloud_dialogflow_v2beta1_session_entity_type_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
1113
- command = make_simple_command(:patch, 'v2beta1/{+name}', options)
1113
+ command = make_simple_command(:patch, 'v2beta1/{+name}', options)
1114
1114
  command.request_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SessionEntityType::Representation
1115
1115
  command.request_object = google_cloud_dialogflow_v2beta1_session_entity_type_object
1116
1116
  command.response_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SessionEntityType::Representation
@@ -1146,7 +1146,7 @@ module Google
1146
1146
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1147
1147
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1148
1148
  def batch_delete_intents(parent, google_cloud_dialogflow_v2beta1_batch_delete_intents_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
1149
- command = make_simple_command(:post, 'v2beta1/{+parent}/intents:batchDelete', options)
1149
+ command = make_simple_command(:post, 'v2beta1/{+parent}/intents:batchDelete', options)
1150
1150
  command.request_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1BatchDeleteIntentsRequest::Representation
1151
1151
  command.request_object = google_cloud_dialogflow_v2beta1_batch_delete_intents_request_object
1152
1152
  command.response_representation = Google::Apis::DialogflowV2beta1::GoogleLongrunningOperation::Representation
@@ -1181,7 +1181,7 @@ module Google
1181
1181
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1182
1182
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1183
1183
  def batch_update_intents(parent, google_cloud_dialogflow_v2beta1_batch_update_intents_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
1184
- command = make_simple_command(:post, 'v2beta1/{+parent}/intents:batchUpdate', options)
1184
+ command = make_simple_command(:post, 'v2beta1/{+parent}/intents:batchUpdate', options)
1185
1185
  command.request_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1BatchUpdateIntentsRequest::Representation
1186
1186
  command.request_object = google_cloud_dialogflow_v2beta1_batch_update_intents_request_object
1187
1187
  command.response_representation = Google::Apis::DialogflowV2beta1::GoogleLongrunningOperation::Representation
@@ -1225,7 +1225,7 @@ module Google
1225
1225
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1226
1226
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1227
1227
  def create_project_agent_intent(parent, google_cloud_dialogflow_v2beta1_intent_object = nil, intent_view: nil, language_code: nil, fields: nil, quota_user: nil, options: nil, &block)
1228
- command = make_simple_command(:post, 'v2beta1/{+parent}/intents', options)
1228
+ command = make_simple_command(:post, 'v2beta1/{+parent}/intents', options)
1229
1229
  command.request_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Intent::Representation
1230
1230
  command.request_object = google_cloud_dialogflow_v2beta1_intent_object
1231
1231
  command.response_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Intent::Representation
@@ -1261,7 +1261,7 @@ module Google
1261
1261
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1262
1262
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1263
1263
  def delete_project_agent_intent(name, fields: nil, quota_user: nil, options: nil, &block)
1264
- command = make_simple_command(:delete, 'v2beta1/{+name}', options)
1264
+ command = make_simple_command(:delete, 'v2beta1/{+name}', options)
1265
1265
  command.response_representation = Google::Apis::DialogflowV2beta1::GoogleProtobufEmpty::Representation
1266
1266
  command.response_class = Google::Apis::DialogflowV2beta1::GoogleProtobufEmpty
1267
1267
  command.params['name'] = name unless name.nil?
@@ -1302,7 +1302,7 @@ module Google
1302
1302
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1303
1303
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1304
1304
  def get_project_agent_intent(name, intent_view: nil, language_code: nil, fields: nil, quota_user: nil, options: nil, &block)
1305
- command = make_simple_command(:get, 'v2beta1/{+name}', options)
1305
+ command = make_simple_command(:get, 'v2beta1/{+name}', options)
1306
1306
  command.response_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Intent::Representation
1307
1307
  command.response_class = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Intent
1308
1308
  command.params['name'] = name unless name.nil?
@@ -1350,7 +1350,7 @@ module Google
1350
1350
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1351
1351
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1352
1352
  def list_project_agent_intents(parent, intent_view: nil, language_code: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
1353
- command = make_simple_command(:get, 'v2beta1/{+parent}/intents', options)
1353
+ command = make_simple_command(:get, 'v2beta1/{+parent}/intents', options)
1354
1354
  command.response_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ListIntentsResponse::Representation
1355
1355
  command.response_class = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ListIntentsResponse
1356
1356
  command.params['parent'] = parent unless parent.nil?
@@ -1400,7 +1400,7 @@ module Google
1400
1400
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1401
1401
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1402
1402
  def patch_project_agent_intent(name, google_cloud_dialogflow_v2beta1_intent_object = nil, intent_view: nil, language_code: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
1403
- command = make_simple_command(:patch, 'v2beta1/{+name}', options)
1403
+ command = make_simple_command(:patch, 'v2beta1/{+name}', options)
1404
1404
  command.request_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Intent::Representation
1405
1405
  command.request_object = google_cloud_dialogflow_v2beta1_intent_object
1406
1406
  command.response_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Intent::Representation
@@ -1415,6 +1415,8 @@ module Google
1415
1415
  end
1416
1416
 
1417
1417
  # Creates a knowledge base.
1418
+ # Note: The `projects.agent.knowledgeBases` resource is deprecated;
1419
+ # only use `projects.knowledgeBases`.
1418
1420
  # @param [String] parent
1419
1421
  # Required. The project to create a knowledge base for.
1420
1422
  # Format: `projects/<Project ID>`.
@@ -1437,7 +1439,7 @@ module Google
1437
1439
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1438
1440
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1439
1441
  def create_project_agent_knowledge_basis(parent, google_cloud_dialogflow_v2beta1_knowledge_base_object = nil, fields: nil, quota_user: nil, options: nil, &block)
1440
- command = make_simple_command(:post, 'v2beta1/{+parent}/knowledgeBases', options)
1442
+ command = make_simple_command(:post, 'v2beta1/{+parent}/knowledgeBases', options)
1441
1443
  command.request_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1KnowledgeBase::Representation
1442
1444
  command.request_object = google_cloud_dialogflow_v2beta1_knowledge_base_object
1443
1445
  command.response_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1KnowledgeBase::Representation
@@ -1449,6 +1451,8 @@ module Google
1449
1451
  end
1450
1452
 
1451
1453
  # Deletes the specified knowledge base.
1454
+ # Note: The `projects.agent.knowledgeBases` resource is deprecated;
1455
+ # only use `projects.knowledgeBases`.
1452
1456
  # @param [String] name
1453
1457
  # Required. The name of the knowledge base to delete.
1454
1458
  # Format: `projects/<Project ID>/knowledgeBases/<Knowledge Base ID>`.
@@ -1473,7 +1477,7 @@ module Google
1473
1477
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1474
1478
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1475
1479
  def delete_project_agent_knowledge_basis(name, force: nil, fields: nil, quota_user: nil, options: nil, &block)
1476
- command = make_simple_command(:delete, 'v2beta1/{+name}', options)
1480
+ command = make_simple_command(:delete, 'v2beta1/{+name}', options)
1477
1481
  command.response_representation = Google::Apis::DialogflowV2beta1::GoogleProtobufEmpty::Representation
1478
1482
  command.response_class = Google::Apis::DialogflowV2beta1::GoogleProtobufEmpty
1479
1483
  command.params['name'] = name unless name.nil?
@@ -1484,6 +1488,8 @@ module Google
1484
1488
  end
1485
1489
 
1486
1490
  # Retrieves the specified knowledge base.
1491
+ # Note: The `projects.agent.knowledgeBases` resource is deprecated;
1492
+ # only use `projects.knowledgeBases`.
1487
1493
  # @param [String] name
1488
1494
  # Required. The name of the knowledge base to retrieve.
1489
1495
  # Format `projects/<Project ID>/knowledgeBases/<Knowledge Base ID>`.
@@ -1505,7 +1511,7 @@ module Google
1505
1511
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1506
1512
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1507
1513
  def get_project_agent_knowledge_basis(name, fields: nil, quota_user: nil, options: nil, &block)
1508
- command = make_simple_command(:get, 'v2beta1/{+name}', options)
1514
+ command = make_simple_command(:get, 'v2beta1/{+name}', options)
1509
1515
  command.response_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1KnowledgeBase::Representation
1510
1516
  command.response_class = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1KnowledgeBase
1511
1517
  command.params['name'] = name unless name.nil?
@@ -1515,6 +1521,8 @@ module Google
1515
1521
  end
1516
1522
 
1517
1523
  # Returns the list of all knowledge bases of the specified agent.
1524
+ # Note: The `projects.agent.knowledgeBases` resource is deprecated;
1525
+ # only use `projects.knowledgeBases`.
1518
1526
  # @param [String] parent
1519
1527
  # Required. The project to list of knowledge bases for.
1520
1528
  # Format: `projects/<Project ID>`.
@@ -1541,7 +1549,7 @@ module Google
1541
1549
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1542
1550
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1543
1551
  def list_project_agent_knowledge_bases(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
1544
- command = make_simple_command(:get, 'v2beta1/{+parent}/knowledgeBases', options)
1552
+ command = make_simple_command(:get, 'v2beta1/{+parent}/knowledgeBases', options)
1545
1553
  command.response_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ListKnowledgeBasesResponse::Representation
1546
1554
  command.response_class = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ListKnowledgeBasesResponse
1547
1555
  command.params['parent'] = parent unless parent.nil?
@@ -1553,6 +1561,8 @@ module Google
1553
1561
  end
1554
1562
 
1555
1563
  # Updates the specified knowledge base.
1564
+ # Note: The `projects.agent.knowledgeBases` resource is deprecated;
1565
+ # only use `projects.knowledgeBases`.
1556
1566
  # @param [String] name
1557
1567
  # The knowledge base resource name.
1558
1568
  # The name must be empty when creating a knowledge base.
@@ -1580,7 +1590,7 @@ module Google
1580
1590
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1581
1591
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1582
1592
  def patch_project_agent_knowledge_basis(name, google_cloud_dialogflow_v2beta1_knowledge_base_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
1583
- command = make_simple_command(:patch, 'v2beta1/{+name}', options)
1593
+ command = make_simple_command(:patch, 'v2beta1/{+name}', options)
1584
1594
  command.request_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1KnowledgeBase::Representation
1585
1595
  command.request_object = google_cloud_dialogflow_v2beta1_knowledge_base_object
1586
1596
  command.response_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1KnowledgeBase::Representation
@@ -1593,6 +1603,8 @@ module Google
1593
1603
  end
1594
1604
 
1595
1605
  # Creates a new document.
1606
+ # Note: The `projects.agent.knowledgeBases.documents` resource is deprecated;
1607
+ # only use `projects.knowledgeBases.documents`.
1596
1608
  # Operation <response: Document,
1597
1609
  # metadata: KnowledgeOperationMetadata>
1598
1610
  # @param [String] parent
@@ -1617,7 +1629,7 @@ module Google
1617
1629
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1618
1630
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1619
1631
  def create_project_agent_knowledge_basis_document(parent, google_cloud_dialogflow_v2beta1_document_object = nil, fields: nil, quota_user: nil, options: nil, &block)
1620
- command = make_simple_command(:post, 'v2beta1/{+parent}/documents', options)
1632
+ command = make_simple_command(:post, 'v2beta1/{+parent}/documents', options)
1621
1633
  command.request_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Document::Representation
1622
1634
  command.request_object = google_cloud_dialogflow_v2beta1_document_object
1623
1635
  command.response_representation = Google::Apis::DialogflowV2beta1::GoogleLongrunningOperation::Representation
@@ -1629,6 +1641,8 @@ module Google
1629
1641
  end
1630
1642
 
1631
1643
  # Deletes the specified document.
1644
+ # Note: The `projects.agent.knowledgeBases.documents` resource is deprecated;
1645
+ # only use `projects.knowledgeBases.documents`.
1632
1646
  # Operation <response: google.protobuf.Empty,
1633
1647
  # metadata: KnowledgeOperationMetadata>
1634
1648
  # @param [String] name
@@ -1653,7 +1667,7 @@ module Google
1653
1667
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1654
1668
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1655
1669
  def delete_project_agent_knowledge_basis_document(name, fields: nil, quota_user: nil, options: nil, &block)
1656
- command = make_simple_command(:delete, 'v2beta1/{+name}', options)
1670
+ command = make_simple_command(:delete, 'v2beta1/{+name}', options)
1657
1671
  command.response_representation = Google::Apis::DialogflowV2beta1::GoogleLongrunningOperation::Representation
1658
1672
  command.response_class = Google::Apis::DialogflowV2beta1::GoogleLongrunningOperation
1659
1673
  command.params['name'] = name unless name.nil?
@@ -1663,6 +1677,8 @@ module Google
1663
1677
  end
1664
1678
 
1665
1679
  # Retrieves the specified document.
1680
+ # Note: The `projects.agent.knowledgeBases.documents` resource is deprecated;
1681
+ # only use `projects.knowledgeBases.documents`.
1666
1682
  # @param [String] name
1667
1683
  # Required. The name of the document to retrieve.
1668
1684
  # Format `projects/<Project ID>/knowledgeBases/<Knowledge Base
@@ -1685,7 +1701,7 @@ module Google
1685
1701
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1686
1702
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1687
1703
  def get_project_agent_knowledge_basis_document(name, fields: nil, quota_user: nil, options: nil, &block)
1688
- command = make_simple_command(:get, 'v2beta1/{+name}', options)
1704
+ command = make_simple_command(:get, 'v2beta1/{+name}', options)
1689
1705
  command.response_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Document::Representation
1690
1706
  command.response_class = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Document
1691
1707
  command.params['name'] = name unless name.nil?
@@ -1695,6 +1711,8 @@ module Google
1695
1711
  end
1696
1712
 
1697
1713
  # Returns the list of all documents of the knowledge base.
1714
+ # Note: The `projects.agent.knowledgeBases.documents` resource is deprecated;
1715
+ # only use `projects.knowledgeBases.documents`.
1698
1716
  # @param [String] parent
1699
1717
  # Required. The knowledge base to list all documents for.
1700
1718
  # Format: `projects/<Project ID>/knowledgeBases/<Knowledge Base ID>`.
@@ -1721,7 +1739,7 @@ module Google
1721
1739
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1722
1740
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1723
1741
  def list_project_agent_knowledge_basis_documents(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
1724
- command = make_simple_command(:get, 'v2beta1/{+parent}/documents', options)
1742
+ command = make_simple_command(:get, 'v2beta1/{+parent}/documents', options)
1725
1743
  command.response_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ListDocumentsResponse::Representation
1726
1744
  command.response_class = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ListDocumentsResponse
1727
1745
  command.params['parent'] = parent unless parent.nil?
@@ -1733,6 +1751,8 @@ module Google
1733
1751
  end
1734
1752
 
1735
1753
  # Updates the specified document.
1754
+ # Note: The `projects.agent.knowledgeBases.documents` resource is deprecated;
1755
+ # only use `projects.knowledgeBases.documents`.
1736
1756
  # Operation <response: Document,
1737
1757
  # metadata: KnowledgeOperationMetadata>
1738
1758
  # @param [String] name
@@ -1763,7 +1783,7 @@ module Google
1763
1783
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1764
1784
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1765
1785
  def patch_project_agent_knowledge_basis_document(name, google_cloud_dialogflow_v2beta1_document_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
1766
- command = make_simple_command(:patch, 'v2beta1/{+name}', options)
1786
+ command = make_simple_command(:patch, 'v2beta1/{+name}', options)
1767
1787
  command.request_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Document::Representation
1768
1788
  command.request_object = google_cloud_dialogflow_v2beta1_document_object
1769
1789
  command.response_representation = Google::Apis::DialogflowV2beta1::GoogleLongrunningOperation::Representation
@@ -1779,6 +1799,8 @@ module Google
1779
1799
  # content. The previously loaded content of the document will be deleted.
1780
1800
  # Note: Even when the content of the document has not changed, there still
1781
1801
  # may be side effects because of internal implementation changes.
1802
+ # Note: The `projects.agent.knowledgeBases.documents` resource is deprecated;
1803
+ # only use `projects.knowledgeBases.documents`.
1782
1804
  # Operation <response: Document,
1783
1805
  # metadata: KnowledgeOperationMetadata>
1784
1806
  # @param [String] name
@@ -1804,7 +1826,7 @@ module Google
1804
1826
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1805
1827
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1806
1828
  def reload_project_agent_knowledge_basis_document(name, google_cloud_dialogflow_v2beta1_reload_document_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
1807
- command = make_simple_command(:post, 'v2beta1/{+name}:reload', options)
1829
+ command = make_simple_command(:post, 'v2beta1/{+name}:reload', options)
1808
1830
  command.request_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ReloadDocumentRequest::Representation
1809
1831
  command.request_object = google_cloud_dialogflow_v2beta1_reload_document_request_object
1810
1832
  command.response_representation = Google::Apis::DialogflowV2beta1::GoogleLongrunningOperation::Representation
@@ -1840,7 +1862,7 @@ module Google
1840
1862
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1841
1863
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1842
1864
  def delete_project_agent_session_contexts(parent, fields: nil, quota_user: nil, options: nil, &block)
1843
- command = make_simple_command(:delete, 'v2beta1/{+parent}/contexts', options)
1865
+ command = make_simple_command(:delete, 'v2beta1/{+parent}/contexts', options)
1844
1866
  command.response_representation = Google::Apis::DialogflowV2beta1::GoogleProtobufEmpty::Representation
1845
1867
  command.response_class = Google::Apis::DialogflowV2beta1::GoogleProtobufEmpty
1846
1868
  command.params['parent'] = parent unless parent.nil?
@@ -1882,7 +1904,7 @@ module Google
1882
1904
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1883
1905
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1884
1906
  def detect_session_intent(session, google_cloud_dialogflow_v2beta1_detect_intent_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
1885
- command = make_simple_command(:post, 'v2beta1/{+session}:detectIntent', options)
1907
+ command = make_simple_command(:post, 'v2beta1/{+session}:detectIntent', options)
1886
1908
  command.request_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1DetectIntentRequest::Representation
1887
1909
  command.request_object = google_cloud_dialogflow_v2beta1_detect_intent_request_object
1888
1910
  command.response_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1DetectIntentResponse::Representation
@@ -1921,7 +1943,7 @@ module Google
1921
1943
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1922
1944
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1923
1945
  def create_project_agent_session_context(parent, google_cloud_dialogflow_v2beta1_context_object = nil, fields: nil, quota_user: nil, options: nil, &block)
1924
- command = make_simple_command(:post, 'v2beta1/{+parent}/contexts', options)
1946
+ command = make_simple_command(:post, 'v2beta1/{+parent}/contexts', options)
1925
1947
  command.request_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Context::Representation
1926
1948
  command.request_object = google_cloud_dialogflow_v2beta1_context_object
1927
1949
  command.response_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Context::Representation
@@ -1958,7 +1980,7 @@ module Google
1958
1980
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1959
1981
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1960
1982
  def delete_project_agent_session_context(name, fields: nil, quota_user: nil, options: nil, &block)
1961
- command = make_simple_command(:delete, 'v2beta1/{+name}', options)
1983
+ command = make_simple_command(:delete, 'v2beta1/{+name}', options)
1962
1984
  command.response_representation = Google::Apis::DialogflowV2beta1::GoogleProtobufEmpty::Representation
1963
1985
  command.response_class = Google::Apis::DialogflowV2beta1::GoogleProtobufEmpty
1964
1986
  command.params['name'] = name unless name.nil?
@@ -1993,7 +2015,7 @@ module Google
1993
2015
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1994
2016
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1995
2017
  def get_project_agent_session_context(name, fields: nil, quota_user: nil, options: nil, &block)
1996
- command = make_simple_command(:get, 'v2beta1/{+name}', options)
2018
+ command = make_simple_command(:get, 'v2beta1/{+name}', options)
1997
2019
  command.response_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Context::Representation
1998
2020
  command.response_class = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Context
1999
2021
  command.params['name'] = name unless name.nil?
@@ -2033,7 +2055,7 @@ module Google
2033
2055
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2034
2056
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2035
2057
  def list_project_agent_session_contexts(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
2036
- command = make_simple_command(:get, 'v2beta1/{+parent}/contexts', options)
2058
+ command = make_simple_command(:get, 'v2beta1/{+parent}/contexts', options)
2037
2059
  command.response_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ListContextsResponse::Representation
2038
2060
  command.response_class = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ListContextsResponse
2039
2061
  command.params['parent'] = parent unless parent.nil?
@@ -2075,7 +2097,7 @@ module Google
2075
2097
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2076
2098
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2077
2099
  def patch_project_agent_session_context(name, google_cloud_dialogflow_v2beta1_context_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
2078
- command = make_simple_command(:patch, 'v2beta1/{+name}', options)
2100
+ command = make_simple_command(:patch, 'v2beta1/{+name}', options)
2079
2101
  command.request_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Context::Representation
2080
2102
  command.request_object = google_cloud_dialogflow_v2beta1_context_object
2081
2103
  command.response_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Context::Representation
@@ -2116,7 +2138,7 @@ module Google
2116
2138
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2117
2139
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2118
2140
  def create_project_agent_session_entity_type(parent, google_cloud_dialogflow_v2beta1_session_entity_type_object = nil, fields: nil, quota_user: nil, options: nil, &block)
2119
- command = make_simple_command(:post, 'v2beta1/{+parent}/entityTypes', options)
2141
+ command = make_simple_command(:post, 'v2beta1/{+parent}/entityTypes', options)
2120
2142
  command.request_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SessionEntityType::Representation
2121
2143
  command.request_object = google_cloud_dialogflow_v2beta1_session_entity_type_object
2122
2144
  command.response_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SessionEntityType::Representation
@@ -2153,7 +2175,7 @@ module Google
2153
2175
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2154
2176
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2155
2177
  def delete_project_agent_session_entity_type(name, fields: nil, quota_user: nil, options: nil, &block)
2156
- command = make_simple_command(:delete, 'v2beta1/{+name}', options)
2178
+ command = make_simple_command(:delete, 'v2beta1/{+name}', options)
2157
2179
  command.response_representation = Google::Apis::DialogflowV2beta1::GoogleProtobufEmpty::Representation
2158
2180
  command.response_class = Google::Apis::DialogflowV2beta1::GoogleProtobufEmpty
2159
2181
  command.params['name'] = name unless name.nil?
@@ -2188,7 +2210,7 @@ module Google
2188
2210
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2189
2211
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2190
2212
  def get_project_agent_session_entity_type(name, fields: nil, quota_user: nil, options: nil, &block)
2191
- command = make_simple_command(:get, 'v2beta1/{+name}', options)
2213
+ command = make_simple_command(:get, 'v2beta1/{+name}', options)
2192
2214
  command.response_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SessionEntityType::Representation
2193
2215
  command.response_class = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SessionEntityType
2194
2216
  command.params['name'] = name unless name.nil?
@@ -2228,7 +2250,7 @@ module Google
2228
2250
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2229
2251
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2230
2252
  def list_project_agent_session_entity_types(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
2231
- command = make_simple_command(:get, 'v2beta1/{+parent}/entityTypes', options)
2253
+ command = make_simple_command(:get, 'v2beta1/{+parent}/entityTypes', options)
2232
2254
  command.response_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ListSessionEntityTypesResponse::Representation
2233
2255
  command.response_class = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ListSessionEntityTypesResponse
2234
2256
  command.params['parent'] = parent unless parent.nil?
@@ -2271,7 +2293,7 @@ module Google
2271
2293
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2272
2294
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2273
2295
  def patch_project_agent_session_entity_type(name, google_cloud_dialogflow_v2beta1_session_entity_type_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
2274
- command = make_simple_command(:patch, 'v2beta1/{+name}', options)
2296
+ command = make_simple_command(:patch, 'v2beta1/{+name}', options)
2275
2297
  command.request_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SessionEntityType::Representation
2276
2298
  command.request_object = google_cloud_dialogflow_v2beta1_session_entity_type_object
2277
2299
  command.response_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SessionEntityType::Representation
@@ -2284,6 +2306,8 @@ module Google
2284
2306
  end
2285
2307
 
2286
2308
  # Creates a knowledge base.
2309
+ # Note: The `projects.agent.knowledgeBases` resource is deprecated;
2310
+ # only use `projects.knowledgeBases`.
2287
2311
  # @param [String] parent
2288
2312
  # Required. The project to create a knowledge base for.
2289
2313
  # Format: `projects/<Project ID>`.
@@ -2306,7 +2330,7 @@ module Google
2306
2330
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2307
2331
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2308
2332
  def create_project_knowledge_basis(parent, google_cloud_dialogflow_v2beta1_knowledge_base_object = nil, fields: nil, quota_user: nil, options: nil, &block)
2309
- command = make_simple_command(:post, 'v2beta1/{+parent}/knowledgeBases', options)
2333
+ command = make_simple_command(:post, 'v2beta1/{+parent}/knowledgeBases', options)
2310
2334
  command.request_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1KnowledgeBase::Representation
2311
2335
  command.request_object = google_cloud_dialogflow_v2beta1_knowledge_base_object
2312
2336
  command.response_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1KnowledgeBase::Representation
@@ -2318,6 +2342,8 @@ module Google
2318
2342
  end
2319
2343
 
2320
2344
  # Deletes the specified knowledge base.
2345
+ # Note: The `projects.agent.knowledgeBases` resource is deprecated;
2346
+ # only use `projects.knowledgeBases`.
2321
2347
  # @param [String] name
2322
2348
  # Required. The name of the knowledge base to delete.
2323
2349
  # Format: `projects/<Project ID>/knowledgeBases/<Knowledge Base ID>`.
@@ -2342,7 +2368,7 @@ module Google
2342
2368
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2343
2369
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2344
2370
  def delete_project_knowledge_basis(name, force: nil, fields: nil, quota_user: nil, options: nil, &block)
2345
- command = make_simple_command(:delete, 'v2beta1/{+name}', options)
2371
+ command = make_simple_command(:delete, 'v2beta1/{+name}', options)
2346
2372
  command.response_representation = Google::Apis::DialogflowV2beta1::GoogleProtobufEmpty::Representation
2347
2373
  command.response_class = Google::Apis::DialogflowV2beta1::GoogleProtobufEmpty
2348
2374
  command.params['name'] = name unless name.nil?
@@ -2353,6 +2379,8 @@ module Google
2353
2379
  end
2354
2380
 
2355
2381
  # Retrieves the specified knowledge base.
2382
+ # Note: The `projects.agent.knowledgeBases` resource is deprecated;
2383
+ # only use `projects.knowledgeBases`.
2356
2384
  # @param [String] name
2357
2385
  # Required. The name of the knowledge base to retrieve.
2358
2386
  # Format `projects/<Project ID>/knowledgeBases/<Knowledge Base ID>`.
@@ -2374,7 +2402,7 @@ module Google
2374
2402
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2375
2403
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2376
2404
  def get_project_knowledge_basis(name, fields: nil, quota_user: nil, options: nil, &block)
2377
- command = make_simple_command(:get, 'v2beta1/{+name}', options)
2405
+ command = make_simple_command(:get, 'v2beta1/{+name}', options)
2378
2406
  command.response_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1KnowledgeBase::Representation
2379
2407
  command.response_class = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1KnowledgeBase
2380
2408
  command.params['name'] = name unless name.nil?
@@ -2384,6 +2412,8 @@ module Google
2384
2412
  end
2385
2413
 
2386
2414
  # Returns the list of all knowledge bases of the specified agent.
2415
+ # Note: The `projects.agent.knowledgeBases` resource is deprecated;
2416
+ # only use `projects.knowledgeBases`.
2387
2417
  # @param [String] parent
2388
2418
  # Required. The project to list of knowledge bases for.
2389
2419
  # Format: `projects/<Project ID>`.
@@ -2410,7 +2440,7 @@ module Google
2410
2440
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2411
2441
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2412
2442
  def list_project_knowledge_bases(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
2413
- command = make_simple_command(:get, 'v2beta1/{+parent}/knowledgeBases', options)
2443
+ command = make_simple_command(:get, 'v2beta1/{+parent}/knowledgeBases', options)
2414
2444
  command.response_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ListKnowledgeBasesResponse::Representation
2415
2445
  command.response_class = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ListKnowledgeBasesResponse
2416
2446
  command.params['parent'] = parent unless parent.nil?
@@ -2422,6 +2452,8 @@ module Google
2422
2452
  end
2423
2453
 
2424
2454
  # Updates the specified knowledge base.
2455
+ # Note: The `projects.agent.knowledgeBases` resource is deprecated;
2456
+ # only use `projects.knowledgeBases`.
2425
2457
  # @param [String] name
2426
2458
  # The knowledge base resource name.
2427
2459
  # The name must be empty when creating a knowledge base.
@@ -2449,7 +2481,7 @@ module Google
2449
2481
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2450
2482
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2451
2483
  def patch_project_knowledge_basis(name, google_cloud_dialogflow_v2beta1_knowledge_base_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
2452
- command = make_simple_command(:patch, 'v2beta1/{+name}', options)
2484
+ command = make_simple_command(:patch, 'v2beta1/{+name}', options)
2453
2485
  command.request_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1KnowledgeBase::Representation
2454
2486
  command.request_object = google_cloud_dialogflow_v2beta1_knowledge_base_object
2455
2487
  command.response_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1KnowledgeBase::Representation
@@ -2462,6 +2494,8 @@ module Google
2462
2494
  end
2463
2495
 
2464
2496
  # Creates a new document.
2497
+ # Note: The `projects.agent.knowledgeBases.documents` resource is deprecated;
2498
+ # only use `projects.knowledgeBases.documents`.
2465
2499
  # Operation <response: Document,
2466
2500
  # metadata: KnowledgeOperationMetadata>
2467
2501
  # @param [String] parent
@@ -2486,7 +2520,7 @@ module Google
2486
2520
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2487
2521
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2488
2522
  def create_project_knowledge_basis_document(parent, google_cloud_dialogflow_v2beta1_document_object = nil, fields: nil, quota_user: nil, options: nil, &block)
2489
- command = make_simple_command(:post, 'v2beta1/{+parent}/documents', options)
2523
+ command = make_simple_command(:post, 'v2beta1/{+parent}/documents', options)
2490
2524
  command.request_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Document::Representation
2491
2525
  command.request_object = google_cloud_dialogflow_v2beta1_document_object
2492
2526
  command.response_representation = Google::Apis::DialogflowV2beta1::GoogleLongrunningOperation::Representation
@@ -2498,6 +2532,8 @@ module Google
2498
2532
  end
2499
2533
 
2500
2534
  # Deletes the specified document.
2535
+ # Note: The `projects.agent.knowledgeBases.documents` resource is deprecated;
2536
+ # only use `projects.knowledgeBases.documents`.
2501
2537
  # Operation <response: google.protobuf.Empty,
2502
2538
  # metadata: KnowledgeOperationMetadata>
2503
2539
  # @param [String] name
@@ -2522,7 +2558,7 @@ module Google
2522
2558
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2523
2559
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2524
2560
  def delete_project_knowledge_basis_document(name, fields: nil, quota_user: nil, options: nil, &block)
2525
- command = make_simple_command(:delete, 'v2beta1/{+name}', options)
2561
+ command = make_simple_command(:delete, 'v2beta1/{+name}', options)
2526
2562
  command.response_representation = Google::Apis::DialogflowV2beta1::GoogleLongrunningOperation::Representation
2527
2563
  command.response_class = Google::Apis::DialogflowV2beta1::GoogleLongrunningOperation
2528
2564
  command.params['name'] = name unless name.nil?
@@ -2532,6 +2568,8 @@ module Google
2532
2568
  end
2533
2569
 
2534
2570
  # Retrieves the specified document.
2571
+ # Note: The `projects.agent.knowledgeBases.documents` resource is deprecated;
2572
+ # only use `projects.knowledgeBases.documents`.
2535
2573
  # @param [String] name
2536
2574
  # Required. The name of the document to retrieve.
2537
2575
  # Format `projects/<Project ID>/knowledgeBases/<Knowledge Base
@@ -2554,7 +2592,7 @@ module Google
2554
2592
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2555
2593
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2556
2594
  def get_project_knowledge_basis_document(name, fields: nil, quota_user: nil, options: nil, &block)
2557
- command = make_simple_command(:get, 'v2beta1/{+name}', options)
2595
+ command = make_simple_command(:get, 'v2beta1/{+name}', options)
2558
2596
  command.response_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Document::Representation
2559
2597
  command.response_class = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Document
2560
2598
  command.params['name'] = name unless name.nil?
@@ -2564,6 +2602,8 @@ module Google
2564
2602
  end
2565
2603
 
2566
2604
  # Returns the list of all documents of the knowledge base.
2605
+ # Note: The `projects.agent.knowledgeBases.documents` resource is deprecated;
2606
+ # only use `projects.knowledgeBases.documents`.
2567
2607
  # @param [String] parent
2568
2608
  # Required. The knowledge base to list all documents for.
2569
2609
  # Format: `projects/<Project ID>/knowledgeBases/<Knowledge Base ID>`.
@@ -2590,7 +2630,7 @@ module Google
2590
2630
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2591
2631
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2592
2632
  def list_project_knowledge_basis_documents(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
2593
- command = make_simple_command(:get, 'v2beta1/{+parent}/documents', options)
2633
+ command = make_simple_command(:get, 'v2beta1/{+parent}/documents', options)
2594
2634
  command.response_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ListDocumentsResponse::Representation
2595
2635
  command.response_class = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ListDocumentsResponse
2596
2636
  command.params['parent'] = parent unless parent.nil?
@@ -2602,6 +2642,8 @@ module Google
2602
2642
  end
2603
2643
 
2604
2644
  # Updates the specified document.
2645
+ # Note: The `projects.agent.knowledgeBases.documents` resource is deprecated;
2646
+ # only use `projects.knowledgeBases.documents`.
2605
2647
  # Operation <response: Document,
2606
2648
  # metadata: KnowledgeOperationMetadata>
2607
2649
  # @param [String] name
@@ -2632,7 +2674,7 @@ module Google
2632
2674
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2633
2675
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2634
2676
  def patch_project_knowledge_basis_document(name, google_cloud_dialogflow_v2beta1_document_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
2635
- command = make_simple_command(:patch, 'v2beta1/{+name}', options)
2677
+ command = make_simple_command(:patch, 'v2beta1/{+name}', options)
2636
2678
  command.request_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Document::Representation
2637
2679
  command.request_object = google_cloud_dialogflow_v2beta1_document_object
2638
2680
  command.response_representation = Google::Apis::DialogflowV2beta1::GoogleLongrunningOperation::Representation
@@ -2648,6 +2690,8 @@ module Google
2648
2690
  # content. The previously loaded content of the document will be deleted.
2649
2691
  # Note: Even when the content of the document has not changed, there still
2650
2692
  # may be side effects because of internal implementation changes.
2693
+ # Note: The `projects.agent.knowledgeBases.documents` resource is deprecated;
2694
+ # only use `projects.knowledgeBases.documents`.
2651
2695
  # Operation <response: Document,
2652
2696
  # metadata: KnowledgeOperationMetadata>
2653
2697
  # @param [String] name
@@ -2673,7 +2717,7 @@ module Google
2673
2717
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2674
2718
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2675
2719
  def reload_project_knowledge_basis_document(name, google_cloud_dialogflow_v2beta1_reload_document_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
2676
- command = make_simple_command(:post, 'v2beta1/{+name}:reload', options)
2720
+ command = make_simple_command(:post, 'v2beta1/{+name}:reload', options)
2677
2721
  command.request_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ReloadDocumentRequest::Representation
2678
2722
  command.request_object = google_cloud_dialogflow_v2beta1_reload_document_request_object
2679
2723
  command.response_representation = Google::Apis::DialogflowV2beta1::GoogleLongrunningOperation::Representation
@@ -2707,7 +2751,7 @@ module Google
2707
2751
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2708
2752
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2709
2753
  def get_project_operation(name, fields: nil, quota_user: nil, options: nil, &block)
2710
- command = make_simple_command(:get, 'v2beta1/{+name}', options)
2754
+ command = make_simple_command(:get, 'v2beta1/{+name}', options)
2711
2755
  command.response_representation = Google::Apis::DialogflowV2beta1::GoogleLongrunningOperation::Representation
2712
2756
  command.response_class = Google::Apis::DialogflowV2beta1::GoogleLongrunningOperation
2713
2757
  command.params['name'] = name unless name.nil?