public sealed class EnableServiceAccountKeyRequest : IMessage<EnableServiceAccountKeyRequest>, IEquatable<EnableServiceAccountKeyRequest>, IDeepCloneable<EnableServiceAccountKeyRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Identity and Access Management (IAM) v1 API class EnableServiceAccountKeyRequest.
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\u003eThis document provides reference documentation for the \u003ccode\u003eEnableServiceAccountKeyRequest\u003c/code\u003e class within the Identity and Access Management (IAM) v1 API, specifically for version 2.3.0, with links to documentation for versions spanning from 1.0.0 to 2.4.0.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eEnableServiceAccountKeyRequest\u003c/code\u003e class is used to request the enabling of a service account key and 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\u003eThe class contains properties such as \u003ccode\u003eKeyName\u003c/code\u003e, which provides a typed view over the resource name, and \u003ccode\u003eName\u003c/code\u003e, which represents the required resource name of the service account key.\u003c/p\u003e\n"],["\u003cp\u003eThe documentation covers the constructors of the class, \u003ccode\u003eEnableServiceAccountKeyRequest()\u003c/code\u003e and \u003ccode\u003eEnableServiceAccountKeyRequest(EnableServiceAccountKeyRequest other)\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe required \u003ccode\u003ename\u003c/code\u003e parameter must take the form \u003ccode\u003eprojects/{PROJECT_ID}/serviceAccounts/{ACCOUNT}/keys/{key}\u003c/code\u003e, with the ability to replace \u003ccode\u003ePROJECT_ID\u003c/code\u003e with a wildcard.\u003c/p\u003e\n"]]],[],null,[]]