google-apis-translate_v3 0.25.0 → 0.26.0
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: 1f7e40d2a6f21b506ad810239dd908a57f2b33283387f6447e830e4f9a9d8ad0
|
4
|
+
data.tar.gz: 69be9730bcc155f35284d91f9ca95163d7f35312b5f5392f5ab93dedc53b3f39
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 46c7def61a5fd22aae09bb6a3355fd3303e30131230a0a7654548951e97bfe70f19ba00aab5b1c4628aa2552906e125c79322be2b2ef3bc7ac45216c422ec3e4
|
7
|
+
data.tar.gz: 7c4b00114cbf6ea19f1cbe71f47e11e34f786e3ebb4ece19480fbc4d8a7c766fa3460c6e26457558453ad7627e99152fc4dc1b505cbf42c5fd89f3ef80e23722
|
data/CHANGELOG.md
CHANGED
@@ -1253,12 +1253,6 @@ module Google
|
|
1253
1253
|
# @return [String]
|
1254
1254
|
attr_accessor :dataset
|
1255
1255
|
|
1256
|
-
# Output only. Timestamp when the model training finished and ready to be used
|
1257
|
-
# for translation.
|
1258
|
-
# Corresponds to the JSON property `deployTime`
|
1259
|
-
# @return [String]
|
1260
|
-
attr_accessor :deploy_time
|
1261
|
-
|
1262
1256
|
# The name of the model to show in the interface. The name can be up to 32
|
1263
1257
|
# characters long and can consist only of ASCII Latin letters A-Z and a-z,
|
1264
1258
|
# underscores (_), and ASCII digits 0-9.
|
@@ -1310,7 +1304,6 @@ module Google
|
|
1310
1304
|
def update!(**args)
|
1311
1305
|
@create_time = args[:create_time] if args.key?(:create_time)
|
1312
1306
|
@dataset = args[:dataset] if args.key?(:dataset)
|
1313
|
-
@deploy_time = args[:deploy_time] if args.key?(:deploy_time)
|
1314
1307
|
@display_name = args[:display_name] if args.key?(:display_name)
|
1315
1308
|
@name = args[:name] if args.key?(:name)
|
1316
1309
|
@source_language_code = args[:source_language_code] if args.key?(:source_language_code)
|
@@ -1527,6 +1520,12 @@ module Google
|
|
1527
1520
|
# @return [Google::Apis::TranslateV3::DocumentOutputConfig]
|
1528
1521
|
attr_accessor :document_output_config
|
1529
1522
|
|
1523
|
+
# Optional. If true, enable auto rotation correction in DVS.
|
1524
|
+
# Corresponds to the JSON property `enableRotationCorrection`
|
1525
|
+
# @return [Boolean]
|
1526
|
+
attr_accessor :enable_rotation_correction
|
1527
|
+
alias_method :enable_rotation_correction?, :enable_rotation_correction
|
1528
|
+
|
1530
1529
|
# Optional. If true, use the text removal server to remove the shadow text on
|
1531
1530
|
# background image for native pdf translation. Shadow removal feature can only
|
1532
1531
|
# be enabled when is_translate_native_pdf_only: false && pdf_native_only: false
|
@@ -1593,6 +1592,7 @@ module Google
|
|
1593
1592
|
@customized_attribution = args[:customized_attribution] if args.key?(:customized_attribution)
|
1594
1593
|
@document_input_config = args[:document_input_config] if args.key?(:document_input_config)
|
1595
1594
|
@document_output_config = args[:document_output_config] if args.key?(:document_output_config)
|
1595
|
+
@enable_rotation_correction = args[:enable_rotation_correction] if args.key?(:enable_rotation_correction)
|
1596
1596
|
@enable_shadow_removal_native_pdf = args[:enable_shadow_removal_native_pdf] if args.key?(:enable_shadow_removal_native_pdf)
|
1597
1597
|
@glossary_config = args[:glossary_config] if args.key?(:glossary_config)
|
1598
1598
|
@is_translate_native_pdf_only = args[:is_translate_native_pdf_only] if args.key?(:is_translate_native_pdf_only)
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module TranslateV3
|
18
18
|
# Version of the google-apis-translate_v3 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.26.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.12.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20230407"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -717,7 +717,6 @@ module Google
|
|
717
717
|
class Representation < Google::Apis::Core::JsonRepresentation
|
718
718
|
property :create_time, as: 'createTime'
|
719
719
|
property :dataset, as: 'dataset'
|
720
|
-
property :deploy_time, as: 'deployTime'
|
721
720
|
property :display_name, as: 'displayName'
|
722
721
|
property :name, as: 'name'
|
723
722
|
property :source_language_code, as: 'sourceLanguageCode'
|
@@ -784,6 +783,7 @@ module Google
|
|
784
783
|
|
785
784
|
property :document_output_config, as: 'documentOutputConfig', class: Google::Apis::TranslateV3::DocumentOutputConfig, decorator: Google::Apis::TranslateV3::DocumentOutputConfig::Representation
|
786
785
|
|
786
|
+
property :enable_rotation_correction, as: 'enableRotationCorrection'
|
787
787
|
property :enable_shadow_removal_native_pdf, as: 'enableShadowRemovalNativePdf'
|
788
788
|
property :glossary_config, as: 'glossaryConfig', class: Google::Apis::TranslateV3::TranslateTextGlossaryConfig, decorator: Google::Apis::TranslateV3::TranslateTextGlossaryConfig::Representation
|
789
789
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-translate_v3
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.26.0
|
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-04-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -58,7 +58,7 @@ licenses:
|
|
58
58
|
metadata:
|
59
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
60
60
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-translate_v3/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-translate_v3/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-translate_v3/v0.26.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-translate_v3
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|