google-cloud-video_intelligence 1.3.0 → 1.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +6 -4
- data/lib/google/cloud/video_intelligence.rb +5 -3
- data/lib/google/cloud/video_intelligence/v1.rb +5 -3
- data/lib/google/cloud/video_intelligence/v1/doc/google/cloud/videointelligence/v1/video_intelligence.rb +30 -7
- data/lib/google/cloud/video_intelligence/v1beta1.rb +5 -3
- data/lib/google/cloud/video_intelligence/v1beta2.rb +5 -3
- data/lib/google/cloud/video_intelligence/v1p1beta1.rb +5 -3
- data/lib/google/cloud/video_intelligence/v1p2beta1.rb +5 -3
- data/lib/google/cloud/video_intelligence/version.rb +1 -1
- data/lib/google/cloud/videointelligence/v1/video_intelligence_pb.rb +6 -0
- data/lib/google/cloud/videointelligence/v1/video_intelligence_services_pb.rb +1 -1
- 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: 97d472f9bc4b59e6ca501f2f21c0a62c5e6598e864b68729a20796b47c8143cd
|
4
|
+
data.tar.gz: fe37ca6de8ae773f75523efc9748d30c1346706b86fb59ccf14be69df9ad29f1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c6b08b14224407a6f3925c7be9ec5a8ba0541bcd3f1186e1d2ccb7ecae970b33db656a75f13329412cf95487b099665a1c347f203e47ad3340b22c158680b42f
|
7
|
+
data.tar.gz: 9debbdf6e32ca17f488765f5410fe2cb8bb14ab9afc45e3f1a9f4e30e21de9e52e1575d3ba391819bcbbd7f3f6579676e1a669c604bef784a802def092062e0a
|
data/README.md
CHANGED
@@ -1,7 +1,9 @@
|
|
1
1
|
# Ruby Client for Cloud Video Intelligence API ([GA](https://github.com/googleapis/google-cloud-ruby#versioning))
|
2
2
|
|
3
3
|
[Cloud Video Intelligence API][Product Documentation]:
|
4
|
-
|
4
|
+
Detects objects, explicit content, and scene changes in videos. It also
|
5
|
+
specifies the region for annotation and transcribes speech to text.
|
6
|
+
Supports both asynchronous API and streaming API.
|
5
7
|
- [Client Library Documentation][]
|
6
8
|
- [Product Documentation][]
|
7
9
|
|
@@ -12,7 +14,7 @@ steps:
|
|
12
14
|
1. [Select or create a Cloud Platform project.](https://console.cloud.google.com/project)
|
13
15
|
2. [Enable billing for your project.](https://cloud.google.com/billing/docs/how-to/modify-project#enable_billing_for_a_project)
|
14
16
|
3. [Enable the Cloud Video Intelligence API.](https://console.cloud.google.com/apis/library/videointelligence.googleapis.com)
|
15
|
-
4. [Setup Authentication.](https://googleapis.
|
17
|
+
4. [Setup Authentication.](https://googleapis.dev/ruby/google-cloud-video_intelligence/latest/file.AUTHENTICATION.html)
|
16
18
|
|
17
19
|
### Installation
|
18
20
|
```
|
@@ -65,14 +67,14 @@ operation.wait_until_done!
|
|
65
67
|
- View this [repository's main README](https://github.com/googleapis/google-cloud-ruby/blob/master/README.md)
|
66
68
|
to see the full list of Cloud APIs that we cover.
|
67
69
|
|
68
|
-
[Client Library Documentation]: https://googleapis.
|
70
|
+
[Client Library Documentation]: https://googleapis.dev/ruby/google-cloud-video_intelligence/latest
|
69
71
|
[Product Documentation]: https://cloud.google.com/video-intelligence
|
70
72
|
|
71
73
|
## Enabling Logging
|
72
74
|
|
73
75
|
To enable logging for this library, set the logger for the underlying [gRPC](https://github.com/grpc/grpc/tree/master/src/ruby) library.
|
74
76
|
The logger that you set may be a Ruby stdlib [`Logger`](https://ruby-doc.org/stdlib-2.5.0/libdoc/logger/rdoc/Logger.html) as shown below,
|
75
|
-
or a [`Google::Cloud::Logging::Logger`](https://googleapis.
|
77
|
+
or a [`Google::Cloud::Logging::Logger`](https://googleapis.dev/ruby/google-cloud-logging/latest)
|
76
78
|
that will write logs to [Stackdriver Logging](https://cloud.google.com/logging/). See [grpc/logconfig.rb](https://github.com/grpc/grpc/blob/master/src/ruby/lib/grpc/logconfig.rb)
|
77
79
|
and the gRPC [spec_helper.rb](https://github.com/grpc/grpc/blob/master/src/ruby/spec/spec_helper.rb) for additional information.
|
78
80
|
|
@@ -24,7 +24,9 @@ module Google
|
|
24
24
|
# # Ruby Client for Cloud Video Intelligence API ([GA](https://github.com/googleapis/google-cloud-ruby#versioning))
|
25
25
|
#
|
26
26
|
# [Cloud Video Intelligence API][Product Documentation]:
|
27
|
-
#
|
27
|
+
# Detects objects, explicit content, and scene changes in videos. It also
|
28
|
+
# specifies the region for annotation and transcribes speech to text.
|
29
|
+
# Supports both asynchronous API and streaming API.
|
28
30
|
# - [Product Documentation][]
|
29
31
|
#
|
30
32
|
# ## Quick Start
|
@@ -34,7 +36,7 @@ module Google
|
|
34
36
|
# 1. [Select or create a Cloud Platform project.](https://console.cloud.google.com/project)
|
35
37
|
# 2. [Enable billing for your project.](https://cloud.google.com/billing/docs/how-to/modify-project#enable_billing_for_a_project)
|
36
38
|
# 3. [Enable the Cloud Video Intelligence API.](https://console.cloud.google.com/apis/library/videointelligence.googleapis.com)
|
37
|
-
# 4. [Setup Authentication.](https://googleapis.
|
39
|
+
# 4. [Setup Authentication.](https://googleapis.dev/ruby/google-cloud-video_intelligence/latest/file.AUTHENTICATION.html)
|
38
40
|
#
|
39
41
|
# ### Installation
|
40
42
|
# ```
|
@@ -91,7 +93,7 @@ module Google
|
|
91
93
|
#
|
92
94
|
# To enable logging for this library, set the logger for the underlying [gRPC](https://github.com/grpc/grpc/tree/master/src/ruby) library.
|
93
95
|
# The logger that you set may be a Ruby stdlib [`Logger`](https://ruby-doc.org/stdlib-2.5.0/libdoc/logger/rdoc/Logger.html) as shown below,
|
94
|
-
# or a [`Google::Cloud::Logging::Logger`](https://googleapis.
|
96
|
+
# or a [`Google::Cloud::Logging::Logger`](https://googleapis.dev/ruby/google-cloud-logging/latest)
|
95
97
|
# that will write logs to [Stackdriver Logging](https://cloud.google.com/logging/). See [grpc/logconfig.rb](https://github.com/grpc/grpc/blob/master/src/ruby/lib/grpc/logconfig.rb)
|
96
98
|
# and the gRPC [spec_helper.rb](https://github.com/grpc/grpc/blob/master/src/ruby/spec/spec_helper.rb) for additional information.
|
97
99
|
#
|
@@ -26,7 +26,9 @@ module Google
|
|
26
26
|
# # Ruby Client for Cloud Video Intelligence API ([GA](https://github.com/googleapis/google-cloud-ruby#versioning))
|
27
27
|
#
|
28
28
|
# [Cloud Video Intelligence API][Product Documentation]:
|
29
|
-
#
|
29
|
+
# Detects objects, explicit content, and scene changes in videos. It also
|
30
|
+
# specifies the region for annotation and transcribes speech to text.
|
31
|
+
# Supports both asynchronous API and streaming API.
|
30
32
|
# - [Product Documentation][]
|
31
33
|
#
|
32
34
|
# ## Quick Start
|
@@ -36,7 +38,7 @@ module Google
|
|
36
38
|
# 1. [Select or create a Cloud Platform project.](https://console.cloud.google.com/project)
|
37
39
|
# 2. [Enable billing for your project.](https://cloud.google.com/billing/docs/how-to/modify-project#enable_billing_for_a_project)
|
38
40
|
# 3. [Enable the Cloud Video Intelligence API.](https://console.cloud.google.com/apis/library/videointelligence.googleapis.com)
|
39
|
-
# 4. [Setup Authentication.](https://googleapis.
|
41
|
+
# 4. [Setup Authentication.](https://googleapis.dev/ruby/google-cloud-video_intelligence/latest/file.AUTHENTICATION.html)
|
40
42
|
#
|
41
43
|
# ### Installation
|
42
44
|
# ```
|
@@ -93,7 +95,7 @@ module Google
|
|
93
95
|
#
|
94
96
|
# To enable logging for this library, set the logger for the underlying [gRPC](https://github.com/grpc/grpc/tree/master/src/ruby) library.
|
95
97
|
# The logger that you set may be a Ruby stdlib [`Logger`](https://ruby-doc.org/stdlib-2.5.0/libdoc/logger/rdoc/Logger.html) as shown below,
|
96
|
-
# or a [`Google::Cloud::Logging::Logger`](https://googleapis.
|
98
|
+
# or a [`Google::Cloud::Logging::Logger`](https://googleapis.dev/ruby/google-cloud-logging/latest)
|
97
99
|
# that will write logs to [Stackdriver Logging](https://cloud.google.com/logging/). See [grpc/logconfig.rb](https://github.com/grpc/grpc/blob/master/src/ruby/lib/grpc/logconfig.rb)
|
98
100
|
# and the gRPC [spec_helper.rb](https://github.com/grpc/grpc/blob/master/src/ruby/spec/spec_helper.rb) for additional information.
|
99
101
|
#
|
@@ -301,14 +301,27 @@ module Google
|
|
301
301
|
# @return [String]
|
302
302
|
# Video file location in
|
303
303
|
# [Google Cloud Storage](https://cloud.google.com/storage/).
|
304
|
+
# @!attribute [rw] segment
|
305
|
+
# @return [Google::Cloud::VideoIntelligence::V1::VideoSegment]
|
306
|
+
# Video segment on which the annotation is run.
|
304
307
|
# @!attribute [rw] segment_label_annotations
|
305
308
|
# @return [Array<Google::Cloud::VideoIntelligence::V1::LabelAnnotation>]
|
306
|
-
#
|
309
|
+
# Topical label annotations on video level or user specified segment level.
|
307
310
|
# There is exactly one element for each unique label.
|
311
|
+
# @!attribute [rw] segment_presence_label_annotations
|
312
|
+
# @return [Array<Google::Cloud::VideoIntelligence::V1::LabelAnnotation>]
|
313
|
+
# Presence label annotations on video level or user specified segment level.
|
314
|
+
# There is exactly one element for each unique label. This will eventually
|
315
|
+
# get publicly exposed and the restriction will be removed.
|
308
316
|
# @!attribute [rw] shot_label_annotations
|
309
317
|
# @return [Array<Google::Cloud::VideoIntelligence::V1::LabelAnnotation>]
|
310
|
-
#
|
318
|
+
# Topical label annotations on shot level.
|
311
319
|
# There is exactly one element for each unique label.
|
320
|
+
# @!attribute [rw] shot_presence_label_annotations
|
321
|
+
# @return [Array<Google::Cloud::VideoIntelligence::V1::LabelAnnotation>]
|
322
|
+
# Presence label annotations on shot level. There is exactly one element for
|
323
|
+
# each unique label. This will eventually get publicly exposed and the
|
324
|
+
# restriction will be removed.
|
312
325
|
# @!attribute [rw] frame_label_annotations
|
313
326
|
# @return [Array<Google::Cloud::VideoIntelligence::V1::LabelAnnotation>]
|
314
327
|
# Label annotations on frame level.
|
@@ -362,6 +375,14 @@ module Google
|
|
362
375
|
# @!attribute [rw] update_time
|
363
376
|
# @return [Google::Protobuf::Timestamp]
|
364
377
|
# Time of the most recent update.
|
378
|
+
# @!attribute [rw] feature
|
379
|
+
# @return [Google::Cloud::VideoIntelligence::V1::Feature]
|
380
|
+
# Specifies which feature is being tracked if the request contains more than
|
381
|
+
# one features.
|
382
|
+
# @!attribute [rw] segment
|
383
|
+
# @return [Google::Cloud::VideoIntelligence::V1::VideoSegment]
|
384
|
+
# Specifies which segment is being tracked if the request contains more than
|
385
|
+
# one segments.
|
365
386
|
class VideoAnnotationProgress; end
|
366
387
|
|
367
388
|
# Video annotation progress. Included in the `metadata`
|
@@ -463,15 +484,17 @@ module Google
|
|
463
484
|
# Transcript text representing the words that the user spoke.
|
464
485
|
# @!attribute [rw] confidence
|
465
486
|
# @return [Float]
|
466
|
-
# The confidence estimate between 0.0 and 1.0. A higher number
|
487
|
+
# Output only. The confidence estimate between 0.0 and 1.0. A higher number
|
467
488
|
# indicates an estimated greater likelihood that the recognized words are
|
468
|
-
# correct. This field is
|
469
|
-
#
|
470
|
-
#
|
489
|
+
# correct. This field is set only for the top alternative.
|
490
|
+
# This field is not guaranteed to be accurate and users should not rely on it
|
491
|
+
# to be always provided.
|
471
492
|
# The default of 0.0 is a sentinel value indicating `confidence` was not set.
|
472
493
|
# @!attribute [rw] words
|
473
494
|
# @return [Array<Google::Cloud::VideoIntelligence::V1::WordInfo>]
|
474
|
-
# A list of word-specific information for each recognized word.
|
495
|
+
# Output only. A list of word-specific information for each recognized word.
|
496
|
+
# Note: When `enable_speaker_diarization` is true, you will see all the words
|
497
|
+
# from the beginning of the audio.
|
475
498
|
class SpeechRecognitionAlternative; end
|
476
499
|
|
477
500
|
# Word-specific information for recognized words. Word information is only
|
@@ -26,7 +26,9 @@ module Google
|
|
26
26
|
# # Ruby Client for Google Cloud Video Intelligence API ([GA](https://github.com/googleapis/google-cloud-ruby#versioning))
|
27
27
|
#
|
28
28
|
# [Google Cloud Video Intelligence API][Product Documentation]:
|
29
|
-
#
|
29
|
+
# Detects objects, explicit content, and scene changes in videos. It also
|
30
|
+
# specifies the region for annotation and transcribes speech to text.
|
31
|
+
# Supports both asynchronous API and streaming API.
|
30
32
|
# - [Product Documentation][]
|
31
33
|
#
|
32
34
|
# ## Quick Start
|
@@ -36,7 +38,7 @@ module Google
|
|
36
38
|
# 1. [Select or create a Cloud Platform project.](https://console.cloud.google.com/project)
|
37
39
|
# 2. [Enable billing for your project.](https://cloud.google.com/billing/docs/how-to/modify-project#enable_billing_for_a_project)
|
38
40
|
# 3. [Enable the Google Cloud Video Intelligence API.](https://console.cloud.google.com/apis/library/videointelligence.googleapis.com)
|
39
|
-
# 4. [Setup Authentication.](https://googleapis.
|
41
|
+
# 4. [Setup Authentication.](https://googleapis.dev/ruby/google-cloud-video_intelligence/latest/file.AUTHENTICATION.html)
|
40
42
|
#
|
41
43
|
# ### Installation
|
42
44
|
# ```
|
@@ -55,7 +57,7 @@ module Google
|
|
55
57
|
#
|
56
58
|
# To enable logging for this library, set the logger for the underlying [gRPC](https://github.com/grpc/grpc/tree/master/src/ruby) library.
|
57
59
|
# The logger that you set may be a Ruby stdlib [`Logger`](https://ruby-doc.org/stdlib-2.5.0/libdoc/logger/rdoc/Logger.html) as shown below,
|
58
|
-
# or a [`Google::Cloud::Logging::Logger`](https://googleapis.
|
60
|
+
# or a [`Google::Cloud::Logging::Logger`](https://googleapis.dev/ruby/google-cloud-logging/latest)
|
59
61
|
# that will write logs to [Stackdriver Logging](https://cloud.google.com/logging/). See [grpc/logconfig.rb](https://github.com/grpc/grpc/blob/master/src/ruby/lib/grpc/logconfig.rb)
|
60
62
|
# and the gRPC [spec_helper.rb](https://github.com/grpc/grpc/blob/master/src/ruby/spec/spec_helper.rb) for additional information.
|
61
63
|
#
|
@@ -26,7 +26,9 @@ module Google
|
|
26
26
|
# # Ruby Client for Google Cloud Video Intelligence API ([GA](https://github.com/googleapis/google-cloud-ruby#versioning))
|
27
27
|
#
|
28
28
|
# [Google Cloud Video Intelligence API][Product Documentation]:
|
29
|
-
#
|
29
|
+
# Detects objects, explicit content, and scene changes in videos. It also
|
30
|
+
# specifies the region for annotation and transcribes speech to text.
|
31
|
+
# Supports both asynchronous API and streaming API.
|
30
32
|
# - [Product Documentation][]
|
31
33
|
#
|
32
34
|
# ## Quick Start
|
@@ -36,7 +38,7 @@ module Google
|
|
36
38
|
# 1. [Select or create a Cloud Platform project.](https://console.cloud.google.com/project)
|
37
39
|
# 2. [Enable billing for your project.](https://cloud.google.com/billing/docs/how-to/modify-project#enable_billing_for_a_project)
|
38
40
|
# 3. [Enable the Google Cloud Video Intelligence API.](https://console.cloud.google.com/apis/library/videointelligence.googleapis.com)
|
39
|
-
# 4. [Setup Authentication.](https://googleapis.
|
41
|
+
# 4. [Setup Authentication.](https://googleapis.dev/ruby/google-cloud-video_intelligence/latest/file.AUTHENTICATION.html)
|
40
42
|
#
|
41
43
|
# ### Installation
|
42
44
|
# ```
|
@@ -55,7 +57,7 @@ module Google
|
|
55
57
|
#
|
56
58
|
# To enable logging for this library, set the logger for the underlying [gRPC](https://github.com/grpc/grpc/tree/master/src/ruby) library.
|
57
59
|
# The logger that you set may be a Ruby stdlib [`Logger`](https://ruby-doc.org/stdlib-2.5.0/libdoc/logger/rdoc/Logger.html) as shown below,
|
58
|
-
# or a [`Google::Cloud::Logging::Logger`](https://googleapis.
|
60
|
+
# or a [`Google::Cloud::Logging::Logger`](https://googleapis.dev/ruby/google-cloud-logging/latest)
|
59
61
|
# that will write logs to [Stackdriver Logging](https://cloud.google.com/logging/). See [grpc/logconfig.rb](https://github.com/grpc/grpc/blob/master/src/ruby/lib/grpc/logconfig.rb)
|
60
62
|
# and the gRPC [spec_helper.rb](https://github.com/grpc/grpc/blob/master/src/ruby/spec/spec_helper.rb) for additional information.
|
61
63
|
#
|
@@ -26,7 +26,9 @@ module Google
|
|
26
26
|
# # Ruby Client for Cloud Video Intelligence API ([Beta](https://github.com/googleapis/google-cloud-ruby#versioning))
|
27
27
|
#
|
28
28
|
# [Cloud Video Intelligence API][Product Documentation]:
|
29
|
-
#
|
29
|
+
# Detects objects, explicit content, and scene changes in videos. It also
|
30
|
+
# specifies the region for annotation and transcribes speech to text.
|
31
|
+
# Supports both asynchronous API and streaming API.
|
30
32
|
# - [Product Documentation][]
|
31
33
|
#
|
32
34
|
# ## Quick Start
|
@@ -36,7 +38,7 @@ module Google
|
|
36
38
|
# 1. [Select or create a Cloud Platform project.](https://console.cloud.google.com/project)
|
37
39
|
# 2. [Enable billing for your project.](https://cloud.google.com/billing/docs/how-to/modify-project#enable_billing_for_a_project)
|
38
40
|
# 3. [Enable the Cloud Video Intelligence API.](https://console.cloud.google.com/apis/library/videointelligence.googleapis.com)
|
39
|
-
# 4. [Setup Authentication.](https://googleapis.
|
41
|
+
# 4. [Setup Authentication.](https://googleapis.dev/ruby/google-cloud-video_intelligence/latest/file.AUTHENTICATION.html)
|
40
42
|
#
|
41
43
|
# ### Installation
|
42
44
|
# ```
|
@@ -93,7 +95,7 @@ module Google
|
|
93
95
|
#
|
94
96
|
# To enable logging for this library, set the logger for the underlying [gRPC](https://github.com/grpc/grpc/tree/master/src/ruby) library.
|
95
97
|
# The logger that you set may be a Ruby stdlib [`Logger`](https://ruby-doc.org/stdlib-2.5.0/libdoc/logger/rdoc/Logger.html) as shown below,
|
96
|
-
# or a [`Google::Cloud::Logging::Logger`](https://googleapis.
|
98
|
+
# or a [`Google::Cloud::Logging::Logger`](https://googleapis.dev/ruby/google-cloud-logging/latest)
|
97
99
|
# that will write logs to [Stackdriver Logging](https://cloud.google.com/logging/). See [grpc/logconfig.rb](https://github.com/grpc/grpc/blob/master/src/ruby/lib/grpc/logconfig.rb)
|
98
100
|
# and the gRPC [spec_helper.rb](https://github.com/grpc/grpc/blob/master/src/ruby/spec/spec_helper.rb) for additional information.
|
99
101
|
#
|
@@ -26,7 +26,9 @@ module Google
|
|
26
26
|
# # Ruby Client for Cloud Video Intelligence API ([Beta](https://github.com/googleapis/google-cloud-ruby#versioning))
|
27
27
|
#
|
28
28
|
# [Cloud Video Intelligence API][Product Documentation]:
|
29
|
-
#
|
29
|
+
# Detects objects, explicit content, and scene changes in videos. It also
|
30
|
+
# specifies the region for annotation and transcribes speech to text.
|
31
|
+
# Supports both asynchronous API and streaming API.
|
30
32
|
# - [Product Documentation][]
|
31
33
|
#
|
32
34
|
# ## Quick Start
|
@@ -36,7 +38,7 @@ module Google
|
|
36
38
|
# 1. [Select or create a Cloud Platform project.](https://console.cloud.google.com/project)
|
37
39
|
# 2. [Enable billing for your project.](https://cloud.google.com/billing/docs/how-to/modify-project#enable_billing_for_a_project)
|
38
40
|
# 3. [Enable the Cloud Video Intelligence API.](https://console.cloud.google.com/apis/library/videointelligence.googleapis.com)
|
39
|
-
# 4. [Setup Authentication.](https://googleapis.
|
41
|
+
# 4. [Setup Authentication.](https://googleapis.dev/ruby/google-cloud-video_intelligence/latest/file.AUTHENTICATION.html)
|
40
42
|
#
|
41
43
|
# ### Installation
|
42
44
|
# ```
|
@@ -93,7 +95,7 @@ module Google
|
|
93
95
|
#
|
94
96
|
# To enable logging for this library, set the logger for the underlying [gRPC](https://github.com/grpc/grpc/tree/master/src/ruby) library.
|
95
97
|
# The logger that you set may be a Ruby stdlib [`Logger`](https://ruby-doc.org/stdlib-2.5.0/libdoc/logger/rdoc/Logger.html) as shown below,
|
96
|
-
# or a [`Google::Cloud::Logging::Logger`](https://googleapis.
|
98
|
+
# or a [`Google::Cloud::Logging::Logger`](https://googleapis.dev/ruby/google-cloud-logging/latest)
|
97
99
|
# that will write logs to [Stackdriver Logging](https://cloud.google.com/logging/). See [grpc/logconfig.rb](https://github.com/grpc/grpc/blob/master/src/ruby/lib/grpc/logconfig.rb)
|
98
100
|
# and the gRPC [spec_helper.rb](https://github.com/grpc/grpc/blob/master/src/ruby/spec/spec_helper.rb) for additional information.
|
99
101
|
#
|
@@ -5,6 +5,7 @@
|
|
5
5
|
require 'google/protobuf'
|
6
6
|
|
7
7
|
require 'google/api/annotations_pb'
|
8
|
+
require 'google/api/client_pb'
|
8
9
|
require 'google/longrunning/operations_pb'
|
9
10
|
require 'google/protobuf/duration_pb'
|
10
11
|
require 'google/protobuf/timestamp_pb'
|
@@ -102,8 +103,11 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
102
103
|
end
|
103
104
|
add_message "google.cloud.videointelligence.v1.VideoAnnotationResults" do
|
104
105
|
optional :input_uri, :string, 1
|
106
|
+
optional :segment, :message, 10, "google.cloud.videointelligence.v1.VideoSegment"
|
105
107
|
repeated :segment_label_annotations, :message, 2, "google.cloud.videointelligence.v1.LabelAnnotation"
|
108
|
+
repeated :segment_presence_label_annotations, :message, 23, "google.cloud.videointelligence.v1.LabelAnnotation"
|
106
109
|
repeated :shot_label_annotations, :message, 3, "google.cloud.videointelligence.v1.LabelAnnotation"
|
110
|
+
repeated :shot_presence_label_annotations, :message, 24, "google.cloud.videointelligence.v1.LabelAnnotation"
|
107
111
|
repeated :frame_label_annotations, :message, 4, "google.cloud.videointelligence.v1.LabelAnnotation"
|
108
112
|
repeated :face_annotations, :message, 5, "google.cloud.videointelligence.v1.FaceAnnotation"
|
109
113
|
repeated :shot_annotations, :message, 6, "google.cloud.videointelligence.v1.VideoSegment"
|
@@ -121,6 +125,8 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
121
125
|
optional :progress_percent, :int32, 2
|
122
126
|
optional :start_time, :message, 3, "google.protobuf.Timestamp"
|
123
127
|
optional :update_time, :message, 4, "google.protobuf.Timestamp"
|
128
|
+
optional :feature, :enum, 5, "google.cloud.videointelligence.v1.Feature"
|
129
|
+
optional :segment, :message, 6, "google.cloud.videointelligence.v1.VideoSegment"
|
124
130
|
end
|
125
131
|
add_message "google.cloud.videointelligence.v1.AnnotateVideoProgress" do
|
126
132
|
repeated :annotation_progress, :message, 1, "google.cloud.videointelligence.v1.VideoAnnotationProgress"
|
@@ -1,7 +1,7 @@
|
|
1
1
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
2
|
# Source: google/cloud/videointelligence/v1/video_intelligence.proto for package 'Google::Cloud::VideoIntelligence::V1'
|
3
3
|
# Original file comments:
|
4
|
-
# Copyright
|
4
|
+
# Copyright 2019 Google LLC.
|
5
5
|
#
|
6
6
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
7
7
|
# you may not use this file except in compliance with the License.
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-cloud-video_intelligence
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.4.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: 2019-
|
11
|
+
date: 2019-08-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-gax
|
@@ -181,7 +181,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
181
181
|
- !ruby/object:Gem::Version
|
182
182
|
version: '0'
|
183
183
|
requirements: []
|
184
|
-
rubygems_version: 3.0.
|
184
|
+
rubygems_version: 3.0.4
|
185
185
|
signing_key:
|
186
186
|
specification_version: 4
|
187
187
|
summary: API Client library for Cloud Video Intelligence API
|