class Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p2beta1WebDetectionWebEntity

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_v1p1beta1/classes.rb, line 4758
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_v1p1beta1/classes.rb, line 4763
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