class Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p3beta1Celebrity
Celebrity definition.
Attributes
description[RW]
Textual description of additional information about the celebrity, if applicable. Corresponds to the JSON property `description` @return [String]
display_name[RW]
The celebrity name. Corresponds to the JSON property `displayName` @return [String]
name[RW]
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` @return [String]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/videointelligence_v1/classes.rb, line 5138 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_v1/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