google-apis-translate_v3 0.24.0 → 0.25.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: 9ba41031077d55a2e5519d7e19a67aaef187a7998c36ca991cba0b2b98cf987c
4
- data.tar.gz: 82ee8c587ff9d18b3f696f3f8b6ddd1b9e2db94f8b1c60ee7ade52ac4bb7b2ce
3
+ metadata.gz: 5f9e5ece4622f303a7d8b7c34edb1f447112a14241f8b840835e17b3fea7ee45
4
+ data.tar.gz: 2535b051c6e2b45d25b304554b4785bf51f55384c7f7111aa82c48afd6864961
5
5
  SHA512:
6
- metadata.gz: a36f6b76b75d1b15babb009159b725fd00ae4a252e067832608829d3c01258414ace7b6b8d95436667898663a4e3d0464d5d523b1fcb902169fc8f1be4077181
7
- data.tar.gz: 39a0b8d1560eedd98b7f78d3e279dd29d45e5dba7854189e570e3204c16526ac360dfe4d9315de82919f287f5fe671b306de9ef013cd56f2e3ec63d6b4817d36
6
+ metadata.gz: 46a1a897d4c80208171ab7ea18f03cb8c06da24889d193d3a8b10d7889950290f4c33c843167ffae07489b9b7e1d7616185b38fcbd93f60fc81ba3f500e15988
7
+ data.tar.gz: 8db12582994595b8cbafca62f6393ece960459352065131c703e82f30899f2776c847a7be8f4168878a2331cb2170c6933b141f8f8e329dfa21f506ed9f55e43
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-translate_v3
2
2
 
3
+ ### v0.25.0 (2023-03-12)
4
+
5
+ * Regenerated from discovery document revision 20230303
6
+
3
7
  ### v0.24.0 (2023-03-05)
4
8
 
5
9
  * Regenerated from discovery document revision 20230224
@@ -72,6 +72,14 @@ module Google
72
72
  # @return [String]
73
73
  attr_accessor :customized_attribution
74
74
 
75
+ # Optional. If true, use the text removal server to remove the shadow text on
76
+ # background image for native pdf translation. Shadow removal feature can only
77
+ # be enabled when is_translate_native_pdf_only: false && pdf_native_only: false
78
+ # Corresponds to the JSON property `enableShadowRemovalNativePdf`
79
+ # @return [Boolean]
80
+ attr_accessor :enable_shadow_removal_native_pdf
81
+ alias_method :enable_shadow_removal_native_pdf?, :enable_shadow_removal_native_pdf
82
+
75
83
  # Optional.
76
84
  # Corresponds to the JSON property `formatConversions`
77
85
  # @return [Hash<String,String>]
@@ -126,6 +134,7 @@ module Google
126
134
  # Update properties of this object
127
135
  def update!(**args)
128
136
  @customized_attribution = args[:customized_attribution] if args.key?(:customized_attribution)
137
+ @enable_shadow_removal_native_pdf = args[:enable_shadow_removal_native_pdf] if args.key?(:enable_shadow_removal_native_pdf)
129
138
  @format_conversions = args[:format_conversions] if args.key?(:format_conversions)
130
139
  @glossaries = args[:glossaries] if args.key?(:glossaries)
131
140
  @input_configs = args[:input_configs] if args.key?(:input_configs)
@@ -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.24.0"
19
+ GEM_VERSION = "0.25.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.12.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20230224"
25
+ REVISION = "20230303"
26
26
  end
27
27
  end
28
28
  end
@@ -360,6 +360,7 @@ module Google
360
360
  # @private
361
361
  class Representation < Google::Apis::Core::JsonRepresentation
362
362
  property :customized_attribution, as: 'customizedAttribution'
363
+ property :enable_shadow_removal_native_pdf, as: 'enableShadowRemovalNativePdf'
363
364
  hash :format_conversions, as: 'formatConversions'
364
365
  hash :glossaries, as: 'glossaries', class: Google::Apis::TranslateV3::TranslateTextGlossaryConfig, decorator: Google::Apis::TranslateV3::TranslateTextGlossaryConfig::Representation
365
366
 
@@ -1342,13 +1342,7 @@ module Google
1342
1342
  end
1343
1343
 
1344
1344
  # Lists operations that match the specified filter in the request. If the server
1345
- # doesn't support this method, it returns `UNIMPLEMENTED`. NOTE: the `name`
1346
- # binding allows API services to override the binding to use different resource
1347
- # name schemes, such as `users/*/operations`. To override the binding, API
1348
- # services can add a binding such as `"/v1/`name=users/*`/operations"` to their
1349
- # service configuration. For backwards compatibility, the default name includes
1350
- # the operations collection id, however overriding users must ensure the name
1351
- # binding is the parent resource, without the operations collection id.
1345
+ # doesn't support this method, it returns `UNIMPLEMENTED`.
1352
1346
  # @param [String] name
1353
1347
  # The name of the operation's parent resource.
1354
1348
  # @param [String] filter
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.24.0
4
+ version: 0.25.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: 2023-03-05 00:00:00.000000000 Z
11
+ date: 2023-03-12 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.24.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-translate_v3/v0.25.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: []