google-cloud-speech-v2 0.9.0 → 0.9.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2c986f3746a421aa838086245580114dd011b7bb04426739784b4f4082b06481
|
4
|
+
data.tar.gz: 74836c58e06bd9d40ada3d43c108527b3beb4a89b79ee6bdc94359588b7cb759
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 010afc65fa1178f0b3841aac1d6d04b9a6a0915f7b248d53ad59b166eb9e43492758ac647ed2fdf200bec7d6226fe178244f15cd93a9dad68165c6a70df09e0d
|
7
|
+
data.tar.gz: 32ec812e6b99ae69f4a09762d635238971086d357d8feff169d626210e8c34908a7095ddb11ba9e11828b1e984c7b9a9336b05763261f6fb6b44155f54f5f122
|
@@ -159,13 +159,6 @@ module Google
|
|
159
159
|
config.universe_domain = @config.universe_domain
|
160
160
|
end
|
161
161
|
|
162
|
-
@location_client = Google::Cloud::Location::Locations::Client.new do |config|
|
163
|
-
config.credentials = credentials
|
164
|
-
config.quota_project = @quota_project_id
|
165
|
-
config.endpoint = @config.endpoint
|
166
|
-
config.universe_domain = @config.universe_domain
|
167
|
-
end
|
168
|
-
|
169
162
|
@speech_stub = ::Gapic::ServiceStub.new(
|
170
163
|
::Google::Cloud::Speech::V2::Speech::Stub,
|
171
164
|
credentials: credentials,
|
@@ -176,6 +169,13 @@ module Google
|
|
176
169
|
interceptors: @config.interceptors,
|
177
170
|
channel_pool_config: @config.channel_pool
|
178
171
|
)
|
172
|
+
|
173
|
+
@location_client = Google::Cloud::Location::Locations::Client.new do |config|
|
174
|
+
config.credentials = credentials
|
175
|
+
config.quota_project = @quota_project_id
|
176
|
+
config.endpoint = @speech_stub.endpoint
|
177
|
+
config.universe_domain = @speech_stub.universe_domain
|
178
|
+
end
|
179
179
|
end
|
180
180
|
|
181
181
|
##
|
@@ -156,20 +156,20 @@ module Google
|
|
156
156
|
config.universe_domain = @config.universe_domain
|
157
157
|
end
|
158
158
|
|
159
|
-
@location_client = Google::Cloud::Location::Locations::Rest::Client.new do |config|
|
160
|
-
config.credentials = credentials
|
161
|
-
config.quota_project = @quota_project_id
|
162
|
-
config.endpoint = @config.endpoint
|
163
|
-
config.universe_domain = @config.universe_domain
|
164
|
-
config.bindings_override = @config.bindings_override
|
165
|
-
end
|
166
|
-
|
167
159
|
@speech_stub = ::Google::Cloud::Speech::V2::Speech::Rest::ServiceStub.new(
|
168
160
|
endpoint: @config.endpoint,
|
169
161
|
endpoint_template: DEFAULT_ENDPOINT_TEMPLATE,
|
170
162
|
universe_domain: @config.universe_domain,
|
171
163
|
credentials: credentials
|
172
164
|
)
|
165
|
+
|
166
|
+
@location_client = Google::Cloud::Location::Locations::Rest::Client.new do |config|
|
167
|
+
config.credentials = credentials
|
168
|
+
config.quota_project = @quota_project_id
|
169
|
+
config.endpoint = @speech_stub.endpoint
|
170
|
+
config.universe_domain = @speech_stub.universe_domain
|
171
|
+
config.bindings_override = @config.bindings_override
|
172
|
+
end
|
173
173
|
end
|
174
174
|
|
175
175
|
##
|
@@ -52,6 +52,15 @@ module Google
|
|
52
52
|
@client_stub.universe_domain
|
53
53
|
end
|
54
54
|
|
55
|
+
##
|
56
|
+
# The effective endpoint
|
57
|
+
#
|
58
|
+
# @return [String]
|
59
|
+
#
|
60
|
+
def endpoint
|
61
|
+
@client_stub.endpoint
|
62
|
+
end
|
63
|
+
|
55
64
|
##
|
56
65
|
# Baseline implementation for the create_recognizer REST call
|
57
66
|
#
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-cloud-speech-v2
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.9.
|
4
|
+
version: 0.9.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: 2024-01-
|
11
|
+
date: 2024-01-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gapic-common
|