Google Cloud Document Ai V1 Client - Class DocumentOutputConfig (1.4.0)

Reference documentation and code samples for the Google Cloud Document Ai V1 Client class DocumentOutputConfig.

Config that controls the output of documents. All documents will be written as a JSON file.

Generated from protobuf message google.cloud.documentai.v1.DocumentOutputConfig

Namespace

Google \ Cloud \ DocumentAI \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ gcs_output_config Google\Cloud\DocumentAI\V1\DocumentOutputConfig\GcsOutputConfig

Output config to write the results to Cloud Storage.

getGcsOutputConfig

Output config to write the results to Cloud Storage.

Returns
TypeDescription
Google\Cloud\DocumentAI\V1\DocumentOutputConfig\GcsOutputConfig|null

hasGcsOutputConfig

setGcsOutputConfig

Output config to write the results to Cloud Storage.

Parameter
NameDescription
var Google\Cloud\DocumentAI\V1\DocumentOutputConfig\GcsOutputConfig
Returns
TypeDescription
$this

getDestination

Returns
TypeDescription
string