Class: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1beta2FaceSegment

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/videointelligence_v1p3beta1/classes.rb,
lib/google/apis/videointelligence_v1p3beta1/representations.rb,
lib/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) ⇒ GoogleCloudVideointelligenceV1beta2FaceSegment

Returns a new instance of GoogleCloudVideointelligenceV1beta2FaceSegment.



1536
1537
1538
# File 'lib/google/apis/videointelligence_v1p3beta1/classes.rb', line 1536

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

Instance Attribute Details

#segmentGoogle::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1beta2VideoSegment

Video segment. Corresponds to the JSON property segment



1534
1535
1536
# File 'lib/google/apis/videointelligence_v1p3beta1/classes.rb', line 1534

def segment
  @segment
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1541
1542
1543
# File 'lib/google/apis/videointelligence_v1p3beta1/classes.rb', line 1541

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