Class: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1beta2FaceSegment

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudVideointelligenceV1beta2FaceSegment

Returns a new instance of GoogleCloudVideointelligenceV1beta2FaceSegment.



1584
1585
1586
# File 'generated/google/apis/videointelligence_v1beta2/classes.rb', line 1584

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#segmentGoogle::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1beta2VideoSegment

Video segment. Corresponds to the JSON property segment



1582
1583
1584
# File 'generated/google/apis/videointelligence_v1beta2/classes.rb', line 1582

def segment
  @segment
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1589
1590
1591
# File 'generated/google/apis/videointelligence_v1beta2/classes.rb', line 1589

def update!(**args)
  @segment = args[:segment] if args.key?(:segment)
end