Class: Google::Apis::VideointelligenceV1beta1::GoogleCloudVideointelligenceV1p1beta1FaceSegment

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

Overview

Video segment level annotation results for face detection.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ GoogleCloudVideointelligenceV1p1beta1FaceSegment

Returns a new instance of GoogleCloudVideointelligenceV1p1beta1FaceSegment



1445
1446
1447
# File 'generated/google/apis/videointelligence_v1beta1/classes.rb', line 1445

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

Instance Attribute Details

#segmentGoogle::Apis::VideointelligenceV1beta1::GoogleCloudVideointelligenceV1p1beta1VideoSegment

Video segment. Corresponds to the JSON property segment



1443
1444
1445
# File 'generated/google/apis/videointelligence_v1beta1/classes.rb', line 1443

def segment
  @segment
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1450
1451
1452
# File 'generated/google/apis/videointelligence_v1beta1/classes.rb', line 1450

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