class Google::Apis::VisionV1p2beta1::GoogleCloudVisionV1p1beta1WebDetectionWebPage

Metadata for web pages.

Attributes

full_matching_images[RW]

Fully matching images on the page. Can include resized copies of the query image. Corresponds to the JSON property `fullMatchingImages` @return [Array<Google::Apis::VisionV1p2beta1::GoogleCloudVisionV1p1beta1WebDetectionWebImage>]

page_title[RW]

Title for the web page, may contain HTML markups. Corresponds to the JSON property `pageTitle` @return [String]

partial_matching_images[RW]

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::VisionV1p2beta1::GoogleCloudVisionV1p1beta1WebDetectionWebImage>]

score[RW]

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

url[RW]

The result web page 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 2554
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 2559
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