Reference documentation and code samples for the Cloud Video Intelligence V1beta2 API class Google::Cloud::VideoIntelligence::V1beta2::VideoAnnotationResults.
Annotation results for a single video.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#error
def error() -> ::Google::Rpc::Status
Returns
-
(::Google::Rpc::Status) — If set, indicates an error. Note that for a single
AnnotateVideoRequest
some videos may succeed and some may fail.
#error=
def error=(value) -> ::Google::Rpc::Status
Parameter
-
value (::Google::Rpc::Status) — If set, indicates an error. Note that for a single
AnnotateVideoRequest
some videos may succeed and some may fail.
Returns
-
(::Google::Rpc::Status) — If set, indicates an error. Note that for a single
AnnotateVideoRequest
some videos may succeed and some may fail.
#explicit_annotation
def explicit_annotation() -> ::Google::Cloud::VideoIntelligence::V1beta2::ExplicitContentAnnotation
Returns
- (::Google::Cloud::VideoIntelligence::V1beta2::ExplicitContentAnnotation) — Explicit content annotation.
#explicit_annotation=
def explicit_annotation=(value) -> ::Google::Cloud::VideoIntelligence::V1beta2::ExplicitContentAnnotation
Parameter
- value (::Google::Cloud::VideoIntelligence::V1beta2::ExplicitContentAnnotation) — Explicit content annotation.
Returns
- (::Google::Cloud::VideoIntelligence::V1beta2::ExplicitContentAnnotation) — Explicit content annotation.
#face_annotations
def face_annotations() -> ::Array<::Google::Cloud::VideoIntelligence::V1beta2::FaceAnnotation>
Returns
- (::Array<::Google::Cloud::VideoIntelligence::V1beta2::FaceAnnotation>) — Face annotations. There is exactly one element for each unique face.
#face_annotations=
def face_annotations=(value) -> ::Array<::Google::Cloud::VideoIntelligence::V1beta2::FaceAnnotation>
Parameter
- value (::Array<::Google::Cloud::VideoIntelligence::V1beta2::FaceAnnotation>) — Face annotations. There is exactly one element for each unique face.
Returns
- (::Array<::Google::Cloud::VideoIntelligence::V1beta2::FaceAnnotation>) — Face annotations. There is exactly one element for each unique face.
#frame_label_annotations
def frame_label_annotations() -> ::Array<::Google::Cloud::VideoIntelligence::V1beta2::LabelAnnotation>
Returns
- (::Array<::Google::Cloud::VideoIntelligence::V1beta2::LabelAnnotation>) — Label annotations on frame level. There is exactly one element for each unique label.
#frame_label_annotations=
def frame_label_annotations=(value) -> ::Array<::Google::Cloud::VideoIntelligence::V1beta2::LabelAnnotation>
Parameter
- value (::Array<::Google::Cloud::VideoIntelligence::V1beta2::LabelAnnotation>) — Label annotations on frame level. There is exactly one element for each unique label.
Returns
- (::Array<::Google::Cloud::VideoIntelligence::V1beta2::LabelAnnotation>) — Label annotations on frame level. There is exactly one element for each unique label.
#input_uri
def input_uri() -> ::String
Returns
- (::String) — Video file location in Google Cloud Storage.
#input_uri=
def input_uri=(value) -> ::String
Parameter
- value (::String) — Video file location in Google Cloud Storage.
Returns
- (::String) — Video file location in Google Cloud Storage.
#segment_label_annotations
def segment_label_annotations() -> ::Array<::Google::Cloud::VideoIntelligence::V1beta2::LabelAnnotation>
Returns
- (::Array<::Google::Cloud::VideoIntelligence::V1beta2::LabelAnnotation>) — Label annotations on video level or user specified segment level. There is exactly one element for each unique label.
#segment_label_annotations=
def segment_label_annotations=(value) -> ::Array<::Google::Cloud::VideoIntelligence::V1beta2::LabelAnnotation>
Parameter
- value (::Array<::Google::Cloud::VideoIntelligence::V1beta2::LabelAnnotation>) — Label annotations on video level or user specified segment level. There is exactly one element for each unique label.
Returns
- (::Array<::Google::Cloud::VideoIntelligence::V1beta2::LabelAnnotation>) — Label annotations on video level or user specified segment level. There is exactly one element for each unique label.
#shot_annotations
def shot_annotations() -> ::Array<::Google::Cloud::VideoIntelligence::V1beta2::VideoSegment>
Returns
- (::Array<::Google::Cloud::VideoIntelligence::V1beta2::VideoSegment>) — Shot annotations. Each shot is represented as a video segment.
#shot_annotations=
def shot_annotations=(value) -> ::Array<::Google::Cloud::VideoIntelligence::V1beta2::VideoSegment>
Parameter
- value (::Array<::Google::Cloud::VideoIntelligence::V1beta2::VideoSegment>) — Shot annotations. Each shot is represented as a video segment.
Returns
- (::Array<::Google::Cloud::VideoIntelligence::V1beta2::VideoSegment>) — Shot annotations. Each shot is represented as a video segment.
#shot_label_annotations
def shot_label_annotations() -> ::Array<::Google::Cloud::VideoIntelligence::V1beta2::LabelAnnotation>
Returns
- (::Array<::Google::Cloud::VideoIntelligence::V1beta2::LabelAnnotation>) — Label annotations on shot level. There is exactly one element for each unique label.
#shot_label_annotations=
def shot_label_annotations=(value) -> ::Array<::Google::Cloud::VideoIntelligence::V1beta2::LabelAnnotation>
Parameter
- value (::Array<::Google::Cloud::VideoIntelligence::V1beta2::LabelAnnotation>) — Label annotations on shot level. There is exactly one element for each unique label.
Returns
- (::Array<::Google::Cloud::VideoIntelligence::V1beta2::LabelAnnotation>) — Label annotations on shot level. There is exactly one element for each unique label.