From 7617d0dce2f4ea4adc21d5fe02893e752ca556d2 Mon Sep 17 00:00:00 2001 From: "gcf-owl-bot[bot]" <78513119+gcf-owl-bot[bot]@users.noreply.github.com> Date: Thu, 27 Jul 2023 14:45:50 -0700 Subject: [PATCH] docs: Minor formatting (#6505) PiperOrigin-RevId: 551578436 Source-Link: https://github.com/googleapis/googleapis/commit/3f1a96435c9373e9370f74d5130cee85b3e74c01 Source-Link: https://github.com/googleapis/googleapis-gen/commit/a30fe8b64757be352378c412dc046bf6643b3a49 Copy-Tag: eyJwIjoiVHJhbnNsYXRlLy5Pd2xCb3QueWFtbCIsImgiOiJhMzBmZThiNjQ3NTdiZTM1MjM3OGM0MTJkYzA0NmJmNjY0M2IzYTQ5In0= --- .../src/V3/BatchDocumentOutputConfig.php | 24 +++++++++---------- Translate/src/V3/DocumentOutputConfig.php | 24 +++++++++---------- 2 files changed, 24 insertions(+), 24 deletions(-) diff --git a/Translate/src/V3/BatchDocumentOutputConfig.php b/Translate/src/V3/BatchDocumentOutputConfig.php index ae9cab5054d..60ecb321713 100644 --- a/Translate/src/V3/BatchDocumentOutputConfig.php +++ b/Translate/src/V3/BatchDocumentOutputConfig.php @@ -53,14 +53,14 @@ class BatchDocumentOutputConfig extends \Google\Protobuf\Internal\Message * (https://cloud.google.com/storage/docs/bucket-lock#retention-policy) * 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. * } */ @@ -99,14 +99,14 @@ public function __construct($data = NULL) { * (https://cloud.google.com/storage/docs/bucket-lock#retention-policy) * 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. * * Generated from protobuf field .google.cloud.translation.v3.GcsDestination gcs_destination = 1; @@ -152,14 +152,14 @@ public function hasGcsDestination() * (https://cloud.google.com/storage/docs/bucket-lock#retention-policy) * 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. * * Generated from protobuf field .google.cloud.translation.v3.GcsDestination gcs_destination = 1; diff --git a/Translate/src/V3/DocumentOutputConfig.php b/Translate/src/V3/DocumentOutputConfig.php index 05a27807829..2deb2e85203 100644 --- a/Translate/src/V3/DocumentOutputConfig.php +++ b/Translate/src/V3/DocumentOutputConfig.php @@ -50,15 +50,15 @@ class DocumentOutputConfig extends \Google\Protobuf\Internal\Message * mime type. * For a DocumentInputConfig.gcs_uri provided document, the output file will * have a name according to its URI. For example: an input file with URI: - * "gs://a/b/c.[extension]" stored in a gcs_destination bucket with name + * `gs://a/b/c.[extension]` stored in a gcs_destination bucket with name * "my_bucket" will have an output URI: - * "gs://my_bucket/a_b_c_[trg]_translations.[ext]", where + * `gs://my_bucket/a_b_c_[trg]_translations.[ext]`, where * - [trg] corresponds to the translated file's language code, * - [ext] corresponds to the translated file's extension according to its * mime type. * If the document was directly provided through the request, then the * output document will have the format: - * "gs://my_bucket/translated_document_[trg]_translations.[ext], where + * `gs://my_bucket/translated_document_[trg]_translations.[ext]`, where * - [trg] corresponds to the translated file's language code, * - [ext] corresponds to the translated file's extension according to its * mime type. @@ -66,7 +66,7 @@ class DocumentOutputConfig extends \Google\Protobuf\Internal\Message * translation will be equal to the default output URI but have * `glossary_translations` instead of `translations`. For the previous * example, its glossary URI would be: - * "gs://my_bucket/a_b_c_[trg]_glossary_translations.[ext]". + * `gs://my_bucket/a_b_c_[trg]_glossary_translations.[ext]`. * Thus the max number of output files will be 2 (Translated document, * Glossary translated document). * Callers should expect no partial outputs. If there is any error during @@ -102,15 +102,15 @@ public function __construct($data = NULL) { * mime type. * For a DocumentInputConfig.gcs_uri provided document, the output file will * have a name according to its URI. For example: an input file with URI: - * "gs://a/b/c.[extension]" stored in a gcs_destination bucket with name + * `gs://a/b/c.[extension]` stored in a gcs_destination bucket with name * "my_bucket" will have an output URI: - * "gs://my_bucket/a_b_c_[trg]_translations.[ext]", where + * `gs://my_bucket/a_b_c_[trg]_translations.[ext]`, where * - [trg] corresponds to the translated file's language code, * - [ext] corresponds to the translated file's extension according to its * mime type. * If the document was directly provided through the request, then the * output document will have the format: - * "gs://my_bucket/translated_document_[trg]_translations.[ext], where + * `gs://my_bucket/translated_document_[trg]_translations.[ext]`, where * - [trg] corresponds to the translated file's language code, * - [ext] corresponds to the translated file's extension according to its * mime type. @@ -118,7 +118,7 @@ public function __construct($data = NULL) { * translation will be equal to the default output URI but have * `glossary_translations` instead of `translations`. For the previous * example, its glossary URI would be: - * "gs://my_bucket/a_b_c_[trg]_glossary_translations.[ext]". + * `gs://my_bucket/a_b_c_[trg]_glossary_translations.[ext]`. * Thus the max number of output files will be 2 (Translated document, * Glossary translated document). * Callers should expect no partial outputs. If there is any error during @@ -151,15 +151,15 @@ public function hasGcsDestination() * mime type. * For a DocumentInputConfig.gcs_uri provided document, the output file will * have a name according to its URI. For example: an input file with URI: - * "gs://a/b/c.[extension]" stored in a gcs_destination bucket with name + * `gs://a/b/c.[extension]` stored in a gcs_destination bucket with name * "my_bucket" will have an output URI: - * "gs://my_bucket/a_b_c_[trg]_translations.[ext]", where + * `gs://my_bucket/a_b_c_[trg]_translations.[ext]`, where * - [trg] corresponds to the translated file's language code, * - [ext] corresponds to the translated file's extension according to its * mime type. * If the document was directly provided through the request, then the * output document will have the format: - * "gs://my_bucket/translated_document_[trg]_translations.[ext], where + * `gs://my_bucket/translated_document_[trg]_translations.[ext]`, where * - [trg] corresponds to the translated file's language code, * - [ext] corresponds to the translated file's extension according to its * mime type. @@ -167,7 +167,7 @@ public function hasGcsDestination() * translation will be equal to the default output URI but have * `glossary_translations` instead of `translations`. For the previous * example, its glossary URI would be: - * "gs://my_bucket/a_b_c_[trg]_glossary_translations.[ext]". + * `gs://my_bucket/a_b_c_[trg]_glossary_translations.[ext]`. * Thus the max number of output files will be 2 (Translated document, * Glossary translated document). * Callers should expect no partial outputs. If there is any error during