Security Center managed service account for the organization
example service-org-1234@scc.iam.gserviceaccount.com
This service_account will be stored in the ComponentSettings field for the
SCC, SHA, and Infra Automation components.
[[["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 \u003ccode\u003eServiceAccount\u003c/code\u003e class in the Google Cloud Security Command Center Settings v1beta1 API represents an organization-level service account used by threat detection components.\u003c/p\u003e\n"],["\u003cp\u003eThis class 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, and inherits from the base \u003ccode\u003eobject\u003c/code\u003e class.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of this API class is \u003ccode\u003e2.0.0-beta04\u003c/code\u003e, which is documented alongside previous versions such as \u003ccode\u003e2.0.0-beta03\u003c/code\u003e and \u003ccode\u003e1.0.0-beta04\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eServiceAccount\u003c/code\u003e class has properties like \u003ccode\u003eName\u003c/code\u003e, \u003ccode\u003eServiceAccountName\u003c/code\u003e, and \u003ccode\u003eServiceAccount_\u003c/code\u003e for managing the service account's details, including its resource name and the managed service account string.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eServiceAccount\u003c/code\u003e class offers two constructors, one default and one for cloning from an existing \u003ccode\u003eServiceAccount\u003c/code\u003e object.\u003c/p\u003e\n"]]],[],null,["# Google Cloud Security Command Center Settings v1beta1 API - Class ServiceAccount (2.0.0-beta04)\n\nVersion latestkeyboard_arrow_down\n\n- [2.0.0-beta04 (latest)](/dotnet/docs/reference/Google.Cloud.SecurityCenter.Settings.V1Beta1/latest/Google.Cloud.SecurityCenter.Settings.V1Beta1.ServiceAccount)\n- [2.0.0-beta03](/dotnet/docs/reference/Google.Cloud.SecurityCenter.Settings.V1Beta1/2.0.0-beta03/Google.Cloud.SecurityCenter.Settings.V1Beta1.ServiceAccount)\n- [1.0.0-beta04](/dotnet/docs/reference/Google.Cloud.SecurityCenter.Settings.V1Beta1/1.0.0-beta04/Google.Cloud.SecurityCenter.Settings.V1Beta1.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 Google Cloud Security Command Center Settings v1beta1 API class ServiceAccount.\n\nAn organization-level service account to be used by threat detection\ncomponents. \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.SecurityCenter.Settings.V1Beta1/latest/Google.Cloud.SecurityCenter.Settings.V1Beta1.ServiceAccount), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[ServiceAccount](/dotnet/docs/reference/Google.Cloud.SecurityCenter.Settings.V1Beta1/latest/Google.Cloud.SecurityCenter.Settings.V1Beta1.ServiceAccount), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[ServiceAccount](/dotnet/docs/reference/Google.Cloud.SecurityCenter.Settings.V1Beta1/latest/Google.Cloud.SecurityCenter.Settings.V1Beta1.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.SecurityCenter.Settings.V1Beta1](/dotnet/docs/reference/Google.Cloud.SecurityCenter.Settings.V1Beta1/latest/Google.Cloud.SecurityCenter.Settings.V1Beta1)\n\nAssembly\n--------\n\nGoogle.Cloud.SecurityCenter.Settings.V1Beta1.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### Name\n\n public string Name { get; set; }\n\nThe relative resource name of the service account resource.\nFormat:\n\n- `organizations/{organization}/serviceAccount`\n\n### ServiceAccountName\n\n public ServiceAccountName ServiceAccountName { get; set; }\n\n[ServiceAccountName](/dotnet/docs/reference/Google.Cloud.SecurityCenter.Settings.V1Beta1/latest/Google.Cloud.SecurityCenter.Settings.V1Beta1.ServiceAccountName)-typed view over the [Name](/dotnet/docs/reference/Google.Cloud.SecurityCenter.Settings.V1Beta1/latest/Google.Cloud.SecurityCenter.Settings.V1Beta1.ServiceAccount#Google_Cloud_SecurityCenter_Settings_V1Beta1_ServiceAccount_Name) resource name property.\n\n### ServiceAccount_\n\n public string ServiceAccount_ { get; set; }\n\nSecurity Center managed service account for the organization\nexample service-org-1234@scc.iam.gserviceaccount.com\nThis service_account will be stored in the ComponentSettings field for the\nSCC, SHA, and Infra Automation components."]]