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 Batch v1 API class \u003ccode\u003eServiceAccount\u003c/code\u003e carries information about a Google Cloud service account, providing functionalities to manage service accounts within the Google Cloud Batch environment.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of the \u003ccode\u003eServiceAccount\u003c/code\u003e is 2.13.0, with various prior versions, starting from 1.0.0 and up until 2.12.0 available for use and referencing.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eServiceAccount\u003c/code\u003e class offers an \u003ccode\u003eEmail\u003c/code\u003e property to specify the email address of the service account, defaulting to the Compute Engine service account if left unspecified.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eScopes\u003c/code\u003e property allows specifying additional API scopes for the service account on the VM, complementing the default cloud-platform API scope, which is always present.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eServiceAccount\u003c/code\u003e class has constructors that allow for creating an instance, or creating a copy of an already existing \u003ccode\u003eServiceAccount\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,[]]