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
@@ -64,11 +64,78 @@ 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, for example, glasses, dark_glasses, mouth_open.
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, for example, 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
70
137
 
71
- # Textual description, e.g. `Fixed-gear bicycle`.
138
+ # Textual description, e.g., `Fixed-gear bicycle`.
72
139
  # Corresponds to the JSON property `description`
73
140
  # @return [String]
74
141
  attr_accessor :description
@@ -108,6 +175,11 @@ module Google
108
175
  # @return [Array<Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1ExplicitContentFrame>]
109
176
  attr_accessor :frames
110
177
 
178
+ # Feature version.
179
+ # Corresponds to the JSON property `version`
180
+ # @return [String]
181
+ attr_accessor :version
182
+
111
183
  def initialize(**args)
112
184
  update!(**args)
113
185
  end
@@ -115,6 +187,7 @@ module Google
115
187
  # Update properties of this object
116
188
  def update!(**args)
117
189
  @frames = args[:frames] if args.key?(:frames)
190
+ @version = args[:version] if args.key?(:version)
118
191
  end
119
192
  end
120
193
 
@@ -149,9 +222,9 @@ module Google
149
222
  include Google::Apis::Core::Hashable
150
223
 
151
224
  # Common categories for the detected entity.
152
- # E.g. when the label is `Terrier` the category is likely `dog`. And in some
153
- # cases there might be more than one categories e.g. `Terrier` could also be
154
- # a `pet`.
225
+ # For example, when the label is `Terrier`, the category is likely `dog`. And
226
+ # in some cases there might be more than one categories e.g., `Terrier` could
227
+ # also be a `pet`.
155
228
  # Corresponds to the JSON property `categoryEntities`
156
229
  # @return [Array<Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1Entity>]
157
230
  attr_accessor :category_entities
@@ -171,6 +244,11 @@ module Google
171
244
  # @return [Array<Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1LabelSegment>]
172
245
  attr_accessor :segments
173
246
 
247
+ # Feature version.
248
+ # Corresponds to the JSON property `version`
249
+ # @return [String]
250
+ attr_accessor :version
251
+
174
252
  def initialize(**args)
175
253
  update!(**args)
176
254
  end
@@ -181,6 +259,7 @@ module Google
181
259
  @entity = args[:entity] if args.key?(:entity)
182
260
  @frames = args[:frames] if args.key?(:frames)
183
261
  @segments = args[:segments] if args.key?(:segments)
262
+ @version = args[:version] if args.key?(:version)
184
263
  end
185
264
  end
186
265
 
@@ -235,6 +314,39 @@ module Google
235
314
  end
236
315
  end
237
316
 
317
+ # Annotation corresponding to one detected, tracked and recognized logo class.
318
+ class GoogleCloudVideointelligenceV1LogoRecognitionAnnotation
319
+ include Google::Apis::Core::Hashable
320
+
321
+ # Detected entity from video analysis.
322
+ # Corresponds to the JSON property `entity`
323
+ # @return [Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1Entity]
324
+ attr_accessor :entity
325
+
326
+ # All video segments where the recognized logo appears. There might be
327
+ # multiple instances of the same logo class appearing in one VideoSegment.
328
+ # Corresponds to the JSON property `segments`
329
+ # @return [Array<Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1VideoSegment>]
330
+ attr_accessor :segments
331
+
332
+ # All logo tracks where the recognized logo appears. Each track corresponds
333
+ # to one logo instance appearing in consecutive frames.
334
+ # Corresponds to the JSON property `tracks`
335
+ # @return [Array<Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1Track>]
336
+ attr_accessor :tracks
337
+
338
+ def initialize(**args)
339
+ update!(**args)
340
+ end
341
+
342
+ # Update properties of this object
343
+ def update!(**args)
344
+ @entity = args[:entity] if args.key?(:entity)
345
+ @segments = args[:segments] if args.key?(:segments)
346
+ @tracks = args[:tracks] if args.key?(:tracks)
347
+ end
348
+ end
349
+
238
350
  # Normalized bounding box.
239
351
  # The normalized vertex coordinates are relative to the original image.
240
352
  # Range: [0, 1].
@@ -371,6 +483,11 @@ module Google
371
483
  # @return [Fixnum]
372
484
  attr_accessor :track_id
373
485
 
486
+ # Feature version.
487
+ # Corresponds to the JSON property `version`
488
+ # @return [String]
489
+ attr_accessor :version
490
+
374
491
  def initialize(**args)
375
492
  update!(**args)
376
493
  end
@@ -382,6 +499,7 @@ module Google
382
499
  @frames = args[:frames] if args.key?(:frames)
383
500
  @segment = args[:segment] if args.key?(:segment)
384
501
  @track_id = args[:track_id] if args.key?(:track_id)
502
+ @version = args[:version] if args.key?(:version)
385
503
  end
386
504
  end
387
505
 
@@ -433,8 +551,8 @@ module Google
433
551
  attr_accessor :transcript
434
552
 
435
553
  # Output only. A list of word-specific information for each recognized word.
436
- # Note: When `enable_speaker_diarization` is true, you will see all the words
437
- # from the beginning of the audio.
554
+ # Note: When `enable_speaker_diarization` is set to true, you will see all
555
+ # the words from the beginning of the audio.
438
556
  # Corresponds to the JSON property `words`
439
557
  # @return [Array<Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1WordInfo>]
440
558
  attr_accessor :words
@@ -463,10 +581,10 @@ module Google
463
581
  # @return [Array<Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1SpeechRecognitionAlternative>]
464
582
  attr_accessor :alternatives
465
583
 
466
- # Output only. The
467
- # [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag of the
468
- # language in this result. This language code was detected to have the most
469
- # likelihood of being spoken in the audio.
584
+ # Output only. The [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt)
585
+ # language tag of
586
+ # the language in this result. This language code was detected to have the
587
+ # most likelihood of being spoken in the audio.
470
588
  # Corresponds to the JSON property `languageCode`
471
589
  # @return [String]
472
590
  attr_accessor :language_code
@@ -498,6 +616,11 @@ module Google
498
616
  # @return [String]
499
617
  attr_accessor :text
500
618
 
619
+ # Feature version.
620
+ # Corresponds to the JSON property `version`
621
+ # @return [String]
622
+ attr_accessor :version
623
+
501
624
  def initialize(**args)
502
625
  update!(**args)
503
626
  end
@@ -506,6 +629,7 @@ module Google
506
629
  def update!(**args)
507
630
  @segments = args[:segments] if args.key?(:segments)
508
631
  @text = args[:text] if args.key?(:text)
632
+ @version = args[:version] if args.key?(:version)
509
633
  end
510
634
  end
511
635
 
@@ -582,18 +706,97 @@ module Google
582
706
  end
583
707
  end
584
708
 
709
+ # For tracking related features.
710
+ # An object at time_offset with attributes, and located with
711
+ # normalized_bounding_box.
712
+ class GoogleCloudVideointelligenceV1TimestampedObject
713
+ include Google::Apis::Core::Hashable
714
+
715
+ # Optional. The attributes of the object in the bounding box.
716
+ # Corresponds to the JSON property `attributes`
717
+ # @return [Array<Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1DetectedAttribute>]
718
+ attr_accessor :attributes
719
+
720
+ # Optional. The detected landmarks.
721
+ # Corresponds to the JSON property `landmarks`
722
+ # @return [Array<Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1DetectedLandmark>]
723
+ attr_accessor :landmarks
724
+
725
+ # Normalized bounding box.
726
+ # The normalized vertex coordinates are relative to the original image.
727
+ # Range: [0, 1].
728
+ # Corresponds to the JSON property `normalizedBoundingBox`
729
+ # @return [Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1NormalizedBoundingBox]
730
+ attr_accessor :normalized_bounding_box
731
+
732
+ # Time-offset, relative to the beginning of the video,
733
+ # corresponding to the video frame for this object.
734
+ # Corresponds to the JSON property `timeOffset`
735
+ # @return [String]
736
+ attr_accessor :time_offset
737
+
738
+ def initialize(**args)
739
+ update!(**args)
740
+ end
741
+
742
+ # Update properties of this object
743
+ def update!(**args)
744
+ @attributes = args[:attributes] if args.key?(:attributes)
745
+ @landmarks = args[:landmarks] if args.key?(:landmarks)
746
+ @normalized_bounding_box = args[:normalized_bounding_box] if args.key?(:normalized_bounding_box)
747
+ @time_offset = args[:time_offset] if args.key?(:time_offset)
748
+ end
749
+ end
750
+
751
+ # A track of an object instance.
752
+ class GoogleCloudVideointelligenceV1Track
753
+ include Google::Apis::Core::Hashable
754
+
755
+ # Optional. Attributes in the track level.
756
+ # Corresponds to the JSON property `attributes`
757
+ # @return [Array<Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1DetectedAttribute>]
758
+ attr_accessor :attributes
759
+
760
+ # Optional. The confidence score of the tracked object.
761
+ # Corresponds to the JSON property `confidence`
762
+ # @return [Float]
763
+ attr_accessor :confidence
764
+
765
+ # Video segment.
766
+ # Corresponds to the JSON property `segment`
767
+ # @return [Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1VideoSegment]
768
+ attr_accessor :segment
769
+
770
+ # The object with timestamp and attributes per frame in the track.
771
+ # Corresponds to the JSON property `timestampedObjects`
772
+ # @return [Array<Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1TimestampedObject>]
773
+ attr_accessor :timestamped_objects
774
+
775
+ def initialize(**args)
776
+ update!(**args)
777
+ end
778
+
779
+ # Update properties of this object
780
+ def update!(**args)
781
+ @attributes = args[:attributes] if args.key?(:attributes)
782
+ @confidence = args[:confidence] if args.key?(:confidence)
783
+ @segment = args[:segment] if args.key?(:segment)
784
+ @timestamped_objects = args[:timestamped_objects] if args.key?(:timestamped_objects)
785
+ end
786
+ end
787
+
585
788
  # Annotation progress for a single video.
586
789
  class GoogleCloudVideointelligenceV1VideoAnnotationProgress
587
790
  include Google::Apis::Core::Hashable
588
791
 
589
792
  # Specifies which feature is being tracked if the request contains more than
590
- # one features.
793
+ # one feature.
591
794
  # Corresponds to the JSON property `feature`
592
795
  # @return [String]
593
796
  attr_accessor :feature
594
797
 
595
798
  # Video file location in
596
- # [Google Cloud Storage](https://cloud.google.com/storage/).
799
+ # [Cloud Storage](https://cloud.google.com/storage/).
597
800
  # Corresponds to the JSON property `inputUri`
598
801
  # @return [String]
599
802
  attr_accessor :input_uri
@@ -662,11 +865,16 @@ module Google
662
865
  attr_accessor :frame_label_annotations
663
866
 
664
867
  # Video file location in
665
- # [Google Cloud Storage](https://cloud.google.com/storage/).
868
+ # [Cloud Storage](https://cloud.google.com/storage/).
666
869
  # Corresponds to the JSON property `inputUri`
667
870
  # @return [String]
668
871
  attr_accessor :input_uri
669
872
 
873
+ # Annotations for list of logos detected, tracked and recognized in video.
874
+ # Corresponds to the JSON property `logoRecognitionAnnotations`
875
+ # @return [Array<Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1LogoRecognitionAnnotation>]
876
+ attr_accessor :logo_recognition_annotations
877
+
670
878
  # Annotations for list of objects detected and tracked in video.
671
879
  # Corresponds to the JSON property `objectAnnotations`
672
880
  # @return [Array<Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1ObjectTrackingAnnotation>]
@@ -677,13 +885,13 @@ module Google
677
885
  # @return [Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1VideoSegment]
678
886
  attr_accessor :segment
679
887
 
680
- # Topical label annotations on video level or user specified segment level.
888
+ # Topical label annotations on video level or user-specified segment level.
681
889
  # There is exactly one element for each unique label.
682
890
  # Corresponds to the JSON property `segmentLabelAnnotations`
683
891
  # @return [Array<Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1LabelAnnotation>]
684
892
  attr_accessor :segment_label_annotations
685
893
 
686
- # Presence label annotations on video level or user specified segment level.
894
+ # Presence label annotations on video level or user-specified segment level.
687
895
  # There is exactly one element for each unique label. Compared to the
688
896
  # existing topical `segment_label_annotations`, this field presents more
689
897
  # fine-grained, segment-level labels detected in video content and is made
@@ -735,6 +943,7 @@ module Google
735
943
  @explicit_annotation = args[:explicit_annotation] if args.key?(:explicit_annotation)
736
944
  @frame_label_annotations = args[:frame_label_annotations] if args.key?(:frame_label_annotations)
737
945
  @input_uri = args[:input_uri] if args.key?(:input_uri)
946
+ @logo_recognition_annotations = args[:logo_recognition_annotations] if args.key?(:logo_recognition_annotations)
738
947
  @object_annotations = args[:object_annotations] if args.key?(:object_annotations)
739
948
  @segment = args[:segment] if args.key?(:segment)
740
949
  @segment_label_annotations = args[:segment_label_annotations] if args.key?(:segment_label_annotations)
@@ -858,46 +1067,47 @@ module Google
858
1067
  class GoogleCloudVideointelligenceV1beta2AnnotateVideoRequest
859
1068
  include Google::Apis::Core::Hashable
860
1069
 
861
- # Requested video annotation features.
1070
+ # Required. Requested video annotation features.
862
1071
  # Corresponds to the JSON property `features`
863
1072
  # @return [Array<String>]
864
1073
  attr_accessor :features
865
1074
 
866
1075
  # The video data bytes.
867
- # If unset, the input video(s) should be specified via `input_uri`.
868
- # If set, `input_uri` should be unset.
1076
+ # If unset, the input video(s) should be specified via the `input_uri`.
1077
+ # If set, `input_uri` must be unset.
869
1078
  # Corresponds to the JSON property `inputContent`
870
1079
  # NOTE: Values are automatically base64 encoded/decoded in the client library.
871
1080
  # @return [String]
872
1081
  attr_accessor :input_content
873
1082
 
874
1083
  # Input video location. Currently, only
875
- # [Google Cloud Storage](https://cloud.google.com/storage/) URIs are
876
- # supported, which must be specified in the following format:
1084
+ # [Cloud Storage](https://cloud.google.com/storage/) URIs are
1085
+ # supported. URIs must be specified in the following format:
877
1086
  # `gs://bucket-id/object-id` (other URI formats return
878
1087
  # google.rpc.Code.INVALID_ARGUMENT). For more information, see
879
- # [Request URIs](/storage/docs/reference-uris).
880
- # A video URI may include wildcards in `object-id`, and thus identify
881
- # multiple videos. Supported wildcards: '*' to match 0 or more characters;
1088
+ # [Request URIs](https://cloud.google.com/storage/docs/request-endpoints).
1089
+ # To identify multiple videos, a video URI may include wildcards in the
1090
+ # `object-id`. Supported wildcards: '*' to match 0 or more characters;
882
1091
  # '?' to match 1 character. If unset, the input video should be embedded
883
- # in the request as `input_content`. If set, `input_content` should be unset.
1092
+ # in the request as `input_content`. If set, `input_content` must be unset.
884
1093
  # Corresponds to the JSON property `inputUri`
885
1094
  # @return [String]
886
1095
  attr_accessor :input_uri
887
1096
 
888
- # Optional cloud region where annotation should take place. Supported cloud
889
- # regions: `us-east1`, `us-west1`, `europe-west1`, `asia-east1`. If no region
890
- # is specified, a region will be determined based on video file location.
1097
+ # Optional. Cloud region where annotation should take place. Supported cloud
1098
+ # regions are: `us-east1`, `us-west1`, `europe-west1`, `asia-east1`. If no
1099
+ # region is specified, the region will be determined based on video file
1100
+ # location.
891
1101
  # Corresponds to the JSON property `locationId`
892
1102
  # @return [String]
893
1103
  attr_accessor :location_id
894
1104
 
895
- # Optional location where the output (in JSON format) should be stored.
896
- # Currently, only [Google Cloud Storage](https://cloud.google.com/storage/)
897
- # URIs are supported, which must be specified in the following format:
1105
+ # Optional. Location where the output (in JSON format) should be stored.
1106
+ # Currently, only [Cloud Storage](https://cloud.google.com/storage/)
1107
+ # URIs are supported. These must be specified in the following format:
898
1108
  # `gs://bucket-id/object-id` (other URI formats return
899
1109
  # google.rpc.Code.INVALID_ARGUMENT). For more information, see
900
- # [Request URIs](/storage/docs/reference-uris).
1110
+ # [Request URIs](https://cloud.google.com/storage/docs/request-endpoints).
901
1111
  # Corresponds to the JSON property `outputUri`
902
1112
  # @return [String]
903
1113
  attr_accessor :output_uri
@@ -943,11 +1153,78 @@ module Google
943
1153
  end
944
1154
  end
945
1155
 
1156
+ # A generic detected attribute represented by name in string format.
1157
+ class GoogleCloudVideointelligenceV1beta2DetectedAttribute
1158
+ include Google::Apis::Core::Hashable
1159
+
1160
+ # Detected attribute confidence. Range [0, 1].
1161
+ # Corresponds to the JSON property `confidence`
1162
+ # @return [Float]
1163
+ attr_accessor :confidence
1164
+
1165
+ # The name of the attribute, for example, glasses, dark_glasses, mouth_open.
1166
+ # A full list of supported type names will be provided in the document.
1167
+ # Corresponds to the JSON property `name`
1168
+ # @return [String]
1169
+ attr_accessor :name
1170
+
1171
+ # Text value of the detection result. For example, the value for "HairColor"
1172
+ # can be "black", "blonde", etc.
1173
+ # Corresponds to the JSON property `value`
1174
+ # @return [String]
1175
+ attr_accessor :value
1176
+
1177
+ def initialize(**args)
1178
+ update!(**args)
1179
+ end
1180
+
1181
+ # Update properties of this object
1182
+ def update!(**args)
1183
+ @confidence = args[:confidence] if args.key?(:confidence)
1184
+ @name = args[:name] if args.key?(:name)
1185
+ @value = args[:value] if args.key?(:value)
1186
+ end
1187
+ end
1188
+
1189
+ # A generic detected landmark represented by name in string format and a 2D
1190
+ # location.
1191
+ class GoogleCloudVideointelligenceV1beta2DetectedLandmark
1192
+ include Google::Apis::Core::Hashable
1193
+
1194
+ # The confidence score of the detected landmark. Range [0, 1].
1195
+ # Corresponds to the JSON property `confidence`
1196
+ # @return [Float]
1197
+ attr_accessor :confidence
1198
+
1199
+ # The name of this landmark, for example, left_hand, right_shoulder.
1200
+ # Corresponds to the JSON property `name`
1201
+ # @return [String]
1202
+ attr_accessor :name
1203
+
1204
+ # A vertex represents a 2D point in the image.
1205
+ # NOTE: the normalized vertex coordinates are relative to the original image
1206
+ # and range from 0 to 1.
1207
+ # Corresponds to the JSON property `point`
1208
+ # @return [Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1beta2NormalizedVertex]
1209
+ attr_accessor :point
1210
+
1211
+ def initialize(**args)
1212
+ update!(**args)
1213
+ end
1214
+
1215
+ # Update properties of this object
1216
+ def update!(**args)
1217
+ @confidence = args[:confidence] if args.key?(:confidence)
1218
+ @name = args[:name] if args.key?(:name)
1219
+ @point = args[:point] if args.key?(:point)
1220
+ end
1221
+ end
1222
+
946
1223
  # Detected entity from video analysis.
947
1224
  class GoogleCloudVideointelligenceV1beta2Entity
948
1225
  include Google::Apis::Core::Hashable
949
1226
 
950
- # Textual description, e.g. `Fixed-gear bicycle`.
1227
+ # Textual description, e.g., `Fixed-gear bicycle`.
951
1228
  # Corresponds to the JSON property `description`
952
1229
  # @return [String]
953
1230
  attr_accessor :description
@@ -987,6 +1264,11 @@ module Google
987
1264
  # @return [Array<Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1beta2ExplicitContentFrame>]
988
1265
  attr_accessor :frames
989
1266
 
1267
+ # Feature version.
1268
+ # Corresponds to the JSON property `version`
1269
+ # @return [String]
1270
+ attr_accessor :version
1271
+
990
1272
  def initialize(**args)
991
1273
  update!(**args)
992
1274
  end
@@ -994,6 +1276,7 @@ module Google
994
1276
  # Update properties of this object
995
1277
  def update!(**args)
996
1278
  @frames = args[:frames] if args.key?(:frames)
1279
+ @version = args[:version] if args.key?(:version)
997
1280
  end
998
1281
  end
999
1282
 
@@ -1049,9 +1332,9 @@ module Google
1049
1332
  include Google::Apis::Core::Hashable
1050
1333
 
1051
1334
  # Common categories for the detected entity.
1052
- # E.g. when the label is `Terrier` the category is likely `dog`. And in some
1053
- # cases there might be more than one categories e.g. `Terrier` could also be
1054
- # a `pet`.
1335
+ # For example, when the label is `Terrier`, the category is likely `dog`. And
1336
+ # in some cases there might be more than one categories e.g., `Terrier` could
1337
+ # also be a `pet`.
1055
1338
  # Corresponds to the JSON property `categoryEntities`
1056
1339
  # @return [Array<Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1beta2Entity>]
1057
1340
  attr_accessor :category_entities
@@ -1071,6 +1354,11 @@ module Google
1071
1354
  # @return [Array<Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1beta2LabelSegment>]
1072
1355
  attr_accessor :segments
1073
1356
 
1357
+ # Feature version.
1358
+ # Corresponds to the JSON property `version`
1359
+ # @return [String]
1360
+ attr_accessor :version
1361
+
1074
1362
  def initialize(**args)
1075
1363
  update!(**args)
1076
1364
  end
@@ -1081,6 +1369,7 @@ module Google
1081
1369
  @entity = args[:entity] if args.key?(:entity)
1082
1370
  @frames = args[:frames] if args.key?(:frames)
1083
1371
  @segments = args[:segments] if args.key?(:segments)
1372
+ @version = args[:version] if args.key?(:version)
1084
1373
  end
1085
1374
  end
1086
1375
 
@@ -1092,7 +1381,7 @@ module Google
1092
1381
  # frame-level detection. If not set, it is set to 0.4 by default. The valid
1093
1382
  # range for this threshold is [0.1, 0.9]. Any value set outside of this
1094
1383
  # range will be clipped.
1095
- # Note: for best results please follow the default threshold. We will update
1384
+ # Note: For best results, follow the default threshold. We will update
1096
1385
  # the default threshold everytime when we release a new model.
1097
1386
  # Corresponds to the JSON property `frameConfidenceThreshold`
1098
1387
  # @return [Float]
@@ -1112,19 +1401,19 @@ module Google
1112
1401
  # @return [String]
1113
1402
  attr_accessor :model
1114
1403
 
1115
- # Whether the video has been shot from a stationary (i.e. non-moving) camera.
1116
- # When set to true, might improve detection accuracy for moving objects.
1117
- # Should be used with `SHOT_AND_FRAME_MODE` enabled.
1404
+ # Whether the video has been shot from a stationary (i.e., non-moving)
1405
+ # camera. When set to true, might improve detection accuracy for moving
1406
+ # objects. Should be used with `SHOT_AND_FRAME_MODE` enabled.
1118
1407
  # Corresponds to the JSON property `stationaryCamera`
1119
1408
  # @return [Boolean]
1120
1409
  attr_accessor :stationary_camera
1121
1410
  alias_method :stationary_camera?, :stationary_camera
1122
1411
 
1123
1412
  # The confidence threshold we perform filtering on the labels from
1124
- # video-level and shot-level detections. If not set, it is set to 0.3 by
1413
+ # video-level and shot-level detections. If not set, it's set to 0.3 by
1125
1414
  # default. The valid range for this threshold is [0.1, 0.9]. Any value set
1126
1415
  # outside of this range will be clipped.
1127
- # Note: for best results please follow the default threshold. We will update
1416
+ # Note: For best results, follow the default threshold. We will update
1128
1417
  # the default threshold everytime when we release a new model.
1129
1418
  # Corresponds to the JSON property `videoConfidenceThreshold`
1130
1419
  # @return [Float]
@@ -1195,6 +1484,39 @@ module Google
1195
1484
  end
1196
1485
  end
1197
1486
 
1487
+ # Annotation corresponding to one detected, tracked and recognized logo class.
1488
+ class GoogleCloudVideointelligenceV1beta2LogoRecognitionAnnotation
1489
+ include Google::Apis::Core::Hashable
1490
+
1491
+ # Detected entity from video analysis.
1492
+ # Corresponds to the JSON property `entity`
1493
+ # @return [Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1beta2Entity]
1494
+ attr_accessor :entity
1495
+
1496
+ # All video segments where the recognized logo appears. There might be
1497
+ # multiple instances of the same logo class appearing in one VideoSegment.
1498
+ # Corresponds to the JSON property `segments`
1499
+ # @return [Array<Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1beta2VideoSegment>]
1500
+ attr_accessor :segments
1501
+
1502
+ # All logo tracks where the recognized logo appears. Each track corresponds
1503
+ # to one logo instance appearing in consecutive frames.
1504
+ # Corresponds to the JSON property `tracks`
1505
+ # @return [Array<Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1beta2Track>]
1506
+ attr_accessor :tracks
1507
+
1508
+ def initialize(**args)
1509
+ update!(**args)
1510
+ end
1511
+
1512
+ # Update properties of this object
1513
+ def update!(**args)
1514
+ @entity = args[:entity] if args.key?(:entity)
1515
+ @segments = args[:segments] if args.key?(:segments)
1516
+ @tracks = args[:tracks] if args.key?(:tracks)
1517
+ end
1518
+ end
1519
+
1198
1520
  # Normalized bounding box.
1199
1521
  # The normalized vertex coordinates are relative to the original image.
1200
1522
  # Range: [0, 1].
@@ -1331,6 +1653,11 @@ module Google
1331
1653
  # @return [Fixnum]
1332
1654
  attr_accessor :track_id
1333
1655
 
1656
+ # Feature version.
1657
+ # Corresponds to the JSON property `version`
1658
+ # @return [String]
1659
+ attr_accessor :version
1660
+
1334
1661
  def initialize(**args)
1335
1662
  update!(**args)
1336
1663
  end
@@ -1342,6 +1669,7 @@ module Google
1342
1669
  @frames = args[:frames] if args.key?(:frames)
1343
1670
  @segment = args[:segment] if args.key?(:segment)
1344
1671
  @track_id = args[:track_id] if args.key?(:track_id)
1672
+ @version = args[:version] if args.key?(:version)
1345
1673
  end
1346
1674
  end
1347
1675
 
@@ -1420,7 +1748,7 @@ module Google
1420
1748
  class GoogleCloudVideointelligenceV1beta2SpeechContext
1421
1749
  include Google::Apis::Core::Hashable
1422
1750
 
1423
- # *Optional* A list of strings containing words and phrases "hints" so that
1751
+ # Optional. A list of strings containing words and phrases "hints" so that
1424
1752
  # the speech recognition is more likely to recognize them. This can be used
1425
1753
  # to improve the accuracy for specific words and phrases, for example, if
1426
1754
  # specific commands are typically spoken by the user. This can also be used
@@ -1460,8 +1788,8 @@ module Google
1460
1788
  attr_accessor :transcript
1461
1789
 
1462
1790
  # Output only. A list of word-specific information for each recognized word.
1463
- # Note: When `enable_speaker_diarization` is true, you will see all the words
1464
- # from the beginning of the audio.
1791
+ # Note: When `enable_speaker_diarization` is set to true, you will see all
1792
+ # the words from the beginning of the audio.
1465
1793
  # Corresponds to the JSON property `words`
1466
1794
  # @return [Array<Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1beta2WordInfo>]
1467
1795
  attr_accessor :words
@@ -1490,10 +1818,10 @@ module Google
1490
1818
  # @return [Array<Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1beta2SpeechRecognitionAlternative>]
1491
1819
  attr_accessor :alternatives
1492
1820
 
1493
- # Output only. The
1494
- # [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag of the
1495
- # language in this result. This language code was detected to have the most
1496
- # likelihood of being spoken in the audio.
1821
+ # Output only. The [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt)
1822
+ # language tag of
1823
+ # the language in this result. This language code was detected to have the
1824
+ # most likelihood of being spoken in the audio.
1497
1825
  # Corresponds to the JSON property `languageCode`
1498
1826
  # @return [String]
1499
1827
  attr_accessor :language_code
@@ -1513,21 +1841,21 @@ module Google
1513
1841
  class GoogleCloudVideointelligenceV1beta2SpeechTranscriptionConfig
1514
1842
  include Google::Apis::Core::Hashable
1515
1843
 
1516
- # *Optional* For file formats, such as MXF or MKV, supporting multiple audio
1844
+ # Optional. For file formats, such as MXF or MKV, supporting multiple audio
1517
1845
  # tracks, specify up to two tracks. Default: track 0.
1518
1846
  # Corresponds to the JSON property `audioTracks`
1519
1847
  # @return [Array<Fixnum>]
1520
1848
  attr_accessor :audio_tracks
1521
1849
 
1522
- # *Optional*
1523
- # If set, specifies the estimated number of speakers in the conversation.
1850
+ # Optional. If set, specifies the estimated number of speakers in the
1851
+ # conversation.
1524
1852
  # If not set, defaults to '2'.
1525
1853
  # Ignored unless enable_speaker_diarization is set to true.
1526
1854
  # Corresponds to the JSON property `diarizationSpeakerCount`
1527
1855
  # @return [Fixnum]
1528
1856
  attr_accessor :diarization_speaker_count
1529
1857
 
1530
- # *Optional* If 'true', adds punctuation to recognition result hypotheses.
1858
+ # Optional. If 'true', adds punctuation to recognition result hypotheses.
1531
1859
  # This feature is only available in select languages. Setting this for
1532
1860
  # requests in other languages has no effect at all. The default 'false' value
1533
1861
  # does not add punctuation to result hypotheses. NOTE: "This is currently
@@ -1538,11 +1866,11 @@ module Google
1538
1866
  attr_accessor :enable_automatic_punctuation
1539
1867
  alias_method :enable_automatic_punctuation?, :enable_automatic_punctuation
1540
1868
 
1541
- # *Optional* If 'true', enables speaker detection for each recognized word in
1869
+ # Optional. If 'true', enables speaker detection for each recognized word in
1542
1870
  # the top alternative of the recognition result using a speaker_tag provided
1543
1871
  # in the WordInfo.
1544
1872
  # Note: When this is true, we send all the words from the beginning of the
1545
- # audio for the top alternative in every consecutive responses.
1873
+ # audio for the top alternative in every consecutive response.
1546
1874
  # This is done in order to improve our speaker tags as our models learn to
1547
1875
  # identify the speakers in the conversation over time.
1548
1876
  # Corresponds to the JSON property `enableSpeakerDiarization`
@@ -1550,7 +1878,7 @@ module Google
1550
1878
  attr_accessor :enable_speaker_diarization
1551
1879
  alias_method :enable_speaker_diarization?, :enable_speaker_diarization
1552
1880
 
1553
- # *Optional* If `true`, the top result includes a list of words and the
1881
+ # Optional. If `true`, the top result includes a list of words and the
1554
1882
  # confidence for those words. If `false`, no word-level confidence
1555
1883
  # information is returned. The default is `false`.
1556
1884
  # Corresponds to the JSON property `enableWordConfidence`
@@ -1558,7 +1886,7 @@ module Google
1558
1886
  attr_accessor :enable_word_confidence
1559
1887
  alias_method :enable_word_confidence?, :enable_word_confidence
1560
1888
 
1561
- # *Optional* If set to `true`, the server will attempt to filter out
1889
+ # Optional. If set to `true`, the server will attempt to filter out
1562
1890
  # profanities, replacing all but the initial character in each filtered word
1563
1891
  # with asterisks, e.g. "f***". If set to `false` or omitted, profanities
1564
1892
  # won't be filtered out.
@@ -1567,7 +1895,7 @@ module Google
1567
1895
  attr_accessor :filter_profanity
1568
1896
  alias_method :filter_profanity?, :filter_profanity
1569
1897
 
1570
- # *Required* The language of the supplied audio as a
1898
+ # Required. *Required* The language of the supplied audio as a
1571
1899
  # [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag.
1572
1900
  # Example: "en-US".
1573
1901
  # See [Language Support](https://cloud.google.com/speech/docs/languages)
@@ -1576,7 +1904,7 @@ module Google
1576
1904
  # @return [String]
1577
1905
  attr_accessor :language_code
1578
1906
 
1579
- # *Optional* Maximum number of recognition hypotheses to be returned.
1907
+ # Optional. Maximum number of recognition hypotheses to be returned.
1580
1908
  # Specifically, the maximum number of `SpeechRecognitionAlternative` messages
1581
1909
  # within each `SpeechTranscription`. The server may return fewer than
1582
1910
  # `max_alternatives`. Valid values are `0`-`30`. A value of `0` or `1` will
@@ -1585,7 +1913,7 @@ module Google
1585
1913
  # @return [Fixnum]
1586
1914
  attr_accessor :max_alternatives
1587
1915
 
1588
- # *Optional* A means to provide context to assist the speech recognition.
1916
+ # Optional. A means to provide context to assist the speech recognition.
1589
1917
  # Corresponds to the JSON property `speechContexts`
1590
1918
  # @return [Array<Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1beta2SpeechContext>]
1591
1919
  attr_accessor :speech_contexts
@@ -1624,7 +1952,12 @@ module Google
1624
1952
  # @return [String]
1625
1953
  attr_accessor :text
1626
1954
 
1627
- def initialize(**args)
1955
+ # Feature version.
1956
+ # Corresponds to the JSON property `version`
1957
+ # @return [String]
1958
+ attr_accessor :version
1959
+
1960
+ def initialize(**args)
1628
1961
  update!(**args)
1629
1962
  end
1630
1963
 
@@ -1632,6 +1965,7 @@ module Google
1632
1965
  def update!(**args)
1633
1966
  @segments = args[:segments] if args.key?(:segments)
1634
1967
  @text = args[:text] if args.key?(:text)
1968
+ @version = args[:version] if args.key?(:version)
1635
1969
  end
1636
1970
  end
1637
1971
 
@@ -1738,18 +2072,97 @@ module Google
1738
2072
  end
1739
2073
  end
1740
2074
 
2075
+ # For tracking related features.
2076
+ # An object at time_offset with attributes, and located with
2077
+ # normalized_bounding_box.
2078
+ class GoogleCloudVideointelligenceV1beta2TimestampedObject
2079
+ include Google::Apis::Core::Hashable
2080
+
2081
+ # Optional. The attributes of the object in the bounding box.
2082
+ # Corresponds to the JSON property `attributes`
2083
+ # @return [Array<Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1beta2DetectedAttribute>]
2084
+ attr_accessor :attributes
2085
+
2086
+ # Optional. The detected landmarks.
2087
+ # Corresponds to the JSON property `landmarks`
2088
+ # @return [Array<Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1beta2DetectedLandmark>]
2089
+ attr_accessor :landmarks
2090
+
2091
+ # Normalized bounding box.
2092
+ # The normalized vertex coordinates are relative to the original image.
2093
+ # Range: [0, 1].
2094
+ # Corresponds to the JSON property `normalizedBoundingBox`
2095
+ # @return [Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1beta2NormalizedBoundingBox]
2096
+ attr_accessor :normalized_bounding_box
2097
+
2098
+ # Time-offset, relative to the beginning of the video,
2099
+ # corresponding to the video frame for this object.
2100
+ # Corresponds to the JSON property `timeOffset`
2101
+ # @return [String]
2102
+ attr_accessor :time_offset
2103
+
2104
+ def initialize(**args)
2105
+ update!(**args)
2106
+ end
2107
+
2108
+ # Update properties of this object
2109
+ def update!(**args)
2110
+ @attributes = args[:attributes] if args.key?(:attributes)
2111
+ @landmarks = args[:landmarks] if args.key?(:landmarks)
2112
+ @normalized_bounding_box = args[:normalized_bounding_box] if args.key?(:normalized_bounding_box)
2113
+ @time_offset = args[:time_offset] if args.key?(:time_offset)
2114
+ end
2115
+ end
2116
+
2117
+ # A track of an object instance.
2118
+ class GoogleCloudVideointelligenceV1beta2Track
2119
+ include Google::Apis::Core::Hashable
2120
+
2121
+ # Optional. Attributes in the track level.
2122
+ # Corresponds to the JSON property `attributes`
2123
+ # @return [Array<Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1beta2DetectedAttribute>]
2124
+ attr_accessor :attributes
2125
+
2126
+ # Optional. The confidence score of the tracked object.
2127
+ # Corresponds to the JSON property `confidence`
2128
+ # @return [Float]
2129
+ attr_accessor :confidence
2130
+
2131
+ # Video segment.
2132
+ # Corresponds to the JSON property `segment`
2133
+ # @return [Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1beta2VideoSegment]
2134
+ attr_accessor :segment
2135
+
2136
+ # The object with timestamp and attributes per frame in the track.
2137
+ # Corresponds to the JSON property `timestampedObjects`
2138
+ # @return [Array<Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1beta2TimestampedObject>]
2139
+ attr_accessor :timestamped_objects
2140
+
2141
+ def initialize(**args)
2142
+ update!(**args)
2143
+ end
2144
+
2145
+ # Update properties of this object
2146
+ def update!(**args)
2147
+ @attributes = args[:attributes] if args.key?(:attributes)
2148
+ @confidence = args[:confidence] if args.key?(:confidence)
2149
+ @segment = args[:segment] if args.key?(:segment)
2150
+ @timestamped_objects = args[:timestamped_objects] if args.key?(:timestamped_objects)
2151
+ end
2152
+ end
2153
+
1741
2154
  # Annotation progress for a single video.
1742
2155
  class GoogleCloudVideointelligenceV1beta2VideoAnnotationProgress
1743
2156
  include Google::Apis::Core::Hashable
1744
2157
 
1745
2158
  # Specifies which feature is being tracked if the request contains more than
1746
- # one features.
2159
+ # one feature.
1747
2160
  # Corresponds to the JSON property `feature`
1748
2161
  # @return [String]
1749
2162
  attr_accessor :feature
1750
2163
 
1751
2164
  # Video file location in
1752
- # [Google Cloud Storage](https://cloud.google.com/storage/).
2165
+ # [Cloud Storage](https://cloud.google.com/storage/).
1753
2166
  # Corresponds to the JSON property `inputUri`
1754
2167
  # @return [String]
1755
2168
  attr_accessor :input_uri
@@ -1818,11 +2231,16 @@ module Google
1818
2231
  attr_accessor :frame_label_annotations
1819
2232
 
1820
2233
  # Video file location in
1821
- # [Google Cloud Storage](https://cloud.google.com/storage/).
2234
+ # [Cloud Storage](https://cloud.google.com/storage/).
1822
2235
  # Corresponds to the JSON property `inputUri`
1823
2236
  # @return [String]
1824
2237
  attr_accessor :input_uri
1825
2238
 
2239
+ # Annotations for list of logos detected, tracked and recognized in video.
2240
+ # Corresponds to the JSON property `logoRecognitionAnnotations`
2241
+ # @return [Array<Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1beta2LogoRecognitionAnnotation>]
2242
+ attr_accessor :logo_recognition_annotations
2243
+
1826
2244
  # Annotations for list of objects detected and tracked in video.
1827
2245
  # Corresponds to the JSON property `objectAnnotations`
1828
2246
  # @return [Array<Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1beta2ObjectTrackingAnnotation>]
@@ -1833,13 +2251,13 @@ module Google
1833
2251
  # @return [Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1beta2VideoSegment]
1834
2252
  attr_accessor :segment
1835
2253
 
1836
- # Topical label annotations on video level or user specified segment level.
2254
+ # Topical label annotations on video level or user-specified segment level.
1837
2255
  # There is exactly one element for each unique label.
1838
2256
  # Corresponds to the JSON property `segmentLabelAnnotations`
1839
2257
  # @return [Array<Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1beta2LabelAnnotation>]
1840
2258
  attr_accessor :segment_label_annotations
1841
2259
 
1842
- # Presence label annotations on video level or user specified segment level.
2260
+ # Presence label annotations on video level or user-specified segment level.
1843
2261
  # There is exactly one element for each unique label. Compared to the
1844
2262
  # existing topical `segment_label_annotations`, this field presents more
1845
2263
  # fine-grained, segment-level labels detected in video content and is made
@@ -1891,6 +2309,7 @@ module Google
1891
2309
  @explicit_annotation = args[:explicit_annotation] if args.key?(:explicit_annotation)
1892
2310
  @frame_label_annotations = args[:frame_label_annotations] if args.key?(:frame_label_annotations)
1893
2311
  @input_uri = args[:input_uri] if args.key?(:input_uri)
2312
+ @logo_recognition_annotations = args[:logo_recognition_annotations] if args.key?(:logo_recognition_annotations)
1894
2313
  @object_annotations = args[:object_annotations] if args.key?(:object_annotations)
1895
2314
  @segment = args[:segment] if args.key?(:segment)
1896
2315
  @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::VideointelligenceV1beta2::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::VideointelligenceV1beta2::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::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p1beta1Entity>]
2181
2673
  attr_accessor :category_entities
@@ -2195,6 +2687,11 @@ module Google
2195
2687
  # @return [Array<Google::Apis::VideointelligenceV1beta2::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::VideointelligenceV1beta2::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::VideointelligenceV1beta2::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::VideointelligenceV1beta2::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::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p1beta1WordInfo>]
2464
3001
  attr_accessor :words
@@ -2487,10 +3024,10 @@ module Google
2487
3024
  # @return [Array<Google::Apis::VideointelligenceV1beta2::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::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p1beta1DetectedAttribute>]
3161
+ attr_accessor :attributes
3162
+
3163
+ # Optional. The detected landmarks.
3164
+ # Corresponds to the JSON property `landmarks`
3165
+ # @return [Array<Google::Apis::VideointelligenceV1beta2::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::VideointelligenceV1beta2::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::VideointelligenceV1beta2::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::VideointelligenceV1beta2::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::VideointelligenceV1beta2::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::VideointelligenceV1beta2::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::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p1beta1ObjectTrackingAnnotation>]
@@ -2701,13 +3328,13 @@ module Google
2701
3328
  # @return [Google::Apis::VideointelligenceV1beta2::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::VideointelligenceV1beta2::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::VideointelligenceV1beta2::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::VideointelligenceV1beta2::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::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p2beta1Entity>]
2992
3693
  attr_accessor :category_entities
@@ -3006,6 +3707,11 @@ module Google
3006
3707
  # @return [Array<Google::Apis::VideointelligenceV1beta2::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::VideointelligenceV1beta2::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::VideointelligenceV1beta2::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::VideointelligenceV1beta2::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::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p2beta1WordInfo>]
3275
4021
  attr_accessor :words
@@ -3298,10 +4044,10 @@ module Google
3298
4044
  # @return [Array<Google::Apis::VideointelligenceV1beta2::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::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p2beta1DetectedAttribute>]
4181
+ attr_accessor :attributes
4182
+
4183
+ # Optional. The detected landmarks.
4184
+ # Corresponds to the JSON property `landmarks`
4185
+ # @return [Array<Google::Apis::VideointelligenceV1beta2::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::VideointelligenceV1beta2::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::VideointelligenceV1beta2::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::VideointelligenceV1beta2::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::VideointelligenceV1beta2::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::VideointelligenceV1beta2::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::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p2beta1ObjectTrackingAnnotation>]
@@ -3512,13 +4348,13 @@ module Google
3512
4348
  # @return [Google::Apis::VideointelligenceV1beta2::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::VideointelligenceV1beta2::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::VideointelligenceV1beta2::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::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p3beta1RecognizedCelebrity>]
4619
+ attr_accessor :celebrities
4620
+
4621
+ # A track of an object instance.
4622
+ # Corresponds to the JSON property `faceTrack`
4623
+ # @return [Google::Apis::VideointelligenceV1beta2::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::VideointelligenceV1beta2::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::VideointelligenceV1beta2::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::VideointelligenceV1beta2::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::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p3beta1Entity>]
3836
4832
  attr_accessor :category_entities
@@ -3850,6 +4846,11 @@ module Google
3850
4846
  # @return [Array<Google::Apis::VideointelligenceV1beta2::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::VideointelligenceV1beta2::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::VideointelligenceV1beta2::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::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p3beta1WordInfo>]
4152
5210
  attr_accessor :words
@@ -4175,10 +5233,10 @@ module Google
4175
5233
  # @return [Array<Google::Apis::VideointelligenceV1beta2::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::VideointelligenceV1beta2::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::VideointelligenceV1beta2::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::VideointelligenceV1beta2::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::VideointelligenceV1beta2::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::VideointelligenceV1beta2::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::VideointelligenceV1beta2::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::VideointelligenceV1beta2::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::VideointelligenceV1beta2::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::VideointelligenceV1beta2::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::VideointelligenceV1beta2::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)