google-cloud-edge_network-v1 0.2.0 → 0.2.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: 49d06ee44da53b3aea26a088b36eaa01deaf15efbd9085d8bc3f209753ea2725
4
- data.tar.gz: fb04b06c109659a89769df014b8e74c0e7026d32fd39b363dd8491955e3c2e11
3
+ metadata.gz: dc13e8a358c1c4f8e30812b5d33713f32ad32635dbb6046f549ace4361b18d27
4
+ data.tar.gz: 2dea463e6a5c49affea50a52561fb984d4c47300b0e100638d3a2100d698dfdd
5
5
  SHA512:
6
- metadata.gz: 5a6d13051cb8bdd1677cce953d1dd566979eb4387adbff0f1dc3e19c781558d821ed2278bd3c85614904f8ded3081b806abcb0a70898d3a486482ad7735e6b7c
7
- data.tar.gz: 5b0386dae28c2a797090f77267bb38d3fb729d1873fa91bf4a500816ee7825dcc717d026750132699a5899d0a7574552e3d632e92436ce408a3aa52594ac9236
6
+ metadata.gz: e37d8939f5e31fe3da24b628cb68de1a4acc2b298ad201ccef8ee595aaac912c971ae10839be16502ad1e79a71af8d1641762d8beb4539e8ca94696a517e4d64
7
+ data.tar.gz: 83b7088f1cf809d657cc06eecc68f3e81b4635e8417d04a11d852cd5b00c4407c62c9386a889cb21526108d6be64c07bfab1c76a9875f471319668be75dae182
@@ -242,13 +242,6 @@ module Google
242
242
  config.universe_domain = @config.universe_domain
243
243
  end
244
244
 
245
- @location_client = Google::Cloud::Location::Locations::Client.new do |config|
246
- config.credentials = credentials
247
- config.quota_project = @quota_project_id
248
- config.endpoint = @config.endpoint
249
- config.universe_domain = @config.universe_domain
250
- end
251
-
252
245
  @edge_network_stub = ::Gapic::ServiceStub.new(
253
246
  ::Google::Cloud::EdgeNetwork::V1::EdgeNetwork::Stub,
254
247
  credentials: credentials,
@@ -259,6 +252,13 @@ module Google
259
252
  interceptors: @config.interceptors,
260
253
  channel_pool_config: @config.channel_pool
261
254
  )
255
+
256
+ @location_client = Google::Cloud::Location::Locations::Client.new do |config|
257
+ config.credentials = credentials
258
+ config.quota_project = @quota_project_id
259
+ config.endpoint = @edge_network_stub.endpoint
260
+ config.universe_domain = @edge_network_stub.universe_domain
261
+ end
262
262
  end
263
263
 
264
264
  ##
@@ -239,20 +239,20 @@ module Google
239
239
  config.universe_domain = @config.universe_domain
240
240
  end
241
241
 
242
- @location_client = Google::Cloud::Location::Locations::Rest::Client.new do |config|
243
- config.credentials = credentials
244
- config.quota_project = @quota_project_id
245
- config.endpoint = @config.endpoint
246
- config.universe_domain = @config.universe_domain
247
- config.bindings_override = @config.bindings_override
248
- end
249
-
250
242
  @edge_network_stub = ::Google::Cloud::EdgeNetwork::V1::EdgeNetwork::Rest::ServiceStub.new(
251
243
  endpoint: @config.endpoint,
252
244
  endpoint_template: DEFAULT_ENDPOINT_TEMPLATE,
253
245
  universe_domain: @config.universe_domain,
254
246
  credentials: credentials
255
247
  )
248
+
249
+ @location_client = Google::Cloud::Location::Locations::Rest::Client.new do |config|
250
+ config.credentials = credentials
251
+ config.quota_project = @quota_project_id
252
+ config.endpoint = @edge_network_stub.endpoint
253
+ config.universe_domain = @edge_network_stub.universe_domain
254
+ config.bindings_override = @config.bindings_override
255
+ end
256
256
  end
257
257
 
258
258
  ##
@@ -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 initialize_zone REST call
57
66
  #
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module EdgeNetwork
23
23
  module V1
24
- VERSION = "0.2.0"
24
+ VERSION = "0.2.1"
25
25
  end
26
26
  end
27
27
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-edge_network-v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.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