Class: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p1beta1FaceSegment

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/videointelligence_v1p3beta1/classes.rb,
generated/google/apis/videointelligence_v1p3beta1/representations.rb,
generated/google/apis/videointelligence_v1p3beta1/representations.rb

Overview

Video segment level annotation results for face detection.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudVideointelligenceV1p1beta1FaceSegment

Returns a new instance of GoogleCloudVideointelligenceV1p1beta1FaceSegment.



2606
2607
2608
# File 'generated/google/apis/videointelligence_v1p3beta1/classes.rb', line 2606

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

Instance Attribute Details

#segmentGoogle::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p1beta1VideoSegment

Video segment. Corresponds to the JSON property segment



2604
2605
2606
# File 'generated/google/apis/videointelligence_v1p3beta1/classes.rb', line 2604

def segment
  @segment
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2611
2612
2613
# File 'generated/google/apis/videointelligence_v1p3beta1/classes.rb', line 2611

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