google-cloud-confidential_computing-v1 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: e5dd175fb123143ffc07dc4eea9e6ac564d4986044c02408308b9c770c29429d
4
- data.tar.gz: d4c87fa9f99092a02ee43908c788cf548f68c82120ad3718556f870beff02a91
3
+ metadata.gz: f9409f131e436b2f45483ba010a9c946a489142ec55b42073b03e3a472bb80e8
4
+ data.tar.gz: 158a6f874043248b5c1395ae485494af68607a6d115b9a448f394eb84be5ec2c
5
5
  SHA512:
6
- metadata.gz: 91461f345056468b7d1337459e90b8c99fdc9e2e39fa98c2d873107b7d96048199b4c7484803834bb0cc6fd7d9b528ff4ee1cc932a3477c8bff4e7446582d09e
7
- data.tar.gz: ffabb48ab288c0e3a8ceaf23d194154c547d251fbcd6e23f069e988995bd3f98ba9935ac3da947ac19ee3ed372a03c7cff450a855ae1a793a8662a64559dde40
6
+ metadata.gz: a97d459de27671843827743f26f359c5b9208fb9e2df12737c7afa47a808476ebace7fb243b7bab6377ede2a7bbc7ab5431666403926006202c7db12bb624282
7
+ data.tar.gz: 6815c9f41ab7a6b5db6484ae625d70b14da05270715cb2f5066603ce562e70614e3c79e60bdb336c3c2c3f09c6d69840d8cb30bd639ac169fa570efd30fbf490
@@ -159,13 +159,6 @@ module Google
159
159
  @quota_project_id = @config.quota_project
160
160
  @quota_project_id ||= credentials.quota_project_id if credentials.respond_to? :quota_project_id
161
161
 
162
- @location_client = Google::Cloud::Location::Locations::Client.new do |config|
163
- config.credentials = credentials
164
- config.quota_project = @quota_project_id
165
- config.endpoint = @config.endpoint
166
- config.universe_domain = @config.universe_domain
167
- end
168
-
169
162
  @confidential_computing_stub = ::Gapic::ServiceStub.new(
170
163
  ::Google::Cloud::ConfidentialComputing::V1::ConfidentialComputing::Stub,
171
164
  credentials: credentials,
@@ -176,6 +169,13 @@ module Google
176
169
  interceptors: @config.interceptors,
177
170
  channel_pool_config: @config.channel_pool
178
171
  )
172
+
173
+ @location_client = Google::Cloud::Location::Locations::Client.new do |config|
174
+ config.credentials = credentials
175
+ config.quota_project = @quota_project_id
176
+ config.endpoint = @confidential_computing_stub.endpoint
177
+ config.universe_domain = @confidential_computing_stub.universe_domain
178
+ end
179
179
  end
180
180
 
181
181
  ##
@@ -156,20 +156,20 @@ module Google
156
156
  @quota_project_id = @config.quota_project
157
157
  @quota_project_id ||= credentials.quota_project_id if credentials.respond_to? :quota_project_id
158
158
 
159
- @location_client = Google::Cloud::Location::Locations::Rest::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
- config.bindings_override = @config.bindings_override
165
- end
166
-
167
159
  @confidential_computing_stub = ::Google::Cloud::ConfidentialComputing::V1::ConfidentialComputing::Rest::ServiceStub.new(
168
160
  endpoint: @config.endpoint,
169
161
  endpoint_template: DEFAULT_ENDPOINT_TEMPLATE,
170
162
  universe_domain: @config.universe_domain,
171
163
  credentials: credentials
172
164
  )
165
+
166
+ @location_client = Google::Cloud::Location::Locations::Rest::Client.new do |config|
167
+ config.credentials = credentials
168
+ config.quota_project = @quota_project_id
169
+ config.endpoint = @confidential_computing_stub.endpoint
170
+ config.universe_domain = @confidential_computing_stub.universe_domain
171
+ config.bindings_override = @config.bindings_override
172
+ end
173
173
  end
174
174
 
175
175
  ##
@@ -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 create_challenge REST call
57
66
  #
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module ConfidentialComputing
23
23
  module V1
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-confidential_computing-v1
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