Skip to content
This repository was archived by the owner on Nov 9, 2023. It is now read-only.

Commit 68df506

Browse files
chore: regenerate README (#76)
This PR was generated using Autosynth. 🌈 Synth log will be available here: https://source.cloud.google.com/results/invocations/28e6b60b-000b-45b4-9e48-fc6b5824ef94/targets
1 parent 136c2bb commit 68df506

5 files changed

Lines changed: 23 additions & 4 deletions

File tree

.kokoro/nightly/samples.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ env_vars: {
1414
# TODO: remove this after we've migrated all tests and scripts
1515
env_vars: {
1616
key: "GCLOUD_PROJECT"
17-
value: "java-docs-samples-testing"
17+
value: "gcloud-devel"
1818
}
1919

2020
env_vars: {

.kokoro/presubmit/samples.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ env_vars: {
1414
# TODO: remove this after we've migrated all tests and scripts
1515
env_vars: {
1616
key: "GCLOUD_PROJECT"
17-
value: "java-docs-samples-testing"
17+
value: "gcloud-devel"
1818
}
1919

2020
env_vars: {

README.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,22 @@ use this Document AI Client Library.
8989

9090

9191

92+
## Samples
93+
94+
Samples are in the [`samples/`](https://github.com/googleapis/java-document-ai/tree/master/samples) directory. The samples' `README.md`
95+
has instructions for running the samples.
96+
97+
| Sample | Source Code | Try it |
98+
| --------------------------- | --------------------------------- | ------ |
99+
| Batch Parse Form Beta | [source code](https://github.com/googleapis/java-document-ai/blob/master/samples/snippets/src/main/java/documentai/v1beta2/BatchParseFormBeta.java) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/java-document-ai&page=editor&open_in_editor=samples/snippets/src/main/java/documentai/v1beta2/BatchParseFormBeta.java) |
100+
| Batch Parse Table Beta | [source code](https://github.com/googleapis/java-document-ai/blob/master/samples/snippets/src/main/java/documentai/v1beta2/BatchParseTableBeta.java) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/java-document-ai&page=editor&open_in_editor=samples/snippets/src/main/java/documentai/v1beta2/BatchParseTableBeta.java) |
101+
| Parse Form Beta | [source code](https://github.com/googleapis/java-document-ai/blob/master/samples/snippets/src/main/java/documentai/v1beta2/ParseFormBeta.java) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/java-document-ai&page=editor&open_in_editor=samples/snippets/src/main/java/documentai/v1beta2/ParseFormBeta.java) |
102+
| Parse Table Beta | [source code](https://github.com/googleapis/java-document-ai/blob/master/samples/snippets/src/main/java/documentai/v1beta2/ParseTableBeta.java) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/java-document-ai&page=editor&open_in_editor=samples/snippets/src/main/java/documentai/v1beta2/ParseTableBeta.java) |
103+
| Parse With Model Beta | [source code](https://github.com/googleapis/java-document-ai/blob/master/samples/snippets/src/main/java/documentai/v1beta2/ParseWithModelBeta.java) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/java-document-ai&page=editor&open_in_editor=samples/snippets/src/main/java/documentai/v1beta2/ParseWithModelBeta.java) |
104+
| Quick Start | [source code](https://github.com/googleapis/java-document-ai/blob/master/samples/snippets/src/main/java/documentai/v1beta2/QuickStart.java) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/java-document-ai&page=editor&open_in_editor=samples/snippets/src/main/java/documentai/v1beta2/QuickStart.java) |
105+
| Set End Point Beta | [source code](https://github.com/googleapis/java-document-ai/blob/master/samples/snippets/src/main/java/documentai/v1beta2/SetEndPointBeta.java) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/java-document-ai&page=editor&open_in_editor=samples/snippets/src/main/java/documentai/v1beta2/SetEndPointBeta.java) |
106+
107+
92108

93109
## Troubleshooting
94110

synth.metadata

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"git": {
55
"name": ".",
66
"remote": "https://github.com/googleapis/java-document-ai.git",
7-
"sha": "a7be8314143c0f3346bee51e59f50f2db16c2e4d"
7+
"sha": "8a6630372f63933ee28c76a052da2eeda28c19ae"
88
}
99
},
1010
{

synth.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,4 +28,7 @@
2828
destination_name='document-ai',
2929
)
3030

31-
java.common_templates()
31+
java.common_templates(exclude=[
32+
'.kokoro/nightly/samples.cfg',
33+
'.kokoro/presubmit/samples.cfg',
34+
])

0 commit comments

Comments
 (0)