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
    
  - (::Array<::Google::Cloud::Vision::V1::WebDetection::WebImage>) — Fully matching images on the page. Can include resized copies of the query image.
#full_matching_images=
def full_matching_images=(value) -> ::Array<::Google::Cloud::Vision::V1::WebDetection::WebImage>
    Parameter
    
  - value (::Array<::Google::Cloud::Vision::V1::WebDetection::WebImage>) — Fully matching images on the page. Can include resized copies of the query image.
    Returns
    
  - (::Array<::Google::Cloud::Vision::V1::WebDetection::WebImage>) — Fully matching images on the page. Can include resized copies of the query image.
#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
    
  - (::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.
#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
    
  - (::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.
#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.