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 documentation for the \u003ccode\u003eCreateServiceAccountRequest\u003c/code\u003e class within the Google Cloud Identity and Access Management (IAM) v1 API.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eCreateServiceAccountRequest\u003c/code\u003e class is used to define and send requests to create a new service account, inheriting from \u003ccode\u003eObject\u003c/code\u003e and implementing several interfaces like \u003ccode\u003eIMessage\u003c/code\u003e and \u003ccode\u003eIEquatable\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eIt details the available versions of the API, with version 2.4.0 being the most current, and offers access to versions as far back as 1.0.0.\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, each serving distinct purposes in defining the service account creation parameters.\u003c/p\u003e\n"],["\u003cp\u003eThe documented service is contained in the \u003ccode\u003eGoogle.Cloud.Iam.Admin.V1\u003c/code\u003e namespace, included in the \u003ccode\u003eGoogle.Cloud.Iam.Admin.V1.dll\u003c/code\u003e assembly.\u003c/p\u003e\n"]]],[],null,[]]