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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-05-21 UTC."],[[["\u003cp\u003eThis API endpoint allows you to create a new ServiceAccount within a specified project.\u003c/p\u003e\n"],["\u003cp\u003eThe HTTP request uses a \u003ccode\u003ePOST\u003c/code\u003e method with a URL structure that follows gRPC Transcoding syntax, requiring the project's resource name in the path.\u003c/p\u003e\n"],["\u003cp\u003eThe request body requires you to provide an \u003ccode\u003eaccountId\u003c/code\u003e and the details for the \u003ccode\u003eserviceAccount\u003c/code\u003e you want to create.\u003c/p\u003e\n"],["\u003cp\u003eSuccessful requests will return a newly created instance of the \u003ccode\u003eServiceAccount\u003c/code\u003e resource in the response body.\u003c/p\u003e\n"],["\u003cp\u003eCreating a service account requires authorization through one of the provided OAuth scopes: \u003ccode\u003ehttps://www.googleapis.com/auth/iam\u003c/code\u003e or \u003ccode\u003ehttps://www.googleapis.com/auth/cloud-platform\u003c/code\u003e, along with the \u003ccode\u003eiam.serviceAccounts.create\u003c/code\u003e permission.\u003c/p\u003e\n"]]],[],null,[]]