google-apis-translate_v3beta1 0.22.0 → 0.23.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: 6c4ab7305c19a7e65e1927436a32784c73e5d0dede983ea6eeb9b52db768ed3f
|
4
|
+
data.tar.gz: 3c8c473a0ea50adf716c4e3d1ba052e7b36a85ef183af92ee20bdc6ea6b75fcf
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d530a07bdd898fbda3d704b561d3f302d3fa51499c4e0e1a9732fd4debcb5046da2574dabfcdf5f492993d4167b4872481a7e7bd1c6ea591be9bb61a2cb3ca2d
|
7
|
+
data.tar.gz: cc13993e2c2eb47a6dace4811289e01d225b58f2409cbacd94f80e94e98c281a084da2ae20574e51e7e959073cbc6ee31c7b0a30acdf6aff8f9e4e7eda639ce2
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,10 @@
|
|
1
1
|
# Release history for google-apis-translate_v3beta1
|
2
2
|
|
3
|
+
### v0.23.0 (2023-01-15)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20230106
|
6
|
+
* Regenerated using generator version 0.11.1
|
7
|
+
|
3
8
|
### v0.22.0 (2022-10-27)
|
4
9
|
|
5
10
|
* Regenerated from discovery document revision 20221021
|
@@ -64,6 +64,14 @@ module Google
|
|
64
64
|
class BatchTranslateDocumentRequest
|
65
65
|
include Google::Apis::Core::Hashable
|
66
66
|
|
67
|
+
# Optional. This flag is to support user customized attribution. If not provided,
|
68
|
+
# the default is `Machine Translated by Google`. Customized attribution should
|
69
|
+
# follow rules in https://cloud.google.com/translate/attribution#
|
70
|
+
# attribution_and_logos
|
71
|
+
# Corresponds to the JSON property `customizedAttribution`
|
72
|
+
# @return [String]
|
73
|
+
attr_accessor :customized_attribution
|
74
|
+
|
67
75
|
# Optional.
|
68
76
|
# Corresponds to the JSON property `formatConversions`
|
69
77
|
# @return [Hash<String,String>]
|
@@ -117,6 +125,7 @@ module Google
|
|
117
125
|
|
118
126
|
# Update properties of this object
|
119
127
|
def update!(**args)
|
128
|
+
@customized_attribution = args[:customized_attribution] if args.key?(:customized_attribution)
|
120
129
|
@format_conversions = args[:format_conversions] if args.key?(:format_conversions)
|
121
130
|
@glossaries = args[:glossaries] if args.key?(:glossaries)
|
122
131
|
@input_configs = args[:input_configs] if args.key?(:input_configs)
|
@@ -944,6 +953,13 @@ module Google
|
|
944
953
|
# @return [Google::Apis::TranslateV3beta1::DocumentOutputConfig]
|
945
954
|
attr_accessor :document_output_config
|
946
955
|
|
956
|
+
# Optional. If true, use the text removal server to remove the shadow text on
|
957
|
+
# background image for native pdf translation.
|
958
|
+
# Corresponds to the JSON property `enableShadowRemovalNativePdf`
|
959
|
+
# @return [Boolean]
|
960
|
+
attr_accessor :enable_shadow_removal_native_pdf
|
961
|
+
alias_method :enable_shadow_removal_native_pdf?, :enable_shadow_removal_native_pdf
|
962
|
+
|
947
963
|
# Configures which glossary should be used for a specific target language, and
|
948
964
|
# defines options for applying that glossary.
|
949
965
|
# Corresponds to the JSON property `glossaryConfig`
|
@@ -1002,6 +1018,7 @@ module Google
|
|
1002
1018
|
@customized_attribution = args[:customized_attribution] if args.key?(:customized_attribution)
|
1003
1019
|
@document_input_config = args[:document_input_config] if args.key?(:document_input_config)
|
1004
1020
|
@document_output_config = args[:document_output_config] if args.key?(:document_output_config)
|
1021
|
+
@enable_shadow_removal_native_pdf = args[:enable_shadow_removal_native_pdf] if args.key?(:enable_shadow_removal_native_pdf)
|
1005
1022
|
@glossary_config = args[:glossary_config] if args.key?(:glossary_config)
|
1006
1023
|
@is_translate_native_pdf_only = args[:is_translate_native_pdf_only] if args.key?(:is_translate_native_pdf_only)
|
1007
1024
|
@labels = args[:labels] if args.key?(:labels)
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module TranslateV3beta1
|
18
18
|
# Version of the google-apis-translate_v3beta1 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.23.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.11.
|
22
|
+
GENERATOR_VERSION = "0.11.1"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20230106"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -251,6 +251,7 @@ module Google
|
|
251
251
|
class BatchTranslateDocumentRequest
|
252
252
|
# @private
|
253
253
|
class Representation < Google::Apis::Core::JsonRepresentation
|
254
|
+
property :customized_attribution, as: 'customizedAttribution'
|
254
255
|
hash :format_conversions, as: 'formatConversions'
|
255
256
|
hash :glossaries, as: 'glossaries', class: Google::Apis::TranslateV3beta1::TranslateTextGlossaryConfig, decorator: Google::Apis::TranslateV3beta1::TranslateTextGlossaryConfig::Representation
|
256
257
|
|
@@ -501,6 +502,7 @@ module Google
|
|
501
502
|
|
502
503
|
property :document_output_config, as: 'documentOutputConfig', class: Google::Apis::TranslateV3beta1::DocumentOutputConfig, decorator: Google::Apis::TranslateV3beta1::DocumentOutputConfig::Representation
|
503
504
|
|
505
|
+
property :enable_shadow_removal_native_pdf, as: 'enableShadowRemovalNativePdf'
|
504
506
|
property :glossary_config, as: 'glossaryConfig', class: Google::Apis::TranslateV3beta1::TranslateTextGlossaryConfig, decorator: Google::Apis::TranslateV3beta1::TranslateTextGlossaryConfig::Representation
|
505
507
|
|
506
508
|
property :is_translate_native_pdf_only, as: 'isTranslateNativePdfOnly'
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-translate_v3beta1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.23.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:
|
11
|
+
date: 2023-01-15 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_v3beta1/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-translate_v3beta1/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-translate_v3beta1/v0.23.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-translate_v3beta1
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
75
75
|
- !ruby/object:Gem::Version
|
76
76
|
version: '0'
|
77
77
|
requirements: []
|
78
|
-
rubygems_version: 3.
|
78
|
+
rubygems_version: 3.4.2
|
79
79
|
signing_key:
|
80
80
|
specification_version: 4
|
81
81
|
summary: Simple REST client for Cloud Translation API V3beta1
|