Class: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1FaceSegment
- Inherits:
-
Object
- Object
- Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1FaceSegment
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/videointelligence_v1p2beta1/classes.rb,
generated/google/apis/videointelligence_v1p2beta1/representations.rb,
generated/google/apis/videointelligence_v1p2beta1/representations.rb
Overview
Video segment level annotation results for face detection.
Instance Attribute Summary collapse
-
#segment ⇒ Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1VideoSegment
Video segment.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudVideointelligenceV1FaceSegment
constructor
A new instance of GoogleCloudVideointelligenceV1FaceSegment.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudVideointelligenceV1FaceSegment
Returns a new instance of GoogleCloudVideointelligenceV1FaceSegment.
318 319 320 |
# File 'generated/google/apis/videointelligence_v1p2beta1/classes.rb', line 318 def initialize(**args) update!(**args) end |
Instance Attribute Details
#segment ⇒ Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1VideoSegment
Video segment.
Corresponds to the JSON property segment
316 317 318 |
# File 'generated/google/apis/videointelligence_v1p2beta1/classes.rb', line 316 def segment @segment end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
323 324 325 |
# File 'generated/google/apis/videointelligence_v1p2beta1/classes.rb', line 323 def update!(**args) @segment = args[:segment] if args.key?(:segment) end |