public sealed class CreateServiceAccountKeyRequest : IMessage<CreateServiceAccountKeyRequest>, IEquatable<CreateServiceAccountKeyRequest>, IDeepCloneable<CreateServiceAccountKeyRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Identity and Access Management (IAM) v1 API class CreateServiceAccountKeyRequest.
Required. The resource name of the service account in the following format:
projects/{PROJECT_ID}/serviceAccounts/{ACCOUNT}.
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 information for the \u003ccode\u003eCreateServiceAccountKeyRequest\u003c/code\u003e class within the Google Cloud Identity and Access Management (IAM) v1 API.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eCreateServiceAccountKeyRequest\u003c/code\u003e class is used to create a request for generating a new service account key and is a subclass of object, implementing several interfaces such as IMessage, IEquatable, IDeepCloneable, and IBufferMessage.\u003c/p\u003e\n"],["\u003cp\u003eThe class includes properties such as \u003ccode\u003eKeyAlgorithm\u003c/code\u003e, \u003ccode\u003eName\u003c/code\u003e, \u003ccode\u003ePrivateKeyType\u003c/code\u003e, and \u003ccode\u003eServiceAccountName\u003c/code\u003e, which are used to define the key type, the resource name of the service account, the output format of the key, and a typed view of the resource name, respectively.\u003c/p\u003e\n"],["\u003cp\u003eConstructors for creating a new \u003ccode\u003eCreateServiceAccountKeyRequest\u003c/code\u003e object, with or without an existing object to copy from, are available.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eCreateServiceAccountKeyRequest\u003c/code\u003e class is part of the \u003ccode\u003eGoogle.Cloud.Iam.Admin.V1\u003c/code\u003e namespace and is found in the \u003ccode\u003eGoogle.Cloud.Iam.Admin.V1.dll\u003c/code\u003e assembly, with the document also listing the various versions and their corresponding file path.\u003c/p\u003e\n"]]],[],null,[]]