google-cloud-memcache-v1beta2 0.8.0 → 0.8.1
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/lib/google/cloud/memcache/v1beta2/cloud_memcache/client.rb +7 -7
- data/lib/google/cloud/memcache/v1beta2/cloud_memcache/rest/client.rb +8 -8
- data/lib/google/cloud/memcache/v1beta2/cloud_memcache/rest/service_stub.rb +9 -0
- data/lib/google/cloud/memcache/v1beta2/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: f54b2add78d7c1ad56a9003baca307e0e9244d2ceab3d927c9224774b20bd41a
|
|
4
|
+
data.tar.gz: 26dc870ab3f4aff232ec80ed4c72aad0af92390f165ecee213caa860306af8eb
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: c210bd8e44e513af8149e564bfce53ced3cb1065fc576c74eff382837379d71bd8ee02acca1f6cce708b242d4f6edf33346f3c27a6d26a72ebed77a0babdf68a
|
|
7
|
+
data.tar.gz: c38c27949ea2e8410ab09085b38e918ca8fcd828562f4177d9d93df652f3b723d8cc35cf36f7167db74b45f37529c88acc3ef503c2019b9a5b288fc7b891f8b3
|
|
@@ -186,13 +186,6 @@ module Google
|
|
|
186
186
|
config.universe_domain = @config.universe_domain
|
|
187
187
|
end
|
|
188
188
|
|
|
189
|
-
@location_client = Google::Cloud::Location::Locations::Client.new do |config|
|
|
190
|
-
config.credentials = credentials
|
|
191
|
-
config.quota_project = @quota_project_id
|
|
192
|
-
config.endpoint = @config.endpoint
|
|
193
|
-
config.universe_domain = @config.universe_domain
|
|
194
|
-
end
|
|
195
|
-
|
|
196
189
|
@cloud_memcache_stub = ::Gapic::ServiceStub.new(
|
|
197
190
|
::Google::Cloud::Memcache::V1beta2::CloudMemcache::Stub,
|
|
198
191
|
credentials: credentials,
|
|
@@ -203,6 +196,13 @@ module Google
|
|
|
203
196
|
interceptors: @config.interceptors,
|
|
204
197
|
channel_pool_config: @config.channel_pool
|
|
205
198
|
)
|
|
199
|
+
|
|
200
|
+
@location_client = Google::Cloud::Location::Locations::Client.new do |config|
|
|
201
|
+
config.credentials = credentials
|
|
202
|
+
config.quota_project = @quota_project_id
|
|
203
|
+
config.endpoint = @cloud_memcache_stub.endpoint
|
|
204
|
+
config.universe_domain = @cloud_memcache_stub.universe_domain
|
|
205
|
+
end
|
|
206
206
|
end
|
|
207
207
|
|
|
208
208
|
##
|
|
@@ -183,20 +183,20 @@ module Google
|
|
|
183
183
|
config.universe_domain = @config.universe_domain
|
|
184
184
|
end
|
|
185
185
|
|
|
186
|
-
@location_client = Google::Cloud::Location::Locations::Rest::Client.new do |config|
|
|
187
|
-
config.credentials = credentials
|
|
188
|
-
config.quota_project = @quota_project_id
|
|
189
|
-
config.endpoint = @config.endpoint
|
|
190
|
-
config.universe_domain = @config.universe_domain
|
|
191
|
-
config.bindings_override = @config.bindings_override
|
|
192
|
-
end
|
|
193
|
-
|
|
194
186
|
@cloud_memcache_stub = ::Google::Cloud::Memcache::V1beta2::CloudMemcache::Rest::ServiceStub.new(
|
|
195
187
|
endpoint: @config.endpoint,
|
|
196
188
|
endpoint_template: DEFAULT_ENDPOINT_TEMPLATE,
|
|
197
189
|
universe_domain: @config.universe_domain,
|
|
198
190
|
credentials: credentials
|
|
199
191
|
)
|
|
192
|
+
|
|
193
|
+
@location_client = Google::Cloud::Location::Locations::Rest::Client.new do |config|
|
|
194
|
+
config.credentials = credentials
|
|
195
|
+
config.quota_project = @quota_project_id
|
|
196
|
+
config.endpoint = @cloud_memcache_stub.endpoint
|
|
197
|
+
config.universe_domain = @cloud_memcache_stub.universe_domain
|
|
198
|
+
config.bindings_override = @config.bindings_override
|
|
199
|
+
end
|
|
200
200
|
end
|
|
201
201
|
|
|
202
202
|
##
|
|
@@ -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 list_instances REST call
|
|
57
66
|
#
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: google-cloud-memcache-v1beta2
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.8.
|
|
4
|
+
version: 0.8.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
|