Cloud AutoML V1 Client - Class DocumentInputConfig (1.4.17)

Reference documentation and code samples for the Cloud AutoML V1 Client class DocumentInputConfig.

Input configuration of a Document.

Generated from protobuf message google.cloud.automl.v1.DocumentInputConfig

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ gcs_source Google\Cloud\AutoMl\V1\GcsSource

The Google Cloud Storage location of the document file. Only a single path should be given. Max supported size: 512MB. Supported extensions: .PDF.

getGcsSource

The Google Cloud Storage location of the document file. Only a single path should be given.

Max supported size: 512MB. Supported extensions: .PDF.

Returns
TypeDescription
Google\Cloud\AutoMl\V1\GcsSource|null

hasGcsSource

clearGcsSource

setGcsSource

The Google Cloud Storage location of the document file. Only a single path should be given.

Max supported size: 512MB. Supported extensions: .PDF.

Parameter
NameDescription
var Google\Cloud\AutoMl\V1\GcsSource
Returns
TypeDescription
$this