google-api-client 0.30.2 → 0.30.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (230) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +90 -0
  3. data/README.md +17 -1
  4. data/generated/google/apis/accesscontextmanager_v1beta.rb +1 -1
  5. data/generated/google/apis/accesscontextmanager_v1beta/classes.rb +108 -0
  6. data/generated/google/apis/accesscontextmanager_v1beta/representations.rb +48 -0
  7. data/generated/google/apis/adexchangebuyer_v1_3.rb +1 -1
  8. data/generated/google/apis/adexchangebuyer_v1_3/classes.rb +32 -6
  9. data/generated/google/apis/adexchangebuyer_v1_3/representations.rb +16 -1
  10. data/generated/google/apis/adexchangebuyer_v1_4.rb +1 -1
  11. data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +32 -6
  12. data/generated/google/apis/adexchangebuyer_v1_4/representations.rb +16 -1
  13. data/generated/google/apis/analytics_v3.rb +1 -1
  14. data/generated/google/apis/analytics_v3/classes.rb +1 -1
  15. data/generated/google/apis/analytics_v3/service.rb +1 -1
  16. data/generated/google/apis/androidmanagement_v1.rb +1 -1
  17. data/generated/google/apis/androidmanagement_v1/classes.rb +8 -64
  18. data/generated/google/apis/androidpublisher_v1_1.rb +1 -1
  19. data/generated/google/apis/androidpublisher_v1_1/classes.rb +1 -0
  20. data/generated/google/apis/androidpublisher_v2.rb +1 -1
  21. data/generated/google/apis/androidpublisher_v2/classes.rb +6 -4
  22. data/generated/google/apis/androidpublisher_v3.rb +1 -1
  23. data/generated/google/apis/androidpublisher_v3/classes.rb +6 -4
  24. data/generated/google/apis/bigquery_v2.rb +1 -1
  25. data/generated/google/apis/bigquery_v2/classes.rb +243 -5
  26. data/generated/google/apis/bigquery_v2/representations.rb +77 -0
  27. data/generated/google/apis/bigquery_v2/service.rb +206 -0
  28. data/generated/google/apis/bigquerydatatransfer_v1.rb +1 -1
  29. data/generated/google/apis/bigquerydatatransfer_v1/classes.rb +18 -76
  30. data/generated/google/apis/bigquerydatatransfer_v1/representations.rb +1 -0
  31. data/generated/google/apis/bigquerydatatransfer_v1/service.rb +4 -4
  32. data/generated/google/apis/bigtableadmin_v1.rb +1 -1
  33. data/generated/google/apis/bigtableadmin_v1/classes.rb +0 -72
  34. data/generated/google/apis/bigtableadmin_v1/representations.rb +0 -32
  35. data/generated/google/apis/bigtableadmin_v1/service.rb +0 -69
  36. data/generated/google/apis/bigtableadmin_v2.rb +1 -1
  37. data/generated/google/apis/bigtableadmin_v2/classes.rb +72 -0
  38. data/generated/google/apis/bigtableadmin_v2/representations.rb +32 -0
  39. data/generated/google/apis/bigtableadmin_v2/service.rb +69 -0
  40. data/generated/google/apis/cloudasset_v1.rb +1 -1
  41. data/generated/google/apis/cloudasset_v1/classes.rb +9 -75
  42. data/generated/google/apis/cloudasset_v1beta1.rb +1 -1
  43. data/generated/google/apis/cloudasset_v1beta1/classes.rb +9 -75
  44. data/generated/google/apis/cloudfunctions_v1.rb +1 -1
  45. data/generated/google/apis/cloudfunctions_v1/classes.rb +8 -74
  46. data/generated/google/apis/cloudfunctions_v1beta2.rb +1 -1
  47. data/generated/google/apis/cloudfunctions_v1beta2/classes.rb +8 -74
  48. data/generated/google/apis/cloudiot_v1.rb +1 -1
  49. data/generated/google/apis/cloudiot_v1/classes.rb +8 -74
  50. data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
  51. data/generated/google/apis/cloudresourcemanager_v1/classes.rb +4 -8
  52. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
  53. data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +4 -5
  54. data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
  55. data/generated/google/apis/cloudresourcemanager_v2/classes.rb +11 -9
  56. data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
  57. data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +11 -9
  58. data/generated/google/apis/cloudscheduler_v1.rb +1 -1
  59. data/generated/google/apis/cloudscheduler_v1/classes.rb +20 -84
  60. data/generated/google/apis/cloudscheduler_v1beta1.rb +1 -1
  61. data/generated/google/apis/cloudscheduler_v1beta1/classes.rb +20 -84
  62. data/generated/google/apis/cloudsearch_v1.rb +1 -1
  63. data/generated/google/apis/cloudsearch_v1/classes.rb +8 -74
  64. data/generated/google/apis/cloudshell_v1.rb +1 -1
  65. data/generated/google/apis/cloudshell_v1/classes.rb +8 -74
  66. data/generated/google/apis/cloudshell_v1alpha1.rb +1 -1
  67. data/generated/google/apis/cloudshell_v1alpha1/classes.rb +8 -74
  68. data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
  69. data/generated/google/apis/cloudtasks_v2beta2/classes.rb +8 -0
  70. data/generated/google/apis/cloudtrace_v2.rb +1 -1
  71. data/generated/google/apis/cloudtrace_v2/classes.rb +8 -74
  72. data/generated/google/apis/commentanalyzer_v1alpha1.rb +2 -2
  73. data/generated/google/apis/commentanalyzer_v1alpha1/service.rb +1 -1
  74. data/generated/google/apis/composer_v1.rb +1 -1
  75. data/generated/google/apis/composer_v1/classes.rb +8 -74
  76. data/generated/google/apis/composer_v1beta1.rb +1 -1
  77. data/generated/google/apis/composer_v1beta1/classes.rb +8 -74
  78. data/generated/google/apis/compute_alpha.rb +1 -1
  79. data/generated/google/apis/compute_alpha/classes.rb +1991 -700
  80. data/generated/google/apis/compute_alpha/representations.rb +604 -154
  81. data/generated/google/apis/compute_alpha/service.rb +693 -89
  82. data/generated/google/apis/compute_beta.rb +1 -1
  83. data/generated/google/apis/compute_beta/classes.rb +375 -230
  84. data/generated/google/apis/compute_beta/representations.rb +2 -0
  85. data/generated/google/apis/compute_beta/service.rb +92 -6
  86. data/generated/google/apis/compute_v1.rb +1 -1
  87. data/generated/google/apis/compute_v1/classes.rb +1827 -239
  88. data/generated/google/apis/compute_v1/representations.rb +669 -2
  89. data/generated/google/apis/compute_v1/service.rb +1150 -6
  90. data/generated/google/apis/container_v1.rb +1 -1
  91. data/generated/google/apis/container_v1/classes.rb +104 -0
  92. data/generated/google/apis/container_v1/representations.rb +48 -0
  93. data/generated/google/apis/container_v1beta1.rb +1 -1
  94. data/generated/google/apis/container_v1beta1/classes.rb +67 -2
  95. data/generated/google/apis/container_v1beta1/representations.rb +31 -0
  96. data/generated/google/apis/content_v2.rb +1 -1
  97. data/generated/google/apis/content_v2/classes.rb +4 -0
  98. data/generated/google/apis/content_v2_1.rb +1 -1
  99. data/generated/google/apis/content_v2_1/classes.rb +41 -0
  100. data/generated/google/apis/content_v2_1/representations.rb +19 -0
  101. data/generated/google/apis/dataflow_v1b3.rb +1 -1
  102. data/generated/google/apis/dataflow_v1b3/classes.rb +46 -74
  103. data/generated/google/apis/dataflow_v1b3/representations.rb +17 -0
  104. data/generated/google/apis/datafusion_v1beta1.rb +1 -1
  105. data/generated/google/apis/datafusion_v1beta1/classes.rb +8 -74
  106. data/generated/google/apis/dataproc_v1.rb +1 -1
  107. data/generated/google/apis/dataproc_v1/classes.rb +147 -64
  108. data/generated/google/apis/dataproc_v1/representations.rb +42 -0
  109. data/generated/google/apis/dataproc_v1beta2.rb +1 -1
  110. data/generated/google/apis/dataproc_v1beta2/classes.rb +8 -64
  111. data/generated/google/apis/dataproc_v1beta2/service.rb +4 -2
  112. data/generated/google/apis/dialogflow_v2.rb +2 -2
  113. data/generated/google/apis/dialogflow_v2/classes.rb +32 -32
  114. data/generated/google/apis/dialogflow_v2/representations.rb +2 -0
  115. data/generated/google/apis/dialogflow_v2/service.rb +77 -17
  116. data/generated/google/apis/dialogflow_v2beta1.rb +2 -2
  117. data/generated/google/apis/dialogflow_v2beta1/classes.rb +32 -32
  118. data/generated/google/apis/dialogflow_v2beta1/representations.rb +2 -0
  119. data/generated/google/apis/dialogflow_v2beta1/service.rb +79 -19
  120. data/generated/google/apis/dlp_v2.rb +1 -1
  121. data/generated/google/apis/dlp_v2/classes.rb +4 -3
  122. data/generated/google/apis/dns_v1beta2.rb +1 -1
  123. data/generated/google/apis/dns_v1beta2/service.rb +1 -1
  124. data/generated/google/apis/docs_v1.rb +1 -1
  125. data/generated/google/apis/docs_v1/classes.rb +0 -10
  126. data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
  127. data/generated/google/apis/file_v1.rb +1 -1
  128. data/generated/google/apis/file_v1/classes.rb +17 -74
  129. data/generated/google/apis/file_v1/representations.rb +1 -0
  130. data/generated/google/apis/file_v1beta1.rb +1 -1
  131. data/generated/google/apis/file_v1beta1/classes.rb +17 -74
  132. data/generated/google/apis/file_v1beta1/representations.rb +1 -0
  133. data/generated/google/apis/firebase_v1beta1.rb +44 -0
  134. data/generated/google/apis/firebase_v1beta1/classes.rb +1063 -0
  135. data/generated/google/apis/firebase_v1beta1/representations.rb +432 -0
  136. data/generated/google/apis/firebase_v1beta1/service.rb +1105 -0
  137. data/generated/google/apis/healthcare_v1alpha2.rb +1 -1
  138. data/generated/google/apis/healthcare_v1alpha2/service.rb +43 -61
  139. data/generated/google/apis/healthcare_v1beta1.rb +1 -1
  140. data/generated/google/apis/healthcare_v1beta1/service.rb +43 -61
  141. data/generated/google/apis/iam_v1.rb +1 -1
  142. data/generated/google/apis/iam_v1/classes.rb +6 -0
  143. data/generated/google/apis/iam_v1/representations.rb +1 -0
  144. data/generated/google/apis/logging_v2.rb +1 -1
  145. data/generated/google/apis/ml_v1.rb +1 -1
  146. data/generated/google/apis/ml_v1/classes.rb +18 -0
  147. data/generated/google/apis/ml_v1/representations.rb +3 -0
  148. data/generated/google/apis/monitoring_v3.rb +1 -1
  149. data/generated/google/apis/monitoring_v3/classes.rb +1 -1
  150. data/generated/google/apis/people_v1.rb +1 -1
  151. data/generated/google/apis/people_v1/classes.rb +12 -111
  152. data/generated/google/apis/pubsub_v1.rb +1 -1
  153. data/generated/google/apis/pubsub_v1/classes.rb +43 -0
  154. data/generated/google/apis/pubsub_v1/representations.rb +16 -0
  155. data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
  156. data/generated/google/apis/remotebuildexecution_v1/classes.rb +89 -26
  157. data/generated/google/apis/remotebuildexecution_v1/representations.rb +3 -0
  158. data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
  159. data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +89 -26
  160. data/generated/google/apis/remotebuildexecution_v1alpha/representations.rb +3 -0
  161. data/generated/google/apis/remotebuildexecution_v1alpha/service.rb +15 -1
  162. data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
  163. data/generated/google/apis/remotebuildexecution_v2/classes.rb +103 -30
  164. data/generated/google/apis/remotebuildexecution_v2/representations.rb +3 -0
  165. data/generated/google/apis/remotebuildexecution_v2/service.rb +29 -2
  166. data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
  167. data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +0 -1
  168. data/generated/google/apis/servicecontrol_v1.rb +1 -1
  169. data/generated/google/apis/servicecontrol_v1/classes.rb +64 -148
  170. data/generated/google/apis/servicecontrol_v1/representations.rb +17 -0
  171. data/generated/google/apis/servicemanagement_v1.rb +1 -1
  172. data/generated/google/apis/servicemanagement_v1/classes.rb +8 -74
  173. data/generated/google/apis/servicemanagement_v1/service.rb +9 -1
  174. data/generated/google/apis/servicenetworking_v1.rb +1 -1
  175. data/generated/google/apis/servicenetworking_v1/classes.rb +0 -1
  176. data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
  177. data/generated/google/apis/servicenetworking_v1beta/classes.rb +0 -1
  178. data/generated/google/apis/serviceusage_v1.rb +1 -1
  179. data/generated/google/apis/serviceusage_v1/classes.rb +0 -1
  180. data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
  181. data/generated/google/apis/serviceusage_v1beta1/classes.rb +0 -1
  182. data/generated/google/apis/spanner_v1.rb +1 -1
  183. data/generated/google/apis/spanner_v1/classes.rb +12 -111
  184. data/generated/google/apis/speech_v1.rb +1 -1
  185. data/generated/google/apis/speech_v1/classes.rb +13 -74
  186. data/generated/google/apis/speech_v1p1beta1.rb +1 -1
  187. data/generated/google/apis/speech_v1p1beta1/classes.rb +13 -74
  188. data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
  189. data/generated/google/apis/sqladmin_v1beta4/classes.rb +10 -3
  190. data/generated/google/apis/sqladmin_v1beta4/representations.rb +1 -0
  191. data/generated/google/apis/tagmanager_v1.rb +4 -3
  192. data/generated/google/apis/tagmanager_v1/classes.rb +237 -70
  193. data/generated/google/apis/tagmanager_v1/service.rb +223 -374
  194. data/generated/google/apis/tagmanager_v2.rb +4 -3
  195. data/generated/google/apis/tagmanager_v2/classes.rb +221 -208
  196. data/generated/google/apis/tagmanager_v2/representations.rb +1 -16
  197. data/generated/google/apis/tagmanager_v2/service.rb +608 -757
  198. data/generated/google/apis/texttospeech_v1.rb +1 -1
  199. data/generated/google/apis/texttospeech_v1/classes.rb +28 -27
  200. data/generated/google/apis/texttospeech_v1beta1.rb +1 -1
  201. data/generated/google/apis/texttospeech_v1beta1/classes.rb +28 -27
  202. data/generated/google/apis/toolresults_v1beta3.rb +1 -1
  203. data/generated/google/apis/toolresults_v1beta3/classes.rb +35 -0
  204. data/generated/google/apis/toolresults_v1beta3/representations.rb +2 -0
  205. data/generated/google/apis/tpu_v1.rb +1 -1
  206. data/generated/google/apis/tpu_v1/classes.rb +17 -88
  207. data/generated/google/apis/tpu_v1alpha1.rb +1 -1
  208. data/generated/google/apis/tpu_v1alpha1/classes.rb +17 -88
  209. data/generated/google/apis/vault_v1.rb +1 -1
  210. data/generated/google/apis/vault_v1/classes.rb +49 -0
  211. data/generated/google/apis/vault_v1/representations.rb +18 -0
  212. data/generated/google/apis/videointelligence_v1.rb +1 -1
  213. data/generated/google/apis/videointelligence_v1/classes.rb +324 -332
  214. data/generated/google/apis/videointelligence_v1/representations.rb +102 -0
  215. data/generated/google/apis/videointelligence_v1/service.rb +217 -9
  216. data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
  217. data/generated/google/apis/videointelligence_v1beta2/classes.rb +279 -297
  218. data/generated/google/apis/videointelligence_v1beta2/representations.rb +102 -0
  219. data/generated/google/apis/videointelligence_v1p1beta1.rb +1 -1
  220. data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +324 -332
  221. data/generated/google/apis/videointelligence_v1p1beta1/representations.rb +102 -0
  222. data/generated/google/apis/videointelligence_v1p2beta1.rb +1 -1
  223. data/generated/google/apis/videointelligence_v1p2beta1/classes.rb +324 -332
  224. data/generated/google/apis/videointelligence_v1p2beta1/representations.rb +102 -0
  225. data/generated/google/apis/videointelligence_v1p3beta1.rb +1 -1
  226. data/generated/google/apis/videointelligence_v1p3beta1/classes.rb +324 -332
  227. data/generated/google/apis/videointelligence_v1p3beta1/representations.rb +102 -0
  228. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  229. data/lib/google/apis/version.rb +1 -1
  230. metadata +6 -2
@@ -508,6 +508,12 @@ module Google
508
508
  include Google::Apis::Core::JsonObjectSupport
509
509
  end
510
510
 
511
+ class GoogleCloudVideointelligenceV1p2beta1ObjectTrackingConfig
512
+ class Representation < Google::Apis::Core::JsonRepresentation; end
513
+
514
+ include Google::Apis::Core::JsonObjectSupport
515
+ end
516
+
511
517
  class GoogleCloudVideointelligenceV1p2beta1ObjectTrackingFrame
512
518
  class Representation < Google::Apis::Core::JsonRepresentation; end
513
519
 
@@ -610,6 +616,12 @@ module Google
610
616
  include Google::Apis::Core::JsonObjectSupport
611
617
  end
612
618
 
619
+ class GoogleCloudVideointelligenceV1p3beta1DetectedAttribute
620
+ class Representation < Google::Apis::Core::JsonRepresentation; end
621
+
622
+ include Google::Apis::Core::JsonObjectSupport
623
+ end
624
+
613
625
  class GoogleCloudVideointelligenceV1p3beta1Entity
614
626
  class Representation < Google::Apis::Core::JsonRepresentation; end
615
627
 
@@ -646,6 +658,12 @@ module Google
646
658
  include Google::Apis::Core::JsonObjectSupport
647
659
  end
648
660
 
661
+ class GoogleCloudVideointelligenceV1p3beta1LogoRecognitionAnnotation
662
+ class Representation < Google::Apis::Core::JsonRepresentation; end
663
+
664
+ include Google::Apis::Core::JsonObjectSupport
665
+ end
666
+
649
667
  class GoogleCloudVideointelligenceV1p3beta1NormalizedBoundingBox
650
668
  class Representation < Google::Apis::Core::JsonRepresentation; end
651
669
 
@@ -718,6 +736,18 @@ module Google
718
736
  include Google::Apis::Core::JsonObjectSupport
719
737
  end
720
738
 
739
+ class GoogleCloudVideointelligenceV1p3beta1TimestampedObject
740
+ class Representation < Google::Apis::Core::JsonRepresentation; end
741
+
742
+ include Google::Apis::Core::JsonObjectSupport
743
+ end
744
+
745
+ class GoogleCloudVideointelligenceV1p3beta1Track
746
+ class Representation < Google::Apis::Core::JsonRepresentation; end
747
+
748
+ include Google::Apis::Core::JsonObjectSupport
749
+ end
750
+
721
751
  class GoogleCloudVideointelligenceV1p3beta1VideoAnnotationProgress
722
752
  class Representation < Google::Apis::Core::JsonRepresentation; end
723
753
 
@@ -926,8 +956,11 @@ module Google
926
956
  class GoogleCloudVideointelligenceV1VideoAnnotationProgress
927
957
  # @private
928
958
  class Representation < Google::Apis::Core::JsonRepresentation
959
+ property :feature, as: 'feature'
929
960
  property :input_uri, as: 'inputUri'
930
961
  property :progress_percent, as: 'progressPercent'
962
+ property :segment, as: 'segment', class: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1VideoSegment, decorator: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1VideoSegment::Representation
963
+
931
964
  property :start_time, as: 'startTime'
932
965
  property :update_time, as: 'updateTime'
933
966
  end
@@ -1149,8 +1182,11 @@ module Google
1149
1182
  class GoogleCloudVideointelligenceV1beta2VideoAnnotationProgress
1150
1183
  # @private
1151
1184
  class Representation < Google::Apis::Core::JsonRepresentation
1185
+ property :feature, as: 'feature'
1152
1186
  property :input_uri, as: 'inputUri'
1153
1187
  property :progress_percent, as: 'progressPercent'
1188
+ property :segment, as: 'segment', class: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1beta2VideoSegment, decorator: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1beta2VideoSegment::Representation
1189
+
1154
1190
  property :start_time, as: 'startTime'
1155
1191
  property :update_time, as: 'updateTime'
1156
1192
  end
@@ -1372,8 +1408,11 @@ module Google
1372
1408
  class GoogleCloudVideointelligenceV1p1beta1VideoAnnotationProgress
1373
1409
  # @private
1374
1410
  class Representation < Google::Apis::Core::JsonRepresentation
1411
+ property :feature, as: 'feature'
1375
1412
  property :input_uri, as: 'inputUri'
1376
1413
  property :progress_percent, as: 'progressPercent'
1414
+ property :segment, as: 'segment', class: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p1beta1VideoSegment, decorator: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p1beta1VideoSegment::Representation
1415
+
1377
1416
  property :start_time, as: 'startTime'
1378
1417
  property :update_time, as: 'updateTime'
1379
1418
  end
@@ -1566,6 +1605,13 @@ module Google
1566
1605
  end
1567
1606
  end
1568
1607
 
1608
+ class GoogleCloudVideointelligenceV1p2beta1ObjectTrackingConfig
1609
+ # @private
1610
+ class Representation < Google::Apis::Core::JsonRepresentation
1611
+ property :model, as: 'model'
1612
+ end
1613
+ end
1614
+
1569
1615
  class GoogleCloudVideointelligenceV1p2beta1ObjectTrackingFrame
1570
1616
  # @private
1571
1617
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1637,6 +1683,7 @@ module Google
1637
1683
  # @private
1638
1684
  class Representation < Google::Apis::Core::JsonRepresentation
1639
1685
  collection :language_hints, as: 'languageHints'
1686
+ property :model, as: 'model'
1640
1687
  end
1641
1688
  end
1642
1689
 
@@ -1663,8 +1710,11 @@ module Google
1663
1710
  class GoogleCloudVideointelligenceV1p2beta1VideoAnnotationProgress
1664
1711
  # @private
1665
1712
  class Representation < Google::Apis::Core::JsonRepresentation
1713
+ property :feature, as: 'feature'
1666
1714
  property :input_uri, as: 'inputUri'
1667
1715
  property :progress_percent, as: 'progressPercent'
1716
+ property :segment, as: 'segment', class: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p2beta1VideoSegment, decorator: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p2beta1VideoSegment::Representation
1717
+
1668
1718
  property :start_time, as: 'startTime'
1669
1719
  property :update_time, as: 'updateTime'
1670
1720
  end
@@ -1702,6 +1752,8 @@ module Google
1702
1752
 
1703
1753
  property :label_detection_config, as: 'labelDetectionConfig', class: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p2beta1LabelDetectionConfig, decorator: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p2beta1LabelDetectionConfig::Representation
1704
1754
 
1755
+ property :object_tracking_config, as: 'objectTrackingConfig', class: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p2beta1ObjectTrackingConfig, decorator: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p2beta1ObjectTrackingConfig::Representation
1756
+
1705
1757
  collection :segments, as: 'segments', class: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p2beta1VideoSegment, decorator: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p2beta1VideoSegment::Representation
1706
1758
 
1707
1759
  property :shot_change_detection_config, as: 'shotChangeDetectionConfig', class: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p2beta1ShotChangeDetectionConfig, decorator: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p2beta1ShotChangeDetectionConfig::Representation
@@ -1748,6 +1800,15 @@ module Google
1748
1800
  end
1749
1801
  end
1750
1802
 
1803
+ class GoogleCloudVideointelligenceV1p3beta1DetectedAttribute
1804
+ # @private
1805
+ class Representation < Google::Apis::Core::JsonRepresentation
1806
+ property :confidence, as: 'confidence'
1807
+ property :name, as: 'name'
1808
+ property :value, as: 'value'
1809
+ end
1810
+ end
1811
+
1751
1812
  class GoogleCloudVideointelligenceV1p3beta1Entity
1752
1813
  # @private
1753
1814
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1804,6 +1865,18 @@ module Google
1804
1865
  end
1805
1866
  end
1806
1867
 
1868
+ class GoogleCloudVideointelligenceV1p3beta1LogoRecognitionAnnotation
1869
+ # @private
1870
+ class Representation < Google::Apis::Core::JsonRepresentation
1871
+ property :entity, as: 'entity', class: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p3beta1Entity, decorator: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p3beta1Entity::Representation
1872
+
1873
+ collection :segments, as: 'segments', class: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p3beta1VideoSegment, decorator: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p3beta1VideoSegment::Representation
1874
+
1875
+ collection :tracks, as: 'tracks', class: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p3beta1Track, decorator: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p3beta1Track::Representation
1876
+
1877
+ end
1878
+ end
1879
+
1807
1880
  class GoogleCloudVideointelligenceV1p3beta1NormalizedBoundingBox
1808
1881
  # @private
1809
1882
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1926,11 +1999,38 @@ module Google
1926
1999
  end
1927
2000
  end
1928
2001
 
2002
+ class GoogleCloudVideointelligenceV1p3beta1TimestampedObject
2003
+ # @private
2004
+ class Representation < Google::Apis::Core::JsonRepresentation
2005
+ collection :attributes, as: 'attributes', class: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p3beta1DetectedAttribute, decorator: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p3beta1DetectedAttribute::Representation
2006
+
2007
+ property :normalized_bounding_box, as: 'normalizedBoundingBox', class: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p3beta1NormalizedBoundingBox, decorator: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p3beta1NormalizedBoundingBox::Representation
2008
+
2009
+ property :time_offset, as: 'timeOffset'
2010
+ end
2011
+ end
2012
+
2013
+ class GoogleCloudVideointelligenceV1p3beta1Track
2014
+ # @private
2015
+ class Representation < Google::Apis::Core::JsonRepresentation
2016
+ collection :attributes, as: 'attributes', class: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p3beta1DetectedAttribute, decorator: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p3beta1DetectedAttribute::Representation
2017
+
2018
+ property :confidence, as: 'confidence'
2019
+ property :segment, as: 'segment', class: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p3beta1VideoSegment, decorator: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p3beta1VideoSegment::Representation
2020
+
2021
+ collection :timestamped_objects, as: 'timestampedObjects', class: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p3beta1TimestampedObject, decorator: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p3beta1TimestampedObject::Representation
2022
+
2023
+ end
2024
+ end
2025
+
1929
2026
  class GoogleCloudVideointelligenceV1p3beta1VideoAnnotationProgress
1930
2027
  # @private
1931
2028
  class Representation < Google::Apis::Core::JsonRepresentation
2029
+ property :feature, as: 'feature'
1932
2030
  property :input_uri, as: 'inputUri'
1933
2031
  property :progress_percent, as: 'progressPercent'
2032
+ property :segment, as: 'segment', class: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p3beta1VideoSegment, decorator: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p3beta1VideoSegment::Representation
2033
+
1934
2034
  property :start_time, as: 'startTime'
1935
2035
  property :update_time, as: 'updateTime'
1936
2036
  end
@@ -1946,6 +2046,8 @@ module Google
1946
2046
  collection :frame_label_annotations, as: 'frameLabelAnnotations', class: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p3beta1LabelAnnotation, decorator: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p3beta1LabelAnnotation::Representation
1947
2047
 
1948
2048
  property :input_uri, as: 'inputUri'
2049
+ collection :logo_recognition_annotations, as: 'logoRecognitionAnnotations', class: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p3beta1LogoRecognitionAnnotation, decorator: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p3beta1LogoRecognitionAnnotation::Representation
2050
+
1949
2051
  collection :object_annotations, as: 'objectAnnotations', class: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p3beta1ObjectTrackingAnnotation, decorator: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p3beta1ObjectTrackingAnnotation::Representation
1950
2052
 
1951
2053
  collection :segment_label_annotations, as: 'segmentLabelAnnotations', class: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p3beta1LabelAnnotation, decorator: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p3beta1LabelAnnotation::Representation
@@ -27,7 +27,7 @@ module Google
27
27
  # @see https://cloud.google.com/video-intelligence/docs/
28
28
  module VideointelligenceV1p3beta1
29
29
  VERSION = 'V1p3beta1'
30
- REVISION = '20190308'
30
+ REVISION = '20190618'
31
31
 
32
32
  # View and manage your data across Google Cloud Platform services
33
33
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
@@ -417,11 +417,11 @@ module Google
417
417
  class GoogleCloudVideointelligenceV1SpeechRecognitionAlternative
418
418
  include Google::Apis::Core::Hashable
419
419
 
420
- # The confidence estimate between 0.0 and 1.0. A higher number
420
+ # Output only. The confidence estimate between 0.0 and 1.0. A higher number
421
421
  # indicates an estimated greater likelihood that the recognized words are
422
- # correct. This field is typically provided only for the top hypothesis, and
423
- # only for `is_final=true` results. Clients should not rely on the
424
- # `confidence` field as it is not guaranteed to be accurate or consistent.
422
+ # correct. This field is set only for the top alternative.
423
+ # This field is not guaranteed to be accurate and users should not rely on it
424
+ # to be always provided.
425
425
  # The default of 0.0 is a sentinel value indicating `confidence` was not set.
426
426
  # Corresponds to the JSON property `confidence`
427
427
  # @return [Float]
@@ -432,7 +432,9 @@ module Google
432
432
  # @return [String]
433
433
  attr_accessor :transcript
434
434
 
435
- # A list of word-specific information for each recognized word.
435
+ # 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.
436
438
  # Corresponds to the JSON property `words`
437
439
  # @return [Array<Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1WordInfo>]
438
440
  attr_accessor :words
@@ -584,6 +586,12 @@ module Google
584
586
  class GoogleCloudVideointelligenceV1VideoAnnotationProgress
585
587
  include Google::Apis::Core::Hashable
586
588
 
589
+ # Specifies which feature is being tracked if the request contains more than
590
+ # one features.
591
+ # Corresponds to the JSON property `feature`
592
+ # @return [String]
593
+ attr_accessor :feature
594
+
587
595
  # Video file location in
588
596
  # [Google Cloud Storage](https://cloud.google.com/storage/).
589
597
  # Corresponds to the JSON property `inputUri`
@@ -596,6 +604,11 @@ module Google
596
604
  # @return [Fixnum]
597
605
  attr_accessor :progress_percent
598
606
 
607
+ # Video segment.
608
+ # Corresponds to the JSON property `segment`
609
+ # @return [Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1VideoSegment]
610
+ attr_accessor :segment
611
+
599
612
  # Time when the request was received.
600
613
  # Corresponds to the JSON property `startTime`
601
614
  # @return [String]
@@ -612,8 +625,10 @@ module Google
612
625
 
613
626
  # Update properties of this object
614
627
  def update!(**args)
628
+ @feature = args[:feature] if args.key?(:feature)
615
629
  @input_uri = args[:input_uri] if args.key?(:input_uri)
616
630
  @progress_percent = args[:progress_percent] if args.key?(:progress_percent)
631
+ @segment = args[:segment] if args.key?(:segment)
617
632
  @start_time = args[:start_time] if args.key?(:start_time)
618
633
  @update_time = args[:update_time] if args.key?(:update_time)
619
634
  end
@@ -625,43 +640,10 @@ module Google
625
640
 
626
641
  # The `Status` type defines a logical error model that is suitable for
627
642
  # different programming environments, including REST APIs and RPC APIs. It is
628
- # used by [gRPC](https://github.com/grpc). The error model is designed to be:
629
- # - Simple to use and understand for most users
630
- # - Flexible enough to meet unexpected needs
631
- # # Overview
632
- # The `Status` message contains three pieces of data: error code, error
633
- # message, and error details. The error code should be an enum value of
634
- # google.rpc.Code, but it may accept additional error codes if needed. The
635
- # error message should be a developer-facing English message that helps
636
- # developers *understand* and *resolve* the error. If a localized user-facing
637
- # error message is needed, put the localized message in the error details or
638
- # localize it in the client. The optional error details may contain arbitrary
639
- # information about the error. There is a predefined set of error detail types
640
- # in the package `google.rpc` that can be used for common error conditions.
641
- # # Language mapping
642
- # The `Status` message is the logical representation of the error model, but it
643
- # is not necessarily the actual wire format. When the `Status` message is
644
- # exposed in different client libraries and different wire protocols, it can be
645
- # mapped differently. For example, it will likely be mapped to some exceptions
646
- # in Java, but more likely mapped to some error codes in C.
647
- # # Other uses
648
- # The error model and the `Status` message can be used in a variety of
649
- # environments, either with or without APIs, to provide a
650
- # consistent developer experience across different environments.
651
- # Example uses of this error model include:
652
- # - Partial errors. If a service needs to return partial errors to the client,
653
- # it may embed the `Status` in the normal response to indicate the partial
654
- # errors.
655
- # - Workflow errors. A typical workflow has multiple steps. Each step may
656
- # have a `Status` message for error reporting.
657
- # - Batch operations. If a client uses batch request and batch response, the
658
- # `Status` message should be used directly inside batch response, one for
659
- # each error sub-response.
660
- # - Asynchronous operations. If an API call embeds asynchronous operation
661
- # results in its response, the status of those operations should be
662
- # represented directly using the `Status` message.
663
- # - Logging. If some API errors are stored in logs, the message `Status` could
664
- # be used directly after any stripping needed for security/privacy reasons.
643
+ # used by [gRPC](https://github.com/grpc). Each `Status` message contains
644
+ # three pieces of data: error code, error message, and error details.
645
+ # You can find out more about this error model and how to work with it in the
646
+ # [API Design Guide](https://cloud.google.com/apis/design/errors).
665
647
  # Corresponds to the JSON property `error`
666
648
  # @return [Google::Apis::VideointelligenceV1p3beta1::GoogleRpcStatus]
667
649
  attr_accessor :error
@@ -690,7 +672,7 @@ module Google
690
672
  # @return [Array<Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1ObjectTrackingAnnotation>]
691
673
  attr_accessor :object_annotations
692
674
 
693
- # Label annotations on video level or user specified segment level.
675
+ # Topical label annotations on video level or user specified segment level.
694
676
  # There is exactly one element for each unique label.
695
677
  # Corresponds to the JSON property `segmentLabelAnnotations`
696
678
  # @return [Array<Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1LabelAnnotation>]
@@ -701,7 +683,7 @@ module Google
701
683
  # @return [Array<Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1VideoSegment>]
702
684
  attr_accessor :shot_annotations
703
685
 
704
- # Label annotations on shot level.
686
+ # Topical label annotations on shot level.
705
687
  # There is exactly one element for each unique label.
706
688
  # Corresponds to the JSON property `shotLabelAnnotations`
707
689
  # @return [Array<Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1LabelAnnotation>]
@@ -1219,11 +1201,11 @@ module Google
1219
1201
  class GoogleCloudVideointelligenceV1beta2SpeechRecognitionAlternative
1220
1202
  include Google::Apis::Core::Hashable
1221
1203
 
1222
- # The confidence estimate between 0.0 and 1.0. A higher number
1204
+ # Output only. The confidence estimate between 0.0 and 1.0. A higher number
1223
1205
  # indicates an estimated greater likelihood that the recognized words are
1224
- # correct. This field is typically provided only for the top hypothesis, and
1225
- # only for `is_final=true` results. Clients should not rely on the
1226
- # `confidence` field as it is not guaranteed to be accurate or consistent.
1206
+ # correct. This field is set only for the top alternative.
1207
+ # This field is not guaranteed to be accurate and users should not rely on it
1208
+ # to be always provided.
1227
1209
  # The default of 0.0 is a sentinel value indicating `confidence` was not set.
1228
1210
  # Corresponds to the JSON property `confidence`
1229
1211
  # @return [Float]
@@ -1234,7 +1216,9 @@ module Google
1234
1216
  # @return [String]
1235
1217
  attr_accessor :transcript
1236
1218
 
1237
- # A list of word-specific information for each recognized word.
1219
+ # Output only. A list of word-specific information for each recognized word.
1220
+ # Note: When `enable_speaker_diarization` is true, you will see all the words
1221
+ # from the beginning of the audio.
1238
1222
  # Corresponds to the JSON property `words`
1239
1223
  # @return [Array<Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1beta2WordInfo>]
1240
1224
  attr_accessor :words
@@ -1386,6 +1370,12 @@ module Google
1386
1370
  class GoogleCloudVideointelligenceV1beta2VideoAnnotationProgress
1387
1371
  include Google::Apis::Core::Hashable
1388
1372
 
1373
+ # Specifies which feature is being tracked if the request contains more than
1374
+ # one features.
1375
+ # Corresponds to the JSON property `feature`
1376
+ # @return [String]
1377
+ attr_accessor :feature
1378
+
1389
1379
  # Video file location in
1390
1380
  # [Google Cloud Storage](https://cloud.google.com/storage/).
1391
1381
  # Corresponds to the JSON property `inputUri`
@@ -1398,6 +1388,11 @@ module Google
1398
1388
  # @return [Fixnum]
1399
1389
  attr_accessor :progress_percent
1400
1390
 
1391
+ # Video segment.
1392
+ # Corresponds to the JSON property `segment`
1393
+ # @return [Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1beta2VideoSegment]
1394
+ attr_accessor :segment
1395
+
1401
1396
  # Time when the request was received.
1402
1397
  # Corresponds to the JSON property `startTime`
1403
1398
  # @return [String]
@@ -1414,8 +1409,10 @@ module Google
1414
1409
 
1415
1410
  # Update properties of this object
1416
1411
  def update!(**args)
1412
+ @feature = args[:feature] if args.key?(:feature)
1417
1413
  @input_uri = args[:input_uri] if args.key?(:input_uri)
1418
1414
  @progress_percent = args[:progress_percent] if args.key?(:progress_percent)
1415
+ @segment = args[:segment] if args.key?(:segment)
1419
1416
  @start_time = args[:start_time] if args.key?(:start_time)
1420
1417
  @update_time = args[:update_time] if args.key?(:update_time)
1421
1418
  end
@@ -1427,43 +1424,10 @@ module Google
1427
1424
 
1428
1425
  # The `Status` type defines a logical error model that is suitable for
1429
1426
  # different programming environments, including REST APIs and RPC APIs. It is
1430
- # used by [gRPC](https://github.com/grpc). The error model is designed to be:
1431
- # - Simple to use and understand for most users
1432
- # - Flexible enough to meet unexpected needs
1433
- # # Overview
1434
- # The `Status` message contains three pieces of data: error code, error
1435
- # message, and error details. The error code should be an enum value of
1436
- # google.rpc.Code, but it may accept additional error codes if needed. The
1437
- # error message should be a developer-facing English message that helps
1438
- # developers *understand* and *resolve* the error. If a localized user-facing
1439
- # error message is needed, put the localized message in the error details or
1440
- # localize it in the client. The optional error details may contain arbitrary
1441
- # information about the error. There is a predefined set of error detail types
1442
- # in the package `google.rpc` that can be used for common error conditions.
1443
- # # Language mapping
1444
- # The `Status` message is the logical representation of the error model, but it
1445
- # is not necessarily the actual wire format. When the `Status` message is
1446
- # exposed in different client libraries and different wire protocols, it can be
1447
- # mapped differently. For example, it will likely be mapped to some exceptions
1448
- # in Java, but more likely mapped to some error codes in C.
1449
- # # Other uses
1450
- # The error model and the `Status` message can be used in a variety of
1451
- # environments, either with or without APIs, to provide a
1452
- # consistent developer experience across different environments.
1453
- # Example uses of this error model include:
1454
- # - Partial errors. If a service needs to return partial errors to the client,
1455
- # it may embed the `Status` in the normal response to indicate the partial
1456
- # errors.
1457
- # - Workflow errors. A typical workflow has multiple steps. Each step may
1458
- # have a `Status` message for error reporting.
1459
- # - Batch operations. If a client uses batch request and batch response, the
1460
- # `Status` message should be used directly inside batch response, one for
1461
- # each error sub-response.
1462
- # - Asynchronous operations. If an API call embeds asynchronous operation
1463
- # results in its response, the status of those operations should be
1464
- # represented directly using the `Status` message.
1465
- # - Logging. If some API errors are stored in logs, the message `Status` could
1466
- # be used directly after any stripping needed for security/privacy reasons.
1427
+ # used by [gRPC](https://github.com/grpc). Each `Status` message contains
1428
+ # three pieces of data: error code, error message, and error details.
1429
+ # You can find out more about this error model and how to work with it in the
1430
+ # [API Design Guide](https://cloud.google.com/apis/design/errors).
1467
1431
  # Corresponds to the JSON property `error`
1468
1432
  # @return [Google::Apis::VideointelligenceV1p3beta1::GoogleRpcStatus]
1469
1433
  attr_accessor :error
@@ -1492,7 +1456,7 @@ module Google
1492
1456
  # @return [Array<Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1beta2ObjectTrackingAnnotation>]
1493
1457
  attr_accessor :object_annotations
1494
1458
 
1495
- # Label annotations on video level or user specified segment level.
1459
+ # Topical label annotations on video level or user specified segment level.
1496
1460
  # There is exactly one element for each unique label.
1497
1461
  # Corresponds to the JSON property `segmentLabelAnnotations`
1498
1462
  # @return [Array<Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1beta2LabelAnnotation>]
@@ -1503,7 +1467,7 @@ module Google
1503
1467
  # @return [Array<Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1beta2VideoSegment>]
1504
1468
  attr_accessor :shot_annotations
1505
1469
 
1506
- # Label annotations on shot level.
1470
+ # Topical label annotations on shot level.
1507
1471
  # There is exactly one element for each unique label.
1508
1472
  # Corresponds to the JSON property `shotLabelAnnotations`
1509
1473
  # @return [Array<Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1beta2LabelAnnotation>]
@@ -2021,11 +1985,11 @@ module Google
2021
1985
  class GoogleCloudVideointelligenceV1p1beta1SpeechRecognitionAlternative
2022
1986
  include Google::Apis::Core::Hashable
2023
1987
 
2024
- # The confidence estimate between 0.0 and 1.0. A higher number
1988
+ # Output only. The confidence estimate between 0.0 and 1.0. A higher number
2025
1989
  # indicates an estimated greater likelihood that the recognized words are
2026
- # correct. This field is typically provided only for the top hypothesis, and
2027
- # only for `is_final=true` results. Clients should not rely on the
2028
- # `confidence` field as it is not guaranteed to be accurate or consistent.
1990
+ # correct. This field is set only for the top alternative.
1991
+ # This field is not guaranteed to be accurate and users should not rely on it
1992
+ # to be always provided.
2029
1993
  # The default of 0.0 is a sentinel value indicating `confidence` was not set.
2030
1994
  # Corresponds to the JSON property `confidence`
2031
1995
  # @return [Float]
@@ -2036,7 +2000,9 @@ module Google
2036
2000
  # @return [String]
2037
2001
  attr_accessor :transcript
2038
2002
 
2039
- # A list of word-specific information for each recognized word.
2003
+ # Output only. A list of word-specific information for each recognized word.
2004
+ # Note: When `enable_speaker_diarization` is true, you will see all the words
2005
+ # from the beginning of the audio.
2040
2006
  # Corresponds to the JSON property `words`
2041
2007
  # @return [Array<Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p1beta1WordInfo>]
2042
2008
  attr_accessor :words
@@ -2188,6 +2154,12 @@ module Google
2188
2154
  class GoogleCloudVideointelligenceV1p1beta1VideoAnnotationProgress
2189
2155
  include Google::Apis::Core::Hashable
2190
2156
 
2157
+ # Specifies which feature is being tracked if the request contains more than
2158
+ # one features.
2159
+ # Corresponds to the JSON property `feature`
2160
+ # @return [String]
2161
+ attr_accessor :feature
2162
+
2191
2163
  # Video file location in
2192
2164
  # [Google Cloud Storage](https://cloud.google.com/storage/).
2193
2165
  # Corresponds to the JSON property `inputUri`
@@ -2200,6 +2172,11 @@ module Google
2200
2172
  # @return [Fixnum]
2201
2173
  attr_accessor :progress_percent
2202
2174
 
2175
+ # Video segment.
2176
+ # Corresponds to the JSON property `segment`
2177
+ # @return [Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p1beta1VideoSegment]
2178
+ attr_accessor :segment
2179
+
2203
2180
  # Time when the request was received.
2204
2181
  # Corresponds to the JSON property `startTime`
2205
2182
  # @return [String]
@@ -2216,8 +2193,10 @@ module Google
2216
2193
 
2217
2194
  # Update properties of this object
2218
2195
  def update!(**args)
2196
+ @feature = args[:feature] if args.key?(:feature)
2219
2197
  @input_uri = args[:input_uri] if args.key?(:input_uri)
2220
2198
  @progress_percent = args[:progress_percent] if args.key?(:progress_percent)
2199
+ @segment = args[:segment] if args.key?(:segment)
2221
2200
  @start_time = args[:start_time] if args.key?(:start_time)
2222
2201
  @update_time = args[:update_time] if args.key?(:update_time)
2223
2202
  end
@@ -2229,43 +2208,10 @@ module Google
2229
2208
 
2230
2209
  # The `Status` type defines a logical error model that is suitable for
2231
2210
  # different programming environments, including REST APIs and RPC APIs. It is
2232
- # used by [gRPC](https://github.com/grpc). The error model is designed to be:
2233
- # - Simple to use and understand for most users
2234
- # - Flexible enough to meet unexpected needs
2235
- # # Overview
2236
- # The `Status` message contains three pieces of data: error code, error
2237
- # message, and error details. The error code should be an enum value of
2238
- # google.rpc.Code, but it may accept additional error codes if needed. The
2239
- # error message should be a developer-facing English message that helps
2240
- # developers *understand* and *resolve* the error. If a localized user-facing
2241
- # error message is needed, put the localized message in the error details or
2242
- # localize it in the client. The optional error details may contain arbitrary
2243
- # information about the error. There is a predefined set of error detail types
2244
- # in the package `google.rpc` that can be used for common error conditions.
2245
- # # Language mapping
2246
- # The `Status` message is the logical representation of the error model, but it
2247
- # is not necessarily the actual wire format. When the `Status` message is
2248
- # exposed in different client libraries and different wire protocols, it can be
2249
- # mapped differently. For example, it will likely be mapped to some exceptions
2250
- # in Java, but more likely mapped to some error codes in C.
2251
- # # Other uses
2252
- # The error model and the `Status` message can be used in a variety of
2253
- # environments, either with or without APIs, to provide a
2254
- # consistent developer experience across different environments.
2255
- # Example uses of this error model include:
2256
- # - Partial errors. If a service needs to return partial errors to the client,
2257
- # it may embed the `Status` in the normal response to indicate the partial
2258
- # errors.
2259
- # - Workflow errors. A typical workflow has multiple steps. Each step may
2260
- # have a `Status` message for error reporting.
2261
- # - Batch operations. If a client uses batch request and batch response, the
2262
- # `Status` message should be used directly inside batch response, one for
2263
- # each error sub-response.
2264
- # - Asynchronous operations. If an API call embeds asynchronous operation
2265
- # results in its response, the status of those operations should be
2266
- # represented directly using the `Status` message.
2267
- # - Logging. If some API errors are stored in logs, the message `Status` could
2268
- # be used directly after any stripping needed for security/privacy reasons.
2211
+ # used by [gRPC](https://github.com/grpc). Each `Status` message contains
2212
+ # three pieces of data: error code, error message, and error details.
2213
+ # You can find out more about this error model and how to work with it in the
2214
+ # [API Design Guide](https://cloud.google.com/apis/design/errors).
2269
2215
  # Corresponds to the JSON property `error`
2270
2216
  # @return [Google::Apis::VideointelligenceV1p3beta1::GoogleRpcStatus]
2271
2217
  attr_accessor :error
@@ -2294,7 +2240,7 @@ module Google
2294
2240
  # @return [Array<Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p1beta1ObjectTrackingAnnotation>]
2295
2241
  attr_accessor :object_annotations
2296
2242
 
2297
- # Label annotations on video level or user specified segment level.
2243
+ # Topical label annotations on video level or user specified segment level.
2298
2244
  # There is exactly one element for each unique label.
2299
2245
  # Corresponds to the JSON property `segmentLabelAnnotations`
2300
2246
  # @return [Array<Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p1beta1LabelAnnotation>]
@@ -2305,7 +2251,7 @@ module Google
2305
2251
  # @return [Array<Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p1beta1VideoSegment>]
2306
2252
  attr_accessor :shot_annotations
2307
2253
 
2308
- # Label annotations on shot level.
2254
+ # Topical label annotations on shot level.
2309
2255
  # There is exactly one element for each unique label.
2310
2256
  # Corresponds to the JSON property `shotLabelAnnotations`
2311
2257
  # @return [Array<Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p1beta1LabelAnnotation>]
@@ -2823,11 +2769,11 @@ module Google
2823
2769
  class GoogleCloudVideointelligenceV1p2beta1SpeechRecognitionAlternative
2824
2770
  include Google::Apis::Core::Hashable
2825
2771
 
2826
- # The confidence estimate between 0.0 and 1.0. A higher number
2772
+ # Output only. The confidence estimate between 0.0 and 1.0. A higher number
2827
2773
  # indicates an estimated greater likelihood that the recognized words are
2828
- # correct. This field is typically provided only for the top hypothesis, and
2829
- # only for `is_final=true` results. Clients should not rely on the
2830
- # `confidence` field as it is not guaranteed to be accurate or consistent.
2774
+ # correct. This field is set only for the top alternative.
2775
+ # This field is not guaranteed to be accurate and users should not rely on it
2776
+ # to be always provided.
2831
2777
  # The default of 0.0 is a sentinel value indicating `confidence` was not set.
2832
2778
  # Corresponds to the JSON property `confidence`
2833
2779
  # @return [Float]
@@ -2838,7 +2784,9 @@ module Google
2838
2784
  # @return [String]
2839
2785
  attr_accessor :transcript
2840
2786
 
2841
- # A list of word-specific information for each recognized word.
2787
+ # Output only. A list of word-specific information for each recognized word.
2788
+ # Note: When `enable_speaker_diarization` is true, you will see all the words
2789
+ # from the beginning of the audio.
2842
2790
  # Corresponds to the JSON property `words`
2843
2791
  # @return [Array<Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p2beta1WordInfo>]
2844
2792
  attr_accessor :words
@@ -2990,6 +2938,12 @@ module Google
2990
2938
  class GoogleCloudVideointelligenceV1p2beta1VideoAnnotationProgress
2991
2939
  include Google::Apis::Core::Hashable
2992
2940
 
2941
+ # Specifies which feature is being tracked if the request contains more than
2942
+ # one features.
2943
+ # Corresponds to the JSON property `feature`
2944
+ # @return [String]
2945
+ attr_accessor :feature
2946
+
2993
2947
  # Video file location in
2994
2948
  # [Google Cloud Storage](https://cloud.google.com/storage/).
2995
2949
  # Corresponds to the JSON property `inputUri`
@@ -3002,6 +2956,11 @@ module Google
3002
2956
  # @return [Fixnum]
3003
2957
  attr_accessor :progress_percent
3004
2958
 
2959
+ # Video segment.
2960
+ # Corresponds to the JSON property `segment`
2961
+ # @return [Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p2beta1VideoSegment]
2962
+ attr_accessor :segment
2963
+
3005
2964
  # Time when the request was received.
3006
2965
  # Corresponds to the JSON property `startTime`
3007
2966
  # @return [String]
@@ -3018,8 +2977,10 @@ module Google
3018
2977
 
3019
2978
  # Update properties of this object
3020
2979
  def update!(**args)
2980
+ @feature = args[:feature] if args.key?(:feature)
3021
2981
  @input_uri = args[:input_uri] if args.key?(:input_uri)
3022
2982
  @progress_percent = args[:progress_percent] if args.key?(:progress_percent)
2983
+ @segment = args[:segment] if args.key?(:segment)
3023
2984
  @start_time = args[:start_time] if args.key?(:start_time)
3024
2985
  @update_time = args[:update_time] if args.key?(:update_time)
3025
2986
  end
@@ -3031,43 +2992,10 @@ module Google
3031
2992
 
3032
2993
  # The `Status` type defines a logical error model that is suitable for
3033
2994
  # different programming environments, including REST APIs and RPC APIs. It is
3034
- # used by [gRPC](https://github.com/grpc). The error model is designed to be:
3035
- # - Simple to use and understand for most users
3036
- # - Flexible enough to meet unexpected needs
3037
- # # Overview
3038
- # The `Status` message contains three pieces of data: error code, error
3039
- # message, and error details. The error code should be an enum value of
3040
- # google.rpc.Code, but it may accept additional error codes if needed. The
3041
- # error message should be a developer-facing English message that helps
3042
- # developers *understand* and *resolve* the error. If a localized user-facing
3043
- # error message is needed, put the localized message in the error details or
3044
- # localize it in the client. The optional error details may contain arbitrary
3045
- # information about the error. There is a predefined set of error detail types
3046
- # in the package `google.rpc` that can be used for common error conditions.
3047
- # # Language mapping
3048
- # The `Status` message is the logical representation of the error model, but it
3049
- # is not necessarily the actual wire format. When the `Status` message is
3050
- # exposed in different client libraries and different wire protocols, it can be
3051
- # mapped differently. For example, it will likely be mapped to some exceptions
3052
- # in Java, but more likely mapped to some error codes in C.
3053
- # # Other uses
3054
- # The error model and the `Status` message can be used in a variety of
3055
- # environments, either with or without APIs, to provide a
3056
- # consistent developer experience across different environments.
3057
- # Example uses of this error model include:
3058
- # - Partial errors. If a service needs to return partial errors to the client,
3059
- # it may embed the `Status` in the normal response to indicate the partial
3060
- # errors.
3061
- # - Workflow errors. A typical workflow has multiple steps. Each step may
3062
- # have a `Status` message for error reporting.
3063
- # - Batch operations. If a client uses batch request and batch response, the
3064
- # `Status` message should be used directly inside batch response, one for
3065
- # each error sub-response.
3066
- # - Asynchronous operations. If an API call embeds asynchronous operation
3067
- # results in its response, the status of those operations should be
3068
- # represented directly using the `Status` message.
3069
- # - Logging. If some API errors are stored in logs, the message `Status` could
3070
- # be used directly after any stripping needed for security/privacy reasons.
2995
+ # used by [gRPC](https://github.com/grpc). Each `Status` message contains
2996
+ # three pieces of data: error code, error message, and error details.
2997
+ # You can find out more about this error model and how to work with it in the
2998
+ # [API Design Guide](https://cloud.google.com/apis/design/errors).
3071
2999
  # Corresponds to the JSON property `error`
3072
3000
  # @return [Google::Apis::VideointelligenceV1p3beta1::GoogleRpcStatus]
3073
3001
  attr_accessor :error
@@ -3096,7 +3024,7 @@ module Google
3096
3024
  # @return [Array<Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p2beta1ObjectTrackingAnnotation>]
3097
3025
  attr_accessor :object_annotations
3098
3026
 
3099
- # Label annotations on video level or user specified segment level.
3027
+ # Topical label annotations on video level or user specified segment level.
3100
3028
  # There is exactly one element for each unique label.
3101
3029
  # Corresponds to the JSON property `segmentLabelAnnotations`
3102
3030
  # @return [Array<Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p2beta1LabelAnnotation>]
@@ -3107,7 +3035,7 @@ module Google
3107
3035
  # @return [Array<Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p2beta1VideoSegment>]
3108
3036
  attr_accessor :shot_annotations
3109
3037
 
3110
- # Label annotations on shot level.
3038
+ # Topical label annotations on shot level.
3111
3039
  # There is exactly one element for each unique label.
3112
3040
  # Corresponds to the JSON property `shotLabelAnnotations`
3113
3041
  # @return [Array<Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p2beta1LabelAnnotation>]
@@ -3340,6 +3268,39 @@ module Google
3340
3268
  end
3341
3269
  end
3342
3270
 
3271
+ # A generic detected attribute represented by name in string format.
3272
+ class GoogleCloudVideointelligenceV1p3beta1DetectedAttribute
3273
+ include Google::Apis::Core::Hashable
3274
+
3275
+ # Detected attribute confidence. Range [0, 1].
3276
+ # Corresponds to the JSON property `confidence`
3277
+ # @return [Float]
3278
+ attr_accessor :confidence
3279
+
3280
+ # The name of the attribute, i.e. glasses, dark_glasses, mouth_open etc.
3281
+ # A full list of supported type names will be provided in the document.
3282
+ # Corresponds to the JSON property `name`
3283
+ # @return [String]
3284
+ attr_accessor :name
3285
+
3286
+ # Text value of the detection result. For example, the value for "HairColor"
3287
+ # can be "black", "blonde", etc.
3288
+ # Corresponds to the JSON property `value`
3289
+ # @return [String]
3290
+ attr_accessor :value
3291
+
3292
+ def initialize(**args)
3293
+ update!(**args)
3294
+ end
3295
+
3296
+ # Update properties of this object
3297
+ def update!(**args)
3298
+ @confidence = args[:confidence] if args.key?(:confidence)
3299
+ @name = args[:name] if args.key?(:name)
3300
+ @value = args[:value] if args.key?(:value)
3301
+ end
3302
+ end
3303
+
3343
3304
  # Detected entity from video analysis.
3344
3305
  class GoogleCloudVideointelligenceV1p3beta1Entity
3345
3306
  include Google::Apis::Core::Hashable
@@ -3592,6 +3553,39 @@ module Google
3592
3553
  end
3593
3554
  end
3594
3555
 
3556
+ # Annotation corresponding to one detected, tracked and recognized logo class.
3557
+ class GoogleCloudVideointelligenceV1p3beta1LogoRecognitionAnnotation
3558
+ include Google::Apis::Core::Hashable
3559
+
3560
+ # Detected entity from video analysis.
3561
+ # Corresponds to the JSON property `entity`
3562
+ # @return [Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p3beta1Entity]
3563
+ attr_accessor :entity
3564
+
3565
+ # All video segments where the recognized logo appears. There might be
3566
+ # multiple instances of the same logo class appearing in one VideoSegment.
3567
+ # Corresponds to the JSON property `segments`
3568
+ # @return [Array<Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p3beta1VideoSegment>]
3569
+ attr_accessor :segments
3570
+
3571
+ # All logo tracks where the recognized logo appears. Each track corresponds
3572
+ # to one logo instance appearing in consecutive frames.
3573
+ # Corresponds to the JSON property `tracks`
3574
+ # @return [Array<Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p3beta1Track>]
3575
+ attr_accessor :tracks
3576
+
3577
+ def initialize(**args)
3578
+ update!(**args)
3579
+ end
3580
+
3581
+ # Update properties of this object
3582
+ def update!(**args)
3583
+ @entity = args[:entity] if args.key?(:entity)
3584
+ @segments = args[:segments] if args.key?(:segments)
3585
+ @tracks = args[:tracks] if args.key?(:tracks)
3586
+ end
3587
+ end
3588
+
3595
3589
  # Normalized bounding box.
3596
3590
  # The normalized vertex coordinates are relative to the original image.
3597
3591
  # Range: [0, 1].
@@ -3742,6 +3736,27 @@ module Google
3742
3736
  end
3743
3737
  end
3744
3738
 
3739
+ # Config for OBJECT_TRACKING.
3740
+ class GoogleCloudVideointelligenceV1p3beta1ObjectTrackingConfig
3741
+ include Google::Apis::Core::Hashable
3742
+
3743
+ # Model to use for object tracking.
3744
+ # Supported values: "builtin/stable" (the default if unset) and
3745
+ # "builtin/latest".
3746
+ # Corresponds to the JSON property `model`
3747
+ # @return [String]
3748
+ attr_accessor :model
3749
+
3750
+ def initialize(**args)
3751
+ update!(**args)
3752
+ end
3753
+
3754
+ # Update properties of this object
3755
+ def update!(**args)
3756
+ @model = args[:model] if args.key?(:model)
3757
+ end
3758
+ end
3759
+
3745
3760
  # Video frame level annotations for object detection and tracking. This field
3746
3761
  # stores per frame location, time offset, and confidence.
3747
3762
  class GoogleCloudVideointelligenceV1p3beta1ObjectTrackingFrame
@@ -3820,11 +3835,11 @@ module Google
3820
3835
  class GoogleCloudVideointelligenceV1p3beta1SpeechRecognitionAlternative
3821
3836
  include Google::Apis::Core::Hashable
3822
3837
 
3823
- # The confidence estimate between 0.0 and 1.0. A higher number
3838
+ # Output only. The confidence estimate between 0.0 and 1.0. A higher number
3824
3839
  # indicates an estimated greater likelihood that the recognized words are
3825
- # correct. This field is typically provided only for the top hypothesis, and
3826
- # only for `is_final=true` results. Clients should not rely on the
3827
- # `confidence` field as it is not guaranteed to be accurate or consistent.
3840
+ # correct. This field is set only for the top alternative.
3841
+ # This field is not guaranteed to be accurate and users should not rely on it
3842
+ # to be always provided.
3828
3843
  # The default of 0.0 is a sentinel value indicating `confidence` was not set.
3829
3844
  # Corresponds to the JSON property `confidence`
3830
3845
  # @return [Float]
@@ -3835,7 +3850,9 @@ module Google
3835
3850
  # @return [String]
3836
3851
  attr_accessor :transcript
3837
3852
 
3838
- # A list of word-specific information for each recognized word.
3853
+ # Output only. A list of word-specific information for each recognized word.
3854
+ # Note: When `enable_speaker_diarization` is true, you will see all the words
3855
+ # from the beginning of the audio.
3839
3856
  # Corresponds to the JSON property `words`
3840
3857
  # @return [Array<Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p3beta1WordInfo>]
3841
3858
  attr_accessor :words
@@ -4004,43 +4021,10 @@ module Google
4004
4021
 
4005
4022
  # The `Status` type defines a logical error model that is suitable for
4006
4023
  # different programming environments, including REST APIs and RPC APIs. It is
4007
- # used by [gRPC](https://github.com/grpc). The error model is designed to be:
4008
- # - Simple to use and understand for most users
4009
- # - Flexible enough to meet unexpected needs
4010
- # # Overview
4011
- # The `Status` message contains three pieces of data: error code, error
4012
- # message, and error details. The error code should be an enum value of
4013
- # google.rpc.Code, but it may accept additional error codes if needed. The
4014
- # error message should be a developer-facing English message that helps
4015
- # developers *understand* and *resolve* the error. If a localized user-facing
4016
- # error message is needed, put the localized message in the error details or
4017
- # localize it in the client. The optional error details may contain arbitrary
4018
- # information about the error. There is a predefined set of error detail types
4019
- # in the package `google.rpc` that can be used for common error conditions.
4020
- # # Language mapping
4021
- # The `Status` message is the logical representation of the error model, but it
4022
- # is not necessarily the actual wire format. When the `Status` message is
4023
- # exposed in different client libraries and different wire protocols, it can be
4024
- # mapped differently. For example, it will likely be mapped to some exceptions
4025
- # in Java, but more likely mapped to some error codes in C.
4026
- # # Other uses
4027
- # The error model and the `Status` message can be used in a variety of
4028
- # environments, either with or without APIs, to provide a
4029
- # consistent developer experience across different environments.
4030
- # Example uses of this error model include:
4031
- # - Partial errors. If a service needs to return partial errors to the client,
4032
- # it may embed the `Status` in the normal response to indicate the partial
4033
- # errors.
4034
- # - Workflow errors. A typical workflow has multiple steps. Each step may
4035
- # have a `Status` message for error reporting.
4036
- # - Batch operations. If a client uses batch request and batch response, the
4037
- # `Status` message should be used directly inside batch response, one for
4038
- # each error sub-response.
4039
- # - Asynchronous operations. If an API call embeds asynchronous operation
4040
- # results in its response, the status of those operations should be
4041
- # represented directly using the `Status` message.
4042
- # - Logging. If some API errors are stored in logs, the message `Status` could
4043
- # be used directly after any stripping needed for security/privacy reasons.
4024
+ # used by [gRPC](https://github.com/grpc). Each `Status` message contains
4025
+ # three pieces of data: error code, error message, and error details.
4026
+ # You can find out more about this error model and how to work with it in the
4027
+ # [API Design Guide](https://cloud.google.com/apis/design/errors).
4044
4028
  # Corresponds to the JSON property `error`
4045
4029
  # @return [Google::Apis::VideointelligenceV1p3beta1::GoogleRpcStatus]
4046
4030
  attr_accessor :error
@@ -4136,6 +4120,13 @@ module Google
4136
4120
  # @return [Array<String>]
4137
4121
  attr_accessor :language_hints
4138
4122
 
4123
+ # Model to use for text detection.
4124
+ # Supported values: "builtin/stable" (the default if unset) and
4125
+ # "builtin/latest".
4126
+ # Corresponds to the JSON property `model`
4127
+ # @return [String]
4128
+ attr_accessor :model
4129
+
4139
4130
  def initialize(**args)
4140
4131
  update!(**args)
4141
4132
  end
@@ -4143,6 +4134,7 @@ module Google
4143
4134
  # Update properties of this object
4144
4135
  def update!(**args)
4145
4136
  @language_hints = args[:language_hints] if args.key?(:language_hints)
4137
+ @model = args[:model] if args.key?(:model)
4146
4138
  end
4147
4139
  end
4148
4140
 
@@ -4219,10 +4211,90 @@ module Google
4219
4211
  end
4220
4212
  end
4221
4213
 
4214
+ # For tracking related features, such as LOGO_RECOGNITION, FACE_DETECTION,
4215
+ # CELEBRITY_RECOGNITION, PERSON_DETECTION.
4216
+ # An object at time_offset with attributes, and located with
4217
+ # normalized_bounding_box.
4218
+ class GoogleCloudVideointelligenceV1p3beta1TimestampedObject
4219
+ include Google::Apis::Core::Hashable
4220
+
4221
+ # Optional. The attributes of the object in the bounding box.
4222
+ # Corresponds to the JSON property `attributes`
4223
+ # @return [Array<Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p3beta1DetectedAttribute>]
4224
+ attr_accessor :attributes
4225
+
4226
+ # Normalized bounding box.
4227
+ # The normalized vertex coordinates are relative to the original image.
4228
+ # Range: [0, 1].
4229
+ # Corresponds to the JSON property `normalizedBoundingBox`
4230
+ # @return [Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p3beta1NormalizedBoundingBox]
4231
+ attr_accessor :normalized_bounding_box
4232
+
4233
+ # Time-offset, relative to the beginning of the video,
4234
+ # corresponding to the video frame for this object.
4235
+ # Corresponds to the JSON property `timeOffset`
4236
+ # @return [String]
4237
+ attr_accessor :time_offset
4238
+
4239
+ def initialize(**args)
4240
+ update!(**args)
4241
+ end
4242
+
4243
+ # Update properties of this object
4244
+ def update!(**args)
4245
+ @attributes = args[:attributes] if args.key?(:attributes)
4246
+ @normalized_bounding_box = args[:normalized_bounding_box] if args.key?(:normalized_bounding_box)
4247
+ @time_offset = args[:time_offset] if args.key?(:time_offset)
4248
+ end
4249
+ end
4250
+
4251
+ # A track of an object instance.
4252
+ class GoogleCloudVideointelligenceV1p3beta1Track
4253
+ include Google::Apis::Core::Hashable
4254
+
4255
+ # Optional. Attributes in the track level.
4256
+ # Corresponds to the JSON property `attributes`
4257
+ # @return [Array<Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p3beta1DetectedAttribute>]
4258
+ attr_accessor :attributes
4259
+
4260
+ # Optional. The confidence score of the tracked object.
4261
+ # Corresponds to the JSON property `confidence`
4262
+ # @return [Float]
4263
+ attr_accessor :confidence
4264
+
4265
+ # Video segment.
4266
+ # Corresponds to the JSON property `segment`
4267
+ # @return [Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p3beta1VideoSegment]
4268
+ attr_accessor :segment
4269
+
4270
+ # The object with timestamp and attributes per frame in the track.
4271
+ # Corresponds to the JSON property `timestampedObjects`
4272
+ # @return [Array<Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p3beta1TimestampedObject>]
4273
+ attr_accessor :timestamped_objects
4274
+
4275
+ def initialize(**args)
4276
+ update!(**args)
4277
+ end
4278
+
4279
+ # Update properties of this object
4280
+ def update!(**args)
4281
+ @attributes = args[:attributes] if args.key?(:attributes)
4282
+ @confidence = args[:confidence] if args.key?(:confidence)
4283
+ @segment = args[:segment] if args.key?(:segment)
4284
+ @timestamped_objects = args[:timestamped_objects] if args.key?(:timestamped_objects)
4285
+ end
4286
+ end
4287
+
4222
4288
  # Annotation progress for a single video.
4223
4289
  class GoogleCloudVideointelligenceV1p3beta1VideoAnnotationProgress
4224
4290
  include Google::Apis::Core::Hashable
4225
4291
 
4292
+ # Specifies which feature is being tracked if the request contains more than
4293
+ # one features.
4294
+ # Corresponds to the JSON property `feature`
4295
+ # @return [String]
4296
+ attr_accessor :feature
4297
+
4226
4298
  # Video file location in
4227
4299
  # [Google Cloud Storage](https://cloud.google.com/storage/).
4228
4300
  # Corresponds to the JSON property `inputUri`
@@ -4235,6 +4307,11 @@ module Google
4235
4307
  # @return [Fixnum]
4236
4308
  attr_accessor :progress_percent
4237
4309
 
4310
+ # Video segment.
4311
+ # Corresponds to the JSON property `segment`
4312
+ # @return [Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p3beta1VideoSegment]
4313
+ attr_accessor :segment
4314
+
4238
4315
  # Time when the request was received.
4239
4316
  # Corresponds to the JSON property `startTime`
4240
4317
  # @return [String]
@@ -4251,8 +4328,10 @@ module Google
4251
4328
 
4252
4329
  # Update properties of this object
4253
4330
  def update!(**args)
4331
+ @feature = args[:feature] if args.key?(:feature)
4254
4332
  @input_uri = args[:input_uri] if args.key?(:input_uri)
4255
4333
  @progress_percent = args[:progress_percent] if args.key?(:progress_percent)
4334
+ @segment = args[:segment] if args.key?(:segment)
4256
4335
  @start_time = args[:start_time] if args.key?(:start_time)
4257
4336
  @update_time = args[:update_time] if args.key?(:update_time)
4258
4337
  end
@@ -4264,43 +4343,10 @@ module Google
4264
4343
 
4265
4344
  # The `Status` type defines a logical error model that is suitable for
4266
4345
  # different programming environments, including REST APIs and RPC APIs. It is
4267
- # used by [gRPC](https://github.com/grpc). The error model is designed to be:
4268
- # - Simple to use and understand for most users
4269
- # - Flexible enough to meet unexpected needs
4270
- # # Overview
4271
- # The `Status` message contains three pieces of data: error code, error
4272
- # message, and error details. The error code should be an enum value of
4273
- # google.rpc.Code, but it may accept additional error codes if needed. The
4274
- # error message should be a developer-facing English message that helps
4275
- # developers *understand* and *resolve* the error. If a localized user-facing
4276
- # error message is needed, put the localized message in the error details or
4277
- # localize it in the client. The optional error details may contain arbitrary
4278
- # information about the error. There is a predefined set of error detail types
4279
- # in the package `google.rpc` that can be used for common error conditions.
4280
- # # Language mapping
4281
- # The `Status` message is the logical representation of the error model, but it
4282
- # is not necessarily the actual wire format. When the `Status` message is
4283
- # exposed in different client libraries and different wire protocols, it can be
4284
- # mapped differently. For example, it will likely be mapped to some exceptions
4285
- # in Java, but more likely mapped to some error codes in C.
4286
- # # Other uses
4287
- # The error model and the `Status` message can be used in a variety of
4288
- # environments, either with or without APIs, to provide a
4289
- # consistent developer experience across different environments.
4290
- # Example uses of this error model include:
4291
- # - Partial errors. If a service needs to return partial errors to the client,
4292
- # it may embed the `Status` in the normal response to indicate the partial
4293
- # errors.
4294
- # - Workflow errors. A typical workflow has multiple steps. Each step may
4295
- # have a `Status` message for error reporting.
4296
- # - Batch operations. If a client uses batch request and batch response, the
4297
- # `Status` message should be used directly inside batch response, one for
4298
- # each error sub-response.
4299
- # - Asynchronous operations. If an API call embeds asynchronous operation
4300
- # results in its response, the status of those operations should be
4301
- # represented directly using the `Status` message.
4302
- # - Logging. If some API errors are stored in logs, the message `Status` could
4303
- # be used directly after any stripping needed for security/privacy reasons.
4346
+ # used by [gRPC](https://github.com/grpc). Each `Status` message contains
4347
+ # three pieces of data: error code, error message, and error details.
4348
+ # You can find out more about this error model and how to work with it in the
4349
+ # [API Design Guide](https://cloud.google.com/apis/design/errors).
4304
4350
  # Corresponds to the JSON property `error`
4305
4351
  # @return [Google::Apis::VideointelligenceV1p3beta1::GoogleRpcStatus]
4306
4352
  attr_accessor :error
@@ -4324,12 +4370,17 @@ module Google
4324
4370
  # @return [String]
4325
4371
  attr_accessor :input_uri
4326
4372
 
4373
+ # Annotations for list of logos detected, tracked and recognized in video.
4374
+ # Corresponds to the JSON property `logoRecognitionAnnotations`
4375
+ # @return [Array<Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p3beta1LogoRecognitionAnnotation>]
4376
+ attr_accessor :logo_recognition_annotations
4377
+
4327
4378
  # Annotations for list of objects detected and tracked in video.
4328
4379
  # Corresponds to the JSON property `objectAnnotations`
4329
4380
  # @return [Array<Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p3beta1ObjectTrackingAnnotation>]
4330
4381
  attr_accessor :object_annotations
4331
4382
 
4332
- # Label annotations on video level or user specified segment level.
4383
+ # Topical label annotations on video level or user specified segment level.
4333
4384
  # There is exactly one element for each unique label.
4334
4385
  # Corresponds to the JSON property `segmentLabelAnnotations`
4335
4386
  # @return [Array<Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p3beta1LabelAnnotation>]
@@ -4340,7 +4391,7 @@ module Google
4340
4391
  # @return [Array<Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p3beta1VideoSegment>]
4341
4392
  attr_accessor :shot_annotations
4342
4393
 
4343
- # Label annotations on shot level.
4394
+ # Topical label annotations on shot level.
4344
4395
  # There is exactly one element for each unique label.
4345
4396
  # Corresponds to the JSON property `shotLabelAnnotations`
4346
4397
  # @return [Array<Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p3beta1LabelAnnotation>]
@@ -4368,6 +4419,7 @@ module Google
4368
4419
  @explicit_annotation = args[:explicit_annotation] if args.key?(:explicit_annotation)
4369
4420
  @frame_label_annotations = args[:frame_label_annotations] if args.key?(:frame_label_annotations)
4370
4421
  @input_uri = args[:input_uri] if args.key?(:input_uri)
4422
+ @logo_recognition_annotations = args[:logo_recognition_annotations] if args.key?(:logo_recognition_annotations)
4371
4423
  @object_annotations = args[:object_annotations] if args.key?(:object_annotations)
4372
4424
  @segment_label_annotations = args[:segment_label_annotations] if args.key?(:segment_label_annotations)
4373
4425
  @shot_annotations = args[:shot_annotations] if args.key?(:shot_annotations)
@@ -4391,6 +4443,11 @@ module Google
4391
4443
  # @return [Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p3beta1LabelDetectionConfig]
4392
4444
  attr_accessor :label_detection_config
4393
4445
 
4446
+ # Config for OBJECT_TRACKING.
4447
+ # Corresponds to the JSON property `objectTrackingConfig`
4448
+ # @return [Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p3beta1ObjectTrackingConfig]
4449
+ attr_accessor :object_tracking_config
4450
+
4394
4451
  # Video segments to annotate. The segments may overlap and are not required
4395
4452
  # to be contiguous or span the whole video. If unspecified, each video is
4396
4453
  # treated as a single segment.
@@ -4421,6 +4478,7 @@ module Google
4421
4478
  def update!(**args)
4422
4479
  @explicit_content_detection_config = args[:explicit_content_detection_config] if args.key?(:explicit_content_detection_config)
4423
4480
  @label_detection_config = args[:label_detection_config] if args.key?(:label_detection_config)
4481
+ @object_tracking_config = args[:object_tracking_config] if args.key?(:object_tracking_config)
4424
4482
  @segments = args[:segments] if args.key?(:segments)
4425
4483
  @shot_change_detection_config = args[:shot_change_detection_config] if args.key?(:shot_change_detection_config)
4426
4484
  @speech_transcription_config = args[:speech_transcription_config] if args.key?(:speech_transcription_config)
@@ -4529,43 +4587,10 @@ module Google
4529
4587
 
4530
4588
  # The `Status` type defines a logical error model that is suitable for
4531
4589
  # different programming environments, including REST APIs and RPC APIs. It is
4532
- # used by [gRPC](https://github.com/grpc). The error model is designed to be:
4533
- # - Simple to use and understand for most users
4534
- # - Flexible enough to meet unexpected needs
4535
- # # Overview
4536
- # The `Status` message contains three pieces of data: error code, error
4537
- # message, and error details. The error code should be an enum value of
4538
- # google.rpc.Code, but it may accept additional error codes if needed. The
4539
- # error message should be a developer-facing English message that helps
4540
- # developers *understand* and *resolve* the error. If a localized user-facing
4541
- # error message is needed, put the localized message in the error details or
4542
- # localize it in the client. The optional error details may contain arbitrary
4543
- # information about the error. There is a predefined set of error detail types
4544
- # in the package `google.rpc` that can be used for common error conditions.
4545
- # # Language mapping
4546
- # The `Status` message is the logical representation of the error model, but it
4547
- # is not necessarily the actual wire format. When the `Status` message is
4548
- # exposed in different client libraries and different wire protocols, it can be
4549
- # mapped differently. For example, it will likely be mapped to some exceptions
4550
- # in Java, but more likely mapped to some error codes in C.
4551
- # # Other uses
4552
- # The error model and the `Status` message can be used in a variety of
4553
- # environments, either with or without APIs, to provide a
4554
- # consistent developer experience across different environments.
4555
- # Example uses of this error model include:
4556
- # - Partial errors. If a service needs to return partial errors to the client,
4557
- # it may embed the `Status` in the normal response to indicate the partial
4558
- # errors.
4559
- # - Workflow errors. A typical workflow has multiple steps. Each step may
4560
- # have a `Status` message for error reporting.
4561
- # - Batch operations. If a client uses batch request and batch response, the
4562
- # `Status` message should be used directly inside batch response, one for
4563
- # each error sub-response.
4564
- # - Asynchronous operations. If an API call embeds asynchronous operation
4565
- # results in its response, the status of those operations should be
4566
- # represented directly using the `Status` message.
4567
- # - Logging. If some API errors are stored in logs, the message `Status` could
4568
- # be used directly after any stripping needed for security/privacy reasons.
4590
+ # used by [gRPC](https://github.com/grpc). Each `Status` message contains
4591
+ # three pieces of data: error code, error message, and error details.
4592
+ # You can find out more about this error model and how to work with it in the
4593
+ # [API Design Guide](https://cloud.google.com/apis/design/errors).
4569
4594
  # Corresponds to the JSON property `error`
4570
4595
  # @return [Google::Apis::VideointelligenceV1p3beta1::GoogleRpcStatus]
4571
4596
  attr_accessor :error
@@ -4580,7 +4605,7 @@ module Google
4580
4605
 
4581
4606
  # The server-assigned name, which is only unique within the same service that
4582
4607
  # originally returns it. If you use the default HTTP mapping, the
4583
- # `name` should have the format of `operations/some/unique/name`.
4608
+ # `name` should be a resource name ending with `operations/`unique_id``.
4584
4609
  # Corresponds to the JSON property `name`
4585
4610
  # @return [String]
4586
4611
  attr_accessor :name
@@ -4613,43 +4638,10 @@ module Google
4613
4638
 
4614
4639
  # The `Status` type defines a logical error model that is suitable for
4615
4640
  # different programming environments, including REST APIs and RPC APIs. It is
4616
- # used by [gRPC](https://github.com/grpc). The error model is designed to be:
4617
- # - Simple to use and understand for most users
4618
- # - Flexible enough to meet unexpected needs
4619
- # # Overview
4620
- # The `Status` message contains three pieces of data: error code, error
4621
- # message, and error details. The error code should be an enum value of
4622
- # google.rpc.Code, but it may accept additional error codes if needed. The
4623
- # error message should be a developer-facing English message that helps
4624
- # developers *understand* and *resolve* the error. If a localized user-facing
4625
- # error message is needed, put the localized message in the error details or
4626
- # localize it in the client. The optional error details may contain arbitrary
4627
- # information about the error. There is a predefined set of error detail types
4628
- # in the package `google.rpc` that can be used for common error conditions.
4629
- # # Language mapping
4630
- # The `Status` message is the logical representation of the error model, but it
4631
- # is not necessarily the actual wire format. When the `Status` message is
4632
- # exposed in different client libraries and different wire protocols, it can be
4633
- # mapped differently. For example, it will likely be mapped to some exceptions
4634
- # in Java, but more likely mapped to some error codes in C.
4635
- # # Other uses
4636
- # The error model and the `Status` message can be used in a variety of
4637
- # environments, either with or without APIs, to provide a
4638
- # consistent developer experience across different environments.
4639
- # Example uses of this error model include:
4640
- # - Partial errors. If a service needs to return partial errors to the client,
4641
- # it may embed the `Status` in the normal response to indicate the partial
4642
- # errors.
4643
- # - Workflow errors. A typical workflow has multiple steps. Each step may
4644
- # have a `Status` message for error reporting.
4645
- # - Batch operations. If a client uses batch request and batch response, the
4646
- # `Status` message should be used directly inside batch response, one for
4647
- # each error sub-response.
4648
- # - Asynchronous operations. If an API call embeds asynchronous operation
4649
- # results in its response, the status of those operations should be
4650
- # represented directly using the `Status` message.
4651
- # - Logging. If some API errors are stored in logs, the message `Status` could
4652
- # be used directly after any stripping needed for security/privacy reasons.
4641
+ # used by [gRPC](https://github.com/grpc). Each `Status` message contains
4642
+ # three pieces of data: error code, error message, and error details.
4643
+ # You can find out more about this error model and how to work with it in the
4644
+ # [API Design Guide](https://cloud.google.com/apis/design/errors).
4653
4645
  class GoogleRpcStatus
4654
4646
  include Google::Apis::Core::Hashable
4655
4647