public sealed class GetServiceAccountRequest : IMessage<GetServiceAccountRequest>, IEquatable<GetServiceAccountRequest>, IDeepCloneable<GetServiceAccountRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud Security Command Center Settings v1beta1 API class GetServiceAccountRequest.
[[["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 provides details for the \u003ccode\u003eGetServiceAccountRequest\u003c/code\u003e class within the Google Cloud Security Command Center Settings v1beta1 API.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eGetServiceAccountRequest\u003c/code\u003e is a request message used for retrieving a service account, implementing interfaces like \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 class includes constructors for creating instances and properties like \u003ccode\u003eName\u003c/code\u003e (a string representing the service account's resource name) and \u003ccode\u003eServiceAccountName\u003c/code\u003e (a typed view over the \u003ccode\u003eName\u003c/code\u003e property).\u003c/p\u003e\n"],["\u003cp\u003eThe latest version available for this class is 2.0.0-beta04, with previous versions including 2.0.0-beta03 and 1.0.0-beta04.\u003c/p\u003e\n"],["\u003cp\u003eThe class inherits from \u003ccode\u003eobject\u003c/code\u003e and includes inherited members such as \u003ccode\u003eGetHashCode()\u003c/code\u003e, \u003ccode\u003eGetType()\u003c/code\u003e, and \u003ccode\u003eToString()\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,["# Google Cloud Security Command Center Settings v1beta1 API - Class GetServiceAccountRequest (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.GetServiceAccountRequest)\n- [2.0.0-beta03](/dotnet/docs/reference/Google.Cloud.SecurityCenter.Settings.V1Beta1/2.0.0-beta03/Google.Cloud.SecurityCenter.Settings.V1Beta1.GetServiceAccountRequest)\n- [1.0.0-beta04](/dotnet/docs/reference/Google.Cloud.SecurityCenter.Settings.V1Beta1/1.0.0-beta04/Google.Cloud.SecurityCenter.Settings.V1Beta1.GetServiceAccountRequest) \n\n public sealed class GetServiceAccountRequest : IMessage\u003cGetServiceAccountRequest\u003e, IEquatable\u003cGetServiceAccountRequest\u003e, IDeepCloneable\u003cGetServiceAccountRequest\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Google Cloud Security Command Center Settings v1beta1 API class GetServiceAccountRequest.\n\nRequest message for GetServiceAccount. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e GetServiceAccountRequest \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[GetServiceAccountRequest](/dotnet/docs/reference/Google.Cloud.SecurityCenter.Settings.V1Beta1/latest/Google.Cloud.SecurityCenter.Settings.V1Beta1.GetServiceAccountRequest), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[GetServiceAccountRequest](/dotnet/docs/reference/Google.Cloud.SecurityCenter.Settings.V1Beta1/latest/Google.Cloud.SecurityCenter.Settings.V1Beta1.GetServiceAccountRequest), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[GetServiceAccountRequest](/dotnet/docs/reference/Google.Cloud.SecurityCenter.Settings.V1Beta1/latest/Google.Cloud.SecurityCenter.Settings.V1Beta1.GetServiceAccountRequest), [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### GetServiceAccountRequest()\n\n public GetServiceAccountRequest()\n\n### GetServiceAccountRequest(GetServiceAccountRequest)\n\n public GetServiceAccountRequest(GetServiceAccountRequest other)\n\nProperties\n----------\n\n### Name\n\n public string Name { get; set; }\n\nRequired. The 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.GetServiceAccountRequest#Google_Cloud_SecurityCenter_Settings_V1Beta1_GetServiceAccountRequest_Name) resource name property."]]