google-cloud-secure_source_manager-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: eff20e91a9d6b23e7dd11a2a542a823c5342402cff61708688e35b3780721a44
4
- data.tar.gz: 9f2e93cdc0000005c334d55b2ac635cc1701cb01162c68b50880bad9530c9ca8
3
+ metadata.gz: 189f24565f9b6c4b37eaf1c4f46325be0e6dca9f23ad7c2d87b0c407400c4bf1
4
+ data.tar.gz: 67fb6554fd976170826599a2299cdd68178dea09e8023cd7f92d2e959d7541c9
5
5
  SHA512:
6
- metadata.gz: cda3b657eb51e28634043d1f3cb322c72f6e7da5ffa0ac330ea281d84f5ca7f4f98540c625d19b093ac549239cdc80f9360cc8638b91c75d8de1d61f2dc05211
7
- data.tar.gz: b79c24d6c5991b7cb3175958e8d791e0aef3faf3e23217d5b964fe110c1e9b927f9b14b8f78d207cd3b6526f9b4ae8f3aab90b8b83bbc4a629fe8c2ed90b9e94
6
+ metadata.gz: b42295c822b323aca50ce97cd836b06bb01f42aead0592a670255e4c99b0a902a28e4619efa3846d86511db5bea8ccc0181673849c0a0323ffb9bae80ce6b22d
7
+ data.tar.gz: 870a61d9632972cfcbd1340c47c92f6ae77ad0cec8f6e5c53e54f23cfacb9c8e1adc6ac83ac70e98f02d27fd13131289a3d6072f94d39a7207bbb6320ec13f73
@@ -199,20 +199,6 @@ module Google
199
199
  config.universe_domain = @config.universe_domain
200
200
  end
201
201
 
202
- @location_client = Google::Cloud::Location::Locations::Client.new do |config|
203
- config.credentials = credentials
204
- config.quota_project = @quota_project_id
205
- config.endpoint = @config.endpoint
206
- config.universe_domain = @config.universe_domain
207
- end
208
-
209
- @iam_policy_client = Google::Iam::V1::IAMPolicy::Client.new do |config|
210
- config.credentials = credentials
211
- config.quota_project = @quota_project_id
212
- config.endpoint = @config.endpoint
213
- config.universe_domain = @config.universe_domain
214
- end
215
-
216
202
  @secure_source_manager_stub = ::Gapic::ServiceStub.new(
217
203
  ::Google::Cloud::SecureSourceManager::V1::SecureSourceManager::Stub,
218
204
  credentials: credentials,
@@ -223,6 +209,20 @@ module Google
223
209
  interceptors: @config.interceptors,
224
210
  channel_pool_config: @config.channel_pool
225
211
  )
212
+
213
+ @location_client = Google::Cloud::Location::Locations::Client.new do |config|
214
+ config.credentials = credentials
215
+ config.quota_project = @quota_project_id
216
+ config.endpoint = @secure_source_manager_stub.endpoint
217
+ config.universe_domain = @secure_source_manager_stub.universe_domain
218
+ end
219
+
220
+ @iam_policy_client = Google::Iam::V1::IAMPolicy::Client.new do |config|
221
+ config.credentials = credentials
222
+ config.quota_project = @quota_project_id
223
+ config.endpoint = @secure_source_manager_stub.endpoint
224
+ config.universe_domain = @secure_source_manager_stub.universe_domain
225
+ end
226
226
  end
227
227
 
228
228
  ##
@@ -196,28 +196,28 @@ module Google
196
196
  config.universe_domain = @config.universe_domain
197
197
  end
198
198
 
199
+ @secure_source_manager_stub = ::Google::Cloud::SecureSourceManager::V1::SecureSourceManager::Rest::ServiceStub.new(
200
+ endpoint: @config.endpoint,
201
+ endpoint_template: DEFAULT_ENDPOINT_TEMPLATE,
202
+ universe_domain: @config.universe_domain,
203
+ credentials: credentials
204
+ )
205
+
199
206
  @location_client = Google::Cloud::Location::Locations::Rest::Client.new do |config|
200
207
  config.credentials = credentials
201
208
  config.quota_project = @quota_project_id
202
- config.endpoint = @config.endpoint
203
- config.universe_domain = @config.universe_domain
209
+ config.endpoint = @secure_source_manager_stub.endpoint
210
+ config.universe_domain = @secure_source_manager_stub.universe_domain
204
211
  config.bindings_override = @config.bindings_override
205
212
  end
206
213
 
207
214
  @iam_policy_client = Google::Iam::V1::IAMPolicy::Rest::Client.new do |config|
208
215
  config.credentials = credentials
209
216
  config.quota_project = @quota_project_id
210
- config.endpoint = @config.endpoint
211
- config.universe_domain = @config.universe_domain
217
+ config.endpoint = @secure_source_manager_stub.endpoint
218
+ config.universe_domain = @secure_source_manager_stub.universe_domain
212
219
  config.bindings_override = @config.bindings_override
213
220
  end
214
-
215
- @secure_source_manager_stub = ::Google::Cloud::SecureSourceManager::V1::SecureSourceManager::Rest::ServiceStub.new(
216
- endpoint: @config.endpoint,
217
- endpoint_template: DEFAULT_ENDPOINT_TEMPLATE,
218
- universe_domain: @config.universe_domain,
219
- credentials: credentials
220
- )
221
221
  end
222
222
 
223
223
  ##
@@ -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 SecureSourceManager
23
23
  module V1
24
- VERSION = "0.2.0"
24
+ VERSION = "0.2.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-secure_source_manager-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