google-cloud-video_intelligence 2.1.1 → 3.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (55) hide show
  1. checksums.yaml +4 -4
  2. data/.yardopts +2 -1
  3. data/AUTHENTICATION.md +51 -54
  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 -789
  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 -309
  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 -309
  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 -309
  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 -309
  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 -304
  49. data/lib/google/cloud/videointelligence/v1/video_intelligence_services_pb.rb +0 -50
  50. data/lib/google/cloud/videointelligence/v1beta2/video_intelligence_pb.rb +0 -170
  51. data/lib/google/cloud/videointelligence/v1beta2/video_intelligence_services_pb.rb +0 -51
  52. data/lib/google/cloud/videointelligence/v1p1beta1/video_intelligence_pb.rb +0 -172
  53. data/lib/google/cloud/videointelligence/v1p1beta1/video_intelligence_services_pb.rb +0 -51
  54. data/lib/google/cloud/videointelligence/v1p2beta1/video_intelligence_pb.rb +0 -193
  55. data/lib/google/cloud/videointelligence/v1p2beta1/video_intelligence_services_pb.rb +0 -51
@@ -1,51 +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 2019 Google LLC.
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
-
21
- require 'grpc'
22
- require 'google/cloud/videointelligence/v1beta2/video_intelligence_pb'
23
-
24
- module Google
25
- module Cloud
26
- module VideoIntelligence
27
- end
28
- Videointelligence = VideoIntelligence unless const_defined? :Videointelligence
29
- end
30
- end
31
- module Google::Cloud::VideoIntelligence::V1beta2
32
- module VideoIntelligenceService
33
- # Service that implements Google Cloud Video Intelligence API.
34
- class Service
35
-
36
- include GRPC::GenericService
37
-
38
- self.marshal_class_method = :encode
39
- self.unmarshal_class_method = :decode
40
- self.service_name = 'google.cloud.videointelligence.v1beta2.VideoIntelligenceService'
41
-
42
- # Performs asynchronous video annotation. Progress and results can be
43
- # retrieved through the `google.longrunning.Operations` interface.
44
- # `Operation.metadata` contains `AnnotateVideoProgress` (progress).
45
- # `Operation.response` contains `AnnotateVideoResponse` (results).
46
- rpc :AnnotateVideo, AnnotateVideoRequest, Google::Longrunning::Operation
47
- end
48
-
49
- Stub = Service.rpc_stub_class
50
- end
51
- end
@@ -1,172 +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/api/client_pb'
9
- require 'google/api/field_behavior_pb'
10
- require 'google/longrunning/operations_pb'
11
- require 'google/protobuf/duration_pb'
12
- require 'google/protobuf/timestamp_pb'
13
- require 'google/rpc/status_pb'
14
- Google::Protobuf::DescriptorPool.generated_pool.build do
15
- add_message "google.cloud.videointelligence.v1p1beta1.AnnotateVideoRequest" do
16
- optional :input_uri, :string, 1
17
- optional :input_content, :bytes, 6
18
- repeated :features, :enum, 2, "google.cloud.videointelligence.v1p1beta1.Feature"
19
- optional :video_context, :message, 3, "google.cloud.videointelligence.v1p1beta1.VideoContext"
20
- optional :output_uri, :string, 4
21
- optional :location_id, :string, 5
22
- end
23
- add_message "google.cloud.videointelligence.v1p1beta1.VideoContext" do
24
- repeated :segments, :message, 1, "google.cloud.videointelligence.v1p1beta1.VideoSegment"
25
- optional :label_detection_config, :message, 2, "google.cloud.videointelligence.v1p1beta1.LabelDetectionConfig"
26
- optional :shot_change_detection_config, :message, 3, "google.cloud.videointelligence.v1p1beta1.ShotChangeDetectionConfig"
27
- optional :explicit_content_detection_config, :message, 4, "google.cloud.videointelligence.v1p1beta1.ExplicitContentDetectionConfig"
28
- optional :speech_transcription_config, :message, 6, "google.cloud.videointelligence.v1p1beta1.SpeechTranscriptionConfig"
29
- end
30
- add_message "google.cloud.videointelligence.v1p1beta1.LabelDetectionConfig" do
31
- optional :label_detection_mode, :enum, 1, "google.cloud.videointelligence.v1p1beta1.LabelDetectionMode"
32
- optional :stationary_camera, :bool, 2
33
- optional :model, :string, 3
34
- end
35
- add_message "google.cloud.videointelligence.v1p1beta1.ShotChangeDetectionConfig" do
36
- optional :model, :string, 1
37
- end
38
- add_message "google.cloud.videointelligence.v1p1beta1.ExplicitContentDetectionConfig" do
39
- optional :model, :string, 1
40
- end
41
- add_message "google.cloud.videointelligence.v1p1beta1.VideoSegment" do
42
- optional :start_time_offset, :message, 1, "google.protobuf.Duration"
43
- optional :end_time_offset, :message, 2, "google.protobuf.Duration"
44
- end
45
- add_message "google.cloud.videointelligence.v1p1beta1.LabelSegment" do
46
- optional :segment, :message, 1, "google.cloud.videointelligence.v1p1beta1.VideoSegment"
47
- optional :confidence, :float, 2
48
- end
49
- add_message "google.cloud.videointelligence.v1p1beta1.LabelFrame" do
50
- optional :time_offset, :message, 1, "google.protobuf.Duration"
51
- optional :confidence, :float, 2
52
- end
53
- add_message "google.cloud.videointelligence.v1p1beta1.Entity" do
54
- optional :entity_id, :string, 1
55
- optional :description, :string, 2
56
- optional :language_code, :string, 3
57
- end
58
- add_message "google.cloud.videointelligence.v1p1beta1.LabelAnnotation" do
59
- optional :entity, :message, 1, "google.cloud.videointelligence.v1p1beta1.Entity"
60
- repeated :category_entities, :message, 2, "google.cloud.videointelligence.v1p1beta1.Entity"
61
- repeated :segments, :message, 3, "google.cloud.videointelligence.v1p1beta1.LabelSegment"
62
- repeated :frames, :message, 4, "google.cloud.videointelligence.v1p1beta1.LabelFrame"
63
- end
64
- add_message "google.cloud.videointelligence.v1p1beta1.ExplicitContentFrame" do
65
- optional :time_offset, :message, 1, "google.protobuf.Duration"
66
- optional :pornography_likelihood, :enum, 2, "google.cloud.videointelligence.v1p1beta1.Likelihood"
67
- end
68
- add_message "google.cloud.videointelligence.v1p1beta1.ExplicitContentAnnotation" do
69
- repeated :frames, :message, 1, "google.cloud.videointelligence.v1p1beta1.ExplicitContentFrame"
70
- end
71
- add_message "google.cloud.videointelligence.v1p1beta1.VideoAnnotationResults" do
72
- optional :input_uri, :string, 1
73
- repeated :segment_label_annotations, :message, 2, "google.cloud.videointelligence.v1p1beta1.LabelAnnotation"
74
- repeated :shot_label_annotations, :message, 3, "google.cloud.videointelligence.v1p1beta1.LabelAnnotation"
75
- repeated :frame_label_annotations, :message, 4, "google.cloud.videointelligence.v1p1beta1.LabelAnnotation"
76
- repeated :shot_annotations, :message, 6, "google.cloud.videointelligence.v1p1beta1.VideoSegment"
77
- optional :explicit_annotation, :message, 7, "google.cloud.videointelligence.v1p1beta1.ExplicitContentAnnotation"
78
- repeated :speech_transcriptions, :message, 11, "google.cloud.videointelligence.v1p1beta1.SpeechTranscription"
79
- optional :error, :message, 9, "google.rpc.Status"
80
- end
81
- add_message "google.cloud.videointelligence.v1p1beta1.AnnotateVideoResponse" do
82
- repeated :annotation_results, :message, 1, "google.cloud.videointelligence.v1p1beta1.VideoAnnotationResults"
83
- end
84
- add_message "google.cloud.videointelligence.v1p1beta1.VideoAnnotationProgress" do
85
- optional :input_uri, :string, 1
86
- optional :progress_percent, :int32, 2
87
- optional :start_time, :message, 3, "google.protobuf.Timestamp"
88
- optional :update_time, :message, 4, "google.protobuf.Timestamp"
89
- end
90
- add_message "google.cloud.videointelligence.v1p1beta1.AnnotateVideoProgress" do
91
- repeated :annotation_progress, :message, 1, "google.cloud.videointelligence.v1p1beta1.VideoAnnotationProgress"
92
- end
93
- add_message "google.cloud.videointelligence.v1p1beta1.SpeechTranscriptionConfig" do
94
- optional :language_code, :string, 1
95
- optional :max_alternatives, :int32, 2
96
- optional :filter_profanity, :bool, 3
97
- repeated :speech_contexts, :message, 4, "google.cloud.videointelligence.v1p1beta1.SpeechContext"
98
- optional :enable_automatic_punctuation, :bool, 5
99
- repeated :audio_tracks, :int32, 6
100
- end
101
- add_message "google.cloud.videointelligence.v1p1beta1.SpeechContext" do
102
- repeated :phrases, :string, 1
103
- end
104
- add_message "google.cloud.videointelligence.v1p1beta1.SpeechTranscription" do
105
- repeated :alternatives, :message, 1, "google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternative"
106
- end
107
- add_message "google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternative" do
108
- optional :transcript, :string, 1
109
- optional :confidence, :float, 2
110
- repeated :words, :message, 3, "google.cloud.videointelligence.v1p1beta1.WordInfo"
111
- end
112
- add_message "google.cloud.videointelligence.v1p1beta1.WordInfo" do
113
- optional :start_time, :message, 1, "google.protobuf.Duration"
114
- optional :end_time, :message, 2, "google.protobuf.Duration"
115
- optional :word, :string, 3
116
- end
117
- add_enum "google.cloud.videointelligence.v1p1beta1.Feature" do
118
- value :FEATURE_UNSPECIFIED, 0
119
- value :LABEL_DETECTION, 1
120
- value :SHOT_CHANGE_DETECTION, 2
121
- value :EXPLICIT_CONTENT_DETECTION, 3
122
- value :SPEECH_TRANSCRIPTION, 6
123
- end
124
- add_enum "google.cloud.videointelligence.v1p1beta1.LabelDetectionMode" do
125
- value :LABEL_DETECTION_MODE_UNSPECIFIED, 0
126
- value :SHOT_MODE, 1
127
- value :FRAME_MODE, 2
128
- value :SHOT_AND_FRAME_MODE, 3
129
- end
130
- add_enum "google.cloud.videointelligence.v1p1beta1.Likelihood" do
131
- value :LIKELIHOOD_UNSPECIFIED, 0
132
- value :VERY_UNLIKELY, 1
133
- value :UNLIKELY, 2
134
- value :POSSIBLE, 3
135
- value :LIKELY, 4
136
- value :VERY_LIKELY, 5
137
- end
138
- end
139
-
140
- module Google
141
- module Cloud
142
- module VideoIntelligence
143
- end
144
- Videointelligence = VideoIntelligence unless const_defined? :Videointelligence
145
- end
146
- end
147
- module Google::Cloud::VideoIntelligence::V1p1beta1
148
- AnnotateVideoRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.videointelligence.v1p1beta1.AnnotateVideoRequest").msgclass
149
- VideoContext = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.videointelligence.v1p1beta1.VideoContext").msgclass
150
- LabelDetectionConfig = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.videointelligence.v1p1beta1.LabelDetectionConfig").msgclass
151
- ShotChangeDetectionConfig = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.videointelligence.v1p1beta1.ShotChangeDetectionConfig").msgclass
152
- ExplicitContentDetectionConfig = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.videointelligence.v1p1beta1.ExplicitContentDetectionConfig").msgclass
153
- VideoSegment = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.videointelligence.v1p1beta1.VideoSegment").msgclass
154
- LabelSegment = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.videointelligence.v1p1beta1.LabelSegment").msgclass
155
- LabelFrame = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.videointelligence.v1p1beta1.LabelFrame").msgclass
156
- Entity = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.videointelligence.v1p1beta1.Entity").msgclass
157
- LabelAnnotation = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.videointelligence.v1p1beta1.LabelAnnotation").msgclass
158
- ExplicitContentFrame = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.videointelligence.v1p1beta1.ExplicitContentFrame").msgclass
159
- ExplicitContentAnnotation = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.videointelligence.v1p1beta1.ExplicitContentAnnotation").msgclass
160
- VideoAnnotationResults = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.videointelligence.v1p1beta1.VideoAnnotationResults").msgclass
161
- AnnotateVideoResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.videointelligence.v1p1beta1.AnnotateVideoResponse").msgclass
162
- VideoAnnotationProgress = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.videointelligence.v1p1beta1.VideoAnnotationProgress").msgclass
163
- AnnotateVideoProgress = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.videointelligence.v1p1beta1.AnnotateVideoProgress").msgclass
164
- SpeechTranscriptionConfig = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.videointelligence.v1p1beta1.SpeechTranscriptionConfig").msgclass
165
- SpeechContext = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.videointelligence.v1p1beta1.SpeechContext").msgclass
166
- SpeechTranscription = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.videointelligence.v1p1beta1.SpeechTranscription").msgclass
167
- SpeechRecognitionAlternative = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternative").msgclass
168
- WordInfo = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.videointelligence.v1p1beta1.WordInfo").msgclass
169
- Feature = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.videointelligence.v1p1beta1.Feature").enummodule
170
- LabelDetectionMode = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.videointelligence.v1p1beta1.LabelDetectionMode").enummodule
171
- Likelihood = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.videointelligence.v1p1beta1.Likelihood").enummodule
172
- end
@@ -1,51 +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 2019 Google LLC.
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
-
21
- require 'grpc'
22
- require 'google/cloud/videointelligence/v1p1beta1/video_intelligence_pb'
23
-
24
- module Google
25
- module Cloud
26
- module VideoIntelligence
27
- end
28
- Videointelligence = VideoIntelligence unless const_defined? :Videointelligence
29
- end
30
- end
31
- module Google::Cloud::VideoIntelligence::V1p1beta1
32
- module VideoIntelligenceService
33
- # Service that implements Google Cloud Video Intelligence API.
34
- class Service
35
-
36
- include GRPC::GenericService
37
-
38
- self.marshal_class_method = :encode
39
- self.unmarshal_class_method = :decode
40
- self.service_name = 'google.cloud.videointelligence.v1p1beta1.VideoIntelligenceService'
41
-
42
- # Performs asynchronous video annotation. Progress and results can be
43
- # retrieved through the `google.longrunning.Operations` interface.
44
- # `Operation.metadata` contains `AnnotateVideoProgress` (progress).
45
- # `Operation.response` contains `AnnotateVideoResponse` (results).
46
- rpc :AnnotateVideo, AnnotateVideoRequest, Google::Longrunning::Operation
47
- end
48
-
49
- Stub = Service.rpc_stub_class
50
- end
51
- end
@@ -1,193 +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/api/client_pb'
9
- require 'google/api/field_behavior_pb'
10
- require 'google/longrunning/operations_pb'
11
- require 'google/protobuf/duration_pb'
12
- require 'google/protobuf/timestamp_pb'
13
- require 'google/rpc/status_pb'
14
- Google::Protobuf::DescriptorPool.generated_pool.build do
15
- add_message "google.cloud.videointelligence.v1p2beta1.AnnotateVideoRequest" do
16
- optional :input_uri, :string, 1
17
- optional :input_content, :bytes, 6
18
- repeated :features, :enum, 2, "google.cloud.videointelligence.v1p2beta1.Feature"
19
- optional :video_context, :message, 3, "google.cloud.videointelligence.v1p2beta1.VideoContext"
20
- optional :output_uri, :string, 4
21
- optional :location_id, :string, 5
22
- end
23
- add_message "google.cloud.videointelligence.v1p2beta1.VideoContext" do
24
- repeated :segments, :message, 1, "google.cloud.videointelligence.v1p2beta1.VideoSegment"
25
- optional :label_detection_config, :message, 2, "google.cloud.videointelligence.v1p2beta1.LabelDetectionConfig"
26
- optional :shot_change_detection_config, :message, 3, "google.cloud.videointelligence.v1p2beta1.ShotChangeDetectionConfig"
27
- optional :explicit_content_detection_config, :message, 4, "google.cloud.videointelligence.v1p2beta1.ExplicitContentDetectionConfig"
28
- optional :text_detection_config, :message, 8, "google.cloud.videointelligence.v1p2beta1.TextDetectionConfig"
29
- end
30
- add_message "google.cloud.videointelligence.v1p2beta1.LabelDetectionConfig" do
31
- optional :label_detection_mode, :enum, 1, "google.cloud.videointelligence.v1p2beta1.LabelDetectionMode"
32
- optional :stationary_camera, :bool, 2
33
- optional :model, :string, 3
34
- end
35
- add_message "google.cloud.videointelligence.v1p2beta1.ShotChangeDetectionConfig" do
36
- optional :model, :string, 1
37
- end
38
- add_message "google.cloud.videointelligence.v1p2beta1.ExplicitContentDetectionConfig" do
39
- optional :model, :string, 1
40
- end
41
- add_message "google.cloud.videointelligence.v1p2beta1.TextDetectionConfig" do
42
- repeated :language_hints, :string, 1
43
- end
44
- add_message "google.cloud.videointelligence.v1p2beta1.VideoSegment" do
45
- optional :start_time_offset, :message, 1, "google.protobuf.Duration"
46
- optional :end_time_offset, :message, 2, "google.protobuf.Duration"
47
- end
48
- add_message "google.cloud.videointelligence.v1p2beta1.LabelSegment" do
49
- optional :segment, :message, 1, "google.cloud.videointelligence.v1p2beta1.VideoSegment"
50
- optional :confidence, :float, 2
51
- end
52
- add_message "google.cloud.videointelligence.v1p2beta1.LabelFrame" do
53
- optional :time_offset, :message, 1, "google.protobuf.Duration"
54
- optional :confidence, :float, 2
55
- end
56
- add_message "google.cloud.videointelligence.v1p2beta1.Entity" do
57
- optional :entity_id, :string, 1
58
- optional :description, :string, 2
59
- optional :language_code, :string, 3
60
- end
61
- add_message "google.cloud.videointelligence.v1p2beta1.LabelAnnotation" do
62
- optional :entity, :message, 1, "google.cloud.videointelligence.v1p2beta1.Entity"
63
- repeated :category_entities, :message, 2, "google.cloud.videointelligence.v1p2beta1.Entity"
64
- repeated :segments, :message, 3, "google.cloud.videointelligence.v1p2beta1.LabelSegment"
65
- repeated :frames, :message, 4, "google.cloud.videointelligence.v1p2beta1.LabelFrame"
66
- end
67
- add_message "google.cloud.videointelligence.v1p2beta1.ExplicitContentFrame" do
68
- optional :time_offset, :message, 1, "google.protobuf.Duration"
69
- optional :pornography_likelihood, :enum, 2, "google.cloud.videointelligence.v1p2beta1.Likelihood"
70
- end
71
- add_message "google.cloud.videointelligence.v1p2beta1.ExplicitContentAnnotation" do
72
- repeated :frames, :message, 1, "google.cloud.videointelligence.v1p2beta1.ExplicitContentFrame"
73
- end
74
- add_message "google.cloud.videointelligence.v1p2beta1.NormalizedBoundingBox" do
75
- optional :left, :float, 1
76
- optional :top, :float, 2
77
- optional :right, :float, 3
78
- optional :bottom, :float, 4
79
- end
80
- add_message "google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults" do
81
- optional :input_uri, :string, 1
82
- repeated :segment_label_annotations, :message, 2, "google.cloud.videointelligence.v1p2beta1.LabelAnnotation"
83
- repeated :shot_label_annotations, :message, 3, "google.cloud.videointelligence.v1p2beta1.LabelAnnotation"
84
- repeated :frame_label_annotations, :message, 4, "google.cloud.videointelligence.v1p2beta1.LabelAnnotation"
85
- repeated :shot_annotations, :message, 6, "google.cloud.videointelligence.v1p2beta1.VideoSegment"
86
- optional :explicit_annotation, :message, 7, "google.cloud.videointelligence.v1p2beta1.ExplicitContentAnnotation"
87
- repeated :text_annotations, :message, 12, "google.cloud.videointelligence.v1p2beta1.TextAnnotation"
88
- repeated :object_annotations, :message, 14, "google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotation"
89
- optional :error, :message, 9, "google.rpc.Status"
90
- end
91
- add_message "google.cloud.videointelligence.v1p2beta1.AnnotateVideoResponse" do
92
- repeated :annotation_results, :message, 1, "google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults"
93
- end
94
- add_message "google.cloud.videointelligence.v1p2beta1.VideoAnnotationProgress" do
95
- optional :input_uri, :string, 1
96
- optional :progress_percent, :int32, 2
97
- optional :start_time, :message, 3, "google.protobuf.Timestamp"
98
- optional :update_time, :message, 4, "google.protobuf.Timestamp"
99
- end
100
- add_message "google.cloud.videointelligence.v1p2beta1.AnnotateVideoProgress" do
101
- repeated :annotation_progress, :message, 1, "google.cloud.videointelligence.v1p2beta1.VideoAnnotationProgress"
102
- end
103
- add_message "google.cloud.videointelligence.v1p2beta1.NormalizedVertex" do
104
- optional :x, :float, 1
105
- optional :y, :float, 2
106
- end
107
- add_message "google.cloud.videointelligence.v1p2beta1.NormalizedBoundingPoly" do
108
- repeated :vertices, :message, 1, "google.cloud.videointelligence.v1p2beta1.NormalizedVertex"
109
- end
110
- add_message "google.cloud.videointelligence.v1p2beta1.TextSegment" do
111
- optional :segment, :message, 1, "google.cloud.videointelligence.v1p2beta1.VideoSegment"
112
- optional :confidence, :float, 2
113
- repeated :frames, :message, 3, "google.cloud.videointelligence.v1p2beta1.TextFrame"
114
- end
115
- add_message "google.cloud.videointelligence.v1p2beta1.TextFrame" do
116
- optional :rotated_bounding_box, :message, 1, "google.cloud.videointelligence.v1p2beta1.NormalizedBoundingPoly"
117
- optional :time_offset, :message, 2, "google.protobuf.Duration"
118
- end
119
- add_message "google.cloud.videointelligence.v1p2beta1.TextAnnotation" do
120
- optional :text, :string, 1
121
- repeated :segments, :message, 2, "google.cloud.videointelligence.v1p2beta1.TextSegment"
122
- end
123
- add_message "google.cloud.videointelligence.v1p2beta1.ObjectTrackingFrame" do
124
- optional :normalized_bounding_box, :message, 1, "google.cloud.videointelligence.v1p2beta1.NormalizedBoundingBox"
125
- optional :time_offset, :message, 2, "google.protobuf.Duration"
126
- end
127
- add_message "google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotation" do
128
- optional :entity, :message, 1, "google.cloud.videointelligence.v1p2beta1.Entity"
129
- optional :confidence, :float, 4
130
- repeated :frames, :message, 2, "google.cloud.videointelligence.v1p2beta1.ObjectTrackingFrame"
131
- optional :segment, :message, 3, "google.cloud.videointelligence.v1p2beta1.VideoSegment"
132
- end
133
- add_enum "google.cloud.videointelligence.v1p2beta1.Feature" do
134
- value :FEATURE_UNSPECIFIED, 0
135
- value :LABEL_DETECTION, 1
136
- value :SHOT_CHANGE_DETECTION, 2
137
- value :EXPLICIT_CONTENT_DETECTION, 3
138
- value :TEXT_DETECTION, 7
139
- value :OBJECT_TRACKING, 9
140
- end
141
- add_enum "google.cloud.videointelligence.v1p2beta1.LabelDetectionMode" do
142
- value :LABEL_DETECTION_MODE_UNSPECIFIED, 0
143
- value :SHOT_MODE, 1
144
- value :FRAME_MODE, 2
145
- value :SHOT_AND_FRAME_MODE, 3
146
- end
147
- add_enum "google.cloud.videointelligence.v1p2beta1.Likelihood" do
148
- value :LIKELIHOOD_UNSPECIFIED, 0
149
- value :VERY_UNLIKELY, 1
150
- value :UNLIKELY, 2
151
- value :POSSIBLE, 3
152
- value :LIKELY, 4
153
- value :VERY_LIKELY, 5
154
- end
155
- end
156
-
157
- module Google
158
- module Cloud
159
- module VideoIntelligence
160
- end
161
- Videointelligence = VideoIntelligence unless const_defined? :Videointelligence
162
- end
163
- end
164
- module Google::Cloud::VideoIntelligence::V1p2beta1
165
- AnnotateVideoRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.videointelligence.v1p2beta1.AnnotateVideoRequest").msgclass
166
- VideoContext = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.videointelligence.v1p2beta1.VideoContext").msgclass
167
- LabelDetectionConfig = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.videointelligence.v1p2beta1.LabelDetectionConfig").msgclass
168
- ShotChangeDetectionConfig = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.videointelligence.v1p2beta1.ShotChangeDetectionConfig").msgclass
169
- ExplicitContentDetectionConfig = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.videointelligence.v1p2beta1.ExplicitContentDetectionConfig").msgclass
170
- TextDetectionConfig = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.videointelligence.v1p2beta1.TextDetectionConfig").msgclass
171
- VideoSegment = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.videointelligence.v1p2beta1.VideoSegment").msgclass
172
- LabelSegment = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.videointelligence.v1p2beta1.LabelSegment").msgclass
173
- LabelFrame = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.videointelligence.v1p2beta1.LabelFrame").msgclass
174
- Entity = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.videointelligence.v1p2beta1.Entity").msgclass
175
- LabelAnnotation = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.videointelligence.v1p2beta1.LabelAnnotation").msgclass
176
- ExplicitContentFrame = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.videointelligence.v1p2beta1.ExplicitContentFrame").msgclass
177
- ExplicitContentAnnotation = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.videointelligence.v1p2beta1.ExplicitContentAnnotation").msgclass
178
- NormalizedBoundingBox = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.videointelligence.v1p2beta1.NormalizedBoundingBox").msgclass
179
- VideoAnnotationResults = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults").msgclass
180
- AnnotateVideoResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.videointelligence.v1p2beta1.AnnotateVideoResponse").msgclass
181
- VideoAnnotationProgress = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.videointelligence.v1p2beta1.VideoAnnotationProgress").msgclass
182
- AnnotateVideoProgress = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.videointelligence.v1p2beta1.AnnotateVideoProgress").msgclass
183
- NormalizedVertex = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.videointelligence.v1p2beta1.NormalizedVertex").msgclass
184
- NormalizedBoundingPoly = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.videointelligence.v1p2beta1.NormalizedBoundingPoly").msgclass
185
- TextSegment = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.videointelligence.v1p2beta1.TextSegment").msgclass
186
- TextFrame = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.videointelligence.v1p2beta1.TextFrame").msgclass
187
- TextAnnotation = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.videointelligence.v1p2beta1.TextAnnotation").msgclass
188
- ObjectTrackingFrame = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.videointelligence.v1p2beta1.ObjectTrackingFrame").msgclass
189
- ObjectTrackingAnnotation = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotation").msgclass
190
- Feature = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.videointelligence.v1p2beta1.Feature").enummodule
191
- LabelDetectionMode = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.videointelligence.v1p2beta1.LabelDetectionMode").enummodule
192
- Likelihood = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.videointelligence.v1p2beta1.Likelihood").enummodule
193
- end