public sealed class GetPublicKeyRequest : IMessage<GetPublicKeyRequest>, IEquatable<GetPublicKeyRequest>, IDeepCloneable<GetPublicKeyRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud Key Management Service v1 API class GetPublicKeyRequest.
Request message for
[KeyManagementService.GetPublicKey][google.cloud.kms.v1.KeyManagementService.GetPublicKey].
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThe webpage provides reference documentation for the \u003ccode\u003eGetPublicKeyRequest\u003c/code\u003e class within the Google Cloud Key Management Service v1 API.\u003c/p\u003e\n"],["\u003cp\u003eThis class is used to construct request messages for the \u003ccode\u003eKeyManagementService.GetPublicKey\u003c/code\u003e function, which retrieves the public key of a \u003ccode\u003eCryptoKeyVersion\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eGetPublicKeyRequest\u003c/code\u003e class implements several interfaces, including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, showing it is a robust, feature-rich class.\u003c/p\u003e\n"],["\u003cp\u003eThe documentation lists multiple versions of the \u003ccode\u003eGetPublicKeyRequest\u003c/code\u003e class, ranging from version 2.2.0 to the latest version 3.16.0.\u003c/p\u003e\n"],["\u003cp\u003eThe GetPublicKeyRequest class contains a required property called \u003ccode\u003eName\u003c/code\u003e, which requires the full name of the CryptoKeyVersion to be provided.\u003c/p\u003e\n"]]],[],null,[]]