google-cloud-memcache-v1beta2 0.8.0 → 0.8.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: 463567f95ded98751ee0ac490430523ad95ef453b2a6d38077d2b76fe5a29f79
4
- data.tar.gz: f73f447bf06c438fc63c4a9a9284b2f07598f61636159621be565c3d91a54343
3
+ metadata.gz: f54b2add78d7c1ad56a9003baca307e0e9244d2ceab3d927c9224774b20bd41a
4
+ data.tar.gz: 26dc870ab3f4aff232ec80ed4c72aad0af92390f165ecee213caa860306af8eb
5
5
  SHA512:
6
- metadata.gz: 813b50004b797083ac9b1c635e89fdf54d380d95d03a3edba3055cb7f56293032eecc5c3f50fc9b3ac034e1e696f4c451ecfa82fe3b7b62c3a5cf7a37b3a21cf
7
- data.tar.gz: 443931aae53faf6bffa9113de2d1fc90f8bd660ac1c83c79d4f5bee9f1e37b6ee105dd48b42d31c04a12bf38055bf8626bdf9a3825a2efd7e0761a2195fc8fe0
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
  #
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module Memcache
23
23
  module V1beta2
24
- VERSION = "0.8.0"
24
+ VERSION = "0.8.1"
25
25
  end
26
26
  end
27
27
  end
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.0
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 00:00:00.000000000 Z
11
+ date: 2024-01-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gapic-common