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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 0e6ccf10c1eca851e8e19e98e9820ddccfb0e8344ac00652ac68cff23c2617f3
4
- data.tar.gz: 8726f8435bb2041cafa6f6e2d5840709845b68a176ae082e7a15d7b8c88ce9c1
3
+ metadata.gz: 3a4f8f8b81c147efd184884c9bca9e21f796c37cfb1e2f65eaafb2fabb00daaf
4
+ data.tar.gz: 38282095114201c31f9bac4b3274b5762d2889f5c4d67c130af3a28edb64d43c
5
5
  SHA512:
6
- metadata.gz: 60469fa21e678180baf43e96c7ef911fb059bbea91fcf541b0ccae97209f24cd7c6f56e64002c41213f8b9b2171f6050b6a207c801497a32641d4e0548670d92
7
- data.tar.gz: 4076a6885fe1f9d22d11535578599bf7daf8d311d3357171457c635e115515050cc1888b6789a5ddd2f9653c5356cf0b56d27dc8a44dc9c448aae71fd128625d
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
 
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module ConfidentialComputing
23
23
  module V1
24
- VERSION = "0.4.0"
24
+ VERSION = "0.5.0"
25
25
  end
26
26
  end
27
27
  end
@@ -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.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-08-15 00:00:00.000000000 Z
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.1
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.19.1
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.2
235
+ rubygems_version: 3.4.19
236
236
  signing_key:
237
237
  specification_version: 4
238
238
  summary: Attestation verifier for Confidential Space.