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 \ V1Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ gcs_source |
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 |
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 |
GcsSource
|
Returns | |
---|---|
Type | Description |
$this |