# Cloud Video Intelligence V1p3beta1 API - Class Google::Cloud::VideoIntelligence::V1p3beta1::VideoContext (v0.14.0)

0.14.0 (latest) 0.13.0 0.12.1 0.11.0 0.10.0 0.9.1 0.8.0 0.7.2 0.6.2 0.5.0 0.4.1 0.3.0 0.2.0 0.1.2 Reference documentation and code samples for the Cloud Video Intelligence V1p3beta1 API class Google::Cloud::VideoIntelligence::V1p3beta1::VideoContext.

Video context and/or feature-specific parameters.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #explicit_content_detection_config

    def explicit_content_detection_config() -> ::Google::Cloud::VideoIntelligence::V1p3beta1::ExplicitContentDetectionConfig

**Returns**

- ([::Google::Cloud::VideoIntelligence::V1p3beta1::ExplicitContentDetectionConfig](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-video_intelligence-v1p3beta1/latest/Google-Cloud-VideoIntelligence-V1p3beta1-ExplicitContentDetectionConfig)) --- Config for EXPLICIT_CONTENT_DETECTION.

### #explicit_content_detection_config=

    def explicit_content_detection_config=(value) -> ::Google::Cloud::VideoIntelligence::V1p3beta1::ExplicitContentDetectionConfig

**Parameter**

- **value** ([::Google::Cloud::VideoIntelligence::V1p3beta1::ExplicitContentDetectionConfig](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-video_intelligence-v1p3beta1/latest/Google-Cloud-VideoIntelligence-V1p3beta1-ExplicitContentDetectionConfig)) --- Config for EXPLICIT_CONTENT_DETECTION.
**Returns**

- ([::Google::Cloud::VideoIntelligence::V1p3beta1::ExplicitContentDetectionConfig](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-video_intelligence-v1p3beta1/latest/Google-Cloud-VideoIntelligence-V1p3beta1-ExplicitContentDetectionConfig)) --- Config for EXPLICIT_CONTENT_DETECTION.

### #face_detection_config

    def face_detection_config() -> ::Google::Cloud::VideoIntelligence::V1p3beta1::FaceDetectionConfig

**Returns**

- ([::Google::Cloud::VideoIntelligence::V1p3beta1::FaceDetectionConfig](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-video_intelligence-v1p3beta1/latest/Google-Cloud-VideoIntelligence-V1p3beta1-FaceDetectionConfig)) --- Config for FACE_DETECTION.

### #face_detection_config=

    def face_detection_config=(value) -> ::Google::Cloud::VideoIntelligence::V1p3beta1::FaceDetectionConfig

**Parameter**

- **value** ([::Google::Cloud::VideoIntelligence::V1p3beta1::FaceDetectionConfig](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-video_intelligence-v1p3beta1/latest/Google-Cloud-VideoIntelligence-V1p3beta1-FaceDetectionConfig)) --- Config for FACE_DETECTION.
**Returns**

- ([::Google::Cloud::VideoIntelligence::V1p3beta1::FaceDetectionConfig](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-video_intelligence-v1p3beta1/latest/Google-Cloud-VideoIntelligence-V1p3beta1-FaceDetectionConfig)) --- Config for FACE_DETECTION.

### #label_detection_config

    def label_detection_config() -> ::Google::Cloud::VideoIntelligence::V1p3beta1::LabelDetectionConfig

**Returns**

- ([::Google::Cloud::VideoIntelligence::V1p3beta1::LabelDetectionConfig](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-video_intelligence-v1p3beta1/latest/Google-Cloud-VideoIntelligence-V1p3beta1-LabelDetectionConfig)) --- Config for LABEL_DETECTION.

### #label_detection_config=

    def label_detection_config=(value) -> ::Google::Cloud::VideoIntelligence::V1p3beta1::LabelDetectionConfig

**Parameter**

- **value** ([::Google::Cloud::VideoIntelligence::V1p3beta1::LabelDetectionConfig](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-video_intelligence-v1p3beta1/latest/Google-Cloud-VideoIntelligence-V1p3beta1-LabelDetectionConfig)) --- Config for LABEL_DETECTION.
**Returns**

- ([::Google::Cloud::VideoIntelligence::V1p3beta1::LabelDetectionConfig](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-video_intelligence-v1p3beta1/latest/Google-Cloud-VideoIntelligence-V1p3beta1-LabelDetectionConfig)) --- Config for LABEL_DETECTION.

### #object_tracking_config

    def object_tracking_config() -> ::Google::Cloud::VideoIntelligence::V1p3beta1::ObjectTrackingConfig

**Returns**

- ([::Google::Cloud::VideoIntelligence::V1p3beta1::ObjectTrackingConfig](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-video_intelligence-v1p3beta1/latest/Google-Cloud-VideoIntelligence-V1p3beta1-ObjectTrackingConfig)) --- Config for OBJECT_TRACKING.

### #object_tracking_config=

    def object_tracking_config=(value) -> ::Google::Cloud::VideoIntelligence::V1p3beta1::ObjectTrackingConfig

**Parameter**

- **value** ([::Google::Cloud::VideoIntelligence::V1p3beta1::ObjectTrackingConfig](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-video_intelligence-v1p3beta1/latest/Google-Cloud-VideoIntelligence-V1p3beta1-ObjectTrackingConfig)) --- Config for OBJECT_TRACKING.
**Returns**

- ([::Google::Cloud::VideoIntelligence::V1p3beta1::ObjectTrackingConfig](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-video_intelligence-v1p3beta1/latest/Google-Cloud-VideoIntelligence-V1p3beta1-ObjectTrackingConfig)) --- Config for OBJECT_TRACKING.

### #person_detection_config

    def person_detection_config() -> ::Google::Cloud::VideoIntelligence::V1p3beta1::PersonDetectionConfig

**Returns**

- ([::Google::Cloud::VideoIntelligence::V1p3beta1::PersonDetectionConfig](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-video_intelligence-v1p3beta1/latest/Google-Cloud-VideoIntelligence-V1p3beta1-PersonDetectionConfig)) --- Config for PERSON_DETECTION.

### #person_detection_config=

    def person_detection_config=(value) -> ::Google::Cloud::VideoIntelligence::V1p3beta1::PersonDetectionConfig

**Parameter**

- **value** ([::Google::Cloud::VideoIntelligence::V1p3beta1::PersonDetectionConfig](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-video_intelligence-v1p3beta1/latest/Google-Cloud-VideoIntelligence-V1p3beta1-PersonDetectionConfig)) --- Config for PERSON_DETECTION.
**Returns**

- ([::Google::Cloud::VideoIntelligence::V1p3beta1::PersonDetectionConfig](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-video_intelligence-v1p3beta1/latest/Google-Cloud-VideoIntelligence-V1p3beta1-PersonDetectionConfig)) --- Config for PERSON_DETECTION.

### #segments

    def segments() -> ::Array<::Google::Cloud::VideoIntelligence::V1p3beta1::VideoSegment>

**Returns**

- (::Array\<[::Google::Cloud::VideoIntelligence::V1p3beta1::VideoSegment](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-video_intelligence-v1p3beta1/latest/Google-Cloud-VideoIntelligence-V1p3beta1-VideoSegment)\>) --- Video segments to annotate. The segments may overlap and are not required to be contiguous or span the whole video. If unspecified, each video is treated as a single segment.

### #segments=

    def segments=(value) -> ::Array<::Google::Cloud::VideoIntelligence::V1p3beta1::VideoSegment>

**Parameter**

- **value** (::Array\<[::Google::Cloud::VideoIntelligence::V1p3beta1::VideoSegment](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-video_intelligence-v1p3beta1/latest/Google-Cloud-VideoIntelligence-V1p3beta1-VideoSegment)\>) --- Video segments to annotate. The segments may overlap and are not required to be contiguous or span the whole video. If unspecified, each video is treated as a single segment.
**Returns**

- (::Array\<[::Google::Cloud::VideoIntelligence::V1p3beta1::VideoSegment](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-video_intelligence-v1p3beta1/latest/Google-Cloud-VideoIntelligence-V1p3beta1-VideoSegment)\>) --- Video segments to annotate. The segments may overlap and are not required to be contiguous or span the whole video. If unspecified, each video is treated as a single segment.

### #shot_change_detection_config

    def shot_change_detection_config() -> ::Google::Cloud::VideoIntelligence::V1p3beta1::ShotChangeDetectionConfig

**Returns**

- ([::Google::Cloud::VideoIntelligence::V1p3beta1::ShotChangeDetectionConfig](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-video_intelligence-v1p3beta1/latest/Google-Cloud-VideoIntelligence-V1p3beta1-ShotChangeDetectionConfig)) --- Config for SHOT_CHANGE_DETECTION.

### #shot_change_detection_config=

    def shot_change_detection_config=(value) -> ::Google::Cloud::VideoIntelligence::V1p3beta1::ShotChangeDetectionConfig

**Parameter**

- **value** ([::Google::Cloud::VideoIntelligence::V1p3beta1::ShotChangeDetectionConfig](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-video_intelligence-v1p3beta1/latest/Google-Cloud-VideoIntelligence-V1p3beta1-ShotChangeDetectionConfig)) --- Config for SHOT_CHANGE_DETECTION.
**Returns**

- ([::Google::Cloud::VideoIntelligence::V1p3beta1::ShotChangeDetectionConfig](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-video_intelligence-v1p3beta1/latest/Google-Cloud-VideoIntelligence-V1p3beta1-ShotChangeDetectionConfig)) --- Config for SHOT_CHANGE_DETECTION.

### #speech_transcription_config

    def speech_transcription_config() -> ::Google::Cloud::VideoIntelligence::V1p3beta1::SpeechTranscriptionConfig

**Returns**

- ([::Google::Cloud::VideoIntelligence::V1p3beta1::SpeechTranscriptionConfig](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-video_intelligence-v1p3beta1/latest/Google-Cloud-VideoIntelligence-V1p3beta1-SpeechTranscriptionConfig)) --- Config for SPEECH_TRANSCRIPTION.

### #speech_transcription_config=

    def speech_transcription_config=(value) -> ::Google::Cloud::VideoIntelligence::V1p3beta1::SpeechTranscriptionConfig

**Parameter**

- **value** ([::Google::Cloud::VideoIntelligence::V1p3beta1::SpeechTranscriptionConfig](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-video_intelligence-v1p3beta1/latest/Google-Cloud-VideoIntelligence-V1p3beta1-SpeechTranscriptionConfig)) --- Config for SPEECH_TRANSCRIPTION.
**Returns**

- ([::Google::Cloud::VideoIntelligence::V1p3beta1::SpeechTranscriptionConfig](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-video_intelligence-v1p3beta1/latest/Google-Cloud-VideoIntelligence-V1p3beta1-SpeechTranscriptionConfig)) --- Config for SPEECH_TRANSCRIPTION.

### #text_detection_config

    def text_detection_config() -> ::Google::Cloud::VideoIntelligence::V1p3beta1::TextDetectionConfig

**Returns**

- ([::Google::Cloud::VideoIntelligence::V1p3beta1::TextDetectionConfig](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-video_intelligence-v1p3beta1/latest/Google-Cloud-VideoIntelligence-V1p3beta1-TextDetectionConfig)) --- Config for TEXT_DETECTION.

### #text_detection_config=

    def text_detection_config=(value) -> ::Google::Cloud::VideoIntelligence::V1p3beta1::TextDetectionConfig

**Parameter**

- **value** ([::Google::Cloud::VideoIntelligence::V1p3beta1::TextDetectionConfig](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-video_intelligence-v1p3beta1/latest/Google-Cloud-VideoIntelligence-V1p3beta1-TextDetectionConfig)) --- Config for TEXT_DETECTION.
**Returns**

- ([::Google::Cloud::VideoIntelligence::V1p3beta1::TextDetectionConfig](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-video_intelligence-v1p3beta1/latest/Google-Cloud-VideoIntelligence-V1p3beta1-TextDetectionConfig)) --- Config for TEXT_DETECTION.