Google Cloud Document Ai V1 Client - Class DocumentOutputConfig (1.0.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

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.

Generated from protobuf field .google.cloud.documentai.v1.DocumentOutputConfig.GcsOutputConfig gcs_output_config = 1;

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

hasGcsOutputConfig

setGcsOutputConfig

Output config to write the results to Cloud Storage.

Generated from protobuf field .google.cloud.documentai.v1.DocumentOutputConfig.GcsOutputConfig gcs_output_config = 1;

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

getDestination

Returns
TypeDescription
string