Class: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p1beta1FaceSegment
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p1beta1FaceSegment
 
- 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
Video segment level annotation results for face detection.
Instance Attribute Summary collapse
- 
  
    
      #segment  ⇒ Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p1beta1VideoSegment 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Video segment. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ GoogleCloudVideointelligenceV1p1beta1FaceSegment 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of GoogleCloudVideointelligenceV1p1beta1FaceSegment. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ GoogleCloudVideointelligenceV1p1beta1FaceSegment
Returns a new instance of GoogleCloudVideointelligenceV1p1beta1FaceSegment
| 1508 1509 1510 | # File 'generated/google/apis/videointelligence_v1beta2/classes.rb', line 1508 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#segment ⇒ Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p1beta1VideoSegment
Video segment.
Corresponds to the JSON property segment
| 1506 1507 1508 | # File 'generated/google/apis/videointelligence_v1beta2/classes.rb', line 1506 def segment @segment end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 1513 1514 1515 | # File 'generated/google/apis/videointelligence_v1beta2/classes.rb', line 1513 def update!(**args) @segment = args[:segment] if args.key?(:segment) end |