google-cloud-artifact_registry-v1beta2 0.11.0 → 0.11.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: d0023df4bb9fb8b4712a8cba7635091e8d10c63b9481e5c86cc9c3fa04e5f144
4
- data.tar.gz: 0ae155c142a9d66e617fe322852ad7ef9c2523ae937d52c5cd5c887d11c0ae24
3
+ metadata.gz: 213d6d6ebc761ef6f4b71a115574c2b63a4834866248dfb32fceec7dccb95d9d
4
+ data.tar.gz: 13257401cc9ed3a074515477ca9e04c279ad726df7d30f3a7e22c2f633babb5b
5
5
  SHA512:
6
- metadata.gz: 9a8a646cc66dfa43594bb50c4cc86a1a3fda5896959c4a863b8376801f1ae542d0fc63c992e0db8ffd1ae52e6974c9601a8f5c2399eb9f398c93f00563e09b00
7
- data.tar.gz: 7ccc8e8869d942e2b254a1db0920946ced7a739decb4189cc3e96fdbe0887dae9144eae42a12e4dadf6187b40b698e7c35afeb5952c1a5a48786f5adda421b73
6
+ metadata.gz: 7bf0954ffccd07f689d4f1b760288ad4a1a2e1886b3592a8e9e58819f5f9995f37a1b4e1c3647317d9399bb89ca18283d0013237c054441dc88e93e3c02d3e25
7
+ data.tar.gz: 0443ce693ea863595fd66b6386c1fd473647dd8aebf6c34ef85f40cc91c6e632afe1f7a51e5c62d3d36809b14d55eb22c8ea76bde0db80a509f99a968e0b219c
@@ -251,13 +251,6 @@ module Google
251
251
  config.universe_domain = @config.universe_domain
252
252
  end
253
253
 
254
- @location_client = Google::Cloud::Location::Locations::Client.new do |config|
255
- config.credentials = credentials
256
- config.quota_project = @quota_project_id
257
- config.endpoint = @config.endpoint
258
- config.universe_domain = @config.universe_domain
259
- end
260
-
261
254
  @artifact_registry_stub = ::Gapic::ServiceStub.new(
262
255
  ::Google::Cloud::ArtifactRegistry::V1beta2::ArtifactRegistry::Stub,
263
256
  credentials: credentials,
@@ -268,6 +261,13 @@ module Google
268
261
  interceptors: @config.interceptors,
269
262
  channel_pool_config: @config.channel_pool
270
263
  )
264
+
265
+ @location_client = Google::Cloud::Location::Locations::Client.new do |config|
266
+ config.credentials = credentials
267
+ config.quota_project = @quota_project_id
268
+ config.endpoint = @artifact_registry_stub.endpoint
269
+ config.universe_domain = @artifact_registry_stub.universe_domain
270
+ end
271
271
  end
272
272
 
273
273
  ##
@@ -248,20 +248,20 @@ module Google
248
248
  config.universe_domain = @config.universe_domain
249
249
  end
250
250
 
251
- @location_client = Google::Cloud::Location::Locations::Rest::Client.new do |config|
252
- config.credentials = credentials
253
- config.quota_project = @quota_project_id
254
- config.endpoint = @config.endpoint
255
- config.universe_domain = @config.universe_domain
256
- config.bindings_override = @config.bindings_override
257
- end
258
-
259
251
  @artifact_registry_stub = ::Google::Cloud::ArtifactRegistry::V1beta2::ArtifactRegistry::Rest::ServiceStub.new(
260
252
  endpoint: @config.endpoint,
261
253
  endpoint_template: DEFAULT_ENDPOINT_TEMPLATE,
262
254
  universe_domain: @config.universe_domain,
263
255
  credentials: credentials
264
256
  )
257
+
258
+ @location_client = Google::Cloud::Location::Locations::Rest::Client.new do |config|
259
+ config.credentials = credentials
260
+ config.quota_project = @quota_project_id
261
+ config.endpoint = @artifact_registry_stub.endpoint
262
+ config.universe_domain = @artifact_registry_stub.universe_domain
263
+ config.bindings_override = @config.bindings_override
264
+ end
265
265
  end
266
266
 
267
267
  ##
@@ -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 import_apt_artifacts REST call
57
66
  #
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module ArtifactRegistry
23
23
  module V1beta2
24
- VERSION = "0.11.0"
24
+ VERSION = "0.11.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-artifact_registry-v1beta2
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.11.0
4
+ version: 0.11.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