google-cloud-alloy_db-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: e54ac3e1b3415a05a1d5b7f72391fc0f6cc73ed01c30f3e10f6e6f494e21cc9a
4
- data.tar.gz: f0e0da830947d6d79e36d43c814e2131ea331695d227c93f0fead9a85bbce5f9
3
+ metadata.gz: 7b10acc0706af5fd41154764a84a99934764d8a4d352fb0b7ca580af19f36506
4
+ data.tar.gz: 24cf7e8ba13436069b26abb3c1d4fd005ce34a00ee087d1c3a9a2178a628284f
5
5
  SHA512:
6
- metadata.gz: b0bbe2c3c8169010bf2cea1e6e8e94a2e49233fa9c6edd48843213e98962428529d0ae099fa43823180c1f785691ddd6460ab4d599120543502383faa773aad5
7
- data.tar.gz: f3d5e696396f4354e7d42a663c3344d8287bfc607da87aee174063ac870602149ee9294fd0e9497bfebba8ec22cf5a8496569124b9e32f6713edd5749e025b56
6
+ metadata.gz: d1fc364f749f11246624b3dbac7f74d9834051c09f568b7064f536235c728bf9d27ab77e68169759c36a5851e1dde2b5dee60a6a906b11f7474f0005f5e6adba
7
+ data.tar.gz: 35256f363b8d1c5570f80ecd46b6f09610bef40d1c097f2e75081a3126c216bc17823f1bbcd576fe13d9d206af3bd91f2e64c7a87b1e85594e8aa88f48357e6d
@@ -202,20 +202,6 @@ module Google
202
202
  config.universe_domain = @config.universe_domain
203
203
  end
204
204
 
205
- @location_client = Google::Cloud::Location::Locations::Client.new do |config|
206
- config.credentials = credentials
207
- config.quota_project = @quota_project_id
208
- config.endpoint = @config.endpoint
209
- config.universe_domain = @config.universe_domain
210
- end
211
-
212
- @iam_policy_client = Google::Iam::V1::IAMPolicy::Client.new do |config|
213
- config.credentials = credentials
214
- config.quota_project = @quota_project_id
215
- config.endpoint = @config.endpoint
216
- config.universe_domain = @config.universe_domain
217
- end
218
-
219
205
  @alloy_db_admin_stub = ::Gapic::ServiceStub.new(
220
206
  ::Google::Cloud::AlloyDB::V1::AlloyDBAdmin::Stub,
221
207
  credentials: credentials,
@@ -226,6 +212,20 @@ module Google
226
212
  interceptors: @config.interceptors,
227
213
  channel_pool_config: @config.channel_pool
228
214
  )
215
+
216
+ @location_client = Google::Cloud::Location::Locations::Client.new do |config|
217
+ config.credentials = credentials
218
+ config.quota_project = @quota_project_id
219
+ config.endpoint = @alloy_db_admin_stub.endpoint
220
+ config.universe_domain = @alloy_db_admin_stub.universe_domain
221
+ end
222
+
223
+ @iam_policy_client = Google::Iam::V1::IAMPolicy::Client.new do |config|
224
+ config.credentials = credentials
225
+ config.quota_project = @quota_project_id
226
+ config.endpoint = @alloy_db_admin_stub.endpoint
227
+ config.universe_domain = @alloy_db_admin_stub.universe_domain
228
+ end
229
229
  end
230
230
 
231
231
  ##
@@ -199,27 +199,27 @@ module Google
199
199
  config.universe_domain = @config.universe_domain
200
200
  end
201
201
 
202
+ @alloy_db_admin_stub = ::Google::Cloud::AlloyDB::V1::AlloyDBAdmin::Rest::ServiceStub.new(
203
+ endpoint: @config.endpoint,
204
+ endpoint_template: DEFAULT_ENDPOINT_TEMPLATE,
205
+ universe_domain: @config.universe_domain,
206
+ credentials: credentials
207
+ )
208
+
202
209
  @location_client = Google::Cloud::Location::Locations::Rest::Client.new do |config|
203
210
  config.credentials = credentials
204
211
  config.quota_project = @quota_project_id
205
- config.endpoint = @config.endpoint
206
- config.universe_domain = @config.universe_domain
212
+ config.endpoint = @alloy_db_admin_stub.endpoint
213
+ config.universe_domain = @alloy_db_admin_stub.universe_domain
207
214
  config.bindings_override = @config.bindings_override
208
215
  end
209
216
 
210
217
  @iam_policy_client = Google::Iam::V1::IAMPolicy::Rest::Client.new do |config|
211
218
  config.credentials = credentials
212
219
  config.quota_project = @quota_project_id
213
- config.endpoint = @config.endpoint
214
- config.universe_domain = @config.universe_domain
220
+ config.endpoint = @alloy_db_admin_stub.endpoint
221
+ config.universe_domain = @alloy_db_admin_stub.universe_domain
215
222
  end
216
-
217
- @alloy_db_admin_stub = ::Google::Cloud::AlloyDB::V1::AlloyDBAdmin::Rest::ServiceStub.new(
218
- endpoint: @config.endpoint,
219
- endpoint_template: DEFAULT_ENDPOINT_TEMPLATE,
220
- universe_domain: @config.universe_domain,
221
- credentials: credentials
222
- )
223
223
  end
224
224
 
225
225
  ##
@@ -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_clusters REST call
57
66
  #
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module AlloyDB
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-alloy_db-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