google-api-client 0.31.0 → 0.32.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (295) hide show
  1. checksums.yaml +4 -4
  2. data/.kokoro/continuous/linux.cfg +11 -1
  3. data/.kokoro/continuous/osx.cfg +5 -0
  4. data/.kokoro/continuous/windows.cfg +10 -0
  5. data/.kokoro/presubmit/linux.cfg +11 -1
  6. data/.kokoro/presubmit/osx.cfg +5 -0
  7. data/.kokoro/presubmit/windows.cfg +10 -0
  8. data/CHANGELOG.md +107 -0
  9. data/generated/google/apis/androidmanagement_v1.rb +1 -1
  10. data/generated/google/apis/androidmanagement_v1/classes.rb +12 -1
  11. data/generated/google/apis/androidmanagement_v1/representations.rb +1 -0
  12. data/generated/google/apis/bigquery_v2.rb +1 -1
  13. data/generated/google/apis/bigquery_v2/classes.rb +241 -0
  14. data/generated/google/apis/bigquery_v2/representations.rb +115 -0
  15. data/generated/google/apis/bigqueryconnection_v1beta1.rb +1 -1
  16. data/generated/google/apis/bigqueryconnection_v1beta1/classes.rb +62 -29
  17. data/generated/google/apis/bigquerydatatransfer_v1.rb +1 -1
  18. data/generated/google/apis/bigquerydatatransfer_v1/classes.rb +2 -2
  19. data/generated/google/apis/bigquerydatatransfer_v1/service.rb +30 -26
  20. data/generated/google/apis/bigqueryreservation_v1.rb +1 -1
  21. data/generated/google/apis/bigqueryreservation_v1/classes.rb +7 -7
  22. data/generated/google/apis/bigqueryreservation_v1/representations.rb +3 -3
  23. data/generated/google/apis/bigqueryreservation_v1alpha2.rb +1 -1
  24. data/generated/google/apis/bigqueryreservation_v1alpha2/classes.rb +0 -175
  25. data/generated/google/apis/bigqueryreservation_v1alpha2/representations.rb +0 -65
  26. data/generated/google/apis/bigqueryreservation_v1alpha2/service.rb +0 -140
  27. data/generated/google/apis/bigqueryreservation_v1beta1.rb +37 -0
  28. data/generated/google/apis/bigqueryreservation_v1beta1/classes.rb +497 -0
  29. data/generated/google/apis/bigqueryreservation_v1beta1/representations.rb +236 -0
  30. data/generated/google/apis/bigqueryreservation_v1beta1/service.rb +713 -0
  31. data/generated/google/apis/binaryauthorization_v1.rb +1 -1
  32. data/generated/google/apis/binaryauthorization_v1/classes.rb +307 -0
  33. data/generated/google/apis/binaryauthorization_v1/representations.rb +88 -0
  34. data/generated/google/apis/binaryauthorization_v1/service.rb +230 -0
  35. data/generated/google/apis/binaryauthorization_v1beta1.rb +1 -1
  36. data/generated/google/apis/binaryauthorization_v1beta1/classes.rb +62 -29
  37. data/generated/google/apis/blogger_v3.rb +1 -1
  38. data/generated/google/apis/blogger_v3/service.rb +6 -6
  39. data/generated/google/apis/calendar_v3.rb +1 -1
  40. data/generated/google/apis/calendar_v3/classes.rb +1 -0
  41. data/generated/google/apis/cloudasset_v1.rb +1 -1
  42. data/generated/google/apis/cloudasset_v1/classes.rb +72 -29
  43. data/generated/google/apis/cloudasset_v1/representations.rb +1 -0
  44. data/generated/google/apis/cloudasset_v1/service.rb +1 -1
  45. data/generated/google/apis/cloudasset_v1beta1.rb +1 -1
  46. data/generated/google/apis/cloudasset_v1beta1/classes.rb +62 -29
  47. data/generated/google/apis/cloudasset_v1beta1/service.rb +2 -2
  48. data/generated/google/apis/cloudfunctions_v1.rb +1 -1
  49. data/generated/google/apis/cloudfunctions_v1/classes.rb +7 -2
  50. data/generated/google/apis/cloudfunctions_v1/service.rb +10 -7
  51. data/generated/google/apis/cloudfunctions_v1beta2.rb +1 -1
  52. data/generated/google/apis/cloudfunctions_v1beta2/classes.rb +1 -1
  53. data/generated/google/apis/cloudfunctions_v1beta2/service.rb +7 -6
  54. data/generated/google/apis/cloudidentity_v1.rb +4 -1
  55. data/generated/google/apis/cloudidentity_v1beta1.rb +4 -1
  56. data/generated/google/apis/cloudiot_v1.rb +1 -1
  57. data/generated/google/apis/cloudiot_v1/classes.rb +68 -35
  58. data/generated/google/apis/cloudiot_v1/service.rb +18 -17
  59. data/generated/google/apis/cloudkms_v1.rb +1 -1
  60. data/generated/google/apis/cloudkms_v1/classes.rb +77 -35
  61. data/generated/google/apis/cloudkms_v1/service.rb +33 -27
  62. data/generated/google/apis/cloudprivatecatalogproducer_v1beta1.rb +1 -1
  63. data/generated/google/apis/cloudprivatecatalogproducer_v1beta1/classes.rb +62 -29
  64. data/generated/google/apis/cloudsearch_v1.rb +1 -1
  65. data/generated/google/apis/cloudsearch_v1/classes.rb +354 -0
  66. data/generated/google/apis/cloudsearch_v1/representations.rb +196 -0
  67. data/generated/google/apis/cloudsearch_v1/service.rb +314 -2
  68. data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
  69. data/generated/google/apis/cloudtasks_v2beta3/classes.rb +62 -29
  70. data/generated/google/apis/cloudtrace_v1.rb +1 -1
  71. data/generated/google/apis/cloudtrace_v1/classes.rb +1 -1
  72. data/generated/google/apis/cloudtrace_v1/service.rb +10 -10
  73. data/generated/google/apis/cloudtrace_v2.rb +1 -1
  74. data/generated/google/apis/cloudtrace_v2/classes.rb +3 -3
  75. data/generated/google/apis/commentanalyzer_v1alpha1.rb +1 -1
  76. data/generated/google/apis/commentanalyzer_v1alpha1/classes.rb +7 -10
  77. data/generated/google/apis/compute_alpha.rb +1 -1
  78. data/generated/google/apis/compute_alpha/classes.rb +38 -42
  79. data/generated/google/apis/compute_alpha/representations.rb +5 -16
  80. data/generated/google/apis/compute_beta.rb +1 -1
  81. data/generated/google/apis/compute_beta/classes.rb +10 -5
  82. data/generated/google/apis/compute_v1.rb +1 -1
  83. data/generated/google/apis/compute_v1/classes.rb +1327 -4
  84. data/generated/google/apis/compute_v1/representations.rb +439 -0
  85. data/generated/google/apis/container_v1.rb +1 -1
  86. data/generated/google/apis/container_v1/classes.rb +111 -0
  87. data/generated/google/apis/container_v1/representations.rb +51 -0
  88. data/generated/google/apis/containeranalysis_v1alpha1.rb +1 -1
  89. data/generated/google/apis/containeranalysis_v1alpha1/classes.rb +76 -30
  90. data/generated/google/apis/containeranalysis_v1alpha1/representations.rb +1 -0
  91. data/generated/google/apis/containeranalysis_v1beta1.rb +1 -1
  92. data/generated/google/apis/containeranalysis_v1beta1/classes.rb +70 -30
  93. data/generated/google/apis/content_v2.rb +1 -1
  94. data/generated/google/apis/content_v2/service.rb +0 -226
  95. data/generated/google/apis/dataflow_v1b3.rb +1 -1
  96. data/generated/google/apis/dataflow_v1b3/classes.rb +42 -0
  97. data/generated/google/apis/dataflow_v1b3/representations.rb +4 -0
  98. data/generated/google/apis/dataproc_v1.rb +1 -1
  99. data/generated/google/apis/dataproc_v1/classes.rb +324 -38
  100. data/generated/google/apis/dataproc_v1/representations.rb +97 -0
  101. data/generated/google/apis/dataproc_v1/service.rb +613 -1
  102. data/generated/google/apis/dataproc_v1beta2.rb +1 -1
  103. data/generated/google/apis/dataproc_v1beta2/classes.rb +100 -54
  104. data/generated/google/apis/dataproc_v1beta2/service.rb +29 -22
  105. data/generated/google/apis/dialogflow_v2.rb +1 -1
  106. data/generated/google/apis/dialogflow_v2/classes.rb +363 -167
  107. data/generated/google/apis/dialogflow_v2/representations.rb +160 -49
  108. data/generated/google/apis/dialogflow_v2/service.rb +1 -1
  109. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  110. data/generated/google/apis/dialogflow_v2beta1/classes.rb +433 -178
  111. data/generated/google/apis/dialogflow_v2beta1/representations.rb +199 -59
  112. data/generated/google/apis/dialogflow_v2beta1/service.rb +39 -0
  113. data/generated/google/apis/dlp_v2.rb +1 -1
  114. data/generated/google/apis/dlp_v2/classes.rb +3 -4
  115. data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
  116. data/generated/google/apis/drive_v2.rb +1 -1
  117. data/generated/google/apis/drive_v2/classes.rb +2 -2
  118. data/generated/google/apis/drive_v3.rb +1 -1
  119. data/generated/google/apis/drive_v3/classes.rb +2 -2
  120. data/generated/google/apis/fcm_v1.rb +1 -1
  121. data/generated/google/apis/fcm_v1/classes.rb +9 -4
  122. data/generated/google/apis/file_v1.rb +1 -1
  123. data/generated/google/apis/file_v1/classes.rb +8 -0
  124. data/generated/google/apis/file_v1/representations.rb +1 -0
  125. data/generated/google/apis/file_v1/service.rb +2 -0
  126. data/generated/google/apis/file_v1beta1.rb +1 -1
  127. data/generated/google/apis/file_v1beta1/classes.rb +8 -0
  128. data/generated/google/apis/file_v1beta1/representations.rb +1 -0
  129. data/generated/google/apis/file_v1beta1/service.rb +2 -0
  130. data/generated/google/apis/firebase_v1beta1.rb +1 -1
  131. data/generated/google/apis/firebase_v1beta1/classes.rb +41 -4
  132. data/generated/google/apis/firebase_v1beta1/representations.rb +2 -0
  133. data/generated/google/apis/firebase_v1beta1/service.rb +22 -14
  134. data/generated/google/apis/fitness_v1.rb +19 -19
  135. data/generated/google/apis/healthcare_v1beta1.rb +1 -1
  136. data/generated/google/apis/healthcare_v1beta1/classes.rb +136 -100
  137. data/generated/google/apis/healthcare_v1beta1/representations.rb +1 -1
  138. data/generated/google/apis/healthcare_v1beta1/service.rb +124 -119
  139. data/generated/google/apis/iam_v1.rb +1 -1
  140. data/generated/google/apis/iam_v1/classes.rb +87 -41
  141. data/generated/google/apis/iap_v1.rb +1 -1
  142. data/generated/google/apis/iap_v1/classes.rb +62 -29
  143. data/generated/google/apis/iap_v1beta1.rb +1 -1
  144. data/generated/google/apis/iap_v1beta1/classes.rb +62 -29
  145. data/generated/google/apis/ml_v1.rb +1 -1
  146. data/generated/google/apis/ml_v1/classes.rb +114 -49
  147. data/generated/google/apis/ml_v1/representations.rb +2 -0
  148. data/generated/google/apis/ml_v1/service.rb +12 -6
  149. data/generated/google/apis/monitoring_v3.rb +1 -1
  150. data/generated/google/apis/monitoring_v3/classes.rb +14 -10
  151. data/generated/google/apis/monitoring_v3/representations.rb +1 -0
  152. data/generated/google/apis/oslogin_v1.rb +1 -1
  153. data/generated/google/apis/oslogin_v1/classes.rb +12 -0
  154. data/generated/google/apis/oslogin_v1/representations.rb +2 -0
  155. data/generated/google/apis/oslogin_v1alpha.rb +1 -1
  156. data/generated/google/apis/oslogin_v1alpha/classes.rb +12 -0
  157. data/generated/google/apis/oslogin_v1alpha/representations.rb +2 -0
  158. data/generated/google/apis/oslogin_v1beta.rb +1 -1
  159. data/generated/google/apis/oslogin_v1beta/classes.rb +12 -0
  160. data/generated/google/apis/oslogin_v1beta/representations.rb +2 -0
  161. data/generated/google/apis/policytroubleshooter_v1beta.rb +34 -0
  162. data/generated/google/apis/policytroubleshooter_v1beta/classes.rb +621 -0
  163. data/generated/google/apis/policytroubleshooter_v1beta/representations.rb +203 -0
  164. data/generated/google/apis/policytroubleshooter_v1beta/service.rb +91 -0
  165. data/generated/google/apis/proximitybeacon_v1beta1.rb +1 -1
  166. data/generated/google/apis/proximitybeacon_v1beta1/classes.rb +7 -4
  167. data/generated/google/apis/proximitybeacon_v1beta1/service.rb +60 -58
  168. data/generated/google/apis/recommender_v1beta1.rb +34 -0
  169. data/generated/google/apis/recommender_v1beta1/classes.rb +502 -0
  170. data/generated/google/apis/recommender_v1beta1/representations.rb +232 -0
  171. data/generated/google/apis/recommender_v1beta1/service.rb +262 -0
  172. data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
  173. data/generated/google/apis/remotebuildexecution_v1/classes.rb +49 -1100
  174. data/generated/google/apis/remotebuildexecution_v1/representations.rb +1 -276
  175. data/generated/google/apis/remotebuildexecution_v1/service.rb +0 -77
  176. data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
  177. data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +12 -990
  178. data/generated/google/apis/remotebuildexecution_v1alpha/representations.rb +1 -245
  179. data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
  180. data/generated/google/apis/remotebuildexecution_v2/classes.rb +12 -990
  181. data/generated/google/apis/remotebuildexecution_v2/representations.rb +1 -245
  182. data/generated/google/apis/run_v1.rb +1 -1
  183. data/generated/google/apis/run_v1/classes.rb +3553 -33
  184. data/generated/google/apis/run_v1/representations.rb +1186 -4
  185. data/generated/google/apis/run_v1/service.rb +2509 -23
  186. data/generated/google/apis/run_v1alpha1.rb +1 -1
  187. data/generated/google/apis/run_v1alpha1/classes.rb +103 -140
  188. data/generated/google/apis/run_v1alpha1/representations.rb +5 -43
  189. data/generated/google/apis/run_v1beta1.rb +35 -0
  190. data/generated/google/apis/run_v1beta1/classes.rb +1209 -0
  191. data/generated/google/apis/run_v1beta1/representations.rb +421 -0
  192. data/generated/google/apis/run_v1beta1/service.rb +172 -0
  193. data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
  194. data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +62 -29
  195. data/generated/google/apis/safebrowsing_v4.rb +5 -2
  196. data/generated/google/apis/safebrowsing_v4/service.rb +4 -1
  197. data/generated/google/apis/securitycenter_v1.rb +1 -1
  198. data/generated/google/apis/securitycenter_v1/classes.rb +70 -35
  199. data/generated/google/apis/securitycenter_v1/service.rb +13 -12
  200. data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
  201. data/generated/google/apis/securitycenter_v1beta1/classes.rb +71 -35
  202. data/generated/google/apis/securitycenter_v1beta1/service.rb +13 -12
  203. data/generated/google/apis/servicebroker_v1.rb +1 -1
  204. data/generated/google/apis/servicebroker_v1/classes.rb +62 -29
  205. data/generated/google/apis/servicebroker_v1alpha1.rb +1 -1
  206. data/generated/google/apis/servicebroker_v1alpha1/classes.rb +62 -29
  207. data/generated/google/apis/servicebroker_v1beta1.rb +1 -1
  208. data/generated/google/apis/servicebroker_v1beta1/classes.rb +62 -29
  209. data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
  210. data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +11 -2
  211. data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +1 -0
  212. data/generated/google/apis/servicemanagement_v1.rb +1 -1
  213. data/generated/google/apis/servicemanagement_v1/classes.rb +63 -33
  214. data/generated/google/apis/servicenetworking_v1.rb +1 -1
  215. data/generated/google/apis/servicenetworking_v1/classes.rb +11 -2
  216. data/generated/google/apis/servicenetworking_v1/representations.rb +1 -0
  217. data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
  218. data/generated/google/apis/servicenetworking_v1beta/classes.rb +11 -2
  219. data/generated/google/apis/servicenetworking_v1beta/representations.rb +1 -0
  220. data/generated/google/apis/serviceusage_v1.rb +1 -1
  221. data/generated/google/apis/serviceusage_v1/classes.rb +11 -2
  222. data/generated/google/apis/serviceusage_v1/representations.rb +1 -0
  223. data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
  224. data/generated/google/apis/serviceusage_v1beta1/classes.rb +11 -2
  225. data/generated/google/apis/serviceusage_v1beta1/representations.rb +1 -0
  226. data/generated/google/apis/spanner_v1.rb +1 -1
  227. data/generated/google/apis/spanner_v1/classes.rb +78 -2
  228. data/generated/google/apis/spanner_v1/representations.rb +44 -0
  229. data/generated/google/apis/spanner_v1/service.rb +35 -0
  230. data/generated/google/apis/speech_v1.rb +1 -1
  231. data/generated/google/apis/speech_v1/classes.rb +73 -19
  232. data/generated/google/apis/speech_v1/representations.rb +18 -0
  233. data/generated/google/apis/speech_v1p1beta1.rb +1 -1
  234. data/generated/google/apis/speech_v1p1beta1/classes.rb +31 -35
  235. data/generated/google/apis/speech_v2beta.rb +1 -1
  236. data/generated/google/apis/speech_v2beta/classes.rb +6 -6
  237. data/generated/google/apis/speech_v2beta/representations.rb +2 -2
  238. data/generated/google/apis/storage_v1.rb +1 -1
  239. data/generated/google/apis/storage_v1/classes.rb +1 -1
  240. data/generated/google/apis/storage_v1/representations.rb +2 -1
  241. data/generated/google/apis/storage_v1beta1.rb +1 -1
  242. data/generated/google/apis/storage_v1beta2.rb +1 -1
  243. data/generated/google/apis/streetviewpublish_v1.rb +1 -1
  244. data/generated/google/apis/streetviewpublish_v1/classes.rb +1 -1
  245. data/generated/google/apis/streetviewpublish_v1/service.rb +9 -5
  246. data/generated/google/apis/testing_v1.rb +1 -1
  247. data/generated/google/apis/testing_v1/classes.rb +42 -0
  248. data/generated/google/apis/testing_v1/representations.rb +18 -0
  249. data/generated/google/apis/texttospeech_v1.rb +1 -1
  250. data/generated/google/apis/texttospeech_v1/classes.rb +6 -5
  251. data/generated/google/apis/texttospeech_v1/service.rb +1 -1
  252. data/generated/google/apis/texttospeech_v1beta1.rb +1 -1
  253. data/generated/google/apis/texttospeech_v1beta1/classes.rb +6 -5
  254. data/generated/google/apis/texttospeech_v1beta1/service.rb +1 -1
  255. data/generated/google/apis/toolresults_v1beta3.rb +1 -1
  256. data/generated/google/apis/toolresults_v1beta3/classes.rb +1 -1
  257. data/generated/google/apis/translate_v3beta1.rb +1 -1
  258. data/generated/google/apis/translate_v3beta1/classes.rb +22 -16
  259. data/generated/google/apis/translate_v3beta1/service.rb +31 -31
  260. data/generated/google/apis/videointelligence_v1.rb +1 -1
  261. data/generated/google/apis/videointelligence_v1/classes.rb +45 -10
  262. data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
  263. data/generated/google/apis/videointelligence_v1beta2/classes.rb +45 -10
  264. data/generated/google/apis/videointelligence_v1p1beta1.rb +1 -1
  265. data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +45 -10
  266. data/generated/google/apis/videointelligence_v1p2beta1.rb +1 -1
  267. data/generated/google/apis/videointelligence_v1p2beta1/classes.rb +45 -10
  268. data/generated/google/apis/videointelligence_v1p3beta1.rb +1 -1
  269. data/generated/google/apis/videointelligence_v1p3beta1/classes.rb +45 -10
  270. data/generated/google/apis/vision_v1.rb +1 -1
  271. data/generated/google/apis/vision_v1/classes.rb +6 -156
  272. data/generated/google/apis/vision_v1/representations.rb +0 -44
  273. data/generated/google/apis/vision_v1p1beta1.rb +1 -1
  274. data/generated/google/apis/vision_v1p1beta1/classes.rb +6 -156
  275. data/generated/google/apis/vision_v1p1beta1/representations.rb +0 -44
  276. data/generated/google/apis/vision_v1p2beta1.rb +1 -1
  277. data/generated/google/apis/vision_v1p2beta1/classes.rb +6 -156
  278. data/generated/google/apis/vision_v1p2beta1/representations.rb +0 -44
  279. data/generated/google/apis/websecurityscanner_v1.rb +1 -1
  280. data/generated/google/apis/websecurityscanner_v1alpha.rb +1 -1
  281. data/generated/google/apis/websecurityscanner_v1alpha/classes.rb +21 -31
  282. data/generated/google/apis/websecurityscanner_v1alpha/service.rb +1 -1
  283. data/generated/google/apis/websecurityscanner_v1beta.rb +1 -1
  284. data/generated/google/apis/websecurityscanner_v1beta/classes.rb +30 -42
  285. data/generated/google/apis/websecurityscanner_v1beta/service.rb +1 -1
  286. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  287. data/generated/google/apis/youtube_partner_v1/classes.rb +0 -83
  288. data/generated/google/apis/youtube_partner_v1/representations.rb +0 -35
  289. data/generated/google/apis/youtube_partner_v1/service.rb +0 -100
  290. data/lib/google/apis/version.rb +1 -1
  291. metadata +18 -6
  292. data/generated/google/apis/dfareporting_v3_1.rb +0 -40
  293. data/generated/google/apis/dfareporting_v3_1/classes.rb +0 -11998
  294. data/generated/google/apis/dfareporting_v3_1/representations.rb +0 -4313
  295. data/generated/google/apis/dfareporting_v3_1/service.rb +0 -8688
@@ -430,97 +430,97 @@ module Google
430
430
  include Google::Apis::Core::JsonObjectSupport
431
431
  end
432
432
 
433
- class GoogleCloudDialogflowV2beta1ArticleSuggestionModelMetadata
433
+ class GoogleCloudDialogflowV2beta1BatchUpdateEntityTypesResponse
434
434
  class Representation < Google::Apis::Core::JsonRepresentation; end
435
435
 
436
436
  include Google::Apis::Core::JsonObjectSupport
437
437
  end
438
438
 
439
- class GoogleCloudDialogflowV2beta1BatchUpdateEntityTypesResponse
439
+ class GoogleCloudDialogflowV2beta1BatchUpdateIntentsResponse
440
440
  class Representation < Google::Apis::Core::JsonRepresentation; end
441
441
 
442
442
  include Google::Apis::Core::JsonObjectSupport
443
443
  end
444
444
 
445
- class GoogleCloudDialogflowV2beta1BatchUpdateIntentsResponse
445
+ class GoogleCloudDialogflowV2beta1Context
446
446
  class Representation < Google::Apis::Core::JsonRepresentation; end
447
447
 
448
448
  include Google::Apis::Core::JsonObjectSupport
449
449
  end
450
450
 
451
- class GoogleCloudDialogflowV2beta1Context
451
+ class GoogleCloudDialogflowV2beta1EntityType
452
452
  class Representation < Google::Apis::Core::JsonRepresentation; end
453
453
 
454
454
  include Google::Apis::Core::JsonObjectSupport
455
455
  end
456
456
 
457
- class GoogleCloudDialogflowV2beta1ConversationModel
457
+ class GoogleCloudDialogflowV2beta1EntityTypeEntity
458
458
  class Representation < Google::Apis::Core::JsonRepresentation; end
459
459
 
460
460
  include Google::Apis::Core::JsonObjectSupport
461
461
  end
462
462
 
463
- class GoogleCloudDialogflowV2beta1EntityType
463
+ class GoogleCloudDialogflowV2beta1EventInput
464
464
  class Representation < Google::Apis::Core::JsonRepresentation; end
465
465
 
466
466
  include Google::Apis::Core::JsonObjectSupport
467
467
  end
468
468
 
469
- class GoogleCloudDialogflowV2beta1EntityTypeEntity
469
+ class GoogleCloudDialogflowV2beta1ExportAgentResponse
470
470
  class Representation < Google::Apis::Core::JsonRepresentation; end
471
471
 
472
472
  include Google::Apis::Core::JsonObjectSupport
473
473
  end
474
474
 
475
- class GoogleCloudDialogflowV2beta1EventInput
475
+ class GoogleCloudDialogflowV2beta1Intent
476
476
  class Representation < Google::Apis::Core::JsonRepresentation; end
477
477
 
478
478
  include Google::Apis::Core::JsonObjectSupport
479
479
  end
480
480
 
481
- class GoogleCloudDialogflowV2beta1ExportAgentResponse
481
+ class GoogleCloudDialogflowV2beta1IntentFollowupIntentInfo
482
482
  class Representation < Google::Apis::Core::JsonRepresentation; end
483
483
 
484
484
  include Google::Apis::Core::JsonObjectSupport
485
485
  end
486
486
 
487
- class GoogleCloudDialogflowV2beta1InputDataset
487
+ class GoogleCloudDialogflowV2beta1IntentMessage
488
488
  class Representation < Google::Apis::Core::JsonRepresentation; end
489
489
 
490
490
  include Google::Apis::Core::JsonObjectSupport
491
491
  end
492
492
 
493
- class GoogleCloudDialogflowV2beta1Intent
493
+ class GoogleCloudDialogflowV2beta1IntentMessageBasicCard
494
494
  class Representation < Google::Apis::Core::JsonRepresentation; end
495
495
 
496
496
  include Google::Apis::Core::JsonObjectSupport
497
497
  end
498
498
 
499
- class GoogleCloudDialogflowV2beta1IntentFollowupIntentInfo
499
+ class GoogleCloudDialogflowV2beta1IntentMessageBasicCardButton
500
500
  class Representation < Google::Apis::Core::JsonRepresentation; end
501
501
 
502
502
  include Google::Apis::Core::JsonObjectSupport
503
503
  end
504
504
 
505
- class GoogleCloudDialogflowV2beta1IntentMessage
505
+ class GoogleCloudDialogflowV2beta1IntentMessageBasicCardButtonOpenUriAction
506
506
  class Representation < Google::Apis::Core::JsonRepresentation; end
507
507
 
508
508
  include Google::Apis::Core::JsonObjectSupport
509
509
  end
510
510
 
511
- class GoogleCloudDialogflowV2beta1IntentMessageBasicCard
511
+ class GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCard
512
512
  class Representation < Google::Apis::Core::JsonRepresentation; end
513
513
 
514
514
  include Google::Apis::Core::JsonObjectSupport
515
515
  end
516
516
 
517
- class GoogleCloudDialogflowV2beta1IntentMessageBasicCardButton
517
+ class GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardBrowseCarouselCardItem
518
518
  class Representation < Google::Apis::Core::JsonRepresentation; end
519
519
 
520
520
  include Google::Apis::Core::JsonObjectSupport
521
521
  end
522
522
 
523
- class GoogleCloudDialogflowV2beta1IntentMessageBasicCardButtonOpenUriAction
523
+ class GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardBrowseCarouselCardItemOpenUrlAction
524
524
  class Representation < Google::Apis::Core::JsonRepresentation; end
525
525
 
526
526
  include Google::Apis::Core::JsonObjectSupport
@@ -550,6 +550,12 @@ module Google
550
550
  include Google::Apis::Core::JsonObjectSupport
551
551
  end
552
552
 
553
+ class GoogleCloudDialogflowV2beta1IntentMessageColumnProperties
554
+ class Representation < Google::Apis::Core::JsonRepresentation; end
555
+
556
+ include Google::Apis::Core::JsonObjectSupport
557
+ end
558
+
553
559
  class GoogleCloudDialogflowV2beta1IntentMessageImage
554
560
  class Representation < Google::Apis::Core::JsonRepresentation; end
555
561
 
@@ -574,6 +580,18 @@ module Google
574
580
  include Google::Apis::Core::JsonObjectSupport
575
581
  end
576
582
 
583
+ class GoogleCloudDialogflowV2beta1IntentMessageMediaContent
584
+ class Representation < Google::Apis::Core::JsonRepresentation; end
585
+
586
+ include Google::Apis::Core::JsonObjectSupport
587
+ end
588
+
589
+ class GoogleCloudDialogflowV2beta1IntentMessageMediaContentResponseMediaObject
590
+ class Representation < Google::Apis::Core::JsonRepresentation; end
591
+
592
+ include Google::Apis::Core::JsonObjectSupport
593
+ end
594
+
577
595
  class GoogleCloudDialogflowV2beta1IntentMessageQuickReplies
578
596
  class Representation < Google::Apis::Core::JsonRepresentation; end
579
597
 
@@ -676,6 +694,24 @@ module Google
676
694
  include Google::Apis::Core::JsonObjectSupport
677
695
  end
678
696
 
697
+ class GoogleCloudDialogflowV2beta1IntentMessageTableCard
698
+ class Representation < Google::Apis::Core::JsonRepresentation; end
699
+
700
+ include Google::Apis::Core::JsonObjectSupport
701
+ end
702
+
703
+ class GoogleCloudDialogflowV2beta1IntentMessageTableCardCell
704
+ class Representation < Google::Apis::Core::JsonRepresentation; end
705
+
706
+ include Google::Apis::Core::JsonObjectSupport
707
+ end
708
+
709
+ class GoogleCloudDialogflowV2beta1IntentMessageTableCardRow
710
+ class Representation < Google::Apis::Core::JsonRepresentation; end
711
+
712
+ include Google::Apis::Core::JsonObjectSupport
713
+ end
714
+
679
715
  class GoogleCloudDialogflowV2beta1IntentMessageTelephonyPlayAudio
680
716
  class Representation < Google::Apis::Core::JsonRepresentation; end
681
717
 
@@ -766,7 +802,7 @@ module Google
766
802
  include Google::Apis::Core::JsonObjectSupport
767
803
  end
768
804
 
769
- class GoogleCloudDialogflowV2beta1SmartReplyModelMetadata
805
+ class GoogleCloudDialogflowV2beta1SessionEntityType
770
806
  class Representation < Google::Apis::Core::JsonRepresentation; end
771
807
 
772
808
  include Google::Apis::Core::JsonObjectSupport
@@ -1506,6 +1542,8 @@ module Google
1506
1542
  collection :output_contexts, as: 'outputContexts', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2Context, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2Context::Representation
1507
1543
 
1508
1544
  hash :payload, as: 'payload'
1545
+ collection :session_entity_types, as: 'sessionEntityTypes', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SessionEntityType, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SessionEntityType::Representation
1546
+
1509
1547
  property :source, as: 'source'
1510
1548
  end
1511
1549
  end
@@ -1523,13 +1561,6 @@ module Google
1523
1561
  end
1524
1562
  end
1525
1563
 
1526
- class GoogleCloudDialogflowV2beta1ArticleSuggestionModelMetadata
1527
- # @private
1528
- class Representation < Google::Apis::Core::JsonRepresentation
1529
- property :model_type, as: 'modelType'
1530
- end
1531
- end
1532
-
1533
1564
  class GoogleCloudDialogflowV2beta1BatchUpdateEntityTypesResponse
1534
1565
  # @private
1535
1566
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1555,22 +1586,6 @@ module Google
1555
1586
  end
1556
1587
  end
1557
1588
 
1558
- class GoogleCloudDialogflowV2beta1ConversationModel
1559
- # @private
1560
- class Representation < Google::Apis::Core::JsonRepresentation
1561
- property :article_suggestion_model_metadata, as: 'articleSuggestionModelMetadata', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1ArticleSuggestionModelMetadata, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1ArticleSuggestionModelMetadata::Representation
1562
-
1563
- property :create_time, as: 'createTime'
1564
- collection :datasets, as: 'datasets', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1InputDataset, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1InputDataset::Representation
1565
-
1566
- property :display_name, as: 'displayName'
1567
- property :name, as: 'name'
1568
- property :smart_reply_model_metadata, as: 'smartReplyModelMetadata', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1SmartReplyModelMetadata, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1SmartReplyModelMetadata::Representation
1569
-
1570
- property :state, as: 'state'
1571
- end
1572
- end
1573
-
1574
1589
  class GoogleCloudDialogflowV2beta1EntityType
1575
1590
  # @private
1576
1591
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1609,13 +1624,6 @@ module Google
1609
1624
  end
1610
1625
  end
1611
1626
 
1612
- class GoogleCloudDialogflowV2beta1InputDataset
1613
- # @private
1614
- class Representation < Google::Apis::Core::JsonRepresentation
1615
- property :dataset, as: 'dataset'
1616
- end
1617
- end
1618
-
1619
1627
  class GoogleCloudDialogflowV2beta1Intent
1620
1628
  # @private
1621
1629
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1660,6 +1668,8 @@ module Google
1660
1668
  class Representation < Google::Apis::Core::JsonRepresentation
1661
1669
  property :basic_card, as: 'basicCard', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1IntentMessageBasicCard, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1IntentMessageBasicCard::Representation
1662
1670
 
1671
+ property :browse_carousel_card, as: 'browseCarouselCard', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCard, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCard::Representation
1672
+
1663
1673
  property :card, as: 'card', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1IntentMessageCard, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1IntentMessageCard::Representation
1664
1674
 
1665
1675
  property :carousel_select, as: 'carouselSelect', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1IntentMessageCarouselSelect, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1IntentMessageCarouselSelect::Representation
@@ -1670,6 +1680,8 @@ module Google
1670
1680
 
1671
1681
  property :list_select, as: 'listSelect', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1IntentMessageListSelect, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1IntentMessageListSelect::Representation
1672
1682
 
1683
+ property :media_content, as: 'mediaContent', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1IntentMessageMediaContent, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1IntentMessageMediaContent::Representation
1684
+
1673
1685
  hash :payload, as: 'payload'
1674
1686
  property :platform, as: 'platform'
1675
1687
  property :quick_replies, as: 'quickReplies', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1IntentMessageQuickReplies, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1IntentMessageQuickReplies::Representation
@@ -1684,6 +1696,8 @@ module Google
1684
1696
 
1685
1697
  property :suggestions, as: 'suggestions', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1IntentMessageSuggestions, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1IntentMessageSuggestions::Representation
1686
1698
 
1699
+ property :table_card, as: 'tableCard', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1IntentMessageTableCard, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1IntentMessageTableCard::Representation
1700
+
1687
1701
  property :telephony_play_audio, as: 'telephonyPlayAudio', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1IntentMessageTelephonyPlayAudio, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1IntentMessageTelephonyPlayAudio::Representation
1688
1702
 
1689
1703
  property :telephony_synthesize_speech, as: 'telephonySynthesizeSpeech', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1IntentMessageTelephonySynthesizeSpeech, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1IntentMessageTelephonySynthesizeSpeech::Representation
@@ -1724,6 +1738,36 @@ module Google
1724
1738
  end
1725
1739
  end
1726
1740
 
1741
+ class GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCard
1742
+ # @private
1743
+ class Representation < Google::Apis::Core::JsonRepresentation
1744
+ property :image_display_options, as: 'imageDisplayOptions'
1745
+ collection :items, as: 'items', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardBrowseCarouselCardItem, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardBrowseCarouselCardItem::Representation
1746
+
1747
+ end
1748
+ end
1749
+
1750
+ class GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardBrowseCarouselCardItem
1751
+ # @private
1752
+ class Representation < Google::Apis::Core::JsonRepresentation
1753
+ property :description, as: 'description'
1754
+ property :footer, as: 'footer'
1755
+ property :image, as: 'image', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1IntentMessageImage, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1IntentMessageImage::Representation
1756
+
1757
+ property :open_uri_action, as: 'openUriAction', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardBrowseCarouselCardItemOpenUrlAction, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardBrowseCarouselCardItemOpenUrlAction::Representation
1758
+
1759
+ property :title, as: 'title'
1760
+ end
1761
+ end
1762
+
1763
+ class GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardBrowseCarouselCardItemOpenUrlAction
1764
+ # @private
1765
+ class Representation < Google::Apis::Core::JsonRepresentation
1766
+ property :url, as: 'url'
1767
+ property :url_type_hint, as: 'urlTypeHint'
1768
+ end
1769
+ end
1770
+
1727
1771
  class GoogleCloudDialogflowV2beta1IntentMessageCard
1728
1772
  # @private
1729
1773
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1763,6 +1807,14 @@ module Google
1763
1807
  end
1764
1808
  end
1765
1809
 
1810
+ class GoogleCloudDialogflowV2beta1IntentMessageColumnProperties
1811
+ # @private
1812
+ class Representation < Google::Apis::Core::JsonRepresentation
1813
+ property :header, as: 'header'
1814
+ property :horizontal_alignment, as: 'horizontalAlignment'
1815
+ end
1816
+ end
1817
+
1766
1818
  class GoogleCloudDialogflowV2beta1IntentMessageImage
1767
1819
  # @private
1768
1820
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1800,6 +1852,28 @@ module Google
1800
1852
  end
1801
1853
  end
1802
1854
 
1855
+ class GoogleCloudDialogflowV2beta1IntentMessageMediaContent
1856
+ # @private
1857
+ class Representation < Google::Apis::Core::JsonRepresentation
1858
+ collection :media_objects, as: 'mediaObjects', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1IntentMessageMediaContentResponseMediaObject, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1IntentMessageMediaContentResponseMediaObject::Representation
1859
+
1860
+ property :media_type, as: 'mediaType'
1861
+ end
1862
+ end
1863
+
1864
+ class GoogleCloudDialogflowV2beta1IntentMessageMediaContentResponseMediaObject
1865
+ # @private
1866
+ class Representation < Google::Apis::Core::JsonRepresentation
1867
+ property :content_url, as: 'contentUrl'
1868
+ property :description, as: 'description'
1869
+ property :icon, as: 'icon', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1IntentMessageImage, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1IntentMessageImage::Representation
1870
+
1871
+ property :large_image, as: 'largeImage', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1IntentMessageImage, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1IntentMessageImage::Representation
1872
+
1873
+ property :name, as: 'name'
1874
+ end
1875
+ end
1876
+
1803
1877
  class GoogleCloudDialogflowV2beta1IntentMessageQuickReplies
1804
1878
  # @private
1805
1879
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1949,6 +2023,38 @@ module Google
1949
2023
  end
1950
2024
  end
1951
2025
 
2026
+ class GoogleCloudDialogflowV2beta1IntentMessageTableCard
2027
+ # @private
2028
+ class Representation < Google::Apis::Core::JsonRepresentation
2029
+ collection :buttons, as: 'buttons', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1IntentMessageBasicCardButton, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1IntentMessageBasicCardButton::Representation
2030
+
2031
+ collection :column_properties, as: 'columnProperties', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1IntentMessageColumnProperties, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1IntentMessageColumnProperties::Representation
2032
+
2033
+ property :image, as: 'image', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1IntentMessageImage, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1IntentMessageImage::Representation
2034
+
2035
+ collection :rows, as: 'rows', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1IntentMessageTableCardRow, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1IntentMessageTableCardRow::Representation
2036
+
2037
+ property :subtitle, as: 'subtitle'
2038
+ property :title, as: 'title'
2039
+ end
2040
+ end
2041
+
2042
+ class GoogleCloudDialogflowV2beta1IntentMessageTableCardCell
2043
+ # @private
2044
+ class Representation < Google::Apis::Core::JsonRepresentation
2045
+ property :text, as: 'text'
2046
+ end
2047
+ end
2048
+
2049
+ class GoogleCloudDialogflowV2beta1IntentMessageTableCardRow
2050
+ # @private
2051
+ class Representation < Google::Apis::Core::JsonRepresentation
2052
+ collection :cells, as: 'cells', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1IntentMessageTableCardCell, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1IntentMessageTableCardCell::Representation
2053
+
2054
+ property :divider_after, as: 'dividerAfter'
2055
+ end
2056
+ end
2057
+
1952
2058
  class GoogleCloudDialogflowV2beta1IntentMessageTelephonyPlayAudio
1953
2059
  # @private
1954
2060
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2099,10 +2205,13 @@ module Google
2099
2205
  end
2100
2206
  end
2101
2207
 
2102
- class GoogleCloudDialogflowV2beta1SmartReplyModelMetadata
2208
+ class GoogleCloudDialogflowV2beta1SessionEntityType
2103
2209
  # @private
2104
2210
  class Representation < Google::Apis::Core::JsonRepresentation
2105
- property :model_type, as: 'modelType'
2211
+ collection :entities, as: 'entities', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1EntityTypeEntity, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1EntityTypeEntity::Representation
2212
+
2213
+ property :entity_override_mode, as: 'entityOverrideMode'
2214
+ property :name, as: 'name'
2106
2215
  end
2107
2216
  end
2108
2217
 
@@ -2132,6 +2241,8 @@ module Google
2132
2241
  collection :output_contexts, as: 'outputContexts', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1Context, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1Context::Representation
2133
2242
 
2134
2243
  hash :payload, as: 'payload'
2244
+ collection :session_entity_types, as: 'sessionEntityTypes', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1SessionEntityType, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1SessionEntityType::Representation
2245
+
2135
2246
  property :source, as: 'source'
2136
2247
  end
2137
2248
  end
@@ -271,7 +271,7 @@ module Google
271
271
  # Optional. The maximum number of items to return in a single page. By
272
272
  # default 100 and at most 1000.
273
273
  # @param [String] page_token
274
- # Optional. The next_page_token value returned from a previous list request.
274
+ # The next_page_token value returned from a previous list request.
275
275
  # @param [String] fields
276
276
  # Selector specifying which fields to include in a partial response.
277
277
  # @param [String] quota_user
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://cloud.google.com/dialogflow/
27
27
  module DialogflowV2beta1
28
28
  VERSION = 'V2beta1'
29
- REVISION = '20190909'
29
+ REVISION = '20190924'
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'
@@ -234,20 +234,7 @@ module Google
234
234
  class GoogleCloudDialogflowV2ExportAgentResponse
235
235
  include Google::Apis::Core::Hashable
236
236
 
237
- # The exported agent.
238
- # Example for how to export an agent to a zip file via a command line:
239
- # <pre>curl \
240
- # 'https://dialogflow.googleapis.com/v2/projects/&lt;project_name&gt;/agent:
241
- # export'\
242
- # -X POST \
243
- # -H 'Authorization: Bearer '$(gcloud auth application-default
244
- # print-access-token) \
245
- # -H 'Accept: application/json' \
246
- # -H 'Content-Type: application/json' \
247
- # --compressed \
248
- # --data-binary '``' \
249
- # | grep agentContent | sed -e 's/.*"agentContent": "\([^"]*\)".*/\1/' \
250
- # | base64 --decode > &lt;agent zip file&gt;</pre>
237
+ # Zip compressed raw byte content for agent.
251
238
  # Corresponds to the JSON property `agentContent`
252
239
  # NOTE: Values are automatically base64 encoded/decoded in the client library.
253
240
  # @return [String]
@@ -669,7 +656,7 @@ module Google
669
656
  end
670
657
  end
671
658
 
672
- # Optional. Contains information about a button.
659
+ # Contains information about a button.
673
660
  class GoogleCloudDialogflowV2IntentMessageCardButton
674
661
  include Google::Apis::Core::Hashable
675
662
 
@@ -1444,6 +1431,47 @@ module Google
1444
1431
  end
1445
1432
  end
1446
1433
 
1434
+ # Represents a session entity type.
1435
+ # Extends or replaces a developer entity type at the user session level (we
1436
+ # refer to the entity types defined at the agent level as "developer entity
1437
+ # types").
1438
+ # Note: session entity types apply to all queries, regardless of the language.
1439
+ class GoogleCloudDialogflowV2SessionEntityType
1440
+ include Google::Apis::Core::Hashable
1441
+
1442
+ # Required. The collection of entities associated with this session entity
1443
+ # type.
1444
+ # Corresponds to the JSON property `entities`
1445
+ # @return [Array<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2EntityTypeEntity>]
1446
+ attr_accessor :entities
1447
+
1448
+ # Required. Indicates whether the additional data should override or
1449
+ # supplement the developer entity type definition.
1450
+ # Corresponds to the JSON property `entityOverrideMode`
1451
+ # @return [String]
1452
+ attr_accessor :entity_override_mode
1453
+
1454
+ # Required. The unique identifier of this session entity type. Format:
1455
+ # `projects/<Project ID>/agent/sessions/<Session ID>/entityTypes/<Entity Type
1456
+ # Display Name>`.
1457
+ # `<Entity Type Display Name>` must be the display name of an existing entity
1458
+ # type in the same agent that will be overridden or supplemented.
1459
+ # Corresponds to the JSON property `name`
1460
+ # @return [String]
1461
+ attr_accessor :name
1462
+
1463
+ def initialize(**args)
1464
+ update!(**args)
1465
+ end
1466
+
1467
+ # Update properties of this object
1468
+ def update!(**args)
1469
+ @entities = args[:entities] if args.key?(:entities)
1470
+ @entity_override_mode = args[:entity_override_mode] if args.key?(:entity_override_mode)
1471
+ @name = args[:name] if args.key?(:name)
1472
+ end
1473
+ end
1474
+
1447
1475
  # The request message for a webhook call.
1448
1476
  class GoogleCloudDialogflowV2WebhookRequest
1449
1477
  include Google::Apis::Core::Hashable
@@ -1544,6 +1572,15 @@ module Google
1544
1572
  # @return [Hash<String,Object>]
1545
1573
  attr_accessor :payload
1546
1574
 
1575
+ # Optional. Additional session entity types to replace or extend developer
1576
+ # entity types with. The entity synonyms apply to all languages and persist
1577
+ # for the session of this query. Setting the session entity types inside
1578
+ # webhook overwrites the session entity types that have been set through
1579
+ # `DetectIntentRequest.query_params.session_entity_types`.
1580
+ # Corresponds to the JSON property `sessionEntityTypes`
1581
+ # @return [Array<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2SessionEntityType>]
1582
+ attr_accessor :session_entity_types
1583
+
1547
1584
  # Optional. This value is passed directly to `QueryResult.webhook_source`.
1548
1585
  # Corresponds to the JSON property `source`
1549
1586
  # @return [String]
@@ -1560,6 +1597,7 @@ module Google
1560
1597
  @fulfillment_text = args[:fulfillment_text] if args.key?(:fulfillment_text)
1561
1598
  @output_contexts = args[:output_contexts] if args.key?(:output_contexts)
1562
1599
  @payload = args[:payload] if args.key?(:payload)
1600
+ @session_entity_types = args[:session_entity_types] if args.key?(:session_entity_types)
1563
1601
  @source = args[:source] if args.key?(:source)
1564
1602
  end
1565
1603
  end
@@ -1739,26 +1777,6 @@ module Google
1739
1777
  end
1740
1778
  end
1741
1779
 
1742
- # Metadata for article suggestion models.
1743
- class GoogleCloudDialogflowV2beta1ArticleSuggestionModelMetadata
1744
- include Google::Apis::Core::Hashable
1745
-
1746
- # Optional. Type of the article suggestion model. The available values are:
1747
- # * `article-suggestion-gbt-1` - (default) Article Suggestion Gbt model.
1748
- # Corresponds to the JSON property `modelType`
1749
- # @return [String]
1750
- attr_accessor :model_type
1751
-
1752
- def initialize(**args)
1753
- update!(**args)
1754
- end
1755
-
1756
- # Update properties of this object
1757
- def update!(**args)
1758
- @model_type = args[:model_type] if args.key?(:model_type)
1759
- end
1760
- end
1761
-
1762
1780
  # The request message for EntityTypes.BatchCreateEntities.
1763
1781
  class GoogleCloudDialogflowV2beta1BatchCreateEntitiesRequest
1764
1782
  include Google::Apis::Core::Hashable
@@ -2074,63 +2092,6 @@ module Google
2074
2092
  end
2075
2093
  end
2076
2094
 
2077
- # Represents a conversation model.
2078
- class GoogleCloudDialogflowV2beta1ConversationModel
2079
- include Google::Apis::Core::Hashable
2080
-
2081
- # Metadata for article suggestion models.
2082
- # Corresponds to the JSON property `articleSuggestionModelMetadata`
2083
- # @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ArticleSuggestionModelMetadata]
2084
- attr_accessor :article_suggestion_model_metadata
2085
-
2086
- # Output only. Creation time of this model.
2087
- # Corresponds to the JSON property `createTime`
2088
- # @return [String]
2089
- attr_accessor :create_time
2090
-
2091
- # Required. Datasets used to create model.
2092
- # Corresponds to the JSON property `datasets`
2093
- # @return [Array<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1InputDataset>]
2094
- attr_accessor :datasets
2095
-
2096
- # Required. The display name of the model. At most 64 bytes long.
2097
- # Corresponds to the JSON property `displayName`
2098
- # @return [String]
2099
- attr_accessor :display_name
2100
-
2101
- # Output only. ConversationModel resource name. Format:
2102
- # `projects/<Project ID>/conversationModels/<Conversation Model ID>`
2103
- # Corresponds to the JSON property `name`
2104
- # @return [String]
2105
- attr_accessor :name
2106
-
2107
- # Metadata for smart reply models.
2108
- # Corresponds to the JSON property `smartReplyModelMetadata`
2109
- # @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SmartReplyModelMetadata]
2110
- attr_accessor :smart_reply_model_metadata
2111
-
2112
- # Output only. State of the model. A model can only serve prediction requests
2113
- # after it gets deployed.
2114
- # Corresponds to the JSON property `state`
2115
- # @return [String]
2116
- attr_accessor :state
2117
-
2118
- def initialize(**args)
2119
- update!(**args)
2120
- end
2121
-
2122
- # Update properties of this object
2123
- def update!(**args)
2124
- @article_suggestion_model_metadata = args[:article_suggestion_model_metadata] if args.key?(:article_suggestion_model_metadata)
2125
- @create_time = args[:create_time] if args.key?(:create_time)
2126
- @datasets = args[:datasets] if args.key?(:datasets)
2127
- @display_name = args[:display_name] if args.key?(:display_name)
2128
- @name = args[:name] if args.key?(:name)
2129
- @smart_reply_model_metadata = args[:smart_reply_model_metadata] if args.key?(:smart_reply_model_metadata)
2130
- @state = args[:state] if args.key?(:state)
2131
- end
2132
- end
2133
-
2134
2095
  # The request to detect user's intent.
2135
2096
  class GoogleCloudDialogflowV2beta1DetectIntentRequest
2136
2097
  include Google::Apis::Core::Hashable
@@ -2491,20 +2452,7 @@ module Google
2491
2452
  class GoogleCloudDialogflowV2beta1ExportAgentResponse
2492
2453
  include Google::Apis::Core::Hashable
2493
2454
 
2494
- # The exported agent.
2495
- # Example for how to export an agent to a zip file via a command line:
2496
- # <pre>curl \
2497
- # 'https://dialogflow.googleapis.com/v2beta1/projects/&lt;project_name&gt;/
2498
- # agent:export'\
2499
- # -X POST \
2500
- # -H 'Authorization: Bearer '$(gcloud auth application-default
2501
- # print-access-token) \
2502
- # -H 'Accept: application/json' \
2503
- # -H 'Content-Type: application/json' \
2504
- # --compressed \
2505
- # --data-binary '``' \
2506
- # | grep agentContent | sed -e 's/.*"agentContent": "\([^"]*\)".*/\1/' \
2507
- # | base64 --decode > &lt;agent zip file&gt;</pre>
2455
+ # Zip compressed raw byte content for agent.
2508
2456
  # Corresponds to the JSON property `agentContent`
2509
2457
  # NOTE: Values are automatically base64 encoded/decoded in the client library.
2510
2458
  # @return [String]
@@ -2553,20 +2501,7 @@ module Google
2553
2501
  class GoogleCloudDialogflowV2beta1ImportAgentRequest
2554
2502
  include Google::Apis::Core::Hashable
2555
2503
 
2556
- # The agent to import.
2557
- # Example for how to import an agent via the command line:
2558
- # <pre>curl \
2559
- # 'https://dialogflow.googleapis.com/v2beta1/projects/&lt;project_name&gt;/
2560
- # agent:import\
2561
- # -X POST \
2562
- # -H 'Authorization: Bearer '$(gcloud auth application-default
2563
- # print-access-token) \
2564
- # -H 'Accept: application/json' \
2565
- # -H 'Content-Type: application/json' \
2566
- # --compressed \
2567
- # --data-binary "`
2568
- # 'agentContent': '$(cat &lt;agent zip file&gt; | base64 -w 0)'
2569
- # `"</pre>
2504
+ # Zip compressed raw byte content for agent.
2570
2505
  # Corresponds to the JSON property `agentContent`
2571
2506
  # NOTE: Values are automatically base64 encoded/decoded in the client library.
2572
2507
  # @return [String]
@@ -2698,29 +2633,6 @@ module Google
2698
2633
  end
2699
2634
  end
2700
2635
 
2701
- # InputDataset used to create model or do evaluation.
2702
- class GoogleCloudDialogflowV2beta1InputDataset
2703
- include Google::Apis::Core::Hashable
2704
-
2705
- # Required. ConversationDataset resource name. Format:
2706
- # `projects/<Project ID>/conversationDatasets/<Conversation Dataset ID>`
2707
- # or
2708
- # `projects/<Project ID>/conversationDatasets/<Conversation Dataset
2709
- # ID>/annotatedConversationDatasets/<Annotated Conversation Dataset ID>`
2710
- # Corresponds to the JSON property `dataset`
2711
- # @return [String]
2712
- attr_accessor :dataset
2713
-
2714
- def initialize(**args)
2715
- update!(**args)
2716
- end
2717
-
2718
- # Update properties of this object
2719
- def update!(**args)
2720
- @dataset = args[:dataset] if args.key?(:dataset)
2721
- end
2722
- end
2723
-
2724
2636
  # Represents an intent.
2725
2637
  # Intents convert a number of user expressions or patterns into an action. An
2726
2638
  # action is an extraction of a user command or sentence semantics.
@@ -2959,6 +2871,12 @@ module Google
2959
2871
  # @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1IntentMessageBasicCard]
2960
2872
  attr_accessor :basic_card
2961
2873
 
2874
+ # Browse Carousel Card for Actions on Google.
2875
+ # https://developers.google.com/actions/assistant/responses#browsing_carousel
2876
+ # Corresponds to the JSON property `browseCarouselCard`
2877
+ # @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCard]
2878
+ attr_accessor :browse_carousel_card
2879
+
2962
2880
  # The card response message.
2963
2881
  # Corresponds to the JSON property `card`
2964
2882
  # @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1IntentMessageCard]
@@ -2985,6 +2903,11 @@ module Google
2985
2903
  # @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1IntentMessageListSelect]
2986
2904
  attr_accessor :list_select
2987
2905
 
2906
+ # The media content card for Actions on Google.
2907
+ # Corresponds to the JSON property `mediaContent`
2908
+ # @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1IntentMessageMediaContent]
2909
+ attr_accessor :media_content
2910
+
2988
2911
  # Returns a response containing a custom, platform-specific payload.
2989
2912
  # See the Intent.Message.Platform type for a description of the
2990
2913
  # structure that may be required for your platform.
@@ -3044,6 +2967,11 @@ module Google
3044
2967
  # @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1IntentMessageSuggestions]
3045
2968
  attr_accessor :suggestions
3046
2969
 
2970
+ # Table card for Actions on Google.
2971
+ # Corresponds to the JSON property `tableCard`
2972
+ # @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1IntentMessageTableCard]
2973
+ attr_accessor :table_card
2974
+
3047
2975
  # Plays audio from a file in Telephony Gateway.
3048
2976
  # Corresponds to the JSON property `telephonyPlayAudio`
3049
2977
  # @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1IntentMessageTelephonyPlayAudio]
@@ -3075,11 +3003,13 @@ module Google
3075
3003
  # Update properties of this object
3076
3004
  def update!(**args)
3077
3005
  @basic_card = args[:basic_card] if args.key?(:basic_card)
3006
+ @browse_carousel_card = args[:browse_carousel_card] if args.key?(:browse_carousel_card)
3078
3007
  @card = args[:card] if args.key?(:card)
3079
3008
  @carousel_select = args[:carousel_select] if args.key?(:carousel_select)
3080
3009
  @image = args[:image] if args.key?(:image)
3081
3010
  @link_out_suggestion = args[:link_out_suggestion] if args.key?(:link_out_suggestion)
3082
3011
  @list_select = args[:list_select] if args.key?(:list_select)
3012
+ @media_content = args[:media_content] if args.key?(:media_content)
3083
3013
  @payload = args[:payload] if args.key?(:payload)
3084
3014
  @platform = args[:platform] if args.key?(:platform)
3085
3015
  @quick_replies = args[:quick_replies] if args.key?(:quick_replies)
@@ -3088,6 +3018,7 @@ module Google
3088
3018
  @rbm_text = args[:rbm_text] if args.key?(:rbm_text)
3089
3019
  @simple_responses = args[:simple_responses] if args.key?(:simple_responses)
3090
3020
  @suggestions = args[:suggestions] if args.key?(:suggestions)
3021
+ @table_card = args[:table_card] if args.key?(:table_card)
3091
3022
  @telephony_play_audio = args[:telephony_play_audio] if args.key?(:telephony_play_audio)
3092
3023
  @telephony_synthesize_speech = args[:telephony_synthesize_speech] if args.key?(:telephony_synthesize_speech)
3093
3024
  @telephony_transfer_call = args[:telephony_transfer_call] if args.key?(:telephony_transfer_call)
@@ -3182,6 +3113,105 @@ module Google
3182
3113
  end
3183
3114
  end
3184
3115
 
3116
+ # Browse Carousel Card for Actions on Google.
3117
+ # https://developers.google.com/actions/assistant/responses#browsing_carousel
3118
+ class GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCard
3119
+ include Google::Apis::Core::Hashable
3120
+
3121
+ # Optional. Settings for displaying the image. Applies to every image in
3122
+ # items.
3123
+ # Corresponds to the JSON property `imageDisplayOptions`
3124
+ # @return [String]
3125
+ attr_accessor :image_display_options
3126
+
3127
+ # Required. List of items in the Browse Carousel Card. Minimum of two
3128
+ # items, maximum of ten.
3129
+ # Corresponds to the JSON property `items`
3130
+ # @return [Array<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardBrowseCarouselCardItem>]
3131
+ attr_accessor :items
3132
+
3133
+ def initialize(**args)
3134
+ update!(**args)
3135
+ end
3136
+
3137
+ # Update properties of this object
3138
+ def update!(**args)
3139
+ @image_display_options = args[:image_display_options] if args.key?(:image_display_options)
3140
+ @items = args[:items] if args.key?(:items)
3141
+ end
3142
+ end
3143
+
3144
+ # Browsing carousel tile
3145
+ class GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardBrowseCarouselCardItem
3146
+ include Google::Apis::Core::Hashable
3147
+
3148
+ # Optional. Description of the carousel item. Maximum of four lines of
3149
+ # text.
3150
+ # Corresponds to the JSON property `description`
3151
+ # @return [String]
3152
+ attr_accessor :description
3153
+
3154
+ # Optional. Text that appears at the bottom of the Browse Carousel
3155
+ # Card. Maximum of one line of text.
3156
+ # Corresponds to the JSON property `footer`
3157
+ # @return [String]
3158
+ attr_accessor :footer
3159
+
3160
+ # The image response message.
3161
+ # Corresponds to the JSON property `image`
3162
+ # @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1IntentMessageImage]
3163
+ attr_accessor :image
3164
+
3165
+ # Actions on Google action to open a given url.
3166
+ # Corresponds to the JSON property `openUriAction`
3167
+ # @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardBrowseCarouselCardItemOpenUrlAction]
3168
+ attr_accessor :open_uri_action
3169
+
3170
+ # Required. Title of the carousel item. Maximum of two lines of text.
3171
+ # Corresponds to the JSON property `title`
3172
+ # @return [String]
3173
+ attr_accessor :title
3174
+
3175
+ def initialize(**args)
3176
+ update!(**args)
3177
+ end
3178
+
3179
+ # Update properties of this object
3180
+ def update!(**args)
3181
+ @description = args[:description] if args.key?(:description)
3182
+ @footer = args[:footer] if args.key?(:footer)
3183
+ @image = args[:image] if args.key?(:image)
3184
+ @open_uri_action = args[:open_uri_action] if args.key?(:open_uri_action)
3185
+ @title = args[:title] if args.key?(:title)
3186
+ end
3187
+ end
3188
+
3189
+ # Actions on Google action to open a given url.
3190
+ class GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardBrowseCarouselCardItemOpenUrlAction
3191
+ include Google::Apis::Core::Hashable
3192
+
3193
+ # Required. URL
3194
+ # Corresponds to the JSON property `url`
3195
+ # @return [String]
3196
+ attr_accessor :url
3197
+
3198
+ # Optional. Specifies the type of viewer that is used when opening
3199
+ # the URL. Defaults to opening via web browser.
3200
+ # Corresponds to the JSON property `urlTypeHint`
3201
+ # @return [String]
3202
+ attr_accessor :url_type_hint
3203
+
3204
+ def initialize(**args)
3205
+ update!(**args)
3206
+ end
3207
+
3208
+ # Update properties of this object
3209
+ def update!(**args)
3210
+ @url = args[:url] if args.key?(:url)
3211
+ @url_type_hint = args[:url_type_hint] if args.key?(:url_type_hint)
3212
+ end
3213
+ end
3214
+
3185
3215
  # The card response message.
3186
3216
  class GoogleCloudDialogflowV2beta1IntentMessageCard
3187
3217
  include Google::Apis::Core::Hashable
@@ -3302,6 +3332,31 @@ module Google
3302
3332
  end
3303
3333
  end
3304
3334
 
3335
+ # Column properties for TableCard.
3336
+ class GoogleCloudDialogflowV2beta1IntentMessageColumnProperties
3337
+ include Google::Apis::Core::Hashable
3338
+
3339
+ # Required. Column heading.
3340
+ # Corresponds to the JSON property `header`
3341
+ # @return [String]
3342
+ attr_accessor :header
3343
+
3344
+ # Optional. Defines text alignment for all cells in this column.
3345
+ # Corresponds to the JSON property `horizontalAlignment`
3346
+ # @return [String]
3347
+ attr_accessor :horizontal_alignment
3348
+
3349
+ def initialize(**args)
3350
+ update!(**args)
3351
+ end
3352
+
3353
+ # Update properties of this object
3354
+ def update!(**args)
3355
+ @header = args[:header] if args.key?(:header)
3356
+ @horizontal_alignment = args[:horizontal_alignment] if args.key?(:horizontal_alignment)
3357
+ end
3358
+ end
3359
+
3305
3360
  # The image response message.
3306
3361
  class GoogleCloudDialogflowV2beta1IntentMessageImage
3307
3362
  include Google::Apis::Core::Hashable
@@ -3418,6 +3473,74 @@ module Google
3418
3473
  end
3419
3474
  end
3420
3475
 
3476
+ # The media content card for Actions on Google.
3477
+ class GoogleCloudDialogflowV2beta1IntentMessageMediaContent
3478
+ include Google::Apis::Core::Hashable
3479
+
3480
+ # Required. List of media objects.
3481
+ # Corresponds to the JSON property `mediaObjects`
3482
+ # @return [Array<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1IntentMessageMediaContentResponseMediaObject>]
3483
+ attr_accessor :media_objects
3484
+
3485
+ # Optional. What type of media is the content (ie "audio").
3486
+ # Corresponds to the JSON property `mediaType`
3487
+ # @return [String]
3488
+ attr_accessor :media_type
3489
+
3490
+ def initialize(**args)
3491
+ update!(**args)
3492
+ end
3493
+
3494
+ # Update properties of this object
3495
+ def update!(**args)
3496
+ @media_objects = args[:media_objects] if args.key?(:media_objects)
3497
+ @media_type = args[:media_type] if args.key?(:media_type)
3498
+ end
3499
+ end
3500
+
3501
+ # Response media object for media content card.
3502
+ class GoogleCloudDialogflowV2beta1IntentMessageMediaContentResponseMediaObject
3503
+ include Google::Apis::Core::Hashable
3504
+
3505
+ # Required. Url where the media is stored.
3506
+ # Corresponds to the JSON property `contentUrl`
3507
+ # @return [String]
3508
+ attr_accessor :content_url
3509
+
3510
+ # Optional. Description of media card.
3511
+ # Corresponds to the JSON property `description`
3512
+ # @return [String]
3513
+ attr_accessor :description
3514
+
3515
+ # The image response message.
3516
+ # Corresponds to the JSON property `icon`
3517
+ # @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1IntentMessageImage]
3518
+ attr_accessor :icon
3519
+
3520
+ # The image response message.
3521
+ # Corresponds to the JSON property `largeImage`
3522
+ # @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1IntentMessageImage]
3523
+ attr_accessor :large_image
3524
+
3525
+ # Required. Name of media card.
3526
+ # Corresponds to the JSON property `name`
3527
+ # @return [String]
3528
+ attr_accessor :name
3529
+
3530
+ def initialize(**args)
3531
+ update!(**args)
3532
+ end
3533
+
3534
+ # Update properties of this object
3535
+ def update!(**args)
3536
+ @content_url = args[:content_url] if args.key?(:content_url)
3537
+ @description = args[:description] if args.key?(:description)
3538
+ @icon = args[:icon] if args.key?(:icon)
3539
+ @large_image = args[:large_image] if args.key?(:large_image)
3540
+ @name = args[:name] if args.key?(:name)
3541
+ end
3542
+ end
3543
+
3421
3544
  # The quick replies response message.
3422
3545
  class GoogleCloudDialogflowV2beta1IntentMessageQuickReplies
3423
3546
  include Google::Apis::Core::Hashable
@@ -3936,6 +4059,100 @@ module Google
3936
4059
  end
3937
4060
  end
3938
4061
 
4062
+ # Table card for Actions on Google.
4063
+ class GoogleCloudDialogflowV2beta1IntentMessageTableCard
4064
+ include Google::Apis::Core::Hashable
4065
+
4066
+ # Optional. List of buttons for the card.
4067
+ # Corresponds to the JSON property `buttons`
4068
+ # @return [Array<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1IntentMessageBasicCardButton>]
4069
+ attr_accessor :buttons
4070
+
4071
+ # Optional. Display properties for the columns in this table.
4072
+ # Corresponds to the JSON property `columnProperties`
4073
+ # @return [Array<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1IntentMessageColumnProperties>]
4074
+ attr_accessor :column_properties
4075
+
4076
+ # The image response message.
4077
+ # Corresponds to the JSON property `image`
4078
+ # @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1IntentMessageImage]
4079
+ attr_accessor :image
4080
+
4081
+ # Optional. Rows in this table of data.
4082
+ # Corresponds to the JSON property `rows`
4083
+ # @return [Array<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1IntentMessageTableCardRow>]
4084
+ attr_accessor :rows
4085
+
4086
+ # Optional. Subtitle to the title.
4087
+ # Corresponds to the JSON property `subtitle`
4088
+ # @return [String]
4089
+ attr_accessor :subtitle
4090
+
4091
+ # Required. Title of the card.
4092
+ # Corresponds to the JSON property `title`
4093
+ # @return [String]
4094
+ attr_accessor :title
4095
+
4096
+ def initialize(**args)
4097
+ update!(**args)
4098
+ end
4099
+
4100
+ # Update properties of this object
4101
+ def update!(**args)
4102
+ @buttons = args[:buttons] if args.key?(:buttons)
4103
+ @column_properties = args[:column_properties] if args.key?(:column_properties)
4104
+ @image = args[:image] if args.key?(:image)
4105
+ @rows = args[:rows] if args.key?(:rows)
4106
+ @subtitle = args[:subtitle] if args.key?(:subtitle)
4107
+ @title = args[:title] if args.key?(:title)
4108
+ end
4109
+ end
4110
+
4111
+ # Cell of TableCardRow.
4112
+ class GoogleCloudDialogflowV2beta1IntentMessageTableCardCell
4113
+ include Google::Apis::Core::Hashable
4114
+
4115
+ # Required. Text in this cell.
4116
+ # Corresponds to the JSON property `text`
4117
+ # @return [String]
4118
+ attr_accessor :text
4119
+
4120
+ def initialize(**args)
4121
+ update!(**args)
4122
+ end
4123
+
4124
+ # Update properties of this object
4125
+ def update!(**args)
4126
+ @text = args[:text] if args.key?(:text)
4127
+ end
4128
+ end
4129
+
4130
+ # Row of TableCard.
4131
+ class GoogleCloudDialogflowV2beta1IntentMessageTableCardRow
4132
+ include Google::Apis::Core::Hashable
4133
+
4134
+ # Optional. List of cells that make up this row.
4135
+ # Corresponds to the JSON property `cells`
4136
+ # @return [Array<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1IntentMessageTableCardCell>]
4137
+ attr_accessor :cells
4138
+
4139
+ # Optional. Whether to add a visual divider after this row.
4140
+ # Corresponds to the JSON property `dividerAfter`
4141
+ # @return [Boolean]
4142
+ attr_accessor :divider_after
4143
+ alias_method :divider_after?, :divider_after
4144
+
4145
+ def initialize(**args)
4146
+ update!(**args)
4147
+ end
4148
+
4149
+ # Update properties of this object
4150
+ def update!(**args)
4151
+ @cells = args[:cells] if args.key?(:cells)
4152
+ @divider_after = args[:divider_after] if args.key?(:divider_after)
4153
+ end
4154
+ end
4155
+
3939
4156
  # Plays audio from a file in Telephony Gateway.
3940
4157
  class GoogleCloudDialogflowV2beta1IntentMessageTelephonyPlayAudio
3941
4158
  include Google::Apis::Core::Hashable
@@ -4885,20 +5102,7 @@ module Google
4885
5102
  class GoogleCloudDialogflowV2beta1RestoreAgentRequest
4886
5103
  include Google::Apis::Core::Hashable
4887
5104
 
4888
- # The agent to restore.
4889
- # Example for how to restore an agent via the command line:
4890
- # <pre>curl \
4891
- # 'https://dialogflow.googleapis.com/v2beta1/projects/&lt;project_name&gt;/
4892
- # agent:restore\
4893
- # -X POST \
4894
- # -H 'Authorization: Bearer '$(gcloud auth application-default
4895
- # print-access-token) \
4896
- # -H 'Accept: application/json' \
4897
- # -H 'Content-Type: application/json' \
4898
- # --compressed \
4899
- # --data-binary "`
4900
- # 'agentContent': '$(cat &lt;agent zip file&gt; | base64 -w 0)'
4901
- # `"</pre>
5105
+ # Zip compressed raw byte content for agent.
4902
5106
  # Corresponds to the JSON property `agentContent`
4903
5107
  # NOTE: Values are automatically base64 encoded/decoded in the client library.
4904
5108
  # @return [String]
@@ -5064,27 +5268,6 @@ module Google
5064
5268
  end
5065
5269
  end
5066
5270
 
5067
- # Metadata for smart reply models.
5068
- class GoogleCloudDialogflowV2beta1SmartReplyModelMetadata
5069
- include Google::Apis::Core::Hashable
5070
-
5071
- # Optional. Type of the article suggestion model. The available values are:
5072
- # * `smart-reply-dual-encoder-model-1` - (default) Smart Reply Dual Encoder
5073
- # model.
5074
- # Corresponds to the JSON property `modelType`
5075
- # @return [String]
5076
- attr_accessor :model_type
5077
-
5078
- def initialize(**args)
5079
- update!(**args)
5080
- end
5081
-
5082
- # Update properties of this object
5083
- def update!(**args)
5084
- @model_type = args[:model_type] if args.key?(:model_type)
5085
- end
5086
- end
5087
-
5088
5271
  # Hints for the speech recognizer to help with recognition in a specific
5089
5272
  # conversation state.
5090
5273
  class GoogleCloudDialogflowV2beta1SpeechContext
@@ -5225,6 +5408,68 @@ module Google
5225
5408
  end
5226
5409
  end
5227
5410
 
5411
+ # Represents a single validation error.
5412
+ class GoogleCloudDialogflowV2beta1ValidationError
5413
+ include Google::Apis::Core::Hashable
5414
+
5415
+ # The names of the entries that the error is associated with.
5416
+ # Format:
5417
+ # - "projects/<Project ID>/agent", if the error is associated with the entire
5418
+ # agent.
5419
+ # - "projects/<Project ID>/agent/intents/<Intent ID>", if the error is
5420
+ # associated with certain intents.
5421
+ # - "projects/<Project
5422
+ # ID>/agent/intents/<Intent Id>/trainingPhrases/<Training Phrase ID>", if the
5423
+ # error is associated with certain intent training phrases.
5424
+ # - "projects/<Project ID>/agent/intents/<Intent Id>/parameters/<Parameter
5425
+ # ID>", if the error is associated with certain intent parameters.
5426
+ # - "projects/<Project ID>/agent/entities/<Entity ID>", if the error is
5427
+ # associated with certain entities.
5428
+ # Corresponds to the JSON property `entries`
5429
+ # @return [Array<String>]
5430
+ attr_accessor :entries
5431
+
5432
+ # The detailed error messsage.
5433
+ # Corresponds to the JSON property `errorMessage`
5434
+ # @return [String]
5435
+ attr_accessor :error_message
5436
+
5437
+ # The severity of the error.
5438
+ # Corresponds to the JSON property `severity`
5439
+ # @return [String]
5440
+ attr_accessor :severity
5441
+
5442
+ def initialize(**args)
5443
+ update!(**args)
5444
+ end
5445
+
5446
+ # Update properties of this object
5447
+ def update!(**args)
5448
+ @entries = args[:entries] if args.key?(:entries)
5449
+ @error_message = args[:error_message] if args.key?(:error_message)
5450
+ @severity = args[:severity] if args.key?(:severity)
5451
+ end
5452
+ end
5453
+
5454
+ # Represents the output of agent validation.
5455
+ class GoogleCloudDialogflowV2beta1ValidationResult
5456
+ include Google::Apis::Core::Hashable
5457
+
5458
+ # Contains all validation errors.
5459
+ # Corresponds to the JSON property `validationErrors`
5460
+ # @return [Array<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ValidationError>]
5461
+ attr_accessor :validation_errors
5462
+
5463
+ def initialize(**args)
5464
+ update!(**args)
5465
+ end
5466
+
5467
+ # Update properties of this object
5468
+ def update!(**args)
5469
+ @validation_errors = args[:validation_errors] if args.key?(:validation_errors)
5470
+ end
5471
+ end
5472
+
5228
5473
  # Description of which voice to use for speech synthesis.
5229
5474
  class GoogleCloudDialogflowV2beta1VoiceSelectionParams
5230
5475
  include Google::Apis::Core::Hashable
@@ -5369,6 +5614,15 @@ module Google
5369
5614
  # @return [Hash<String,Object>]
5370
5615
  attr_accessor :payload
5371
5616
 
5617
+ # Optional. Additional session entity types to replace or extend developer
5618
+ # entity types with. The entity synonyms apply to all languages and persist
5619
+ # for the session of this query. Setting the session entity types inside
5620
+ # webhook overwrites the session entity types that have been set through
5621
+ # `DetectIntentRequest.query_params.session_entity_types`.
5622
+ # Corresponds to the JSON property `sessionEntityTypes`
5623
+ # @return [Array<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SessionEntityType>]
5624
+ attr_accessor :session_entity_types
5625
+
5372
5626
  # Optional. This value is passed directly to `QueryResult.webhook_source`.
5373
5627
  # Corresponds to the JSON property `source`
5374
5628
  # @return [String]
@@ -5386,6 +5640,7 @@ module Google
5386
5640
  @fulfillment_text = args[:fulfillment_text] if args.key?(:fulfillment_text)
5387
5641
  @output_contexts = args[:output_contexts] if args.key?(:output_contexts)
5388
5642
  @payload = args[:payload] if args.key?(:payload)
5643
+ @session_entity_types = args[:session_entity_types] if args.key?(:session_entity_types)
5389
5644
  @source = args[:source] if args.key?(:source)
5390
5645
  end
5391
5646
  end