class Google::Apis::VisionV1::GoogleCloudVisionV1p2beta1WebDetectionWebImage

Metadata for online images.

Attributes

score[RW]

(Deprecated) Overall relevancy score for the image. Corresponds to the JSON property `score` @return [Float]

url[RW]

The result image URL. Corresponds to the JSON property `url` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/vision_v1/classes.rb, line 4566
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 4571
def update!(**args)
  @score = args[:score] if args.key?(:score)
  @url = args[:url] if args.key?(:url)
end