class Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p2beta1VideoContext
Video context and/or feature-specific parameters.
Attributes
Config for EXPLICIT_CONTENT_DETECTION. Corresponds to the JSON property `explicitContentDetectionConfig` @return [Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p2beta1ExplicitContentDetectionConfig]
Config for FACE_DETECTION. Corresponds to the JSON property `faceDetectionConfig` @return [Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p2beta1FaceDetectionConfig]
Config for LABEL_DETECTION. Corresponds to the JSON property `labelDetectionConfig` @return [Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p2beta1LabelDetectionConfig]
Config for OBJECT_TRACKING. Corresponds to the JSON property `objectTrackingConfig` @return [Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p2beta1ObjectTrackingConfig]
Config for PERSON_DETECTION. Corresponds to the JSON property `personDetectionConfig` @return [Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p2beta1PersonDetectionConfig]
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. Corresponds to the JSON property `segments` @return [Array<Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p2beta1VideoSegment>]
Config for SHOT_CHANGE_DETECTION. Corresponds to the JSON property `shotChangeDetectionConfig` @return [Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p2beta1ShotChangeDetectionConfig]
Config for SPEECH_TRANSCRIPTION. Corresponds to the JSON property `speechTranscriptionConfig` @return [Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p2beta1SpeechTranscriptionConfig]
Config for TEXT_DETECTION. Corresponds to the JSON property `textDetectionConfig` @return [Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p2beta1TextDetectionConfig]
Public Class Methods
# File lib/google/apis/videointelligence_v1p2beta1/classes.rb, line 4970 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/videointelligence_v1p2beta1/classes.rb, line 4975 def update!(**args) @explicit_content_detection_config = args[:explicit_content_detection_config] if args.key?(:explicit_content_detection_config) @face_detection_config = args[:face_detection_config] if args.key?(:face_detection_config) @label_detection_config = args[:label_detection_config] if args.key?(:label_detection_config) @object_tracking_config = args[:object_tracking_config] if args.key?(:object_tracking_config) @person_detection_config = args[:person_detection_config] if args.key?(:person_detection_config) @segments = args[:segments] if args.key?(:segments) @shot_change_detection_config = args[:shot_change_detection_config] if args.key?(:shot_change_detection_config) @speech_transcription_config = args[:speech_transcription_config] if args.key?(:speech_transcription_config) @text_detection_config = args[:text_detection_config] if args.key?(:text_detection_config) end