google-cloud-vpc_access-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/vpc_access/v1/version.rb +1 -1
- data/lib/google/cloud/vpc_access/v1/vpc_access_service/client.rb +7 -7
- data/lib/google/cloud/vpc_access/v1/vpc_access_service/rest/client.rb +8 -8
- data/lib/google/cloud/vpc_access/v1/vpc_access_service/rest/service_stub.rb +9 -0
- 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: 6a9b8d7db9e0d40882775734badf474d46daefc4c3d6a10d55c1ead848fda341
|
4
|
+
data.tar.gz: b936aa9a27d0d1c852ac46e9b310fda51b6541cbb032f05d2b55cb836436d8df
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a3b96e26fdc57c11e9c02f882d96aa62918ae67b4a25128e44a3a8d1bdf17d09cc1be0579727e10d24b610d65564886d1d0f46836a6f0615617657558964ac63
|
7
|
+
data.tar.gz: 33ed21485f516ef952780609c9e7c2e666846bfc41366db8ce5664506e3c66406c29afced41297423ae6144072fa31e4bc5c6fd141799987bb507bf9d60a65e4
|
@@ -169,13 +169,6 @@ module Google
|
|
169
169
|
config.universe_domain = @config.universe_domain
|
170
170
|
end
|
171
171
|
|
172
|
-
@location_client = Google::Cloud::Location::Locations::Client.new do |config|
|
173
|
-
config.credentials = credentials
|
174
|
-
config.quota_project = @quota_project_id
|
175
|
-
config.endpoint = @config.endpoint
|
176
|
-
config.universe_domain = @config.universe_domain
|
177
|
-
end
|
178
|
-
|
179
172
|
@vpc_access_service_stub = ::Gapic::ServiceStub.new(
|
180
173
|
::Google::Cloud::VpcAccess::V1::VpcAccessService::Stub,
|
181
174
|
credentials: credentials,
|
@@ -186,6 +179,13 @@ module Google
|
|
186
179
|
interceptors: @config.interceptors,
|
187
180
|
channel_pool_config: @config.channel_pool
|
188
181
|
)
|
182
|
+
|
183
|
+
@location_client = Google::Cloud::Location::Locations::Client.new do |config|
|
184
|
+
config.credentials = credentials
|
185
|
+
config.quota_project = @quota_project_id
|
186
|
+
config.endpoint = @vpc_access_service_stub.endpoint
|
187
|
+
config.universe_domain = @vpc_access_service_stub.universe_domain
|
188
|
+
end
|
189
189
|
end
|
190
190
|
|
191
191
|
##
|
@@ -166,20 +166,20 @@ module Google
|
|
166
166
|
config.universe_domain = @config.universe_domain
|
167
167
|
end
|
168
168
|
|
169
|
-
@location_client = Google::Cloud::Location::Locations::Rest::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
|
-
config.bindings_override = @config.bindings_override
|
175
|
-
end
|
176
|
-
|
177
169
|
@vpc_access_service_stub = ::Google::Cloud::VpcAccess::V1::VpcAccessService::Rest::ServiceStub.new(
|
178
170
|
endpoint: @config.endpoint,
|
179
171
|
endpoint_template: DEFAULT_ENDPOINT_TEMPLATE,
|
180
172
|
universe_domain: @config.universe_domain,
|
181
173
|
credentials: credentials
|
182
174
|
)
|
175
|
+
|
176
|
+
@location_client = Google::Cloud::Location::Locations::Rest::Client.new do |config|
|
177
|
+
config.credentials = credentials
|
178
|
+
config.quota_project = @quota_project_id
|
179
|
+
config.endpoint = @vpc_access_service_stub.endpoint
|
180
|
+
config.universe_domain = @vpc_access_service_stub.universe_domain
|
181
|
+
config.bindings_override = @config.bindings_override
|
182
|
+
end
|
183
183
|
end
|
184
184
|
|
185
185
|
##
|
@@ -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_connector REST call
|
57
66
|
#
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-cloud-vpc_access-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
|