Class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p4beta1Celebrity
- Inherits:
-
Object
- Object
- Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p4beta1Celebrity
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/vision_v1p1beta1/classes.rb,
lib/google/apis/vision_v1p1beta1/representations.rb,
lib/google/apis/vision_v1p1beta1/representations.rb
Overview
A Celebrity is a group of Faces with an identity.
Instance Attribute Summary collapse
-
#description ⇒ String
The Celebrity's description.
-
#display_name ⇒ String
The Celebrity's display name.
-
#name ⇒ String
The resource name of the preloaded Celebrity.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudVisionV1p4beta1Celebrity
constructor
A new instance of GoogleCloudVisionV1p4beta1Celebrity.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudVisionV1p4beta1Celebrity
Returns a new instance of GoogleCloudVisionV1p4beta1Celebrity.
7084 7085 7086 |
# File 'lib/google/apis/vision_v1p1beta1/classes.rb', line 7084 def initialize(**args) update!(**args) end |
Instance Attribute Details
#description ⇒ String
The Celebrity's description.
Corresponds to the JSON property description
7072 7073 7074 |
# File 'lib/google/apis/vision_v1p1beta1/classes.rb', line 7072 def description @description end |
#display_name ⇒ String
The Celebrity's display name.
Corresponds to the JSON property displayName
7077 7078 7079 |
# File 'lib/google/apis/vision_v1p1beta1/classes.rb', line 7077 def display_name @display_name end |
#name ⇒ String
The resource name of the preloaded Celebrity. Has the format builtin/mid`.
Corresponds to the JSON propertyname`
7082 7083 7084 |
# File 'lib/google/apis/vision_v1p1beta1/classes.rb', line 7082 def name @name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
7089 7090 7091 7092 7093 |
# File 'lib/google/apis/vision_v1p1beta1/classes.rb', line 7089 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 |