class Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p1beta1LabelSegment
Video segment level annotation results for label detection.
Attributes
confidence[RW]
Confidence that the label is accurate. Range: [0, 1]. Corresponds to the JSON property `confidence` @return [Float]
segment[RW]
Video segment. Corresponds to the JSON property `segment` @return [Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p1beta1VideoSegment]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/videointelligence_v1p3beta1/classes.rb, line 2701 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/videointelligence_v1p3beta1/classes.rb, line 2706 def update!(**args) @confidence = args[:confidence] if args.key?(:confidence) @segment = args[:segment] if args.key?(:segment) end