google-apis-cloudkms_v1 0.37.0 → 0.38.0

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: a64c71a80217f3fdd283fadc26bae56563e494a55a8a3f615a30a5465a1ca56c
4
- data.tar.gz: 5a4232c6efd7353b7f3d841f888cf59a70538668051bd5f339f065c49902712b
3
+ metadata.gz: ab0f3194236e78fd812a46360b034e9484e6b750060852f7aadcdcfa3468523c
4
+ data.tar.gz: '058c24a273cc04b670efedf25c91d8973905b51693181dbc3bac36d1d611c765'
5
5
  SHA512:
6
- metadata.gz: 98f9226cf7de6df63d2268e5c7ab967dcd0e3aa89540b46071d3093067f0c88e82cb8f8c6c74d422febebbc573cf633577545935601caa3e38c7cc862939ae3c
7
- data.tar.gz: 6fcfebc733ba69a59fd7231d6edda698cf940a438db9f28b0395224c6e4fe03c5d63ea89a4fac994f6f1b00fe135d021b610b0234380c185c1e479b8f56d9a6a
6
+ metadata.gz: 97a6949b9de768a466fb09dc13b1ba9568c40f56270865099094a0b0bbed14412a2f53ec0a5f5b29518b7d8e9875f3fff8d6169fc47d8140bfeccd14ea8305ba
7
+ data.tar.gz: fc076620a6717f5836badcafd3fca821eb82320489445c212253883594f91212471d63570f3541a80e3d79590715f60a206ac4e27f6461e7ba6d6d1ab7ed7824
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-cloudkms_v1
2
2
 
3
+ ### v0.38.0 (2023-04-16)
4
+
5
+ * Regenerated from discovery document revision 20230407
6
+
3
7
  ### v0.37.0 (2023-03-12)
4
8
 
5
9
  * Regenerated from discovery document revision 20230307
@@ -2340,6 +2340,19 @@ module Google
2340
2340
  end
2341
2341
  end
2342
2342
 
2343
+ # Response message for EkmService.VerifyConnectivity.
2344
+ class VerifyConnectivityResponse
2345
+ include Google::Apis::Core::Hashable
2346
+
2347
+ def initialize(**args)
2348
+ update!(**args)
2349
+ end
2350
+
2351
+ # Update properties of this object
2352
+ def update!(**args)
2353
+ end
2354
+ end
2355
+
2343
2356
  # The public key component of the wrapping key. For details of the type of key
2344
2357
  # this public key corresponds to, see the ImportMethod.
2345
2358
  class WrappingPublicKey
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module CloudkmsV1
18
18
  # Version of the google-apis-cloudkms_v1 gem
19
- GEM_VERSION = "0.37.0"
19
+ GEM_VERSION = "0.38.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.12.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20230307"
25
+ REVISION = "20230407"
26
26
  end
27
27
  end
28
28
  end
@@ -310,6 +310,12 @@ module Google
310
310
  include Google::Apis::Core::JsonObjectSupport
311
311
  end
312
312
 
313
+ class VerifyConnectivityResponse
314
+ class Representation < Google::Apis::Core::JsonRepresentation; end
315
+
316
+ include Google::Apis::Core::JsonObjectSupport
317
+ end
318
+
313
319
  class WrappingPublicKey
314
320
  class Representation < Google::Apis::Core::JsonRepresentation; end
315
321
 
@@ -807,6 +813,12 @@ module Google
807
813
  end
808
814
  end
809
815
 
816
+ class VerifyConnectivityResponse
817
+ # @private
818
+ class Representation < Google::Apis::Core::JsonRepresentation
819
+ end
820
+ end
821
+
810
822
  class WrappingPublicKey
811
823
  # @private
812
824
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -624,6 +624,40 @@ module Google
624
624
  execute_or_queue_command(command, &block)
625
625
  end
626
626
 
627
+ # Verifies that Cloud KMS can successfully connect to the external key manager
628
+ # specified by an EkmConnection. If there is an error connecting to the EKM,
629
+ # this method returns a FAILED_PRECONDITION status containing structured
630
+ # information as described at https://cloud.google.com/kms/docs/reference/
631
+ # ekm_errors.
632
+ # @param [String] name
633
+ # Required. The name of the EkmConnection to verify.
634
+ # @param [String] fields
635
+ # Selector specifying which fields to include in a partial response.
636
+ # @param [String] quota_user
637
+ # Available to use for quota purposes for server-side applications. Can be any
638
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
639
+ # @param [Google::Apis::RequestOptions] options
640
+ # Request-specific options
641
+ #
642
+ # @yield [result, err] Result & error if block supplied
643
+ # @yieldparam result [Google::Apis::CloudkmsV1::VerifyConnectivityResponse] parsed result object
644
+ # @yieldparam err [StandardError] error object if request failed
645
+ #
646
+ # @return [Google::Apis::CloudkmsV1::VerifyConnectivityResponse]
647
+ #
648
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
649
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
650
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
651
+ def verify_project_location_ekm_connection_connectivity(name, fields: nil, quota_user: nil, options: nil, &block)
652
+ command = make_simple_command(:get, 'v1/{+name}:verifyConnectivity', options)
653
+ command.response_representation = Google::Apis::CloudkmsV1::VerifyConnectivityResponse::Representation
654
+ command.response_class = Google::Apis::CloudkmsV1::VerifyConnectivityResponse
655
+ command.params['name'] = name unless name.nil?
656
+ command.query['fields'] = fields unless fields.nil?
657
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
658
+ execute_or_queue_command(command, &block)
659
+ end
660
+
627
661
  # Create a new KeyRing in a given Project and Location.
628
662
  # @param [String] parent
629
663
  # Required. The resource name of the location associated with the KeyRings, in
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-cloudkms_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.37.0
4
+ version: 0.38.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-03-12 00:00:00.000000000 Z
11
+ date: 2023-04-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -58,7 +58,7 @@ licenses:
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
60
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-cloudkms_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-cloudkms_v1/v0.37.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-cloudkms_v1/v0.38.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-cloudkms_v1
63
63
  post_install_message:
64
64
  rdoc_options: []