google-cloud-memcache-v1 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: f65f2330bf3768e7e0d178ae349a7a21de311a635fc7349393bcbf80fb8c5f19
4
- data.tar.gz: 9769a59572f3c68e1c36118c5512945a8eeb7a46c55c679e612d46c417945321
3
+ metadata.gz: efa5a1db785f5224cda54d4e8cfa20883ff5b10c0eaf4c5578246c266a71e745
4
+ data.tar.gz: 8759cfd4d80169f812ce499286a8cdfe180cf6da12d61b96b93225e349c9d19e
5
5
  SHA512:
6
- metadata.gz: 5c3ebee212217d5200c190ec0e29809432124008f05d5a8200ae7f46bc98ffa5977ba348f0a8d9f84e219b2e33394722fd380c65b3d5d6aeb4af715534ac10ea
7
- data.tar.gz: c8f1f9d96edf30cb5301bc56557037aca37e8555aec3686936f7a5a37881eb8445bbe24e2c0815c3c09a2d845fa01a569a9be2ec56daa56dcd06029148cb855c
6
+ metadata.gz: 3c579d814aa5e71d50e7b00d0db2bc3b036f65607d03f01bc1c837f1a67ccfe79613124128821b0fdebb6c3f81db511872e72d1dd1fe6b95870ae00eccff5f76
7
+ data.tar.gz: 76a27f86e8687e7e63c52987e4469fb62f41897fb729f1069ab48962bac51b5b511286d1556fad6aa98648c2152c80b626d9b9e23e008630d276ae427e30345c
@@ -184,13 +184,6 @@ module Google
184
184
  config.universe_domain = @config.universe_domain
185
185
  end
186
186
 
187
- @location_client = Google::Cloud::Location::Locations::Client.new do |config|
188
- config.credentials = credentials
189
- config.quota_project = @quota_project_id
190
- config.endpoint = @config.endpoint
191
- config.universe_domain = @config.universe_domain
192
- end
193
-
194
187
  @cloud_memcache_stub = ::Gapic::ServiceStub.new(
195
188
  ::Google::Cloud::Memcache::V1::CloudMemcache::Stub,
196
189
  credentials: credentials,
@@ -201,6 +194,13 @@ module Google
201
194
  interceptors: @config.interceptors,
202
195
  channel_pool_config: @config.channel_pool
203
196
  )
197
+
198
+ @location_client = Google::Cloud::Location::Locations::Client.new do |config|
199
+ config.credentials = credentials
200
+ config.quota_project = @quota_project_id
201
+ config.endpoint = @cloud_memcache_stub.endpoint
202
+ config.universe_domain = @cloud_memcache_stub.universe_domain
203
+ end
204
204
  end
205
205
 
206
206
  ##
@@ -181,20 +181,20 @@ module Google
181
181
  config.universe_domain = @config.universe_domain
182
182
  end
183
183
 
184
- @location_client = Google::Cloud::Location::Locations::Rest::Client.new do |config|
185
- config.credentials = credentials
186
- config.quota_project = @quota_project_id
187
- config.endpoint = @config.endpoint
188
- config.universe_domain = @config.universe_domain
189
- config.bindings_override = @config.bindings_override
190
- end
191
-
192
184
  @cloud_memcache_stub = ::Google::Cloud::Memcache::V1::CloudMemcache::Rest::ServiceStub.new(
193
185
  endpoint: @config.endpoint,
194
186
  endpoint_template: DEFAULT_ENDPOINT_TEMPLATE,
195
187
  universe_domain: @config.universe_domain,
196
188
  credentials: credentials
197
189
  )
190
+
191
+ @location_client = Google::Cloud::Location::Locations::Rest::Client.new do |config|
192
+ config.credentials = credentials
193
+ config.quota_project = @quota_project_id
194
+ config.endpoint = @cloud_memcache_stub.endpoint
195
+ config.universe_domain = @cloud_memcache_stub.universe_domain
196
+ config.bindings_override = @config.bindings_override
197
+ end
198
198
  end
199
199
 
200
200
  ##
@@ -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 V1
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-v1
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