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
@@ -27,7 +27,7 @@ module Google
27
27
  # @see https://cloud.google.com/video-intelligence/docs/
28
28
  module VideointelligenceV1beta2
29
29
  VERSION = 'V1beta2'
30
- REVISION = '20190308'
30
+ REVISION = '20190603'
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'
@@ -584,6 +584,12 @@ module Google
584
584
  class GoogleCloudVideointelligenceV1VideoAnnotationProgress
585
585
  include Google::Apis::Core::Hashable
586
586
 
587
+ # Specifies which feature is being tracked if the request contains more than
588
+ # one features.
589
+ # Corresponds to the JSON property `feature`
590
+ # @return [String]
591
+ attr_accessor :feature
592
+
587
593
  # Video file location in
588
594
  # [Google Cloud Storage](https://cloud.google.com/storage/).
589
595
  # Corresponds to the JSON property `inputUri`
@@ -596,6 +602,11 @@ module Google
596
602
  # @return [Fixnum]
597
603
  attr_accessor :progress_percent
598
604
 
605
+ # Video segment.
606
+ # Corresponds to the JSON property `segment`
607
+ # @return [Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1VideoSegment]
608
+ attr_accessor :segment
609
+
599
610
  # Time when the request was received.
600
611
  # Corresponds to the JSON property `startTime`
601
612
  # @return [String]
@@ -612,8 +623,10 @@ module Google
612
623
 
613
624
  # Update properties of this object
614
625
  def update!(**args)
626
+ @feature = args[:feature] if args.key?(:feature)
615
627
  @input_uri = args[:input_uri] if args.key?(:input_uri)
616
628
  @progress_percent = args[:progress_percent] if args.key?(:progress_percent)
629
+ @segment = args[:segment] if args.key?(:segment)
617
630
  @start_time = args[:start_time] if args.key?(:start_time)
618
631
  @update_time = args[:update_time] if args.key?(:update_time)
619
632
  end
@@ -625,43 +638,10 @@ module Google
625
638
 
626
639
  # The `Status` type defines a logical error model that is suitable for
627
640
  # 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.
641
+ # used by [gRPC](https://github.com/grpc). Each `Status` message contains
642
+ # three pieces of data: error code, error message, and error details.
643
+ # You can find out more about this error model and how to work with it in the
644
+ # [API Design Guide](https://cloud.google.com/apis/design/errors).
665
645
  # Corresponds to the JSON property `error`
666
646
  # @return [Google::Apis::VideointelligenceV1beta2::GoogleRpcStatus]
667
647
  attr_accessor :error
@@ -1336,6 +1316,27 @@ module Google
1336
1316
  end
1337
1317
  end
1338
1318
 
1319
+ # Config for OBJECT_TRACKING.
1320
+ class GoogleCloudVideointelligenceV1beta2ObjectTrackingConfig
1321
+ include Google::Apis::Core::Hashable
1322
+
1323
+ # Model to use for object tracking.
1324
+ # Supported values: "builtin/stable" (the default if unset) and
1325
+ # "builtin/latest".
1326
+ # Corresponds to the JSON property `model`
1327
+ # @return [String]
1328
+ attr_accessor :model
1329
+
1330
+ def initialize(**args)
1331
+ update!(**args)
1332
+ end
1333
+
1334
+ # Update properties of this object
1335
+ def update!(**args)
1336
+ @model = args[:model] if args.key?(:model)
1337
+ end
1338
+ end
1339
+
1339
1340
  # Video frame level annotations for object detection and tracking. This field
1340
1341
  # stores per frame location, time offset, and confidence.
1341
1342
  class GoogleCloudVideointelligenceV1beta2ObjectTrackingFrame
@@ -1615,6 +1616,13 @@ module Google
1615
1616
  # @return [Array<String>]
1616
1617
  attr_accessor :language_hints
1617
1618
 
1619
+ # Model to use for text detection.
1620
+ # Supported values: "builtin/stable" (the default if unset) and
1621
+ # "builtin/latest".
1622
+ # Corresponds to the JSON property `model`
1623
+ # @return [String]
1624
+ attr_accessor :model
1625
+
1618
1626
  def initialize(**args)
1619
1627
  update!(**args)
1620
1628
  end
@@ -1622,6 +1630,7 @@ module Google
1622
1630
  # Update properties of this object
1623
1631
  def update!(**args)
1624
1632
  @language_hints = args[:language_hints] if args.key?(:language_hints)
1633
+ @model = args[:model] if args.key?(:model)
1625
1634
  end
1626
1635
  end
1627
1636
 
@@ -1702,6 +1711,12 @@ module Google
1702
1711
  class GoogleCloudVideointelligenceV1beta2VideoAnnotationProgress
1703
1712
  include Google::Apis::Core::Hashable
1704
1713
 
1714
+ # Specifies which feature is being tracked if the request contains more than
1715
+ # one features.
1716
+ # Corresponds to the JSON property `feature`
1717
+ # @return [String]
1718
+ attr_accessor :feature
1719
+
1705
1720
  # Video file location in
1706
1721
  # [Google Cloud Storage](https://cloud.google.com/storage/).
1707
1722
  # Corresponds to the JSON property `inputUri`
@@ -1714,6 +1729,11 @@ module Google
1714
1729
  # @return [Fixnum]
1715
1730
  attr_accessor :progress_percent
1716
1731
 
1732
+ # Video segment.
1733
+ # Corresponds to the JSON property `segment`
1734
+ # @return [Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1beta2VideoSegment]
1735
+ attr_accessor :segment
1736
+
1717
1737
  # Time when the request was received.
1718
1738
  # Corresponds to the JSON property `startTime`
1719
1739
  # @return [String]
@@ -1730,8 +1750,10 @@ module Google
1730
1750
 
1731
1751
  # Update properties of this object
1732
1752
  def update!(**args)
1753
+ @feature = args[:feature] if args.key?(:feature)
1733
1754
  @input_uri = args[:input_uri] if args.key?(:input_uri)
1734
1755
  @progress_percent = args[:progress_percent] if args.key?(:progress_percent)
1756
+ @segment = args[:segment] if args.key?(:segment)
1735
1757
  @start_time = args[:start_time] if args.key?(:start_time)
1736
1758
  @update_time = args[:update_time] if args.key?(:update_time)
1737
1759
  end
@@ -1743,43 +1765,10 @@ module Google
1743
1765
 
1744
1766
  # The `Status` type defines a logical error model that is suitable for
1745
1767
  # different programming environments, including REST APIs and RPC APIs. It is
1746
- # used by [gRPC](https://github.com/grpc). The error model is designed to be:
1747
- # - Simple to use and understand for most users
1748
- # - Flexible enough to meet unexpected needs
1749
- # # Overview
1750
- # The `Status` message contains three pieces of data: error code, error
1751
- # message, and error details. The error code should be an enum value of
1752
- # google.rpc.Code, but it may accept additional error codes if needed. The
1753
- # error message should be a developer-facing English message that helps
1754
- # developers *understand* and *resolve* the error. If a localized user-facing
1755
- # error message is needed, put the localized message in the error details or
1756
- # localize it in the client. The optional error details may contain arbitrary
1757
- # information about the error. There is a predefined set of error detail types
1758
- # in the package `google.rpc` that can be used for common error conditions.
1759
- # # Language mapping
1760
- # The `Status` message is the logical representation of the error model, but it
1761
- # is not necessarily the actual wire format. When the `Status` message is
1762
- # exposed in different client libraries and different wire protocols, it can be
1763
- # mapped differently. For example, it will likely be mapped to some exceptions
1764
- # in Java, but more likely mapped to some error codes in C.
1765
- # # Other uses
1766
- # The error model and the `Status` message can be used in a variety of
1767
- # environments, either with or without APIs, to provide a
1768
- # consistent developer experience across different environments.
1769
- # Example uses of this error model include:
1770
- # - Partial errors. If a service needs to return partial errors to the client,
1771
- # it may embed the `Status` in the normal response to indicate the partial
1772
- # errors.
1773
- # - Workflow errors. A typical workflow has multiple steps. Each step may
1774
- # have a `Status` message for error reporting.
1775
- # - Batch operations. If a client uses batch request and batch response, the
1776
- # `Status` message should be used directly inside batch response, one for
1777
- # each error sub-response.
1778
- # - Asynchronous operations. If an API call embeds asynchronous operation
1779
- # results in its response, the status of those operations should be
1780
- # represented directly using the `Status` message.
1781
- # - Logging. If some API errors are stored in logs, the message `Status` could
1782
- # be used directly after any stripping needed for security/privacy reasons.
1768
+ # used by [gRPC](https://github.com/grpc). Each `Status` message contains
1769
+ # three pieces of data: error code, error message, and error details.
1770
+ # You can find out more about this error model and how to work with it in the
1771
+ # [API Design Guide](https://cloud.google.com/apis/design/errors).
1783
1772
  # Corresponds to the JSON property `error`
1784
1773
  # @return [Google::Apis::VideointelligenceV1beta2::GoogleRpcStatus]
1785
1774
  attr_accessor :error
@@ -1870,6 +1859,11 @@ module Google
1870
1859
  # @return [Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1beta2LabelDetectionConfig]
1871
1860
  attr_accessor :label_detection_config
1872
1861
 
1862
+ # Config for OBJECT_TRACKING.
1863
+ # Corresponds to the JSON property `objectTrackingConfig`
1864
+ # @return [Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1beta2ObjectTrackingConfig]
1865
+ attr_accessor :object_tracking_config
1866
+
1873
1867
  # Video segments to annotate. The segments may overlap and are not required
1874
1868
  # to be contiguous or span the whole video. If unspecified, each video is
1875
1869
  # treated as a single segment.
@@ -1900,6 +1894,7 @@ module Google
1900
1894
  def update!(**args)
1901
1895
  @explicit_content_detection_config = args[:explicit_content_detection_config] if args.key?(:explicit_content_detection_config)
1902
1896
  @label_detection_config = args[:label_detection_config] if args.key?(:label_detection_config)
1897
+ @object_tracking_config = args[:object_tracking_config] if args.key?(:object_tracking_config)
1903
1898
  @segments = args[:segments] if args.key?(:segments)
1904
1899
  @shot_change_detection_config = args[:shot_change_detection_config] if args.key?(:shot_change_detection_config)
1905
1900
  @speech_transcription_config = args[:speech_transcription_config] if args.key?(:speech_transcription_config)
@@ -2555,6 +2550,12 @@ module Google
2555
2550
  class GoogleCloudVideointelligenceV1p1beta1VideoAnnotationProgress
2556
2551
  include Google::Apis::Core::Hashable
2557
2552
 
2553
+ # Specifies which feature is being tracked if the request contains more than
2554
+ # one features.
2555
+ # Corresponds to the JSON property `feature`
2556
+ # @return [String]
2557
+ attr_accessor :feature
2558
+
2558
2559
  # Video file location in
2559
2560
  # [Google Cloud Storage](https://cloud.google.com/storage/).
2560
2561
  # Corresponds to the JSON property `inputUri`
@@ -2567,6 +2568,11 @@ module Google
2567
2568
  # @return [Fixnum]
2568
2569
  attr_accessor :progress_percent
2569
2570
 
2571
+ # Video segment.
2572
+ # Corresponds to the JSON property `segment`
2573
+ # @return [Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p1beta1VideoSegment]
2574
+ attr_accessor :segment
2575
+
2570
2576
  # Time when the request was received.
2571
2577
  # Corresponds to the JSON property `startTime`
2572
2578
  # @return [String]
@@ -2583,8 +2589,10 @@ module Google
2583
2589
 
2584
2590
  # Update properties of this object
2585
2591
  def update!(**args)
2592
+ @feature = args[:feature] if args.key?(:feature)
2586
2593
  @input_uri = args[:input_uri] if args.key?(:input_uri)
2587
2594
  @progress_percent = args[:progress_percent] if args.key?(:progress_percent)
2595
+ @segment = args[:segment] if args.key?(:segment)
2588
2596
  @start_time = args[:start_time] if args.key?(:start_time)
2589
2597
  @update_time = args[:update_time] if args.key?(:update_time)
2590
2598
  end
@@ -2596,43 +2604,10 @@ module Google
2596
2604
 
2597
2605
  # The `Status` type defines a logical error model that is suitable for
2598
2606
  # different programming environments, including REST APIs and RPC APIs. It is
2599
- # used by [gRPC](https://github.com/grpc). The error model is designed to be:
2600
- # - Simple to use and understand for most users
2601
- # - Flexible enough to meet unexpected needs
2602
- # # Overview
2603
- # The `Status` message contains three pieces of data: error code, error
2604
- # message, and error details. The error code should be an enum value of
2605
- # google.rpc.Code, but it may accept additional error codes if needed. The
2606
- # error message should be a developer-facing English message that helps
2607
- # developers *understand* and *resolve* the error. If a localized user-facing
2608
- # error message is needed, put the localized message in the error details or
2609
- # localize it in the client. The optional error details may contain arbitrary
2610
- # information about the error. There is a predefined set of error detail types
2611
- # in the package `google.rpc` that can be used for common error conditions.
2612
- # # Language mapping
2613
- # The `Status` message is the logical representation of the error model, but it
2614
- # is not necessarily the actual wire format. When the `Status` message is
2615
- # exposed in different client libraries and different wire protocols, it can be
2616
- # mapped differently. For example, it will likely be mapped to some exceptions
2617
- # in Java, but more likely mapped to some error codes in C.
2618
- # # Other uses
2619
- # The error model and the `Status` message can be used in a variety of
2620
- # environments, either with or without APIs, to provide a
2621
- # consistent developer experience across different environments.
2622
- # Example uses of this error model include:
2623
- # - Partial errors. If a service needs to return partial errors to the client,
2624
- # it may embed the `Status` in the normal response to indicate the partial
2625
- # errors.
2626
- # - Workflow errors. A typical workflow has multiple steps. Each step may
2627
- # have a `Status` message for error reporting.
2628
- # - Batch operations. If a client uses batch request and batch response, the
2629
- # `Status` message should be used directly inside batch response, one for
2630
- # each error sub-response.
2631
- # - Asynchronous operations. If an API call embeds asynchronous operation
2632
- # results in its response, the status of those operations should be
2633
- # represented directly using the `Status` message.
2634
- # - Logging. If some API errors are stored in logs, the message `Status` could
2635
- # be used directly after any stripping needed for security/privacy reasons.
2607
+ # used by [gRPC](https://github.com/grpc). Each `Status` message contains
2608
+ # three pieces of data: error code, error message, and error details.
2609
+ # You can find out more about this error model and how to work with it in the
2610
+ # [API Design Guide](https://cloud.google.com/apis/design/errors).
2636
2611
  # Corresponds to the JSON property `error`
2637
2612
  # @return [Google::Apis::VideointelligenceV1beta2::GoogleRpcStatus]
2638
2613
  attr_accessor :error
@@ -3357,6 +3332,12 @@ module Google
3357
3332
  class GoogleCloudVideointelligenceV1p2beta1VideoAnnotationProgress
3358
3333
  include Google::Apis::Core::Hashable
3359
3334
 
3335
+ # Specifies which feature is being tracked if the request contains more than
3336
+ # one features.
3337
+ # Corresponds to the JSON property `feature`
3338
+ # @return [String]
3339
+ attr_accessor :feature
3340
+
3360
3341
  # Video file location in
3361
3342
  # [Google Cloud Storage](https://cloud.google.com/storage/).
3362
3343
  # Corresponds to the JSON property `inputUri`
@@ -3369,6 +3350,11 @@ module Google
3369
3350
  # @return [Fixnum]
3370
3351
  attr_accessor :progress_percent
3371
3352
 
3353
+ # Video segment.
3354
+ # Corresponds to the JSON property `segment`
3355
+ # @return [Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p2beta1VideoSegment]
3356
+ attr_accessor :segment
3357
+
3372
3358
  # Time when the request was received.
3373
3359
  # Corresponds to the JSON property `startTime`
3374
3360
  # @return [String]
@@ -3385,8 +3371,10 @@ module Google
3385
3371
 
3386
3372
  # Update properties of this object
3387
3373
  def update!(**args)
3374
+ @feature = args[:feature] if args.key?(:feature)
3388
3375
  @input_uri = args[:input_uri] if args.key?(:input_uri)
3389
3376
  @progress_percent = args[:progress_percent] if args.key?(:progress_percent)
3377
+ @segment = args[:segment] if args.key?(:segment)
3390
3378
  @start_time = args[:start_time] if args.key?(:start_time)
3391
3379
  @update_time = args[:update_time] if args.key?(:update_time)
3392
3380
  end
@@ -3398,43 +3386,10 @@ module Google
3398
3386
 
3399
3387
  # The `Status` type defines a logical error model that is suitable for
3400
3388
  # different programming environments, including REST APIs and RPC APIs. It is
3401
- # used by [gRPC](https://github.com/grpc). The error model is designed to be:
3402
- # - Simple to use and understand for most users
3403
- # - Flexible enough to meet unexpected needs
3404
- # # Overview
3405
- # The `Status` message contains three pieces of data: error code, error
3406
- # message, and error details. The error code should be an enum value of
3407
- # google.rpc.Code, but it may accept additional error codes if needed. The
3408
- # error message should be a developer-facing English message that helps
3409
- # developers *understand* and *resolve* the error. If a localized user-facing
3410
- # error message is needed, put the localized message in the error details or
3411
- # localize it in the client. The optional error details may contain arbitrary
3412
- # information about the error. There is a predefined set of error detail types
3413
- # in the package `google.rpc` that can be used for common error conditions.
3414
- # # Language mapping
3415
- # The `Status` message is the logical representation of the error model, but it
3416
- # is not necessarily the actual wire format. When the `Status` message is
3417
- # exposed in different client libraries and different wire protocols, it can be
3418
- # mapped differently. For example, it will likely be mapped to some exceptions
3419
- # in Java, but more likely mapped to some error codes in C.
3420
- # # Other uses
3421
- # The error model and the `Status` message can be used in a variety of
3422
- # environments, either with or without APIs, to provide a
3423
- # consistent developer experience across different environments.
3424
- # Example uses of this error model include:
3425
- # - Partial errors. If a service needs to return partial errors to the client,
3426
- # it may embed the `Status` in the normal response to indicate the partial
3427
- # errors.
3428
- # - Workflow errors. A typical workflow has multiple steps. Each step may
3429
- # have a `Status` message for error reporting.
3430
- # - Batch operations. If a client uses batch request and batch response, the
3431
- # `Status` message should be used directly inside batch response, one for
3432
- # each error sub-response.
3433
- # - Asynchronous operations. If an API call embeds asynchronous operation
3434
- # results in its response, the status of those operations should be
3435
- # represented directly using the `Status` message.
3436
- # - Logging. If some API errors are stored in logs, the message `Status` could
3437
- # be used directly after any stripping needed for security/privacy reasons.
3389
+ # used by [gRPC](https://github.com/grpc). Each `Status` message contains
3390
+ # three pieces of data: error code, error message, and error details.
3391
+ # You can find out more about this error model and how to work with it in the
3392
+ # [API Design Guide](https://cloud.google.com/apis/design/errors).
3438
3393
  # Corresponds to the JSON property `error`
3439
3394
  # @return [Google::Apis::VideointelligenceV1beta2::GoogleRpcStatus]
3440
3395
  attr_accessor :error
@@ -3639,6 +3594,39 @@ module Google
3639
3594
  end
3640
3595
  end
3641
3596
 
3597
+ # A generic detected attribute represented by name in string format.
3598
+ class GoogleCloudVideointelligenceV1p3beta1DetectedAttribute
3599
+ include Google::Apis::Core::Hashable
3600
+
3601
+ # Detected attribute confidence. Range [0, 1].
3602
+ # Corresponds to the JSON property `confidence`
3603
+ # @return [Float]
3604
+ attr_accessor :confidence
3605
+
3606
+ # The name of the attribute, i.e. glasses, dark_glasses, mouth_open etc.
3607
+ # A full list of supported type names will be provided in the document.
3608
+ # Corresponds to the JSON property `name`
3609
+ # @return [String]
3610
+ attr_accessor :name
3611
+
3612
+ # Text value of the detection result. For example, the value for "HairColor"
3613
+ # can be "black", "blonde", etc.
3614
+ # Corresponds to the JSON property `value`
3615
+ # @return [String]
3616
+ attr_accessor :value
3617
+
3618
+ def initialize(**args)
3619
+ update!(**args)
3620
+ end
3621
+
3622
+ # Update properties of this object
3623
+ def update!(**args)
3624
+ @confidence = args[:confidence] if args.key?(:confidence)
3625
+ @name = args[:name] if args.key?(:name)
3626
+ @value = args[:value] if args.key?(:value)
3627
+ end
3628
+ end
3629
+
3642
3630
  # Detected entity from video analysis.
3643
3631
  class GoogleCloudVideointelligenceV1p3beta1Entity
3644
3632
  include Google::Apis::Core::Hashable
@@ -3810,6 +3798,39 @@ module Google
3810
3798
  end
3811
3799
  end
3812
3800
 
3801
+ # Annotation corresponding to one detected, tracked and recognized logo class.
3802
+ class GoogleCloudVideointelligenceV1p3beta1LogoRecognitionAnnotation
3803
+ include Google::Apis::Core::Hashable
3804
+
3805
+ # Detected entity from video analysis.
3806
+ # Corresponds to the JSON property `entity`
3807
+ # @return [Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p3beta1Entity]
3808
+ attr_accessor :entity
3809
+
3810
+ # All video segments where the recognized logo appears. There might be
3811
+ # multiple instances of the same logo class appearing in one VideoSegment.
3812
+ # Corresponds to the JSON property `segments`
3813
+ # @return [Array<Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p3beta1VideoSegment>]
3814
+ attr_accessor :segments
3815
+
3816
+ # All logo tracks where the recognized logo appears. Each track corresponds
3817
+ # to one logo instance appearing in consecutive frames.
3818
+ # Corresponds to the JSON property `tracks`
3819
+ # @return [Array<Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p3beta1Track>]
3820
+ attr_accessor :tracks
3821
+
3822
+ def initialize(**args)
3823
+ update!(**args)
3824
+ end
3825
+
3826
+ # Update properties of this object
3827
+ def update!(**args)
3828
+ @entity = args[:entity] if args.key?(:entity)
3829
+ @segments = args[:segments] if args.key?(:segments)
3830
+ @tracks = args[:tracks] if args.key?(:tracks)
3831
+ end
3832
+ end
3833
+
3813
3834
  # Normalized bounding box.
3814
3835
  # The normalized vertex coordinates are relative to the original image.
3815
3836
  # Range: [0, 1].
@@ -4077,43 +4098,10 @@ module Google
4077
4098
 
4078
4099
  # The `Status` type defines a logical error model that is suitable for
4079
4100
  # 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.
4101
+ # used by [gRPC](https://github.com/grpc). Each `Status` message contains
4102
+ # three pieces of data: error code, error message, and error details.
4103
+ # You can find out more about this error model and how to work with it in the
4104
+ # [API Design Guide](https://cloud.google.com/apis/design/errors).
4117
4105
  # Corresponds to the JSON property `error`
4118
4106
  # @return [Google::Apis::VideointelligenceV1beta2::GoogleRpcStatus]
4119
4107
  attr_accessor :error
@@ -4270,10 +4258,90 @@ module Google
4270
4258
  end
4271
4259
  end
4272
4260
 
4261
+ # For tracking related features, such as LOGO_RECOGNITION, FACE_DETECTION,
4262
+ # CELEBRITY_RECOGNITION, PERSON_DETECTION.
4263
+ # An object at time_offset with attributes, and located with
4264
+ # normalized_bounding_box.
4265
+ class GoogleCloudVideointelligenceV1p3beta1TimestampedObject
4266
+ include Google::Apis::Core::Hashable
4267
+
4268
+ # Optional. The attributes of the object in the bounding box.
4269
+ # Corresponds to the JSON property `attributes`
4270
+ # @return [Array<Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p3beta1DetectedAttribute>]
4271
+ attr_accessor :attributes
4272
+
4273
+ # Normalized bounding box.
4274
+ # The normalized vertex coordinates are relative to the original image.
4275
+ # Range: [0, 1].
4276
+ # Corresponds to the JSON property `normalizedBoundingBox`
4277
+ # @return [Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p3beta1NormalizedBoundingBox]
4278
+ attr_accessor :normalized_bounding_box
4279
+
4280
+ # Time-offset, relative to the beginning of the video,
4281
+ # corresponding to the video frame for this object.
4282
+ # Corresponds to the JSON property `timeOffset`
4283
+ # @return [String]
4284
+ attr_accessor :time_offset
4285
+
4286
+ def initialize(**args)
4287
+ update!(**args)
4288
+ end
4289
+
4290
+ # Update properties of this object
4291
+ def update!(**args)
4292
+ @attributes = args[:attributes] if args.key?(:attributes)
4293
+ @normalized_bounding_box = args[:normalized_bounding_box] if args.key?(:normalized_bounding_box)
4294
+ @time_offset = args[:time_offset] if args.key?(:time_offset)
4295
+ end
4296
+ end
4297
+
4298
+ # A track of an object instance.
4299
+ class GoogleCloudVideointelligenceV1p3beta1Track
4300
+ include Google::Apis::Core::Hashable
4301
+
4302
+ # Optional. Attributes in the track level.
4303
+ # Corresponds to the JSON property `attributes`
4304
+ # @return [Array<Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p3beta1DetectedAttribute>]
4305
+ attr_accessor :attributes
4306
+
4307
+ # Optional. The confidence score of the tracked object.
4308
+ # Corresponds to the JSON property `confidence`
4309
+ # @return [Float]
4310
+ attr_accessor :confidence
4311
+
4312
+ # Video segment.
4313
+ # Corresponds to the JSON property `segment`
4314
+ # @return [Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p3beta1VideoSegment]
4315
+ attr_accessor :segment
4316
+
4317
+ # The object with timestamp and attributes per frame in the track.
4318
+ # Corresponds to the JSON property `timestampedObjects`
4319
+ # @return [Array<Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p3beta1TimestampedObject>]
4320
+ attr_accessor :timestamped_objects
4321
+
4322
+ def initialize(**args)
4323
+ update!(**args)
4324
+ end
4325
+
4326
+ # Update properties of this object
4327
+ def update!(**args)
4328
+ @attributes = args[:attributes] if args.key?(:attributes)
4329
+ @confidence = args[:confidence] if args.key?(:confidence)
4330
+ @segment = args[:segment] if args.key?(:segment)
4331
+ @timestamped_objects = args[:timestamped_objects] if args.key?(:timestamped_objects)
4332
+ end
4333
+ end
4334
+
4273
4335
  # Annotation progress for a single video.
4274
4336
  class GoogleCloudVideointelligenceV1p3beta1VideoAnnotationProgress
4275
4337
  include Google::Apis::Core::Hashable
4276
4338
 
4339
+ # Specifies which feature is being tracked if the request contains more than
4340
+ # one features.
4341
+ # Corresponds to the JSON property `feature`
4342
+ # @return [String]
4343
+ attr_accessor :feature
4344
+
4277
4345
  # Video file location in
4278
4346
  # [Google Cloud Storage](https://cloud.google.com/storage/).
4279
4347
  # Corresponds to the JSON property `inputUri`
@@ -4286,6 +4354,11 @@ module Google
4286
4354
  # @return [Fixnum]
4287
4355
  attr_accessor :progress_percent
4288
4356
 
4357
+ # Video segment.
4358
+ # Corresponds to the JSON property `segment`
4359
+ # @return [Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p3beta1VideoSegment]
4360
+ attr_accessor :segment
4361
+
4289
4362
  # Time when the request was received.
4290
4363
  # Corresponds to the JSON property `startTime`
4291
4364
  # @return [String]
@@ -4302,8 +4375,10 @@ module Google
4302
4375
 
4303
4376
  # Update properties of this object
4304
4377
  def update!(**args)
4378
+ @feature = args[:feature] if args.key?(:feature)
4305
4379
  @input_uri = args[:input_uri] if args.key?(:input_uri)
4306
4380
  @progress_percent = args[:progress_percent] if args.key?(:progress_percent)
4381
+ @segment = args[:segment] if args.key?(:segment)
4307
4382
  @start_time = args[:start_time] if args.key?(:start_time)
4308
4383
  @update_time = args[:update_time] if args.key?(:update_time)
4309
4384
  end
@@ -4315,43 +4390,10 @@ module Google
4315
4390
 
4316
4391
  # The `Status` type defines a logical error model that is suitable for
4317
4392
  # 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.
4393
+ # used by [gRPC](https://github.com/grpc). Each `Status` message contains
4394
+ # three pieces of data: error code, error message, and error details.
4395
+ # You can find out more about this error model and how to work with it in the
4396
+ # [API Design Guide](https://cloud.google.com/apis/design/errors).
4355
4397
  # Corresponds to the JSON property `error`
4356
4398
  # @return [Google::Apis::VideointelligenceV1beta2::GoogleRpcStatus]
4357
4399
  attr_accessor :error
@@ -4375,6 +4417,11 @@ module Google
4375
4417
  # @return [String]
4376
4418
  attr_accessor :input_uri
4377
4419
 
4420
+ # Annotations for list of logos detected, tracked and recognized in video.
4421
+ # Corresponds to the JSON property `logoRecognitionAnnotations`
4422
+ # @return [Array<Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p3beta1LogoRecognitionAnnotation>]
4423
+ attr_accessor :logo_recognition_annotations
4424
+
4378
4425
  # Annotations for list of objects detected and tracked in video.
4379
4426
  # Corresponds to the JSON property `objectAnnotations`
4380
4427
  # @return [Array<Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p3beta1ObjectTrackingAnnotation>]
@@ -4419,6 +4466,7 @@ module Google
4419
4466
  @explicit_annotation = args[:explicit_annotation] if args.key?(:explicit_annotation)
4420
4467
  @frame_label_annotations = args[:frame_label_annotations] if args.key?(:frame_label_annotations)
4421
4468
  @input_uri = args[:input_uri] if args.key?(:input_uri)
4469
+ @logo_recognition_annotations = args[:logo_recognition_annotations] if args.key?(:logo_recognition_annotations)
4422
4470
  @object_annotations = args[:object_annotations] if args.key?(:object_annotations)
4423
4471
  @segment_label_annotations = args[:segment_label_annotations] if args.key?(:segment_label_annotations)
4424
4472
  @shot_annotations = args[:shot_annotations] if args.key?(:shot_annotations)
@@ -4529,43 +4577,10 @@ module Google
4529
4577
 
4530
4578
  # The `Status` type defines a logical error model that is suitable for
4531
4579
  # 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.
4580
+ # used by [gRPC](https://github.com/grpc). Each `Status` message contains
4581
+ # three pieces of data: error code, error message, and error details.
4582
+ # You can find out more about this error model and how to work with it in the
4583
+ # [API Design Guide](https://cloud.google.com/apis/design/errors).
4569
4584
  # Corresponds to the JSON property `error`
4570
4585
  # @return [Google::Apis::VideointelligenceV1beta2::GoogleRpcStatus]
4571
4586
  attr_accessor :error
@@ -4580,7 +4595,7 @@ module Google
4580
4595
 
4581
4596
  # The server-assigned name, which is only unique within the same service that
4582
4597
  # originally returns it. If you use the default HTTP mapping, the
4583
- # `name` should have the format of `operations/some/unique/name`.
4598
+ # `name` should be a resource name ending with `operations/`unique_id``.
4584
4599
  # Corresponds to the JSON property `name`
4585
4600
  # @return [String]
4586
4601
  attr_accessor :name
@@ -4613,43 +4628,10 @@ module Google
4613
4628
 
4614
4629
  # The `Status` type defines a logical error model that is suitable for
4615
4630
  # 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.
4631
+ # used by [gRPC](https://github.com/grpc). Each `Status` message contains
4632
+ # three pieces of data: error code, error message, and error details.
4633
+ # You can find out more about this error model and how to work with it in the
4634
+ # [API Design Guide](https://cloud.google.com/apis/design/errors).
4653
4635
  class GoogleRpcStatus
4654
4636
  include Google::Apis::Core::Hashable
4655
4637