Cloud AutoML V1beta1 Client - Class DocumentInputConfig (1.6.5)

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

Input configuration of a Document.

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

Namespace

Google \ Cloud \ AutoMl \ V1beta1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ gcs_source Google\Cloud\AutoMl\V1beta1\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\V1beta1\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\V1beta1\GcsSource
Returns
Type Description
$this