class Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p2beta1ExplicitContentFrame
Video frame level annotation results for explicit content.
Attributes
pornography_likelihood[RW]
Likelihood of the pornography content.. Corresponds to the JSON property `pornographyLikelihood` @return [String]
time_offset[RW]
Time-offset, relative to the beginning of the video, corresponding to the video frame for this location. Corresponds to the JSON property `timeOffset` @return [String]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/videointelligence_v1beta2/classes.rb, line 4112 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 4117 def update!(**args) @pornography_likelihood = args[:pornography_likelihood] if args.key?(:pornography_likelihood) @time_offset = args[:time_offset] if args.key?(:time_offset) end