class Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1beta2Entity
Detected entity from video analysis.
Attributes
description[RW]
Textual description, e.g., `Fixed-gear bicycle`. Corresponds to the JSON property `description` @return [String]
entity_id[RW]
Opaque entity ID. Some IDs may be available in [Google Knowledge Graph Search API](developers.google.com/knowledge-graph/). Corresponds to the JSON property `entityId` @return [String]
language_code[RW]
Language code for `description` in BCP-47 format. Corresponds to the JSON property `languageCode` @return [String]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/videointelligence_v1p2beta1/classes.rb, line 1297 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/videointelligence_v1p2beta1/classes.rb, line 1302 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