Class: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p1beta1ExplicitContentAnnotation
- Inherits:
-
Object
- Object
- Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p1beta1ExplicitContentAnnotation
- 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
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::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p1beta1ExplicitContentFrame>
All video frames where explicit content was detected.
-
#version ⇒ String
Feature version.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudVideointelligenceV1p1beta1ExplicitContentAnnotation
constructor
A new instance of GoogleCloudVideointelligenceV1p1beta1ExplicitContentAnnotation.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudVideointelligenceV1p1beta1ExplicitContentAnnotation
Returns a new instance of GoogleCloudVideointelligenceV1p1beta1ExplicitContentAnnotation.
2536 2537 2538 |
# File 'generated/google/apis/videointelligence_v1p1beta1/classes.rb', line 2536 def initialize(**args) update!(**args) end |
Instance Attribute Details
#frames ⇒ Array<Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p1beta1ExplicitContentFrame>
All video frames where explicit content was detected.
Corresponds to the JSON property frames
2529 2530 2531 |
# File 'generated/google/apis/videointelligence_v1p1beta1/classes.rb', line 2529 def frames @frames end |
#version ⇒ String
Feature version.
Corresponds to the JSON property version
2534 2535 2536 |
# File 'generated/google/apis/videointelligence_v1p1beta1/classes.rb', line 2534 def version @version end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2541 2542 2543 2544 |
# File 'generated/google/apis/videointelligence_v1p1beta1/classes.rb', line 2541 def update!(**args) @frames = args[:frames] if args.key?(:frames) @version = args[:version] if args.key?(:version) end |