Class: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p1beta1ExplicitContentFrame
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p1beta1ExplicitContentFrame
 
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/videointelligence_v1/classes.rb,
 generated/google/apis/videointelligence_v1/representations.rb,
 generated/google/apis/videointelligence_v1/representations.rb
Overview
Video frame level annotation results for explicit content.
Instance Attribute Summary collapse
- 
  
    
      #pornography_likelihood  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Likelihood of the pornography content.. 
- 
  
    
      #time_offset  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Time-offset, relative to the beginning of the video, corresponding to the video frame for this location. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ GoogleCloudVideointelligenceV1p1beta1ExplicitContentFrame 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of GoogleCloudVideointelligenceV1p1beta1ExplicitContentFrame. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ GoogleCloudVideointelligenceV1p1beta1ExplicitContentFrame
Returns a new instance of GoogleCloudVideointelligenceV1p1beta1ExplicitContentFrame
| 1408 1409 1410 | # File 'generated/google/apis/videointelligence_v1/classes.rb', line 1408 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#pornography_likelihood ⇒ String
Likelihood of the pornography content..
Corresponds to the JSON property pornographyLikelihood
| 1400 1401 1402 | # File 'generated/google/apis/videointelligence_v1/classes.rb', line 1400 def pornography_likelihood @pornography_likelihood end | 
#time_offset ⇒ String
Time-offset, relative to the beginning of the video, corresponding to the
video frame for this location.
Corresponds to the JSON property timeOffset
| 1406 1407 1408 | # File 'generated/google/apis/videointelligence_v1/classes.rb', line 1406 def time_offset @time_offset end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 1413 1414 1415 1416 | # File 'generated/google/apis/videointelligence_v1/classes.rb', line 1413 def update!(**args) @pornography_likelihood = args[:pornography_likelihood] if args.key?(:pornography_likelihood) @time_offset = args[:time_offset] if args.key?(:time_offset) end |