Cloud Vision V1 API - Class Google::Cloud::Vision::V1::WebDetection::WebPage (v0.11.1)

Reference documentation and code samples for the Cloud Vision V1 API class Google::Cloud::Vision::V1::WebDetection::WebPage.

Metadata for web pages.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#full_matching_images

def full_matching_images() -> ::Array<::Google::Cloud::Vision::V1::WebDetection::WebImage>
Returns

#full_matching_images=

def full_matching_images=(value) -> ::Array<::Google::Cloud::Vision::V1::WebDetection::WebImage>
Parameter
Returns

#page_title

def page_title() -> ::String
Returns
  • (::String) — Title for the web page, may contain HTML markups.

#page_title=

def page_title=(value) -> ::String
Parameter
  • value (::String) — Title for the web page, may contain HTML markups.
Returns
  • (::String) — Title for the web page, may contain HTML markups.

#partial_matching_images

def partial_matching_images() -> ::Array<::Google::Cloud::Vision::V1::WebDetection::WebImage>
Returns

#partial_matching_images=

def partial_matching_images=(value) -> ::Array<::Google::Cloud::Vision::V1::WebDetection::WebImage>
Parameter
  • value (::Array<::Google::Cloud::Vision::V1::WebDetection::WebImage>) — 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.
Returns

#score

def score() -> ::Float
Returns
  • (::Float) — (Deprecated) Overall relevancy score for the web page.

#score=

def score=(value) -> ::Float
Parameter
  • value (::Float) — (Deprecated) Overall relevancy score for the web page.
Returns
  • (::Float) — (Deprecated) Overall relevancy score for the web page.

#url

def url() -> ::String
Returns
  • (::String) — The result web page URL.

#url=

def url=(value) -> ::String
Parameter
  • value (::String) — The result web page URL.
Returns
  • (::String) — The result web page URL.