class Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1beta2ExplicitContentFrame

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_v1p1beta1/classes.rb, line 1351
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_v1p1beta1/classes.rb, line 1356
def update!(**args)
  @pornography_likelihood = args[:pornography_likelihood] if args.key?(:pornography_likelihood)
  @time_offset = args[:time_offset] if args.key?(:time_offset)
end