Class: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1beta2ExplicitContentAnnotation
- Inherits:
-
Object
- Object
- Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1beta2ExplicitContentAnnotation
- 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
Explicit content annotation (based on per-frame visual signals only). If no explicit content has been detected in a frame, no annotations are present for that frame.
Instance Attribute Summary collapse
-
#frames ⇒ Array<Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1beta2ExplicitContentFrame>
All video frames where explicit content was detected.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudVideointelligenceV1beta2ExplicitContentAnnotation
constructor
A new instance of GoogleCloudVideointelligenceV1beta2ExplicitContentAnnotation.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ GoogleCloudVideointelligenceV1beta2ExplicitContentAnnotation
Returns a new instance of GoogleCloudVideointelligenceV1beta2ExplicitContentAnnotation
621 622 623 |
# File 'generated/google/apis/videointelligence_v1p2beta1/classes.rb', line 621 def initialize(**args) update!(**args) end |
Instance Attribute Details
#frames ⇒ Array<Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1beta2ExplicitContentFrame>
All video frames where explicit content was detected.
Corresponds to the JSON property frames
619 620 621 |
# File 'generated/google/apis/videointelligence_v1p2beta1/classes.rb', line 619 def frames @frames end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
626 627 628 |
# File 'generated/google/apis/videointelligence_v1p2beta1/classes.rb', line 626 def update!(**args) @frames = args[:frames] if args.key?(:frames) end |