Class: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p3beta1Entity
- Inherits:
-
Object
- Object
- Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p3beta1Entity
- 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
Detected entity from video analysis.
Instance Attribute Summary collapse
-
#description ⇒ String
Textual description, e.g.,
Fixed-gear bicycle
. -
#entity_id ⇒ String
Opaque entity ID.
-
#language_code ⇒ String
Language code for
description
in BCP-47 format.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudVideointelligenceV1p3beta1Entity
constructor
A new instance of GoogleCloudVideointelligenceV1p3beta1Entity.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudVideointelligenceV1p3beta1Entity
Returns a new instance of GoogleCloudVideointelligenceV1p3beta1Entity.
5288 5289 5290 |
# File 'generated/google/apis/videointelligence_v1p1beta1/classes.rb', line 5288 def initialize(**args) update!(**args) end |
Instance Attribute Details
#description ⇒ String
Textual description, e.g., Fixed-gear bicycle
.
Corresponds to the JSON property description
5275 5276 5277 |
# File 'generated/google/apis/videointelligence_v1p1beta1/classes.rb', line 5275 def description @description end |
#entity_id ⇒ String
Opaque entity ID. Some IDs may be available in Google Knowledge Graph Search
API.
Corresponds to the JSON property entityId
5281 5282 5283 |
# File 'generated/google/apis/videointelligence_v1p1beta1/classes.rb', line 5281 def entity_id @entity_id end |
#language_code ⇒ String
Language code for description
in BCP-47 format.
Corresponds to the JSON property languageCode
5286 5287 5288 |
# File 'generated/google/apis/videointelligence_v1p1beta1/classes.rb', line 5286 def language_code @language_code end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5293 5294 5295 5296 5297 |
# File 'generated/google/apis/videointelligence_v1p1beta1/classes.rb', line 5293 def update!(**args) @description = args[:description] if args.key?(:description) @entity_id = args[:entity_id] if args.key?(:entity_id) @language_code = args[:language_code] if args.key?(:language_code) end |