[[["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 information for the \u003ccode\u003eServiceAccount\u003c/code\u003e class within the Batch v1alpha API, part of the Google Cloud .NET client library.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eServiceAccount\u003c/code\u003e class, which inherits from \u003ccode\u003eobject\u003c/code\u003e and implements several interfaces, carries information about a Google Cloud service account.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eServiceAccount\u003c/code\u003e class has two constructors: a default constructor \u003ccode\u003eServiceAccount()\u003c/code\u003e and a copy constructor \u003ccode\u003eServiceAccount(ServiceAccount other)\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eKey properties of the \u003ccode\u003eServiceAccount\u003c/code\u003e class include \u003ccode\u003eEmail\u003c/code\u003e, a string representing the service account's email address, and \u003ccode\u003eScopes\u003c/code\u003e, a list of strings defining the scopes enabled for the service account.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eServiceAccount\u003c/code\u003e class can also access a few inherited members from the base \u003ccode\u003eobject\u003c/code\u003e class, like \u003ccode\u003eGetHashCode()\u003c/code\u003e, \u003ccode\u003eGetType()\u003c/code\u003e, and \u003ccode\u003eToString()\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,["# Batch v1alpha API - Class ServiceAccount (1.0.0-alpha31)\n\nVersion latestkeyboard_arrow_down\n\n- [1.0.0-alpha31 (latest)](/dotnet/docs/reference/Google.Cloud.Batch.V1Alpha/latest/Google.Cloud.Batch.V1Alpha.ServiceAccount)\n- [1.0.0-alpha30](/dotnet/docs/reference/Google.Cloud.Batch.V1Alpha/1.0.0-alpha30/Google.Cloud.Batch.V1Alpha.ServiceAccount) \n\n public sealed class ServiceAccount : IMessage\u003cServiceAccount\u003e, IEquatable\u003cServiceAccount\u003e, IDeepCloneable\u003cServiceAccount\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Batch v1alpha API class ServiceAccount.\n\nCarries information about a Google Cloud service account. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e ServiceAccount \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[ServiceAccount](/dotnet/docs/reference/Google.Cloud.Batch.V1Alpha/latest/Google.Cloud.Batch.V1Alpha.ServiceAccount), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[ServiceAccount](/dotnet/docs/reference/Google.Cloud.Batch.V1Alpha/latest/Google.Cloud.Batch.V1Alpha.ServiceAccount), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[ServiceAccount](/dotnet/docs/reference/Google.Cloud.Batch.V1Alpha/latest/Google.Cloud.Batch.V1Alpha.ServiceAccount), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html) \n\nInherited Members\n-----------------\n\n[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) \n[object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) \n[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)\n\nNamespace\n---------\n\n[Google.Cloud.Batch.V1Alpha](/dotnet/docs/reference/Google.Cloud.Batch.V1Alpha/latest/Google.Cloud.Batch.V1Alpha)\n\nAssembly\n--------\n\nGoogle.Cloud.Batch.V1Alpha.dll\n\nConstructors\n------------\n\n### ServiceAccount()\n\n public ServiceAccount()\n\n### ServiceAccount(ServiceAccount)\n\n public ServiceAccount(ServiceAccount other)\n\nProperties\n----------\n\n### Email\n\n public string Email { get; set; }\n\nEmail address of the service account.\n\n### Scopes\n\n public RepeatedField\u003cstring\u003e Scopes { get; }\n\nList of scopes to be enabled for this service account."]]