google-cloud-alloy_db-v1beta 0.6.0 → 0.6.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: 00e0d2e5a1e3b17fc45ec22013cfd5dc4d2198d35941fd717dfd96919bbd6f22
4
- data.tar.gz: 6a528e30376b8619449acaad8c1c1cfede018ffaef3b52ce3c007283d25adc2e
3
+ metadata.gz: 4050d7e75eb742f226198a212f49c0799a3a0b15dc01017dbfc42ba85b0a23cb
4
+ data.tar.gz: 2b736869e263f0feed2b4d065b98d9fe745b3c0f7fa9b69fd2936eafc62cd257
5
5
  SHA512:
6
- metadata.gz: 7abde37f3c54f3e05bfebe0ccd3f434a06154baaf22c105dbbe703fc57e83f5e930aa053c830ea183e922ac38c3e92431772801c54ad559700944905170b16e2
7
- data.tar.gz: e1afe92a731c663825bae9a5fe8e460d6df11ca09abbfbc9ae66c8625fd6a55e0227ee5eca6c10317752ae25be321c48dd41ff5c8b6b3bef572ead08b1cffbbb
6
+ metadata.gz: 30b63a1b67fdf907e9cd2b1f9394daf01989ae3c81f8056503200894c461d313d9de9cee25c8b757ea817942729541f7d770347e4dc550f7f7b31a7eb03111f1
7
+ data.tar.gz: 7ac4fcbcc8e174c1bf65bb4d5e6d4e2fb058bed4f787aa9ec38c3c99539cdf05d8bb7e69e82acaca49133c2325554dff8ebd40e78315ba818a5a399ea53a3af4
@@ -212,20 +212,6 @@ module Google
212
212
  config.universe_domain = @config.universe_domain
213
213
  end
214
214
 
215
- @location_client = Google::Cloud::Location::Locations::Client.new do |config|
216
- config.credentials = credentials
217
- config.quota_project = @quota_project_id
218
- config.endpoint = @config.endpoint
219
- config.universe_domain = @config.universe_domain
220
- end
221
-
222
- @iam_policy_client = Google::Iam::V1::IAMPolicy::Client.new do |config|
223
- config.credentials = credentials
224
- config.quota_project = @quota_project_id
225
- config.endpoint = @config.endpoint
226
- config.universe_domain = @config.universe_domain
227
- end
228
-
229
215
  @alloy_db_admin_stub = ::Gapic::ServiceStub.new(
230
216
  ::Google::Cloud::AlloyDB::V1beta::AlloyDBAdmin::Stub,
231
217
  credentials: credentials,
@@ -236,6 +222,20 @@ module Google
236
222
  interceptors: @config.interceptors,
237
223
  channel_pool_config: @config.channel_pool
238
224
  )
225
+
226
+ @location_client = Google::Cloud::Location::Locations::Client.new do |config|
227
+ config.credentials = credentials
228
+ config.quota_project = @quota_project_id
229
+ config.endpoint = @alloy_db_admin_stub.endpoint
230
+ config.universe_domain = @alloy_db_admin_stub.universe_domain
231
+ end
232
+
233
+ @iam_policy_client = Google::Iam::V1::IAMPolicy::Client.new do |config|
234
+ config.credentials = credentials
235
+ config.quota_project = @quota_project_id
236
+ config.endpoint = @alloy_db_admin_stub.endpoint
237
+ config.universe_domain = @alloy_db_admin_stub.universe_domain
238
+ end
239
239
  end
240
240
 
241
241
  ##
@@ -209,27 +209,27 @@ module Google
209
209
  config.universe_domain = @config.universe_domain
210
210
  end
211
211
 
212
+ @alloy_db_admin_stub = ::Google::Cloud::AlloyDB::V1beta::AlloyDBAdmin::Rest::ServiceStub.new(
213
+ endpoint: @config.endpoint,
214
+ endpoint_template: DEFAULT_ENDPOINT_TEMPLATE,
215
+ universe_domain: @config.universe_domain,
216
+ credentials: credentials
217
+ )
218
+
212
219
  @location_client = Google::Cloud::Location::Locations::Rest::Client.new do |config|
213
220
  config.credentials = credentials
214
221
  config.quota_project = @quota_project_id
215
- config.endpoint = @config.endpoint
216
- config.universe_domain = @config.universe_domain
222
+ config.endpoint = @alloy_db_admin_stub.endpoint
223
+ config.universe_domain = @alloy_db_admin_stub.universe_domain
217
224
  config.bindings_override = @config.bindings_override
218
225
  end
219
226
 
220
227
  @iam_policy_client = Google::Iam::V1::IAMPolicy::Rest::Client.new do |config|
221
228
  config.credentials = credentials
222
229
  config.quota_project = @quota_project_id
223
- config.endpoint = @config.endpoint
224
- config.universe_domain = @config.universe_domain
230
+ config.endpoint = @alloy_db_admin_stub.endpoint
231
+ config.universe_domain = @alloy_db_admin_stub.universe_domain
225
232
  end
226
-
227
- @alloy_db_admin_stub = ::Google::Cloud::AlloyDB::V1beta::AlloyDBAdmin::Rest::ServiceStub.new(
228
- endpoint: @config.endpoint,
229
- endpoint_template: DEFAULT_ENDPOINT_TEMPLATE,
230
- universe_domain: @config.universe_domain,
231
- credentials: credentials
232
- )
233
233
  end
234
234
 
235
235
  ##
@@ -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 V1beta
24
- VERSION = "0.6.0"
24
+ VERSION = "0.6.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-v1beta
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.0
4
+ version: 0.6.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