google-cloud-bare_metal_solution-v2 0.7.0 → 0.7.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e04b4dc4e49898d5a61c7639f6903090ca9e0ef9ef576f8e356eeedb8b1fbb39
4
- data.tar.gz: 143e580881e91d868997d1d70279442ce7423022e5b76f5ec148b6838fa47cb5
3
+ metadata.gz: c4e731293a92013e31a6706f7fa93b36055c081a502068c65286b81e73a6428e
4
+ data.tar.gz: 5dda44dcdd4b2cb22f571af8962b0366a765fefe0f19a00706efa9df1987d6d9
5
5
  SHA512:
6
- metadata.gz: 05512b0dc149bcce52cba9588ffe76f17da6607cf95cff3f42ac447b6ae420ee99c7057a726fbb89b7cb64765356fcea56b34224ff60daf581d60d6f9d01c77b
7
- data.tar.gz: 44b334d7ca8b82333eac894418209e12d9c1dc7220d95c8c0c0d0ce96de65bc19d08d05cd927ecddb1f47b88179c7680868575b582d37e01a250d2177503858d
6
+ metadata.gz: 6e01696f488dc8c040642e7cdaeda6ff0a621b463f633a1c27236dcaca971259206debb01d82d7d1738a4b3124d3da879d20cfbbdff346d0b336013865e23b31
7
+ data.tar.gz: 956947f37ffa017e98e381fac98eaad383aa46bf6f35b4e02d3aaf2d1400c408c50ecc9b46ef00c5a70e35f648d22ff60b1cf7d5be7047ded2f17e0ff2d45b0c
@@ -164,20 +164,6 @@ module Google
164
164
  config.universe_domain = @config.universe_domain
165
165
  end
166
166
 
167
- @location_client = Google::Cloud::Location::Locations::Client.new do |config|
168
- config.credentials = credentials
169
- config.quota_project = @quota_project_id
170
- config.endpoint = @config.endpoint
171
- config.universe_domain = @config.universe_domain
172
- end
173
-
174
- @iam_policy_client = Google::Iam::V1::IAMPolicy::Client.new do |config|
175
- config.credentials = credentials
176
- config.quota_project = @quota_project_id
177
- config.endpoint = @config.endpoint
178
- config.universe_domain = @config.universe_domain
179
- end
180
-
181
167
  @bare_metal_solution_stub = ::Gapic::ServiceStub.new(
182
168
  ::Google::Cloud::BareMetalSolution::V2::BareMetalSolution::Stub,
183
169
  credentials: credentials,
@@ -188,6 +174,20 @@ module Google
188
174
  interceptors: @config.interceptors,
189
175
  channel_pool_config: @config.channel_pool
190
176
  )
177
+
178
+ @location_client = Google::Cloud::Location::Locations::Client.new do |config|
179
+ config.credentials = credentials
180
+ config.quota_project = @quota_project_id
181
+ config.endpoint = @bare_metal_solution_stub.endpoint
182
+ config.universe_domain = @bare_metal_solution_stub.universe_domain
183
+ end
184
+
185
+ @iam_policy_client = Google::Iam::V1::IAMPolicy::Client.new do |config|
186
+ config.credentials = credentials
187
+ config.quota_project = @quota_project_id
188
+ config.endpoint = @bare_metal_solution_stub.endpoint
189
+ config.universe_domain = @bare_metal_solution_stub.universe_domain
190
+ end
191
191
  end
192
192
 
193
193
  ##
@@ -161,27 +161,27 @@ module Google
161
161
  config.universe_domain = @config.universe_domain
162
162
  end
163
163
 
164
+ @bare_metal_solution_stub = ::Google::Cloud::BareMetalSolution::V2::BareMetalSolution::Rest::ServiceStub.new(
165
+ endpoint: @config.endpoint,
166
+ endpoint_template: DEFAULT_ENDPOINT_TEMPLATE,
167
+ universe_domain: @config.universe_domain,
168
+ credentials: credentials
169
+ )
170
+
164
171
  @location_client = Google::Cloud::Location::Locations::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 = @bare_metal_solution_stub.endpoint
175
+ config.universe_domain = @bare_metal_solution_stub.universe_domain
169
176
  config.bindings_override = @config.bindings_override
170
177
  end
171
178
 
172
179
  @iam_policy_client = Google::Iam::V1::IAMPolicy::Rest::Client.new do |config|
173
180
  config.credentials = credentials
174
181
  config.quota_project = @quota_project_id
175
- config.endpoint = @config.endpoint
176
- config.universe_domain = @config.universe_domain
182
+ config.endpoint = @bare_metal_solution_stub.endpoint
183
+ config.universe_domain = @bare_metal_solution_stub.universe_domain
177
184
  end
178
-
179
- @bare_metal_solution_stub = ::Google::Cloud::BareMetalSolution::V2::BareMetalSolution::Rest::ServiceStub.new(
180
- endpoint: @config.endpoint,
181
- endpoint_template: DEFAULT_ENDPOINT_TEMPLATE,
182
- universe_domain: @config.universe_domain,
183
- credentials: credentials
184
- )
185
185
  end
186
186
 
187
187
  ##
@@ -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_instances REST call
57
66
  #
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module BareMetalSolution
23
23
  module V2
24
- VERSION = "0.7.0"
24
+ VERSION = "0.7.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-bare_metal_solution-v2
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