google-cloud-video_intelligence-v1beta2 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 V1beta2
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::V1beta2::Feature>]
43
+ # @return [::Array<::Google::Cloud::VideoIntelligence::V1beta2::Feature>]
44
44
  # Required. Requested video annotation features.
45
45
  # @!attribute [rw] video_context
46
- # @return [Google::Cloud::VideoIntelligence::V1beta2::VideoContext]
46
+ # @return [::Google::Cloud::VideoIntelligence::V1beta2::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,330 +54,330 @@ module Google
54
54
  # [google.rpc.Code.INVALID_ARGUMENT][google.rpc.Code.INVALID_ARGUMENT]). For
55
55
  # more information, see [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::V1beta2::VideoSegment>]
68
+ # @return [::Array<::Google::Cloud::VideoIntelligence::V1beta2::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::V1beta2::LabelDetectionConfig]
73
+ # @return [::Google::Cloud::VideoIntelligence::V1beta2::LabelDetectionConfig]
74
74
  # Config for LABEL_DETECTION.
75
75
  # @!attribute [rw] shot_change_detection_config
76
- # @return [Google::Cloud::VideoIntelligence::V1beta2::ShotChangeDetectionConfig]
76
+ # @return [::Google::Cloud::VideoIntelligence::V1beta2::ShotChangeDetectionConfig]
77
77
  # Config for SHOT_CHANGE_DETECTION.
78
78
  # @!attribute [rw] explicit_content_detection_config
79
- # @return [Google::Cloud::VideoIntelligence::V1beta2::ExplicitContentDetectionConfig]
79
+ # @return [::Google::Cloud::VideoIntelligence::V1beta2::ExplicitContentDetectionConfig]
80
80
  # Config for EXPLICIT_CONTENT_DETECTION.
81
81
  # @!attribute [rw] face_detection_config
82
- # @return [Google::Cloud::VideoIntelligence::V1beta2::FaceDetectionConfig]
82
+ # @return [::Google::Cloud::VideoIntelligence::V1beta2::FaceDetectionConfig]
83
83
  # Config for FACE_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::V1beta2::LabelDetectionMode]
91
+ # @return [::Google::Cloud::VideoIntelligence::V1beta2::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 FACE_DETECTION.
133
133
  # @!attribute [rw] model
134
- # @return [String]
134
+ # @return [::String]
135
135
  # Model to use for face detection.
136
136
  # Supported values: "builtin/stable" (the default if unset) and
137
137
  # "builtin/latest".
138
138
  # @!attribute [rw] include_bounding_boxes
139
- # @return [Boolean]
139
+ # @return [::Boolean]
140
140
  # Whether bounding boxes be included in the face annotation output.
141
141
  class FaceDetectionConfig
142
- include Google::Protobuf::MessageExts
143
- extend Google::Protobuf::MessageExts::ClassMethods
142
+ include ::Google::Protobuf::MessageExts
143
+ extend ::Google::Protobuf::MessageExts::ClassMethods
144
144
  end
145
145
 
146
146
  # Video segment.
147
147
  # @!attribute [rw] start_time_offset
148
- # @return [Google::Protobuf::Duration]
148
+ # @return [::Google::Protobuf::Duration]
149
149
  # Time-offset, relative to the beginning of the video,
150
150
  # corresponding to the start of the segment (inclusive).
151
151
  # @!attribute [rw] end_time_offset
152
- # @return [Google::Protobuf::Duration]
152
+ # @return [::Google::Protobuf::Duration]
153
153
  # Time-offset, relative to the beginning of the video,
154
154
  # corresponding to the end of the segment (inclusive).
155
155
  class VideoSegment
156
- include Google::Protobuf::MessageExts
157
- extend Google::Protobuf::MessageExts::ClassMethods
156
+ include ::Google::Protobuf::MessageExts
157
+ extend ::Google::Protobuf::MessageExts::ClassMethods
158
158
  end
159
159
 
160
160
  # Video segment level annotation results for label detection.
161
161
  # @!attribute [rw] segment
162
- # @return [Google::Cloud::VideoIntelligence::V1beta2::VideoSegment]
162
+ # @return [::Google::Cloud::VideoIntelligence::V1beta2::VideoSegment]
163
163
  # Video segment where a label was detected.
164
164
  # @!attribute [rw] confidence
165
- # @return [Float]
165
+ # @return [::Float]
166
166
  # Confidence that the label is accurate. Range: [0, 1].
167
167
  class LabelSegment
168
- include Google::Protobuf::MessageExts
169
- extend Google::Protobuf::MessageExts::ClassMethods
168
+ include ::Google::Protobuf::MessageExts
169
+ extend ::Google::Protobuf::MessageExts::ClassMethods
170
170
  end
171
171
 
172
172
  # Video frame level annotation results for label detection.
173
173
  # @!attribute [rw] time_offset
174
- # @return [Google::Protobuf::Duration]
174
+ # @return [::Google::Protobuf::Duration]
175
175
  # Time-offset, relative to the beginning of the video, corresponding to the
176
176
  # video frame for this location.
177
177
  # @!attribute [rw] confidence
178
- # @return [Float]
178
+ # @return [::Float]
179
179
  # Confidence that the label is accurate. Range: [0, 1].
180
180
  class LabelFrame
181
- include Google::Protobuf::MessageExts
182
- extend Google::Protobuf::MessageExts::ClassMethods
181
+ include ::Google::Protobuf::MessageExts
182
+ extend ::Google::Protobuf::MessageExts::ClassMethods
183
183
  end
184
184
 
185
185
  # Detected entity from video analysis.
186
186
  # @!attribute [rw] entity_id
187
- # @return [String]
187
+ # @return [::String]
188
188
  # Opaque entity ID. Some IDs may be available in
189
189
  # [Google Knowledge Graph Search
190
190
  # API](https://developers.google.com/knowledge-graph/).
191
191
  # @!attribute [rw] description
192
- # @return [String]
192
+ # @return [::String]
193
193
  # Textual description, e.g. `Fixed-gear bicycle`.
194
194
  # @!attribute [rw] language_code
195
- # @return [String]
195
+ # @return [::String]
196
196
  # Language code for `description` in BCP-47 format.
197
197
  class Entity
198
- include Google::Protobuf::MessageExts
199
- extend Google::Protobuf::MessageExts::ClassMethods
198
+ include ::Google::Protobuf::MessageExts
199
+ extend ::Google::Protobuf::MessageExts::ClassMethods
200
200
  end
201
201
 
202
202
  # Label annotation.
203
203
  # @!attribute [rw] entity
204
- # @return [Google::Cloud::VideoIntelligence::V1beta2::Entity]
204
+ # @return [::Google::Cloud::VideoIntelligence::V1beta2::Entity]
205
205
  # Detected entity.
206
206
  # @!attribute [rw] category_entities
207
- # @return [Array<Google::Cloud::VideoIntelligence::V1beta2::Entity>]
207
+ # @return [::Array<::Google::Cloud::VideoIntelligence::V1beta2::Entity>]
208
208
  # Common categories for the detected entity.
209
209
  # E.g. when the label is `Terrier` the category is likely `dog`. And in some
210
210
  # cases there might be more than one categories e.g. `Terrier` could also be
211
211
  # a `pet`.
212
212
  # @!attribute [rw] segments
213
- # @return [Array<Google::Cloud::VideoIntelligence::V1beta2::LabelSegment>]
213
+ # @return [::Array<::Google::Cloud::VideoIntelligence::V1beta2::LabelSegment>]
214
214
  # All video segments where a label was detected.
215
215
  # @!attribute [rw] frames
216
- # @return [Array<Google::Cloud::VideoIntelligence::V1beta2::LabelFrame>]
216
+ # @return [::Array<::Google::Cloud::VideoIntelligence::V1beta2::LabelFrame>]
217
217
  # All video frames where a label was detected.
218
218
  class LabelAnnotation
219
- include Google::Protobuf::MessageExts
220
- extend Google::Protobuf::MessageExts::ClassMethods
219
+ include ::Google::Protobuf::MessageExts
220
+ extend ::Google::Protobuf::MessageExts::ClassMethods
221
221
  end
222
222
 
223
223
  # Video frame level annotation results for explicit content.
224
224
  # @!attribute [rw] time_offset
225
- # @return [Google::Protobuf::Duration]
225
+ # @return [::Google::Protobuf::Duration]
226
226
  # Time-offset, relative to the beginning of the video, corresponding to the
227
227
  # video frame for this location.
228
228
  # @!attribute [rw] pornography_likelihood
229
- # @return [Google::Cloud::VideoIntelligence::V1beta2::Likelihood]
229
+ # @return [::Google::Cloud::VideoIntelligence::V1beta2::Likelihood]
230
230
  # Likelihood of the pornography content..
231
231
  class ExplicitContentFrame
232
- include Google::Protobuf::MessageExts
233
- extend Google::Protobuf::MessageExts::ClassMethods
232
+ include ::Google::Protobuf::MessageExts
233
+ extend ::Google::Protobuf::MessageExts::ClassMethods
234
234
  end
235
235
 
236
236
  # Explicit content annotation (based on per-frame visual signals only).
237
237
  # If no explicit content has been detected in a frame, no annotations are
238
238
  # present for that frame.
239
239
  # @!attribute [rw] frames
240
- # @return [Array<Google::Cloud::VideoIntelligence::V1beta2::ExplicitContentFrame>]
240
+ # @return [::Array<::Google::Cloud::VideoIntelligence::V1beta2::ExplicitContentFrame>]
241
241
  # All video frames where explicit content was detected.
242
242
  class ExplicitContentAnnotation
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
 
247
247
  # Normalized bounding box.
248
248
  # The normalized vertex coordinates are relative to the original image.
249
249
  # Range: [0, 1].
250
250
  # @!attribute [rw] left
251
- # @return [Float]
251
+ # @return [::Float]
252
252
  # Left X coordinate.
253
253
  # @!attribute [rw] top
254
- # @return [Float]
254
+ # @return [::Float]
255
255
  # Top Y coordinate.
256
256
  # @!attribute [rw] right
257
- # @return [Float]
257
+ # @return [::Float]
258
258
  # Right X coordinate.
259
259
  # @!attribute [rw] bottom
260
- # @return [Float]
260
+ # @return [::Float]
261
261
  # Bottom Y coordinate.
262
262
  class NormalizedBoundingBox
263
- include Google::Protobuf::MessageExts
264
- extend Google::Protobuf::MessageExts::ClassMethods
263
+ include ::Google::Protobuf::MessageExts
264
+ extend ::Google::Protobuf::MessageExts::ClassMethods
265
265
  end
266
266
 
267
267
  # Video segment level annotation results for face detection.
268
268
  # @!attribute [rw] segment
269
- # @return [Google::Cloud::VideoIntelligence::V1beta2::VideoSegment]
269
+ # @return [::Google::Cloud::VideoIntelligence::V1beta2::VideoSegment]
270
270
  # Video segment where a face was detected.
271
271
  class FaceSegment
272
- include Google::Protobuf::MessageExts
273
- extend Google::Protobuf::MessageExts::ClassMethods
272
+ include ::Google::Protobuf::MessageExts
273
+ extend ::Google::Protobuf::MessageExts::ClassMethods
274
274
  end
275
275
 
276
276
  # Video frame level annotation results for face detection.
277
277
  # @!attribute [rw] normalized_bounding_boxes
278
- # @return [Array<Google::Cloud::VideoIntelligence::V1beta2::NormalizedBoundingBox>]
278
+ # @return [::Array<::Google::Cloud::VideoIntelligence::V1beta2::NormalizedBoundingBox>]
279
279
  # Normalized Bounding boxes in a frame.
280
280
  # There can be more than one boxes if the same face is detected in multiple
281
281
  # locations within the current frame.
282
282
  # @!attribute [rw] time_offset
283
- # @return [Google::Protobuf::Duration]
283
+ # @return [::Google::Protobuf::Duration]
284
284
  # Time-offset, relative to the beginning of the video,
285
285
  # corresponding to the video frame for this location.
286
286
  class FaceFrame
287
- include Google::Protobuf::MessageExts
288
- extend Google::Protobuf::MessageExts::ClassMethods
287
+ include ::Google::Protobuf::MessageExts
288
+ extend ::Google::Protobuf::MessageExts::ClassMethods
289
289
  end
290
290
 
291
291
  # Face annotation.
292
292
  # @!attribute [rw] thumbnail
293
- # @return [String]
293
+ # @return [::String]
294
294
  # Thumbnail of a representative face view (in JPEG format).
295
295
  # @!attribute [rw] segments
296
- # @return [Array<Google::Cloud::VideoIntelligence::V1beta2::FaceSegment>]
296
+ # @return [::Array<::Google::Cloud::VideoIntelligence::V1beta2::FaceSegment>]
297
297
  # All video segments where a face was detected.
298
298
  # @!attribute [rw] frames
299
- # @return [Array<Google::Cloud::VideoIntelligence::V1beta2::FaceFrame>]
299
+ # @return [::Array<::Google::Cloud::VideoIntelligence::V1beta2::FaceFrame>]
300
300
  # All video frames where a face was detected.
301
301
  class FaceAnnotation
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
  # Annotation results for a single video.
307
307
  # @!attribute [rw] input_uri
308
- # @return [String]
308
+ # @return [::String]
309
309
  # Video file location in
310
310
  # [Google Cloud Storage](https://cloud.google.com/storage/).
311
311
  # @!attribute [rw] segment_label_annotations
312
- # @return [Array<Google::Cloud::VideoIntelligence::V1beta2::LabelAnnotation>]
312
+ # @return [::Array<::Google::Cloud::VideoIntelligence::V1beta2::LabelAnnotation>]
313
313
  # Label annotations on video level or user specified segment level.
314
314
  # There is exactly one element for each unique label.
315
315
  # @!attribute [rw] shot_label_annotations
316
- # @return [Array<Google::Cloud::VideoIntelligence::V1beta2::LabelAnnotation>]
316
+ # @return [::Array<::Google::Cloud::VideoIntelligence::V1beta2::LabelAnnotation>]
317
317
  # Label annotations on shot level.
318
318
  # There is exactly one element for each unique label.
319
319
  # @!attribute [rw] frame_label_annotations
320
- # @return [Array<Google::Cloud::VideoIntelligence::V1beta2::LabelAnnotation>]
320
+ # @return [::Array<::Google::Cloud::VideoIntelligence::V1beta2::LabelAnnotation>]
321
321
  # Label annotations on frame level.
322
322
  # There is exactly one element for each unique label.
323
323
  # @!attribute [rw] face_annotations
324
- # @return [Array<Google::Cloud::VideoIntelligence::V1beta2::FaceAnnotation>]
324
+ # @return [::Array<::Google::Cloud::VideoIntelligence::V1beta2::FaceAnnotation>]
325
325
  # Face annotations. There is exactly one element for each unique face.
326
326
  # @!attribute [rw] shot_annotations
327
- # @return [Array<Google::Cloud::VideoIntelligence::V1beta2::VideoSegment>]
327
+ # @return [::Array<::Google::Cloud::VideoIntelligence::V1beta2::VideoSegment>]
328
328
  # Shot annotations. Each shot is represented as a video segment.
329
329
  # @!attribute [rw] explicit_annotation
330
- # @return [Google::Cloud::VideoIntelligence::V1beta2::ExplicitContentAnnotation]
330
+ # @return [::Google::Cloud::VideoIntelligence::V1beta2::ExplicitContentAnnotation]
331
331
  # Explicit content annotation.
332
332
  # @!attribute [rw] error
333
- # @return [Google::Rpc::Status]
333
+ # @return [::Google::Rpc::Status]
334
334
  # If set, indicates an error. Note that for a single `AnnotateVideoRequest`
335
335
  # some videos may succeed and some may fail.
336
336
  class VideoAnnotationResults
337
- include Google::Protobuf::MessageExts
338
- extend Google::Protobuf::MessageExts::ClassMethods
337
+ include ::Google::Protobuf::MessageExts
338
+ extend ::Google::Protobuf::MessageExts::ClassMethods
339
339
  end
340
340
 
341
341
  # Video annotation response. Included in the `response`
342
342
  # field of the `Operation` returned by the `GetOperation`
343
343
  # call of the `google::longrunning::Operations` service.
344
344
  # @!attribute [rw] annotation_results
345
- # @return [Array<Google::Cloud::VideoIntelligence::V1beta2::VideoAnnotationResults>]
345
+ # @return [::Array<::Google::Cloud::VideoIntelligence::V1beta2::VideoAnnotationResults>]
346
346
  # Annotation results for all videos specified in `AnnotateVideoRequest`.
347
347
  class AnnotateVideoResponse
348
- include Google::Protobuf::MessageExts
349
- extend Google::Protobuf::MessageExts::ClassMethods
348
+ include ::Google::Protobuf::MessageExts
349
+ extend ::Google::Protobuf::MessageExts::ClassMethods
350
350
  end
351
351
 
352
352
  # Annotation progress for a single video.
353
353
  # @!attribute [rw] input_uri
354
- # @return [String]
354
+ # @return [::String]
355
355
  # Video file location in
356
356
  # [Google Cloud Storage](https://cloud.google.com/storage/).
357
357
  # @!attribute [rw] progress_percent
358
- # @return [Integer]
358
+ # @return [::Integer]
359
359
  # Approximate percentage processed thus far.
360
360
  # Guaranteed to be 100 when fully processed.
361
361
  # @!attribute [rw] start_time
362
- # @return [Google::Protobuf::Timestamp]
362
+ # @return [::Google::Protobuf::Timestamp]
363
363
  # Time when the request was received.
364
364
  # @!attribute [rw] update_time
365
- # @return [Google::Protobuf::Timestamp]
365
+ # @return [::Google::Protobuf::Timestamp]
366
366
  # Time of the most recent update.
367
367
  class VideoAnnotationProgress
368
- include Google::Protobuf::MessageExts
369
- extend Google::Protobuf::MessageExts::ClassMethods
368
+ include ::Google::Protobuf::MessageExts
369
+ extend ::Google::Protobuf::MessageExts::ClassMethods
370
370
  end
371
371
 
372
372
  # Video annotation progress. Included in the `metadata`
373
373
  # field of the `Operation` returned by the `GetOperation`
374
374
  # call of the `google::longrunning::Operations` service.
375
375
  # @!attribute [rw] annotation_progress
376
- # @return [Array<Google::Cloud::VideoIntelligence::V1beta2::VideoAnnotationProgress>]
376
+ # @return [::Array<::Google::Cloud::VideoIntelligence::V1beta2::VideoAnnotationProgress>]
377
377
  # Progress metadata for all videos specified in `AnnotateVideoRequest`.
378
378
  class AnnotateVideoProgress
379
- include Google::Protobuf::MessageExts
380
- extend Google::Protobuf::MessageExts::ClassMethods
379
+ include ::Google::Protobuf::MessageExts
380
+ extend ::Google::Protobuf::MessageExts::ClassMethods
381
381
  end
382
382
 
383
383
  # Video annotation feature.