Cloud AutoML V1 Client - Class DocumentInputConfig (2.0.0)

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

Namespace

Google \ Cloud \ AutoMl \ V1

Methods

__construct

Constructor.

Parameters
Name Description
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
Type Description
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
Name Description
var Google\Cloud\AutoMl\V1\GcsSource
Returns
Type Description
$this