google-apis-translate_v3beta1 0.7.0 → 0.11.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +17 -0
- data/OVERVIEW.md +2 -2
- data/lib/google/apis/translate_v3beta1/classes.rb +5 -9
- data/lib/google/apis/translate_v3beta1/gem_version.rb +3 -3
- data/lib/google/apis/translate_v3beta1/service.rb +4 -6
- data/lib/google/apis/translate_v3beta1.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: c71399d84f8b5bcf36b697b7f75d446a57fc6ed694c97c276a23ada36cf3220c
|
4
|
+
data.tar.gz: 992f573f5432d12dbbed07d480c40aca9f447733b989762828ebc610d10fc392
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2f55942a090f7a9dff3ced6fa292071c7290217657400199911e849d9f7b095c878fa42af0832cad307e41efbe38ff4b66e01a203877f69bd6cbb5affcf78306
|
7
|
+
data.tar.gz: ea49ef5a1eaa7901cdde55c6bb4b8470913e24c42ba2f95ecfa4ec9772b731fbc90bd2f68806597c420736dc116279a25a287944a86a6aa50fb37a6d4a367f05
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,22 @@
|
|
1
1
|
# Release history for google-apis-translate_v3beta1
|
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
|
|
@@ -81,8 +81,7 @@ module Google
|
|
81
81
|
# AutoML Translation model. The value format depends on model type: - AutoML
|
82
82
|
# Translation models: `projects/`project-number-or-id`/locations/`location-id`/
|
83
83
|
# models/`model-id`` - General (built-in) models: `projects/`project-number-or-
|
84
|
-
# id`/locations/`location-id`/models/general/nmt`,
|
85
|
-
# id`/locations/`location-id`/models/general/base` If the map is empty or a
|
84
|
+
# id`/locations/`location-id`/models/general/nmt`, If the map is empty or a
|
86
85
|
# specific model is not requested for a language pair, then default google model
|
87
86
|
# (nmt) is used.
|
88
87
|
# Corresponds to the JSON property `models`
|
@@ -154,8 +153,7 @@ module Google
|
|
154
153
|
# AutoML Translation model. The value format depends on model type: - AutoML
|
155
154
|
# Translation models: `projects/`project-number-or-id`/locations/`location-id`/
|
156
155
|
# models/`model-id`` - General (built-in) models: `projects/`project-number-or-
|
157
|
-
# id`/locations/`location-id`/models/general/nmt`,
|
158
|
-
# id`/locations/`location-id`/models/general/base` If the map is empty or a
|
156
|
+
# id`/locations/`location-id`/models/general/nmt`, If the map is empty or a
|
159
157
|
# specific model is not requested for a language pair, then default google model
|
160
158
|
# (nmt) is used.
|
161
159
|
# Corresponds to the JSON property `models`
|
@@ -952,8 +950,7 @@ module Google
|
|
952
950
|
# Optional. The `model` type requested for this translation. The format depends
|
953
951
|
# on model type: - AutoML Translation models: `projects/`project-number-or-id`/
|
954
952
|
# locations/`location-id`/models/`model-id`` - General (built-in) models: `
|
955
|
-
# projects/`project-number-or-id`/locations/`location-id`/models/general/nmt`,
|
956
|
-
# projects/`project-number-or-id`/locations/`location-id`/models/general/base`
|
953
|
+
# projects/`project-number-or-id`/locations/`location-id`/models/general/nmt`,
|
957
954
|
# If not provided, the default Google model (NMT) will be used for translation.
|
958
955
|
# Corresponds to the JSON property `model`
|
959
956
|
# @return [String]
|
@@ -1098,11 +1095,10 @@ module Google
|
|
1098
1095
|
# Optional. The `model` type requested for this translation. The format depends
|
1099
1096
|
# on model type: - AutoML Translation models: `projects/`project-number-or-id`/
|
1100
1097
|
# locations/`location-id`/models/`model-id`` - General (built-in) models: `
|
1101
|
-
# projects/`project-number-or-id`/locations/`location-id`/models/general/nmt`,
|
1102
|
-
# projects/`project-number-or-id`/locations/`location-id`/models/general/base`
|
1098
|
+
# projects/`project-number-or-id`/locations/`location-id`/models/general/nmt`,
|
1103
1099
|
# For global (non-regionalized) requests, use `location-id` `global`. For
|
1104
1100
|
# example, `projects/`project-number-or-id`/locations/global/models/general/nmt`.
|
1105
|
-
# If
|
1101
|
+
# If not provided, the default Google model (NMT) will be used
|
1106
1102
|
# Corresponds to the JSON property `model`
|
1107
1103
|
# @return [String]
|
1108
1104
|
attr_accessor :model
|
@@ -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.
|
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
|
@@ -345,10 +344,9 @@ module Google
|
|
345
344
|
# Optional. Get supported languages of this model. The format depends on model
|
346
345
|
# type: - AutoML Translation models: `projects/`project-number-or-id`/locations/`
|
347
346
|
# location-id`/models/`model-id`` - General (built-in) models: `projects/`
|
348
|
-
# project-number-or-id`/locations/`location-id`/models/general/nmt`,
|
349
|
-
# project-number-or-id`/locations/`location-id`/models/general/base` Returns
|
347
|
+
# project-number-or-id`/locations/`location-id`/models/general/nmt`, Returns
|
350
348
|
# languages supported by the specified model. If missing, we get supported
|
351
|
-
# languages of Google general
|
349
|
+
# languages of Google general NMT model.
|
352
350
|
# @param [String] fields
|
353
351
|
# Selector specifying which fields to include in a partial response.
|
354
352
|
# @param [String] quota_user
|
@@ -29,7 +29,7 @@ module Google
|
|
29
29
|
# This is NOT the gem version.
|
30
30
|
VERSION = 'V3beta1'
|
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_v3beta1
|
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 V3beta1. Simple
|
28
34
|
REST clients are Ruby client libraries that provide access to Google services via
|
29
35
|
their 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_v3beta1/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_v3beta1/CHANGELOG.md
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-translate_v3beta1/v0.11.0
|
62
|
+
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-translate_v3beta1
|
57
63
|
post_install_message:
|
58
64
|
rdoc_options: []
|
59
65
|
require_paths:
|