google-api-client 0.28.7 → 0.29.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (358) hide show
  1. checksums.yaml +4 -4
  2. data/.kokoro/build.bat +9 -6
  3. data/.kokoro/build.sh +2 -32
  4. data/.kokoro/continuous/common.cfg +6 -1
  5. data/.kokoro/continuous/windows.cfg +17 -1
  6. data/.kokoro/osx.sh +2 -33
  7. data/.kokoro/presubmit/common.cfg +6 -1
  8. data/.kokoro/presubmit/windows.cfg +17 -1
  9. data/.kokoro/trampoline.bat +10 -0
  10. data/.kokoro/trampoline.sh +3 -23
  11. data/CHANGELOG.md +138 -0
  12. data/Rakefile +31 -0
  13. data/generated/google/apis/accessapproval_v1beta1.rb +34 -0
  14. data/generated/google/apis/accessapproval_v1beta1/classes.rb +306 -0
  15. data/generated/google/apis/accessapproval_v1beta1/representations.rb +159 -0
  16. data/generated/google/apis/accessapproval_v1beta1/service.rb +728 -0
  17. data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
  18. data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +96 -131
  19. data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +2 -42
  20. data/generated/google/apis/admin_reports_v1.rb +1 -1
  21. data/generated/google/apis/alertcenter_v1beta1.rb +1 -1
  22. data/generated/google/apis/alertcenter_v1beta1/classes.rb +98 -0
  23. data/generated/google/apis/alertcenter_v1beta1/representations.rb +25 -0
  24. data/generated/google/apis/alertcenter_v1beta1/service.rb +2 -1
  25. data/generated/google/apis/androiddeviceprovisioning_v1.rb +1 -1
  26. data/generated/google/apis/androiddeviceprovisioning_v1/classes.rb +40 -0
  27. data/generated/google/apis/androiddeviceprovisioning_v1/representations.rb +6 -0
  28. data/generated/google/apis/androidenterprise_v1.rb +1 -1
  29. data/generated/google/apis/androidenterprise_v1/classes.rb +0 -26
  30. data/generated/google/apis/androidenterprise_v1/representations.rb +0 -14
  31. data/generated/google/apis/androidenterprise_v1/service.rb +0 -36
  32. data/generated/google/apis/androidmanagement_v1.rb +1 -1
  33. data/generated/google/apis/androidmanagement_v1/classes.rb +188 -0
  34. data/generated/google/apis/androidmanagement_v1/representations.rb +82 -0
  35. data/generated/google/apis/androidmanagement_v1/service.rb +170 -0
  36. data/generated/google/apis/androidpublisher_v2.rb +1 -1
  37. data/generated/google/apis/androidpublisher_v2/service.rb +6 -12
  38. data/generated/google/apis/androidpublisher_v3.rb +1 -1
  39. data/generated/google/apis/androidpublisher_v3/service.rb +6 -12
  40. data/generated/google/apis/appengine_v1.rb +1 -1
  41. data/generated/google/apis/appengine_v1/service.rb +7 -1
  42. data/generated/google/apis/appengine_v1beta.rb +1 -1
  43. data/generated/google/apis/appengine_v1beta/classes.rb +2 -1
  44. data/generated/google/apis/appengine_v1beta/service.rb +7 -1
  45. data/generated/google/apis/appsactivity_v1.rb +1 -1
  46. data/generated/google/apis/appsactivity_v1/service.rb +4 -3
  47. data/generated/google/apis/bigquery_v2.rb +1 -1
  48. data/generated/google/apis/bigquery_v2/classes.rb +28 -4
  49. data/generated/google/apis/bigquery_v2/representations.rb +13 -0
  50. data/generated/google/apis/bigtableadmin_v1.rb +2 -2
  51. data/generated/google/apis/bigtableadmin_v1/service.rb +1 -1
  52. data/generated/google/apis/bigtableadmin_v2.rb +2 -2
  53. data/generated/google/apis/bigtableadmin_v2/classes.rb +10 -10
  54. data/generated/google/apis/bigtableadmin_v2/service.rb +111 -2
  55. data/generated/google/apis/binaryauthorization_v1beta1.rb +1 -1
  56. data/generated/google/apis/calendar_v3.rb +1 -1
  57. data/generated/google/apis/calendar_v3/service.rb +16 -16
  58. data/generated/google/apis/classroom_v1.rb +7 -1
  59. data/generated/google/apis/classroom_v1/classes.rb +77 -0
  60. data/generated/google/apis/classroom_v1/representations.rb +32 -0
  61. data/generated/google/apis/classroom_v1/service.rb +224 -0
  62. data/generated/google/apis/cloudasset_v1.rb +1 -1
  63. data/generated/google/apis/cloudasset_v1/classes.rb +15 -2
  64. data/generated/google/apis/cloudasset_v1/representations.rb +1 -0
  65. data/generated/google/apis/cloudasset_v1/service.rb +3 -2
  66. data/generated/google/apis/cloudasset_v1beta1.rb +1 -1
  67. data/generated/google/apis/cloudasset_v1beta1/classes.rb +13 -0
  68. data/generated/google/apis/cloudasset_v1beta1/representations.rb +1 -0
  69. data/generated/google/apis/cloudbilling_v1.rb +1 -1
  70. data/generated/google/apis/cloudbilling_v1/service.rb +2 -2
  71. data/generated/google/apis/cloudbuild_v1alpha1.rb +1 -1
  72. data/generated/google/apis/cloudbuild_v1alpha1/classes.rb +1 -1
  73. data/generated/google/apis/clouderrorreporting_v1beta1.rb +1 -1
  74. data/generated/google/apis/clouderrorreporting_v1beta1/classes.rb +19 -16
  75. data/generated/google/apis/clouderrorreporting_v1beta1/service.rb +6 -5
  76. data/generated/google/apis/cloudfunctions_v1.rb +1 -1
  77. data/generated/google/apis/cloudfunctions_v1/classes.rb +7 -10
  78. data/generated/google/apis/cloudfunctions_v1beta2.rb +1 -1
  79. data/generated/google/apis/cloudfunctions_v1beta2/classes.rb +7 -4
  80. data/generated/google/apis/cloudiot_v1.rb +1 -1
  81. data/generated/google/apis/cloudkms_v1.rb +1 -1
  82. data/generated/google/apis/cloudprivatecatalogproducer_v1beta1.rb +1 -1
  83. data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
  84. data/generated/google/apis/cloudresourcemanager_v1/classes.rb +6 -5
  85. data/generated/google/apis/cloudresourcemanager_v1/service.rb +30 -21
  86. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
  87. data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +37 -26
  88. data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
  89. data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
  90. data/generated/google/apis/cloudscheduler_v1.rb +34 -0
  91. data/generated/google/apis/cloudscheduler_v1/classes.rb +994 -0
  92. data/generated/google/apis/cloudscheduler_v1/representations.rb +297 -0
  93. data/generated/google/apis/cloudscheduler_v1/service.rb +448 -0
  94. data/generated/google/apis/cloudscheduler_v1beta1.rb +1 -1
  95. data/generated/google/apis/cloudscheduler_v1beta1/classes.rb +2 -2
  96. data/generated/google/apis/cloudsearch_v1.rb +1 -1
  97. data/generated/google/apis/cloudsearch_v1/classes.rb +25 -11
  98. data/generated/google/apis/cloudsearch_v1/service.rb +36 -32
  99. data/generated/google/apis/cloudtasks_v2.rb +1 -1
  100. data/generated/google/apis/cloudtasks_v2/service.rb +13 -13
  101. data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
  102. data/generated/google/apis/cloudtasks_v2beta2/service.rb +13 -13
  103. data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
  104. data/generated/google/apis/cloudtasks_v2beta3/service.rb +13 -13
  105. data/generated/google/apis/commentanalyzer_v1alpha1.rb +39 -0
  106. data/generated/google/apis/commentanalyzer_v1alpha1/classes.rb +484 -0
  107. data/generated/google/apis/commentanalyzer_v1alpha1/representations.rb +210 -0
  108. data/generated/google/apis/commentanalyzer_v1alpha1/service.rb +124 -0
  109. data/generated/google/apis/compute_alpha.rb +1 -1
  110. data/generated/google/apis/compute_alpha/classes.rb +328 -25
  111. data/generated/google/apis/compute_alpha/representations.rb +134 -0
  112. data/generated/google/apis/compute_alpha/service.rb +465 -0
  113. data/generated/google/apis/compute_beta.rb +1 -1
  114. data/generated/google/apis/compute_beta/classes.rb +86 -20
  115. data/generated/google/apis/compute_beta/representations.rb +7 -0
  116. data/generated/google/apis/compute_v1.rb +1 -1
  117. data/generated/google/apis/compute_v1/classes.rb +994 -103
  118. data/generated/google/apis/compute_v1/representations.rb +346 -0
  119. data/generated/google/apis/compute_v1/service.rb +533 -0
  120. data/generated/google/apis/container_v1.rb +1 -1
  121. data/generated/google/apis/container_v1/classes.rb +167 -21
  122. data/generated/google/apis/container_v1/representations.rb +66 -0
  123. data/generated/google/apis/container_v1/service.rb +85 -36
  124. data/generated/google/apis/container_v1beta1.rb +1 -1
  125. data/generated/google/apis/container_v1beta1/classes.rb +86 -21
  126. data/generated/google/apis/container_v1beta1/representations.rb +32 -0
  127. data/generated/google/apis/container_v1beta1/service.rb +38 -38
  128. data/generated/google/apis/containeranalysis_v1alpha1.rb +1 -1
  129. data/generated/google/apis/containeranalysis_v1beta1.rb +1 -1
  130. data/generated/google/apis/containeranalysis_v1beta1/classes.rb +95 -6
  131. data/generated/google/apis/containeranalysis_v1beta1/representations.rb +25 -0
  132. data/generated/google/apis/content_v2.rb +1 -1
  133. data/generated/google/apis/content_v2/classes.rb +5 -5
  134. data/generated/google/apis/content_v2/service.rb +6 -6
  135. data/generated/google/apis/content_v2_1.rb +1 -1
  136. data/generated/google/apis/content_v2_1/classes.rb +18 -4
  137. data/generated/google/apis/content_v2_1/representations.rb +2 -0
  138. data/generated/google/apis/content_v2_1/service.rb +6 -6
  139. data/generated/google/apis/dataflow_v1b3.rb +1 -1
  140. data/generated/google/apis/dataflow_v1b3/classes.rb +56 -1
  141. data/generated/google/apis/dataflow_v1b3/representations.rb +39 -0
  142. data/generated/google/apis/dataflow_v1b3/service.rb +251 -0
  143. data/generated/google/apis/datafusion_v1beta1.rb +43 -0
  144. data/generated/google/apis/datafusion_v1beta1/classes.rb +1304 -0
  145. data/generated/google/apis/datafusion_v1beta1/representations.rb +469 -0
  146. data/generated/google/apis/datafusion_v1beta1/service.rb +657 -0
  147. data/generated/google/apis/dataproc_v1.rb +1 -1
  148. data/generated/google/apis/dataproc_v1/classes.rb +5 -5
  149. data/generated/google/apis/dataproc_v1beta2.rb +1 -1
  150. data/generated/google/apis/dataproc_v1beta2/classes.rb +37 -24
  151. data/generated/google/apis/datastore_v1.rb +1 -1
  152. data/generated/google/apis/datastore_v1/classes.rb +20 -16
  153. data/generated/google/apis/datastore_v1beta1.rb +1 -1
  154. data/generated/google/apis/datastore_v1beta1/classes.rb +10 -10
  155. data/generated/google/apis/datastore_v1beta3.rb +1 -1
  156. data/generated/google/apis/datastore_v1beta3/classes.rb +10 -6
  157. data/generated/google/apis/dialogflow_v2.rb +1 -1
  158. data/generated/google/apis/dialogflow_v2/classes.rb +236 -0
  159. data/generated/google/apis/dialogflow_v2/representations.rb +99 -0
  160. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  161. data/generated/google/apis/dialogflow_v2beta1/classes.rb +64 -2
  162. data/generated/google/apis/dialogflow_v2beta1/representations.rb +31 -0
  163. data/generated/google/apis/dlp_v2.rb +1 -1
  164. data/generated/google/apis/dlp_v2/classes.rb +19 -2
  165. data/generated/google/apis/dns_v1.rb +1 -1
  166. data/generated/google/apis/dns_v1/classes.rb +202 -93
  167. data/generated/google/apis/dns_v1/service.rb +110 -15
  168. data/generated/google/apis/dns_v1beta2.rb +1 -1
  169. data/generated/google/apis/dns_v1beta2/classes.rb +262 -122
  170. data/generated/google/apis/dns_v1beta2/service.rb +141 -21
  171. data/generated/google/apis/dns_v2beta1.rb +1 -1
  172. data/generated/google/apis/dns_v2beta1/classes.rb +202 -93
  173. data/generated/google/apis/dns_v2beta1/service.rb +110 -15
  174. data/generated/google/apis/docs_v1.rb +1 -1
  175. data/generated/google/apis/docs_v1/classes.rb +10 -0
  176. data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
  177. data/generated/google/apis/doubleclickbidmanager_v1/classes.rb +6 -4
  178. data/generated/google/apis/drive_v2.rb +1 -1
  179. data/generated/google/apis/drive_v2/classes.rb +601 -69
  180. data/generated/google/apis/drive_v2/representations.rb +152 -0
  181. data/generated/google/apis/drive_v2/service.rb +452 -96
  182. data/generated/google/apis/drive_v3.rb +1 -1
  183. data/generated/google/apis/drive_v3/classes.rb +591 -64
  184. data/generated/google/apis/drive_v3/representations.rb +151 -0
  185. data/generated/google/apis/drive_v3/service.rb +407 -77
  186. data/generated/google/apis/driveactivity_v2.rb +1 -1
  187. data/generated/google/apis/driveactivity_v2/classes.rb +149 -17
  188. data/generated/google/apis/driveactivity_v2/representations.rb +69 -0
  189. data/generated/google/apis/file_v1.rb +1 -1
  190. data/generated/google/apis/file_v1/classes.rb +399 -8
  191. data/generated/google/apis/file_v1/representations.rb +121 -0
  192. data/generated/google/apis/file_v1beta1.rb +1 -1
  193. data/generated/google/apis/file_v1beta1/classes.rb +399 -8
  194. data/generated/google/apis/file_v1beta1/representations.rb +121 -0
  195. data/generated/google/apis/firebasedynamiclinks_v1.rb +1 -1
  196. data/generated/google/apis/firebasedynamiclinks_v1/classes.rb +28 -4
  197. data/generated/google/apis/firebasedynamiclinks_v1/representations.rb +4 -0
  198. data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
  199. data/generated/google/apis/firebasehosting_v1beta1/classes.rb +13 -13
  200. data/generated/google/apis/firebaserules_v1.rb +1 -1
  201. data/generated/google/apis/firebaserules_v1/classes.rb +10 -2
  202. data/generated/google/apis/firestore_v1.rb +1 -1
  203. data/generated/google/apis/firestore_v1/classes.rb +15 -15
  204. data/generated/google/apis/firestore_v1beta1.rb +1 -1
  205. data/generated/google/apis/firestore_v1beta1/classes.rb +15 -15
  206. data/generated/google/apis/firestore_v1beta2.rb +1 -1
  207. data/generated/google/apis/firestore_v1beta2/classes.rb +10 -10
  208. data/generated/google/apis/fitness_v1.rb +1 -1
  209. data/generated/google/apis/fitness_v1/classes.rb +1 -1
  210. data/generated/google/apis/games_v1.rb +2 -2
  211. data/generated/google/apis/gmail_v1.rb +1 -1
  212. data/generated/google/apis/gmail_v1/classes.rb +29 -0
  213. data/generated/google/apis/gmail_v1/representations.rb +13 -0
  214. data/generated/google/apis/gmail_v1/service.rb +76 -0
  215. data/generated/google/apis/healthcare_v1beta1.rb +34 -0
  216. data/generated/google/apis/healthcare_v1beta1/classes.rb +2462 -0
  217. data/generated/google/apis/healthcare_v1beta1/representations.rb +1042 -0
  218. data/generated/google/apis/healthcare_v1beta1/service.rb +3403 -0
  219. data/generated/google/apis/iap_v1.rb +1 -1
  220. data/generated/google/apis/iap_v1beta1.rb +1 -1
  221. data/generated/google/apis/jobs_v2.rb +1 -1
  222. data/generated/google/apis/jobs_v2/classes.rb +9 -8
  223. data/generated/google/apis/jobs_v3.rb +1 -1
  224. data/generated/google/apis/jobs_v3/classes.rb +13 -7
  225. data/generated/google/apis/jobs_v3/service.rb +1 -2
  226. data/generated/google/apis/jobs_v3p1beta1.rb +1 -1
  227. data/generated/google/apis/jobs_v3p1beta1/classes.rb +13 -7
  228. data/generated/google/apis/jobs_v3p1beta1/service.rb +1 -2
  229. data/generated/google/apis/language_v1.rb +1 -1
  230. data/generated/google/apis/language_v1/classes.rb +3 -2
  231. data/generated/google/apis/language_v1beta2.rb +1 -1
  232. data/generated/google/apis/language_v1beta2/classes.rb +3 -2
  233. data/generated/google/apis/ml_v1.rb +1 -1
  234. data/generated/google/apis/ml_v1/classes.rb +64 -16
  235. data/generated/google/apis/ml_v1/representations.rb +2 -0
  236. data/generated/google/apis/ml_v1/service.rb +5 -5
  237. data/generated/google/apis/monitoring_v3.rb +1 -1
  238. data/generated/google/apis/monitoring_v3/classes.rb +0 -10
  239. data/generated/google/apis/monitoring_v3/representations.rb +0 -1
  240. data/generated/google/apis/oauth2_v1.rb +1 -1
  241. data/generated/google/apis/oauth2_v2.rb +1 -1
  242. data/generated/google/apis/oslogin_v1.rb +3 -2
  243. data/generated/google/apis/oslogin_v1/service.rb +2 -1
  244. data/generated/google/apis/oslogin_v1alpha.rb +3 -2
  245. data/generated/google/apis/oslogin_v1alpha/service.rb +2 -1
  246. data/generated/google/apis/oslogin_v1beta.rb +3 -2
  247. data/generated/google/apis/oslogin_v1beta/service.rb +2 -1
  248. data/generated/google/apis/people_v1.rb +1 -4
  249. data/generated/google/apis/people_v1/classes.rb +19 -11
  250. data/generated/google/apis/people_v1/representations.rb +1 -0
  251. data/generated/google/apis/people_v1/service.rb +1 -0
  252. data/generated/google/apis/plus_domains_v1.rb +2 -5
  253. data/generated/google/apis/plus_domains_v1/service.rb +8 -90
  254. data/generated/google/apis/plus_v1.rb +2 -2
  255. data/generated/google/apis/plus_v1/service.rb +7 -7
  256. data/generated/google/apis/poly_v1.rb +1 -1
  257. data/generated/google/apis/poly_v1/classes.rb +3 -2
  258. data/generated/google/apis/poly_v1/service.rb +11 -8
  259. data/generated/google/apis/pubsub_v1.rb +1 -1
  260. data/generated/google/apis/pubsub_v1/classes.rb +2 -1
  261. data/generated/google/apis/pubsub_v1/service.rb +8 -8
  262. data/generated/google/apis/pubsub_v1beta2.rb +1 -1
  263. data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
  264. data/generated/google/apis/remotebuildexecution_v1/classes.rb +7 -6
  265. data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
  266. data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +5 -4
  267. data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
  268. data/generated/google/apis/remotebuildexecution_v2/classes.rb +5 -4
  269. data/generated/google/apis/run_v1alpha1.rb +1 -1
  270. data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
  271. data/generated/google/apis/securitycenter_v1.rb +35 -0
  272. data/generated/google/apis/securitycenter_v1/classes.rb +1627 -0
  273. data/generated/google/apis/securitycenter_v1/representations.rb +569 -0
  274. data/generated/google/apis/securitycenter_v1/service.rb +1110 -0
  275. data/generated/google/apis/securitycenter_v1beta1.rb +35 -0
  276. data/generated/google/apis/securitycenter_v1beta1/classes.rb +1514 -0
  277. data/generated/google/apis/securitycenter_v1beta1/representations.rb +548 -0
  278. data/generated/google/apis/securitycenter_v1beta1/service.rb +1035 -0
  279. data/generated/google/apis/servicebroker_v1.rb +1 -1
  280. data/generated/google/apis/servicebroker_v1alpha1.rb +1 -1
  281. data/generated/google/apis/servicebroker_v1beta1.rb +1 -1
  282. data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
  283. data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +324 -13
  284. data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +174 -0
  285. data/generated/google/apis/serviceconsumermanagement_v1/service.rb +5 -0
  286. data/generated/google/apis/servicecontrol_v1.rb +1 -1
  287. data/generated/google/apis/servicecontrol_v1/classes.rb +2 -1
  288. data/generated/google/apis/servicemanagement_v1.rb +1 -1
  289. data/generated/google/apis/servicemanagement_v1/classes.rb +101 -20
  290. data/generated/google/apis/servicenetworking_v1.rb +1 -1
  291. data/generated/google/apis/servicenetworking_v1/classes.rb +16 -13
  292. data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
  293. data/generated/google/apis/servicenetworking_v1beta/classes.rb +16 -13
  294. data/generated/google/apis/serviceusage_v1.rb +1 -1
  295. data/generated/google/apis/serviceusage_v1/classes.rb +110 -13
  296. data/generated/google/apis/serviceusage_v1/representations.rb +43 -0
  297. data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
  298. data/generated/google/apis/serviceusage_v1beta1/classes.rb +110 -13
  299. data/generated/google/apis/serviceusage_v1beta1/representations.rb +43 -0
  300. data/generated/google/apis/sourcerepo_v1.rb +1 -1
  301. data/generated/google/apis/sourcerepo_v1/classes.rb +182 -0
  302. data/generated/google/apis/sourcerepo_v1/representations.rb +45 -0
  303. data/generated/google/apis/sourcerepo_v1/service.rb +35 -0
  304. data/generated/google/apis/spanner_v1.rb +1 -1
  305. data/generated/google/apis/spanner_v1/classes.rb +20 -19
  306. data/generated/google/apis/spanner_v1/service.rb +1 -1
  307. data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
  308. data/generated/google/apis/sqladmin_v1beta4/classes.rb +9 -2
  309. data/generated/google/apis/sqladmin_v1beta4/representations.rb +1 -0
  310. data/generated/google/apis/storage_v1.rb +1 -1
  311. data/generated/google/apis/storage_v1/classes.rb +144 -0
  312. data/generated/google/apis/storage_v1/representations.rb +56 -0
  313. data/generated/google/apis/storage_v1/service.rb +441 -46
  314. data/generated/google/apis/storagetransfer_v1.rb +1 -1
  315. data/generated/google/apis/storagetransfer_v1/classes.rb +3 -3
  316. data/generated/google/apis/testing_v1.rb +1 -1
  317. data/generated/google/apis/testing_v1/classes.rb +6 -0
  318. data/generated/google/apis/testing_v1/representations.rb +1 -0
  319. data/generated/google/apis/texttospeech_v1beta1.rb +1 -1
  320. data/generated/google/apis/toolresults_v1beta3.rb +1 -1
  321. data/generated/google/apis/toolresults_v1beta3/classes.rb +240 -0
  322. data/generated/google/apis/toolresults_v1beta3/representations.rb +43 -0
  323. data/generated/google/apis/toolresults_v1beta3/service.rb +116 -0
  324. data/generated/google/apis/tpu_v1.rb +1 -1
  325. data/generated/google/apis/tpu_v1/classes.rb +10 -4
  326. data/generated/google/apis/tpu_v1/representations.rb +1 -0
  327. data/generated/google/apis/tpu_v1alpha1.rb +1 -1
  328. data/generated/google/apis/tpu_v1alpha1/classes.rb +10 -4
  329. data/generated/google/apis/tpu_v1alpha1/representations.rb +1 -0
  330. data/generated/google/apis/vault_v1.rb +1 -1
  331. data/generated/google/apis/vault_v1/classes.rb +37 -18
  332. data/generated/google/apis/vault_v1/representations.rb +3 -0
  333. data/generated/google/apis/vision_v1.rb +1 -1
  334. data/generated/google/apis/vision_v1/classes.rb +84 -47
  335. data/generated/google/apis/vision_v1/service.rb +68 -4
  336. data/generated/google/apis/vision_v1p1beta1.rb +1 -1
  337. data/generated/google/apis/vision_v1p1beta1/classes.rb +84 -47
  338. data/generated/google/apis/vision_v1p2beta1.rb +1 -1
  339. data/generated/google/apis/vision_v1p2beta1/classes.rb +84 -47
  340. data/generated/google/apis/webmasters_v3.rb +1 -1
  341. data/generated/google/apis/webmasters_v3/classes.rb +0 -166
  342. data/generated/google/apis/webmasters_v3/representations.rb +0 -93
  343. data/generated/google/apis/webmasters_v3/service.rb +0 -171
  344. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  345. data/generated/google/apis/youtube_partner_v1/classes.rb +15 -34
  346. data/generated/google/apis/youtube_partner_v1/representations.rb +4 -17
  347. data/generated/google/apis/youtube_v3.rb +1 -1
  348. data/generated/google/apis/youtubereporting_v1.rb +1 -1
  349. data/generated/google/apis/youtubereporting_v1/classes.rb +2 -2
  350. data/google-api-client.gemspec +1 -1
  351. data/lib/google/apis/version.rb +1 -1
  352. metadata +31 -9
  353. data/.kokoro/common.cfg +0 -22
  354. data/.kokoro/windows.sh +0 -32
  355. data/generated/google/apis/logging_v2beta1.rb +0 -46
  356. data/generated/google/apis/logging_v2beta1/classes.rb +0 -1764
  357. data/generated/google/apis/logging_v2beta1/representations.rb +0 -537
  358. data/generated/google/apis/logging_v2beta1/service.rb +0 -570
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://cloud.google.com/dataproc/
26
26
  module DataprocV1
27
27
  VERSION = 'V1'
28
- REVISION = '20190301'
28
+ REVISION = '20190417'
29
29
 
30
30
  # View and manage your data across Google Cloud Platform services
31
31
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
@@ -215,8 +215,8 @@ module Google
215
215
  # default, executables are run on master and all worker nodes. You can test a
216
216
  # node's role metadata to run an executable on a master or worker node, as shown
217
217
  # below using curl (you can also use wget):
218
- # ROLE=$(curl -H Metadata-Flavor:Google http://metadata/computeMetadata/v1/
219
- # instance/attributes/dataproc-role)
218
+ # ROLE=$(curl -H Metadata-Flavor:Google
219
+ # http://metadata/computeMetadata/v1/instance/attributes/dataproc-role)
220
220
  # if [[ "$`ROLE`" == 'Master' ]]; then
221
221
  # ... master specific actions ...
222
222
  # else
@@ -707,8 +707,8 @@ module Google
707
707
  # Cannot be specified with network_uri.A full URL, partial URI, or short name
708
708
  # are valid. Examples:
709
709
  # https://www.googleapis.com/compute/v1/projects/[project_id]/regions/us-east1/
710
- # sub0
711
- # projects/[project_id]/regions/us-east1/sub0
710
+ # subnetworks/sub0
711
+ # projects/[project_id]/regions/us-east1/subnetworks/sub0
712
712
  # sub0
713
713
  # Corresponds to the JSON property `subnetworkUri`
714
714
  # @return [String]
@@ -2003,7 +2003,7 @@ module Google
2003
2003
  # Optional. The version of software inside the cluster. It must be one of the
2004
2004
  # supported Cloud Dataproc Versions, such as "1.2" (including a subminor version,
2005
2005
  # such as "1.2.29"), or the "preview" version. If unspecified, it defaults to
2006
- # the latest version.
2006
+ # the latest Debian version.
2007
2007
  # Corresponds to the JSON property `imageVersion`
2008
2008
  # @return [String]
2009
2009
  attr_accessor :image_version
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://cloud.google.com/dataproc/
26
26
  module DataprocV1beta2
27
27
  VERSION = 'V1beta2'
28
- REVISION = '20190313'
28
+ REVISION = '20190417'
29
29
 
30
30
  # View and manage your data across Google Cloud Platform services
31
31
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
@@ -926,8 +926,8 @@ module Google
926
926
  # Cannot be specified with network_uri.A full URL, partial URI, or short name
927
927
  # are valid. Examples:
928
928
  # https://www.googleapis.com/compute/v1/projects/[project_id]/regions/us-east1/
929
- # sub0
930
- # projects/[project_id]/regions/us-east1/sub0
929
+ # subnetworks/sub0
930
+ # projects/[project_id]/regions/us-east1/subnetworks/sub0
931
931
  # sub0
932
932
  # Corresponds to the JSON property `subnetworkUri`
933
933
  # @return [String]
@@ -1138,7 +1138,20 @@ module Google
1138
1138
  # @return [Fixnum]
1139
1139
  attr_accessor :min_instances
1140
1140
 
1141
- #
1141
+ # Optional. Weight for the instance group, which is used to determine the
1142
+ # fraction of total workers in the cluster from this instance group. For example,
1143
+ # if primary workers have weight 2, and secondary workers have weight 1, the
1144
+ # cluster will have approximately 2 primary workers for each secondary worker.
1145
+ # The cluster may not reach the specified balance if constrained by min/max
1146
+ # bounds or other autoscaling settings. For example, if max_instances for
1147
+ # secondary workers is 0, then only primary workers will be added. The cluster
1148
+ # can also be out of balance when created.If weight is not set on any instance
1149
+ # group, the cluster will default to equal weight for all groups: the cluster
1150
+ # will attempt to maintain an equal number of workers in each group within the
1151
+ # configured size bounds for each group. If weight is set for one group only,
1152
+ # the cluster will default to zero weight on the unset group. For example if
1153
+ # weight is set only on primary workers, the cluster will use primary workers
1154
+ # only and no secondary workers.
1142
1155
  # Corresponds to the JSON property `weight`
1143
1156
  # @return [Fixnum]
1144
1157
  attr_accessor :weight
@@ -1568,9 +1581,9 @@ module Google
1568
1581
  # @return [String]
1569
1582
  attr_accessor :cross_realm_trust_realm
1570
1583
 
1571
- # Optional. The GCS uri of a KMS encrypted file containing the shared password
1572
- # between the on-cluster Kerberos realm and the remote trusted realm, in a cross
1573
- # realm trust relationship.
1584
+ # Optional. The Cloud Storage URI of a KMS encrypted file containing the shared
1585
+ # password between the on-cluster Kerberos realm and the remote trusted realm,
1586
+ # in a cross realm trust relationship.
1574
1587
  # Corresponds to the JSON property `crossRealmTrustSharedPasswordUri`
1575
1588
  # @return [String]
1576
1589
  attr_accessor :cross_realm_trust_shared_password_uri
@@ -1581,28 +1594,28 @@ module Google
1581
1594
  attr_accessor :enable_kerberos
1582
1595
  alias_method :enable_kerberos?, :enable_kerberos
1583
1596
 
1584
- # Optional. The GCS uri of a KMS encrypted file containing the master key of the
1585
- # KDC database.
1597
+ # Optional. The Cloud Storage URI of a KMS encrypted file containing the master
1598
+ # key of the KDC database.
1586
1599
  # Corresponds to the JSON property `kdcDbKeyUri`
1587
1600
  # @return [String]
1588
1601
  attr_accessor :kdc_db_key_uri
1589
1602
 
1590
- # Optional. The GCS uri of a KMS encrypted file containing the password to the
1591
- # user provided key. For the self-signed certificate, this password is generated
1592
- # by Dataproc.
1603
+ # Optional. The Cloud Storage URI of a KMS encrypted file containing the
1604
+ # password to the user provided key. For the self-signed certificate, this
1605
+ # password is generated by Dataproc.
1593
1606
  # Corresponds to the JSON property `keyPasswordUri`
1594
1607
  # @return [String]
1595
1608
  attr_accessor :key_password_uri
1596
1609
 
1597
- # Optional. The GCS uri of a KMS encrypted file containing the password to the
1598
- # user provided keystore. For the self-signed certificate, this password is
1599
- # generated by Dataproc.
1610
+ # Optional. The Cloud Storage URI of a KMS encrypted file containing the
1611
+ # password to the user provided keystore. For the self-signed certificate, this
1612
+ # password is generated by Dataproc.
1600
1613
  # Corresponds to the JSON property `keystorePasswordUri`
1601
1614
  # @return [String]
1602
1615
  attr_accessor :keystore_password_uri
1603
1616
 
1604
- # Optional. The GCS uri of the keystore file used for SSL encryption. If not
1605
- # provided, Dataproc will provide a self-signed certificate.
1617
+ # Optional. The Cloud Storage URI of the keystore file used for SSL encryption.
1618
+ # If not provided, Dataproc will provide a self-signed certificate.
1606
1619
  # Corresponds to the JSON property `keystoreUri`
1607
1620
  # @return [String]
1608
1621
  attr_accessor :keystore_uri
@@ -1612,8 +1625,8 @@ module Google
1612
1625
  # @return [String]
1613
1626
  attr_accessor :kms_key_uri
1614
1627
 
1615
- # Required. The GCS uri of a KMS encrypted file containing the root principal
1616
- # password.
1628
+ # Required. The Cloud Storage URI of a KMS encrypted file containing the root
1629
+ # principal password.
1617
1630
  # Corresponds to the JSON property `rootPrincipalPasswordUri`
1618
1631
  # @return [String]
1619
1632
  attr_accessor :root_principal_password_uri
@@ -1624,15 +1637,15 @@ module Google
1624
1637
  # @return [Fixnum]
1625
1638
  attr_accessor :tgt_lifetime_hours
1626
1639
 
1627
- # Optional. The GCS uri of a KMS encrypted file containing the password to the
1628
- # user provided truststore. For the self-signed certificate, this password is
1629
- # generated by Dataproc.
1640
+ # Optional. The Cloud Storage URI of a KMS encrypted file containing the
1641
+ # password to the user provided truststore. For the self-signed certificate,
1642
+ # this password is generated by Dataproc.
1630
1643
  # Corresponds to the JSON property `truststorePasswordUri`
1631
1644
  # @return [String]
1632
1645
  attr_accessor :truststore_password_uri
1633
1646
 
1634
- # Optional. The GCS uri of the truststore file used for SSL encryption. If not
1635
- # provided, Dataproc will provide a self-signed certificate.
1647
+ # Optional. The Cloud Storage URI of the truststore file used for SSL encryption.
1648
+ # If not provided, Dataproc will provide a self-signed certificate.
1636
1649
  # Corresponds to the JSON property `truststoreUri`
1637
1650
  # @return [String]
1638
1651
  attr_accessor :truststore_uri
@@ -2581,7 +2594,7 @@ module Google
2581
2594
  # Optional. The version of software inside the cluster. It must be one of the
2582
2595
  # supported Cloud Dataproc Versions, such as "1.2" (including a subminor version,
2583
2596
  # such as "1.2.29"), or the "preview" version. If unspecified, it defaults to
2584
- # the latest version.
2597
+ # the latest Debian version.
2585
2598
  # Corresponds to the JSON property `imageVersion`
2586
2599
  # @return [String]
2587
2600
  attr_accessor :image_version
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://cloud.google.com/datastore/
27
27
  module DatastoreV1
28
28
  VERSION = 'V1'
29
- REVISION = '20181207'
29
+ REVISION = '20190324'
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'
@@ -1148,14 +1148,14 @@ module Google
1148
1148
  attr_accessor :done
1149
1149
  alias_method :done?, :done
1150
1150
 
1151
- # The `Status` type defines a logical error model that is suitable for different
1152
- # programming environments, including REST APIs and RPC APIs. It is used by
1153
- # [gRPC](https://github.com/grpc). The error model is designed to be:
1151
+ # The `Status` type defines a logical error model that is suitable for
1152
+ # different programming environments, including REST APIs and RPC APIs. It is
1153
+ # used by [gRPC](https://github.com/grpc). The error model is designed to be:
1154
1154
  # - Simple to use and understand for most users
1155
1155
  # - Flexible enough to meet unexpected needs
1156
1156
  # # Overview
1157
- # The `Status` message contains three pieces of data: error code, error message,
1158
- # and error details. The error code should be an enum value of
1157
+ # The `Status` message contains three pieces of data: error code, error
1158
+ # message, and error details. The error code should be an enum value of
1159
1159
  # google.rpc.Code, but it may accept additional error codes if needed. The
1160
1160
  # error message should be a developer-facing English message that helps
1161
1161
  # developers *understand* and *resolve* the error. If a localized user-facing
@@ -1232,7 +1232,8 @@ module Google
1232
1232
  end
1233
1233
  end
1234
1234
 
1235
- # A [GQL query](https://cloud.google.com/datastore/docs/apis/gql/gql_reference).
1235
+ # A [GQL
1236
+ # query](https://cloud.google.com/datastore/docs/apis/gql/gql_reference).
1236
1237
  class GqlQuery
1237
1238
  include Google::Apis::Core::Hashable
1238
1239
 
@@ -1760,8 +1761,9 @@ module Google
1760
1761
 
1761
1762
  # An ending point for the query results. Query cursors are
1762
1763
  # returned in query result batches and
1763
- # [can only be used to limit the same query](https://cloud.google.com/datastore/
1764
- # docs/concepts/queries#cursors_limits_and_offsets).
1764
+ # [can only be used to limit the same
1765
+ # query](https://cloud.google.com/datastore/docs/concepts/queries#
1766
+ # cursors_limits_and_offsets).
1765
1767
  # Corresponds to the JSON property `endCursor`
1766
1768
  # NOTE: Values are automatically base64 encoded/decoded in the client library.
1767
1769
  # @return [String]
@@ -1804,8 +1806,9 @@ module Google
1804
1806
 
1805
1807
  # A starting point for the query results. Query cursors are
1806
1808
  # returned in query result batches and
1807
- # [can only be used to continue the same query](https://cloud.google.com/
1808
- # datastore/docs/concepts/queries#cursors_limits_and_offsets).
1809
+ # [can only be used to continue the same
1810
+ # query](https://cloud.google.com/datastore/docs/concepts/queries#
1811
+ # cursors_limits_and_offsets).
1809
1812
  # Corresponds to the JSON property `startCursor`
1810
1813
  # NOTE: Values are automatically base64 encoded/decoded in the client library.
1811
1814
  # @return [String]
@@ -2034,7 +2037,8 @@ module Google
2034
2037
  class RunQueryRequest
2035
2038
  include Google::Apis::Core::Hashable
2036
2039
 
2037
- # A [GQL query](https://cloud.google.com/datastore/docs/apis/gql/gql_reference).
2040
+ # A [GQL
2041
+ # query](https://cloud.google.com/datastore/docs/apis/gql/gql_reference).
2038
2042
  # Corresponds to the JSON property `gqlQuery`
2039
2043
  # @return [Google::Apis::DatastoreV1::GqlQuery]
2040
2044
  attr_accessor :gql_query
@@ -2107,14 +2111,14 @@ module Google
2107
2111
  end
2108
2112
  end
2109
2113
 
2110
- # The `Status` type defines a logical error model that is suitable for different
2111
- # programming environments, including REST APIs and RPC APIs. It is used by
2112
- # [gRPC](https://github.com/grpc). The error model is designed to be:
2114
+ # The `Status` type defines a logical error model that is suitable for
2115
+ # different programming environments, including REST APIs and RPC APIs. It is
2116
+ # used by [gRPC](https://github.com/grpc). The error model is designed to be:
2113
2117
  # - Simple to use and understand for most users
2114
2118
  # - Flexible enough to meet unexpected needs
2115
2119
  # # Overview
2116
- # The `Status` message contains three pieces of data: error code, error message,
2117
- # and error details. The error code should be an enum value of
2120
+ # The `Status` message contains three pieces of data: error code, error
2121
+ # message, and error details. The error code should be an enum value of
2118
2122
  # google.rpc.Code, but it may accept additional error codes if needed. The
2119
2123
  # error message should be a developer-facing English message that helps
2120
2124
  # developers *understand* and *resolve* the error. If a localized user-facing
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://cloud.google.com/datastore/
27
27
  module DatastoreV1beta1
28
28
  VERSION = 'V1beta1'
29
- REVISION = '20180725'
29
+ REVISION = '20190324'
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'
@@ -694,14 +694,14 @@ module Google
694
694
  attr_accessor :done
695
695
  alias_method :done?, :done
696
696
 
697
- # The `Status` type defines a logical error model that is suitable for different
698
- # programming environments, including REST APIs and RPC APIs. It is used by
699
- # [gRPC](https://github.com/grpc). The error model is designed to be:
697
+ # The `Status` type defines a logical error model that is suitable for
698
+ # different programming environments, including REST APIs and RPC APIs. It is
699
+ # used by [gRPC](https://github.com/grpc). The error model is designed to be:
700
700
  # - Simple to use and understand for most users
701
701
  # - Flexible enough to meet unexpected needs
702
702
  # # Overview
703
- # The `Status` message contains three pieces of data: error code, error message,
704
- # and error details. The error code should be an enum value of
703
+ # The `Status` message contains three pieces of data: error code, error
704
+ # message, and error details. The error code should be an enum value of
705
705
  # google.rpc.Code, but it may accept additional error codes if needed. The
706
706
  # error message should be a developer-facing English message that helps
707
707
  # developers *understand* and *resolve* the error. If a localized user-facing
@@ -778,14 +778,14 @@ module Google
778
778
  end
779
779
  end
780
780
 
781
- # The `Status` type defines a logical error model that is suitable for different
782
- # programming environments, including REST APIs and RPC APIs. It is used by
783
- # [gRPC](https://github.com/grpc). The error model is designed to be:
781
+ # The `Status` type defines a logical error model that is suitable for
782
+ # different programming environments, including REST APIs and RPC APIs. It is
783
+ # used by [gRPC](https://github.com/grpc). The error model is designed to be:
784
784
  # - Simple to use and understand for most users
785
785
  # - Flexible enough to meet unexpected needs
786
786
  # # Overview
787
- # The `Status` message contains three pieces of data: error code, error message,
788
- # and error details. The error code should be an enum value of
787
+ # The `Status` message contains three pieces of data: error code, error
788
+ # message, and error details. The error code should be an enum value of
789
789
  # google.rpc.Code, but it may accept additional error codes if needed. The
790
790
  # error message should be a developer-facing English message that helps
791
791
  # developers *understand* and *resolve* the error. If a localized user-facing
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://cloud.google.com/datastore/
27
27
  module DatastoreV1beta3
28
28
  VERSION = 'V1beta3'
29
- REVISION = '20180919'
29
+ REVISION = '20190324'
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'
@@ -866,7 +866,8 @@ module Google
866
866
  end
867
867
  end
868
868
 
869
- # A [GQL query](https://cloud.google.com/datastore/docs/apis/gql/gql_reference).
869
+ # A [GQL
870
+ # query](https://cloud.google.com/datastore/docs/apis/gql/gql_reference).
870
871
  class GqlQuery
871
872
  include Google::Apis::Core::Hashable
872
873
 
@@ -1394,8 +1395,9 @@ module Google
1394
1395
 
1395
1396
  # An ending point for the query results. Query cursors are
1396
1397
  # returned in query result batches and
1397
- # [can only be used to limit the same query](https://cloud.google.com/datastore/
1398
- # docs/concepts/queries#cursors_limits_and_offsets).
1398
+ # [can only be used to limit the same
1399
+ # query](https://cloud.google.com/datastore/docs/concepts/queries#
1400
+ # cursors_limits_and_offsets).
1399
1401
  # Corresponds to the JSON property `endCursor`
1400
1402
  # NOTE: Values are automatically base64 encoded/decoded in the client library.
1401
1403
  # @return [String]
@@ -1438,8 +1440,9 @@ module Google
1438
1440
 
1439
1441
  # A starting point for the query results. Query cursors are
1440
1442
  # returned in query result batches and
1441
- # [can only be used to continue the same query](https://cloud.google.com/
1442
- # datastore/docs/concepts/queries#cursors_limits_and_offsets).
1443
+ # [can only be used to continue the same
1444
+ # query](https://cloud.google.com/datastore/docs/concepts/queries#
1445
+ # cursors_limits_and_offsets).
1443
1446
  # Corresponds to the JSON property `startCursor`
1444
1447
  # NOTE: Values are automatically base64 encoded/decoded in the client library.
1445
1448
  # @return [String]
@@ -1668,7 +1671,8 @@ module Google
1668
1671
  class RunQueryRequest
1669
1672
  include Google::Apis::Core::Hashable
1670
1673
 
1671
- # A [GQL query](https://cloud.google.com/datastore/docs/apis/gql/gql_reference).
1674
+ # A [GQL
1675
+ # query](https://cloud.google.com/datastore/docs/apis/gql/gql_reference).
1672
1676
  # Corresponds to the JSON property `gqlQuery`
1673
1677
  # @return [Google::Apis::DatastoreV1beta3::GqlQuery]
1674
1678
  attr_accessor :gql_query
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://cloud.google.com/dialogflow-enterprise/
27
27
  module DialogflowV2
28
28
  VERSION = 'V2'
29
- REVISION = '20190326'
29
+ REVISION = '20190420'
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'
@@ -446,6 +446,11 @@ module Google
446
446
  # @return [String]
447
447
  attr_accessor :input_audio
448
448
 
449
+ # Instructs the speech synthesizer how to generate the output audio content.
450
+ # Corresponds to the JSON property `outputAudioConfig`
451
+ # @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2OutputAudioConfig]
452
+ attr_accessor :output_audio_config
453
+
449
454
  # Represents the query input. It can contain either:
450
455
  # 1. An audio config which
451
456
  # instructs the speech recognizer how to process the speech audio.
@@ -467,6 +472,7 @@ module Google
467
472
  # Update properties of this object
468
473
  def update!(**args)
469
474
  @input_audio = args[:input_audio] if args.key?(:input_audio)
475
+ @output_audio_config = args[:output_audio_config] if args.key?(:output_audio_config)
470
476
  @query_input = args[:query_input] if args.key?(:query_input)
471
477
  @query_params = args[:query_params] if args.key?(:query_params)
472
478
  end
@@ -476,6 +482,22 @@ module Google
476
482
  class GoogleCloudDialogflowV2DetectIntentResponse
477
483
  include Google::Apis::Core::Hashable
478
484
 
485
+ # The audio data bytes encoded as specified in the request.
486
+ # Note: The output audio is generated based on the values of default platform
487
+ # text responses found in the `query_result.fulfillment_messages` field. If
488
+ # multiple default text responses exist, they will be concatenated when
489
+ # generating audio. If no default platform text responses exist, the
490
+ # generated audio content will be empty.
491
+ # Corresponds to the JSON property `outputAudio`
492
+ # NOTE: Values are automatically base64 encoded/decoded in the client library.
493
+ # @return [String]
494
+ attr_accessor :output_audio
495
+
496
+ # Instructs the speech synthesizer how to generate the output audio content.
497
+ # Corresponds to the JSON property `outputAudioConfig`
498
+ # @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2OutputAudioConfig]
499
+ attr_accessor :output_audio_config
500
+
479
501
  # Represents the result of conversational query or event processing.
480
502
  # Corresponds to the JSON property `queryResult`
481
503
  # @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2QueryResult]
@@ -536,6 +558,8 @@ module Google
536
558
 
537
559
  # Update properties of this object
538
560
  def update!(**args)
561
+ @output_audio = args[:output_audio] if args.key?(:output_audio)
562
+ @output_audio_config = args[:output_audio_config] if args.key?(:output_audio_config)
539
563
  @query_result = args[:query_result] if args.key?(:query_result)
540
564
  @response_id = args[:response_id] if args.key?(:response_id)
541
565
  @webhook_status = args[:webhook_status] if args.key?(:webhook_status)
@@ -807,6 +831,11 @@ module Google
807
831
  # @return [String]
808
832
  attr_accessor :language_code
809
833
 
834
+ # Optional. Which variant of the Speech model to use.
835
+ # Corresponds to the JSON property `modelVariant`
836
+ # @return [String]
837
+ attr_accessor :model_variant
838
+
810
839
  # Optional. The collection of phrase hints which are used to boost accuracy
811
840
  # of speech recognition.
812
841
  # Refer to
@@ -835,6 +864,7 @@ module Google
835
864
  def update!(**args)
836
865
  @audio_encoding = args[:audio_encoding] if args.key?(:audio_encoding)
837
866
  @language_code = args[:language_code] if args.key?(:language_code)
867
+ @model_variant = args[:model_variant] if args.key?(:model_variant)
838
868
  @phrase_hints = args[:phrase_hints] if args.key?(:phrase_hints)
839
869
  @sample_rate_hertz = args[:sample_rate_hertz] if args.key?(:sample_rate_hertz)
840
870
  end
@@ -1949,6 +1979,41 @@ module Google
1949
1979
  end
1950
1980
  end
1951
1981
 
1982
+ # Instructs the speech synthesizer how to generate the output audio content.
1983
+ class GoogleCloudDialogflowV2OutputAudioConfig
1984
+ include Google::Apis::Core::Hashable
1985
+
1986
+ # Required. Audio encoding of the synthesized audio content.
1987
+ # Corresponds to the JSON property `audioEncoding`
1988
+ # @return [String]
1989
+ attr_accessor :audio_encoding
1990
+
1991
+ # Optional. The synthesis sample rate (in hertz) for this audio. If not
1992
+ # provided, then the synthesizer will use the default sample rate based on
1993
+ # the audio encoding. If this is different from the voice's natural sample
1994
+ # rate, then the synthesizer will honor this request by converting to the
1995
+ # desired sample rate (which might result in worse audio quality).
1996
+ # Corresponds to the JSON property `sampleRateHertz`
1997
+ # @return [Fixnum]
1998
+ attr_accessor :sample_rate_hertz
1999
+
2000
+ # Configuration of how speech should be synthesized.
2001
+ # Corresponds to the JSON property `synthesizeSpeechConfig`
2002
+ # @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SynthesizeSpeechConfig]
2003
+ attr_accessor :synthesize_speech_config
2004
+
2005
+ def initialize(**args)
2006
+ update!(**args)
2007
+ end
2008
+
2009
+ # Update properties of this object
2010
+ def update!(**args)
2011
+ @audio_encoding = args[:audio_encoding] if args.key?(:audio_encoding)
2012
+ @sample_rate_hertz = args[:sample_rate_hertz] if args.key?(:sample_rate_hertz)
2013
+ @synthesize_speech_config = args[:synthesize_speech_config] if args.key?(:synthesize_speech_config)
2014
+ end
2015
+ end
2016
+
1952
2017
  # Represents the query input. It can contain either:
1953
2018
  # 1. An audio config which
1954
2019
  # instructs the speech recognizer how to process the speech audio.
@@ -2020,6 +2085,11 @@ module Google
2020
2085
  attr_accessor :reset_contexts
2021
2086
  alias_method :reset_contexts?, :reset_contexts
2022
2087
 
2088
+ # Configures the types of sentiment analysis to perform.
2089
+ # Corresponds to the JSON property `sentimentAnalysisRequestConfig`
2090
+ # @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SentimentAnalysisRequestConfig]
2091
+ attr_accessor :sentiment_analysis_request_config
2092
+
2023
2093
  # Optional. Additional session entity types to replace or extend developer
2024
2094
  # entity types with. The entity synonyms apply to all languages and persist
2025
2095
  # for the session of this query.
@@ -2045,6 +2115,7 @@ module Google
2045
2115
  @geo_location = args[:geo_location] if args.key?(:geo_location)
2046
2116
  @payload = args[:payload] if args.key?(:payload)
2047
2117
  @reset_contexts = args[:reset_contexts] if args.key?(:reset_contexts)
2118
+ @sentiment_analysis_request_config = args[:sentiment_analysis_request_config] if args.key?(:sentiment_analysis_request_config)
2048
2119
  @session_entity_types = args[:session_entity_types] if args.key?(:session_entity_types)
2049
2120
  @time_zone = args[:time_zone] if args.key?(:time_zone)
2050
2121
  end
@@ -2135,6 +2206,12 @@ module Google
2135
2206
  # @return [String]
2136
2207
  attr_accessor :query_text
2137
2208
 
2209
+ # The result of sentiment analysis as configured by
2210
+ # `sentiment_analysis_request_config`.
2211
+ # Corresponds to the JSON property `sentimentAnalysisResult`
2212
+ # @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SentimentAnalysisResult]
2213
+ attr_accessor :sentiment_analysis_result
2214
+
2138
2215
  # The Speech recognition confidence between 0.0 and 1.0. A higher number
2139
2216
  # indicates an estimated greater likelihood that the recognized words are
2140
2217
  # correct. The default of 0.0 is a sentinel value indicating that confidence
@@ -2176,6 +2253,7 @@ module Google
2176
2253
  @output_contexts = args[:output_contexts] if args.key?(:output_contexts)
2177
2254
  @parameters = args[:parameters] if args.key?(:parameters)
2178
2255
  @query_text = args[:query_text] if args.key?(:query_text)
2256
+ @sentiment_analysis_result = args[:sentiment_analysis_result] if args.key?(:sentiment_analysis_result)
2179
2257
  @speech_recognition_confidence = args[:speech_recognition_confidence] if args.key?(:speech_recognition_confidence)
2180
2258
  @webhook_payload = args[:webhook_payload] if args.key?(:webhook_payload)
2181
2259
  @webhook_source = args[:webhook_source] if args.key?(:webhook_source)
@@ -2249,6 +2327,77 @@ module Google
2249
2327
  end
2250
2328
  end
2251
2329
 
2330
+ # The sentiment, such as positive/negative feeling or association, for a unit
2331
+ # of analysis, such as the query text.
2332
+ class GoogleCloudDialogflowV2Sentiment
2333
+ include Google::Apis::Core::Hashable
2334
+
2335
+ # A non-negative number in the [0, +inf) range, which represents the absolute
2336
+ # magnitude of sentiment, regardless of score (positive or negative).
2337
+ # Corresponds to the JSON property `magnitude`
2338
+ # @return [Float]
2339
+ attr_accessor :magnitude
2340
+
2341
+ # Sentiment score between -1.0 (negative sentiment) and 1.0 (positive
2342
+ # sentiment).
2343
+ # Corresponds to the JSON property `score`
2344
+ # @return [Float]
2345
+ attr_accessor :score
2346
+
2347
+ def initialize(**args)
2348
+ update!(**args)
2349
+ end
2350
+
2351
+ # Update properties of this object
2352
+ def update!(**args)
2353
+ @magnitude = args[:magnitude] if args.key?(:magnitude)
2354
+ @score = args[:score] if args.key?(:score)
2355
+ end
2356
+ end
2357
+
2358
+ # Configures the types of sentiment analysis to perform.
2359
+ class GoogleCloudDialogflowV2SentimentAnalysisRequestConfig
2360
+ include Google::Apis::Core::Hashable
2361
+
2362
+ # Optional. Instructs the service to perform sentiment analysis on
2363
+ # `query_text`. If not provided, sentiment analysis is not performed on
2364
+ # `query_text`.
2365
+ # Corresponds to the JSON property `analyzeQueryTextSentiment`
2366
+ # @return [Boolean]
2367
+ attr_accessor :analyze_query_text_sentiment
2368
+ alias_method :analyze_query_text_sentiment?, :analyze_query_text_sentiment
2369
+
2370
+ def initialize(**args)
2371
+ update!(**args)
2372
+ end
2373
+
2374
+ # Update properties of this object
2375
+ def update!(**args)
2376
+ @analyze_query_text_sentiment = args[:analyze_query_text_sentiment] if args.key?(:analyze_query_text_sentiment)
2377
+ end
2378
+ end
2379
+
2380
+ # The result of sentiment analysis as configured by
2381
+ # `sentiment_analysis_request_config`.
2382
+ class GoogleCloudDialogflowV2SentimentAnalysisResult
2383
+ include Google::Apis::Core::Hashable
2384
+
2385
+ # The sentiment, such as positive/negative feeling or association, for a unit
2386
+ # of analysis, such as the query text.
2387
+ # Corresponds to the JSON property `queryTextSentiment`
2388
+ # @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2Sentiment]
2389
+ attr_accessor :query_text_sentiment
2390
+
2391
+ def initialize(**args)
2392
+ update!(**args)
2393
+ end
2394
+
2395
+ # Update properties of this object
2396
+ def update!(**args)
2397
+ @query_text_sentiment = args[:query_text_sentiment] if args.key?(:query_text_sentiment)
2398
+ end
2399
+ end
2400
+
2252
2401
  # Represents a session entity type.
2253
2402
  # Extends or replaces a developer entity type at the user session level (we
2254
2403
  # refer to the entity types defined at the agent level as "developer entity
@@ -2290,6 +2439,63 @@ module Google
2290
2439
  end
2291
2440
  end
2292
2441
 
2442
+ # Configuration of how speech should be synthesized.
2443
+ class GoogleCloudDialogflowV2SynthesizeSpeechConfig
2444
+ include Google::Apis::Core::Hashable
2445
+
2446
+ # Optional. An identifier which selects 'audio effects' profiles that are
2447
+ # applied on (post synthesized) text to speech. Effects are applied on top of
2448
+ # each other in the order they are given.
2449
+ # Corresponds to the JSON property `effectsProfileId`
2450
+ # @return [Array<String>]
2451
+ attr_accessor :effects_profile_id
2452
+
2453
+ # Optional. Speaking pitch, in the range [-20.0, 20.0]. 20 means increase 20
2454
+ # semitones from the original pitch. -20 means decrease 20 semitones from the
2455
+ # original pitch.
2456
+ # Corresponds to the JSON property `pitch`
2457
+ # @return [Float]
2458
+ attr_accessor :pitch
2459
+
2460
+ # Optional. Speaking rate/speed, in the range [0.25, 4.0]. 1.0 is the normal
2461
+ # native speed supported by the specific voice. 2.0 is twice as fast, and
2462
+ # 0.5 is half as fast. If unset(0.0), defaults to the native 1.0 speed. Any
2463
+ # other values < 0.25 or > 4.0 will return an error.
2464
+ # Corresponds to the JSON property `speakingRate`
2465
+ # @return [Float]
2466
+ attr_accessor :speaking_rate
2467
+
2468
+ # Description of which voice to use for speech synthesis.
2469
+ # Corresponds to the JSON property `voice`
2470
+ # @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2VoiceSelectionParams]
2471
+ attr_accessor :voice
2472
+
2473
+ # Optional. Volume gain (in dB) of the normal native volume supported by the
2474
+ # specific voice, in the range [-96.0, 16.0]. If unset, or set to a value of
2475
+ # 0.0 (dB), will play at normal native signal amplitude. A value of -6.0 (dB)
2476
+ # will play at approximately half the amplitude of the normal native signal
2477
+ # amplitude. A value of +6.0 (dB) will play at approximately twice the
2478
+ # amplitude of the normal native signal amplitude. We strongly recommend not
2479
+ # to exceed +10 (dB) as there's usually no effective increase in loudness for
2480
+ # any value greater than that.
2481
+ # Corresponds to the JSON property `volumeGainDb`
2482
+ # @return [Float]
2483
+ attr_accessor :volume_gain_db
2484
+
2485
+ def initialize(**args)
2486
+ update!(**args)
2487
+ end
2488
+
2489
+ # Update properties of this object
2490
+ def update!(**args)
2491
+ @effects_profile_id = args[:effects_profile_id] if args.key?(:effects_profile_id)
2492
+ @pitch = args[:pitch] if args.key?(:pitch)
2493
+ @speaking_rate = args[:speaking_rate] if args.key?(:speaking_rate)
2494
+ @voice = args[:voice] if args.key?(:voice)
2495
+ @volume_gain_db = args[:volume_gain_db] if args.key?(:volume_gain_db)
2496
+ end
2497
+ end
2498
+
2293
2499
  # Represents the natural language text to be processed.
2294
2500
  class GoogleCloudDialogflowV2TextInput
2295
2501
  include Google::Apis::Core::Hashable
@@ -2333,6 +2539,36 @@ module Google
2333
2539
  end
2334
2540
  end
2335
2541
 
2542
+ # Description of which voice to use for speech synthesis.
2543
+ class GoogleCloudDialogflowV2VoiceSelectionParams
2544
+ include Google::Apis::Core::Hashable
2545
+
2546
+ # Optional. The name of the voice. If not set, the service will choose a
2547
+ # voice based on the other parameters such as language_code and gender.
2548
+ # Corresponds to the JSON property `name`
2549
+ # @return [String]
2550
+ attr_accessor :name
2551
+
2552
+ # Optional. The preferred gender of the voice. If not set, the service will
2553
+ # choose a voice based on the other parameters such as language_code and
2554
+ # name. Note that this is only a preference, not requirement. If a
2555
+ # voice of the appropriate gender is not available, the synthesizer should
2556
+ # substitute a voice with a different gender rather than failing the request.
2557
+ # Corresponds to the JSON property `ssmlGender`
2558
+ # @return [String]
2559
+ attr_accessor :ssml_gender
2560
+
2561
+ def initialize(**args)
2562
+ update!(**args)
2563
+ end
2564
+
2565
+ # Update properties of this object
2566
+ def update!(**args)
2567
+ @name = args[:name] if args.key?(:name)
2568
+ @ssml_gender = args[:ssml_gender] if args.key?(:ssml_gender)
2569
+ end
2570
+ end
2571
+
2336
2572
  # The request message for a webhook call.
2337
2573
  class GoogleCloudDialogflowV2WebhookRequest
2338
2574
  include Google::Apis::Core::Hashable