google-cloud-edge_network-v1 0.2.0 → 0.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/google/cloud/edge_network/v1/edge_network/client.rb +7 -7
- data/lib/google/cloud/edge_network/v1/edge_network/rest/client.rb +8 -8
- data/lib/google/cloud/edge_network/v1/edge_network/rest/service_stub.rb +9 -0
- data/lib/google/cloud/edge_network/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: dc13e8a358c1c4f8e30812b5d33713f32ad32635dbb6046f549ace4361b18d27
|
|
4
|
+
data.tar.gz: 2dea463e6a5c49affea50a52561fb984d4c47300b0e100638d3a2100d698dfdd
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
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
|
#
|
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.
|
|
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
|
+
date: 2024-01-12 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: gapic-common
|