google-cloud-redis-v1 0.13.0 → 0.13.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 1f6d263f35fbc9dbbecfca0d649ad9c4d13ab78975b65af6b0d99d636922dd1e
4
- data.tar.gz: 55fa45601cd4351b0f722134abd87adf3661f4133187d6b87958499ea711fc8f
3
+ metadata.gz: c56d5cfd85be16902c64d6c6836fbacbb778a91ecf30085d0983bc8c7922a35c
4
+ data.tar.gz: b4e75169567e73f1205b7dd170fda92e73db6245d3d9245befbecf3012eb3f43
5
5
  SHA512:
6
- metadata.gz: 40d1649ba0dd767ee261b3d8a310c3b2920958b63eb835d491eaa7b4119db71a0b8dc26299c4728fd1448aeb7854e03b6e8378a882b20288b5434ed002b0d33b
7
- data.tar.gz: 75450c326045567631c5c1eb768177d572f3d175586215c7d8a16f11352436c63cd5946d254beb39df758fa88805aa27097920b8ec66bb1c58a399e4ac7c7329
6
+ metadata.gz: b40d0c179e4dc275e1be266020e558b50a9eff7371be0bff25a115fcb8ac83ce1f43c3ee39fa74b909141fa17f5d54d24ef7562fe8ea34da1e0a2fb1d9781517
7
+ data.tar.gz: ff04bd6bff2b23aac1b4fb1364c7c6e791c43729e76bdc8ddd2595d660858e3c0d43903efae11ad53abd40a802e031bc810818ad94ddfe4bb1eb7383e31f0ceb
@@ -190,13 +190,6 @@ module Google
190
190
  config.universe_domain = @config.universe_domain
191
191
  end
192
192
 
193
- @location_client = Google::Cloud::Location::Locations::Client.new do |config|
194
- config.credentials = credentials
195
- config.quota_project = @quota_project_id
196
- config.endpoint = @config.endpoint
197
- config.universe_domain = @config.universe_domain
198
- end
199
-
200
193
  @cloud_redis_stub = ::Gapic::ServiceStub.new(
201
194
  ::Google::Cloud::Redis::V1::CloudRedis::Stub,
202
195
  credentials: credentials,
@@ -207,6 +200,13 @@ module Google
207
200
  interceptors: @config.interceptors,
208
201
  channel_pool_config: @config.channel_pool
209
202
  )
203
+
204
+ @location_client = Google::Cloud::Location::Locations::Client.new do |config|
205
+ config.credentials = credentials
206
+ config.quota_project = @quota_project_id
207
+ config.endpoint = @cloud_redis_stub.endpoint
208
+ config.universe_domain = @cloud_redis_stub.universe_domain
209
+ end
210
210
  end
211
211
 
212
212
  ##
@@ -187,20 +187,20 @@ module Google
187
187
  config.universe_domain = @config.universe_domain
188
188
  end
189
189
 
190
- @location_client = Google::Cloud::Location::Locations::Rest::Client.new do |config|
191
- config.credentials = credentials
192
- config.quota_project = @quota_project_id
193
- config.endpoint = @config.endpoint
194
- config.universe_domain = @config.universe_domain
195
- config.bindings_override = @config.bindings_override
196
- end
197
-
198
190
  @cloud_redis_stub = ::Google::Cloud::Redis::V1::CloudRedis::Rest::ServiceStub.new(
199
191
  endpoint: @config.endpoint,
200
192
  endpoint_template: DEFAULT_ENDPOINT_TEMPLATE,
201
193
  universe_domain: @config.universe_domain,
202
194
  credentials: credentials
203
195
  )
196
+
197
+ @location_client = Google::Cloud::Location::Locations::Rest::Client.new do |config|
198
+ config.credentials = credentials
199
+ config.quota_project = @quota_project_id
200
+ config.endpoint = @cloud_redis_stub.endpoint
201
+ config.universe_domain = @cloud_redis_stub.universe_domain
202
+ config.bindings_override = @config.bindings_override
203
+ end
204
204
  end
205
205
 
206
206
  ##
@@ -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 Redis
23
23
  module V1
24
- VERSION = "0.13.0"
24
+ VERSION = "0.13.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-redis-v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.13.0
4
+ version: 0.13.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