Skip to content
This repository was archived by the owner on Sep 20, 2023. It is now read-only.
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions google/cloud/documentai_v1beta3/types/document_io.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
#
from typing import MutableMapping, MutableSequence

from google.protobuf import field_mask_pb2 # type: ignore
import proto # type: ignore

__protobuf__ = proto.module(
Expand Down Expand Up @@ -162,12 +163,22 @@ class GcsOutputConfig(proto.Message):
gcs_uri (str):
The Cloud Storage uri (a directory) of the
output.
field_mask (google.protobuf.field_mask_pb2.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}``.
"""

gcs_uri: str = proto.Field(
proto.STRING,
number=1,
)
field_mask: field_mask_pb2.FieldMask = proto.Field(
proto.MESSAGE,
number=2,
message=field_mask_pb2.FieldMask,
)

gcs_output_config: GcsOutputConfig = proto.Field(
proto.MESSAGE,
Expand Down