google-apis-translate_v3beta1 0.29.0 → 0.31.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: cb61d0252d007c7b6be01bd7513d25a45b8c6a71f94ae5b3f1d912487b41b95a
4
- data.tar.gz: b9150b8d3e01186b40cf326df881873495ac3f9b7f1ca6b13b3dcbd26826efe0
3
+ metadata.gz: 4a02096b566dab44f7230b0d0dbbeb5404b29ce76a36d99786b0fce294a02e55
4
+ data.tar.gz: 778237cd98d5caa9ed795a070a6f10cb737f861ca0365f9474493143037cea5a
5
5
  SHA512:
6
- metadata.gz: 883aac091b7324af4626bc37b260ca6913106247e5e27fd89e7457a65e6fe86f53e35111c9e7f02925d509a8b56e59928c8735ef1cf71d730bf935948259ec44
7
- data.tar.gz: 3f9c33ecb54be1007a58559734cee7ebd2d2a14e144c04ceb2f428431019007aa6788586d60ade04ad3829c85cf477a33a34cde3bd1185c77cb71d8891803d64
6
+ metadata.gz: 0fd2fa4c213b51418bac1d0be64064f549903358ce7e4a735ecb29a4a4daf3a33b667482f3a708a81cf060986d99f84522a2d38a8691962a46ab62f65e17077c
7
+ data.tar.gz: e33f71c4c6ee3eb783c48a5d20ed47cf2fa6e6213b5f474ba2917c4d3945e4e8ade05f010b8c017ff09cc02050b64098e8b2b4352be5c63f2bb86e49dd673766
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-translate_v3beta1
2
2
 
3
+ ### v0.31.0 (2024-01-22)
4
+
5
+ * Regenerated using generator version 0.13.0
6
+
7
+ ### v0.30.0 (2023-10-01)
8
+
9
+ * Regenerated from discovery document revision 20230922
10
+
3
11
  ### v0.29.0 (2023-08-13)
4
12
 
5
13
  * Regenerated from discovery document revision 20230808
@@ -86,7 +86,12 @@ module Google
86
86
  attr_accessor :enable_shadow_removal_native_pdf
87
87
  alias_method :enable_shadow_removal_native_pdf?, :enable_shadow_removal_native_pdf
88
88
 
89
- # Optional.
89
+ # Optional. File format conversion map to be applied to all input files. Map's
90
+ # key is the original mime_type. Map's value is the target mime_type of
91
+ # translated documents. Supported file format conversion includes: - `
92
+ # application/pdf` to `application/vnd.openxmlformats-officedocument.
93
+ # wordprocessingml.document` If nothing specified, output files will be in the
94
+ # same format as the original file.
90
95
  # Corresponds to the JSON property `formatConversions`
91
96
  # @return [Hash<String,String>]
92
97
  attr_accessor :format_conversions
@@ -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.29.0"
19
+ GEM_VERSION = "0.31.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.12.0"
22
+ GENERATOR_VERSION = "0.13.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20230808"
25
+ REVISION = "20230922"
26
26
  end
27
27
  end
28
28
  end
@@ -32,6 +32,8 @@ module Google
32
32
  #
33
33
  # @see https://cloud.google.com/translate/docs/quickstarts
34
34
  class TranslateService < Google::Apis::Core::BaseService
35
+ DEFAULT_ENDPOINT_TEMPLATE = "https://translation.$UNIVERSE_DOMAIN$/"
36
+
35
37
  # @return [String]
36
38
  # API key. Your API key identifies your project and provides you with API access,
37
39
  # quota, and reports. Required unless you provide an OAuth 2.0 token.
@@ -43,7 +45,7 @@ module Google
43
45
  attr_accessor :quota_user
44
46
 
45
47
  def initialize
46
- super('https://translation.googleapis.com/', '',
48
+ super(DEFAULT_ENDPOINT_TEMPLATE, '',
47
49
  client_name: 'google-apis-translate_v3beta1',
48
50
  client_version: Google::Apis::TranslateV3beta1::GEM_VERSION)
49
51
  @batch_path = 'batch'
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.29.0
4
+ version: 0.31.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-08-20 00:00:00.000000000 Z
11
+ date: 2024-01-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -16,7 +16,7 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: 0.11.0
19
+ version: 0.12.0
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
22
  version: 2.a
@@ -26,7 +26,7 @@ dependencies:
26
26
  requirements:
27
27
  - - ">="
28
28
  - !ruby/object:Gem::Version
29
- version: 0.11.0
29
+ version: 0.12.0
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 2.a
@@ -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.29.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-translate_v3beta1/v0.31.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: []
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
75
75
  - !ruby/object:Gem::Version
76
76
  version: '0'
77
77
  requirements: []
78
- rubygems_version: 3.4.2
78
+ rubygems_version: 3.5.3
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for Cloud Translation API V3beta1