Google Cloud Document Ai V1 Client - Class GcsOutputConfig (1.0.1)

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

The configuration used when outputting documents.

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

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ gcs_uri string

The Cloud Storage uri (a directory) of the output.

↳ field_mask Google\Protobuf\FieldMask

Specifies which fields to include in the output documents. Only supports top level document and pages field so it must be in the form of {document_field_name} or pages.{page_field_name}.

getGcsUri

The Cloud Storage uri (a directory) of the output.

Generated from protobuf field string gcs_uri = 1;

Returns
TypeDescription
string

setGcsUri

The Cloud Storage uri (a directory) of the output.

Generated from protobuf field string gcs_uri = 1;

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getFieldMask

Specifies which fields to include in the output documents.

Only supports top level document and pages field so it must be in the form of {document_field_name} or pages.{page_field_name}.

Generated from protobuf field .google.protobuf.FieldMask field_mask = 2;

Returns
TypeDescription
Google\Protobuf\FieldMask|null

hasFieldMask

clearFieldMask

setFieldMask

Specifies which fields to include in the output documents.

Only supports top level document and pages field so it must be in the form of {document_field_name} or pages.{page_field_name}.

Generated from protobuf field .google.protobuf.FieldMask field_mask = 2;

Parameter
NameDescription
var Google\Protobuf\FieldMask
Returns
TypeDescription
$this