google-api-client 0.32.1 → 0.40.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (948) hide show
  1. checksums.yaml +5 -5
  2. data/.kokoro/continuous/linux.cfg +2 -2
  3. data/.kokoro/continuous/post.cfg +30 -0
  4. data/.kokoro/presubmit/linux.cfg +1 -1
  5. data/.kokoro/release.cfg +94 -0
  6. data/.repo-metadata.json +5 -0
  7. data/.rubocop.yml +5 -0
  8. data/.yardopts +16 -2
  9. data/CHANGELOG.md +1354 -0
  10. data/Gemfile +1 -0
  11. data/OVERVIEW.md +36 -0
  12. data/README.md +50 -2
  13. data/Rakefile +71 -2
  14. data/api_list_config.yaml +1 -0
  15. data/api_names.yaml +2 -0
  16. data/bin/generate-api +10 -2
  17. data/docs/api-keys.md +20 -0
  18. data/docs/auth.md +53 -0
  19. data/docs/client-secrets.md +69 -0
  20. data/docs/getting-started.md +340 -0
  21. data/docs/installation.md +0 -0
  22. data/docs/logging.md +34 -0
  23. data/docs/media-upload.md +25 -0
  24. data/docs/oauth-installed.md +191 -0
  25. data/docs/oauth-server.md +135 -0
  26. data/docs/oauth-web.md +280 -0
  27. data/docs/oauth.md +268 -0
  28. data/docs/pagination.md +29 -0
  29. data/docs/performance.md +25 -0
  30. data/generated/google/apis/abusiveexperiencereport_v1.rb +1 -4
  31. data/generated/google/apis/acceleratedmobilepageurl_v1.rb +1 -1
  32. data/generated/google/apis/accessapproval_v1/classes.rb +417 -0
  33. data/generated/google/apis/accessapproval_v1/representations.rb +203 -0
  34. data/generated/google/apis/accessapproval_v1/service.rb +869 -0
  35. data/generated/google/apis/{servicebroker_v1.rb → accessapproval_v1.rb} +8 -10
  36. data/generated/google/apis/accessapproval_v1beta1/classes.rb +35 -2
  37. data/generated/google/apis/accessapproval_v1beta1/representations.rb +13 -0
  38. data/generated/google/apis/accessapproval_v1beta1/service.rb +108 -6
  39. data/generated/google/apis/accessapproval_v1beta1.rb +1 -1
  40. data/generated/google/apis/accesscontextmanager_v1/classes.rb +357 -56
  41. data/generated/google/apis/accesscontextmanager_v1/representations.rb +137 -6
  42. data/generated/google/apis/accesscontextmanager_v1/service.rb +143 -5
  43. data/generated/google/apis/accesscontextmanager_v1.rb +1 -1
  44. data/generated/google/apis/accesscontextmanager_v1beta/classes.rb +133 -125
  45. data/generated/google/apis/accesscontextmanager_v1beta/representations.rb +21 -27
  46. data/generated/google/apis/accesscontextmanager_v1beta/service.rb +6 -5
  47. data/generated/google/apis/accesscontextmanager_v1beta.rb +1 -1
  48. data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +35 -5
  49. data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +4 -0
  50. data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
  51. data/generated/google/apis/adexchangebuyer_v1_3/classes.rb +24 -2
  52. data/generated/google/apis/adexchangebuyer_v1_3/representations.rb +1 -0
  53. data/generated/google/apis/adexchangebuyer_v1_3.rb +1 -1
  54. data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +25 -3
  55. data/generated/google/apis/adexchangebuyer_v1_4/representations.rb +1 -0
  56. data/generated/google/apis/adexchangebuyer_v1_4.rb +1 -1
  57. data/generated/google/apis/adexperiencereport_v1.rb +1 -4
  58. data/generated/google/apis/admin_datatransfer_v1/classes.rb +5 -5
  59. data/generated/google/apis/admin_datatransfer_v1/service.rb +2 -2
  60. data/generated/google/apis/admin_datatransfer_v1.rb +1 -1
  61. data/generated/google/apis/admin_directory_v1/classes.rb +4 -150
  62. data/generated/google/apis/admin_directory_v1/representations.rb +0 -54
  63. data/generated/google/apis/admin_directory_v1/service.rb +0 -60
  64. data/generated/google/apis/admin_directory_v1.rb +4 -1
  65. data/generated/google/apis/admin_reports_v1/classes.rb +87 -44
  66. data/generated/google/apis/admin_reports_v1/service.rb +310 -64
  67. data/generated/google/apis/admin_reports_v1.rb +2 -2
  68. data/generated/google/apis/admob_v1/classes.rb +951 -0
  69. data/generated/google/apis/admob_v1/representations.rb +378 -0
  70. data/generated/google/apis/admob_v1/service.rb +196 -0
  71. data/generated/google/apis/{analytics_v2_4/classes.rb → admob_v1.rb} +11 -6
  72. data/generated/google/apis/adsense_v1_4.rb +1 -1
  73. data/generated/google/apis/adsensehost_v4_1/service.rb +5 -1
  74. data/generated/google/apis/adsensehost_v4_1.rb +1 -1
  75. data/generated/google/apis/alertcenter_v1beta1/classes.rb +259 -7
  76. data/generated/google/apis/alertcenter_v1beta1/representations.rb +126 -0
  77. data/generated/google/apis/alertcenter_v1beta1.rb +1 -1
  78. data/generated/google/apis/analyticsreporting_v4.rb +1 -1
  79. data/generated/google/apis/androiddeviceprovisioning_v1/classes.rb +2 -2
  80. data/generated/google/apis/androiddeviceprovisioning_v1.rb +1 -1
  81. data/generated/google/apis/androidenterprise_v1/classes.rb +39 -60
  82. data/generated/google/apis/androidenterprise_v1/representations.rb +1 -0
  83. data/generated/google/apis/androidenterprise_v1/service.rb +0 -403
  84. data/generated/google/apis/androidenterprise_v1.rb +1 -1
  85. data/generated/google/apis/androidmanagement_v1/classes.rb +203 -6
  86. data/generated/google/apis/androidmanagement_v1/representations.rb +68 -0
  87. data/generated/google/apis/androidmanagement_v1/service.rb +6 -1
  88. data/generated/google/apis/androidmanagement_v1.rb +1 -1
  89. data/generated/google/apis/androidpublisher_v1/classes.rb +0 -41
  90. data/generated/google/apis/androidpublisher_v1/representations.rb +0 -16
  91. data/generated/google/apis/androidpublisher_v1/service.rb +1 -81
  92. data/generated/google/apis/androidpublisher_v1.rb +1 -4
  93. data/generated/google/apis/androidpublisher_v1_1/classes.rb +0 -41
  94. data/generated/google/apis/androidpublisher_v1_1/representations.rb +0 -16
  95. data/generated/google/apis/androidpublisher_v1_1/service.rb +0 -80
  96. data/generated/google/apis/androidpublisher_v1_1.rb +1 -1
  97. data/generated/google/apis/androidpublisher_v2/classes.rb +37 -1755
  98. data/generated/google/apis/androidpublisher_v2/representations.rb +15 -804
  99. data/generated/google/apis/androidpublisher_v2/service.rb +0 -2359
  100. data/generated/google/apis/androidpublisher_v2.rb +1 -1
  101. data/generated/google/apis/androidpublisher_v3/classes.rb +404 -65
  102. data/generated/google/apis/androidpublisher_v3/representations.rb +180 -27
  103. data/generated/google/apis/androidpublisher_v3/service.rb +162 -3
  104. data/generated/google/apis/androidpublisher_v3.rb +1 -1
  105. data/generated/google/apis/apigee_v1/classes.rb +4928 -0
  106. data/generated/google/apis/apigee_v1/representations.rb +1822 -0
  107. data/generated/google/apis/apigee_v1/service.rb +5578 -0
  108. data/generated/google/apis/apigee_v1.rb +40 -0
  109. data/generated/google/apis/appengine_v1/classes.rb +7 -0
  110. data/generated/google/apis/appengine_v1/representations.rb +1 -0
  111. data/generated/google/apis/appengine_v1/service.rb +10 -6
  112. data/generated/google/apis/appengine_v1.rb +1 -1
  113. data/generated/google/apis/appengine_v1alpha.rb +1 -1
  114. data/generated/google/apis/appengine_v1beta/classes.rb +7 -38
  115. data/generated/google/apis/appengine_v1beta/representations.rb +1 -17
  116. data/generated/google/apis/appengine_v1beta/service.rb +10 -6
  117. data/generated/google/apis/appengine_v1beta.rb +1 -1
  118. data/generated/google/apis/appsactivity_v1.rb +1 -1
  119. data/generated/google/apis/appsmarket_v2.rb +1 -1
  120. data/generated/google/apis/{cloudprivatecatalogproducer_v1beta1 → artifactregistry_v1beta1}/classes.rb +591 -765
  121. data/generated/google/apis/{servicebroker_v1alpha1 → artifactregistry_v1beta1}/representations.rb +128 -115
  122. data/generated/google/apis/artifactregistry_v1beta1/service.rb +957 -0
  123. data/generated/google/apis/artifactregistry_v1beta1.rb +38 -0
  124. data/generated/google/apis/bigquery_v2/classes.rb +993 -43
  125. data/generated/google/apis/bigquery_v2/representations.rb +273 -2
  126. data/generated/google/apis/bigquery_v2/service.rb +137 -4
  127. data/generated/google/apis/bigquery_v2.rb +1 -1
  128. data/generated/google/apis/bigqueryconnection_v1beta1/classes.rb +149 -59
  129. data/generated/google/apis/bigqueryconnection_v1beta1/representations.rb +2 -0
  130. data/generated/google/apis/bigqueryconnection_v1beta1/service.rb +11 -10
  131. data/generated/google/apis/bigqueryconnection_v1beta1.rb +1 -1
  132. data/generated/google/apis/bigquerydatatransfer_v1/classes.rb +49 -0
  133. data/generated/google/apis/bigquerydatatransfer_v1/representations.rb +19 -0
  134. data/generated/google/apis/bigquerydatatransfer_v1/service.rb +90 -34
  135. data/generated/google/apis/bigquerydatatransfer_v1.rb +1 -1
  136. data/generated/google/apis/bigqueryreservation_v1/classes.rb +392 -16
  137. data/generated/google/apis/bigqueryreservation_v1/representations.rb +174 -6
  138. data/generated/google/apis/bigqueryreservation_v1/service.rb +758 -0
  139. data/generated/google/apis/bigqueryreservation_v1.rb +1 -1
  140. data/generated/google/apis/bigqueryreservation_v1alpha2/classes.rb +109 -10
  141. data/generated/google/apis/bigqueryreservation_v1alpha2/representations.rb +26 -3
  142. data/generated/google/apis/bigqueryreservation_v1alpha2/service.rb +71 -0
  143. data/generated/google/apis/bigqueryreservation_v1alpha2.rb +1 -1
  144. data/generated/google/apis/bigqueryreservation_v1beta1/classes.rb +166 -160
  145. data/generated/google/apis/bigqueryreservation_v1beta1/representations.rb +49 -38
  146. data/generated/google/apis/bigqueryreservation_v1beta1/service.rb +257 -146
  147. data/generated/google/apis/bigqueryreservation_v1beta1.rb +1 -1
  148. data/generated/google/apis/bigtableadmin_v1/classes.rb +21 -18
  149. data/generated/google/apis/bigtableadmin_v1.rb +1 -1
  150. data/generated/google/apis/bigtableadmin_v2/classes.rb +189 -82
  151. data/generated/google/apis/bigtableadmin_v2/service.rb +170 -58
  152. data/generated/google/apis/bigtableadmin_v2.rb +1 -1
  153. data/generated/google/apis/billingbudgets_v1beta1/classes.rb +413 -0
  154. data/generated/google/apis/billingbudgets_v1beta1/representations.rb +197 -0
  155. data/generated/google/apis/billingbudgets_v1beta1/service.rb +244 -0
  156. data/generated/google/apis/{servicebroker_v1beta1.rb → billingbudgets_v1beta1.rb} +9 -10
  157. data/generated/google/apis/binaryauthorization_v1/classes.rb +143 -58
  158. data/generated/google/apis/binaryauthorization_v1/service.rb +10 -2
  159. data/generated/google/apis/binaryauthorization_v1.rb +1 -1
  160. data/generated/google/apis/binaryauthorization_v1beta1/classes.rb +139 -57
  161. data/generated/google/apis/binaryauthorization_v1beta1/service.rb +10 -2
  162. data/generated/google/apis/binaryauthorization_v1beta1.rb +1 -1
  163. data/generated/google/apis/blogger_v2/classes.rb +297 -45
  164. data/generated/google/apis/blogger_v2/representations.rb +105 -26
  165. data/generated/google/apis/blogger_v2/service.rb +79 -134
  166. data/generated/google/apis/blogger_v2.rb +5 -4
  167. data/generated/google/apis/blogger_v3/classes.rb +60 -53
  168. data/generated/google/apis/blogger_v3/representations.rb +10 -18
  169. data/generated/google/apis/blogger_v3/service.rb +183 -463
  170. data/generated/google/apis/blogger_v3.rb +4 -3
  171. data/generated/google/apis/books_v1/classes.rb +494 -242
  172. data/generated/google/apis/books_v1/representations.rb +145 -72
  173. data/generated/google/apis/books_v1/service.rb +354 -484
  174. data/generated/google/apis/books_v1.rb +3 -3
  175. data/generated/google/apis/calendar_v3/classes.rb +8 -21
  176. data/generated/google/apis/calendar_v3/service.rb +18 -30
  177. data/generated/google/apis/calendar_v3.rb +1 -1
  178. data/generated/google/apis/chat_v1/classes.rb +29 -3
  179. data/generated/google/apis/chat_v1/representations.rb +3 -0
  180. data/generated/google/apis/chat_v1/service.rb +5 -2
  181. data/generated/google/apis/chat_v1.rb +1 -1
  182. data/generated/google/apis/chromeuxreport_v1/classes.rb +297 -0
  183. data/generated/google/apis/chromeuxreport_v1/representations.rb +147 -0
  184. data/generated/google/apis/chromeuxreport_v1/service.rb +92 -0
  185. data/generated/google/apis/{pagespeedonline_v1.rb → chromeuxreport_v1.rb} +9 -9
  186. data/generated/google/apis/civicinfo_v2/classes.rb +0 -156
  187. data/generated/google/apis/civicinfo_v2/representations.rb +2 -60
  188. data/generated/google/apis/civicinfo_v2.rb +1 -1
  189. data/generated/google/apis/classroom_v1/classes.rb +14 -14
  190. data/generated/google/apis/classroom_v1/service.rb +11 -11
  191. data/generated/google/apis/classroom_v1.rb +1 -1
  192. data/generated/google/apis/cloudasset_v1/classes.rb +917 -195
  193. data/generated/google/apis/cloudasset_v1/representations.rb +234 -6
  194. data/generated/google/apis/cloudasset_v1/service.rb +363 -12
  195. data/generated/google/apis/cloudasset_v1.rb +2 -2
  196. data/generated/google/apis/cloudasset_v1beta1/classes.rb +139 -57
  197. data/generated/google/apis/cloudasset_v1beta1/service.rb +13 -4
  198. data/generated/google/apis/cloudasset_v1beta1.rb +2 -2
  199. data/generated/google/apis/cloudasset_v1p1beta1/classes.rb +701 -0
  200. data/generated/google/apis/cloudasset_v1p1beta1/representations.rb +201 -0
  201. data/generated/google/apis/cloudasset_v1p1beta1/service.rb +189 -0
  202. data/generated/google/apis/cloudasset_v1p1beta1.rb +34 -0
  203. data/generated/google/apis/cloudasset_v1p4beta1/classes.rb +924 -0
  204. data/generated/google/apis/cloudasset_v1p4beta1/representations.rb +377 -0
  205. data/generated/google/apis/cloudasset_v1p4beta1/service.rb +217 -0
  206. data/generated/google/apis/cloudasset_v1p4beta1.rb +34 -0
  207. data/generated/google/apis/cloudbilling_v1/classes.rb +179 -68
  208. data/generated/google/apis/cloudbilling_v1/representations.rb +0 -1
  209. data/generated/google/apis/cloudbilling_v1/service.rb +16 -9
  210. data/generated/google/apis/cloudbilling_v1.rb +1 -1
  211. data/generated/google/apis/cloudbuild_v1/classes.rb +55 -10
  212. data/generated/google/apis/cloudbuild_v1/representations.rb +5 -0
  213. data/generated/google/apis/cloudbuild_v1/service.rb +139 -18
  214. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  215. data/generated/google/apis/cloudbuild_v1alpha1/classes.rb +170 -5
  216. data/generated/google/apis/cloudbuild_v1alpha1/representations.rb +63 -0
  217. data/generated/google/apis/cloudbuild_v1alpha1/service.rb +121 -5
  218. data/generated/google/apis/cloudbuild_v1alpha1.rb +1 -1
  219. data/generated/google/apis/cloudbuild_v1alpha2/classes.rb +1283 -0
  220. data/generated/google/apis/cloudbuild_v1alpha2/representations.rb +491 -0
  221. data/generated/google/apis/cloudbuild_v1alpha2/service.rb +353 -0
  222. data/generated/google/apis/cloudbuild_v1alpha2.rb +34 -0
  223. data/generated/google/apis/clouddebugger_v2/classes.rb +34 -0
  224. data/generated/google/apis/clouddebugger_v2/representations.rb +4 -0
  225. data/generated/google/apis/clouddebugger_v2/service.rb +24 -17
  226. data/generated/google/apis/clouddebugger_v2.rb +2 -2
  227. data/generated/google/apis/clouderrorreporting_v1beta1/classes.rb +1 -1
  228. data/generated/google/apis/clouderrorreporting_v1beta1/service.rb +13 -13
  229. data/generated/google/apis/clouderrorreporting_v1beta1.rb +2 -2
  230. data/generated/google/apis/cloudfunctions_v1/classes.rb +161 -59
  231. data/generated/google/apis/cloudfunctions_v1/representations.rb +3 -0
  232. data/generated/google/apis/cloudfunctions_v1/service.rb +13 -4
  233. data/generated/google/apis/cloudfunctions_v1.rb +1 -1
  234. data/generated/google/apis/cloudfunctions_v1beta2/classes.rb +7 -0
  235. data/generated/google/apis/cloudfunctions_v1beta2/representations.rb +1 -0
  236. data/generated/google/apis/cloudfunctions_v1beta2/service.rb +10 -4
  237. data/generated/google/apis/cloudfunctions_v1beta2.rb +1 -1
  238. data/generated/google/apis/cloudidentity_v1/classes.rb +11 -8
  239. data/generated/google/apis/cloudidentity_v1/service.rb +22 -14
  240. data/generated/google/apis/cloudidentity_v1.rb +1 -1
  241. data/generated/google/apis/cloudidentity_v1beta1/classes.rb +1009 -69
  242. data/generated/google/apis/cloudidentity_v1beta1/representations.rb +390 -0
  243. data/generated/google/apis/cloudidentity_v1beta1/service.rb +189 -78
  244. data/generated/google/apis/cloudidentity_v1beta1.rb +1 -1
  245. data/generated/google/apis/cloudiot_v1/classes.rb +142 -57
  246. data/generated/google/apis/cloudiot_v1.rb +1 -1
  247. data/generated/google/apis/cloudkms_v1/classes.rb +461 -61
  248. data/generated/google/apis/cloudkms_v1/representations.rb +33 -0
  249. data/generated/google/apis/cloudkms_v1/service.rb +15 -3
  250. data/generated/google/apis/cloudkms_v1.rb +1 -1
  251. data/generated/google/apis/cloudprofiler_v2.rb +1 -1
  252. data/generated/google/apis/cloudresourcemanager_v1/classes.rb +155 -71
  253. data/generated/google/apis/cloudresourcemanager_v1/service.rb +6 -3
  254. data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
  255. data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +143 -59
  256. data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +1 -1
  257. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
  258. data/generated/google/apis/cloudresourcemanager_v2/classes.rb +147 -67
  259. data/generated/google/apis/cloudresourcemanager_v2/service.rb +11 -13
  260. data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
  261. data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +147 -67
  262. data/generated/google/apis/cloudresourcemanager_v2beta1/service.rb +11 -13
  263. data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
  264. data/generated/google/apis/cloudscheduler_v1/classes.rb +3 -2
  265. data/generated/google/apis/cloudscheduler_v1.rb +1 -1
  266. data/generated/google/apis/cloudscheduler_v1beta1/classes.rb +3 -2
  267. data/generated/google/apis/cloudscheduler_v1beta1.rb +1 -1
  268. data/generated/google/apis/cloudsearch_v1/classes.rb +86 -195
  269. data/generated/google/apis/cloudsearch_v1/representations.rb +1 -75
  270. data/generated/google/apis/cloudsearch_v1/service.rb +62 -10
  271. data/generated/google/apis/cloudsearch_v1.rb +8 -8
  272. data/generated/google/apis/cloudshell_v1/classes.rb +24 -1
  273. data/generated/google/apis/cloudshell_v1/representations.rb +3 -0
  274. data/generated/google/apis/cloudshell_v1.rb +1 -1
  275. data/generated/google/apis/cloudshell_v1alpha1/classes.rb +30 -1
  276. data/generated/google/apis/cloudshell_v1alpha1/representations.rb +5 -0
  277. data/generated/google/apis/cloudshell_v1alpha1.rb +1 -1
  278. data/generated/google/apis/cloudtasks_v2/classes.rb +388 -70
  279. data/generated/google/apis/cloudtasks_v2/representations.rb +65 -0
  280. data/generated/google/apis/cloudtasks_v2.rb +1 -1
  281. data/generated/google/apis/cloudtasks_v2beta2/classes.rb +148 -66
  282. data/generated/google/apis/cloudtasks_v2beta2/service.rb +6 -1
  283. data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
  284. data/generated/google/apis/cloudtasks_v2beta3/classes.rb +156 -74
  285. data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
  286. data/generated/google/apis/cloudtrace_v1/service.rb +10 -4
  287. data/generated/google/apis/cloudtrace_v1.rb +5 -5
  288. data/generated/google/apis/cloudtrace_v2/classes.rb +8 -7
  289. data/generated/google/apis/cloudtrace_v2/service.rb +8 -4
  290. data/generated/google/apis/cloudtrace_v2.rb +5 -5
  291. data/generated/google/apis/cloudtrace_v2beta1/classes.rb +143 -0
  292. data/generated/google/apis/{oauth2_v1 → cloudtrace_v2beta1}/representations.rb +36 -27
  293. data/generated/google/apis/cloudtrace_v2beta1/service.rb +258 -0
  294. data/generated/google/apis/cloudtrace_v2beta1.rb +44 -0
  295. data/generated/google/apis/composer_v1/classes.rb +180 -0
  296. data/generated/google/apis/composer_v1/representations.rb +54 -0
  297. data/generated/google/apis/composer_v1.rb +1 -1
  298. data/generated/google/apis/composer_v1beta1/classes.rb +152 -5
  299. data/generated/google/apis/composer_v1beta1/representations.rb +64 -0
  300. data/generated/google/apis/composer_v1beta1/service.rb +5 -0
  301. data/generated/google/apis/composer_v1beta1.rb +1 -1
  302. data/generated/google/apis/compute_alpha/classes.rb +3252 -973
  303. data/generated/google/apis/compute_alpha/representations.rb +634 -69
  304. data/generated/google/apis/compute_alpha/service.rb +9085 -6210
  305. data/generated/google/apis/compute_alpha.rb +1 -1
  306. data/generated/google/apis/compute_beta/classes.rb +4787 -1066
  307. data/generated/google/apis/compute_beta/representations.rb +1394 -31
  308. data/generated/google/apis/compute_beta/service.rb +8858 -5018
  309. data/generated/google/apis/compute_beta.rb +1 -1
  310. data/generated/google/apis/compute_v1/classes.rb +2976 -599
  311. data/generated/google/apis/compute_v1/representations.rb +850 -0
  312. data/generated/google/apis/compute_v1/service.rb +4634 -2481
  313. data/generated/google/apis/compute_v1.rb +1 -1
  314. data/generated/google/apis/container_v1/classes.rb +925 -164
  315. data/generated/google/apis/container_v1/representations.rb +278 -0
  316. data/generated/google/apis/container_v1/service.rb +175 -158
  317. data/generated/google/apis/container_v1.rb +1 -1
  318. data/generated/google/apis/container_v1beta1/classes.rb +803 -340
  319. data/generated/google/apis/container_v1beta1/representations.rb +185 -39
  320. data/generated/google/apis/container_v1beta1/service.rb +294 -277
  321. data/generated/google/apis/container_v1beta1.rb +1 -1
  322. data/generated/google/apis/containeranalysis_v1alpha1/classes.rb +142 -57
  323. data/generated/google/apis/containeranalysis_v1alpha1.rb +1 -1
  324. data/generated/google/apis/containeranalysis_v1beta1/classes.rb +478 -59
  325. data/generated/google/apis/containeranalysis_v1beta1/representations.rb +159 -0
  326. data/generated/google/apis/containeranalysis_v1beta1/service.rb +26 -20
  327. data/generated/google/apis/containeranalysis_v1beta1.rb +1 -1
  328. data/generated/google/apis/content_v2/classes.rb +1566 -634
  329. data/generated/google/apis/content_v2/representations.rb +78 -115
  330. data/generated/google/apis/content_v2/service.rb +81 -206
  331. data/generated/google/apis/content_v2.rb +1 -1
  332. data/generated/google/apis/content_v2_1/classes.rb +2706 -683
  333. data/generated/google/apis/content_v2_1/representations.rb +551 -0
  334. data/generated/google/apis/content_v2_1/service.rb +520 -46
  335. data/generated/google/apis/content_v2_1.rb +1 -1
  336. data/generated/google/apis/customsearch_v1/classes.rb +1194 -353
  337. data/generated/google/apis/customsearch_v1/representations.rb +166 -95
  338. data/generated/google/apis/customsearch_v1/service.rb +373 -104
  339. data/generated/google/apis/customsearch_v1.rb +3 -3
  340. data/generated/google/apis/datacatalog_v1beta1/classes.rb +1907 -0
  341. data/generated/google/apis/datacatalog_v1beta1/representations.rb +739 -0
  342. data/generated/google/apis/datacatalog_v1beta1/service.rb +2247 -0
  343. data/generated/google/apis/{cloudprivatecatalog_v1beta1.rb → datacatalog_v1beta1.rb} +9 -9
  344. data/generated/google/apis/dataflow_v1b3/classes.rb +786 -11
  345. data/generated/google/apis/dataflow_v1b3/representations.rb +377 -1
  346. data/generated/google/apis/dataflow_v1b3/service.rb +626 -0
  347. data/generated/google/apis/dataflow_v1b3.rb +1 -1
  348. data/generated/google/apis/datafusion_v1beta1/classes.rb +245 -362
  349. data/generated/google/apis/datafusion_v1beta1/representations.rb +29 -112
  350. data/generated/google/apis/datafusion_v1beta1/service.rb +15 -2
  351. data/generated/google/apis/datafusion_v1beta1.rb +1 -1
  352. data/generated/google/apis/dataproc_v1/classes.rb +533 -177
  353. data/generated/google/apis/dataproc_v1/representations.rb +85 -0
  354. data/generated/google/apis/dataproc_v1/service.rb +102 -36
  355. data/generated/google/apis/dataproc_v1.rb +1 -1
  356. data/generated/google/apis/dataproc_v1beta2/classes.rb +477 -182
  357. data/generated/google/apis/dataproc_v1beta2/representations.rb +81 -0
  358. data/generated/google/apis/dataproc_v1beta2/service.rb +199 -43
  359. data/generated/google/apis/dataproc_v1beta2.rb +1 -1
  360. data/generated/google/apis/datastore_v1/classes.rb +17 -23
  361. data/generated/google/apis/datastore_v1/service.rb +93 -9
  362. data/generated/google/apis/datastore_v1.rb +1 -1
  363. data/generated/google/apis/datastore_v1beta1.rb +1 -1
  364. data/generated/google/apis/datastore_v1beta3/classes.rb +6 -5
  365. data/generated/google/apis/datastore_v1beta3/service.rb +7 -7
  366. data/generated/google/apis/datastore_v1beta3.rb +1 -1
  367. data/generated/google/apis/deploymentmanager_alpha/classes.rb +362 -176
  368. data/generated/google/apis/deploymentmanager_alpha/representations.rb +22 -4
  369. data/generated/google/apis/deploymentmanager_alpha/service.rb +198 -311
  370. data/generated/google/apis/deploymentmanager_alpha.rb +1 -1
  371. data/generated/google/apis/deploymentmanager_v2/classes.rb +295 -146
  372. data/generated/google/apis/deploymentmanager_v2/representations.rb +17 -1
  373. data/generated/google/apis/deploymentmanager_v2/service.rb +101 -99
  374. data/generated/google/apis/deploymentmanager_v2.rb +1 -1
  375. data/generated/google/apis/deploymentmanager_v2beta/classes.rb +350 -170
  376. data/generated/google/apis/deploymentmanager_v2beta/representations.rb +18 -1
  377. data/generated/google/apis/deploymentmanager_v2beta/service.rb +154 -152
  378. data/generated/google/apis/deploymentmanager_v2beta.rb +1 -1
  379. data/generated/google/apis/dfareporting_v3_3/classes.rb +39 -13
  380. data/generated/google/apis/dfareporting_v3_3/service.rb +9 -8
  381. data/generated/google/apis/dfareporting_v3_3.rb +1 -1
  382. data/generated/google/apis/{dfareporting_v3_2 → dfareporting_v3_4}/classes.rb +1361 -813
  383. data/generated/google/apis/{dfareporting_v3_2 → dfareporting_v3_4}/representations.rb +639 -396
  384. data/generated/google/apis/{dfareporting_v3_2 → dfareporting_v3_4}/service.rb +969 -1076
  385. data/generated/google/apis/{dfareporting_v3_2.rb → dfareporting_v3_4.rb} +6 -6
  386. data/generated/google/apis/dialogflow_v2/classes.rb +1778 -219
  387. data/generated/google/apis/dialogflow_v2/representations.rb +603 -0
  388. data/generated/google/apis/dialogflow_v2/service.rb +849 -158
  389. data/generated/google/apis/dialogflow_v2.rb +1 -1
  390. data/generated/google/apis/dialogflow_v2beta1/classes.rb +1776 -242
  391. data/generated/google/apis/dialogflow_v2beta1/representations.rb +592 -0
  392. data/generated/google/apis/dialogflow_v2beta1/service.rb +436 -172
  393. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  394. data/generated/google/apis/dialogflow_v3alpha1/classes.rb +5579 -0
  395. data/generated/google/apis/dialogflow_v3alpha1/representations.rb +2295 -0
  396. data/generated/google/apis/dialogflow_v3alpha1/service.rb +296 -0
  397. data/generated/google/apis/dialogflow_v3alpha1.rb +38 -0
  398. data/generated/google/apis/digitalassetlinks_v1.rb +1 -1
  399. data/generated/google/apis/displayvideo_v1/classes.rb +7527 -0
  400. data/generated/google/apis/displayvideo_v1/representations.rb +3034 -0
  401. data/generated/google/apis/displayvideo_v1/service.rb +3126 -0
  402. data/generated/google/apis/displayvideo_v1.rb +38 -0
  403. data/generated/google/apis/dlp_v2/classes.rb +798 -130
  404. data/generated/google/apis/dlp_v2/representations.rb +277 -3
  405. data/generated/google/apis/dlp_v2/service.rb +2074 -231
  406. data/generated/google/apis/dlp_v2.rb +1 -1
  407. data/generated/google/apis/dns_v1/classes.rb +220 -251
  408. data/generated/google/apis/dns_v1/representations.rb +49 -0
  409. data/generated/google/apis/dns_v1/service.rb +21 -141
  410. data/generated/google/apis/dns_v1.rb +1 -1
  411. data/generated/google/apis/dns_v1beta2/classes.rb +224 -261
  412. data/generated/google/apis/dns_v1beta2/representations.rb +49 -0
  413. data/generated/google/apis/dns_v1beta2/service.rb +21 -141
  414. data/generated/google/apis/dns_v1beta2.rb +1 -1
  415. data/generated/google/apis/dns_v2beta1/classes.rb +220 -251
  416. data/generated/google/apis/dns_v2beta1/representations.rb +49 -0
  417. data/generated/google/apis/dns_v2beta1/service.rb +21 -141
  418. data/generated/google/apis/dns_v2beta1.rb +1 -1
  419. data/generated/google/apis/docs_v1/classes.rb +608 -2
  420. data/generated/google/apis/docs_v1/representations.rb +211 -0
  421. data/generated/google/apis/docs_v1.rb +1 -1
  422. data/generated/google/apis/domainsrdap_v1.rb +1 -1
  423. data/generated/google/apis/doubleclickbidmanager_v1/classes.rb +1 -1
  424. data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
  425. data/generated/google/apis/doubleclickbidmanager_v1_1/classes.rb +860 -0
  426. data/generated/google/apis/doubleclickbidmanager_v1_1/representations.rb +388 -0
  427. data/generated/google/apis/{surveys_v2 → doubleclickbidmanager_v1_1}/service.rb +140 -110
  428. data/generated/google/apis/{proximitybeacon_v1beta1.rb → doubleclickbidmanager_v1_1.rb} +11 -11
  429. data/generated/google/apis/doubleclicksearch_v2/service.rb +0 -55
  430. data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
  431. data/generated/google/apis/drive_v2/classes.rb +58 -5
  432. data/generated/google/apis/drive_v2/representations.rb +18 -0
  433. data/generated/google/apis/drive_v2/service.rb +92 -118
  434. data/generated/google/apis/drive_v2.rb +1 -1
  435. data/generated/google/apis/drive_v3/classes.rb +66 -5
  436. data/generated/google/apis/drive_v3/representations.rb +18 -0
  437. data/generated/google/apis/drive_v3/service.rb +46 -14
  438. data/generated/google/apis/drive_v3.rb +1 -1
  439. data/generated/google/apis/driveactivity_v2/classes.rb +15 -5
  440. data/generated/google/apis/driveactivity_v2/representations.rb +2 -0
  441. data/generated/google/apis/driveactivity_v2.rb +1 -1
  442. data/generated/google/apis/factchecktools_v1alpha1.rb +1 -1
  443. data/generated/google/apis/fcm_v1/classes.rb +15 -0
  444. data/generated/google/apis/fcm_v1/representations.rb +2 -0
  445. data/generated/google/apis/fcm_v1.rb +1 -1
  446. data/generated/google/apis/file_v1/classes.rb +1235 -158
  447. data/generated/google/apis/file_v1/representations.rb +401 -22
  448. data/generated/google/apis/file_v1/service.rb +14 -10
  449. data/generated/google/apis/file_v1.rb +1 -1
  450. data/generated/google/apis/file_v1beta1/classes.rb +1236 -159
  451. data/generated/google/apis/file_v1beta1/representations.rb +401 -22
  452. data/generated/google/apis/file_v1beta1/service.rb +18 -11
  453. data/generated/google/apis/file_v1beta1.rb +1 -1
  454. data/generated/google/apis/firebase_v1beta1/classes.rb +20 -16
  455. data/generated/google/apis/firebase_v1beta1/representations.rb +2 -0
  456. data/generated/google/apis/firebase_v1beta1/service.rb +22 -16
  457. data/generated/google/apis/firebase_v1beta1.rb +1 -1
  458. data/generated/google/apis/firebasedynamiclinks_v1.rb +1 -1
  459. data/generated/google/apis/firebasehosting_v1beta1/classes.rb +174 -1
  460. data/generated/google/apis/firebasehosting_v1beta1/representations.rb +65 -0
  461. data/generated/google/apis/firebasehosting_v1beta1/service.rb +805 -2
  462. data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
  463. data/generated/google/apis/firebaseml_v1/classes.rb +213 -0
  464. data/generated/google/apis/{servicebroker_v1 → firebaseml_v1}/representations.rb +26 -28
  465. data/generated/google/apis/firebaseml_v1/service.rb +181 -0
  466. data/generated/google/apis/firebaseml_v1.rb +34 -0
  467. data/generated/google/apis/firebaseml_v1beta2/classes.rb +344 -0
  468. data/generated/google/apis/{cloudprivatecatalog_v1beta1 → firebaseml_v1beta2}/representations.rb +62 -31
  469. data/generated/google/apis/firebaseml_v1beta2/service.rb +267 -0
  470. data/generated/google/apis/firebaseml_v1beta2.rb +34 -0
  471. data/generated/google/apis/firebaserules_v1/classes.rb +113 -0
  472. data/generated/google/apis/firebaserules_v1/representations.rb +52 -0
  473. data/generated/google/apis/firebaserules_v1.rb +1 -1
  474. data/generated/google/apis/firestore_v1/classes.rb +16 -5
  475. data/generated/google/apis/firestore_v1/representations.rb +2 -0
  476. data/generated/google/apis/firestore_v1/service.rb +26 -24
  477. data/generated/google/apis/firestore_v1.rb +1 -1
  478. data/generated/google/apis/firestore_v1beta1/classes.rb +16 -5
  479. data/generated/google/apis/firestore_v1beta1/representations.rb +2 -0
  480. data/generated/google/apis/firestore_v1beta1/service.rb +18 -16
  481. data/generated/google/apis/firestore_v1beta1.rb +1 -1
  482. data/generated/google/apis/firestore_v1beta2.rb +1 -1
  483. data/generated/google/apis/fitness_v1/classes.rb +189 -153
  484. data/generated/google/apis/fitness_v1/service.rb +192 -198
  485. data/generated/google/apis/fitness_v1.rb +14 -14
  486. data/generated/google/apis/games_configuration_v1configuration/classes.rb +38 -53
  487. data/generated/google/apis/games_configuration_v1configuration/service.rb +58 -169
  488. data/generated/google/apis/games_configuration_v1configuration.rb +4 -3
  489. data/generated/google/apis/games_management_v1management/classes.rb +50 -109
  490. data/generated/google/apis/games_management_v1management/representations.rb +0 -30
  491. data/generated/google/apis/games_management_v1management/service.rb +116 -452
  492. data/generated/google/apis/games_management_v1management.rb +6 -4
  493. data/generated/google/apis/games_v1/classes.rb +14 -293
  494. data/generated/google/apis/games_v1/representations.rb +2 -98
  495. data/generated/google/apis/games_v1/service.rb +3 -135
  496. data/generated/google/apis/games_v1.rb +1 -1
  497. data/generated/google/apis/gameservices_v1beta/classes.rb +2354 -0
  498. data/generated/google/apis/gameservices_v1beta/representations.rb +971 -0
  499. data/generated/google/apis/gameservices_v1beta/service.rb +1472 -0
  500. data/generated/google/apis/gameservices_v1beta.rb +34 -0
  501. data/generated/google/apis/genomics_v1.rb +1 -1
  502. data/generated/google/apis/genomics_v1alpha2.rb +1 -1
  503. data/generated/google/apis/genomics_v2alpha1/classes.rb +32 -0
  504. data/generated/google/apis/genomics_v2alpha1/representations.rb +16 -0
  505. data/generated/google/apis/genomics_v2alpha1/service.rb +34 -0
  506. data/generated/google/apis/genomics_v2alpha1.rb +1 -1
  507. data/generated/google/apis/gmail_v1/classes.rb +6 -2
  508. data/generated/google/apis/gmail_v1/service.rb +1 -1
  509. data/generated/google/apis/gmail_v1.rb +13 -1
  510. data/generated/google/apis/healthcare_v1/classes.rb +2659 -0
  511. data/generated/google/apis/healthcare_v1/representations.rb +1114 -0
  512. data/generated/google/apis/healthcare_v1/service.rb +3439 -0
  513. data/generated/google/apis/healthcare_v1.rb +34 -0
  514. data/generated/google/apis/healthcare_v1beta1/classes.rb +1013 -128
  515. data/generated/google/apis/healthcare_v1beta1/representations.rb +341 -1
  516. data/generated/google/apis/healthcare_v1beta1/service.rb +762 -275
  517. data/generated/google/apis/healthcare_v1beta1.rb +1 -1
  518. data/generated/google/apis/homegraph_v1/classes.rb +79 -56
  519. data/generated/google/apis/homegraph_v1/representations.rb +2 -1
  520. data/generated/google/apis/homegraph_v1/service.rb +43 -47
  521. data/generated/google/apis/homegraph_v1.rb +1 -1
  522. data/generated/google/apis/iam_v1/classes.rb +201 -169
  523. data/generated/google/apis/iam_v1/representations.rb +1 -6
  524. data/generated/google/apis/iam_v1/service.rb +18 -21
  525. data/generated/google/apis/iam_v1.rb +1 -1
  526. data/generated/google/apis/iamcredentials_v1/classes.rb +40 -8
  527. data/generated/google/apis/iamcredentials_v1/service.rb +4 -4
  528. data/generated/google/apis/iamcredentials_v1.rb +1 -1
  529. data/generated/google/apis/iap_v1/classes.rb +691 -59
  530. data/generated/google/apis/iap_v1/representations.rb +254 -0
  531. data/generated/google/apis/iap_v1/service.rb +362 -0
  532. data/generated/google/apis/iap_v1.rb +1 -1
  533. data/generated/google/apis/iap_v1beta1/classes.rb +144 -59
  534. data/generated/google/apis/iap_v1beta1.rb +1 -1
  535. data/generated/google/apis/indexing_v3.rb +1 -1
  536. data/generated/google/apis/jobs_v2/classes.rb +167 -0
  537. data/generated/google/apis/jobs_v2/representations.rb +40 -0
  538. data/generated/google/apis/jobs_v2.rb +1 -1
  539. data/generated/google/apis/jobs_v3/classes.rb +180 -0
  540. data/generated/google/apis/jobs_v3/representations.rb +41 -0
  541. data/generated/google/apis/jobs_v3.rb +1 -1
  542. data/generated/google/apis/jobs_v3p1beta1/classes.rb +187 -2
  543. data/generated/google/apis/jobs_v3p1beta1/representations.rb +41 -0
  544. data/generated/google/apis/jobs_v3p1beta1.rb +1 -1
  545. data/generated/google/apis/kgsearch_v1.rb +1 -1
  546. data/generated/google/apis/language_v1/classes.rb +6 -6
  547. data/generated/google/apis/language_v1.rb +1 -1
  548. data/generated/google/apis/language_v1beta1/classes.rb +5 -5
  549. data/generated/google/apis/language_v1beta1.rb +1 -1
  550. data/generated/google/apis/language_v1beta2/classes.rb +23 -7
  551. data/generated/google/apis/language_v1beta2/representations.rb +2 -0
  552. data/generated/google/apis/language_v1beta2.rb +1 -1
  553. data/generated/google/apis/libraryagent_v1.rb +1 -1
  554. data/generated/google/apis/licensing_v1/classes.rb +15 -7
  555. data/generated/google/apis/licensing_v1/service.rb +81 -37
  556. data/generated/google/apis/licensing_v1.rb +4 -4
  557. data/generated/google/apis/lifesciences_v2beta/classes.rb +1329 -0
  558. data/generated/google/apis/lifesciences_v2beta/representations.rb +533 -0
  559. data/generated/google/apis/lifesciences_v2beta/service.rb +303 -0
  560. data/generated/google/apis/lifesciences_v2beta.rb +35 -0
  561. data/generated/google/apis/logging_v2/classes.rb +292 -91
  562. data/generated/google/apis/logging_v2/representations.rb +51 -0
  563. data/generated/google/apis/logging_v2/service.rb +888 -15
  564. data/generated/google/apis/logging_v2.rb +6 -6
  565. data/generated/google/apis/managedidentities_v1/classes.rb +1571 -0
  566. data/generated/google/apis/managedidentities_v1/representations.rb +560 -0
  567. data/generated/google/apis/managedidentities_v1/service.rb +779 -0
  568. data/generated/google/apis/managedidentities_v1.rb +35 -0
  569. data/generated/google/apis/managedidentities_v1alpha1/classes.rb +1570 -0
  570. data/generated/google/apis/managedidentities_v1alpha1/representations.rb +560 -0
  571. data/generated/google/apis/managedidentities_v1alpha1/service.rb +782 -0
  572. data/generated/google/apis/{servicebroker_v1alpha1.rb → managedidentities_v1alpha1.rb} +9 -10
  573. data/generated/google/apis/managedidentities_v1beta1/classes.rb +1568 -0
  574. data/generated/google/apis/managedidentities_v1beta1/representations.rb +560 -0
  575. data/generated/google/apis/managedidentities_v1beta1/service.rb +778 -0
  576. data/generated/google/apis/managedidentities_v1beta1.rb +35 -0
  577. data/generated/google/apis/manufacturers_v1/classes.rb +7 -0
  578. data/generated/google/apis/manufacturers_v1/representations.rb +1 -0
  579. data/generated/google/apis/manufacturers_v1.rb +1 -1
  580. data/generated/google/apis/memcache_v1beta2/classes.rb +1587 -0
  581. data/generated/google/apis/memcache_v1beta2/representations.rb +557 -0
  582. data/generated/google/apis/memcache_v1beta2/service.rb +677 -0
  583. data/generated/google/apis/memcache_v1beta2.rb +35 -0
  584. data/generated/google/apis/ml_v1/classes.rb +1518 -233
  585. data/generated/google/apis/ml_v1/representations.rb +559 -0
  586. data/generated/google/apis/ml_v1/service.rb +560 -25
  587. data/generated/google/apis/ml_v1.rb +5 -2
  588. data/generated/google/apis/monitoring_v1/classes.rb +1231 -0
  589. data/generated/google/apis/monitoring_v1/representations.rb +513 -0
  590. data/generated/google/apis/monitoring_v1/service.rb +246 -0
  591. data/generated/google/apis/monitoring_v1.rb +47 -0
  592. data/generated/google/apis/monitoring_v3/classes.rb +1330 -172
  593. data/generated/google/apis/monitoring_v3/representations.rb +482 -1
  594. data/generated/google/apis/monitoring_v3/service.rb +614 -162
  595. data/generated/google/apis/monitoring_v3.rb +7 -8
  596. data/generated/google/apis/networkmanagement_v1/classes.rb +1868 -0
  597. data/generated/google/apis/networkmanagement_v1/representations.rb +661 -0
  598. data/generated/google/apis/networkmanagement_v1/service.rb +667 -0
  599. data/generated/google/apis/networkmanagement_v1.rb +35 -0
  600. data/generated/google/apis/networkmanagement_v1beta1/classes.rb +1868 -0
  601. data/generated/google/apis/networkmanagement_v1beta1/representations.rb +661 -0
  602. data/generated/google/apis/networkmanagement_v1beta1/service.rb +667 -0
  603. data/generated/google/apis/{cloudprivatecatalogproducer_v1beta1.rb → networkmanagement_v1beta1.rb} +9 -9
  604. data/generated/google/apis/oauth2_v2/classes.rb +1 -81
  605. data/generated/google/apis/oauth2_v2/representations.rb +2 -36
  606. data/generated/google/apis/oauth2_v2/service.rb +10 -42
  607. data/generated/google/apis/oauth2_v2.rb +5 -5
  608. data/generated/google/apis/osconfig_v1/classes.rb +1225 -0
  609. data/generated/google/apis/osconfig_v1/representations.rb +506 -0
  610. data/generated/google/apis/osconfig_v1/service.rb +386 -0
  611. data/generated/google/apis/osconfig_v1.rb +35 -0
  612. data/generated/google/apis/osconfig_v1beta/classes.rb +2362 -0
  613. data/generated/google/apis/osconfig_v1beta/representations.rb +966 -0
  614. data/generated/google/apis/osconfig_v1beta/service.rb +605 -0
  615. data/generated/google/apis/osconfig_v1beta.rb +35 -0
  616. data/generated/google/apis/oslogin_v1/classes.rb +1 -1
  617. data/generated/google/apis/oslogin_v1/service.rb +10 -7
  618. data/generated/google/apis/oslogin_v1.rb +1 -2
  619. data/generated/google/apis/oslogin_v1alpha/service.rb +0 -1
  620. data/generated/google/apis/oslogin_v1alpha.rb +1 -2
  621. data/generated/google/apis/oslogin_v1beta/classes.rb +1 -1
  622. data/generated/google/apis/oslogin_v1beta/service.rb +9 -6
  623. data/generated/google/apis/oslogin_v1beta.rb +1 -2
  624. data/generated/google/apis/pagespeedonline_v5/classes.rb +534 -495
  625. data/generated/google/apis/pagespeedonline_v5/representations.rb +226 -221
  626. data/generated/google/apis/pagespeedonline_v5/service.rb +22 -24
  627. data/generated/google/apis/pagespeedonline_v5.rb +9 -4
  628. data/generated/google/apis/people_v1/classes.rb +104 -81
  629. data/generated/google/apis/people_v1/representations.rb +1 -0
  630. data/generated/google/apis/people_v1/service.rb +72 -79
  631. data/generated/google/apis/people_v1.rb +10 -1
  632. data/generated/google/apis/policytroubleshooter_v1/classes.rb +765 -0
  633. data/generated/google/apis/policytroubleshooter_v1/representations.rb +203 -0
  634. data/generated/google/apis/policytroubleshooter_v1/service.rb +90 -0
  635. data/generated/google/apis/policytroubleshooter_v1.rb +34 -0
  636. data/generated/google/apis/policytroubleshooter_v1beta/classes.rb +254 -111
  637. data/generated/google/apis/policytroubleshooter_v1beta/service.rb +2 -3
  638. data/generated/google/apis/policytroubleshooter_v1beta.rb +1 -1
  639. data/generated/google/apis/poly_v1.rb +1 -1
  640. data/generated/google/apis/prod_tt_sasportal_v1alpha1/classes.rb +1137 -0
  641. data/generated/google/apis/prod_tt_sasportal_v1alpha1/representations.rb +532 -0
  642. data/generated/google/apis/prod_tt_sasportal_v1alpha1/service.rb +1676 -0
  643. data/generated/google/apis/{pagespeedonline_v4.rb → prod_tt_sasportal_v1alpha1.rb} +12 -10
  644. data/generated/google/apis/pubsub_v1/classes.rb +248 -76
  645. data/generated/google/apis/pubsub_v1/representations.rb +18 -0
  646. data/generated/google/apis/pubsub_v1/service.rb +43 -31
  647. data/generated/google/apis/pubsub_v1.rb +1 -1
  648. data/generated/google/apis/pubsub_v1beta1a.rb +1 -1
  649. data/generated/google/apis/pubsub_v1beta2/classes.rb +144 -59
  650. data/generated/google/apis/pubsub_v1beta2/service.rb +10 -2
  651. data/generated/google/apis/pubsub_v1beta2.rb +1 -1
  652. data/generated/google/apis/recommender_v1beta1/classes.rb +221 -7
  653. data/generated/google/apis/recommender_v1beta1/representations.rb +96 -0
  654. data/generated/google/apis/recommender_v1beta1/service.rb +146 -19
  655. data/generated/google/apis/recommender_v1beta1.rb +1 -1
  656. data/generated/google/apis/redis_v1/classes.rb +48 -18
  657. data/generated/google/apis/redis_v1/representations.rb +14 -0
  658. data/generated/google/apis/redis_v1/service.rb +41 -5
  659. data/generated/google/apis/redis_v1.rb +1 -1
  660. data/generated/google/apis/redis_v1beta1/classes.rb +48 -18
  661. data/generated/google/apis/redis_v1beta1/representations.rb +14 -0
  662. data/generated/google/apis/redis_v1beta1/service.rb +41 -5
  663. data/generated/google/apis/redis_v1beta1.rb +1 -1
  664. data/generated/google/apis/remotebuildexecution_v1/classes.rb +352 -37
  665. data/generated/google/apis/remotebuildexecution_v1/representations.rb +99 -0
  666. data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
  667. data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +352 -37
  668. data/generated/google/apis/remotebuildexecution_v1alpha/representations.rb +99 -0
  669. data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
  670. data/generated/google/apis/remotebuildexecution_v2/classes.rb +362 -45
  671. data/generated/google/apis/remotebuildexecution_v2/representations.rb +100 -0
  672. data/generated/google/apis/remotebuildexecution_v2/service.rb +5 -1
  673. data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
  674. data/generated/google/apis/reseller_v1/service.rb +1 -1
  675. data/generated/google/apis/reseller_v1.rb +1 -1
  676. data/generated/google/apis/run_v1/classes.rb +308 -325
  677. data/generated/google/apis/run_v1/representations.rb +63 -103
  678. data/generated/google/apis/run_v1/service.rb +336 -933
  679. data/generated/google/apis/run_v1.rb +1 -1
  680. data/generated/google/apis/run_v1alpha1/classes.rb +1045 -392
  681. data/generated/google/apis/run_v1alpha1/representations.rb +343 -144
  682. data/generated/google/apis/run_v1alpha1/service.rb +1735 -492
  683. data/generated/google/apis/run_v1alpha1.rb +1 -1
  684. data/generated/google/apis/run_v1beta1/classes.rb +1 -1
  685. data/generated/google/apis/run_v1beta1.rb +4 -1
  686. data/generated/google/apis/runtimeconfig_v1.rb +1 -1
  687. data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +139 -57
  688. data/generated/google/apis/runtimeconfig_v1beta1/service.rb +8 -5
  689. data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
  690. data/generated/google/apis/safebrowsing_v4/classes.rb +2 -2
  691. data/generated/google/apis/safebrowsing_v4.rb +1 -1
  692. data/generated/google/apis/sasportal_v1alpha1/classes.rb +1137 -0
  693. data/generated/google/apis/sasportal_v1alpha1/representations.rb +532 -0
  694. data/generated/google/apis/sasportal_v1alpha1/service.rb +1676 -0
  695. data/generated/google/apis/{pagespeedonline_v2.rb → sasportal_v1alpha1.rb} +12 -10
  696. data/generated/google/apis/script_v1/classes.rb +4 -22
  697. data/generated/google/apis/script_v1.rb +1 -1
  698. data/generated/google/apis/searchconsole_v1.rb +1 -1
  699. data/generated/google/apis/secretmanager_v1/classes.rb +982 -0
  700. data/generated/google/apis/{cloudprivatecatalogproducer_v1beta1 → secretmanager_v1}/representations.rb +105 -116
  701. data/generated/google/apis/secretmanager_v1/service.rb +681 -0
  702. data/generated/google/apis/secretmanager_v1.rb +35 -0
  703. data/generated/google/apis/secretmanager_v1beta1/classes.rb +982 -0
  704. data/generated/google/apis/{servicebroker_v1beta1 → secretmanager_v1beta1}/representations.rb +114 -142
  705. data/generated/google/apis/secretmanager_v1beta1/service.rb +681 -0
  706. data/generated/google/apis/secretmanager_v1beta1.rb +35 -0
  707. data/generated/google/apis/securitycenter_v1/classes.rb +862 -138
  708. data/generated/google/apis/securitycenter_v1/representations.rb +221 -0
  709. data/generated/google/apis/securitycenter_v1/service.rb +225 -21
  710. data/generated/google/apis/securitycenter_v1.rb +4 -4
  711. data/generated/google/apis/securitycenter_v1beta1/classes.rb +782 -125
  712. data/generated/google/apis/securitycenter_v1beta1/representations.rb +192 -2
  713. data/generated/google/apis/securitycenter_v1beta1/service.rb +53 -51
  714. data/generated/google/apis/securitycenter_v1beta1.rb +4 -4
  715. data/generated/google/apis/securitycenter_v1p1alpha1/classes.rb +568 -0
  716. data/generated/google/apis/securitycenter_v1p1alpha1/representations.rb +190 -0
  717. data/generated/google/apis/securitycenter_v1p1alpha1/service.rb +3 -3
  718. data/generated/google/apis/securitycenter_v1p1alpha1.rb +4 -4
  719. data/generated/google/apis/securitycenter_v1p1beta1/classes.rb +2205 -0
  720. data/generated/google/apis/securitycenter_v1p1beta1/representations.rb +751 -0
  721. data/generated/google/apis/securitycenter_v1p1beta1/service.rb +1329 -0
  722. data/generated/google/apis/securitycenter_v1p1beta1.rb +35 -0
  723. data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +419 -64
  724. data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +98 -0
  725. data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
  726. data/generated/google/apis/serviceconsumermanagement_v1beta1/classes.rb +4159 -0
  727. data/generated/google/apis/serviceconsumermanagement_v1beta1/representations.rb +1307 -0
  728. data/generated/google/apis/serviceconsumermanagement_v1beta1/service.rb +428 -0
  729. data/generated/google/apis/serviceconsumermanagement_v1beta1.rb +34 -0
  730. data/generated/google/apis/servicecontrol_v1/classes.rb +255 -20
  731. data/generated/google/apis/servicecontrol_v1/representations.rb +87 -1
  732. data/generated/google/apis/servicecontrol_v1/service.rb +2 -1
  733. data/generated/google/apis/servicecontrol_v1.rb +1 -1
  734. data/generated/google/apis/servicedirectory_v1beta1/classes.rb +816 -0
  735. data/generated/google/apis/{surveys_v2 → servicedirectory_v1beta1}/representations.rb +103 -104
  736. data/generated/google/apis/servicedirectory_v1beta1/service.rb +992 -0
  737. data/generated/google/apis/servicedirectory_v1beta1.rb +35 -0
  738. data/generated/google/apis/servicemanagement_v1/classes.rb +459 -125
  739. data/generated/google/apis/servicemanagement_v1/representations.rb +61 -0
  740. data/generated/google/apis/servicemanagement_v1/service.rb +40 -29
  741. data/generated/google/apis/servicemanagement_v1.rb +1 -1
  742. data/generated/google/apis/servicenetworking_v1/classes.rb +986 -68
  743. data/generated/google/apis/servicenetworking_v1/representations.rb +403 -0
  744. data/generated/google/apis/servicenetworking_v1/service.rb +351 -23
  745. data/generated/google/apis/servicenetworking_v1.rb +1 -1
  746. data/generated/google/apis/servicenetworking_v1beta/classes.rb +575 -57
  747. data/generated/google/apis/servicenetworking_v1beta/representations.rb +223 -0
  748. data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
  749. data/generated/google/apis/serviceusage_v1/classes.rb +417 -64
  750. data/generated/google/apis/serviceusage_v1/representations.rb +110 -0
  751. data/generated/google/apis/serviceusage_v1/service.rb +42 -0
  752. data/generated/google/apis/serviceusage_v1.rb +1 -1
  753. data/generated/google/apis/serviceusage_v1beta1/classes.rb +644 -64
  754. data/generated/google/apis/serviceusage_v1beta1/representations.rb +198 -0
  755. data/generated/google/apis/serviceusage_v1beta1/service.rb +472 -0
  756. data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
  757. data/generated/google/apis/sheets_v4/classes.rb +1741 -253
  758. data/generated/google/apis/sheets_v4/representations.rb +283 -0
  759. data/generated/google/apis/sheets_v4/service.rb +9 -11
  760. data/generated/google/apis/sheets_v4.rb +1 -1
  761. data/generated/google/apis/slides_v1/classes.rb +1 -1
  762. data/generated/google/apis/slides_v1/service.rb +1 -1
  763. data/generated/google/apis/slides_v1.rb +1 -1
  764. data/generated/google/apis/sourcerepo_v1/classes.rb +173 -67
  765. data/generated/google/apis/sourcerepo_v1/service.rb +9 -1
  766. data/generated/google/apis/sourcerepo_v1.rb +1 -1
  767. data/generated/google/apis/spanner_v1/classes.rb +706 -71
  768. data/generated/google/apis/spanner_v1/representations.rb +194 -0
  769. data/generated/google/apis/spanner_v1/service.rb +770 -7
  770. data/generated/google/apis/spanner_v1.rb +1 -1
  771. data/generated/google/apis/speech_v1/classes.rb +15 -11
  772. data/generated/google/apis/speech_v1/representations.rb +2 -1
  773. data/generated/google/apis/speech_v1.rb +1 -1
  774. data/generated/google/apis/speech_v1p1beta1/classes.rb +197 -11
  775. data/generated/google/apis/speech_v1p1beta1/representations.rb +79 -1
  776. data/generated/google/apis/speech_v1p1beta1.rb +1 -1
  777. data/generated/google/apis/{speech_v2beta → speech_v2beta1}/classes.rb +16 -8
  778. data/generated/google/apis/{speech_v2beta → speech_v2beta1}/representations.rb +7 -6
  779. data/generated/google/apis/{speech_v2beta → speech_v2beta1}/service.rb +13 -13
  780. data/generated/google/apis/{speech_v2beta.rb → speech_v2beta1.rb} +6 -6
  781. data/generated/google/apis/{sqladmin_v1beta4 → sql_v1beta4}/classes.rb +701 -383
  782. data/generated/google/apis/{sqladmin_v1beta4 → sql_v1beta4}/representations.rb +209 -104
  783. data/generated/google/apis/{sqladmin_v1beta4 → sql_v1beta4}/service.rb +579 -597
  784. data/generated/google/apis/{sqladmin_v1beta4.rb → sql_v1beta4.rb} +7 -8
  785. data/generated/google/apis/storage_v1/classes.rb +73 -7
  786. data/generated/google/apis/storage_v1/representations.rb +10 -0
  787. data/generated/google/apis/storage_v1/service.rb +29 -4
  788. data/generated/google/apis/storage_v1.rb +1 -1
  789. data/generated/google/apis/storage_v1beta2/service.rb +1 -1
  790. data/generated/google/apis/storage_v1beta2.rb +1 -1
  791. data/generated/google/apis/storagetransfer_v1/classes.rb +280 -79
  792. data/generated/google/apis/storagetransfer_v1/representations.rb +52 -0
  793. data/generated/google/apis/storagetransfer_v1/service.rb +19 -41
  794. data/generated/google/apis/storagetransfer_v1.rb +1 -1
  795. data/generated/google/apis/streetviewpublish_v1/classes.rb +1 -1
  796. data/generated/google/apis/streetviewpublish_v1/service.rb +1 -1
  797. data/generated/google/apis/streetviewpublish_v1.rb +1 -1
  798. data/generated/google/apis/tagmanager_v1/classes.rb +2 -0
  799. data/generated/google/apis/tagmanager_v1/service.rb +1 -1
  800. data/generated/google/apis/tagmanager_v1.rb +1 -1
  801. data/generated/google/apis/tagmanager_v2/classes.rb +170 -0
  802. data/generated/google/apis/tagmanager_v2/representations.rb +49 -0
  803. data/generated/google/apis/tagmanager_v2/service.rb +1 -1
  804. data/generated/google/apis/tagmanager_v2.rb +1 -1
  805. data/generated/google/apis/tasks_v1/classes.rb +26 -25
  806. data/generated/google/apis/tasks_v1/representations.rb +4 -8
  807. data/generated/google/apis/tasks_v1/service.rb +78 -124
  808. data/generated/google/apis/tasks_v1.rb +3 -3
  809. data/generated/google/apis/testing_v1/classes.rb +187 -1
  810. data/generated/google/apis/testing_v1/representations.rb +93 -0
  811. data/generated/google/apis/testing_v1.rb +1 -1
  812. data/generated/google/apis/texttospeech_v1.rb +1 -1
  813. data/generated/google/apis/texttospeech_v1beta1.rb +1 -1
  814. data/generated/google/apis/toolresults_v1beta3/classes.rb +2061 -1133
  815. data/generated/google/apis/toolresults_v1beta3/representations.rb +723 -13
  816. data/generated/google/apis/toolresults_v1beta3/service.rb +663 -591
  817. data/generated/google/apis/toolresults_v1beta3.rb +2 -2
  818. data/generated/google/apis/tpu_v1/classes.rb +3 -4
  819. data/generated/google/apis/tpu_v1.rb +1 -1
  820. data/generated/google/apis/tpu_v1alpha1/classes.rb +3 -4
  821. data/generated/google/apis/tpu_v1alpha1.rb +1 -1
  822. data/generated/google/apis/translate_v3/classes.rb +946 -0
  823. data/generated/google/apis/translate_v3/representations.rb +439 -0
  824. data/generated/google/apis/translate_v3/service.rb +781 -0
  825. data/generated/google/apis/translate_v3.rb +37 -0
  826. data/generated/google/apis/translate_v3beta1.rb +1 -1
  827. data/generated/google/apis/vault_v1/classes.rb +10 -7
  828. data/generated/google/apis/vault_v1/service.rb +7 -7
  829. data/generated/google/apis/vault_v1.rb +1 -1
  830. data/generated/google/apis/verifiedaccess_v1/service.rb +2 -2
  831. data/generated/google/apis/verifiedaccess_v1.rb +3 -3
  832. data/generated/google/apis/videointelligence_v1/classes.rb +1205 -118
  833. data/generated/google/apis/videointelligence_v1/representations.rb +492 -0
  834. data/generated/google/apis/videointelligence_v1.rb +1 -1
  835. data/generated/google/apis/videointelligence_v1beta2/classes.rb +1205 -118
  836. data/generated/google/apis/videointelligence_v1beta2/representations.rb +492 -0
  837. data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
  838. data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +1216 -129
  839. data/generated/google/apis/videointelligence_v1p1beta1/representations.rb +492 -0
  840. data/generated/google/apis/videointelligence_v1p1beta1.rb +1 -1
  841. data/generated/google/apis/videointelligence_v1p2beta1/classes.rb +1205 -118
  842. data/generated/google/apis/videointelligence_v1p2beta1/representations.rb +492 -0
  843. data/generated/google/apis/videointelligence_v1p2beta1.rb +1 -1
  844. data/generated/google/apis/videointelligence_v1p3beta1/classes.rb +1290 -116
  845. data/generated/google/apis/videointelligence_v1p3beta1/representations.rb +526 -0
  846. data/generated/google/apis/videointelligence_v1p3beta1.rb +1 -1
  847. data/generated/google/apis/vision_v1/classes.rb +67 -1
  848. data/generated/google/apis/vision_v1/representations.rb +32 -0
  849. data/generated/google/apis/vision_v1/service.rb +1 -1
  850. data/generated/google/apis/vision_v1.rb +1 -1
  851. data/generated/google/apis/vision_v1p1beta1/classes.rb +67 -1
  852. data/generated/google/apis/vision_v1p1beta1/representations.rb +32 -0
  853. data/generated/google/apis/vision_v1p1beta1.rb +1 -1
  854. data/generated/google/apis/vision_v1p2beta1/classes.rb +67 -1
  855. data/generated/google/apis/vision_v1p2beta1/representations.rb +32 -0
  856. data/generated/google/apis/vision_v1p2beta1.rb +1 -1
  857. data/generated/google/apis/websecurityscanner_v1/classes.rb +75 -4
  858. data/generated/google/apis/websecurityscanner_v1/representations.rb +32 -0
  859. data/generated/google/apis/websecurityscanner_v1/service.rb +1 -1
  860. data/generated/google/apis/websecurityscanner_v1.rb +2 -2
  861. data/generated/google/apis/websecurityscanner_v1alpha/classes.rb +5 -4
  862. data/generated/google/apis/websecurityscanner_v1alpha/service.rb +1 -1
  863. data/generated/google/apis/websecurityscanner_v1alpha.rb +2 -2
  864. data/generated/google/apis/websecurityscanner_v1beta/classes.rb +77 -6
  865. data/generated/google/apis/websecurityscanner_v1beta/representations.rb +32 -0
  866. data/generated/google/apis/websecurityscanner_v1beta/service.rb +1 -1
  867. data/generated/google/apis/websecurityscanner_v1beta.rb +2 -2
  868. data/generated/google/apis/youtube_analytics_v1.rb +1 -1
  869. data/generated/google/apis/youtube_analytics_v2.rb +1 -1
  870. data/generated/google/apis/youtube_partner_v1/service.rb +2 -2
  871. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  872. data/generated/google/apis/youtube_v3/classes.rb +1376 -1262
  873. data/generated/google/apis/youtube_v3/representations.rb +99 -191
  874. data/generated/google/apis/youtube_v3/service.rb +1829 -2150
  875. data/generated/google/apis/youtube_v3.rb +8 -5
  876. data/generated/google/apis/youtubereporting_v1.rb +1 -1
  877. data/google-api-client.gemspec +6 -3
  878. data/lib/google/apis/core/api_command.rb +7 -0
  879. data/lib/google/apis/core/base_service.rb +1 -1
  880. data/lib/google/apis/core/http_command.rb +11 -10
  881. data/lib/google/apis/core/upload.rb +4 -0
  882. data/lib/google/apis/generator/annotator.rb +1 -1
  883. data/lib/google/apis/version.rb +9 -4
  884. data/rakelib/devsite/devsite_builder.rb +126 -0
  885. data/rakelib/devsite/link_checker.rb +64 -0
  886. data/rakelib/devsite/repo_metadata.rb +56 -0
  887. metadata +193 -110
  888. data/generated/google/apis/analytics_v2_4/representations.rb +0 -26
  889. data/generated/google/apis/analytics_v2_4/service.rb +0 -331
  890. data/generated/google/apis/analytics_v2_4.rb +0 -37
  891. data/generated/google/apis/cloudprivatecatalog_v1beta1/classes.rb +0 -358
  892. data/generated/google/apis/cloudprivatecatalog_v1beta1/service.rb +0 -486
  893. data/generated/google/apis/cloudprivatecatalogproducer_v1beta1/service.rb +0 -1081
  894. data/generated/google/apis/commentanalyzer_v1alpha1/classes.rb +0 -485
  895. data/generated/google/apis/commentanalyzer_v1alpha1/representations.rb +0 -210
  896. data/generated/google/apis/commentanalyzer_v1alpha1/service.rb +0 -124
  897. data/generated/google/apis/commentanalyzer_v1alpha1.rb +0 -39
  898. data/generated/google/apis/fusiontables_v1/classes.rb +0 -977
  899. data/generated/google/apis/fusiontables_v1/representations.rb +0 -449
  900. data/generated/google/apis/fusiontables_v1/service.rb +0 -1307
  901. data/generated/google/apis/fusiontables_v1.rb +0 -37
  902. data/generated/google/apis/fusiontables_v2/classes.rb +0 -1049
  903. data/generated/google/apis/fusiontables_v2/representations.rb +0 -457
  904. data/generated/google/apis/fusiontables_v2/service.rb +0 -1431
  905. data/generated/google/apis/fusiontables_v2.rb +0 -37
  906. data/generated/google/apis/mirror_v1/classes.rb +0 -1072
  907. data/generated/google/apis/mirror_v1/representations.rb +0 -390
  908. data/generated/google/apis/mirror_v1/service.rb +0 -928
  909. data/generated/google/apis/mirror_v1.rb +0 -37
  910. data/generated/google/apis/oauth2_v1/classes.rb +0 -197
  911. data/generated/google/apis/oauth2_v1/service.rb +0 -160
  912. data/generated/google/apis/oauth2_v1.rb +0 -40
  913. data/generated/google/apis/pagespeedonline_v1/classes.rb +0 -542
  914. data/generated/google/apis/pagespeedonline_v1/representations.rb +0 -258
  915. data/generated/google/apis/pagespeedonline_v1/service.rb +0 -116
  916. data/generated/google/apis/pagespeedonline_v2/classes.rb +0 -621
  917. data/generated/google/apis/pagespeedonline_v2/representations.rb +0 -273
  918. data/generated/google/apis/pagespeedonline_v2/service.rb +0 -116
  919. data/generated/google/apis/pagespeedonline_v4/classes.rb +0 -795
  920. data/generated/google/apis/pagespeedonline_v4/representations.rb +0 -335
  921. data/generated/google/apis/pagespeedonline_v4/service.rb +0 -125
  922. data/generated/google/apis/plus_domains_v1/classes.rb +0 -2609
  923. data/generated/google/apis/plus_domains_v1/representations.rb +0 -1111
  924. data/generated/google/apis/plus_domains_v1/service.rb +0 -489
  925. data/generated/google/apis/plus_domains_v1.rb +0 -55
  926. data/generated/google/apis/proximitybeacon_v1beta1/classes.rb +0 -845
  927. data/generated/google/apis/proximitybeacon_v1beta1/representations.rb +0 -350
  928. data/generated/google/apis/proximitybeacon_v1beta1/service.rb +0 -933
  929. data/generated/google/apis/replicapool_v1beta1/classes.rb +0 -918
  930. data/generated/google/apis/replicapool_v1beta1/representations.rb +0 -409
  931. data/generated/google/apis/replicapool_v1beta1/service.rb +0 -489
  932. data/generated/google/apis/replicapool_v1beta1.rb +0 -50
  933. data/generated/google/apis/servicebroker_v1/classes.rb +0 -333
  934. data/generated/google/apis/servicebroker_v1/service.rb +0 -177
  935. data/generated/google/apis/servicebroker_v1alpha1/classes.rb +0 -1037
  936. data/generated/google/apis/servicebroker_v1alpha1/service.rb +0 -737
  937. data/generated/google/apis/servicebroker_v1beta1/classes.rb +0 -1173
  938. data/generated/google/apis/servicebroker_v1beta1/service.rb +0 -926
  939. data/generated/google/apis/storage_v1beta1/classes.rb +0 -616
  940. data/generated/google/apis/storage_v1beta1/representations.rb +0 -249
  941. data/generated/google/apis/storage_v1beta1/service.rb +0 -1032
  942. data/generated/google/apis/storage_v1beta1.rb +0 -40
  943. data/generated/google/apis/surveys_v2/classes.rb +0 -691
  944. data/generated/google/apis/surveys_v2.rb +0 -40
  945. data/generated/google/apis/urlshortener_v1/classes.rb +0 -246
  946. data/generated/google/apis/urlshortener_v1/representations.rb +0 -121
  947. data/generated/google/apis/urlshortener_v1/service.rb +0 -169
  948. data/generated/google/apis/urlshortener_v1.rb +0 -34
@@ -47,46 +47,47 @@ module Google
47
47
  class GoogleCloudVideointelligenceV1AnnotateVideoRequest
48
48
  include Google::Apis::Core::Hashable
49
49
 
50
- # Requested video annotation features.
50
+ # Required. Requested video annotation features.
51
51
  # Corresponds to the JSON property `features`
52
52
  # @return [Array<String>]
53
53
  attr_accessor :features
54
54
 
55
55
  # The video data bytes.
56
- # If unset, the input video(s) should be specified via `input_uri`.
57
- # If set, `input_uri` should be unset.
56
+ # If unset, the input video(s) should be specified via the `input_uri`.
57
+ # If set, `input_uri` must be unset.
58
58
  # Corresponds to the JSON property `inputContent`
59
59
  # NOTE: Values are automatically base64 encoded/decoded in the client library.
60
60
  # @return [String]
61
61
  attr_accessor :input_content
62
62
 
63
63
  # Input video location. Currently, only
64
- # [Google Cloud Storage](https://cloud.google.com/storage/) URIs are
65
- # supported, which must be specified in the following format:
64
+ # [Cloud Storage](https://cloud.google.com/storage/) URIs are
65
+ # supported. URIs must be specified in the following format:
66
66
  # `gs://bucket-id/object-id` (other URI formats return
67
67
  # google.rpc.Code.INVALID_ARGUMENT). For more information, see
68
- # [Request URIs](/storage/docs/reference-uris).
69
- # A video URI may include wildcards in `object-id`, and thus identify
70
- # multiple videos. Supported wildcards: '*' to match 0 or more characters;
68
+ # [Request URIs](https://cloud.google.com/storage/docs/request-endpoints).
69
+ # To identify multiple videos, a video URI may include wildcards in the
70
+ # `object-id`. Supported wildcards: '*' to match 0 or more characters;
71
71
  # '?' to match 1 character. If unset, the input video should be embedded
72
- # in the request as `input_content`. If set, `input_content` should be unset.
72
+ # in the request as `input_content`. If set, `input_content` must be unset.
73
73
  # Corresponds to the JSON property `inputUri`
74
74
  # @return [String]
75
75
  attr_accessor :input_uri
76
76
 
77
- # Optional cloud region where annotation should take place. Supported cloud
78
- # regions: `us-east1`, `us-west1`, `europe-west1`, `asia-east1`. If no region
79
- # is specified, a region will be determined based on video file location.
77
+ # Optional. Cloud region where annotation should take place. Supported cloud
78
+ # regions are: `us-east1`, `us-west1`, `europe-west1`, `asia-east1`. If no
79
+ # region is specified, the region will be determined based on video file
80
+ # location.
80
81
  # Corresponds to the JSON property `locationId`
81
82
  # @return [String]
82
83
  attr_accessor :location_id
83
84
 
84
- # Optional location where the output (in JSON format) should be stored.
85
- # Currently, only [Google Cloud Storage](https://cloud.google.com/storage/)
86
- # URIs are supported, which must be specified in the following format:
85
+ # Optional. Location where the output (in JSON format) should be stored.
86
+ # Currently, only [Cloud Storage](https://cloud.google.com/storage/)
87
+ # URIs are supported. These must be specified in the following format:
87
88
  # `gs://bucket-id/object-id` (other URI formats return
88
89
  # google.rpc.Code.INVALID_ARGUMENT). For more information, see
89
- # [Request URIs](/storage/docs/reference-uris).
90
+ # [Request URIs](https://cloud.google.com/storage/docs/request-endpoints).
90
91
  # Corresponds to the JSON property `outputUri`
91
92
  # @return [String]
92
93
  attr_accessor :output_uri
@@ -132,11 +133,78 @@ module Google
132
133
  end
133
134
  end
134
135
 
136
+ # A generic detected attribute represented by name in string format.
137
+ class GoogleCloudVideointelligenceV1DetectedAttribute
138
+ include Google::Apis::Core::Hashable
139
+
140
+ # Detected attribute confidence. Range [0, 1].
141
+ # Corresponds to the JSON property `confidence`
142
+ # @return [Float]
143
+ attr_accessor :confidence
144
+
145
+ # The name of the attribute, for example, glasses, dark_glasses, mouth_open.
146
+ # A full list of supported type names will be provided in the document.
147
+ # Corresponds to the JSON property `name`
148
+ # @return [String]
149
+ attr_accessor :name
150
+
151
+ # Text value of the detection result. For example, the value for "HairColor"
152
+ # can be "black", "blonde", etc.
153
+ # Corresponds to the JSON property `value`
154
+ # @return [String]
155
+ attr_accessor :value
156
+
157
+ def initialize(**args)
158
+ update!(**args)
159
+ end
160
+
161
+ # Update properties of this object
162
+ def update!(**args)
163
+ @confidence = args[:confidence] if args.key?(:confidence)
164
+ @name = args[:name] if args.key?(:name)
165
+ @value = args[:value] if args.key?(:value)
166
+ end
167
+ end
168
+
169
+ # A generic detected landmark represented by name in string format and a 2D
170
+ # location.
171
+ class GoogleCloudVideointelligenceV1DetectedLandmark
172
+ include Google::Apis::Core::Hashable
173
+
174
+ # The confidence score of the detected landmark. Range [0, 1].
175
+ # Corresponds to the JSON property `confidence`
176
+ # @return [Float]
177
+ attr_accessor :confidence
178
+
179
+ # The name of this landmark, for example, left_hand, right_shoulder.
180
+ # Corresponds to the JSON property `name`
181
+ # @return [String]
182
+ attr_accessor :name
183
+
184
+ # A vertex represents a 2D point in the image.
185
+ # NOTE: the normalized vertex coordinates are relative to the original image
186
+ # and range from 0 to 1.
187
+ # Corresponds to the JSON property `point`
188
+ # @return [Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1NormalizedVertex]
189
+ attr_accessor :point
190
+
191
+ def initialize(**args)
192
+ update!(**args)
193
+ end
194
+
195
+ # Update properties of this object
196
+ def update!(**args)
197
+ @confidence = args[:confidence] if args.key?(:confidence)
198
+ @name = args[:name] if args.key?(:name)
199
+ @point = args[:point] if args.key?(:point)
200
+ end
201
+ end
202
+
135
203
  # Detected entity from video analysis.
136
204
  class GoogleCloudVideointelligenceV1Entity
137
205
  include Google::Apis::Core::Hashable
138
206
 
139
- # Textual description, e.g. `Fixed-gear bicycle`.
207
+ # Textual description, e.g., `Fixed-gear bicycle`.
140
208
  # Corresponds to the JSON property `description`
141
209
  # @return [String]
142
210
  attr_accessor :description
@@ -176,6 +244,11 @@ module Google
176
244
  # @return [Array<Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1ExplicitContentFrame>]
177
245
  attr_accessor :frames
178
246
 
247
+ # Feature version.
248
+ # Corresponds to the JSON property `version`
249
+ # @return [String]
250
+ attr_accessor :version
251
+
179
252
  def initialize(**args)
180
253
  update!(**args)
181
254
  end
@@ -183,6 +256,7 @@ module Google
183
256
  # Update properties of this object
184
257
  def update!(**args)
185
258
  @frames = args[:frames] if args.key?(:frames)
259
+ @version = args[:version] if args.key?(:version)
186
260
  end
187
261
  end
188
262
 
@@ -238,9 +312,9 @@ module Google
238
312
  include Google::Apis::Core::Hashable
239
313
 
240
314
  # Common categories for the detected entity.
241
- # E.g. when the label is `Terrier` the category is likely `dog`. And in some
242
- # cases there might be more than one categories e.g. `Terrier` could also be
243
- # a `pet`.
315
+ # For example, when the label is `Terrier`, the category is likely `dog`. And
316
+ # in some cases there might be more than one categories e.g., `Terrier` could
317
+ # also be a `pet`.
244
318
  # Corresponds to the JSON property `categoryEntities`
245
319
  # @return [Array<Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1Entity>]
246
320
  attr_accessor :category_entities
@@ -260,6 +334,11 @@ module Google
260
334
  # @return [Array<Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1LabelSegment>]
261
335
  attr_accessor :segments
262
336
 
337
+ # Feature version.
338
+ # Corresponds to the JSON property `version`
339
+ # @return [String]
340
+ attr_accessor :version
341
+
263
342
  def initialize(**args)
264
343
  update!(**args)
265
344
  end
@@ -270,6 +349,7 @@ module Google
270
349
  @entity = args[:entity] if args.key?(:entity)
271
350
  @frames = args[:frames] if args.key?(:frames)
272
351
  @segments = args[:segments] if args.key?(:segments)
352
+ @version = args[:version] if args.key?(:version)
273
353
  end
274
354
  end
275
355
 
@@ -281,7 +361,7 @@ module Google
281
361
  # frame-level detection. If not set, it is set to 0.4 by default. The valid
282
362
  # range for this threshold is [0.1, 0.9]. Any value set outside of this
283
363
  # range will be clipped.
284
- # Note: for best results please follow the default threshold. We will update
364
+ # Note: For best results, follow the default threshold. We will update
285
365
  # the default threshold everytime when we release a new model.
286
366
  # Corresponds to the JSON property `frameConfidenceThreshold`
287
367
  # @return [Float]
@@ -301,19 +381,19 @@ module Google
301
381
  # @return [String]
302
382
  attr_accessor :model
303
383
 
304
- # Whether the video has been shot from a stationary (i.e. non-moving) camera.
305
- # When set to true, might improve detection accuracy for moving objects.
306
- # Should be used with `SHOT_AND_FRAME_MODE` enabled.
384
+ # Whether the video has been shot from a stationary (i.e., non-moving)
385
+ # camera. When set to true, might improve detection accuracy for moving
386
+ # objects. Should be used with `SHOT_AND_FRAME_MODE` enabled.
307
387
  # Corresponds to the JSON property `stationaryCamera`
308
388
  # @return [Boolean]
309
389
  attr_accessor :stationary_camera
310
390
  alias_method :stationary_camera?, :stationary_camera
311
391
 
312
392
  # The confidence threshold we perform filtering on the labels from
313
- # video-level and shot-level detections. If not set, it is set to 0.3 by
393
+ # video-level and shot-level detections. If not set, it's set to 0.3 by
314
394
  # default. The valid range for this threshold is [0.1, 0.9]. Any value set
315
395
  # outside of this range will be clipped.
316
- # Note: for best results please follow the default threshold. We will update
396
+ # Note: For best results, follow the default threshold. We will update
317
397
  # the default threshold everytime when we release a new model.
318
398
  # Corresponds to the JSON property `videoConfidenceThreshold`
319
399
  # @return [Float]
@@ -384,6 +464,39 @@ module Google
384
464
  end
385
465
  end
386
466
 
467
+ # Annotation corresponding to one detected, tracked and recognized logo class.
468
+ class GoogleCloudVideointelligenceV1LogoRecognitionAnnotation
469
+ include Google::Apis::Core::Hashable
470
+
471
+ # Detected entity from video analysis.
472
+ # Corresponds to the JSON property `entity`
473
+ # @return [Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1Entity]
474
+ attr_accessor :entity
475
+
476
+ # All video segments where the recognized logo appears. There might be
477
+ # multiple instances of the same logo class appearing in one VideoSegment.
478
+ # Corresponds to the JSON property `segments`
479
+ # @return [Array<Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1VideoSegment>]
480
+ attr_accessor :segments
481
+
482
+ # All logo tracks where the recognized logo appears. Each track corresponds
483
+ # to one logo instance appearing in consecutive frames.
484
+ # Corresponds to the JSON property `tracks`
485
+ # @return [Array<Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1Track>]
486
+ attr_accessor :tracks
487
+
488
+ def initialize(**args)
489
+ update!(**args)
490
+ end
491
+
492
+ # Update properties of this object
493
+ def update!(**args)
494
+ @entity = args[:entity] if args.key?(:entity)
495
+ @segments = args[:segments] if args.key?(:segments)
496
+ @tracks = args[:tracks] if args.key?(:tracks)
497
+ end
498
+ end
499
+
387
500
  # Normalized bounding box.
388
501
  # The normalized vertex coordinates are relative to the original image.
389
502
  # Range: [0, 1].
@@ -520,6 +633,11 @@ module Google
520
633
  # @return [Fixnum]
521
634
  attr_accessor :track_id
522
635
 
636
+ # Feature version.
637
+ # Corresponds to the JSON property `version`
638
+ # @return [String]
639
+ attr_accessor :version
640
+
523
641
  def initialize(**args)
524
642
  update!(**args)
525
643
  end
@@ -531,6 +649,7 @@ module Google
531
649
  @frames = args[:frames] if args.key?(:frames)
532
650
  @segment = args[:segment] if args.key?(:segment)
533
651
  @track_id = args[:track_id] if args.key?(:track_id)
652
+ @version = args[:version] if args.key?(:version)
534
653
  end
535
654
  end
536
655
 
@@ -609,7 +728,7 @@ module Google
609
728
  class GoogleCloudVideointelligenceV1SpeechContext
610
729
  include Google::Apis::Core::Hashable
611
730
 
612
- # *Optional* A list of strings containing words and phrases "hints" so that
731
+ # Optional. A list of strings containing words and phrases "hints" so that
613
732
  # the speech recognition is more likely to recognize them. This can be used
614
733
  # to improve the accuracy for specific words and phrases, for example, if
615
734
  # specific commands are typically spoken by the user. This can also be used
@@ -649,8 +768,8 @@ module Google
649
768
  attr_accessor :transcript
650
769
 
651
770
  # Output only. A list of word-specific information for each recognized word.
652
- # Note: When `enable_speaker_diarization` is true, you will see all the words
653
- # from the beginning of the audio.
771
+ # Note: When `enable_speaker_diarization` is set to true, you will see all
772
+ # the words from the beginning of the audio.
654
773
  # Corresponds to the JSON property `words`
655
774
  # @return [Array<Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1WordInfo>]
656
775
  attr_accessor :words
@@ -679,10 +798,10 @@ module Google
679
798
  # @return [Array<Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1SpeechRecognitionAlternative>]
680
799
  attr_accessor :alternatives
681
800
 
682
- # Output only. The
683
- # [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag of the
684
- # language in this result. This language code was detected to have the most
685
- # likelihood of being spoken in the audio.
801
+ # Output only. The [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt)
802
+ # language tag of
803
+ # the language in this result. This language code was detected to have the
804
+ # most likelihood of being spoken in the audio.
686
805
  # Corresponds to the JSON property `languageCode`
687
806
  # @return [String]
688
807
  attr_accessor :language_code
@@ -702,21 +821,21 @@ module Google
702
821
  class GoogleCloudVideointelligenceV1SpeechTranscriptionConfig
703
822
  include Google::Apis::Core::Hashable
704
823
 
705
- # *Optional* For file formats, such as MXF or MKV, supporting multiple audio
824
+ # Optional. For file formats, such as MXF or MKV, supporting multiple audio
706
825
  # tracks, specify up to two tracks. Default: track 0.
707
826
  # Corresponds to the JSON property `audioTracks`
708
827
  # @return [Array<Fixnum>]
709
828
  attr_accessor :audio_tracks
710
829
 
711
- # *Optional*
712
- # If set, specifies the estimated number of speakers in the conversation.
830
+ # Optional. If set, specifies the estimated number of speakers in the
831
+ # conversation.
713
832
  # If not set, defaults to '2'.
714
833
  # Ignored unless enable_speaker_diarization is set to true.
715
834
  # Corresponds to the JSON property `diarizationSpeakerCount`
716
835
  # @return [Fixnum]
717
836
  attr_accessor :diarization_speaker_count
718
837
 
719
- # *Optional* If 'true', adds punctuation to recognition result hypotheses.
838
+ # Optional. If 'true', adds punctuation to recognition result hypotheses.
720
839
  # This feature is only available in select languages. Setting this for
721
840
  # requests in other languages has no effect at all. The default 'false' value
722
841
  # does not add punctuation to result hypotheses. NOTE: "This is currently
@@ -727,11 +846,11 @@ module Google
727
846
  attr_accessor :enable_automatic_punctuation
728
847
  alias_method :enable_automatic_punctuation?, :enable_automatic_punctuation
729
848
 
730
- # *Optional* If 'true', enables speaker detection for each recognized word in
849
+ # Optional. If 'true', enables speaker detection for each recognized word in
731
850
  # the top alternative of the recognition result using a speaker_tag provided
732
851
  # in the WordInfo.
733
852
  # Note: When this is true, we send all the words from the beginning of the
734
- # audio for the top alternative in every consecutive responses.
853
+ # audio for the top alternative in every consecutive response.
735
854
  # This is done in order to improve our speaker tags as our models learn to
736
855
  # identify the speakers in the conversation over time.
737
856
  # Corresponds to the JSON property `enableSpeakerDiarization`
@@ -739,7 +858,7 @@ module Google
739
858
  attr_accessor :enable_speaker_diarization
740
859
  alias_method :enable_speaker_diarization?, :enable_speaker_diarization
741
860
 
742
- # *Optional* If `true`, the top result includes a list of words and the
861
+ # Optional. If `true`, the top result includes a list of words and the
743
862
  # confidence for those words. If `false`, no word-level confidence
744
863
  # information is returned. The default is `false`.
745
864
  # Corresponds to the JSON property `enableWordConfidence`
@@ -747,7 +866,7 @@ module Google
747
866
  attr_accessor :enable_word_confidence
748
867
  alias_method :enable_word_confidence?, :enable_word_confidence
749
868
 
750
- # *Optional* If set to `true`, the server will attempt to filter out
869
+ # Optional. If set to `true`, the server will attempt to filter out
751
870
  # profanities, replacing all but the initial character in each filtered word
752
871
  # with asterisks, e.g. "f***". If set to `false` or omitted, profanities
753
872
  # won't be filtered out.
@@ -756,7 +875,7 @@ module Google
756
875
  attr_accessor :filter_profanity
757
876
  alias_method :filter_profanity?, :filter_profanity
758
877
 
759
- # *Required* The language of the supplied audio as a
878
+ # Required. *Required* The language of the supplied audio as a
760
879
  # [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag.
761
880
  # Example: "en-US".
762
881
  # See [Language Support](https://cloud.google.com/speech/docs/languages)
@@ -765,7 +884,7 @@ module Google
765
884
  # @return [String]
766
885
  attr_accessor :language_code
767
886
 
768
- # *Optional* Maximum number of recognition hypotheses to be returned.
887
+ # Optional. Maximum number of recognition hypotheses to be returned.
769
888
  # Specifically, the maximum number of `SpeechRecognitionAlternative` messages
770
889
  # within each `SpeechTranscription`. The server may return fewer than
771
890
  # `max_alternatives`. Valid values are `0`-`30`. A value of `0` or `1` will
@@ -774,7 +893,7 @@ module Google
774
893
  # @return [Fixnum]
775
894
  attr_accessor :max_alternatives
776
895
 
777
- # *Optional* A means to provide context to assist the speech recognition.
896
+ # Optional. A means to provide context to assist the speech recognition.
778
897
  # Corresponds to the JSON property `speechContexts`
779
898
  # @return [Array<Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1SpeechContext>]
780
899
  attr_accessor :speech_contexts
@@ -813,6 +932,11 @@ module Google
813
932
  # @return [String]
814
933
  attr_accessor :text
815
934
 
935
+ # Feature version.
936
+ # Corresponds to the JSON property `version`
937
+ # @return [String]
938
+ attr_accessor :version
939
+
816
940
  def initialize(**args)
817
941
  update!(**args)
818
942
  end
@@ -821,6 +945,7 @@ module Google
821
945
  def update!(**args)
822
946
  @segments = args[:segments] if args.key?(:segments)
823
947
  @text = args[:text] if args.key?(:text)
948
+ @version = args[:version] if args.key?(:version)
824
949
  end
825
950
  end
826
951
 
@@ -927,18 +1052,97 @@ module Google
927
1052
  end
928
1053
  end
929
1054
 
1055
+ # For tracking related features.
1056
+ # An object at time_offset with attributes, and located with
1057
+ # normalized_bounding_box.
1058
+ class GoogleCloudVideointelligenceV1TimestampedObject
1059
+ include Google::Apis::Core::Hashable
1060
+
1061
+ # Optional. The attributes of the object in the bounding box.
1062
+ # Corresponds to the JSON property `attributes`
1063
+ # @return [Array<Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1DetectedAttribute>]
1064
+ attr_accessor :attributes
1065
+
1066
+ # Optional. The detected landmarks.
1067
+ # Corresponds to the JSON property `landmarks`
1068
+ # @return [Array<Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1DetectedLandmark>]
1069
+ attr_accessor :landmarks
1070
+
1071
+ # Normalized bounding box.
1072
+ # The normalized vertex coordinates are relative to the original image.
1073
+ # Range: [0, 1].
1074
+ # Corresponds to the JSON property `normalizedBoundingBox`
1075
+ # @return [Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1NormalizedBoundingBox]
1076
+ attr_accessor :normalized_bounding_box
1077
+
1078
+ # Time-offset, relative to the beginning of the video,
1079
+ # corresponding to the video frame for this object.
1080
+ # Corresponds to the JSON property `timeOffset`
1081
+ # @return [String]
1082
+ attr_accessor :time_offset
1083
+
1084
+ def initialize(**args)
1085
+ update!(**args)
1086
+ end
1087
+
1088
+ # Update properties of this object
1089
+ def update!(**args)
1090
+ @attributes = args[:attributes] if args.key?(:attributes)
1091
+ @landmarks = args[:landmarks] if args.key?(:landmarks)
1092
+ @normalized_bounding_box = args[:normalized_bounding_box] if args.key?(:normalized_bounding_box)
1093
+ @time_offset = args[:time_offset] if args.key?(:time_offset)
1094
+ end
1095
+ end
1096
+
1097
+ # A track of an object instance.
1098
+ class GoogleCloudVideointelligenceV1Track
1099
+ include Google::Apis::Core::Hashable
1100
+
1101
+ # Optional. Attributes in the track level.
1102
+ # Corresponds to the JSON property `attributes`
1103
+ # @return [Array<Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1DetectedAttribute>]
1104
+ attr_accessor :attributes
1105
+
1106
+ # Optional. The confidence score of the tracked object.
1107
+ # Corresponds to the JSON property `confidence`
1108
+ # @return [Float]
1109
+ attr_accessor :confidence
1110
+
1111
+ # Video segment.
1112
+ # Corresponds to the JSON property `segment`
1113
+ # @return [Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1VideoSegment]
1114
+ attr_accessor :segment
1115
+
1116
+ # The object with timestamp and attributes per frame in the track.
1117
+ # Corresponds to the JSON property `timestampedObjects`
1118
+ # @return [Array<Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1TimestampedObject>]
1119
+ attr_accessor :timestamped_objects
1120
+
1121
+ def initialize(**args)
1122
+ update!(**args)
1123
+ end
1124
+
1125
+ # Update properties of this object
1126
+ def update!(**args)
1127
+ @attributes = args[:attributes] if args.key?(:attributes)
1128
+ @confidence = args[:confidence] if args.key?(:confidence)
1129
+ @segment = args[:segment] if args.key?(:segment)
1130
+ @timestamped_objects = args[:timestamped_objects] if args.key?(:timestamped_objects)
1131
+ end
1132
+ end
1133
+
930
1134
  # Annotation progress for a single video.
931
1135
  class GoogleCloudVideointelligenceV1VideoAnnotationProgress
932
1136
  include Google::Apis::Core::Hashable
933
1137
 
934
1138
  # Specifies which feature is being tracked if the request contains more than
935
- # one features.
1139
+ # one feature.
936
1140
  # Corresponds to the JSON property `feature`
937
1141
  # @return [String]
938
1142
  attr_accessor :feature
939
1143
 
940
1144
  # Video file location in
941
- # [Google Cloud Storage](https://cloud.google.com/storage/).
1145
+ # [Cloud Storage](https://cloud.google.com/storage/).
942
1146
  # Corresponds to the JSON property `inputUri`
943
1147
  # @return [String]
944
1148
  attr_accessor :input_uri
@@ -1007,11 +1211,16 @@ module Google
1007
1211
  attr_accessor :frame_label_annotations
1008
1212
 
1009
1213
  # Video file location in
1010
- # [Google Cloud Storage](https://cloud.google.com/storage/).
1214
+ # [Cloud Storage](https://cloud.google.com/storage/).
1011
1215
  # Corresponds to the JSON property `inputUri`
1012
1216
  # @return [String]
1013
1217
  attr_accessor :input_uri
1014
1218
 
1219
+ # Annotations for list of logos detected, tracked and recognized in video.
1220
+ # Corresponds to the JSON property `logoRecognitionAnnotations`
1221
+ # @return [Array<Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1LogoRecognitionAnnotation>]
1222
+ attr_accessor :logo_recognition_annotations
1223
+
1015
1224
  # Annotations for list of objects detected and tracked in video.
1016
1225
  # Corresponds to the JSON property `objectAnnotations`
1017
1226
  # @return [Array<Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1ObjectTrackingAnnotation>]
@@ -1022,13 +1231,13 @@ module Google
1022
1231
  # @return [Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1VideoSegment]
1023
1232
  attr_accessor :segment
1024
1233
 
1025
- # Topical label annotations on video level or user specified segment level.
1234
+ # Topical label annotations on video level or user-specified segment level.
1026
1235
  # There is exactly one element for each unique label.
1027
1236
  # Corresponds to the JSON property `segmentLabelAnnotations`
1028
1237
  # @return [Array<Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1LabelAnnotation>]
1029
1238
  attr_accessor :segment_label_annotations
1030
1239
 
1031
- # Presence label annotations on video level or user specified segment level.
1240
+ # Presence label annotations on video level or user-specified segment level.
1032
1241
  # There is exactly one element for each unique label. Compared to the
1033
1242
  # existing topical `segment_label_annotations`, this field presents more
1034
1243
  # fine-grained, segment-level labels detected in video content and is made
@@ -1080,6 +1289,7 @@ module Google
1080
1289
  @explicit_annotation = args[:explicit_annotation] if args.key?(:explicit_annotation)
1081
1290
  @frame_label_annotations = args[:frame_label_annotations] if args.key?(:frame_label_annotations)
1082
1291
  @input_uri = args[:input_uri] if args.key?(:input_uri)
1292
+ @logo_recognition_annotations = args[:logo_recognition_annotations] if args.key?(:logo_recognition_annotations)
1083
1293
  @object_annotations = args[:object_annotations] if args.key?(:object_annotations)
1084
1294
  @segment = args[:segment] if args.key?(:segment)
1085
1295
  @segment_label_annotations = args[:segment_label_annotations] if args.key?(:segment_label_annotations)
@@ -1277,11 +1487,78 @@ module Google
1277
1487
  end
1278
1488
  end
1279
1489
 
1490
+ # A generic detected attribute represented by name in string format.
1491
+ class GoogleCloudVideointelligenceV1beta2DetectedAttribute
1492
+ include Google::Apis::Core::Hashable
1493
+
1494
+ # Detected attribute confidence. Range [0, 1].
1495
+ # Corresponds to the JSON property `confidence`
1496
+ # @return [Float]
1497
+ attr_accessor :confidence
1498
+
1499
+ # The name of the attribute, for example, glasses, dark_glasses, mouth_open.
1500
+ # A full list of supported type names will be provided in the document.
1501
+ # Corresponds to the JSON property `name`
1502
+ # @return [String]
1503
+ attr_accessor :name
1504
+
1505
+ # Text value of the detection result. For example, the value for "HairColor"
1506
+ # can be "black", "blonde", etc.
1507
+ # Corresponds to the JSON property `value`
1508
+ # @return [String]
1509
+ attr_accessor :value
1510
+
1511
+ def initialize(**args)
1512
+ update!(**args)
1513
+ end
1514
+
1515
+ # Update properties of this object
1516
+ def update!(**args)
1517
+ @confidence = args[:confidence] if args.key?(:confidence)
1518
+ @name = args[:name] if args.key?(:name)
1519
+ @value = args[:value] if args.key?(:value)
1520
+ end
1521
+ end
1522
+
1523
+ # A generic detected landmark represented by name in string format and a 2D
1524
+ # location.
1525
+ class GoogleCloudVideointelligenceV1beta2DetectedLandmark
1526
+ include Google::Apis::Core::Hashable
1527
+
1528
+ # The confidence score of the detected landmark. Range [0, 1].
1529
+ # Corresponds to the JSON property `confidence`
1530
+ # @return [Float]
1531
+ attr_accessor :confidence
1532
+
1533
+ # The name of this landmark, for example, left_hand, right_shoulder.
1534
+ # Corresponds to the JSON property `name`
1535
+ # @return [String]
1536
+ attr_accessor :name
1537
+
1538
+ # A vertex represents a 2D point in the image.
1539
+ # NOTE: the normalized vertex coordinates are relative to the original image
1540
+ # and range from 0 to 1.
1541
+ # Corresponds to the JSON property `point`
1542
+ # @return [Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1beta2NormalizedVertex]
1543
+ attr_accessor :point
1544
+
1545
+ def initialize(**args)
1546
+ update!(**args)
1547
+ end
1548
+
1549
+ # Update properties of this object
1550
+ def update!(**args)
1551
+ @confidence = args[:confidence] if args.key?(:confidence)
1552
+ @name = args[:name] if args.key?(:name)
1553
+ @point = args[:point] if args.key?(:point)
1554
+ end
1555
+ end
1556
+
1280
1557
  # Detected entity from video analysis.
1281
1558
  class GoogleCloudVideointelligenceV1beta2Entity
1282
1559
  include Google::Apis::Core::Hashable
1283
1560
 
1284
- # Textual description, e.g. `Fixed-gear bicycle`.
1561
+ # Textual description, e.g., `Fixed-gear bicycle`.
1285
1562
  # Corresponds to the JSON property `description`
1286
1563
  # @return [String]
1287
1564
  attr_accessor :description
@@ -1321,6 +1598,11 @@ module Google
1321
1598
  # @return [Array<Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1beta2ExplicitContentFrame>]
1322
1599
  attr_accessor :frames
1323
1600
 
1601
+ # Feature version.
1602
+ # Corresponds to the JSON property `version`
1603
+ # @return [String]
1604
+ attr_accessor :version
1605
+
1324
1606
  def initialize(**args)
1325
1607
  update!(**args)
1326
1608
  end
@@ -1328,6 +1610,7 @@ module Google
1328
1610
  # Update properties of this object
1329
1611
  def update!(**args)
1330
1612
  @frames = args[:frames] if args.key?(:frames)
1613
+ @version = args[:version] if args.key?(:version)
1331
1614
  end
1332
1615
  end
1333
1616
 
@@ -1362,9 +1645,9 @@ module Google
1362
1645
  include Google::Apis::Core::Hashable
1363
1646
 
1364
1647
  # Common categories for the detected entity.
1365
- # E.g. when the label is `Terrier` the category is likely `dog`. And in some
1366
- # cases there might be more than one categories e.g. `Terrier` could also be
1367
- # a `pet`.
1648
+ # For example, when the label is `Terrier`, the category is likely `dog`. And
1649
+ # in some cases there might be more than one categories e.g., `Terrier` could
1650
+ # also be a `pet`.
1368
1651
  # Corresponds to the JSON property `categoryEntities`
1369
1652
  # @return [Array<Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1beta2Entity>]
1370
1653
  attr_accessor :category_entities
@@ -1384,6 +1667,11 @@ module Google
1384
1667
  # @return [Array<Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1beta2LabelSegment>]
1385
1668
  attr_accessor :segments
1386
1669
 
1670
+ # Feature version.
1671
+ # Corresponds to the JSON property `version`
1672
+ # @return [String]
1673
+ attr_accessor :version
1674
+
1387
1675
  def initialize(**args)
1388
1676
  update!(**args)
1389
1677
  end
@@ -1394,6 +1682,7 @@ module Google
1394
1682
  @entity = args[:entity] if args.key?(:entity)
1395
1683
  @frames = args[:frames] if args.key?(:frames)
1396
1684
  @segments = args[:segments] if args.key?(:segments)
1685
+ @version = args[:version] if args.key?(:version)
1397
1686
  end
1398
1687
  end
1399
1688
 
@@ -1448,6 +1737,39 @@ module Google
1448
1737
  end
1449
1738
  end
1450
1739
 
1740
+ # Annotation corresponding to one detected, tracked and recognized logo class.
1741
+ class GoogleCloudVideointelligenceV1beta2LogoRecognitionAnnotation
1742
+ include Google::Apis::Core::Hashable
1743
+
1744
+ # Detected entity from video analysis.
1745
+ # Corresponds to the JSON property `entity`
1746
+ # @return [Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1beta2Entity]
1747
+ attr_accessor :entity
1748
+
1749
+ # All video segments where the recognized logo appears. There might be
1750
+ # multiple instances of the same logo class appearing in one VideoSegment.
1751
+ # Corresponds to the JSON property `segments`
1752
+ # @return [Array<Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1beta2VideoSegment>]
1753
+ attr_accessor :segments
1754
+
1755
+ # All logo tracks where the recognized logo appears. Each track corresponds
1756
+ # to one logo instance appearing in consecutive frames.
1757
+ # Corresponds to the JSON property `tracks`
1758
+ # @return [Array<Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1beta2Track>]
1759
+ attr_accessor :tracks
1760
+
1761
+ def initialize(**args)
1762
+ update!(**args)
1763
+ end
1764
+
1765
+ # Update properties of this object
1766
+ def update!(**args)
1767
+ @entity = args[:entity] if args.key?(:entity)
1768
+ @segments = args[:segments] if args.key?(:segments)
1769
+ @tracks = args[:tracks] if args.key?(:tracks)
1770
+ end
1771
+ end
1772
+
1451
1773
  # Normalized bounding box.
1452
1774
  # The normalized vertex coordinates are relative to the original image.
1453
1775
  # Range: [0, 1].
@@ -1584,6 +1906,11 @@ module Google
1584
1906
  # @return [Fixnum]
1585
1907
  attr_accessor :track_id
1586
1908
 
1909
+ # Feature version.
1910
+ # Corresponds to the JSON property `version`
1911
+ # @return [String]
1912
+ attr_accessor :version
1913
+
1587
1914
  def initialize(**args)
1588
1915
  update!(**args)
1589
1916
  end
@@ -1595,6 +1922,7 @@ module Google
1595
1922
  @frames = args[:frames] if args.key?(:frames)
1596
1923
  @segment = args[:segment] if args.key?(:segment)
1597
1924
  @track_id = args[:track_id] if args.key?(:track_id)
1925
+ @version = args[:version] if args.key?(:version)
1598
1926
  end
1599
1927
  end
1600
1928
 
@@ -1646,8 +1974,8 @@ module Google
1646
1974
  attr_accessor :transcript
1647
1975
 
1648
1976
  # Output only. A list of word-specific information for each recognized word.
1649
- # Note: When `enable_speaker_diarization` is true, you will see all the words
1650
- # from the beginning of the audio.
1977
+ # Note: When `enable_speaker_diarization` is set to true, you will see all
1978
+ # the words from the beginning of the audio.
1651
1979
  # Corresponds to the JSON property `words`
1652
1980
  # @return [Array<Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1beta2WordInfo>]
1653
1981
  attr_accessor :words
@@ -1676,10 +2004,10 @@ module Google
1676
2004
  # @return [Array<Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1beta2SpeechRecognitionAlternative>]
1677
2005
  attr_accessor :alternatives
1678
2006
 
1679
- # Output only. The
1680
- # [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag of the
1681
- # language in this result. This language code was detected to have the most
1682
- # likelihood of being spoken in the audio.
2007
+ # Output only. The [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt)
2008
+ # language tag of
2009
+ # the language in this result. This language code was detected to have the
2010
+ # most likelihood of being spoken in the audio.
1683
2011
  # Corresponds to the JSON property `languageCode`
1684
2012
  # @return [String]
1685
2013
  attr_accessor :language_code
@@ -1711,7 +2039,12 @@ module Google
1711
2039
  # @return [String]
1712
2040
  attr_accessor :text
1713
2041
 
1714
- def initialize(**args)
2042
+ # Feature version.
2043
+ # Corresponds to the JSON property `version`
2044
+ # @return [String]
2045
+ attr_accessor :version
2046
+
2047
+ def initialize(**args)
1715
2048
  update!(**args)
1716
2049
  end
1717
2050
 
@@ -1719,6 +2052,7 @@ module Google
1719
2052
  def update!(**args)
1720
2053
  @segments = args[:segments] if args.key?(:segments)
1721
2054
  @text = args[:text] if args.key?(:text)
2055
+ @version = args[:version] if args.key?(:version)
1722
2056
  end
1723
2057
  end
1724
2058
 
@@ -1795,18 +2129,97 @@ module Google
1795
2129
  end
1796
2130
  end
1797
2131
 
2132
+ # For tracking related features.
2133
+ # An object at time_offset with attributes, and located with
2134
+ # normalized_bounding_box.
2135
+ class GoogleCloudVideointelligenceV1beta2TimestampedObject
2136
+ include Google::Apis::Core::Hashable
2137
+
2138
+ # Optional. The attributes of the object in the bounding box.
2139
+ # Corresponds to the JSON property `attributes`
2140
+ # @return [Array<Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1beta2DetectedAttribute>]
2141
+ attr_accessor :attributes
2142
+
2143
+ # Optional. The detected landmarks.
2144
+ # Corresponds to the JSON property `landmarks`
2145
+ # @return [Array<Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1beta2DetectedLandmark>]
2146
+ attr_accessor :landmarks
2147
+
2148
+ # Normalized bounding box.
2149
+ # The normalized vertex coordinates are relative to the original image.
2150
+ # Range: [0, 1].
2151
+ # Corresponds to the JSON property `normalizedBoundingBox`
2152
+ # @return [Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1beta2NormalizedBoundingBox]
2153
+ attr_accessor :normalized_bounding_box
2154
+
2155
+ # Time-offset, relative to the beginning of the video,
2156
+ # corresponding to the video frame for this object.
2157
+ # Corresponds to the JSON property `timeOffset`
2158
+ # @return [String]
2159
+ attr_accessor :time_offset
2160
+
2161
+ def initialize(**args)
2162
+ update!(**args)
2163
+ end
2164
+
2165
+ # Update properties of this object
2166
+ def update!(**args)
2167
+ @attributes = args[:attributes] if args.key?(:attributes)
2168
+ @landmarks = args[:landmarks] if args.key?(:landmarks)
2169
+ @normalized_bounding_box = args[:normalized_bounding_box] if args.key?(:normalized_bounding_box)
2170
+ @time_offset = args[:time_offset] if args.key?(:time_offset)
2171
+ end
2172
+ end
2173
+
2174
+ # A track of an object instance.
2175
+ class GoogleCloudVideointelligenceV1beta2Track
2176
+ include Google::Apis::Core::Hashable
2177
+
2178
+ # Optional. Attributes in the track level.
2179
+ # Corresponds to the JSON property `attributes`
2180
+ # @return [Array<Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1beta2DetectedAttribute>]
2181
+ attr_accessor :attributes
2182
+
2183
+ # Optional. The confidence score of the tracked object.
2184
+ # Corresponds to the JSON property `confidence`
2185
+ # @return [Float]
2186
+ attr_accessor :confidence
2187
+
2188
+ # Video segment.
2189
+ # Corresponds to the JSON property `segment`
2190
+ # @return [Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1beta2VideoSegment]
2191
+ attr_accessor :segment
2192
+
2193
+ # The object with timestamp and attributes per frame in the track.
2194
+ # Corresponds to the JSON property `timestampedObjects`
2195
+ # @return [Array<Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1beta2TimestampedObject>]
2196
+ attr_accessor :timestamped_objects
2197
+
2198
+ def initialize(**args)
2199
+ update!(**args)
2200
+ end
2201
+
2202
+ # Update properties of this object
2203
+ def update!(**args)
2204
+ @attributes = args[:attributes] if args.key?(:attributes)
2205
+ @confidence = args[:confidence] if args.key?(:confidence)
2206
+ @segment = args[:segment] if args.key?(:segment)
2207
+ @timestamped_objects = args[:timestamped_objects] if args.key?(:timestamped_objects)
2208
+ end
2209
+ end
2210
+
1798
2211
  # Annotation progress for a single video.
1799
2212
  class GoogleCloudVideointelligenceV1beta2VideoAnnotationProgress
1800
2213
  include Google::Apis::Core::Hashable
1801
2214
 
1802
2215
  # Specifies which feature is being tracked if the request contains more than
1803
- # one features.
2216
+ # one feature.
1804
2217
  # Corresponds to the JSON property `feature`
1805
2218
  # @return [String]
1806
2219
  attr_accessor :feature
1807
2220
 
1808
2221
  # Video file location in
1809
- # [Google Cloud Storage](https://cloud.google.com/storage/).
2222
+ # [Cloud Storage](https://cloud.google.com/storage/).
1810
2223
  # Corresponds to the JSON property `inputUri`
1811
2224
  # @return [String]
1812
2225
  attr_accessor :input_uri
@@ -1875,11 +2288,16 @@ module Google
1875
2288
  attr_accessor :frame_label_annotations
1876
2289
 
1877
2290
  # Video file location in
1878
- # [Google Cloud Storage](https://cloud.google.com/storage/).
2291
+ # [Cloud Storage](https://cloud.google.com/storage/).
1879
2292
  # Corresponds to the JSON property `inputUri`
1880
2293
  # @return [String]
1881
2294
  attr_accessor :input_uri
1882
2295
 
2296
+ # Annotations for list of logos detected, tracked and recognized in video.
2297
+ # Corresponds to the JSON property `logoRecognitionAnnotations`
2298
+ # @return [Array<Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1beta2LogoRecognitionAnnotation>]
2299
+ attr_accessor :logo_recognition_annotations
2300
+
1883
2301
  # Annotations for list of objects detected and tracked in video.
1884
2302
  # Corresponds to the JSON property `objectAnnotations`
1885
2303
  # @return [Array<Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1beta2ObjectTrackingAnnotation>]
@@ -1890,13 +2308,13 @@ module Google
1890
2308
  # @return [Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1beta2VideoSegment]
1891
2309
  attr_accessor :segment
1892
2310
 
1893
- # Topical label annotations on video level or user specified segment level.
2311
+ # Topical label annotations on video level or user-specified segment level.
1894
2312
  # There is exactly one element for each unique label.
1895
2313
  # Corresponds to the JSON property `segmentLabelAnnotations`
1896
2314
  # @return [Array<Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1beta2LabelAnnotation>]
1897
2315
  attr_accessor :segment_label_annotations
1898
2316
 
1899
- # Presence label annotations on video level or user specified segment level.
2317
+ # Presence label annotations on video level or user-specified segment level.
1900
2318
  # There is exactly one element for each unique label. Compared to the
1901
2319
  # existing topical `segment_label_annotations`, this field presents more
1902
2320
  # fine-grained, segment-level labels detected in video content and is made
@@ -1948,6 +2366,7 @@ module Google
1948
2366
  @explicit_annotation = args[:explicit_annotation] if args.key?(:explicit_annotation)
1949
2367
  @frame_label_annotations = args[:frame_label_annotations] if args.key?(:frame_label_annotations)
1950
2368
  @input_uri = args[:input_uri] if args.key?(:input_uri)
2369
+ @logo_recognition_annotations = args[:logo_recognition_annotations] if args.key?(:logo_recognition_annotations)
1951
2370
  @object_annotations = args[:object_annotations] if args.key?(:object_annotations)
1952
2371
  @segment = args[:segment] if args.key?(:segment)
1953
2372
  @segment_label_annotations = args[:segment_label_annotations] if args.key?(:segment_label_annotations)
@@ -2088,11 +2507,78 @@ module Google
2088
2507
  end
2089
2508
  end
2090
2509
 
2510
+ # A generic detected attribute represented by name in string format.
2511
+ class GoogleCloudVideointelligenceV1p1beta1DetectedAttribute
2512
+ include Google::Apis::Core::Hashable
2513
+
2514
+ # Detected attribute confidence. Range [0, 1].
2515
+ # Corresponds to the JSON property `confidence`
2516
+ # @return [Float]
2517
+ attr_accessor :confidence
2518
+
2519
+ # The name of the attribute, for example, glasses, dark_glasses, mouth_open.
2520
+ # A full list of supported type names will be provided in the document.
2521
+ # Corresponds to the JSON property `name`
2522
+ # @return [String]
2523
+ attr_accessor :name
2524
+
2525
+ # Text value of the detection result. For example, the value for "HairColor"
2526
+ # can be "black", "blonde", etc.
2527
+ # Corresponds to the JSON property `value`
2528
+ # @return [String]
2529
+ attr_accessor :value
2530
+
2531
+ def initialize(**args)
2532
+ update!(**args)
2533
+ end
2534
+
2535
+ # Update properties of this object
2536
+ def update!(**args)
2537
+ @confidence = args[:confidence] if args.key?(:confidence)
2538
+ @name = args[:name] if args.key?(:name)
2539
+ @value = args[:value] if args.key?(:value)
2540
+ end
2541
+ end
2542
+
2543
+ # A generic detected landmark represented by name in string format and a 2D
2544
+ # location.
2545
+ class GoogleCloudVideointelligenceV1p1beta1DetectedLandmark
2546
+ include Google::Apis::Core::Hashable
2547
+
2548
+ # The confidence score of the detected landmark. Range [0, 1].
2549
+ # Corresponds to the JSON property `confidence`
2550
+ # @return [Float]
2551
+ attr_accessor :confidence
2552
+
2553
+ # The name of this landmark, for example, left_hand, right_shoulder.
2554
+ # Corresponds to the JSON property `name`
2555
+ # @return [String]
2556
+ attr_accessor :name
2557
+
2558
+ # A vertex represents a 2D point in the image.
2559
+ # NOTE: the normalized vertex coordinates are relative to the original image
2560
+ # and range from 0 to 1.
2561
+ # Corresponds to the JSON property `point`
2562
+ # @return [Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p1beta1NormalizedVertex]
2563
+ attr_accessor :point
2564
+
2565
+ def initialize(**args)
2566
+ update!(**args)
2567
+ end
2568
+
2569
+ # Update properties of this object
2570
+ def update!(**args)
2571
+ @confidence = args[:confidence] if args.key?(:confidence)
2572
+ @name = args[:name] if args.key?(:name)
2573
+ @point = args[:point] if args.key?(:point)
2574
+ end
2575
+ end
2576
+
2091
2577
  # Detected entity from video analysis.
2092
2578
  class GoogleCloudVideointelligenceV1p1beta1Entity
2093
2579
  include Google::Apis::Core::Hashable
2094
2580
 
2095
- # Textual description, e.g. `Fixed-gear bicycle`.
2581
+ # Textual description, e.g., `Fixed-gear bicycle`.
2096
2582
  # Corresponds to the JSON property `description`
2097
2583
  # @return [String]
2098
2584
  attr_accessor :description
@@ -2132,6 +2618,11 @@ module Google
2132
2618
  # @return [Array<Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p1beta1ExplicitContentFrame>]
2133
2619
  attr_accessor :frames
2134
2620
 
2621
+ # Feature version.
2622
+ # Corresponds to the JSON property `version`
2623
+ # @return [String]
2624
+ attr_accessor :version
2625
+
2135
2626
  def initialize(**args)
2136
2627
  update!(**args)
2137
2628
  end
@@ -2139,6 +2630,7 @@ module Google
2139
2630
  # Update properties of this object
2140
2631
  def update!(**args)
2141
2632
  @frames = args[:frames] if args.key?(:frames)
2633
+ @version = args[:version] if args.key?(:version)
2142
2634
  end
2143
2635
  end
2144
2636
 
@@ -2173,9 +2665,9 @@ module Google
2173
2665
  include Google::Apis::Core::Hashable
2174
2666
 
2175
2667
  # Common categories for the detected entity.
2176
- # E.g. when the label is `Terrier` the category is likely `dog`. And in some
2177
- # cases there might be more than one categories e.g. `Terrier` could also be
2178
- # a `pet`.
2668
+ # For example, when the label is `Terrier`, the category is likely `dog`. And
2669
+ # in some cases there might be more than one categories e.g., `Terrier` could
2670
+ # also be a `pet`.
2179
2671
  # Corresponds to the JSON property `categoryEntities`
2180
2672
  # @return [Array<Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p1beta1Entity>]
2181
2673
  attr_accessor :category_entities
@@ -2195,6 +2687,11 @@ module Google
2195
2687
  # @return [Array<Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p1beta1LabelSegment>]
2196
2688
  attr_accessor :segments
2197
2689
 
2690
+ # Feature version.
2691
+ # Corresponds to the JSON property `version`
2692
+ # @return [String]
2693
+ attr_accessor :version
2694
+
2198
2695
  def initialize(**args)
2199
2696
  update!(**args)
2200
2697
  end
@@ -2205,6 +2702,7 @@ module Google
2205
2702
  @entity = args[:entity] if args.key?(:entity)
2206
2703
  @frames = args[:frames] if args.key?(:frames)
2207
2704
  @segments = args[:segments] if args.key?(:segments)
2705
+ @version = args[:version] if args.key?(:version)
2208
2706
  end
2209
2707
  end
2210
2708
 
@@ -2259,6 +2757,39 @@ module Google
2259
2757
  end
2260
2758
  end
2261
2759
 
2760
+ # Annotation corresponding to one detected, tracked and recognized logo class.
2761
+ class GoogleCloudVideointelligenceV1p1beta1LogoRecognitionAnnotation
2762
+ include Google::Apis::Core::Hashable
2763
+
2764
+ # Detected entity from video analysis.
2765
+ # Corresponds to the JSON property `entity`
2766
+ # @return [Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p1beta1Entity]
2767
+ attr_accessor :entity
2768
+
2769
+ # All video segments where the recognized logo appears. There might be
2770
+ # multiple instances of the same logo class appearing in one VideoSegment.
2771
+ # Corresponds to the JSON property `segments`
2772
+ # @return [Array<Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p1beta1VideoSegment>]
2773
+ attr_accessor :segments
2774
+
2775
+ # All logo tracks where the recognized logo appears. Each track corresponds
2776
+ # to one logo instance appearing in consecutive frames.
2777
+ # Corresponds to the JSON property `tracks`
2778
+ # @return [Array<Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p1beta1Track>]
2779
+ attr_accessor :tracks
2780
+
2781
+ def initialize(**args)
2782
+ update!(**args)
2783
+ end
2784
+
2785
+ # Update properties of this object
2786
+ def update!(**args)
2787
+ @entity = args[:entity] if args.key?(:entity)
2788
+ @segments = args[:segments] if args.key?(:segments)
2789
+ @tracks = args[:tracks] if args.key?(:tracks)
2790
+ end
2791
+ end
2792
+
2262
2793
  # Normalized bounding box.
2263
2794
  # The normalized vertex coordinates are relative to the original image.
2264
2795
  # Range: [0, 1].
@@ -2395,6 +2926,11 @@ module Google
2395
2926
  # @return [Fixnum]
2396
2927
  attr_accessor :track_id
2397
2928
 
2929
+ # Feature version.
2930
+ # Corresponds to the JSON property `version`
2931
+ # @return [String]
2932
+ attr_accessor :version
2933
+
2398
2934
  def initialize(**args)
2399
2935
  update!(**args)
2400
2936
  end
@@ -2406,6 +2942,7 @@ module Google
2406
2942
  @frames = args[:frames] if args.key?(:frames)
2407
2943
  @segment = args[:segment] if args.key?(:segment)
2408
2944
  @track_id = args[:track_id] if args.key?(:track_id)
2945
+ @version = args[:version] if args.key?(:version)
2409
2946
  end
2410
2947
  end
2411
2948
 
@@ -2457,8 +2994,8 @@ module Google
2457
2994
  attr_accessor :transcript
2458
2995
 
2459
2996
  # Output only. A list of word-specific information for each recognized word.
2460
- # Note: When `enable_speaker_diarization` is true, you will see all the words
2461
- # from the beginning of the audio.
2997
+ # Note: When `enable_speaker_diarization` is set to true, you will see all
2998
+ # the words from the beginning of the audio.
2462
2999
  # Corresponds to the JSON property `words`
2463
3000
  # @return [Array<Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p1beta1WordInfo>]
2464
3001
  attr_accessor :words
@@ -2487,10 +3024,10 @@ module Google
2487
3024
  # @return [Array<Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p1beta1SpeechRecognitionAlternative>]
2488
3025
  attr_accessor :alternatives
2489
3026
 
2490
- # Output only. The
2491
- # [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag of the
2492
- # language in this result. This language code was detected to have the most
2493
- # likelihood of being spoken in the audio.
3027
+ # Output only. The [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt)
3028
+ # language tag of
3029
+ # the language in this result. This language code was detected to have the
3030
+ # most likelihood of being spoken in the audio.
2494
3031
  # Corresponds to the JSON property `languageCode`
2495
3032
  # @return [String]
2496
3033
  attr_accessor :language_code
@@ -2522,6 +3059,11 @@ module Google
2522
3059
  # @return [String]
2523
3060
  attr_accessor :text
2524
3061
 
3062
+ # Feature version.
3063
+ # Corresponds to the JSON property `version`
3064
+ # @return [String]
3065
+ attr_accessor :version
3066
+
2525
3067
  def initialize(**args)
2526
3068
  update!(**args)
2527
3069
  end
@@ -2530,6 +3072,7 @@ module Google
2530
3072
  def update!(**args)
2531
3073
  @segments = args[:segments] if args.key?(:segments)
2532
3074
  @text = args[:text] if args.key?(:text)
3075
+ @version = args[:version] if args.key?(:version)
2533
3076
  end
2534
3077
  end
2535
3078
 
@@ -2606,18 +3149,97 @@ module Google
2606
3149
  end
2607
3150
  end
2608
3151
 
3152
+ # For tracking related features.
3153
+ # An object at time_offset with attributes, and located with
3154
+ # normalized_bounding_box.
3155
+ class GoogleCloudVideointelligenceV1p1beta1TimestampedObject
3156
+ include Google::Apis::Core::Hashable
3157
+
3158
+ # Optional. The attributes of the object in the bounding box.
3159
+ # Corresponds to the JSON property `attributes`
3160
+ # @return [Array<Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p1beta1DetectedAttribute>]
3161
+ attr_accessor :attributes
3162
+
3163
+ # Optional. The detected landmarks.
3164
+ # Corresponds to the JSON property `landmarks`
3165
+ # @return [Array<Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p1beta1DetectedLandmark>]
3166
+ attr_accessor :landmarks
3167
+
3168
+ # Normalized bounding box.
3169
+ # The normalized vertex coordinates are relative to the original image.
3170
+ # Range: [0, 1].
3171
+ # Corresponds to the JSON property `normalizedBoundingBox`
3172
+ # @return [Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p1beta1NormalizedBoundingBox]
3173
+ attr_accessor :normalized_bounding_box
3174
+
3175
+ # Time-offset, relative to the beginning of the video,
3176
+ # corresponding to the video frame for this object.
3177
+ # Corresponds to the JSON property `timeOffset`
3178
+ # @return [String]
3179
+ attr_accessor :time_offset
3180
+
3181
+ def initialize(**args)
3182
+ update!(**args)
3183
+ end
3184
+
3185
+ # Update properties of this object
3186
+ def update!(**args)
3187
+ @attributes = args[:attributes] if args.key?(:attributes)
3188
+ @landmarks = args[:landmarks] if args.key?(:landmarks)
3189
+ @normalized_bounding_box = args[:normalized_bounding_box] if args.key?(:normalized_bounding_box)
3190
+ @time_offset = args[:time_offset] if args.key?(:time_offset)
3191
+ end
3192
+ end
3193
+
3194
+ # A track of an object instance.
3195
+ class GoogleCloudVideointelligenceV1p1beta1Track
3196
+ include Google::Apis::Core::Hashable
3197
+
3198
+ # Optional. Attributes in the track level.
3199
+ # Corresponds to the JSON property `attributes`
3200
+ # @return [Array<Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p1beta1DetectedAttribute>]
3201
+ attr_accessor :attributes
3202
+
3203
+ # Optional. The confidence score of the tracked object.
3204
+ # Corresponds to the JSON property `confidence`
3205
+ # @return [Float]
3206
+ attr_accessor :confidence
3207
+
3208
+ # Video segment.
3209
+ # Corresponds to the JSON property `segment`
3210
+ # @return [Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p1beta1VideoSegment]
3211
+ attr_accessor :segment
3212
+
3213
+ # The object with timestamp and attributes per frame in the track.
3214
+ # Corresponds to the JSON property `timestampedObjects`
3215
+ # @return [Array<Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p1beta1TimestampedObject>]
3216
+ attr_accessor :timestamped_objects
3217
+
3218
+ def initialize(**args)
3219
+ update!(**args)
3220
+ end
3221
+
3222
+ # Update properties of this object
3223
+ def update!(**args)
3224
+ @attributes = args[:attributes] if args.key?(:attributes)
3225
+ @confidence = args[:confidence] if args.key?(:confidence)
3226
+ @segment = args[:segment] if args.key?(:segment)
3227
+ @timestamped_objects = args[:timestamped_objects] if args.key?(:timestamped_objects)
3228
+ end
3229
+ end
3230
+
2609
3231
  # Annotation progress for a single video.
2610
3232
  class GoogleCloudVideointelligenceV1p1beta1VideoAnnotationProgress
2611
3233
  include Google::Apis::Core::Hashable
2612
3234
 
2613
3235
  # Specifies which feature is being tracked if the request contains more than
2614
- # one features.
3236
+ # one feature.
2615
3237
  # Corresponds to the JSON property `feature`
2616
3238
  # @return [String]
2617
3239
  attr_accessor :feature
2618
3240
 
2619
3241
  # Video file location in
2620
- # [Google Cloud Storage](https://cloud.google.com/storage/).
3242
+ # [Cloud Storage](https://cloud.google.com/storage/).
2621
3243
  # Corresponds to the JSON property `inputUri`
2622
3244
  # @return [String]
2623
3245
  attr_accessor :input_uri
@@ -2686,11 +3308,16 @@ module Google
2686
3308
  attr_accessor :frame_label_annotations
2687
3309
 
2688
3310
  # Video file location in
2689
- # [Google Cloud Storage](https://cloud.google.com/storage/).
3311
+ # [Cloud Storage](https://cloud.google.com/storage/).
2690
3312
  # Corresponds to the JSON property `inputUri`
2691
3313
  # @return [String]
2692
3314
  attr_accessor :input_uri
2693
3315
 
3316
+ # Annotations for list of logos detected, tracked and recognized in video.
3317
+ # Corresponds to the JSON property `logoRecognitionAnnotations`
3318
+ # @return [Array<Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p1beta1LogoRecognitionAnnotation>]
3319
+ attr_accessor :logo_recognition_annotations
3320
+
2694
3321
  # Annotations for list of objects detected and tracked in video.
2695
3322
  # Corresponds to the JSON property `objectAnnotations`
2696
3323
  # @return [Array<Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p1beta1ObjectTrackingAnnotation>]
@@ -2701,13 +3328,13 @@ module Google
2701
3328
  # @return [Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p1beta1VideoSegment]
2702
3329
  attr_accessor :segment
2703
3330
 
2704
- # Topical label annotations on video level or user specified segment level.
3331
+ # Topical label annotations on video level or user-specified segment level.
2705
3332
  # There is exactly one element for each unique label.
2706
3333
  # Corresponds to the JSON property `segmentLabelAnnotations`
2707
3334
  # @return [Array<Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p1beta1LabelAnnotation>]
2708
3335
  attr_accessor :segment_label_annotations
2709
3336
 
2710
- # Presence label annotations on video level or user specified segment level.
3337
+ # Presence label annotations on video level or user-specified segment level.
2711
3338
  # There is exactly one element for each unique label. Compared to the
2712
3339
  # existing topical `segment_label_annotations`, this field presents more
2713
3340
  # fine-grained, segment-level labels detected in video content and is made
@@ -2759,6 +3386,7 @@ module Google
2759
3386
  @explicit_annotation = args[:explicit_annotation] if args.key?(:explicit_annotation)
2760
3387
  @frame_label_annotations = args[:frame_label_annotations] if args.key?(:frame_label_annotations)
2761
3388
  @input_uri = args[:input_uri] if args.key?(:input_uri)
3389
+ @logo_recognition_annotations = args[:logo_recognition_annotations] if args.key?(:logo_recognition_annotations)
2762
3390
  @object_annotations = args[:object_annotations] if args.key?(:object_annotations)
2763
3391
  @segment = args[:segment] if args.key?(:segment)
2764
3392
  @segment_label_annotations = args[:segment_label_annotations] if args.key?(:segment_label_annotations)
@@ -2895,7 +3523,74 @@ module Google
2895
3523
 
2896
3524
  # Update properties of this object
2897
3525
  def update!(**args)
2898
- @annotation_results = args[:annotation_results] if args.key?(:annotation_results)
3526
+ @annotation_results = args[:annotation_results] if args.key?(:annotation_results)
3527
+ end
3528
+ end
3529
+
3530
+ # A generic detected attribute represented by name in string format.
3531
+ class GoogleCloudVideointelligenceV1p2beta1DetectedAttribute
3532
+ include Google::Apis::Core::Hashable
3533
+
3534
+ # Detected attribute confidence. Range [0, 1].
3535
+ # Corresponds to the JSON property `confidence`
3536
+ # @return [Float]
3537
+ attr_accessor :confidence
3538
+
3539
+ # The name of the attribute, for example, glasses, dark_glasses, mouth_open.
3540
+ # A full list of supported type names will be provided in the document.
3541
+ # Corresponds to the JSON property `name`
3542
+ # @return [String]
3543
+ attr_accessor :name
3544
+
3545
+ # Text value of the detection result. For example, the value for "HairColor"
3546
+ # can be "black", "blonde", etc.
3547
+ # Corresponds to the JSON property `value`
3548
+ # @return [String]
3549
+ attr_accessor :value
3550
+
3551
+ def initialize(**args)
3552
+ update!(**args)
3553
+ end
3554
+
3555
+ # Update properties of this object
3556
+ def update!(**args)
3557
+ @confidence = args[:confidence] if args.key?(:confidence)
3558
+ @name = args[:name] if args.key?(:name)
3559
+ @value = args[:value] if args.key?(:value)
3560
+ end
3561
+ end
3562
+
3563
+ # A generic detected landmark represented by name in string format and a 2D
3564
+ # location.
3565
+ class GoogleCloudVideointelligenceV1p2beta1DetectedLandmark
3566
+ include Google::Apis::Core::Hashable
3567
+
3568
+ # The confidence score of the detected landmark. Range [0, 1].
3569
+ # Corresponds to the JSON property `confidence`
3570
+ # @return [Float]
3571
+ attr_accessor :confidence
3572
+
3573
+ # The name of this landmark, for example, left_hand, right_shoulder.
3574
+ # Corresponds to the JSON property `name`
3575
+ # @return [String]
3576
+ attr_accessor :name
3577
+
3578
+ # A vertex represents a 2D point in the image.
3579
+ # NOTE: the normalized vertex coordinates are relative to the original image
3580
+ # and range from 0 to 1.
3581
+ # Corresponds to the JSON property `point`
3582
+ # @return [Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p2beta1NormalizedVertex]
3583
+ attr_accessor :point
3584
+
3585
+ def initialize(**args)
3586
+ update!(**args)
3587
+ end
3588
+
3589
+ # Update properties of this object
3590
+ def update!(**args)
3591
+ @confidence = args[:confidence] if args.key?(:confidence)
3592
+ @name = args[:name] if args.key?(:name)
3593
+ @point = args[:point] if args.key?(:point)
2899
3594
  end
2900
3595
  end
2901
3596
 
@@ -2903,7 +3598,7 @@ module Google
2903
3598
  class GoogleCloudVideointelligenceV1p2beta1Entity
2904
3599
  include Google::Apis::Core::Hashable
2905
3600
 
2906
- # Textual description, e.g. `Fixed-gear bicycle`.
3601
+ # Textual description, e.g., `Fixed-gear bicycle`.
2907
3602
  # Corresponds to the JSON property `description`
2908
3603
  # @return [String]
2909
3604
  attr_accessor :description
@@ -2943,6 +3638,11 @@ module Google
2943
3638
  # @return [Array<Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p2beta1ExplicitContentFrame>]
2944
3639
  attr_accessor :frames
2945
3640
 
3641
+ # Feature version.
3642
+ # Corresponds to the JSON property `version`
3643
+ # @return [String]
3644
+ attr_accessor :version
3645
+
2946
3646
  def initialize(**args)
2947
3647
  update!(**args)
2948
3648
  end
@@ -2950,6 +3650,7 @@ module Google
2950
3650
  # Update properties of this object
2951
3651
  def update!(**args)
2952
3652
  @frames = args[:frames] if args.key?(:frames)
3653
+ @version = args[:version] if args.key?(:version)
2953
3654
  end
2954
3655
  end
2955
3656
 
@@ -2984,9 +3685,9 @@ module Google
2984
3685
  include Google::Apis::Core::Hashable
2985
3686
 
2986
3687
  # Common categories for the detected entity.
2987
- # E.g. when the label is `Terrier` the category is likely `dog`. And in some
2988
- # cases there might be more than one categories e.g. `Terrier` could also be
2989
- # a `pet`.
3688
+ # For example, when the label is `Terrier`, the category is likely `dog`. And
3689
+ # in some cases there might be more than one categories e.g., `Terrier` could
3690
+ # also be a `pet`.
2990
3691
  # Corresponds to the JSON property `categoryEntities`
2991
3692
  # @return [Array<Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p2beta1Entity>]
2992
3693
  attr_accessor :category_entities
@@ -3006,6 +3707,11 @@ module Google
3006
3707
  # @return [Array<Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p2beta1LabelSegment>]
3007
3708
  attr_accessor :segments
3008
3709
 
3710
+ # Feature version.
3711
+ # Corresponds to the JSON property `version`
3712
+ # @return [String]
3713
+ attr_accessor :version
3714
+
3009
3715
  def initialize(**args)
3010
3716
  update!(**args)
3011
3717
  end
@@ -3016,6 +3722,7 @@ module Google
3016
3722
  @entity = args[:entity] if args.key?(:entity)
3017
3723
  @frames = args[:frames] if args.key?(:frames)
3018
3724
  @segments = args[:segments] if args.key?(:segments)
3725
+ @version = args[:version] if args.key?(:version)
3019
3726
  end
3020
3727
  end
3021
3728
 
@@ -3070,6 +3777,39 @@ module Google
3070
3777
  end
3071
3778
  end
3072
3779
 
3780
+ # Annotation corresponding to one detected, tracked and recognized logo class.
3781
+ class GoogleCloudVideointelligenceV1p2beta1LogoRecognitionAnnotation
3782
+ include Google::Apis::Core::Hashable
3783
+
3784
+ # Detected entity from video analysis.
3785
+ # Corresponds to the JSON property `entity`
3786
+ # @return [Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p2beta1Entity]
3787
+ attr_accessor :entity
3788
+
3789
+ # All video segments where the recognized logo appears. There might be
3790
+ # multiple instances of the same logo class appearing in one VideoSegment.
3791
+ # Corresponds to the JSON property `segments`
3792
+ # @return [Array<Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p2beta1VideoSegment>]
3793
+ attr_accessor :segments
3794
+
3795
+ # All logo tracks where the recognized logo appears. Each track corresponds
3796
+ # to one logo instance appearing in consecutive frames.
3797
+ # Corresponds to the JSON property `tracks`
3798
+ # @return [Array<Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p2beta1Track>]
3799
+ attr_accessor :tracks
3800
+
3801
+ def initialize(**args)
3802
+ update!(**args)
3803
+ end
3804
+
3805
+ # Update properties of this object
3806
+ def update!(**args)
3807
+ @entity = args[:entity] if args.key?(:entity)
3808
+ @segments = args[:segments] if args.key?(:segments)
3809
+ @tracks = args[:tracks] if args.key?(:tracks)
3810
+ end
3811
+ end
3812
+
3073
3813
  # Normalized bounding box.
3074
3814
  # The normalized vertex coordinates are relative to the original image.
3075
3815
  # Range: [0, 1].
@@ -3206,6 +3946,11 @@ module Google
3206
3946
  # @return [Fixnum]
3207
3947
  attr_accessor :track_id
3208
3948
 
3949
+ # Feature version.
3950
+ # Corresponds to the JSON property `version`
3951
+ # @return [String]
3952
+ attr_accessor :version
3953
+
3209
3954
  def initialize(**args)
3210
3955
  update!(**args)
3211
3956
  end
@@ -3217,6 +3962,7 @@ module Google
3217
3962
  @frames = args[:frames] if args.key?(:frames)
3218
3963
  @segment = args[:segment] if args.key?(:segment)
3219
3964
  @track_id = args[:track_id] if args.key?(:track_id)
3965
+ @version = args[:version] if args.key?(:version)
3220
3966
  end
3221
3967
  end
3222
3968
 
@@ -3268,8 +4014,8 @@ module Google
3268
4014
  attr_accessor :transcript
3269
4015
 
3270
4016
  # Output only. A list of word-specific information for each recognized word.
3271
- # Note: When `enable_speaker_diarization` is true, you will see all the words
3272
- # from the beginning of the audio.
4017
+ # Note: When `enable_speaker_diarization` is set to true, you will see all
4018
+ # the words from the beginning of the audio.
3273
4019
  # Corresponds to the JSON property `words`
3274
4020
  # @return [Array<Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p2beta1WordInfo>]
3275
4021
  attr_accessor :words
@@ -3298,10 +4044,10 @@ module Google
3298
4044
  # @return [Array<Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p2beta1SpeechRecognitionAlternative>]
3299
4045
  attr_accessor :alternatives
3300
4046
 
3301
- # Output only. The
3302
- # [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag of the
3303
- # language in this result. This language code was detected to have the most
3304
- # likelihood of being spoken in the audio.
4047
+ # Output only. The [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt)
4048
+ # language tag of
4049
+ # the language in this result. This language code was detected to have the
4050
+ # most likelihood of being spoken in the audio.
3305
4051
  # Corresponds to the JSON property `languageCode`
3306
4052
  # @return [String]
3307
4053
  attr_accessor :language_code
@@ -3333,6 +4079,11 @@ module Google
3333
4079
  # @return [String]
3334
4080
  attr_accessor :text
3335
4081
 
4082
+ # Feature version.
4083
+ # Corresponds to the JSON property `version`
4084
+ # @return [String]
4085
+ attr_accessor :version
4086
+
3336
4087
  def initialize(**args)
3337
4088
  update!(**args)
3338
4089
  end
@@ -3341,6 +4092,7 @@ module Google
3341
4092
  def update!(**args)
3342
4093
  @segments = args[:segments] if args.key?(:segments)
3343
4094
  @text = args[:text] if args.key?(:text)
4095
+ @version = args[:version] if args.key?(:version)
3344
4096
  end
3345
4097
  end
3346
4098
 
@@ -3417,18 +4169,97 @@ module Google
3417
4169
  end
3418
4170
  end
3419
4171
 
4172
+ # For tracking related features.
4173
+ # An object at time_offset with attributes, and located with
4174
+ # normalized_bounding_box.
4175
+ class GoogleCloudVideointelligenceV1p2beta1TimestampedObject
4176
+ include Google::Apis::Core::Hashable
4177
+
4178
+ # Optional. The attributes of the object in the bounding box.
4179
+ # Corresponds to the JSON property `attributes`
4180
+ # @return [Array<Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p2beta1DetectedAttribute>]
4181
+ attr_accessor :attributes
4182
+
4183
+ # Optional. The detected landmarks.
4184
+ # Corresponds to the JSON property `landmarks`
4185
+ # @return [Array<Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p2beta1DetectedLandmark>]
4186
+ attr_accessor :landmarks
4187
+
4188
+ # Normalized bounding box.
4189
+ # The normalized vertex coordinates are relative to the original image.
4190
+ # Range: [0, 1].
4191
+ # Corresponds to the JSON property `normalizedBoundingBox`
4192
+ # @return [Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p2beta1NormalizedBoundingBox]
4193
+ attr_accessor :normalized_bounding_box
4194
+
4195
+ # Time-offset, relative to the beginning of the video,
4196
+ # corresponding to the video frame for this object.
4197
+ # Corresponds to the JSON property `timeOffset`
4198
+ # @return [String]
4199
+ attr_accessor :time_offset
4200
+
4201
+ def initialize(**args)
4202
+ update!(**args)
4203
+ end
4204
+
4205
+ # Update properties of this object
4206
+ def update!(**args)
4207
+ @attributes = args[:attributes] if args.key?(:attributes)
4208
+ @landmarks = args[:landmarks] if args.key?(:landmarks)
4209
+ @normalized_bounding_box = args[:normalized_bounding_box] if args.key?(:normalized_bounding_box)
4210
+ @time_offset = args[:time_offset] if args.key?(:time_offset)
4211
+ end
4212
+ end
4213
+
4214
+ # A track of an object instance.
4215
+ class GoogleCloudVideointelligenceV1p2beta1Track
4216
+ include Google::Apis::Core::Hashable
4217
+
4218
+ # Optional. Attributes in the track level.
4219
+ # Corresponds to the JSON property `attributes`
4220
+ # @return [Array<Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p2beta1DetectedAttribute>]
4221
+ attr_accessor :attributes
4222
+
4223
+ # Optional. The confidence score of the tracked object.
4224
+ # Corresponds to the JSON property `confidence`
4225
+ # @return [Float]
4226
+ attr_accessor :confidence
4227
+
4228
+ # Video segment.
4229
+ # Corresponds to the JSON property `segment`
4230
+ # @return [Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p2beta1VideoSegment]
4231
+ attr_accessor :segment
4232
+
4233
+ # The object with timestamp and attributes per frame in the track.
4234
+ # Corresponds to the JSON property `timestampedObjects`
4235
+ # @return [Array<Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p2beta1TimestampedObject>]
4236
+ attr_accessor :timestamped_objects
4237
+
4238
+ def initialize(**args)
4239
+ update!(**args)
4240
+ end
4241
+
4242
+ # Update properties of this object
4243
+ def update!(**args)
4244
+ @attributes = args[:attributes] if args.key?(:attributes)
4245
+ @confidence = args[:confidence] if args.key?(:confidence)
4246
+ @segment = args[:segment] if args.key?(:segment)
4247
+ @timestamped_objects = args[:timestamped_objects] if args.key?(:timestamped_objects)
4248
+ end
4249
+ end
4250
+
3420
4251
  # Annotation progress for a single video.
3421
4252
  class GoogleCloudVideointelligenceV1p2beta1VideoAnnotationProgress
3422
4253
  include Google::Apis::Core::Hashable
3423
4254
 
3424
4255
  # Specifies which feature is being tracked if the request contains more than
3425
- # one features.
4256
+ # one feature.
3426
4257
  # Corresponds to the JSON property `feature`
3427
4258
  # @return [String]
3428
4259
  attr_accessor :feature
3429
4260
 
3430
4261
  # Video file location in
3431
- # [Google Cloud Storage](https://cloud.google.com/storage/).
4262
+ # [Cloud Storage](https://cloud.google.com/storage/).
3432
4263
  # Corresponds to the JSON property `inputUri`
3433
4264
  # @return [String]
3434
4265
  attr_accessor :input_uri
@@ -3497,11 +4328,16 @@ module Google
3497
4328
  attr_accessor :frame_label_annotations
3498
4329
 
3499
4330
  # Video file location in
3500
- # [Google Cloud Storage](https://cloud.google.com/storage/).
4331
+ # [Cloud Storage](https://cloud.google.com/storage/).
3501
4332
  # Corresponds to the JSON property `inputUri`
3502
4333
  # @return [String]
3503
4334
  attr_accessor :input_uri
3504
4335
 
4336
+ # Annotations for list of logos detected, tracked and recognized in video.
4337
+ # Corresponds to the JSON property `logoRecognitionAnnotations`
4338
+ # @return [Array<Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p2beta1LogoRecognitionAnnotation>]
4339
+ attr_accessor :logo_recognition_annotations
4340
+
3505
4341
  # Annotations for list of objects detected and tracked in video.
3506
4342
  # Corresponds to the JSON property `objectAnnotations`
3507
4343
  # @return [Array<Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p2beta1ObjectTrackingAnnotation>]
@@ -3512,13 +4348,13 @@ module Google
3512
4348
  # @return [Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p2beta1VideoSegment]
3513
4349
  attr_accessor :segment
3514
4350
 
3515
- # Topical label annotations on video level or user specified segment level.
4351
+ # Topical label annotations on video level or user-specified segment level.
3516
4352
  # There is exactly one element for each unique label.
3517
4353
  # Corresponds to the JSON property `segmentLabelAnnotations`
3518
4354
  # @return [Array<Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p2beta1LabelAnnotation>]
3519
4355
  attr_accessor :segment_label_annotations
3520
4356
 
3521
- # Presence label annotations on video level or user specified segment level.
4357
+ # Presence label annotations on video level or user-specified segment level.
3522
4358
  # There is exactly one element for each unique label. Compared to the
3523
4359
  # existing topical `segment_label_annotations`, this field presents more
3524
4360
  # fine-grained, segment-level labels detected in video content and is made
@@ -3570,6 +4406,7 @@ module Google
3570
4406
  @explicit_annotation = args[:explicit_annotation] if args.key?(:explicit_annotation)
3571
4407
  @frame_label_annotations = args[:frame_label_annotations] if args.key?(:frame_label_annotations)
3572
4408
  @input_uri = args[:input_uri] if args.key?(:input_uri)
4409
+ @logo_recognition_annotations = args[:logo_recognition_annotations] if args.key?(:logo_recognition_annotations)
3573
4410
  @object_annotations = args[:object_annotations] if args.key?(:object_annotations)
3574
4411
  @segment = args[:segment] if args.key?(:segment)
3575
4412
  @segment_label_annotations = args[:segment_label_annotations] if args.key?(:segment_label_annotations)
@@ -3710,6 +4547,93 @@ module Google
3710
4547
  end
3711
4548
  end
3712
4549
 
4550
+ # Celebrity definition.
4551
+ class GoogleCloudVideointelligenceV1p3beta1Celebrity
4552
+ include Google::Apis::Core::Hashable
4553
+
4554
+ # Textual description of additional information about the celebrity, if
4555
+ # applicable.
4556
+ # Corresponds to the JSON property `description`
4557
+ # @return [String]
4558
+ attr_accessor :description
4559
+
4560
+ # The celebrity name.
4561
+ # Corresponds to the JSON property `displayName`
4562
+ # @return [String]
4563
+ attr_accessor :display_name
4564
+
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.
4569
+ # Corresponds to the JSON property `name`
4570
+ # @return [String]
4571
+ attr_accessor :name
4572
+
4573
+ def initialize(**args)
4574
+ update!(**args)
4575
+ end
4576
+
4577
+ # Update properties of this object
4578
+ def update!(**args)
4579
+ @description = args[:description] if args.key?(:description)
4580
+ @display_name = args[:display_name] if args.key?(:display_name)
4581
+ @name = args[:name] if args.key?(:name)
4582
+ end
4583
+ end
4584
+
4585
+ # Celebrity recognition annotation per video.
4586
+ class GoogleCloudVideointelligenceV1p3beta1CelebrityRecognitionAnnotation
4587
+ include Google::Apis::Core::Hashable
4588
+
4589
+ # The tracks detected from the input video, including recognized celebrities
4590
+ # and other detected faces in the video.
4591
+ # Corresponds to the JSON property `celebrityTracks`
4592
+ # @return [Array<Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p3beta1CelebrityTrack>]
4593
+ attr_accessor :celebrity_tracks
4594
+
4595
+ # Feature version.
4596
+ # Corresponds to the JSON property `version`
4597
+ # @return [String]
4598
+ attr_accessor :version
4599
+
4600
+ def initialize(**args)
4601
+ update!(**args)
4602
+ end
4603
+
4604
+ # Update properties of this object
4605
+ def update!(**args)
4606
+ @celebrity_tracks = args[:celebrity_tracks] if args.key?(:celebrity_tracks)
4607
+ @version = args[:version] if args.key?(:version)
4608
+ end
4609
+ end
4610
+
4611
+ # The annotation result of a celebrity face track. RecognizedCelebrity field
4612
+ # could be empty if the face track does not have any matched celebrities.
4613
+ class GoogleCloudVideointelligenceV1p3beta1CelebrityTrack
4614
+ include Google::Apis::Core::Hashable
4615
+
4616
+ # Top N match of the celebrities for the face in this track.
4617
+ # Corresponds to the JSON property `celebrities`
4618
+ # @return [Array<Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p3beta1RecognizedCelebrity>]
4619
+ attr_accessor :celebrities
4620
+
4621
+ # A track of an object instance.
4622
+ # Corresponds to the JSON property `faceTrack`
4623
+ # @return [Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p3beta1Track]
4624
+ attr_accessor :face_track
4625
+
4626
+ def initialize(**args)
4627
+ update!(**args)
4628
+ end
4629
+
4630
+ # Update properties of this object
4631
+ def update!(**args)
4632
+ @celebrities = args[:celebrities] if args.key?(:celebrities)
4633
+ @face_track = args[:face_track] if args.key?(:face_track)
4634
+ end
4635
+ end
4636
+
3713
4637
  # A generic detected attribute represented by name in string format.
3714
4638
  class GoogleCloudVideointelligenceV1p3beta1DetectedAttribute
3715
4639
  include Google::Apis::Core::Hashable
@@ -3719,7 +4643,7 @@ module Google
3719
4643
  # @return [Float]
3720
4644
  attr_accessor :confidence
3721
4645
 
3722
- # The name of the attribute, i.e. glasses, dark_glasses, mouth_open etc.
4646
+ # The name of the attribute, for example, glasses, dark_glasses, mouth_open.
3723
4647
  # A full list of supported type names will be provided in the document.
3724
4648
  # Corresponds to the JSON property `name`
3725
4649
  # @return [String]
@@ -3743,11 +4667,45 @@ module Google
3743
4667
  end
3744
4668
  end
3745
4669
 
4670
+ # A generic detected landmark represented by name in string format and a 2D
4671
+ # location.
4672
+ class GoogleCloudVideointelligenceV1p3beta1DetectedLandmark
4673
+ include Google::Apis::Core::Hashable
4674
+
4675
+ # The confidence score of the detected landmark. Range [0, 1].
4676
+ # Corresponds to the JSON property `confidence`
4677
+ # @return [Float]
4678
+ attr_accessor :confidence
4679
+
4680
+ # The name of this landmark, for example, left_hand, right_shoulder.
4681
+ # Corresponds to the JSON property `name`
4682
+ # @return [String]
4683
+ attr_accessor :name
4684
+
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.
4688
+ # Corresponds to the JSON property `point`
4689
+ # @return [Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p3beta1NormalizedVertex]
4690
+ attr_accessor :point
4691
+
4692
+ def initialize(**args)
4693
+ update!(**args)
4694
+ end
4695
+
4696
+ # Update properties of this object
4697
+ def update!(**args)
4698
+ @confidence = args[:confidence] if args.key?(:confidence)
4699
+ @name = args[:name] if args.key?(:name)
4700
+ @point = args[:point] if args.key?(:point)
4701
+ end
4702
+ end
4703
+
3746
4704
  # Detected entity from video analysis.
3747
4705
  class GoogleCloudVideointelligenceV1p3beta1Entity
3748
4706
  include Google::Apis::Core::Hashable
3749
4707
 
3750
- # Textual description, e.g. `Fixed-gear bicycle`.
4708
+ # Textual description, e.g., `Fixed-gear bicycle`.
3751
4709
  # Corresponds to the JSON property `description`
3752
4710
  # @return [String]
3753
4711
  attr_accessor :description
@@ -3787,6 +4745,11 @@ module Google
3787
4745
  # @return [Array<Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p3beta1ExplicitContentFrame>]
3788
4746
  attr_accessor :frames
3789
4747
 
4748
+ # Feature version.
4749
+ # Corresponds to the JSON property `version`
4750
+ # @return [String]
4751
+ attr_accessor :version
4752
+
3790
4753
  def initialize(**args)
3791
4754
  update!(**args)
3792
4755
  end
@@ -3794,6 +4757,7 @@ module Google
3794
4757
  # Update properties of this object
3795
4758
  def update!(**args)
3796
4759
  @frames = args[:frames] if args.key?(:frames)
4760
+ @version = args[:version] if args.key?(:version)
3797
4761
  end
3798
4762
  end
3799
4763
 
@@ -3823,14 +4787,46 @@ module Google
3823
4787
  end
3824
4788
  end
3825
4789
 
4790
+ # Face detection annotation.
4791
+ class GoogleCloudVideointelligenceV1p3beta1FaceDetectionAnnotation
4792
+ include Google::Apis::Core::Hashable
4793
+
4794
+ # The thumbnail of a person's face.
4795
+ # Corresponds to the JSON property `thumbnail`
4796
+ # NOTE: Values are automatically base64 encoded/decoded in the client library.
4797
+ # @return [String]
4798
+ attr_accessor :thumbnail
4799
+
4800
+ # The face tracks with attributes.
4801
+ # Corresponds to the JSON property `tracks`
4802
+ # @return [Array<Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p3beta1Track>]
4803
+ attr_accessor :tracks
4804
+
4805
+ # Feature version.
4806
+ # Corresponds to the JSON property `version`
4807
+ # @return [String]
4808
+ attr_accessor :version
4809
+
4810
+ def initialize(**args)
4811
+ update!(**args)
4812
+ end
4813
+
4814
+ # Update properties of this object
4815
+ def update!(**args)
4816
+ @thumbnail = args[:thumbnail] if args.key?(:thumbnail)
4817
+ @tracks = args[:tracks] if args.key?(:tracks)
4818
+ @version = args[:version] if args.key?(:version)
4819
+ end
4820
+ end
4821
+
3826
4822
  # Label annotation.
3827
4823
  class GoogleCloudVideointelligenceV1p3beta1LabelAnnotation
3828
4824
  include Google::Apis::Core::Hashable
3829
4825
 
3830
4826
  # Common categories for the detected entity.
3831
- # E.g. when the label is `Terrier` the category is likely `dog`. And in some
3832
- # cases there might be more than one categories e.g. `Terrier` could also be
3833
- # a `pet`.
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`.
3834
4830
  # Corresponds to the JSON property `categoryEntities`
3835
4831
  # @return [Array<Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p3beta1Entity>]
3836
4832
  attr_accessor :category_entities
@@ -3850,6 +4846,11 @@ module Google
3850
4846
  # @return [Array<Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p3beta1LabelSegment>]
3851
4847
  attr_accessor :segments
3852
4848
 
4849
+ # Feature version.
4850
+ # Corresponds to the JSON property `version`
4851
+ # @return [String]
4852
+ attr_accessor :version
4853
+
3853
4854
  def initialize(**args)
3854
4855
  update!(**args)
3855
4856
  end
@@ -3860,6 +4861,7 @@ module Google
3860
4861
  @entity = args[:entity] if args.key?(:entity)
3861
4862
  @frames = args[:frames] if args.key?(:frames)
3862
4863
  @segments = args[:segments] if args.key?(:segments)
4864
+ @version = args[:version] if args.key?(:version)
3863
4865
  end
3864
4866
  end
3865
4867
 
@@ -4083,6 +5085,11 @@ module Google
4083
5085
  # @return [Fixnum]
4084
5086
  attr_accessor :track_id
4085
5087
 
5088
+ # Feature version.
5089
+ # Corresponds to the JSON property `version`
5090
+ # @return [String]
5091
+ attr_accessor :version
5092
+
4086
5093
  def initialize(**args)
4087
5094
  update!(**args)
4088
5095
  end
@@ -4094,6 +5101,7 @@ module Google
4094
5101
  @frames = args[:frames] if args.key?(:frames)
4095
5102
  @segment = args[:segment] if args.key?(:segment)
4096
5103
  @track_id = args[:track_id] if args.key?(:track_id)
5104
+ @version = args[:version] if args.key?(:version)
4097
5105
  end
4098
5106
  end
4099
5107
 
@@ -4125,6 +5133,56 @@ module Google
4125
5133
  end
4126
5134
  end
4127
5135
 
5136
+ # Person detection annotation per video.
5137
+ class GoogleCloudVideointelligenceV1p3beta1PersonDetectionAnnotation
5138
+ include Google::Apis::Core::Hashable
5139
+
5140
+ # The detected tracks of a person.
5141
+ # Corresponds to the JSON property `tracks`
5142
+ # @return [Array<Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p3beta1Track>]
5143
+ attr_accessor :tracks
5144
+
5145
+ # Feature version.
5146
+ # Corresponds to the JSON property `version`
5147
+ # @return [String]
5148
+ attr_accessor :version
5149
+
5150
+ def initialize(**args)
5151
+ update!(**args)
5152
+ end
5153
+
5154
+ # Update properties of this object
5155
+ def update!(**args)
5156
+ @tracks = args[:tracks] if args.key?(:tracks)
5157
+ @version = args[:version] if args.key?(:version)
5158
+ end
5159
+ end
5160
+
5161
+ # The recognized celebrity with confidence score.
5162
+ class GoogleCloudVideointelligenceV1p3beta1RecognizedCelebrity
5163
+ include Google::Apis::Core::Hashable
5164
+
5165
+ # Celebrity definition.
5166
+ # Corresponds to the JSON property `celebrity`
5167
+ # @return [Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p3beta1Celebrity]
5168
+ attr_accessor :celebrity
5169
+
5170
+ # Recognition confidence. Range [0, 1].
5171
+ # Corresponds to the JSON property `confidence`
5172
+ # @return [Float]
5173
+ attr_accessor :confidence
5174
+
5175
+ def initialize(**args)
5176
+ update!(**args)
5177
+ end
5178
+
5179
+ # Update properties of this object
5180
+ def update!(**args)
5181
+ @celebrity = args[:celebrity] if args.key?(:celebrity)
5182
+ @confidence = args[:confidence] if args.key?(:confidence)
5183
+ end
5184
+ end
5185
+
4128
5186
  # Alternative hypotheses (a.k.a. n-best list).
4129
5187
  class GoogleCloudVideointelligenceV1p3beta1SpeechRecognitionAlternative
4130
5188
  include Google::Apis::Core::Hashable
@@ -4145,8 +5203,8 @@ module Google
4145
5203
  attr_accessor :transcript
4146
5204
 
4147
5205
  # Output only. A list of word-specific information for each recognized word.
4148
- # Note: When `enable_speaker_diarization` is true, you will see all the words
4149
- # from the beginning of the audio.
5206
+ # Note: When `enable_speaker_diarization` is set to true, you will see all
5207
+ # the words from the beginning of the audio.
4150
5208
  # Corresponds to the JSON property `words`
4151
5209
  # @return [Array<Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p3beta1WordInfo>]
4152
5210
  attr_accessor :words
@@ -4175,10 +5233,10 @@ module Google
4175
5233
  # @return [Array<Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p3beta1SpeechRecognitionAlternative>]
4176
5234
  attr_accessor :alternatives
4177
5235
 
4178
- # Output only. The
4179
- # [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag of the
4180
- # language in this result. This language code was detected to have the most
4181
- # likelihood of being spoken in the audio.
5236
+ # 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.
4182
5240
  # Corresponds to the JSON property `languageCode`
4183
5241
  # @return [String]
4184
5242
  attr_accessor :language_code
@@ -4206,10 +5264,10 @@ module Google
4206
5264
  # @return [Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p3beta1StreamingVideoAnnotationResults]
4207
5265
  attr_accessor :annotation_results
4208
5266
 
4209
- # GCS URI that stores annotation results of one streaming session.
4210
- # It is a directory that can hold multiple files in JSON format.
4211
- # Example uri format:
4212
- # gs://bucket_id/object_id/cloud_project_name-session_id
5267
+ # Google Cloud Storage(GCS) 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'.
4213
5271
  # Corresponds to the JSON property `annotationResultsUri`
4214
5272
  # @return [String]
4215
5273
  attr_accessor :annotation_results_uri
@@ -4292,6 +5350,11 @@ module Google
4292
5350
  # @return [String]
4293
5351
  attr_accessor :text
4294
5352
 
5353
+ # Feature version.
5354
+ # Corresponds to the JSON property `version`
5355
+ # @return [String]
5356
+ attr_accessor :version
5357
+
4295
5358
  def initialize(**args)
4296
5359
  update!(**args)
4297
5360
  end
@@ -4300,6 +5363,7 @@ module Google
4300
5363
  def update!(**args)
4301
5364
  @segments = args[:segments] if args.key?(:segments)
4302
5365
  @text = args[:text] if args.key?(:text)
5366
+ @version = args[:version] if args.key?(:version)
4303
5367
  end
4304
5368
  end
4305
5369
 
@@ -4376,8 +5440,7 @@ module Google
4376
5440
  end
4377
5441
  end
4378
5442
 
4379
- # For tracking related features, such as LOGO_RECOGNITION, FACE_DETECTION,
4380
- # CELEBRITY_RECOGNITION, PERSON_DETECTION.
5443
+ # For tracking related features.
4381
5444
  # An object at time_offset with attributes, and located with
4382
5445
  # normalized_bounding_box.
4383
5446
  class GoogleCloudVideointelligenceV1p3beta1TimestampedObject
@@ -4388,6 +5451,11 @@ module Google
4388
5451
  # @return [Array<Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p3beta1DetectedAttribute>]
4389
5452
  attr_accessor :attributes
4390
5453
 
5454
+ # Optional. The detected landmarks.
5455
+ # Corresponds to the JSON property `landmarks`
5456
+ # @return [Array<Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p3beta1DetectedLandmark>]
5457
+ attr_accessor :landmarks
5458
+
4391
5459
  # Normalized bounding box.
4392
5460
  # The normalized vertex coordinates are relative to the original image.
4393
5461
  # Range: [0, 1].
@@ -4408,6 +5476,7 @@ module Google
4408
5476
  # Update properties of this object
4409
5477
  def update!(**args)
4410
5478
  @attributes = args[:attributes] if args.key?(:attributes)
5479
+ @landmarks = args[:landmarks] if args.key?(:landmarks)
4411
5480
  @normalized_bounding_box = args[:normalized_bounding_box] if args.key?(:normalized_bounding_box)
4412
5481
  @time_offset = args[:time_offset] if args.key?(:time_offset)
4413
5482
  end
@@ -4455,13 +5524,13 @@ module Google
4455
5524
  include Google::Apis::Core::Hashable
4456
5525
 
4457
5526
  # Specifies which feature is being tracked if the request contains more than
4458
- # one features.
5527
+ # one feature.
4459
5528
  # Corresponds to the JSON property `feature`
4460
5529
  # @return [String]
4461
5530
  attr_accessor :feature
4462
5531
 
4463
5532
  # Video file location in
4464
- # [Google Cloud Storage](https://cloud.google.com/storage/).
5533
+ # [Cloud Storage](https://cloud.google.com/storage/).
4465
5534
  # Corresponds to the JSON property `inputUri`
4466
5535
  # @return [String]
4467
5536
  attr_accessor :input_uri
@@ -4506,6 +5575,11 @@ module Google
4506
5575
  class GoogleCloudVideointelligenceV1p3beta1VideoAnnotationResults
4507
5576
  include Google::Apis::Core::Hashable
4508
5577
 
5578
+ # Celebrity recognition annotation per video.
5579
+ # Corresponds to the JSON property `celebrityRecognitionAnnotations`
5580
+ # @return [Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p3beta1CelebrityRecognitionAnnotation]
5581
+ attr_accessor :celebrity_recognition_annotations
5582
+
4509
5583
  # The `Status` type defines a logical error model that is suitable for
4510
5584
  # different programming environments, including REST APIs and RPC APIs. It is
4511
5585
  # used by [gRPC](https://github.com/grpc). Each `Status` message contains
@@ -4523,6 +5597,11 @@ module Google
4523
5597
  # @return [Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p3beta1ExplicitContentAnnotation]
4524
5598
  attr_accessor :explicit_annotation
4525
5599
 
5600
+ # Face detection annotations.
5601
+ # Corresponds to the JSON property `faceDetectionAnnotations`
5602
+ # @return [Array<Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p3beta1FaceDetectionAnnotation>]
5603
+ attr_accessor :face_detection_annotations
5604
+
4526
5605
  # Label annotations on frame level.
4527
5606
  # There is exactly one element for each unique label.
4528
5607
  # Corresponds to the JSON property `frameLabelAnnotations`
@@ -4530,7 +5609,7 @@ module Google
4530
5609
  attr_accessor :frame_label_annotations
4531
5610
 
4532
5611
  # Video file location in
4533
- # [Google Cloud Storage](https://cloud.google.com/storage/).
5612
+ # [Cloud Storage](https://cloud.google.com/storage/).
4534
5613
  # Corresponds to the JSON property `inputUri`
4535
5614
  # @return [String]
4536
5615
  attr_accessor :input_uri
@@ -4545,18 +5624,23 @@ module Google
4545
5624
  # @return [Array<Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p3beta1ObjectTrackingAnnotation>]
4546
5625
  attr_accessor :object_annotations
4547
5626
 
5627
+ # Person detection annotations.
5628
+ # Corresponds to the JSON property `personDetectionAnnotations`
5629
+ # @return [Array<Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p3beta1PersonDetectionAnnotation>]
5630
+ attr_accessor :person_detection_annotations
5631
+
4548
5632
  # Video segment.
4549
5633
  # Corresponds to the JSON property `segment`
4550
5634
  # @return [Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p3beta1VideoSegment]
4551
5635
  attr_accessor :segment
4552
5636
 
4553
- # Topical label annotations on video level or user specified segment level.
5637
+ # Topical label annotations on video level or user-specified segment level.
4554
5638
  # There is exactly one element for each unique label.
4555
5639
  # Corresponds to the JSON property `segmentLabelAnnotations`
4556
5640
  # @return [Array<Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p3beta1LabelAnnotation>]
4557
5641
  attr_accessor :segment_label_annotations
4558
5642
 
4559
- # Presence label annotations on video level or user specified segment level.
5643
+ # Presence label annotations on video level or user-specified segment level.
4560
5644
  # There is exactly one element for each unique label. Compared to the
4561
5645
  # existing topical `segment_label_annotations`, this field presents more
4562
5646
  # fine-grained, segment-level labels detected in video content and is made
@@ -4604,12 +5688,15 @@ module Google
4604
5688
 
4605
5689
  # Update properties of this object
4606
5690
  def update!(**args)
5691
+ @celebrity_recognition_annotations = args[:celebrity_recognition_annotations] if args.key?(:celebrity_recognition_annotations)
4607
5692
  @error = args[:error] if args.key?(:error)
4608
5693
  @explicit_annotation = args[:explicit_annotation] if args.key?(:explicit_annotation)
5694
+ @face_detection_annotations = args[:face_detection_annotations] if args.key?(:face_detection_annotations)
4609
5695
  @frame_label_annotations = args[:frame_label_annotations] if args.key?(:frame_label_annotations)
4610
5696
  @input_uri = args[:input_uri] if args.key?(:input_uri)
4611
5697
  @logo_recognition_annotations = args[:logo_recognition_annotations] if args.key?(:logo_recognition_annotations)
4612
5698
  @object_annotations = args[:object_annotations] if args.key?(:object_annotations)
5699
+ @person_detection_annotations = args[:person_detection_annotations] if args.key?(:person_detection_annotations)
4613
5700
  @segment = args[:segment] if args.key?(:segment)
4614
5701
  @segment_label_annotations = args[:segment_label_annotations] if args.key?(:segment_label_annotations)
4615
5702
  @segment_presence_label_annotations = args[:segment_presence_label_annotations] if args.key?(:segment_presence_label_annotations)