diff --git a/README.md b/README.md index a5ecb9b5..1cd90187 100644 --- a/README.md +++ b/README.md @@ -118,6 +118,17 @@ In [AnalyzeSentiment.java](https://github.com/googleapis/google-cloud-java/blob/ +## Samples + +Samples are in the [`samples/`](https://github.com/googleapis/java-language/tree/master/samples) directory. The samples' `README.md` +has instructions for running the samples. + +| Sample | Source Code | Try it | +| --------------------------- | --------------------------------- | ------ | +| Quickstart Sample | [source code](https://github.com/googleapis/java-language/blob/master/samples/snippets/src/main/java/com/example/language/QuickstartSample.java) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/java-language&page=editor&open_in_editor=samples/snippets/src/main/java/com/example/language/QuickstartSample.java) | +| Set Endpoint | [source code](https://github.com/googleapis/java-language/blob/master/samples/snippets/src/main/java/com/example/language/SetEndpoint.java) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/java-language&page=editor&open_in_editor=samples/snippets/src/main/java/com/example/language/SetEndpoint.java) | + + ## Troubleshooting diff --git a/synth.metadata b/synth.metadata index 79b12f3a..ee845258 100644 --- a/synth.metadata +++ b/synth.metadata @@ -4,7 +4,7 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/java-language.git", - "sha": "7b0a0a57a6c9588827e3dc44e6394db30752f836" + "sha": "4b0317a2f42115c1b2c69931aa5e64bcfa4a8a5b" } }, {