Skip to content

Commit bf56319

Browse files
feat: [kms] added VerifyConnectivity RPC (#4274)
* feat: added VerifyConnectivity RPC PiperOrigin-RevId: 530991686 Source-Link: googleapis/googleapis@be2600e Source-Link: googleapis/googleapis-gen@7eadc0e Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLWttcy8uT3dsQm90LnlhbWwiLCJoIjoiN2VhZGMwZTBhYWVjZTJiY2NiNGU1NjFmM2IyOWIwNTg0ZmJjZjkwNiJ9 * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md --------- Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com> Co-authored-by: Denis DelGrosso <[email protected]>
1 parent 2f0e6e1 commit bf56319

File tree

12 files changed

+1076
-55
lines changed

12 files changed

+1076
-55
lines changed

packages/google-cloud-kms/README.md

Lines changed: 36 additions & 36 deletions
Large diffs are not rendered by default.

packages/google-cloud-kms/protos/google/cloud/kms/v1/ekm_service.proto

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,19 @@ service EkmService {
102102
};
103103
option (google.api.method_signature) = "ekm_config,update_mask";
104104
}
105+
106+
// Verifies that Cloud KMS can successfully connect to the external key
107+
// manager specified by an [EkmConnection][google.cloud.kms.v1.EkmConnection].
108+
// If there is an error connecting to the EKM, this method returns a
109+
// FAILED_PRECONDITION status containing structured information as described
110+
// at https://cloud.google.com/kms/docs/reference/ekm_errors.
111+
rpc VerifyConnectivity(VerifyConnectivityRequest)
112+
returns (VerifyConnectivityResponse) {
113+
option (google.api.http) = {
114+
get: "/v1/{name=projects/*/locations/*/ekmConnections/*}:verifyConnectivity"
115+
};
116+
option (google.api.method_signature) = "name";
117+
}
105118
}
106119

107120
// Request message for
@@ -419,3 +432,20 @@ message EkmConfig {
419432
}
420433
];
421434
}
435+
436+
// Request message for
437+
// [EkmService.VerifyConnectivity][google.cloud.kms.v1.EkmService.VerifyConnectivity].
438+
message VerifyConnectivityRequest {
439+
// Required. The [name][google.cloud.kms.v1.EkmConnection.name] of the
440+
// [EkmConnection][google.cloud.kms.v1.EkmConnection] to verify.
441+
string name = 1 [
442+
(google.api.field_behavior) = REQUIRED,
443+
(google.api.resource_reference) = {
444+
type: "cloudkms.googleapis.com/EkmConnection"
445+
}
446+
];
447+
}
448+
449+
// Response message for
450+
// [EkmService.VerifyConnectivity][google.cloud.kms.v1.EkmService.VerifyConnectivity].
451+
message VerifyConnectivityResponse {}

packages/google-cloud-kms/protos/protos.d.ts

Lines changed: 209 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)