google-cloud-video_intelligence-v1p2beta1 0.4.5 → 0.5.0
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.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/lib/google/cloud/video_intelligence/v1p2beta1/version.rb +1 -1
- data/lib/google/cloud/video_intelligence/v1p2beta1.rb +2 -0
- data/lib/google/cloud/videointelligence/v1p2beta1/video_intelligence_pb.rb +6 -2
- data/proto_docs/google/cloud/videointelligence/v1p2beta1/video_intelligence.rb +12 -3
- data/proto_docs/google/protobuf/any.rb +3 -3
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8b2f59df82afa223cc99c31d861a1bcd4fbe76a676a0f18abb85d77919cdcdeb
|
4
|
+
data.tar.gz: f7e79a01a2141ce412c16fb2f922d25e24c4133059071d628ea844ba2591ce06
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 577d3d43bc7c3b818d0a97ec6f11ad26a6a69b057ac6b2aeda5df5d0b5819a4c986e8704a0401a4761796f38b6349d984cd40ab76582329afb6da8b4b9b0714d
|
7
|
+
data.tar.gz: a197aa14f7abc3fc7fc02cb29a36a06f5da124b92ef27bd040c44070c991d604018febe87ed5cebcefda9f288d1319fb649a8bbeb051e7dc20ca83b2692a527a
|
data/README.md
CHANGED
@@ -37,7 +37,7 @@ request = ::Google::Cloud::VideoIntelligence::V1p2beta1::AnnotateVideoRequest.ne
|
|
37
37
|
response = client.annotate_video request
|
38
38
|
```
|
39
39
|
|
40
|
-
View the [Client Library Documentation](https://
|
40
|
+
View the [Client Library Documentation](https://cloud.google.com/ruby/docs/reference/google-cloud-video_intelligence-v1p2beta1/latest)
|
41
41
|
for class and method documentation.
|
42
42
|
|
43
43
|
See also the [Product Documentation](https://cloud.google.com/video-intelligence)
|
@@ -25,6 +25,8 @@ module Google
|
|
25
25
|
##
|
26
26
|
# To load this package, including all its services, and instantiate a client:
|
27
27
|
#
|
28
|
+
# @example
|
29
|
+
#
|
28
30
|
# require "google/cloud/video_intelligence/v1p2beta1"
|
29
31
|
# client = ::Google::Cloud::VideoIntelligence::V1p2beta1::VideoIntelligenceService::Client.new
|
30
32
|
#
|
@@ -1,6 +1,8 @@
|
|
1
1
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
2
|
# source: google/cloud/videointelligence/v1p2beta1/video_intelligence.proto
|
3
3
|
|
4
|
+
require 'google/protobuf'
|
5
|
+
|
4
6
|
require 'google/api/annotations_pb'
|
5
7
|
require 'google/api/client_pb'
|
6
8
|
require 'google/api/field_behavior_pb'
|
@@ -8,7 +10,6 @@ require 'google/longrunning/operations_pb'
|
|
8
10
|
require 'google/protobuf/duration_pb'
|
9
11
|
require 'google/protobuf/timestamp_pb'
|
10
12
|
require 'google/rpc/status_pb'
|
11
|
-
require 'google/protobuf'
|
12
13
|
|
13
14
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
14
15
|
add_file("google/cloud/videointelligence/v1p2beta1/video_intelligence.proto", :syntax => :proto3) do
|
@@ -128,7 +129,10 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
128
129
|
optional :entity, :message, 1, "google.cloud.videointelligence.v1p2beta1.Entity"
|
129
130
|
optional :confidence, :float, 4
|
130
131
|
repeated :frames, :message, 2, "google.cloud.videointelligence.v1p2beta1.ObjectTrackingFrame"
|
131
|
-
|
132
|
+
oneof :track_info do
|
133
|
+
optional :segment, :message, 3, "google.cloud.videointelligence.v1p2beta1.VideoSegment"
|
134
|
+
optional :track_id, :int64, 5
|
135
|
+
end
|
132
136
|
end
|
133
137
|
add_enum "google.cloud.videointelligence.v1p2beta1.Feature" do
|
134
138
|
value :FEATURE_UNSPECIFIED, 0
|
@@ -442,6 +442,18 @@ module Google
|
|
442
442
|
end
|
443
443
|
|
444
444
|
# Annotations corresponding to one tracked object.
|
445
|
+
# @!attribute [rw] segment
|
446
|
+
# @return [::Google::Cloud::VideoIntelligence::V1p2beta1::VideoSegment]
|
447
|
+
# Non-streaming batch mode ONLY.
|
448
|
+
# Each object track corresponds to one video segment where it appears.
|
449
|
+
# @!attribute [rw] track_id
|
450
|
+
# @return [::Integer]
|
451
|
+
# Streaming mode ONLY.
|
452
|
+
# In streaming mode, we do not know the end time of a tracked object
|
453
|
+
# before it is completed. Hence, there is no VideoSegment info returned.
|
454
|
+
# Instead, we provide a unique identifiable integer track_id so that
|
455
|
+
# the customers can correlate the results of the ongoing
|
456
|
+
# ObjectTrackAnnotation of the same track_id over time.
|
445
457
|
# @!attribute [rw] entity
|
446
458
|
# @return [::Google::Cloud::VideoIntelligence::V1p2beta1::Entity]
|
447
459
|
# Entity to specify the object category that this track is labeled as.
|
@@ -451,9 +463,6 @@ module Google
|
|
451
463
|
# @!attribute [rw] frames
|
452
464
|
# @return [::Array<::Google::Cloud::VideoIntelligence::V1p2beta1::ObjectTrackingFrame>]
|
453
465
|
# Information corresponding to all frames where this object track appears.
|
454
|
-
# @!attribute [rw] segment
|
455
|
-
# @return [::Google::Cloud::VideoIntelligence::V1p2beta1::VideoSegment]
|
456
|
-
# Each object track corresponds to one video segment where it appears.
|
457
466
|
class ObjectTrackingAnnotation
|
458
467
|
include ::Google::Protobuf::MessageExts
|
459
468
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -44,7 +44,7 @@ module Google
|
|
44
44
|
# foo = any.unpack(Foo.class);
|
45
45
|
# }
|
46
46
|
#
|
47
|
-
#
|
47
|
+
# Example 3: Pack and unpack a message in Python.
|
48
48
|
#
|
49
49
|
# foo = Foo(...)
|
50
50
|
# any = Any()
|
@@ -54,7 +54,7 @@ module Google
|
|
54
54
|
# any.Unpack(foo)
|
55
55
|
# ...
|
56
56
|
#
|
57
|
-
#
|
57
|
+
# Example 4: Pack and unpack a message in Go
|
58
58
|
#
|
59
59
|
# foo := &pb.Foo{...}
|
60
60
|
# any, err := anypb.New(foo)
|
@@ -75,7 +75,7 @@ module Google
|
|
75
75
|
#
|
76
76
|
#
|
77
77
|
# JSON
|
78
|
-
#
|
78
|
+
#
|
79
79
|
# The JSON representation of an `Any` value uses the regular
|
80
80
|
# representation of the deserialized, embedded message, with an
|
81
81
|
# additional field `@type` which contains the type URL. Example:
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-cloud-video_intelligence-v1p2beta1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.5.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-
|
11
|
+
date: 2022-05-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gapic-common
|
@@ -209,7 +209,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
209
209
|
- !ruby/object:Gem::Version
|
210
210
|
version: '0'
|
211
211
|
requirements: []
|
212
|
-
rubygems_version: 3.3.
|
212
|
+
rubygems_version: 3.3.5
|
213
213
|
signing_key:
|
214
214
|
specification_version: 4
|
215
215
|
summary: API Client library for the Cloud Video Intelligence V1p2beta1 API
|