google-cloud-config_service-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: 8dd9e6b99b6a18fcc0be3c5c614e1a4508d625eea1efa4b0a618ac913fe408f7
4
- data.tar.gz: a49847003ad1554b70e9c84b2501145dac0d274297dc301951e36c3fa53fa5d5
3
+ metadata.gz: 88e4a196701e942d8dad023235c278b6ce2ef0011c0ca1c706a1a43cb1e466f6
4
+ data.tar.gz: e3aa62efa94c9e61071b249f6306d8fc7a474343402a19653b1a453f9dbda34b
5
5
  SHA512:
6
- metadata.gz: 5d0b643d77fca15d2423d795ca97592a98731d538c105565571b3c2a64f5826ddfc6eb3d3b8fed19ec972430245a69ad8cceb409a57ac33072a3d997458073bb
7
- data.tar.gz: a717de916b101b3b5d0d4050370ca052b091ffc3486169f812312016898a3bcf9b2323630fe0013913a64020077b68eb88cbaf849975dc6761d2847581209ae2
6
+ metadata.gz: f94f8056b036002d7e611ed45c964c9fc6fbce1bafd29dedca7e82a131597a9c09bf794cac7cb30ebff6b920833b07ad9b6751b0ed762eb02e875402c19b6c73
7
+ data.tar.gz: d5db18905614e1721a7479cb67720e9e443188663ed6207cdb6e216c11e85afbb873f612cc8db9d2d282604fb4b03414fd70cf641646d87593a3461ee138762a
@@ -156,20 +156,6 @@ module Google
156
156
  config.universe_domain = @config.universe_domain
157
157
  end
158
158
 
159
- @location_client = Google::Cloud::Location::Locations::Client.new do |config|
160
- config.credentials = credentials
161
- config.quota_project = @quota_project_id
162
- config.endpoint = @config.endpoint
163
- config.universe_domain = @config.universe_domain
164
- end
165
-
166
- @iam_policy_client = Google::Iam::V1::IAMPolicy::Client.new do |config|
167
- config.credentials = credentials
168
- config.quota_project = @quota_project_id
169
- config.endpoint = @config.endpoint
170
- config.universe_domain = @config.universe_domain
171
- end
172
-
173
159
  @config_stub = ::Gapic::ServiceStub.new(
174
160
  ::Google::Cloud::ConfigService::V1::Config::Stub,
175
161
  credentials: credentials,
@@ -180,6 +166,20 @@ module Google
180
166
  interceptors: @config.interceptors,
181
167
  channel_pool_config: @config.channel_pool
182
168
  )
169
+
170
+ @location_client = Google::Cloud::Location::Locations::Client.new do |config|
171
+ config.credentials = credentials
172
+ config.quota_project = @quota_project_id
173
+ config.endpoint = @config_stub.endpoint
174
+ config.universe_domain = @config_stub.universe_domain
175
+ end
176
+
177
+ @iam_policy_client = Google::Iam::V1::IAMPolicy::Client.new do |config|
178
+ config.credentials = credentials
179
+ config.quota_project = @quota_project_id
180
+ config.endpoint = @config_stub.endpoint
181
+ config.universe_domain = @config_stub.universe_domain
182
+ end
183
183
  end
184
184
 
185
185
  ##
@@ -153,28 +153,28 @@ module Google
153
153
  config.universe_domain = @config.universe_domain
154
154
  end
155
155
 
156
+ @config_stub = ::Google::Cloud::ConfigService::V1::Config::Rest::ServiceStub.new(
157
+ endpoint: @config.endpoint,
158
+ endpoint_template: DEFAULT_ENDPOINT_TEMPLATE,
159
+ universe_domain: @config.universe_domain,
160
+ credentials: credentials
161
+ )
162
+
156
163
  @location_client = Google::Cloud::Location::Locations::Rest::Client.new do |config|
157
164
  config.credentials = credentials
158
165
  config.quota_project = @quota_project_id
159
- config.endpoint = @config.endpoint
160
- config.universe_domain = @config.universe_domain
166
+ config.endpoint = @config_stub.endpoint
167
+ config.universe_domain = @config_stub.universe_domain
161
168
  config.bindings_override = @config.bindings_override
162
169
  end
163
170
 
164
171
  @iam_policy_client = Google::Iam::V1::IAMPolicy::Rest::Client.new do |config|
165
172
  config.credentials = credentials
166
173
  config.quota_project = @quota_project_id
167
- config.endpoint = @config.endpoint
168
- config.universe_domain = @config.universe_domain
174
+ config.endpoint = @config_stub.endpoint
175
+ config.universe_domain = @config_stub.universe_domain
169
176
  config.bindings_override = @config.bindings_override
170
177
  end
171
-
172
- @config_stub = ::Google::Cloud::ConfigService::V1::Config::Rest::ServiceStub.new(
173
- endpoint: @config.endpoint,
174
- endpoint_template: DEFAULT_ENDPOINT_TEMPLATE,
175
- universe_domain: @config.universe_domain,
176
- credentials: credentials
177
- )
178
178
  end
179
179
 
180
180
  ##
@@ -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_deployments REST call
57
66
  #
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module ConfigService
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-config_service-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