Skip to content

Commit

Permalink
feat: add content field in TextAnchor (#315)
Browse files Browse the repository at this point in the history
- [ ] Regenerate this pull request now.

PiperOrigin-RevId: 435142243

Source-Link: googleapis/googleapis@721b367

Source-Link: googleapis/googleapis-gen@b627aae
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiYjYyN2FhZWIzYWZhZmU3ZDk0ZDYwOTlhMmQxOTQ1YWE5YjRkYWRhZCJ9
  • Loading branch information
gcf-owl-bot[bot] authored Mar 17, 2022
1 parent 36ca7ff commit c30721d
Show file tree
Hide file tree
Showing 4 changed files with 37 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -421,6 +421,10 @@ message Document {

// The text segments from the [Document.text][google.cloud.documentai.v1beta2.Document.text].
repeated TextSegment text_segments = 1;

// Contains the content of the text span so that users do
// not have to look it up in the text_segments.
string content = 2;
}

// Referencing elements in [Document.pages][google.cloud.documentai.v1beta2.Document.pages].
Expand Down
6 changes: 6 additions & 0 deletions packages/google-cloud-documentai/protos/protos.d.ts

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

23 changes: 23 additions & 0 deletions packages/google-cloud-documentai/protos/protos.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions packages/google-cloud-documentai/protos/protos.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit c30721d

Please sign in to comment.