public sealed class CreateServiceAccountRequest : IMessage<CreateServiceAccountRequest>, IEquatable<CreateServiceAccountRequest>, IDeepCloneable<CreateServiceAccountRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Identity and Access Management (IAM) v1 API class CreateServiceAccountRequest.
Required. The account id that is used to generate the service account
email address and a stable unique id. It is unique within a project,
must be 6-30 characters long, and match the regular expression
[a-z]([-a-z0-9]*[a-z0-9]) to comply with RFC1035.
public ServiceAccount ServiceAccount { get; set; }
The [ServiceAccount][google.iam.admin.v1.ServiceAccount] resource to
create. Currently, only the following values are user assignable:
display_name and description.
[[["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\u003eCreateServiceAccountRequest\u003c/code\u003e class within the Identity and Access Management (IAM) v1 API, specifically version 2.3.0.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eCreateServiceAccountRequest\u003c/code\u003e class is used to request the creation of a new service account and is part of the \u003ccode\u003eGoogle.Cloud.Iam.Admin.V1\u003c/code\u003e namespace in the Google Cloud .NET library.\u003c/p\u003e\n"],["\u003cp\u003eKey properties of the \u003ccode\u003eCreateServiceAccountRequest\u003c/code\u003e class include \u003ccode\u003eAccountId\u003c/code\u003e, \u003ccode\u003eName\u003c/code\u003e, \u003ccode\u003eProjectName\u003c/code\u003e, and \u003ccode\u003eServiceAccount\u003c/code\u003e, all of which are required to generate the service account within a project.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version for this class is 2.4.0, with previous versions available to 1.0.0, and each version providing relevant links to their documentation.\u003c/p\u003e\n"],["\u003cp\u003eThis class implements multiple interfaces, including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable<CreateServiceAccountRequest>\u003c/code\u003e, \u003ccode\u003eIDeepCloneable<CreateServiceAccountRequest>\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, indicating its role in message handling and object management.\u003c/p\u003e\n"]]],[],null,[]]