diff --git a/Translate/src/V3/BatchDocumentOutputConfig.php b/Translate/src/V3/BatchDocumentOutputConfig.php index ae9cab5054d9..60ecb3217132 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 05a278078298..2deb2e85203e 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