google-apis-translate_v3 0.33.0 → 0.35.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: 86d8685773044ef371f582702eb2e3f0e2c073d21c09de4c7ffe05b46a4d0b1f
4
- data.tar.gz: a5b5545f526d55b4eb38b5e95ab641e7d1c6f6058a8aeb0c9da0561c59d1fc5d
3
+ metadata.gz: a879c62ae634c95f8230b63cf468ec583da8ccb3b7345c77c29cf6fe93606aa1
4
+ data.tar.gz: 9a772b312e7b6695507dc7f31127b3215f6f0443fbd60ad3098ba29de02e1224
5
5
  SHA512:
6
- metadata.gz: 9c21acb2067d8e7ae7911bf53921c9f79dcec85307e0dedabea46b9d54a6c717f93d8ad6f05d0af4fa97d712719f3d8bd7202ed580e3f113f98941be702793fd
7
- data.tar.gz: 87f1f2defd90707d1935707833133835c746b9f588f697236ee2b12bacd05672af5715d8cec160689e0eb06da8a6fb239c33fd4f5bc38d9d47f95ac2fa3c346d
6
+ metadata.gz: 10192479ed91f40cf42d342c2ebd62062931f819ae6748ebd2f80db791f427c28993e1bf67f29ad6540d2a0a5d680edbefd96f69f5458132698bfd0f9eb69b40
7
+ data.tar.gz: af1b4cc72004d7e917ad4c7e2408e7d317a52e90d5d413e731a0f9417c01d2ea758c76d528fdfc9bd18125b453eae35e69052f33c5cbf33c8c08c29d01d5110c
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # Release history for google-apis-translate_v3
2
2
 
3
+ ### v0.35.0 (2024-02-04)
4
+
5
+ * Regenerated from discovery document revision 20240126
6
+ * Regenerated using generator version 0.13.1
7
+
8
+ ### v0.34.0 (2024-01-22)
9
+
10
+ * Regenerated using generator version 0.13.0
11
+
3
12
  ### v0.33.0 (2023-12-10)
4
13
 
5
14
  * Regenerated from discovery document revision 20231201
@@ -100,7 +100,8 @@ module Google
100
100
  attr_accessor :entry_count
101
101
 
102
102
  # Required. The resource name of the file, in form of `projects/`project-number-
103
- # or-id`/locations/`location_id`/adaptiveMtDatasets/`dataset`/files/`file``
103
+ # or-id`/locations/`location_id`/adaptiveMtDatasets/`dataset`/adaptiveMtFiles/`
104
+ # file``
104
105
  # Corresponds to the JSON property `name`
105
106
  # @return [String]
106
107
  attr_accessor :name
@@ -134,8 +135,8 @@ module Google
134
135
  attr_accessor :create_time
135
136
 
136
137
  # Required. The resource name of the file, in form of `projects/`project-number-
137
- # or-id`/locations/`location_id`/adaptiveMtDatasets/`dataset`/files/`file`/
138
- # sentences/`sentence``
138
+ # or-id`/locations/`location_id`/adaptiveMtDatasets/`dataset`/adaptiveMtFiles/`
139
+ # file`/adaptiveMtSentences/`sentence``
139
140
  # Corresponds to the JSON property `name`
140
141
  # @return [String]
141
142
  attr_accessor :name
@@ -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.33.0"
19
+ GEM_VERSION = "0.35.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.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20231201"
25
+ REVISION = "20240126"
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_v3',
48
50
  client_version: Google::Apis::TranslateV3::GEM_VERSION)
49
51
  @batch_path = 'batch'
@@ -783,7 +785,7 @@ module Google
783
785
  # @param [String] name
784
786
  # Required. The resource name of the file to delete, in form of `projects/`
785
787
  # project-number-or-id`/locations/`location_id`/adaptiveMtDatasets/`dataset`/
786
- # files/`file``
788
+ # adaptiveMtFiles/`file``
787
789
  # @param [String] fields
788
790
  # Selector specifying which fields to include in a partial response.
789
791
  # @param [String] quota_user
@@ -814,7 +816,8 @@ module Google
814
816
  # Gets and AdaptiveMtFile
815
817
  # @param [String] name
816
818
  # Required. The resource name of the file, in form of `projects/`project-number-
817
- # or-id`/locations/`location_id`/adaptiveMtDatasets/`dataset`/files/`file``
819
+ # or-id`/locations/`location_id`/adaptiveMtDatasets/`dataset`/adaptiveMtFiles/`
820
+ # file``
818
821
  # @param [String] fields
819
822
  # Selector specifying which fields to include in a partial response.
820
823
  # @param [String] quota_user
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.33.0
4
+ version: 0.35.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-12-10 00:00:00.000000000 Z
11
+ date: 2024-02-04 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_v3/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-translate_v3/v0.33.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-translate_v3/v0.35.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: []
@@ -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.19
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 V3