google-apis-translate_v3beta1 0.9.0 → 0.13.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: 5ca51a28355932b1bb991c614a0a32bd267447adc942af542c342f0a8f53e46a
4
- data.tar.gz: 447d64cee0b1d6f867974de8076e6a7c0914be4594f717946cac97c61f019097
3
+ metadata.gz: 88f449a88076e4d921504696504264e9c07e306ee38e4466612af12b5915cdf3
4
+ data.tar.gz: 527e37a501f9a7d2a377c9bb7c36359a86c0452fc334c749903bbdb6d467c13e
5
5
  SHA512:
6
- metadata.gz: 006fd481f0b21f69adcc291f52e71832148bed18d9d6fb6b10adadabfae426a2a2234d54b4dd0cfbd6b4e42c3dd0eddd1bac12b7a640210000114c1254cd01f2
7
- data.tar.gz: 6d46b003bfd001b02e5d5123c4e1842cd30f2f3d30404fc8b4e306a8a1eb496a81673437b84c07b62e19865adff20845c6b541e73937af34fcd6fa0bcd87f52c
6
+ metadata.gz: bfe5c3c4017a0f10beccd8d65bd8110ab0b3272a11668e08a5069a555fa3d541c1211b03008d0d9c55aaceffcfb8bce80f39dd2a80882c0a0e5eaa579ffa984d
7
+ data.tar.gz: 413c08789dece53d420b3b1cf53203b51933df11a705c5408974c8336112efd2824915069b0c6f6744a5fcaa3a33ec1f0bb0a15f8975c40a1aceb058194f210e
data/CHANGELOG.md CHANGED
@@ -1,5 +1,21 @@
1
1
  # Release history for google-apis-translate_v3beta1
2
2
 
3
+ ### v0.13.0 (2021-12-14)
4
+
5
+ * Unspecified changes
6
+
7
+ ### v0.12.0 (2021-11-01)
8
+
9
+ * Regenerated from discovery document revision 20211029
10
+
11
+ ### v0.11.0 (2021-10-21)
12
+
13
+ * Unspecified changes
14
+
15
+ ### v0.10.0 (2021-09-01)
16
+
17
+ * Regenerated from discovery document revision 20210809
18
+
3
19
  ### v0.9.0 (2021-06-29)
4
20
 
5
21
  * Regenerated from discovery document revision 20210625
data/OVERVIEW.md CHANGED
@@ -51,7 +51,7 @@ require "google/apis/translate_v3beta1"
51
51
  client = Google::Apis::TranslateV3beta1::TranslateService.new
52
52
 
53
53
  # Authenticate calls
54
- client.authentication = # ... use the googleauth gem to create credentials
54
+ client.authorization = # ... use the googleauth gem to create credentials
55
55
  ```
56
56
 
57
57
  See the class reference docs for information on the methods you can call from a client.
@@ -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/master/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/master/docs/auth-guide.md) discusses authentication in the client libraries, including API keys, OAuth 2.0, service accounts, and environment variables.
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
 
@@ -64,6 +64,11 @@ module Google
64
64
  class BatchTranslateDocumentRequest
65
65
  include Google::Apis::Core::Hashable
66
66
 
67
+ # Optional.
68
+ # Corresponds to the JSON property `formatConversions`
69
+ # @return [Hash<String,String>]
70
+ attr_accessor :format_conversions
71
+
67
72
  # Optional. Glossaries to be applied. It's keyed by target language code.
68
73
  # Corresponds to the JSON property `glossaries`
69
74
  # @return [Hash<String,Google::Apis::TranslateV3beta1::TranslateTextGlossaryConfig>]
@@ -112,6 +117,7 @@ module Google
112
117
 
113
118
  # Update properties of this object
114
119
  def update!(**args)
120
+ @format_conversions = args[:format_conversions] if args.key?(:format_conversions)
115
121
  @glossaries = args[:glossaries] if args.key?(:glossaries)
116
122
  @input_configs = args[:input_configs] if args.key?(:input_configs)
117
123
  @models = args[:models] if args.key?(:models)
@@ -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.9.0"
19
+ GEM_VERSION = "0.13.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.4.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20210625"
25
+ REVISION = "20211029"
26
26
  end
27
27
  end
28
28
  end
@@ -251,6 +251,7 @@ module Google
251
251
  class BatchTranslateDocumentRequest
252
252
  # @private
253
253
  class Representation < Google::Apis::Core::JsonRepresentation
254
+ hash :format_conversions, as: 'formatConversions'
254
255
  hash :glossaries, as: 'glossaries', class: Google::Apis::TranslateV3beta1::TranslateTextGlossaryConfig, decorator: Google::Apis::TranslateV3beta1::TranslateTextGlossaryConfig::Representation
255
256
 
256
257
  collection :input_configs, as: 'inputConfigs', class: Google::Apis::TranslateV3beta1::BatchDocumentInputConfig, decorator: Google::Apis::TranslateV3beta1::BatchDocumentInputConfig::Representation
@@ -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 Platform data
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,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.9.0
4
+ version: 0.13.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-07-05 00:00:00.000000000 Z
11
+ date: 2022-01-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -57,9 +57,9 @@ licenses:
57
57
  - Apache-2.0
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
- changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-translate_v3beta1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-translate_v3beta1/v0.9.0
62
- source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-translate_v3beta1
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.13.0
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: []
65
65
  require_paths:
@@ -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.2.17
78
+ rubygems_version: 3.3.4
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for Cloud Translation API V3beta1