google-cloud-artifact_registry-v1 0.12.0 → 0.12.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: 628f143cb4408a852d7b7e00fc21f735fb2fb5c4816b461d1eca0b369ffe778c
4
- data.tar.gz: 82d8812e9e3e2470212d25342ee05e2f62b7267bd80d30ef07d7cf3d20c8d5aa
3
+ metadata.gz: 5b6bb8cb31386bfb12621259a1f4cb6b566c1bcd81a450b6d5e686fb2fd137ca
4
+ data.tar.gz: 9e72257aba55ae1160b0f6771e1ab741d9716b282992c67b7d7d203536fa8a99
5
5
  SHA512:
6
- metadata.gz: 9f95346fd52f3743206c70bfee12f45481ea2ef4c4e3b0048a0086a4ce72cb4c62205af3dc4b71ca16dc0c40befd8ed7b7aad4cd50a2ed02f923e1461239a89f
7
- data.tar.gz: 2eb59269a300ebe266e1eaa9696a3e3318095685b72a6c17e60394936e01269f2443e4505ef268b1db8ca1418cbe57b2d51838b8d25cd49aeebe0039f93b9c5d
6
+ metadata.gz: 51ad1c21f43a367cb2d065ca2dd4956f36348752f7b13e732fbac27f5b229b68b1a346aa6655421dd81e66fa9eac6ae15960062c2cd611731031b5f3661835d3
7
+ data.tar.gz: 7ad941ef29475b86f6d8b01995b8a7c87693f52c1075dc52e5577798c411850d91bacb863e535c17e73dcb3eff5c641ae5fddd0607ba1ea076b7daabeead125f
@@ -168,13 +168,6 @@ module Google
168
168
  config.universe_domain = @config.universe_domain
169
169
  end
170
170
 
171
- @location_client = Google::Cloud::Location::Locations::Client.new do |config|
172
- config.credentials = credentials
173
- config.quota_project = @quota_project_id
174
- config.endpoint = @config.endpoint
175
- config.universe_domain = @config.universe_domain
176
- end
177
-
178
171
  @artifact_registry_stub = ::Gapic::ServiceStub.new(
179
172
  ::Google::Cloud::ArtifactRegistry::V1::ArtifactRegistry::Stub,
180
173
  credentials: credentials,
@@ -185,6 +178,13 @@ module Google
185
178
  interceptors: @config.interceptors,
186
179
  channel_pool_config: @config.channel_pool
187
180
  )
181
+
182
+ @location_client = Google::Cloud::Location::Locations::Client.new do |config|
183
+ config.credentials = credentials
184
+ config.quota_project = @quota_project_id
185
+ config.endpoint = @artifact_registry_stub.endpoint
186
+ config.universe_domain = @artifact_registry_stub.universe_domain
187
+ end
188
188
  end
189
189
 
190
190
  ##
@@ -165,20 +165,20 @@ module Google
165
165
  config.universe_domain = @config.universe_domain
166
166
  end
167
167
 
168
- @location_client = Google::Cloud::Location::Locations::Rest::Client.new do |config|
169
- config.credentials = credentials
170
- config.quota_project = @quota_project_id
171
- config.endpoint = @config.endpoint
172
- config.universe_domain = @config.universe_domain
173
- config.bindings_override = @config.bindings_override
174
- end
175
-
176
168
  @artifact_registry_stub = ::Google::Cloud::ArtifactRegistry::V1::ArtifactRegistry::Rest::ServiceStub.new(
177
169
  endpoint: @config.endpoint,
178
170
  endpoint_template: DEFAULT_ENDPOINT_TEMPLATE,
179
171
  universe_domain: @config.universe_domain,
180
172
  credentials: credentials
181
173
  )
174
+
175
+ @location_client = Google::Cloud::Location::Locations::Rest::Client.new do |config|
176
+ config.credentials = credentials
177
+ config.quota_project = @quota_project_id
178
+ config.endpoint = @artifact_registry_stub.endpoint
179
+ config.universe_domain = @artifact_registry_stub.universe_domain
180
+ config.bindings_override = @config.bindings_override
181
+ end
182
182
  end
183
183
 
184
184
  ##
@@ -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_docker_images REST call
57
66
  #
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module ArtifactRegistry
23
23
  module V1
24
- VERSION = "0.12.0"
24
+ VERSION = "0.12.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-v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.12.0
4
+ version: 0.12.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