google-cloud-translate-v3 0.1.2 → 0.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 61b71406223face419d678c9489fc1ab90c557112efe41bf8ab37370572a2235
|
|
4
|
+
data.tar.gz: d37e175b00e5d5bc4cc6773265753d76a6f1f2b8f1da3bb4849c3d5c7f8bd002
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: cdb6b8fd5bd50cd2b67ba1f9339f4a51f678f9b85581e646b7cbd59efef6fc585bf8cfb0d14daf95cbc6391738b825679858b95bd057fe84057d2d314984f302
|
|
7
|
+
data.tar.gz: 2d381b7a4db1d11864ae26157d8e6abd70a6835d0b099d7921a8244dc158467bea6e96fe998f9b0a6db20270d09739dbe0fdc35e3c2dd75661f0139e2b536fd9
|
|
@@ -74,7 +74,7 @@ module Google
|
|
|
74
74
|
initial_delay: 0.1,
|
|
75
75
|
max_delay: 60.0,
|
|
76
76
|
multiplier: 1.3,
|
|
77
|
-
retry_codes: [
|
|
77
|
+
retry_codes: [4, 14]
|
|
78
78
|
}
|
|
79
79
|
|
|
80
80
|
default_config.rpcs.batch_translate_text.timeout = 600.0
|
|
@@ -86,7 +86,7 @@ module Google
|
|
|
86
86
|
initial_delay: 0.1,
|
|
87
87
|
max_delay: 60.0,
|
|
88
88
|
multiplier: 1.3,
|
|
89
|
-
retry_codes: [
|
|
89
|
+
retry_codes: [4, 14]
|
|
90
90
|
}
|
|
91
91
|
|
|
92
92
|
default_config.rpcs.get_glossary.timeout = 600.0
|
|
@@ -94,7 +94,7 @@ module Google
|
|
|
94
94
|
initial_delay: 0.1,
|
|
95
95
|
max_delay: 60.0,
|
|
96
96
|
multiplier: 1.3,
|
|
97
|
-
retry_codes: [
|
|
97
|
+
retry_codes: [4, 14]
|
|
98
98
|
}
|
|
99
99
|
|
|
100
100
|
default_config.rpcs.delete_glossary.timeout = 600.0
|
|
@@ -102,7 +102,7 @@ module Google
|
|
|
102
102
|
initial_delay: 0.1,
|
|
103
103
|
max_delay: 60.0,
|
|
104
104
|
multiplier: 1.3,
|
|
105
|
-
retry_codes: [
|
|
105
|
+
retry_codes: [4, 14]
|
|
106
106
|
}
|
|
107
107
|
|
|
108
108
|
default_config
|
|
@@ -408,7 +408,7 @@ module Google
|
|
|
408
408
|
# written).
|
|
409
409
|
#
|
|
410
410
|
# The format of translations_file (for target language code 'trg') is:
|
|
411
|
-
# gs://translation_test/a_b_c_'trg'_translations.[extension]
|
|
411
|
+
# `gs://translation_test/a_b_c_'trg'_translations.[extension]`
|
|
412
412
|
#
|
|
413
413
|
# If the input file extension is tsv, the output has the following
|
|
414
414
|
# columns:
|
|
@@ -425,10 +425,10 @@ module Google
|
|
|
425
425
|
# If input file extension is a txt or html, the translation is directly
|
|
426
426
|
# written to the output file. If glossary is requested, a separate
|
|
427
427
|
# glossary_translations_file has format of
|
|
428
|
-
# gs://translation_test/a_b_c_'trg'_glossary_translations.[extension]
|
|
428
|
+
# `gs://translation_test/a_b_c_'trg'_glossary_translations.[extension]`
|
|
429
429
|
#
|
|
430
430
|
# The format of errors file (for target language code 'trg') is:
|
|
431
|
-
# gs://translation_test/a_b_c_'trg'_errors.[extension]
|
|
431
|
+
# `gs://translation_test/a_b_c_'trg'_errors.[extension]`
|
|
432
432
|
#
|
|
433
433
|
# If the input file extension is tsv, errors_file contains the following:
|
|
434
434
|
# Column 1: ID of the request provided in the input, if it's not
|
|
@@ -440,7 +440,7 @@ module Google
|
|
|
440
440
|
#
|
|
441
441
|
# If the input file extension is txt or html, glossary_error_file will be
|
|
442
442
|
# generated that contains error details. glossary_error_file has format of
|
|
443
|
-
# gs://translation_test/a_b_c_'trg'_glossary_errors.[extension]
|
|
443
|
+
# `gs://translation_test/a_b_c_'trg'_glossary_errors.[extension]`
|
|
444
444
|
class OutputConfig
|
|
445
445
|
include ::Google::Protobuf::MessageExts
|
|
446
446
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
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.1.
|
|
4
|
+
version: 0.1.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: 2020-06
|
|
11
|
+
date: 2020-08-06 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: gapic-common
|
|
@@ -16,14 +16,14 @@ dependencies:
|
|
|
16
16
|
requirements:
|
|
17
17
|
- - "~>"
|
|
18
18
|
- !ruby/object:Gem::Version
|
|
19
|
-
version: '0.
|
|
19
|
+
version: '0.3'
|
|
20
20
|
type: :runtime
|
|
21
21
|
prerelease: false
|
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
|
23
23
|
requirements:
|
|
24
24
|
- - "~>"
|
|
25
25
|
- !ruby/object:Gem::Version
|
|
26
|
-
version: '0.
|
|
26
|
+
version: '0.3'
|
|
27
27
|
- !ruby/object:Gem::Dependency
|
|
28
28
|
name: google-cloud-errors
|
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|