class Google::Apis::VisionV1p1beta1::WebPage
Metadata for web pages.
Attributes
Fully matching images on the page. Can include resized copies of the query image. Corresponds to the JSON property `fullMatchingImages` @return [Array<Google::Apis::VisionV1p1beta1::WebImage>]
Title for the web page, may contain HTML markups. Corresponds to the JSON property `pageTitle` @return [String]
Partial matching images on the page. Those images are similar enough to share some key-point features. For example an original image will likely have partial matching for its crops. Corresponds to the JSON property `partialMatchingImages` @return [Array<Google::Apis::VisionV1p1beta1::WebImage>]
(Deprecated) Overall relevancy score for the web page. Corresponds to the JSON property `score` @return [Float]
The result web page URL. Corresponds to the JSON property `url` @return [String]
Public Class Methods
# File lib/google/apis/vision_v1p1beta1/classes.rb, line 9825 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/vision_v1p1beta1/classes.rb, line 9830 def update!(**args) @full_matching_images = args[:full_matching_images] if args.key?(:full_matching_images) @page_title = args[:page_title] if args.key?(:page_title) @partial_matching_images = args[:partial_matching_images] if args.key?(:partial_matching_images) @score = args[:score] if args.key?(:score) @url = args[:url] if args.key?(:url) end