google-cloud-service_directory-v1beta1 0.14.0 → 0.14.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/service_directory/v1beta1/lookup_service/client.rb +7 -7
- data/lib/google/cloud/service_directory/v1beta1/lookup_service/rest/client.rb +8 -8
- data/lib/google/cloud/service_directory/v1beta1/lookup_service/rest/service_stub.rb +9 -0
- data/lib/google/cloud/service_directory/v1beta1/registration_service/client.rb +7 -7
- data/lib/google/cloud/service_directory/v1beta1/registration_service/rest/client.rb +8 -8
- data/lib/google/cloud/service_directory/v1beta1/registration_service/rest/service_stub.rb +9 -0
- data/lib/google/cloud/service_directory/v1beta1/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: bee64196956902794697df18bd0b209e086aba523ac109e5229847e52d98ad2f
|
4
|
+
data.tar.gz: ec3a7ed5145833df70b189a88e0ac6e58ca374d558eee2f1207d8e085f019552
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 90d7c0a19f4ddedc2bcba7211753f5ff8c97bb446d9e640ee356e79054f4e85697888789d2aaf3360824c887c7f1c55b38c1e6fbfb37721be7d702ddd6175b93
|
7
|
+
data.tar.gz: ce7baff3e36e0c42af3acbc9fe0d6a050a215ee20b08e2654204630c99588f13c2fc163c7ff48589c53462a9a33e2daa69dae292ed10a0cc6e002e853a9a958b
|
@@ -152,13 +152,6 @@ module Google
|
|
152
152
|
@quota_project_id = @config.quota_project
|
153
153
|
@quota_project_id ||= credentials.quota_project_id if credentials.respond_to? :quota_project_id
|
154
154
|
|
155
|
-
@location_client = Google::Cloud::Location::Locations::Client.new do |config|
|
156
|
-
config.credentials = credentials
|
157
|
-
config.quota_project = @quota_project_id
|
158
|
-
config.endpoint = @config.endpoint
|
159
|
-
config.universe_domain = @config.universe_domain
|
160
|
-
end
|
161
|
-
|
162
155
|
@lookup_service_stub = ::Gapic::ServiceStub.new(
|
163
156
|
::Google::Cloud::ServiceDirectory::V1beta1::LookupService::Stub,
|
164
157
|
credentials: credentials,
|
@@ -169,6 +162,13 @@ module Google
|
|
169
162
|
interceptors: @config.interceptors,
|
170
163
|
channel_pool_config: @config.channel_pool
|
171
164
|
)
|
165
|
+
|
166
|
+
@location_client = Google::Cloud::Location::Locations::Client.new do |config|
|
167
|
+
config.credentials = credentials
|
168
|
+
config.quota_project = @quota_project_id
|
169
|
+
config.endpoint = @lookup_service_stub.endpoint
|
170
|
+
config.universe_domain = @lookup_service_stub.universe_domain
|
171
|
+
end
|
172
172
|
end
|
173
173
|
|
174
174
|
##
|
@@ -149,20 +149,20 @@ module Google
|
|
149
149
|
@quota_project_id = @config.quota_project
|
150
150
|
@quota_project_id ||= credentials.quota_project_id if credentials.respond_to? :quota_project_id
|
151
151
|
|
152
|
-
@location_client = Google::Cloud::Location::Locations::Rest::Client.new do |config|
|
153
|
-
config.credentials = credentials
|
154
|
-
config.quota_project = @quota_project_id
|
155
|
-
config.endpoint = @config.endpoint
|
156
|
-
config.universe_domain = @config.universe_domain
|
157
|
-
config.bindings_override = @config.bindings_override
|
158
|
-
end
|
159
|
-
|
160
152
|
@lookup_service_stub = ::Google::Cloud::ServiceDirectory::V1beta1::LookupService::Rest::ServiceStub.new(
|
161
153
|
endpoint: @config.endpoint,
|
162
154
|
endpoint_template: DEFAULT_ENDPOINT_TEMPLATE,
|
163
155
|
universe_domain: @config.universe_domain,
|
164
156
|
credentials: credentials
|
165
157
|
)
|
158
|
+
|
159
|
+
@location_client = Google::Cloud::Location::Locations::Rest::Client.new do |config|
|
160
|
+
config.credentials = credentials
|
161
|
+
config.quota_project = @quota_project_id
|
162
|
+
config.endpoint = @lookup_service_stub.endpoint
|
163
|
+
config.universe_domain = @lookup_service_stub.universe_domain
|
164
|
+
config.bindings_override = @config.bindings_override
|
165
|
+
end
|
166
166
|
end
|
167
167
|
|
168
168
|
##
|
@@ -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 resolve_service REST call
|
57
66
|
#
|
@@ -166,13 +166,6 @@ module Google
|
|
166
166
|
@quota_project_id = @config.quota_project
|
167
167
|
@quota_project_id ||= credentials.quota_project_id if credentials.respond_to? :quota_project_id
|
168
168
|
|
169
|
-
@location_client = Google::Cloud::Location::Locations::Client.new do |config|
|
170
|
-
config.credentials = credentials
|
171
|
-
config.quota_project = @quota_project_id
|
172
|
-
config.endpoint = @config.endpoint
|
173
|
-
config.universe_domain = @config.universe_domain
|
174
|
-
end
|
175
|
-
|
176
169
|
@registration_service_stub = ::Gapic::ServiceStub.new(
|
177
170
|
::Google::Cloud::ServiceDirectory::V1beta1::RegistrationService::Stub,
|
178
171
|
credentials: credentials,
|
@@ -183,6 +176,13 @@ module Google
|
|
183
176
|
interceptors: @config.interceptors,
|
184
177
|
channel_pool_config: @config.channel_pool
|
185
178
|
)
|
179
|
+
|
180
|
+
@location_client = Google::Cloud::Location::Locations::Client.new do |config|
|
181
|
+
config.credentials = credentials
|
182
|
+
config.quota_project = @quota_project_id
|
183
|
+
config.endpoint = @registration_service_stub.endpoint
|
184
|
+
config.universe_domain = @registration_service_stub.universe_domain
|
185
|
+
end
|
186
186
|
end
|
187
187
|
|
188
188
|
##
|
@@ -163,20 +163,20 @@ module Google
|
|
163
163
|
@quota_project_id = @config.quota_project
|
164
164
|
@quota_project_id ||= credentials.quota_project_id if credentials.respond_to? :quota_project_id
|
165
165
|
|
166
|
-
@location_client = Google::Cloud::Location::Locations::Rest::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
|
-
config.bindings_override = @config.bindings_override
|
172
|
-
end
|
173
|
-
|
174
166
|
@registration_service_stub = ::Google::Cloud::ServiceDirectory::V1beta1::RegistrationService::Rest::ServiceStub.new(
|
175
167
|
endpoint: @config.endpoint,
|
176
168
|
endpoint_template: DEFAULT_ENDPOINT_TEMPLATE,
|
177
169
|
universe_domain: @config.universe_domain,
|
178
170
|
credentials: credentials
|
179
171
|
)
|
172
|
+
|
173
|
+
@location_client = Google::Cloud::Location::Locations::Rest::Client.new do |config|
|
174
|
+
config.credentials = credentials
|
175
|
+
config.quota_project = @quota_project_id
|
176
|
+
config.endpoint = @registration_service_stub.endpoint
|
177
|
+
config.universe_domain = @registration_service_stub.universe_domain
|
178
|
+
config.bindings_override = @config.bindings_override
|
179
|
+
end
|
180
180
|
end
|
181
181
|
|
182
182
|
##
|
@@ -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_namespace REST call
|
57
66
|
#
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-cloud-service_directory-v1beta1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.14.
|
4
|
+
version: 0.14.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
|