1- // Copyright 2021 Google LLC
1+ // Copyright 2023 Google LLC
22//
33// Licensed under the Apache License, Version 2.0 (the "License");
44// you may not use this file except in compliance with the License.
@@ -552,10 +552,10 @@ message OutputConfig {
552552 // If input file extension is a txt or html, the translation is directly
553553 // written to the output file. If glossary is requested, a separate
554554 // glossary_translations_file has format of
555- // gs://translation_test/a_b_c_'trg'_glossary_translations.[extension]
555+ // ` gs://translation_test/a_b_c_'trg'_glossary_translations.[extension]`
556556 //
557557 // The format of errors file (for target language code 'trg') is:
558- // gs://translation_test/a_b_c_'trg'_errors.[extension]
558+ // ` gs://translation_test/a_b_c_'trg'_errors.[extension]`
559559 //
560560 // If the input file extension is tsv, errors_file contains the following:
561561 // Column 1: ID of the request provided in the input, if it's not
@@ -567,7 +567,7 @@ message OutputConfig {
567567 //
568568 // If the input file extension is txt or html, glossary_error_file will be
569569 // generated that contains error details. glossary_error_file has format of
570- // gs://translation_test/a_b_c_'trg'_glossary_errors.[extension]
570+ // ` gs://translation_test/a_b_c_'trg'_glossary_errors.[extension]`
571571 GcsDestination gcs_destination = 1 ;
572572 }
573573}
@@ -628,17 +628,17 @@ message DocumentOutputConfig {
628628 //
629629 // For a DocumentInputConfig.gcs_uri provided document, the output file will
630630 // have a name according to its URI. For example: an input file with URI:
631- // " gs://a/b/c.[extension]" stored in a gcs_destination bucket with name
631+ // ` gs://a/b/c.[extension]` stored in a gcs_destination bucket with name
632632 // "my_bucket" will have an output URI:
633- // " gs://my_bucket/a_b_c_[trg]_translations.[ext]" , where
633+ // ` gs://my_bucket/a_b_c_[trg]_translations.[ext]` , where
634634 // - [trg] corresponds to the translated file's language code,
635635 // - [ext] corresponds to the translated file's extension according to its
636636 // mime type.
637637 //
638638 //
639639 // If the document was directly provided through the request, then the
640640 // output document will have the format:
641- // " gs://my_bucket/translated_document_[trg]_translations.[ext], where
641+ // ` gs://my_bucket/translated_document_[trg]_translations.[ext]` , where
642642 // - [trg] corresponds to the translated file's language code,
643643 // - [ext] corresponds to the translated file's extension according to its
644644 // mime type.
@@ -647,7 +647,7 @@ message DocumentOutputConfig {
647647 // translation will be equal to the default output URI but have
648648 // `glossary_translations` instead of `translations`. For the previous
649649 // example, its glossary URI would be:
650- // " gs://my_bucket/a_b_c_[trg]_glossary_translations.[ext]" .
650+ // ` gs://my_bucket/a_b_c_[trg]_glossary_translations.[ext]` .
651651 //
652652 // Thus the max number of output files will be 2 (Translated document,
653653 // Glossary translated document).
@@ -1202,7 +1202,7 @@ message BatchTranslateDocumentRequest {
12021202
12031203 // Required. The BCP-47 language code of the input document if known, for
12041204 // example, "en-US" or "sr-Latn". Supported language codes are listed in
1205- // Language Support (https://cloud.google.com/translate/docs/languages).
1205+ // [ Language Support] (https://cloud.google.com/translate/docs/languages).
12061206 string source_language_code = 2 [(google.api.field_behavior ) = REQUIRED ];
12071207
12081208 // Required. The BCP-47 language code to use for translation of the input
@@ -1321,19 +1321,19 @@ message BatchDocumentOutputConfig {
13211321 // Since index.csv will be keeping updated during the process, please make
13221322 // sure there is no custom retention policy applied on the output bucket
13231323 // that may avoid file updating.
1324- // (https://cloud.google.com/storage/docs/bucket-lock?hl=en #retention-policy)
1324+ // (https://cloud.google.com/storage/docs/bucket-lock#retention-policy)
13251325 //
13261326 // The naming format of translation output files follows (for target
13271327 // language code [trg]): `translation_output`:
1328- // gs://translation_output/a_b_c_[trg]_translation.[extension]
1328+ // ` gs://translation_output/a_b_c_[trg]_translation.[extension]`
13291329 // `glossary_translation_output`:
1330- // gs://translation_test/a_b_c_[trg]_glossary_translation.[extension] The
1330+ // ` gs://translation_test/a_b_c_[trg]_glossary_translation.[extension]`. The
13311331 // output document will maintain the same file format as the input document.
13321332 //
13331333 // The naming format of error output files follows (for target language code
1334- // [trg]): `error_output`: gs://translation_test/a_b_c_[trg]_errors.txt
1334+ // [trg]): `error_output`: ` gs://translation_test/a_b_c_[trg]_errors.txt`
13351335 // `glossary_error_output`:
1336- // gs://translation_test/a_b_c_[trg]_glossary_translation.txt The error
1336+ // ` gs://translation_test/a_b_c_[trg]_glossary_translation.txt` The error
13371337 // output is a txt file containing error details.
13381338 GcsDestination gcs_destination = 1 ;
13391339 }
0 commit comments