public sealed class GetServiceAccountKeyRequest : IMessage<GetServiceAccountKeyRequest>, IEquatable<GetServiceAccountKeyRequest>, IDeepCloneable<GetServiceAccountKeyRequest>, IBufferMessage, IMessage
Required. The resource name of the service account key in the following format:
projects/{PROJECT_ID}/serviceAccounts/{ACCOUNT}/keys/{key}.
Using - as a wildcard for the PROJECT_ID will infer the project from
the account. The ACCOUNT value can be the email address or the
unique_id of the service account.
[[["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 latest version available for \u003ccode\u003eGetServiceAccountKeyRequest\u003c/code\u003e is 2.4.0, with older versions ranging down to 1.0.0.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eGetServiceAccountKeyRequest\u003c/code\u003e is a class used to request a service account key by its ID, and it 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.\u003c/p\u003e\n"],["\u003cp\u003eThis class inherits from \u003ccode\u003eObject\u003c/code\u003e and contains properties such as \u003ccode\u003eKeyName\u003c/code\u003e, \u003ccode\u003eName\u003c/code\u003e, and \u003ccode\u003ePublicKeyType\u003c/code\u003e, which define the key resource, name format, and the output format of the public key, respectively.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eGetServiceAccountKeyRequest\u003c/code\u003e class has two constructors, a default constructor, and a copy constructor, to either create a new instance or clone an existing \u003ccode\u003eGetServiceAccountKeyRequest\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eName\u003c/code\u003e property requires the resource name of the service account key in a specific format: \u003ccode\u003eprojects/{PROJECT_ID}/serviceAccounts/{ACCOUNT}/keys/{key}\u003c/code\u003e, allowing \u003ccode\u003e-\u003c/code\u003e as a wildcard for \u003ccode\u003ePROJECT_ID\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,[]]