# Cloud Video Intelligence V1p1beta1 API - Class Google::Cloud::VideoIntelligence::V1p1beta1::VideoAnnotationResults (v0.17.0)

0.17.0 (latest) 0.16.0 0.15.1 0.14.0 0.13.0 0.12.1 0.11.0 0.10.2 0.9.2 0.8.0 0.7.1 0.6.0 0.5.0 0.4.5 Reference documentation and code samples for the Cloud Video Intelligence V1p1beta1 API class Google::Cloud::VideoIntelligence::V1p1beta1::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](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-video_intelligence-v1p1beta1/latest/Google-Rpc-Status)) --- Output only. 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](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-video_intelligence-v1p1beta1/latest/Google-Rpc-Status)) --- Output only. If set, indicates an error. Note that for a single `AnnotateVideoRequest` some videos may succeed and some may fail.
**Returns**

- ([::Google::Rpc::Status](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-video_intelligence-v1p1beta1/latest/Google-Rpc-Status)) --- Output only. 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::V1p1beta1::ExplicitContentAnnotation

**Returns**

- ([::Google::Cloud::VideoIntelligence::V1p1beta1::ExplicitContentAnnotation](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-video_intelligence-v1p1beta1/latest/Google-Cloud-VideoIntelligence-V1p1beta1-ExplicitContentAnnotation)) --- Explicit content annotation.

### #explicit_annotation=

    def explicit_annotation=(value) -> ::Google::Cloud::VideoIntelligence::V1p1beta1::ExplicitContentAnnotation

**Parameter**

- **value** ([::Google::Cloud::VideoIntelligence::V1p1beta1::ExplicitContentAnnotation](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-video_intelligence-v1p1beta1/latest/Google-Cloud-VideoIntelligence-V1p1beta1-ExplicitContentAnnotation)) --- Explicit content annotation.
**Returns**

- ([::Google::Cloud::VideoIntelligence::V1p1beta1::ExplicitContentAnnotation](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-video_intelligence-v1p1beta1/latest/Google-Cloud-VideoIntelligence-V1p1beta1-ExplicitContentAnnotation)) --- Explicit content annotation.

### #frame_label_annotations

    def frame_label_annotations() -> ::Array<::Google::Cloud::VideoIntelligence::V1p1beta1::LabelAnnotation>

**Returns**

- (::Array\<[::Google::Cloud::VideoIntelligence::V1p1beta1::LabelAnnotation](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-video_intelligence-v1p1beta1/latest/Google-Cloud-VideoIntelligence-V1p1beta1-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::V1p1beta1::LabelAnnotation>

**Parameter**

- **value** (::Array\<[::Google::Cloud::VideoIntelligence::V1p1beta1::LabelAnnotation](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-video_intelligence-v1p1beta1/latest/Google-Cloud-VideoIntelligence-V1p1beta1-LabelAnnotation)\>) --- Label annotations on frame level. There is exactly one element for each unique label.
**Returns**

- (::Array\<[::Google::Cloud::VideoIntelligence::V1p1beta1::LabelAnnotation](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-video_intelligence-v1p1beta1/latest/Google-Cloud-VideoIntelligence-V1p1beta1-LabelAnnotation)\>) --- Label annotations on frame level. There is exactly one element for each unique label.

### #input_uri

    def input_uri() -> ::String

**Returns**

- (::String) --- Output only. Video file location in [Google Cloud Storage](https://cloud.google.com/storage/).

### #input_uri=

    def input_uri=(value) -> ::String

**Parameter**

- **value** (::String) --- Output only. Video file location in [Google Cloud Storage](https://cloud.google.com/storage/).
**Returns**

- (::String) --- Output only. Video file location in [Google Cloud Storage](https://cloud.google.com/storage/).

### #segment_label_annotations

    def segment_label_annotations() -> ::Array<::Google::Cloud::VideoIntelligence::V1p1beta1::LabelAnnotation>

**Returns**

- (::Array\<[::Google::Cloud::VideoIntelligence::V1p1beta1::LabelAnnotation](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-video_intelligence-v1p1beta1/latest/Google-Cloud-VideoIntelligence-V1p1beta1-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::V1p1beta1::LabelAnnotation>

**Parameter**

- **value** (::Array\<[::Google::Cloud::VideoIntelligence::V1p1beta1::LabelAnnotation](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-video_intelligence-v1p1beta1/latest/Google-Cloud-VideoIntelligence-V1p1beta1-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::V1p1beta1::LabelAnnotation](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-video_intelligence-v1p1beta1/latest/Google-Cloud-VideoIntelligence-V1p1beta1-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::V1p1beta1::VideoSegment>

**Returns**

- (::Array\<[::Google::Cloud::VideoIntelligence::V1p1beta1::VideoSegment](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-video_intelligence-v1p1beta1/latest/Google-Cloud-VideoIntelligence-V1p1beta1-VideoSegment)\>) --- Shot annotations. Each shot is represented as a video segment.

### #shot_annotations=

    def shot_annotations=(value) -> ::Array<::Google::Cloud::VideoIntelligence::V1p1beta1::VideoSegment>

**Parameter**

- **value** (::Array\<[::Google::Cloud::VideoIntelligence::V1p1beta1::VideoSegment](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-video_intelligence-v1p1beta1/latest/Google-Cloud-VideoIntelligence-V1p1beta1-VideoSegment)\>) --- Shot annotations. Each shot is represented as a video segment.
**Returns**

- (::Array\<[::Google::Cloud::VideoIntelligence::V1p1beta1::VideoSegment](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-video_intelligence-v1p1beta1/latest/Google-Cloud-VideoIntelligence-V1p1beta1-VideoSegment)\>) --- Shot annotations. Each shot is represented as a video segment.

### #shot_label_annotations

    def shot_label_annotations() -> ::Array<::Google::Cloud::VideoIntelligence::V1p1beta1::LabelAnnotation>

**Returns**

- (::Array\<[::Google::Cloud::VideoIntelligence::V1p1beta1::LabelAnnotation](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-video_intelligence-v1p1beta1/latest/Google-Cloud-VideoIntelligence-V1p1beta1-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::V1p1beta1::LabelAnnotation>

**Parameter**

- **value** (::Array\<[::Google::Cloud::VideoIntelligence::V1p1beta1::LabelAnnotation](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-video_intelligence-v1p1beta1/latest/Google-Cloud-VideoIntelligence-V1p1beta1-LabelAnnotation)\>) --- Label annotations on shot level. There is exactly one element for each unique label.
**Returns**

- (::Array\<[::Google::Cloud::VideoIntelligence::V1p1beta1::LabelAnnotation](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-video_intelligence-v1p1beta1/latest/Google-Cloud-VideoIntelligence-V1p1beta1-LabelAnnotation)\>) --- Label annotations on shot level. There is exactly one element for each unique label.

### #speech_transcriptions

    def speech_transcriptions() -> ::Array<::Google::Cloud::VideoIntelligence::V1p1beta1::SpeechTranscription>

**Returns**

- (::Array\<[::Google::Cloud::VideoIntelligence::V1p1beta1::SpeechTranscription](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-video_intelligence-v1p1beta1/latest/Google-Cloud-VideoIntelligence-V1p1beta1-SpeechTranscription)\>) --- Speech transcription.

### #speech_transcriptions=

    def speech_transcriptions=(value) -> ::Array<::Google::Cloud::VideoIntelligence::V1p1beta1::SpeechTranscription>

**Parameter**

- **value** (::Array\<[::Google::Cloud::VideoIntelligence::V1p1beta1::SpeechTranscription](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-video_intelligence-v1p1beta1/latest/Google-Cloud-VideoIntelligence-V1p1beta1-SpeechTranscription)\>) --- Speech transcription.
**Returns**

- (::Array\<[::Google::Cloud::VideoIntelligence::V1p1beta1::SpeechTranscription](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-video_intelligence-v1p1beta1/latest/Google-Cloud-VideoIntelligence-V1p1beta1-SpeechTranscription)\>) --- Speech transcription.