google-cloud-translate-v3 0.7.1 → 0.7.3
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 17d20ca3c10bcf55b327c27f4b72977a607f32aa89e63a16de41184f35415b17
|
4
|
+
data.tar.gz: 4894ebe18ea2de013698b471efb62314b2c6c934baf7be34d3dbb06302fdcbb1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f01d58b5393ac3d108f7cd632e7a4ad28f2d152c41ffbb0456a75ce9eb096e6f66aadbdc7bd80ffa6359912001adf2da712248800c7f79186fa09c451f1ef988
|
7
|
+
data.tar.gz: b4732dcc7dbb18a0c2bacad1aecc95cd017ec747fc84c98aa6d4a09e6d89f9490ee171f7b465a5f8a4ed6c3537110f8fe55034189751ed4218180af312c9a30d
|
@@ -438,10 +438,10 @@ module Google
|
|
438
438
|
# If input file extension is a txt or html, the translation is directly
|
439
439
|
# written to the output file. If glossary is requested, a separate
|
440
440
|
# glossary_translations_file has format of
|
441
|
-
# gs://translation_test/a_b_c_'trg'_glossary_translations.[extension]
|
441
|
+
# `gs://translation_test/a_b_c_'trg'_glossary_translations.[extension]`
|
442
442
|
#
|
443
443
|
# The format of errors file (for target language code 'trg') is:
|
444
|
-
# gs://translation_test/a_b_c_'trg'_errors.[extension]
|
444
|
+
# `gs://translation_test/a_b_c_'trg'_errors.[extension]`
|
445
445
|
#
|
446
446
|
# If the input file extension is tsv, errors_file contains the following:
|
447
447
|
# Column 1: ID of the request provided in the input, if it's not
|
@@ -453,7 +453,7 @@ module Google
|
|
453
453
|
#
|
454
454
|
# If the input file extension is txt or html, glossary_error_file will be
|
455
455
|
# generated that contains error details. glossary_error_file has format of
|
456
|
-
# gs://translation_test/a_b_c_'trg'_glossary_errors.[extension]
|
456
|
+
# `gs://translation_test/a_b_c_'trg'_glossary_errors.[extension]`
|
457
457
|
class OutputConfig
|
458
458
|
include ::Google::Protobuf::MessageExts
|
459
459
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -503,9 +503,9 @@ module Google
|
|
503
503
|
#
|
504
504
|
# For a DocumentInputConfig.gcs_uri provided document, the output file will
|
505
505
|
# have a name according to its URI. For example: an input file with URI:
|
506
|
-
#
|
506
|
+
# `gs://a/b/c.[extension]` stored in a gcs_destination bucket with name
|
507
507
|
# "my_bucket" will have an output URI:
|
508
|
-
#
|
508
|
+
# `gs://my_bucket/a_b_c_[trg]_translations.[ext]`, where
|
509
509
|
# - [trg] corresponds to the translated file's language code,
|
510
510
|
# - [ext] corresponds to the translated file's extension according to its
|
511
511
|
# mime type.
|
@@ -513,7 +513,7 @@ module Google
|
|
513
513
|
#
|
514
514
|
# If the document was directly provided through the request, then the
|
515
515
|
# output document will have the format:
|
516
|
-
#
|
516
|
+
# `gs://my_bucket/translated_document_[trg]_translations.[ext]`, where
|
517
517
|
# - [trg] corresponds to the translated file's language code,
|
518
518
|
# - [ext] corresponds to the translated file's extension according to its
|
519
519
|
# mime type.
|
@@ -522,7 +522,7 @@ module Google
|
|
522
522
|
# translation will be equal to the default output URI but have
|
523
523
|
# `glossary_translations` instead of `translations`. For the previous
|
524
524
|
# example, its glossary URI would be:
|
525
|
-
#
|
525
|
+
# `gs://my_bucket/a_b_c_[trg]_glossary_translations.[ext]`.
|
526
526
|
#
|
527
527
|
# Thus the max number of output files will be 2 (Translated document,
|
528
528
|
# Glossary translated document).
|
@@ -1291,15 +1291,15 @@ module Google
|
|
1291
1291
|
#
|
1292
1292
|
# The naming format of translation output files follows (for target
|
1293
1293
|
# language code [trg]): `translation_output`:
|
1294
|
-
# gs://translation_output/a_b_c_[trg]_translation.[extension]
|
1294
|
+
# `gs://translation_output/a_b_c_[trg]_translation.[extension]`
|
1295
1295
|
# `glossary_translation_output`:
|
1296
|
-
# gs://translation_test/a_b_c_[trg]_glossary_translation.[extension] The
|
1296
|
+
# `gs://translation_test/a_b_c_[trg]_glossary_translation.[extension]`. The
|
1297
1297
|
# output document will maintain the same file format as the input document.
|
1298
1298
|
#
|
1299
1299
|
# The naming format of error output files follows (for target language code
|
1300
|
-
# [trg]): `error_output`: gs://translation_test/a_b_c_[trg]_errors.txt
|
1300
|
+
# [trg]): `error_output`: `gs://translation_test/a_b_c_[trg]_errors.txt`
|
1301
1301
|
# `glossary_error_output`:
|
1302
|
-
# gs://translation_test/a_b_c_[trg]_glossary_translation.txt The error
|
1302
|
+
# `gs://translation_test/a_b_c_[trg]_glossary_translation.txt`. The error
|
1303
1303
|
# output is a txt file containing error details.
|
1304
1304
|
class BatchDocumentOutputConfig
|
1305
1305
|
include ::Google::Protobuf::MessageExts
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-cloud-translate-v3
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.7.
|
4
|
+
version: 0.7.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-08-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gapic-common
|