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 +4 -4
- data/lib/google/cloud/artifact_registry/v1/artifact_registry/client.rb +7 -7
- data/lib/google/cloud/artifact_registry/v1/artifact_registry/rest/client.rb +8 -8
- data/lib/google/cloud/artifact_registry/v1/artifact_registry/rest/service_stub.rb +9 -0
- data/lib/google/cloud/artifact_registry/v1/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5b6bb8cb31386bfb12621259a1f4cb6b566c1bcd81a450b6d5e686fb2fd137ca
|
4
|
+
data.tar.gz: 9e72257aba55ae1160b0f6771e1ab741d9716b282992c67b7d7d203536fa8a99
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
#
|
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.
|
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
|
+
date: 2024-01-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gapic-common
|