class Google::Apis::VisionV1p2beta1::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_v1p2beta1/classes.rb, line 4784 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 4789 def update!(**args) @score = args[:score] if args.key?(:score) @url = args[:url] if args.key?(:url) end