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\u003eThe latest version of the \u003ccode\u003eCreateServiceAccountRequest\u003c/code\u003e class is 2.4.0, part of the Google.Cloud.Iam.Admin.V1 namespace for .NET.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eCreateServiceAccountRequest\u003c/code\u003e is an API class used for creating service accounts within Google Cloud's Identity and Access Management (IAM) v1.\u003c/p\u003e\n"],["\u003cp\u003eThis class requires the specification of a unique \u003ccode\u003eAccountId\u003c/code\u003e (6-30 characters, matching \u003ccode\u003e[a-z]([-a-z0-9]*[a-z0-9])\u003c/code\u003e), and the project \u003ccode\u003eName\u003c/code\u003e associated with the service accounts.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eServiceAccount\u003c/code\u003e property allows users to specify certain attributes during creation, such as the display name and description.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eCreateServiceAccountRequest\u003c/code\u003e is a class that 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"]]],[],null,[]]