Skip to content

Commit

Permalink
docs: [translate] Minor formatting (#9712)
Browse files Browse the repository at this point in the history
* docs: Minor formatting

PiperOrigin-RevId: 551578436

Source-Link: googleapis/googleapis@3f1a964

Source-Link: https://github.com/googleapis/googleapis-gen/commit/a30fe8b64757be352378c412dc046bf6643b3a49
Copy-Tag: eyJwIjoiamF2YS10cmFuc2xhdGUvLk93bEJvdC55YW1sIiwiaCI6ImEzMGZlOGI2NDc1N2JlMzUyMzc4YzQxMmRjMDQ2YmY2NjQzYjNhNDkifQ==

* 🦉 Updates from OwlBot post-processor

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

* docs: Minor formatting

PiperOrigin-RevId: 551881351

Source-Link: googleapis/googleapis@b0df582

Source-Link: https://github.com/googleapis/googleapis-gen/commit/b587001fbf8f25e36a9e132bdb4d38d6e75f2dfa
Copy-Tag: eyJwIjoiamF2YS10cmFuc2xhdGUvLk93bEJvdC55YW1sIiwiaCI6ImI1ODcwMDFmYmY4ZjI1ZTM2YTllMTMyYmRiNGQzOGQ2ZTc1ZjJkZmEifQ==

* 🦉 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 Aug 2, 2023
1 parent 43f4842 commit 09a957d
Show file tree
Hide file tree
Showing 18 changed files with 386 additions and 386 deletions.
4 changes: 2 additions & 2 deletions java-translate/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file:
<dependency>
<groupId>com.google.cloud</groupId>
<artifactId>libraries-bom</artifactId>
<version>26.19.0</version>
<version>26.20.0</version>
<type>pom</type>
<scope>import</scope>
</dependency>
Expand Down Expand Up @@ -272,7 +272,7 @@ Java is a registered trademark of Oracle and/or its affiliates.
[kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html
[stability-image]: https://img.shields.io/badge/stability-stable-green
[maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-translate.svg
[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-translate/2.21.0
[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-translate/2.22.0
[authentication]: https://github.com/googleapis/google-cloud-java#authentication
[auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes
[predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -846,8 +846,8 @@ public final UnaryCallable<BatchTranslateTextRequest, Operation> batchTranslateT
* <p>Only AutoML Translation models or glossaries within the same region (have the same
* location-id) can be used, otherwise an INVALID_ARGUMENT (400) error is returned.
* @param sourceLanguageCode Required. The BCP-47 language code of the input document if known,
* for example, "en-US" or "sr-Latn". Supported language codes are listed in Language Support
* (https://cloud.google.com/translate/docs/languages).
* for example, "en-US" or "sr-Latn". Supported language codes are listed in [Language
* Support](https://cloud.google.com/translate/docs/languages).
* @param targetLanguageCodes Required. The BCP-47 language code to use for translation of the
* input document. Specify up to 10 language codes here.
* @param inputConfigs Required. Input configurations. The total number of files matched should be
Expand Down Expand Up @@ -913,8 +913,8 @@ public final UnaryCallable<BatchTranslateTextRequest, Operation> batchTranslateT
* <p>Only AutoML Translation models or glossaries within the same region (have the same
* location-id) can be used, otherwise an INVALID_ARGUMENT (400) error is returned.
* @param sourceLanguageCode Required. The BCP-47 language code of the input document if known,
* for example, "en-US" or "sr-Latn". Supported language codes are listed in Language Support
* (https://cloud.google.com/translate/docs/languages).
* for example, "en-US" or "sr-Latn". Supported language codes are listed in [Language
* Support](https://cloud.google.com/translate/docs/languages).
* @param targetLanguageCodes Required. The BCP-47 language code to use for translation of the
* input document. Specify up to 10 language codes here.
* @param inputConfigs Required. Input configurations. The total number of files matched should be
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -146,15 +146,15 @@ public DestinationCase getDestinationCase() {
*
* The naming format of translation output files follows (for target
* language code [trg]): `translation_output`:
* gs://translation_output/a_b_c_[trg]_translation.[extension]
* `gs://translation_output/a_b_c_[trg]_translation.[extension]`
* `glossary_translation_output`:
* gs://translation_test/a_b_c_[trg]_glossary_translation.[extension] The
* `gs://translation_test/a_b_c_[trg]_glossary_translation.[extension]`. The
* output document will maintain the same file format as the input document.
*
* The naming format of error output files follows (for target language code
* [trg]): `error_output`: gs://translation_test/a_b_c_[trg]_errors.txt
* [trg]): `error_output`: `gs://translation_test/a_b_c_[trg]_errors.txt`
* `glossary_error_output`:
* gs://translation_test/a_b_c_[trg]_glossary_translation.txt The error
* `gs://translation_test/a_b_c_[trg]_glossary_translation.txt`. The error
* output is a txt file containing error details.
* </pre>
*
Expand Down Expand Up @@ -205,15 +205,15 @@ public boolean hasGcsDestination() {
*
* The naming format of translation output files follows (for target
* language code [trg]): `translation_output`:
* gs://translation_output/a_b_c_[trg]_translation.[extension]
* `gs://translation_output/a_b_c_[trg]_translation.[extension]`
* `glossary_translation_output`:
* gs://translation_test/a_b_c_[trg]_glossary_translation.[extension] The
* `gs://translation_test/a_b_c_[trg]_glossary_translation.[extension]`. The
* output document will maintain the same file format as the input document.
*
* The naming format of error output files follows (for target language code
* [trg]): `error_output`: gs://translation_test/a_b_c_[trg]_errors.txt
* [trg]): `error_output`: `gs://translation_test/a_b_c_[trg]_errors.txt`
* `glossary_error_output`:
* gs://translation_test/a_b_c_[trg]_glossary_translation.txt The error
* `gs://translation_test/a_b_c_[trg]_glossary_translation.txt`. The error
* output is a txt file containing error details.
* </pre>
*
Expand Down Expand Up @@ -267,15 +267,15 @@ public com.google.cloud.translate.v3.GcsDestination getGcsDestination() {
*
* The naming format of translation output files follows (for target
* language code [trg]): `translation_output`:
* gs://translation_output/a_b_c_[trg]_translation.[extension]
* `gs://translation_output/a_b_c_[trg]_translation.[extension]`
* `glossary_translation_output`:
* gs://translation_test/a_b_c_[trg]_glossary_translation.[extension] The
* `gs://translation_test/a_b_c_[trg]_glossary_translation.[extension]`. The
* output document will maintain the same file format as the input document.
*
* The naming format of error output files follows (for target language code
* [trg]): `error_output`: gs://translation_test/a_b_c_[trg]_errors.txt
* [trg]): `error_output`: `gs://translation_test/a_b_c_[trg]_errors.txt`
* `glossary_error_output`:
* gs://translation_test/a_b_c_[trg]_glossary_translation.txt The error
* `gs://translation_test/a_b_c_[trg]_glossary_translation.txt`. The error
* output is a txt file containing error details.
* </pre>
*
Expand Down Expand Up @@ -722,15 +722,15 @@ public Builder clearDestination() {
*
* The naming format of translation output files follows (for target
* language code [trg]): `translation_output`:
* gs://translation_output/a_b_c_[trg]_translation.[extension]
* `gs://translation_output/a_b_c_[trg]_translation.[extension]`
* `glossary_translation_output`:
* gs://translation_test/a_b_c_[trg]_glossary_translation.[extension] The
* `gs://translation_test/a_b_c_[trg]_glossary_translation.[extension]`. The
* output document will maintain the same file format as the input document.
*
* The naming format of error output files follows (for target language code
* [trg]): `error_output`: gs://translation_test/a_b_c_[trg]_errors.txt
* [trg]): `error_output`: `gs://translation_test/a_b_c_[trg]_errors.txt`
* `glossary_error_output`:
* gs://translation_test/a_b_c_[trg]_glossary_translation.txt The error
* `gs://translation_test/a_b_c_[trg]_glossary_translation.txt`. The error
* output is a txt file containing error details.
* </pre>
*
Expand Down Expand Up @@ -781,15 +781,15 @@ public boolean hasGcsDestination() {
*
* The naming format of translation output files follows (for target
* language code [trg]): `translation_output`:
* gs://translation_output/a_b_c_[trg]_translation.[extension]
* `gs://translation_output/a_b_c_[trg]_translation.[extension]`
* `glossary_translation_output`:
* gs://translation_test/a_b_c_[trg]_glossary_translation.[extension] The
* `gs://translation_test/a_b_c_[trg]_glossary_translation.[extension]`. The
* output document will maintain the same file format as the input document.
*
* The naming format of error output files follows (for target language code
* [trg]): `error_output`: gs://translation_test/a_b_c_[trg]_errors.txt
* [trg]): `error_output`: `gs://translation_test/a_b_c_[trg]_errors.txt`
* `glossary_error_output`:
* gs://translation_test/a_b_c_[trg]_glossary_translation.txt The error
* `gs://translation_test/a_b_c_[trg]_glossary_translation.txt`. The error
* output is a txt file containing error details.
* </pre>
*
Expand Down Expand Up @@ -850,15 +850,15 @@ public com.google.cloud.translate.v3.GcsDestination getGcsDestination() {
*
* The naming format of translation output files follows (for target
* language code [trg]): `translation_output`:
* gs://translation_output/a_b_c_[trg]_translation.[extension]
* `gs://translation_output/a_b_c_[trg]_translation.[extension]`
* `glossary_translation_output`:
* gs://translation_test/a_b_c_[trg]_glossary_translation.[extension] The
* `gs://translation_test/a_b_c_[trg]_glossary_translation.[extension]`. The
* output document will maintain the same file format as the input document.
*
* The naming format of error output files follows (for target language code
* [trg]): `error_output`: gs://translation_test/a_b_c_[trg]_errors.txt
* [trg]): `error_output`: `gs://translation_test/a_b_c_[trg]_errors.txt`
* `glossary_error_output`:
* gs://translation_test/a_b_c_[trg]_glossary_translation.txt The error
* `gs://translation_test/a_b_c_[trg]_glossary_translation.txt`. The error
* output is a txt file containing error details.
* </pre>
*
Expand Down Expand Up @@ -916,15 +916,15 @@ public Builder setGcsDestination(com.google.cloud.translate.v3.GcsDestination va
*
* The naming format of translation output files follows (for target
* language code [trg]): `translation_output`:
* gs://translation_output/a_b_c_[trg]_translation.[extension]
* `gs://translation_output/a_b_c_[trg]_translation.[extension]`
* `glossary_translation_output`:
* gs://translation_test/a_b_c_[trg]_glossary_translation.[extension] The
* `gs://translation_test/a_b_c_[trg]_glossary_translation.[extension]`. The
* output document will maintain the same file format as the input document.
*
* The naming format of error output files follows (for target language code
* [trg]): `error_output`: gs://translation_test/a_b_c_[trg]_errors.txt
* [trg]): `error_output`: `gs://translation_test/a_b_c_[trg]_errors.txt`
* `glossary_error_output`:
* gs://translation_test/a_b_c_[trg]_glossary_translation.txt The error
* `gs://translation_test/a_b_c_[trg]_glossary_translation.txt`. The error
* output is a txt file containing error details.
* </pre>
*
Expand Down Expand Up @@ -980,15 +980,15 @@ public Builder setGcsDestination(
*
* The naming format of translation output files follows (for target
* language code [trg]): `translation_output`:
* gs://translation_output/a_b_c_[trg]_translation.[extension]
* `gs://translation_output/a_b_c_[trg]_translation.[extension]`
* `glossary_translation_output`:
* gs://translation_test/a_b_c_[trg]_glossary_translation.[extension] The
* `gs://translation_test/a_b_c_[trg]_glossary_translation.[extension]`. The
* output document will maintain the same file format as the input document.
*
* The naming format of error output files follows (for target language code
* [trg]): `error_output`: gs://translation_test/a_b_c_[trg]_errors.txt
* [trg]): `error_output`: `gs://translation_test/a_b_c_[trg]_errors.txt`
* `glossary_error_output`:
* gs://translation_test/a_b_c_[trg]_glossary_translation.txt The error
* `gs://translation_test/a_b_c_[trg]_glossary_translation.txt`. The error
* output is a txt file containing error details.
* </pre>
*
Expand Down Expand Up @@ -1056,15 +1056,15 @@ public Builder mergeGcsDestination(com.google.cloud.translate.v3.GcsDestination
*
* The naming format of translation output files follows (for target
* language code [trg]): `translation_output`:
* gs://translation_output/a_b_c_[trg]_translation.[extension]
* `gs://translation_output/a_b_c_[trg]_translation.[extension]`
* `glossary_translation_output`:
* gs://translation_test/a_b_c_[trg]_glossary_translation.[extension] The
* `gs://translation_test/a_b_c_[trg]_glossary_translation.[extension]`. The
* output document will maintain the same file format as the input document.
*
* The naming format of error output files follows (for target language code
* [trg]): `error_output`: gs://translation_test/a_b_c_[trg]_errors.txt
* [trg]): `error_output`: `gs://translation_test/a_b_c_[trg]_errors.txt`
* `glossary_error_output`:
* gs://translation_test/a_b_c_[trg]_glossary_translation.txt The error
* `gs://translation_test/a_b_c_[trg]_glossary_translation.txt`. The error
* output is a txt file containing error details.
* </pre>
*
Expand Down Expand Up @@ -1125,15 +1125,15 @@ public Builder clearGcsDestination() {
*
* The naming format of translation output files follows (for target
* language code [trg]): `translation_output`:
* gs://translation_output/a_b_c_[trg]_translation.[extension]
* `gs://translation_output/a_b_c_[trg]_translation.[extension]`
* `glossary_translation_output`:
* gs://translation_test/a_b_c_[trg]_glossary_translation.[extension] The
* `gs://translation_test/a_b_c_[trg]_glossary_translation.[extension]`. The
* output document will maintain the same file format as the input document.
*
* The naming format of error output files follows (for target language code
* [trg]): `error_output`: gs://translation_test/a_b_c_[trg]_errors.txt
* [trg]): `error_output`: `gs://translation_test/a_b_c_[trg]_errors.txt`
* `glossary_error_output`:
* gs://translation_test/a_b_c_[trg]_glossary_translation.txt The error
* `gs://translation_test/a_b_c_[trg]_glossary_translation.txt`. The error
* output is a txt file containing error details.
* </pre>
*
Expand Down Expand Up @@ -1181,15 +1181,15 @@ public com.google.cloud.translate.v3.GcsDestination.Builder getGcsDestinationBui
*
* The naming format of translation output files follows (for target
* language code [trg]): `translation_output`:
* gs://translation_output/a_b_c_[trg]_translation.[extension]
* `gs://translation_output/a_b_c_[trg]_translation.[extension]`
* `glossary_translation_output`:
* gs://translation_test/a_b_c_[trg]_glossary_translation.[extension] The
* `gs://translation_test/a_b_c_[trg]_glossary_translation.[extension]`. The
* output document will maintain the same file format as the input document.
*
* The naming format of error output files follows (for target language code
* [trg]): `error_output`: gs://translation_test/a_b_c_[trg]_errors.txt
* [trg]): `error_output`: `gs://translation_test/a_b_c_[trg]_errors.txt`
* `glossary_error_output`:
* gs://translation_test/a_b_c_[trg]_glossary_translation.txt The error
* `gs://translation_test/a_b_c_[trg]_glossary_translation.txt`. The error
* output is a txt file containing error details.
* </pre>
*
Expand Down Expand Up @@ -1245,15 +1245,15 @@ public com.google.cloud.translate.v3.GcsDestinationOrBuilder getGcsDestinationOr
*
* The naming format of translation output files follows (for target
* language code [trg]): `translation_output`:
* gs://translation_output/a_b_c_[trg]_translation.[extension]
* `gs://translation_output/a_b_c_[trg]_translation.[extension]`
* `glossary_translation_output`:
* gs://translation_test/a_b_c_[trg]_glossary_translation.[extension] The
* `gs://translation_test/a_b_c_[trg]_glossary_translation.[extension]`. The
* output document will maintain the same file format as the input document.
*
* The naming format of error output files follows (for target language code
* [trg]): `error_output`: gs://translation_test/a_b_c_[trg]_errors.txt
* [trg]): `error_output`: `gs://translation_test/a_b_c_[trg]_errors.txt`
* `glossary_error_output`:
* gs://translation_test/a_b_c_[trg]_glossary_translation.txt The error
* `gs://translation_test/a_b_c_[trg]_glossary_translation.txt`. The error
* output is a txt file containing error details.
* </pre>
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,15 +62,15 @@ public interface BatchDocumentOutputConfigOrBuilder
*
* The naming format of translation output files follows (for target
* language code [trg]): `translation_output`:
* gs://translation_output/a_b_c_[trg]_translation.[extension]
* `gs://translation_output/a_b_c_[trg]_translation.[extension]`
* `glossary_translation_output`:
* gs://translation_test/a_b_c_[trg]_glossary_translation.[extension] The
* `gs://translation_test/a_b_c_[trg]_glossary_translation.[extension]`. The
* output document will maintain the same file format as the input document.
*
* The naming format of error output files follows (for target language code
* [trg]): `error_output`: gs://translation_test/a_b_c_[trg]_errors.txt
* [trg]): `error_output`: `gs://translation_test/a_b_c_[trg]_errors.txt`
* `glossary_error_output`:
* gs://translation_test/a_b_c_[trg]_glossary_translation.txt The error
* `gs://translation_test/a_b_c_[trg]_glossary_translation.txt`. The error
* output is a txt file containing error details.
* </pre>
*
Expand Down Expand Up @@ -118,15 +118,15 @@ public interface BatchDocumentOutputConfigOrBuilder
*
* The naming format of translation output files follows (for target
* language code [trg]): `translation_output`:
* gs://translation_output/a_b_c_[trg]_translation.[extension]
* `gs://translation_output/a_b_c_[trg]_translation.[extension]`
* `glossary_translation_output`:
* gs://translation_test/a_b_c_[trg]_glossary_translation.[extension] The
* `gs://translation_test/a_b_c_[trg]_glossary_translation.[extension]`. The
* output document will maintain the same file format as the input document.
*
* The naming format of error output files follows (for target language code
* [trg]): `error_output`: gs://translation_test/a_b_c_[trg]_errors.txt
* [trg]): `error_output`: `gs://translation_test/a_b_c_[trg]_errors.txt`
* `glossary_error_output`:
* gs://translation_test/a_b_c_[trg]_glossary_translation.txt The error
* `gs://translation_test/a_b_c_[trg]_glossary_translation.txt`. The error
* output is a txt file containing error details.
* </pre>
*
Expand Down Expand Up @@ -174,15 +174,15 @@ public interface BatchDocumentOutputConfigOrBuilder
*
* The naming format of translation output files follows (for target
* language code [trg]): `translation_output`:
* gs://translation_output/a_b_c_[trg]_translation.[extension]
* `gs://translation_output/a_b_c_[trg]_translation.[extension]`
* `glossary_translation_output`:
* gs://translation_test/a_b_c_[trg]_glossary_translation.[extension] The
* `gs://translation_test/a_b_c_[trg]_glossary_translation.[extension]`. The
* output document will maintain the same file format as the input document.
*
* The naming format of error output files follows (for target language code
* [trg]): `error_output`: gs://translation_test/a_b_c_[trg]_errors.txt
* [trg]): `error_output`: `gs://translation_test/a_b_c_[trg]_errors.txt`
* `glossary_error_output`:
* gs://translation_test/a_b_c_[trg]_glossary_translation.txt The error
* `gs://translation_test/a_b_c_[trg]_glossary_translation.txt`. The error
* output is a txt file containing error details.
* </pre>
*
Expand Down
Loading

0 comments on commit 09a957d

Please sign in to comment.