google-cloud-netapp-v1 0.4.0 → 0.4.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: f2a6962e69cb0f0c6c5e03d920cd4ba9d358c210170ebca5f973bce64f1aa414
4
- data.tar.gz: 3ef9fc50c2e721be4ef1232e88df8575d4e2163c8be8f4307535c5ffb421a922
3
+ metadata.gz: e047f10f0f99fd607a20c2806dcae14e5152fd3723cd98cdbfad99b321572ae0
4
+ data.tar.gz: 86b385a5dc53460c8820992584a804d440cecaca021c6b66f9b759d1a1e20c4c
5
5
  SHA512:
6
- metadata.gz: 5b668595df94c5fc1da2ef5bf0a31233c86cb1460eb70b9f26ee0031a41e4871a1960e68b9820f26eca9e7e22f1fa7f4c72e7712fb788da259a36f6c0f9f070a
7
- data.tar.gz: 256dc4f03d6516f5294ed22e9fbea6513a8924dc41e54199e9edd90b7547b1095bbdeacb2c264359707b3fdc2f194d330b37ec06e2da4c84287ea1c7688e61b1
6
+ metadata.gz: 2437b63551305df85429f20cc447d81b2faee4492a0afb7701ca0f251426040d65d4a9442a4534088f2ceb853dc9dd0c58e80439bbe4ff2f92a24dbbb0c7cc82
7
+ data.tar.gz: dc8fdff3e1214991650349d0b57844d4803e6b2687585a24d777b2fb39cd8a71101972581508545f3228e341983eb97568e26077921dee748b77dca5224f7fb6
@@ -310,13 +310,6 @@ module Google
310
310
  config.universe_domain = @config.universe_domain
311
311
  end
312
312
 
313
- @location_client = Google::Cloud::Location::Locations::Client.new do |config|
314
- config.credentials = credentials
315
- config.quota_project = @quota_project_id
316
- config.endpoint = @config.endpoint
317
- config.universe_domain = @config.universe_domain
318
- end
319
-
320
313
  @net_app_stub = ::Gapic::ServiceStub.new(
321
314
  ::Google::Cloud::NetApp::V1::NetApp::Stub,
322
315
  credentials: credentials,
@@ -327,6 +320,13 @@ module Google
327
320
  interceptors: @config.interceptors,
328
321
  channel_pool_config: @config.channel_pool
329
322
  )
323
+
324
+ @location_client = Google::Cloud::Location::Locations::Client.new do |config|
325
+ config.credentials = credentials
326
+ config.quota_project = @quota_project_id
327
+ config.endpoint = @net_app_stub.endpoint
328
+ config.universe_domain = @net_app_stub.universe_domain
329
+ end
330
330
  end
331
331
 
332
332
  ##
@@ -307,20 +307,20 @@ module Google
307
307
  config.universe_domain = @config.universe_domain
308
308
  end
309
309
 
310
- @location_client = Google::Cloud::Location::Locations::Rest::Client.new do |config|
311
- config.credentials = credentials
312
- config.quota_project = @quota_project_id
313
- config.endpoint = @config.endpoint
314
- config.universe_domain = @config.universe_domain
315
- config.bindings_override = @config.bindings_override
316
- end
317
-
318
310
  @net_app_stub = ::Google::Cloud::NetApp::V1::NetApp::Rest::ServiceStub.new(
319
311
  endpoint: @config.endpoint,
320
312
  endpoint_template: DEFAULT_ENDPOINT_TEMPLATE,
321
313
  universe_domain: @config.universe_domain,
322
314
  credentials: credentials
323
315
  )
316
+
317
+ @location_client = Google::Cloud::Location::Locations::Rest::Client.new do |config|
318
+ config.credentials = credentials
319
+ config.quota_project = @quota_project_id
320
+ config.endpoint = @net_app_stub.endpoint
321
+ config.universe_domain = @net_app_stub.universe_domain
322
+ config.bindings_override = @config.bindings_override
323
+ end
324
324
  end
325
325
 
326
326
  ##
@@ -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_storage_pools REST call
57
66
  #
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module NetApp
23
23
  module V1
24
- VERSION = "0.4.0"
24
+ VERSION = "0.4.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-netapp-v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 0.4.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