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

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
Name Description
data array

Optional. Data for populating the Message object.

↳ gcs_output_config DocumentOutputConfig\GcsOutputConfig

Output config to write the results to Cloud Storage.

getGcsOutputConfig

Output config to write the results to Cloud Storage.

Returns
Type Description
DocumentOutputConfig\GcsOutputConfig|null

hasGcsOutputConfig

setGcsOutputConfig

Output config to write the results to Cloud Storage.

Parameter
Name Description
var DocumentOutputConfig\GcsOutputConfig
Returns
Type Description
$this

getDestination

Returns
Type Description
string