# AI Platform Data Labeling Service V1beta1 API - Class Google::Cloud::DataLabeling::V1beta1::VideoClassificationConfig (v0.15.0)

0.15.0 (latest) 0.14.0 0.13.1 0.12.0 0.11.1 0.10.1 0.9.0 0.8.1 0.7.2 0.6.0 0.5.0 0.4.0 0.3.5 Reference documentation and code samples for the AI Platform Data Labeling Service V1beta1 API class Google::Cloud::DataLabeling::V1beta1::VideoClassificationConfig.

Config for video classification human labeling task.
Currently two types of video classification are supported:

1. Assign labels on the entire video.
2. Split the video into multiple video clips based on camera shot, and assign labels on each video clip.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #annotation_spec_set_configs

    def annotation_spec_set_configs() -> ::Array<::Google::Cloud::DataLabeling::V1beta1::VideoClassificationConfig::AnnotationSpecSetConfig>

**Returns**

- (::Array\<[::Google::Cloud::DataLabeling::V1beta1::VideoClassificationConfig::AnnotationSpecSetConfig](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-data_labeling-v1beta1/latest/Google-Cloud-DataLabeling-V1beta1-VideoClassificationConfig-AnnotationSpecSetConfig)\>) --- Required. The list of annotation spec set configs. Since watching a video clip takes much longer time than an image, we support label with multiple AnnotationSpecSet at the same time. Labels in each AnnotationSpecSet will be shown in a group to contributors. Contributors can select one or more (depending on whether to allow multi label) from each group.

### #annotation_spec_set_configs=

    def annotation_spec_set_configs=(value) -> ::Array<::Google::Cloud::DataLabeling::V1beta1::VideoClassificationConfig::AnnotationSpecSetConfig>

**Parameter**

- **value** (::Array\<[::Google::Cloud::DataLabeling::V1beta1::VideoClassificationConfig::AnnotationSpecSetConfig](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-data_labeling-v1beta1/latest/Google-Cloud-DataLabeling-V1beta1-VideoClassificationConfig-AnnotationSpecSetConfig)\>) --- Required. The list of annotation spec set configs. Since watching a video clip takes much longer time than an image, we support label with multiple AnnotationSpecSet at the same time. Labels in each AnnotationSpecSet will be shown in a group to contributors. Contributors can select one or more (depending on whether to allow multi label) from each group.
**Returns**

- (::Array\<[::Google::Cloud::DataLabeling::V1beta1::VideoClassificationConfig::AnnotationSpecSetConfig](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-data_labeling-v1beta1/latest/Google-Cloud-DataLabeling-V1beta1-VideoClassificationConfig-AnnotationSpecSetConfig)\>) --- Required. The list of annotation spec set configs. Since watching a video clip takes much longer time than an image, we support label with multiple AnnotationSpecSet at the same time. Labels in each AnnotationSpecSet will be shown in a group to contributors. Contributors can select one or more (depending on whether to allow multi label) from each group.

### #apply_shot_detection

    def apply_shot_detection() -> ::Boolean

**Returns**

- (::Boolean) --- Optional. Option to apply shot detection on the video.

### #apply_shot_detection=

    def apply_shot_detection=(value) -> ::Boolean

**Parameter**

- **value** (::Boolean) --- Optional. Option to apply shot detection on the video.
**Returns**

- (::Boolean) --- Optional. Option to apply shot detection on the video.