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::VideointelligenceV1p3beta1::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::VideointelligenceV1p3beta1::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::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1Entity>]
157
230
  attr_accessor :category_entities
@@ -171,6 +244,11 @@ module Google
171
244
  # @return [Array<Google::Apis::VideointelligenceV1p3beta1::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::VideointelligenceV1p3beta1::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::VideointelligenceV1p3beta1::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::VideointelligenceV1p3beta1::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::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1WordInfo>]
440
558
  attr_accessor :words
@@ -463,10 +581,10 @@ module Google
463
581
  # @return [Array<Google::Apis::VideointelligenceV1p3beta1::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::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1DetectedAttribute>]
718
+ attr_accessor :attributes
719
+
720
+ # Optional. The detected landmarks.
721
+ # Corresponds to the JSON property `landmarks`
722
+ # @return [Array<Google::Apis::VideointelligenceV1p3beta1::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::VideointelligenceV1p3beta1::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::VideointelligenceV1p3beta1::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::VideointelligenceV1p3beta1::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::VideointelligenceV1p3beta1::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::VideointelligenceV1p3beta1::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::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1ObjectTrackingAnnotation>]
@@ -677,13 +885,13 @@ module Google
677
885
  # @return [Google::Apis::VideointelligenceV1p3beta1::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::VideointelligenceV1p3beta1::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)
@@ -875,11 +1084,78 @@ module Google
875
1084
  end
876
1085
  end
877
1086
 
1087
+ # A generic detected attribute represented by name in string format.
1088
+ class GoogleCloudVideointelligenceV1beta2DetectedAttribute
1089
+ include Google::Apis::Core::Hashable
1090
+
1091
+ # Detected attribute confidence. Range [0, 1].
1092
+ # Corresponds to the JSON property `confidence`
1093
+ # @return [Float]
1094
+ attr_accessor :confidence
1095
+
1096
+ # The name of the attribute, for example, glasses, dark_glasses, mouth_open.
1097
+ # A full list of supported type names will be provided in the document.
1098
+ # Corresponds to the JSON property `name`
1099
+ # @return [String]
1100
+ attr_accessor :name
1101
+
1102
+ # Text value of the detection result. For example, the value for "HairColor"
1103
+ # can be "black", "blonde", etc.
1104
+ # Corresponds to the JSON property `value`
1105
+ # @return [String]
1106
+ attr_accessor :value
1107
+
1108
+ def initialize(**args)
1109
+ update!(**args)
1110
+ end
1111
+
1112
+ # Update properties of this object
1113
+ def update!(**args)
1114
+ @confidence = args[:confidence] if args.key?(:confidence)
1115
+ @name = args[:name] if args.key?(:name)
1116
+ @value = args[:value] if args.key?(:value)
1117
+ end
1118
+ end
1119
+
1120
+ # A generic detected landmark represented by name in string format and a 2D
1121
+ # location.
1122
+ class GoogleCloudVideointelligenceV1beta2DetectedLandmark
1123
+ include Google::Apis::Core::Hashable
1124
+
1125
+ # The confidence score of the detected landmark. Range [0, 1].
1126
+ # Corresponds to the JSON property `confidence`
1127
+ # @return [Float]
1128
+ attr_accessor :confidence
1129
+
1130
+ # The name of this landmark, for example, left_hand, right_shoulder.
1131
+ # Corresponds to the JSON property `name`
1132
+ # @return [String]
1133
+ attr_accessor :name
1134
+
1135
+ # A vertex represents a 2D point in the image.
1136
+ # NOTE: the normalized vertex coordinates are relative to the original image
1137
+ # and range from 0 to 1.
1138
+ # Corresponds to the JSON property `point`
1139
+ # @return [Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1beta2NormalizedVertex]
1140
+ attr_accessor :point
1141
+
1142
+ def initialize(**args)
1143
+ update!(**args)
1144
+ end
1145
+
1146
+ # Update properties of this object
1147
+ def update!(**args)
1148
+ @confidence = args[:confidence] if args.key?(:confidence)
1149
+ @name = args[:name] if args.key?(:name)
1150
+ @point = args[:point] if args.key?(:point)
1151
+ end
1152
+ end
1153
+
878
1154
  # Detected entity from video analysis.
879
1155
  class GoogleCloudVideointelligenceV1beta2Entity
880
1156
  include Google::Apis::Core::Hashable
881
1157
 
882
- # Textual description, e.g. `Fixed-gear bicycle`.
1158
+ # Textual description, e.g., `Fixed-gear bicycle`.
883
1159
  # Corresponds to the JSON property `description`
884
1160
  # @return [String]
885
1161
  attr_accessor :description
@@ -919,6 +1195,11 @@ module Google
919
1195
  # @return [Array<Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1beta2ExplicitContentFrame>]
920
1196
  attr_accessor :frames
921
1197
 
1198
+ # Feature version.
1199
+ # Corresponds to the JSON property `version`
1200
+ # @return [String]
1201
+ attr_accessor :version
1202
+
922
1203
  def initialize(**args)
923
1204
  update!(**args)
924
1205
  end
@@ -926,6 +1207,7 @@ module Google
926
1207
  # Update properties of this object
927
1208
  def update!(**args)
928
1209
  @frames = args[:frames] if args.key?(:frames)
1210
+ @version = args[:version] if args.key?(:version)
929
1211
  end
930
1212
  end
931
1213
 
@@ -960,9 +1242,9 @@ module Google
960
1242
  include Google::Apis::Core::Hashable
961
1243
 
962
1244
  # Common categories for the detected entity.
963
- # E.g. when the label is `Terrier` the category is likely `dog`. And in some
964
- # cases there might be more than one categories e.g. `Terrier` could also be
965
- # a `pet`.
1245
+ # For example, when the label is `Terrier`, the category is likely `dog`. And
1246
+ # in some cases there might be more than one categories e.g., `Terrier` could
1247
+ # also be a `pet`.
966
1248
  # Corresponds to the JSON property `categoryEntities`
967
1249
  # @return [Array<Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1beta2Entity>]
968
1250
  attr_accessor :category_entities
@@ -982,6 +1264,11 @@ module Google
982
1264
  # @return [Array<Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1beta2LabelSegment>]
983
1265
  attr_accessor :segments
984
1266
 
1267
+ # Feature version.
1268
+ # Corresponds to the JSON property `version`
1269
+ # @return [String]
1270
+ attr_accessor :version
1271
+
985
1272
  def initialize(**args)
986
1273
  update!(**args)
987
1274
  end
@@ -992,6 +1279,7 @@ module Google
992
1279
  @entity = args[:entity] if args.key?(:entity)
993
1280
  @frames = args[:frames] if args.key?(:frames)
994
1281
  @segments = args[:segments] if args.key?(:segments)
1282
+ @version = args[:version] if args.key?(:version)
995
1283
  end
996
1284
  end
997
1285
 
@@ -1046,6 +1334,39 @@ module Google
1046
1334
  end
1047
1335
  end
1048
1336
 
1337
+ # Annotation corresponding to one detected, tracked and recognized logo class.
1338
+ class GoogleCloudVideointelligenceV1beta2LogoRecognitionAnnotation
1339
+ include Google::Apis::Core::Hashable
1340
+
1341
+ # Detected entity from video analysis.
1342
+ # Corresponds to the JSON property `entity`
1343
+ # @return [Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1beta2Entity]
1344
+ attr_accessor :entity
1345
+
1346
+ # All video segments where the recognized logo appears. There might be
1347
+ # multiple instances of the same logo class appearing in one VideoSegment.
1348
+ # Corresponds to the JSON property `segments`
1349
+ # @return [Array<Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1beta2VideoSegment>]
1350
+ attr_accessor :segments
1351
+
1352
+ # All logo tracks where the recognized logo appears. Each track corresponds
1353
+ # to one logo instance appearing in consecutive frames.
1354
+ # Corresponds to the JSON property `tracks`
1355
+ # @return [Array<Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1beta2Track>]
1356
+ attr_accessor :tracks
1357
+
1358
+ def initialize(**args)
1359
+ update!(**args)
1360
+ end
1361
+
1362
+ # Update properties of this object
1363
+ def update!(**args)
1364
+ @entity = args[:entity] if args.key?(:entity)
1365
+ @segments = args[:segments] if args.key?(:segments)
1366
+ @tracks = args[:tracks] if args.key?(:tracks)
1367
+ end
1368
+ end
1369
+
1049
1370
  # Normalized bounding box.
1050
1371
  # The normalized vertex coordinates are relative to the original image.
1051
1372
  # Range: [0, 1].
@@ -1182,6 +1503,11 @@ module Google
1182
1503
  # @return [Fixnum]
1183
1504
  attr_accessor :track_id
1184
1505
 
1506
+ # Feature version.
1507
+ # Corresponds to the JSON property `version`
1508
+ # @return [String]
1509
+ attr_accessor :version
1510
+
1185
1511
  def initialize(**args)
1186
1512
  update!(**args)
1187
1513
  end
@@ -1193,6 +1519,7 @@ module Google
1193
1519
  @frames = args[:frames] if args.key?(:frames)
1194
1520
  @segment = args[:segment] if args.key?(:segment)
1195
1521
  @track_id = args[:track_id] if args.key?(:track_id)
1522
+ @version = args[:version] if args.key?(:version)
1196
1523
  end
1197
1524
  end
1198
1525
 
@@ -1244,8 +1571,8 @@ module Google
1244
1571
  attr_accessor :transcript
1245
1572
 
1246
1573
  # Output only. A list of word-specific information for each recognized word.
1247
- # Note: When `enable_speaker_diarization` is true, you will see all the words
1248
- # from the beginning of the audio.
1574
+ # Note: When `enable_speaker_diarization` is set to true, you will see all
1575
+ # the words from the beginning of the audio.
1249
1576
  # Corresponds to the JSON property `words`
1250
1577
  # @return [Array<Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1beta2WordInfo>]
1251
1578
  attr_accessor :words
@@ -1274,10 +1601,10 @@ module Google
1274
1601
  # @return [Array<Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1beta2SpeechRecognitionAlternative>]
1275
1602
  attr_accessor :alternatives
1276
1603
 
1277
- # Output only. The
1278
- # [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag of the
1279
- # language in this result. This language code was detected to have the most
1280
- # likelihood of being spoken in the audio.
1604
+ # Output only. The [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt)
1605
+ # language tag of
1606
+ # the language in this result. This language code was detected to have the
1607
+ # most likelihood of being spoken in the audio.
1281
1608
  # Corresponds to the JSON property `languageCode`
1282
1609
  # @return [String]
1283
1610
  attr_accessor :language_code
@@ -1309,6 +1636,11 @@ module Google
1309
1636
  # @return [String]
1310
1637
  attr_accessor :text
1311
1638
 
1639
+ # Feature version.
1640
+ # Corresponds to the JSON property `version`
1641
+ # @return [String]
1642
+ attr_accessor :version
1643
+
1312
1644
  def initialize(**args)
1313
1645
  update!(**args)
1314
1646
  end
@@ -1317,6 +1649,7 @@ module Google
1317
1649
  def update!(**args)
1318
1650
  @segments = args[:segments] if args.key?(:segments)
1319
1651
  @text = args[:text] if args.key?(:text)
1652
+ @version = args[:version] if args.key?(:version)
1320
1653
  end
1321
1654
  end
1322
1655
 
@@ -1393,18 +1726,97 @@ module Google
1393
1726
  end
1394
1727
  end
1395
1728
 
1729
+ # For tracking related features.
1730
+ # An object at time_offset with attributes, and located with
1731
+ # normalized_bounding_box.
1732
+ class GoogleCloudVideointelligenceV1beta2TimestampedObject
1733
+ include Google::Apis::Core::Hashable
1734
+
1735
+ # Optional. The attributes of the object in the bounding box.
1736
+ # Corresponds to the JSON property `attributes`
1737
+ # @return [Array<Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1beta2DetectedAttribute>]
1738
+ attr_accessor :attributes
1739
+
1740
+ # Optional. The detected landmarks.
1741
+ # Corresponds to the JSON property `landmarks`
1742
+ # @return [Array<Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1beta2DetectedLandmark>]
1743
+ attr_accessor :landmarks
1744
+
1745
+ # Normalized bounding box.
1746
+ # The normalized vertex coordinates are relative to the original image.
1747
+ # Range: [0, 1].
1748
+ # Corresponds to the JSON property `normalizedBoundingBox`
1749
+ # @return [Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1beta2NormalizedBoundingBox]
1750
+ attr_accessor :normalized_bounding_box
1751
+
1752
+ # Time-offset, relative to the beginning of the video,
1753
+ # corresponding to the video frame for this object.
1754
+ # Corresponds to the JSON property `timeOffset`
1755
+ # @return [String]
1756
+ attr_accessor :time_offset
1757
+
1758
+ def initialize(**args)
1759
+ update!(**args)
1760
+ end
1761
+
1762
+ # Update properties of this object
1763
+ def update!(**args)
1764
+ @attributes = args[:attributes] if args.key?(:attributes)
1765
+ @landmarks = args[:landmarks] if args.key?(:landmarks)
1766
+ @normalized_bounding_box = args[:normalized_bounding_box] if args.key?(:normalized_bounding_box)
1767
+ @time_offset = args[:time_offset] if args.key?(:time_offset)
1768
+ end
1769
+ end
1770
+
1771
+ # A track of an object instance.
1772
+ class GoogleCloudVideointelligenceV1beta2Track
1773
+ include Google::Apis::Core::Hashable
1774
+
1775
+ # Optional. Attributes in the track level.
1776
+ # Corresponds to the JSON property `attributes`
1777
+ # @return [Array<Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1beta2DetectedAttribute>]
1778
+ attr_accessor :attributes
1779
+
1780
+ # Optional. The confidence score of the tracked object.
1781
+ # Corresponds to the JSON property `confidence`
1782
+ # @return [Float]
1783
+ attr_accessor :confidence
1784
+
1785
+ # Video segment.
1786
+ # Corresponds to the JSON property `segment`
1787
+ # @return [Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1beta2VideoSegment]
1788
+ attr_accessor :segment
1789
+
1790
+ # The object with timestamp and attributes per frame in the track.
1791
+ # Corresponds to the JSON property `timestampedObjects`
1792
+ # @return [Array<Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1beta2TimestampedObject>]
1793
+ attr_accessor :timestamped_objects
1794
+
1795
+ def initialize(**args)
1796
+ update!(**args)
1797
+ end
1798
+
1799
+ # Update properties of this object
1800
+ def update!(**args)
1801
+ @attributes = args[:attributes] if args.key?(:attributes)
1802
+ @confidence = args[:confidence] if args.key?(:confidence)
1803
+ @segment = args[:segment] if args.key?(:segment)
1804
+ @timestamped_objects = args[:timestamped_objects] if args.key?(:timestamped_objects)
1805
+ end
1806
+ end
1807
+
1396
1808
  # Annotation progress for a single video.
1397
1809
  class GoogleCloudVideointelligenceV1beta2VideoAnnotationProgress
1398
1810
  include Google::Apis::Core::Hashable
1399
1811
 
1400
1812
  # Specifies which feature is being tracked if the request contains more than
1401
- # one features.
1813
+ # one feature.
1402
1814
  # Corresponds to the JSON property `feature`
1403
1815
  # @return [String]
1404
1816
  attr_accessor :feature
1405
1817
 
1406
1818
  # Video file location in
1407
- # [Google Cloud Storage](https://cloud.google.com/storage/).
1819
+ # [Cloud Storage](https://cloud.google.com/storage/).
1408
1820
  # Corresponds to the JSON property `inputUri`
1409
1821
  # @return [String]
1410
1822
  attr_accessor :input_uri
@@ -1473,11 +1885,16 @@ module Google
1473
1885
  attr_accessor :frame_label_annotations
1474
1886
 
1475
1887
  # Video file location in
1476
- # [Google Cloud Storage](https://cloud.google.com/storage/).
1888
+ # [Cloud Storage](https://cloud.google.com/storage/).
1477
1889
  # Corresponds to the JSON property `inputUri`
1478
1890
  # @return [String]
1479
1891
  attr_accessor :input_uri
1480
1892
 
1893
+ # Annotations for list of logos detected, tracked and recognized in video.
1894
+ # Corresponds to the JSON property `logoRecognitionAnnotations`
1895
+ # @return [Array<Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1beta2LogoRecognitionAnnotation>]
1896
+ attr_accessor :logo_recognition_annotations
1897
+
1481
1898
  # Annotations for list of objects detected and tracked in video.
1482
1899
  # Corresponds to the JSON property `objectAnnotations`
1483
1900
  # @return [Array<Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1beta2ObjectTrackingAnnotation>]
@@ -1488,13 +1905,13 @@ module Google
1488
1905
  # @return [Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1beta2VideoSegment]
1489
1906
  attr_accessor :segment
1490
1907
 
1491
- # Topical label annotations on video level or user specified segment level.
1908
+ # Topical label annotations on video level or user-specified segment level.
1492
1909
  # There is exactly one element for each unique label.
1493
1910
  # Corresponds to the JSON property `segmentLabelAnnotations`
1494
1911
  # @return [Array<Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1beta2LabelAnnotation>]
1495
1912
  attr_accessor :segment_label_annotations
1496
1913
 
1497
- # Presence label annotations on video level or user specified segment level.
1914
+ # Presence label annotations on video level or user-specified segment level.
1498
1915
  # There is exactly one element for each unique label. Compared to the
1499
1916
  # existing topical `segment_label_annotations`, this field presents more
1500
1917
  # fine-grained, segment-level labels detected in video content and is made
@@ -1546,6 +1963,7 @@ module Google
1546
1963
  @explicit_annotation = args[:explicit_annotation] if args.key?(:explicit_annotation)
1547
1964
  @frame_label_annotations = args[:frame_label_annotations] if args.key?(:frame_label_annotations)
1548
1965
  @input_uri = args[:input_uri] if args.key?(:input_uri)
1966
+ @logo_recognition_annotations = args[:logo_recognition_annotations] if args.key?(:logo_recognition_annotations)
1549
1967
  @object_annotations = args[:object_annotations] if args.key?(:object_annotations)
1550
1968
  @segment = args[:segment] if args.key?(:segment)
1551
1969
  @segment_label_annotations = args[:segment_label_annotations] if args.key?(:segment_label_annotations)
@@ -1686,11 +2104,78 @@ module Google
1686
2104
  end
1687
2105
  end
1688
2106
 
2107
+ # A generic detected attribute represented by name in string format.
2108
+ class GoogleCloudVideointelligenceV1p1beta1DetectedAttribute
2109
+ include Google::Apis::Core::Hashable
2110
+
2111
+ # Detected attribute confidence. Range [0, 1].
2112
+ # Corresponds to the JSON property `confidence`
2113
+ # @return [Float]
2114
+ attr_accessor :confidence
2115
+
2116
+ # The name of the attribute, for example, glasses, dark_glasses, mouth_open.
2117
+ # A full list of supported type names will be provided in the document.
2118
+ # Corresponds to the JSON property `name`
2119
+ # @return [String]
2120
+ attr_accessor :name
2121
+
2122
+ # Text value of the detection result. For example, the value for "HairColor"
2123
+ # can be "black", "blonde", etc.
2124
+ # Corresponds to the JSON property `value`
2125
+ # @return [String]
2126
+ attr_accessor :value
2127
+
2128
+ def initialize(**args)
2129
+ update!(**args)
2130
+ end
2131
+
2132
+ # Update properties of this object
2133
+ def update!(**args)
2134
+ @confidence = args[:confidence] if args.key?(:confidence)
2135
+ @name = args[:name] if args.key?(:name)
2136
+ @value = args[:value] if args.key?(:value)
2137
+ end
2138
+ end
2139
+
2140
+ # A generic detected landmark represented by name in string format and a 2D
2141
+ # location.
2142
+ class GoogleCloudVideointelligenceV1p1beta1DetectedLandmark
2143
+ include Google::Apis::Core::Hashable
2144
+
2145
+ # The confidence score of the detected landmark. Range [0, 1].
2146
+ # Corresponds to the JSON property `confidence`
2147
+ # @return [Float]
2148
+ attr_accessor :confidence
2149
+
2150
+ # The name of this landmark, for example, left_hand, right_shoulder.
2151
+ # Corresponds to the JSON property `name`
2152
+ # @return [String]
2153
+ attr_accessor :name
2154
+
2155
+ # A vertex represents a 2D point in the image.
2156
+ # NOTE: the normalized vertex coordinates are relative to the original image
2157
+ # and range from 0 to 1.
2158
+ # Corresponds to the JSON property `point`
2159
+ # @return [Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p1beta1NormalizedVertex]
2160
+ attr_accessor :point
2161
+
2162
+ def initialize(**args)
2163
+ update!(**args)
2164
+ end
2165
+
2166
+ # Update properties of this object
2167
+ def update!(**args)
2168
+ @confidence = args[:confidence] if args.key?(:confidence)
2169
+ @name = args[:name] if args.key?(:name)
2170
+ @point = args[:point] if args.key?(:point)
2171
+ end
2172
+ end
2173
+
1689
2174
  # Detected entity from video analysis.
1690
2175
  class GoogleCloudVideointelligenceV1p1beta1Entity
1691
2176
  include Google::Apis::Core::Hashable
1692
2177
 
1693
- # Textual description, e.g. `Fixed-gear bicycle`.
2178
+ # Textual description, e.g., `Fixed-gear bicycle`.
1694
2179
  # Corresponds to the JSON property `description`
1695
2180
  # @return [String]
1696
2181
  attr_accessor :description
@@ -1730,6 +2215,11 @@ module Google
1730
2215
  # @return [Array<Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p1beta1ExplicitContentFrame>]
1731
2216
  attr_accessor :frames
1732
2217
 
2218
+ # Feature version.
2219
+ # Corresponds to the JSON property `version`
2220
+ # @return [String]
2221
+ attr_accessor :version
2222
+
1733
2223
  def initialize(**args)
1734
2224
  update!(**args)
1735
2225
  end
@@ -1737,6 +2227,7 @@ module Google
1737
2227
  # Update properties of this object
1738
2228
  def update!(**args)
1739
2229
  @frames = args[:frames] if args.key?(:frames)
2230
+ @version = args[:version] if args.key?(:version)
1740
2231
  end
1741
2232
  end
1742
2233
 
@@ -1771,9 +2262,9 @@ module Google
1771
2262
  include Google::Apis::Core::Hashable
1772
2263
 
1773
2264
  # Common categories for the detected entity.
1774
- # E.g. when the label is `Terrier` the category is likely `dog`. And in some
1775
- # cases there might be more than one categories e.g. `Terrier` could also be
1776
- # a `pet`.
2265
+ # For example, when the label is `Terrier`, the category is likely `dog`. And
2266
+ # in some cases there might be more than one categories e.g., `Terrier` could
2267
+ # also be a `pet`.
1777
2268
  # Corresponds to the JSON property `categoryEntities`
1778
2269
  # @return [Array<Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p1beta1Entity>]
1779
2270
  attr_accessor :category_entities
@@ -1793,6 +2284,11 @@ module Google
1793
2284
  # @return [Array<Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p1beta1LabelSegment>]
1794
2285
  attr_accessor :segments
1795
2286
 
2287
+ # Feature version.
2288
+ # Corresponds to the JSON property `version`
2289
+ # @return [String]
2290
+ attr_accessor :version
2291
+
1796
2292
  def initialize(**args)
1797
2293
  update!(**args)
1798
2294
  end
@@ -1803,6 +2299,7 @@ module Google
1803
2299
  @entity = args[:entity] if args.key?(:entity)
1804
2300
  @frames = args[:frames] if args.key?(:frames)
1805
2301
  @segments = args[:segments] if args.key?(:segments)
2302
+ @version = args[:version] if args.key?(:version)
1806
2303
  end
1807
2304
  end
1808
2305
 
@@ -1857,6 +2354,39 @@ module Google
1857
2354
  end
1858
2355
  end
1859
2356
 
2357
+ # Annotation corresponding to one detected, tracked and recognized logo class.
2358
+ class GoogleCloudVideointelligenceV1p1beta1LogoRecognitionAnnotation
2359
+ include Google::Apis::Core::Hashable
2360
+
2361
+ # Detected entity from video analysis.
2362
+ # Corresponds to the JSON property `entity`
2363
+ # @return [Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p1beta1Entity]
2364
+ attr_accessor :entity
2365
+
2366
+ # All video segments where the recognized logo appears. There might be
2367
+ # multiple instances of the same logo class appearing in one VideoSegment.
2368
+ # Corresponds to the JSON property `segments`
2369
+ # @return [Array<Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p1beta1VideoSegment>]
2370
+ attr_accessor :segments
2371
+
2372
+ # All logo tracks where the recognized logo appears. Each track corresponds
2373
+ # to one logo instance appearing in consecutive frames.
2374
+ # Corresponds to the JSON property `tracks`
2375
+ # @return [Array<Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p1beta1Track>]
2376
+ attr_accessor :tracks
2377
+
2378
+ def initialize(**args)
2379
+ update!(**args)
2380
+ end
2381
+
2382
+ # Update properties of this object
2383
+ def update!(**args)
2384
+ @entity = args[:entity] if args.key?(:entity)
2385
+ @segments = args[:segments] if args.key?(:segments)
2386
+ @tracks = args[:tracks] if args.key?(:tracks)
2387
+ end
2388
+ end
2389
+
1860
2390
  # Normalized bounding box.
1861
2391
  # The normalized vertex coordinates are relative to the original image.
1862
2392
  # Range: [0, 1].
@@ -1993,6 +2523,11 @@ module Google
1993
2523
  # @return [Fixnum]
1994
2524
  attr_accessor :track_id
1995
2525
 
2526
+ # Feature version.
2527
+ # Corresponds to the JSON property `version`
2528
+ # @return [String]
2529
+ attr_accessor :version
2530
+
1996
2531
  def initialize(**args)
1997
2532
  update!(**args)
1998
2533
  end
@@ -2004,6 +2539,7 @@ module Google
2004
2539
  @frames = args[:frames] if args.key?(:frames)
2005
2540
  @segment = args[:segment] if args.key?(:segment)
2006
2541
  @track_id = args[:track_id] if args.key?(:track_id)
2542
+ @version = args[:version] if args.key?(:version)
2007
2543
  end
2008
2544
  end
2009
2545
 
@@ -2055,8 +2591,8 @@ module Google
2055
2591
  attr_accessor :transcript
2056
2592
 
2057
2593
  # Output only. A list of word-specific information for each recognized word.
2058
- # Note: When `enable_speaker_diarization` is true, you will see all the words
2059
- # from the beginning of the audio.
2594
+ # Note: When `enable_speaker_diarization` is set to true, you will see all
2595
+ # the words from the beginning of the audio.
2060
2596
  # Corresponds to the JSON property `words`
2061
2597
  # @return [Array<Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p1beta1WordInfo>]
2062
2598
  attr_accessor :words
@@ -2085,10 +2621,10 @@ module Google
2085
2621
  # @return [Array<Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p1beta1SpeechRecognitionAlternative>]
2086
2622
  attr_accessor :alternatives
2087
2623
 
2088
- # Output only. The
2089
- # [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag of the
2090
- # language in this result. This language code was detected to have the most
2091
- # likelihood of being spoken in the audio.
2624
+ # Output only. The [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt)
2625
+ # language tag of
2626
+ # the language in this result. This language code was detected to have the
2627
+ # most likelihood of being spoken in the audio.
2092
2628
  # Corresponds to the JSON property `languageCode`
2093
2629
  # @return [String]
2094
2630
  attr_accessor :language_code
@@ -2120,6 +2656,11 @@ module Google
2120
2656
  # @return [String]
2121
2657
  attr_accessor :text
2122
2658
 
2659
+ # Feature version.
2660
+ # Corresponds to the JSON property `version`
2661
+ # @return [String]
2662
+ attr_accessor :version
2663
+
2123
2664
  def initialize(**args)
2124
2665
  update!(**args)
2125
2666
  end
@@ -2128,6 +2669,7 @@ module Google
2128
2669
  def update!(**args)
2129
2670
  @segments = args[:segments] if args.key?(:segments)
2130
2671
  @text = args[:text] if args.key?(:text)
2672
+ @version = args[:version] if args.key?(:version)
2131
2673
  end
2132
2674
  end
2133
2675
 
@@ -2204,18 +2746,97 @@ module Google
2204
2746
  end
2205
2747
  end
2206
2748
 
2749
+ # For tracking related features.
2750
+ # An object at time_offset with attributes, and located with
2751
+ # normalized_bounding_box.
2752
+ class GoogleCloudVideointelligenceV1p1beta1TimestampedObject
2753
+ include Google::Apis::Core::Hashable
2754
+
2755
+ # Optional. The attributes of the object in the bounding box.
2756
+ # Corresponds to the JSON property `attributes`
2757
+ # @return [Array<Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p1beta1DetectedAttribute>]
2758
+ attr_accessor :attributes
2759
+
2760
+ # Optional. The detected landmarks.
2761
+ # Corresponds to the JSON property `landmarks`
2762
+ # @return [Array<Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p1beta1DetectedLandmark>]
2763
+ attr_accessor :landmarks
2764
+
2765
+ # Normalized bounding box.
2766
+ # The normalized vertex coordinates are relative to the original image.
2767
+ # Range: [0, 1].
2768
+ # Corresponds to the JSON property `normalizedBoundingBox`
2769
+ # @return [Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p1beta1NormalizedBoundingBox]
2770
+ attr_accessor :normalized_bounding_box
2771
+
2772
+ # Time-offset, relative to the beginning of the video,
2773
+ # corresponding to the video frame for this object.
2774
+ # Corresponds to the JSON property `timeOffset`
2775
+ # @return [String]
2776
+ attr_accessor :time_offset
2777
+
2778
+ def initialize(**args)
2779
+ update!(**args)
2780
+ end
2781
+
2782
+ # Update properties of this object
2783
+ def update!(**args)
2784
+ @attributes = args[:attributes] if args.key?(:attributes)
2785
+ @landmarks = args[:landmarks] if args.key?(:landmarks)
2786
+ @normalized_bounding_box = args[:normalized_bounding_box] if args.key?(:normalized_bounding_box)
2787
+ @time_offset = args[:time_offset] if args.key?(:time_offset)
2788
+ end
2789
+ end
2790
+
2791
+ # A track of an object instance.
2792
+ class GoogleCloudVideointelligenceV1p1beta1Track
2793
+ include Google::Apis::Core::Hashable
2794
+
2795
+ # Optional. Attributes in the track level.
2796
+ # Corresponds to the JSON property `attributes`
2797
+ # @return [Array<Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p1beta1DetectedAttribute>]
2798
+ attr_accessor :attributes
2799
+
2800
+ # Optional. The confidence score of the tracked object.
2801
+ # Corresponds to the JSON property `confidence`
2802
+ # @return [Float]
2803
+ attr_accessor :confidence
2804
+
2805
+ # Video segment.
2806
+ # Corresponds to the JSON property `segment`
2807
+ # @return [Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p1beta1VideoSegment]
2808
+ attr_accessor :segment
2809
+
2810
+ # The object with timestamp and attributes per frame in the track.
2811
+ # Corresponds to the JSON property `timestampedObjects`
2812
+ # @return [Array<Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p1beta1TimestampedObject>]
2813
+ attr_accessor :timestamped_objects
2814
+
2815
+ def initialize(**args)
2816
+ update!(**args)
2817
+ end
2818
+
2819
+ # Update properties of this object
2820
+ def update!(**args)
2821
+ @attributes = args[:attributes] if args.key?(:attributes)
2822
+ @confidence = args[:confidence] if args.key?(:confidence)
2823
+ @segment = args[:segment] if args.key?(:segment)
2824
+ @timestamped_objects = args[:timestamped_objects] if args.key?(:timestamped_objects)
2825
+ end
2826
+ end
2827
+
2207
2828
  # Annotation progress for a single video.
2208
2829
  class GoogleCloudVideointelligenceV1p1beta1VideoAnnotationProgress
2209
2830
  include Google::Apis::Core::Hashable
2210
2831
 
2211
2832
  # Specifies which feature is being tracked if the request contains more than
2212
- # one features.
2833
+ # one feature.
2213
2834
  # Corresponds to the JSON property `feature`
2214
2835
  # @return [String]
2215
2836
  attr_accessor :feature
2216
2837
 
2217
2838
  # Video file location in
2218
- # [Google Cloud Storage](https://cloud.google.com/storage/).
2839
+ # [Cloud Storage](https://cloud.google.com/storage/).
2219
2840
  # Corresponds to the JSON property `inputUri`
2220
2841
  # @return [String]
2221
2842
  attr_accessor :input_uri
@@ -2284,11 +2905,16 @@ module Google
2284
2905
  attr_accessor :frame_label_annotations
2285
2906
 
2286
2907
  # Video file location in
2287
- # [Google Cloud Storage](https://cloud.google.com/storage/).
2908
+ # [Cloud Storage](https://cloud.google.com/storage/).
2288
2909
  # Corresponds to the JSON property `inputUri`
2289
2910
  # @return [String]
2290
2911
  attr_accessor :input_uri
2291
2912
 
2913
+ # Annotations for list of logos detected, tracked and recognized in video.
2914
+ # Corresponds to the JSON property `logoRecognitionAnnotations`
2915
+ # @return [Array<Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p1beta1LogoRecognitionAnnotation>]
2916
+ attr_accessor :logo_recognition_annotations
2917
+
2292
2918
  # Annotations for list of objects detected and tracked in video.
2293
2919
  # Corresponds to the JSON property `objectAnnotations`
2294
2920
  # @return [Array<Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p1beta1ObjectTrackingAnnotation>]
@@ -2299,13 +2925,13 @@ module Google
2299
2925
  # @return [Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p1beta1VideoSegment]
2300
2926
  attr_accessor :segment
2301
2927
 
2302
- # Topical label annotations on video level or user specified segment level.
2928
+ # Topical label annotations on video level or user-specified segment level.
2303
2929
  # There is exactly one element for each unique label.
2304
2930
  # Corresponds to the JSON property `segmentLabelAnnotations`
2305
2931
  # @return [Array<Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p1beta1LabelAnnotation>]
2306
2932
  attr_accessor :segment_label_annotations
2307
2933
 
2308
- # Presence label annotations on video level or user specified segment level.
2934
+ # Presence label annotations on video level or user-specified segment level.
2309
2935
  # There is exactly one element for each unique label. Compared to the
2310
2936
  # existing topical `segment_label_annotations`, this field presents more
2311
2937
  # fine-grained, segment-level labels detected in video content and is made
@@ -2357,6 +2983,7 @@ module Google
2357
2983
  @explicit_annotation = args[:explicit_annotation] if args.key?(:explicit_annotation)
2358
2984
  @frame_label_annotations = args[:frame_label_annotations] if args.key?(:frame_label_annotations)
2359
2985
  @input_uri = args[:input_uri] if args.key?(:input_uri)
2986
+ @logo_recognition_annotations = args[:logo_recognition_annotations] if args.key?(:logo_recognition_annotations)
2360
2987
  @object_annotations = args[:object_annotations] if args.key?(:object_annotations)
2361
2988
  @segment = args[:segment] if args.key?(:segment)
2362
2989
  @segment_label_annotations = args[:segment_label_annotations] if args.key?(:segment_label_annotations)
@@ -2497,11 +3124,78 @@ module Google
2497
3124
  end
2498
3125
  end
2499
3126
 
3127
+ # A generic detected attribute represented by name in string format.
3128
+ class GoogleCloudVideointelligenceV1p2beta1DetectedAttribute
3129
+ include Google::Apis::Core::Hashable
3130
+
3131
+ # Detected attribute confidence. Range [0, 1].
3132
+ # Corresponds to the JSON property `confidence`
3133
+ # @return [Float]
3134
+ attr_accessor :confidence
3135
+
3136
+ # The name of the attribute, for example, glasses, dark_glasses, mouth_open.
3137
+ # A full list of supported type names will be provided in the document.
3138
+ # Corresponds to the JSON property `name`
3139
+ # @return [String]
3140
+ attr_accessor :name
3141
+
3142
+ # Text value of the detection result. For example, the value for "HairColor"
3143
+ # can be "black", "blonde", etc.
3144
+ # Corresponds to the JSON property `value`
3145
+ # @return [String]
3146
+ attr_accessor :value
3147
+
3148
+ def initialize(**args)
3149
+ update!(**args)
3150
+ end
3151
+
3152
+ # Update properties of this object
3153
+ def update!(**args)
3154
+ @confidence = args[:confidence] if args.key?(:confidence)
3155
+ @name = args[:name] if args.key?(:name)
3156
+ @value = args[:value] if args.key?(:value)
3157
+ end
3158
+ end
3159
+
3160
+ # A generic detected landmark represented by name in string format and a 2D
3161
+ # location.
3162
+ class GoogleCloudVideointelligenceV1p2beta1DetectedLandmark
3163
+ include Google::Apis::Core::Hashable
3164
+
3165
+ # The confidence score of the detected landmark. Range [0, 1].
3166
+ # Corresponds to the JSON property `confidence`
3167
+ # @return [Float]
3168
+ attr_accessor :confidence
3169
+
3170
+ # The name of this landmark, for example, left_hand, right_shoulder.
3171
+ # Corresponds to the JSON property `name`
3172
+ # @return [String]
3173
+ attr_accessor :name
3174
+
3175
+ # A vertex represents a 2D point in the image.
3176
+ # NOTE: the normalized vertex coordinates are relative to the original image
3177
+ # and range from 0 to 1.
3178
+ # Corresponds to the JSON property `point`
3179
+ # @return [Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p2beta1NormalizedVertex]
3180
+ attr_accessor :point
3181
+
3182
+ def initialize(**args)
3183
+ update!(**args)
3184
+ end
3185
+
3186
+ # Update properties of this object
3187
+ def update!(**args)
3188
+ @confidence = args[:confidence] if args.key?(:confidence)
3189
+ @name = args[:name] if args.key?(:name)
3190
+ @point = args[:point] if args.key?(:point)
3191
+ end
3192
+ end
3193
+
2500
3194
  # Detected entity from video analysis.
2501
3195
  class GoogleCloudVideointelligenceV1p2beta1Entity
2502
3196
  include Google::Apis::Core::Hashable
2503
3197
 
2504
- # Textual description, e.g. `Fixed-gear bicycle`.
3198
+ # Textual description, e.g., `Fixed-gear bicycle`.
2505
3199
  # Corresponds to the JSON property `description`
2506
3200
  # @return [String]
2507
3201
  attr_accessor :description
@@ -2541,6 +3235,11 @@ module Google
2541
3235
  # @return [Array<Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p2beta1ExplicitContentFrame>]
2542
3236
  attr_accessor :frames
2543
3237
 
3238
+ # Feature version.
3239
+ # Corresponds to the JSON property `version`
3240
+ # @return [String]
3241
+ attr_accessor :version
3242
+
2544
3243
  def initialize(**args)
2545
3244
  update!(**args)
2546
3245
  end
@@ -2548,6 +3247,7 @@ module Google
2548
3247
  # Update properties of this object
2549
3248
  def update!(**args)
2550
3249
  @frames = args[:frames] if args.key?(:frames)
3250
+ @version = args[:version] if args.key?(:version)
2551
3251
  end
2552
3252
  end
2553
3253
 
@@ -2582,9 +3282,9 @@ module Google
2582
3282
  include Google::Apis::Core::Hashable
2583
3283
 
2584
3284
  # Common categories for the detected entity.
2585
- # E.g. when the label is `Terrier` the category is likely `dog`. And in some
2586
- # cases there might be more than one categories e.g. `Terrier` could also be
2587
- # a `pet`.
3285
+ # For example, when the label is `Terrier`, the category is likely `dog`. And
3286
+ # in some cases there might be more than one categories e.g., `Terrier` could
3287
+ # also be a `pet`.
2588
3288
  # Corresponds to the JSON property `categoryEntities`
2589
3289
  # @return [Array<Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p2beta1Entity>]
2590
3290
  attr_accessor :category_entities
@@ -2604,6 +3304,11 @@ module Google
2604
3304
  # @return [Array<Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p2beta1LabelSegment>]
2605
3305
  attr_accessor :segments
2606
3306
 
3307
+ # Feature version.
3308
+ # Corresponds to the JSON property `version`
3309
+ # @return [String]
3310
+ attr_accessor :version
3311
+
2607
3312
  def initialize(**args)
2608
3313
  update!(**args)
2609
3314
  end
@@ -2614,6 +3319,7 @@ module Google
2614
3319
  @entity = args[:entity] if args.key?(:entity)
2615
3320
  @frames = args[:frames] if args.key?(:frames)
2616
3321
  @segments = args[:segments] if args.key?(:segments)
3322
+ @version = args[:version] if args.key?(:version)
2617
3323
  end
2618
3324
  end
2619
3325
 
@@ -2668,6 +3374,39 @@ module Google
2668
3374
  end
2669
3375
  end
2670
3376
 
3377
+ # Annotation corresponding to one detected, tracked and recognized logo class.
3378
+ class GoogleCloudVideointelligenceV1p2beta1LogoRecognitionAnnotation
3379
+ include Google::Apis::Core::Hashable
3380
+
3381
+ # Detected entity from video analysis.
3382
+ # Corresponds to the JSON property `entity`
3383
+ # @return [Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p2beta1Entity]
3384
+ attr_accessor :entity
3385
+
3386
+ # All video segments where the recognized logo appears. There might be
3387
+ # multiple instances of the same logo class appearing in one VideoSegment.
3388
+ # Corresponds to the JSON property `segments`
3389
+ # @return [Array<Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p2beta1VideoSegment>]
3390
+ attr_accessor :segments
3391
+
3392
+ # All logo tracks where the recognized logo appears. Each track corresponds
3393
+ # to one logo instance appearing in consecutive frames.
3394
+ # Corresponds to the JSON property `tracks`
3395
+ # @return [Array<Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p2beta1Track>]
3396
+ attr_accessor :tracks
3397
+
3398
+ def initialize(**args)
3399
+ update!(**args)
3400
+ end
3401
+
3402
+ # Update properties of this object
3403
+ def update!(**args)
3404
+ @entity = args[:entity] if args.key?(:entity)
3405
+ @segments = args[:segments] if args.key?(:segments)
3406
+ @tracks = args[:tracks] if args.key?(:tracks)
3407
+ end
3408
+ end
3409
+
2671
3410
  # Normalized bounding box.
2672
3411
  # The normalized vertex coordinates are relative to the original image.
2673
3412
  # Range: [0, 1].
@@ -2804,6 +3543,11 @@ module Google
2804
3543
  # @return [Fixnum]
2805
3544
  attr_accessor :track_id
2806
3545
 
3546
+ # Feature version.
3547
+ # Corresponds to the JSON property `version`
3548
+ # @return [String]
3549
+ attr_accessor :version
3550
+
2807
3551
  def initialize(**args)
2808
3552
  update!(**args)
2809
3553
  end
@@ -2815,6 +3559,7 @@ module Google
2815
3559
  @frames = args[:frames] if args.key?(:frames)
2816
3560
  @segment = args[:segment] if args.key?(:segment)
2817
3561
  @track_id = args[:track_id] if args.key?(:track_id)
3562
+ @version = args[:version] if args.key?(:version)
2818
3563
  end
2819
3564
  end
2820
3565
 
@@ -2866,8 +3611,8 @@ module Google
2866
3611
  attr_accessor :transcript
2867
3612
 
2868
3613
  # Output only. A list of word-specific information for each recognized word.
2869
- # Note: When `enable_speaker_diarization` is true, you will see all the words
2870
- # from the beginning of the audio.
3614
+ # Note: When `enable_speaker_diarization` is set to true, you will see all
3615
+ # the words from the beginning of the audio.
2871
3616
  # Corresponds to the JSON property `words`
2872
3617
  # @return [Array<Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p2beta1WordInfo>]
2873
3618
  attr_accessor :words
@@ -2896,10 +3641,10 @@ module Google
2896
3641
  # @return [Array<Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p2beta1SpeechRecognitionAlternative>]
2897
3642
  attr_accessor :alternatives
2898
3643
 
2899
- # Output only. The
2900
- # [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag of the
2901
- # language in this result. This language code was detected to have the most
2902
- # likelihood of being spoken in the audio.
3644
+ # Output only. The [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt)
3645
+ # language tag of
3646
+ # the language in this result. This language code was detected to have the
3647
+ # most likelihood of being spoken in the audio.
2903
3648
  # Corresponds to the JSON property `languageCode`
2904
3649
  # @return [String]
2905
3650
  attr_accessor :language_code
@@ -2931,6 +3676,11 @@ module Google
2931
3676
  # @return [String]
2932
3677
  attr_accessor :text
2933
3678
 
3679
+ # Feature version.
3680
+ # Corresponds to the JSON property `version`
3681
+ # @return [String]
3682
+ attr_accessor :version
3683
+
2934
3684
  def initialize(**args)
2935
3685
  update!(**args)
2936
3686
  end
@@ -2939,6 +3689,7 @@ module Google
2939
3689
  def update!(**args)
2940
3690
  @segments = args[:segments] if args.key?(:segments)
2941
3691
  @text = args[:text] if args.key?(:text)
3692
+ @version = args[:version] if args.key?(:version)
2942
3693
  end
2943
3694
  end
2944
3695
 
@@ -3015,18 +3766,97 @@ module Google
3015
3766
  end
3016
3767
  end
3017
3768
 
3769
+ # For tracking related features.
3770
+ # An object at time_offset with attributes, and located with
3771
+ # normalized_bounding_box.
3772
+ class GoogleCloudVideointelligenceV1p2beta1TimestampedObject
3773
+ include Google::Apis::Core::Hashable
3774
+
3775
+ # Optional. The attributes of the object in the bounding box.
3776
+ # Corresponds to the JSON property `attributes`
3777
+ # @return [Array<Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p2beta1DetectedAttribute>]
3778
+ attr_accessor :attributes
3779
+
3780
+ # Optional. The detected landmarks.
3781
+ # Corresponds to the JSON property `landmarks`
3782
+ # @return [Array<Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p2beta1DetectedLandmark>]
3783
+ attr_accessor :landmarks
3784
+
3785
+ # Normalized bounding box.
3786
+ # The normalized vertex coordinates are relative to the original image.
3787
+ # Range: [0, 1].
3788
+ # Corresponds to the JSON property `normalizedBoundingBox`
3789
+ # @return [Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p2beta1NormalizedBoundingBox]
3790
+ attr_accessor :normalized_bounding_box
3791
+
3792
+ # Time-offset, relative to the beginning of the video,
3793
+ # corresponding to the video frame for this object.
3794
+ # Corresponds to the JSON property `timeOffset`
3795
+ # @return [String]
3796
+ attr_accessor :time_offset
3797
+
3798
+ def initialize(**args)
3799
+ update!(**args)
3800
+ end
3801
+
3802
+ # Update properties of this object
3803
+ def update!(**args)
3804
+ @attributes = args[:attributes] if args.key?(:attributes)
3805
+ @landmarks = args[:landmarks] if args.key?(:landmarks)
3806
+ @normalized_bounding_box = args[:normalized_bounding_box] if args.key?(:normalized_bounding_box)
3807
+ @time_offset = args[:time_offset] if args.key?(:time_offset)
3808
+ end
3809
+ end
3810
+
3811
+ # A track of an object instance.
3812
+ class GoogleCloudVideointelligenceV1p2beta1Track
3813
+ include Google::Apis::Core::Hashable
3814
+
3815
+ # Optional. Attributes in the track level.
3816
+ # Corresponds to the JSON property `attributes`
3817
+ # @return [Array<Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p2beta1DetectedAttribute>]
3818
+ attr_accessor :attributes
3819
+
3820
+ # Optional. The confidence score of the tracked object.
3821
+ # Corresponds to the JSON property `confidence`
3822
+ # @return [Float]
3823
+ attr_accessor :confidence
3824
+
3825
+ # Video segment.
3826
+ # Corresponds to the JSON property `segment`
3827
+ # @return [Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p2beta1VideoSegment]
3828
+ attr_accessor :segment
3829
+
3830
+ # The object with timestamp and attributes per frame in the track.
3831
+ # Corresponds to the JSON property `timestampedObjects`
3832
+ # @return [Array<Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p2beta1TimestampedObject>]
3833
+ attr_accessor :timestamped_objects
3834
+
3835
+ def initialize(**args)
3836
+ update!(**args)
3837
+ end
3838
+
3839
+ # Update properties of this object
3840
+ def update!(**args)
3841
+ @attributes = args[:attributes] if args.key?(:attributes)
3842
+ @confidence = args[:confidence] if args.key?(:confidence)
3843
+ @segment = args[:segment] if args.key?(:segment)
3844
+ @timestamped_objects = args[:timestamped_objects] if args.key?(:timestamped_objects)
3845
+ end
3846
+ end
3847
+
3018
3848
  # Annotation progress for a single video.
3019
3849
  class GoogleCloudVideointelligenceV1p2beta1VideoAnnotationProgress
3020
3850
  include Google::Apis::Core::Hashable
3021
3851
 
3022
3852
  # Specifies which feature is being tracked if the request contains more than
3023
- # one features.
3853
+ # one feature.
3024
3854
  # Corresponds to the JSON property `feature`
3025
3855
  # @return [String]
3026
3856
  attr_accessor :feature
3027
3857
 
3028
3858
  # Video file location in
3029
- # [Google Cloud Storage](https://cloud.google.com/storage/).
3859
+ # [Cloud Storage](https://cloud.google.com/storage/).
3030
3860
  # Corresponds to the JSON property `inputUri`
3031
3861
  # @return [String]
3032
3862
  attr_accessor :input_uri
@@ -3095,11 +3925,16 @@ module Google
3095
3925
  attr_accessor :frame_label_annotations
3096
3926
 
3097
3927
  # Video file location in
3098
- # [Google Cloud Storage](https://cloud.google.com/storage/).
3928
+ # [Cloud Storage](https://cloud.google.com/storage/).
3099
3929
  # Corresponds to the JSON property `inputUri`
3100
3930
  # @return [String]
3101
3931
  attr_accessor :input_uri
3102
3932
 
3933
+ # Annotations for list of logos detected, tracked and recognized in video.
3934
+ # Corresponds to the JSON property `logoRecognitionAnnotations`
3935
+ # @return [Array<Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p2beta1LogoRecognitionAnnotation>]
3936
+ attr_accessor :logo_recognition_annotations
3937
+
3103
3938
  # Annotations for list of objects detected and tracked in video.
3104
3939
  # Corresponds to the JSON property `objectAnnotations`
3105
3940
  # @return [Array<Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p2beta1ObjectTrackingAnnotation>]
@@ -3110,13 +3945,13 @@ module Google
3110
3945
  # @return [Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p2beta1VideoSegment]
3111
3946
  attr_accessor :segment
3112
3947
 
3113
- # Topical label annotations on video level or user specified segment level.
3948
+ # Topical label annotations on video level or user-specified segment level.
3114
3949
  # There is exactly one element for each unique label.
3115
3950
  # Corresponds to the JSON property `segmentLabelAnnotations`
3116
3951
  # @return [Array<Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p2beta1LabelAnnotation>]
3117
3952
  attr_accessor :segment_label_annotations
3118
3953
 
3119
- # Presence label annotations on video level or user specified segment level.
3954
+ # Presence label annotations on video level or user-specified segment level.
3120
3955
  # There is exactly one element for each unique label. Compared to the
3121
3956
  # existing topical `segment_label_annotations`, this field presents more
3122
3957
  # fine-grained, segment-level labels detected in video content and is made
@@ -3168,6 +4003,7 @@ module Google
3168
4003
  @explicit_annotation = args[:explicit_annotation] if args.key?(:explicit_annotation)
3169
4004
  @frame_label_annotations = args[:frame_label_annotations] if args.key?(:frame_label_annotations)
3170
4005
  @input_uri = args[:input_uri] if args.key?(:input_uri)
4006
+ @logo_recognition_annotations = args[:logo_recognition_annotations] if args.key?(:logo_recognition_annotations)
3171
4007
  @object_annotations = args[:object_annotations] if args.key?(:object_annotations)
3172
4008
  @segment = args[:segment] if args.key?(:segment)
3173
4009
  @segment_label_annotations = args[:segment_label_annotations] if args.key?(:segment_label_annotations)
@@ -3291,46 +4127,47 @@ module Google
3291
4127
  class GoogleCloudVideointelligenceV1p3beta1AnnotateVideoRequest
3292
4128
  include Google::Apis::Core::Hashable
3293
4129
 
3294
- # Requested video annotation features.
4130
+ # Required. Requested video annotation features.
3295
4131
  # Corresponds to the JSON property `features`
3296
4132
  # @return [Array<String>]
3297
4133
  attr_accessor :features
3298
4134
 
3299
4135
  # The video data bytes.
3300
- # If unset, the input video(s) should be specified via `input_uri`.
3301
- # If set, `input_uri` should be unset.
4136
+ # If unset, the input video(s) should be specified via the `input_uri`.
4137
+ # If set, `input_uri` must be unset.
3302
4138
  # Corresponds to the JSON property `inputContent`
3303
4139
  # NOTE: Values are automatically base64 encoded/decoded in the client library.
3304
4140
  # @return [String]
3305
4141
  attr_accessor :input_content
3306
4142
 
3307
4143
  # Input video location. Currently, only
3308
- # [Google Cloud Storage](https://cloud.google.com/storage/) URIs are
3309
- # supported, which must be specified in the following format:
4144
+ # [Cloud Storage](https://cloud.google.com/storage/) URIs are
4145
+ # supported. URIs must be specified in the following format:
3310
4146
  # `gs://bucket-id/object-id` (other URI formats return
3311
4147
  # google.rpc.Code.INVALID_ARGUMENT). For more information, see
3312
- # [Request URIs](/storage/docs/reference-uris).
3313
- # A video URI may include wildcards in `object-id`, and thus identify
3314
- # multiple videos. Supported wildcards: '*' to match 0 or more characters;
4148
+ # [Request URIs](https://cloud.google.com/storage/docs/request-endpoints).
4149
+ # To identify multiple videos, a video URI may include wildcards in the
4150
+ # `object-id`. Supported wildcards: '*' to match 0 or more characters;
3315
4151
  # '?' to match 1 character. If unset, the input video should be embedded
3316
- # in the request as `input_content`. If set, `input_content` should be unset.
4152
+ # in the request as `input_content`. If set, `input_content` must be unset.
3317
4153
  # Corresponds to the JSON property `inputUri`
3318
4154
  # @return [String]
3319
4155
  attr_accessor :input_uri
3320
4156
 
3321
- # Optional cloud region where annotation should take place. Supported cloud
3322
- # regions: `us-east1`, `us-west1`, `europe-west1`, `asia-east1`. If no region
3323
- # is specified, a region will be determined based on video file location.
4157
+ # Optional. Cloud region where annotation should take place. Supported cloud
4158
+ # regions are: `us-east1`, `us-west1`, `europe-west1`, `asia-east1`. If no
4159
+ # region is specified, the region will be determined based on video file
4160
+ # location.
3324
4161
  # Corresponds to the JSON property `locationId`
3325
4162
  # @return [String]
3326
4163
  attr_accessor :location_id
3327
4164
 
3328
- # Optional location where the output (in JSON format) should be stored.
3329
- # Currently, only [Google Cloud Storage](https://cloud.google.com/storage/)
3330
- # URIs are supported, which must be specified in the following format:
4165
+ # Optional. Location where the output (in JSON format) should be stored.
4166
+ # Currently, only [Cloud Storage](https://cloud.google.com/storage/)
4167
+ # URIs are supported. These must be specified in the following format:
3331
4168
  # `gs://bucket-id/object-id` (other URI formats return
3332
4169
  # google.rpc.Code.INVALID_ARGUMENT). For more information, see
3333
- # [Request URIs](/storage/docs/reference-uris).
4170
+ # [Request URIs](https://cloud.google.com/storage/docs/request-endpoints).
3334
4171
  # Corresponds to the JSON property `outputUri`
3335
4172
  # @return [String]
3336
4173
  attr_accessor :output_uri
@@ -3376,6 +4213,93 @@ module Google
3376
4213
  end
3377
4214
  end
3378
4215
 
4216
+ # Celebrity definition.
4217
+ class GoogleCloudVideointelligenceV1p3beta1Celebrity
4218
+ include Google::Apis::Core::Hashable
4219
+
4220
+ # Textual description of additional information about the celebrity, if
4221
+ # applicable.
4222
+ # Corresponds to the JSON property `description`
4223
+ # @return [String]
4224
+ attr_accessor :description
4225
+
4226
+ # The celebrity name.
4227
+ # Corresponds to the JSON property `displayName`
4228
+ # @return [String]
4229
+ attr_accessor :display_name
4230
+
4231
+ # The resource name of the celebrity. Have the format
4232
+ # `video-intelligence/kg-mid` indicates a celebrity from preloaded gallery.
4233
+ # kg-mid is the id in Google knowledge graph, which is unique for the
4234
+ # celebrity.
4235
+ # Corresponds to the JSON property `name`
4236
+ # @return [String]
4237
+ attr_accessor :name
4238
+
4239
+ def initialize(**args)
4240
+ update!(**args)
4241
+ end
4242
+
4243
+ # Update properties of this object
4244
+ def update!(**args)
4245
+ @description = args[:description] if args.key?(:description)
4246
+ @display_name = args[:display_name] if args.key?(:display_name)
4247
+ @name = args[:name] if args.key?(:name)
4248
+ end
4249
+ end
4250
+
4251
+ # Celebrity recognition annotation per video.
4252
+ class GoogleCloudVideointelligenceV1p3beta1CelebrityRecognitionAnnotation
4253
+ include Google::Apis::Core::Hashable
4254
+
4255
+ # The tracks detected from the input video, including recognized celebrities
4256
+ # and other detected faces in the video.
4257
+ # Corresponds to the JSON property `celebrityTracks`
4258
+ # @return [Array<Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p3beta1CelebrityTrack>]
4259
+ attr_accessor :celebrity_tracks
4260
+
4261
+ # Feature version.
4262
+ # Corresponds to the JSON property `version`
4263
+ # @return [String]
4264
+ attr_accessor :version
4265
+
4266
+ def initialize(**args)
4267
+ update!(**args)
4268
+ end
4269
+
4270
+ # Update properties of this object
4271
+ def update!(**args)
4272
+ @celebrity_tracks = args[:celebrity_tracks] if args.key?(:celebrity_tracks)
4273
+ @version = args[:version] if args.key?(:version)
4274
+ end
4275
+ end
4276
+
4277
+ # The annotation result of a celebrity face track. RecognizedCelebrity field
4278
+ # could be empty if the face track does not have any matched celebrities.
4279
+ class GoogleCloudVideointelligenceV1p3beta1CelebrityTrack
4280
+ include Google::Apis::Core::Hashable
4281
+
4282
+ # Top N match of the celebrities for the face in this track.
4283
+ # Corresponds to the JSON property `celebrities`
4284
+ # @return [Array<Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p3beta1RecognizedCelebrity>]
4285
+ attr_accessor :celebrities
4286
+
4287
+ # A track of an object instance.
4288
+ # Corresponds to the JSON property `faceTrack`
4289
+ # @return [Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p3beta1Track]
4290
+ attr_accessor :face_track
4291
+
4292
+ def initialize(**args)
4293
+ update!(**args)
4294
+ end
4295
+
4296
+ # Update properties of this object
4297
+ def update!(**args)
4298
+ @celebrities = args[:celebrities] if args.key?(:celebrities)
4299
+ @face_track = args[:face_track] if args.key?(:face_track)
4300
+ end
4301
+ end
4302
+
3379
4303
  # A generic detected attribute represented by name in string format.
3380
4304
  class GoogleCloudVideointelligenceV1p3beta1DetectedAttribute
3381
4305
  include Google::Apis::Core::Hashable
@@ -3385,7 +4309,7 @@ module Google
3385
4309
  # @return [Float]
3386
4310
  attr_accessor :confidence
3387
4311
 
3388
- # The name of the attribute, i.e. glasses, dark_glasses, mouth_open etc.
4312
+ # The name of the attribute, for example, glasses, dark_glasses, mouth_open.
3389
4313
  # A full list of supported type names will be provided in the document.
3390
4314
  # Corresponds to the JSON property `name`
3391
4315
  # @return [String]
@@ -3409,11 +4333,45 @@ module Google
3409
4333
  end
3410
4334
  end
3411
4335
 
4336
+ # A generic detected landmark represented by name in string format and a 2D
4337
+ # location.
4338
+ class GoogleCloudVideointelligenceV1p3beta1DetectedLandmark
4339
+ include Google::Apis::Core::Hashable
4340
+
4341
+ # The confidence score of the detected landmark. Range [0, 1].
4342
+ # Corresponds to the JSON property `confidence`
4343
+ # @return [Float]
4344
+ attr_accessor :confidence
4345
+
4346
+ # The name of this landmark, for example, left_hand, right_shoulder.
4347
+ # Corresponds to the JSON property `name`
4348
+ # @return [String]
4349
+ attr_accessor :name
4350
+
4351
+ # A vertex represents a 2D point in the image.
4352
+ # NOTE: the normalized vertex coordinates are relative to the original image
4353
+ # and range from 0 to 1.
4354
+ # Corresponds to the JSON property `point`
4355
+ # @return [Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p3beta1NormalizedVertex]
4356
+ attr_accessor :point
4357
+
4358
+ def initialize(**args)
4359
+ update!(**args)
4360
+ end
4361
+
4362
+ # Update properties of this object
4363
+ def update!(**args)
4364
+ @confidence = args[:confidence] if args.key?(:confidence)
4365
+ @name = args[:name] if args.key?(:name)
4366
+ @point = args[:point] if args.key?(:point)
4367
+ end
4368
+ end
4369
+
3412
4370
  # Detected entity from video analysis.
3413
4371
  class GoogleCloudVideointelligenceV1p3beta1Entity
3414
4372
  include Google::Apis::Core::Hashable
3415
4373
 
3416
- # Textual description, e.g. `Fixed-gear bicycle`.
4374
+ # Textual description, e.g., `Fixed-gear bicycle`.
3417
4375
  # Corresponds to the JSON property `description`
3418
4376
  # @return [String]
3419
4377
  attr_accessor :description
@@ -3453,6 +4411,11 @@ module Google
3453
4411
  # @return [Array<Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p3beta1ExplicitContentFrame>]
3454
4412
  attr_accessor :frames
3455
4413
 
4414
+ # Feature version.
4415
+ # Corresponds to the JSON property `version`
4416
+ # @return [String]
4417
+ attr_accessor :version
4418
+
3456
4419
  def initialize(**args)
3457
4420
  update!(**args)
3458
4421
  end
@@ -3460,6 +4423,7 @@ module Google
3460
4423
  # Update properties of this object
3461
4424
  def update!(**args)
3462
4425
  @frames = args[:frames] if args.key?(:frames)
4426
+ @version = args[:version] if args.key?(:version)
3463
4427
  end
3464
4428
  end
3465
4429
 
@@ -3510,14 +4474,82 @@ module Google
3510
4474
  end
3511
4475
  end
3512
4476
 
4477
+ # Face detection annotation.
4478
+ class GoogleCloudVideointelligenceV1p3beta1FaceDetectionAnnotation
4479
+ include Google::Apis::Core::Hashable
4480
+
4481
+ # The thumbnail of a person's face.
4482
+ # Corresponds to the JSON property `thumbnail`
4483
+ # NOTE: Values are automatically base64 encoded/decoded in the client library.
4484
+ # @return [String]
4485
+ attr_accessor :thumbnail
4486
+
4487
+ # The face tracks with attributes.
4488
+ # Corresponds to the JSON property `tracks`
4489
+ # @return [Array<Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p3beta1Track>]
4490
+ attr_accessor :tracks
4491
+
4492
+ # Feature version.
4493
+ # Corresponds to the JSON property `version`
4494
+ # @return [String]
4495
+ attr_accessor :version
4496
+
4497
+ def initialize(**args)
4498
+ update!(**args)
4499
+ end
4500
+
4501
+ # Update properties of this object
4502
+ def update!(**args)
4503
+ @thumbnail = args[:thumbnail] if args.key?(:thumbnail)
4504
+ @tracks = args[:tracks] if args.key?(:tracks)
4505
+ @version = args[:version] if args.key?(:version)
4506
+ end
4507
+ end
4508
+
4509
+ # Config for FACE_DETECTION.
4510
+ class GoogleCloudVideointelligenceV1p3beta1FaceDetectionConfig
4511
+ include Google::Apis::Core::Hashable
4512
+
4513
+ # Whether to enable face attributes detection, such as glasses, dark_glasses,
4514
+ # mouth_open etc. Ignored if 'include_bounding_boxes' is set to false.
4515
+ # Corresponds to the JSON property `includeAttributes`
4516
+ # @return [Boolean]
4517
+ attr_accessor :include_attributes
4518
+ alias_method :include_attributes?, :include_attributes
4519
+
4520
+ # Whether bounding boxes are included in the face annotation output.
4521
+ # Corresponds to the JSON property `includeBoundingBoxes`
4522
+ # @return [Boolean]
4523
+ attr_accessor :include_bounding_boxes
4524
+ alias_method :include_bounding_boxes?, :include_bounding_boxes
4525
+
4526
+ # Model to use for face detection.
4527
+ # Supported values: "builtin/stable" (the default if unset) and
4528
+ # "builtin/latest".
4529
+ # Corresponds to the JSON property `model`
4530
+ # @return [String]
4531
+ attr_accessor :model
4532
+
4533
+ def initialize(**args)
4534
+ update!(**args)
4535
+ end
4536
+
4537
+ # Update properties of this object
4538
+ def update!(**args)
4539
+ @include_attributes = args[:include_attributes] if args.key?(:include_attributes)
4540
+ @include_bounding_boxes = args[:include_bounding_boxes] if args.key?(:include_bounding_boxes)
4541
+ @model = args[:model] if args.key?(:model)
4542
+ end
4543
+ end
4544
+
3513
4545
  # Label annotation.
3514
4546
  class GoogleCloudVideointelligenceV1p3beta1LabelAnnotation
3515
4547
  include Google::Apis::Core::Hashable
3516
4548
 
3517
4549
  # Common categories for the detected entity.
3518
- # E.g. when the label is `Terrier` the category is likely `dog`. And in some
3519
- # cases there might be more than one categories e.g. `Terrier` could also be
3520
- # a `pet`.
4550
+ # For example, when the label is `Terrier`, the category is likely `dog`. And
4551
+ # in some cases there might be more than one categories e.g., `Terrier` could
4552
+ # also be a `pet`.
3521
4553
  # Corresponds to the JSON property `categoryEntities`
3522
4554
  # @return [Array<Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p3beta1Entity>]
3523
4555
  attr_accessor :category_entities
@@ -3537,6 +4569,11 @@ module Google
3537
4569
  # @return [Array<Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p3beta1LabelSegment>]
3538
4570
  attr_accessor :segments
3539
4571
 
4572
+ # Feature version.
4573
+ # Corresponds to the JSON property `version`
4574
+ # @return [String]
4575
+ attr_accessor :version
4576
+
3540
4577
  def initialize(**args)
3541
4578
  update!(**args)
3542
4579
  end
@@ -3547,6 +4584,7 @@ module Google
3547
4584
  @entity = args[:entity] if args.key?(:entity)
3548
4585
  @frames = args[:frames] if args.key?(:frames)
3549
4586
  @segments = args[:segments] if args.key?(:segments)
4587
+ @version = args[:version] if args.key?(:version)
3550
4588
  end
3551
4589
  end
3552
4590
 
@@ -3558,7 +4596,7 @@ module Google
3558
4596
  # frame-level detection. If not set, it is set to 0.4 by default. The valid
3559
4597
  # range for this threshold is [0.1, 0.9]. Any value set outside of this
3560
4598
  # range will be clipped.
3561
- # Note: for best results please follow the default threshold. We will update
4599
+ # Note: For best results, follow the default threshold. We will update
3562
4600
  # the default threshold everytime when we release a new model.
3563
4601
  # Corresponds to the JSON property `frameConfidenceThreshold`
3564
4602
  # @return [Float]
@@ -3578,19 +4616,19 @@ module Google
3578
4616
  # @return [String]
3579
4617
  attr_accessor :model
3580
4618
 
3581
- # Whether the video has been shot from a stationary (i.e. non-moving) camera.
3582
- # When set to true, might improve detection accuracy for moving objects.
3583
- # Should be used with `SHOT_AND_FRAME_MODE` enabled.
4619
+ # Whether the video has been shot from a stationary (i.e., non-moving)
4620
+ # camera. When set to true, might improve detection accuracy for moving
4621
+ # objects. Should be used with `SHOT_AND_FRAME_MODE` enabled.
3584
4622
  # Corresponds to the JSON property `stationaryCamera`
3585
4623
  # @return [Boolean]
3586
4624
  attr_accessor :stationary_camera
3587
4625
  alias_method :stationary_camera?, :stationary_camera
3588
4626
 
3589
4627
  # The confidence threshold we perform filtering on the labels from
3590
- # video-level and shot-level detections. If not set, it is set to 0.3 by
4628
+ # video-level and shot-level detections. If not set, it's set to 0.3 by
3591
4629
  # default. The valid range for this threshold is [0.1, 0.9]. Any value set
3592
4630
  # outside of this range will be clipped.
3593
- # Note: for best results please follow the default threshold. We will update
4631
+ # Note: For best results, follow the default threshold. We will update
3594
4632
  # the default threshold everytime when we release a new model.
3595
4633
  # Corresponds to the JSON property `videoConfidenceThreshold`
3596
4634
  # @return [Float]
@@ -3830,6 +4868,11 @@ module Google
3830
4868
  # @return [Fixnum]
3831
4869
  attr_accessor :track_id
3832
4870
 
4871
+ # Feature version.
4872
+ # Corresponds to the JSON property `version`
4873
+ # @return [String]
4874
+ attr_accessor :version
4875
+
3833
4876
  def initialize(**args)
3834
4877
  update!(**args)
3835
4878
  end
@@ -3841,6 +4884,7 @@ module Google
3841
4884
  @frames = args[:frames] if args.key?(:frames)
3842
4885
  @segment = args[:segment] if args.key?(:segment)
3843
4886
  @track_id = args[:track_id] if args.key?(:track_id)
4887
+ @version = args[:version] if args.key?(:version)
3844
4888
  end
3845
4889
  end
3846
4890
 
@@ -3893,6 +4937,95 @@ module Google
3893
4937
  end
3894
4938
  end
3895
4939
 
4940
+ # Person detection annotation per video.
4941
+ class GoogleCloudVideointelligenceV1p3beta1PersonDetectionAnnotation
4942
+ include Google::Apis::Core::Hashable
4943
+
4944
+ # The detected tracks of a person.
4945
+ # Corresponds to the JSON property `tracks`
4946
+ # @return [Array<Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p3beta1Track>]
4947
+ attr_accessor :tracks
4948
+
4949
+ # Feature version.
4950
+ # Corresponds to the JSON property `version`
4951
+ # @return [String]
4952
+ attr_accessor :version
4953
+
4954
+ def initialize(**args)
4955
+ update!(**args)
4956
+ end
4957
+
4958
+ # Update properties of this object
4959
+ def update!(**args)
4960
+ @tracks = args[:tracks] if args.key?(:tracks)
4961
+ @version = args[:version] if args.key?(:version)
4962
+ end
4963
+ end
4964
+
4965
+ # Config for PERSON_DETECTION.
4966
+ class GoogleCloudVideointelligenceV1p3beta1PersonDetectionConfig
4967
+ include Google::Apis::Core::Hashable
4968
+
4969
+ # Whether to enable person attributes detection, such as cloth color (black,
4970
+ # blue, etc), type (coat, dress, etc), pattern (plain, floral, etc), hair,
4971
+ # etc.
4972
+ # Ignored if 'include_bounding_boxes' is set to false.
4973
+ # Corresponds to the JSON property `includeAttributes`
4974
+ # @return [Boolean]
4975
+ attr_accessor :include_attributes
4976
+ alias_method :include_attributes?, :include_attributes
4977
+
4978
+ # Whether bounding boxes are included in the person detection annotation
4979
+ # output.
4980
+ # Corresponds to the JSON property `includeBoundingBoxes`
4981
+ # @return [Boolean]
4982
+ attr_accessor :include_bounding_boxes
4983
+ alias_method :include_bounding_boxes?, :include_bounding_boxes
4984
+
4985
+ # Whether to enable pose landmarks detection. Ignored if
4986
+ # 'include_bounding_boxes' is set to false.
4987
+ # Corresponds to the JSON property `includePoseLandmarks`
4988
+ # @return [Boolean]
4989
+ attr_accessor :include_pose_landmarks
4990
+ alias_method :include_pose_landmarks?, :include_pose_landmarks
4991
+
4992
+ def initialize(**args)
4993
+ update!(**args)
4994
+ end
4995
+
4996
+ # Update properties of this object
4997
+ def update!(**args)
4998
+ @include_attributes = args[:include_attributes] if args.key?(:include_attributes)
4999
+ @include_bounding_boxes = args[:include_bounding_boxes] if args.key?(:include_bounding_boxes)
5000
+ @include_pose_landmarks = args[:include_pose_landmarks] if args.key?(:include_pose_landmarks)
5001
+ end
5002
+ end
5003
+
5004
+ # The recognized celebrity with confidence score.
5005
+ class GoogleCloudVideointelligenceV1p3beta1RecognizedCelebrity
5006
+ include Google::Apis::Core::Hashable
5007
+
5008
+ # Celebrity definition.
5009
+ # Corresponds to the JSON property `celebrity`
5010
+ # @return [Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p3beta1Celebrity]
5011
+ attr_accessor :celebrity
5012
+
5013
+ # Recognition confidence. Range [0, 1].
5014
+ # Corresponds to the JSON property `confidence`
5015
+ # @return [Float]
5016
+ attr_accessor :confidence
5017
+
5018
+ def initialize(**args)
5019
+ update!(**args)
5020
+ end
5021
+
5022
+ # Update properties of this object
5023
+ def update!(**args)
5024
+ @celebrity = args[:celebrity] if args.key?(:celebrity)
5025
+ @confidence = args[:confidence] if args.key?(:confidence)
5026
+ end
5027
+ end
5028
+
3896
5029
  # Config for SHOT_CHANGE_DETECTION.
3897
5030
  class GoogleCloudVideointelligenceV1p3beta1ShotChangeDetectionConfig
3898
5031
  include Google::Apis::Core::Hashable
@@ -3919,7 +5052,7 @@ module Google
3919
5052
  class GoogleCloudVideointelligenceV1p3beta1SpeechContext
3920
5053
  include Google::Apis::Core::Hashable
3921
5054
 
3922
- # *Optional* A list of strings containing words and phrases "hints" so that
5055
+ # Optional. A list of strings containing words and phrases "hints" so that
3923
5056
  # the speech recognition is more likely to recognize them. This can be used
3924
5057
  # to improve the accuracy for specific words and phrases, for example, if
3925
5058
  # specific commands are typically spoken by the user. This can also be used
@@ -3959,8 +5092,8 @@ module Google
3959
5092
  attr_accessor :transcript
3960
5093
 
3961
5094
  # Output only. A list of word-specific information for each recognized word.
3962
- # Note: When `enable_speaker_diarization` is true, you will see all the words
3963
- # from the beginning of the audio.
5095
+ # Note: When `enable_speaker_diarization` is set to true, you will see all
5096
+ # the words from the beginning of the audio.
3964
5097
  # Corresponds to the JSON property `words`
3965
5098
  # @return [Array<Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p3beta1WordInfo>]
3966
5099
  attr_accessor :words
@@ -3989,10 +5122,10 @@ module Google
3989
5122
  # @return [Array<Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p3beta1SpeechRecognitionAlternative>]
3990
5123
  attr_accessor :alternatives
3991
5124
 
3992
- # Output only. The
3993
- # [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag of the
3994
- # language in this result. This language code was detected to have the most
3995
- # likelihood of being spoken in the audio.
5125
+ # Output only. The [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt)
5126
+ # language tag of
5127
+ # the language in this result. This language code was detected to have the
5128
+ # most likelihood of being spoken in the audio.
3996
5129
  # Corresponds to the JSON property `languageCode`
3997
5130
  # @return [String]
3998
5131
  attr_accessor :language_code
@@ -4012,21 +5145,21 @@ module Google
4012
5145
  class GoogleCloudVideointelligenceV1p3beta1SpeechTranscriptionConfig
4013
5146
  include Google::Apis::Core::Hashable
4014
5147
 
4015
- # *Optional* For file formats, such as MXF or MKV, supporting multiple audio
5148
+ # Optional. For file formats, such as MXF or MKV, supporting multiple audio
4016
5149
  # tracks, specify up to two tracks. Default: track 0.
4017
5150
  # Corresponds to the JSON property `audioTracks`
4018
5151
  # @return [Array<Fixnum>]
4019
5152
  attr_accessor :audio_tracks
4020
5153
 
4021
- # *Optional*
4022
- # If set, specifies the estimated number of speakers in the conversation.
5154
+ # Optional. If set, specifies the estimated number of speakers in the
5155
+ # conversation.
4023
5156
  # If not set, defaults to '2'.
4024
5157
  # Ignored unless enable_speaker_diarization is set to true.
4025
5158
  # Corresponds to the JSON property `diarizationSpeakerCount`
4026
5159
  # @return [Fixnum]
4027
5160
  attr_accessor :diarization_speaker_count
4028
5161
 
4029
- # *Optional* If 'true', adds punctuation to recognition result hypotheses.
5162
+ # Optional. If 'true', adds punctuation to recognition result hypotheses.
4030
5163
  # This feature is only available in select languages. Setting this for
4031
5164
  # requests in other languages has no effect at all. The default 'false' value
4032
5165
  # does not add punctuation to result hypotheses. NOTE: "This is currently
@@ -4037,11 +5170,11 @@ module Google
4037
5170
  attr_accessor :enable_automatic_punctuation
4038
5171
  alias_method :enable_automatic_punctuation?, :enable_automatic_punctuation
4039
5172
 
4040
- # *Optional* If 'true', enables speaker detection for each recognized word in
5173
+ # Optional. If 'true', enables speaker detection for each recognized word in
4041
5174
  # the top alternative of the recognition result using a speaker_tag provided
4042
5175
  # in the WordInfo.
4043
5176
  # Note: When this is true, we send all the words from the beginning of the
4044
- # audio for the top alternative in every consecutive responses.
5177
+ # audio for the top alternative in every consecutive response.
4045
5178
  # This is done in order to improve our speaker tags as our models learn to
4046
5179
  # identify the speakers in the conversation over time.
4047
5180
  # Corresponds to the JSON property `enableSpeakerDiarization`
@@ -4049,7 +5182,7 @@ module Google
4049
5182
  attr_accessor :enable_speaker_diarization
4050
5183
  alias_method :enable_speaker_diarization?, :enable_speaker_diarization
4051
5184
 
4052
- # *Optional* If `true`, the top result includes a list of words and the
5185
+ # Optional. If `true`, the top result includes a list of words and the
4053
5186
  # confidence for those words. If `false`, no word-level confidence
4054
5187
  # information is returned. The default is `false`.
4055
5188
  # Corresponds to the JSON property `enableWordConfidence`
@@ -4057,7 +5190,7 @@ module Google
4057
5190
  attr_accessor :enable_word_confidence
4058
5191
  alias_method :enable_word_confidence?, :enable_word_confidence
4059
5192
 
4060
- # *Optional* If set to `true`, the server will attempt to filter out
5193
+ # Optional. If set to `true`, the server will attempt to filter out
4061
5194
  # profanities, replacing all but the initial character in each filtered word
4062
5195
  # with asterisks, e.g. "f***". If set to `false` or omitted, profanities
4063
5196
  # won't be filtered out.
@@ -4066,7 +5199,7 @@ module Google
4066
5199
  attr_accessor :filter_profanity
4067
5200
  alias_method :filter_profanity?, :filter_profanity
4068
5201
 
4069
- # *Required* The language of the supplied audio as a
5202
+ # Required. *Required* The language of the supplied audio as a
4070
5203
  # [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag.
4071
5204
  # Example: "en-US".
4072
5205
  # See [Language Support](https://cloud.google.com/speech/docs/languages)
@@ -4075,7 +5208,7 @@ module Google
4075
5208
  # @return [String]
4076
5209
  attr_accessor :language_code
4077
5210
 
4078
- # *Optional* Maximum number of recognition hypotheses to be returned.
5211
+ # Optional. Maximum number of recognition hypotheses to be returned.
4079
5212
  # Specifically, the maximum number of `SpeechRecognitionAlternative` messages
4080
5213
  # within each `SpeechTranscription`. The server may return fewer than
4081
5214
  # `max_alternatives`. Valid values are `0`-`30`. A value of `0` or `1` will
@@ -4084,7 +5217,7 @@ module Google
4084
5217
  # @return [Fixnum]
4085
5218
  attr_accessor :max_alternatives
4086
5219
 
4087
- # *Optional* A means to provide context to assist the speech recognition.
5220
+ # Optional. A means to provide context to assist the speech recognition.
4088
5221
  # Corresponds to the JSON property `speechContexts`
4089
5222
  # @return [Array<Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p3beta1SpeechContext>]
4090
5223
  attr_accessor :speech_contexts
@@ -4119,10 +5252,10 @@ module Google
4119
5252
  # @return [Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p3beta1StreamingVideoAnnotationResults]
4120
5253
  attr_accessor :annotation_results
4121
5254
 
4122
- # GCS URI that stores annotation results of one streaming session.
4123
- # It is a directory that can hold multiple files in JSON format.
4124
- # Example uri format:
4125
- # gs://bucket_id/object_id/cloud_project_name-session_id
5255
+ # Google Cloud Storage(GCS) URI that stores annotation results of one
5256
+ # streaming session in JSON format.
5257
+ # It is the annotation_result_storage_directory
5258
+ # from the request followed by '/cloud_project_number-session_id'.
4126
5259
  # Corresponds to the JSON property `annotationResultsUri`
4127
5260
  # @return [String]
4128
5261
  attr_accessor :annotation_results_uri
@@ -4205,6 +5338,11 @@ module Google
4205
5338
  # @return [String]
4206
5339
  attr_accessor :text
4207
5340
 
5341
+ # Feature version.
5342
+ # Corresponds to the JSON property `version`
5343
+ # @return [String]
5344
+ attr_accessor :version
5345
+
4208
5346
  def initialize(**args)
4209
5347
  update!(**args)
4210
5348
  end
@@ -4213,6 +5351,7 @@ module Google
4213
5351
  def update!(**args)
4214
5352
  @segments = args[:segments] if args.key?(:segments)
4215
5353
  @text = args[:text] if args.key?(:text)
5354
+ @version = args[:version] if args.key?(:version)
4216
5355
  end
4217
5356
  end
4218
5357
 
@@ -4319,8 +5458,7 @@ module Google
4319
5458
  end
4320
5459
  end
4321
5460
 
4322
- # For tracking related features, such as LOGO_RECOGNITION, FACE_DETECTION,
4323
- # CELEBRITY_RECOGNITION, PERSON_DETECTION.
5461
+ # For tracking related features.
4324
5462
  # An object at time_offset with attributes, and located with
4325
5463
  # normalized_bounding_box.
4326
5464
  class GoogleCloudVideointelligenceV1p3beta1TimestampedObject
@@ -4331,6 +5469,11 @@ module Google
4331
5469
  # @return [Array<Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p3beta1DetectedAttribute>]
4332
5470
  attr_accessor :attributes
4333
5471
 
5472
+ # Optional. The detected landmarks.
5473
+ # Corresponds to the JSON property `landmarks`
5474
+ # @return [Array<Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p3beta1DetectedLandmark>]
5475
+ attr_accessor :landmarks
5476
+
4334
5477
  # Normalized bounding box.
4335
5478
  # The normalized vertex coordinates are relative to the original image.
4336
5479
  # Range: [0, 1].
@@ -4351,6 +5494,7 @@ module Google
4351
5494
  # Update properties of this object
4352
5495
  def update!(**args)
4353
5496
  @attributes = args[:attributes] if args.key?(:attributes)
5497
+ @landmarks = args[:landmarks] if args.key?(:landmarks)
4354
5498
  @normalized_bounding_box = args[:normalized_bounding_box] if args.key?(:normalized_bounding_box)
4355
5499
  @time_offset = args[:time_offset] if args.key?(:time_offset)
4356
5500
  end
@@ -4398,13 +5542,13 @@ module Google
4398
5542
  include Google::Apis::Core::Hashable
4399
5543
 
4400
5544
  # Specifies which feature is being tracked if the request contains more than
4401
- # one features.
5545
+ # one feature.
4402
5546
  # Corresponds to the JSON property `feature`
4403
5547
  # @return [String]
4404
5548
  attr_accessor :feature
4405
5549
 
4406
5550
  # Video file location in
4407
- # [Google Cloud Storage](https://cloud.google.com/storage/).
5551
+ # [Cloud Storage](https://cloud.google.com/storage/).
4408
5552
  # Corresponds to the JSON property `inputUri`
4409
5553
  # @return [String]
4410
5554
  attr_accessor :input_uri
@@ -4449,6 +5593,11 @@ module Google
4449
5593
  class GoogleCloudVideointelligenceV1p3beta1VideoAnnotationResults
4450
5594
  include Google::Apis::Core::Hashable
4451
5595
 
5596
+ # Celebrity recognition annotation per video.
5597
+ # Corresponds to the JSON property `celebrityRecognitionAnnotations`
5598
+ # @return [Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p3beta1CelebrityRecognitionAnnotation]
5599
+ attr_accessor :celebrity_recognition_annotations
5600
+
4452
5601
  # The `Status` type defines a logical error model that is suitable for
4453
5602
  # different programming environments, including REST APIs and RPC APIs. It is
4454
5603
  # used by [gRPC](https://github.com/grpc). Each `Status` message contains
@@ -4466,6 +5615,11 @@ module Google
4466
5615
  # @return [Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p3beta1ExplicitContentAnnotation]
4467
5616
  attr_accessor :explicit_annotation
4468
5617
 
5618
+ # Face detection annotations.
5619
+ # Corresponds to the JSON property `faceDetectionAnnotations`
5620
+ # @return [Array<Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p3beta1FaceDetectionAnnotation>]
5621
+ attr_accessor :face_detection_annotations
5622
+
4469
5623
  # Label annotations on frame level.
4470
5624
  # There is exactly one element for each unique label.
4471
5625
  # Corresponds to the JSON property `frameLabelAnnotations`
@@ -4473,7 +5627,7 @@ module Google
4473
5627
  attr_accessor :frame_label_annotations
4474
5628
 
4475
5629
  # Video file location in
4476
- # [Google Cloud Storage](https://cloud.google.com/storage/).
5630
+ # [Cloud Storage](https://cloud.google.com/storage/).
4477
5631
  # Corresponds to the JSON property `inputUri`
4478
5632
  # @return [String]
4479
5633
  attr_accessor :input_uri
@@ -4488,18 +5642,23 @@ module Google
4488
5642
  # @return [Array<Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p3beta1ObjectTrackingAnnotation>]
4489
5643
  attr_accessor :object_annotations
4490
5644
 
5645
+ # Person detection annotations.
5646
+ # Corresponds to the JSON property `personDetectionAnnotations`
5647
+ # @return [Array<Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p3beta1PersonDetectionAnnotation>]
5648
+ attr_accessor :person_detection_annotations
5649
+
4491
5650
  # Video segment.
4492
5651
  # Corresponds to the JSON property `segment`
4493
5652
  # @return [Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p3beta1VideoSegment]
4494
5653
  attr_accessor :segment
4495
5654
 
4496
- # Topical label annotations on video level or user specified segment level.
5655
+ # Topical label annotations on video level or user-specified segment level.
4497
5656
  # There is exactly one element for each unique label.
4498
5657
  # Corresponds to the JSON property `segmentLabelAnnotations`
4499
5658
  # @return [Array<Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p3beta1LabelAnnotation>]
4500
5659
  attr_accessor :segment_label_annotations
4501
5660
 
4502
- # Presence label annotations on video level or user specified segment level.
5661
+ # Presence label annotations on video level or user-specified segment level.
4503
5662
  # There is exactly one element for each unique label. Compared to the
4504
5663
  # existing topical `segment_label_annotations`, this field presents more
4505
5664
  # fine-grained, segment-level labels detected in video content and is made
@@ -4547,12 +5706,15 @@ module Google
4547
5706
 
4548
5707
  # Update properties of this object
4549
5708
  def update!(**args)
5709
+ @celebrity_recognition_annotations = args[:celebrity_recognition_annotations] if args.key?(:celebrity_recognition_annotations)
4550
5710
  @error = args[:error] if args.key?(:error)
4551
5711
  @explicit_annotation = args[:explicit_annotation] if args.key?(:explicit_annotation)
5712
+ @face_detection_annotations = args[:face_detection_annotations] if args.key?(:face_detection_annotations)
4552
5713
  @frame_label_annotations = args[:frame_label_annotations] if args.key?(:frame_label_annotations)
4553
5714
  @input_uri = args[:input_uri] if args.key?(:input_uri)
4554
5715
  @logo_recognition_annotations = args[:logo_recognition_annotations] if args.key?(:logo_recognition_annotations)
4555
5716
  @object_annotations = args[:object_annotations] if args.key?(:object_annotations)
5717
+ @person_detection_annotations = args[:person_detection_annotations] if args.key?(:person_detection_annotations)
4556
5718
  @segment = args[:segment] if args.key?(:segment)
4557
5719
  @segment_label_annotations = args[:segment_label_annotations] if args.key?(:segment_label_annotations)
4558
5720
  @segment_presence_label_annotations = args[:segment_presence_label_annotations] if args.key?(:segment_presence_label_annotations)
@@ -4573,6 +5735,11 @@ module Google
4573
5735
  # @return [Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p3beta1ExplicitContentDetectionConfig]
4574
5736
  attr_accessor :explicit_content_detection_config
4575
5737
 
5738
+ # Config for FACE_DETECTION.
5739
+ # Corresponds to the JSON property `faceDetectionConfig`
5740
+ # @return [Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p3beta1FaceDetectionConfig]
5741
+ attr_accessor :face_detection_config
5742
+
4576
5743
  # Config for LABEL_DETECTION.
4577
5744
  # Corresponds to the JSON property `labelDetectionConfig`
4578
5745
  # @return [Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p3beta1LabelDetectionConfig]
@@ -4583,6 +5750,11 @@ module Google
4583
5750
  # @return [Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p3beta1ObjectTrackingConfig]
4584
5751
  attr_accessor :object_tracking_config
4585
5752
 
5753
+ # Config for PERSON_DETECTION.
5754
+ # Corresponds to the JSON property `personDetectionConfig`
5755
+ # @return [Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p3beta1PersonDetectionConfig]
5756
+ attr_accessor :person_detection_config
5757
+
4586
5758
  # Video segments to annotate. The segments may overlap and are not required
4587
5759
  # to be contiguous or span the whole video. If unspecified, each video is
4588
5760
  # treated as a single segment.
@@ -4612,8 +5784,10 @@ module Google
4612
5784
  # Update properties of this object
4613
5785
  def update!(**args)
4614
5786
  @explicit_content_detection_config = args[:explicit_content_detection_config] if args.key?(:explicit_content_detection_config)
5787
+ @face_detection_config = args[:face_detection_config] if args.key?(:face_detection_config)
4615
5788
  @label_detection_config = args[:label_detection_config] if args.key?(:label_detection_config)
4616
5789
  @object_tracking_config = args[:object_tracking_config] if args.key?(:object_tracking_config)
5790
+ @person_detection_config = args[:person_detection_config] if args.key?(:person_detection_config)
4617
5791
  @segments = args[:segments] if args.key?(:segments)
4618
5792
  @shot_change_detection_config = args[:shot_change_detection_config] if args.key?(:shot_change_detection_config)
4619
5793
  @speech_transcription_config = args[:speech_transcription_config] if args.key?(:speech_transcription_config)