public sealed class CreateRealmRequest : IMessage<CreateRealmRequest>, IEquatable<CreateRealmRequest>, IDeepCloneable<CreateRealmRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud for Games v1beta 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 Google Cloud for Games v1beta API, designed to handle requests for creating a 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, enabling message handling, equality checks, deep cloning, and buffer message support.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eCreateRealmRequest\u003c/code\u003e has properties for \u003ccode\u003eParent\u003c/code\u003e, \u003ccode\u003eParentAsLocationName\u003c/code\u003e, \u003ccode\u003eRealm\u003c/code\u003e, and \u003ccode\u003eRealmId\u003c/code\u003e, which are essential for specifying the location, and details of the realm to be created.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of this class is 2.0.0-beta03, and prior versions such as 2.0.0-beta02 and 1.0.0-beta09 are available as well.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eCreateRealmRequest\u003c/code\u003e class contains two constructors, one default and another to clone from another \u003ccode\u003eCreateRealmRequest\u003c/code\u003e object.\u003c/p\u003e\n"]]],[],null,["# Google Cloud for Games v1beta API - Class CreateRealmRequest (2.0.0-beta03)\n\nVersion latestkeyboard_arrow_down\n\n- [2.0.0-beta03 (latest)](/dotnet/docs/reference/Google.Cloud.Gaming.V1Beta/latest/Google.Cloud.Gaming.V1Beta.CreateRealmRequest)\n- [2.0.0-beta02](/dotnet/docs/reference/Google.Cloud.Gaming.V1Beta/2.0.0-beta02/Google.Cloud.Gaming.V1Beta.CreateRealmRequest)\n- [1.0.0-beta09](/dotnet/docs/reference/Google.Cloud.Gaming.V1Beta/1.0.0-beta09/Google.Cloud.Gaming.V1Beta.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 Google Cloud for Games v1beta 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.V1Beta/latest/Google.Cloud.Gaming.V1Beta.CreateRealmRequest), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[CreateRealmRequest](/dotnet/docs/reference/Google.Cloud.Gaming.V1Beta/latest/Google.Cloud.Gaming.V1Beta.CreateRealmRequest), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[CreateRealmRequest](/dotnet/docs/reference/Google.Cloud.Gaming.V1Beta/latest/Google.Cloud.Gaming.V1Beta.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.V1Beta](/dotnet/docs/reference/Google.Cloud.Gaming.V1Beta/latest/Google.Cloud.Gaming.V1Beta)\n\nAssembly\n--------\n\nGoogle.Cloud.Gaming.V1Beta.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. Uses the 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.V1Beta/latest/Google.Cloud.Gaming.V1Beta.CreateRealmRequest#Google_Cloud_Gaming_V1Beta_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."]]