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, specifically version 2.2.0.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eCreateServiceAccountRequest\u003c/code\u003e is used to define the parameters for creating a new service account, including the account ID, project name, and service account details.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eCreateServiceAccountRequest\u003c/code\u003e class 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, ensuring it can be used within various contexts.\u003c/p\u003e\n"],["\u003cp\u003eThe class features properties such as \u003ccode\u003eAccountId\u003c/code\u003e, \u003ccode\u003eName\u003c/code\u003e, \u003ccode\u003eProjectName\u003c/code\u003e, and \u003ccode\u003eServiceAccount\u003c/code\u003e, allowing for detailed configuration of the service account being created.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version available for the API is version 2.4.0, with 2.2.0 being one of the older versions.\u003c/p\u003e\n"]]],[],null,[]]