class Google::Apis::VisionV1p2beta1::GoogleCloudVisionV1p3beta1WebDetectionWebEntity
Entity deduced from similar images on the Internet.
Attributes
description[RW]
Canonical description of the entity, in English. Corresponds to the JSON property `description` @return [String]
entity_id[RW]
Opaque entity ID. Corresponds to the JSON property `entityId` @return [String]
score[RW]
Overall relevancy score for the entity. Not normalized and not comparable across different image queries. Corresponds to the JSON property `score` @return [Float]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/vision_v1p2beta1/classes.rb, line 6582 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_v1p2beta1/classes.rb, line 6587 def update!(**args) @description = args[:description] if args.key?(:description) @entity_id = args[:entity_id] if args.key?(:entity_id) @score = args[:score] if args.key?(:score) end