google-cloud-video_intelligence 1.1.3 → 1.1.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (44) hide show
  1. checksums.yaml +4 -4
  2. data/lib/google/cloud/video_intelligence.rb +1 -1
  3. data/lib/google/cloud/video_intelligence/v1.rb +1 -1
  4. data/lib/google/cloud/video_intelligence/v1/credentials.rb +1 -1
  5. data/lib/google/cloud/video_intelligence/v1/doc/google/cloud/videointelligence/v1/video_intelligence.rb +139 -7
  6. data/lib/google/cloud/video_intelligence/v1/doc/google/longrunning/operations.rb +1 -43
  7. data/lib/google/cloud/video_intelligence/v1/doc/google/protobuf/any.rb +1 -1
  8. data/lib/google/cloud/video_intelligence/v1/doc/google/protobuf/duration.rb +1 -1
  9. data/lib/google/cloud/video_intelligence/v1/doc/google/rpc/status.rb +18 -15
  10. data/lib/google/cloud/video_intelligence/v1/video_intelligence_service_client.rb +7 -7
  11. data/lib/google/cloud/video_intelligence/v1beta1.rb +1 -1
  12. data/lib/google/cloud/video_intelligence/v1beta1/credentials.rb +1 -1
  13. data/lib/google/cloud/video_intelligence/v1beta1/doc/google/cloud/videointelligence/v1beta1/video_intelligence.rb +22 -22
  14. data/lib/google/cloud/video_intelligence/v1beta1/doc/google/longrunning/operations.rb +1 -43
  15. data/lib/google/cloud/video_intelligence/v1beta1/doc/google/protobuf/any.rb +1 -1
  16. data/lib/google/cloud/video_intelligence/v1beta1/doc/google/rpc/status.rb +18 -15
  17. data/lib/google/cloud/video_intelligence/v1beta1/video_intelligence_service_client.rb +7 -7
  18. data/lib/google/cloud/video_intelligence/v1beta2.rb +1 -1
  19. data/lib/google/cloud/video_intelligence/v1beta2/credentials.rb +1 -1
  20. data/lib/google/cloud/video_intelligence/v1beta2/doc/google/cloud/videointelligence/v1beta2/video_intelligence.rb +7 -7
  21. data/lib/google/cloud/video_intelligence/v1beta2/doc/google/longrunning/operations.rb +1 -43
  22. data/lib/google/cloud/video_intelligence/v1beta2/doc/google/protobuf/any.rb +1 -1
  23. data/lib/google/cloud/video_intelligence/v1beta2/doc/google/protobuf/duration.rb +1 -1
  24. data/lib/google/cloud/video_intelligence/v1beta2/doc/google/rpc/status.rb +18 -15
  25. data/lib/google/cloud/video_intelligence/v1beta2/video_intelligence_service_client.rb +7 -7
  26. data/lib/google/cloud/video_intelligence/v1p1beta1.rb +1 -1
  27. data/lib/google/cloud/video_intelligence/v1p1beta1/credentials.rb +1 -1
  28. data/lib/google/cloud/video_intelligence/v1p1beta1/doc/google/cloud/videointelligence/v1p1beta1/video_intelligence.rb +7 -7
  29. data/lib/google/cloud/video_intelligence/v1p1beta1/doc/google/longrunning/operations.rb +1 -43
  30. data/lib/google/cloud/video_intelligence/v1p1beta1/doc/google/protobuf/any.rb +1 -1
  31. data/lib/google/cloud/video_intelligence/v1p1beta1/doc/google/protobuf/duration.rb +1 -1
  32. data/lib/google/cloud/video_intelligence/v1p1beta1/doc/google/rpc/status.rb +18 -15
  33. data/lib/google/cloud/video_intelligence/v1p1beta1/video_intelligence_service_client.rb +7 -7
  34. data/lib/google/cloud/video_intelligence/v1p2beta1.rb +1 -1
  35. data/lib/google/cloud/video_intelligence/v1p2beta1/credentials.rb +1 -1
  36. data/lib/google/cloud/video_intelligence/v1p2beta1/doc/google/cloud/videointelligence/v1p2beta1/video_intelligence.rb +7 -7
  37. data/lib/google/cloud/video_intelligence/v1p2beta1/doc/google/longrunning/operations.rb +1 -43
  38. data/lib/google/cloud/video_intelligence/v1p2beta1/doc/google/protobuf/any.rb +1 -1
  39. data/lib/google/cloud/video_intelligence/v1p2beta1/doc/google/protobuf/duration.rb +1 -1
  40. data/lib/google/cloud/video_intelligence/v1p2beta1/doc/google/rpc/status.rb +18 -15
  41. data/lib/google/cloud/video_intelligence/v1p2beta1/video_intelligence_service_client.rb +7 -7
  42. data/lib/google/cloud/videointelligence/v1/video_intelligence_pb.rb +49 -0
  43. data/lib/google/cloud/videointelligence/v1/video_intelligence_services_pb.rb +2 -1
  44. metadata +5 -5
@@ -1,4 +1,4 @@
1
- # Copyright 2018 Google LLC
1
+ # Copyright 2019 Google LLC
2
2
  #
3
3
  # Licensed under the Apache License, Version 2.0 (the "License");
4
4
  # you may not use this file except in compliance with the License.
@@ -1,4 +1,4 @@
1
- # Copyright 2018 Google LLC
1
+ # Copyright 2019 Google LLC
2
2
  #
3
3
  # Licensed under the Apache License, Version 2.0 (the "License");
4
4
  # you may not use this file except in compliance with the License.
@@ -1,4 +1,4 @@
1
- # Copyright 2018 Google LLC
1
+ # Copyright 2019 Google LLC
2
2
  #
3
3
  # Licensed under the Apache License, Version 2.0 (the "License");
4
4
  # you may not use this file except in compliance with the License.
@@ -15,24 +15,25 @@
15
15
 
16
16
  module Google
17
17
  module Rpc
18
- # The `Status` type defines a logical error model that is suitable for different
19
- # programming environments, including REST APIs and RPC APIs. It is used by
20
- # [gRPC](https://github.com/grpc). The error model is designed to be:
18
+ # The `Status` type defines a logical error model that is suitable for
19
+ # different programming environments, including REST APIs and RPC APIs. It is
20
+ # used by [gRPC](https://github.com/grpc). The error model is designed to be:
21
21
  #
22
22
  # * Simple to use and understand for most users
23
23
  # * Flexible enough to meet unexpected needs
24
24
  #
25
25
  # = Overview
26
26
  #
27
- # The `Status` message contains three pieces of data: error code, error message,
28
- # and error details. The error code should be an enum value of
29
- # {Google::Rpc::Code}, but it may accept additional error codes if needed. The
30
- # error message should be a developer-facing English message that helps
31
- # developers *understand* and *resolve* the error. If a localized user-facing
32
- # error message is needed, put the localized message in the error details or
33
- # localize it in the client. The optional error details may contain arbitrary
34
- # information about the error. There is a predefined set of error detail types
35
- # in the package `google.rpc` that can be used for common error conditions.
27
+ # The `Status` message contains three pieces of data: error code, error
28
+ # message, and error details. The error code should be an enum value of
29
+ # {Google::Rpc::Code}, but it may accept additional error codes
30
+ # if needed. The error message should be a developer-facing English message
31
+ # that helps developers *understand* and *resolve* the error. If a localized
32
+ # user-facing error message is needed, put the localized message in the error
33
+ # details or localize it in the client. The optional error details may contain
34
+ # arbitrary information about the error. There is a predefined set of error
35
+ # detail types in the package `google.rpc` that can be used for common error
36
+ # conditions.
36
37
  #
37
38
  # = Language mapping
38
39
  #
@@ -69,12 +70,14 @@ module Google
69
70
  # be used directly after any stripping needed for security/privacy reasons.
70
71
  # @!attribute [rw] code
71
72
  # @return [Integer]
72
- # The status code, which should be an enum value of {Google::Rpc::Code}.
73
+ # The status code, which should be an enum value of
74
+ # {Google::Rpc::Code}.
73
75
  # @!attribute [rw] message
74
76
  # @return [String]
75
77
  # A developer-facing error message, which should be in English. Any
76
78
  # user-facing error message should be localized and sent in the
77
- # {Google::Rpc::Status#details} field, or localized by the client.
79
+ # {Google::Rpc::Status#details} field, or localized
80
+ # by the client.
78
81
  # @!attribute [rw] details
79
82
  # @return [Array<Google::Protobuf::Any>]
80
83
  # A list of messages that carry the error details. There is a common set of
@@ -1,4 +1,4 @@
1
- # Copyright 2018 Google LLC
1
+ # Copyright 2019 Google LLC
2
2
  #
3
3
  # Licensed under the Apache License, Version 2.0 (the "License");
4
4
  # you may not use this file except in compliance with the License.
@@ -195,10 +195,10 @@ module Google
195
195
  # [Google Cloud Storage](https://cloud.google.com/storage/) URIs are
196
196
  # supported, which must be specified in the following format:
197
197
  # `gs://bucket-id/object-id` (other URI formats return
198
- # {Google::Rpc::Code::INVALID_ARGUMENT}). For more information, see
199
- # [Request URIs](https://cloud.google.com/storage/docs/reference-uris).
200
- # A video URI may include wildcards in `object-id`, and thus identify
201
- # multiple videos. Supported wildcards: '*' to match 0 or more characters;
198
+ # {Google::Rpc::Code::INVALID_ARGUMENT}). For
199
+ # more information, see [Request URIs](https://cloud.google.com/storage/docs/reference-uris). A video
200
+ # URI may include wildcards in `object-id`, and thus identify multiple
201
+ # videos. Supported wildcards: '*' to match 0 or more characters;
202
202
  # '?' to match 1 character. If unset, the input video should be embedded
203
203
  # in the request as `input_content`. If set, `input_content` should be unset.
204
204
  # @param input_content [String]
@@ -216,8 +216,8 @@ module Google
216
216
  # Currently, only [Google Cloud Storage](https://cloud.google.com/storage/)
217
217
  # URIs are supported, which must be specified in the following format:
218
218
  # `gs://bucket-id/object-id` (other URI formats return
219
- # {Google::Rpc::Code::INVALID_ARGUMENT}). For more information, see
220
- # [Request URIs](https://cloud.google.com/storage/docs/reference-uris).
219
+ # {Google::Rpc::Code::INVALID_ARGUMENT}). For
220
+ # more information, see [Request URIs](https://cloud.google.com/storage/docs/reference-uris).
221
221
  # @param location_id [String]
222
222
  # Optional cloud region where annotation should take place. Supported cloud
223
223
  # regions: `us-east1`, `us-west1`, `europe-west1`, `asia-east1`. If no region
@@ -1,4 +1,4 @@
1
- # Copyright 2018 Google LLC
1
+ # Copyright 2019 Google LLC
2
2
  #
3
3
  # Licensed under the Apache License, Version 2.0 (the "License");
4
4
  # you may not use this file except in compliance with the License.
@@ -1,4 +1,4 @@
1
- # Copyright 2018 Google LLC
1
+ # Copyright 2019 Google LLC
2
2
  #
3
3
  # Licensed under the Apache License, Version 2.0 (the "License");
4
4
  # you may not use this file except in compliance with the License.
@@ -1,4 +1,4 @@
1
- # Copyright 2018 Google LLC
1
+ # Copyright 2019 Google LLC
2
2
  #
3
3
  # Licensed under the Apache License, Version 2.0 (the "License");
4
4
  # you may not use this file except in compliance with the License.
@@ -24,10 +24,10 @@ module Google
24
24
  # [Google Cloud Storage](https://cloud.google.com/storage/) URIs are
25
25
  # supported, which must be specified in the following format:
26
26
  # `gs://bucket-id/object-id` (other URI formats return
27
- # {Google::Rpc::Code::INVALID_ARGUMENT}). For more information, see
28
- # [Request URIs](https://cloud.google.com/storage/docs/reference-uris).
29
- # A video URI may include wildcards in `object-id`, and thus identify
30
- # multiple videos. Supported wildcards: '*' to match 0 or more characters;
27
+ # {Google::Rpc::Code::INVALID_ARGUMENT}). For
28
+ # more information, see [Request URIs](https://cloud.google.com/storage/docs/reference-uris). A video
29
+ # URI may include wildcards in `object-id`, and thus identify multiple
30
+ # videos. Supported wildcards: '*' to match 0 or more characters;
31
31
  # '?' to match 1 character. If unset, the input video should be embedded
32
32
  # in the request as `input_content`. If set, `input_content` should be unset.
33
33
  # @!attribute [rw] input_content
@@ -47,8 +47,8 @@ module Google
47
47
  # Currently, only [Google Cloud Storage](https://cloud.google.com/storage/)
48
48
  # URIs are supported, which must be specified in the following format:
49
49
  # `gs://bucket-id/object-id` (other URI formats return
50
- # {Google::Rpc::Code::INVALID_ARGUMENT}). For more information, see
51
- # [Request URIs](https://cloud.google.com/storage/docs/reference-uris).
50
+ # {Google::Rpc::Code::INVALID_ARGUMENT}). For
51
+ # more information, see [Request URIs](https://cloud.google.com/storage/docs/reference-uris).
52
52
  # @!attribute [rw] location_id
53
53
  # @return [String]
54
54
  # Optional cloud region where annotation should take place. Supported cloud
@@ -1,4 +1,4 @@
1
- # Copyright 2018 Google LLC
1
+ # Copyright 2019 Google LLC
2
2
  #
3
3
  # Licensed under the Apache License, Version 2.0 (the "License");
4
4
  # you may not use this file except in compliance with the License.
@@ -47,47 +47,5 @@ module Google
47
47
  # is `TakeSnapshot()`, the inferred response type is
48
48
  # `TakeSnapshotResponse`.
49
49
  class Operation; end
50
-
51
- # The request message for {Google::Longrunning::Operations::GetOperation Operations::GetOperation}.
52
- # @!attribute [rw] name
53
- # @return [String]
54
- # The name of the operation resource.
55
- class GetOperationRequest; end
56
-
57
- # The request message for {Google::Longrunning::Operations::ListOperations Operations::ListOperations}.
58
- # @!attribute [rw] name
59
- # @return [String]
60
- # The name of the operation collection.
61
- # @!attribute [rw] filter
62
- # @return [String]
63
- # The standard list filter.
64
- # @!attribute [rw] page_size
65
- # @return [Integer]
66
- # The standard list page size.
67
- # @!attribute [rw] page_token
68
- # @return [String]
69
- # The standard list page token.
70
- class ListOperationsRequest; end
71
-
72
- # The response message for {Google::Longrunning::Operations::ListOperations Operations::ListOperations}.
73
- # @!attribute [rw] operations
74
- # @return [Array<Google::Longrunning::Operation>]
75
- # A list of operations that matches the specified filter in the request.
76
- # @!attribute [rw] next_page_token
77
- # @return [String]
78
- # The standard List next-page token.
79
- class ListOperationsResponse; end
80
-
81
- # The request message for {Google::Longrunning::Operations::CancelOperation Operations::CancelOperation}.
82
- # @!attribute [rw] name
83
- # @return [String]
84
- # The name of the operation resource to be cancelled.
85
- class CancelOperationRequest; end
86
-
87
- # The request message for {Google::Longrunning::Operations::DeleteOperation Operations::DeleteOperation}.
88
- # @!attribute [rw] name
89
- # @return [String]
90
- # The name of the operation resource to be deleted.
91
- class DeleteOperationRequest; end
92
50
  end
93
51
  end
@@ -1,4 +1,4 @@
1
- # Copyright 2018 Google LLC
1
+ # Copyright 2019 Google LLC
2
2
  #
3
3
  # Licensed under the Apache License, Version 2.0 (the "License");
4
4
  # you may not use this file except in compliance with the License.
@@ -1,4 +1,4 @@
1
- # Copyright 2018 Google LLC
1
+ # Copyright 2019 Google LLC
2
2
  #
3
3
  # Licensed under the Apache License, Version 2.0 (the "License");
4
4
  # you may not use this file except in compliance with the License.
@@ -1,4 +1,4 @@
1
- # Copyright 2018 Google LLC
1
+ # Copyright 2019 Google LLC
2
2
  #
3
3
  # Licensed under the Apache License, Version 2.0 (the "License");
4
4
  # you may not use this file except in compliance with the License.
@@ -15,24 +15,25 @@
15
15
 
16
16
  module Google
17
17
  module Rpc
18
- # The `Status` type defines a logical error model that is suitable for different
19
- # programming environments, including REST APIs and RPC APIs. It is used by
20
- # [gRPC](https://github.com/grpc). The error model is designed to be:
18
+ # The `Status` type defines a logical error model that is suitable for
19
+ # different programming environments, including REST APIs and RPC APIs. It is
20
+ # used by [gRPC](https://github.com/grpc). The error model is designed to be:
21
21
  #
22
22
  # * Simple to use and understand for most users
23
23
  # * Flexible enough to meet unexpected needs
24
24
  #
25
25
  # = Overview
26
26
  #
27
- # The `Status` message contains three pieces of data: error code, error message,
28
- # and error details. The error code should be an enum value of
29
- # {Google::Rpc::Code}, but it may accept additional error codes if needed. The
30
- # error message should be a developer-facing English message that helps
31
- # developers *understand* and *resolve* the error. If a localized user-facing
32
- # error message is needed, put the localized message in the error details or
33
- # localize it in the client. The optional error details may contain arbitrary
34
- # information about the error. There is a predefined set of error detail types
35
- # in the package `google.rpc` that can be used for common error conditions.
27
+ # The `Status` message contains three pieces of data: error code, error
28
+ # message, and error details. The error code should be an enum value of
29
+ # {Google::Rpc::Code}, but it may accept additional error codes
30
+ # if needed. The error message should be a developer-facing English message
31
+ # that helps developers *understand* and *resolve* the error. If a localized
32
+ # user-facing error message is needed, put the localized message in the error
33
+ # details or localize it in the client. The optional error details may contain
34
+ # arbitrary information about the error. There is a predefined set of error
35
+ # detail types in the package `google.rpc` that can be used for common error
36
+ # conditions.
36
37
  #
37
38
  # = Language mapping
38
39
  #
@@ -69,12 +70,14 @@ module Google
69
70
  # be used directly after any stripping needed for security/privacy reasons.
70
71
  # @!attribute [rw] code
71
72
  # @return [Integer]
72
- # The status code, which should be an enum value of {Google::Rpc::Code}.
73
+ # The status code, which should be an enum value of
74
+ # {Google::Rpc::Code}.
73
75
  # @!attribute [rw] message
74
76
  # @return [String]
75
77
  # A developer-facing error message, which should be in English. Any
76
78
  # user-facing error message should be localized and sent in the
77
- # {Google::Rpc::Status#details} field, or localized by the client.
79
+ # {Google::Rpc::Status#details} field, or localized
80
+ # by the client.
78
81
  # @!attribute [rw] details
79
82
  # @return [Array<Google::Protobuf::Any>]
80
83
  # A list of messages that carry the error details. There is a common set of
@@ -1,4 +1,4 @@
1
- # Copyright 2018 Google LLC
1
+ # Copyright 2019 Google LLC
2
2
  #
3
3
  # Licensed under the Apache License, Version 2.0 (the "License");
4
4
  # you may not use this file except in compliance with the License.
@@ -195,10 +195,10 @@ module Google
195
195
  # [Google Cloud Storage](https://cloud.google.com/storage/) URIs are
196
196
  # supported, which must be specified in the following format:
197
197
  # `gs://bucket-id/object-id` (other URI formats return
198
- # {Google::Rpc::Code::INVALID_ARGUMENT}). For more information, see
199
- # [Request URIs](https://cloud.google.com/storage/docs/reference-uris).
200
- # A video URI may include wildcards in `object-id`, and thus identify
201
- # multiple videos. Supported wildcards: '*' to match 0 or more characters;
198
+ # {Google::Rpc::Code::INVALID_ARGUMENT}). For
199
+ # more information, see [Request URIs](https://cloud.google.com/storage/docs/reference-uris). A video
200
+ # URI may include wildcards in `object-id`, and thus identify multiple
201
+ # videos. Supported wildcards: '*' to match 0 or more characters;
202
202
  # '?' to match 1 character. If unset, the input video should be embedded
203
203
  # in the request as `input_content`. If set, `input_content` should be unset.
204
204
  # @param input_content [String]
@@ -216,8 +216,8 @@ module Google
216
216
  # Currently, only [Google Cloud Storage](https://cloud.google.com/storage/)
217
217
  # URIs are supported, which must be specified in the following format:
218
218
  # `gs://bucket-id/object-id` (other URI formats return
219
- # {Google::Rpc::Code::INVALID_ARGUMENT}). For more information, see
220
- # [Request URIs](https://cloud.google.com/storage/docs/reference-uris).
219
+ # {Google::Rpc::Code::INVALID_ARGUMENT}). For
220
+ # more information, see [Request URIs](https://cloud.google.com/storage/docs/reference-uris).
221
221
  # @param location_id [String]
222
222
  # Optional cloud region where annotation should take place. Supported cloud
223
223
  # regions: `us-east1`, `us-west1`, `europe-west1`, `asia-east1`. If no region
@@ -25,6 +25,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
25
25
  optional :explicit_content_detection_config, :message, 4, "google.cloud.videointelligence.v1.ExplicitContentDetectionConfig"
26
26
  optional :face_detection_config, :message, 5, "google.cloud.videointelligence.v1.FaceDetectionConfig"
27
27
  optional :speech_transcription_config, :message, 6, "google.cloud.videointelligence.v1.SpeechTranscriptionConfig"
28
+ optional :text_detection_config, :message, 8, "google.cloud.videointelligence.v1.TextDetectionConfig"
28
29
  end
29
30
  add_message "google.cloud.videointelligence.v1.LabelDetectionConfig" do
30
31
  optional :label_detection_mode, :enum, 1, "google.cloud.videointelligence.v1.LabelDetectionMode"
@@ -41,6 +42,9 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
41
42
  optional :model, :string, 1
42
43
  optional :include_bounding_boxes, :bool, 2
43
44
  end
45
+ add_message "google.cloud.videointelligence.v1.TextDetectionConfig" do
46
+ repeated :language_hints, :string, 1
47
+ end
44
48
  add_message "google.cloud.videointelligence.v1.VideoSegment" do
45
49
  optional :start_time_offset, :message, 1, "google.protobuf.Duration"
46
50
  optional :end_time_offset, :message, 2, "google.protobuf.Duration"
@@ -98,6 +102,8 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
98
102
  repeated :shot_annotations, :message, 6, "google.cloud.videointelligence.v1.VideoSegment"
99
103
  optional :explicit_annotation, :message, 7, "google.cloud.videointelligence.v1.ExplicitContentAnnotation"
100
104
  repeated :speech_transcriptions, :message, 11, "google.cloud.videointelligence.v1.SpeechTranscription"
105
+ repeated :text_annotations, :message, 12, "google.cloud.videointelligence.v1.TextAnnotation"
106
+ repeated :object_annotations, :message, 14, "google.cloud.videointelligence.v1.ObjectTrackingAnnotation"
101
107
  optional :error, :message, 9, "google.rpc.Status"
102
108
  end
103
109
  add_message "google.cloud.videointelligence.v1.AnnotateVideoResponse" do
@@ -142,6 +148,39 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
142
148
  optional :confidence, :float, 4
143
149
  optional :speaker_tag, :int32, 5
144
150
  end
151
+ add_message "google.cloud.videointelligence.v1.NormalizedVertex" do
152
+ optional :x, :float, 1
153
+ optional :y, :float, 2
154
+ end
155
+ add_message "google.cloud.videointelligence.v1.NormalizedBoundingPoly" do
156
+ repeated :vertices, :message, 1, "google.cloud.videointelligence.v1.NormalizedVertex"
157
+ end
158
+ add_message "google.cloud.videointelligence.v1.TextSegment" do
159
+ optional :segment, :message, 1, "google.cloud.videointelligence.v1.VideoSegment"
160
+ optional :confidence, :float, 2
161
+ repeated :frames, :message, 3, "google.cloud.videointelligence.v1.TextFrame"
162
+ end
163
+ add_message "google.cloud.videointelligence.v1.TextFrame" do
164
+ optional :rotated_bounding_box, :message, 1, "google.cloud.videointelligence.v1.NormalizedBoundingPoly"
165
+ optional :time_offset, :message, 2, "google.protobuf.Duration"
166
+ end
167
+ add_message "google.cloud.videointelligence.v1.TextAnnotation" do
168
+ optional :text, :string, 1
169
+ repeated :segments, :message, 2, "google.cloud.videointelligence.v1.TextSegment"
170
+ end
171
+ add_message "google.cloud.videointelligence.v1.ObjectTrackingFrame" do
172
+ optional :normalized_bounding_box, :message, 1, "google.cloud.videointelligence.v1.NormalizedBoundingBox"
173
+ optional :time_offset, :message, 2, "google.protobuf.Duration"
174
+ end
175
+ add_message "google.cloud.videointelligence.v1.ObjectTrackingAnnotation" do
176
+ optional :entity, :message, 1, "google.cloud.videointelligence.v1.Entity"
177
+ optional :confidence, :float, 4
178
+ repeated :frames, :message, 2, "google.cloud.videointelligence.v1.ObjectTrackingFrame"
179
+ oneof :track_info do
180
+ optional :segment, :message, 3, "google.cloud.videointelligence.v1.VideoSegment"
181
+ optional :track_id, :int64, 5
182
+ end
183
+ end
145
184
  add_enum "google.cloud.videointelligence.v1.Feature" do
146
185
  value :FEATURE_UNSPECIFIED, 0
147
186
  value :LABEL_DETECTION, 1
@@ -149,6 +188,8 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
149
188
  value :EXPLICIT_CONTENT_DETECTION, 3
150
189
  value :FACE_DETECTION, 4
151
190
  value :SPEECH_TRANSCRIPTION, 6
191
+ value :TEXT_DETECTION, 7
192
+ value :OBJECT_TRACKING, 9
152
193
  end
153
194
  add_enum "google.cloud.videointelligence.v1.LabelDetectionMode" do
154
195
  value :LABEL_DETECTION_MODE_UNSPECIFIED, 0
@@ -176,6 +217,7 @@ module Google
176
217
  ShotChangeDetectionConfig = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.videointelligence.v1.ShotChangeDetectionConfig").msgclass
177
218
  ExplicitContentDetectionConfig = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.videointelligence.v1.ExplicitContentDetectionConfig").msgclass
178
219
  FaceDetectionConfig = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.videointelligence.v1.FaceDetectionConfig").msgclass
220
+ TextDetectionConfig = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.videointelligence.v1.TextDetectionConfig").msgclass
179
221
  VideoSegment = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.videointelligence.v1.VideoSegment").msgclass
180
222
  LabelSegment = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.videointelligence.v1.LabelSegment").msgclass
181
223
  LabelFrame = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.videointelligence.v1.LabelFrame").msgclass
@@ -196,6 +238,13 @@ module Google
196
238
  SpeechTranscription = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.videointelligence.v1.SpeechTranscription").msgclass
197
239
  SpeechRecognitionAlternative = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.videointelligence.v1.SpeechRecognitionAlternative").msgclass
198
240
  WordInfo = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.videointelligence.v1.WordInfo").msgclass
241
+ NormalizedVertex = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.videointelligence.v1.NormalizedVertex").msgclass
242
+ NormalizedBoundingPoly = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.videointelligence.v1.NormalizedBoundingPoly").msgclass
243
+ TextSegment = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.videointelligence.v1.TextSegment").msgclass
244
+ TextFrame = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.videointelligence.v1.TextFrame").msgclass
245
+ TextAnnotation = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.videointelligence.v1.TextAnnotation").msgclass
246
+ ObjectTrackingFrame = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.videointelligence.v1.ObjectTrackingFrame").msgclass
247
+ ObjectTrackingAnnotation = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.videointelligence.v1.ObjectTrackingAnnotation").msgclass
199
248
  Feature = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.videointelligence.v1.Feature").enummodule
200
249
  LabelDetectionMode = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.videointelligence.v1.LabelDetectionMode").enummodule
201
250
  Likelihood = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.videointelligence.v1.Likelihood").enummodule
@@ -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 2017 Google Inc.
4
+ # Copyright 2018 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.
@@ -15,6 +15,7 @@
15
15
  # See the License for the specific language governing permissions and
16
16
  # limitations under the License.
17
17
  #
18
+ #
18
19
 
19
20
 
20
21
  require 'grpc'
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.1.3
4
+ version: 1.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-11-14 00:00:00.000000000 Z
11
+ date: 2019-03-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-gax
@@ -58,14 +58,14 @@ dependencies:
58
58
  requirements:
59
59
  - - "~>"
60
60
  - !ruby/object:Gem::Version
61
- version: 0.59.2
61
+ version: 0.64.0
62
62
  type: :development
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
66
  - - "~>"
67
67
  - !ruby/object:Gem::Version
68
- version: 0.59.2
68
+ version: 0.64.0
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: simplecov
71
71
  requirement: !ruby/object:Gem::Requirement
@@ -180,7 +180,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
180
180
  version: '0'
181
181
  requirements: []
182
182
  rubyforge_project:
183
- rubygems_version: 2.7.7
183
+ rubygems_version: 2.7.6
184
184
  signing_key:
185
185
  specification_version: 4
186
186
  summary: API Client library for Cloud Video Intelligence API