google-cloud-telco_automation-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: 675094db412607372b21bb4f89396dc5ec1f1b9427421cdb14342b14dfcfd84c
4
- data.tar.gz: e0a02126de615c93d2812041670f0b50968ac3a86b5c1b31e04c8e7e0e31afa4
3
+ metadata.gz: 86d4370198ddf386b846ff841e75c59ed441a3649800a6016a62a9c235b95563
4
+ data.tar.gz: 132ecb12db62b64d4003c8e70a9c58e443c1172e0029503b3c2742f03e61fca9
5
5
  SHA512:
6
- metadata.gz: 52ab144495ea1f5d770f4f6cc7e4417bd2c413ac46063efead62a67636eeecf3b1cfb893d98e6db236cf3d229239ba8db613079820b26c54de7c572d534fb876
7
- data.tar.gz: 60d2ecad68180aaae453d4d6dc7fb1d0c3809fe62f3d84fdafbf5a4fec178bf80a6613c46192ffc784362145c245942c185d71f83f542a4771973b1aa9c7cdb1
6
+ metadata.gz: 75fd84d9863e2ea2c3dc304c78875d77baa8b02049604e0b6883f01f0af298a108ba146a9c146cda3ba5954258d69c11bc8c5d4d602a8aa7d003bd45a64d85dd
7
+ data.tar.gz: a646f21e66361a3f7f19c067ccdcfce7e8c66c6f10b2ab77d06151ed40bae6a952f46a0979d0fbbcb8759a4304f9d3c831b74f63e2dbb0fc8f94bf6e0901f433
@@ -158,13 +158,6 @@ module Google
158
158
  config.universe_domain = @config.universe_domain
159
159
  end
160
160
 
161
- @location_client = Google::Cloud::Location::Locations::Client.new do |config|
162
- config.credentials = credentials
163
- config.quota_project = @quota_project_id
164
- config.endpoint = @config.endpoint
165
- config.universe_domain = @config.universe_domain
166
- end
167
-
168
161
  @telco_automation_stub = ::Gapic::ServiceStub.new(
169
162
  ::Google::Cloud::TelcoAutomation::V1::TelcoAutomation::Stub,
170
163
  credentials: credentials,
@@ -175,6 +168,13 @@ module Google
175
168
  interceptors: @config.interceptors,
176
169
  channel_pool_config: @config.channel_pool
177
170
  )
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 = @telco_automation_stub.endpoint
176
+ config.universe_domain = @telco_automation_stub.universe_domain
177
+ end
178
178
  end
179
179
 
180
180
  ##
@@ -155,20 +155,20 @@ module Google
155
155
  config.universe_domain = @config.universe_domain
156
156
  end
157
157
 
158
- @location_client = Google::Cloud::Location::Locations::Rest::Client.new do |config|
159
- config.credentials = credentials
160
- config.quota_project = @quota_project_id
161
- config.endpoint = @config.endpoint
162
- config.universe_domain = @config.universe_domain
163
- config.bindings_override = @config.bindings_override
164
- end
165
-
166
158
  @telco_automation_stub = ::Google::Cloud::TelcoAutomation::V1::TelcoAutomation::Rest::ServiceStub.new(
167
159
  endpoint: @config.endpoint,
168
160
  endpoint_template: DEFAULT_ENDPOINT_TEMPLATE,
169
161
  universe_domain: @config.universe_domain,
170
162
  credentials: credentials
171
163
  )
164
+
165
+ @location_client = Google::Cloud::Location::Locations::Rest::Client.new do |config|
166
+ config.credentials = credentials
167
+ config.quota_project = @quota_project_id
168
+ config.endpoint = @telco_automation_stub.endpoint
169
+ config.universe_domain = @telco_automation_stub.universe_domain
170
+ config.bindings_override = @config.bindings_override
171
+ end
172
172
  end
173
173
 
174
174
  ##
@@ -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 list_orchestration_clusters REST call
57
66
  #
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module TelcoAutomation
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-telco_automation-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