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: 614210b44ff04ee4dc9d09a85de25550061aff76c49d3f54758116ea13b036e4
4
- data.tar.gz: 439711bb8d3b405b86c98293fd04f3e9f9d65185ce7db0b90591e43da55c1728
3
+ metadata.gz: 678b0fdeac5ff4f8e79f8252da731b45c44114d56016108657ecf9920b69b081
4
+ data.tar.gz: 720ce19f580cf51271ca2719ce7451fe5eb809e08867cdc721e1962a45706e70
5
5
  SHA512:
6
- metadata.gz: d450f91fd144531a7b726c3fe2edadc331ea6312097583755c7cb197c9b6085935167591357d877f51ffd3ce4464910a2c3e5fc64cd07da1757aa05b3ede8145
7
- data.tar.gz: 919e3b1219bacd0f5c1420d614f5fc8591e2e13bfd2ebc33116c4d6826054d7f62b1189cbd09e1833e61a466240defb7fcd5972b6c8cb02707dffce913df04fe
6
+ metadata.gz: d1f46bdb79a2d7fa80b5a9cd65d027ab273298fd0fd4747c4bfecc31e2459b508bc2656cf0a36848e4b1c44d51e75cda41562d0aac8f042be821c49c0c563b0e
7
+ data.tar.gz: 9eec227a19bb957e5271870586e79992b5bd9b1b2a8918c6b06576e016469678e50eaed95faefbaa25271a9255a8ff2e5f01b17ef3a807105ca06001c7cd6ca1
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
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
+
3
7
  ### v0.18.0 (2022-08-09)
4
8
 
5
9
  * Regenerated from discovery document revision 20220805
@@ -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.18.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 = "20220805"
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.18.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-08-15 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.18.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: []