Skip to content

Commit

Permalink
feat: [kms] added VerifyConnectivity RPC (#4274)
Browse files Browse the repository at this point in the history
* 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]>
  • Loading branch information
3 people authored May 17, 2023
1 parent 2f0e6e1 commit bf56319
Show file tree
Hide file tree
Showing 12 changed files with 1,076 additions and 55 deletions.
72 changes: 36 additions & 36 deletions packages/google-cloud-kms/README.md

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,19 @@ service EkmService {
};
option (google.api.method_signature) = "ekm_config,update_mask";
}

// Verifies that Cloud KMS can successfully connect to the external key
// manager specified by an [EkmConnection][google.cloud.kms.v1.EkmConnection].
// If there is an error connecting to the EKM, this method returns a
// FAILED_PRECONDITION status containing structured information as described
// at https://cloud.google.com/kms/docs/reference/ekm_errors.
rpc VerifyConnectivity(VerifyConnectivityRequest)
returns (VerifyConnectivityResponse) {
option (google.api.http) = {
get: "/v1/{name=projects/*/locations/*/ekmConnections/*}:verifyConnectivity"
};
option (google.api.method_signature) = "name";
}
}

// Request message for
Expand Down Expand Up @@ -419,3 +432,20 @@ message EkmConfig {
}
];
}

// Request message for
// [EkmService.VerifyConnectivity][google.cloud.kms.v1.EkmService.VerifyConnectivity].
message VerifyConnectivityRequest {
// Required. The [name][google.cloud.kms.v1.EkmConnection.name] of the
// [EkmConnection][google.cloud.kms.v1.EkmConnection] to verify.
string name = 1 [
(google.api.field_behavior) = REQUIRED,
(google.api.resource_reference) = {
type: "cloudkms.googleapis.com/EkmConnection"
}
];
}

// Response message for
// [EkmService.VerifyConnectivity][google.cloud.kms.v1.EkmService.VerifyConnectivity].
message VerifyConnectivityResponse {}
209 changes: 209 additions & 0 deletions packages/google-cloud-kms/protos/protos.d.ts

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit bf56319

Please sign in to comment.