Cloud Vision V1 API - Class Google::Cloud::Vision::V1::WebDetection::WebImage (v1.0.1)

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

Metadata for online images.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#score

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

#score=

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

#url

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

#url=

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