google-api-client 0.30.2 → 0.30.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
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
@@ -376,6 +376,12 @@ module Google
376
376
  include Google::Apis::Core::JsonObjectSupport
377
377
  end
378
378
 
379
+ class GoogleCloudVideointelligenceV1p1beta1ObjectTrackingConfig
380
+ class Representation < Google::Apis::Core::JsonRepresentation; end
381
+
382
+ include Google::Apis::Core::JsonObjectSupport
383
+ end
384
+
379
385
  class GoogleCloudVideointelligenceV1p1beta1ObjectTrackingFrame
380
386
  class Representation < Google::Apis::Core::JsonRepresentation; end
381
387
 
@@ -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::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1VideoSegment, decorator: Google::Apis::VideointelligenceV1p1beta1::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::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1beta2VideoSegment, decorator: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1beta2VideoSegment::Representation
1189
+
1154
1190
  property :start_time, as: 'startTime'
1155
1191
  property :update_time, as: 'updateTime'
1156
1192
  end
@@ -1343,6 +1379,13 @@ module Google
1343
1379
  end
1344
1380
  end
1345
1381
 
1382
+ class GoogleCloudVideointelligenceV1p1beta1ObjectTrackingConfig
1383
+ # @private
1384
+ class Representation < Google::Apis::Core::JsonRepresentation
1385
+ property :model, as: 'model'
1386
+ end
1387
+ end
1388
+
1346
1389
  class GoogleCloudVideointelligenceV1p1beta1ObjectTrackingFrame
1347
1390
  # @private
1348
1391
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1414,6 +1457,7 @@ module Google
1414
1457
  # @private
1415
1458
  class Representation < Google::Apis::Core::JsonRepresentation
1416
1459
  collection :language_hints, as: 'languageHints'
1460
+ property :model, as: 'model'
1417
1461
  end
1418
1462
  end
1419
1463
 
@@ -1440,8 +1484,11 @@ module Google
1440
1484
  class GoogleCloudVideointelligenceV1p1beta1VideoAnnotationProgress
1441
1485
  # @private
1442
1486
  class Representation < Google::Apis::Core::JsonRepresentation
1487
+ property :feature, as: 'feature'
1443
1488
  property :input_uri, as: 'inputUri'
1444
1489
  property :progress_percent, as: 'progressPercent'
1490
+ property :segment, as: 'segment', class: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p1beta1VideoSegment, decorator: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p1beta1VideoSegment::Representation
1491
+
1445
1492
  property :start_time, as: 'startTime'
1446
1493
  property :update_time, as: 'updateTime'
1447
1494
  end
@@ -1479,6 +1526,8 @@ module Google
1479
1526
 
1480
1527
  property :label_detection_config, as: 'labelDetectionConfig', class: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p1beta1LabelDetectionConfig, decorator: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p1beta1LabelDetectionConfig::Representation
1481
1528
 
1529
+ property :object_tracking_config, as: 'objectTrackingConfig', class: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p1beta1ObjectTrackingConfig, decorator: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p1beta1ObjectTrackingConfig::Representation
1530
+
1482
1531
  collection :segments, as: 'segments', class: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p1beta1VideoSegment, decorator: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p1beta1VideoSegment::Representation
1483
1532
 
1484
1533
  property :shot_change_detection_config, as: 'shotChangeDetectionConfig', class: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p1beta1ShotChangeDetectionConfig, decorator: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p1beta1ShotChangeDetectionConfig::Representation
@@ -1681,8 +1730,11 @@ module Google
1681
1730
  class GoogleCloudVideointelligenceV1p2beta1VideoAnnotationProgress
1682
1731
  # @private
1683
1732
  class Representation < Google::Apis::Core::JsonRepresentation
1733
+ property :feature, as: 'feature'
1684
1734
  property :input_uri, as: 'inputUri'
1685
1735
  property :progress_percent, as: 'progressPercent'
1736
+ property :segment, as: 'segment', class: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p2beta1VideoSegment, decorator: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p2beta1VideoSegment::Representation
1737
+
1686
1738
  property :start_time, as: 'startTime'
1687
1739
  property :update_time, as: 'updateTime'
1688
1740
  end
@@ -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::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p3beta1Entity, decorator: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p3beta1Entity::Representation
1872
+
1873
+ collection :segments, as: 'segments', class: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p3beta1VideoSegment, decorator: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p3beta1VideoSegment::Representation
1874
+
1875
+ collection :tracks, as: 'tracks', class: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p3beta1Track, decorator: Google::Apis::VideointelligenceV1p1beta1::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::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p3beta1DetectedAttribute, decorator: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p3beta1DetectedAttribute::Representation
2006
+
2007
+ property :normalized_bounding_box, as: 'normalizedBoundingBox', class: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p3beta1NormalizedBoundingBox, decorator: Google::Apis::VideointelligenceV1p1beta1::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::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p3beta1DetectedAttribute, decorator: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p3beta1DetectedAttribute::Representation
2017
+
2018
+ property :confidence, as: 'confidence'
2019
+ property :segment, as: 'segment', class: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p3beta1VideoSegment, decorator: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p3beta1VideoSegment::Representation
2020
+
2021
+ collection :timestamped_objects, as: 'timestampedObjects', class: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p3beta1TimestampedObject, decorator: Google::Apis::VideointelligenceV1p1beta1::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::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p3beta1VideoSegment, decorator: Google::Apis::VideointelligenceV1p1beta1::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::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p3beta1LabelAnnotation, decorator: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p3beta1LabelAnnotation::Representation
1947
2047
 
1948
2048
  property :input_uri, as: 'inputUri'
2049
+ collection :logo_recognition_annotations, as: 'logoRecognitionAnnotations', class: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p3beta1LogoRecognitionAnnotation, decorator: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p3beta1LogoRecognitionAnnotation::Representation
2050
+
1949
2051
  collection :object_annotations, as: 'objectAnnotations', class: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p3beta1ObjectTrackingAnnotation, decorator: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p3beta1ObjectTrackingAnnotation::Representation
1950
2052
 
1951
2053
  collection :segment_label_annotations, as: 'segmentLabelAnnotations', class: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p3beta1LabelAnnotation, decorator: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p3beta1LabelAnnotation::Representation
@@ -27,7 +27,7 @@ module Google
27
27
  # @see https://cloud.google.com/video-intelligence/docs/
28
28
  module VideointelligenceV1p2beta1
29
29
  VERSION = 'V1p2beta1'
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::VideointelligenceV1p2beta1::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::VideointelligenceV1p2beta1::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::VideointelligenceV1p2beta1::GoogleRpcStatus]
667
649
  attr_accessor :error
@@ -690,7 +672,7 @@ module Google
690
672
  # @return [Array<Google::Apis::VideointelligenceV1p2beta1::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::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1LabelAnnotation>]
@@ -701,7 +683,7 @@ module Google
701
683
  # @return [Array<Google::Apis::VideointelligenceV1p2beta1::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::VideointelligenceV1p2beta1::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::VideointelligenceV1p2beta1::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::VideointelligenceV1p2beta1::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::VideointelligenceV1p2beta1::GoogleRpcStatus]
1469
1433
  attr_accessor :error
@@ -1492,7 +1456,7 @@ module Google
1492
1456
  # @return [Array<Google::Apis::VideointelligenceV1p2beta1::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::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1beta2LabelAnnotation>]
@@ -1503,7 +1467,7 @@ module Google
1503
1467
  # @return [Array<Google::Apis::VideointelligenceV1p2beta1::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::VideointelligenceV1p2beta1::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::VideointelligenceV1p2beta1::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::VideointelligenceV1p2beta1::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::VideointelligenceV1p2beta1::GoogleRpcStatus]
2271
2217
  attr_accessor :error
@@ -2294,7 +2240,7 @@ module Google
2294
2240
  # @return [Array<Google::Apis::VideointelligenceV1p2beta1::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::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p1beta1LabelAnnotation>]
@@ -2305,7 +2251,7 @@ module Google
2305
2251
  # @return [Array<Google::Apis::VideointelligenceV1p2beta1::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::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p1beta1LabelAnnotation>]
@@ -2940,6 +2886,27 @@ module Google
2940
2886
  end
2941
2887
  end
2942
2888
 
2889
+ # Config for OBJECT_TRACKING.
2890
+ class GoogleCloudVideointelligenceV1p2beta1ObjectTrackingConfig
2891
+ include Google::Apis::Core::Hashable
2892
+
2893
+ # Model to use for object tracking.
2894
+ # Supported values: "builtin/stable" (the default if unset) and
2895
+ # "builtin/latest".
2896
+ # Corresponds to the JSON property `model`
2897
+ # @return [String]
2898
+ attr_accessor :model
2899
+
2900
+ def initialize(**args)
2901
+ update!(**args)
2902
+ end
2903
+
2904
+ # Update properties of this object
2905
+ def update!(**args)
2906
+ @model = args[:model] if args.key?(:model)
2907
+ end
2908
+ end
2909
+
2943
2910
  # Video frame level annotations for object detection and tracking. This field
2944
2911
  # stores per frame location, time offset, and confidence.
2945
2912
  class GoogleCloudVideointelligenceV1p2beta1ObjectTrackingFrame
@@ -3018,11 +2985,11 @@ module Google
3018
2985
  class GoogleCloudVideointelligenceV1p2beta1SpeechRecognitionAlternative
3019
2986
  include Google::Apis::Core::Hashable
3020
2987
 
3021
- # The confidence estimate between 0.0 and 1.0. A higher number
2988
+ # Output only. The confidence estimate between 0.0 and 1.0. A higher number
3022
2989
  # indicates an estimated greater likelihood that the recognized words are
3023
- # correct. This field is typically provided only for the top hypothesis, and
3024
- # only for `is_final=true` results. Clients should not rely on the
3025
- # `confidence` field as it is not guaranteed to be accurate or consistent.
2990
+ # correct. This field is set only for the top alternative.
2991
+ # This field is not guaranteed to be accurate and users should not rely on it
2992
+ # to be always provided.
3026
2993
  # The default of 0.0 is a sentinel value indicating `confidence` was not set.
3027
2994
  # Corresponds to the JSON property `confidence`
3028
2995
  # @return [Float]
@@ -3033,7 +3000,9 @@ module Google
3033
3000
  # @return [String]
3034
3001
  attr_accessor :transcript
3035
3002
 
3036
- # A list of word-specific information for each recognized word.
3003
+ # Output only. A list of word-specific information for each recognized word.
3004
+ # Note: When `enable_speaker_diarization` is true, you will see all the words
3005
+ # from the beginning of the audio.
3037
3006
  # Corresponds to the JSON property `words`
3038
3007
  # @return [Array<Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p2beta1WordInfo>]
3039
3008
  attr_accessor :words
@@ -3219,6 +3188,13 @@ module Google
3219
3188
  # @return [Array<String>]
3220
3189
  attr_accessor :language_hints
3221
3190
 
3191
+ # Model to use for text detection.
3192
+ # Supported values: "builtin/stable" (the default if unset) and
3193
+ # "builtin/latest".
3194
+ # Corresponds to the JSON property `model`
3195
+ # @return [String]
3196
+ attr_accessor :model
3197
+
3222
3198
  def initialize(**args)
3223
3199
  update!(**args)
3224
3200
  end
@@ -3226,6 +3202,7 @@ module Google
3226
3202
  # Update properties of this object
3227
3203
  def update!(**args)
3228
3204
  @language_hints = args[:language_hints] if args.key?(:language_hints)
3205
+ @model = args[:model] if args.key?(:model)
3229
3206
  end
3230
3207
  end
3231
3208
 
@@ -3306,6 +3283,12 @@ module Google
3306
3283
  class GoogleCloudVideointelligenceV1p2beta1VideoAnnotationProgress
3307
3284
  include Google::Apis::Core::Hashable
3308
3285
 
3286
+ # Specifies which feature is being tracked if the request contains more than
3287
+ # one features.
3288
+ # Corresponds to the JSON property `feature`
3289
+ # @return [String]
3290
+ attr_accessor :feature
3291
+
3309
3292
  # Video file location in
3310
3293
  # [Google Cloud Storage](https://cloud.google.com/storage/).
3311
3294
  # Corresponds to the JSON property `inputUri`
@@ -3318,6 +3301,11 @@ module Google
3318
3301
  # @return [Fixnum]
3319
3302
  attr_accessor :progress_percent
3320
3303
 
3304
+ # Video segment.
3305
+ # Corresponds to the JSON property `segment`
3306
+ # @return [Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p2beta1VideoSegment]
3307
+ attr_accessor :segment
3308
+
3321
3309
  # Time when the request was received.
3322
3310
  # Corresponds to the JSON property `startTime`
3323
3311
  # @return [String]
@@ -3334,8 +3322,10 @@ module Google
3334
3322
 
3335
3323
  # Update properties of this object
3336
3324
  def update!(**args)
3325
+ @feature = args[:feature] if args.key?(:feature)
3337
3326
  @input_uri = args[:input_uri] if args.key?(:input_uri)
3338
3327
  @progress_percent = args[:progress_percent] if args.key?(:progress_percent)
3328
+ @segment = args[:segment] if args.key?(:segment)
3339
3329
  @start_time = args[:start_time] if args.key?(:start_time)
3340
3330
  @update_time = args[:update_time] if args.key?(:update_time)
3341
3331
  end
@@ -3347,43 +3337,10 @@ module Google
3347
3337
 
3348
3338
  # The `Status` type defines a logical error model that is suitable for
3349
3339
  # different programming environments, including REST APIs and RPC APIs. It is
3350
- # used by [gRPC](https://github.com/grpc). The error model is designed to be:
3351
- # - Simple to use and understand for most users
3352
- # - Flexible enough to meet unexpected needs
3353
- # # Overview
3354
- # The `Status` message contains three pieces of data: error code, error
3355
- # message, and error details. The error code should be an enum value of
3356
- # google.rpc.Code, but it may accept additional error codes if needed. The
3357
- # error message should be a developer-facing English message that helps
3358
- # developers *understand* and *resolve* the error. If a localized user-facing
3359
- # error message is needed, put the localized message in the error details or
3360
- # localize it in the client. The optional error details may contain arbitrary
3361
- # information about the error. There is a predefined set of error detail types
3362
- # in the package `google.rpc` that can be used for common error conditions.
3363
- # # Language mapping
3364
- # The `Status` message is the logical representation of the error model, but it
3365
- # is not necessarily the actual wire format. When the `Status` message is
3366
- # exposed in different client libraries and different wire protocols, it can be
3367
- # mapped differently. For example, it will likely be mapped to some exceptions
3368
- # in Java, but more likely mapped to some error codes in C.
3369
- # # Other uses
3370
- # The error model and the `Status` message can be used in a variety of
3371
- # environments, either with or without APIs, to provide a
3372
- # consistent developer experience across different environments.
3373
- # Example uses of this error model include:
3374
- # - Partial errors. If a service needs to return partial errors to the client,
3375
- # it may embed the `Status` in the normal response to indicate the partial
3376
- # errors.
3377
- # - Workflow errors. A typical workflow has multiple steps. Each step may
3378
- # have a `Status` message for error reporting.
3379
- # - Batch operations. If a client uses batch request and batch response, the
3380
- # `Status` message should be used directly inside batch response, one for
3381
- # each error sub-response.
3382
- # - Asynchronous operations. If an API call embeds asynchronous operation
3383
- # results in its response, the status of those operations should be
3384
- # represented directly using the `Status` message.
3385
- # - Logging. If some API errors are stored in logs, the message `Status` could
3386
- # be used directly after any stripping needed for security/privacy reasons.
3340
+ # used by [gRPC](https://github.com/grpc). Each `Status` message contains
3341
+ # three pieces of data: error code, error message, and error details.
3342
+ # You can find out more about this error model and how to work with it in the
3343
+ # [API Design Guide](https://cloud.google.com/apis/design/errors).
3387
3344
  # Corresponds to the JSON property `error`
3388
3345
  # @return [Google::Apis::VideointelligenceV1p2beta1::GoogleRpcStatus]
3389
3346
  attr_accessor :error
@@ -3412,7 +3369,7 @@ module Google
3412
3369
  # @return [Array<Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p2beta1ObjectTrackingAnnotation>]
3413
3370
  attr_accessor :object_annotations
3414
3371
 
3415
- # Label annotations on video level or user specified segment level.
3372
+ # Topical label annotations on video level or user specified segment level.
3416
3373
  # There is exactly one element for each unique label.
3417
3374
  # Corresponds to the JSON property `segmentLabelAnnotations`
3418
3375
  # @return [Array<Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p2beta1LabelAnnotation>]
@@ -3423,7 +3380,7 @@ module Google
3423
3380
  # @return [Array<Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p2beta1VideoSegment>]
3424
3381
  attr_accessor :shot_annotations
3425
3382
 
3426
- # Label annotations on shot level.
3383
+ # Topical label annotations on shot level.
3427
3384
  # There is exactly one element for each unique label.
3428
3385
  # Corresponds to the JSON property `shotLabelAnnotations`
3429
3386
  # @return [Array<Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p2beta1LabelAnnotation>]
@@ -3474,6 +3431,11 @@ module Google
3474
3431
  # @return [Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p2beta1LabelDetectionConfig]
3475
3432
  attr_accessor :label_detection_config
3476
3433
 
3434
+ # Config for OBJECT_TRACKING.
3435
+ # Corresponds to the JSON property `objectTrackingConfig`
3436
+ # @return [Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p2beta1ObjectTrackingConfig]
3437
+ attr_accessor :object_tracking_config
3438
+
3477
3439
  # Video segments to annotate. The segments may overlap and are not required
3478
3440
  # to be contiguous or span the whole video. If unspecified, each video is
3479
3441
  # treated as a single segment.
@@ -3504,6 +3466,7 @@ module Google
3504
3466
  def update!(**args)
3505
3467
  @explicit_content_detection_config = args[:explicit_content_detection_config] if args.key?(:explicit_content_detection_config)
3506
3468
  @label_detection_config = args[:label_detection_config] if args.key?(:label_detection_config)
3469
+ @object_tracking_config = args[:object_tracking_config] if args.key?(:object_tracking_config)
3507
3470
  @segments = args[:segments] if args.key?(:segments)
3508
3471
  @shot_change_detection_config = args[:shot_change_detection_config] if args.key?(:shot_change_detection_config)
3509
3472
  @speech_transcription_config = args[:speech_transcription_config] if args.key?(:speech_transcription_config)
@@ -3639,6 +3602,39 @@ module Google
3639
3602
  end
3640
3603
  end
3641
3604
 
3605
+ # A generic detected attribute represented by name in string format.
3606
+ class GoogleCloudVideointelligenceV1p3beta1DetectedAttribute
3607
+ include Google::Apis::Core::Hashable
3608
+
3609
+ # Detected attribute confidence. Range [0, 1].
3610
+ # Corresponds to the JSON property `confidence`
3611
+ # @return [Float]
3612
+ attr_accessor :confidence
3613
+
3614
+ # The name of the attribute, i.e. glasses, dark_glasses, mouth_open etc.
3615
+ # A full list of supported type names will be provided in the document.
3616
+ # Corresponds to the JSON property `name`
3617
+ # @return [String]
3618
+ attr_accessor :name
3619
+
3620
+ # Text value of the detection result. For example, the value for "HairColor"
3621
+ # can be "black", "blonde", etc.
3622
+ # Corresponds to the JSON property `value`
3623
+ # @return [String]
3624
+ attr_accessor :value
3625
+
3626
+ def initialize(**args)
3627
+ update!(**args)
3628
+ end
3629
+
3630
+ # Update properties of this object
3631
+ def update!(**args)
3632
+ @confidence = args[:confidence] if args.key?(:confidence)
3633
+ @name = args[:name] if args.key?(:name)
3634
+ @value = args[:value] if args.key?(:value)
3635
+ end
3636
+ end
3637
+
3642
3638
  # Detected entity from video analysis.
3643
3639
  class GoogleCloudVideointelligenceV1p3beta1Entity
3644
3640
  include Google::Apis::Core::Hashable
@@ -3810,6 +3806,39 @@ module Google
3810
3806
  end
3811
3807
  end
3812
3808
 
3809
+ # Annotation corresponding to one detected, tracked and recognized logo class.
3810
+ class GoogleCloudVideointelligenceV1p3beta1LogoRecognitionAnnotation
3811
+ include Google::Apis::Core::Hashable
3812
+
3813
+ # Detected entity from video analysis.
3814
+ # Corresponds to the JSON property `entity`
3815
+ # @return [Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p3beta1Entity]
3816
+ attr_accessor :entity
3817
+
3818
+ # All video segments where the recognized logo appears. There might be
3819
+ # multiple instances of the same logo class appearing in one VideoSegment.
3820
+ # Corresponds to the JSON property `segments`
3821
+ # @return [Array<Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p3beta1VideoSegment>]
3822
+ attr_accessor :segments
3823
+
3824
+ # All logo tracks where the recognized logo appears. Each track corresponds
3825
+ # to one logo instance appearing in consecutive frames.
3826
+ # Corresponds to the JSON property `tracks`
3827
+ # @return [Array<Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p3beta1Track>]
3828
+ attr_accessor :tracks
3829
+
3830
+ def initialize(**args)
3831
+ update!(**args)
3832
+ end
3833
+
3834
+ # Update properties of this object
3835
+ def update!(**args)
3836
+ @entity = args[:entity] if args.key?(:entity)
3837
+ @segments = args[:segments] if args.key?(:segments)
3838
+ @tracks = args[:tracks] if args.key?(:tracks)
3839
+ end
3840
+ end
3841
+
3813
3842
  # Normalized bounding box.
3814
3843
  # The normalized vertex coordinates are relative to the original image.
3815
3844
  # Range: [0, 1].
@@ -3992,11 +4021,11 @@ module Google
3992
4021
  class GoogleCloudVideointelligenceV1p3beta1SpeechRecognitionAlternative
3993
4022
  include Google::Apis::Core::Hashable
3994
4023
 
3995
- # The confidence estimate between 0.0 and 1.0. A higher number
4024
+ # Output only. The confidence estimate between 0.0 and 1.0. A higher number
3996
4025
  # indicates an estimated greater likelihood that the recognized words are
3997
- # correct. This field is typically provided only for the top hypothesis, and
3998
- # only for `is_final=true` results. Clients should not rely on the
3999
- # `confidence` field as it is not guaranteed to be accurate or consistent.
4026
+ # correct. This field is set only for the top alternative.
4027
+ # This field is not guaranteed to be accurate and users should not rely on it
4028
+ # to be always provided.
4000
4029
  # The default of 0.0 is a sentinel value indicating `confidence` was not set.
4001
4030
  # Corresponds to the JSON property `confidence`
4002
4031
  # @return [Float]
@@ -4007,7 +4036,9 @@ module Google
4007
4036
  # @return [String]
4008
4037
  attr_accessor :transcript
4009
4038
 
4010
- # A list of word-specific information for each recognized word.
4039
+ # Output only. A list of word-specific information for each recognized word.
4040
+ # Note: When `enable_speaker_diarization` is true, you will see all the words
4041
+ # from the beginning of the audio.
4011
4042
  # Corresponds to the JSON property `words`
4012
4043
  # @return [Array<Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p3beta1WordInfo>]
4013
4044
  attr_accessor :words
@@ -4077,43 +4108,10 @@ module Google
4077
4108
 
4078
4109
  # The `Status` type defines a logical error model that is suitable for
4079
4110
  # different programming environments, including REST APIs and RPC APIs. It is
4080
- # used by [gRPC](https://github.com/grpc). The error model is designed to be:
4081
- # - Simple to use and understand for most users
4082
- # - Flexible enough to meet unexpected needs
4083
- # # Overview
4084
- # The `Status` message contains three pieces of data: error code, error
4085
- # message, and error details. The error code should be an enum value of
4086
- # google.rpc.Code, but it may accept additional error codes if needed. The
4087
- # error message should be a developer-facing English message that helps
4088
- # developers *understand* and *resolve* the error. If a localized user-facing
4089
- # error message is needed, put the localized message in the error details or
4090
- # localize it in the client. The optional error details may contain arbitrary
4091
- # information about the error. There is a predefined set of error detail types
4092
- # in the package `google.rpc` that can be used for common error conditions.
4093
- # # Language mapping
4094
- # The `Status` message is the logical representation of the error model, but it
4095
- # is not necessarily the actual wire format. When the `Status` message is
4096
- # exposed in different client libraries and different wire protocols, it can be
4097
- # mapped differently. For example, it will likely be mapped to some exceptions
4098
- # in Java, but more likely mapped to some error codes in C.
4099
- # # Other uses
4100
- # The error model and the `Status` message can be used in a variety of
4101
- # environments, either with or without APIs, to provide a
4102
- # consistent developer experience across different environments.
4103
- # Example uses of this error model include:
4104
- # - Partial errors. If a service needs to return partial errors to the client,
4105
- # it may embed the `Status` in the normal response to indicate the partial
4106
- # errors.
4107
- # - Workflow errors. A typical workflow has multiple steps. Each step may
4108
- # have a `Status` message for error reporting.
4109
- # - Batch operations. If a client uses batch request and batch response, the
4110
- # `Status` message should be used directly inside batch response, one for
4111
- # each error sub-response.
4112
- # - Asynchronous operations. If an API call embeds asynchronous operation
4113
- # results in its response, the status of those operations should be
4114
- # represented directly using the `Status` message.
4115
- # - Logging. If some API errors are stored in logs, the message `Status` could
4116
- # be used directly after any stripping needed for security/privacy reasons.
4111
+ # used by [gRPC](https://github.com/grpc). Each `Status` message contains
4112
+ # three pieces of data: error code, error message, and error details.
4113
+ # You can find out more about this error model and how to work with it in the
4114
+ # [API Design Guide](https://cloud.google.com/apis/design/errors).
4117
4115
  # Corresponds to the JSON property `error`
4118
4116
  # @return [Google::Apis::VideointelligenceV1p2beta1::GoogleRpcStatus]
4119
4117
  attr_accessor :error
@@ -4270,10 +4268,90 @@ module Google
4270
4268
  end
4271
4269
  end
4272
4270
 
4271
+ # For tracking related features, such as LOGO_RECOGNITION, FACE_DETECTION,
4272
+ # CELEBRITY_RECOGNITION, PERSON_DETECTION.
4273
+ # An object at time_offset with attributes, and located with
4274
+ # normalized_bounding_box.
4275
+ class GoogleCloudVideointelligenceV1p3beta1TimestampedObject
4276
+ include Google::Apis::Core::Hashable
4277
+
4278
+ # Optional. The attributes of the object in the bounding box.
4279
+ # Corresponds to the JSON property `attributes`
4280
+ # @return [Array<Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p3beta1DetectedAttribute>]
4281
+ attr_accessor :attributes
4282
+
4283
+ # Normalized bounding box.
4284
+ # The normalized vertex coordinates are relative to the original image.
4285
+ # Range: [0, 1].
4286
+ # Corresponds to the JSON property `normalizedBoundingBox`
4287
+ # @return [Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p3beta1NormalizedBoundingBox]
4288
+ attr_accessor :normalized_bounding_box
4289
+
4290
+ # Time-offset, relative to the beginning of the video,
4291
+ # corresponding to the video frame for this object.
4292
+ # Corresponds to the JSON property `timeOffset`
4293
+ # @return [String]
4294
+ attr_accessor :time_offset
4295
+
4296
+ def initialize(**args)
4297
+ update!(**args)
4298
+ end
4299
+
4300
+ # Update properties of this object
4301
+ def update!(**args)
4302
+ @attributes = args[:attributes] if args.key?(:attributes)
4303
+ @normalized_bounding_box = args[:normalized_bounding_box] if args.key?(:normalized_bounding_box)
4304
+ @time_offset = args[:time_offset] if args.key?(:time_offset)
4305
+ end
4306
+ end
4307
+
4308
+ # A track of an object instance.
4309
+ class GoogleCloudVideointelligenceV1p3beta1Track
4310
+ include Google::Apis::Core::Hashable
4311
+
4312
+ # Optional. Attributes in the track level.
4313
+ # Corresponds to the JSON property `attributes`
4314
+ # @return [Array<Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p3beta1DetectedAttribute>]
4315
+ attr_accessor :attributes
4316
+
4317
+ # Optional. The confidence score of the tracked object.
4318
+ # Corresponds to the JSON property `confidence`
4319
+ # @return [Float]
4320
+ attr_accessor :confidence
4321
+
4322
+ # Video segment.
4323
+ # Corresponds to the JSON property `segment`
4324
+ # @return [Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p3beta1VideoSegment]
4325
+ attr_accessor :segment
4326
+
4327
+ # The object with timestamp and attributes per frame in the track.
4328
+ # Corresponds to the JSON property `timestampedObjects`
4329
+ # @return [Array<Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p3beta1TimestampedObject>]
4330
+ attr_accessor :timestamped_objects
4331
+
4332
+ def initialize(**args)
4333
+ update!(**args)
4334
+ end
4335
+
4336
+ # Update properties of this object
4337
+ def update!(**args)
4338
+ @attributes = args[:attributes] if args.key?(:attributes)
4339
+ @confidence = args[:confidence] if args.key?(:confidence)
4340
+ @segment = args[:segment] if args.key?(:segment)
4341
+ @timestamped_objects = args[:timestamped_objects] if args.key?(:timestamped_objects)
4342
+ end
4343
+ end
4344
+
4273
4345
  # Annotation progress for a single video.
4274
4346
  class GoogleCloudVideointelligenceV1p3beta1VideoAnnotationProgress
4275
4347
  include Google::Apis::Core::Hashable
4276
4348
 
4349
+ # Specifies which feature is being tracked if the request contains more than
4350
+ # one features.
4351
+ # Corresponds to the JSON property `feature`
4352
+ # @return [String]
4353
+ attr_accessor :feature
4354
+
4277
4355
  # Video file location in
4278
4356
  # [Google Cloud Storage](https://cloud.google.com/storage/).
4279
4357
  # Corresponds to the JSON property `inputUri`
@@ -4286,6 +4364,11 @@ module Google
4286
4364
  # @return [Fixnum]
4287
4365
  attr_accessor :progress_percent
4288
4366
 
4367
+ # Video segment.
4368
+ # Corresponds to the JSON property `segment`
4369
+ # @return [Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p3beta1VideoSegment]
4370
+ attr_accessor :segment
4371
+
4289
4372
  # Time when the request was received.
4290
4373
  # Corresponds to the JSON property `startTime`
4291
4374
  # @return [String]
@@ -4302,8 +4385,10 @@ module Google
4302
4385
 
4303
4386
  # Update properties of this object
4304
4387
  def update!(**args)
4388
+ @feature = args[:feature] if args.key?(:feature)
4305
4389
  @input_uri = args[:input_uri] if args.key?(:input_uri)
4306
4390
  @progress_percent = args[:progress_percent] if args.key?(:progress_percent)
4391
+ @segment = args[:segment] if args.key?(:segment)
4307
4392
  @start_time = args[:start_time] if args.key?(:start_time)
4308
4393
  @update_time = args[:update_time] if args.key?(:update_time)
4309
4394
  end
@@ -4315,43 +4400,10 @@ module Google
4315
4400
 
4316
4401
  # The `Status` type defines a logical error model that is suitable for
4317
4402
  # different programming environments, including REST APIs and RPC APIs. It is
4318
- # used by [gRPC](https://github.com/grpc). The error model is designed to be:
4319
- # - Simple to use and understand for most users
4320
- # - Flexible enough to meet unexpected needs
4321
- # # Overview
4322
- # The `Status` message contains three pieces of data: error code, error
4323
- # message, and error details. The error code should be an enum value of
4324
- # google.rpc.Code, but it may accept additional error codes if needed. The
4325
- # error message should be a developer-facing English message that helps
4326
- # developers *understand* and *resolve* the error. If a localized user-facing
4327
- # error message is needed, put the localized message in the error details or
4328
- # localize it in the client. The optional error details may contain arbitrary
4329
- # information about the error. There is a predefined set of error detail types
4330
- # in the package `google.rpc` that can be used for common error conditions.
4331
- # # Language mapping
4332
- # The `Status` message is the logical representation of the error model, but it
4333
- # is not necessarily the actual wire format. When the `Status` message is
4334
- # exposed in different client libraries and different wire protocols, it can be
4335
- # mapped differently. For example, it will likely be mapped to some exceptions
4336
- # in Java, but more likely mapped to some error codes in C.
4337
- # # Other uses
4338
- # The error model and the `Status` message can be used in a variety of
4339
- # environments, either with or without APIs, to provide a
4340
- # consistent developer experience across different environments.
4341
- # Example uses of this error model include:
4342
- # - Partial errors. If a service needs to return partial errors to the client,
4343
- # it may embed the `Status` in the normal response to indicate the partial
4344
- # errors.
4345
- # - Workflow errors. A typical workflow has multiple steps. Each step may
4346
- # have a `Status` message for error reporting.
4347
- # - Batch operations. If a client uses batch request and batch response, the
4348
- # `Status` message should be used directly inside batch response, one for
4349
- # each error sub-response.
4350
- # - Asynchronous operations. If an API call embeds asynchronous operation
4351
- # results in its response, the status of those operations should be
4352
- # represented directly using the `Status` message.
4353
- # - Logging. If some API errors are stored in logs, the message `Status` could
4354
- # be used directly after any stripping needed for security/privacy reasons.
4403
+ # used by [gRPC](https://github.com/grpc). Each `Status` message contains
4404
+ # three pieces of data: error code, error message, and error details.
4405
+ # You can find out more about this error model and how to work with it in the
4406
+ # [API Design Guide](https://cloud.google.com/apis/design/errors).
4355
4407
  # Corresponds to the JSON property `error`
4356
4408
  # @return [Google::Apis::VideointelligenceV1p2beta1::GoogleRpcStatus]
4357
4409
  attr_accessor :error
@@ -4375,12 +4427,17 @@ module Google
4375
4427
  # @return [String]
4376
4428
  attr_accessor :input_uri
4377
4429
 
4430
+ # Annotations for list of logos detected, tracked and recognized in video.
4431
+ # Corresponds to the JSON property `logoRecognitionAnnotations`
4432
+ # @return [Array<Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p3beta1LogoRecognitionAnnotation>]
4433
+ attr_accessor :logo_recognition_annotations
4434
+
4378
4435
  # Annotations for list of objects detected and tracked in video.
4379
4436
  # Corresponds to the JSON property `objectAnnotations`
4380
4437
  # @return [Array<Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p3beta1ObjectTrackingAnnotation>]
4381
4438
  attr_accessor :object_annotations
4382
4439
 
4383
- # Label annotations on video level or user specified segment level.
4440
+ # Topical label annotations on video level or user specified segment level.
4384
4441
  # There is exactly one element for each unique label.
4385
4442
  # Corresponds to the JSON property `segmentLabelAnnotations`
4386
4443
  # @return [Array<Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p3beta1LabelAnnotation>]
@@ -4391,7 +4448,7 @@ module Google
4391
4448
  # @return [Array<Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p3beta1VideoSegment>]
4392
4449
  attr_accessor :shot_annotations
4393
4450
 
4394
- # Label annotations on shot level.
4451
+ # Topical label annotations on shot level.
4395
4452
  # There is exactly one element for each unique label.
4396
4453
  # Corresponds to the JSON property `shotLabelAnnotations`
4397
4454
  # @return [Array<Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p3beta1LabelAnnotation>]
@@ -4419,6 +4476,7 @@ module Google
4419
4476
  @explicit_annotation = args[:explicit_annotation] if args.key?(:explicit_annotation)
4420
4477
  @frame_label_annotations = args[:frame_label_annotations] if args.key?(:frame_label_annotations)
4421
4478
  @input_uri = args[:input_uri] if args.key?(:input_uri)
4479
+ @logo_recognition_annotations = args[:logo_recognition_annotations] if args.key?(:logo_recognition_annotations)
4422
4480
  @object_annotations = args[:object_annotations] if args.key?(:object_annotations)
4423
4481
  @segment_label_annotations = args[:segment_label_annotations] if args.key?(:segment_label_annotations)
4424
4482
  @shot_annotations = args[:shot_annotations] if args.key?(:shot_annotations)
@@ -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::VideointelligenceV1p2beta1::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