google-apis-cloudkms_v1 0.37.0 → 0.39.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: a64c71a80217f3fdd283fadc26bae56563e494a55a8a3f615a30a5465a1ca56c
4
- data.tar.gz: 5a4232c6efd7353b7f3d841f888cf59a70538668051bd5f339f065c49902712b
3
+ metadata.gz: 07227dcaa6c725f3a74f766c920b8b7a730b46e3223f73e67c1a3a809328981c
4
+ data.tar.gz: 940716b79be0e42cacea06259b19a98698b31e02e53e7cc3b31229db6382cb91
5
5
  SHA512:
6
- metadata.gz: 98f9226cf7de6df63d2268e5c7ab967dcd0e3aa89540b46071d3093067f0c88e82cb8f8c6c74d422febebbc573cf633577545935601caa3e38c7cc862939ae3c
7
- data.tar.gz: 6fcfebc733ba69a59fd7231d6edda698cf940a438db9f28b0395224c6e4fe03c5d63ea89a4fac994f6f1b00fe135d021b610b0234380c185c1e479b8f56d9a6a
6
+ metadata.gz: 9906ed83a19a59a9d95d16bc11ec9e15e779ce36cdfbfba580b2b6f91ead6619dae04bac69d3c8942e0e35250bc1354fbdc4ec689f838415b858a41247d0fb24
7
+ data.tar.gz: 22ef0feca855a43c8e6570728a54cd53cc0775a39bfe2e880eb1871ed9e224f20405e780531e86f2dc1bc624eea8b20f58d92ab5e2890dfeea3c08432662f88e
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-cloudkms_v1
2
2
 
3
+ ### v0.39.0 (2023-04-30)
4
+
5
+ * Regenerated from discovery document revision 20230421
6
+
7
+ ### v0.38.0 (2023-04-16)
8
+
9
+ * Regenerated from discovery document revision 20230407
10
+
3
11
  ### v0.37.0 (2023-03-12)
4
12
 
5
13
  * Regenerated from discovery document revision 20230307
@@ -1717,7 +1717,7 @@ module Google
1717
1717
  end
1718
1718
  end
1719
1719
 
1720
- # A resource that represents Google Cloud Platform location.
1720
+ # A resource that represents a Google Cloud location.
1721
1721
  class Location
1722
1722
  include Google::Apis::Core::Hashable
1723
1723
 
@@ -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.39.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 = "20230421"
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.39.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-30 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.39.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: []