google-cloud-confidential_computing-v1 0.9.0 → 1.0.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: cf3790c71712480b3cc3adf998bb8e066f11e8e31ed74d9469edb136ccb0b58c
4
- data.tar.gz: 6dfc98a2fe1fa0dd1d0e483eb80a38503dd0a35ecfe66bc6c23f052b2b394481
3
+ metadata.gz: 99300700ec6045280811981fc441ffeed6b8770b36bd72d7a4829a1d237c73dc
4
+ data.tar.gz: 3188c9c98d9cf27c1755885b83f0a253495b6fe5b98fdefc5fdce25038982c26
5
5
  SHA512:
6
- metadata.gz: b931887a86c10b941c15a374339fff2680ff2d69a66f5db749e6ff1f0dff384844824c9bbcc46b9c01bf66246e78c21db79cb596efcabbf23da8d80d6a3366a8
7
- data.tar.gz: e515da592fcf95ce513c1e2537151888503cc22207b2dfda13d65dde586fe2a699935a3e8d27162130a3f33a3a85d3faef266e8988a60d77688fd5ba63eb0b3c
6
+ metadata.gz: b30dc7f0db6d04edc13518ec8c21d72fb9de188339e00314a8ed72e9f263ca5a608ae1f7f5f60d5c64402048b964bd503bb5878b202f4c736e1d354955703e0a
7
+ data.tar.gz: 67308bb8be035a680f38f9b670fd5130d8ebbb75d9eca84be78849591963085a7a9d1a6e1fa8ceae1ecb1f256b4651895aef35bb37d55ee268cfaf1a0dd3e716
@@ -31,6 +31,9 @@ module Google
31
31
  # Service describing handlers for resources
32
32
  #
33
33
  class Client
34
+ # @private
35
+ API_VERSION = ""
36
+
34
37
  # @private
35
38
  DEFAULT_ENDPOINT_TEMPLATE = "confidentialcomputing.$UNIVERSE_DOMAIN$"
36
39
 
@@ -246,10 +249,11 @@ module Google
246
249
  # Customize the options with defaults
247
250
  metadata = @config.rpcs.create_challenge.metadata.to_h
248
251
 
249
- # Set x-goog-api-client and x-goog-user-project headers
252
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
250
253
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
251
254
  lib_name: @config.lib_name, lib_version: @config.lib_version,
252
255
  gapic_version: ::Google::Cloud::ConfidentialComputing::V1::VERSION
256
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
253
257
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
254
258
 
255
259
  header_params = {}
@@ -344,10 +348,11 @@ module Google
344
348
  # Customize the options with defaults
345
349
  metadata = @config.rpcs.verify_attestation.metadata.to_h
346
350
 
347
- # Set x-goog-api-client and x-goog-user-project headers
351
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
348
352
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
349
353
  lib_name: @config.lib_name, lib_version: @config.lib_version,
350
354
  gapic_version: ::Google::Cloud::ConfidentialComputing::V1::VERSION
355
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
351
356
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
352
357
 
353
358
  header_params = {}
@@ -33,6 +33,9 @@ module Google
33
33
  # Service describing handlers for resources
34
34
  #
35
35
  class Client
36
+ # @private
37
+ API_VERSION = ""
38
+
36
39
  # @private
37
40
  DEFAULT_ENDPOINT_TEMPLATE = "confidentialcomputing.$UNIVERSE_DOMAIN$"
38
41
 
@@ -239,12 +242,13 @@ module Google
239
242
  # Customize the options with defaults
240
243
  call_metadata = @config.rpcs.create_challenge.metadata.to_h
241
244
 
242
- # Set x-goog-api-client and x-goog-user-project headers
245
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
243
246
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
244
247
  lib_name: @config.lib_name, lib_version: @config.lib_version,
245
248
  gapic_version: ::Google::Cloud::ConfidentialComputing::V1::VERSION,
246
249
  transports_version_send: [:rest]
247
250
 
251
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
248
252
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
249
253
 
250
254
  options.apply_defaults timeout: @config.rpcs.create_challenge.timeout,
@@ -330,12 +334,13 @@ module Google
330
334
  # Customize the options with defaults
331
335
  call_metadata = @config.rpcs.verify_attestation.metadata.to_h
332
336
 
333
- # Set x-goog-api-client and x-goog-user-project headers
337
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
334
338
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
335
339
  lib_name: @config.lib_name, lib_version: @config.lib_version,
336
340
  gapic_version: ::Google::Cloud::ConfidentialComputing::V1::VERSION,
337
341
  transports_version_send: [:rest]
338
342
 
343
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
339
344
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
340
345
 
341
346
  options.apply_defaults timeout: @config.rpcs.verify_attestation.timeout,
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module ConfidentialComputing
23
23
  module V1
24
- VERSION = "0.9.0"
24
+ VERSION = "1.0.0"
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.9.0
4
+ version: 1.0.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: 2024-04-15 00:00:00.000000000 Z
11
+ date: 2024-07-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gapic-common