google-api-client 0.43.0 → 0.44.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (696) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +218 -0
  3. data/docs/oauth-server.md +4 -6
  4. data/generated/google/apis/accessapproval_v1.rb +1 -1
  5. data/generated/google/apis/accessapproval_v1/classes.rb +51 -86
  6. data/generated/google/apis/accessapproval_v1/service.rb +93 -132
  7. data/generated/google/apis/accesscontextmanager_v1.rb +1 -1
  8. data/generated/google/apis/accesscontextmanager_v1/classes.rb +198 -236
  9. data/generated/google/apis/accesscontextmanager_v1/service.rb +128 -171
  10. data/generated/google/apis/accesscontextmanager_v1beta.rb +1 -1
  11. data/generated/google/apis/accesscontextmanager_v1beta/classes.rb +153 -184
  12. data/generated/google/apis/accesscontextmanager_v1beta/service.rb +82 -111
  13. data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
  14. data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +17 -6
  15. data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +1 -0
  16. data/generated/google/apis/adexchangebuyer_v1_4.rb +1 -1
  17. data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +47 -2
  18. data/generated/google/apis/adexchangebuyer_v1_4/representations.rb +18 -0
  19. data/generated/google/apis/adexperiencereport_v1.rb +1 -1
  20. data/generated/google/apis/admin_datatransfer_v1.rb +6 -4
  21. data/generated/google/apis/admin_datatransfer_v1/classes.rb +16 -4
  22. data/generated/google/apis/admin_datatransfer_v1/service.rb +30 -48
  23. data/generated/google/apis/admin_directory_v1.rb +6 -8
  24. data/generated/google/apis/admin_directory_v1/classes.rb +224 -243
  25. data/generated/google/apis/admin_directory_v1/representations.rb +14 -40
  26. data/generated/google/apis/admin_directory_v1/service.rb +475 -1026
  27. data/generated/google/apis/admin_reports_v1.rb +6 -5
  28. data/generated/google/apis/admin_reports_v1/classes.rb +31 -33
  29. data/generated/google/apis/admin_reports_v1/service.rb +131 -187
  30. data/generated/google/apis/admob_v1.rb +1 -1
  31. data/generated/google/apis/alertcenter_v1beta1.rb +1 -1
  32. data/generated/google/apis/androidenterprise_v1.rb +1 -1
  33. data/generated/google/apis/androidmanagement_v1.rb +1 -1
  34. data/generated/google/apis/androidmanagement_v1/classes.rb +95 -59
  35. data/generated/google/apis/androidmanagement_v1/representations.rb +17 -0
  36. data/generated/google/apis/androidpublisher_v3.rb +1 -1
  37. data/generated/google/apis/androidpublisher_v3/service.rb +2 -2
  38. data/generated/google/apis/apigee_v1.rb +6 -7
  39. data/generated/google/apis/apigee_v1/classes.rb +205 -75
  40. data/generated/google/apis/apigee_v1/representations.rb +51 -0
  41. data/generated/google/apis/apigee_v1/service.rb +133 -34
  42. data/generated/google/apis/appengine_v1.rb +1 -1
  43. data/generated/google/apis/appengine_v1/classes.rb +45 -35
  44. data/generated/google/apis/appengine_v1/representations.rb +2 -0
  45. data/generated/google/apis/appengine_v1/service.rb +38 -47
  46. data/generated/google/apis/appengine_v1alpha.rb +1 -1
  47. data/generated/google/apis/appengine_v1alpha/classes.rb +9 -11
  48. data/generated/google/apis/appengine_v1beta.rb +1 -1
  49. data/generated/google/apis/appengine_v1beta/classes.rb +45 -35
  50. data/generated/google/apis/appengine_v1beta/representations.rb +2 -0
  51. data/generated/google/apis/appengine_v1beta/service.rb +37 -47
  52. data/generated/google/apis/appsmarket_v2.rb +1 -1
  53. data/generated/google/apis/appsmarket_v2/classes.rb +14 -16
  54. data/generated/google/apis/artifactregistry_v1beta1.rb +1 -1
  55. data/generated/google/apis/artifactregistry_v1beta1/classes.rb +235 -337
  56. data/generated/google/apis/artifactregistry_v1beta1/service.rb +44 -57
  57. data/generated/google/apis/bigquery_v2.rb +1 -1
  58. data/generated/google/apis/bigquery_v2/classes.rb +355 -553
  59. data/generated/google/apis/bigquery_v2/representations.rb +1 -0
  60. data/generated/google/apis/bigquery_v2/service.rb +32 -40
  61. data/generated/google/apis/bigqueryconnection_v1beta1.rb +1 -1
  62. data/generated/google/apis/bigqueryconnection_v1beta1/classes.rb +192 -337
  63. data/generated/google/apis/bigqueryconnection_v1beta1/service.rb +29 -32
  64. data/generated/google/apis/bigquerydatatransfer_v1.rb +1 -1
  65. data/generated/google/apis/bigquerydatatransfer_v1/classes.rb +132 -158
  66. data/generated/google/apis/bigquerydatatransfer_v1/service.rb +232 -282
  67. data/generated/google/apis/bigqueryreservation_v1.rb +1 -1
  68. data/generated/google/apis/bigqueryreservation_v1/classes.rb +116 -123
  69. data/generated/google/apis/bigqueryreservation_v1/representations.rb +2 -0
  70. data/generated/google/apis/bigqueryreservation_v1/service.rb +137 -183
  71. data/generated/google/apis/bigqueryreservation_v1alpha2.rb +1 -1
  72. data/generated/google/apis/bigqueryreservation_v1alpha2/classes.rb +88 -100
  73. data/generated/google/apis/bigqueryreservation_v1alpha2/service.rb +77 -100
  74. data/generated/google/apis/bigqueryreservation_v1beta1.rb +1 -1
  75. data/generated/google/apis/bigqueryreservation_v1beta1/classes.rb +93 -98
  76. data/generated/google/apis/bigqueryreservation_v1beta1/representations.rb +2 -0
  77. data/generated/google/apis/bigqueryreservation_v1beta1/service.rb +114 -151
  78. data/generated/google/apis/bigtableadmin_v1.rb +1 -1
  79. data/generated/google/apis/bigtableadmin_v1/classes.rb +50 -0
  80. data/generated/google/apis/bigtableadmin_v1/representations.rb +29 -0
  81. data/generated/google/apis/bigtableadmin_v2.rb +1 -1
  82. data/generated/google/apis/bigtableadmin_v2/classes.rb +50 -0
  83. data/generated/google/apis/bigtableadmin_v2/representations.rb +29 -0
  84. data/generated/google/apis/billingbudgets_v1beta1.rb +4 -1
  85. data/generated/google/apis/binaryauthorization_v1.rb +1 -1
  86. data/generated/google/apis/binaryauthorization_v1/classes.rb +239 -354
  87. data/generated/google/apis/binaryauthorization_v1/service.rb +74 -89
  88. data/generated/google/apis/binaryauthorization_v1beta1.rb +1 -1
  89. data/generated/google/apis/binaryauthorization_v1beta1/classes.rb +239 -354
  90. data/generated/google/apis/binaryauthorization_v1beta1/service.rb +74 -89
  91. data/generated/google/apis/calendar_v3.rb +1 -1
  92. data/generated/google/apis/chat_v1.rb +1 -1
  93. data/generated/google/apis/chat_v1/classes.rb +90 -115
  94. data/generated/google/apis/chat_v1/service.rb +30 -42
  95. data/generated/google/apis/civicinfo_v2.rb +1 -1
  96. data/generated/google/apis/cloudasset_v1.rb +1 -1
  97. data/generated/google/apis/cloudasset_v1/classes.rb +712 -1039
  98. data/generated/google/apis/cloudasset_v1/service.rb +125 -167
  99. data/generated/google/apis/cloudasset_v1beta1.rb +1 -1
  100. data/generated/google/apis/cloudasset_v1beta1/classes.rb +531 -777
  101. data/generated/google/apis/cloudasset_v1beta1/service.rb +59 -75
  102. data/generated/google/apis/cloudasset_v1p1beta1.rb +1 -1
  103. data/generated/google/apis/cloudasset_v1p1beta1/classes.rb +204 -349
  104. data/generated/google/apis/cloudasset_v1p1beta1/service.rb +35 -47
  105. data/generated/google/apis/cloudasset_v1p4beta1.rb +1 -1
  106. data/generated/google/apis/cloudasset_v1p4beta1/classes.rb +220 -276
  107. data/generated/google/apis/cloudasset_v1p4beta1/service.rb +75 -93
  108. data/generated/google/apis/cloudasset_v1p5beta1.rb +1 -1
  109. data/generated/google/apis/cloudasset_v1p5beta1/classes.rb +481 -720
  110. data/generated/google/apis/cloudasset_v1p5beta1/service.rb +25 -28
  111. data/generated/google/apis/cloudbilling_v1.rb +7 -1
  112. data/generated/google/apis/cloudbilling_v1/classes.rb +284 -445
  113. data/generated/google/apis/cloudbilling_v1/service.rb +104 -124
  114. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  115. data/generated/google/apis/cloudbuild_v1/classes.rb +291 -343
  116. data/generated/google/apis/cloudbuild_v1/representations.rb +1 -0
  117. data/generated/google/apis/cloudbuild_v1/service.rb +48 -63
  118. data/generated/google/apis/cloudbuild_v1alpha1.rb +1 -1
  119. data/generated/google/apis/cloudbuild_v1alpha1/classes.rb +283 -329
  120. data/generated/google/apis/cloudbuild_v1alpha1/representations.rb +1 -0
  121. data/generated/google/apis/cloudbuild_v1alpha1/service.rb +15 -18
  122. data/generated/google/apis/cloudbuild_v1alpha2.rb +1 -1
  123. data/generated/google/apis/cloudbuild_v1alpha2/classes.rb +269 -313
  124. data/generated/google/apis/cloudbuild_v1alpha2/representations.rb +1 -0
  125. data/generated/google/apis/cloudbuild_v1alpha2/service.rb +22 -28
  126. data/generated/google/apis/clouddebugger_v2.rb +1 -1
  127. data/generated/google/apis/clouddebugger_v2/classes.rb +185 -252
  128. data/generated/google/apis/clouddebugger_v2/service.rb +53 -59
  129. data/generated/google/apis/clouderrorreporting_v1beta1.rb +1 -1
  130. data/generated/google/apis/clouderrorreporting_v1beta1/classes.rb +127 -156
  131. data/generated/google/apis/clouderrorreporting_v1beta1/service.rb +53 -69
  132. data/generated/google/apis/cloudfunctions_v1.rb +1 -1
  133. data/generated/google/apis/cloudfunctions_v1/classes.rb +323 -493
  134. data/generated/google/apis/cloudfunctions_v1/service.rb +79 -93
  135. data/generated/google/apis/cloudidentity_v1.rb +1 -1
  136. data/generated/google/apis/cloudidentity_v1/classes.rb +625 -75
  137. data/generated/google/apis/cloudidentity_v1/representations.rb +203 -0
  138. data/generated/google/apis/cloudidentity_v1/service.rb +43 -61
  139. data/generated/google/apis/cloudidentity_v1beta1.rb +4 -1
  140. data/generated/google/apis/cloudidentity_v1beta1/classes.rb +1045 -317
  141. data/generated/google/apis/cloudidentity_v1beta1/representations.rb +331 -22
  142. data/generated/google/apis/cloudidentity_v1beta1/service.rb +742 -96
  143. data/generated/google/apis/cloudiot_v1.rb +1 -1
  144. data/generated/google/apis/cloudiot_v1/classes.rb +263 -373
  145. data/generated/google/apis/cloudiot_v1/service.rb +147 -154
  146. data/generated/google/apis/cloudkms_v1.rb +1 -1
  147. data/generated/google/apis/cloudkms_v1/classes.rb +502 -692
  148. data/generated/google/apis/cloudkms_v1/representations.rb +17 -0
  149. data/generated/google/apis/cloudkms_v1/service.rb +170 -216
  150. data/generated/google/apis/cloudprofiler_v2.rb +1 -1
  151. data/generated/google/apis/cloudprofiler_v2/classes.rb +28 -33
  152. data/generated/google/apis/cloudprofiler_v2/service.rb +17 -19
  153. data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
  154. data/generated/google/apis/cloudresourcemanager_v1/service.rb +1 -1
  155. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
  156. data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +1 -1
  157. data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
  158. data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
  159. data/generated/google/apis/cloudscheduler_v1.rb +1 -1
  160. data/generated/google/apis/cloudscheduler_v1/classes.rb +272 -383
  161. data/generated/google/apis/cloudscheduler_v1/service.rb +45 -62
  162. data/generated/google/apis/cloudscheduler_v1beta1.rb +1 -1
  163. data/generated/google/apis/cloudscheduler_v1beta1/classes.rb +273 -384
  164. data/generated/google/apis/cloudscheduler_v1beta1/service.rb +45 -62
  165. data/generated/google/apis/cloudsearch_v1.rb +2 -2
  166. data/generated/google/apis/cloudsearch_v1/classes.rb +650 -781
  167. data/generated/google/apis/cloudsearch_v1/representations.rb +15 -0
  168. data/generated/google/apis/cloudsearch_v1/service.rb +286 -326
  169. data/generated/google/apis/cloudshell_v1.rb +1 -1
  170. data/generated/google/apis/cloudshell_v1/classes.rb +36 -227
  171. data/generated/google/apis/cloudshell_v1/representations.rb +0 -67
  172. data/generated/google/apis/cloudshell_v1/service.rb +21 -25
  173. data/generated/google/apis/cloudshell_v1alpha1.rb +1 -1
  174. data/generated/google/apis/cloudshell_v1alpha1/classes.rb +69 -78
  175. data/generated/google/apis/cloudshell_v1alpha1/service.rb +20 -24
  176. data/generated/google/apis/cloudtasks_v2.rb +1 -1
  177. data/generated/google/apis/cloudtasks_v2/classes.rb +605 -933
  178. data/generated/google/apis/cloudtasks_v2/service.rb +146 -217
  179. data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
  180. data/generated/google/apis/cloudtasks_v2beta2/classes.rb +602 -964
  181. data/generated/google/apis/cloudtasks_v2beta2/service.rb +178 -270
  182. data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
  183. data/generated/google/apis/cloudtasks_v2beta3/classes.rb +609 -938
  184. data/generated/google/apis/cloudtasks_v2beta3/service.rb +146 -217
  185. data/generated/google/apis/cloudtrace_v1.rb +1 -1
  186. data/generated/google/apis/cloudtrace_v1/classes.rb +39 -61
  187. data/generated/google/apis/cloudtrace_v1/service.rb +37 -51
  188. data/generated/google/apis/cloudtrace_v2.rb +1 -1
  189. data/generated/google/apis/cloudtrace_v2/classes.rb +92 -107
  190. data/generated/google/apis/cloudtrace_v2/service.rb +8 -11
  191. data/generated/google/apis/cloudtrace_v2beta1.rb +1 -1
  192. data/generated/google/apis/cloudtrace_v2beta1/classes.rb +23 -33
  193. data/generated/google/apis/cloudtrace_v2beta1/service.rb +30 -37
  194. data/generated/google/apis/composer_v1.rb +1 -1
  195. data/generated/google/apis/composer_v1/classes.rb +190 -242
  196. data/generated/google/apis/composer_v1/service.rb +79 -150
  197. data/generated/google/apis/composer_v1beta1.rb +1 -1
  198. data/generated/google/apis/composer_v1beta1/classes.rb +203 -262
  199. data/generated/google/apis/composer_v1beta1/service.rb +92 -179
  200. data/generated/google/apis/compute_alpha.rb +1 -1
  201. data/generated/google/apis/compute_alpha/classes.rb +681 -127
  202. data/generated/google/apis/compute_alpha/representations.rb +110 -6
  203. data/generated/google/apis/compute_alpha/service.rb +695 -692
  204. data/generated/google/apis/compute_beta.rb +1 -1
  205. data/generated/google/apis/compute_beta/classes.rb +570 -70
  206. data/generated/google/apis/compute_beta/representations.rb +112 -1
  207. data/generated/google/apis/compute_beta/service.rb +608 -605
  208. data/generated/google/apis/compute_v1.rb +1 -1
  209. data/generated/google/apis/compute_v1/classes.rb +977 -85
  210. data/generated/google/apis/compute_v1/representations.rb +372 -0
  211. data/generated/google/apis/compute_v1/service.rb +747 -15
  212. data/generated/google/apis/container_v1.rb +1 -1
  213. data/generated/google/apis/container_v1/classes.rb +915 -965
  214. data/generated/google/apis/container_v1/representations.rb +53 -0
  215. data/generated/google/apis/container_v1/service.rb +435 -502
  216. data/generated/google/apis/container_v1beta1.rb +1 -1
  217. data/generated/google/apis/container_v1beta1/classes.rb +1021 -1043
  218. data/generated/google/apis/container_v1beta1/representations.rb +70 -0
  219. data/generated/google/apis/container_v1beta1/service.rb +403 -466
  220. data/generated/google/apis/containeranalysis_v1alpha1.rb +1 -1
  221. data/generated/google/apis/containeranalysis_v1alpha1/classes.rb +456 -596
  222. data/generated/google/apis/containeranalysis_v1alpha1/service.rb +149 -169
  223. data/generated/google/apis/containeranalysis_v1beta1.rb +1 -1
  224. data/generated/google/apis/containeranalysis_v1beta1/classes.rb +454 -613
  225. data/generated/google/apis/containeranalysis_v1beta1/service.rb +75 -90
  226. data/generated/google/apis/content_v2.rb +1 -1
  227. data/generated/google/apis/content_v2/classes.rb +3 -1
  228. data/generated/google/apis/content_v2_1.rb +1 -1
  229. data/generated/google/apis/content_v2_1/classes.rb +93 -2
  230. data/generated/google/apis/content_v2_1/representations.rb +34 -0
  231. data/generated/google/apis/content_v2_1/service.rb +53 -2
  232. data/generated/google/apis/datacatalog_v1beta1.rb +1 -1
  233. data/generated/google/apis/datacatalog_v1beta1/classes.rb +382 -573
  234. data/generated/google/apis/datacatalog_v1beta1/service.rb +319 -440
  235. data/generated/google/apis/dataflow_v1b3.rb +1 -1
  236. data/generated/google/apis/dataflow_v1b3/classes.rb +1015 -973
  237. data/generated/google/apis/dataflow_v1b3/representations.rb +115 -0
  238. data/generated/google/apis/dataflow_v1b3/service.rb +299 -257
  239. data/generated/google/apis/datafusion_v1.rb +5 -8
  240. data/generated/google/apis/datafusion_v1/classes.rb +268 -397
  241. data/generated/google/apis/datafusion_v1/representations.rb +3 -0
  242. data/generated/google/apis/datafusion_v1/service.rb +76 -89
  243. data/generated/google/apis/datafusion_v1beta1.rb +5 -8
  244. data/generated/google/apis/datafusion_v1beta1/classes.rb +268 -397
  245. data/generated/google/apis/datafusion_v1beta1/representations.rb +3 -0
  246. data/generated/google/apis/datafusion_v1beta1/service.rb +81 -95
  247. data/generated/google/apis/dataproc_v1.rb +1 -1
  248. data/generated/google/apis/dataproc_v1/classes.rb +37 -4
  249. data/generated/google/apis/dataproc_v1/representations.rb +16 -0
  250. data/generated/google/apis/dataproc_v1beta2.rb +1 -1
  251. data/generated/google/apis/dataproc_v1beta2/classes.rb +56 -0
  252. data/generated/google/apis/dataproc_v1beta2/representations.rb +31 -0
  253. data/generated/google/apis/datastore_v1.rb +1 -1
  254. data/generated/google/apis/datastore_v1/classes.rb +330 -472
  255. data/generated/google/apis/datastore_v1/service.rb +52 -63
  256. data/generated/google/apis/datastore_v1beta1.rb +1 -1
  257. data/generated/google/apis/datastore_v1beta1/classes.rb +150 -217
  258. data/generated/google/apis/datastore_v1beta1/service.rb +11 -12
  259. data/generated/google/apis/datastore_v1beta3.rb +1 -1
  260. data/generated/google/apis/datastore_v1beta3/classes.rb +255 -371
  261. data/generated/google/apis/datastore_v1beta3/service.rb +1 -2
  262. data/generated/google/apis/dfareporting_v3_3.rb +2 -2
  263. data/generated/google/apis/dfareporting_v3_3/classes.rb +326 -339
  264. data/generated/google/apis/dfareporting_v3_3/representations.rb +42 -0
  265. data/generated/google/apis/dfareporting_v3_3/service.rb +673 -1286
  266. data/generated/google/apis/dfareporting_v3_4.rb +2 -2
  267. data/generated/google/apis/dfareporting_v3_4/classes.rb +348 -350
  268. data/generated/google/apis/dfareporting_v3_4/representations.rb +43 -0
  269. data/generated/google/apis/dfareporting_v3_4/service.rb +708 -1285
  270. data/generated/google/apis/dialogflow_v2.rb +1 -1
  271. data/generated/google/apis/dialogflow_v2/classes.rb +84 -44
  272. data/generated/google/apis/dialogflow_v2/representations.rb +52 -15
  273. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  274. data/generated/google/apis/dialogflow_v2beta1/classes.rb +84 -44
  275. data/generated/google/apis/dialogflow_v2beta1/representations.rb +52 -15
  276. data/generated/google/apis/dialogflow_v2beta1/service.rb +37 -0
  277. data/generated/google/apis/{securitycenter_v1p1alpha1.rb → dialogflow_v3beta1.rb} +13 -10
  278. data/generated/google/apis/dialogflow_v3beta1/classes.rb +8183 -0
  279. data/generated/google/apis/dialogflow_v3beta1/representations.rb +3459 -0
  280. data/generated/google/apis/dialogflow_v3beta1/service.rb +2812 -0
  281. data/generated/google/apis/displayvideo_v1.rb +1 -1
  282. data/generated/google/apis/displayvideo_v1/classes.rb +55 -8
  283. data/generated/google/apis/displayvideo_v1/representations.rb +5 -0
  284. data/generated/google/apis/displayvideo_v1/service.rb +48 -36
  285. data/generated/google/apis/dlp_v2.rb +1 -1
  286. data/generated/google/apis/dlp_v2/classes.rb +1076 -1302
  287. data/generated/google/apis/dlp_v2/service.rb +962 -905
  288. data/generated/google/apis/dns_v1.rb +1 -1
  289. data/generated/google/apis/dns_v1/classes.rb +175 -198
  290. data/generated/google/apis/dns_v1/service.rb +82 -97
  291. data/generated/google/apis/dns_v1beta2.rb +1 -1
  292. data/generated/google/apis/dns_v1beta2/classes.rb +180 -205
  293. data/generated/google/apis/dns_v1beta2/service.rb +82 -97
  294. data/generated/google/apis/docs_v1.rb +1 -1
  295. data/generated/google/apis/docs_v1/classes.rb +894 -1229
  296. data/generated/google/apis/docs_v1/service.rb +17 -22
  297. data/generated/google/apis/documentai_v1beta2.rb +1 -1
  298. data/generated/google/apis/documentai_v1beta2/classes.rb +1186 -810
  299. data/generated/google/apis/documentai_v1beta2/representations.rb +303 -0
  300. data/generated/google/apis/documentai_v1beta2/service.rb +22 -24
  301. data/generated/google/apis/doubleclickbidmanager_v1.rb +3 -2
  302. data/generated/google/apis/doubleclickbidmanager_v1/classes.rb +6 -12
  303. data/generated/google/apis/doubleclickbidmanager_v1/service.rb +33 -64
  304. data/generated/google/apis/doubleclickbidmanager_v1_1.rb +3 -2
  305. data/generated/google/apis/doubleclickbidmanager_v1_1/classes.rb +11 -18
  306. data/generated/google/apis/doubleclickbidmanager_v1_1/service.rb +33 -64
  307. data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
  308. data/generated/google/apis/doubleclicksearch_v2/service.rb +2 -2
  309. data/generated/google/apis/drive_v2.rb +1 -1
  310. data/generated/google/apis/drive_v2/classes.rb +14 -6
  311. data/generated/google/apis/drive_v2/representations.rb +1 -0
  312. data/generated/google/apis/drive_v2/service.rb +79 -15
  313. data/generated/google/apis/drive_v3.rb +1 -1
  314. data/generated/google/apis/drive_v3/classes.rb +14 -6
  315. data/generated/google/apis/drive_v3/representations.rb +1 -0
  316. data/generated/google/apis/drive_v3/service.rb +59 -11
  317. data/generated/google/apis/file_v1.rb +1 -1
  318. data/generated/google/apis/file_v1/classes.rb +154 -173
  319. data/generated/google/apis/file_v1/service.rb +43 -52
  320. data/generated/google/apis/file_v1beta1.rb +1 -1
  321. data/generated/google/apis/file_v1beta1/classes.rb +334 -193
  322. data/generated/google/apis/file_v1beta1/representations.rb +55 -0
  323. data/generated/google/apis/file_v1beta1/service.rb +267 -55
  324. data/generated/google/apis/firebase_v1beta1.rb +1 -1
  325. data/generated/google/apis/firebase_v1beta1/classes.rb +25 -47
  326. data/generated/google/apis/firebase_v1beta1/representations.rb +2 -16
  327. data/generated/google/apis/firebase_v1beta1/service.rb +8 -1
  328. data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
  329. data/generated/google/apis/firebasehosting_v1beta1/classes.rb +26 -0
  330. data/generated/google/apis/firebasehosting_v1beta1/representations.rb +15 -0
  331. data/generated/google/apis/firebaseml_v1beta2.rb +1 -1
  332. data/generated/google/apis/firebaseml_v1beta2/classes.rb +0 -8
  333. data/generated/google/apis/firebaseml_v1beta2/representations.rb +0 -1
  334. data/generated/google/apis/firebaserules_v1.rb +1 -1
  335. data/generated/google/apis/firebaserules_v1/classes.rb +102 -137
  336. data/generated/google/apis/firebaserules_v1/service.rb +87 -110
  337. data/generated/google/apis/firestore_v1.rb +1 -1
  338. data/generated/google/apis/firestore_v1/classes.rb +402 -498
  339. data/generated/google/apis/firestore_v1/service.rb +165 -201
  340. data/generated/google/apis/firestore_v1beta1.rb +1 -1
  341. data/generated/google/apis/firestore_v1beta1/classes.rb +334 -409
  342. data/generated/google/apis/firestore_v1beta1/service.rb +106 -122
  343. data/generated/google/apis/firestore_v1beta2.rb +1 -1
  344. data/generated/google/apis/firestore_v1beta2/classes.rb +135 -165
  345. data/generated/google/apis/firestore_v1beta2/service.rb +65 -86
  346. data/generated/google/apis/fitness_v1.rb +85 -0
  347. data/generated/google/apis/fitness_v1/classes.rb +982 -0
  348. data/generated/google/apis/fitness_v1/representations.rb +398 -0
  349. data/generated/google/apis/fitness_v1/service.rb +626 -0
  350. data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
  351. data/generated/google/apis/games_configuration_v1configuration/classes.rb +2 -3
  352. data/generated/google/apis/games_configuration_v1configuration/service.rb +6 -6
  353. data/generated/google/apis/games_management_v1management.rb +2 -3
  354. data/generated/google/apis/games_management_v1management/classes.rb +14 -20
  355. data/generated/google/apis/games_management_v1management/service.rb +35 -36
  356. data/generated/google/apis/games_v1.rb +2 -3
  357. data/generated/google/apis/games_v1/classes.rb +76 -83
  358. data/generated/google/apis/games_v1/representations.rb +2 -0
  359. data/generated/google/apis/games_v1/service.rb +84 -90
  360. data/generated/google/apis/genomics_v1.rb +1 -1
  361. data/generated/google/apis/genomics_v1/classes.rb +70 -76
  362. data/generated/google/apis/genomics_v1/service.rb +28 -43
  363. data/generated/google/apis/genomics_v1alpha2.rb +1 -1
  364. data/generated/google/apis/genomics_v1alpha2/classes.rb +223 -290
  365. data/generated/google/apis/genomics_v1alpha2/service.rb +54 -76
  366. data/generated/google/apis/genomics_v2alpha1.rb +1 -1
  367. data/generated/google/apis/genomics_v2alpha1/classes.rb +252 -275
  368. data/generated/google/apis/genomics_v2alpha1/representations.rb +1 -0
  369. data/generated/google/apis/genomics_v2alpha1/service.rb +47 -66
  370. data/generated/google/apis/gmail_v1.rb +1 -1
  371. data/generated/google/apis/gmail_v1/classes.rb +37 -43
  372. data/generated/google/apis/gmail_v1/service.rb +4 -3
  373. data/generated/google/apis/gmailpostmastertools_v1beta1.rb +2 -2
  374. data/generated/google/apis/gmailpostmastertools_v1beta1/service.rb +1 -1
  375. data/generated/google/apis/groupsmigration_v1.rb +35 -0
  376. data/generated/google/apis/groupsmigration_v1/classes.rb +51 -0
  377. data/generated/google/apis/groupsmigration_v1/representations.rb +40 -0
  378. data/generated/google/apis/groupsmigration_v1/service.rb +100 -0
  379. data/generated/google/apis/healthcare_v1.rb +1 -1
  380. data/generated/google/apis/healthcare_v1/classes.rb +563 -826
  381. data/generated/google/apis/healthcare_v1/service.rb +675 -853
  382. data/generated/google/apis/healthcare_v1beta1.rb +1 -1
  383. data/generated/google/apis/healthcare_v1beta1/classes.rb +828 -1102
  384. data/generated/google/apis/healthcare_v1beta1/representations.rb +20 -0
  385. data/generated/google/apis/healthcare_v1beta1/service.rb +895 -1139
  386. data/generated/google/apis/homegraph_v1.rb +1 -1
  387. data/generated/google/apis/homegraph_v1/classes.rb +76 -164
  388. data/generated/google/apis/homegraph_v1/service.rb +23 -35
  389. data/generated/google/apis/iam_v1.rb +5 -2
  390. data/generated/google/apis/iam_v1/classes.rb +388 -592
  391. data/generated/google/apis/iam_v1/service.rb +429 -555
  392. data/generated/google/apis/iamcredentials_v1.rb +4 -2
  393. data/generated/google/apis/iamcredentials_v1/classes.rb +75 -85
  394. data/generated/google/apis/iamcredentials_v1/service.rb +15 -13
  395. data/generated/google/apis/iap_v1.rb +1 -1
  396. data/generated/google/apis/iap_v1/classes.rb +246 -355
  397. data/generated/google/apis/iap_v1/service.rb +61 -71
  398. data/generated/google/apis/iap_v1beta1.rb +1 -1
  399. data/generated/google/apis/iap_v1beta1/classes.rb +157 -254
  400. data/generated/google/apis/iap_v1beta1/service.rb +17 -19
  401. data/generated/google/apis/indexing_v3.rb +1 -1
  402. data/generated/google/apis/indexing_v3/classes.rb +11 -11
  403. data/generated/google/apis/kgsearch_v1.rb +1 -1
  404. data/generated/google/apis/kgsearch_v1/classes.rb +4 -4
  405. data/generated/google/apis/kgsearch_v1/service.rb +11 -11
  406. data/generated/google/apis/lifesciences_v2beta.rb +1 -1
  407. data/generated/google/apis/lifesciences_v2beta/classes.rb +262 -290
  408. data/generated/google/apis/lifesciences_v2beta/service.rb +30 -42
  409. data/generated/google/apis/localservices_v1.rb +31 -0
  410. data/generated/google/apis/localservices_v1/classes.rb +419 -0
  411. data/generated/google/apis/localservices_v1/representations.rb +172 -0
  412. data/generated/google/apis/localservices_v1/service.rb +199 -0
  413. data/generated/google/apis/logging_v2.rb +1 -1
  414. data/generated/google/apis/logging_v2/classes.rb +174 -214
  415. data/generated/google/apis/logging_v2/representations.rb +15 -0
  416. data/generated/google/apis/logging_v2/service.rb +1017 -584
  417. data/generated/google/apis/manufacturers_v1.rb +1 -1
  418. data/generated/google/apis/manufacturers_v1/classes.rb +99 -109
  419. data/generated/google/apis/manufacturers_v1/service.rb +44 -55
  420. data/generated/google/apis/memcache_v1beta2.rb +1 -1
  421. data/generated/google/apis/memcache_v1beta2/classes.rb +170 -249
  422. data/generated/google/apis/memcache_v1beta2/representations.rb +0 -19
  423. data/generated/google/apis/memcache_v1beta2/service.rb +58 -71
  424. data/generated/google/apis/ml_v1.rb +1 -1
  425. data/generated/google/apis/ml_v1/classes.rb +949 -1144
  426. data/generated/google/apis/ml_v1/representations.rb +64 -0
  427. data/generated/google/apis/ml_v1/service.rb +194 -253
  428. data/generated/google/apis/monitoring_v1.rb +1 -1
  429. data/generated/google/apis/monitoring_v1/classes.rb +103 -26
  430. data/generated/google/apis/monitoring_v1/representations.rb +35 -0
  431. data/generated/google/apis/monitoring_v1/service.rb +10 -11
  432. data/generated/google/apis/monitoring_v3.rb +1 -1
  433. data/generated/google/apis/monitoring_v3/classes.rb +220 -322
  434. data/generated/google/apis/monitoring_v3/service.rb +121 -140
  435. data/generated/google/apis/networkmanagement_v1.rb +1 -1
  436. data/generated/google/apis/networkmanagement_v1/classes.rb +273 -429
  437. data/generated/google/apis/networkmanagement_v1/service.rb +97 -120
  438. data/generated/google/apis/networkmanagement_v1beta1.rb +1 -1
  439. data/generated/google/apis/networkmanagement_v1beta1/classes.rb +388 -429
  440. data/generated/google/apis/networkmanagement_v1beta1/representations.rb +40 -0
  441. data/generated/google/apis/networkmanagement_v1beta1/service.rb +97 -120
  442. data/generated/google/apis/osconfig_v1.rb +1 -1
  443. data/generated/google/apis/osconfig_v1/classes.rb +226 -270
  444. data/generated/google/apis/osconfig_v1/service.rb +22 -27
  445. data/generated/google/apis/osconfig_v1beta.rb +1 -1
  446. data/generated/google/apis/osconfig_v1beta/classes.rb +1031 -411
  447. data/generated/google/apis/osconfig_v1beta/representations.rb +337 -0
  448. data/generated/google/apis/osconfig_v1beta/service.rb +39 -52
  449. data/generated/google/apis/oslogin_v1.rb +1 -1
  450. data/generated/google/apis/oslogin_v1/classes.rb +14 -12
  451. data/generated/google/apis/oslogin_v1/representations.rb +1 -0
  452. data/generated/google/apis/oslogin_v1/service.rb +12 -16
  453. data/generated/google/apis/oslogin_v1alpha.rb +1 -1
  454. data/generated/google/apis/oslogin_v1alpha/classes.rb +14 -12
  455. data/generated/google/apis/oslogin_v1alpha/representations.rb +1 -0
  456. data/generated/google/apis/oslogin_v1alpha/service.rb +14 -14
  457. data/generated/google/apis/oslogin_v1beta.rb +1 -1
  458. data/generated/google/apis/oslogin_v1beta/classes.rb +14 -12
  459. data/generated/google/apis/oslogin_v1beta/representations.rb +1 -0
  460. data/generated/google/apis/oslogin_v1beta/service.rb +12 -16
  461. data/generated/google/apis/pagespeedonline_v5.rb +2 -2
  462. data/generated/google/apis/pagespeedonline_v5/classes.rb +18 -24
  463. data/generated/google/apis/pagespeedonline_v5/service.rb +3 -4
  464. data/generated/google/apis/people_v1.rb +1 -1
  465. data/generated/google/apis/people_v1/classes.rb +121 -12
  466. data/generated/google/apis/people_v1/representations.rb +41 -0
  467. data/generated/google/apis/people_v1/service.rb +39 -39
  468. data/generated/google/apis/playablelocations_v3.rb +1 -1
  469. data/generated/google/apis/playablelocations_v3/classes.rb +108 -155
  470. data/generated/google/apis/playablelocations_v3/service.rb +10 -10
  471. data/generated/google/apis/prod_tt_sasportal_v1alpha1.rb +1 -1
  472. data/generated/google/apis/prod_tt_sasportal_v1alpha1/classes.rb +6 -0
  473. data/generated/google/apis/prod_tt_sasportal_v1alpha1/representations.rb +1 -0
  474. data/generated/google/apis/pubsub_v1.rb +1 -1
  475. data/generated/google/apis/pubsub_v1/classes.rb +392 -518
  476. data/generated/google/apis/pubsub_v1/representations.rb +1 -0
  477. data/generated/google/apis/pubsub_v1/service.rb +220 -246
  478. data/generated/google/apis/pubsub_v1beta1a.rb +1 -1
  479. data/generated/google/apis/pubsub_v1beta1a/classes.rb +71 -86
  480. data/generated/google/apis/pubsub_v1beta1a/service.rb +31 -38
  481. data/generated/google/apis/pubsub_v1beta2.rb +1 -1
  482. data/generated/google/apis/pubsub_v1beta2/classes.rb +244 -354
  483. data/generated/google/apis/pubsub_v1beta2/service.rb +96 -108
  484. data/generated/google/apis/{memcache_v1.rb → pubsublite_v1.rb} +8 -9
  485. data/generated/google/apis/pubsublite_v1/classes.rb +389 -0
  486. data/generated/google/apis/{accessapproval_v1beta1 → pubsublite_v1}/representations.rb +78 -53
  487. data/generated/google/apis/{memcache_v1 → pubsublite_v1}/service.rb +195 -228
  488. data/generated/google/apis/realtimebidding_v1.rb +1 -1
  489. data/generated/google/apis/recommendationengine_v1beta1.rb +1 -1
  490. data/generated/google/apis/recommendationengine_v1beta1/classes.rb +335 -456
  491. data/generated/google/apis/recommendationengine_v1beta1/representations.rb +0 -16
  492. data/generated/google/apis/recommendationengine_v1beta1/service.rb +140 -206
  493. data/generated/google/apis/redis_v1.rb +1 -1
  494. data/generated/google/apis/redis_v1/classes.rb +172 -208
  495. data/generated/google/apis/redis_v1/service.rb +93 -110
  496. data/generated/google/apis/redis_v1beta1.rb +1 -1
  497. data/generated/google/apis/redis_v1beta1/classes.rb +176 -212
  498. data/generated/google/apis/redis_v1beta1/service.rb +93 -110
  499. data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
  500. data/generated/google/apis/remotebuildexecution_v1/classes.rb +951 -1078
  501. data/generated/google/apis/remotebuildexecution_v1/representations.rb +61 -0
  502. data/generated/google/apis/remotebuildexecution_v1/service.rb +26 -33
  503. data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
  504. data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +946 -1071
  505. data/generated/google/apis/remotebuildexecution_v1alpha/representations.rb +61 -0
  506. data/generated/google/apis/remotebuildexecution_v1alpha/service.rb +103 -65
  507. data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
  508. data/generated/google/apis/remotebuildexecution_v2/classes.rb +1099 -1250
  509. data/generated/google/apis/remotebuildexecution_v2/representations.rb +61 -0
  510. data/generated/google/apis/remotebuildexecution_v2/service.rb +147 -206
  511. data/generated/google/apis/run_v1.rb +1 -1
  512. data/generated/google/apis/run_v1/classes.rb +4 -3
  513. data/generated/google/apis/run_v1/representations.rb +1 -1
  514. data/generated/google/apis/run_v1alpha1.rb +1 -1
  515. data/generated/google/apis/run_v1alpha1/classes.rb +1 -1
  516. data/generated/google/apis/run_v1alpha1/representations.rb +1 -1
  517. data/generated/google/apis/run_v1beta1.rb +1 -1
  518. data/generated/google/apis/run_v1beta1/classes.rb +3 -2
  519. data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
  520. data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +295 -412
  521. data/generated/google/apis/runtimeconfig_v1beta1/service.rb +135 -159
  522. data/generated/google/apis/safebrowsing_v4.rb +1 -1
  523. data/generated/google/apis/safebrowsing_v4/classes.rb +55 -64
  524. data/generated/google/apis/safebrowsing_v4/service.rb +4 -4
  525. data/generated/google/apis/sasportal_v1alpha1.rb +1 -1
  526. data/generated/google/apis/sasportal_v1alpha1/classes.rb +6 -0
  527. data/generated/google/apis/sasportal_v1alpha1/representations.rb +1 -0
  528. data/generated/google/apis/script_v1.rb +1 -1
  529. data/generated/google/apis/script_v1/classes.rb +88 -111
  530. data/generated/google/apis/script_v1/service.rb +63 -69
  531. data/generated/google/apis/secretmanager_v1.rb +1 -1
  532. data/generated/google/apis/secretmanager_v1/classes.rb +211 -363
  533. data/generated/google/apis/secretmanager_v1/service.rb +66 -82
  534. data/generated/google/apis/secretmanager_v1beta1.rb +1 -1
  535. data/generated/google/apis/secretmanager_v1beta1/classes.rb +211 -363
  536. data/generated/google/apis/secretmanager_v1beta1/service.rb +66 -82
  537. data/generated/google/apis/securitycenter_v1.rb +1 -1
  538. data/generated/google/apis/securitycenter_v1/classes.rb +16 -6
  539. data/generated/google/apis/securitycenter_v1/representations.rb +1 -0
  540. data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
  541. data/generated/google/apis/securitycenter_v1beta1/classes.rb +21 -9
  542. data/generated/google/apis/securitycenter_v1beta1/representations.rb +1 -0
  543. data/generated/google/apis/{securitycenter_v1p1beta1.rb → securitycenter_v1beta2.rb} +6 -6
  544. data/generated/google/apis/{securitycenter_v1p1alpha1 → securitycenter_v1beta2}/classes.rb +281 -103
  545. data/generated/google/apis/{securitycenter_v1p1alpha1 → securitycenter_v1beta2}/representations.rb +101 -30
  546. data/generated/google/apis/securitycenter_v1beta2/service.rb +1494 -0
  547. data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
  548. data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +18 -48
  549. data/generated/google/apis/serviceconsumermanagement_v1beta1.rb +1 -1
  550. data/generated/google/apis/serviceconsumermanagement_v1beta1/classes.rb +19 -49
  551. data/generated/google/apis/servicecontrol_v1.rb +1 -1
  552. data/generated/google/apis/servicecontrol_v1/classes.rb +523 -641
  553. data/generated/google/apis/servicecontrol_v1/service.rb +36 -46
  554. data/generated/google/apis/servicecontrol_v2.rb +1 -1
  555. data/generated/google/apis/servicecontrol_v2/classes.rb +279 -325
  556. data/generated/google/apis/servicecontrol_v2/service.rb +33 -43
  557. data/generated/google/apis/servicedirectory_v1beta1.rb +1 -1
  558. data/generated/google/apis/servicedirectory_v1beta1/classes.rb +214 -333
  559. data/generated/google/apis/servicedirectory_v1beta1/service.rb +94 -129
  560. data/generated/google/apis/servicemanagement_v1.rb +1 -1
  561. data/generated/google/apis/servicemanagement_v1/classes.rb +1266 -2116
  562. data/generated/google/apis/servicemanagement_v1/service.rb +144 -195
  563. data/generated/google/apis/servicenetworking_v1.rb +1 -1
  564. data/generated/google/apis/servicenetworking_v1/classes.rb +93 -48
  565. data/generated/google/apis/servicenetworking_v1/representations.rb +52 -0
  566. data/generated/google/apis/servicenetworking_v1/service.rb +116 -0
  567. data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
  568. data/generated/google/apis/servicenetworking_v1beta/classes.rb +74 -48
  569. data/generated/google/apis/servicenetworking_v1beta/representations.rb +38 -0
  570. data/generated/google/apis/serviceusage_v1.rb +1 -1
  571. data/generated/google/apis/serviceusage_v1/classes.rb +52 -48
  572. data/generated/google/apis/serviceusage_v1/representations.rb +4 -0
  573. data/generated/google/apis/serviceusage_v1/service.rb +5 -1
  574. data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
  575. data/generated/google/apis/serviceusage_v1beta1/classes.rb +87 -49
  576. data/generated/google/apis/serviceusage_v1beta1/representations.rb +8 -0
  577. data/generated/google/apis/sheets_v4.rb +1 -1
  578. data/generated/google/apis/sheets_v4/classes.rb +3932 -5007
  579. data/generated/google/apis/sheets_v4/representations.rb +625 -0
  580. data/generated/google/apis/sheets_v4/service.rb +113 -149
  581. data/generated/google/apis/site_verification_v1.rb +1 -1
  582. data/generated/google/apis/slides_v1.rb +1 -1
  583. data/generated/google/apis/slides_v1/classes.rb +841 -1114
  584. data/generated/google/apis/slides_v1/service.rb +23 -30
  585. data/generated/google/apis/sourcerepo_v1.rb +1 -1
  586. data/generated/google/apis/sourcerepo_v1/classes.rb +6 -6
  587. data/generated/google/apis/spanner_v1.rb +1 -1
  588. data/generated/google/apis/spanner_v1/classes.rb +1546 -2157
  589. data/generated/google/apis/spanner_v1/service.rb +443 -618
  590. data/generated/google/apis/speech_v1.rb +1 -1
  591. data/generated/google/apis/speech_v1/classes.rb +174 -220
  592. data/generated/google/apis/speech_v1/service.rb +27 -32
  593. data/generated/google/apis/speech_v1p1beta1.rb +1 -1
  594. data/generated/google/apis/speech_v1p1beta1/classes.rb +253 -306
  595. data/generated/google/apis/speech_v1p1beta1/service.rb +27 -32
  596. data/generated/google/apis/speech_v2beta1.rb +1 -1
  597. data/generated/google/apis/speech_v2beta1/classes.rb +66 -76
  598. data/generated/google/apis/speech_v2beta1/service.rb +10 -12
  599. data/generated/google/apis/sql_v1beta4.rb +1 -1
  600. data/generated/google/apis/sql_v1beta4/classes.rb +311 -370
  601. data/generated/google/apis/sql_v1beta4/representations.rb +2 -0
  602. data/generated/google/apis/sql_v1beta4/service.rb +51 -56
  603. data/generated/google/apis/storage_v1.rb +1 -1
  604. data/generated/google/apis/storage_v1/classes.rb +8 -7
  605. data/generated/google/apis/storage_v1/representations.rb +2 -2
  606. data/generated/google/apis/storagetransfer_v1.rb +1 -1
  607. data/generated/google/apis/storagetransfer_v1/classes.rb +261 -339
  608. data/generated/google/apis/storagetransfer_v1/service.rb +43 -64
  609. data/generated/google/apis/streetviewpublish_v1.rb +1 -1
  610. data/generated/google/apis/streetviewpublish_v1/classes.rb +106 -148
  611. data/generated/google/apis/streetviewpublish_v1/service.rb +94 -177
  612. data/generated/google/apis/tagmanager_v1.rb +1 -1
  613. data/generated/google/apis/tagmanager_v1/service.rb +2 -2
  614. data/generated/google/apis/tagmanager_v2.rb +1 -1
  615. data/generated/google/apis/tagmanager_v2/service.rb +2 -2
  616. data/generated/google/apis/tasks_v1.rb +1 -1
  617. data/generated/google/apis/tasks_v1/classes.rb +20 -21
  618. data/generated/google/apis/tasks_v1/service.rb +16 -17
  619. data/generated/google/apis/testing_v1.rb +1 -1
  620. data/generated/google/apis/testing_v1/classes.rb +317 -382
  621. data/generated/google/apis/testing_v1/representations.rb +2 -0
  622. data/generated/google/apis/testing_v1/service.rb +22 -28
  623. data/generated/google/apis/texttospeech_v1.rb +1 -1
  624. data/generated/google/apis/texttospeech_v1/classes.rb +51 -57
  625. data/generated/google/apis/texttospeech_v1/service.rb +9 -10
  626. data/generated/google/apis/texttospeech_v1beta1.rb +1 -1
  627. data/generated/google/apis/texttospeech_v1beta1/classes.rb +96 -57
  628. data/generated/google/apis/texttospeech_v1beta1/representations.rb +19 -0
  629. data/generated/google/apis/texttospeech_v1beta1/service.rb +9 -10
  630. data/generated/google/apis/toolresults_v1beta3.rb +1 -1
  631. data/generated/google/apis/toolresults_v1beta3/classes.rb +7 -0
  632. data/generated/google/apis/toolresults_v1beta3/representations.rb +1 -0
  633. data/generated/google/apis/tpu_v1.rb +1 -1
  634. data/generated/google/apis/tpu_v1/classes.rb +11 -0
  635. data/generated/google/apis/tpu_v1/representations.rb +1 -0
  636. data/generated/google/apis/tpu_v1alpha1.rb +1 -1
  637. data/generated/google/apis/tpu_v1alpha1/classes.rb +11 -0
  638. data/generated/google/apis/tpu_v1alpha1/representations.rb +1 -0
  639. data/generated/google/apis/{accessapproval_v1beta1.rb → trafficdirector_v2.rb} +9 -9
  640. data/generated/google/apis/trafficdirector_v2/classes.rb +1347 -0
  641. data/generated/google/apis/trafficdirector_v2/representations.rb +620 -0
  642. data/generated/google/apis/trafficdirector_v2/service.rb +89 -0
  643. data/generated/google/apis/translate_v3.rb +1 -1
  644. data/generated/google/apis/translate_v3/classes.rb +148 -175
  645. data/generated/google/apis/translate_v3/service.rb +122 -151
  646. data/generated/google/apis/translate_v3beta1.rb +1 -1
  647. data/generated/google/apis/translate_v3beta1/classes.rb +149 -170
  648. data/generated/google/apis/translate_v3beta1/service.rb +122 -151
  649. data/generated/google/apis/vectortile_v1.rb +1 -1
  650. data/generated/google/apis/vectortile_v1/classes.rb +185 -267
  651. data/generated/google/apis/vectortile_v1/service.rb +75 -88
  652. data/generated/google/apis/videointelligence_v1.rb +1 -1
  653. data/generated/google/apis/videointelligence_v1/classes.rb +753 -918
  654. data/generated/google/apis/videointelligence_v1/service.rb +40 -48
  655. data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
  656. data/generated/google/apis/videointelligence_v1beta2/classes.rb +748 -911
  657. data/generated/google/apis/videointelligence_v1beta2/service.rb +4 -4
  658. data/generated/google/apis/videointelligence_v1p1beta1.rb +1 -1
  659. data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +748 -911
  660. data/generated/google/apis/videointelligence_v1p1beta1/service.rb +4 -4
  661. data/generated/google/apis/videointelligence_v1p2beta1.rb +1 -1
  662. data/generated/google/apis/videointelligence_v1p2beta1/classes.rb +748 -911
  663. data/generated/google/apis/videointelligence_v1p2beta1/service.rb +4 -4
  664. data/generated/google/apis/videointelligence_v1p3beta1.rb +1 -1
  665. data/generated/google/apis/videointelligence_v1p3beta1/classes.rb +754 -920
  666. data/generated/google/apis/videointelligence_v1p3beta1/service.rb +4 -4
  667. data/generated/google/apis/webfonts_v1.rb +2 -3
  668. data/generated/google/apis/webfonts_v1/classes.rb +1 -2
  669. data/generated/google/apis/webfonts_v1/service.rb +2 -4
  670. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  671. data/generated/google/apis/youtube_v3.rb +1 -1
  672. data/generated/google/apis/youtube_v3/classes.rb +347 -0
  673. data/generated/google/apis/youtube_v3/representations.rb +176 -0
  674. data/generated/google/apis/youtube_v3/service.rb +78 -0
  675. data/lib/google/apis/version.rb +1 -1
  676. metadata +31 -31
  677. data/generated/google/apis/accessapproval_v1beta1/classes.rb +0 -417
  678. data/generated/google/apis/accessapproval_v1beta1/service.rb +0 -857
  679. data/generated/google/apis/dns_v2beta1.rb +0 -43
  680. data/generated/google/apis/dns_v2beta1/classes.rb +0 -1447
  681. data/generated/google/apis/dns_v2beta1/representations.rb +0 -588
  682. data/generated/google/apis/dns_v2beta1/service.rb +0 -928
  683. data/generated/google/apis/memcache_v1/classes.rb +0 -1157
  684. data/generated/google/apis/memcache_v1/representations.rb +0 -471
  685. data/generated/google/apis/oauth2_v2.rb +0 -40
  686. data/generated/google/apis/oauth2_v2/classes.rb +0 -165
  687. data/generated/google/apis/oauth2_v2/representations.rb +0 -68
  688. data/generated/google/apis/oauth2_v2/service.rb +0 -158
  689. data/generated/google/apis/securitycenter_v1p1alpha1/service.rb +0 -207
  690. data/generated/google/apis/securitycenter_v1p1beta1/classes.rb +0 -2059
  691. data/generated/google/apis/securitycenter_v1p1beta1/representations.rb +0 -789
  692. data/generated/google/apis/securitycenter_v1p1beta1/service.rb +0 -1243
  693. data/generated/google/apis/storage_v1beta2.rb +0 -40
  694. data/generated/google/apis/storage_v1beta2/classes.rb +0 -1047
  695. data/generated/google/apis/storage_v1beta2/representations.rb +0 -425
  696. data/generated/google/apis/storage_v1beta2/service.rb +0 -1667
@@ -49,10 +49,10 @@ module Google
49
49
  @batch_path = 'batch'
50
50
  end
51
51
 
52
- # Performs asynchronous video annotation. Progress and results can be
53
- # retrieved through the `google.longrunning.Operations` interface.
54
- # `Operation.metadata` contains `AnnotateVideoProgress` (progress).
55
- # `Operation.response` contains `AnnotateVideoResponse` (results).
52
+ # Performs asynchronous video annotation. Progress and results can be retrieved
53
+ # through the `google.longrunning.Operations` interface. `Operation.metadata`
54
+ # contains `AnnotateVideoProgress` (progress). `Operation.response` contains `
55
+ # AnnotateVideoResponse` (results).
56
56
  # @param [Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p1beta1AnnotateVideoRequest] google_cloud_videointelligence_v1p1beta1_annotate_video_request_object
57
57
  # @param [String] fields
58
58
  # Selector specifying which fields to include in a partial response.
@@ -27,7 +27,7 @@ module Google
27
27
  # @see https://cloud.google.com/video-intelligence/docs/
28
28
  module VideointelligenceV1p2beta1
29
29
  VERSION = 'V1p2beta1'
30
- REVISION = '20200602'
30
+ REVISION = '20200810'
31
31
 
32
32
  # View and manage your data across Google Cloud Platform services
33
33
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
@@ -22,9 +22,9 @@ module Google
22
22
  module Apis
23
23
  module VideointelligenceV1p2beta1
24
24
 
25
- # Video annotation progress. Included in the `metadata`
26
- # field of the `Operation` returned by the `GetOperation`
27
- # call of the `google::longrunning::Operations` service.
25
+ # Video annotation progress. Included in the `metadata` field of the `Operation`
26
+ # returned by the `GetOperation` call of the `google::longrunning::Operations`
27
+ # service.
28
28
  class GoogleCloudVideointelligenceV1AnnotateVideoProgress
29
29
  include Google::Apis::Core::Hashable
30
30
 
@@ -43,9 +43,9 @@ module Google
43
43
  end
44
44
  end
45
45
 
46
- # Video annotation response. Included in the `response`
47
- # field of the `Operation` returned by the `GetOperation`
48
- # call of the `google::longrunning::Operations` service.
46
+ # Video annotation response. Included in the `response` field of the `Operation`
47
+ # returned by the `GetOperation` call of the `google::longrunning::Operations`
48
+ # service.
49
49
  class GoogleCloudVideointelligenceV1AnnotateVideoResponse
50
50
  include Google::Apis::Core::Hashable
51
51
 
@@ -73,14 +73,14 @@ module Google
73
73
  # @return [Float]
74
74
  attr_accessor :confidence
75
75
 
76
- # The name of the attribute, for example, glasses, dark_glasses, mouth_open.
77
- # A full list of supported type names will be provided in the document.
76
+ # The name of the attribute, for example, glasses, dark_glasses, mouth_open. A
77
+ # full list of supported type names will be provided in the document.
78
78
  # Corresponds to the JSON property `name`
79
79
  # @return [String]
80
80
  attr_accessor :name
81
81
 
82
- # Text value of the detection result. For example, the value for "HairColor"
83
- # can be "black", "blonde", etc.
82
+ # Text value of the detection result. For example, the value for "HairColor" can
83
+ # be "black", "blonde", etc.
84
84
  # Corresponds to the JSON property `value`
85
85
  # @return [String]
86
86
  attr_accessor :value
@@ -112,9 +112,8 @@ module Google
112
112
  # @return [String]
113
113
  attr_accessor :name
114
114
 
115
- # A vertex represents a 2D point in the image.
116
- # NOTE: the normalized vertex coordinates are relative to the original image
117
- # and range from 0 to 1.
115
+ # A vertex represents a 2D point in the image. NOTE: the normalized vertex
116
+ # coordinates are relative to the original image and range from 0 to 1.
118
117
  # Corresponds to the JSON property `point`
119
118
  # @return [Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1NormalizedVertex]
120
119
  attr_accessor :point
@@ -140,8 +139,7 @@ module Google
140
139
  # @return [String]
141
140
  attr_accessor :description
142
141
 
143
- # Opaque entity ID. Some IDs may be available in
144
- # [Google Knowledge Graph Search
142
+ # Opaque entity ID. Some IDs may be available in [Google Knowledge Graph Search
145
143
  # API](https://developers.google.com/knowledge-graph/).
146
144
  # Corresponds to the JSON property `entityId`
147
145
  # @return [String]
@@ -164,9 +162,9 @@ module Google
164
162
  end
165
163
  end
166
164
 
167
- # Explicit content annotation (based on per-frame visual signals only).
168
- # If no explicit content has been detected in a frame, no annotations are
169
- # present for that frame.
165
+ # Explicit content annotation (based on per-frame visual signals only). If no
166
+ # explicit content has been detected in a frame, no annotations are present for
167
+ # that frame.
170
168
  class GoogleCloudVideointelligenceV1ExplicitContentAnnotation
171
169
  include Google::Apis::Core::Hashable
172
170
 
@@ -221,10 +219,9 @@ module Google
221
219
  class GoogleCloudVideointelligenceV1LabelAnnotation
222
220
  include Google::Apis::Core::Hashable
223
221
 
224
- # Common categories for the detected entity.
225
- # For example, when the label is `Terrier`, the category is likely `dog`. And
226
- # in some cases there might be more than one categories e.g., `Terrier` could
227
- # also be a `pet`.
222
+ # Common categories for the detected entity. For example, when the label is `
223
+ # Terrier`, the category is likely `dog`. And in some cases there might be more
224
+ # than one categories e.g., `Terrier` could also be a `pet`.
228
225
  # Corresponds to the JSON property `categoryEntities`
229
226
  # @return [Array<Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1Entity>]
230
227
  attr_accessor :category_entities
@@ -323,14 +320,14 @@ module Google
323
320
  # @return [Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1Entity]
324
321
  attr_accessor :entity
325
322
 
326
- # All video segments where the recognized logo appears. There might be
327
- # multiple instances of the same logo class appearing in one VideoSegment.
323
+ # All video segments where the recognized logo appears. There might be multiple
324
+ # instances of the same logo class appearing in one VideoSegment.
328
325
  # Corresponds to the JSON property `segments`
329
326
  # @return [Array<Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1VideoSegment>]
330
327
  attr_accessor :segments
331
328
 
332
- # All logo tracks where the recognized logo appears. Each track corresponds
333
- # to one logo instance appearing in consecutive frames.
329
+ # All logo tracks where the recognized logo appears. Each track corresponds to
330
+ # one logo instance appearing in consecutive frames.
334
331
  # Corresponds to the JSON property `tracks`
335
332
  # @return [Array<Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1Track>]
336
333
  attr_accessor :tracks
@@ -347,9 +344,8 @@ module Google
347
344
  end
348
345
  end
349
346
 
350
- # Normalized bounding box.
351
- # The normalized vertex coordinates are relative to the original image.
352
- # Range: [0, 1].
347
+ # Normalized bounding box. The normalized vertex coordinates are relative to the
348
+ # original image. Range: [0, 1].
353
349
  class GoogleCloudVideointelligenceV1NormalizedBoundingBox
354
350
  include Google::Apis::Core::Hashable
355
351
 
@@ -387,20 +383,12 @@ module Google
387
383
  end
388
384
 
389
385
  # Normalized bounding polygon for text (that might not be aligned with axis).
390
- # Contains list of the corner points in clockwise order starting from
391
- # top-left corner. For example, for a rectangular bounding box:
392
- # When the text is horizontal it might look like:
393
- # 0----1
394
- # | |
395
- # 3----2
396
- # When it's clockwise rotated 180 degrees around the top-left corner it
397
- # becomes:
398
- # 2----3
399
- # | |
400
- # 1----0
401
- # and the vertex order will still be (0, 1, 2, 3). Note that values can be less
402
- # than 0, or greater than 1 due to trignometric calculations for location of
403
- # the box.
386
+ # Contains list of the corner points in clockwise order starting from top-left
387
+ # corner. For example, for a rectangular bounding box: When the text is
388
+ # horizontal it might look like: 0----1 | | 3----2 When it's clockwise rotated
389
+ # 180 degrees around the top-left corner it becomes: 2----3 | | 1----0 and the
390
+ # vertex order will still be (0, 1, 2, 3). Note that values can be less than 0,
391
+ # or greater than 1 due to trignometric calculations for location of the box.
404
392
  class GoogleCloudVideointelligenceV1NormalizedBoundingPoly
405
393
  include Google::Apis::Core::Hashable
406
394
 
@@ -419,9 +407,8 @@ module Google
419
407
  end
420
408
  end
421
409
 
422
- # A vertex represents a 2D point in the image.
423
- # NOTE: the normalized vertex coordinates are relative to the original image
424
- # and range from 0 to 1.
410
+ # A vertex represents a 2D point in the image. NOTE: the normalized vertex
411
+ # coordinates are relative to the original image and range from 0 to 1.
425
412
  class GoogleCloudVideointelligenceV1NormalizedVertex
426
413
  include Google::Apis::Core::Hashable
427
414
 
@@ -460,10 +447,10 @@ module Google
460
447
  # @return [Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1Entity]
461
448
  attr_accessor :entity
462
449
 
463
- # Information corresponding to all frames where this object track appears.
464
- # Non-streaming batch mode: it may be one or multiple ObjectTrackingFrame
465
- # messages in frames.
466
- # Streaming mode: it can only be one ObjectTrackingFrame message in frames.
450
+ # Information corresponding to all frames where this object track appears. Non-
451
+ # streaming batch mode: it may be one or multiple ObjectTrackingFrame messages
452
+ # in frames. Streaming mode: it can only be one ObjectTrackingFrame message in
453
+ # frames.
467
454
  # Corresponds to the JSON property `frames`
468
455
  # @return [Array<Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1ObjectTrackingFrame>]
469
456
  attr_accessor :frames
@@ -473,12 +460,11 @@ module Google
473
460
  # @return [Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1VideoSegment]
474
461
  attr_accessor :segment
475
462
 
476
- # Streaming mode ONLY.
477
- # In streaming mode, we do not know the end time of a tracked object
478
- # before it is completed. Hence, there is no VideoSegment info returned.
479
- # Instead, we provide a unique identifiable integer track_id so that
480
- # the customers can correlate the results of the ongoing
481
- # ObjectTrackAnnotation of the same track_id over time.
463
+ # Streaming mode ONLY. In streaming mode, we do not know the end time of a
464
+ # tracked object before it is completed. Hence, there is no VideoSegment info
465
+ # returned. Instead, we provide a unique identifiable integer track_id so that
466
+ # the customers can correlate the results of the ongoing ObjectTrackAnnotation
467
+ # of the same track_id over time.
482
468
  # Corresponds to the JSON property `trackId`
483
469
  # @return [Fixnum]
484
470
  attr_accessor :track_id
@@ -508,9 +494,8 @@ module Google
508
494
  class GoogleCloudVideointelligenceV1ObjectTrackingFrame
509
495
  include Google::Apis::Core::Hashable
510
496
 
511
- # Normalized bounding box.
512
- # The normalized vertex coordinates are relative to the original image.
513
- # Range: [0, 1].
497
+ # Normalized bounding box. The normalized vertex coordinates are relative to the
498
+ # original image. Range: [0, 1].
514
499
  # Corresponds to the JSON property `normalizedBoundingBox`
515
500
  # @return [Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1NormalizedBoundingBox]
516
501
  attr_accessor :normalized_bounding_box
@@ -537,10 +522,10 @@ module Google
537
522
 
538
523
  # Output only. The confidence estimate between 0.0 and 1.0. A higher number
539
524
  # indicates an estimated greater likelihood that the recognized words are
540
- # correct. This field is set only for the top alternative.
541
- # This field is not guaranteed to be accurate and users should not rely on it
542
- # to be always provided.
543
- # The default of 0.0 is a sentinel value indicating `confidence` was not set.
525
+ # correct. This field is set only for the top alternative. This field is not
526
+ # guaranteed to be accurate and users should not rely on it to be always
527
+ # provided. The default of 0.0 is a sentinel value indicating `confidence` was
528
+ # not set.
544
529
  # Corresponds to the JSON property `confidence`
545
530
  # @return [Float]
546
531
  attr_accessor :confidence
@@ -551,8 +536,8 @@ module Google
551
536
  attr_accessor :transcript
552
537
 
553
538
  # Output only. A list of word-specific information for each recognized word.
554
- # Note: When `enable_speaker_diarization` is set to true, you will see all
555
- # the words from the beginning of the audio.
539
+ # Note: When `enable_speaker_diarization` is set to true, you will see all the
540
+ # words from the beginning of the audio.
556
541
  # Corresponds to the JSON property `words`
557
542
  # @return [Array<Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1WordInfo>]
558
543
  attr_accessor :words
@@ -573,18 +558,17 @@ module Google
573
558
  class GoogleCloudVideointelligenceV1SpeechTranscription
574
559
  include Google::Apis::Core::Hashable
575
560
 
576
- # May contain one or more recognition hypotheses (up to the maximum specified
577
- # in `max_alternatives`). These alternatives are ordered in terms of
578
- # accuracy, with the top (first) alternative being the most probable, as
579
- # ranked by the recognizer.
561
+ # May contain one or more recognition hypotheses (up to the maximum specified in
562
+ # `max_alternatives`). These alternatives are ordered in terms of accuracy, with
563
+ # the top (first) alternative being the most probable, as ranked by the
564
+ # recognizer.
580
565
  # Corresponds to the JSON property `alternatives`
581
566
  # @return [Array<Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1SpeechRecognitionAlternative>]
582
567
  attr_accessor :alternatives
583
568
 
584
569
  # Output only. The [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt)
585
- # language tag of
586
- # the language in this result. This language code was detected to have the
587
- # most likelihood of being spoken in the audio.
570
+ # language tag of the language in this result. This language code was detected
571
+ # to have the most likelihood of being spoken in the audio.
588
572
  # Corresponds to the JSON property `languageCode`
589
573
  # @return [String]
590
574
  attr_accessor :language_code
@@ -633,27 +617,19 @@ module Google
633
617
  end
634
618
  end
635
619
 
636
- # Video frame level annotation results for text annotation (OCR).
637
- # Contains information regarding timestamp and bounding box locations for the
638
- # frames containing detected OCR text snippets.
620
+ # Video frame level annotation results for text annotation (OCR). Contains
621
+ # information regarding timestamp and bounding box locations for the frames
622
+ # containing detected OCR text snippets.
639
623
  class GoogleCloudVideointelligenceV1TextFrame
640
624
  include Google::Apis::Core::Hashable
641
625
 
642
626
  # Normalized bounding polygon for text (that might not be aligned with axis).
643
- # Contains list of the corner points in clockwise order starting from
644
- # top-left corner. For example, for a rectangular bounding box:
645
- # When the text is horizontal it might look like:
646
- # 0----1
647
- # | |
648
- # 3----2
649
- # When it's clockwise rotated 180 degrees around the top-left corner it
650
- # becomes:
651
- # 2----3
652
- # | |
653
- # 1----0
654
- # and the vertex order will still be (0, 1, 2, 3). Note that values can be less
655
- # than 0, or greater than 1 due to trignometric calculations for location of
656
- # the box.
627
+ # Contains list of the corner points in clockwise order starting from top-left
628
+ # corner. For example, for a rectangular bounding box: When the text is
629
+ # horizontal it might look like: 0----1 | | 3----2 When it's clockwise rotated
630
+ # 180 degrees around the top-left corner it becomes: 2----3 | | 1----0 and the
631
+ # vertex order will still be (0, 1, 2, 3). Note that values can be less than 0,
632
+ # or greater than 1 due to trignometric calculations for location of the box.
657
633
  # Corresponds to the JSON property `rotatedBoundingBox`
658
634
  # @return [Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1NormalizedBoundingPoly]
659
635
  attr_accessor :rotated_bounding_box
@@ -706,9 +682,8 @@ module Google
706
682
  end
707
683
  end
708
684
 
709
- # For tracking related features.
710
- # An object at time_offset with attributes, and located with
711
- # normalized_bounding_box.
685
+ # For tracking related features. An object at time_offset with attributes, and
686
+ # located with normalized_bounding_box.
712
687
  class GoogleCloudVideointelligenceV1TimestampedObject
713
688
  include Google::Apis::Core::Hashable
714
689
 
@@ -722,15 +697,14 @@ module Google
722
697
  # @return [Array<Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1DetectedLandmark>]
723
698
  attr_accessor :landmarks
724
699
 
725
- # Normalized bounding box.
726
- # The normalized vertex coordinates are relative to the original image.
727
- # Range: [0, 1].
700
+ # Normalized bounding box. The normalized vertex coordinates are relative to the
701
+ # original image. Range: [0, 1].
728
702
  # Corresponds to the JSON property `normalizedBoundingBox`
729
703
  # @return [Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1NormalizedBoundingBox]
730
704
  attr_accessor :normalized_bounding_box
731
705
 
732
- # Time-offset, relative to the beginning of the video,
733
- # corresponding to the video frame for this object.
706
+ # Time-offset, relative to the beginning of the video, corresponding to the
707
+ # video frame for this object.
734
708
  # Corresponds to the JSON property `timeOffset`
735
709
  # @return [String]
736
710
  attr_accessor :time_offset
@@ -789,20 +763,19 @@ module Google
789
763
  class GoogleCloudVideointelligenceV1VideoAnnotationProgress
790
764
  include Google::Apis::Core::Hashable
791
765
 
792
- # Specifies which feature is being tracked if the request contains more than
793
- # one feature.
766
+ # Specifies which feature is being tracked if the request contains more than one
767
+ # feature.
794
768
  # Corresponds to the JSON property `feature`
795
769
  # @return [String]
796
770
  attr_accessor :feature
797
771
 
798
- # Video file location in
799
- # [Cloud Storage](https://cloud.google.com/storage/).
772
+ # Video file location in [Cloud Storage](https://cloud.google.com/storage/).
800
773
  # Corresponds to the JSON property `inputUri`
801
774
  # @return [String]
802
775
  attr_accessor :input_uri
803
776
 
804
- # Approximate percentage processed thus far. Guaranteed to be
805
- # 100 when fully processed.
777
+ # Approximate percentage processed thus far. Guaranteed to be 100 when fully
778
+ # processed.
806
779
  # Corresponds to the JSON property `progressPercent`
807
780
  # @return [Fixnum]
808
781
  attr_accessor :progress_percent
@@ -841,31 +814,30 @@ module Google
841
814
  class GoogleCloudVideointelligenceV1VideoAnnotationResults
842
815
  include Google::Apis::Core::Hashable
843
816
 
844
- # The `Status` type defines a logical error model that is suitable for
845
- # different programming environments, including REST APIs and RPC APIs. It is
846
- # used by [gRPC](https://github.com/grpc). Each `Status` message contains
847
- # three pieces of data: error code, error message, and error details.
848
- # You can find out more about this error model and how to work with it in the
849
- # [API Design Guide](https://cloud.google.com/apis/design/errors).
817
+ # The `Status` type defines a logical error model that is suitable for different
818
+ # programming environments, including REST APIs and RPC APIs. It is used by [
819
+ # gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
820
+ # data: error code, error message, and error details. You can find out more
821
+ # about this error model and how to work with it in the [API Design Guide](https:
822
+ # //cloud.google.com/apis/design/errors).
850
823
  # Corresponds to the JSON property `error`
851
824
  # @return [Google::Apis::VideointelligenceV1p2beta1::GoogleRpcStatus]
852
825
  attr_accessor :error
853
826
 
854
- # Explicit content annotation (based on per-frame visual signals only).
855
- # If no explicit content has been detected in a frame, no annotations are
856
- # present for that frame.
827
+ # Explicit content annotation (based on per-frame visual signals only). If no
828
+ # explicit content has been detected in a frame, no annotations are present for
829
+ # that frame.
857
830
  # Corresponds to the JSON property `explicitAnnotation`
858
831
  # @return [Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1ExplicitContentAnnotation]
859
832
  attr_accessor :explicit_annotation
860
833
 
861
- # Label annotations on frame level.
862
- # There is exactly one element for each unique label.
834
+ # Label annotations on frame level. There is exactly one element for each unique
835
+ # label.
863
836
  # Corresponds to the JSON property `frameLabelAnnotations`
864
837
  # @return [Array<Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1LabelAnnotation>]
865
838
  attr_accessor :frame_label_annotations
866
839
 
867
- # Video file location in
868
- # [Cloud Storage](https://cloud.google.com/storage/).
840
+ # Video file location in [Cloud Storage](https://cloud.google.com/storage/).
869
841
  # Corresponds to the JSON property `inputUri`
870
842
  # @return [String]
871
843
  attr_accessor :input_uri
@@ -892,11 +864,11 @@ module Google
892
864
  attr_accessor :segment_label_annotations
893
865
 
894
866
  # Presence label annotations on video level or user-specified segment level.
895
- # There is exactly one element for each unique label. Compared to the
896
- # existing topical `segment_label_annotations`, this field presents more
897
- # fine-grained, segment-level labels detected in video content and is made
898
- # available only when the client sets `LabelDetectionConfig.model` to
899
- # "builtin/latest" in the request.
867
+ # There is exactly one element for each unique label. Compared to the existing
868
+ # topical `segment_label_annotations`, this field presents more fine-grained,
869
+ # segment-level labels detected in video content and is made available only when
870
+ # the client sets `LabelDetectionConfig.model` to "builtin/latest" in the
871
+ # request.
900
872
  # Corresponds to the JSON property `segmentPresenceLabelAnnotations`
901
873
  # @return [Array<Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1LabelAnnotation>]
902
874
  attr_accessor :segment_presence_label_annotations
@@ -906,17 +878,17 @@ module Google
906
878
  # @return [Array<Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1VideoSegment>]
907
879
  attr_accessor :shot_annotations
908
880
 
909
- # Topical label annotations on shot level.
910
- # There is exactly one element for each unique label.
881
+ # Topical label annotations on shot level. There is exactly one element for each
882
+ # unique label.
911
883
  # Corresponds to the JSON property `shotLabelAnnotations`
912
884
  # @return [Array<Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1LabelAnnotation>]
913
885
  attr_accessor :shot_label_annotations
914
886
 
915
887
  # Presence label annotations on shot level. There is exactly one element for
916
- # each unique label. Compared to the existing topical
917
- # `shot_label_annotations`, this field presents more fine-grained, shot-level
918
- # labels detected in video content and is made available only when the client
919
- # sets `LabelDetectionConfig.model` to "builtin/latest" in the request.
888
+ # each unique label. Compared to the existing topical `shot_label_annotations`,
889
+ # this field presents more fine-grained, shot-level labels detected in video
890
+ # content and is made available only when the client sets `LabelDetectionConfig.
891
+ # model` to "builtin/latest" in the request.
920
892
  # Corresponds to the JSON property `shotPresenceLabelAnnotations`
921
893
  # @return [Array<Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1LabelAnnotation>]
922
894
  attr_accessor :shot_presence_label_annotations
@@ -926,9 +898,8 @@ module Google
926
898
  # @return [Array<Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1SpeechTranscription>]
927
899
  attr_accessor :speech_transcriptions
928
900
 
929
- # OCR text detection and tracking.
930
- # Annotations for list of detected text snippets. Each will have list of
931
- # frame information associated with it.
901
+ # OCR text detection and tracking. Annotations for list of detected text
902
+ # snippets. Each will have list of frame information associated with it.
932
903
  # Corresponds to the JSON property `textAnnotations`
933
904
  # @return [Array<Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1TextAnnotation>]
934
905
  attr_accessor :text_annotations
@@ -960,14 +931,14 @@ module Google
960
931
  class GoogleCloudVideointelligenceV1VideoSegment
961
932
  include Google::Apis::Core::Hashable
962
933
 
963
- # Time-offset, relative to the beginning of the video,
964
- # corresponding to the end of the segment (inclusive).
934
+ # Time-offset, relative to the beginning of the video, corresponding to the end
935
+ # of the segment (inclusive).
965
936
  # Corresponds to the JSON property `endTimeOffset`
966
937
  # @return [String]
967
938
  attr_accessor :end_time_offset
968
939
 
969
- # Time-offset, relative to the beginning of the video,
970
- # corresponding to the start of the segment (inclusive).
940
+ # Time-offset, relative to the beginning of the video, corresponding to the
941
+ # start of the segment (inclusive).
971
942
  # Corresponds to the JSON property `startTimeOffset`
972
943
  # @return [String]
973
944
  attr_accessor :start_time_offset
@@ -984,41 +955,41 @@ module Google
984
955
  end
985
956
 
986
957
  # Word-specific information for recognized words. Word information is only
987
- # included in the response when certain request parameters are set, such
988
- # as `enable_word_time_offsets`.
958
+ # included in the response when certain request parameters are set, such as `
959
+ # enable_word_time_offsets`.
989
960
  class GoogleCloudVideointelligenceV1WordInfo
990
961
  include Google::Apis::Core::Hashable
991
962
 
992
963
  # Output only. The confidence estimate between 0.0 and 1.0. A higher number
993
964
  # indicates an estimated greater likelihood that the recognized words are
994
- # correct. This field is set only for the top alternative.
995
- # This field is not guaranteed to be accurate and users should not rely on it
996
- # to be always provided.
997
- # The default of 0.0 is a sentinel value indicating `confidence` was not set.
965
+ # correct. This field is set only for the top alternative. This field is not
966
+ # guaranteed to be accurate and users should not rely on it to be always
967
+ # provided. The default of 0.0 is a sentinel value indicating `confidence` was
968
+ # not set.
998
969
  # Corresponds to the JSON property `confidence`
999
970
  # @return [Float]
1000
971
  attr_accessor :confidence
1001
972
 
1002
- # Time offset relative to the beginning of the audio, and
1003
- # corresponding to the end of the spoken word. This field is only set if
1004
- # `enable_word_time_offsets=true` and only in the top hypothesis. This is an
1005
- # experimental feature and the accuracy of the time offset can vary.
973
+ # Time offset relative to the beginning of the audio, and corresponding to the
974
+ # end of the spoken word. This field is only set if `enable_word_time_offsets=
975
+ # true` and only in the top hypothesis. This is an experimental feature and the
976
+ # accuracy of the time offset can vary.
1006
977
  # Corresponds to the JSON property `endTime`
1007
978
  # @return [String]
1008
979
  attr_accessor :end_time
1009
980
 
1010
- # Output only. A distinct integer value is assigned for every speaker within
1011
- # the audio. This field specifies which one of those speakers was detected to
1012
- # have spoken this word. Value ranges from 1 up to diarization_speaker_count,
1013
- # and is only set if speaker diarization is enabled.
981
+ # Output only. A distinct integer value is assigned for every speaker within the
982
+ # audio. This field specifies which one of those speakers was detected to have
983
+ # spoken this word. Value ranges from 1 up to diarization_speaker_count, and is
984
+ # only set if speaker diarization is enabled.
1014
985
  # Corresponds to the JSON property `speakerTag`
1015
986
  # @return [Fixnum]
1016
987
  attr_accessor :speaker_tag
1017
988
 
1018
- # Time offset relative to the beginning of the audio, and
1019
- # corresponding to the start of the spoken word. This field is only set if
1020
- # `enable_word_time_offsets=true` and only in the top hypothesis. This is an
1021
- # experimental feature and the accuracy of the time offset can vary.
989
+ # Time offset relative to the beginning of the audio, and corresponding to the
990
+ # start of the spoken word. This field is only set if `enable_word_time_offsets=
991
+ # true` and only in the top hypothesis. This is an experimental feature and the
992
+ # accuracy of the time offset can vary.
1022
993
  # Corresponds to the JSON property `startTime`
1023
994
  # @return [String]
1024
995
  attr_accessor :start_time
@@ -1042,9 +1013,9 @@ module Google
1042
1013
  end
1043
1014
  end
1044
1015
 
1045
- # Video annotation progress. Included in the `metadata`
1046
- # field of the `Operation` returned by the `GetOperation`
1047
- # call of the `google::longrunning::Operations` service.
1016
+ # Video annotation progress. Included in the `metadata` field of the `Operation`
1017
+ # returned by the `GetOperation` call of the `google::longrunning::Operations`
1018
+ # service.
1048
1019
  class GoogleCloudVideointelligenceV1beta2AnnotateVideoProgress
1049
1020
  include Google::Apis::Core::Hashable
1050
1021
 
@@ -1063,9 +1034,9 @@ module Google
1063
1034
  end
1064
1035
  end
1065
1036
 
1066
- # Video annotation response. Included in the `response`
1067
- # field of the `Operation` returned by the `GetOperation`
1068
- # call of the `google::longrunning::Operations` service.
1037
+ # Video annotation response. Included in the `response` field of the `Operation`
1038
+ # returned by the `GetOperation` call of the `google::longrunning::Operations`
1039
+ # service.
1069
1040
  class GoogleCloudVideointelligenceV1beta2AnnotateVideoResponse
1070
1041
  include Google::Apis::Core::Hashable
1071
1042
 
@@ -1093,14 +1064,14 @@ module Google
1093
1064
  # @return [Float]
1094
1065
  attr_accessor :confidence
1095
1066
 
1096
- # The name of the attribute, for example, glasses, dark_glasses, mouth_open.
1097
- # A full list of supported type names will be provided in the document.
1067
+ # The name of the attribute, for example, glasses, dark_glasses, mouth_open. A
1068
+ # full list of supported type names will be provided in the document.
1098
1069
  # Corresponds to the JSON property `name`
1099
1070
  # @return [String]
1100
1071
  attr_accessor :name
1101
1072
 
1102
- # Text value of the detection result. For example, the value for "HairColor"
1103
- # can be "black", "blonde", etc.
1073
+ # Text value of the detection result. For example, the value for "HairColor" can
1074
+ # be "black", "blonde", etc.
1104
1075
  # Corresponds to the JSON property `value`
1105
1076
  # @return [String]
1106
1077
  attr_accessor :value
@@ -1132,9 +1103,8 @@ module Google
1132
1103
  # @return [String]
1133
1104
  attr_accessor :name
1134
1105
 
1135
- # A vertex represents a 2D point in the image.
1136
- # NOTE: the normalized vertex coordinates are relative to the original image
1137
- # and range from 0 to 1.
1106
+ # A vertex represents a 2D point in the image. NOTE: the normalized vertex
1107
+ # coordinates are relative to the original image and range from 0 to 1.
1138
1108
  # Corresponds to the JSON property `point`
1139
1109
  # @return [Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1beta2NormalizedVertex]
1140
1110
  attr_accessor :point
@@ -1160,8 +1130,7 @@ module Google
1160
1130
  # @return [String]
1161
1131
  attr_accessor :description
1162
1132
 
1163
- # Opaque entity ID. Some IDs may be available in
1164
- # [Google Knowledge Graph Search
1133
+ # Opaque entity ID. Some IDs may be available in [Google Knowledge Graph Search
1165
1134
  # API](https://developers.google.com/knowledge-graph/).
1166
1135
  # Corresponds to the JSON property `entityId`
1167
1136
  # @return [String]
@@ -1184,9 +1153,9 @@ module Google
1184
1153
  end
1185
1154
  end
1186
1155
 
1187
- # Explicit content annotation (based on per-frame visual signals only).
1188
- # If no explicit content has been detected in a frame, no annotations are
1189
- # present for that frame.
1156
+ # Explicit content annotation (based on per-frame visual signals only). If no
1157
+ # explicit content has been detected in a frame, no annotations are present for
1158
+ # that frame.
1190
1159
  class GoogleCloudVideointelligenceV1beta2ExplicitContentAnnotation
1191
1160
  include Google::Apis::Core::Hashable
1192
1161
 
@@ -1241,10 +1210,9 @@ module Google
1241
1210
  class GoogleCloudVideointelligenceV1beta2LabelAnnotation
1242
1211
  include Google::Apis::Core::Hashable
1243
1212
 
1244
- # Common categories for the detected entity.
1245
- # For example, when the label is `Terrier`, the category is likely `dog`. And
1246
- # in some cases there might be more than one categories e.g., `Terrier` could
1247
- # also be a `pet`.
1213
+ # Common categories for the detected entity. For example, when the label is `
1214
+ # Terrier`, the category is likely `dog`. And in some cases there might be more
1215
+ # than one categories e.g., `Terrier` could also be a `pet`.
1248
1216
  # Corresponds to the JSON property `categoryEntities`
1249
1217
  # @return [Array<Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1beta2Entity>]
1250
1218
  attr_accessor :category_entities
@@ -1343,14 +1311,14 @@ module Google
1343
1311
  # @return [Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1beta2Entity]
1344
1312
  attr_accessor :entity
1345
1313
 
1346
- # All video segments where the recognized logo appears. There might be
1347
- # multiple instances of the same logo class appearing in one VideoSegment.
1314
+ # All video segments where the recognized logo appears. There might be multiple
1315
+ # instances of the same logo class appearing in one VideoSegment.
1348
1316
  # Corresponds to the JSON property `segments`
1349
1317
  # @return [Array<Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1beta2VideoSegment>]
1350
1318
  attr_accessor :segments
1351
1319
 
1352
- # All logo tracks where the recognized logo appears. Each track corresponds
1353
- # to one logo instance appearing in consecutive frames.
1320
+ # All logo tracks where the recognized logo appears. Each track corresponds to
1321
+ # one logo instance appearing in consecutive frames.
1354
1322
  # Corresponds to the JSON property `tracks`
1355
1323
  # @return [Array<Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1beta2Track>]
1356
1324
  attr_accessor :tracks
@@ -1367,9 +1335,8 @@ module Google
1367
1335
  end
1368
1336
  end
1369
1337
 
1370
- # Normalized bounding box.
1371
- # The normalized vertex coordinates are relative to the original image.
1372
- # Range: [0, 1].
1338
+ # Normalized bounding box. The normalized vertex coordinates are relative to the
1339
+ # original image. Range: [0, 1].
1373
1340
  class GoogleCloudVideointelligenceV1beta2NormalizedBoundingBox
1374
1341
  include Google::Apis::Core::Hashable
1375
1342
 
@@ -1407,20 +1374,12 @@ module Google
1407
1374
  end
1408
1375
 
1409
1376
  # Normalized bounding polygon for text (that might not be aligned with axis).
1410
- # Contains list of the corner points in clockwise order starting from
1411
- # top-left corner. For example, for a rectangular bounding box:
1412
- # When the text is horizontal it might look like:
1413
- # 0----1
1414
- # | |
1415
- # 3----2
1416
- # When it's clockwise rotated 180 degrees around the top-left corner it
1417
- # becomes:
1418
- # 2----3
1419
- # | |
1420
- # 1----0
1421
- # and the vertex order will still be (0, 1, 2, 3). Note that values can be less
1422
- # than 0, or greater than 1 due to trignometric calculations for location of
1423
- # the box.
1377
+ # Contains list of the corner points in clockwise order starting from top-left
1378
+ # corner. For example, for a rectangular bounding box: When the text is
1379
+ # horizontal it might look like: 0----1 | | 3----2 When it's clockwise rotated
1380
+ # 180 degrees around the top-left corner it becomes: 2----3 | | 1----0 and the
1381
+ # vertex order will still be (0, 1, 2, 3). Note that values can be less than 0,
1382
+ # or greater than 1 due to trignometric calculations for location of the box.
1424
1383
  class GoogleCloudVideointelligenceV1beta2NormalizedBoundingPoly
1425
1384
  include Google::Apis::Core::Hashable
1426
1385
 
@@ -1439,9 +1398,8 @@ module Google
1439
1398
  end
1440
1399
  end
1441
1400
 
1442
- # A vertex represents a 2D point in the image.
1443
- # NOTE: the normalized vertex coordinates are relative to the original image
1444
- # and range from 0 to 1.
1401
+ # A vertex represents a 2D point in the image. NOTE: the normalized vertex
1402
+ # coordinates are relative to the original image and range from 0 to 1.
1445
1403
  class GoogleCloudVideointelligenceV1beta2NormalizedVertex
1446
1404
  include Google::Apis::Core::Hashable
1447
1405
 
@@ -1480,10 +1438,10 @@ module Google
1480
1438
  # @return [Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1beta2Entity]
1481
1439
  attr_accessor :entity
1482
1440
 
1483
- # Information corresponding to all frames where this object track appears.
1484
- # Non-streaming batch mode: it may be one or multiple ObjectTrackingFrame
1485
- # messages in frames.
1486
- # Streaming mode: it can only be one ObjectTrackingFrame message in frames.
1441
+ # Information corresponding to all frames where this object track appears. Non-
1442
+ # streaming batch mode: it may be one or multiple ObjectTrackingFrame messages
1443
+ # in frames. Streaming mode: it can only be one ObjectTrackingFrame message in
1444
+ # frames.
1487
1445
  # Corresponds to the JSON property `frames`
1488
1446
  # @return [Array<Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1beta2ObjectTrackingFrame>]
1489
1447
  attr_accessor :frames
@@ -1493,12 +1451,11 @@ module Google
1493
1451
  # @return [Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1beta2VideoSegment]
1494
1452
  attr_accessor :segment
1495
1453
 
1496
- # Streaming mode ONLY.
1497
- # In streaming mode, we do not know the end time of a tracked object
1498
- # before it is completed. Hence, there is no VideoSegment info returned.
1499
- # Instead, we provide a unique identifiable integer track_id so that
1500
- # the customers can correlate the results of the ongoing
1501
- # ObjectTrackAnnotation of the same track_id over time.
1454
+ # Streaming mode ONLY. In streaming mode, we do not know the end time of a
1455
+ # tracked object before it is completed. Hence, there is no VideoSegment info
1456
+ # returned. Instead, we provide a unique identifiable integer track_id so that
1457
+ # the customers can correlate the results of the ongoing ObjectTrackAnnotation
1458
+ # of the same track_id over time.
1502
1459
  # Corresponds to the JSON property `trackId`
1503
1460
  # @return [Fixnum]
1504
1461
  attr_accessor :track_id
@@ -1528,9 +1485,8 @@ module Google
1528
1485
  class GoogleCloudVideointelligenceV1beta2ObjectTrackingFrame
1529
1486
  include Google::Apis::Core::Hashable
1530
1487
 
1531
- # Normalized bounding box.
1532
- # The normalized vertex coordinates are relative to the original image.
1533
- # Range: [0, 1].
1488
+ # Normalized bounding box. The normalized vertex coordinates are relative to the
1489
+ # original image. Range: [0, 1].
1534
1490
  # Corresponds to the JSON property `normalizedBoundingBox`
1535
1491
  # @return [Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1beta2NormalizedBoundingBox]
1536
1492
  attr_accessor :normalized_bounding_box
@@ -1557,10 +1513,10 @@ module Google
1557
1513
 
1558
1514
  # Output only. The confidence estimate between 0.0 and 1.0. A higher number
1559
1515
  # indicates an estimated greater likelihood that the recognized words are
1560
- # correct. This field is set only for the top alternative.
1561
- # This field is not guaranteed to be accurate and users should not rely on it
1562
- # to be always provided.
1563
- # The default of 0.0 is a sentinel value indicating `confidence` was not set.
1516
+ # correct. This field is set only for the top alternative. This field is not
1517
+ # guaranteed to be accurate and users should not rely on it to be always
1518
+ # provided. The default of 0.0 is a sentinel value indicating `confidence` was
1519
+ # not set.
1564
1520
  # Corresponds to the JSON property `confidence`
1565
1521
  # @return [Float]
1566
1522
  attr_accessor :confidence
@@ -1571,8 +1527,8 @@ module Google
1571
1527
  attr_accessor :transcript
1572
1528
 
1573
1529
  # Output only. A list of word-specific information for each recognized word.
1574
- # Note: When `enable_speaker_diarization` is set to true, you will see all
1575
- # the words from the beginning of the audio.
1530
+ # Note: When `enable_speaker_diarization` is set to true, you will see all the
1531
+ # words from the beginning of the audio.
1576
1532
  # Corresponds to the JSON property `words`
1577
1533
  # @return [Array<Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1beta2WordInfo>]
1578
1534
  attr_accessor :words
@@ -1593,18 +1549,17 @@ module Google
1593
1549
  class GoogleCloudVideointelligenceV1beta2SpeechTranscription
1594
1550
  include Google::Apis::Core::Hashable
1595
1551
 
1596
- # May contain one or more recognition hypotheses (up to the maximum specified
1597
- # in `max_alternatives`). These alternatives are ordered in terms of
1598
- # accuracy, with the top (first) alternative being the most probable, as
1599
- # ranked by the recognizer.
1552
+ # May contain one or more recognition hypotheses (up to the maximum specified in
1553
+ # `max_alternatives`). These alternatives are ordered in terms of accuracy, with
1554
+ # the top (first) alternative being the most probable, as ranked by the
1555
+ # recognizer.
1600
1556
  # Corresponds to the JSON property `alternatives`
1601
1557
  # @return [Array<Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1beta2SpeechRecognitionAlternative>]
1602
1558
  attr_accessor :alternatives
1603
1559
 
1604
1560
  # Output only. The [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt)
1605
- # language tag of
1606
- # the language in this result. This language code was detected to have the
1607
- # most likelihood of being spoken in the audio.
1561
+ # language tag of the language in this result. This language code was detected
1562
+ # to have the most likelihood of being spoken in the audio.
1608
1563
  # Corresponds to the JSON property `languageCode`
1609
1564
  # @return [String]
1610
1565
  attr_accessor :language_code
@@ -1653,27 +1608,19 @@ module Google
1653
1608
  end
1654
1609
  end
1655
1610
 
1656
- # Video frame level annotation results for text annotation (OCR).
1657
- # Contains information regarding timestamp and bounding box locations for the
1658
- # frames containing detected OCR text snippets.
1611
+ # Video frame level annotation results for text annotation (OCR). Contains
1612
+ # information regarding timestamp and bounding box locations for the frames
1613
+ # containing detected OCR text snippets.
1659
1614
  class GoogleCloudVideointelligenceV1beta2TextFrame
1660
1615
  include Google::Apis::Core::Hashable
1661
1616
 
1662
1617
  # Normalized bounding polygon for text (that might not be aligned with axis).
1663
- # Contains list of the corner points in clockwise order starting from
1664
- # top-left corner. For example, for a rectangular bounding box:
1665
- # When the text is horizontal it might look like:
1666
- # 0----1
1667
- # | |
1668
- # 3----2
1669
- # When it's clockwise rotated 180 degrees around the top-left corner it
1670
- # becomes:
1671
- # 2----3
1672
- # | |
1673
- # 1----0
1674
- # and the vertex order will still be (0, 1, 2, 3). Note that values can be less
1675
- # than 0, or greater than 1 due to trignometric calculations for location of
1676
- # the box.
1618
+ # Contains list of the corner points in clockwise order starting from top-left
1619
+ # corner. For example, for a rectangular bounding box: When the text is
1620
+ # horizontal it might look like: 0----1 | | 3----2 When it's clockwise rotated
1621
+ # 180 degrees around the top-left corner it becomes: 2----3 | | 1----0 and the
1622
+ # vertex order will still be (0, 1, 2, 3). Note that values can be less than 0,
1623
+ # or greater than 1 due to trignometric calculations for location of the box.
1677
1624
  # Corresponds to the JSON property `rotatedBoundingBox`
1678
1625
  # @return [Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1beta2NormalizedBoundingPoly]
1679
1626
  attr_accessor :rotated_bounding_box
@@ -1726,9 +1673,8 @@ module Google
1726
1673
  end
1727
1674
  end
1728
1675
 
1729
- # For tracking related features.
1730
- # An object at time_offset with attributes, and located with
1731
- # normalized_bounding_box.
1676
+ # For tracking related features. An object at time_offset with attributes, and
1677
+ # located with normalized_bounding_box.
1732
1678
  class GoogleCloudVideointelligenceV1beta2TimestampedObject
1733
1679
  include Google::Apis::Core::Hashable
1734
1680
 
@@ -1742,15 +1688,14 @@ module Google
1742
1688
  # @return [Array<Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1beta2DetectedLandmark>]
1743
1689
  attr_accessor :landmarks
1744
1690
 
1745
- # Normalized bounding box.
1746
- # The normalized vertex coordinates are relative to the original image.
1747
- # Range: [0, 1].
1691
+ # Normalized bounding box. The normalized vertex coordinates are relative to the
1692
+ # original image. Range: [0, 1].
1748
1693
  # Corresponds to the JSON property `normalizedBoundingBox`
1749
1694
  # @return [Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1beta2NormalizedBoundingBox]
1750
1695
  attr_accessor :normalized_bounding_box
1751
1696
 
1752
- # Time-offset, relative to the beginning of the video,
1753
- # corresponding to the video frame for this object.
1697
+ # Time-offset, relative to the beginning of the video, corresponding to the
1698
+ # video frame for this object.
1754
1699
  # Corresponds to the JSON property `timeOffset`
1755
1700
  # @return [String]
1756
1701
  attr_accessor :time_offset
@@ -1809,20 +1754,19 @@ module Google
1809
1754
  class GoogleCloudVideointelligenceV1beta2VideoAnnotationProgress
1810
1755
  include Google::Apis::Core::Hashable
1811
1756
 
1812
- # Specifies which feature is being tracked if the request contains more than
1813
- # one feature.
1757
+ # Specifies which feature is being tracked if the request contains more than one
1758
+ # feature.
1814
1759
  # Corresponds to the JSON property `feature`
1815
1760
  # @return [String]
1816
1761
  attr_accessor :feature
1817
1762
 
1818
- # Video file location in
1819
- # [Cloud Storage](https://cloud.google.com/storage/).
1763
+ # Video file location in [Cloud Storage](https://cloud.google.com/storage/).
1820
1764
  # Corresponds to the JSON property `inputUri`
1821
1765
  # @return [String]
1822
1766
  attr_accessor :input_uri
1823
1767
 
1824
- # Approximate percentage processed thus far. Guaranteed to be
1825
- # 100 when fully processed.
1768
+ # Approximate percentage processed thus far. Guaranteed to be 100 when fully
1769
+ # processed.
1826
1770
  # Corresponds to the JSON property `progressPercent`
1827
1771
  # @return [Fixnum]
1828
1772
  attr_accessor :progress_percent
@@ -1861,31 +1805,30 @@ module Google
1861
1805
  class GoogleCloudVideointelligenceV1beta2VideoAnnotationResults
1862
1806
  include Google::Apis::Core::Hashable
1863
1807
 
1864
- # The `Status` type defines a logical error model that is suitable for
1865
- # different programming environments, including REST APIs and RPC APIs. It is
1866
- # used by [gRPC](https://github.com/grpc). Each `Status` message contains
1867
- # three pieces of data: error code, error message, and error details.
1868
- # You can find out more about this error model and how to work with it in the
1869
- # [API Design Guide](https://cloud.google.com/apis/design/errors).
1808
+ # The `Status` type defines a logical error model that is suitable for different
1809
+ # programming environments, including REST APIs and RPC APIs. It is used by [
1810
+ # gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
1811
+ # data: error code, error message, and error details. You can find out more
1812
+ # about this error model and how to work with it in the [API Design Guide](https:
1813
+ # //cloud.google.com/apis/design/errors).
1870
1814
  # Corresponds to the JSON property `error`
1871
1815
  # @return [Google::Apis::VideointelligenceV1p2beta1::GoogleRpcStatus]
1872
1816
  attr_accessor :error
1873
1817
 
1874
- # Explicit content annotation (based on per-frame visual signals only).
1875
- # If no explicit content has been detected in a frame, no annotations are
1876
- # present for that frame.
1818
+ # Explicit content annotation (based on per-frame visual signals only). If no
1819
+ # explicit content has been detected in a frame, no annotations are present for
1820
+ # that frame.
1877
1821
  # Corresponds to the JSON property `explicitAnnotation`
1878
1822
  # @return [Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1beta2ExplicitContentAnnotation]
1879
1823
  attr_accessor :explicit_annotation
1880
1824
 
1881
- # Label annotations on frame level.
1882
- # There is exactly one element for each unique label.
1825
+ # Label annotations on frame level. There is exactly one element for each unique
1826
+ # label.
1883
1827
  # Corresponds to the JSON property `frameLabelAnnotations`
1884
1828
  # @return [Array<Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1beta2LabelAnnotation>]
1885
1829
  attr_accessor :frame_label_annotations
1886
1830
 
1887
- # Video file location in
1888
- # [Cloud Storage](https://cloud.google.com/storage/).
1831
+ # Video file location in [Cloud Storage](https://cloud.google.com/storage/).
1889
1832
  # Corresponds to the JSON property `inputUri`
1890
1833
  # @return [String]
1891
1834
  attr_accessor :input_uri
@@ -1912,11 +1855,11 @@ module Google
1912
1855
  attr_accessor :segment_label_annotations
1913
1856
 
1914
1857
  # Presence label annotations on video level or user-specified segment level.
1915
- # There is exactly one element for each unique label. Compared to the
1916
- # existing topical `segment_label_annotations`, this field presents more
1917
- # fine-grained, segment-level labels detected in video content and is made
1918
- # available only when the client sets `LabelDetectionConfig.model` to
1919
- # "builtin/latest" in the request.
1858
+ # There is exactly one element for each unique label. Compared to the existing
1859
+ # topical `segment_label_annotations`, this field presents more fine-grained,
1860
+ # segment-level labels detected in video content and is made available only when
1861
+ # the client sets `LabelDetectionConfig.model` to "builtin/latest" in the
1862
+ # request.
1920
1863
  # Corresponds to the JSON property `segmentPresenceLabelAnnotations`
1921
1864
  # @return [Array<Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1beta2LabelAnnotation>]
1922
1865
  attr_accessor :segment_presence_label_annotations
@@ -1926,17 +1869,17 @@ module Google
1926
1869
  # @return [Array<Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1beta2VideoSegment>]
1927
1870
  attr_accessor :shot_annotations
1928
1871
 
1929
- # Topical label annotations on shot level.
1930
- # There is exactly one element for each unique label.
1872
+ # Topical label annotations on shot level. There is exactly one element for each
1873
+ # unique label.
1931
1874
  # Corresponds to the JSON property `shotLabelAnnotations`
1932
1875
  # @return [Array<Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1beta2LabelAnnotation>]
1933
1876
  attr_accessor :shot_label_annotations
1934
1877
 
1935
1878
  # Presence label annotations on shot level. There is exactly one element for
1936
- # each unique label. Compared to the existing topical
1937
- # `shot_label_annotations`, this field presents more fine-grained, shot-level
1938
- # labels detected in video content and is made available only when the client
1939
- # sets `LabelDetectionConfig.model` to "builtin/latest" in the request.
1879
+ # each unique label. Compared to the existing topical `shot_label_annotations`,
1880
+ # this field presents more fine-grained, shot-level labels detected in video
1881
+ # content and is made available only when the client sets `LabelDetectionConfig.
1882
+ # model` to "builtin/latest" in the request.
1940
1883
  # Corresponds to the JSON property `shotPresenceLabelAnnotations`
1941
1884
  # @return [Array<Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1beta2LabelAnnotation>]
1942
1885
  attr_accessor :shot_presence_label_annotations
@@ -1946,9 +1889,8 @@ module Google
1946
1889
  # @return [Array<Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1beta2SpeechTranscription>]
1947
1890
  attr_accessor :speech_transcriptions
1948
1891
 
1949
- # OCR text detection and tracking.
1950
- # Annotations for list of detected text snippets. Each will have list of
1951
- # frame information associated with it.
1892
+ # OCR text detection and tracking. Annotations for list of detected text
1893
+ # snippets. Each will have list of frame information associated with it.
1952
1894
  # Corresponds to the JSON property `textAnnotations`
1953
1895
  # @return [Array<Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1beta2TextAnnotation>]
1954
1896
  attr_accessor :text_annotations
@@ -1980,14 +1922,14 @@ module Google
1980
1922
  class GoogleCloudVideointelligenceV1beta2VideoSegment
1981
1923
  include Google::Apis::Core::Hashable
1982
1924
 
1983
- # Time-offset, relative to the beginning of the video,
1984
- # corresponding to the end of the segment (inclusive).
1925
+ # Time-offset, relative to the beginning of the video, corresponding to the end
1926
+ # of the segment (inclusive).
1985
1927
  # Corresponds to the JSON property `endTimeOffset`
1986
1928
  # @return [String]
1987
1929
  attr_accessor :end_time_offset
1988
1930
 
1989
- # Time-offset, relative to the beginning of the video,
1990
- # corresponding to the start of the segment (inclusive).
1931
+ # Time-offset, relative to the beginning of the video, corresponding to the
1932
+ # start of the segment (inclusive).
1991
1933
  # Corresponds to the JSON property `startTimeOffset`
1992
1934
  # @return [String]
1993
1935
  attr_accessor :start_time_offset
@@ -2004,41 +1946,41 @@ module Google
2004
1946
  end
2005
1947
 
2006
1948
  # Word-specific information for recognized words. Word information is only
2007
- # included in the response when certain request parameters are set, such
2008
- # as `enable_word_time_offsets`.
1949
+ # included in the response when certain request parameters are set, such as `
1950
+ # enable_word_time_offsets`.
2009
1951
  class GoogleCloudVideointelligenceV1beta2WordInfo
2010
1952
  include Google::Apis::Core::Hashable
2011
1953
 
2012
1954
  # Output only. The confidence estimate between 0.0 and 1.0. A higher number
2013
1955
  # indicates an estimated greater likelihood that the recognized words are
2014
- # correct. This field is set only for the top alternative.
2015
- # This field is not guaranteed to be accurate and users should not rely on it
2016
- # to be always provided.
2017
- # The default of 0.0 is a sentinel value indicating `confidence` was not set.
1956
+ # correct. This field is set only for the top alternative. This field is not
1957
+ # guaranteed to be accurate and users should not rely on it to be always
1958
+ # provided. The default of 0.0 is a sentinel value indicating `confidence` was
1959
+ # not set.
2018
1960
  # Corresponds to the JSON property `confidence`
2019
1961
  # @return [Float]
2020
1962
  attr_accessor :confidence
2021
1963
 
2022
- # Time offset relative to the beginning of the audio, and
2023
- # corresponding to the end of the spoken word. This field is only set if
2024
- # `enable_word_time_offsets=true` and only in the top hypothesis. This is an
2025
- # experimental feature and the accuracy of the time offset can vary.
1964
+ # Time offset relative to the beginning of the audio, and corresponding to the
1965
+ # end of the spoken word. This field is only set if `enable_word_time_offsets=
1966
+ # true` and only in the top hypothesis. This is an experimental feature and the
1967
+ # accuracy of the time offset can vary.
2026
1968
  # Corresponds to the JSON property `endTime`
2027
1969
  # @return [String]
2028
1970
  attr_accessor :end_time
2029
1971
 
2030
- # Output only. A distinct integer value is assigned for every speaker within
2031
- # the audio. This field specifies which one of those speakers was detected to
2032
- # have spoken this word. Value ranges from 1 up to diarization_speaker_count,
2033
- # and is only set if speaker diarization is enabled.
1972
+ # Output only. A distinct integer value is assigned for every speaker within the
1973
+ # audio. This field specifies which one of those speakers was detected to have
1974
+ # spoken this word. Value ranges from 1 up to diarization_speaker_count, and is
1975
+ # only set if speaker diarization is enabled.
2034
1976
  # Corresponds to the JSON property `speakerTag`
2035
1977
  # @return [Fixnum]
2036
1978
  attr_accessor :speaker_tag
2037
1979
 
2038
- # Time offset relative to the beginning of the audio, and
2039
- # corresponding to the start of the spoken word. This field is only set if
2040
- # `enable_word_time_offsets=true` and only in the top hypothesis. This is an
2041
- # experimental feature and the accuracy of the time offset can vary.
1980
+ # Time offset relative to the beginning of the audio, and corresponding to the
1981
+ # start of the spoken word. This field is only set if `enable_word_time_offsets=
1982
+ # true` and only in the top hypothesis. This is an experimental feature and the
1983
+ # accuracy of the time offset can vary.
2042
1984
  # Corresponds to the JSON property `startTime`
2043
1985
  # @return [String]
2044
1986
  attr_accessor :start_time
@@ -2062,9 +2004,9 @@ module Google
2062
2004
  end
2063
2005
  end
2064
2006
 
2065
- # Video annotation progress. Included in the `metadata`
2066
- # field of the `Operation` returned by the `GetOperation`
2067
- # call of the `google::longrunning::Operations` service.
2007
+ # Video annotation progress. Included in the `metadata` field of the `Operation`
2008
+ # returned by the `GetOperation` call of the `google::longrunning::Operations`
2009
+ # service.
2068
2010
  class GoogleCloudVideointelligenceV1p1beta1AnnotateVideoProgress
2069
2011
  include Google::Apis::Core::Hashable
2070
2012
 
@@ -2083,9 +2025,9 @@ module Google
2083
2025
  end
2084
2026
  end
2085
2027
 
2086
- # Video annotation response. Included in the `response`
2087
- # field of the `Operation` returned by the `GetOperation`
2088
- # call of the `google::longrunning::Operations` service.
2028
+ # Video annotation response. Included in the `response` field of the `Operation`
2029
+ # returned by the `GetOperation` call of the `google::longrunning::Operations`
2030
+ # service.
2089
2031
  class GoogleCloudVideointelligenceV1p1beta1AnnotateVideoResponse
2090
2032
  include Google::Apis::Core::Hashable
2091
2033
 
@@ -2113,14 +2055,14 @@ module Google
2113
2055
  # @return [Float]
2114
2056
  attr_accessor :confidence
2115
2057
 
2116
- # The name of the attribute, for example, glasses, dark_glasses, mouth_open.
2117
- # A full list of supported type names will be provided in the document.
2058
+ # The name of the attribute, for example, glasses, dark_glasses, mouth_open. A
2059
+ # full list of supported type names will be provided in the document.
2118
2060
  # Corresponds to the JSON property `name`
2119
2061
  # @return [String]
2120
2062
  attr_accessor :name
2121
2063
 
2122
- # Text value of the detection result. For example, the value for "HairColor"
2123
- # can be "black", "blonde", etc.
2064
+ # Text value of the detection result. For example, the value for "HairColor" can
2065
+ # be "black", "blonde", etc.
2124
2066
  # Corresponds to the JSON property `value`
2125
2067
  # @return [String]
2126
2068
  attr_accessor :value
@@ -2152,9 +2094,8 @@ module Google
2152
2094
  # @return [String]
2153
2095
  attr_accessor :name
2154
2096
 
2155
- # A vertex represents a 2D point in the image.
2156
- # NOTE: the normalized vertex coordinates are relative to the original image
2157
- # and range from 0 to 1.
2097
+ # A vertex represents a 2D point in the image. NOTE: the normalized vertex
2098
+ # coordinates are relative to the original image and range from 0 to 1.
2158
2099
  # Corresponds to the JSON property `point`
2159
2100
  # @return [Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p1beta1NormalizedVertex]
2160
2101
  attr_accessor :point
@@ -2180,8 +2121,7 @@ module Google
2180
2121
  # @return [String]
2181
2122
  attr_accessor :description
2182
2123
 
2183
- # Opaque entity ID. Some IDs may be available in
2184
- # [Google Knowledge Graph Search
2124
+ # Opaque entity ID. Some IDs may be available in [Google Knowledge Graph Search
2185
2125
  # API](https://developers.google.com/knowledge-graph/).
2186
2126
  # Corresponds to the JSON property `entityId`
2187
2127
  # @return [String]
@@ -2204,9 +2144,9 @@ module Google
2204
2144
  end
2205
2145
  end
2206
2146
 
2207
- # Explicit content annotation (based on per-frame visual signals only).
2208
- # If no explicit content has been detected in a frame, no annotations are
2209
- # present for that frame.
2147
+ # Explicit content annotation (based on per-frame visual signals only). If no
2148
+ # explicit content has been detected in a frame, no annotations are present for
2149
+ # that frame.
2210
2150
  class GoogleCloudVideointelligenceV1p1beta1ExplicitContentAnnotation
2211
2151
  include Google::Apis::Core::Hashable
2212
2152
 
@@ -2261,10 +2201,9 @@ module Google
2261
2201
  class GoogleCloudVideointelligenceV1p1beta1LabelAnnotation
2262
2202
  include Google::Apis::Core::Hashable
2263
2203
 
2264
- # Common categories for the detected entity.
2265
- # For example, when the label is `Terrier`, the category is likely `dog`. And
2266
- # in some cases there might be more than one categories e.g., `Terrier` could
2267
- # also be a `pet`.
2204
+ # Common categories for the detected entity. For example, when the label is `
2205
+ # Terrier`, the category is likely `dog`. And in some cases there might be more
2206
+ # than one categories e.g., `Terrier` could also be a `pet`.
2268
2207
  # Corresponds to the JSON property `categoryEntities`
2269
2208
  # @return [Array<Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p1beta1Entity>]
2270
2209
  attr_accessor :category_entities
@@ -2363,14 +2302,14 @@ module Google
2363
2302
  # @return [Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p1beta1Entity]
2364
2303
  attr_accessor :entity
2365
2304
 
2366
- # All video segments where the recognized logo appears. There might be
2367
- # multiple instances of the same logo class appearing in one VideoSegment.
2305
+ # All video segments where the recognized logo appears. There might be multiple
2306
+ # instances of the same logo class appearing in one VideoSegment.
2368
2307
  # Corresponds to the JSON property `segments`
2369
2308
  # @return [Array<Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p1beta1VideoSegment>]
2370
2309
  attr_accessor :segments
2371
2310
 
2372
- # All logo tracks where the recognized logo appears. Each track corresponds
2373
- # to one logo instance appearing in consecutive frames.
2311
+ # All logo tracks where the recognized logo appears. Each track corresponds to
2312
+ # one logo instance appearing in consecutive frames.
2374
2313
  # Corresponds to the JSON property `tracks`
2375
2314
  # @return [Array<Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p1beta1Track>]
2376
2315
  attr_accessor :tracks
@@ -2387,9 +2326,8 @@ module Google
2387
2326
  end
2388
2327
  end
2389
2328
 
2390
- # Normalized bounding box.
2391
- # The normalized vertex coordinates are relative to the original image.
2392
- # Range: [0, 1].
2329
+ # Normalized bounding box. The normalized vertex coordinates are relative to the
2330
+ # original image. Range: [0, 1].
2393
2331
  class GoogleCloudVideointelligenceV1p1beta1NormalizedBoundingBox
2394
2332
  include Google::Apis::Core::Hashable
2395
2333
 
@@ -2427,20 +2365,12 @@ module Google
2427
2365
  end
2428
2366
 
2429
2367
  # Normalized bounding polygon for text (that might not be aligned with axis).
2430
- # Contains list of the corner points in clockwise order starting from
2431
- # top-left corner. For example, for a rectangular bounding box:
2432
- # When the text is horizontal it might look like:
2433
- # 0----1
2434
- # | |
2435
- # 3----2
2436
- # When it's clockwise rotated 180 degrees around the top-left corner it
2437
- # becomes:
2438
- # 2----3
2439
- # | |
2440
- # 1----0
2441
- # and the vertex order will still be (0, 1, 2, 3). Note that values can be less
2442
- # than 0, or greater than 1 due to trignometric calculations for location of
2443
- # the box.
2368
+ # Contains list of the corner points in clockwise order starting from top-left
2369
+ # corner. For example, for a rectangular bounding box: When the text is
2370
+ # horizontal it might look like: 0----1 | | 3----2 When it's clockwise rotated
2371
+ # 180 degrees around the top-left corner it becomes: 2----3 | | 1----0 and the
2372
+ # vertex order will still be (0, 1, 2, 3). Note that values can be less than 0,
2373
+ # or greater than 1 due to trignometric calculations for location of the box.
2444
2374
  class GoogleCloudVideointelligenceV1p1beta1NormalizedBoundingPoly
2445
2375
  include Google::Apis::Core::Hashable
2446
2376
 
@@ -2459,9 +2389,8 @@ module Google
2459
2389
  end
2460
2390
  end
2461
2391
 
2462
- # A vertex represents a 2D point in the image.
2463
- # NOTE: the normalized vertex coordinates are relative to the original image
2464
- # and range from 0 to 1.
2392
+ # A vertex represents a 2D point in the image. NOTE: the normalized vertex
2393
+ # coordinates are relative to the original image and range from 0 to 1.
2465
2394
  class GoogleCloudVideointelligenceV1p1beta1NormalizedVertex
2466
2395
  include Google::Apis::Core::Hashable
2467
2396
 
@@ -2500,10 +2429,10 @@ module Google
2500
2429
  # @return [Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p1beta1Entity]
2501
2430
  attr_accessor :entity
2502
2431
 
2503
- # Information corresponding to all frames where this object track appears.
2504
- # Non-streaming batch mode: it may be one or multiple ObjectTrackingFrame
2505
- # messages in frames.
2506
- # Streaming mode: it can only be one ObjectTrackingFrame message in frames.
2432
+ # Information corresponding to all frames where this object track appears. Non-
2433
+ # streaming batch mode: it may be one or multiple ObjectTrackingFrame messages
2434
+ # in frames. Streaming mode: it can only be one ObjectTrackingFrame message in
2435
+ # frames.
2507
2436
  # Corresponds to the JSON property `frames`
2508
2437
  # @return [Array<Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p1beta1ObjectTrackingFrame>]
2509
2438
  attr_accessor :frames
@@ -2513,12 +2442,11 @@ module Google
2513
2442
  # @return [Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p1beta1VideoSegment]
2514
2443
  attr_accessor :segment
2515
2444
 
2516
- # Streaming mode ONLY.
2517
- # In streaming mode, we do not know the end time of a tracked object
2518
- # before it is completed. Hence, there is no VideoSegment info returned.
2519
- # Instead, we provide a unique identifiable integer track_id so that
2520
- # the customers can correlate the results of the ongoing
2521
- # ObjectTrackAnnotation of the same track_id over time.
2445
+ # Streaming mode ONLY. In streaming mode, we do not know the end time of a
2446
+ # tracked object before it is completed. Hence, there is no VideoSegment info
2447
+ # returned. Instead, we provide a unique identifiable integer track_id so that
2448
+ # the customers can correlate the results of the ongoing ObjectTrackAnnotation
2449
+ # of the same track_id over time.
2522
2450
  # Corresponds to the JSON property `trackId`
2523
2451
  # @return [Fixnum]
2524
2452
  attr_accessor :track_id
@@ -2548,9 +2476,8 @@ module Google
2548
2476
  class GoogleCloudVideointelligenceV1p1beta1ObjectTrackingFrame
2549
2477
  include Google::Apis::Core::Hashable
2550
2478
 
2551
- # Normalized bounding box.
2552
- # The normalized vertex coordinates are relative to the original image.
2553
- # Range: [0, 1].
2479
+ # Normalized bounding box. The normalized vertex coordinates are relative to the
2480
+ # original image. Range: [0, 1].
2554
2481
  # Corresponds to the JSON property `normalizedBoundingBox`
2555
2482
  # @return [Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p1beta1NormalizedBoundingBox]
2556
2483
  attr_accessor :normalized_bounding_box
@@ -2577,10 +2504,10 @@ module Google
2577
2504
 
2578
2505
  # Output only. The confidence estimate between 0.0 and 1.0. A higher number
2579
2506
  # indicates an estimated greater likelihood that the recognized words are
2580
- # correct. This field is set only for the top alternative.
2581
- # This field is not guaranteed to be accurate and users should not rely on it
2582
- # to be always provided.
2583
- # The default of 0.0 is a sentinel value indicating `confidence` was not set.
2507
+ # correct. This field is set only for the top alternative. This field is not
2508
+ # guaranteed to be accurate and users should not rely on it to be always
2509
+ # provided. The default of 0.0 is a sentinel value indicating `confidence` was
2510
+ # not set.
2584
2511
  # Corresponds to the JSON property `confidence`
2585
2512
  # @return [Float]
2586
2513
  attr_accessor :confidence
@@ -2591,8 +2518,8 @@ module Google
2591
2518
  attr_accessor :transcript
2592
2519
 
2593
2520
  # Output only. A list of word-specific information for each recognized word.
2594
- # Note: When `enable_speaker_diarization` is set to true, you will see all
2595
- # the words from the beginning of the audio.
2521
+ # Note: When `enable_speaker_diarization` is set to true, you will see all the
2522
+ # words from the beginning of the audio.
2596
2523
  # Corresponds to the JSON property `words`
2597
2524
  # @return [Array<Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p1beta1WordInfo>]
2598
2525
  attr_accessor :words
@@ -2613,18 +2540,17 @@ module Google
2613
2540
  class GoogleCloudVideointelligenceV1p1beta1SpeechTranscription
2614
2541
  include Google::Apis::Core::Hashable
2615
2542
 
2616
- # May contain one or more recognition hypotheses (up to the maximum specified
2617
- # in `max_alternatives`). These alternatives are ordered in terms of
2618
- # accuracy, with the top (first) alternative being the most probable, as
2619
- # ranked by the recognizer.
2543
+ # May contain one or more recognition hypotheses (up to the maximum specified in
2544
+ # `max_alternatives`). These alternatives are ordered in terms of accuracy, with
2545
+ # the top (first) alternative being the most probable, as ranked by the
2546
+ # recognizer.
2620
2547
  # Corresponds to the JSON property `alternatives`
2621
2548
  # @return [Array<Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p1beta1SpeechRecognitionAlternative>]
2622
2549
  attr_accessor :alternatives
2623
2550
 
2624
2551
  # Output only. The [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt)
2625
- # language tag of
2626
- # the language in this result. This language code was detected to have the
2627
- # most likelihood of being spoken in the audio.
2552
+ # language tag of the language in this result. This language code was detected
2553
+ # to have the most likelihood of being spoken in the audio.
2628
2554
  # Corresponds to the JSON property `languageCode`
2629
2555
  # @return [String]
2630
2556
  attr_accessor :language_code
@@ -2673,27 +2599,19 @@ module Google
2673
2599
  end
2674
2600
  end
2675
2601
 
2676
- # Video frame level annotation results for text annotation (OCR).
2677
- # Contains information regarding timestamp and bounding box locations for the
2678
- # frames containing detected OCR text snippets.
2602
+ # Video frame level annotation results for text annotation (OCR). Contains
2603
+ # information regarding timestamp and bounding box locations for the frames
2604
+ # containing detected OCR text snippets.
2679
2605
  class GoogleCloudVideointelligenceV1p1beta1TextFrame
2680
2606
  include Google::Apis::Core::Hashable
2681
2607
 
2682
2608
  # Normalized bounding polygon for text (that might not be aligned with axis).
2683
- # Contains list of the corner points in clockwise order starting from
2684
- # top-left corner. For example, for a rectangular bounding box:
2685
- # When the text is horizontal it might look like:
2686
- # 0----1
2687
- # | |
2688
- # 3----2
2689
- # When it's clockwise rotated 180 degrees around the top-left corner it
2690
- # becomes:
2691
- # 2----3
2692
- # | |
2693
- # 1----0
2694
- # and the vertex order will still be (0, 1, 2, 3). Note that values can be less
2695
- # than 0, or greater than 1 due to trignometric calculations for location of
2696
- # the box.
2609
+ # Contains list of the corner points in clockwise order starting from top-left
2610
+ # corner. For example, for a rectangular bounding box: When the text is
2611
+ # horizontal it might look like: 0----1 | | 3----2 When it's clockwise rotated
2612
+ # 180 degrees around the top-left corner it becomes: 2----3 | | 1----0 and the
2613
+ # vertex order will still be (0, 1, 2, 3). Note that values can be less than 0,
2614
+ # or greater than 1 due to trignometric calculations for location of the box.
2697
2615
  # Corresponds to the JSON property `rotatedBoundingBox`
2698
2616
  # @return [Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p1beta1NormalizedBoundingPoly]
2699
2617
  attr_accessor :rotated_bounding_box
@@ -2746,9 +2664,8 @@ module Google
2746
2664
  end
2747
2665
  end
2748
2666
 
2749
- # For tracking related features.
2750
- # An object at time_offset with attributes, and located with
2751
- # normalized_bounding_box.
2667
+ # For tracking related features. An object at time_offset with attributes, and
2668
+ # located with normalized_bounding_box.
2752
2669
  class GoogleCloudVideointelligenceV1p1beta1TimestampedObject
2753
2670
  include Google::Apis::Core::Hashable
2754
2671
 
@@ -2762,15 +2679,14 @@ module Google
2762
2679
  # @return [Array<Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p1beta1DetectedLandmark>]
2763
2680
  attr_accessor :landmarks
2764
2681
 
2765
- # Normalized bounding box.
2766
- # The normalized vertex coordinates are relative to the original image.
2767
- # Range: [0, 1].
2682
+ # Normalized bounding box. The normalized vertex coordinates are relative to the
2683
+ # original image. Range: [0, 1].
2768
2684
  # Corresponds to the JSON property `normalizedBoundingBox`
2769
2685
  # @return [Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p1beta1NormalizedBoundingBox]
2770
2686
  attr_accessor :normalized_bounding_box
2771
2687
 
2772
- # Time-offset, relative to the beginning of the video,
2773
- # corresponding to the video frame for this object.
2688
+ # Time-offset, relative to the beginning of the video, corresponding to the
2689
+ # video frame for this object.
2774
2690
  # Corresponds to the JSON property `timeOffset`
2775
2691
  # @return [String]
2776
2692
  attr_accessor :time_offset
@@ -2829,20 +2745,19 @@ module Google
2829
2745
  class GoogleCloudVideointelligenceV1p1beta1VideoAnnotationProgress
2830
2746
  include Google::Apis::Core::Hashable
2831
2747
 
2832
- # Specifies which feature is being tracked if the request contains more than
2833
- # one feature.
2748
+ # Specifies which feature is being tracked if the request contains more than one
2749
+ # feature.
2834
2750
  # Corresponds to the JSON property `feature`
2835
2751
  # @return [String]
2836
2752
  attr_accessor :feature
2837
2753
 
2838
- # Video file location in
2839
- # [Cloud Storage](https://cloud.google.com/storage/).
2754
+ # Video file location in [Cloud Storage](https://cloud.google.com/storage/).
2840
2755
  # Corresponds to the JSON property `inputUri`
2841
2756
  # @return [String]
2842
2757
  attr_accessor :input_uri
2843
2758
 
2844
- # Approximate percentage processed thus far. Guaranteed to be
2845
- # 100 when fully processed.
2759
+ # Approximate percentage processed thus far. Guaranteed to be 100 when fully
2760
+ # processed.
2846
2761
  # Corresponds to the JSON property `progressPercent`
2847
2762
  # @return [Fixnum]
2848
2763
  attr_accessor :progress_percent
@@ -2881,31 +2796,30 @@ module Google
2881
2796
  class GoogleCloudVideointelligenceV1p1beta1VideoAnnotationResults
2882
2797
  include Google::Apis::Core::Hashable
2883
2798
 
2884
- # The `Status` type defines a logical error model that is suitable for
2885
- # different programming environments, including REST APIs and RPC APIs. It is
2886
- # used by [gRPC](https://github.com/grpc). Each `Status` message contains
2887
- # three pieces of data: error code, error message, and error details.
2888
- # You can find out more about this error model and how to work with it in the
2889
- # [API Design Guide](https://cloud.google.com/apis/design/errors).
2799
+ # The `Status` type defines a logical error model that is suitable for different
2800
+ # programming environments, including REST APIs and RPC APIs. It is used by [
2801
+ # gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
2802
+ # data: error code, error message, and error details. You can find out more
2803
+ # about this error model and how to work with it in the [API Design Guide](https:
2804
+ # //cloud.google.com/apis/design/errors).
2890
2805
  # Corresponds to the JSON property `error`
2891
2806
  # @return [Google::Apis::VideointelligenceV1p2beta1::GoogleRpcStatus]
2892
2807
  attr_accessor :error
2893
2808
 
2894
- # Explicit content annotation (based on per-frame visual signals only).
2895
- # If no explicit content has been detected in a frame, no annotations are
2896
- # present for that frame.
2809
+ # Explicit content annotation (based on per-frame visual signals only). If no
2810
+ # explicit content has been detected in a frame, no annotations are present for
2811
+ # that frame.
2897
2812
  # Corresponds to the JSON property `explicitAnnotation`
2898
2813
  # @return [Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p1beta1ExplicitContentAnnotation]
2899
2814
  attr_accessor :explicit_annotation
2900
2815
 
2901
- # Label annotations on frame level.
2902
- # There is exactly one element for each unique label.
2816
+ # Label annotations on frame level. There is exactly one element for each unique
2817
+ # label.
2903
2818
  # Corresponds to the JSON property `frameLabelAnnotations`
2904
2819
  # @return [Array<Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p1beta1LabelAnnotation>]
2905
2820
  attr_accessor :frame_label_annotations
2906
2821
 
2907
- # Video file location in
2908
- # [Cloud Storage](https://cloud.google.com/storage/).
2822
+ # Video file location in [Cloud Storage](https://cloud.google.com/storage/).
2909
2823
  # Corresponds to the JSON property `inputUri`
2910
2824
  # @return [String]
2911
2825
  attr_accessor :input_uri
@@ -2932,11 +2846,11 @@ module Google
2932
2846
  attr_accessor :segment_label_annotations
2933
2847
 
2934
2848
  # Presence label annotations on video level or user-specified segment level.
2935
- # There is exactly one element for each unique label. Compared to the
2936
- # existing topical `segment_label_annotations`, this field presents more
2937
- # fine-grained, segment-level labels detected in video content and is made
2938
- # available only when the client sets `LabelDetectionConfig.model` to
2939
- # "builtin/latest" in the request.
2849
+ # There is exactly one element for each unique label. Compared to the existing
2850
+ # topical `segment_label_annotations`, this field presents more fine-grained,
2851
+ # segment-level labels detected in video content and is made available only when
2852
+ # the client sets `LabelDetectionConfig.model` to "builtin/latest" in the
2853
+ # request.
2940
2854
  # Corresponds to the JSON property `segmentPresenceLabelAnnotations`
2941
2855
  # @return [Array<Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p1beta1LabelAnnotation>]
2942
2856
  attr_accessor :segment_presence_label_annotations
@@ -2946,17 +2860,17 @@ module Google
2946
2860
  # @return [Array<Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p1beta1VideoSegment>]
2947
2861
  attr_accessor :shot_annotations
2948
2862
 
2949
- # Topical label annotations on shot level.
2950
- # There is exactly one element for each unique label.
2863
+ # Topical label annotations on shot level. There is exactly one element for each
2864
+ # unique label.
2951
2865
  # Corresponds to the JSON property `shotLabelAnnotations`
2952
2866
  # @return [Array<Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p1beta1LabelAnnotation>]
2953
2867
  attr_accessor :shot_label_annotations
2954
2868
 
2955
2869
  # Presence label annotations on shot level. There is exactly one element for
2956
- # each unique label. Compared to the existing topical
2957
- # `shot_label_annotations`, this field presents more fine-grained, shot-level
2958
- # labels detected in video content and is made available only when the client
2959
- # sets `LabelDetectionConfig.model` to "builtin/latest" in the request.
2870
+ # each unique label. Compared to the existing topical `shot_label_annotations`,
2871
+ # this field presents more fine-grained, shot-level labels detected in video
2872
+ # content and is made available only when the client sets `LabelDetectionConfig.
2873
+ # model` to "builtin/latest" in the request.
2960
2874
  # Corresponds to the JSON property `shotPresenceLabelAnnotations`
2961
2875
  # @return [Array<Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p1beta1LabelAnnotation>]
2962
2876
  attr_accessor :shot_presence_label_annotations
@@ -2966,9 +2880,8 @@ module Google
2966
2880
  # @return [Array<Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p1beta1SpeechTranscription>]
2967
2881
  attr_accessor :speech_transcriptions
2968
2882
 
2969
- # OCR text detection and tracking.
2970
- # Annotations for list of detected text snippets. Each will have list of
2971
- # frame information associated with it.
2883
+ # OCR text detection and tracking. Annotations for list of detected text
2884
+ # snippets. Each will have list of frame information associated with it.
2972
2885
  # Corresponds to the JSON property `textAnnotations`
2973
2886
  # @return [Array<Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p1beta1TextAnnotation>]
2974
2887
  attr_accessor :text_annotations
@@ -3000,14 +2913,14 @@ module Google
3000
2913
  class GoogleCloudVideointelligenceV1p1beta1VideoSegment
3001
2914
  include Google::Apis::Core::Hashable
3002
2915
 
3003
- # Time-offset, relative to the beginning of the video,
3004
- # corresponding to the end of the segment (inclusive).
2916
+ # Time-offset, relative to the beginning of the video, corresponding to the end
2917
+ # of the segment (inclusive).
3005
2918
  # Corresponds to the JSON property `endTimeOffset`
3006
2919
  # @return [String]
3007
2920
  attr_accessor :end_time_offset
3008
2921
 
3009
- # Time-offset, relative to the beginning of the video,
3010
- # corresponding to the start of the segment (inclusive).
2922
+ # Time-offset, relative to the beginning of the video, corresponding to the
2923
+ # start of the segment (inclusive).
3011
2924
  # Corresponds to the JSON property `startTimeOffset`
3012
2925
  # @return [String]
3013
2926
  attr_accessor :start_time_offset
@@ -3024,41 +2937,41 @@ module Google
3024
2937
  end
3025
2938
 
3026
2939
  # Word-specific information for recognized words. Word information is only
3027
- # included in the response when certain request parameters are set, such
3028
- # as `enable_word_time_offsets`.
2940
+ # included in the response when certain request parameters are set, such as `
2941
+ # enable_word_time_offsets`.
3029
2942
  class GoogleCloudVideointelligenceV1p1beta1WordInfo
3030
2943
  include Google::Apis::Core::Hashable
3031
2944
 
3032
2945
  # Output only. The confidence estimate between 0.0 and 1.0. A higher number
3033
2946
  # indicates an estimated greater likelihood that the recognized words are
3034
- # correct. This field is set only for the top alternative.
3035
- # This field is not guaranteed to be accurate and users should not rely on it
3036
- # to be always provided.
3037
- # The default of 0.0 is a sentinel value indicating `confidence` was not set.
2947
+ # correct. This field is set only for the top alternative. This field is not
2948
+ # guaranteed to be accurate and users should not rely on it to be always
2949
+ # provided. The default of 0.0 is a sentinel value indicating `confidence` was
2950
+ # not set.
3038
2951
  # Corresponds to the JSON property `confidence`
3039
2952
  # @return [Float]
3040
2953
  attr_accessor :confidence
3041
2954
 
3042
- # Time offset relative to the beginning of the audio, and
3043
- # corresponding to the end of the spoken word. This field is only set if
3044
- # `enable_word_time_offsets=true` and only in the top hypothesis. This is an
3045
- # experimental feature and the accuracy of the time offset can vary.
2955
+ # Time offset relative to the beginning of the audio, and corresponding to the
2956
+ # end of the spoken word. This field is only set if `enable_word_time_offsets=
2957
+ # true` and only in the top hypothesis. This is an experimental feature and the
2958
+ # accuracy of the time offset can vary.
3046
2959
  # Corresponds to the JSON property `endTime`
3047
2960
  # @return [String]
3048
2961
  attr_accessor :end_time
3049
2962
 
3050
- # Output only. A distinct integer value is assigned for every speaker within
3051
- # the audio. This field specifies which one of those speakers was detected to
3052
- # have spoken this word. Value ranges from 1 up to diarization_speaker_count,
3053
- # and is only set if speaker diarization is enabled.
2963
+ # Output only. A distinct integer value is assigned for every speaker within the
2964
+ # audio. This field specifies which one of those speakers was detected to have
2965
+ # spoken this word. Value ranges from 1 up to diarization_speaker_count, and is
2966
+ # only set if speaker diarization is enabled.
3054
2967
  # Corresponds to the JSON property `speakerTag`
3055
2968
  # @return [Fixnum]
3056
2969
  attr_accessor :speaker_tag
3057
2970
 
3058
- # Time offset relative to the beginning of the audio, and
3059
- # corresponding to the start of the spoken word. This field is only set if
3060
- # `enable_word_time_offsets=true` and only in the top hypothesis. This is an
3061
- # experimental feature and the accuracy of the time offset can vary.
2971
+ # Time offset relative to the beginning of the audio, and corresponding to the
2972
+ # start of the spoken word. This field is only set if `enable_word_time_offsets=
2973
+ # true` and only in the top hypothesis. This is an experimental feature and the
2974
+ # accuracy of the time offset can vary.
3062
2975
  # Corresponds to the JSON property `startTime`
3063
2976
  # @return [String]
3064
2977
  attr_accessor :start_time
@@ -3082,9 +2995,9 @@ module Google
3082
2995
  end
3083
2996
  end
3084
2997
 
3085
- # Video annotation progress. Included in the `metadata`
3086
- # field of the `Operation` returned by the `GetOperation`
3087
- # call of the `google::longrunning::Operations` service.
2998
+ # Video annotation progress. Included in the `metadata` field of the `Operation`
2999
+ # returned by the `GetOperation` call of the `google::longrunning::Operations`
3000
+ # service.
3088
3001
  class GoogleCloudVideointelligenceV1p2beta1AnnotateVideoProgress
3089
3002
  include Google::Apis::Core::Hashable
3090
3003
 
@@ -3112,24 +3025,22 @@ module Google
3112
3025
  # @return [Array<String>]
3113
3026
  attr_accessor :features
3114
3027
 
3115
- # The video data bytes.
3116
- # If unset, the input video(s) should be specified via the `input_uri`.
3117
- # If set, `input_uri` must be unset.
3028
+ # The video data bytes. If unset, the input video(s) should be specified via the
3029
+ # `input_uri`. If set, `input_uri` must be unset.
3118
3030
  # Corresponds to the JSON property `inputContent`
3119
3031
  # NOTE: Values are automatically base64 encoded/decoded in the client library.
3120
3032
  # @return [String]
3121
3033
  attr_accessor :input_content
3122
3034
 
3123
- # Input video location. Currently, only
3124
- # [Cloud Storage](https://cloud.google.com/storage/) URIs are
3125
- # supported. URIs must be specified in the following format:
3126
- # `gs://bucket-id/object-id` (other URI formats return
3127
- # google.rpc.Code.INVALID_ARGUMENT). For more information, see
3128
- # [Request URIs](https://cloud.google.com/storage/docs/request-endpoints).
3129
- # To identify multiple videos, a video URI may include wildcards in the
3130
- # `object-id`. Supported wildcards: '*' to match 0 or more characters;
3131
- # '?' to match 1 character. If unset, the input video should be embedded
3132
- # in the request as `input_content`. If set, `input_content` must be unset.
3035
+ # Input video location. Currently, only [Cloud Storage](https://cloud.google.com/
3036
+ # storage/) URIs are supported. URIs must be specified in the following format: `
3037
+ # gs://bucket-id/object-id` (other URI formats return google.rpc.Code.
3038
+ # INVALID_ARGUMENT). For more information, see [Request URIs](https://cloud.
3039
+ # google.com/storage/docs/request-endpoints). To identify multiple videos, a
3040
+ # video URI may include wildcards in the `object-id`. Supported wildcards: '*'
3041
+ # to match 0 or more characters; '?' to match 1 character. If unset, the input
3042
+ # video should be embedded in the request as `input_content`. If set, `
3043
+ # input_content` must be unset.
3133
3044
  # Corresponds to the JSON property `inputUri`
3134
3045
  # @return [String]
3135
3046
  attr_accessor :input_uri
@@ -3143,11 +3054,11 @@ module Google
3143
3054
  attr_accessor :location_id
3144
3055
 
3145
3056
  # Optional. Location where the output (in JSON format) should be stored.
3146
- # Currently, only [Cloud Storage](https://cloud.google.com/storage/)
3147
- # URIs are supported. These must be specified in the following format:
3148
- # `gs://bucket-id/object-id` (other URI formats return
3149
- # google.rpc.Code.INVALID_ARGUMENT). For more information, see
3150
- # [Request URIs](https://cloud.google.com/storage/docs/request-endpoints).
3057
+ # Currently, only [Cloud Storage](https://cloud.google.com/storage/) URIs are
3058
+ # supported. These must be specified in the following format: `gs://bucket-id/
3059
+ # object-id` (other URI formats return google.rpc.Code.INVALID_ARGUMENT). For
3060
+ # more information, see [Request URIs](https://cloud.google.com/storage/docs/
3061
+ # request-endpoints).
3151
3062
  # Corresponds to the JSON property `outputUri`
3152
3063
  # @return [String]
3153
3064
  attr_accessor :output_uri
@@ -3172,9 +3083,9 @@ module Google
3172
3083
  end
3173
3084
  end
3174
3085
 
3175
- # Video annotation response. Included in the `response`
3176
- # field of the `Operation` returned by the `GetOperation`
3177
- # call of the `google::longrunning::Operations` service.
3086
+ # Video annotation response. Included in the `response` field of the `Operation`
3087
+ # returned by the `GetOperation` call of the `google::longrunning::Operations`
3088
+ # service.
3178
3089
  class GoogleCloudVideointelligenceV1p2beta1AnnotateVideoResponse
3179
3090
  include Google::Apis::Core::Hashable
3180
3091
 
@@ -3202,14 +3113,14 @@ module Google
3202
3113
  # @return [Float]
3203
3114
  attr_accessor :confidence
3204
3115
 
3205
- # The name of the attribute, for example, glasses, dark_glasses, mouth_open.
3206
- # A full list of supported type names will be provided in the document.
3116
+ # The name of the attribute, for example, glasses, dark_glasses, mouth_open. A
3117
+ # full list of supported type names will be provided in the document.
3207
3118
  # Corresponds to the JSON property `name`
3208
3119
  # @return [String]
3209
3120
  attr_accessor :name
3210
3121
 
3211
- # Text value of the detection result. For example, the value for "HairColor"
3212
- # can be "black", "blonde", etc.
3122
+ # Text value of the detection result. For example, the value for "HairColor" can
3123
+ # be "black", "blonde", etc.
3213
3124
  # Corresponds to the JSON property `value`
3214
3125
  # @return [String]
3215
3126
  attr_accessor :value
@@ -3241,9 +3152,8 @@ module Google
3241
3152
  # @return [String]
3242
3153
  attr_accessor :name
3243
3154
 
3244
- # A vertex represents a 2D point in the image.
3245
- # NOTE: the normalized vertex coordinates are relative to the original image
3246
- # and range from 0 to 1.
3155
+ # A vertex represents a 2D point in the image. NOTE: the normalized vertex
3156
+ # coordinates are relative to the original image and range from 0 to 1.
3247
3157
  # Corresponds to the JSON property `point`
3248
3158
  # @return [Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p2beta1NormalizedVertex]
3249
3159
  attr_accessor :point
@@ -3269,8 +3179,7 @@ module Google
3269
3179
  # @return [String]
3270
3180
  attr_accessor :description
3271
3181
 
3272
- # Opaque entity ID. Some IDs may be available in
3273
- # [Google Knowledge Graph Search
3182
+ # Opaque entity ID. Some IDs may be available in [Google Knowledge Graph Search
3274
3183
  # API](https://developers.google.com/knowledge-graph/).
3275
3184
  # Corresponds to the JSON property `entityId`
3276
3185
  # @return [String]
@@ -3293,9 +3202,9 @@ module Google
3293
3202
  end
3294
3203
  end
3295
3204
 
3296
- # Explicit content annotation (based on per-frame visual signals only).
3297
- # If no explicit content has been detected in a frame, no annotations are
3298
- # present for that frame.
3205
+ # Explicit content annotation (based on per-frame visual signals only). If no
3206
+ # explicit content has been detected in a frame, no annotations are present for
3207
+ # that frame.
3299
3208
  class GoogleCloudVideointelligenceV1p2beta1ExplicitContentAnnotation
3300
3209
  include Google::Apis::Core::Hashable
3301
3210
 
@@ -3324,9 +3233,8 @@ module Google
3324
3233
  class GoogleCloudVideointelligenceV1p2beta1ExplicitContentDetectionConfig
3325
3234
  include Google::Apis::Core::Hashable
3326
3235
 
3327
- # Model to use for explicit content detection.
3328
- # Supported values: "builtin/stable" (the default if unset) and
3329
- # "builtin/latest".
3236
+ # Model to use for explicit content detection. Supported values: "builtin/stable"
3237
+ # (the default if unset) and "builtin/latest".
3330
3238
  # Corresponds to the JSON property `model`
3331
3239
  # @return [String]
3332
3240
  attr_accessor :model
@@ -3371,10 +3279,9 @@ module Google
3371
3279
  class GoogleCloudVideointelligenceV1p2beta1LabelAnnotation
3372
3280
  include Google::Apis::Core::Hashable
3373
3281
 
3374
- # Common categories for the detected entity.
3375
- # For example, when the label is `Terrier`, the category is likely `dog`. And
3376
- # in some cases there might be more than one categories e.g., `Terrier` could
3377
- # also be a `pet`.
3282
+ # Common categories for the detected entity. For example, when the label is `
3283
+ # Terrier`, the category is likely `dog`. And in some cases there might be more
3284
+ # than one categories e.g., `Terrier` could also be a `pet`.
3378
3285
  # Corresponds to the JSON property `categoryEntities`
3379
3286
  # @return [Array<Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p2beta1Entity>]
3380
3287
  attr_accessor :category_entities
@@ -3417,44 +3324,40 @@ module Google
3417
3324
  class GoogleCloudVideointelligenceV1p2beta1LabelDetectionConfig
3418
3325
  include Google::Apis::Core::Hashable
3419
3326
 
3420
- # The confidence threshold we perform filtering on the labels from
3421
- # frame-level detection. If not set, it is set to 0.4 by default. The valid
3422
- # range for this threshold is [0.1, 0.9]. Any value set outside of this
3423
- # range will be clipped.
3424
- # Note: For best results, follow the default threshold. We will update
3425
- # the default threshold everytime when we release a new model.
3327
+ # The confidence threshold we perform filtering on the labels from frame-level
3328
+ # detection. If not set, it is set to 0.4 by default. The valid range for this
3329
+ # threshold is [0.1, 0.9]. Any value set outside of this range will be clipped.
3330
+ # Note: For best results, follow the default threshold. We will update the
3331
+ # default threshold everytime when we release a new model.
3426
3332
  # Corresponds to the JSON property `frameConfidenceThreshold`
3427
3333
  # @return [Float]
3428
3334
  attr_accessor :frame_confidence_threshold
3429
3335
 
3430
- # What labels should be detected with LABEL_DETECTION, in addition to
3431
- # video-level labels or segment-level labels.
3432
- # If unspecified, defaults to `SHOT_MODE`.
3336
+ # What labels should be detected with LABEL_DETECTION, in addition to video-
3337
+ # level labels or segment-level labels. If unspecified, defaults to `SHOT_MODE`.
3433
3338
  # Corresponds to the JSON property `labelDetectionMode`
3434
3339
  # @return [String]
3435
3340
  attr_accessor :label_detection_mode
3436
3341
 
3437
- # Model to use for label detection.
3438
- # Supported values: "builtin/stable" (the default if unset) and
3439
- # "builtin/latest".
3342
+ # Model to use for label detection. Supported values: "builtin/stable" (the
3343
+ # default if unset) and "builtin/latest".
3440
3344
  # Corresponds to the JSON property `model`
3441
3345
  # @return [String]
3442
3346
  attr_accessor :model
3443
3347
 
3444
- # Whether the video has been shot from a stationary (i.e., non-moving)
3445
- # camera. When set to true, might improve detection accuracy for moving
3446
- # objects. Should be used with `SHOT_AND_FRAME_MODE` enabled.
3348
+ # Whether the video has been shot from a stationary (i.e., non-moving) camera.
3349
+ # When set to true, might improve detection accuracy for moving objects. Should
3350
+ # be used with `SHOT_AND_FRAME_MODE` enabled.
3447
3351
  # Corresponds to the JSON property `stationaryCamera`
3448
3352
  # @return [Boolean]
3449
3353
  attr_accessor :stationary_camera
3450
3354
  alias_method :stationary_camera?, :stationary_camera
3451
3355
 
3452
- # The confidence threshold we perform filtering on the labels from
3453
- # video-level and shot-level detections. If not set, it's set to 0.3 by
3454
- # default. The valid range for this threshold is [0.1, 0.9]. Any value set
3455
- # outside of this range will be clipped.
3456
- # Note: For best results, follow the default threshold. We will update
3457
- # the default threshold everytime when we release a new model.
3356
+ # The confidence threshold we perform filtering on the labels from video-level
3357
+ # and shot-level detections. If not set, it's set to 0.3 by default. The valid
3358
+ # range for this threshold is [0.1, 0.9]. Any value set outside of this range
3359
+ # will be clipped. Note: For best results, follow the default threshold. We will
3360
+ # update the default threshold everytime when we release a new model.
3458
3361
  # Corresponds to the JSON property `videoConfidenceThreshold`
3459
3362
  # @return [Float]
3460
3363
  attr_accessor :video_confidence_threshold
@@ -3533,14 +3436,14 @@ module Google
3533
3436
  # @return [Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p2beta1Entity]
3534
3437
  attr_accessor :entity
3535
3438
 
3536
- # All video segments where the recognized logo appears. There might be
3537
- # multiple instances of the same logo class appearing in one VideoSegment.
3439
+ # All video segments where the recognized logo appears. There might be multiple
3440
+ # instances of the same logo class appearing in one VideoSegment.
3538
3441
  # Corresponds to the JSON property `segments`
3539
3442
  # @return [Array<Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p2beta1VideoSegment>]
3540
3443
  attr_accessor :segments
3541
3444
 
3542
- # All logo tracks where the recognized logo appears. Each track corresponds
3543
- # to one logo instance appearing in consecutive frames.
3445
+ # All logo tracks where the recognized logo appears. Each track corresponds to
3446
+ # one logo instance appearing in consecutive frames.
3544
3447
  # Corresponds to the JSON property `tracks`
3545
3448
  # @return [Array<Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p2beta1Track>]
3546
3449
  attr_accessor :tracks
@@ -3557,9 +3460,8 @@ module Google
3557
3460
  end
3558
3461
  end
3559
3462
 
3560
- # Normalized bounding box.
3561
- # The normalized vertex coordinates are relative to the original image.
3562
- # Range: [0, 1].
3463
+ # Normalized bounding box. The normalized vertex coordinates are relative to the
3464
+ # original image. Range: [0, 1].
3563
3465
  class GoogleCloudVideointelligenceV1p2beta1NormalizedBoundingBox
3564
3466
  include Google::Apis::Core::Hashable
3565
3467
 
@@ -3597,20 +3499,12 @@ module Google
3597
3499
  end
3598
3500
 
3599
3501
  # Normalized bounding polygon for text (that might not be aligned with axis).
3600
- # Contains list of the corner points in clockwise order starting from
3601
- # top-left corner. For example, for a rectangular bounding box:
3602
- # When the text is horizontal it might look like:
3603
- # 0----1
3604
- # | |
3605
- # 3----2
3606
- # When it's clockwise rotated 180 degrees around the top-left corner it
3607
- # becomes:
3608
- # 2----3
3609
- # | |
3610
- # 1----0
3611
- # and the vertex order will still be (0, 1, 2, 3). Note that values can be less
3612
- # than 0, or greater than 1 due to trignometric calculations for location of
3613
- # the box.
3502
+ # Contains list of the corner points in clockwise order starting from top-left
3503
+ # corner. For example, for a rectangular bounding box: When the text is
3504
+ # horizontal it might look like: 0----1 | | 3----2 When it's clockwise rotated
3505
+ # 180 degrees around the top-left corner it becomes: 2----3 | | 1----0 and the
3506
+ # vertex order will still be (0, 1, 2, 3). Note that values can be less than 0,
3507
+ # or greater than 1 due to trignometric calculations for location of the box.
3614
3508
  class GoogleCloudVideointelligenceV1p2beta1NormalizedBoundingPoly
3615
3509
  include Google::Apis::Core::Hashable
3616
3510
 
@@ -3629,9 +3523,8 @@ module Google
3629
3523
  end
3630
3524
  end
3631
3525
 
3632
- # A vertex represents a 2D point in the image.
3633
- # NOTE: the normalized vertex coordinates are relative to the original image
3634
- # and range from 0 to 1.
3526
+ # A vertex represents a 2D point in the image. NOTE: the normalized vertex
3527
+ # coordinates are relative to the original image and range from 0 to 1.
3635
3528
  class GoogleCloudVideointelligenceV1p2beta1NormalizedVertex
3636
3529
  include Google::Apis::Core::Hashable
3637
3530
 
@@ -3670,10 +3563,10 @@ module Google
3670
3563
  # @return [Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p2beta1Entity]
3671
3564
  attr_accessor :entity
3672
3565
 
3673
- # Information corresponding to all frames where this object track appears.
3674
- # Non-streaming batch mode: it may be one or multiple ObjectTrackingFrame
3675
- # messages in frames.
3676
- # Streaming mode: it can only be one ObjectTrackingFrame message in frames.
3566
+ # Information corresponding to all frames where this object track appears. Non-
3567
+ # streaming batch mode: it may be one or multiple ObjectTrackingFrame messages
3568
+ # in frames. Streaming mode: it can only be one ObjectTrackingFrame message in
3569
+ # frames.
3677
3570
  # Corresponds to the JSON property `frames`
3678
3571
  # @return [Array<Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p2beta1ObjectTrackingFrame>]
3679
3572
  attr_accessor :frames
@@ -3683,12 +3576,11 @@ module Google
3683
3576
  # @return [Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p2beta1VideoSegment]
3684
3577
  attr_accessor :segment
3685
3578
 
3686
- # Streaming mode ONLY.
3687
- # In streaming mode, we do not know the end time of a tracked object
3688
- # before it is completed. Hence, there is no VideoSegment info returned.
3689
- # Instead, we provide a unique identifiable integer track_id so that
3690
- # the customers can correlate the results of the ongoing
3691
- # ObjectTrackAnnotation of the same track_id over time.
3579
+ # Streaming mode ONLY. In streaming mode, we do not know the end time of a
3580
+ # tracked object before it is completed. Hence, there is no VideoSegment info
3581
+ # returned. Instead, we provide a unique identifiable integer track_id so that
3582
+ # the customers can correlate the results of the ongoing ObjectTrackAnnotation
3583
+ # of the same track_id over time.
3692
3584
  # Corresponds to the JSON property `trackId`
3693
3585
  # @return [Fixnum]
3694
3586
  attr_accessor :track_id
@@ -3717,9 +3609,8 @@ module Google
3717
3609
  class GoogleCloudVideointelligenceV1p2beta1ObjectTrackingConfig
3718
3610
  include Google::Apis::Core::Hashable
3719
3611
 
3720
- # Model to use for object tracking.
3721
- # Supported values: "builtin/stable" (the default if unset) and
3722
- # "builtin/latest".
3612
+ # Model to use for object tracking. Supported values: "builtin/stable" (the
3613
+ # default if unset) and "builtin/latest".
3723
3614
  # Corresponds to the JSON property `model`
3724
3615
  # @return [String]
3725
3616
  attr_accessor :model
@@ -3739,9 +3630,8 @@ module Google
3739
3630
  class GoogleCloudVideointelligenceV1p2beta1ObjectTrackingFrame
3740
3631
  include Google::Apis::Core::Hashable
3741
3632
 
3742
- # Normalized bounding box.
3743
- # The normalized vertex coordinates are relative to the original image.
3744
- # Range: [0, 1].
3633
+ # Normalized bounding box. The normalized vertex coordinates are relative to the
3634
+ # original image. Range: [0, 1].
3745
3635
  # Corresponds to the JSON property `normalizedBoundingBox`
3746
3636
  # @return [Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p2beta1NormalizedBoundingBox]
3747
3637
  attr_accessor :normalized_bounding_box
@@ -3766,9 +3656,8 @@ module Google
3766
3656
  class GoogleCloudVideointelligenceV1p2beta1ShotChangeDetectionConfig
3767
3657
  include Google::Apis::Core::Hashable
3768
3658
 
3769
- # Model to use for shot change detection.
3770
- # Supported values: "builtin/stable" (the default if unset) and
3771
- # "builtin/latest".
3659
+ # Model to use for shot change detection. Supported values: "builtin/stable" (
3660
+ # the default if unset) and "builtin/latest".
3772
3661
  # Corresponds to the JSON property `model`
3773
3662
  # @return [String]
3774
3663
  attr_accessor :model
@@ -3788,12 +3677,12 @@ module Google
3788
3677
  class GoogleCloudVideointelligenceV1p2beta1SpeechContext
3789
3678
  include Google::Apis::Core::Hashable
3790
3679
 
3791
- # Optional. A list of strings containing words and phrases "hints" so that
3792
- # the speech recognition is more likely to recognize them. This can be used
3793
- # to improve the accuracy for specific words and phrases, for example, if
3794
- # specific commands are typically spoken by the user. This can also be used
3795
- # to add additional words to the vocabulary of the recognizer. See
3796
- # [usage limits](https://cloud.google.com/speech/limits#content).
3680
+ # Optional. A list of strings containing words and phrases "hints" so that the
3681
+ # speech recognition is more likely to recognize them. This can be used to
3682
+ # improve the accuracy for specific words and phrases, for example, if specific
3683
+ # commands are typically spoken by the user. This can also be used to add
3684
+ # additional words to the vocabulary of the recognizer. See [usage limits](https:
3685
+ # //cloud.google.com/speech/limits#content).
3797
3686
  # Corresponds to the JSON property `phrases`
3798
3687
  # @return [Array<String>]
3799
3688
  attr_accessor :phrases
@@ -3814,10 +3703,10 @@ module Google
3814
3703
 
3815
3704
  # Output only. The confidence estimate between 0.0 and 1.0. A higher number
3816
3705
  # indicates an estimated greater likelihood that the recognized words are
3817
- # correct. This field is set only for the top alternative.
3818
- # This field is not guaranteed to be accurate and users should not rely on it
3819
- # to be always provided.
3820
- # The default of 0.0 is a sentinel value indicating `confidence` was not set.
3706
+ # correct. This field is set only for the top alternative. This field is not
3707
+ # guaranteed to be accurate and users should not rely on it to be always
3708
+ # provided. The default of 0.0 is a sentinel value indicating `confidence` was
3709
+ # not set.
3821
3710
  # Corresponds to the JSON property `confidence`
3822
3711
  # @return [Float]
3823
3712
  attr_accessor :confidence
@@ -3828,8 +3717,8 @@ module Google
3828
3717
  attr_accessor :transcript
3829
3718
 
3830
3719
  # Output only. A list of word-specific information for each recognized word.
3831
- # Note: When `enable_speaker_diarization` is set to true, you will see all
3832
- # the words from the beginning of the audio.
3720
+ # Note: When `enable_speaker_diarization` is set to true, you will see all the
3721
+ # words from the beginning of the audio.
3833
3722
  # Corresponds to the JSON property `words`
3834
3723
  # @return [Array<Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p2beta1WordInfo>]
3835
3724
  attr_accessor :words
@@ -3850,18 +3739,17 @@ module Google
3850
3739
  class GoogleCloudVideointelligenceV1p2beta1SpeechTranscription
3851
3740
  include Google::Apis::Core::Hashable
3852
3741
 
3853
- # May contain one or more recognition hypotheses (up to the maximum specified
3854
- # in `max_alternatives`). These alternatives are ordered in terms of
3855
- # accuracy, with the top (first) alternative being the most probable, as
3856
- # ranked by the recognizer.
3742
+ # May contain one or more recognition hypotheses (up to the maximum specified in
3743
+ # `max_alternatives`). These alternatives are ordered in terms of accuracy, with
3744
+ # the top (first) alternative being the most probable, as ranked by the
3745
+ # recognizer.
3857
3746
  # Corresponds to the JSON property `alternatives`
3858
3747
  # @return [Array<Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p2beta1SpeechRecognitionAlternative>]
3859
3748
  attr_accessor :alternatives
3860
3749
 
3861
3750
  # Output only. The [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt)
3862
- # language tag of
3863
- # the language in this result. This language code was detected to have the
3864
- # most likelihood of being spoken in the audio.
3751
+ # language tag of the language in this result. This language code was detected
3752
+ # to have the most likelihood of being spoken in the audio.
3865
3753
  # Corresponds to the JSON property `languageCode`
3866
3754
  # @return [String]
3867
3755
  attr_accessor :language_code
@@ -3888,66 +3776,62 @@ module Google
3888
3776
  attr_accessor :audio_tracks
3889
3777
 
3890
3778
  # Optional. If set, specifies the estimated number of speakers in the
3891
- # conversation.
3892
- # If not set, defaults to '2'.
3893
- # Ignored unless enable_speaker_diarization is set to true.
3779
+ # conversation. If not set, defaults to '2'. Ignored unless
3780
+ # enable_speaker_diarization is set to true.
3894
3781
  # Corresponds to the JSON property `diarizationSpeakerCount`
3895
3782
  # @return [Fixnum]
3896
3783
  attr_accessor :diarization_speaker_count
3897
3784
 
3898
- # Optional. If 'true', adds punctuation to recognition result hypotheses.
3899
- # This feature is only available in select languages. Setting this for
3900
- # requests in other languages has no effect at all. The default 'false' value
3901
- # does not add punctuation to result hypotheses. NOTE: "This is currently
3902
- # offered as an experimental service, complimentary to all users. In the
3903
- # future this may be exclusively available as a premium feature."
3785
+ # Optional. If 'true', adds punctuation to recognition result hypotheses. This
3786
+ # feature is only available in select languages. Setting this for requests in
3787
+ # other languages has no effect at all. The default 'false' value does not add
3788
+ # punctuation to result hypotheses. NOTE: "This is currently offered as an
3789
+ # experimental service, complimentary to all users. In the future this may be
3790
+ # exclusively available as a premium feature."
3904
3791
  # Corresponds to the JSON property `enableAutomaticPunctuation`
3905
3792
  # @return [Boolean]
3906
3793
  attr_accessor :enable_automatic_punctuation
3907
3794
  alias_method :enable_automatic_punctuation?, :enable_automatic_punctuation
3908
3795
 
3909
- # Optional. If 'true', enables speaker detection for each recognized word in
3910
- # the top alternative of the recognition result using a speaker_tag provided
3911
- # in the WordInfo.
3912
- # Note: When this is true, we send all the words from the beginning of the
3913
- # audio for the top alternative in every consecutive response.
3914
- # This is done in order to improve our speaker tags as our models learn to
3915
- # identify the speakers in the conversation over time.
3796
+ # Optional. If 'true', enables speaker detection for each recognized word in the
3797
+ # top alternative of the recognition result using a speaker_tag provided in the
3798
+ # WordInfo. Note: When this is true, we send all the words from the beginning of
3799
+ # the audio for the top alternative in every consecutive response. This is done
3800
+ # in order to improve our speaker tags as our models learn to identify the
3801
+ # speakers in the conversation over time.
3916
3802
  # Corresponds to the JSON property `enableSpeakerDiarization`
3917
3803
  # @return [Boolean]
3918
3804
  attr_accessor :enable_speaker_diarization
3919
3805
  alias_method :enable_speaker_diarization?, :enable_speaker_diarization
3920
3806
 
3921
3807
  # Optional. If `true`, the top result includes a list of words and the
3922
- # confidence for those words. If `false`, no word-level confidence
3923
- # information is returned. The default is `false`.
3808
+ # confidence for those words. If `false`, no word-level confidence information
3809
+ # is returned. The default is `false`.
3924
3810
  # Corresponds to the JSON property `enableWordConfidence`
3925
3811
  # @return [Boolean]
3926
3812
  attr_accessor :enable_word_confidence
3927
3813
  alias_method :enable_word_confidence?, :enable_word_confidence
3928
3814
 
3929
- # Optional. If set to `true`, the server will attempt to filter out
3930
- # profanities, replacing all but the initial character in each filtered word
3931
- # with asterisks, e.g. "f***". If set to `false` or omitted, profanities
3932
- # won't be filtered out.
3815
+ # Optional. If set to `true`, the server will attempt to filter out profanities,
3816
+ # replacing all but the initial character in each filtered word with asterisks,
3817
+ # e.g. "f***". If set to `false` or omitted, profanities won't be filtered out.
3933
3818
  # Corresponds to the JSON property `filterProfanity`
3934
3819
  # @return [Boolean]
3935
3820
  attr_accessor :filter_profanity
3936
3821
  alias_method :filter_profanity?, :filter_profanity
3937
3822
 
3938
- # Required. *Required* The language of the supplied audio as a
3939
- # [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag.
3940
- # Example: "en-US".
3941
- # See [Language Support](https://cloud.google.com/speech/docs/languages)
3942
- # for a list of the currently supported language codes.
3823
+ # Required. *Required* The language of the supplied audio as a [BCP-47](https://
3824
+ # www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag. Example: "en-US". See [
3825
+ # Language Support](https://cloud.google.com/speech/docs/languages) for a list
3826
+ # of the currently supported language codes.
3943
3827
  # Corresponds to the JSON property `languageCode`
3944
3828
  # @return [String]
3945
3829
  attr_accessor :language_code
3946
3830
 
3947
3831
  # Optional. Maximum number of recognition hypotheses to be returned.
3948
3832
  # Specifically, the maximum number of `SpeechRecognitionAlternative` messages
3949
- # within each `SpeechTranscription`. The server may return fewer than
3950
- # `max_alternatives`. Valid values are `0`-`30`. A value of `0` or `1` will
3833
+ # within each `SpeechTranscription`. The server may return fewer than `
3834
+ # max_alternatives`. Valid values are `0`-`30`. A value of `0` or `1` will
3951
3835
  # return a maximum of one. If omitted, will return a maximum of one.
3952
3836
  # Corresponds to the JSON property `maxAlternatives`
3953
3837
  # @return [Fixnum]
@@ -4014,16 +3898,15 @@ module Google
4014
3898
  include Google::Apis::Core::Hashable
4015
3899
 
4016
3900
  # Language hint can be specified if the language to be detected is known a
4017
- # priori. It can increase the accuracy of the detection. Language hint must
4018
- # be language code in BCP-47 format.
4019
- # Automatic language detection is performed if no hint is provided.
3901
+ # priori. It can increase the accuracy of the detection. Language hint must be
3902
+ # language code in BCP-47 format. Automatic language detection is performed if
3903
+ # no hint is provided.
4020
3904
  # Corresponds to the JSON property `languageHints`
4021
3905
  # @return [Array<String>]
4022
3906
  attr_accessor :language_hints
4023
3907
 
4024
- # Model to use for text detection.
4025
- # Supported values: "builtin/stable" (the default if unset) and
4026
- # "builtin/latest".
3908
+ # Model to use for text detection. Supported values: "builtin/stable" (the
3909
+ # default if unset) and "builtin/latest".
4027
3910
  # Corresponds to the JSON property `model`
4028
3911
  # @return [String]
4029
3912
  attr_accessor :model
@@ -4039,27 +3922,19 @@ module Google
4039
3922
  end
4040
3923
  end
4041
3924
 
4042
- # Video frame level annotation results for text annotation (OCR).
4043
- # Contains information regarding timestamp and bounding box locations for the
4044
- # frames containing detected OCR text snippets.
3925
+ # Video frame level annotation results for text annotation (OCR). Contains
3926
+ # information regarding timestamp and bounding box locations for the frames
3927
+ # containing detected OCR text snippets.
4045
3928
  class GoogleCloudVideointelligenceV1p2beta1TextFrame
4046
3929
  include Google::Apis::Core::Hashable
4047
3930
 
4048
3931
  # Normalized bounding polygon for text (that might not be aligned with axis).
4049
- # Contains list of the corner points in clockwise order starting from
4050
- # top-left corner. For example, for a rectangular bounding box:
4051
- # When the text is horizontal it might look like:
4052
- # 0----1
4053
- # | |
4054
- # 3----2
4055
- # When it's clockwise rotated 180 degrees around the top-left corner it
4056
- # becomes:
4057
- # 2----3
4058
- # | |
4059
- # 1----0
4060
- # and the vertex order will still be (0, 1, 2, 3). Note that values can be less
4061
- # than 0, or greater than 1 due to trignometric calculations for location of
4062
- # the box.
3932
+ # Contains list of the corner points in clockwise order starting from top-left
3933
+ # corner. For example, for a rectangular bounding box: When the text is
3934
+ # horizontal it might look like: 0----1 | | 3----2 When it's clockwise rotated
3935
+ # 180 degrees around the top-left corner it becomes: 2----3 | | 1----0 and the
3936
+ # vertex order will still be (0, 1, 2, 3). Note that values can be less than 0,
3937
+ # or greater than 1 due to trignometric calculations for location of the box.
4063
3938
  # Corresponds to the JSON property `rotatedBoundingBox`
4064
3939
  # @return [Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p2beta1NormalizedBoundingPoly]
4065
3940
  attr_accessor :rotated_bounding_box
@@ -4112,9 +3987,8 @@ module Google
4112
3987
  end
4113
3988
  end
4114
3989
 
4115
- # For tracking related features.
4116
- # An object at time_offset with attributes, and located with
4117
- # normalized_bounding_box.
3990
+ # For tracking related features. An object at time_offset with attributes, and
3991
+ # located with normalized_bounding_box.
4118
3992
  class GoogleCloudVideointelligenceV1p2beta1TimestampedObject
4119
3993
  include Google::Apis::Core::Hashable
4120
3994
 
@@ -4128,15 +4002,14 @@ module Google
4128
4002
  # @return [Array<Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p2beta1DetectedLandmark>]
4129
4003
  attr_accessor :landmarks
4130
4004
 
4131
- # Normalized bounding box.
4132
- # The normalized vertex coordinates are relative to the original image.
4133
- # Range: [0, 1].
4005
+ # Normalized bounding box. The normalized vertex coordinates are relative to the
4006
+ # original image. Range: [0, 1].
4134
4007
  # Corresponds to the JSON property `normalizedBoundingBox`
4135
4008
  # @return [Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p2beta1NormalizedBoundingBox]
4136
4009
  attr_accessor :normalized_bounding_box
4137
4010
 
4138
- # Time-offset, relative to the beginning of the video,
4139
- # corresponding to the video frame for this object.
4011
+ # Time-offset, relative to the beginning of the video, corresponding to the
4012
+ # video frame for this object.
4140
4013
  # Corresponds to the JSON property `timeOffset`
4141
4014
  # @return [String]
4142
4015
  attr_accessor :time_offset
@@ -4195,20 +4068,19 @@ module Google
4195
4068
  class GoogleCloudVideointelligenceV1p2beta1VideoAnnotationProgress
4196
4069
  include Google::Apis::Core::Hashable
4197
4070
 
4198
- # Specifies which feature is being tracked if the request contains more than
4199
- # one feature.
4071
+ # Specifies which feature is being tracked if the request contains more than one
4072
+ # feature.
4200
4073
  # Corresponds to the JSON property `feature`
4201
4074
  # @return [String]
4202
4075
  attr_accessor :feature
4203
4076
 
4204
- # Video file location in
4205
- # [Cloud Storage](https://cloud.google.com/storage/).
4077
+ # Video file location in [Cloud Storage](https://cloud.google.com/storage/).
4206
4078
  # Corresponds to the JSON property `inputUri`
4207
4079
  # @return [String]
4208
4080
  attr_accessor :input_uri
4209
4081
 
4210
- # Approximate percentage processed thus far. Guaranteed to be
4211
- # 100 when fully processed.
4082
+ # Approximate percentage processed thus far. Guaranteed to be 100 when fully
4083
+ # processed.
4212
4084
  # Corresponds to the JSON property `progressPercent`
4213
4085
  # @return [Fixnum]
4214
4086
  attr_accessor :progress_percent
@@ -4247,31 +4119,30 @@ module Google
4247
4119
  class GoogleCloudVideointelligenceV1p2beta1VideoAnnotationResults
4248
4120
  include Google::Apis::Core::Hashable
4249
4121
 
4250
- # The `Status` type defines a logical error model that is suitable for
4251
- # different programming environments, including REST APIs and RPC APIs. It is
4252
- # used by [gRPC](https://github.com/grpc). Each `Status` message contains
4253
- # three pieces of data: error code, error message, and error details.
4254
- # You can find out more about this error model and how to work with it in the
4255
- # [API Design Guide](https://cloud.google.com/apis/design/errors).
4122
+ # The `Status` type defines a logical error model that is suitable for different
4123
+ # programming environments, including REST APIs and RPC APIs. It is used by [
4124
+ # gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
4125
+ # data: error code, error message, and error details. You can find out more
4126
+ # about this error model and how to work with it in the [API Design Guide](https:
4127
+ # //cloud.google.com/apis/design/errors).
4256
4128
  # Corresponds to the JSON property `error`
4257
4129
  # @return [Google::Apis::VideointelligenceV1p2beta1::GoogleRpcStatus]
4258
4130
  attr_accessor :error
4259
4131
 
4260
- # Explicit content annotation (based on per-frame visual signals only).
4261
- # If no explicit content has been detected in a frame, no annotations are
4262
- # present for that frame.
4132
+ # Explicit content annotation (based on per-frame visual signals only). If no
4133
+ # explicit content has been detected in a frame, no annotations are present for
4134
+ # that frame.
4263
4135
  # Corresponds to the JSON property `explicitAnnotation`
4264
4136
  # @return [Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p2beta1ExplicitContentAnnotation]
4265
4137
  attr_accessor :explicit_annotation
4266
4138
 
4267
- # Label annotations on frame level.
4268
- # There is exactly one element for each unique label.
4139
+ # Label annotations on frame level. There is exactly one element for each unique
4140
+ # label.
4269
4141
  # Corresponds to the JSON property `frameLabelAnnotations`
4270
4142
  # @return [Array<Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p2beta1LabelAnnotation>]
4271
4143
  attr_accessor :frame_label_annotations
4272
4144
 
4273
- # Video file location in
4274
- # [Cloud Storage](https://cloud.google.com/storage/).
4145
+ # Video file location in [Cloud Storage](https://cloud.google.com/storage/).
4275
4146
  # Corresponds to the JSON property `inputUri`
4276
4147
  # @return [String]
4277
4148
  attr_accessor :input_uri
@@ -4298,11 +4169,11 @@ module Google
4298
4169
  attr_accessor :segment_label_annotations
4299
4170
 
4300
4171
  # Presence label annotations on video level or user-specified segment level.
4301
- # There is exactly one element for each unique label. Compared to the
4302
- # existing topical `segment_label_annotations`, this field presents more
4303
- # fine-grained, segment-level labels detected in video content and is made
4304
- # available only when the client sets `LabelDetectionConfig.model` to
4305
- # "builtin/latest" in the request.
4172
+ # There is exactly one element for each unique label. Compared to the existing
4173
+ # topical `segment_label_annotations`, this field presents more fine-grained,
4174
+ # segment-level labels detected in video content and is made available only when
4175
+ # the client sets `LabelDetectionConfig.model` to "builtin/latest" in the
4176
+ # request.
4306
4177
  # Corresponds to the JSON property `segmentPresenceLabelAnnotations`
4307
4178
  # @return [Array<Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p2beta1LabelAnnotation>]
4308
4179
  attr_accessor :segment_presence_label_annotations
@@ -4312,17 +4183,17 @@ module Google
4312
4183
  # @return [Array<Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p2beta1VideoSegment>]
4313
4184
  attr_accessor :shot_annotations
4314
4185
 
4315
- # Topical label annotations on shot level.
4316
- # There is exactly one element for each unique label.
4186
+ # Topical label annotations on shot level. There is exactly one element for each
4187
+ # unique label.
4317
4188
  # Corresponds to the JSON property `shotLabelAnnotations`
4318
4189
  # @return [Array<Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p2beta1LabelAnnotation>]
4319
4190
  attr_accessor :shot_label_annotations
4320
4191
 
4321
4192
  # Presence label annotations on shot level. There is exactly one element for
4322
- # each unique label. Compared to the existing topical
4323
- # `shot_label_annotations`, this field presents more fine-grained, shot-level
4324
- # labels detected in video content and is made available only when the client
4325
- # sets `LabelDetectionConfig.model` to "builtin/latest" in the request.
4193
+ # each unique label. Compared to the existing topical `shot_label_annotations`,
4194
+ # this field presents more fine-grained, shot-level labels detected in video
4195
+ # content and is made available only when the client sets `LabelDetectionConfig.
4196
+ # model` to "builtin/latest" in the request.
4326
4197
  # Corresponds to the JSON property `shotPresenceLabelAnnotations`
4327
4198
  # @return [Array<Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p2beta1LabelAnnotation>]
4328
4199
  attr_accessor :shot_presence_label_annotations
@@ -4332,9 +4203,8 @@ module Google
4332
4203
  # @return [Array<Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p2beta1SpeechTranscription>]
4333
4204
  attr_accessor :speech_transcriptions
4334
4205
 
4335
- # OCR text detection and tracking.
4336
- # Annotations for list of detected text snippets. Each will have list of
4337
- # frame information associated with it.
4206
+ # OCR text detection and tracking. Annotations for list of detected text
4207
+ # snippets. Each will have list of frame information associated with it.
4338
4208
  # Corresponds to the JSON property `textAnnotations`
4339
4209
  # @return [Array<Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p2beta1TextAnnotation>]
4340
4210
  attr_accessor :text_annotations
@@ -4381,9 +4251,9 @@ module Google
4381
4251
  # @return [Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p2beta1ObjectTrackingConfig]
4382
4252
  attr_accessor :object_tracking_config
4383
4253
 
4384
- # Video segments to annotate. The segments may overlap and are not required
4385
- # to be contiguous or span the whole video. If unspecified, each video is
4386
- # treated as a single segment.
4254
+ # Video segments to annotate. The segments may overlap and are not required to
4255
+ # be contiguous or span the whole video. If unspecified, each video is treated
4256
+ # as a single segment.
4387
4257
  # Corresponds to the JSON property `segments`
4388
4258
  # @return [Array<Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p2beta1VideoSegment>]
4389
4259
  attr_accessor :segments
@@ -4423,14 +4293,14 @@ module Google
4423
4293
  class GoogleCloudVideointelligenceV1p2beta1VideoSegment
4424
4294
  include Google::Apis::Core::Hashable
4425
4295
 
4426
- # Time-offset, relative to the beginning of the video,
4427
- # corresponding to the end of the segment (inclusive).
4296
+ # Time-offset, relative to the beginning of the video, corresponding to the end
4297
+ # of the segment (inclusive).
4428
4298
  # Corresponds to the JSON property `endTimeOffset`
4429
4299
  # @return [String]
4430
4300
  attr_accessor :end_time_offset
4431
4301
 
4432
- # Time-offset, relative to the beginning of the video,
4433
- # corresponding to the start of the segment (inclusive).
4302
+ # Time-offset, relative to the beginning of the video, corresponding to the
4303
+ # start of the segment (inclusive).
4434
4304
  # Corresponds to the JSON property `startTimeOffset`
4435
4305
  # @return [String]
4436
4306
  attr_accessor :start_time_offset
@@ -4447,41 +4317,41 @@ module Google
4447
4317
  end
4448
4318
 
4449
4319
  # Word-specific information for recognized words. Word information is only
4450
- # included in the response when certain request parameters are set, such
4451
- # as `enable_word_time_offsets`.
4320
+ # included in the response when certain request parameters are set, such as `
4321
+ # enable_word_time_offsets`.
4452
4322
  class GoogleCloudVideointelligenceV1p2beta1WordInfo
4453
4323
  include Google::Apis::Core::Hashable
4454
4324
 
4455
4325
  # Output only. The confidence estimate between 0.0 and 1.0. A higher number
4456
4326
  # indicates an estimated greater likelihood that the recognized words are
4457
- # correct. This field is set only for the top alternative.
4458
- # This field is not guaranteed to be accurate and users should not rely on it
4459
- # to be always provided.
4460
- # The default of 0.0 is a sentinel value indicating `confidence` was not set.
4327
+ # correct. This field is set only for the top alternative. This field is not
4328
+ # guaranteed to be accurate and users should not rely on it to be always
4329
+ # provided. The default of 0.0 is a sentinel value indicating `confidence` was
4330
+ # not set.
4461
4331
  # Corresponds to the JSON property `confidence`
4462
4332
  # @return [Float]
4463
4333
  attr_accessor :confidence
4464
4334
 
4465
- # Time offset relative to the beginning of the audio, and
4466
- # corresponding to the end of the spoken word. This field is only set if
4467
- # `enable_word_time_offsets=true` and only in the top hypothesis. This is an
4468
- # experimental feature and the accuracy of the time offset can vary.
4335
+ # Time offset relative to the beginning of the audio, and corresponding to the
4336
+ # end of the spoken word. This field is only set if `enable_word_time_offsets=
4337
+ # true` and only in the top hypothesis. This is an experimental feature and the
4338
+ # accuracy of the time offset can vary.
4469
4339
  # Corresponds to the JSON property `endTime`
4470
4340
  # @return [String]
4471
4341
  attr_accessor :end_time
4472
4342
 
4473
- # Output only. A distinct integer value is assigned for every speaker within
4474
- # the audio. This field specifies which one of those speakers was detected to
4475
- # have spoken this word. Value ranges from 1 up to diarization_speaker_count,
4476
- # and is only set if speaker diarization is enabled.
4343
+ # Output only. A distinct integer value is assigned for every speaker within the
4344
+ # audio. This field specifies which one of those speakers was detected to have
4345
+ # spoken this word. Value ranges from 1 up to diarization_speaker_count, and is
4346
+ # only set if speaker diarization is enabled.
4477
4347
  # Corresponds to the JSON property `speakerTag`
4478
4348
  # @return [Fixnum]
4479
4349
  attr_accessor :speaker_tag
4480
4350
 
4481
- # Time offset relative to the beginning of the audio, and
4482
- # corresponding to the start of the spoken word. This field is only set if
4483
- # `enable_word_time_offsets=true` and only in the top hypothesis. This is an
4484
- # experimental feature and the accuracy of the time offset can vary.
4351
+ # Time offset relative to the beginning of the audio, and corresponding to the
4352
+ # start of the spoken word. This field is only set if `enable_word_time_offsets=
4353
+ # true` and only in the top hypothesis. This is an experimental feature and the
4354
+ # accuracy of the time offset can vary.
4485
4355
  # Corresponds to the JSON property `startTime`
4486
4356
  # @return [String]
4487
4357
  attr_accessor :start_time
@@ -4505,9 +4375,9 @@ module Google
4505
4375
  end
4506
4376
  end
4507
4377
 
4508
- # Video annotation progress. Included in the `metadata`
4509
- # field of the `Operation` returned by the `GetOperation`
4510
- # call of the `google::longrunning::Operations` service.
4378
+ # Video annotation progress. Included in the `metadata` field of the `Operation`
4379
+ # returned by the `GetOperation` call of the `google::longrunning::Operations`
4380
+ # service.
4511
4381
  class GoogleCloudVideointelligenceV1p3beta1AnnotateVideoProgress
4512
4382
  include Google::Apis::Core::Hashable
4513
4383
 
@@ -4526,9 +4396,9 @@ module Google
4526
4396
  end
4527
4397
  end
4528
4398
 
4529
- # Video annotation response. Included in the `response`
4530
- # field of the `Operation` returned by the `GetOperation`
4531
- # call of the `google::longrunning::Operations` service.
4399
+ # Video annotation response. Included in the `response` field of the `Operation`
4400
+ # returned by the `GetOperation` call of the `google::longrunning::Operations`
4401
+ # service.
4532
4402
  class GoogleCloudVideointelligenceV1p3beta1AnnotateVideoResponse
4533
4403
  include Google::Apis::Core::Hashable
4534
4404
 
@@ -4562,10 +4432,9 @@ module Google
4562
4432
  # @return [String]
4563
4433
  attr_accessor :display_name
4564
4434
 
4565
- # The resource name of the celebrity. Have the format
4566
- # `video-intelligence/kg-mid` indicates a celebrity from preloaded gallery.
4567
- # kg-mid is the id in Google knowledge graph, which is unique for the
4568
- # celebrity.
4435
+ # The resource name of the celebrity. Have the format `video-intelligence/kg-mid`
4436
+ # indicates a celebrity from preloaded gallery. kg-mid is the id in Google
4437
+ # knowledge graph, which is unique for the celebrity.
4569
4438
  # Corresponds to the JSON property `name`
4570
4439
  # @return [String]
4571
4440
  attr_accessor :name
@@ -4586,8 +4455,8 @@ module Google
4586
4455
  class GoogleCloudVideointelligenceV1p3beta1CelebrityRecognitionAnnotation
4587
4456
  include Google::Apis::Core::Hashable
4588
4457
 
4589
- # The tracks detected from the input video, including recognized celebrities
4590
- # and other detected faces in the video.
4458
+ # The tracks detected from the input video, including recognized celebrities and
4459
+ # other detected faces in the video.
4591
4460
  # Corresponds to the JSON property `celebrityTracks`
4592
4461
  # @return [Array<Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p3beta1CelebrityTrack>]
4593
4462
  attr_accessor :celebrity_tracks
@@ -4643,14 +4512,14 @@ module Google
4643
4512
  # @return [Float]
4644
4513
  attr_accessor :confidence
4645
4514
 
4646
- # The name of the attribute, for example, glasses, dark_glasses, mouth_open.
4647
- # A full list of supported type names will be provided in the document.
4515
+ # The name of the attribute, for example, glasses, dark_glasses, mouth_open. A
4516
+ # full list of supported type names will be provided in the document.
4648
4517
  # Corresponds to the JSON property `name`
4649
4518
  # @return [String]
4650
4519
  attr_accessor :name
4651
4520
 
4652
- # Text value of the detection result. For example, the value for "HairColor"
4653
- # can be "black", "blonde", etc.
4521
+ # Text value of the detection result. For example, the value for "HairColor" can
4522
+ # be "black", "blonde", etc.
4654
4523
  # Corresponds to the JSON property `value`
4655
4524
  # @return [String]
4656
4525
  attr_accessor :value
@@ -4682,9 +4551,8 @@ module Google
4682
4551
  # @return [String]
4683
4552
  attr_accessor :name
4684
4553
 
4685
- # A vertex represents a 2D point in the image.
4686
- # NOTE: the normalized vertex coordinates are relative to the original image
4687
- # and range from 0 to 1.
4554
+ # A vertex represents a 2D point in the image. NOTE: the normalized vertex
4555
+ # coordinates are relative to the original image and range from 0 to 1.
4688
4556
  # Corresponds to the JSON property `point`
4689
4557
  # @return [Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p3beta1NormalizedVertex]
4690
4558
  attr_accessor :point
@@ -4710,8 +4578,7 @@ module Google
4710
4578
  # @return [String]
4711
4579
  attr_accessor :description
4712
4580
 
4713
- # Opaque entity ID. Some IDs may be available in
4714
- # [Google Knowledge Graph Search
4581
+ # Opaque entity ID. Some IDs may be available in [Google Knowledge Graph Search
4715
4582
  # API](https://developers.google.com/knowledge-graph/).
4716
4583
  # Corresponds to the JSON property `entityId`
4717
4584
  # @return [String]
@@ -4734,9 +4601,9 @@ module Google
4734
4601
  end
4735
4602
  end
4736
4603
 
4737
- # Explicit content annotation (based on per-frame visual signals only).
4738
- # If no explicit content has been detected in a frame, no annotations are
4739
- # present for that frame.
4604
+ # Explicit content annotation (based on per-frame visual signals only). If no
4605
+ # explicit content has been detected in a frame, no annotations are present for
4606
+ # that frame.
4740
4607
  class GoogleCloudVideointelligenceV1p3beta1ExplicitContentAnnotation
4741
4608
  include Google::Apis::Core::Hashable
4742
4609
 
@@ -4823,10 +4690,9 @@ module Google
4823
4690
  class GoogleCloudVideointelligenceV1p3beta1LabelAnnotation
4824
4691
  include Google::Apis::Core::Hashable
4825
4692
 
4826
- # Common categories for the detected entity.
4827
- # For example, when the label is `Terrier`, the category is likely `dog`. And
4828
- # in some cases there might be more than one categories e.g., `Terrier` could
4829
- # also be a `pet`.
4693
+ # Common categories for the detected entity. For example, when the label is `
4694
+ # Terrier`, the category is likely `dog`. And in some cases there might be more
4695
+ # than one categories e.g., `Terrier` could also be a `pet`.
4830
4696
  # Corresponds to the JSON property `categoryEntities`
4831
4697
  # @return [Array<Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p3beta1Entity>]
4832
4698
  attr_accessor :category_entities
@@ -4925,14 +4791,14 @@ module Google
4925
4791
  # @return [Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p3beta1Entity]
4926
4792
  attr_accessor :entity
4927
4793
 
4928
- # All video segments where the recognized logo appears. There might be
4929
- # multiple instances of the same logo class appearing in one VideoSegment.
4794
+ # All video segments where the recognized logo appears. There might be multiple
4795
+ # instances of the same logo class appearing in one VideoSegment.
4930
4796
  # Corresponds to the JSON property `segments`
4931
4797
  # @return [Array<Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p3beta1VideoSegment>]
4932
4798
  attr_accessor :segments
4933
4799
 
4934
- # All logo tracks where the recognized logo appears. Each track corresponds
4935
- # to one logo instance appearing in consecutive frames.
4800
+ # All logo tracks where the recognized logo appears. Each track corresponds to
4801
+ # one logo instance appearing in consecutive frames.
4936
4802
  # Corresponds to the JSON property `tracks`
4937
4803
  # @return [Array<Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p3beta1Track>]
4938
4804
  attr_accessor :tracks
@@ -4949,9 +4815,8 @@ module Google
4949
4815
  end
4950
4816
  end
4951
4817
 
4952
- # Normalized bounding box.
4953
- # The normalized vertex coordinates are relative to the original image.
4954
- # Range: [0, 1].
4818
+ # Normalized bounding box. The normalized vertex coordinates are relative to the
4819
+ # original image. Range: [0, 1].
4955
4820
  class GoogleCloudVideointelligenceV1p3beta1NormalizedBoundingBox
4956
4821
  include Google::Apis::Core::Hashable
4957
4822
 
@@ -4989,20 +4854,12 @@ module Google
4989
4854
  end
4990
4855
 
4991
4856
  # Normalized bounding polygon for text (that might not be aligned with axis).
4992
- # Contains list of the corner points in clockwise order starting from
4993
- # top-left corner. For example, for a rectangular bounding box:
4994
- # When the text is horizontal it might look like:
4995
- # 0----1
4996
- # | |
4997
- # 3----2
4998
- # When it's clockwise rotated 180 degrees around the top-left corner it
4999
- # becomes:
5000
- # 2----3
5001
- # | |
5002
- # 1----0
5003
- # and the vertex order will still be (0, 1, 2, 3). Note that values can be less
5004
- # than 0, or greater than 1 due to trignometric calculations for location of
5005
- # the box.
4857
+ # Contains list of the corner points in clockwise order starting from top-left
4858
+ # corner. For example, for a rectangular bounding box: When the text is
4859
+ # horizontal it might look like: 0----1 | | 3----2 When it's clockwise rotated
4860
+ # 180 degrees around the top-left corner it becomes: 2----3 | | 1----0 and the
4861
+ # vertex order will still be (0, 1, 2, 3). Note that values can be less than 0,
4862
+ # or greater than 1 due to trignometric calculations for location of the box.
5006
4863
  class GoogleCloudVideointelligenceV1p3beta1NormalizedBoundingPoly
5007
4864
  include Google::Apis::Core::Hashable
5008
4865
 
@@ -5021,9 +4878,8 @@ module Google
5021
4878
  end
5022
4879
  end
5023
4880
 
5024
- # A vertex represents a 2D point in the image.
5025
- # NOTE: the normalized vertex coordinates are relative to the original image
5026
- # and range from 0 to 1.
4881
+ # A vertex represents a 2D point in the image. NOTE: the normalized vertex
4882
+ # coordinates are relative to the original image and range from 0 to 1.
5027
4883
  class GoogleCloudVideointelligenceV1p3beta1NormalizedVertex
5028
4884
  include Google::Apis::Core::Hashable
5029
4885
 
@@ -5062,10 +4918,10 @@ module Google
5062
4918
  # @return [Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p3beta1Entity]
5063
4919
  attr_accessor :entity
5064
4920
 
5065
- # Information corresponding to all frames where this object track appears.
5066
- # Non-streaming batch mode: it may be one or multiple ObjectTrackingFrame
5067
- # messages in frames.
5068
- # Streaming mode: it can only be one ObjectTrackingFrame message in frames.
4921
+ # Information corresponding to all frames where this object track appears. Non-
4922
+ # streaming batch mode: it may be one or multiple ObjectTrackingFrame messages
4923
+ # in frames. Streaming mode: it can only be one ObjectTrackingFrame message in
4924
+ # frames.
5069
4925
  # Corresponds to the JSON property `frames`
5070
4926
  # @return [Array<Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p3beta1ObjectTrackingFrame>]
5071
4927
  attr_accessor :frames
@@ -5075,12 +4931,11 @@ module Google
5075
4931
  # @return [Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p3beta1VideoSegment]
5076
4932
  attr_accessor :segment
5077
4933
 
5078
- # Streaming mode ONLY.
5079
- # In streaming mode, we do not know the end time of a tracked object
5080
- # before it is completed. Hence, there is no VideoSegment info returned.
5081
- # Instead, we provide a unique identifiable integer track_id so that
5082
- # the customers can correlate the results of the ongoing
5083
- # ObjectTrackAnnotation of the same track_id over time.
4934
+ # Streaming mode ONLY. In streaming mode, we do not know the end time of a
4935
+ # tracked object before it is completed. Hence, there is no VideoSegment info
4936
+ # returned. Instead, we provide a unique identifiable integer track_id so that
4937
+ # the customers can correlate the results of the ongoing ObjectTrackAnnotation
4938
+ # of the same track_id over time.
5084
4939
  # Corresponds to the JSON property `trackId`
5085
4940
  # @return [Fixnum]
5086
4941
  attr_accessor :track_id
@@ -5110,9 +4965,8 @@ module Google
5110
4965
  class GoogleCloudVideointelligenceV1p3beta1ObjectTrackingFrame
5111
4966
  include Google::Apis::Core::Hashable
5112
4967
 
5113
- # Normalized bounding box.
5114
- # The normalized vertex coordinates are relative to the original image.
5115
- # Range: [0, 1].
4968
+ # Normalized bounding box. The normalized vertex coordinates are relative to the
4969
+ # original image. Range: [0, 1].
5116
4970
  # Corresponds to the JSON property `normalizedBoundingBox`
5117
4971
  # @return [Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p3beta1NormalizedBoundingBox]
5118
4972
  attr_accessor :normalized_bounding_box
@@ -5189,10 +5043,10 @@ module Google
5189
5043
 
5190
5044
  # Output only. The confidence estimate between 0.0 and 1.0. A higher number
5191
5045
  # indicates an estimated greater likelihood that the recognized words are
5192
- # correct. This field is set only for the top alternative.
5193
- # This field is not guaranteed to be accurate and users should not rely on it
5194
- # to be always provided.
5195
- # The default of 0.0 is a sentinel value indicating `confidence` was not set.
5046
+ # correct. This field is set only for the top alternative. This field is not
5047
+ # guaranteed to be accurate and users should not rely on it to be always
5048
+ # provided. The default of 0.0 is a sentinel value indicating `confidence` was
5049
+ # not set.
5196
5050
  # Corresponds to the JSON property `confidence`
5197
5051
  # @return [Float]
5198
5052
  attr_accessor :confidence
@@ -5203,8 +5057,8 @@ module Google
5203
5057
  attr_accessor :transcript
5204
5058
 
5205
5059
  # Output only. A list of word-specific information for each recognized word.
5206
- # Note: When `enable_speaker_diarization` is set to true, you will see all
5207
- # the words from the beginning of the audio.
5060
+ # Note: When `enable_speaker_diarization` is set to true, you will see all the
5061
+ # words from the beginning of the audio.
5208
5062
  # Corresponds to the JSON property `words`
5209
5063
  # @return [Array<Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p3beta1WordInfo>]
5210
5064
  attr_accessor :words
@@ -5225,18 +5079,17 @@ module Google
5225
5079
  class GoogleCloudVideointelligenceV1p3beta1SpeechTranscription
5226
5080
  include Google::Apis::Core::Hashable
5227
5081
 
5228
- # May contain one or more recognition hypotheses (up to the maximum specified
5229
- # in `max_alternatives`). These alternatives are ordered in terms of
5230
- # accuracy, with the top (first) alternative being the most probable, as
5231
- # ranked by the recognizer.
5082
+ # May contain one or more recognition hypotheses (up to the maximum specified in
5083
+ # `max_alternatives`). These alternatives are ordered in terms of accuracy, with
5084
+ # the top (first) alternative being the most probable, as ranked by the
5085
+ # recognizer.
5232
5086
  # Corresponds to the JSON property `alternatives`
5233
5087
  # @return [Array<Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p3beta1SpeechRecognitionAlternative>]
5234
5088
  attr_accessor :alternatives
5235
5089
 
5236
5090
  # Output only. The [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt)
5237
- # language tag of
5238
- # the language in this result. This language code was detected to have the
5239
- # most likelihood of being spoken in the audio.
5091
+ # language tag of the language in this result. This language code was detected
5092
+ # to have the most likelihood of being spoken in the audio.
5240
5093
  # Corresponds to the JSON property `languageCode`
5241
5094
  # @return [String]
5242
5095
  attr_accessor :language_code
@@ -5252,32 +5105,31 @@ module Google
5252
5105
  end
5253
5106
  end
5254
5107
 
5255
- # `StreamingAnnotateVideoResponse` is the only message returned to the client
5256
- # by `StreamingAnnotateVideo`. A series of zero or more
5257
- # `StreamingAnnotateVideoResponse` messages are streamed back to the client.
5108
+ # `StreamingAnnotateVideoResponse` is the only message returned to the client by
5109
+ # `StreamingAnnotateVideo`. A series of zero or more `
5110
+ # StreamingAnnotateVideoResponse` messages are streamed back to the client.
5258
5111
  class GoogleCloudVideointelligenceV1p3beta1StreamingAnnotateVideoResponse
5259
5112
  include Google::Apis::Core::Hashable
5260
5113
 
5261
- # Streaming annotation results corresponding to a portion of the video
5262
- # that is currently being processed.
5114
+ # Streaming annotation results corresponding to a portion of the video that is
5115
+ # currently being processed.
5263
5116
  # Corresponds to the JSON property `annotationResults`
5264
5117
  # @return [Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p3beta1StreamingVideoAnnotationResults]
5265
5118
  attr_accessor :annotation_results
5266
5119
 
5267
- # Google Cloud Storage URI that stores annotation results of one
5268
- # streaming session in JSON format.
5269
- # It is the annotation_result_storage_directory
5270
- # from the request followed by '/cloud_project_number-session_id'.
5120
+ # Google Cloud Storage URI that stores annotation results of one streaming
5121
+ # session in JSON format. It is the annotation_result_storage_directory from the
5122
+ # request followed by '/cloud_project_number-session_id'.
5271
5123
  # Corresponds to the JSON property `annotationResultsUri`
5272
5124
  # @return [String]
5273
5125
  attr_accessor :annotation_results_uri
5274
5126
 
5275
- # The `Status` type defines a logical error model that is suitable for
5276
- # different programming environments, including REST APIs and RPC APIs. It is
5277
- # used by [gRPC](https://github.com/grpc). Each `Status` message contains
5278
- # three pieces of data: error code, error message, and error details.
5279
- # You can find out more about this error model and how to work with it in the
5280
- # [API Design Guide](https://cloud.google.com/apis/design/errors).
5127
+ # The `Status` type defines a logical error model that is suitable for different
5128
+ # programming environments, including REST APIs and RPC APIs. It is used by [
5129
+ # gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
5130
+ # data: error code, error message, and error details. You can find out more
5131
+ # about this error model and how to work with it in the [API Design Guide](https:
5132
+ # //cloud.google.com/apis/design/errors).
5281
5133
  # Corresponds to the JSON property `error`
5282
5134
  # @return [Google::Apis::VideointelligenceV1p2beta1::GoogleRpcStatus]
5283
5135
  attr_accessor :error
@@ -5294,14 +5146,14 @@ module Google
5294
5146
  end
5295
5147
  end
5296
5148
 
5297
- # Streaming annotation results corresponding to a portion of the video
5298
- # that is currently being processed.
5149
+ # Streaming annotation results corresponding to a portion of the video that is
5150
+ # currently being processed.
5299
5151
  class GoogleCloudVideointelligenceV1p3beta1StreamingVideoAnnotationResults
5300
5152
  include Google::Apis::Core::Hashable
5301
5153
 
5302
- # Explicit content annotation (based on per-frame visual signals only).
5303
- # If no explicit content has been detected in a frame, no annotations are
5304
- # present for that frame.
5154
+ # Explicit content annotation (based on per-frame visual signals only). If no
5155
+ # explicit content has been detected in a frame, no annotations are present for
5156
+ # that frame.
5305
5157
  # Corresponds to the JSON property `explicitAnnotation`
5306
5158
  # @return [Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p3beta1ExplicitContentAnnotation]
5307
5159
  attr_accessor :explicit_annotation
@@ -5367,27 +5219,19 @@ module Google
5367
5219
  end
5368
5220
  end
5369
5221
 
5370
- # Video frame level annotation results for text annotation (OCR).
5371
- # Contains information regarding timestamp and bounding box locations for the
5372
- # frames containing detected OCR text snippets.
5222
+ # Video frame level annotation results for text annotation (OCR). Contains
5223
+ # information regarding timestamp and bounding box locations for the frames
5224
+ # containing detected OCR text snippets.
5373
5225
  class GoogleCloudVideointelligenceV1p3beta1TextFrame
5374
5226
  include Google::Apis::Core::Hashable
5375
5227
 
5376
5228
  # Normalized bounding polygon for text (that might not be aligned with axis).
5377
- # Contains list of the corner points in clockwise order starting from
5378
- # top-left corner. For example, for a rectangular bounding box:
5379
- # When the text is horizontal it might look like:
5380
- # 0----1
5381
- # | |
5382
- # 3----2
5383
- # When it's clockwise rotated 180 degrees around the top-left corner it
5384
- # becomes:
5385
- # 2----3
5386
- # | |
5387
- # 1----0
5388
- # and the vertex order will still be (0, 1, 2, 3). Note that values can be less
5389
- # than 0, or greater than 1 due to trignometric calculations for location of
5390
- # the box.
5229
+ # Contains list of the corner points in clockwise order starting from top-left
5230
+ # corner. For example, for a rectangular bounding box: When the text is
5231
+ # horizontal it might look like: 0----1 | | 3----2 When it's clockwise rotated
5232
+ # 180 degrees around the top-left corner it becomes: 2----3 | | 1----0 and the
5233
+ # vertex order will still be (0, 1, 2, 3). Note that values can be less than 0,
5234
+ # or greater than 1 due to trignometric calculations for location of the box.
5391
5235
  # Corresponds to the JSON property `rotatedBoundingBox`
5392
5236
  # @return [Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p3beta1NormalizedBoundingPoly]
5393
5237
  attr_accessor :rotated_bounding_box
@@ -5440,9 +5284,8 @@ module Google
5440
5284
  end
5441
5285
  end
5442
5286
 
5443
- # For tracking related features.
5444
- # An object at time_offset with attributes, and located with
5445
- # normalized_bounding_box.
5287
+ # For tracking related features. An object at time_offset with attributes, and
5288
+ # located with normalized_bounding_box.
5446
5289
  class GoogleCloudVideointelligenceV1p3beta1TimestampedObject
5447
5290
  include Google::Apis::Core::Hashable
5448
5291
 
@@ -5456,15 +5299,14 @@ module Google
5456
5299
  # @return [Array<Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p3beta1DetectedLandmark>]
5457
5300
  attr_accessor :landmarks
5458
5301
 
5459
- # Normalized bounding box.
5460
- # The normalized vertex coordinates are relative to the original image.
5461
- # Range: [0, 1].
5302
+ # Normalized bounding box. The normalized vertex coordinates are relative to the
5303
+ # original image. Range: [0, 1].
5462
5304
  # Corresponds to the JSON property `normalizedBoundingBox`
5463
5305
  # @return [Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p3beta1NormalizedBoundingBox]
5464
5306
  attr_accessor :normalized_bounding_box
5465
5307
 
5466
- # Time-offset, relative to the beginning of the video,
5467
- # corresponding to the video frame for this object.
5308
+ # Time-offset, relative to the beginning of the video, corresponding to the
5309
+ # video frame for this object.
5468
5310
  # Corresponds to the JSON property `timeOffset`
5469
5311
  # @return [String]
5470
5312
  attr_accessor :time_offset
@@ -5523,20 +5365,19 @@ module Google
5523
5365
  class GoogleCloudVideointelligenceV1p3beta1VideoAnnotationProgress
5524
5366
  include Google::Apis::Core::Hashable
5525
5367
 
5526
- # Specifies which feature is being tracked if the request contains more than
5527
- # one feature.
5368
+ # Specifies which feature is being tracked if the request contains more than one
5369
+ # feature.
5528
5370
  # Corresponds to the JSON property `feature`
5529
5371
  # @return [String]
5530
5372
  attr_accessor :feature
5531
5373
 
5532
- # Video file location in
5533
- # [Cloud Storage](https://cloud.google.com/storage/).
5374
+ # Video file location in [Cloud Storage](https://cloud.google.com/storage/).
5534
5375
  # Corresponds to the JSON property `inputUri`
5535
5376
  # @return [String]
5536
5377
  attr_accessor :input_uri
5537
5378
 
5538
- # Approximate percentage processed thus far. Guaranteed to be
5539
- # 100 when fully processed.
5379
+ # Approximate percentage processed thus far. Guaranteed to be 100 when fully
5380
+ # processed.
5540
5381
  # Corresponds to the JSON property `progressPercent`
5541
5382
  # @return [Fixnum]
5542
5383
  attr_accessor :progress_percent
@@ -5580,19 +5421,19 @@ module Google
5580
5421
  # @return [Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p3beta1CelebrityRecognitionAnnotation]
5581
5422
  attr_accessor :celebrity_recognition_annotations
5582
5423
 
5583
- # The `Status` type defines a logical error model that is suitable for
5584
- # different programming environments, including REST APIs and RPC APIs. It is
5585
- # used by [gRPC](https://github.com/grpc). Each `Status` message contains
5586
- # three pieces of data: error code, error message, and error details.
5587
- # You can find out more about this error model and how to work with it in the
5588
- # [API Design Guide](https://cloud.google.com/apis/design/errors).
5424
+ # The `Status` type defines a logical error model that is suitable for different
5425
+ # programming environments, including REST APIs and RPC APIs. It is used by [
5426
+ # gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
5427
+ # data: error code, error message, and error details. You can find out more
5428
+ # about this error model and how to work with it in the [API Design Guide](https:
5429
+ # //cloud.google.com/apis/design/errors).
5589
5430
  # Corresponds to the JSON property `error`
5590
5431
  # @return [Google::Apis::VideointelligenceV1p2beta1::GoogleRpcStatus]
5591
5432
  attr_accessor :error
5592
5433
 
5593
- # Explicit content annotation (based on per-frame visual signals only).
5594
- # If no explicit content has been detected in a frame, no annotations are
5595
- # present for that frame.
5434
+ # Explicit content annotation (based on per-frame visual signals only). If no
5435
+ # explicit content has been detected in a frame, no annotations are present for
5436
+ # that frame.
5596
5437
  # Corresponds to the JSON property `explicitAnnotation`
5597
5438
  # @return [Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p3beta1ExplicitContentAnnotation]
5598
5439
  attr_accessor :explicit_annotation
@@ -5602,14 +5443,13 @@ module Google
5602
5443
  # @return [Array<Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p3beta1FaceDetectionAnnotation>]
5603
5444
  attr_accessor :face_detection_annotations
5604
5445
 
5605
- # Label annotations on frame level.
5606
- # There is exactly one element for each unique label.
5446
+ # Label annotations on frame level. There is exactly one element for each unique
5447
+ # label.
5607
5448
  # Corresponds to the JSON property `frameLabelAnnotations`
5608
5449
  # @return [Array<Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p3beta1LabelAnnotation>]
5609
5450
  attr_accessor :frame_label_annotations
5610
5451
 
5611
- # Video file location in
5612
- # [Cloud Storage](https://cloud.google.com/storage/).
5452
+ # Video file location in [Cloud Storage](https://cloud.google.com/storage/).
5613
5453
  # Corresponds to the JSON property `inputUri`
5614
5454
  # @return [String]
5615
5455
  attr_accessor :input_uri
@@ -5641,11 +5481,11 @@ module Google
5641
5481
  attr_accessor :segment_label_annotations
5642
5482
 
5643
5483
  # Presence label annotations on video level or user-specified segment level.
5644
- # There is exactly one element for each unique label. Compared to the
5645
- # existing topical `segment_label_annotations`, this field presents more
5646
- # fine-grained, segment-level labels detected in video content and is made
5647
- # available only when the client sets `LabelDetectionConfig.model` to
5648
- # "builtin/latest" in the request.
5484
+ # There is exactly one element for each unique label. Compared to the existing
5485
+ # topical `segment_label_annotations`, this field presents more fine-grained,
5486
+ # segment-level labels detected in video content and is made available only when
5487
+ # the client sets `LabelDetectionConfig.model` to "builtin/latest" in the
5488
+ # request.
5649
5489
  # Corresponds to the JSON property `segmentPresenceLabelAnnotations`
5650
5490
  # @return [Array<Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p3beta1LabelAnnotation>]
5651
5491
  attr_accessor :segment_presence_label_annotations
@@ -5655,17 +5495,17 @@ module Google
5655
5495
  # @return [Array<Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p3beta1VideoSegment>]
5656
5496
  attr_accessor :shot_annotations
5657
5497
 
5658
- # Topical label annotations on shot level.
5659
- # There is exactly one element for each unique label.
5498
+ # Topical label annotations on shot level. There is exactly one element for each
5499
+ # unique label.
5660
5500
  # Corresponds to the JSON property `shotLabelAnnotations`
5661
5501
  # @return [Array<Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p3beta1LabelAnnotation>]
5662
5502
  attr_accessor :shot_label_annotations
5663
5503
 
5664
5504
  # Presence label annotations on shot level. There is exactly one element for
5665
- # each unique label. Compared to the existing topical
5666
- # `shot_label_annotations`, this field presents more fine-grained, shot-level
5667
- # labels detected in video content and is made available only when the client
5668
- # sets `LabelDetectionConfig.model` to "builtin/latest" in the request.
5505
+ # each unique label. Compared to the existing topical `shot_label_annotations`,
5506
+ # this field presents more fine-grained, shot-level labels detected in video
5507
+ # content and is made available only when the client sets `LabelDetectionConfig.
5508
+ # model` to "builtin/latest" in the request.
5669
5509
  # Corresponds to the JSON property `shotPresenceLabelAnnotations`
5670
5510
  # @return [Array<Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p3beta1LabelAnnotation>]
5671
5511
  attr_accessor :shot_presence_label_annotations
@@ -5675,9 +5515,8 @@ module Google
5675
5515
  # @return [Array<Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p3beta1SpeechTranscription>]
5676
5516
  attr_accessor :speech_transcriptions
5677
5517
 
5678
- # OCR text detection and tracking.
5679
- # Annotations for list of detected text snippets. Each will have list of
5680
- # frame information associated with it.
5518
+ # OCR text detection and tracking. Annotations for list of detected text
5519
+ # snippets. Each will have list of frame information associated with it.
5681
5520
  # Corresponds to the JSON property `textAnnotations`
5682
5521
  # @return [Array<Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p3beta1TextAnnotation>]
5683
5522
  attr_accessor :text_annotations
@@ -5712,14 +5551,14 @@ module Google
5712
5551
  class GoogleCloudVideointelligenceV1p3beta1VideoSegment
5713
5552
  include Google::Apis::Core::Hashable
5714
5553
 
5715
- # Time-offset, relative to the beginning of the video,
5716
- # corresponding to the end of the segment (inclusive).
5554
+ # Time-offset, relative to the beginning of the video, corresponding to the end
5555
+ # of the segment (inclusive).
5717
5556
  # Corresponds to the JSON property `endTimeOffset`
5718
5557
  # @return [String]
5719
5558
  attr_accessor :end_time_offset
5720
5559
 
5721
- # Time-offset, relative to the beginning of the video,
5722
- # corresponding to the start of the segment (inclusive).
5560
+ # Time-offset, relative to the beginning of the video, corresponding to the
5561
+ # start of the segment (inclusive).
5723
5562
  # Corresponds to the JSON property `startTimeOffset`
5724
5563
  # @return [String]
5725
5564
  attr_accessor :start_time_offset
@@ -5736,41 +5575,41 @@ module Google
5736
5575
  end
5737
5576
 
5738
5577
  # Word-specific information for recognized words. Word information is only
5739
- # included in the response when certain request parameters are set, such
5740
- # as `enable_word_time_offsets`.
5578
+ # included in the response when certain request parameters are set, such as `
5579
+ # enable_word_time_offsets`.
5741
5580
  class GoogleCloudVideointelligenceV1p3beta1WordInfo
5742
5581
  include Google::Apis::Core::Hashable
5743
5582
 
5744
5583
  # Output only. The confidence estimate between 0.0 and 1.0. A higher number
5745
5584
  # indicates an estimated greater likelihood that the recognized words are
5746
- # correct. This field is set only for the top alternative.
5747
- # This field is not guaranteed to be accurate and users should not rely on it
5748
- # to be always provided.
5749
- # The default of 0.0 is a sentinel value indicating `confidence` was not set.
5585
+ # correct. This field is set only for the top alternative. This field is not
5586
+ # guaranteed to be accurate and users should not rely on it to be always
5587
+ # provided. The default of 0.0 is a sentinel value indicating `confidence` was
5588
+ # not set.
5750
5589
  # Corresponds to the JSON property `confidence`
5751
5590
  # @return [Float]
5752
5591
  attr_accessor :confidence
5753
5592
 
5754
- # Time offset relative to the beginning of the audio, and
5755
- # corresponding to the end of the spoken word. This field is only set if
5756
- # `enable_word_time_offsets=true` and only in the top hypothesis. This is an
5757
- # experimental feature and the accuracy of the time offset can vary.
5593
+ # Time offset relative to the beginning of the audio, and corresponding to the
5594
+ # end of the spoken word. This field is only set if `enable_word_time_offsets=
5595
+ # true` and only in the top hypothesis. This is an experimental feature and the
5596
+ # accuracy of the time offset can vary.
5758
5597
  # Corresponds to the JSON property `endTime`
5759
5598
  # @return [String]
5760
5599
  attr_accessor :end_time
5761
5600
 
5762
- # Output only. A distinct integer value is assigned for every speaker within
5763
- # the audio. This field specifies which one of those speakers was detected to
5764
- # have spoken this word. Value ranges from 1 up to diarization_speaker_count,
5765
- # and is only set if speaker diarization is enabled.
5601
+ # Output only. A distinct integer value is assigned for every speaker within the
5602
+ # audio. This field specifies which one of those speakers was detected to have
5603
+ # spoken this word. Value ranges from 1 up to diarization_speaker_count, and is
5604
+ # only set if speaker diarization is enabled.
5766
5605
  # Corresponds to the JSON property `speakerTag`
5767
5606
  # @return [Fixnum]
5768
5607
  attr_accessor :speaker_tag
5769
5608
 
5770
- # Time offset relative to the beginning of the audio, and
5771
- # corresponding to the start of the spoken word. This field is only set if
5772
- # `enable_word_time_offsets=true` and only in the top hypothesis. This is an
5773
- # experimental feature and the accuracy of the time offset can vary.
5609
+ # Time offset relative to the beginning of the audio, and corresponding to the
5610
+ # start of the spoken word. This field is only set if `enable_word_time_offsets=
5611
+ # true` and only in the top hypothesis. This is an experimental feature and the
5612
+ # accuracy of the time offset can vary.
5774
5613
  # Corresponds to the JSON property `startTime`
5775
5614
  # @return [String]
5776
5615
  attr_accessor :start_time
@@ -5799,47 +5638,45 @@ module Google
5799
5638
  class GoogleLongrunningOperation
5800
5639
  include Google::Apis::Core::Hashable
5801
5640
 
5802
- # If the value is `false`, it means the operation is still in progress.
5803
- # If `true`, the operation is completed, and either `error` or `response` is
5804
- # available.
5641
+ # If the value is `false`, it means the operation is still in progress. If `true`
5642
+ # , the operation is completed, and either `error` or `response` is available.
5805
5643
  # Corresponds to the JSON property `done`
5806
5644
  # @return [Boolean]
5807
5645
  attr_accessor :done
5808
5646
  alias_method :done?, :done
5809
5647
 
5810
- # The `Status` type defines a logical error model that is suitable for
5811
- # different programming environments, including REST APIs and RPC APIs. It is
5812
- # used by [gRPC](https://github.com/grpc). Each `Status` message contains
5813
- # three pieces of data: error code, error message, and error details.
5814
- # You can find out more about this error model and how to work with it in the
5815
- # [API Design Guide](https://cloud.google.com/apis/design/errors).
5648
+ # The `Status` type defines a logical error model that is suitable for different
5649
+ # programming environments, including REST APIs and RPC APIs. It is used by [
5650
+ # gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
5651
+ # data: error code, error message, and error details. You can find out more
5652
+ # about this error model and how to work with it in the [API Design Guide](https:
5653
+ # //cloud.google.com/apis/design/errors).
5816
5654
  # Corresponds to the JSON property `error`
5817
5655
  # @return [Google::Apis::VideointelligenceV1p2beta1::GoogleRpcStatus]
5818
5656
  attr_accessor :error
5819
5657
 
5820
- # Service-specific metadata associated with the operation. It typically
5821
- # contains progress information and common metadata such as create time.
5822
- # Some services might not provide such metadata. Any method that returns a
5823
- # long-running operation should document the metadata type, if any.
5658
+ # Service-specific metadata associated with the operation. It typically contains
5659
+ # progress information and common metadata such as create time. Some services
5660
+ # might not provide such metadata. Any method that returns a long-running
5661
+ # operation should document the metadata type, if any.
5824
5662
  # Corresponds to the JSON property `metadata`
5825
5663
  # @return [Hash<String,Object>]
5826
5664
  attr_accessor :metadata
5827
5665
 
5828
5666
  # The server-assigned name, which is only unique within the same service that
5829
- # originally returns it. If you use the default HTTP mapping, the
5830
- # `name` should be a resource name ending with `operations/`unique_id``.
5667
+ # originally returns it. If you use the default HTTP mapping, the `name` should
5668
+ # be a resource name ending with `operations/`unique_id``.
5831
5669
  # Corresponds to the JSON property `name`
5832
5670
  # @return [String]
5833
5671
  attr_accessor :name
5834
5672
 
5835
- # The normal response of the operation in case of success. If the original
5836
- # method returns no data on success, such as `Delete`, the response is
5837
- # `google.protobuf.Empty`. If the original method is standard
5838
- # `Get`/`Create`/`Update`, the response should be the resource. For other
5839
- # methods, the response should have the type `XxxResponse`, where `Xxx`
5840
- # is the original method name. For example, if the original method name
5841
- # is `TakeSnapshot()`, the inferred response type is
5842
- # `TakeSnapshotResponse`.
5673
+ # The normal response of the operation in case of success. If the original
5674
+ # method returns no data on success, such as `Delete`, the response is `google.
5675
+ # protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`,
5676
+ # the response should be the resource. For other methods, the response should
5677
+ # have the type `XxxResponse`, where `Xxx` is the original method name. For
5678
+ # example, if the original method name is `TakeSnapshot()`, the inferred
5679
+ # response type is `TakeSnapshotResponse`.
5843
5680
  # Corresponds to the JSON property `response`
5844
5681
  # @return [Hash<String,Object>]
5845
5682
  attr_accessor :response
@@ -5858,12 +5695,12 @@ module Google
5858
5695
  end
5859
5696
  end
5860
5697
 
5861
- # The `Status` type defines a logical error model that is suitable for
5862
- # different programming environments, including REST APIs and RPC APIs. It is
5863
- # used by [gRPC](https://github.com/grpc). Each `Status` message contains
5864
- # three pieces of data: error code, error message, and error details.
5865
- # You can find out more about this error model and how to work with it in the
5866
- # [API Design Guide](https://cloud.google.com/apis/design/errors).
5698
+ # The `Status` type defines a logical error model that is suitable for different
5699
+ # programming environments, including REST APIs and RPC APIs. It is used by [
5700
+ # gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
5701
+ # data: error code, error message, and error details. You can find out more
5702
+ # about this error model and how to work with it in the [API Design Guide](https:
5703
+ # //cloud.google.com/apis/design/errors).
5867
5704
  class GoogleRpcStatus
5868
5705
  include Google::Apis::Core::Hashable
5869
5706
 
@@ -5872,15 +5709,15 @@ module Google
5872
5709
  # @return [Fixnum]
5873
5710
  attr_accessor :code
5874
5711
 
5875
- # A list of messages that carry the error details. There is a common set of
5712
+ # A list of messages that carry the error details. There is a common set of
5876
5713
  # message types for APIs to use.
5877
5714
  # Corresponds to the JSON property `details`
5878
5715
  # @return [Array<Hash<String,Object>>]
5879
5716
  attr_accessor :details
5880
5717
 
5881
- # A developer-facing error message, which should be in English. Any
5882
- # user-facing error message should be localized and sent in the
5883
- # google.rpc.Status.details field, or localized by the client.
5718
+ # A developer-facing error message, which should be in English. Any user-facing
5719
+ # error message should be localized and sent in the google.rpc.Status.details
5720
+ # field, or localized by the client.
5884
5721
  # Corresponds to the JSON property `message`
5885
5722
  # @return [String]
5886
5723
  attr_accessor :message