google-api-client 0.34.1 → 0.35.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (312) hide show
  1. checksums.yaml +4 -4
  2. data/.yardopts +16 -3
  3. data/CHANGELOG.md +114 -0
  4. data/OVERVIEW.md +36 -0
  5. data/README.md +49 -1
  6. data/Rakefile +1 -1
  7. data/docs/api-keys.md +20 -0
  8. data/docs/auth.md +53 -0
  9. data/docs/client-secrets.md +69 -0
  10. data/docs/getting-started.md +340 -0
  11. data/docs/installation.md +0 -0
  12. data/docs/logging.md +34 -0
  13. data/docs/media-upload.md +25 -0
  14. data/docs/oauth-installed.md +191 -0
  15. data/docs/oauth-server.md +135 -0
  16. data/docs/oauth-web.md +280 -0
  17. data/docs/oauth.md +268 -0
  18. data/docs/pagination.md +29 -0
  19. data/docs/performance.md +25 -0
  20. data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
  21. data/generated/google/apis/adexchangebuyer_v1_3.rb +1 -1
  22. data/generated/google/apis/adexchangebuyer_v1_3/classes.rb +9 -0
  23. data/generated/google/apis/adexchangebuyer_v1_3/representations.rb +1 -0
  24. data/generated/google/apis/adexchangebuyer_v1_4.rb +1 -1
  25. data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +9 -0
  26. data/generated/google/apis/adexchangebuyer_v1_4/representations.rb +1 -0
  27. data/generated/google/apis/androidmanagement_v1.rb +1 -1
  28. data/generated/google/apis/androidpublisher_v3.rb +1 -1
  29. data/generated/google/apis/androidpublisher_v3/classes.rb +93 -0
  30. data/generated/google/apis/androidpublisher_v3/representations.rb +49 -0
  31. data/generated/google/apis/appengine_v1.rb +1 -1
  32. data/generated/google/apis/appengine_v1beta.rb +1 -1
  33. data/generated/google/apis/appsmarket_v2.rb +1 -1
  34. data/generated/google/apis/bigquery_v2.rb +1 -1
  35. data/generated/google/apis/bigquery_v2/classes.rb +46 -4
  36. data/generated/google/apis/bigquery_v2/representations.rb +17 -0
  37. data/generated/google/apis/bigquery_v2/service.rb +1 -5
  38. data/generated/google/apis/bigqueryconnection_v1beta1.rb +1 -1
  39. data/generated/google/apis/bigqueryconnection_v1beta1/classes.rb +6 -5
  40. data/generated/google/apis/bigquerydatatransfer_v1.rb +1 -1
  41. data/generated/google/apis/bigquerydatatransfer_v1/service.rb +30 -4
  42. data/generated/google/apis/bigqueryreservation_v1.rb +1 -1
  43. data/generated/google/apis/bigqueryreservation_v1/classes.rb +0 -21
  44. data/generated/google/apis/bigqueryreservation_v1/representations.rb +0 -13
  45. data/generated/google/apis/bigqueryreservation_v1alpha2.rb +1 -1
  46. data/generated/google/apis/bigqueryreservation_v1alpha2/classes.rb +116 -1
  47. data/generated/google/apis/bigqueryreservation_v1alpha2/representations.rb +35 -0
  48. data/generated/google/apis/bigqueryreservation_v1alpha2/service.rb +71 -0
  49. data/generated/google/apis/bigqueryreservation_v1beta1.rb +1 -1
  50. data/generated/google/apis/bigqueryreservation_v1beta1/classes.rb +61 -77
  51. data/generated/google/apis/bigqueryreservation_v1beta1/representations.rb +16 -17
  52. data/generated/google/apis/bigqueryreservation_v1beta1/service.rb +112 -78
  53. data/generated/google/apis/bigtableadmin_v1.rb +1 -1
  54. data/generated/google/apis/bigtableadmin_v1/classes.rb +1 -1
  55. data/generated/google/apis/bigtableadmin_v2.rb +1 -1
  56. data/generated/google/apis/bigtableadmin_v2/classes.rb +1 -1
  57. data/generated/google/apis/bigtableadmin_v2/service.rb +1 -1
  58. data/generated/google/apis/{sqladmin_v1beta4.rb → billingbudgets_v1beta1.rb} +10 -13
  59. data/generated/google/apis/billingbudgets_v1beta1/classes.rb +392 -0
  60. data/generated/google/apis/billingbudgets_v1beta1/representations.rb +191 -0
  61. data/generated/google/apis/billingbudgets_v1beta1/service.rb +233 -0
  62. data/generated/google/apis/binaryauthorization_v1.rb +1 -1
  63. data/generated/google/apis/binaryauthorization_v1/classes.rb +6 -5
  64. data/generated/google/apis/binaryauthorization_v1beta1.rb +1 -1
  65. data/generated/google/apis/binaryauthorization_v1beta1/classes.rb +6 -5
  66. data/generated/google/apis/books_v1.rb +1 -1
  67. data/generated/google/apis/books_v1/classes.rb +20 -0
  68. data/generated/google/apis/books_v1/representations.rb +3 -0
  69. data/generated/google/apis/calendar_v3.rb +1 -1
  70. data/generated/google/apis/calendar_v3/classes.rb +1 -1
  71. data/generated/google/apis/calendar_v3/service.rb +18 -30
  72. data/generated/google/apis/civicinfo_v2.rb +1 -1
  73. data/generated/google/apis/civicinfo_v2/classes.rb +0 -156
  74. data/generated/google/apis/civicinfo_v2/representations.rb +0 -58
  75. data/generated/google/apis/cloudasset_v1.rb +1 -1
  76. data/generated/google/apis/cloudasset_v1/classes.rb +6 -5
  77. data/generated/google/apis/cloudasset_v1beta1.rb +1 -1
  78. data/generated/google/apis/cloudasset_v1beta1/classes.rb +6 -5
  79. data/generated/google/apis/cloudbilling_v1.rb +1 -1
  80. data/generated/google/apis/cloudbilling_v1/classes.rb +17 -0
  81. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  82. data/generated/google/apis/cloudbuild_v1/classes.rb +8 -2
  83. data/generated/google/apis/cloudbuild_v1/representations.rb +1 -0
  84. data/generated/google/apis/cloudbuild_v1/service.rb +18 -18
  85. data/generated/google/apis/cloudbuild_v1alpha1.rb +1 -1
  86. data/generated/google/apis/cloudbuild_v1alpha1/classes.rb +8 -2
  87. data/generated/google/apis/cloudbuild_v1alpha1/representations.rb +1 -0
  88. data/generated/google/apis/cloudbuild_v1alpha1/service.rb +4 -1
  89. data/generated/google/apis/cloudfunctions_v1.rb +1 -1
  90. data/generated/google/apis/cloudfunctions_v1/classes.rb +13 -5
  91. data/generated/google/apis/cloudfunctions_v1/representations.rb +1 -0
  92. data/generated/google/apis/cloudfunctions_v1/service.rb +3 -1
  93. data/generated/google/apis/cloudiot_v1.rb +1 -1
  94. data/generated/google/apis/cloudiot_v1/classes.rb +6 -5
  95. data/generated/google/apis/cloudkms_v1.rb +1 -1
  96. data/generated/google/apis/cloudkms_v1/classes.rb +6 -5
  97. data/generated/google/apis/cloudprivatecatalogproducer_v1beta1.rb +1 -1
  98. data/generated/google/apis/cloudprivatecatalogproducer_v1beta1/classes.rb +6 -5
  99. data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
  100. data/generated/google/apis/cloudresourcemanager_v1/classes.rb +6 -5
  101. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
  102. data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +6 -5
  103. data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
  104. data/generated/google/apis/cloudresourcemanager_v2/classes.rb +6 -5
  105. data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
  106. data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +6 -5
  107. data/generated/google/apis/cloudscheduler_v1.rb +1 -1
  108. data/generated/google/apis/cloudscheduler_v1/classes.rb +2 -1
  109. data/generated/google/apis/cloudscheduler_v1beta1.rb +1 -1
  110. data/generated/google/apis/cloudscheduler_v1beta1/classes.rb +2 -1
  111. data/generated/google/apis/cloudsearch_v1.rb +8 -8
  112. data/generated/google/apis/cloudsearch_v1/classes.rb +5 -130
  113. data/generated/google/apis/cloudsearch_v1/representations.rb +0 -75
  114. data/generated/google/apis/cloudsearch_v1/service.rb +42 -7
  115. data/generated/google/apis/cloudtasks_v2.rb +1 -1
  116. data/generated/google/apis/cloudtasks_v2/classes.rb +212 -5
  117. data/generated/google/apis/cloudtasks_v2/representations.rb +50 -0
  118. data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
  119. data/generated/google/apis/cloudtasks_v2beta2/classes.rb +6 -5
  120. data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
  121. data/generated/google/apis/cloudtasks_v2beta3/classes.rb +6 -5
  122. data/generated/google/apis/commentanalyzer_v1alpha1.rb +1 -1
  123. data/generated/google/apis/commentanalyzer_v1alpha1/classes.rb +14 -19
  124. data/generated/google/apis/compute_alpha.rb +1 -1
  125. data/generated/google/apis/compute_alpha/classes.rb +75 -12
  126. data/generated/google/apis/compute_alpha/representations.rb +2 -0
  127. data/generated/google/apis/compute_beta.rb +1 -1
  128. data/generated/google/apis/compute_beta/classes.rb +54 -10
  129. data/generated/google/apis/compute_v1.rb +1 -1
  130. data/generated/google/apis/compute_v1/classes.rb +54 -10
  131. data/generated/google/apis/containeranalysis_v1alpha1.rb +1 -1
  132. data/generated/google/apis/containeranalysis_v1alpha1/classes.rb +6 -5
  133. data/generated/google/apis/containeranalysis_v1beta1.rb +1 -1
  134. data/generated/google/apis/containeranalysis_v1beta1/classes.rb +6 -5
  135. data/generated/google/apis/content_v2.rb +1 -1
  136. data/generated/google/apis/content_v2/classes.rb +13 -4
  137. data/generated/google/apis/content_v2_1.rb +1 -1
  138. data/generated/google/apis/content_v2_1/classes.rb +13 -4
  139. data/generated/google/apis/datacatalog_v1beta1.rb +35 -0
  140. data/generated/google/apis/datacatalog_v1beta1/classes.rb +1646 -0
  141. data/generated/google/apis/datacatalog_v1beta1/representations.rb +700 -0
  142. data/generated/google/apis/datacatalog_v1beta1/service.rb +1982 -0
  143. data/generated/google/apis/dataproc_v1.rb +1 -1
  144. data/generated/google/apis/dataproc_v1/classes.rb +75 -4
  145. data/generated/google/apis/dataproc_v1/representations.rb +22 -0
  146. data/generated/google/apis/dataproc_v1/service.rb +14 -7
  147. data/generated/google/apis/dataproc_v1beta2.rb +1 -1
  148. data/generated/google/apis/dataproc_v1beta2/classes.rb +2 -4
  149. data/generated/google/apis/dataproc_v1beta2/service.rb +14 -7
  150. data/generated/google/apis/dfareporting_v3_3.rb +1 -1
  151. data/generated/google/apis/dfareporting_v3_3/classes.rb +21 -1
  152. data/generated/google/apis/dfareporting_v3_3/service.rb +6 -6
  153. data/generated/google/apis/dfareporting_v3_4.rb +40 -0
  154. data/generated/google/apis/dfareporting_v3_4/classes.rb +12717 -0
  155. data/generated/google/apis/dfareporting_v3_4/representations.rb +4595 -0
  156. data/generated/google/apis/dfareporting_v3_4/service.rb +8685 -0
  157. data/generated/google/apis/dialogflow_v2.rb +1 -1
  158. data/generated/google/apis/dialogflow_v2/classes.rb +484 -1
  159. data/generated/google/apis/dialogflow_v2/representations.rb +220 -0
  160. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  161. data/generated/google/apis/dialogflow_v2beta1/classes.rb +497 -1
  162. data/generated/google/apis/dialogflow_v2beta1/representations.rb +221 -0
  163. data/generated/google/apis/dlp_v2.rb +1 -1
  164. data/generated/google/apis/dlp_v2/classes.rb +68 -25
  165. data/generated/google/apis/dlp_v2/representations.rb +9 -4
  166. data/generated/google/apis/dlp_v2/service.rb +1925 -193
  167. data/generated/google/apis/dns_v1beta2.rb +1 -1
  168. data/generated/google/apis/dns_v1beta2/classes.rb +47 -0
  169. data/generated/google/apis/dns_v1beta2/representations.rb +17 -0
  170. data/generated/google/apis/docs_v1.rb +1 -1
  171. data/generated/google/apis/docs_v1/classes.rb +4 -8
  172. data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
  173. data/generated/google/apis/doubleclickbidmanager_v1_1.rb +34 -0
  174. data/generated/google/apis/doubleclickbidmanager_v1_1/classes.rb +826 -0
  175. data/generated/google/apis/doubleclickbidmanager_v1_1/representations.rb +372 -0
  176. data/generated/google/apis/doubleclickbidmanager_v1_1/service.rb +371 -0
  177. data/generated/google/apis/drive_v3.rb +1 -1
  178. data/generated/google/apis/drive_v3/classes.rb +12 -3
  179. data/generated/google/apis/fcm_v1.rb +1 -1
  180. data/generated/google/apis/fcm_v1/classes.rb +15 -0
  181. data/generated/google/apis/fcm_v1/representations.rb +2 -0
  182. data/generated/google/apis/firebase_v1beta1.rb +1 -1
  183. data/generated/google/apis/firebase_v1beta1/classes.rb +3 -4
  184. data/generated/google/apis/firebase_v1beta1/service.rb +6 -6
  185. data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
  186. data/generated/google/apis/firebasehosting_v1beta1/classes.rb +25 -0
  187. data/generated/google/apis/firebasehosting_v1beta1/representations.rb +15 -0
  188. data/generated/google/apis/firebasehosting_v1beta1/service.rb +47 -0
  189. data/generated/google/apis/firebaserules_v1.rb +1 -1
  190. data/generated/google/apis/firebaserules_v1/classes.rb +26 -0
  191. data/generated/google/apis/firebaserules_v1/representations.rb +15 -0
  192. data/generated/google/apis/genomics_v2alpha1.rb +1 -1
  193. data/generated/google/apis/genomics_v2alpha1/classes.rb +32 -0
  194. data/generated/google/apis/genomics_v2alpha1/representations.rb +16 -0
  195. data/generated/google/apis/healthcare_v1beta1.rb +1 -1
  196. data/generated/google/apis/healthcare_v1beta1/classes.rb +8 -7
  197. data/generated/google/apis/homegraph_v1.rb +1 -1
  198. data/generated/google/apis/homegraph_v1/classes.rb +15 -1
  199. data/generated/google/apis/homegraph_v1/representations.rb +2 -1
  200. data/generated/google/apis/iam_v1.rb +1 -1
  201. data/generated/google/apis/iam_v1/classes.rb +6 -5
  202. data/generated/google/apis/logging_v2.rb +1 -1
  203. data/generated/google/apis/logging_v2/classes.rb +18 -2
  204. data/generated/google/apis/logging_v2/representations.rb +2 -0
  205. data/generated/google/apis/ml_v1.rb +1 -1
  206. data/generated/google/apis/ml_v1/classes.rb +173 -97
  207. data/generated/google/apis/ml_v1/representations.rb +58 -0
  208. data/generated/google/apis/ml_v1/service.rb +37 -0
  209. data/generated/google/apis/monitoring_v3.rb +1 -1
  210. data/generated/google/apis/monitoring_v3/classes.rb +780 -6
  211. data/generated/google/apis/monitoring_v3/representations.rb +347 -0
  212. data/generated/google/apis/monitoring_v3/service.rb +382 -0
  213. data/generated/google/apis/pagespeedonline_v5.rb +1 -1
  214. data/generated/google/apis/pagespeedonline_v5/classes.rb +8 -0
  215. data/generated/google/apis/pagespeedonline_v5/representations.rb +1 -0
  216. data/generated/google/apis/policytroubleshooter_v1beta.rb +1 -1
  217. data/generated/google/apis/policytroubleshooter_v1beta/classes.rb +6 -5
  218. data/generated/google/apis/pubsub_v1.rb +1 -1
  219. data/generated/google/apis/pubsub_v1/classes.rb +8 -6
  220. data/generated/google/apis/pubsub_v1/service.rb +6 -7
  221. data/generated/google/apis/pubsub_v1beta2.rb +1 -1
  222. data/generated/google/apis/pubsub_v1beta2/classes.rb +6 -5
  223. data/generated/google/apis/recommender_v1beta1.rb +1 -1
  224. data/generated/google/apis/recommender_v1beta1/classes.rb +1 -1
  225. data/generated/google/apis/recommender_v1beta1/service.rb +10 -8
  226. data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
  227. data/generated/google/apis/remotebuildexecution_v1/classes.rb +33 -0
  228. data/generated/google/apis/remotebuildexecution_v1/representations.rb +15 -0
  229. data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
  230. data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +33 -0
  231. data/generated/google/apis/remotebuildexecution_v1alpha/representations.rb +15 -0
  232. data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
  233. data/generated/google/apis/remotebuildexecution_v2/classes.rb +33 -0
  234. data/generated/google/apis/remotebuildexecution_v2/representations.rb +15 -0
  235. data/generated/google/apis/run_v1.rb +1 -1
  236. data/generated/google/apis/run_v1/classes.rb +8 -169
  237. data/generated/google/apis/run_v1/representations.rb +0 -71
  238. data/generated/google/apis/run_v1/service.rb +229 -1207
  239. data/generated/google/apis/run_v1alpha1.rb +1 -1
  240. data/generated/google/apis/run_v1alpha1/classes.rb +9 -9
  241. data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
  242. data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +6 -5
  243. data/generated/google/apis/securitycenter_v1.rb +1 -1
  244. data/generated/google/apis/securitycenter_v1/classes.rb +66 -11
  245. data/generated/google/apis/securitycenter_v1/representations.rb +19 -0
  246. data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
  247. data/generated/google/apis/securitycenter_v1beta1/classes.rb +16 -13
  248. data/generated/google/apis/servicebroker_v1.rb +1 -1
  249. data/generated/google/apis/servicebroker_v1/classes.rb +6 -5
  250. data/generated/google/apis/servicebroker_v1alpha1.rb +1 -1
  251. data/generated/google/apis/servicebroker_v1alpha1/classes.rb +6 -5
  252. data/generated/google/apis/servicebroker_v1beta1.rb +1 -1
  253. data/generated/google/apis/servicebroker_v1beta1/classes.rb +6 -5
  254. data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
  255. data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +3 -2
  256. data/generated/google/apis/servicecontrol_v1.rb +1 -1
  257. data/generated/google/apis/servicecontrol_v1/classes.rb +8 -1
  258. data/generated/google/apis/servicecontrol_v1/representations.rb +1 -0
  259. data/generated/google/apis/servicemanagement_v1.rb +1 -1
  260. data/generated/google/apis/servicemanagement_v1/classes.rb +12 -9
  261. data/generated/google/apis/servicemanagement_v1/service.rb +1 -9
  262. data/generated/google/apis/servicenetworking_v1.rb +1 -1
  263. data/generated/google/apis/servicenetworking_v1/classes.rb +130 -13
  264. data/generated/google/apis/servicenetworking_v1/representations.rb +58 -0
  265. data/generated/google/apis/servicenetworking_v1/service.rb +42 -3
  266. data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
  267. data/generated/google/apis/servicenetworking_v1beta/classes.rb +3 -2
  268. data/generated/google/apis/serviceusage_v1.rb +1 -1
  269. data/generated/google/apis/serviceusage_v1/classes.rb +3 -2
  270. data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
  271. data/generated/google/apis/serviceusage_v1beta1/classes.rb +3 -2
  272. data/generated/google/apis/sheets_v4.rb +1 -1
  273. data/generated/google/apis/spanner_v1.rb +1 -1
  274. data/generated/google/apis/spanner_v1/classes.rb +70 -30
  275. data/generated/google/apis/spanner_v1/service.rb +270 -0
  276. data/generated/google/apis/speech_v1.rb +1 -1
  277. data/generated/google/apis/speech_v1/classes.rb +6 -0
  278. data/generated/google/apis/speech_v1/representations.rb +1 -0
  279. data/generated/google/apis/speech_v1p1beta1.rb +1 -1
  280. data/generated/google/apis/speech_v1p1beta1/classes.rb +6 -0
  281. data/generated/google/apis/speech_v1p1beta1/representations.rb +1 -0
  282. data/generated/google/apis/sql_v1beta4.rb +1 -1
  283. data/generated/google/apis/sql_v1beta4/service.rb +59 -10
  284. data/generated/google/apis/storagetransfer_v1.rb +1 -1
  285. data/generated/google/apis/videointelligence_v1.rb +1 -1
  286. data/generated/google/apis/videointelligence_v1/classes.rb +112 -0
  287. data/generated/google/apis/videointelligence_v1/representations.rb +62 -0
  288. data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
  289. data/generated/google/apis/videointelligence_v1beta2/classes.rb +112 -0
  290. data/generated/google/apis/videointelligence_v1beta2/representations.rb +62 -0
  291. data/generated/google/apis/videointelligence_v1p1beta1.rb +1 -1
  292. data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +112 -0
  293. data/generated/google/apis/videointelligence_v1p1beta1/representations.rb +62 -0
  294. data/generated/google/apis/videointelligence_v1p2beta1.rb +1 -1
  295. data/generated/google/apis/videointelligence_v1p2beta1/classes.rb +112 -0
  296. data/generated/google/apis/videointelligence_v1p2beta1/representations.rb +62 -0
  297. data/generated/google/apis/videointelligence_v1p3beta1.rb +1 -1
  298. data/generated/google/apis/videointelligence_v1p3beta1/classes.rb +112 -0
  299. data/generated/google/apis/videointelligence_v1p3beta1/representations.rb +62 -0
  300. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  301. data/lib/google/apis/core/api_command.rb +3 -0
  302. data/lib/google/apis/core/http_command.rb +10 -8
  303. data/lib/google/apis/version.rb +1 -1
  304. data/rakelib/devsite/devsite_builder.rb +1 -1
  305. metadata +33 -11
  306. data/generated/google/apis/sqladmin_v1beta4/classes.rb +0 -2633
  307. data/generated/google/apis/sqladmin_v1beta4/representations.rb +0 -1110
  308. data/generated/google/apis/sqladmin_v1beta4/service.rb +0 -1793
  309. data/generated/google/apis/storage_v1beta1.rb +0 -40
  310. data/generated/google/apis/storage_v1beta1/classes.rb +0 -616
  311. data/generated/google/apis/storage_v1beta1/representations.rb +0 -249
  312. data/generated/google/apis/storage_v1beta1/service.rb +0 -1032
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://cloud.google.com/dialogflow/
27
27
  module DialogflowV2
28
28
  VERSION = 'V2'
29
- REVISION = '20191027'
29
+ REVISION = '20191118'
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'
@@ -130,6 +130,51 @@ module Google
130
130
  end
131
131
  end
132
132
 
133
+ # Represents a part of a message possibly annotated with an entity. The part
134
+ # can be an entity or purely a part of the message between two entities or
135
+ # message start/end.
136
+ class GoogleCloudDialogflowV2AnnotatedMessagePart
137
+ include Google::Apis::Core::Hashable
138
+
139
+ # The [Dialogflow system entity
140
+ # type](https://cloud.google.com/dialogflow/docs/reference/system-entities)
141
+ # of this message part. If this is empty, Dialogflow could not annotate the
142
+ # phrase part with a system entity.
143
+ # Corresponds to the JSON property `entityType`
144
+ # @return [String]
145
+ attr_accessor :entity_type
146
+
147
+ # The [Dialogflow system entity formatted value
148
+ # ](https://cloud.google.com/dialogflow/docs/reference/system-entities) of
149
+ # this message part. For example for a system entity of type
150
+ # `@sys.unit-currency`, this may contain:
151
+ # <pre>
152
+ # `
153
+ # "amount": 5,
154
+ # "currency": "USD"
155
+ # `
156
+ # </pre>
157
+ # Corresponds to the JSON property `formattedValue`
158
+ # @return [Object]
159
+ attr_accessor :formatted_value
160
+
161
+ # A part of a message possibly annotated with an entity.
162
+ # Corresponds to the JSON property `text`
163
+ # @return [String]
164
+ attr_accessor :text
165
+
166
+ def initialize(**args)
167
+ update!(**args)
168
+ end
169
+
170
+ # Update properties of this object
171
+ def update!(**args)
172
+ @entity_type = args[:entity_type] if args.key?(:entity_type)
173
+ @formatted_value = args[:formatted_value] if args.key?(:formatted_value)
174
+ @text = args[:text] if args.key?(:text)
175
+ end
176
+ end
177
+
133
178
  # The request message for EntityTypes.BatchCreateEntities.
134
179
  class GoogleCloudDialogflowV2BatchCreateEntitiesRequest
135
180
  include Google::Apis::Core::Hashable
@@ -441,6 +486,51 @@ module Google
441
486
  end
442
487
  end
443
488
 
489
+ # Represents a notification sent to Cloud Pub/Sub subscribers for conversation
490
+ # lifecycle events.
491
+ class GoogleCloudDialogflowV2ConversationEvent
492
+ include Google::Apis::Core::Hashable
493
+
494
+ # The unique identifier of the conversation this notification
495
+ # refers to.
496
+ # Format: `projects/<Project ID>/conversations/<Conversation ID>`.
497
+ # Corresponds to the JSON property `conversation`
498
+ # @return [String]
499
+ attr_accessor :conversation
500
+
501
+ # The `Status` type defines a logical error model that is suitable for
502
+ # different programming environments, including REST APIs and RPC APIs. It is
503
+ # used by [gRPC](https://github.com/grpc). Each `Status` message contains
504
+ # three pieces of data: error code, error message, and error details.
505
+ # You can find out more about this error model and how to work with it in the
506
+ # [API Design Guide](https://cloud.google.com/apis/design/errors).
507
+ # Corresponds to the JSON property `errorStatus`
508
+ # @return [Google::Apis::DialogflowV2::GoogleRpcStatus]
509
+ attr_accessor :error_status
510
+
511
+ # Represents a message posted into a conversation.
512
+ # Corresponds to the JSON property `newMessagePayload`
513
+ # @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2Message]
514
+ attr_accessor :new_message_payload
515
+
516
+ # The type of the event that this notification refers to.
517
+ # Corresponds to the JSON property `type`
518
+ # @return [String]
519
+ attr_accessor :type
520
+
521
+ def initialize(**args)
522
+ update!(**args)
523
+ end
524
+
525
+ # Update properties of this object
526
+ def update!(**args)
527
+ @conversation = args[:conversation] if args.key?(:conversation)
528
+ @error_status = args[:error_status] if args.key?(:error_status)
529
+ @new_message_payload = args[:new_message_payload] if args.key?(:new_message_payload)
530
+ @type = args[:type] if args.key?(:type)
531
+ end
532
+ end
533
+
444
534
  # The request to detect user's intent.
445
535
  class GoogleCloudDialogflowV2DetectIntentRequest
446
536
  include Google::Apis::Core::Hashable
@@ -1052,6 +1142,12 @@ module Google
1052
1142
  # @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2IntentMessageBasicCard]
1053
1143
  attr_accessor :basic_card
1054
1144
 
1145
+ # Browse Carousel Card for Actions on Google.
1146
+ # https://developers.google.com/actions/assistant/responses#browsing_carousel
1147
+ # Corresponds to the JSON property `browseCarouselCard`
1148
+ # @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2IntentMessageBrowseCarouselCard]
1149
+ attr_accessor :browse_carousel_card
1150
+
1055
1151
  # The card response message.
1056
1152
  # Corresponds to the JSON property `card`
1057
1153
  # @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2IntentMessageCard]
@@ -1078,6 +1174,11 @@ module Google
1078
1174
  # @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2IntentMessageListSelect]
1079
1175
  attr_accessor :list_select
1080
1176
 
1177
+ # The media content card for Actions on Google.
1178
+ # Corresponds to the JSON property `mediaContent`
1179
+ # @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2IntentMessageMediaContent]
1180
+ attr_accessor :media_content
1181
+
1081
1182
  # Returns a response containing a custom, platform-specific payload.
1082
1183
  # See the Intent.Message.Platform type for a description of the
1083
1184
  # structure that may be required for your platform.
@@ -1108,6 +1209,11 @@ module Google
1108
1209
  # @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2IntentMessageSuggestions]
1109
1210
  attr_accessor :suggestions
1110
1211
 
1212
+ # Table card for Actions on Google.
1213
+ # Corresponds to the JSON property `tableCard`
1214
+ # @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2IntentMessageTableCard]
1215
+ attr_accessor :table_card
1216
+
1111
1217
  # The text response message.
1112
1218
  # Corresponds to the JSON property `text`
1113
1219
  # @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2IntentMessageText]
@@ -1120,16 +1226,19 @@ module Google
1120
1226
  # Update properties of this object
1121
1227
  def update!(**args)
1122
1228
  @basic_card = args[:basic_card] if args.key?(:basic_card)
1229
+ @browse_carousel_card = args[:browse_carousel_card] if args.key?(:browse_carousel_card)
1123
1230
  @card = args[:card] if args.key?(:card)
1124
1231
  @carousel_select = args[:carousel_select] if args.key?(:carousel_select)
1125
1232
  @image = args[:image] if args.key?(:image)
1126
1233
  @link_out_suggestion = args[:link_out_suggestion] if args.key?(:link_out_suggestion)
1127
1234
  @list_select = args[:list_select] if args.key?(:list_select)
1235
+ @media_content = args[:media_content] if args.key?(:media_content)
1128
1236
  @payload = args[:payload] if args.key?(:payload)
1129
1237
  @platform = args[:platform] if args.key?(:platform)
1130
1238
  @quick_replies = args[:quick_replies] if args.key?(:quick_replies)
1131
1239
  @simple_responses = args[:simple_responses] if args.key?(:simple_responses)
1132
1240
  @suggestions = args[:suggestions] if args.key?(:suggestions)
1241
+ @table_card = args[:table_card] if args.key?(:table_card)
1133
1242
  @text = args[:text] if args.key?(:text)
1134
1243
  end
1135
1244
  end
@@ -1221,6 +1330,105 @@ module Google
1221
1330
  end
1222
1331
  end
1223
1332
 
1333
+ # Browse Carousel Card for Actions on Google.
1334
+ # https://developers.google.com/actions/assistant/responses#browsing_carousel
1335
+ class GoogleCloudDialogflowV2IntentMessageBrowseCarouselCard
1336
+ include Google::Apis::Core::Hashable
1337
+
1338
+ # Optional. Settings for displaying the image. Applies to every image in
1339
+ # items.
1340
+ # Corresponds to the JSON property `imageDisplayOptions`
1341
+ # @return [String]
1342
+ attr_accessor :image_display_options
1343
+
1344
+ # Required. List of items in the Browse Carousel Card. Minimum of two
1345
+ # items, maximum of ten.
1346
+ # Corresponds to the JSON property `items`
1347
+ # @return [Array<Google::Apis::DialogflowV2::GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardBrowseCarouselCardItem>]
1348
+ attr_accessor :items
1349
+
1350
+ def initialize(**args)
1351
+ update!(**args)
1352
+ end
1353
+
1354
+ # Update properties of this object
1355
+ def update!(**args)
1356
+ @image_display_options = args[:image_display_options] if args.key?(:image_display_options)
1357
+ @items = args[:items] if args.key?(:items)
1358
+ end
1359
+ end
1360
+
1361
+ # Browsing carousel tile
1362
+ class GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardBrowseCarouselCardItem
1363
+ include Google::Apis::Core::Hashable
1364
+
1365
+ # Optional. Description of the carousel item. Maximum of four lines of
1366
+ # text.
1367
+ # Corresponds to the JSON property `description`
1368
+ # @return [String]
1369
+ attr_accessor :description
1370
+
1371
+ # Optional. Text that appears at the bottom of the Browse Carousel
1372
+ # Card. Maximum of one line of text.
1373
+ # Corresponds to the JSON property `footer`
1374
+ # @return [String]
1375
+ attr_accessor :footer
1376
+
1377
+ # The image response message.
1378
+ # Corresponds to the JSON property `image`
1379
+ # @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2IntentMessageImage]
1380
+ attr_accessor :image
1381
+
1382
+ # Actions on Google action to open a given url.
1383
+ # Corresponds to the JSON property `openUriAction`
1384
+ # @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardBrowseCarouselCardItemOpenUrlAction]
1385
+ attr_accessor :open_uri_action
1386
+
1387
+ # Required. Title of the carousel item. Maximum of two lines of text.
1388
+ # Corresponds to the JSON property `title`
1389
+ # @return [String]
1390
+ attr_accessor :title
1391
+
1392
+ def initialize(**args)
1393
+ update!(**args)
1394
+ end
1395
+
1396
+ # Update properties of this object
1397
+ def update!(**args)
1398
+ @description = args[:description] if args.key?(:description)
1399
+ @footer = args[:footer] if args.key?(:footer)
1400
+ @image = args[:image] if args.key?(:image)
1401
+ @open_uri_action = args[:open_uri_action] if args.key?(:open_uri_action)
1402
+ @title = args[:title] if args.key?(:title)
1403
+ end
1404
+ end
1405
+
1406
+ # Actions on Google action to open a given url.
1407
+ class GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardBrowseCarouselCardItemOpenUrlAction
1408
+ include Google::Apis::Core::Hashable
1409
+
1410
+ # Required. URL
1411
+ # Corresponds to the JSON property `url`
1412
+ # @return [String]
1413
+ attr_accessor :url
1414
+
1415
+ # Optional. Specifies the type of viewer that is used when opening
1416
+ # the URL. Defaults to opening via web browser.
1417
+ # Corresponds to the JSON property `urlTypeHint`
1418
+ # @return [String]
1419
+ attr_accessor :url_type_hint
1420
+
1421
+ def initialize(**args)
1422
+ update!(**args)
1423
+ end
1424
+
1425
+ # Update properties of this object
1426
+ def update!(**args)
1427
+ @url = args[:url] if args.key?(:url)
1428
+ @url_type_hint = args[:url_type_hint] if args.key?(:url_type_hint)
1429
+ end
1430
+ end
1431
+
1224
1432
  # The card response message.
1225
1433
  class GoogleCloudDialogflowV2IntentMessageCard
1226
1434
  include Google::Apis::Core::Hashable
@@ -1341,6 +1549,31 @@ module Google
1341
1549
  end
1342
1550
  end
1343
1551
 
1552
+ # Column properties for TableCard.
1553
+ class GoogleCloudDialogflowV2IntentMessageColumnProperties
1554
+ include Google::Apis::Core::Hashable
1555
+
1556
+ # Required. Column heading.
1557
+ # Corresponds to the JSON property `header`
1558
+ # @return [String]
1559
+ attr_accessor :header
1560
+
1561
+ # Optional. Defines text alignment for all cells in this column.
1562
+ # Corresponds to the JSON property `horizontalAlignment`
1563
+ # @return [String]
1564
+ attr_accessor :horizontal_alignment
1565
+
1566
+ def initialize(**args)
1567
+ update!(**args)
1568
+ end
1569
+
1570
+ # Update properties of this object
1571
+ def update!(**args)
1572
+ @header = args[:header] if args.key?(:header)
1573
+ @horizontal_alignment = args[:horizontal_alignment] if args.key?(:horizontal_alignment)
1574
+ end
1575
+ end
1576
+
1344
1577
  # The image response message.
1345
1578
  class GoogleCloudDialogflowV2IntentMessageImage
1346
1579
  include Google::Apis::Core::Hashable
@@ -1463,6 +1696,74 @@ module Google
1463
1696
  end
1464
1697
  end
1465
1698
 
1699
+ # The media content card for Actions on Google.
1700
+ class GoogleCloudDialogflowV2IntentMessageMediaContent
1701
+ include Google::Apis::Core::Hashable
1702
+
1703
+ # Required. List of media objects.
1704
+ # Corresponds to the JSON property `mediaObjects`
1705
+ # @return [Array<Google::Apis::DialogflowV2::GoogleCloudDialogflowV2IntentMessageMediaContentResponseMediaObject>]
1706
+ attr_accessor :media_objects
1707
+
1708
+ # Optional. What type of media is the content (ie "audio").
1709
+ # Corresponds to the JSON property `mediaType`
1710
+ # @return [String]
1711
+ attr_accessor :media_type
1712
+
1713
+ def initialize(**args)
1714
+ update!(**args)
1715
+ end
1716
+
1717
+ # Update properties of this object
1718
+ def update!(**args)
1719
+ @media_objects = args[:media_objects] if args.key?(:media_objects)
1720
+ @media_type = args[:media_type] if args.key?(:media_type)
1721
+ end
1722
+ end
1723
+
1724
+ # Response media object for media content card.
1725
+ class GoogleCloudDialogflowV2IntentMessageMediaContentResponseMediaObject
1726
+ include Google::Apis::Core::Hashable
1727
+
1728
+ # Required. Url where the media is stored.
1729
+ # Corresponds to the JSON property `contentUrl`
1730
+ # @return [String]
1731
+ attr_accessor :content_url
1732
+
1733
+ # Optional. Description of media card.
1734
+ # Corresponds to the JSON property `description`
1735
+ # @return [String]
1736
+ attr_accessor :description
1737
+
1738
+ # The image response message.
1739
+ # Corresponds to the JSON property `icon`
1740
+ # @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2IntentMessageImage]
1741
+ attr_accessor :icon
1742
+
1743
+ # The image response message.
1744
+ # Corresponds to the JSON property `largeImage`
1745
+ # @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2IntentMessageImage]
1746
+ attr_accessor :large_image
1747
+
1748
+ # Required. Name of media card.
1749
+ # Corresponds to the JSON property `name`
1750
+ # @return [String]
1751
+ attr_accessor :name
1752
+
1753
+ def initialize(**args)
1754
+ update!(**args)
1755
+ end
1756
+
1757
+ # Update properties of this object
1758
+ def update!(**args)
1759
+ @content_url = args[:content_url] if args.key?(:content_url)
1760
+ @description = args[:description] if args.key?(:description)
1761
+ @icon = args[:icon] if args.key?(:icon)
1762
+ @large_image = args[:large_image] if args.key?(:large_image)
1763
+ @name = args[:name] if args.key?(:name)
1764
+ end
1765
+ end
1766
+
1466
1767
  # The quick replies response message.
1467
1768
  class GoogleCloudDialogflowV2IntentMessageQuickReplies
1468
1769
  include Google::Apis::Core::Hashable
@@ -1611,6 +1912,100 @@ module Google
1611
1912
  end
1612
1913
  end
1613
1914
 
1915
+ # Table card for Actions on Google.
1916
+ class GoogleCloudDialogflowV2IntentMessageTableCard
1917
+ include Google::Apis::Core::Hashable
1918
+
1919
+ # Optional. List of buttons for the card.
1920
+ # Corresponds to the JSON property `buttons`
1921
+ # @return [Array<Google::Apis::DialogflowV2::GoogleCloudDialogflowV2IntentMessageBasicCardButton>]
1922
+ attr_accessor :buttons
1923
+
1924
+ # Optional. Display properties for the columns in this table.
1925
+ # Corresponds to the JSON property `columnProperties`
1926
+ # @return [Array<Google::Apis::DialogflowV2::GoogleCloudDialogflowV2IntentMessageColumnProperties>]
1927
+ attr_accessor :column_properties
1928
+
1929
+ # The image response message.
1930
+ # Corresponds to the JSON property `image`
1931
+ # @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2IntentMessageImage]
1932
+ attr_accessor :image
1933
+
1934
+ # Optional. Rows in this table of data.
1935
+ # Corresponds to the JSON property `rows`
1936
+ # @return [Array<Google::Apis::DialogflowV2::GoogleCloudDialogflowV2IntentMessageTableCardRow>]
1937
+ attr_accessor :rows
1938
+
1939
+ # Optional. Subtitle to the title.
1940
+ # Corresponds to the JSON property `subtitle`
1941
+ # @return [String]
1942
+ attr_accessor :subtitle
1943
+
1944
+ # Required. Title of the card.
1945
+ # Corresponds to the JSON property `title`
1946
+ # @return [String]
1947
+ attr_accessor :title
1948
+
1949
+ def initialize(**args)
1950
+ update!(**args)
1951
+ end
1952
+
1953
+ # Update properties of this object
1954
+ def update!(**args)
1955
+ @buttons = args[:buttons] if args.key?(:buttons)
1956
+ @column_properties = args[:column_properties] if args.key?(:column_properties)
1957
+ @image = args[:image] if args.key?(:image)
1958
+ @rows = args[:rows] if args.key?(:rows)
1959
+ @subtitle = args[:subtitle] if args.key?(:subtitle)
1960
+ @title = args[:title] if args.key?(:title)
1961
+ end
1962
+ end
1963
+
1964
+ # Cell of TableCardRow.
1965
+ class GoogleCloudDialogflowV2IntentMessageTableCardCell
1966
+ include Google::Apis::Core::Hashable
1967
+
1968
+ # Required. Text in this cell.
1969
+ # Corresponds to the JSON property `text`
1970
+ # @return [String]
1971
+ attr_accessor :text
1972
+
1973
+ def initialize(**args)
1974
+ update!(**args)
1975
+ end
1976
+
1977
+ # Update properties of this object
1978
+ def update!(**args)
1979
+ @text = args[:text] if args.key?(:text)
1980
+ end
1981
+ end
1982
+
1983
+ # Row of TableCard.
1984
+ class GoogleCloudDialogflowV2IntentMessageTableCardRow
1985
+ include Google::Apis::Core::Hashable
1986
+
1987
+ # Optional. List of cells that make up this row.
1988
+ # Corresponds to the JSON property `cells`
1989
+ # @return [Array<Google::Apis::DialogflowV2::GoogleCloudDialogflowV2IntentMessageTableCardCell>]
1990
+ attr_accessor :cells
1991
+
1992
+ # Optional. Whether to add a visual divider after this row.
1993
+ # Corresponds to the JSON property `dividerAfter`
1994
+ # @return [Boolean]
1995
+ attr_accessor :divider_after
1996
+ alias_method :divider_after?, :divider_after
1997
+
1998
+ def initialize(**args)
1999
+ update!(**args)
2000
+ end
2001
+
2002
+ # Update properties of this object
2003
+ def update!(**args)
2004
+ @cells = args[:cells] if args.key?(:cells)
2005
+ @divider_after = args[:divider_after] if args.key?(:divider_after)
2006
+ end
2007
+ end
2008
+
1614
2009
  # The text response message.
1615
2010
  class GoogleCloudDialogflowV2IntentMessageText
1616
2011
  include Google::Apis::Core::Hashable
@@ -1910,6 +2305,93 @@ module Google
1910
2305
  end
1911
2306
  end
1912
2307
 
2308
+ # Represents a message posted into a conversation.
2309
+ class GoogleCloudDialogflowV2Message
2310
+ include Google::Apis::Core::Hashable
2311
+
2312
+ # Required. The message content.
2313
+ # Corresponds to the JSON property `content`
2314
+ # @return [String]
2315
+ attr_accessor :content
2316
+
2317
+ # Output only. The time when the message was created.
2318
+ # Corresponds to the JSON property `createTime`
2319
+ # @return [String]
2320
+ attr_accessor :create_time
2321
+
2322
+ # Optional. The message language.
2323
+ # This should be a [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt)
2324
+ # language tag. Example: "en-US".
2325
+ # Corresponds to the JSON property `languageCode`
2326
+ # @return [String]
2327
+ attr_accessor :language_code
2328
+
2329
+ # Represents the result of annotation for the message.
2330
+ # Corresponds to the JSON property `messageAnnotation`
2331
+ # @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2MessageAnnotation]
2332
+ attr_accessor :message_annotation
2333
+
2334
+ # The unique identifier of the message.
2335
+ # Format: `projects/<Project ID>/conversations/<Conversation
2336
+ # ID>/messages/<Message ID>`.
2337
+ # Corresponds to the JSON property `name`
2338
+ # @return [String]
2339
+ attr_accessor :name
2340
+
2341
+ # Output only. The participant that sends this message.
2342
+ # Corresponds to the JSON property `participant`
2343
+ # @return [String]
2344
+ attr_accessor :participant
2345
+
2346
+ # Output only. The role of the participant.
2347
+ # Corresponds to the JSON property `participantRole`
2348
+ # @return [String]
2349
+ attr_accessor :participant_role
2350
+
2351
+ def initialize(**args)
2352
+ update!(**args)
2353
+ end
2354
+
2355
+ # Update properties of this object
2356
+ def update!(**args)
2357
+ @content = args[:content] if args.key?(:content)
2358
+ @create_time = args[:create_time] if args.key?(:create_time)
2359
+ @language_code = args[:language_code] if args.key?(:language_code)
2360
+ @message_annotation = args[:message_annotation] if args.key?(:message_annotation)
2361
+ @name = args[:name] if args.key?(:name)
2362
+ @participant = args[:participant] if args.key?(:participant)
2363
+ @participant_role = args[:participant_role] if args.key?(:participant_role)
2364
+ end
2365
+ end
2366
+
2367
+ # Represents the result of annotation for the message.
2368
+ class GoogleCloudDialogflowV2MessageAnnotation
2369
+ include Google::Apis::Core::Hashable
2370
+
2371
+ # Indicates whether the text message contains entities.
2372
+ # Corresponds to the JSON property `containEntities`
2373
+ # @return [Boolean]
2374
+ attr_accessor :contain_entities
2375
+ alias_method :contain_entities?, :contain_entities
2376
+
2377
+ # The collection of annotated message parts ordered by their
2378
+ # position in the message. You can recover the annotated message by
2379
+ # concatenating [AnnotatedMessagePart.text].
2380
+ # Corresponds to the JSON property `parts`
2381
+ # @return [Array<Google::Apis::DialogflowV2::GoogleCloudDialogflowV2AnnotatedMessagePart>]
2382
+ attr_accessor :parts
2383
+
2384
+ def initialize(**args)
2385
+ update!(**args)
2386
+ end
2387
+
2388
+ # Update properties of this object
2389
+ def update!(**args)
2390
+ @contain_entities = args[:contain_entities] if args.key?(:contain_entities)
2391
+ @parts = args[:parts] if args.key?(:parts)
2392
+ end
2393
+ end
2394
+
1913
2395
  # Represents the contents of the original request that was passed to
1914
2396
  # the `[Streaming]DetectIntent` call.
1915
2397
  class GoogleCloudDialogflowV2OriginalDetectIntentRequest
@@ -2510,7 +2992,8 @@ module Google
2510
2992
  include Google::Apis::Core::Hashable
2511
2993
 
2512
2994
  # Optional. The name of the voice. If not set, the service will choose a
2513
- # voice based on the other parameters such as language_code and gender.
2995
+ # voice based on the other parameters such as language_code and
2996
+ # ssml_gender.
2514
2997
  # Corresponds to the JSON property `name`
2515
2998
  # @return [String]
2516
2999
  attr_accessor :name