Email address of the service account. If not specified, the default
Compute Engine service account for the project will be used. If instance
template is being used, the service account has to be specified in the
instance template and it has to match the email field here.
[[["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 documentation covers the \u003ccode\u003eServiceAccount\u003c/code\u003e class within the Google Cloud Batch v1 API, detailing its purpose as a carrier of information about Google Cloud service accounts.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of the \u003ccode\u003eServiceAccount\u003c/code\u003e is documented as 2.13.0, while the provided version being detailed is 2.5.0.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eServiceAccount\u003c/code\u003e class inherits from the base \u003ccode\u003eobject\u003c/code\u003e class and 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"],["\u003cp\u003eKey properties of the \u003ccode\u003eServiceAccount\u003c/code\u003e class include \u003ccode\u003eEmail\u003c/code\u003e, representing the email address of the service account, and \u003ccode\u003eScopes\u003c/code\u003e, a list of scopes to be enabled for the service account on the VM.\u003c/p\u003e\n"],["\u003cp\u003eThe class has a default and a copy constructor, \u003ccode\u003eServiceAccount()\u003c/code\u003e and \u003ccode\u003eServiceAccount(ServiceAccount other)\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,[]]