Class: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p3beta1FaceSegment

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

Overview

Video segment level annotation results for face detection.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudVideointelligenceV1p3beta1FaceSegment

Returns a new instance of GoogleCloudVideointelligenceV1p3beta1FaceSegment.



5453
5454
5455
# File 'lib/google/apis/videointelligence_v1p2beta1/classes.rb', line 5453

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

Instance Attribute Details

#segmentGoogle::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p3beta1VideoSegment

Video segment. Corresponds to the JSON property segment



5451
5452
5453
# File 'lib/google/apis/videointelligence_v1p2beta1/classes.rb', line 5451

def segment
  @segment
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5458
5459
5460
# File 'lib/google/apis/videointelligence_v1p2beta1/classes.rb', line 5458

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