public sealed class GetRealmRequest : IMessage<GetRealmRequest>, IEquatable<GetRealmRequest>, IDeepCloneable<GetRealmRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Game Services v1 API class GetRealmRequest.
[[["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-09-04 UTC."],[[["\u003cp\u003eThe \u003ccode\u003eGetRealmRequest\u003c/code\u003e class is part of the Game Services v1 API and is used to request information about a specific realm.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of this class is 2.2.0, with older versions available, including 2.1.0, 2.0.0, 1.4.0, 1.3.0, 1.2.0, and 1.1.0.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eGetRealmRequest\u003c/code\u003e 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 members from \u003ccode\u003eobject\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eName\u003c/code\u003e property, which is required, and \u003ccode\u003eRealmName\u003c/code\u003e, provide access to the realm's name in string or \u003ccode\u003eRealmName\u003c/code\u003e type.\u003c/p\u003e\n"],["\u003cp\u003eThe class has two constructors, one default and one that accepts another \u003ccode\u003eGetRealmRequest\u003c/code\u003e object for initialization.\u003c/p\u003e\n"]]],[],null,["# Game Services v1 API - Class GetRealmRequest (2.2.0)\n\nVersion latestkeyboard_arrow_down\n\n- [2.2.0 (latest)](/dotnet/docs/reference/Google.Cloud.Gaming.V1/latest/Google.Cloud.Gaming.V1.GetRealmRequest)\n- [2.1.0](/dotnet/docs/reference/Google.Cloud.Gaming.V1/2.1.0/Google.Cloud.Gaming.V1.GetRealmRequest)\n- [2.0.0](/dotnet/docs/reference/Google.Cloud.Gaming.V1/2.0.0/Google.Cloud.Gaming.V1.GetRealmRequest)\n- [1.4.0](/dotnet/docs/reference/Google.Cloud.Gaming.V1/1.4.0/Google.Cloud.Gaming.V1.GetRealmRequest)\n- [1.3.0](/dotnet/docs/reference/Google.Cloud.Gaming.V1/1.3.0/Google.Cloud.Gaming.V1.GetRealmRequest)\n- [1.2.0](/dotnet/docs/reference/Google.Cloud.Gaming.V1/1.2.0/Google.Cloud.Gaming.V1.GetRealmRequest)\n- [1.1.0](/dotnet/docs/reference/Google.Cloud.Gaming.V1/1.1.0/Google.Cloud.Gaming.V1.GetRealmRequest) \n\n public sealed class GetRealmRequest : IMessage\u003cGetRealmRequest\u003e, IEquatable\u003cGetRealmRequest\u003e, IDeepCloneable\u003cGetRealmRequest\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Game Services v1 API class GetRealmRequest.\n\nRequest message for RealmsService.GetRealm. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e GetRealmRequest \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[GetRealmRequest](/dotnet/docs/reference/Google.Cloud.Gaming.V1/latest/Google.Cloud.Gaming.V1.GetRealmRequest), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[GetRealmRequest](/dotnet/docs/reference/Google.Cloud.Gaming.V1/latest/Google.Cloud.Gaming.V1.GetRealmRequest), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[GetRealmRequest](/dotnet/docs/reference/Google.Cloud.Gaming.V1/latest/Google.Cloud.Gaming.V1.GetRealmRequest), [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.Gaming.V1](/dotnet/docs/reference/Google.Cloud.Gaming.V1/latest/Google.Cloud.Gaming.V1)\n\nAssembly\n--------\n\nGoogle.Cloud.Gaming.V1.dll\n\nConstructors\n------------\n\n### GetRealmRequest()\n\n public GetRealmRequest()\n\n### GetRealmRequest(GetRealmRequest)\n\n public GetRealmRequest(GetRealmRequest other)\n\nProperties\n----------\n\n### Name\n\n public string Name { get; set; }\n\nRequired. The name of the realm to retrieve, in the following form:\n`projects/{project}/locations/{location}/realms/{realm}`.\n\n### RealmName\n\n public RealmName RealmName { get; set; }\n\n[RealmName](/dotnet/docs/reference/Google.Cloud.Gaming.V1/latest/Google.Cloud.Gaming.V1.RealmName)-typed view over the [Name](/dotnet/docs/reference/Google.Cloud.Gaming.V1/latest/Google.Cloud.Gaming.V1.GetRealmRequest#Google_Cloud_Gaming_V1_GetRealmRequest_Name) resource name property."]]