public sealed class CreateRealmRequest : IMessage<CreateRealmRequest>, IEquatable<CreateRealmRequest>, IDeepCloneable<CreateRealmRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Game Services v1 API class CreateRealmRequest.
[[["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\u003eCreateRealmRequest\u003c/code\u003e class is part of the Game Services v1 API and is used to define the request message for creating a new realm.\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, providing functionalities for message handling, comparison, cloning, and buffered operations.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version available is 2.2.0, and the documented API provides functionality for the creation of realms through the \u003ccode\u003eCreateRealmRequest\u003c/code\u003e class.\u003c/p\u003e\n"],["\u003cp\u003eKey properties for \u003ccode\u003eCreateRealmRequest\u003c/code\u003e include \u003ccode\u003eParent\u003c/code\u003e, which specifies the parent location for the realm, \u003ccode\u003eRealm\u003c/code\u003e, which contains the details of the realm to be created, and \u003ccode\u003eRealmId\u003c/code\u003e, which is the identifier for the new realm.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eCreateRealmRequest\u003c/code\u003e class has two constructors, one default constructor that takes no parameters and one that takes another \u003ccode\u003eCreateRealmRequest\u003c/code\u003e as a parameter, and it inherits methods like \u003ccode\u003eGetHashCode()\u003c/code\u003e, \u003ccode\u003eGetType()\u003c/code\u003e, and \u003ccode\u003eToString()\u003c/code\u003e from the base \u003ccode\u003eobject\u003c/code\u003e class.\u003c/p\u003e\n"]]],[],null,["# Game Services v1 API - Class CreateRealmRequest (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.CreateRealmRequest)\n- [2.1.0](/dotnet/docs/reference/Google.Cloud.Gaming.V1/2.1.0/Google.Cloud.Gaming.V1.CreateRealmRequest)\n- [2.0.0](/dotnet/docs/reference/Google.Cloud.Gaming.V1/2.0.0/Google.Cloud.Gaming.V1.CreateRealmRequest)\n- [1.4.0](/dotnet/docs/reference/Google.Cloud.Gaming.V1/1.4.0/Google.Cloud.Gaming.V1.CreateRealmRequest)\n- [1.3.0](/dotnet/docs/reference/Google.Cloud.Gaming.V1/1.3.0/Google.Cloud.Gaming.V1.CreateRealmRequest)\n- [1.2.0](/dotnet/docs/reference/Google.Cloud.Gaming.V1/1.2.0/Google.Cloud.Gaming.V1.CreateRealmRequest)\n- [1.1.0](/dotnet/docs/reference/Google.Cloud.Gaming.V1/1.1.0/Google.Cloud.Gaming.V1.CreateRealmRequest) \n\n public sealed class CreateRealmRequest : IMessage\u003cCreateRealmRequest\u003e, IEquatable\u003cCreateRealmRequest\u003e, IDeepCloneable\u003cCreateRealmRequest\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Game Services v1 API class CreateRealmRequest.\n\nRequest message for RealmsService.CreateRealm. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e CreateRealmRequest \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[CreateRealmRequest](/dotnet/docs/reference/Google.Cloud.Gaming.V1/latest/Google.Cloud.Gaming.V1.CreateRealmRequest), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[CreateRealmRequest](/dotnet/docs/reference/Google.Cloud.Gaming.V1/latest/Google.Cloud.Gaming.V1.CreateRealmRequest), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[CreateRealmRequest](/dotnet/docs/reference/Google.Cloud.Gaming.V1/latest/Google.Cloud.Gaming.V1.CreateRealmRequest), [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### CreateRealmRequest()\n\n public CreateRealmRequest()\n\n### CreateRealmRequest(CreateRealmRequest)\n\n public CreateRealmRequest(CreateRealmRequest other)\n\nProperties\n----------\n\n### Parent\n\n public string Parent { get; set; }\n\nRequired. The parent resource name, in the following form:\n`projects/{project}/locations/{location}`.\n\n### ParentAsLocationName\n\n public LocationName ParentAsLocationName { get; set; }\n\n[LocationName](https://github.com/googleapis/gax-dotnet/blob/6f2d3e64dd92f0f7a4f02a7db56cf6ed409615f2/Google.Api.Gax/ResourceNames/LocationName.cs)-typed view over the [Parent](/dotnet/docs/reference/Google.Cloud.Gaming.V1/latest/Google.Cloud.Gaming.V1.CreateRealmRequest#Google_Cloud_Gaming_V1_CreateRealmRequest_Parent) resource name property.\n\n### Realm\n\n public Realm Realm { get; set; }\n\nRequired. The realm resource to be created.\n\n### RealmId\n\n public string RealmId { get; set; }\n\nRequired. The ID of the realm resource to be created."]]