Skip to content

Commit

Permalink
feat: [contentwarehouse] add matched_token_page_indices field in Docu…
Browse files Browse the repository at this point in the history
…mentWarehouse API (#4700)

* feat: add `matched_token_page_indices` field in Document Warehouse API v1

PiperOrigin-RevId: 568417218

Source-Link: googleapis/googleapis@d2668fc

Source-Link: googleapis/googleapis-gen@200db84
Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLWNvbnRlbnR3YXJlaG91c2UvLk93bEJvdC55YW1sIiwiaCI6IjIwMGRiODQ2OGMwMzg3N2FjY2FlZTliMTM0ZGZkNTFiNDkyMTgwOTAifQ==

* 🦉 Updates from OwlBot post-processor

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

* build: update typescript generator version to publish in dual format (ESM)

PiperOrigin-RevId: 568643156

Source-Link: googleapis/googleapis@f95afc0

Source-Link: googleapis/googleapis-gen@bbd2c49
Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLWNvbnRlbnR3YXJlaG91c2UvLk93bEJvdC55YW1sIiwiaCI6ImJiZDJjNDlkMmU0MjNhOGNlNWNjODU2Mjc0MDJkNTEyYWVlZmM1OGIifQ==

* 🦉 Updates from OwlBot post-processor

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

---------

Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
  • Loading branch information
gcf-owl-bot[bot] and gcf-owl-bot[bot] authored Sep 27, 2023
1 parent 986a114 commit 8ea16a1
Show file tree
Hide file tree
Showing 4 changed files with 73 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -221,6 +221,10 @@ message SearchDocumentsResponse {
// Experimental.
// Additional result info if the question-answering feature is enabled.
QAResult qa_result = 3;

// Return the 1-based page indices where those pages have one or more
// matched tokens.
repeated int64 matched_token_page_indices = 4;
}

// The document entities that match the specified
Expand Down
6 changes: 6 additions & 0 deletions packages/google-cloud-contentwarehouse/protos/protos.d.ts

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

58 changes: 58 additions & 0 deletions packages/google-cloud-contentwarehouse/protos/protos.js

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

5 changes: 5 additions & 0 deletions packages/google-cloud-contentwarehouse/protos/protos.json

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

0 comments on commit 8ea16a1

Please sign in to comment.