google-cloud-redis-cluster-v1 0.2.0 → 0.2.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: e21f4857642c5368e96f728506b96185d95e84b2a017a13923755c83d3bc9073
4
- data.tar.gz: f56f03b1dbb12bcaacfe953b9db711b09eaf26c7bcb1a77685da55fe97e6fc50
3
+ metadata.gz: 3353c124a2d437760c0edb3ea3d07cdccca1a5e5ac7669f80c6a4417bfcd29cb
4
+ data.tar.gz: d13e9c2d8bdd5192beda32cd6b2bb4e805da937386296b74ad4a2059adda06fc
5
5
  SHA512:
6
- metadata.gz: 050e0acae3104bc4161d688f972880c82c8c4a501f192bb56275f32540e076cf610acaeb9a510e2909e9b80136e727b22d3d68a1ac870946778f19fe6ffd6e7a
7
- data.tar.gz: fac33201bf6f4b1a8d4d7ed59685b4f7e023e9af7a2e8663ad42c4e7dbde24f674d087e0d6689020f05a971c9b0e2eed55e68b1c5fdef724c205c4c18ce09b28
6
+ metadata.gz: 23c7b400f06c29a0ba4724b389ef17edc36e5f319a632f728649c0c6cf9379f0a7fb107ce8ccf9d2e379ec88cde5ab8977ad55e1dcb68abb867db31c607ecf04
7
+ data.tar.gz: 06afe4207fd09a91e19946f581d2ea930dd6ab9b097add40cb3b8b27637e484caf2fcd084a7081472718cc9f2f0db66d3bdf194782871c1fab1698b2309e1eca
@@ -185,13 +185,6 @@ module Google
185
185
  config.universe_domain = @config.universe_domain
186
186
  end
187
187
 
188
- @location_client = Google::Cloud::Location::Locations::Client.new do |config|
189
- config.credentials = credentials
190
- config.quota_project = @quota_project_id
191
- config.endpoint = @config.endpoint
192
- config.universe_domain = @config.universe_domain
193
- end
194
-
195
188
  @cloud_redis_cluster_stub = ::Gapic::ServiceStub.new(
196
189
  ::Google::Cloud::Redis::Cluster::V1::CloudRedisCluster::Stub,
197
190
  credentials: credentials,
@@ -202,6 +195,13 @@ module Google
202
195
  interceptors: @config.interceptors,
203
196
  channel_pool_config: @config.channel_pool
204
197
  )
198
+
199
+ @location_client = Google::Cloud::Location::Locations::Client.new do |config|
200
+ config.credentials = credentials
201
+ config.quota_project = @quota_project_id
202
+ config.endpoint = @cloud_redis_cluster_stub.endpoint
203
+ config.universe_domain = @cloud_redis_cluster_stub.universe_domain
204
+ end
205
205
  end
206
206
 
207
207
  ##
@@ -182,20 +182,20 @@ module Google
182
182
  config.universe_domain = @config.universe_domain
183
183
  end
184
184
 
185
- @location_client = Google::Cloud::Location::Locations::Rest::Client.new do |config|
186
- config.credentials = credentials
187
- config.quota_project = @quota_project_id
188
- config.endpoint = @config.endpoint
189
- config.universe_domain = @config.universe_domain
190
- config.bindings_override = @config.bindings_override
191
- end
192
-
193
185
  @cloud_redis_cluster_stub = ::Google::Cloud::Redis::Cluster::V1::CloudRedisCluster::Rest::ServiceStub.new(
194
186
  endpoint: @config.endpoint,
195
187
  endpoint_template: DEFAULT_ENDPOINT_TEMPLATE,
196
188
  universe_domain: @config.universe_domain,
197
189
  credentials: credentials
198
190
  )
191
+
192
+ @location_client = Google::Cloud::Location::Locations::Rest::Client.new do |config|
193
+ config.credentials = credentials
194
+ config.quota_project = @quota_project_id
195
+ config.endpoint = @cloud_redis_cluster_stub.endpoint
196
+ config.universe_domain = @cloud_redis_cluster_stub.universe_domain
197
+ config.bindings_override = @config.bindings_override
198
+ end
199
199
  end
200
200
 
201
201
  ##
@@ -53,6 +53,15 @@ module Google
53
53
  @client_stub.universe_domain
54
54
  end
55
55
 
56
+ ##
57
+ # The effective endpoint
58
+ #
59
+ # @return [String]
60
+ #
61
+ def endpoint
62
+ @client_stub.endpoint
63
+ end
64
+
56
65
  ##
57
66
  # Baseline implementation for the list_clusters REST call
58
67
  #
@@ -22,7 +22,7 @@ module Google
22
22
  module Redis
23
23
  module Cluster
24
24
  module V1
25
- VERSION = "0.2.0"
25
+ VERSION = "0.2.1"
26
26
  end
27
27
  end
28
28
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-redis-cluster-v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.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