class Google::Apis::VisionV1::GoogleCloudVisionV1p4beta1Celebrity

A Celebrity is a group of Faces with an identity.

Attributes

description[RW]

The Celebrity's description. Corresponds to the JSON property `description` @return [String]

display_name[RW]

The Celebrity's display name. Corresponds to the JSON property `displayName` @return [String]

name[RW]

The resource name of the preloaded Celebrity. Has the format `builtin/`mid“. Corresponds to the JSON property `name` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/vision_v1/classes.rb, line 6865
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/vision_v1/classes.rb, line 6870
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