Cloud Vision V1 Client - Class WebImage (2.1.1)

Reference documentation and code samples for the Cloud Vision V1 Client class WebImage.

Metadata for online images.

Generated from protobuf message google.cloud.vision.v1.WebDetection.WebImage

Namespace

Google \ Cloud \ Vision \ V1 \ WebDetection

Methods

__construct

Constructor.

Parameters
Name
Description
data
array

Optional. Data for populating the Message object.

↳ url
string

The result image URL.

↳ score
float

(Deprecated) Overall relevancy score for the image.

getUrl

The result image URL.

Returns
Type
Description
string

setUrl

The result image URL.

Parameter
Name
Description
var
string
Returns
Type
Description
$this

getScore

(Deprecated) Overall relevancy score for the image.

Returns
Type
Description
float

setScore

(Deprecated) Overall relevancy score for the image.

Parameter
Name
Description
var
float
Returns
Type
Description
$this
Create a Mobile Website
View Site in Mobile | Classic
Share by: