google-apis-translate_v3 0.18.0 → 0.20.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: 244a19d3f81c58d37732f20579417192e65bca73230642676b1ffe880126fd13
|
4
|
+
data.tar.gz: 0dfaacd3bdc22d9743527bf585e6f9f659166353f9980b0a7311f1352da49a77
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 07a1a27b09fccdd7ab5363d6a6cc40eef4dd728ee8d8306c217830a2003bb3869afc60490840441d824d7dab7db751df5efa3f42d13cb16dfbe25459ca5de3ec
|
7
|
+
data.tar.gz: 55933bec6f33d2374950639859444d21f13de5f188e7dfa8414357808bd20fbd2d1609b78e9f464901495eb581bafb1cb274af3ec9c1a26b3cfc8824c3ee97c0
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Release history for google-apis-translate_v3
|
2
2
|
|
3
|
+
### v0.20.0 (2022-09-20)
|
4
|
+
|
5
|
+
* Regenerated using generator version 0.10.0
|
6
|
+
|
7
|
+
### v0.19.0 (2022-09-14)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20220909
|
10
|
+
|
3
11
|
### v0.18.0 (2022-08-09)
|
4
12
|
|
5
13
|
* Regenerated from discovery document revision 20220805
|
@@ -1071,6 +1071,14 @@ module Google
|
|
1071
1071
|
class TranslateDocumentRequest
|
1072
1072
|
include Google::Apis::Core::Hashable
|
1073
1073
|
|
1074
|
+
# Optional. This flag is to support user customized attribution. If not provided,
|
1075
|
+
# the default is `Machine Translated by Google`. Customized attribution should
|
1076
|
+
# follow rules in https://cloud.google.com/translate/attribution#
|
1077
|
+
# attribution_and_logos
|
1078
|
+
# Corresponds to the JSON property `customizedAttribution`
|
1079
|
+
# @return [String]
|
1080
|
+
attr_accessor :customized_attribution
|
1081
|
+
|
1074
1082
|
# A document translation request input config.
|
1075
1083
|
# Corresponds to the JSON property `documentInputConfig`
|
1076
1084
|
# @return [Google::Apis::TranslateV3::DocumentInputConfig]
|
@@ -1128,6 +1136,7 @@ module Google
|
|
1128
1136
|
|
1129
1137
|
# Update properties of this object
|
1130
1138
|
def update!(**args)
|
1139
|
+
@customized_attribution = args[:customized_attribution] if args.key?(:customized_attribution)
|
1131
1140
|
@document_input_config = args[:document_input_config] if args.key?(:document_input_config)
|
1132
1141
|
@document_output_config = args[:document_output_config] if args.key?(:document_output_config)
|
1133
1142
|
@glossary_config = args[:glossary_config] if args.key?(:glossary_config)
|
@@ -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.20.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.10.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20220909"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -574,6 +574,7 @@ module Google
|
|
574
574
|
class TranslateDocumentRequest
|
575
575
|
# @private
|
576
576
|
class Representation < Google::Apis::Core::JsonRepresentation
|
577
|
+
property :customized_attribution, as: 'customizedAttribution'
|
577
578
|
property :document_input_config, as: 'documentInputConfig', class: Google::Apis::TranslateV3::DocumentInputConfig, decorator: Google::Apis::TranslateV3::DocumentInputConfig::Representation
|
578
579
|
|
579
580
|
property :document_output_config, as: 'documentOutputConfig', class: Google::Apis::TranslateV3::DocumentOutputConfig, decorator: Google::Apis::TranslateV3::DocumentOutputConfig::Representation
|
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.20.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: 2022-
|
11
|
+
date: 2022-09-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -16,7 +16,7 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version:
|
19
|
+
version: 0.9.0
|
20
20
|
- - "<"
|
21
21
|
- !ruby/object:Gem::Version
|
22
22
|
version: 2.a
|
@@ -26,7 +26,7 @@ dependencies:
|
|
26
26
|
requirements:
|
27
27
|
- - ">="
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
version:
|
29
|
+
version: 0.9.0
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
32
|
version: 2.a
|
@@ -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.20.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: []
|