google-cloud-translate 3.0.0 → 3.0.1

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: 63e73472f54911cd2df041d265d4c0d34a0f70ccf5df7f672333137abb5e12b9
4
- data.tar.gz: 49e1571a2748e021eda1c606ffe7bfb36c24853ed64d123f7339d8ebefd49639
3
+ metadata.gz: a187318218b59f519b44a028127aeb85b4dada5689897385b4f3c0d8b18cc371
4
+ data.tar.gz: 6ed761f22ef404945755e0ba339cb0b9e27be66fa927bf4ec9ee0a5f1dfc1944
5
5
  SHA512:
6
- metadata.gz: 7f1028e25d3b4016908c390a8032dd1068ddda684fffd085355f62a94799a2a429533e8e6875fc77059082f2333006d43c9abcb185e0253a8cedd4154747f15e
7
- data.tar.gz: 63a9c9b3aa09823f6ac0df6e37fa57c9fd91a2d10549b52873d8b06eabb3e371bee33cac2753646e9237d50788d723410f521ad6d9fbc05b3aa696f3add86904
6
+ metadata.gz: b6b503e53d925b74f4a51e5bec1156dee6e57ee47ed13e98333bedce88520a1ddb52468d89e8ea32f935601fdfb2d59891b9fe493c2549643084576e89943ab8
7
+ data.tar.gz: 92de014c16d214ac0259eb50e896fe6e7d4aa72e19b9fb5bc214fd55fcf7dfb2094ba732a4f5ca8557dd8ccda5d73cf1d3d6851eacbcf28bc21b75ae9a64f9c2
@@ -39,8 +39,6 @@ require "google/cloud/config"
39
39
  config.add_field! :metadata, nil, match: ::Hash
40
40
  config.add_field! :retry_policy, nil, match: [::Hash, ::Proc]
41
41
  config.add_field! :quota_project, nil, match: ::String
42
- config.add_field! :key, nil, match: ::String
43
- config.add_field! :retries, nil, match: ::Integer
44
42
  end
45
43
 
46
44
  module Google
@@ -95,6 +95,13 @@ module Google
95
95
  timeout: timeout,
96
96
  endpoint: endpoint
97
97
  end
98
+
99
+ # Additional config keys used by V2
100
+ configure do |config|
101
+ config.add_field! :project_id, nil, match: ::String
102
+ config.add_field! :key, nil, match: ::String
103
+ config.add_field! :retries, nil, match: ::Integer
104
+ end
98
105
  end
99
106
  end
100
107
  end
@@ -20,7 +20,7 @@
20
20
  module Google
21
21
  module Cloud
22
22
  module Translate
23
- VERSION = "3.0.0"
23
+ VERSION = "3.0.1"
24
24
  end
25
25
  end
26
26
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-translate
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.0
4
+ version: 3.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-06-18 00:00:00.000000000 Z
11
+ date: 2020-06-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-cloud-core