google-apis-translate_v3beta1 0.17.0 → 0.19.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: 3d575a261e453aafab3da860ef9fc4def43180b2f9af1a9faabd0d7254d8771a
4
- data.tar.gz: 196b9d67e8f0714ca59fb972a4322861d7f4c03c9805d13942d5c64343311154
3
+ metadata.gz: 678b0fdeac5ff4f8e79f8252da731b45c44114d56016108657ecf9920b69b081
4
+ data.tar.gz: 720ce19f580cf51271ca2719ce7451fe5eb809e08867cdc721e1962a45706e70
5
5
  SHA512:
6
- metadata.gz: e492107fb777d1b4cb90f9a2917e1757f49a9b6d5177e1fcc4f0b8d13a2e66a11e7a1204120b31bb8ac4d777323a74a85d01d6f43438c3be2820c65c42795967
7
- data.tar.gz: 89593a84edd746ce117ac5fb395ec25cc6bb396420516a2df12699e6cfc70239a03482880b9a74a33bc6d023ad1247053a396474b067d537b0aa583961326ee5
6
+ metadata.gz: d1f46bdb79a2d7fa80b5a9cd65d027ab273298fd0fd4747c4bfecc31e2459b508bc2656cf0a36848e4b1c44d51e75cda41562d0aac8f042be821c49c0c563b0e
7
+ data.tar.gz: 9eec227a19bb957e5271870586e79992b5bd9b1b2a8918c6b06576e016469678e50eaed95faefbaa25271a9255a8ff2e5f01b17ef3a807105ca06001c7cd6ca1
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # Release history for google-apis-translate_v3beta1
2
2
 
3
+ ### v0.19.0 (2022-09-13)
4
+
5
+ * Regenerated from discovery document revision 20220909
6
+
7
+ ### v0.18.0 (2022-08-09)
8
+
9
+ * Regenerated from discovery document revision 20220805
10
+ * Regenerated using generator version 0.9.0
11
+
3
12
  ### v0.17.0 (2022-07-02)
4
13
 
5
14
  * Regenerated using generator version 0.8.0
@@ -99,8 +99,8 @@ module Google
99
99
  attr_accessor :output_config
100
100
 
101
101
  # Required. The BCP-47 language code of the input document if known, for example,
102
- # "en-US" or "sr-Latn". Supported language codes are listed in Language Support
103
- # (https://cloud.google.com/translate/docs/languages).
102
+ # "en-US" or "sr-Latn". Supported language codes are listed in [Language
103
+ # Support](https://cloud.google.com/translate/docs/languages).
104
104
  # Corresponds to the JSON property `sourceLanguageCode`
105
105
  # @return [String]
106
106
  attr_accessor :source_language_code
@@ -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.17.0"
19
+ GEM_VERSION = "0.19.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.8.0"
22
+ GENERATOR_VERSION = "0.9.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20220401"
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.17.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-07-04 00:00:00.000000000 Z
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.17.0
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: []