google-apis-translate_v3 0.24.0 → 0.25.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: 5f9e5ece4622f303a7d8b7c34edb1f447112a14241f8b840835e17b3fea7ee45
|
4
|
+
data.tar.gz: 2535b051c6e2b45d25b304554b4785bf51f55384c7f7111aa82c48afd6864961
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 46a1a897d4c80208171ab7ea18f03cb8c06da24889d193d3a8b10d7889950290f4c33c843167ffae07489b9b7e1d7616185b38fcbd93f60fc81ba3f500e15988
|
7
|
+
data.tar.gz: 8db12582994595b8cbafca62f6393ece960459352065131c703e82f30899f2776c847a7be8f4168878a2331cb2170c6933b141f8f8e329dfa21f506ed9f55e43
|
data/CHANGELOG.md
CHANGED
@@ -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)
|
@@ -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.25.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 = "20230303"
|
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
|
|
@@ -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.25.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-03-
|
11
|
+
date: 2023-03-12 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.25.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: []
|