google-cloud-confidential_computing-v1 0.4.0 → 0.5.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/google/cloud/confidential_computing/v1/confidential_computing/client.rb +10 -1
- data/lib/google/cloud/confidential_computing/v1/confidential_computing/rest/client.rb +32 -0
- data/lib/google/cloud/confidential_computing/v1/version.rb +1 -1
- data/proto_docs/google/api/field_behavior.rb +14 -0
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3a4f8f8b81c147efd184884c9bca9e21f796c37cfb1e2f65eaafb2fabb00daaf
|
4
|
+
data.tar.gz: 38282095114201c31f9bac4b3274b5762d2889f5c4d67c130af3a28edb64d43c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f24dd557b74508cf500d6eccaba1a561f7be3febb44bc9e1bf180b81f72098eb22c29f44552bcc6d585dc340496cde1fd30bd39310fc02ca4f3c88a7fa3d28f8
|
7
|
+
data.tar.gz: 60a90a19ffb4b61b9444b3c53a7ae6871dabcbac745dafb67811f31a8d8c315423c5f324a8234a1b0afca33ad38920e192f759a81a97cdbd55f2ad67ac0279a9
|
@@ -157,7 +157,8 @@ module Google
|
|
157
157
|
credentials: credentials,
|
158
158
|
endpoint: @config.endpoint,
|
159
159
|
channel_args: @config.channel_args,
|
160
|
-
interceptors: @config.interceptors
|
160
|
+
interceptors: @config.interceptors,
|
161
|
+
channel_pool_config: @config.channel_pool
|
161
162
|
)
|
162
163
|
end
|
163
164
|
|
@@ -476,6 +477,14 @@ module Google
|
|
476
477
|
end
|
477
478
|
end
|
478
479
|
|
480
|
+
##
|
481
|
+
# Configuration for the channel pool
|
482
|
+
# @return [::Gapic::ServiceStub::ChannelPool::Configuration]
|
483
|
+
#
|
484
|
+
def channel_pool
|
485
|
+
@channel_pool ||= ::Gapic::ServiceStub::ChannelPool::Configuration.new
|
486
|
+
end
|
487
|
+
|
479
488
|
##
|
480
489
|
# Configuration RPC class for the ConfidentialComputing API.
|
481
490
|
#
|
@@ -193,6 +193,22 @@ module Google
|
|
193
193
|
# @return [::Google::Cloud::ConfidentialComputing::V1::Challenge]
|
194
194
|
#
|
195
195
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
196
|
+
#
|
197
|
+
# @example Basic example
|
198
|
+
# require "google/cloud/confidential_computing/v1"
|
199
|
+
#
|
200
|
+
# # Create a client object. The client can be reused for multiple calls.
|
201
|
+
# client = Google::Cloud::ConfidentialComputing::V1::ConfidentialComputing::Rest::Client.new
|
202
|
+
#
|
203
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
204
|
+
# request = Google::Cloud::ConfidentialComputing::V1::CreateChallengeRequest.new
|
205
|
+
#
|
206
|
+
# # Call the create_challenge method.
|
207
|
+
# result = client.create_challenge request
|
208
|
+
#
|
209
|
+
# # The returned object is of type Google::Cloud::ConfidentialComputing::V1::Challenge.
|
210
|
+
# p result
|
211
|
+
#
|
196
212
|
def create_challenge request, options = nil
|
197
213
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
198
214
|
|
@@ -268,6 +284,22 @@ module Google
|
|
268
284
|
# @return [::Google::Cloud::ConfidentialComputing::V1::VerifyAttestationResponse]
|
269
285
|
#
|
270
286
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
287
|
+
#
|
288
|
+
# @example Basic example
|
289
|
+
# require "google/cloud/confidential_computing/v1"
|
290
|
+
#
|
291
|
+
# # Create a client object. The client can be reused for multiple calls.
|
292
|
+
# client = Google::Cloud::ConfidentialComputing::V1::ConfidentialComputing::Rest::Client.new
|
293
|
+
#
|
294
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
295
|
+
# request = Google::Cloud::ConfidentialComputing::V1::VerifyAttestationRequest.new
|
296
|
+
#
|
297
|
+
# # Call the verify_attestation method.
|
298
|
+
# result = client.verify_attestation request
|
299
|
+
#
|
300
|
+
# # The returned object is of type Google::Cloud::ConfidentialComputing::V1::VerifyAttestationResponse.
|
301
|
+
# p result
|
302
|
+
#
|
271
303
|
def verify_attestation request, options = nil
|
272
304
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
273
305
|
|
@@ -66,6 +66,20 @@ module Google
|
|
66
66
|
# a non-empty value will be returned. The user will not be aware of what
|
67
67
|
# non-empty value to expect.
|
68
68
|
NON_EMPTY_DEFAULT = 7
|
69
|
+
|
70
|
+
# Denotes that the field in a resource (a message annotated with
|
71
|
+
# google.api.resource) is used in the resource name to uniquely identify the
|
72
|
+
# resource. For AIP-compliant APIs, this should only be applied to the
|
73
|
+
# `name` field on the resource.
|
74
|
+
#
|
75
|
+
# This behavior should not be applied to references to other resources within
|
76
|
+
# the message.
|
77
|
+
#
|
78
|
+
# The identifier field of resources often have different field behavior
|
79
|
+
# depending on the request it is embedded in (e.g. for Create methods name
|
80
|
+
# is optional and unused, while for Update methods it is required). Instead
|
81
|
+
# of method-specific annotations, only `IDENTIFIER` is required.
|
82
|
+
IDENTIFIER = 8
|
69
83
|
end
|
70
84
|
end
|
71
85
|
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.
|
4
|
+
version: 0.5.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-09-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gapic-common
|
@@ -16,7 +16,7 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 0.
|
19
|
+
version: 0.20.0
|
20
20
|
- - "<"
|
21
21
|
- !ruby/object:Gem::Version
|
22
22
|
version: 2.a
|
@@ -26,7 +26,7 @@ dependencies:
|
|
26
26
|
requirements:
|
27
27
|
- - ">="
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
version: 0.
|
29
|
+
version: 0.20.0
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
32
|
version: 2.a
|
@@ -232,7 +232,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
232
232
|
- !ruby/object:Gem::Version
|
233
233
|
version: '0'
|
234
234
|
requirements: []
|
235
|
-
rubygems_version: 3.4.
|
235
|
+
rubygems_version: 3.4.19
|
236
236
|
signing_key:
|
237
237
|
specification_version: 4
|
238
238
|
summary: Attestation verifier for Confidential Space.
|