Class: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1VideoContext
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1VideoContext
 
- 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 context and/or feature-specific parameters.
Instance Attribute Summary collapse
- 
  
    
      #explicit_content_detection_config  ⇒ Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1ExplicitContentDetectionConfig 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Config for EXPLICIT_CONTENT_DETECTION. 
- 
  
    
      #label_detection_config  ⇒ Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1LabelDetectionConfig 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Config for LABEL_DETECTION. 
- 
  
    
      #segments  ⇒ Array<Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1VideoSegment> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Non-streaming request only. 
- 
  
    
      #shot_change_detection_config  ⇒ Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1ShotChangeDetectionConfig 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Config for SHOT_CHANGE_DETECTION. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ GoogleCloudVideointelligenceV1VideoContext 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of GoogleCloudVideointelligenceV1VideoContext. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ GoogleCloudVideointelligenceV1VideoContext
Returns a new instance of GoogleCloudVideointelligenceV1VideoContext
| 550 551 552 | # File 'generated/google/apis/videointelligence_v1/classes.rb', line 550 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#explicit_content_detection_config ⇒ Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1ExplicitContentDetectionConfig
Config for EXPLICIT_CONTENT_DETECTION.
Corresponds to the JSON property explicitContentDetectionConfig
| 531 532 533 | # File 'generated/google/apis/videointelligence_v1/classes.rb', line 531 def explicit_content_detection_config @explicit_content_detection_config end | 
#label_detection_config ⇒ Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1LabelDetectionConfig
Config for LABEL_DETECTION.
Corresponds to the JSON property labelDetectionConfig
| 536 537 538 | # File 'generated/google/apis/videointelligence_v1/classes.rb', line 536 def label_detection_config @label_detection_config end | 
#segments ⇒ Array<Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1VideoSegment>
Non-streaming request only. 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
| 543 544 545 | # File 'generated/google/apis/videointelligence_v1/classes.rb', line 543 def segments @segments end | 
#shot_change_detection_config ⇒ Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1ShotChangeDetectionConfig
Config for SHOT_CHANGE_DETECTION.
Corresponds to the JSON property shotChangeDetectionConfig
| 548 549 550 | # File 'generated/google/apis/videointelligence_v1/classes.rb', line 548 def shot_change_detection_config @shot_change_detection_config end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 555 556 557 558 559 560 | # File 'generated/google/apis/videointelligence_v1/classes.rb', line 555 def update!(**args) @explicit_content_detection_config = args[:explicit_content_detection_config] if args.key?(:explicit_content_detection_config) @label_detection_config = args[:label_detection_config] if args.key?(:label_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) end |