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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c837ed48ffb84fbdd0b214ce4118e86d040e38cac8e4649193b7ea04e0087702
4
- data.tar.gz: cf208879c5a31446da3d54e71c355f389c41474d67ac16123fbcf6f686fb3ed9
3
+ metadata.gz: 6a9b8d7db9e0d40882775734badf474d46daefc4c3d6a10d55c1ead848fda341
4
+ data.tar.gz: b936aa9a27d0d1c852ac46e9b310fda51b6541cbb032f05d2b55cb836436d8df
5
5
  SHA512:
6
- metadata.gz: 58be628761f7d57754c7d7c0af2d71c5fac4c53276b6f028167bcc87ab2da566f020299e72e17cc5a24009376209a45a84ee3c7adf71f82594373bed908f6b2e
7
- data.tar.gz: bb07838d69c47c0cd536fbe06b42a56594f39ae416c4ce91ba911ca8ec372077b7dc531dc0b115f00f171b2abd763c239531e35b7428aa8034218a2654a8ccbe
6
+ metadata.gz: a3b96e26fdc57c11e9c02f882d96aa62918ae67b4a25128e44a3a8d1bdf17d09cc1be0579727e10d24b610d65564886d1d0f46836a6f0615617657558964ac63
7
+ data.tar.gz: 33ed21485f516ef952780609c9e7c2e666846bfc41366db8ce5664506e3c66406c29afced41297423ae6144072fa31e4bc5c6fd141799987bb507bf9d60a65e4
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module VpcAccess
23
23
  module V1
24
- VERSION = "0.7.0"
24
+ VERSION = "0.7.1"
25
25
  end
26
26
  end
27
27
  end
@@ -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.0
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 00:00:00.000000000 Z
11
+ date: 2024-01-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gapic-common