google-cloud-video_intelligence 2.0.2 → 3.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (55) hide show
  1. checksums.yaml +4 -4
  2. data/.yardopts +2 -1
  3. data/AUTHENTICATION.md +51 -59
  4. data/LICENSE.md +203 -0
  5. data/MIGRATING.md +274 -0
  6. data/README.md +36 -62
  7. data/lib/{google/cloud/video_intelligence/credentials.rb → google-cloud-video_intelligence.rb} +5 -13
  8. data/lib/google/cloud/video_intelligence.rb +87 -156
  9. data/lib/google/cloud/video_intelligence/version.rb +6 -2
  10. metadata +99 -83
  11. data/LICENSE +0 -201
  12. data/lib/google/cloud/video_intelligence/v1.rb +0 -186
  13. data/lib/google/cloud/video_intelligence/v1/credentials.rb +0 -41
  14. data/lib/google/cloud/video_intelligence/v1/doc/google/cloud/videointelligence/v1/video_intelligence.rb +0 -707
  15. data/lib/google/cloud/video_intelligence/v1/doc/google/longrunning/operations.rb +0 -51
  16. data/lib/google/cloud/video_intelligence/v1/doc/google/protobuf/any.rb +0 -131
  17. data/lib/google/cloud/video_intelligence/v1/doc/google/protobuf/duration.rb +0 -91
  18. data/lib/google/cloud/video_intelligence/v1/doc/google/rpc/status.rb +0 -39
  19. data/lib/google/cloud/video_intelligence/v1/video_intelligence_service_client.rb +0 -306
  20. data/lib/google/cloud/video_intelligence/v1/video_intelligence_service_client_config.json +0 -31
  21. data/lib/google/cloud/video_intelligence/v1beta2.rb +0 -149
  22. data/lib/google/cloud/video_intelligence/v1beta2/credentials.rb +0 -41
  23. data/lib/google/cloud/video_intelligence/v1beta2/doc/google/cloud/videointelligence/v1beta2/video_intelligence.rb +0 -372
  24. data/lib/google/cloud/video_intelligence/v1beta2/doc/google/longrunning/operations.rb +0 -51
  25. data/lib/google/cloud/video_intelligence/v1beta2/doc/google/protobuf/any.rb +0 -131
  26. data/lib/google/cloud/video_intelligence/v1beta2/doc/google/protobuf/duration.rb +0 -91
  27. data/lib/google/cloud/video_intelligence/v1beta2/doc/google/rpc/status.rb +0 -39
  28. data/lib/google/cloud/video_intelligence/v1beta2/video_intelligence_service_client.rb +0 -306
  29. data/lib/google/cloud/video_intelligence/v1beta2/video_intelligence_service_client_config.json +0 -31
  30. data/lib/google/cloud/video_intelligence/v1p1beta1.rb +0 -187
  31. data/lib/google/cloud/video_intelligence/v1p1beta1/credentials.rb +0 -41
  32. data/lib/google/cloud/video_intelligence/v1p1beta1/doc/google/cloud/videointelligence/v1p1beta1/video_intelligence.rb +0 -410
  33. data/lib/google/cloud/video_intelligence/v1p1beta1/doc/google/longrunning/operations.rb +0 -51
  34. data/lib/google/cloud/video_intelligence/v1p1beta1/doc/google/protobuf/any.rb +0 -131
  35. data/lib/google/cloud/video_intelligence/v1p1beta1/doc/google/protobuf/duration.rb +0 -91
  36. data/lib/google/cloud/video_intelligence/v1p1beta1/doc/google/rpc/status.rb +0 -39
  37. data/lib/google/cloud/video_intelligence/v1p1beta1/video_intelligence_service_client.rb +0 -306
  38. data/lib/google/cloud/video_intelligence/v1p1beta1/video_intelligence_service_client_config.json +0 -31
  39. data/lib/google/cloud/video_intelligence/v1p2beta1.rb +0 -187
  40. data/lib/google/cloud/video_intelligence/v1p2beta1/credentials.rb +0 -41
  41. data/lib/google/cloud/video_intelligence/v1p2beta1/doc/google/cloud/videointelligence/v1p2beta1/video_intelligence.rb +0 -442
  42. data/lib/google/cloud/video_intelligence/v1p2beta1/doc/google/longrunning/operations.rb +0 -51
  43. data/lib/google/cloud/video_intelligence/v1p2beta1/doc/google/protobuf/any.rb +0 -131
  44. data/lib/google/cloud/video_intelligence/v1p2beta1/doc/google/protobuf/duration.rb +0 -91
  45. data/lib/google/cloud/video_intelligence/v1p2beta1/doc/google/rpc/status.rb +0 -39
  46. data/lib/google/cloud/video_intelligence/v1p2beta1/video_intelligence_service_client.rb +0 -306
  47. data/lib/google/cloud/video_intelligence/v1p2beta1/video_intelligence_service_client_config.json +0 -31
  48. data/lib/google/cloud/videointelligence/v1/video_intelligence_pb.rb +0 -270
  49. data/lib/google/cloud/videointelligence/v1/video_intelligence_services_pb.rb +0 -51
  50. data/lib/google/cloud/videointelligence/v1beta2/video_intelligence_pb.rb +0 -168
  51. data/lib/google/cloud/videointelligence/v1beta2/video_intelligence_services_pb.rb +0 -50
  52. data/lib/google/cloud/videointelligence/v1p1beta1/video_intelligence_pb.rb +0 -170
  53. data/lib/google/cloud/videointelligence/v1p1beta1/video_intelligence_services_pb.rb +0 -50
  54. data/lib/google/cloud/videointelligence/v1p2beta1/video_intelligence_pb.rb +0 -191
  55. data/lib/google/cloud/videointelligence/v1p2beta1/video_intelligence_services_pb.rb +0 -51
@@ -1,50 +0,0 @@
1
- # Generated by the protocol buffer compiler. DO NOT EDIT!
2
- # Source: google/cloud/videointelligence/v1beta2/video_intelligence.proto for package 'Google::Cloud::VideoIntelligence::V1beta2'
3
- # Original file comments:
4
- # Copyright 2017 Google Inc.
5
- #
6
- # Licensed under the Apache License, Version 2.0 (the "License");
7
- # you may not use this file except in compliance with the License.
8
- # You may obtain a copy of the License at
9
- #
10
- # http://www.apache.org/licenses/LICENSE-2.0
11
- #
12
- # Unless required by applicable law or agreed to in writing, software
13
- # distributed under the License is distributed on an "AS IS" BASIS,
14
- # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15
- # See the License for the specific language governing permissions and
16
- # limitations under the License.
17
- #
18
-
19
-
20
- require 'grpc'
21
- require 'google/cloud/videointelligence/v1beta2/video_intelligence_pb'
22
-
23
- module Google
24
- module Cloud
25
- module VideoIntelligence
26
- end
27
- Videointelligence = VideoIntelligence unless const_defined? :Videointelligence
28
- end
29
- end
30
- module Google::Cloud::VideoIntelligence::V1beta2
31
- module VideoIntelligenceService
32
- # Service that implements Google Cloud Video Intelligence API.
33
- class Service
34
-
35
- include GRPC::GenericService
36
-
37
- self.marshal_class_method = :encode
38
- self.unmarshal_class_method = :decode
39
- self.service_name = 'google.cloud.videointelligence.v1beta2.VideoIntelligenceService'
40
-
41
- # Performs asynchronous video annotation. Progress and results can be
42
- # retrieved through the `google.longrunning.Operations` interface.
43
- # `Operation.metadata` contains `AnnotateVideoProgress` (progress).
44
- # `Operation.response` contains `AnnotateVideoResponse` (results).
45
- rpc :AnnotateVideo, AnnotateVideoRequest, Google::Longrunning::Operation
46
- end
47
-
48
- Stub = Service.rpc_stub_class
49
- end
50
- end
@@ -1,170 +0,0 @@
1
- # Generated by the protocol buffer compiler. DO NOT EDIT!
2
- # source: google/cloud/videointelligence/v1p1beta1/video_intelligence.proto
3
-
4
-
5
- require 'google/protobuf'
6
-
7
- require 'google/api/annotations_pb'
8
- require 'google/longrunning/operations_pb'
9
- require 'google/protobuf/duration_pb'
10
- require 'google/protobuf/timestamp_pb'
11
- require 'google/rpc/status_pb'
12
- Google::Protobuf::DescriptorPool.generated_pool.build do
13
- add_message "google.cloud.videointelligence.v1p1beta1.AnnotateVideoRequest" do
14
- optional :input_uri, :string, 1
15
- optional :input_content, :bytes, 6
16
- repeated :features, :enum, 2, "google.cloud.videointelligence.v1p1beta1.Feature"
17
- optional :video_context, :message, 3, "google.cloud.videointelligence.v1p1beta1.VideoContext"
18
- optional :output_uri, :string, 4
19
- optional :location_id, :string, 5
20
- end
21
- add_message "google.cloud.videointelligence.v1p1beta1.VideoContext" do
22
- repeated :segments, :message, 1, "google.cloud.videointelligence.v1p1beta1.VideoSegment"
23
- optional :label_detection_config, :message, 2, "google.cloud.videointelligence.v1p1beta1.LabelDetectionConfig"
24
- optional :shot_change_detection_config, :message, 3, "google.cloud.videointelligence.v1p1beta1.ShotChangeDetectionConfig"
25
- optional :explicit_content_detection_config, :message, 4, "google.cloud.videointelligence.v1p1beta1.ExplicitContentDetectionConfig"
26
- optional :speech_transcription_config, :message, 6, "google.cloud.videointelligence.v1p1beta1.SpeechTranscriptionConfig"
27
- end
28
- add_message "google.cloud.videointelligence.v1p1beta1.LabelDetectionConfig" do
29
- optional :label_detection_mode, :enum, 1, "google.cloud.videointelligence.v1p1beta1.LabelDetectionMode"
30
- optional :stationary_camera, :bool, 2
31
- optional :model, :string, 3
32
- end
33
- add_message "google.cloud.videointelligence.v1p1beta1.ShotChangeDetectionConfig" do
34
- optional :model, :string, 1
35
- end
36
- add_message "google.cloud.videointelligence.v1p1beta1.ExplicitContentDetectionConfig" do
37
- optional :model, :string, 1
38
- end
39
- add_message "google.cloud.videointelligence.v1p1beta1.VideoSegment" do
40
- optional :start_time_offset, :message, 1, "google.protobuf.Duration"
41
- optional :end_time_offset, :message, 2, "google.protobuf.Duration"
42
- end
43
- add_message "google.cloud.videointelligence.v1p1beta1.LabelSegment" do
44
- optional :segment, :message, 1, "google.cloud.videointelligence.v1p1beta1.VideoSegment"
45
- optional :confidence, :float, 2
46
- end
47
- add_message "google.cloud.videointelligence.v1p1beta1.LabelFrame" do
48
- optional :time_offset, :message, 1, "google.protobuf.Duration"
49
- optional :confidence, :float, 2
50
- end
51
- add_message "google.cloud.videointelligence.v1p1beta1.Entity" do
52
- optional :entity_id, :string, 1
53
- optional :description, :string, 2
54
- optional :language_code, :string, 3
55
- end
56
- add_message "google.cloud.videointelligence.v1p1beta1.LabelAnnotation" do
57
- optional :entity, :message, 1, "google.cloud.videointelligence.v1p1beta1.Entity"
58
- repeated :category_entities, :message, 2, "google.cloud.videointelligence.v1p1beta1.Entity"
59
- repeated :segments, :message, 3, "google.cloud.videointelligence.v1p1beta1.LabelSegment"
60
- repeated :frames, :message, 4, "google.cloud.videointelligence.v1p1beta1.LabelFrame"
61
- end
62
- add_message "google.cloud.videointelligence.v1p1beta1.ExplicitContentFrame" do
63
- optional :time_offset, :message, 1, "google.protobuf.Duration"
64
- optional :pornography_likelihood, :enum, 2, "google.cloud.videointelligence.v1p1beta1.Likelihood"
65
- end
66
- add_message "google.cloud.videointelligence.v1p1beta1.ExplicitContentAnnotation" do
67
- repeated :frames, :message, 1, "google.cloud.videointelligence.v1p1beta1.ExplicitContentFrame"
68
- end
69
- add_message "google.cloud.videointelligence.v1p1beta1.VideoAnnotationResults" do
70
- optional :input_uri, :string, 1
71
- repeated :segment_label_annotations, :message, 2, "google.cloud.videointelligence.v1p1beta1.LabelAnnotation"
72
- repeated :shot_label_annotations, :message, 3, "google.cloud.videointelligence.v1p1beta1.LabelAnnotation"
73
- repeated :frame_label_annotations, :message, 4, "google.cloud.videointelligence.v1p1beta1.LabelAnnotation"
74
- repeated :shot_annotations, :message, 6, "google.cloud.videointelligence.v1p1beta1.VideoSegment"
75
- optional :explicit_annotation, :message, 7, "google.cloud.videointelligence.v1p1beta1.ExplicitContentAnnotation"
76
- repeated :speech_transcriptions, :message, 11, "google.cloud.videointelligence.v1p1beta1.SpeechTranscription"
77
- optional :error, :message, 9, "google.rpc.Status"
78
- end
79
- add_message "google.cloud.videointelligence.v1p1beta1.AnnotateVideoResponse" do
80
- repeated :annotation_results, :message, 1, "google.cloud.videointelligence.v1p1beta1.VideoAnnotationResults"
81
- end
82
- add_message "google.cloud.videointelligence.v1p1beta1.VideoAnnotationProgress" do
83
- optional :input_uri, :string, 1
84
- optional :progress_percent, :int32, 2
85
- optional :start_time, :message, 3, "google.protobuf.Timestamp"
86
- optional :update_time, :message, 4, "google.protobuf.Timestamp"
87
- end
88
- add_message "google.cloud.videointelligence.v1p1beta1.AnnotateVideoProgress" do
89
- repeated :annotation_progress, :message, 1, "google.cloud.videointelligence.v1p1beta1.VideoAnnotationProgress"
90
- end
91
- add_message "google.cloud.videointelligence.v1p1beta1.SpeechTranscriptionConfig" do
92
- optional :language_code, :string, 1
93
- optional :max_alternatives, :int32, 2
94
- optional :filter_profanity, :bool, 3
95
- repeated :speech_contexts, :message, 4, "google.cloud.videointelligence.v1p1beta1.SpeechContext"
96
- optional :enable_automatic_punctuation, :bool, 5
97
- repeated :audio_tracks, :int32, 6
98
- end
99
- add_message "google.cloud.videointelligence.v1p1beta1.SpeechContext" do
100
- repeated :phrases, :string, 1
101
- end
102
- add_message "google.cloud.videointelligence.v1p1beta1.SpeechTranscription" do
103
- repeated :alternatives, :message, 1, "google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternative"
104
- end
105
- add_message "google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternative" do
106
- optional :transcript, :string, 1
107
- optional :confidence, :float, 2
108
- repeated :words, :message, 3, "google.cloud.videointelligence.v1p1beta1.WordInfo"
109
- end
110
- add_message "google.cloud.videointelligence.v1p1beta1.WordInfo" do
111
- optional :start_time, :message, 1, "google.protobuf.Duration"
112
- optional :end_time, :message, 2, "google.protobuf.Duration"
113
- optional :word, :string, 3
114
- end
115
- add_enum "google.cloud.videointelligence.v1p1beta1.Feature" do
116
- value :FEATURE_UNSPECIFIED, 0
117
- value :LABEL_DETECTION, 1
118
- value :SHOT_CHANGE_DETECTION, 2
119
- value :EXPLICIT_CONTENT_DETECTION, 3
120
- value :SPEECH_TRANSCRIPTION, 6
121
- end
122
- add_enum "google.cloud.videointelligence.v1p1beta1.LabelDetectionMode" do
123
- value :LABEL_DETECTION_MODE_UNSPECIFIED, 0
124
- value :SHOT_MODE, 1
125
- value :FRAME_MODE, 2
126
- value :SHOT_AND_FRAME_MODE, 3
127
- end
128
- add_enum "google.cloud.videointelligence.v1p1beta1.Likelihood" do
129
- value :LIKELIHOOD_UNSPECIFIED, 0
130
- value :VERY_UNLIKELY, 1
131
- value :UNLIKELY, 2
132
- value :POSSIBLE, 3
133
- value :LIKELY, 4
134
- value :VERY_LIKELY, 5
135
- end
136
- end
137
-
138
- module Google
139
- module Cloud
140
- module VideoIntelligence
141
- end
142
- Videointelligence = VideoIntelligence unless const_defined? :Videointelligence
143
- end
144
- end
145
- module Google::Cloud::VideoIntelligence::V1p1beta1
146
- AnnotateVideoRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.videointelligence.v1p1beta1.AnnotateVideoRequest").msgclass
147
- VideoContext = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.videointelligence.v1p1beta1.VideoContext").msgclass
148
- LabelDetectionConfig = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.videointelligence.v1p1beta1.LabelDetectionConfig").msgclass
149
- ShotChangeDetectionConfig = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.videointelligence.v1p1beta1.ShotChangeDetectionConfig").msgclass
150
- ExplicitContentDetectionConfig = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.videointelligence.v1p1beta1.ExplicitContentDetectionConfig").msgclass
151
- VideoSegment = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.videointelligence.v1p1beta1.VideoSegment").msgclass
152
- LabelSegment = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.videointelligence.v1p1beta1.LabelSegment").msgclass
153
- LabelFrame = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.videointelligence.v1p1beta1.LabelFrame").msgclass
154
- Entity = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.videointelligence.v1p1beta1.Entity").msgclass
155
- LabelAnnotation = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.videointelligence.v1p1beta1.LabelAnnotation").msgclass
156
- ExplicitContentFrame = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.videointelligence.v1p1beta1.ExplicitContentFrame").msgclass
157
- ExplicitContentAnnotation = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.videointelligence.v1p1beta1.ExplicitContentAnnotation").msgclass
158
- VideoAnnotationResults = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.videointelligence.v1p1beta1.VideoAnnotationResults").msgclass
159
- AnnotateVideoResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.videointelligence.v1p1beta1.AnnotateVideoResponse").msgclass
160
- VideoAnnotationProgress = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.videointelligence.v1p1beta1.VideoAnnotationProgress").msgclass
161
- AnnotateVideoProgress = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.videointelligence.v1p1beta1.AnnotateVideoProgress").msgclass
162
- SpeechTranscriptionConfig = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.videointelligence.v1p1beta1.SpeechTranscriptionConfig").msgclass
163
- SpeechContext = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.videointelligence.v1p1beta1.SpeechContext").msgclass
164
- SpeechTranscription = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.videointelligence.v1p1beta1.SpeechTranscription").msgclass
165
- SpeechRecognitionAlternative = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternative").msgclass
166
- WordInfo = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.videointelligence.v1p1beta1.WordInfo").msgclass
167
- Feature = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.videointelligence.v1p1beta1.Feature").enummodule
168
- LabelDetectionMode = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.videointelligence.v1p1beta1.LabelDetectionMode").enummodule
169
- Likelihood = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.videointelligence.v1p1beta1.Likelihood").enummodule
170
- end
@@ -1,50 +0,0 @@
1
- # Generated by the protocol buffer compiler. DO NOT EDIT!
2
- # Source: google/cloud/videointelligence/v1p1beta1/video_intelligence.proto for package 'Google::Cloud::VideoIntelligence::V1p1beta1'
3
- # Original file comments:
4
- # Copyright 2018 Google Inc.
5
- #
6
- # Licensed under the Apache License, Version 2.0 (the "License");
7
- # you may not use this file except in compliance with the License.
8
- # You may obtain a copy of the License at
9
- #
10
- # http://www.apache.org/licenses/LICENSE-2.0
11
- #
12
- # Unless required by applicable law or agreed to in writing, software
13
- # distributed under the License is distributed on an "AS IS" BASIS,
14
- # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15
- # See the License for the specific language governing permissions and
16
- # limitations under the License.
17
- #
18
-
19
-
20
- require 'grpc'
21
- require 'google/cloud/videointelligence/v1p1beta1/video_intelligence_pb'
22
-
23
- module Google
24
- module Cloud
25
- module VideoIntelligence
26
- end
27
- Videointelligence = VideoIntelligence unless const_defined? :Videointelligence
28
- end
29
- end
30
- module Google::Cloud::VideoIntelligence::V1p1beta1
31
- module VideoIntelligenceService
32
- # Service that implements Google Cloud Video Intelligence API.
33
- class Service
34
-
35
- include GRPC::GenericService
36
-
37
- self.marshal_class_method = :encode
38
- self.unmarshal_class_method = :decode
39
- self.service_name = 'google.cloud.videointelligence.v1p1beta1.VideoIntelligenceService'
40
-
41
- # Performs asynchronous video annotation. Progress and results can be
42
- # retrieved through the `google.longrunning.Operations` interface.
43
- # `Operation.metadata` contains `AnnotateVideoProgress` (progress).
44
- # `Operation.response` contains `AnnotateVideoResponse` (results).
45
- rpc :AnnotateVideo, AnnotateVideoRequest, Google::Longrunning::Operation
46
- end
47
-
48
- Stub = Service.rpc_stub_class
49
- end
50
- end
@@ -1,191 +0,0 @@
1
- # Generated by the protocol buffer compiler. DO NOT EDIT!
2
- # source: google/cloud/videointelligence/v1p2beta1/video_intelligence.proto
3
-
4
-
5
- require 'google/protobuf'
6
-
7
- require 'google/api/annotations_pb'
8
- require 'google/longrunning/operations_pb'
9
- require 'google/protobuf/duration_pb'
10
- require 'google/protobuf/timestamp_pb'
11
- require 'google/rpc/status_pb'
12
- Google::Protobuf::DescriptorPool.generated_pool.build do
13
- add_message "google.cloud.videointelligence.v1p2beta1.AnnotateVideoRequest" do
14
- optional :input_uri, :string, 1
15
- optional :input_content, :bytes, 6
16
- repeated :features, :enum, 2, "google.cloud.videointelligence.v1p2beta1.Feature"
17
- optional :video_context, :message, 3, "google.cloud.videointelligence.v1p2beta1.VideoContext"
18
- optional :output_uri, :string, 4
19
- optional :location_id, :string, 5
20
- end
21
- add_message "google.cloud.videointelligence.v1p2beta1.VideoContext" do
22
- repeated :segments, :message, 1, "google.cloud.videointelligence.v1p2beta1.VideoSegment"
23
- optional :label_detection_config, :message, 2, "google.cloud.videointelligence.v1p2beta1.LabelDetectionConfig"
24
- optional :shot_change_detection_config, :message, 3, "google.cloud.videointelligence.v1p2beta1.ShotChangeDetectionConfig"
25
- optional :explicit_content_detection_config, :message, 4, "google.cloud.videointelligence.v1p2beta1.ExplicitContentDetectionConfig"
26
- optional :text_detection_config, :message, 8, "google.cloud.videointelligence.v1p2beta1.TextDetectionConfig"
27
- end
28
- add_message "google.cloud.videointelligence.v1p2beta1.LabelDetectionConfig" do
29
- optional :label_detection_mode, :enum, 1, "google.cloud.videointelligence.v1p2beta1.LabelDetectionMode"
30
- optional :stationary_camera, :bool, 2
31
- optional :model, :string, 3
32
- end
33
- add_message "google.cloud.videointelligence.v1p2beta1.ShotChangeDetectionConfig" do
34
- optional :model, :string, 1
35
- end
36
- add_message "google.cloud.videointelligence.v1p2beta1.ExplicitContentDetectionConfig" do
37
- optional :model, :string, 1
38
- end
39
- add_message "google.cloud.videointelligence.v1p2beta1.TextDetectionConfig" do
40
- repeated :language_hints, :string, 1
41
- end
42
- add_message "google.cloud.videointelligence.v1p2beta1.VideoSegment" do
43
- optional :start_time_offset, :message, 1, "google.protobuf.Duration"
44
- optional :end_time_offset, :message, 2, "google.protobuf.Duration"
45
- end
46
- add_message "google.cloud.videointelligence.v1p2beta1.LabelSegment" do
47
- optional :segment, :message, 1, "google.cloud.videointelligence.v1p2beta1.VideoSegment"
48
- optional :confidence, :float, 2
49
- end
50
- add_message "google.cloud.videointelligence.v1p2beta1.LabelFrame" do
51
- optional :time_offset, :message, 1, "google.protobuf.Duration"
52
- optional :confidence, :float, 2
53
- end
54
- add_message "google.cloud.videointelligence.v1p2beta1.Entity" do
55
- optional :entity_id, :string, 1
56
- optional :description, :string, 2
57
- optional :language_code, :string, 3
58
- end
59
- add_message "google.cloud.videointelligence.v1p2beta1.LabelAnnotation" do
60
- optional :entity, :message, 1, "google.cloud.videointelligence.v1p2beta1.Entity"
61
- repeated :category_entities, :message, 2, "google.cloud.videointelligence.v1p2beta1.Entity"
62
- repeated :segments, :message, 3, "google.cloud.videointelligence.v1p2beta1.LabelSegment"
63
- repeated :frames, :message, 4, "google.cloud.videointelligence.v1p2beta1.LabelFrame"
64
- end
65
- add_message "google.cloud.videointelligence.v1p2beta1.ExplicitContentFrame" do
66
- optional :time_offset, :message, 1, "google.protobuf.Duration"
67
- optional :pornography_likelihood, :enum, 2, "google.cloud.videointelligence.v1p2beta1.Likelihood"
68
- end
69
- add_message "google.cloud.videointelligence.v1p2beta1.ExplicitContentAnnotation" do
70
- repeated :frames, :message, 1, "google.cloud.videointelligence.v1p2beta1.ExplicitContentFrame"
71
- end
72
- add_message "google.cloud.videointelligence.v1p2beta1.NormalizedBoundingBox" do
73
- optional :left, :float, 1
74
- optional :top, :float, 2
75
- optional :right, :float, 3
76
- optional :bottom, :float, 4
77
- end
78
- add_message "google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults" do
79
- optional :input_uri, :string, 1
80
- repeated :segment_label_annotations, :message, 2, "google.cloud.videointelligence.v1p2beta1.LabelAnnotation"
81
- repeated :shot_label_annotations, :message, 3, "google.cloud.videointelligence.v1p2beta1.LabelAnnotation"
82
- repeated :frame_label_annotations, :message, 4, "google.cloud.videointelligence.v1p2beta1.LabelAnnotation"
83
- repeated :shot_annotations, :message, 6, "google.cloud.videointelligence.v1p2beta1.VideoSegment"
84
- optional :explicit_annotation, :message, 7, "google.cloud.videointelligence.v1p2beta1.ExplicitContentAnnotation"
85
- repeated :text_annotations, :message, 12, "google.cloud.videointelligence.v1p2beta1.TextAnnotation"
86
- repeated :object_annotations, :message, 14, "google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotation"
87
- optional :error, :message, 9, "google.rpc.Status"
88
- end
89
- add_message "google.cloud.videointelligence.v1p2beta1.AnnotateVideoResponse" do
90
- repeated :annotation_results, :message, 1, "google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults"
91
- end
92
- add_message "google.cloud.videointelligence.v1p2beta1.VideoAnnotationProgress" do
93
- optional :input_uri, :string, 1
94
- optional :progress_percent, :int32, 2
95
- optional :start_time, :message, 3, "google.protobuf.Timestamp"
96
- optional :update_time, :message, 4, "google.protobuf.Timestamp"
97
- end
98
- add_message "google.cloud.videointelligence.v1p2beta1.AnnotateVideoProgress" do
99
- repeated :annotation_progress, :message, 1, "google.cloud.videointelligence.v1p2beta1.VideoAnnotationProgress"
100
- end
101
- add_message "google.cloud.videointelligence.v1p2beta1.NormalizedVertex" do
102
- optional :x, :float, 1
103
- optional :y, :float, 2
104
- end
105
- add_message "google.cloud.videointelligence.v1p2beta1.NormalizedBoundingPoly" do
106
- repeated :vertices, :message, 1, "google.cloud.videointelligence.v1p2beta1.NormalizedVertex"
107
- end
108
- add_message "google.cloud.videointelligence.v1p2beta1.TextSegment" do
109
- optional :segment, :message, 1, "google.cloud.videointelligence.v1p2beta1.VideoSegment"
110
- optional :confidence, :float, 2
111
- repeated :frames, :message, 3, "google.cloud.videointelligence.v1p2beta1.TextFrame"
112
- end
113
- add_message "google.cloud.videointelligence.v1p2beta1.TextFrame" do
114
- optional :rotated_bounding_box, :message, 1, "google.cloud.videointelligence.v1p2beta1.NormalizedBoundingPoly"
115
- optional :time_offset, :message, 2, "google.protobuf.Duration"
116
- end
117
- add_message "google.cloud.videointelligence.v1p2beta1.TextAnnotation" do
118
- optional :text, :string, 1
119
- repeated :segments, :message, 2, "google.cloud.videointelligence.v1p2beta1.TextSegment"
120
- end
121
- add_message "google.cloud.videointelligence.v1p2beta1.ObjectTrackingFrame" do
122
- optional :normalized_bounding_box, :message, 1, "google.cloud.videointelligence.v1p2beta1.NormalizedBoundingBox"
123
- optional :time_offset, :message, 2, "google.protobuf.Duration"
124
- end
125
- add_message "google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotation" do
126
- optional :entity, :message, 1, "google.cloud.videointelligence.v1p2beta1.Entity"
127
- optional :confidence, :float, 4
128
- repeated :frames, :message, 2, "google.cloud.videointelligence.v1p2beta1.ObjectTrackingFrame"
129
- optional :segment, :message, 3, "google.cloud.videointelligence.v1p2beta1.VideoSegment"
130
- end
131
- add_enum "google.cloud.videointelligence.v1p2beta1.Feature" do
132
- value :FEATURE_UNSPECIFIED, 0
133
- value :LABEL_DETECTION, 1
134
- value :SHOT_CHANGE_DETECTION, 2
135
- value :EXPLICIT_CONTENT_DETECTION, 3
136
- value :TEXT_DETECTION, 7
137
- value :OBJECT_TRACKING, 9
138
- end
139
- add_enum "google.cloud.videointelligence.v1p2beta1.LabelDetectionMode" do
140
- value :LABEL_DETECTION_MODE_UNSPECIFIED, 0
141
- value :SHOT_MODE, 1
142
- value :FRAME_MODE, 2
143
- value :SHOT_AND_FRAME_MODE, 3
144
- end
145
- add_enum "google.cloud.videointelligence.v1p2beta1.Likelihood" do
146
- value :LIKELIHOOD_UNSPECIFIED, 0
147
- value :VERY_UNLIKELY, 1
148
- value :UNLIKELY, 2
149
- value :POSSIBLE, 3
150
- value :LIKELY, 4
151
- value :VERY_LIKELY, 5
152
- end
153
- end
154
-
155
- module Google
156
- module Cloud
157
- module VideoIntelligence
158
- end
159
- Videointelligence = VideoIntelligence unless const_defined? :Videointelligence
160
- end
161
- end
162
- module Google::Cloud::VideoIntelligence::V1p2beta1
163
- AnnotateVideoRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.videointelligence.v1p2beta1.AnnotateVideoRequest").msgclass
164
- VideoContext = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.videointelligence.v1p2beta1.VideoContext").msgclass
165
- LabelDetectionConfig = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.videointelligence.v1p2beta1.LabelDetectionConfig").msgclass
166
- ShotChangeDetectionConfig = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.videointelligence.v1p2beta1.ShotChangeDetectionConfig").msgclass
167
- ExplicitContentDetectionConfig = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.videointelligence.v1p2beta1.ExplicitContentDetectionConfig").msgclass
168
- TextDetectionConfig = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.videointelligence.v1p2beta1.TextDetectionConfig").msgclass
169
- VideoSegment = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.videointelligence.v1p2beta1.VideoSegment").msgclass
170
- LabelSegment = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.videointelligence.v1p2beta1.LabelSegment").msgclass
171
- LabelFrame = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.videointelligence.v1p2beta1.LabelFrame").msgclass
172
- Entity = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.videointelligence.v1p2beta1.Entity").msgclass
173
- LabelAnnotation = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.videointelligence.v1p2beta1.LabelAnnotation").msgclass
174
- ExplicitContentFrame = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.videointelligence.v1p2beta1.ExplicitContentFrame").msgclass
175
- ExplicitContentAnnotation = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.videointelligence.v1p2beta1.ExplicitContentAnnotation").msgclass
176
- NormalizedBoundingBox = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.videointelligence.v1p2beta1.NormalizedBoundingBox").msgclass
177
- VideoAnnotationResults = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults").msgclass
178
- AnnotateVideoResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.videointelligence.v1p2beta1.AnnotateVideoResponse").msgclass
179
- VideoAnnotationProgress = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.videointelligence.v1p2beta1.VideoAnnotationProgress").msgclass
180
- AnnotateVideoProgress = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.videointelligence.v1p2beta1.AnnotateVideoProgress").msgclass
181
- NormalizedVertex = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.videointelligence.v1p2beta1.NormalizedVertex").msgclass
182
- NormalizedBoundingPoly = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.videointelligence.v1p2beta1.NormalizedBoundingPoly").msgclass
183
- TextSegment = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.videointelligence.v1p2beta1.TextSegment").msgclass
184
- TextFrame = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.videointelligence.v1p2beta1.TextFrame").msgclass
185
- TextAnnotation = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.videointelligence.v1p2beta1.TextAnnotation").msgclass
186
- ObjectTrackingFrame = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.videointelligence.v1p2beta1.ObjectTrackingFrame").msgclass
187
- ObjectTrackingAnnotation = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotation").msgclass
188
- Feature = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.videointelligence.v1p2beta1.Feature").enummodule
189
- LabelDetectionMode = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.videointelligence.v1p2beta1.LabelDetectionMode").enummodule
190
- Likelihood = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.videointelligence.v1p2beta1.Likelihood").enummodule
191
- end