google-cloud-video_intelligence-v1p2beta1 0.1.0 → 0.2.3

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.
@@ -128,7 +128,7 @@ module Google
128
128
  # - pattern: "shelves/{shelf}"
129
129
  # parent_type: "cloudresourcemanager.googleapis.com/Folder"
130
130
  # @!attribute [rw] type
131
- # @return [String]
131
+ # @return [::String]
132
132
  # The resource type. It must be in the format of
133
133
  # \\{service_name}/\\{resource_type_kind}. The `resource_type_kind` must be
134
134
  # singular and must not include version numbers.
@@ -140,7 +140,7 @@ module Google
140
140
  # should use PascalCase (UpperCamelCase). The maximum number of
141
141
  # characters allowed for the `resource_type_kind` is 100.
142
142
  # @!attribute [rw] pattern
143
- # @return [Array<String>]
143
+ # @return [::Array<::String>]
144
144
  # Optional. The relative resource name pattern associated with this resource
145
145
  # type. The DNS prefix of the full resource name shouldn't be specified here.
146
146
  #
@@ -161,11 +161,11 @@ module Google
161
161
  # the same component name (e.g. "project") refers to IDs of the same
162
162
  # type of resource.
163
163
  # @!attribute [rw] name_field
164
- # @return [String]
164
+ # @return [::String]
165
165
  # Optional. The field on the resource that designates the resource name
166
166
  # field. If omitted, this is assumed to be "name".
167
167
  # @!attribute [rw] history
168
- # @return [Google::Api::ResourceDescriptor::History]
168
+ # @return [::Google::Api::ResourceDescriptor::History]
169
169
  # Optional. The historical or future-looking state of the resource pattern.
170
170
  #
171
171
  # Example:
@@ -182,19 +182,19 @@ module Google
182
182
  # };
183
183
  # }
184
184
  # @!attribute [rw] plural
185
- # @return [String]
185
+ # @return [::String]
186
186
  # The plural name used in the resource name, such as 'projects' for
187
187
  # the name of 'projects/\\{project}'. It is the same concept of the `plural`
188
188
  # field in k8s CRD spec
189
189
  # https://kubernetes.io/docs/tasks/access-kubernetes-api/custom-resources/custom-resource-definitions/
190
190
  # @!attribute [rw] singular
191
- # @return [String]
191
+ # @return [::String]
192
192
  # The same concept of the `singular` field in k8s CRD spec
193
193
  # https://kubernetes.io/docs/tasks/access-kubernetes-api/custom-resources/custom-resource-definitions/
194
194
  # Such as "project" for the `resourcemanager.googleapis.com/Project` type.
195
195
  class ResourceDescriptor
196
- include Google::Protobuf::MessageExts
197
- extend Google::Protobuf::MessageExts::ClassMethods
196
+ include ::Google::Protobuf::MessageExts
197
+ extend ::Google::Protobuf::MessageExts::ClassMethods
198
198
 
199
199
  # A description of the historical or future-looking state of the
200
200
  # resource pattern.
@@ -216,7 +216,7 @@ module Google
216
216
  # Defines a proto annotation that describes a string field that refers to
217
217
  # an API resource.
218
218
  # @!attribute [rw] type
219
- # @return [String]
219
+ # @return [::String]
220
220
  # The resource type that the annotated field references.
221
221
  #
222
222
  # Example:
@@ -227,7 +227,7 @@ module Google
227
227
  # }];
228
228
  # }
229
229
  # @!attribute [rw] child_type
230
- # @return [String]
230
+ # @return [::String]
231
231
  # The resource type of a child collection that the annotated field
232
232
  # references. This is useful for annotating the `parent` field that
233
233
  # doesn't have a fixed resource type.
@@ -240,8 +240,8 @@ module Google
240
240
  # };
241
241
  # }
242
242
  class ResourceReference
243
- include Google::Protobuf::MessageExts
244
- extend Google::Protobuf::MessageExts::ClassMethods
243
+ include ::Google::Protobuf::MessageExts
244
+ extend ::Google::Protobuf::MessageExts::ClassMethods
245
245
  end
246
246
  end
247
247
  end
@@ -23,7 +23,7 @@ module Google
23
23
  module V1p2beta1
24
24
  # Video annotation request.
25
25
  # @!attribute [rw] input_uri
26
- # @return [String]
26
+ # @return [::String]
27
27
  # Input video location. Currently, only
28
28
  # [Google Cloud Storage](https://cloud.google.com/storage/) URIs are
29
29
  # supported, which must be specified in the following format:
@@ -35,18 +35,18 @@ module Google
35
35
  # '?' to match 1 character. If unset, the input video should be embedded
36
36
  # in the request as `input_content`. If set, `input_content` should be unset.
37
37
  # @!attribute [rw] input_content
38
- # @return [String]
38
+ # @return [::String]
39
39
  # The video data bytes.
40
40
  # If unset, the input video(s) should be specified via `input_uri`.
41
41
  # If set, `input_uri` should be unset.
42
42
  # @!attribute [rw] features
43
- # @return [Array<Google::Cloud::VideoIntelligence::V1p2beta1::Feature>]
43
+ # @return [::Array<::Google::Cloud::VideoIntelligence::V1p2beta1::Feature>]
44
44
  # Required. Requested video annotation features.
45
45
  # @!attribute [rw] video_context
46
- # @return [Google::Cloud::VideoIntelligence::V1p2beta1::VideoContext]
46
+ # @return [::Google::Cloud::VideoIntelligence::V1p2beta1::VideoContext]
47
47
  # Additional video context and/or feature-specific parameters.
48
48
  # @!attribute [rw] output_uri
49
- # @return [String]
49
+ # @return [::String]
50
50
  # Optional. Location where the output (in JSON format) should be stored.
51
51
  # Currently, only [Google Cloud Storage](https://cloud.google.com/storage/)
52
52
  # URIs are supported, which must be specified in the following format:
@@ -54,309 +54,309 @@ module Google
54
54
  # [google.rpc.Code.INVALID_ARGUMENT][google.rpc.Code.INVALID_ARGUMENT]). For more information, see
55
55
  # [Request URIs](https://cloud.google.com/storage/docs/request-endpoints).
56
56
  # @!attribute [rw] location_id
57
- # @return [String]
57
+ # @return [::String]
58
58
  # Optional. Cloud region where annotation should take place. Supported cloud
59
59
  # regions: `us-east1`, `us-west1`, `europe-west1`, `asia-east1`. If no region
60
60
  # is specified, a region will be determined based on video file location.
61
61
  class AnnotateVideoRequest
62
- include Google::Protobuf::MessageExts
63
- extend Google::Protobuf::MessageExts::ClassMethods
62
+ include ::Google::Protobuf::MessageExts
63
+ extend ::Google::Protobuf::MessageExts::ClassMethods
64
64
  end
65
65
 
66
66
  # Video context and/or feature-specific parameters.
67
67
  # @!attribute [rw] segments
68
- # @return [Array<Google::Cloud::VideoIntelligence::V1p2beta1::VideoSegment>]
68
+ # @return [::Array<::Google::Cloud::VideoIntelligence::V1p2beta1::VideoSegment>]
69
69
  # Video segments to annotate. The segments may overlap and are not required
70
70
  # to be contiguous or span the whole video. If unspecified, each video is
71
71
  # treated as a single segment.
72
72
  # @!attribute [rw] label_detection_config
73
- # @return [Google::Cloud::VideoIntelligence::V1p2beta1::LabelDetectionConfig]
73
+ # @return [::Google::Cloud::VideoIntelligence::V1p2beta1::LabelDetectionConfig]
74
74
  # Config for LABEL_DETECTION.
75
75
  # @!attribute [rw] shot_change_detection_config
76
- # @return [Google::Cloud::VideoIntelligence::V1p2beta1::ShotChangeDetectionConfig]
76
+ # @return [::Google::Cloud::VideoIntelligence::V1p2beta1::ShotChangeDetectionConfig]
77
77
  # Config for SHOT_CHANGE_DETECTION.
78
78
  # @!attribute [rw] explicit_content_detection_config
79
- # @return [Google::Cloud::VideoIntelligence::V1p2beta1::ExplicitContentDetectionConfig]
79
+ # @return [::Google::Cloud::VideoIntelligence::V1p2beta1::ExplicitContentDetectionConfig]
80
80
  # Config for EXPLICIT_CONTENT_DETECTION.
81
81
  # @!attribute [rw] text_detection_config
82
- # @return [Google::Cloud::VideoIntelligence::V1p2beta1::TextDetectionConfig]
82
+ # @return [::Google::Cloud::VideoIntelligence::V1p2beta1::TextDetectionConfig]
83
83
  # Config for TEXT_DETECTION.
84
84
  class VideoContext
85
- include Google::Protobuf::MessageExts
86
- extend Google::Protobuf::MessageExts::ClassMethods
85
+ include ::Google::Protobuf::MessageExts
86
+ extend ::Google::Protobuf::MessageExts::ClassMethods
87
87
  end
88
88
 
89
89
  # Config for LABEL_DETECTION.
90
90
  # @!attribute [rw] label_detection_mode
91
- # @return [Google::Cloud::VideoIntelligence::V1p2beta1::LabelDetectionMode]
91
+ # @return [::Google::Cloud::VideoIntelligence::V1p2beta1::LabelDetectionMode]
92
92
  # What labels should be detected with LABEL_DETECTION, in addition to
93
93
  # video-level labels or segment-level labels.
94
94
  # If unspecified, defaults to `SHOT_MODE`.
95
95
  # @!attribute [rw] stationary_camera
96
- # @return [Boolean]
96
+ # @return [::Boolean]
97
97
  # Whether the video has been shot from a stationary (i.e. non-moving) camera.
98
98
  # When set to true, might improve detection accuracy for moving objects.
99
99
  # Should be used with `SHOT_AND_FRAME_MODE` enabled.
100
100
  # @!attribute [rw] model
101
- # @return [String]
101
+ # @return [::String]
102
102
  # Model to use for label detection.
103
103
  # Supported values: "builtin/stable" (the default if unset) and
104
104
  # "builtin/latest".
105
105
  class LabelDetectionConfig
106
- include Google::Protobuf::MessageExts
107
- extend Google::Protobuf::MessageExts::ClassMethods
106
+ include ::Google::Protobuf::MessageExts
107
+ extend ::Google::Protobuf::MessageExts::ClassMethods
108
108
  end
109
109
 
110
110
  # Config for SHOT_CHANGE_DETECTION.
111
111
  # @!attribute [rw] model
112
- # @return [String]
112
+ # @return [::String]
113
113
  # Model to use for shot change detection.
114
114
  # Supported values: "builtin/stable" (the default if unset) and
115
115
  # "builtin/latest".
116
116
  class ShotChangeDetectionConfig
117
- include Google::Protobuf::MessageExts
118
- extend Google::Protobuf::MessageExts::ClassMethods
117
+ include ::Google::Protobuf::MessageExts
118
+ extend ::Google::Protobuf::MessageExts::ClassMethods
119
119
  end
120
120
 
121
121
  # Config for EXPLICIT_CONTENT_DETECTION.
122
122
  # @!attribute [rw] model
123
- # @return [String]
123
+ # @return [::String]
124
124
  # Model to use for explicit content detection.
125
125
  # Supported values: "builtin/stable" (the default if unset) and
126
126
  # "builtin/latest".
127
127
  class ExplicitContentDetectionConfig
128
- include Google::Protobuf::MessageExts
129
- extend Google::Protobuf::MessageExts::ClassMethods
128
+ include ::Google::Protobuf::MessageExts
129
+ extend ::Google::Protobuf::MessageExts::ClassMethods
130
130
  end
131
131
 
132
132
  # Config for TEXT_DETECTION.
133
133
  # @!attribute [rw] language_hints
134
- # @return [Array<String>]
134
+ # @return [::Array<::String>]
135
135
  # Language hint can be specified if the language to be detected is known a
136
136
  # priori. It can increase the accuracy of the detection. Language hint must
137
137
  # be language code in BCP-47 format.
138
138
  #
139
139
  # Automatic language detection is performed if no hint is provided.
140
140
  class TextDetectionConfig
141
- include Google::Protobuf::MessageExts
142
- extend Google::Protobuf::MessageExts::ClassMethods
141
+ include ::Google::Protobuf::MessageExts
142
+ extend ::Google::Protobuf::MessageExts::ClassMethods
143
143
  end
144
144
 
145
145
  # Video segment.
146
146
  # @!attribute [rw] start_time_offset
147
- # @return [Google::Protobuf::Duration]
147
+ # @return [::Google::Protobuf::Duration]
148
148
  # Time-offset, relative to the beginning of the video,
149
149
  # corresponding to the start of the segment (inclusive).
150
150
  # @!attribute [rw] end_time_offset
151
- # @return [Google::Protobuf::Duration]
151
+ # @return [::Google::Protobuf::Duration]
152
152
  # Time-offset, relative to the beginning of the video,
153
153
  # corresponding to the end of the segment (inclusive).
154
154
  class VideoSegment
155
- include Google::Protobuf::MessageExts
156
- extend Google::Protobuf::MessageExts::ClassMethods
155
+ include ::Google::Protobuf::MessageExts
156
+ extend ::Google::Protobuf::MessageExts::ClassMethods
157
157
  end
158
158
 
159
159
  # Video segment level annotation results for label detection.
160
160
  # @!attribute [rw] segment
161
- # @return [Google::Cloud::VideoIntelligence::V1p2beta1::VideoSegment]
161
+ # @return [::Google::Cloud::VideoIntelligence::V1p2beta1::VideoSegment]
162
162
  # Video segment where a label was detected.
163
163
  # @!attribute [rw] confidence
164
- # @return [Float]
164
+ # @return [::Float]
165
165
  # Confidence that the label is accurate. Range: [0, 1].
166
166
  class LabelSegment
167
- include Google::Protobuf::MessageExts
168
- extend Google::Protobuf::MessageExts::ClassMethods
167
+ include ::Google::Protobuf::MessageExts
168
+ extend ::Google::Protobuf::MessageExts::ClassMethods
169
169
  end
170
170
 
171
171
  # Video frame level annotation results for label detection.
172
172
  # @!attribute [rw] time_offset
173
- # @return [Google::Protobuf::Duration]
173
+ # @return [::Google::Protobuf::Duration]
174
174
  # Time-offset, relative to the beginning of the video, corresponding to the
175
175
  # video frame for this location.
176
176
  # @!attribute [rw] confidence
177
- # @return [Float]
177
+ # @return [::Float]
178
178
  # Confidence that the label is accurate. Range: [0, 1].
179
179
  class LabelFrame
180
- include Google::Protobuf::MessageExts
181
- extend Google::Protobuf::MessageExts::ClassMethods
180
+ include ::Google::Protobuf::MessageExts
181
+ extend ::Google::Protobuf::MessageExts::ClassMethods
182
182
  end
183
183
 
184
184
  # Detected entity from video analysis.
185
185
  # @!attribute [rw] entity_id
186
- # @return [String]
186
+ # @return [::String]
187
187
  # Opaque entity ID. Some IDs may be available in
188
188
  # [Google Knowledge Graph Search
189
189
  # API](https://developers.google.com/knowledge-graph/).
190
190
  # @!attribute [rw] description
191
- # @return [String]
191
+ # @return [::String]
192
192
  # Textual description, e.g. `Fixed-gear bicycle`.
193
193
  # @!attribute [rw] language_code
194
- # @return [String]
194
+ # @return [::String]
195
195
  # Language code for `description` in BCP-47 format.
196
196
  class Entity
197
- include Google::Protobuf::MessageExts
198
- extend Google::Protobuf::MessageExts::ClassMethods
197
+ include ::Google::Protobuf::MessageExts
198
+ extend ::Google::Protobuf::MessageExts::ClassMethods
199
199
  end
200
200
 
201
201
  # Label annotation.
202
202
  # @!attribute [rw] entity
203
- # @return [Google::Cloud::VideoIntelligence::V1p2beta1::Entity]
203
+ # @return [::Google::Cloud::VideoIntelligence::V1p2beta1::Entity]
204
204
  # Detected entity.
205
205
  # @!attribute [rw] category_entities
206
- # @return [Array<Google::Cloud::VideoIntelligence::V1p2beta1::Entity>]
206
+ # @return [::Array<::Google::Cloud::VideoIntelligence::V1p2beta1::Entity>]
207
207
  # Common categories for the detected entity.
208
208
  # E.g. when the label is `Terrier` the category is likely `dog`. And in some
209
209
  # cases there might be more than one categories e.g. `Terrier` could also be
210
210
  # a `pet`.
211
211
  # @!attribute [rw] segments
212
- # @return [Array<Google::Cloud::VideoIntelligence::V1p2beta1::LabelSegment>]
212
+ # @return [::Array<::Google::Cloud::VideoIntelligence::V1p2beta1::LabelSegment>]
213
213
  # All video segments where a label was detected.
214
214
  # @!attribute [rw] frames
215
- # @return [Array<Google::Cloud::VideoIntelligence::V1p2beta1::LabelFrame>]
215
+ # @return [::Array<::Google::Cloud::VideoIntelligence::V1p2beta1::LabelFrame>]
216
216
  # All video frames where a label was detected.
217
217
  class LabelAnnotation
218
- include Google::Protobuf::MessageExts
219
- extend Google::Protobuf::MessageExts::ClassMethods
218
+ include ::Google::Protobuf::MessageExts
219
+ extend ::Google::Protobuf::MessageExts::ClassMethods
220
220
  end
221
221
 
222
222
  # Video frame level annotation results for explicit content.
223
223
  # @!attribute [rw] time_offset
224
- # @return [Google::Protobuf::Duration]
224
+ # @return [::Google::Protobuf::Duration]
225
225
  # Time-offset, relative to the beginning of the video, corresponding to the
226
226
  # video frame for this location.
227
227
  # @!attribute [rw] pornography_likelihood
228
- # @return [Google::Cloud::VideoIntelligence::V1p2beta1::Likelihood]
228
+ # @return [::Google::Cloud::VideoIntelligence::V1p2beta1::Likelihood]
229
229
  # Likelihood of the pornography content..
230
230
  class ExplicitContentFrame
231
- include Google::Protobuf::MessageExts
232
- extend Google::Protobuf::MessageExts::ClassMethods
231
+ include ::Google::Protobuf::MessageExts
232
+ extend ::Google::Protobuf::MessageExts::ClassMethods
233
233
  end
234
234
 
235
235
  # Explicit content annotation (based on per-frame visual signals only).
236
236
  # If no explicit content has been detected in a frame, no annotations are
237
237
  # present for that frame.
238
238
  # @!attribute [rw] frames
239
- # @return [Array<Google::Cloud::VideoIntelligence::V1p2beta1::ExplicitContentFrame>]
239
+ # @return [::Array<::Google::Cloud::VideoIntelligence::V1p2beta1::ExplicitContentFrame>]
240
240
  # All video frames where explicit content was detected.
241
241
  class ExplicitContentAnnotation
242
- include Google::Protobuf::MessageExts
243
- extend Google::Protobuf::MessageExts::ClassMethods
242
+ include ::Google::Protobuf::MessageExts
243
+ extend ::Google::Protobuf::MessageExts::ClassMethods
244
244
  end
245
245
 
246
246
  # Normalized bounding box.
247
247
  # The normalized vertex coordinates are relative to the original image.
248
248
  # Range: [0, 1].
249
249
  # @!attribute [rw] left
250
- # @return [Float]
250
+ # @return [::Float]
251
251
  # Left X coordinate.
252
252
  # @!attribute [rw] top
253
- # @return [Float]
253
+ # @return [::Float]
254
254
  # Top Y coordinate.
255
255
  # @!attribute [rw] right
256
- # @return [Float]
256
+ # @return [::Float]
257
257
  # Right X coordinate.
258
258
  # @!attribute [rw] bottom
259
- # @return [Float]
259
+ # @return [::Float]
260
260
  # Bottom Y coordinate.
261
261
  class NormalizedBoundingBox
262
- include Google::Protobuf::MessageExts
263
- extend Google::Protobuf::MessageExts::ClassMethods
262
+ include ::Google::Protobuf::MessageExts
263
+ extend ::Google::Protobuf::MessageExts::ClassMethods
264
264
  end
265
265
 
266
266
  # Annotation results for a single video.
267
267
  # @!attribute [rw] input_uri
268
- # @return [String]
268
+ # @return [::String]
269
269
  # Video file location in
270
270
  # [Google Cloud Storage](https://cloud.google.com/storage/).
271
271
  # @!attribute [rw] segment_label_annotations
272
- # @return [Array<Google::Cloud::VideoIntelligence::V1p2beta1::LabelAnnotation>]
272
+ # @return [::Array<::Google::Cloud::VideoIntelligence::V1p2beta1::LabelAnnotation>]
273
273
  # Label annotations on video level or user specified segment level.
274
274
  # There is exactly one element for each unique label.
275
275
  # @!attribute [rw] shot_label_annotations
276
- # @return [Array<Google::Cloud::VideoIntelligence::V1p2beta1::LabelAnnotation>]
276
+ # @return [::Array<::Google::Cloud::VideoIntelligence::V1p2beta1::LabelAnnotation>]
277
277
  # Label annotations on shot level.
278
278
  # There is exactly one element for each unique label.
279
279
  # @!attribute [rw] frame_label_annotations
280
- # @return [Array<Google::Cloud::VideoIntelligence::V1p2beta1::LabelAnnotation>]
280
+ # @return [::Array<::Google::Cloud::VideoIntelligence::V1p2beta1::LabelAnnotation>]
281
281
  # Label annotations on frame level.
282
282
  # There is exactly one element for each unique label.
283
283
  # @!attribute [rw] shot_annotations
284
- # @return [Array<Google::Cloud::VideoIntelligence::V1p2beta1::VideoSegment>]
284
+ # @return [::Array<::Google::Cloud::VideoIntelligence::V1p2beta1::VideoSegment>]
285
285
  # Shot annotations. Each shot is represented as a video segment.
286
286
  # @!attribute [rw] explicit_annotation
287
- # @return [Google::Cloud::VideoIntelligence::V1p2beta1::ExplicitContentAnnotation]
287
+ # @return [::Google::Cloud::VideoIntelligence::V1p2beta1::ExplicitContentAnnotation]
288
288
  # Explicit content annotation.
289
289
  # @!attribute [rw] text_annotations
290
- # @return [Array<Google::Cloud::VideoIntelligence::V1p2beta1::TextAnnotation>]
290
+ # @return [::Array<::Google::Cloud::VideoIntelligence::V1p2beta1::TextAnnotation>]
291
291
  # OCR text detection and tracking.
292
292
  # Annotations for list of detected text snippets. Each will have list of
293
293
  # frame information associated with it.
294
294
  # @!attribute [rw] object_annotations
295
- # @return [Array<Google::Cloud::VideoIntelligence::V1p2beta1::ObjectTrackingAnnotation>]
295
+ # @return [::Array<::Google::Cloud::VideoIntelligence::V1p2beta1::ObjectTrackingAnnotation>]
296
296
  # Annotations for list of objects detected and tracked in video.
297
297
  # @!attribute [rw] error
298
- # @return [Google::Rpc::Status]
298
+ # @return [::Google::Rpc::Status]
299
299
  # If set, indicates an error. Note that for a single `AnnotateVideoRequest`
300
300
  # some videos may succeed and some may fail.
301
301
  class VideoAnnotationResults
302
- include Google::Protobuf::MessageExts
303
- extend Google::Protobuf::MessageExts::ClassMethods
302
+ include ::Google::Protobuf::MessageExts
303
+ extend ::Google::Protobuf::MessageExts::ClassMethods
304
304
  end
305
305
 
306
306
  # Video annotation response. Included in the `response`
307
307
  # field of the `Operation` returned by the `GetOperation`
308
308
  # call of the `google::longrunning::Operations` service.
309
309
  # @!attribute [rw] annotation_results
310
- # @return [Array<Google::Cloud::VideoIntelligence::V1p2beta1::VideoAnnotationResults>]
310
+ # @return [::Array<::Google::Cloud::VideoIntelligence::V1p2beta1::VideoAnnotationResults>]
311
311
  # Annotation results for all videos specified in `AnnotateVideoRequest`.
312
312
  class AnnotateVideoResponse
313
- include Google::Protobuf::MessageExts
314
- extend Google::Protobuf::MessageExts::ClassMethods
313
+ include ::Google::Protobuf::MessageExts
314
+ extend ::Google::Protobuf::MessageExts::ClassMethods
315
315
  end
316
316
 
317
317
  # Annotation progress for a single video.
318
318
  # @!attribute [rw] input_uri
319
- # @return [String]
319
+ # @return [::String]
320
320
  # Video file location in
321
321
  # [Google Cloud Storage](https://cloud.google.com/storage/).
322
322
  # @!attribute [rw] progress_percent
323
- # @return [Integer]
323
+ # @return [::Integer]
324
324
  # Approximate percentage processed thus far. Guaranteed to be
325
325
  # 100 when fully processed.
326
326
  # @!attribute [rw] start_time
327
- # @return [Google::Protobuf::Timestamp]
327
+ # @return [::Google::Protobuf::Timestamp]
328
328
  # Time when the request was received.
329
329
  # @!attribute [rw] update_time
330
- # @return [Google::Protobuf::Timestamp]
330
+ # @return [::Google::Protobuf::Timestamp]
331
331
  # Time of the most recent update.
332
332
  class VideoAnnotationProgress
333
- include Google::Protobuf::MessageExts
334
- extend Google::Protobuf::MessageExts::ClassMethods
333
+ include ::Google::Protobuf::MessageExts
334
+ extend ::Google::Protobuf::MessageExts::ClassMethods
335
335
  end
336
336
 
337
337
  # Video annotation progress. Included in the `metadata`
338
338
  # field of the `Operation` returned by the `GetOperation`
339
339
  # call of the `google::longrunning::Operations` service.
340
340
  # @!attribute [rw] annotation_progress
341
- # @return [Array<Google::Cloud::VideoIntelligence::V1p2beta1::VideoAnnotationProgress>]
341
+ # @return [::Array<::Google::Cloud::VideoIntelligence::V1p2beta1::VideoAnnotationProgress>]
342
342
  # Progress metadata for all videos specified in `AnnotateVideoRequest`.
343
343
  class AnnotateVideoProgress
344
- include Google::Protobuf::MessageExts
345
- extend Google::Protobuf::MessageExts::ClassMethods
344
+ include ::Google::Protobuf::MessageExts
345
+ extend ::Google::Protobuf::MessageExts::ClassMethods
346
346
  end
347
347
 
348
348
  # A vertex represents a 2D point in the image.
349
349
  # NOTE: the normalized vertex coordinates are relative to the original image
350
350
  # and range from 0 to 1.
351
351
  # @!attribute [rw] x
352
- # @return [Float]
352
+ # @return [::Float]
353
353
  # X coordinate.
354
354
  # @!attribute [rw] y
355
- # @return [Float]
355
+ # @return [::Float]
356
356
  # Y coordinate.
357
357
  class NormalizedVertex
358
- include Google::Protobuf::MessageExts
359
- extend Google::Protobuf::MessageExts::ClassMethods
358
+ include ::Google::Protobuf::MessageExts
359
+ extend ::Google::Protobuf::MessageExts::ClassMethods
360
360
  end
361
361
 
362
362
  # Normalized bounding polygon for text (that might not be aligned with axis).
@@ -377,86 +377,86 @@ module Google
377
377
  # than 0, or greater than 1 due to trignometric calculations for location of
378
378
  # the box.
379
379
  # @!attribute [rw] vertices
380
- # @return [Array<Google::Cloud::VideoIntelligence::V1p2beta1::NormalizedVertex>]
380
+ # @return [::Array<::Google::Cloud::VideoIntelligence::V1p2beta1::NormalizedVertex>]
381
381
  # Normalized vertices of the bounding polygon.
382
382
  class NormalizedBoundingPoly
383
- include Google::Protobuf::MessageExts
384
- extend Google::Protobuf::MessageExts::ClassMethods
383
+ include ::Google::Protobuf::MessageExts
384
+ extend ::Google::Protobuf::MessageExts::ClassMethods
385
385
  end
386
386
 
387
387
  # Video segment level annotation results for text detection.
388
388
  # @!attribute [rw] segment
389
- # @return [Google::Cloud::VideoIntelligence::V1p2beta1::VideoSegment]
389
+ # @return [::Google::Cloud::VideoIntelligence::V1p2beta1::VideoSegment]
390
390
  # Video segment where a text snippet was detected.
391
391
  # @!attribute [rw] confidence
392
- # @return [Float]
392
+ # @return [::Float]
393
393
  # Confidence for the track of detected text. It is calculated as the highest
394
394
  # over all frames where OCR detected text appears.
395
395
  # @!attribute [rw] frames
396
- # @return [Array<Google::Cloud::VideoIntelligence::V1p2beta1::TextFrame>]
396
+ # @return [::Array<::Google::Cloud::VideoIntelligence::V1p2beta1::TextFrame>]
397
397
  # Information related to the frames where OCR detected text appears.
398
398
  class TextSegment
399
- include Google::Protobuf::MessageExts
400
- extend Google::Protobuf::MessageExts::ClassMethods
399
+ include ::Google::Protobuf::MessageExts
400
+ extend ::Google::Protobuf::MessageExts::ClassMethods
401
401
  end
402
402
 
403
403
  # Video frame level annotation results for text annotation (OCR).
404
404
  # Contains information regarding timestamp and bounding box locations for the
405
405
  # frames containing detected OCR text snippets.
406
406
  # @!attribute [rw] rotated_bounding_box
407
- # @return [Google::Cloud::VideoIntelligence::V1p2beta1::NormalizedBoundingPoly]
407
+ # @return [::Google::Cloud::VideoIntelligence::V1p2beta1::NormalizedBoundingPoly]
408
408
  # Bounding polygon of the detected text for this frame.
409
409
  # @!attribute [rw] time_offset
410
- # @return [Google::Protobuf::Duration]
410
+ # @return [::Google::Protobuf::Duration]
411
411
  # Timestamp of this frame.
412
412
  class TextFrame
413
- include Google::Protobuf::MessageExts
414
- extend Google::Protobuf::MessageExts::ClassMethods
413
+ include ::Google::Protobuf::MessageExts
414
+ extend ::Google::Protobuf::MessageExts::ClassMethods
415
415
  end
416
416
 
417
417
  # Annotations related to one detected OCR text snippet. This will contain the
418
418
  # corresponding text, confidence value, and frame level information for each
419
419
  # detection.
420
420
  # @!attribute [rw] text
421
- # @return [String]
421
+ # @return [::String]
422
422
  # The detected text.
423
423
  # @!attribute [rw] segments
424
- # @return [Array<Google::Cloud::VideoIntelligence::V1p2beta1::TextSegment>]
424
+ # @return [::Array<::Google::Cloud::VideoIntelligence::V1p2beta1::TextSegment>]
425
425
  # All video segments where OCR detected text appears.
426
426
  class TextAnnotation
427
- include Google::Protobuf::MessageExts
428
- extend Google::Protobuf::MessageExts::ClassMethods
427
+ include ::Google::Protobuf::MessageExts
428
+ extend ::Google::Protobuf::MessageExts::ClassMethods
429
429
  end
430
430
 
431
431
  # Video frame level annotations for object detection and tracking. This field
432
432
  # stores per frame location, time offset, and confidence.
433
433
  # @!attribute [rw] normalized_bounding_box
434
- # @return [Google::Cloud::VideoIntelligence::V1p2beta1::NormalizedBoundingBox]
434
+ # @return [::Google::Cloud::VideoIntelligence::V1p2beta1::NormalizedBoundingBox]
435
435
  # The normalized bounding box location of this object track for the frame.
436
436
  # @!attribute [rw] time_offset
437
- # @return [Google::Protobuf::Duration]
437
+ # @return [::Google::Protobuf::Duration]
438
438
  # The timestamp of the frame in microseconds.
439
439
  class ObjectTrackingFrame
440
- include Google::Protobuf::MessageExts
441
- extend Google::Protobuf::MessageExts::ClassMethods
440
+ include ::Google::Protobuf::MessageExts
441
+ extend ::Google::Protobuf::MessageExts::ClassMethods
442
442
  end
443
443
 
444
444
  # Annotations corresponding to one tracked object.
445
445
  # @!attribute [rw] entity
446
- # @return [Google::Cloud::VideoIntelligence::V1p2beta1::Entity]
446
+ # @return [::Google::Cloud::VideoIntelligence::V1p2beta1::Entity]
447
447
  # Entity to specify the object category that this track is labeled as.
448
448
  # @!attribute [rw] confidence
449
- # @return [Float]
449
+ # @return [::Float]
450
450
  # Object category's labeling confidence of this track.
451
451
  # @!attribute [rw] frames
452
- # @return [Array<Google::Cloud::VideoIntelligence::V1p2beta1::ObjectTrackingFrame>]
452
+ # @return [::Array<::Google::Cloud::VideoIntelligence::V1p2beta1::ObjectTrackingFrame>]
453
453
  # Information corresponding to all frames where this object track appears.
454
454
  # @!attribute [rw] segment
455
- # @return [Google::Cloud::VideoIntelligence::V1p2beta1::VideoSegment]
455
+ # @return [::Google::Cloud::VideoIntelligence::V1p2beta1::VideoSegment]
456
456
  # Each object track corresponds to one video segment where it appears.
457
457
  class ObjectTrackingAnnotation
458
- include Google::Protobuf::MessageExts
459
- extend Google::Protobuf::MessageExts::ClassMethods
458
+ include ::Google::Protobuf::MessageExts
459
+ extend ::Google::Protobuf::MessageExts::ClassMethods
460
460
  end
461
461
 
462
462
  # Video annotation feature.