google-apis-translate_v3 0.4.0 → 0.9.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: eff61c56590abc4be4df3c4089b5263586c8c18f4252059414bbf7d0507be78b
4
- data.tar.gz: bf3a965b5c027eee7365adbae2838eb80cc09bce04ea70c9dbda03a42a3943bb
3
+ metadata.gz: e5e9071b7de680297b867de55de34325018fe63373b1af18af2aee919ededf20
4
+ data.tar.gz: 1708b5638475b0669aa3d79211457ca73656b0e405c7ec5a433375636899ab9a
5
5
  SHA512:
6
- metadata.gz: 90b057cec48f7dc65ab22269ac11e43f28c781de93ac4c6ca026bd60e5a0bb2991b359870fbda0262e29a8eb153686feabe91d4dff60c8eaabeb8b48621d1f25
7
- data.tar.gz: f14608230833a02de550136081dbf0ed273a2aa2afb64f9d464aa5fbb314012046103b9293f549764cf2dc261278530d5071130a00affb51913de47072593cf2
6
+ metadata.gz: 97a01cf6f3394b23fa388fea4aa336ac33471356498e82cf368a40f4b671eb9564e625952fb82a7ea435cf636f65b82840c142ee37f423aa86905b433b508cfd
7
+ data.tar.gz: db44e3f4c8d0992b88e1b7ff2c6fc28df79ac93345a132443283a1a2ab32245bdb2555e54f5d564a2cacd49c9a458b51c793f68302553d590d1e54e958c5bd3b
data/CHANGELOG.md CHANGED
@@ -1,5 +1,26 @@
1
1
  # Release history for google-apis-translate_v3
2
2
 
3
+ ### v0.9.0 (2021-06-29)
4
+
5
+ * Regenerated from discovery document revision 20210625
6
+ * Regenerated using generator version 0.4.0
7
+
8
+ ### v0.8.0 (2021-06-24)
9
+
10
+ * Regenerated using generator version 0.3.0
11
+
12
+ ### v0.7.0 (2021-05-25)
13
+
14
+ * Regenerated from discovery document revision 20210521
15
+
16
+ ### v0.6.0 (2021-05-20)
17
+
18
+ * Unspecified changes
19
+
20
+ ### v0.5.0 (2021-04-18)
21
+
22
+ * Regenerated from discovery document revision 20210412
23
+
3
24
  ### v0.4.0 (2021-03-16)
4
25
 
5
26
  * Regenerated from discovery document revision 20210312
@@ -29,7 +29,7 @@ module Google
29
29
  # This is NOT the gem version.
30
30
  VERSION = 'V3'
31
31
 
32
- # View and manage your data across Google Cloud Platform services
32
+ # See, edit, configure, and delete your Google Cloud Platform data
33
33
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
34
34
 
35
35
  # Translate text from one language to another using Google Translate
@@ -54,8 +54,7 @@ module Google
54
54
  # AutoML Translation model. The value format depends on model type: - AutoML
55
55
  # Translation models: `projects/`project-number-or-id`/locations/`location-id`/
56
56
  # models/`model-id`` - General (built-in) models: `projects/`project-number-or-
57
- # id`/locations/`location-id`/models/general/nmt`, `projects/`project-number-or-
58
- # id`/locations/`location-id`/models/general/base` If the map is empty or a
57
+ # id`/locations/`location-id`/models/general/nmt`, If the map is empty or a
59
58
  # specific model is not requested for a language pair, then default google model
60
59
  # (nmt) is used.
61
60
  # Corresponds to the JSON property `models`
@@ -782,11 +781,10 @@ module Google
782
781
  # Optional. The `model` type requested for this translation. The format depends
783
782
  # on model type: - AutoML Translation models: `projects/`project-number-or-id`/
784
783
  # locations/`location-id`/models/`model-id`` - General (built-in) models: `
785
- # projects/`project-number-or-id`/locations/`location-id`/models/general/nmt`, `
786
- # projects/`project-number-or-id`/locations/`location-id`/models/general/base`
784
+ # projects/`project-number-or-id`/locations/`location-id`/models/general/nmt`,
787
785
  # For global (non-regionalized) requests, use `location-id` `global`. For
788
786
  # example, `projects/`project-number-or-id`/locations/global/models/general/nmt`.
789
- # If missing, the system decides which google base model to use.
787
+ # If not provided, the default Google model (NMT) will be used
790
788
  # Corresponds to the JSON property `model`
791
789
  # @return [String]
792
790
  attr_accessor :model
@@ -877,7 +875,8 @@ module Google
877
875
  # @return [String]
878
876
  attr_accessor :model
879
877
 
880
- # Text translated into the target language.
878
+ # Text translated into the target language. If an error occurs during
879
+ # translation, this field might be excluded from the response.
881
880
  # Corresponds to the JSON property `translatedText`
882
881
  # @return [String]
883
882
  attr_accessor :translated_text
@@ -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.4.0"
19
+ GEM_VERSION = "0.9.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.2.0"
22
+ GENERATOR_VERSION = "0.4.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20210312"
25
+ REVISION = "20210625"
26
26
  end
27
27
  end
28
28
  end
@@ -104,10 +104,9 @@ module Google
104
104
  # Optional. Get supported languages of this model. The format depends on model
105
105
  # type: - AutoML Translation models: `projects/`project-number-or-id`/locations/`
106
106
  # location-id`/models/`model-id`` - General (built-in) models: `projects/`
107
- # project-number-or-id`/locations/`location-id`/models/general/nmt`, `projects/`
108
- # project-number-or-id`/locations/`location-id`/models/general/base` Returns
107
+ # project-number-or-id`/locations/`location-id`/models/general/nmt`, Returns
109
108
  # languages supported by the specified model. If missing, we get supported
110
- # languages of Google general base (PBMT) model.
109
+ # languages of Google general NMT model.
111
110
  # @param [String] fields
112
111
  # Selector specifying which fields to include in a partial response.
113
112
  # @param [String] quota_user
@@ -303,10 +302,9 @@ module Google
303
302
  # Optional. Get supported languages of this model. The format depends on model
304
303
  # type: - AutoML Translation models: `projects/`project-number-or-id`/locations/`
305
304
  # location-id`/models/`model-id`` - General (built-in) models: `projects/`
306
- # project-number-or-id`/locations/`location-id`/models/general/nmt`, `projects/`
307
- # project-number-or-id`/locations/`location-id`/models/general/base` Returns
305
+ # project-number-or-id`/locations/`location-id`/models/general/nmt`, Returns
308
306
  # languages supported by the specified model. If missing, we get supported
309
- # languages of Google general base (PBMT) model.
307
+ # languages of Google general NMT model.
310
308
  # @param [String] fields
311
309
  # Selector specifying which fields to include in a partial response.
312
310
  # @param [String] quota_user
@@ -344,7 +342,7 @@ module Google
344
342
  # accepts strings like "displayName=tokyo", and is documented in more detail in [
345
343
  # AIP-160](https://google.aip.dev/160).
346
344
  # @param [Fixnum] page_size
347
- # The maximum number of results to return. If not set, the service will select a
345
+ # The maximum number of results to return. If not set, the service selects a
348
346
  # default.
349
347
  # @param [String] page_token
350
348
  # A page token received from the `next_page_token` field in the response. Send
metadata CHANGED
@@ -1,29 +1,35 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-translate_v3
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 0.9.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: 2021-03-22 00:00:00.000000000 Z
11
+ date: 2021-07-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - "~>"
17
+ - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: '0.1'
19
+ version: '0.4'
20
+ - - "<"
21
+ - !ruby/object:Gem::Version
22
+ version: 2.a
20
23
  type: :runtime
21
24
  prerelease: false
22
25
  version_requirements: !ruby/object:Gem::Requirement
23
26
  requirements:
24
- - - "~>"
27
+ - - ">="
28
+ - !ruby/object:Gem::Version
29
+ version: '0.4'
30
+ - - "<"
25
31
  - !ruby/object:Gem::Version
26
- version: '0.1'
32
+ version: 2.a
27
33
  description: This is the simple REST client for Cloud Translation API V3. Simple REST
28
34
  clients are Ruby client libraries that provide access to Google services via their
29
35
  HTTP REST API endpoints. These libraries are generated and updated automatically
@@ -52,7 +58,7 @@ licenses:
52
58
  metadata:
53
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
54
60
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-translate_v3/CHANGELOG.md
55
- documentation_uri: https://googleapis.dev/ruby/google-apis-translate_v3/v0.4.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-translate_v3/v0.9.0
56
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-translate_v3
57
63
  post_install_message:
58
64
  rdoc_options: []
@@ -69,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
69
75
  - !ruby/object:Gem::Version
70
76
  version: '0'
71
77
  requirements: []
72
- rubygems_version: 3.2.13
78
+ rubygems_version: 3.2.17
73
79
  signing_key:
74
80
  specification_version: 4
75
81
  summary: Simple REST client for Cloud Translation API V3