Class: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1beta2FaceSegment
- Inherits:
-
Object
- Object
- Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1beta2FaceSegment
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/videointelligence_v1p1beta1/classes.rb,
generated/google/apis/videointelligence_v1p1beta1/representations.rb,
generated/google/apis/videointelligence_v1p1beta1/representations.rb
Overview
Video segment level annotation results for face detection.
Instance Attribute Summary collapse
-
#segment ⇒ Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1beta2VideoSegment
Video segment.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudVideointelligenceV1beta2FaceSegment
constructor
A new instance of GoogleCloudVideointelligenceV1beta2FaceSegment.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudVideointelligenceV1beta2FaceSegment
Returns a new instance of GoogleCloudVideointelligenceV1beta2FaceSegment.
1462 1463 1464 |
# File 'generated/google/apis/videointelligence_v1p1beta1/classes.rb', line 1462 def initialize(**args) update!(**args) end |
Instance Attribute Details
#segment ⇒ Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1beta2VideoSegment
Video segment.
Corresponds to the JSON property segment
1460 1461 1462 |
# File 'generated/google/apis/videointelligence_v1p1beta1/classes.rb', line 1460 def segment @segment end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1467 1468 1469 |
# File 'generated/google/apis/videointelligence_v1p1beta1/classes.rb', line 1467 def update!(**args) @segment = args[:segment] if args.key?(:segment) end |