google-cloud-certificate_manager-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: 3e65b53a11e46bac9809f924d8c01b013b77fcf32c152968e205412606195195
4
- data.tar.gz: 814cbe19ff12ec3412d6ff01a4f5d2596a2ff8770f7526cf04c801ce38c3cec9
3
+ metadata.gz: d91aa91252e6f8bca28cf806fffcf242cbac6eeee0b95fb81c1254e15ee815f2
4
+ data.tar.gz: 44ed29e7f2a93ee3725a6cb9e6639bc60fb1faa1b4f5e79a734eaf62e01ec1ea
5
5
  SHA512:
6
- metadata.gz: 36b0edb8dfd91099f8676becfa54ab30af3e65cd957b34119aac4578582bd0af4f7217538eb4cd56f4d57ecc610389dbef23deb5a6346b52cfa253dab920266c
7
- data.tar.gz: 4280c0c0005aaeaf940ee2180f5287b4a80535401ca7b2d4f937fd509b3b170de7114bbdaa851d3eba66aca37cfe505f4db90169d40ed0f6fca78b3b6081e2b9
6
+ metadata.gz: 25f5c18d8246f8ee1a9d4c60e100db4980618b26421c5c82319424b425ad6deb44dce69bad76a6a639e6059c313ca42d0d283bcfce43c477c4801b5c3768929b
7
+ data.tar.gz: de8465f252fbb5ddaf05bbccfa481bb3310d9c47ccbaf334730c9e06f0270e3daf38cce3c687afba42cb6e808d1c3f615fc4a680e67f03924ea7b08e74401caa
@@ -299,13 +299,6 @@ module Google
299
299
  config.universe_domain = @config.universe_domain
300
300
  end
301
301
 
302
- @location_client = Google::Cloud::Location::Locations::Client.new do |config|
303
- config.credentials = credentials
304
- config.quota_project = @quota_project_id
305
- config.endpoint = @config.endpoint
306
- config.universe_domain = @config.universe_domain
307
- end
308
-
309
302
  @certificate_manager_stub = ::Gapic::ServiceStub.new(
310
303
  ::Google::Cloud::CertificateManager::V1::CertificateManager::Stub,
311
304
  credentials: credentials,
@@ -316,6 +309,13 @@ module Google
316
309
  interceptors: @config.interceptors,
317
310
  channel_pool_config: @config.channel_pool
318
311
  )
312
+
313
+ @location_client = Google::Cloud::Location::Locations::Client.new do |config|
314
+ config.credentials = credentials
315
+ config.quota_project = @quota_project_id
316
+ config.endpoint = @certificate_manager_stub.endpoint
317
+ config.universe_domain = @certificate_manager_stub.universe_domain
318
+ end
319
319
  end
320
320
 
321
321
  ##
@@ -296,20 +296,20 @@ module Google
296
296
  config.universe_domain = @config.universe_domain
297
297
  end
298
298
 
299
- @location_client = Google::Cloud::Location::Locations::Rest::Client.new do |config|
300
- config.credentials = credentials
301
- config.quota_project = @quota_project_id
302
- config.endpoint = @config.endpoint
303
- config.universe_domain = @config.universe_domain
304
- config.bindings_override = @config.bindings_override
305
- end
306
-
307
299
  @certificate_manager_stub = ::Google::Cloud::CertificateManager::V1::CertificateManager::Rest::ServiceStub.new(
308
300
  endpoint: @config.endpoint,
309
301
  endpoint_template: DEFAULT_ENDPOINT_TEMPLATE,
310
302
  universe_domain: @config.universe_domain,
311
303
  credentials: credentials
312
304
  )
305
+
306
+ @location_client = Google::Cloud::Location::Locations::Rest::Client.new do |config|
307
+ config.credentials = credentials
308
+ config.quota_project = @quota_project_id
309
+ config.endpoint = @certificate_manager_stub.endpoint
310
+ config.universe_domain = @certificate_manager_stub.universe_domain
311
+ config.bindings_override = @config.bindings_override
312
+ end
313
313
  end
314
314
 
315
315
  ##
@@ -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_certificates REST call
57
66
  #
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module CertificateManager
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-certificate_manager-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