google-apis-translate_v3 0.18.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: 5d5d1547468216cc4aaa7f289d3266918020d4d93d7c2f062c8e49f118db2085
4
- data.tar.gz: be1f9fe68499b7f9198a107664f19d6ed872a451ecbcbc4dea66dfb173652588
3
+ metadata.gz: 7f4436397602ba71e866b35a657fd7730d7e8fd7d6f6a7e7e7fe4f935feae07b
4
+ data.tar.gz: 16a360d8aa68a6460dca0f575ece999bc5cb8b43b79c694f69cbd0ae19246349
5
5
  SHA512:
6
- metadata.gz: be92e728e139bb2f2e78b8f946aac2153b2c90ae5a1ecb8892eccfe0ba82bda16811d0c5de368ac72ae77124c94aff8625928aa66759d64d073b1132a01922b5
7
- data.tar.gz: 4e62a2001fd75fba07a229badb444d8cd68a704b85647e3f3f35f3d79f044c324797f567fed187283d5b0e5d79731fbd1a53dd41efeb73727338ed68a9f1990a
6
+ metadata.gz: 70b112fd1a026ae2666d2aa2acf7b06b5847b3cd96dba69dad2ea3a90c9ddcdaf0672afaddc3999c575415834b871cf87dc97f97db9c07d0a781a6bc7fc58b92
7
+ data.tar.gz: fd169687f699429b8fd2a455d87279be5f40bd1b0862ae8d86f5883025784f5e795f4f612e3a5e07328ad53b7bceeff651e3d3b280b83b2ac09ce64fdae1f954
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-translate_v3
2
2
 
3
+ ### v0.19.0 (2022-09-14)
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
@@ -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.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
@@ -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.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_v3/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-translate_v3/v0.18.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-translate_v3/v0.19.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: []