Class: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1beta1LabelLocation
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1beta1LabelLocation
 
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/videointelligence_v1beta2/classes.rb,
 generated/google/apis/videointelligence_v1beta2/representations.rb,
 generated/google/apis/videointelligence_v1beta2/representations.rb
Overview
Label location.
Instance Attribute Summary collapse
- 
  
    
      #confidence  ⇒ Float 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Confidence that the label is accurate. 
- 
  
    
      #level  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Label level. 
- 
  
    
      #segment  ⇒ Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1beta1VideoSegment 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Video segment. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ GoogleCloudVideointelligenceV1beta1LabelLocation 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of GoogleCloudVideointelligenceV1beta1LabelLocation. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ GoogleCloudVideointelligenceV1beta1LabelLocation
Returns a new instance of GoogleCloudVideointelligenceV1beta1LabelLocation
| 495 496 497 | # File 'generated/google/apis/videointelligence_v1beta2/classes.rb', line 495 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#confidence ⇒ Float
Confidence that the label is accurate. Range: [0, 1].
Corresponds to the JSON property confidence
| 483 484 485 | # File 'generated/google/apis/videointelligence_v1beta2/classes.rb', line 483 def confidence @confidence end | 
#level ⇒ String
Label level.
Corresponds to the JSON property level
| 488 489 490 | # File 'generated/google/apis/videointelligence_v1beta2/classes.rb', line 488 def level @level end | 
#segment ⇒ Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1beta1VideoSegment
Video segment.
Corresponds to the JSON property segment
| 493 494 495 | # File 'generated/google/apis/videointelligence_v1beta2/classes.rb', line 493 def segment @segment end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 500 501 502 503 504 | # File 'generated/google/apis/videointelligence_v1beta2/classes.rb', line 500 def update!(**args) @confidence = args[:confidence] if args.key?(:confidence) @level = args[:level] if args.key?(:level) @segment = args[:segment] if args.key?(:segment) end |