google-api-client 0.37.3 → 0.38.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (440) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +146 -0
  3. data/api_list_config.yaml +2 -0
  4. data/api_names.yaml +2 -0
  5. data/bin/generate-api +9 -1
  6. data/generated/google/apis/accesscontextmanager_v1.rb +1 -1
  7. data/generated/google/apis/accesscontextmanager_v1/classes.rb +0 -36
  8. data/generated/google/apis/accesscontextmanager_v1/representations.rb +0 -6
  9. data/generated/google/apis/accesscontextmanager_v1beta.rb +1 -1
  10. data/generated/google/apis/accesscontextmanager_v1beta/classes.rb +0 -36
  11. data/generated/google/apis/accesscontextmanager_v1beta/representations.rb +0 -6
  12. data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
  13. data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +10 -3
  14. data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +1 -0
  15. data/generated/google/apis/admin_directory_v1.rb +1 -1
  16. data/generated/google/apis/admin_directory_v1/classes.rb +0 -147
  17. data/generated/google/apis/admin_directory_v1/representations.rb +0 -54
  18. data/generated/google/apis/admin_directory_v1/service.rb +0 -60
  19. data/generated/google/apis/adsense_v1_4.rb +1 -1
  20. data/generated/google/apis/adsensehost_v4_1.rb +1 -1
  21. data/generated/google/apis/adsensehost_v4_1/service.rb +5 -1
  22. data/generated/google/apis/alertcenter_v1beta1.rb +1 -1
  23. data/generated/google/apis/alertcenter_v1beta1/classes.rb +1 -1
  24. data/generated/google/apis/androiddeviceprovisioning_v1.rb +1 -1
  25. data/generated/google/apis/androiddeviceprovisioning_v1/classes.rb +2 -2
  26. data/generated/google/apis/androidenterprise_v1.rb +1 -1
  27. data/generated/google/apis/androidenterprise_v1/classes.rb +2 -2
  28. data/generated/google/apis/androidmanagement_v1.rb +1 -1
  29. data/generated/google/apis/androidmanagement_v1/service.rb +2 -2
  30. data/generated/google/apis/androidpublisher_v2.rb +1 -1
  31. data/generated/google/apis/androidpublisher_v2/classes.rb +2 -2
  32. data/generated/google/apis/androidpublisher_v3.rb +1 -1
  33. data/generated/google/apis/androidpublisher_v3/classes.rb +2 -2
  34. data/generated/google/apis/appengine_v1.rb +1 -1
  35. data/generated/google/apis/appengine_v1alpha.rb +1 -1
  36. data/generated/google/apis/appengine_v1beta.rb +1 -1
  37. data/generated/google/apis/bigquery_v2.rb +1 -1
  38. data/generated/google/apis/bigquery_v2/classes.rb +224 -5
  39. data/generated/google/apis/bigquery_v2/representations.rb +65 -0
  40. data/generated/google/apis/bigquerydatatransfer_v1.rb +1 -1
  41. data/generated/google/apis/bigqueryreservation_v1.rb +1 -1
  42. data/generated/google/apis/bigqueryreservation_v1/classes.rb +413 -0
  43. data/generated/google/apis/bigqueryreservation_v1/representations.rb +194 -0
  44. data/generated/google/apis/bigqueryreservation_v1/service.rb +745 -0
  45. data/generated/google/apis/bigqueryreservation_v1beta1.rb +1 -1
  46. data/generated/google/apis/bigqueryreservation_v1beta1/classes.rb +69 -20
  47. data/generated/google/apis/bigqueryreservation_v1beta1/representations.rb +29 -13
  48. data/generated/google/apis/bigqueryreservation_v1beta1/service.rb +4 -39
  49. data/generated/google/apis/bigtableadmin_v1.rb +1 -1
  50. data/generated/google/apis/bigtableadmin_v1/classes.rb +20 -17
  51. data/generated/google/apis/bigtableadmin_v2.rb +1 -1
  52. data/generated/google/apis/bigtableadmin_v2/classes.rb +26 -21
  53. data/generated/google/apis/bigtableadmin_v2/service.rb +93 -53
  54. data/generated/google/apis/billingbudgets_v1beta1.rb +1 -1
  55. data/generated/google/apis/billingbudgets_v1beta1/service.rb +3 -3
  56. data/generated/google/apis/blogger_v2.rb +5 -4
  57. data/generated/google/apis/blogger_v2/classes.rb +297 -45
  58. data/generated/google/apis/blogger_v2/representations.rb +105 -26
  59. data/generated/google/apis/blogger_v2/service.rb +79 -134
  60. data/generated/google/apis/blogger_v3.rb +4 -3
  61. data/generated/google/apis/blogger_v3/classes.rb +60 -53
  62. data/generated/google/apis/blogger_v3/representations.rb +10 -18
  63. data/generated/google/apis/blogger_v3/service.rb +183 -463
  64. data/generated/google/apis/calendar_v3.rb +1 -1
  65. data/generated/google/apis/calendar_v3/classes.rb +1 -14
  66. data/generated/google/apis/chat_v1.rb +1 -1
  67. data/generated/google/apis/chat_v1/classes.rb +1 -1
  68. data/generated/google/apis/cloudasset_v1.rb +1 -1
  69. data/generated/google/apis/cloudasset_v1/classes.rb +81 -90
  70. data/generated/google/apis/cloudasset_v1/representations.rb +1 -6
  71. data/generated/google/apis/cloudasset_v1/service.rb +2 -2
  72. data/generated/google/apis/cloudasset_v1p1beta1.rb +34 -0
  73. data/generated/google/apis/cloudasset_v1p1beta1/classes.rb +669 -0
  74. data/generated/google/apis/cloudasset_v1p1beta1/representations.rb +199 -0
  75. data/generated/google/apis/cloudasset_v1p1beta1/service.rb +187 -0
  76. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  77. data/generated/google/apis/cloudbuild_v1/classes.rb +12 -1
  78. data/generated/google/apis/cloudbuild_v1/representations.rb +1 -0
  79. data/generated/google/apis/cloudbuild_v1alpha1.rb +1 -1
  80. data/generated/google/apis/cloudbuild_v1alpha1/classes.rb +9 -0
  81. data/generated/google/apis/cloudbuild_v1alpha1/representations.rb +1 -0
  82. data/generated/google/apis/cloudbuild_v1alpha2.rb +1 -1
  83. data/generated/google/apis/cloudbuild_v1alpha2/classes.rb +9 -0
  84. data/generated/google/apis/cloudbuild_v1alpha2/representations.rb +1 -0
  85. data/generated/google/apis/clouddebugger_v2.rb +1 -1
  86. data/generated/google/apis/clouddebugger_v2/classes.rb +8 -0
  87. data/generated/google/apis/cloudidentity_v1.rb +1 -1
  88. data/generated/google/apis/cloudidentity_v1/classes.rb +0 -561
  89. data/generated/google/apis/cloudidentity_v1/representations.rb +0 -226
  90. data/generated/google/apis/cloudidentity_v1beta1.rb +1 -1
  91. data/generated/google/apis/cloudidentity_v1beta1/classes.rb +652 -2
  92. data/generated/google/apis/cloudidentity_v1beta1/representations.rb +272 -0
  93. data/generated/google/apis/cloudidentity_v1beta1/service.rb +2 -2
  94. data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
  95. data/generated/google/apis/cloudresourcemanager_v1/service.rb +3 -0
  96. data/generated/google/apis/cloudsearch_v1.rb +1 -1
  97. data/generated/google/apis/cloudsearch_v1/classes.rb +52 -50
  98. data/generated/google/apis/cloudshell_v1.rb +1 -1
  99. data/generated/google/apis/cloudshell_v1alpha1.rb +1 -1
  100. data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
  101. data/generated/google/apis/cloudtasks_v2beta2/service.rb +6 -1
  102. data/generated/google/apis/cloudtrace_v1.rb +3 -3
  103. data/generated/google/apis/cloudtrace_v1/service.rb +2 -2
  104. data/generated/google/apis/cloudtrace_v2.rb +3 -3
  105. data/generated/google/apis/cloudtrace_v2/service.rb +2 -2
  106. data/generated/google/apis/cloudtrace_v2beta1.rb +3 -3
  107. data/generated/google/apis/cloudtrace_v2beta1/classes.rb +1 -2
  108. data/generated/google/apis/cloudtrace_v2beta1/service.rb +2 -2
  109. data/generated/google/apis/composer_v1.rb +1 -1
  110. data/generated/google/apis/composer_v1/classes.rb +178 -0
  111. data/generated/google/apis/composer_v1/representations.rb +54 -0
  112. data/generated/google/apis/composer_v1beta1.rb +1 -1
  113. data/generated/google/apis/composer_v1beta1/classes.rb +36 -5
  114. data/generated/google/apis/composer_v1beta1/representations.rb +4 -0
  115. data/generated/google/apis/compute_alpha.rb +1 -1
  116. data/generated/google/apis/compute_alpha/classes.rb +1320 -307
  117. data/generated/google/apis/compute_alpha/representations.rb +284 -18
  118. data/generated/google/apis/compute_alpha/service.rb +4914 -3211
  119. data/generated/google/apis/compute_beta.rb +1 -1
  120. data/generated/google/apis/compute_beta/classes.rb +819 -236
  121. data/generated/google/apis/compute_beta/representations.rb +245 -16
  122. data/generated/google/apis/compute_beta/service.rb +3369 -2227
  123. data/generated/google/apis/compute_v1.rb +1 -1
  124. data/generated/google/apis/compute_v1/classes.rb +837 -133
  125. data/generated/google/apis/compute_v1/representations.rb +307 -0
  126. data/generated/google/apis/compute_v1/service.rb +3155 -2026
  127. data/generated/google/apis/container_v1.rb +1 -1
  128. data/generated/google/apis/container_v1/classes.rb +42 -22
  129. data/generated/google/apis/container_v1/service.rb +2 -2
  130. data/generated/google/apis/container_v1beta1.rb +1 -1
  131. data/generated/google/apis/container_v1beta1/classes.rb +116 -136
  132. data/generated/google/apis/container_v1beta1/representations.rb +23 -51
  133. data/generated/google/apis/container_v1beta1/service.rb +2 -2
  134. data/generated/google/apis/content_v2.rb +1 -1
  135. data/generated/google/apis/content_v2/classes.rb +1030 -113
  136. data/generated/google/apis/content_v2_1.rb +1 -1
  137. data/generated/google/apis/content_v2_1/classes.rb +987 -138
  138. data/generated/google/apis/content_v2_1/representations.rb +87 -0
  139. data/generated/google/apis/content_v2_1/service.rb +73 -0
  140. data/generated/google/apis/customsearch_v1.rb +3 -3
  141. data/generated/google/apis/customsearch_v1/classes.rb +1194 -353
  142. data/generated/google/apis/customsearch_v1/representations.rb +166 -95
  143. data/generated/google/apis/customsearch_v1/service.rb +373 -104
  144. data/generated/google/apis/datacatalog_v1beta1.rb +1 -1
  145. data/generated/google/apis/datacatalog_v1beta1/classes.rb +2 -2
  146. data/generated/google/apis/datacatalog_v1beta1/service.rb +16 -24
  147. data/generated/google/apis/dataflow_v1b3.rb +1 -1
  148. data/generated/google/apis/dataflow_v1b3/classes.rb +220 -0
  149. data/generated/google/apis/dataflow_v1b3/representations.rb +99 -0
  150. data/generated/google/apis/dataflow_v1b3/service.rb +327 -0
  151. data/generated/google/apis/datafusion_v1beta1.rb +1 -1
  152. data/generated/google/apis/datafusion_v1beta1/classes.rb +27 -1
  153. data/generated/google/apis/datafusion_v1beta1/representations.rb +15 -0
  154. data/generated/google/apis/dataproc_v1.rb +1 -1
  155. data/generated/google/apis/dataproc_v1/classes.rb +76 -7
  156. data/generated/google/apis/dataproc_v1/representations.rb +21 -0
  157. data/generated/google/apis/dataproc_v1/service.rb +72 -15
  158. data/generated/google/apis/dataproc_v1beta2.rb +1 -1
  159. data/generated/google/apis/dataproc_v1beta2/classes.rb +191 -7
  160. data/generated/google/apis/dataproc_v1beta2/representations.rb +79 -0
  161. data/generated/google/apis/dataproc_v1beta2/service.rb +148 -15
  162. data/generated/google/apis/dfareporting_v3_3.rb +1 -1
  163. data/generated/google/apis/dfareporting_v3_3/classes.rb +19 -13
  164. data/generated/google/apis/dfareporting_v3_3/service.rb +5 -4
  165. data/generated/google/apis/dfareporting_v3_4.rb +1 -1
  166. data/generated/google/apis/dfareporting_v3_4/classes.rb +152 -15
  167. data/generated/google/apis/dfareporting_v3_4/representations.rb +46 -0
  168. data/generated/google/apis/dfareporting_v3_4/service.rb +5 -4
  169. data/generated/google/apis/dialogflow_v2.rb +1 -1
  170. data/generated/google/apis/dialogflow_v2/classes.rb +130 -127
  171. data/generated/google/apis/dialogflow_v2/service.rb +49 -49
  172. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  173. data/generated/google/apis/dialogflow_v2beta1/classes.rb +129 -126
  174. data/generated/google/apis/dialogflow_v2beta1/service.rb +96 -96
  175. data/generated/google/apis/dlp_v2.rb +1 -1
  176. data/generated/google/apis/dlp_v2/classes.rb +80 -14
  177. data/generated/google/apis/dlp_v2/representations.rb +32 -0
  178. data/generated/google/apis/dlp_v2/service.rb +3 -0
  179. data/generated/google/apis/doubleclickbidmanager_v1_1.rb +1 -1
  180. data/generated/google/apis/doubleclickbidmanager_v1_1/service.rb +9 -2
  181. data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
  182. data/generated/google/apis/doubleclicksearch_v2/service.rb +0 -55
  183. data/generated/google/apis/drive_v2.rb +1 -1
  184. data/generated/google/apis/drive_v2/classes.rb +54 -2
  185. data/generated/google/apis/drive_v2/representations.rb +18 -0
  186. data/generated/google/apis/drive_v2/service.rb +81 -9
  187. data/generated/google/apis/drive_v3.rb +1 -1
  188. data/generated/google/apis/drive_v3/classes.rb +54 -2
  189. data/generated/google/apis/drive_v3/representations.rb +18 -0
  190. data/generated/google/apis/drive_v3/service.rb +37 -4
  191. data/generated/google/apis/file_v1.rb +1 -1
  192. data/generated/google/apis/file_v1beta1.rb +1 -1
  193. data/generated/google/apis/file_v1beta1/classes.rb +2 -2
  194. data/generated/google/apis/firebase_v1beta1.rb +1 -1
  195. data/generated/google/apis/firebase_v1beta1/service.rb +8 -5
  196. data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
  197. data/generated/google/apis/firebasehosting_v1beta1/classes.rb +6 -6
  198. data/generated/google/apis/firebasehosting_v1beta1/service.rb +762 -3
  199. data/generated/google/apis/firestore_v1.rb +1 -1
  200. data/generated/google/apis/firestore_v1/classes.rb +11 -2
  201. data/generated/google/apis/firestore_v1/representations.rb +2 -0
  202. data/generated/google/apis/firestore_v1/service.rb +2 -2
  203. data/generated/google/apis/firestore_v1beta1.rb +1 -1
  204. data/generated/google/apis/firestore_v1beta1/classes.rb +11 -2
  205. data/generated/google/apis/firestore_v1beta1/representations.rb +2 -0
  206. data/generated/google/apis/firestore_v1beta1/service.rb +2 -2
  207. data/generated/google/apis/games_configuration_v1configuration.rb +4 -3
  208. data/generated/google/apis/games_configuration_v1configuration/classes.rb +39 -53
  209. data/generated/google/apis/games_configuration_v1configuration/service.rb +58 -169
  210. data/generated/google/apis/games_management_v1management.rb +1 -1
  211. data/generated/google/apis/games_management_v1management/classes.rb +7 -0
  212. data/generated/google/apis/games_management_v1management/representations.rb +1 -0
  213. data/generated/google/apis/games_v1.rb +1 -1
  214. data/generated/google/apis/games_v1/classes.rb +13 -0
  215. data/generated/google/apis/games_v1/representations.rb +2 -0
  216. data/generated/google/apis/{proximitybeacon_v1beta1.rb → gameservices_v1beta.rb} +11 -11
  217. data/generated/google/apis/gameservices_v1beta/classes.rb +2342 -0
  218. data/generated/google/apis/gameservices_v1beta/representations.rb +971 -0
  219. data/generated/google/apis/gameservices_v1beta/service.rb +1469 -0
  220. data/generated/google/apis/genomics_v2alpha1.rb +1 -1
  221. data/generated/google/apis/genomics_v2alpha1/service.rb +34 -0
  222. data/generated/google/apis/gmail_v1.rb +3 -2
  223. data/generated/google/apis/gmail_v1/classes.rb +258 -199
  224. data/generated/google/apis/gmail_v1/service.rb +552 -744
  225. data/generated/google/apis/{mirror_v1.rb → healthcare_v1.rb} +10 -13
  226. data/generated/google/apis/healthcare_v1/classes.rb +2639 -0
  227. data/generated/google/apis/healthcare_v1/representations.rb +1114 -0
  228. data/generated/google/apis/healthcare_v1/service.rb +3470 -0
  229. data/generated/google/apis/healthcare_v1beta1.rb +1 -1
  230. data/generated/google/apis/healthcare_v1beta1/classes.rb +569 -23
  231. data/generated/google/apis/healthcare_v1beta1/representations.rb +236 -1
  232. data/generated/google/apis/healthcare_v1beta1/service.rb +147 -18
  233. data/generated/google/apis/homegraph_v1.rb +1 -1
  234. data/generated/google/apis/homegraph_v1/classes.rb +67 -63
  235. data/generated/google/apis/homegraph_v1/service.rb +43 -47
  236. data/generated/google/apis/iap_v1.rb +1 -1
  237. data/generated/google/apis/iap_v1/classes.rb +190 -0
  238. data/generated/google/apis/iap_v1/representations.rb +66 -0
  239. data/generated/google/apis/jobs_v2.rb +1 -1
  240. data/generated/google/apis/language_v1.rb +1 -1
  241. data/generated/google/apis/language_v1/classes.rb +6 -6
  242. data/generated/google/apis/language_v1beta1.rb +1 -1
  243. data/generated/google/apis/language_v1beta1/classes.rb +5 -5
  244. data/generated/google/apis/language_v1beta2.rb +1 -1
  245. data/generated/google/apis/language_v1beta2/classes.rb +8 -7
  246. data/generated/google/apis/logging_v2.rb +3 -3
  247. data/generated/google/apis/logging_v2/classes.rb +3 -4
  248. data/generated/google/apis/logging_v2/service.rb +2 -2
  249. data/generated/google/apis/managedidentities_v1.rb +1 -1
  250. data/generated/google/apis/managedidentities_v1/classes.rb +54 -145
  251. data/generated/google/apis/managedidentities_v1/representations.rb +17 -33
  252. data/generated/google/apis/managedidentities_v1alpha1.rb +1 -1
  253. data/generated/google/apis/managedidentities_v1alpha1/classes.rb +54 -145
  254. data/generated/google/apis/managedidentities_v1alpha1/representations.rb +17 -33
  255. data/generated/google/apis/managedidentities_v1beta1.rb +1 -1
  256. data/generated/google/apis/managedidentities_v1beta1/classes.rb +54 -145
  257. data/generated/google/apis/managedidentities_v1beta1/representations.rb +17 -33
  258. data/generated/google/apis/manufacturers_v1.rb +1 -1
  259. data/generated/google/apis/manufacturers_v1/classes.rb +3 -3
  260. data/generated/google/apis/manufacturers_v1/representations.rb +1 -1
  261. data/generated/google/apis/memcache_v1beta2.rb +35 -0
  262. data/generated/google/apis/{cloudprivatecatalogproducer_v1beta1 → memcache_v1beta2}/classes.rb +1083 -761
  263. data/generated/google/apis/memcache_v1beta2/representations.rb +557 -0
  264. data/generated/google/apis/memcache_v1beta2/service.rb +674 -0
  265. data/generated/google/apis/ml_v1.rb +1 -1
  266. data/generated/google/apis/ml_v1/classes.rb +47 -7
  267. data/generated/google/apis/ml_v1/representations.rb +4 -0
  268. data/generated/google/apis/monitoring_v1.rb +7 -8
  269. data/generated/google/apis/monitoring_v1/classes.rb +54 -15
  270. data/generated/google/apis/monitoring_v1/representations.rb +3 -0
  271. data/generated/google/apis/monitoring_v1/service.rb +7 -8
  272. data/generated/google/apis/monitoring_v3.rb +7 -8
  273. data/generated/google/apis/monitoring_v3/classes.rb +300 -27
  274. data/generated/google/apis/monitoring_v3/representations.rb +128 -0
  275. data/generated/google/apis/monitoring_v3/service.rb +52 -17
  276. data/generated/google/apis/oauth2_v2.rb +4 -4
  277. data/generated/google/apis/oauth2_v2/classes.rb +1 -13
  278. data/generated/google/apis/oauth2_v2/representations.rb +2 -4
  279. data/generated/google/apis/oauth2_v2/service.rb +10 -12
  280. data/generated/google/apis/osconfig_v1.rb +35 -0
  281. data/generated/google/apis/osconfig_v1/classes.rb +1223 -0
  282. data/generated/google/apis/osconfig_v1/representations.rb +506 -0
  283. data/generated/google/apis/osconfig_v1/service.rb +386 -0
  284. data/generated/google/apis/osconfig_v1beta.rb +1 -1
  285. data/generated/google/apis/osconfig_v1beta/classes.rb +10 -2
  286. data/generated/google/apis/people_v1.rb +1 -1
  287. data/generated/google/apis/people_v1/classes.rb +30 -12
  288. data/generated/google/apis/people_v1/representations.rb +1 -0
  289. data/generated/google/apis/people_v1/service.rb +12 -24
  290. data/generated/google/apis/prod_tt_sasportal_v1alpha1.rb +1 -1
  291. data/generated/google/apis/prod_tt_sasportal_v1alpha1/classes.rb +4 -3
  292. data/generated/google/apis/prod_tt_sasportal_v1alpha1/service.rb +282 -0
  293. data/generated/google/apis/pubsub_v1.rb +1 -1
  294. data/generated/google/apis/pubsub_v1/classes.rb +9 -5
  295. data/generated/google/apis/pubsub_v1/service.rb +1 -1
  296. data/generated/google/apis/pubsub_v1beta2.rb +1 -1
  297. data/generated/google/apis/pubsub_v1beta2/classes.rb +5 -2
  298. data/generated/google/apis/recommender_v1beta1.rb +1 -1
  299. data/generated/google/apis/recommender_v1beta1/classes.rb +1 -4
  300. data/generated/google/apis/redis_v1.rb +1 -1
  301. data/generated/google/apis/redis_v1/classes.rb +30 -7
  302. data/generated/google/apis/redis_v1/representations.rb +13 -0
  303. data/generated/google/apis/redis_v1/service.rb +36 -0
  304. data/generated/google/apis/redis_v1beta1.rb +1 -1
  305. data/generated/google/apis/redis_v1beta1/classes.rb +11 -7
  306. data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
  307. data/generated/google/apis/remotebuildexecution_v1/classes.rb +171 -37
  308. data/generated/google/apis/remotebuildexecution_v1/representations.rb +28 -0
  309. data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
  310. data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +171 -37
  311. data/generated/google/apis/remotebuildexecution_v1alpha/representations.rb +28 -0
  312. data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
  313. data/generated/google/apis/remotebuildexecution_v2/classes.rb +181 -45
  314. data/generated/google/apis/remotebuildexecution_v2/representations.rb +29 -0
  315. data/generated/google/apis/remotebuildexecution_v2/service.rb +5 -1
  316. data/generated/google/apis/run_v1.rb +1 -1
  317. data/generated/google/apis/run_v1/classes.rb +6 -13
  318. data/generated/google/apis/sasportal_v1alpha1.rb +1 -1
  319. data/generated/google/apis/sasportal_v1alpha1/classes.rb +4 -3
  320. data/generated/google/apis/sasportal_v1alpha1/service.rb +282 -0
  321. data/generated/google/apis/secretmanager_v1.rb +2 -2
  322. data/generated/google/apis/secretmanager_v1/service.rb +4 -1
  323. data/generated/google/apis/secretmanager_v1beta1.rb +2 -2
  324. data/generated/google/apis/secretmanager_v1beta1/service.rb +4 -1
  325. data/generated/google/apis/securitycenter_v1.rb +4 -4
  326. data/generated/google/apis/securitycenter_v1/classes.rb +142 -114
  327. data/generated/google/apis/securitycenter_v1/service.rb +11 -3
  328. data/generated/google/apis/securitycenter_v1beta1.rb +4 -4
  329. data/generated/google/apis/securitycenter_v1beta1/classes.rb +137 -123
  330. data/generated/google/apis/securitycenter_v1beta1/service.rb +3 -3
  331. data/generated/google/apis/securitycenter_v1p1alpha1.rb +4 -4
  332. data/generated/google/apis/securitycenter_v1p1alpha1/classes.rb +87 -75
  333. data/generated/google/apis/securitycenter_v1p1alpha1/service.rb +3 -3
  334. data/generated/google/apis/securitycenter_v1p1beta1.rb +4 -4
  335. data/generated/google/apis/securitycenter_v1p1beta1/classes.rb +117 -95
  336. data/generated/google/apis/securitycenter_v1p1beta1/service.rb +11 -3
  337. data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
  338. data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +41 -6
  339. data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +1 -0
  340. data/generated/google/apis/{cloudprivatecatalogproducer_v1beta1.rb → serviceconsumermanagement_v1beta1.rb} +8 -9
  341. data/generated/google/apis/serviceconsumermanagement_v1beta1/classes.rb +4170 -0
  342. data/generated/google/apis/serviceconsumermanagement_v1beta1/representations.rb +1308 -0
  343. data/generated/google/apis/serviceconsumermanagement_v1beta1/service.rb +428 -0
  344. data/generated/google/apis/servicecontrol_v1.rb +1 -1
  345. data/generated/google/apis/servicecontrol_v1/classes.rb +2 -2
  346. data/generated/google/apis/{cloudprivatecatalog_v1beta1.rb → servicedirectory_v1beta1.rb} +9 -9
  347. data/generated/google/apis/servicedirectory_v1beta1/classes.rb +800 -0
  348. data/generated/google/apis/servicedirectory_v1beta1/representations.rb +304 -0
  349. data/generated/google/apis/servicedirectory_v1beta1/service.rb +992 -0
  350. data/generated/google/apis/servicemanagement_v1.rb +1 -1
  351. data/generated/google/apis/servicemanagement_v1/classes.rb +41 -6
  352. data/generated/google/apis/servicemanagement_v1/representations.rb +1 -0
  353. data/generated/google/apis/servicenetworking_v1.rb +1 -1
  354. data/generated/google/apis/servicenetworking_v1/classes.rb +179 -6
  355. data/generated/google/apis/servicenetworking_v1/representations.rb +72 -0
  356. data/generated/google/apis/servicenetworking_v1/service.rb +53 -21
  357. data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
  358. data/generated/google/apis/servicenetworking_v1beta/classes.rb +149 -6
  359. data/generated/google/apis/servicenetworking_v1beta/representations.rb +57 -0
  360. data/generated/google/apis/serviceusage_v1.rb +1 -1
  361. data/generated/google/apis/serviceusage_v1/classes.rb +116 -6
  362. data/generated/google/apis/serviceusage_v1/representations.rb +45 -0
  363. data/generated/google/apis/serviceusage_v1/service.rb +42 -0
  364. data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
  365. data/generated/google/apis/serviceusage_v1beta1/classes.rb +97 -32
  366. data/generated/google/apis/serviceusage_v1beta1/representations.rb +31 -15
  367. data/generated/google/apis/serviceusage_v1beta1/service.rb +0 -43
  368. data/generated/google/apis/sheets_v4.rb +1 -1
  369. data/generated/google/apis/sheets_v4/classes.rb +2 -2
  370. data/generated/google/apis/spanner_v1.rb +1 -1
  371. data/generated/google/apis/spanner_v1/classes.rb +463 -1
  372. data/generated/google/apis/spanner_v1/representations.rb +178 -0
  373. data/generated/google/apis/spanner_v1/service.rb +498 -10
  374. data/generated/google/apis/speech_v1.rb +1 -1
  375. data/generated/google/apis/speech_v1/classes.rb +7 -3
  376. data/generated/google/apis/speech_v1/representations.rb +1 -0
  377. data/generated/google/apis/speech_v1p1beta1.rb +1 -1
  378. data/generated/google/apis/speech_v1p1beta1/classes.rb +7 -3
  379. data/generated/google/apis/speech_v1p1beta1/representations.rb +1 -0
  380. data/generated/google/apis/speech_v2beta1.rb +1 -1
  381. data/generated/google/apis/speech_v2beta1/classes.rb +7 -0
  382. data/generated/google/apis/speech_v2beta1/representations.rb +1 -0
  383. data/generated/google/apis/sql_v1beta4.rb +1 -1
  384. data/generated/google/apis/sql_v1beta4/classes.rb +3 -3
  385. data/generated/google/apis/sql_v1beta4/service.rb +54 -384
  386. data/generated/google/apis/storage_v1.rb +1 -1
  387. data/generated/google/apis/storage_v1/classes.rb +18 -0
  388. data/generated/google/apis/storage_v1/representations.rb +2 -0
  389. data/generated/google/apis/storage_v1/service.rb +28 -3
  390. data/generated/google/apis/storagetransfer_v1.rb +1 -1
  391. data/generated/google/apis/storagetransfer_v1/classes.rb +194 -11
  392. data/generated/google/apis/storagetransfer_v1/representations.rb +52 -0
  393. data/generated/google/apis/toolresults_v1beta3.rb +1 -1
  394. data/generated/google/apis/toolresults_v1beta3/classes.rb +217 -0
  395. data/generated/google/apis/toolresults_v1beta3/representations.rb +84 -0
  396. data/generated/google/apis/toolresults_v1beta3/service.rb +76 -29
  397. data/generated/google/apis/vault_v1.rb +1 -1
  398. data/generated/google/apis/videointelligence_v1.rb +1 -1
  399. data/generated/google/apis/videointelligence_v1/classes.rb +744 -4
  400. data/generated/google/apis/videointelligence_v1/representations.rb +356 -0
  401. data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
  402. data/generated/google/apis/videointelligence_v1beta2/classes.rb +744 -4
  403. data/generated/google/apis/videointelligence_v1beta2/representations.rb +356 -0
  404. data/generated/google/apis/videointelligence_v1p1beta1.rb +1 -1
  405. data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +744 -4
  406. data/generated/google/apis/videointelligence_v1p1beta1/representations.rb +356 -0
  407. data/generated/google/apis/videointelligence_v1p2beta1.rb +1 -1
  408. data/generated/google/apis/videointelligence_v1p2beta1/classes.rb +744 -4
  409. data/generated/google/apis/videointelligence_v1p2beta1/representations.rb +356 -0
  410. data/generated/google/apis/videointelligence_v1p3beta1.rb +1 -1
  411. data/generated/google/apis/videointelligence_v1p3beta1/classes.rb +744 -4
  412. data/generated/google/apis/videointelligence_v1p3beta1/representations.rb +356 -0
  413. data/generated/google/apis/vision_v1.rb +1 -1
  414. data/generated/google/apis/vision_v1/classes.rb +1 -1
  415. data/generated/google/apis/vision_v1p1beta1.rb +1 -1
  416. data/generated/google/apis/vision_v1p1beta1/classes.rb +1 -1
  417. data/generated/google/apis/vision_v1p2beta1.rb +1 -1
  418. data/generated/google/apis/vision_v1p2beta1/classes.rb +1 -1
  419. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  420. data/generated/google/apis/youtube_v3.rb +4 -1
  421. data/generated/google/apis/youtube_v3/classes.rb +7 -0
  422. data/generated/google/apis/youtube_v3/representations.rb +1 -0
  423. data/lib/google/apis/generator/annotator.rb +1 -1
  424. data/lib/google/apis/version.rb +1 -1
  425. metadata +32 -23
  426. data/generated/google/apis/cloudprivatecatalog_v1beta1/classes.rb +0 -358
  427. data/generated/google/apis/cloudprivatecatalog_v1beta1/representations.rb +0 -123
  428. data/generated/google/apis/cloudprivatecatalog_v1beta1/service.rb +0 -486
  429. data/generated/google/apis/cloudprivatecatalogproducer_v1beta1/representations.rb +0 -399
  430. data/generated/google/apis/cloudprivatecatalogproducer_v1beta1/service.rb +0 -1081
  431. data/generated/google/apis/mirror_v1/classes.rb +0 -1072
  432. data/generated/google/apis/mirror_v1/representations.rb +0 -390
  433. data/generated/google/apis/mirror_v1/service.rb +0 -928
  434. data/generated/google/apis/oauth2_v1.rb +0 -40
  435. data/generated/google/apis/oauth2_v1/classes.rb +0 -197
  436. data/generated/google/apis/oauth2_v1/representations.rb +0 -73
  437. data/generated/google/apis/oauth2_v1/service.rb +0 -160
  438. data/generated/google/apis/proximitybeacon_v1beta1/classes.rb +0 -845
  439. data/generated/google/apis/proximitybeacon_v1beta1/representations.rb +0 -350
  440. data/generated/google/apis/proximitybeacon_v1beta1/service.rb +0 -933
@@ -27,7 +27,7 @@ module Google
27
27
  # @see https://cloud.google.com/video-intelligence/docs/
28
28
  module VideointelligenceV1beta2
29
29
  VERSION = 'V1beta2'
30
- REVISION = '20200226'
30
+ REVISION = '20200310'
31
31
 
32
32
  # View and manage your data across Google Cloud Platform services
33
33
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
@@ -64,6 +64,73 @@ module Google
64
64
  end
65
65
  end
66
66
 
67
+ # A generic detected attribute represented by name in string format.
68
+ class GoogleCloudVideointelligenceV1DetectedAttribute
69
+ include Google::Apis::Core::Hashable
70
+
71
+ # Detected attribute confidence. Range [0, 1].
72
+ # Corresponds to the JSON property `confidence`
73
+ # @return [Float]
74
+ attr_accessor :confidence
75
+
76
+ # The name of the attribute, i.e. glasses, dark_glasses, mouth_open etc.
77
+ # A full list of supported type names will be provided in the document.
78
+ # Corresponds to the JSON property `name`
79
+ # @return [String]
80
+ attr_accessor :name
81
+
82
+ # Text value of the detection result. For example, the value for "HairColor"
83
+ # can be "black", "blonde", etc.
84
+ # Corresponds to the JSON property `value`
85
+ # @return [String]
86
+ attr_accessor :value
87
+
88
+ def initialize(**args)
89
+ update!(**args)
90
+ end
91
+
92
+ # Update properties of this object
93
+ def update!(**args)
94
+ @confidence = args[:confidence] if args.key?(:confidence)
95
+ @name = args[:name] if args.key?(:name)
96
+ @value = args[:value] if args.key?(:value)
97
+ end
98
+ end
99
+
100
+ # A generic detected landmark represented by name in string format and a 2D
101
+ # location.
102
+ class GoogleCloudVideointelligenceV1DetectedLandmark
103
+ include Google::Apis::Core::Hashable
104
+
105
+ # The confidence score of the detected landmark. Range [0, 1].
106
+ # Corresponds to the JSON property `confidence`
107
+ # @return [Float]
108
+ attr_accessor :confidence
109
+
110
+ # The name of this landmark, i.e. left_hand, right_shoulder.
111
+ # Corresponds to the JSON property `name`
112
+ # @return [String]
113
+ attr_accessor :name
114
+
115
+ # A vertex represents a 2D point in the image.
116
+ # NOTE: the normalized vertex coordinates are relative to the original image
117
+ # and range from 0 to 1.
118
+ # Corresponds to the JSON property `point`
119
+ # @return [Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1NormalizedVertex]
120
+ attr_accessor :point
121
+
122
+ def initialize(**args)
123
+ update!(**args)
124
+ end
125
+
126
+ # Update properties of this object
127
+ def update!(**args)
128
+ @confidence = args[:confidence] if args.key?(:confidence)
129
+ @name = args[:name] if args.key?(:name)
130
+ @point = args[:point] if args.key?(:point)
131
+ end
132
+ end
133
+
67
134
  # Detected entity from video analysis.
68
135
  class GoogleCloudVideointelligenceV1Entity
69
136
  include Google::Apis::Core::Hashable
@@ -235,6 +302,39 @@ module Google
235
302
  end
236
303
  end
237
304
 
305
+ # Annotation corresponding to one detected, tracked and recognized logo class.
306
+ class GoogleCloudVideointelligenceV1LogoRecognitionAnnotation
307
+ include Google::Apis::Core::Hashable
308
+
309
+ # Detected entity from video analysis.
310
+ # Corresponds to the JSON property `entity`
311
+ # @return [Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1Entity]
312
+ attr_accessor :entity
313
+
314
+ # All video segments where the recognized logo appears. There might be
315
+ # multiple instances of the same logo class appearing in one VideoSegment.
316
+ # Corresponds to the JSON property `segments`
317
+ # @return [Array<Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1VideoSegment>]
318
+ attr_accessor :segments
319
+
320
+ # All logo tracks where the recognized logo appears. Each track corresponds
321
+ # to one logo instance appearing in consecutive frames.
322
+ # Corresponds to the JSON property `tracks`
323
+ # @return [Array<Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1Track>]
324
+ attr_accessor :tracks
325
+
326
+ def initialize(**args)
327
+ update!(**args)
328
+ end
329
+
330
+ # Update properties of this object
331
+ def update!(**args)
332
+ @entity = args[:entity] if args.key?(:entity)
333
+ @segments = args[:segments] if args.key?(:segments)
334
+ @tracks = args[:tracks] if args.key?(:tracks)
335
+ end
336
+ end
337
+
238
338
  # Normalized bounding box.
239
339
  # The normalized vertex coordinates are relative to the original image.
240
340
  # Range: [0, 1].
@@ -582,6 +682,85 @@ module Google
582
682
  end
583
683
  end
584
684
 
685
+ # For tracking related features.
686
+ # An object at time_offset with attributes, and located with
687
+ # normalized_bounding_box.
688
+ class GoogleCloudVideointelligenceV1TimestampedObject
689
+ include Google::Apis::Core::Hashable
690
+
691
+ # Optional. The attributes of the object in the bounding box.
692
+ # Corresponds to the JSON property `attributes`
693
+ # @return [Array<Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1DetectedAttribute>]
694
+ attr_accessor :attributes
695
+
696
+ # Optional. The detected landmarks.
697
+ # Corresponds to the JSON property `landmarks`
698
+ # @return [Array<Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1DetectedLandmark>]
699
+ attr_accessor :landmarks
700
+
701
+ # Normalized bounding box.
702
+ # The normalized vertex coordinates are relative to the original image.
703
+ # Range: [0, 1].
704
+ # Corresponds to the JSON property `normalizedBoundingBox`
705
+ # @return [Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1NormalizedBoundingBox]
706
+ attr_accessor :normalized_bounding_box
707
+
708
+ # Time-offset, relative to the beginning of the video,
709
+ # corresponding to the video frame for this object.
710
+ # Corresponds to the JSON property `timeOffset`
711
+ # @return [String]
712
+ attr_accessor :time_offset
713
+
714
+ def initialize(**args)
715
+ update!(**args)
716
+ end
717
+
718
+ # Update properties of this object
719
+ def update!(**args)
720
+ @attributes = args[:attributes] if args.key?(:attributes)
721
+ @landmarks = args[:landmarks] if args.key?(:landmarks)
722
+ @normalized_bounding_box = args[:normalized_bounding_box] if args.key?(:normalized_bounding_box)
723
+ @time_offset = args[:time_offset] if args.key?(:time_offset)
724
+ end
725
+ end
726
+
727
+ # A track of an object instance.
728
+ class GoogleCloudVideointelligenceV1Track
729
+ include Google::Apis::Core::Hashable
730
+
731
+ # Optional. Attributes in the track level.
732
+ # Corresponds to the JSON property `attributes`
733
+ # @return [Array<Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1DetectedAttribute>]
734
+ attr_accessor :attributes
735
+
736
+ # Optional. The confidence score of the tracked object.
737
+ # Corresponds to the JSON property `confidence`
738
+ # @return [Float]
739
+ attr_accessor :confidence
740
+
741
+ # Video segment.
742
+ # Corresponds to the JSON property `segment`
743
+ # @return [Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1VideoSegment]
744
+ attr_accessor :segment
745
+
746
+ # The object with timestamp and attributes per frame in the track.
747
+ # Corresponds to the JSON property `timestampedObjects`
748
+ # @return [Array<Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1TimestampedObject>]
749
+ attr_accessor :timestamped_objects
750
+
751
+ def initialize(**args)
752
+ update!(**args)
753
+ end
754
+
755
+ # Update properties of this object
756
+ def update!(**args)
757
+ @attributes = args[:attributes] if args.key?(:attributes)
758
+ @confidence = args[:confidence] if args.key?(:confidence)
759
+ @segment = args[:segment] if args.key?(:segment)
760
+ @timestamped_objects = args[:timestamped_objects] if args.key?(:timestamped_objects)
761
+ end
762
+ end
763
+
585
764
  # Annotation progress for a single video.
586
765
  class GoogleCloudVideointelligenceV1VideoAnnotationProgress
587
766
  include Google::Apis::Core::Hashable
@@ -667,6 +846,11 @@ module Google
667
846
  # @return [String]
668
847
  attr_accessor :input_uri
669
848
 
849
+ # Annotations for list of logos detected, tracked and recognized in video.
850
+ # Corresponds to the JSON property `logoRecognitionAnnotations`
851
+ # @return [Array<Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1LogoRecognitionAnnotation>]
852
+ attr_accessor :logo_recognition_annotations
853
+
670
854
  # Annotations for list of objects detected and tracked in video.
671
855
  # Corresponds to the JSON property `objectAnnotations`
672
856
  # @return [Array<Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1ObjectTrackingAnnotation>]
@@ -735,6 +919,7 @@ module Google
735
919
  @explicit_annotation = args[:explicit_annotation] if args.key?(:explicit_annotation)
736
920
  @frame_label_annotations = args[:frame_label_annotations] if args.key?(:frame_label_annotations)
737
921
  @input_uri = args[:input_uri] if args.key?(:input_uri)
922
+ @logo_recognition_annotations = args[:logo_recognition_annotations] if args.key?(:logo_recognition_annotations)
738
923
  @object_annotations = args[:object_annotations] if args.key?(:object_annotations)
739
924
  @segment = args[:segment] if args.key?(:segment)
740
925
  @segment_label_annotations = args[:segment_label_annotations] if args.key?(:segment_label_annotations)
@@ -876,7 +1061,7 @@ module Google
876
1061
  # supported, which must be specified in the following format:
877
1062
  # `gs://bucket-id/object-id` (other URI formats return
878
1063
  # google.rpc.Code.INVALID_ARGUMENT). For more information, see
879
- # [Request URIs](/storage/docs/reference-uris).
1064
+ # [Request URIs](https://cloud.google.com/storage/docs/request-endpoints).
880
1065
  # A video URI may include wildcards in `object-id`, and thus identify
881
1066
  # multiple videos. Supported wildcards: '*' to match 0 or more characters;
882
1067
  # '?' to match 1 character. If unset, the input video should be embedded
@@ -897,7 +1082,7 @@ module Google
897
1082
  # URIs are supported, which must be specified in the following format:
898
1083
  # `gs://bucket-id/object-id` (other URI formats return
899
1084
  # google.rpc.Code.INVALID_ARGUMENT). For more information, see
900
- # [Request URIs](/storage/docs/reference-uris).
1085
+ # [Request URIs](https://cloud.google.com/storage/docs/request-endpoints).
901
1086
  # Corresponds to the JSON property `outputUri`
902
1087
  # @return [String]
903
1088
  attr_accessor :output_uri
@@ -943,6 +1128,73 @@ module Google
943
1128
  end
944
1129
  end
945
1130
 
1131
+ # A generic detected attribute represented by name in string format.
1132
+ class GoogleCloudVideointelligenceV1beta2DetectedAttribute
1133
+ include Google::Apis::Core::Hashable
1134
+
1135
+ # Detected attribute confidence. Range [0, 1].
1136
+ # Corresponds to the JSON property `confidence`
1137
+ # @return [Float]
1138
+ attr_accessor :confidence
1139
+
1140
+ # The name of the attribute, i.e. glasses, dark_glasses, mouth_open etc.
1141
+ # A full list of supported type names will be provided in the document.
1142
+ # Corresponds to the JSON property `name`
1143
+ # @return [String]
1144
+ attr_accessor :name
1145
+
1146
+ # Text value of the detection result. For example, the value for "HairColor"
1147
+ # can be "black", "blonde", etc.
1148
+ # Corresponds to the JSON property `value`
1149
+ # @return [String]
1150
+ attr_accessor :value
1151
+
1152
+ def initialize(**args)
1153
+ update!(**args)
1154
+ end
1155
+
1156
+ # Update properties of this object
1157
+ def update!(**args)
1158
+ @confidence = args[:confidence] if args.key?(:confidence)
1159
+ @name = args[:name] if args.key?(:name)
1160
+ @value = args[:value] if args.key?(:value)
1161
+ end
1162
+ end
1163
+
1164
+ # A generic detected landmark represented by name in string format and a 2D
1165
+ # location.
1166
+ class GoogleCloudVideointelligenceV1beta2DetectedLandmark
1167
+ include Google::Apis::Core::Hashable
1168
+
1169
+ # The confidence score of the detected landmark. Range [0, 1].
1170
+ # Corresponds to the JSON property `confidence`
1171
+ # @return [Float]
1172
+ attr_accessor :confidence
1173
+
1174
+ # The name of this landmark, i.e. left_hand, right_shoulder.
1175
+ # Corresponds to the JSON property `name`
1176
+ # @return [String]
1177
+ attr_accessor :name
1178
+
1179
+ # A vertex represents a 2D point in the image.
1180
+ # NOTE: the normalized vertex coordinates are relative to the original image
1181
+ # and range from 0 to 1.
1182
+ # Corresponds to the JSON property `point`
1183
+ # @return [Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1beta2NormalizedVertex]
1184
+ attr_accessor :point
1185
+
1186
+ def initialize(**args)
1187
+ update!(**args)
1188
+ end
1189
+
1190
+ # Update properties of this object
1191
+ def update!(**args)
1192
+ @confidence = args[:confidence] if args.key?(:confidence)
1193
+ @name = args[:name] if args.key?(:name)
1194
+ @point = args[:point] if args.key?(:point)
1195
+ end
1196
+ end
1197
+
946
1198
  # Detected entity from video analysis.
947
1199
  class GoogleCloudVideointelligenceV1beta2Entity
948
1200
  include Google::Apis::Core::Hashable
@@ -1195,6 +1447,39 @@ module Google
1195
1447
  end
1196
1448
  end
1197
1449
 
1450
+ # Annotation corresponding to one detected, tracked and recognized logo class.
1451
+ class GoogleCloudVideointelligenceV1beta2LogoRecognitionAnnotation
1452
+ include Google::Apis::Core::Hashable
1453
+
1454
+ # Detected entity from video analysis.
1455
+ # Corresponds to the JSON property `entity`
1456
+ # @return [Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1beta2Entity]
1457
+ attr_accessor :entity
1458
+
1459
+ # All video segments where the recognized logo appears. There might be
1460
+ # multiple instances of the same logo class appearing in one VideoSegment.
1461
+ # Corresponds to the JSON property `segments`
1462
+ # @return [Array<Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1beta2VideoSegment>]
1463
+ attr_accessor :segments
1464
+
1465
+ # All logo tracks where the recognized logo appears. Each track corresponds
1466
+ # to one logo instance appearing in consecutive frames.
1467
+ # Corresponds to the JSON property `tracks`
1468
+ # @return [Array<Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1beta2Track>]
1469
+ attr_accessor :tracks
1470
+
1471
+ def initialize(**args)
1472
+ update!(**args)
1473
+ end
1474
+
1475
+ # Update properties of this object
1476
+ def update!(**args)
1477
+ @entity = args[:entity] if args.key?(:entity)
1478
+ @segments = args[:segments] if args.key?(:segments)
1479
+ @tracks = args[:tracks] if args.key?(:tracks)
1480
+ end
1481
+ end
1482
+
1198
1483
  # Normalized bounding box.
1199
1484
  # The normalized vertex coordinates are relative to the original image.
1200
1485
  # Range: [0, 1].
@@ -1738,6 +2023,85 @@ module Google
1738
2023
  end
1739
2024
  end
1740
2025
 
2026
+ # For tracking related features.
2027
+ # An object at time_offset with attributes, and located with
2028
+ # normalized_bounding_box.
2029
+ class GoogleCloudVideointelligenceV1beta2TimestampedObject
2030
+ include Google::Apis::Core::Hashable
2031
+
2032
+ # Optional. The attributes of the object in the bounding box.
2033
+ # Corresponds to the JSON property `attributes`
2034
+ # @return [Array<Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1beta2DetectedAttribute>]
2035
+ attr_accessor :attributes
2036
+
2037
+ # Optional. The detected landmarks.
2038
+ # Corresponds to the JSON property `landmarks`
2039
+ # @return [Array<Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1beta2DetectedLandmark>]
2040
+ attr_accessor :landmarks
2041
+
2042
+ # Normalized bounding box.
2043
+ # The normalized vertex coordinates are relative to the original image.
2044
+ # Range: [0, 1].
2045
+ # Corresponds to the JSON property `normalizedBoundingBox`
2046
+ # @return [Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1beta2NormalizedBoundingBox]
2047
+ attr_accessor :normalized_bounding_box
2048
+
2049
+ # Time-offset, relative to the beginning of the video,
2050
+ # corresponding to the video frame for this object.
2051
+ # Corresponds to the JSON property `timeOffset`
2052
+ # @return [String]
2053
+ attr_accessor :time_offset
2054
+
2055
+ def initialize(**args)
2056
+ update!(**args)
2057
+ end
2058
+
2059
+ # Update properties of this object
2060
+ def update!(**args)
2061
+ @attributes = args[:attributes] if args.key?(:attributes)
2062
+ @landmarks = args[:landmarks] if args.key?(:landmarks)
2063
+ @normalized_bounding_box = args[:normalized_bounding_box] if args.key?(:normalized_bounding_box)
2064
+ @time_offset = args[:time_offset] if args.key?(:time_offset)
2065
+ end
2066
+ end
2067
+
2068
+ # A track of an object instance.
2069
+ class GoogleCloudVideointelligenceV1beta2Track
2070
+ include Google::Apis::Core::Hashable
2071
+
2072
+ # Optional. Attributes in the track level.
2073
+ # Corresponds to the JSON property `attributes`
2074
+ # @return [Array<Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1beta2DetectedAttribute>]
2075
+ attr_accessor :attributes
2076
+
2077
+ # Optional. The confidence score of the tracked object.
2078
+ # Corresponds to the JSON property `confidence`
2079
+ # @return [Float]
2080
+ attr_accessor :confidence
2081
+
2082
+ # Video segment.
2083
+ # Corresponds to the JSON property `segment`
2084
+ # @return [Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1beta2VideoSegment]
2085
+ attr_accessor :segment
2086
+
2087
+ # The object with timestamp and attributes per frame in the track.
2088
+ # Corresponds to the JSON property `timestampedObjects`
2089
+ # @return [Array<Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1beta2TimestampedObject>]
2090
+ attr_accessor :timestamped_objects
2091
+
2092
+ def initialize(**args)
2093
+ update!(**args)
2094
+ end
2095
+
2096
+ # Update properties of this object
2097
+ def update!(**args)
2098
+ @attributes = args[:attributes] if args.key?(:attributes)
2099
+ @confidence = args[:confidence] if args.key?(:confidence)
2100
+ @segment = args[:segment] if args.key?(:segment)
2101
+ @timestamped_objects = args[:timestamped_objects] if args.key?(:timestamped_objects)
2102
+ end
2103
+ end
2104
+
1741
2105
  # Annotation progress for a single video.
1742
2106
  class GoogleCloudVideointelligenceV1beta2VideoAnnotationProgress
1743
2107
  include Google::Apis::Core::Hashable
@@ -1823,6 +2187,11 @@ module Google
1823
2187
  # @return [String]
1824
2188
  attr_accessor :input_uri
1825
2189
 
2190
+ # Annotations for list of logos detected, tracked and recognized in video.
2191
+ # Corresponds to the JSON property `logoRecognitionAnnotations`
2192
+ # @return [Array<Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1beta2LogoRecognitionAnnotation>]
2193
+ attr_accessor :logo_recognition_annotations
2194
+
1826
2195
  # Annotations for list of objects detected and tracked in video.
1827
2196
  # Corresponds to the JSON property `objectAnnotations`
1828
2197
  # @return [Array<Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1beta2ObjectTrackingAnnotation>]
@@ -1891,6 +2260,7 @@ module Google
1891
2260
  @explicit_annotation = args[:explicit_annotation] if args.key?(:explicit_annotation)
1892
2261
  @frame_label_annotations = args[:frame_label_annotations] if args.key?(:frame_label_annotations)
1893
2262
  @input_uri = args[:input_uri] if args.key?(:input_uri)
2263
+ @logo_recognition_annotations = args[:logo_recognition_annotations] if args.key?(:logo_recognition_annotations)
1894
2264
  @object_annotations = args[:object_annotations] if args.key?(:object_annotations)
1895
2265
  @segment = args[:segment] if args.key?(:segment)
1896
2266
  @segment_label_annotations = args[:segment_label_annotations] if args.key?(:segment_label_annotations)
@@ -2088,6 +2458,73 @@ module Google
2088
2458
  end
2089
2459
  end
2090
2460
 
2461
+ # A generic detected attribute represented by name in string format.
2462
+ class GoogleCloudVideointelligenceV1p1beta1DetectedAttribute
2463
+ include Google::Apis::Core::Hashable
2464
+
2465
+ # Detected attribute confidence. Range [0, 1].
2466
+ # Corresponds to the JSON property `confidence`
2467
+ # @return [Float]
2468
+ attr_accessor :confidence
2469
+
2470
+ # The name of the attribute, i.e. glasses, dark_glasses, mouth_open etc.
2471
+ # A full list of supported type names will be provided in the document.
2472
+ # Corresponds to the JSON property `name`
2473
+ # @return [String]
2474
+ attr_accessor :name
2475
+
2476
+ # Text value of the detection result. For example, the value for "HairColor"
2477
+ # can be "black", "blonde", etc.
2478
+ # Corresponds to the JSON property `value`
2479
+ # @return [String]
2480
+ attr_accessor :value
2481
+
2482
+ def initialize(**args)
2483
+ update!(**args)
2484
+ end
2485
+
2486
+ # Update properties of this object
2487
+ def update!(**args)
2488
+ @confidence = args[:confidence] if args.key?(:confidence)
2489
+ @name = args[:name] if args.key?(:name)
2490
+ @value = args[:value] if args.key?(:value)
2491
+ end
2492
+ end
2493
+
2494
+ # A generic detected landmark represented by name in string format and a 2D
2495
+ # location.
2496
+ class GoogleCloudVideointelligenceV1p1beta1DetectedLandmark
2497
+ include Google::Apis::Core::Hashable
2498
+
2499
+ # The confidence score of the detected landmark. Range [0, 1].
2500
+ # Corresponds to the JSON property `confidence`
2501
+ # @return [Float]
2502
+ attr_accessor :confidence
2503
+
2504
+ # The name of this landmark, i.e. left_hand, right_shoulder.
2505
+ # Corresponds to the JSON property `name`
2506
+ # @return [String]
2507
+ attr_accessor :name
2508
+
2509
+ # A vertex represents a 2D point in the image.
2510
+ # NOTE: the normalized vertex coordinates are relative to the original image
2511
+ # and range from 0 to 1.
2512
+ # Corresponds to the JSON property `point`
2513
+ # @return [Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p1beta1NormalizedVertex]
2514
+ attr_accessor :point
2515
+
2516
+ def initialize(**args)
2517
+ update!(**args)
2518
+ end
2519
+
2520
+ # Update properties of this object
2521
+ def update!(**args)
2522
+ @confidence = args[:confidence] if args.key?(:confidence)
2523
+ @name = args[:name] if args.key?(:name)
2524
+ @point = args[:point] if args.key?(:point)
2525
+ end
2526
+ end
2527
+
2091
2528
  # Detected entity from video analysis.
2092
2529
  class GoogleCloudVideointelligenceV1p1beta1Entity
2093
2530
  include Google::Apis::Core::Hashable
@@ -2254,8 +2691,41 @@ module Google
2254
2691
 
2255
2692
  # Update properties of this object
2256
2693
  def update!(**args)
2257
- @confidence = args[:confidence] if args.key?(:confidence)
2258
- @segment = args[:segment] if args.key?(:segment)
2694
+ @confidence = args[:confidence] if args.key?(:confidence)
2695
+ @segment = args[:segment] if args.key?(:segment)
2696
+ end
2697
+ end
2698
+
2699
+ # Annotation corresponding to one detected, tracked and recognized logo class.
2700
+ class GoogleCloudVideointelligenceV1p1beta1LogoRecognitionAnnotation
2701
+ include Google::Apis::Core::Hashable
2702
+
2703
+ # Detected entity from video analysis.
2704
+ # Corresponds to the JSON property `entity`
2705
+ # @return [Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p1beta1Entity]
2706
+ attr_accessor :entity
2707
+
2708
+ # All video segments where the recognized logo appears. There might be
2709
+ # multiple instances of the same logo class appearing in one VideoSegment.
2710
+ # Corresponds to the JSON property `segments`
2711
+ # @return [Array<Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p1beta1VideoSegment>]
2712
+ attr_accessor :segments
2713
+
2714
+ # All logo tracks where the recognized logo appears. Each track corresponds
2715
+ # to one logo instance appearing in consecutive frames.
2716
+ # Corresponds to the JSON property `tracks`
2717
+ # @return [Array<Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p1beta1Track>]
2718
+ attr_accessor :tracks
2719
+
2720
+ def initialize(**args)
2721
+ update!(**args)
2722
+ end
2723
+
2724
+ # Update properties of this object
2725
+ def update!(**args)
2726
+ @entity = args[:entity] if args.key?(:entity)
2727
+ @segments = args[:segments] if args.key?(:segments)
2728
+ @tracks = args[:tracks] if args.key?(:tracks)
2259
2729
  end
2260
2730
  end
2261
2731
 
@@ -2606,6 +3076,85 @@ module Google
2606
3076
  end
2607
3077
  end
2608
3078
 
3079
+ # For tracking related features.
3080
+ # An object at time_offset with attributes, and located with
3081
+ # normalized_bounding_box.
3082
+ class GoogleCloudVideointelligenceV1p1beta1TimestampedObject
3083
+ include Google::Apis::Core::Hashable
3084
+
3085
+ # Optional. The attributes of the object in the bounding box.
3086
+ # Corresponds to the JSON property `attributes`
3087
+ # @return [Array<Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p1beta1DetectedAttribute>]
3088
+ attr_accessor :attributes
3089
+
3090
+ # Optional. The detected landmarks.
3091
+ # Corresponds to the JSON property `landmarks`
3092
+ # @return [Array<Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p1beta1DetectedLandmark>]
3093
+ attr_accessor :landmarks
3094
+
3095
+ # Normalized bounding box.
3096
+ # The normalized vertex coordinates are relative to the original image.
3097
+ # Range: [0, 1].
3098
+ # Corresponds to the JSON property `normalizedBoundingBox`
3099
+ # @return [Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p1beta1NormalizedBoundingBox]
3100
+ attr_accessor :normalized_bounding_box
3101
+
3102
+ # Time-offset, relative to the beginning of the video,
3103
+ # corresponding to the video frame for this object.
3104
+ # Corresponds to the JSON property `timeOffset`
3105
+ # @return [String]
3106
+ attr_accessor :time_offset
3107
+
3108
+ def initialize(**args)
3109
+ update!(**args)
3110
+ end
3111
+
3112
+ # Update properties of this object
3113
+ def update!(**args)
3114
+ @attributes = args[:attributes] if args.key?(:attributes)
3115
+ @landmarks = args[:landmarks] if args.key?(:landmarks)
3116
+ @normalized_bounding_box = args[:normalized_bounding_box] if args.key?(:normalized_bounding_box)
3117
+ @time_offset = args[:time_offset] if args.key?(:time_offset)
3118
+ end
3119
+ end
3120
+
3121
+ # A track of an object instance.
3122
+ class GoogleCloudVideointelligenceV1p1beta1Track
3123
+ include Google::Apis::Core::Hashable
3124
+
3125
+ # Optional. Attributes in the track level.
3126
+ # Corresponds to the JSON property `attributes`
3127
+ # @return [Array<Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p1beta1DetectedAttribute>]
3128
+ attr_accessor :attributes
3129
+
3130
+ # Optional. The confidence score of the tracked object.
3131
+ # Corresponds to the JSON property `confidence`
3132
+ # @return [Float]
3133
+ attr_accessor :confidence
3134
+
3135
+ # Video segment.
3136
+ # Corresponds to the JSON property `segment`
3137
+ # @return [Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p1beta1VideoSegment]
3138
+ attr_accessor :segment
3139
+
3140
+ # The object with timestamp and attributes per frame in the track.
3141
+ # Corresponds to the JSON property `timestampedObjects`
3142
+ # @return [Array<Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p1beta1TimestampedObject>]
3143
+ attr_accessor :timestamped_objects
3144
+
3145
+ def initialize(**args)
3146
+ update!(**args)
3147
+ end
3148
+
3149
+ # Update properties of this object
3150
+ def update!(**args)
3151
+ @attributes = args[:attributes] if args.key?(:attributes)
3152
+ @confidence = args[:confidence] if args.key?(:confidence)
3153
+ @segment = args[:segment] if args.key?(:segment)
3154
+ @timestamped_objects = args[:timestamped_objects] if args.key?(:timestamped_objects)
3155
+ end
3156
+ end
3157
+
2609
3158
  # Annotation progress for a single video.
2610
3159
  class GoogleCloudVideointelligenceV1p1beta1VideoAnnotationProgress
2611
3160
  include Google::Apis::Core::Hashable
@@ -2691,6 +3240,11 @@ module Google
2691
3240
  # @return [String]
2692
3241
  attr_accessor :input_uri
2693
3242
 
3243
+ # Annotations for list of logos detected, tracked and recognized in video.
3244
+ # Corresponds to the JSON property `logoRecognitionAnnotations`
3245
+ # @return [Array<Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p1beta1LogoRecognitionAnnotation>]
3246
+ attr_accessor :logo_recognition_annotations
3247
+
2694
3248
  # Annotations for list of objects detected and tracked in video.
2695
3249
  # Corresponds to the JSON property `objectAnnotations`
2696
3250
  # @return [Array<Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p1beta1ObjectTrackingAnnotation>]
@@ -2759,6 +3313,7 @@ module Google
2759
3313
  @explicit_annotation = args[:explicit_annotation] if args.key?(:explicit_annotation)
2760
3314
  @frame_label_annotations = args[:frame_label_annotations] if args.key?(:frame_label_annotations)
2761
3315
  @input_uri = args[:input_uri] if args.key?(:input_uri)
3316
+ @logo_recognition_annotations = args[:logo_recognition_annotations] if args.key?(:logo_recognition_annotations)
2762
3317
  @object_annotations = args[:object_annotations] if args.key?(:object_annotations)
2763
3318
  @segment = args[:segment] if args.key?(:segment)
2764
3319
  @segment_label_annotations = args[:segment_label_annotations] if args.key?(:segment_label_annotations)
@@ -2899,6 +3454,73 @@ module Google
2899
3454
  end
2900
3455
  end
2901
3456
 
3457
+ # A generic detected attribute represented by name in string format.
3458
+ class GoogleCloudVideointelligenceV1p2beta1DetectedAttribute
3459
+ include Google::Apis::Core::Hashable
3460
+
3461
+ # Detected attribute confidence. Range [0, 1].
3462
+ # Corresponds to the JSON property `confidence`
3463
+ # @return [Float]
3464
+ attr_accessor :confidence
3465
+
3466
+ # The name of the attribute, i.e. glasses, dark_glasses, mouth_open etc.
3467
+ # A full list of supported type names will be provided in the document.
3468
+ # Corresponds to the JSON property `name`
3469
+ # @return [String]
3470
+ attr_accessor :name
3471
+
3472
+ # Text value of the detection result. For example, the value for "HairColor"
3473
+ # can be "black", "blonde", etc.
3474
+ # Corresponds to the JSON property `value`
3475
+ # @return [String]
3476
+ attr_accessor :value
3477
+
3478
+ def initialize(**args)
3479
+ update!(**args)
3480
+ end
3481
+
3482
+ # Update properties of this object
3483
+ def update!(**args)
3484
+ @confidence = args[:confidence] if args.key?(:confidence)
3485
+ @name = args[:name] if args.key?(:name)
3486
+ @value = args[:value] if args.key?(:value)
3487
+ end
3488
+ end
3489
+
3490
+ # A generic detected landmark represented by name in string format and a 2D
3491
+ # location.
3492
+ class GoogleCloudVideointelligenceV1p2beta1DetectedLandmark
3493
+ include Google::Apis::Core::Hashable
3494
+
3495
+ # The confidence score of the detected landmark. Range [0, 1].
3496
+ # Corresponds to the JSON property `confidence`
3497
+ # @return [Float]
3498
+ attr_accessor :confidence
3499
+
3500
+ # The name of this landmark, i.e. left_hand, right_shoulder.
3501
+ # Corresponds to the JSON property `name`
3502
+ # @return [String]
3503
+ attr_accessor :name
3504
+
3505
+ # A vertex represents a 2D point in the image.
3506
+ # NOTE: the normalized vertex coordinates are relative to the original image
3507
+ # and range from 0 to 1.
3508
+ # Corresponds to the JSON property `point`
3509
+ # @return [Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p2beta1NormalizedVertex]
3510
+ attr_accessor :point
3511
+
3512
+ def initialize(**args)
3513
+ update!(**args)
3514
+ end
3515
+
3516
+ # Update properties of this object
3517
+ def update!(**args)
3518
+ @confidence = args[:confidence] if args.key?(:confidence)
3519
+ @name = args[:name] if args.key?(:name)
3520
+ @point = args[:point] if args.key?(:point)
3521
+ end
3522
+ end
3523
+
2902
3524
  # Detected entity from video analysis.
2903
3525
  class GoogleCloudVideointelligenceV1p2beta1Entity
2904
3526
  include Google::Apis::Core::Hashable
@@ -3070,6 +3692,39 @@ module Google
3070
3692
  end
3071
3693
  end
3072
3694
 
3695
+ # Annotation corresponding to one detected, tracked and recognized logo class.
3696
+ class GoogleCloudVideointelligenceV1p2beta1LogoRecognitionAnnotation
3697
+ include Google::Apis::Core::Hashable
3698
+
3699
+ # Detected entity from video analysis.
3700
+ # Corresponds to the JSON property `entity`
3701
+ # @return [Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p2beta1Entity]
3702
+ attr_accessor :entity
3703
+
3704
+ # All video segments where the recognized logo appears. There might be
3705
+ # multiple instances of the same logo class appearing in one VideoSegment.
3706
+ # Corresponds to the JSON property `segments`
3707
+ # @return [Array<Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p2beta1VideoSegment>]
3708
+ attr_accessor :segments
3709
+
3710
+ # All logo tracks where the recognized logo appears. Each track corresponds
3711
+ # to one logo instance appearing in consecutive frames.
3712
+ # Corresponds to the JSON property `tracks`
3713
+ # @return [Array<Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p2beta1Track>]
3714
+ attr_accessor :tracks
3715
+
3716
+ def initialize(**args)
3717
+ update!(**args)
3718
+ end
3719
+
3720
+ # Update properties of this object
3721
+ def update!(**args)
3722
+ @entity = args[:entity] if args.key?(:entity)
3723
+ @segments = args[:segments] if args.key?(:segments)
3724
+ @tracks = args[:tracks] if args.key?(:tracks)
3725
+ end
3726
+ end
3727
+
3073
3728
  # Normalized bounding box.
3074
3729
  # The normalized vertex coordinates are relative to the original image.
3075
3730
  # Range: [0, 1].
@@ -3417,6 +4072,85 @@ module Google
3417
4072
  end
3418
4073
  end
3419
4074
 
4075
+ # For tracking related features.
4076
+ # An object at time_offset with attributes, and located with
4077
+ # normalized_bounding_box.
4078
+ class GoogleCloudVideointelligenceV1p2beta1TimestampedObject
4079
+ include Google::Apis::Core::Hashable
4080
+
4081
+ # Optional. The attributes of the object in the bounding box.
4082
+ # Corresponds to the JSON property `attributes`
4083
+ # @return [Array<Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p2beta1DetectedAttribute>]
4084
+ attr_accessor :attributes
4085
+
4086
+ # Optional. The detected landmarks.
4087
+ # Corresponds to the JSON property `landmarks`
4088
+ # @return [Array<Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p2beta1DetectedLandmark>]
4089
+ attr_accessor :landmarks
4090
+
4091
+ # Normalized bounding box.
4092
+ # The normalized vertex coordinates are relative to the original image.
4093
+ # Range: [0, 1].
4094
+ # Corresponds to the JSON property `normalizedBoundingBox`
4095
+ # @return [Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p2beta1NormalizedBoundingBox]
4096
+ attr_accessor :normalized_bounding_box
4097
+
4098
+ # Time-offset, relative to the beginning of the video,
4099
+ # corresponding to the video frame for this object.
4100
+ # Corresponds to the JSON property `timeOffset`
4101
+ # @return [String]
4102
+ attr_accessor :time_offset
4103
+
4104
+ def initialize(**args)
4105
+ update!(**args)
4106
+ end
4107
+
4108
+ # Update properties of this object
4109
+ def update!(**args)
4110
+ @attributes = args[:attributes] if args.key?(:attributes)
4111
+ @landmarks = args[:landmarks] if args.key?(:landmarks)
4112
+ @normalized_bounding_box = args[:normalized_bounding_box] if args.key?(:normalized_bounding_box)
4113
+ @time_offset = args[:time_offset] if args.key?(:time_offset)
4114
+ end
4115
+ end
4116
+
4117
+ # A track of an object instance.
4118
+ class GoogleCloudVideointelligenceV1p2beta1Track
4119
+ include Google::Apis::Core::Hashable
4120
+
4121
+ # Optional. Attributes in the track level.
4122
+ # Corresponds to the JSON property `attributes`
4123
+ # @return [Array<Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p2beta1DetectedAttribute>]
4124
+ attr_accessor :attributes
4125
+
4126
+ # Optional. The confidence score of the tracked object.
4127
+ # Corresponds to the JSON property `confidence`
4128
+ # @return [Float]
4129
+ attr_accessor :confidence
4130
+
4131
+ # Video segment.
4132
+ # Corresponds to the JSON property `segment`
4133
+ # @return [Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p2beta1VideoSegment]
4134
+ attr_accessor :segment
4135
+
4136
+ # The object with timestamp and attributes per frame in the track.
4137
+ # Corresponds to the JSON property `timestampedObjects`
4138
+ # @return [Array<Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p2beta1TimestampedObject>]
4139
+ attr_accessor :timestamped_objects
4140
+
4141
+ def initialize(**args)
4142
+ update!(**args)
4143
+ end
4144
+
4145
+ # Update properties of this object
4146
+ def update!(**args)
4147
+ @attributes = args[:attributes] if args.key?(:attributes)
4148
+ @confidence = args[:confidence] if args.key?(:confidence)
4149
+ @segment = args[:segment] if args.key?(:segment)
4150
+ @timestamped_objects = args[:timestamped_objects] if args.key?(:timestamped_objects)
4151
+ end
4152
+ end
4153
+
3420
4154
  # Annotation progress for a single video.
3421
4155
  class GoogleCloudVideointelligenceV1p2beta1VideoAnnotationProgress
3422
4156
  include Google::Apis::Core::Hashable
@@ -3502,6 +4236,11 @@ module Google
3502
4236
  # @return [String]
3503
4237
  attr_accessor :input_uri
3504
4238
 
4239
+ # Annotations for list of logos detected, tracked and recognized in video.
4240
+ # Corresponds to the JSON property `logoRecognitionAnnotations`
4241
+ # @return [Array<Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p2beta1LogoRecognitionAnnotation>]
4242
+ attr_accessor :logo_recognition_annotations
4243
+
3505
4244
  # Annotations for list of objects detected and tracked in video.
3506
4245
  # Corresponds to the JSON property `objectAnnotations`
3507
4246
  # @return [Array<Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p2beta1ObjectTrackingAnnotation>]
@@ -3570,6 +4309,7 @@ module Google
3570
4309
  @explicit_annotation = args[:explicit_annotation] if args.key?(:explicit_annotation)
3571
4310
  @frame_label_annotations = args[:frame_label_annotations] if args.key?(:frame_label_annotations)
3572
4311
  @input_uri = args[:input_uri] if args.key?(:input_uri)
4312
+ @logo_recognition_annotations = args[:logo_recognition_annotations] if args.key?(:logo_recognition_annotations)
3573
4313
  @object_annotations = args[:object_annotations] if args.key?(:object_annotations)
3574
4314
  @segment = args[:segment] if args.key?(:segment)
3575
4315
  @segment_label_annotations = args[:segment_label_annotations] if args.key?(:segment_label_annotations)