google-apis-translate_v3 0.7.0 → 0.11.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 +4 -4
- data/CHANGELOG.md +17 -0
- data/OVERVIEW.md +2 -2
- data/lib/google/apis/translate_v3/classes.rb +3 -5
- data/lib/google/apis/translate_v3/gem_version.rb +3 -3
- data/lib/google/apis/translate_v3/service.rb +4 -6
- data/lib/google/apis/translate_v3.rb +1 -1
- metadata +15 -9
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f892953c592d22ad50eede9d86101264d77ef17bf3fbb94b124779c8043ab5ea
|
4
|
+
data.tar.gz: 3119609c8057a1b6e5bc11916e2edb45d8e90de7d5739df5c36e65f29958f5e7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d2583aee383e5c5a4cf399d5f89e7c41ae17329eae1c2d452c101752911ea996ed2e3f3f00e061e4992280d8c4ab70bfd2c6322e320de6f0db493b929cca5a65
|
7
|
+
data.tar.gz: d47083739286bb0410f83b4755301c1c687e21a5a42111d065c73ea9d59f2dc7717c2247774e0aced57410b580046de7e883b5fc2fe9ebe1a97c1a156faf147e
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,22 @@
|
|
1
1
|
# Release history for google-apis-translate_v3
|
2
2
|
|
3
|
+
### v0.11.0 (2021-10-21)
|
4
|
+
|
5
|
+
* Unspecified changes
|
6
|
+
|
7
|
+
### v0.10.0 (2021-09-01)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20210809
|
10
|
+
|
11
|
+
### v0.9.0 (2021-06-29)
|
12
|
+
|
13
|
+
* Regenerated from discovery document revision 20210625
|
14
|
+
* Regenerated using generator version 0.4.0
|
15
|
+
|
16
|
+
### v0.8.0 (2021-06-24)
|
17
|
+
|
18
|
+
* Regenerated using generator version 0.3.0
|
19
|
+
|
3
20
|
### v0.7.0 (2021-05-25)
|
4
21
|
|
5
22
|
* Regenerated from discovery document revision 20210521
|
data/OVERVIEW.md
CHANGED
@@ -60,8 +60,8 @@ See the class reference docs for information on the methods you can call from a
|
|
60
60
|
|
61
61
|
More detailed descriptions of the Google simple REST clients are available in two documents.
|
62
62
|
|
63
|
-
* The [Usage Guide](https://github.com/googleapis/google-api-ruby-client/blob/
|
64
|
-
* The [Auth Guide](https://github.com/googleapis/google-api-ruby-client/blob/
|
63
|
+
* The [Usage Guide](https://github.com/googleapis/google-api-ruby-client/blob/main/docs/usage-guide.md) discusses how to make API calls, how to use the provided data structures, and how to work the various features of the client library, including media upload and download, error handling, retries, pagination, and logging.
|
64
|
+
* The [Auth Guide](https://github.com/googleapis/google-api-ruby-client/blob/main/docs/auth-guide.md) discusses authentication in the client libraries, including API keys, OAuth 2.0, service accounts, and environment variables.
|
65
65
|
|
66
66
|
(Note: the above documents are written for the simple REST clients in general, and their examples may not reflect the Translate service in particular.)
|
67
67
|
|
@@ -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`,
|
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
|
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
|
@@ -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.
|
19
|
+
GEM_VERSION = "0.11.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.4.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20210809"
|
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`,
|
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
|
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`,
|
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
|
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
|
@@ -29,7 +29,7 @@ module Google
|
|
29
29
|
# This is NOT the gem version.
|
30
30
|
VERSION = 'V3'
|
31
31
|
|
32
|
-
# See, edit, configure, and delete your Google Cloud
|
32
|
+
# See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.
|
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
|
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
|
+
version: 0.11.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-
|
11
|
+
date: 2021-10-27 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.
|
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:
|
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
|
@@ -51,9 +57,9 @@ licenses:
|
|
51
57
|
- Apache-2.0
|
52
58
|
metadata:
|
53
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
54
|
-
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/
|
55
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-translate_v3/v0.
|
56
|
-
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/
|
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.11.0
|
62
|
+
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-translate_v3
|
57
63
|
post_install_message:
|
58
64
|
rdoc_options: []
|
59
65
|
require_paths:
|