Class: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p3beta1Celebrity
- Inherits:
-
Object
- Object
- Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p3beta1Celebrity
- 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
Celebrity definition.
Instance Attribute Summary collapse
-
#description ⇒ String
Textual description of additional information about the celebrity, if applicable.
-
#display_name ⇒ String
The celebrity name.
-
#name ⇒ String
The resource name of the celebrity.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudVideointelligenceV1p3beta1Celebrity
constructor
A new instance of GoogleCloudVideointelligenceV1p3beta1Celebrity.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudVideointelligenceV1p3beta1Celebrity
Returns a new instance of GoogleCloudVideointelligenceV1p3beta1Celebrity.
5138 5139 5140 |
# File 'generated/google/apis/videointelligence_v1p2beta1/classes.rb', line 5138 def initialize(**args) update!(**args) end |
Instance Attribute Details
#description ⇒ String
Textual description of additional information about the celebrity, if
applicable.
Corresponds to the JSON property description
5124 5125 5126 |
# File 'generated/google/apis/videointelligence_v1p2beta1/classes.rb', line 5124 def description @description end |
#display_name ⇒ String
The celebrity name.
Corresponds to the JSON property displayName
5129 5130 5131 |
# File 'generated/google/apis/videointelligence_v1p2beta1/classes.rb', line 5129 def display_name @display_name end |
#name ⇒ String
The resource name of the celebrity. Have the format video-intelligence/kg-mid
indicates a celebrity from preloaded gallery. kg-mid is the id in Google
knowledge graph, which is unique for the celebrity.
Corresponds to the JSON property name
5136 5137 5138 |
# File 'generated/google/apis/videointelligence_v1p2beta1/classes.rb', line 5136 def name @name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5143 5144 5145 5146 5147 |
# File 'generated/google/apis/videointelligence_v1p2beta1/classes.rb', line 5143 def update!(**args) @description = args[:description] if args.key?(:description) @display_name = args[:display_name] if args.key?(:display_name) @name = args[:name] if args.key?(:name) end |