google-apis-translate_v3beta1 0.18.0 → 0.19.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: 678b0fdeac5ff4f8e79f8252da731b45c44114d56016108657ecf9920b69b081
|
4
|
+
data.tar.gz: 720ce19f580cf51271ca2719ce7451fe5eb809e08867cdc721e1962a45706e70
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d1f46bdb79a2d7fa80b5a9cd65d027ab273298fd0fd4747c4bfecc31e2459b508bc2656cf0a36848e4b1c44d51e75cda41562d0aac8f042be821c49c0c563b0e
|
7
|
+
data.tar.gz: 9eec227a19bb957e5271870586e79992b5bd9b1b2a8918c6b06576e016469678e50eaed95faefbaa25271a9255a8ff2e5f01b17ef3a807105ca06001c7cd6ca1
|
data/CHANGELOG.md
CHANGED
@@ -926,6 +926,14 @@ module Google
|
|
926
926
|
class TranslateDocumentRequest
|
927
927
|
include Google::Apis::Core::Hashable
|
928
928
|
|
929
|
+
# Optional. This flag is to support user customized attribution. If not provided,
|
930
|
+
# the default is `Machine Translated by Google`. Customized attribution should
|
931
|
+
# follow rules in https://cloud.google.com/translate/attribution#
|
932
|
+
# attribution_and_logos
|
933
|
+
# Corresponds to the JSON property `customizedAttribution`
|
934
|
+
# @return [String]
|
935
|
+
attr_accessor :customized_attribution
|
936
|
+
|
929
937
|
# A document translation request input config.
|
930
938
|
# Corresponds to the JSON property `documentInputConfig`
|
931
939
|
# @return [Google::Apis::TranslateV3beta1::DocumentInputConfig]
|
@@ -983,6 +991,7 @@ module Google
|
|
983
991
|
|
984
992
|
# Update properties of this object
|
985
993
|
def update!(**args)
|
994
|
+
@customized_attribution = args[:customized_attribution] if args.key?(:customized_attribution)
|
986
995
|
@document_input_config = args[:document_input_config] if args.key?(:document_input_config)
|
987
996
|
@document_output_config = args[:document_output_config] if args.key?(:document_output_config)
|
988
997
|
@glossary_config = args[:glossary_config] if args.key?(:glossary_config)
|
@@ -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.19.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.9.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
|
@@ -496,6 +496,7 @@ module Google
|
|
496
496
|
class TranslateDocumentRequest
|
497
497
|
# @private
|
498
498
|
class Representation < Google::Apis::Core::JsonRepresentation
|
499
|
+
property :customized_attribution, as: 'customizedAttribution'
|
499
500
|
property :document_input_config, as: 'documentInputConfig', class: Google::Apis::TranslateV3beta1::DocumentInputConfig, decorator: Google::Apis::TranslateV3beta1::DocumentInputConfig::Representation
|
500
501
|
|
501
502
|
property :document_output_config, as: 'documentOutputConfig', class: Google::Apis::TranslateV3beta1::DocumentOutputConfig, decorator: Google::Apis::TranslateV3beta1::DocumentOutputConfig::Representation
|
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.19.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-19 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.19.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: []
|