Cloud Vision V1 Client - Class GcsSource (1.6.8)

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

The Google Cloud Storage location where the input will be read from.

Generated from protobuf message google.cloud.vision.v1.GcsSource

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ uri string

Google Cloud Storage URI for the input file. This must only be a Google Cloud Storage object. Wildcards are not currently supported.

getUri

Google Cloud Storage URI for the input file. This must only be a Google Cloud Storage object. Wildcards are not currently supported.

Returns
TypeDescription
string

setUri

Google Cloud Storage URI for the input file. This must only be a Google Cloud Storage object. Wildcards are not currently supported.

Parameter
NameDescription
var string
Returns
TypeDescription
$this