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\u003eThis documentation covers the \u003ccode\u003eServiceAccount\u003c/code\u003e class within the Google Cloud Batch v1 API, specifically within the \u003ccode\u003eGoogle.Cloud.Batch.V1\u003c/code\u003e namespace.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of the API covered in the document is 2.13.0, and it lists previous versions back to 1.0.0.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eServiceAccount\u003c/code\u003e class is a representation of a Google Cloud service account, carrying its email and enabled scopes information, with the email defaulting to the Compute Engine service account for the project.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eServiceAccount\u003c/code\u003e class inherits from \u003ccode\u003eobject\u003c/code\u003e and implements \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\u003eThe ServiceAccount class offers two constructors: a default one (\u003ccode\u003eServiceAccount()\u003c/code\u003e) and one for cloning an existing \u003ccode\u003eServiceAccount\u003c/code\u003e object (\u003ccode\u003eServiceAccount(ServiceAccount other)\u003c/code\u003e).\u003c/p\u003e\n"]]],[],null,[]]