google-apis-translate_v3 0.24.0 → 0.26.0
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: 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
@@ -1,5 +1,13 @@
|
|
1
1
|
# Release history for google-apis-translate_v3
|
2
2
|
|
3
|
+
### v0.26.0 (2023-04-16)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20230407
|
6
|
+
|
7
|
+
### v0.25.0 (2023-03-12)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20230303
|
10
|
+
|
3
11
|
### v0.24.0 (2023-03-05)
|
4
12
|
|
5
13
|
* Regenerated from discovery document revision 20230224
|
@@ -72,6 +72,14 @@ module Google
|
|
72
72
|
# @return [String]
|
73
73
|
attr_accessor :customized_attribution
|
74
74
|
|
75
|
+
# Optional. If true, use the text removal server to remove the shadow text on
|
76
|
+
# background image for native pdf translation. Shadow removal feature can only
|
77
|
+
# be enabled when is_translate_native_pdf_only: false && pdf_native_only: false
|
78
|
+
# Corresponds to the JSON property `enableShadowRemovalNativePdf`
|
79
|
+
# @return [Boolean]
|
80
|
+
attr_accessor :enable_shadow_removal_native_pdf
|
81
|
+
alias_method :enable_shadow_removal_native_pdf?, :enable_shadow_removal_native_pdf
|
82
|
+
|
75
83
|
# Optional.
|
76
84
|
# Corresponds to the JSON property `formatConversions`
|
77
85
|
# @return [Hash<String,String>]
|
@@ -126,6 +134,7 @@ module Google
|
|
126
134
|
# Update properties of this object
|
127
135
|
def update!(**args)
|
128
136
|
@customized_attribution = args[:customized_attribution] if args.key?(:customized_attribution)
|
137
|
+
@enable_shadow_removal_native_pdf = args[:enable_shadow_removal_native_pdf] if args.key?(:enable_shadow_removal_native_pdf)
|
129
138
|
@format_conversions = args[:format_conversions] if args.key?(:format_conversions)
|
130
139
|
@glossaries = args[:glossaries] if args.key?(:glossaries)
|
131
140
|
@input_configs = args[:input_configs] if args.key?(:input_configs)
|
@@ -1244,12 +1253,6 @@ module Google
|
|
1244
1253
|
# @return [String]
|
1245
1254
|
attr_accessor :dataset
|
1246
1255
|
|
1247
|
-
# Output only. Timestamp when the model training finished and ready to be used
|
1248
|
-
# for translation.
|
1249
|
-
# Corresponds to the JSON property `deployTime`
|
1250
|
-
# @return [String]
|
1251
|
-
attr_accessor :deploy_time
|
1252
|
-
|
1253
1256
|
# The name of the model to show in the interface. The name can be up to 32
|
1254
1257
|
# characters long and can consist only of ASCII Latin letters A-Z and a-z,
|
1255
1258
|
# underscores (_), and ASCII digits 0-9.
|
@@ -1301,7 +1304,6 @@ module Google
|
|
1301
1304
|
def update!(**args)
|
1302
1305
|
@create_time = args[:create_time] if args.key?(:create_time)
|
1303
1306
|
@dataset = args[:dataset] if args.key?(:dataset)
|
1304
|
-
@deploy_time = args[:deploy_time] if args.key?(:deploy_time)
|
1305
1307
|
@display_name = args[:display_name] if args.key?(:display_name)
|
1306
1308
|
@name = args[:name] if args.key?(:name)
|
1307
1309
|
@source_language_code = args[:source_language_code] if args.key?(:source_language_code)
|
@@ -1518,6 +1520,12 @@ module Google
|
|
1518
1520
|
# @return [Google::Apis::TranslateV3::DocumentOutputConfig]
|
1519
1521
|
attr_accessor :document_output_config
|
1520
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
|
+
|
1521
1529
|
# Optional. If true, use the text removal server to remove the shadow text on
|
1522
1530
|
# background image for native pdf translation. Shadow removal feature can only
|
1523
1531
|
# be enabled when is_translate_native_pdf_only: false && pdf_native_only: false
|
@@ -1584,6 +1592,7 @@ module Google
|
|
1584
1592
|
@customized_attribution = args[:customized_attribution] if args.key?(:customized_attribution)
|
1585
1593
|
@document_input_config = args[:document_input_config] if args.key?(:document_input_config)
|
1586
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)
|
1587
1596
|
@enable_shadow_removal_native_pdf = args[:enable_shadow_removal_native_pdf] if args.key?(:enable_shadow_removal_native_pdf)
|
1588
1597
|
@glossary_config = args[:glossary_config] if args.key?(:glossary_config)
|
1589
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
|
@@ -360,6 +360,7 @@ module Google
|
|
360
360
|
# @private
|
361
361
|
class Representation < Google::Apis::Core::JsonRepresentation
|
362
362
|
property :customized_attribution, as: 'customizedAttribution'
|
363
|
+
property :enable_shadow_removal_native_pdf, as: 'enableShadowRemovalNativePdf'
|
363
364
|
hash :format_conversions, as: 'formatConversions'
|
364
365
|
hash :glossaries, as: 'glossaries', class: Google::Apis::TranslateV3::TranslateTextGlossaryConfig, decorator: Google::Apis::TranslateV3::TranslateTextGlossaryConfig::Representation
|
365
366
|
|
@@ -716,7 +717,6 @@ module Google
|
|
716
717
|
class Representation < Google::Apis::Core::JsonRepresentation
|
717
718
|
property :create_time, as: 'createTime'
|
718
719
|
property :dataset, as: 'dataset'
|
719
|
-
property :deploy_time, as: 'deployTime'
|
720
720
|
property :display_name, as: 'displayName'
|
721
721
|
property :name, as: 'name'
|
722
722
|
property :source_language_code, as: 'sourceLanguageCode'
|
@@ -783,6 +783,7 @@ module Google
|
|
783
783
|
|
784
784
|
property :document_output_config, as: 'documentOutputConfig', class: Google::Apis::TranslateV3::DocumentOutputConfig, decorator: Google::Apis::TranslateV3::DocumentOutputConfig::Representation
|
785
785
|
|
786
|
+
property :enable_rotation_correction, as: 'enableRotationCorrection'
|
786
787
|
property :enable_shadow_removal_native_pdf, as: 'enableShadowRemovalNativePdf'
|
787
788
|
property :glossary_config, as: 'glossaryConfig', class: Google::Apis::TranslateV3::TranslateTextGlossaryConfig, decorator: Google::Apis::TranslateV3::TranslateTextGlossaryConfig::Representation
|
788
789
|
|
@@ -1342,13 +1342,7 @@ module Google
|
|
1342
1342
|
end
|
1343
1343
|
|
1344
1344
|
# Lists operations that match the specified filter in the request. If the server
|
1345
|
-
# doesn't support this method, it returns `UNIMPLEMENTED`.
|
1346
|
-
# binding allows API services to override the binding to use different resource
|
1347
|
-
# name schemes, such as `users/*/operations`. To override the binding, API
|
1348
|
-
# services can add a binding such as `"/v1/`name=users/*`/operations"` to their
|
1349
|
-
# service configuration. For backwards compatibility, the default name includes
|
1350
|
-
# the operations collection id, however overriding users must ensure the name
|
1351
|
-
# binding is the parent resource, without the operations collection id.
|
1345
|
+
# doesn't support this method, it returns `UNIMPLEMENTED`.
|
1352
1346
|
# @param [String] name
|
1353
1347
|
# The name of the operation's parent resource.
|
1354
1348
|
# @param [String] filter
|
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: []
|