Class: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1beta2Entity
- Inherits:
-
Object
- Object
- Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1beta2Entity
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/videointelligence_v1/classes.rb,
generated/google/apis/videointelligence_v1/representations.rb,
generated/google/apis/videointelligence_v1/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) ⇒ GoogleCloudVideointelligenceV1beta2Entity
constructor
A new instance of GoogleCloudVideointelligenceV1beta2Entity.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudVideointelligenceV1beta2Entity
Returns a new instance of GoogleCloudVideointelligenceV1beta2Entity.
1770 1771 1772 |
# File 'generated/google/apis/videointelligence_v1/classes.rb', line 1770 def initialize(**args) update!(**args) end |
Instance Attribute Details
#description ⇒ String
Textual description, e.g., Fixed-gear bicycle
.
Corresponds to the JSON property description
1757 1758 1759 |
# File 'generated/google/apis/videointelligence_v1/classes.rb', line 1757 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
1763 1764 1765 |
# File 'generated/google/apis/videointelligence_v1/classes.rb', line 1763 def entity_id @entity_id end |
#language_code ⇒ String
Language code for description
in BCP-47 format.
Corresponds to the JSON property languageCode
1768 1769 1770 |
# File 'generated/google/apis/videointelligence_v1/classes.rb', line 1768 def language_code @language_code end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1775 1776 1777 1778 1779 |
# File 'generated/google/apis/videointelligence_v1/classes.rb', line 1775 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 |