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\u003eThis document 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\u003eThe \u003ccode\u003eGetPublicKeyRequest\u003c/code\u003e class is used to retrieve the public key of a specific \u003ccode\u003eCryptoKeyVersion\u003c/code\u003e, and it implements several interfaces, including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, and \u003ccode\u003eIDeepCloneable\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version available for this API class is 3.16.0, and this page covers versions from 3.16.0 down to 2.2.0, and this page is specifically about version 3.5.0.\u003c/p\u003e\n"],["\u003cp\u003eKey properties of the \u003ccode\u003eGetPublicKeyRequest\u003c/code\u003e class include \u003ccode\u003eCryptoKeyVersionName\u003c/code\u003e (a typed view) and \u003ccode\u003eName\u003c/code\u003e (a string), which specifies the \u003ccode\u003eCryptoKeyVersion\u003c/code\u003e whose public key is being requested.\u003c/p\u003e\n"]]],[],null,[]]