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 +4 -4
- data/lib/google/cloud/artifact_registry/v1beta2/artifact_registry/client.rb +7 -7
- data/lib/google/cloud/artifact_registry/v1beta2/artifact_registry/rest/client.rb +8 -8
- data/lib/google/cloud/artifact_registry/v1beta2/artifact_registry/rest/service_stub.rb +9 -0
- data/lib/google/cloud/artifact_registry/v1beta2/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: 213d6d6ebc761ef6f4b71a115574c2b63a4834866248dfb32fceec7dccb95d9d
|
4
|
+
data.tar.gz: 13257401cc9ed3a074515477ca9e04c279ad726df7d30f3a7e22c2f633babb5b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
#
|
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.
|
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
|
+
date: 2024-01-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gapic-common
|