public sealed class PreviewCreateGameServerClusterRequest : IMessage<PreviewCreateGameServerClusterRequest>, IEquatable<PreviewCreateGameServerClusterRequest>, IDeepCloneable<PreviewCreateGameServerClusterRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Game Services v1 API class PreviewCreateGameServerClusterRequest.
Request message for GameServerClustersService.PreviewCreateGameServerCluster.
[[["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 latest version of the \u003ccode\u003ePreviewCreateGameServerClusterRequest\u003c/code\u003e class is 2.2.0, with previous versions ranging from 2.1.0 down to 1.1.0.\u003c/p\u003e\n"],["\u003cp\u003eThis class is used to send a request to preview the creation of a game server cluster via the \u003ccode\u003eGameServerClustersService.PreviewCreateGameServerCluster\u003c/code\u003e method.\u003c/p\u003e\n"],["\u003cp\u003eIt inherits from \u003ccode\u003eobject\u003c/code\u003e and implements multiple interfaces, including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, making it a versatile data transfer object.\u003c/p\u003e\n"],["\u003cp\u003eThe class includes properties like \u003ccode\u003eGameServerCluster\u003c/code\u003e, \u003ccode\u003eGameServerClusterId\u003c/code\u003e, and \u003ccode\u003eParent\u003c/code\u003e, which are crucial for defining the new game server cluster and its location.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003ePreviewCreateGameServerClusterRequest\u003c/code\u003e objects can be constructed either with default settings or by cloning an existing instance, and it also includes a \u003ccode\u003eView\u003c/code\u003e property, although it is deprecated.\u003c/p\u003e\n"]]],[],null,["# Game Services v1 API - Class PreviewCreateGameServerClusterRequest (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.PreviewCreateGameServerClusterRequest)\n- [2.1.0](/dotnet/docs/reference/Google.Cloud.Gaming.V1/2.1.0/Google.Cloud.Gaming.V1.PreviewCreateGameServerClusterRequest)\n- [2.0.0](/dotnet/docs/reference/Google.Cloud.Gaming.V1/2.0.0/Google.Cloud.Gaming.V1.PreviewCreateGameServerClusterRequest)\n- [1.4.0](/dotnet/docs/reference/Google.Cloud.Gaming.V1/1.4.0/Google.Cloud.Gaming.V1.PreviewCreateGameServerClusterRequest)\n- [1.3.0](/dotnet/docs/reference/Google.Cloud.Gaming.V1/1.3.0/Google.Cloud.Gaming.V1.PreviewCreateGameServerClusterRequest)\n- [1.2.0](/dotnet/docs/reference/Google.Cloud.Gaming.V1/1.2.0/Google.Cloud.Gaming.V1.PreviewCreateGameServerClusterRequest)\n- [1.1.0](/dotnet/docs/reference/Google.Cloud.Gaming.V1/1.1.0/Google.Cloud.Gaming.V1.PreviewCreateGameServerClusterRequest) \n\n public sealed class PreviewCreateGameServerClusterRequest : IMessage\u003cPreviewCreateGameServerClusterRequest\u003e, IEquatable\u003cPreviewCreateGameServerClusterRequest\u003e, IDeepCloneable\u003cPreviewCreateGameServerClusterRequest\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Game Services v1 API class PreviewCreateGameServerClusterRequest.\n\nRequest message for GameServerClustersService.PreviewCreateGameServerCluster. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e PreviewCreateGameServerClusterRequest \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[PreviewCreateGameServerClusterRequest](/dotnet/docs/reference/Google.Cloud.Gaming.V1/latest/Google.Cloud.Gaming.V1.PreviewCreateGameServerClusterRequest), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[PreviewCreateGameServerClusterRequest](/dotnet/docs/reference/Google.Cloud.Gaming.V1/latest/Google.Cloud.Gaming.V1.PreviewCreateGameServerClusterRequest), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[PreviewCreateGameServerClusterRequest](/dotnet/docs/reference/Google.Cloud.Gaming.V1/latest/Google.Cloud.Gaming.V1.PreviewCreateGameServerClusterRequest), [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### PreviewCreateGameServerClusterRequest()\n\n public PreviewCreateGameServerClusterRequest()\n\n### PreviewCreateGameServerClusterRequest(PreviewCreateGameServerClusterRequest)\n\n public PreviewCreateGameServerClusterRequest(PreviewCreateGameServerClusterRequest other)\n\nProperties\n----------\n\n### GameServerCluster\n\n public GameServerCluster GameServerCluster { get; set; }\n\nRequired. The game server cluster resource to be created.\n\n### GameServerClusterId\n\n public string GameServerClusterId { get; set; }\n\nRequired. The ID of the game server cluster resource to be created.\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}/realms/{realm}`.\n\n### ParentAsRealmName\n\n public RealmName ParentAsRealmName { get; set; }\n\n[RealmName](/dotnet/docs/reference/Google.Cloud.Gaming.V1/latest/Google.Cloud.Gaming.V1.RealmName)-typed view over the [Parent](/dotnet/docs/reference/Google.Cloud.Gaming.V1/latest/Google.Cloud.Gaming.V1.PreviewCreateGameServerClusterRequest#Google_Cloud_Gaming_V1_PreviewCreateGameServerClusterRequest_Parent) resource name property.\n\n### PreviewTime\n\n public Timestamp PreviewTime { get; set; }\n\nOptional. The target timestamp to compute the preview.\n\n### View\n\n [Obsolete]\n public GameServerClusterView View { get; set; }\n\nOptional. This field is deprecated, preview will always return\nKubernetesClusterState."]]