Cloud Vision V1 Client - Class GcsSource (1.10.1)

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

Namespace

Google \ Cloud \ Vision \ V1

Methods

__construct

Constructor.

Parameters
Name Description
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
Type Description
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
Name Description
var string
Returns
Type Description
$this