[[["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-08-07 UTC."],[[["\u003cp\u003eThis documentation covers the \u003ccode\u003eServiceAccount\u003c/code\u003e class within the Google Cloud Notebooks v2 API, outlining its properties, constructors, and implementation details.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eServiceAccount\u003c/code\u003e class acts as an identity and implements interfaces such as \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 latest version of the \u003ccode\u003eServiceAccount\u003c/code\u003e class is 1.2.0, with prior versions 1.1.0 and 1.0.0 also available in the documentation.\u003c/p\u003e\n"],["\u003cp\u003eKey properties of the \u003ccode\u003eServiceAccount\u003c/code\u003e class include \u003ccode\u003eEmail\u003c/code\u003e, which is an optional email address, and \u003ccode\u003eScopes\u003c/code\u003e, a list of scopes set by the CLH (currently \u003ca href=\"https://www.googleapis.com/auth/cloud-platform\"\u003ehttps://www.googleapis.com/auth/cloud-platform\u003c/a\u003e).\u003c/p\u003e\n"],["\u003cp\u003eThe class provides two constructors: a default constructor, \u003ccode\u003eServiceAccount()\u003c/code\u003e, and a copy constructor, \u003ccode\u003eServiceAccount(ServiceAccount other)\u003c/code\u003e, which takes another \u003ccode\u003eServiceAccount\u003c/code\u003e object as a parameter.\u003c/p\u003e\n"]]],[],null,["# Notebooks v2 API - Class ServiceAccount (1.2.0)\n\nVersion latestkeyboard_arrow_down\n\n- [1.2.0 (latest)](/dotnet/docs/reference/Google.Cloud.Notebooks.V2/latest/Google.Cloud.Notebooks.V2.ServiceAccount)\n- [1.1.0](/dotnet/docs/reference/Google.Cloud.Notebooks.V2/1.1.0/Google.Cloud.Notebooks.V2.ServiceAccount)\n- [1.0.0](/dotnet/docs/reference/Google.Cloud.Notebooks.V2/1.0.0/Google.Cloud.Notebooks.V2.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 Notebooks v2 API class ServiceAccount.\n\nA service account that acts as an identity. \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.Notebooks.V2/latest/Google.Cloud.Notebooks.V2.ServiceAccount), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[ServiceAccount](/dotnet/docs/reference/Google.Cloud.Notebooks.V2/latest/Google.Cloud.Notebooks.V2.ServiceAccount), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[ServiceAccount](/dotnet/docs/reference/Google.Cloud.Notebooks.V2/latest/Google.Cloud.Notebooks.V2.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.Notebooks.V2](/dotnet/docs/reference/Google.Cloud.Notebooks.V2/latest/Google.Cloud.Notebooks.V2)\n\nAssembly\n--------\n\nGoogle.Cloud.Notebooks.V2.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\nOptional. Email address of the service account.\n\n### Scopes\n\n public RepeatedField\u003cstring\u003e Scopes { get; }\n\nOutput only. The list of scopes to be made available for this service\naccount. Set by the CLH to \u003chttps://www.googleapis.com/auth/cloud-platform\u003e"]]