google-cloud-apigee_registry-v1 0.7.0 → 0.7.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/apigee_registry/v1/provisioning/client.rb +14 -14
- data/lib/google/cloud/apigee_registry/v1/provisioning/rest/client.rb +11 -11
- data/lib/google/cloud/apigee_registry/v1/provisioning/rest/service_stub.rb +9 -0
- data/lib/google/cloud/apigee_registry/v1/registry/client.rb +14 -14
- data/lib/google/cloud/apigee_registry/v1/registry/rest/client.rb +11 -11
- data/lib/google/cloud/apigee_registry/v1/registry/rest/service_stub.rb +9 -0
- data/lib/google/cloud/apigee_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: 245e9599593b75cbce60b9ad21e919ad4cadf7cf600148cd562fbe2ca9658531
|
4
|
+
data.tar.gz: 42997d245a8438da5ffb9da4b4d47d4dbcdf44c1953b290bca44790828288c18
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d54a55cee7dfbb04f0f7fa9b4f63db10a4ff4c2e41336e3f1dffedf236883236070e75d1666bdf57760a55a0bafd8b0b9aa68f8cd896493e997a6e395dade9e3
|
7
|
+
data.tar.gz: 896039e301c11b1e8c573d52a1efbed55f98259e0903c4871d9d8b2ca8afc5edb431dab1af23e3395d7075db2ef6c256220d850497435ca8a6043d2d3e16b8a8
|
@@ -156,20 +156,6 @@ module Google
|
|
156
156
|
config.universe_domain = @config.universe_domain
|
157
157
|
end
|
158
158
|
|
159
|
-
@location_client = Google::Cloud::Location::Locations::Client.new do |config|
|
160
|
-
config.credentials = credentials
|
161
|
-
config.quota_project = @quota_project_id
|
162
|
-
config.endpoint = @config.endpoint
|
163
|
-
config.universe_domain = @config.universe_domain
|
164
|
-
end
|
165
|
-
|
166
|
-
@iam_policy_client = Google::Iam::V1::IAMPolicy::Client.new do |config|
|
167
|
-
config.credentials = credentials
|
168
|
-
config.quota_project = @quota_project_id
|
169
|
-
config.endpoint = @config.endpoint
|
170
|
-
config.universe_domain = @config.universe_domain
|
171
|
-
end
|
172
|
-
|
173
159
|
@provisioning_stub = ::Gapic::ServiceStub.new(
|
174
160
|
::Google::Cloud::ApigeeRegistry::V1::Provisioning::Stub,
|
175
161
|
credentials: credentials,
|
@@ -180,6 +166,20 @@ module Google
|
|
180
166
|
interceptors: @config.interceptors,
|
181
167
|
channel_pool_config: @config.channel_pool
|
182
168
|
)
|
169
|
+
|
170
|
+
@location_client = Google::Cloud::Location::Locations::Client.new do |config|
|
171
|
+
config.credentials = credentials
|
172
|
+
config.quota_project = @quota_project_id
|
173
|
+
config.endpoint = @provisioning_stub.endpoint
|
174
|
+
config.universe_domain = @provisioning_stub.universe_domain
|
175
|
+
end
|
176
|
+
|
177
|
+
@iam_policy_client = Google::Iam::V1::IAMPolicy::Client.new do |config|
|
178
|
+
config.credentials = credentials
|
179
|
+
config.quota_project = @quota_project_id
|
180
|
+
config.endpoint = @provisioning_stub.endpoint
|
181
|
+
config.universe_domain = @provisioning_stub.universe_domain
|
182
|
+
end
|
183
183
|
end
|
184
184
|
|
185
185
|
##
|
@@ -153,28 +153,28 @@ module Google
|
|
153
153
|
config.universe_domain = @config.universe_domain
|
154
154
|
end
|
155
155
|
|
156
|
+
@provisioning_stub = ::Google::Cloud::ApigeeRegistry::V1::Provisioning::Rest::ServiceStub.new(
|
157
|
+
endpoint: @config.endpoint,
|
158
|
+
endpoint_template: DEFAULT_ENDPOINT_TEMPLATE,
|
159
|
+
universe_domain: @config.universe_domain,
|
160
|
+
credentials: credentials
|
161
|
+
)
|
162
|
+
|
156
163
|
@location_client = Google::Cloud::Location::Locations::Rest::Client.new do |config|
|
157
164
|
config.credentials = credentials
|
158
165
|
config.quota_project = @quota_project_id
|
159
|
-
config.endpoint = @
|
160
|
-
config.universe_domain = @
|
166
|
+
config.endpoint = @provisioning_stub.endpoint
|
167
|
+
config.universe_domain = @provisioning_stub.universe_domain
|
161
168
|
config.bindings_override = @config.bindings_override
|
162
169
|
end
|
163
170
|
|
164
171
|
@iam_policy_client = Google::Iam::V1::IAMPolicy::Rest::Client.new do |config|
|
165
172
|
config.credentials = credentials
|
166
173
|
config.quota_project = @quota_project_id
|
167
|
-
config.endpoint = @
|
168
|
-
config.universe_domain = @
|
174
|
+
config.endpoint = @provisioning_stub.endpoint
|
175
|
+
config.universe_domain = @provisioning_stub.universe_domain
|
169
176
|
config.bindings_override = @config.bindings_override
|
170
177
|
end
|
171
|
-
|
172
|
-
@provisioning_stub = ::Google::Cloud::ApigeeRegistry::V1::Provisioning::Rest::ServiceStub.new(
|
173
|
-
endpoint: @config.endpoint,
|
174
|
-
endpoint_template: DEFAULT_ENDPOINT_TEMPLATE,
|
175
|
-
universe_domain: @config.universe_domain,
|
176
|
-
credentials: credentials
|
177
|
-
)
|
178
178
|
end
|
179
179
|
|
180
180
|
##
|
@@ -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 create_instance REST call
|
57
66
|
#
|
@@ -317,20 +317,6 @@ module Google
|
|
317
317
|
@quota_project_id = @config.quota_project
|
318
318
|
@quota_project_id ||= credentials.quota_project_id if credentials.respond_to? :quota_project_id
|
319
319
|
|
320
|
-
@location_client = Google::Cloud::Location::Locations::Client.new do |config|
|
321
|
-
config.credentials = credentials
|
322
|
-
config.quota_project = @quota_project_id
|
323
|
-
config.endpoint = @config.endpoint
|
324
|
-
config.universe_domain = @config.universe_domain
|
325
|
-
end
|
326
|
-
|
327
|
-
@iam_policy_client = Google::Iam::V1::IAMPolicy::Client.new do |config|
|
328
|
-
config.credentials = credentials
|
329
|
-
config.quota_project = @quota_project_id
|
330
|
-
config.endpoint = @config.endpoint
|
331
|
-
config.universe_domain = @config.universe_domain
|
332
|
-
end
|
333
|
-
|
334
320
|
@registry_stub = ::Gapic::ServiceStub.new(
|
335
321
|
::Google::Cloud::ApigeeRegistry::V1::Registry::Stub,
|
336
322
|
credentials: credentials,
|
@@ -341,6 +327,20 @@ module Google
|
|
341
327
|
interceptors: @config.interceptors,
|
342
328
|
channel_pool_config: @config.channel_pool
|
343
329
|
)
|
330
|
+
|
331
|
+
@location_client = Google::Cloud::Location::Locations::Client.new do |config|
|
332
|
+
config.credentials = credentials
|
333
|
+
config.quota_project = @quota_project_id
|
334
|
+
config.endpoint = @registry_stub.endpoint
|
335
|
+
config.universe_domain = @registry_stub.universe_domain
|
336
|
+
end
|
337
|
+
|
338
|
+
@iam_policy_client = Google::Iam::V1::IAMPolicy::Client.new do |config|
|
339
|
+
config.credentials = credentials
|
340
|
+
config.quota_project = @quota_project_id
|
341
|
+
config.endpoint = @registry_stub.endpoint
|
342
|
+
config.universe_domain = @registry_stub.universe_domain
|
343
|
+
end
|
344
344
|
end
|
345
345
|
|
346
346
|
##
|
@@ -314,28 +314,28 @@ module Google
|
|
314
314
|
@quota_project_id = @config.quota_project
|
315
315
|
@quota_project_id ||= credentials.quota_project_id if credentials.respond_to? :quota_project_id
|
316
316
|
|
317
|
+
@registry_stub = ::Google::Cloud::ApigeeRegistry::V1::Registry::Rest::ServiceStub.new(
|
318
|
+
endpoint: @config.endpoint,
|
319
|
+
endpoint_template: DEFAULT_ENDPOINT_TEMPLATE,
|
320
|
+
universe_domain: @config.universe_domain,
|
321
|
+
credentials: credentials
|
322
|
+
)
|
323
|
+
|
317
324
|
@location_client = Google::Cloud::Location::Locations::Rest::Client.new do |config|
|
318
325
|
config.credentials = credentials
|
319
326
|
config.quota_project = @quota_project_id
|
320
|
-
config.endpoint = @
|
321
|
-
config.universe_domain = @
|
327
|
+
config.endpoint = @registry_stub.endpoint
|
328
|
+
config.universe_domain = @registry_stub.universe_domain
|
322
329
|
config.bindings_override = @config.bindings_override
|
323
330
|
end
|
324
331
|
|
325
332
|
@iam_policy_client = Google::Iam::V1::IAMPolicy::Rest::Client.new do |config|
|
326
333
|
config.credentials = credentials
|
327
334
|
config.quota_project = @quota_project_id
|
328
|
-
config.endpoint = @
|
329
|
-
config.universe_domain = @
|
335
|
+
config.endpoint = @registry_stub.endpoint
|
336
|
+
config.universe_domain = @registry_stub.universe_domain
|
330
337
|
config.bindings_override = @config.bindings_override
|
331
338
|
end
|
332
|
-
|
333
|
-
@registry_stub = ::Google::Cloud::ApigeeRegistry::V1::Registry::Rest::ServiceStub.new(
|
334
|
-
endpoint: @config.endpoint,
|
335
|
-
endpoint_template: DEFAULT_ENDPOINT_TEMPLATE,
|
336
|
-
universe_domain: @config.universe_domain,
|
337
|
-
credentials: credentials
|
338
|
-
)
|
339
339
|
end
|
340
340
|
|
341
341
|
##
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-cloud-apigee_registry-v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.7.
|
4
|
+
version: 0.7.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
|