class Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1beta2VideoContext

Video context and/or feature-specific parameters.

Attributes

explicit_content_detection_config[RW]

Config for EXPLICIT_CONTENT_DETECTION. Corresponds to the JSON property `explicitContentDetectionConfig` @return [Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1beta2ExplicitContentDetectionConfig]

face_detection_config[RW]

Config for FACE_DETECTION. Corresponds to the JSON property `faceDetectionConfig` @return [Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1beta2FaceDetectionConfig]

label_detection_config[RW]

Config for LABEL_DETECTION. Corresponds to the JSON property `labelDetectionConfig` @return [Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1beta2LabelDetectionConfig]

object_tracking_config[RW]

Config for OBJECT_TRACKING. Corresponds to the JSON property `objectTrackingConfig` @return [Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1beta2ObjectTrackingConfig]

person_detection_config[RW]

Config for PERSON_DETECTION. Corresponds to the JSON property `personDetectionConfig` @return [Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1beta2PersonDetectionConfig]

segments[RW]

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::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1beta2VideoSegment>]

shot_change_detection_config[RW]

Config for SHOT_CHANGE_DETECTION. Corresponds to the JSON property `shotChangeDetectionConfig` @return [Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1beta2ShotChangeDetectionConfig]

speech_transcription_config[RW]

Config for SPEECH_TRANSCRIPTION. Corresponds to the JSON property `speechTranscriptionConfig` @return [Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1beta2SpeechTranscriptionConfig]

text_detection_config[RW]

Config for TEXT_DETECTION. Corresponds to the JSON property `textDetectionConfig` @return [Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1beta2TextDetectionConfig]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/videointelligence_v1beta2/classes.rb, line 2682
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/videointelligence_v1beta2/classes.rb, line 2687
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