Skip to content

Commit d1e4539

Browse files
Google APIscopybara-github
authored andcommitted
feat: added field_mask field in DocumentOutputConfig.GcsOutputConfig in document_io.proto
PiperOrigin-RevId: 488680436
1 parent 8097802 commit d1e4539

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

google/cloud/documentai/v1beta3/document_io.proto

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@ syntax = "proto3";
1616

1717
package google.cloud.documentai.v1beta3;
1818

19+
import "google/protobuf/field_mask.proto";
20+
1921
option csharp_namespace = "Google.Cloud.DocumentAI.V1Beta3";
2022
option go_package = "google.golang.org/genproto/googleapis/cloud/documentai/v1beta3;documentai";
2123
option java_multiple_files = true;
@@ -74,6 +76,11 @@ message DocumentOutputConfig {
7476
message GcsOutputConfig {
7577
// The Cloud Storage uri (a directory) of the output.
7678
string gcs_uri = 1;
79+
80+
// Specifies which fields to include in the output documents.
81+
// Only supports top level document and pages field so it must be in the
82+
// form of `{document_field_name}` or `pages.{page_field_name}`.
83+
google.protobuf.FieldMask field_mask = 2;
7784
}
7885

7986
// The destination of the results.

0 commit comments

Comments
 (0)