public sealed class CreateGatewayRequest : IMessage<CreateGatewayRequest>, IEquatable<CreateGatewayRequest>, IDeepCloneable<CreateGatewayRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Network Services v1 API class CreateGatewayRequest.
[[["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 covers the \u003ccode\u003eCreateGatewayRequest\u003c/code\u003e class, which is part of the Google Cloud Network Services v1 API.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eCreateGatewayRequest\u003c/code\u003e is used when calling the \u003ccode\u003eCreateGateway\u003c/code\u003e method, serving as the request object to initiate the creation of a gateway.\u003c/p\u003e\n"],["\u003cp\u003eThe 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, ensuring compatibility and functionality.\u003c/p\u003e\n"],["\u003cp\u003eKey properties within the \u003ccode\u003eCreateGatewayRequest\u003c/code\u003e class include \u003ccode\u003eGateway\u003c/code\u003e (the resource to be created), \u003ccode\u003eGatewayId\u003c/code\u003e (the short name), and \u003ccode\u003eParent\u003c/code\u003e (the parent resource location).\u003c/p\u003e\n"],["\u003cp\u003eThe class has two constructors, a default constructor and one which accepts another \u003ccode\u003eCreateGatewayRequest\u003c/code\u003e as a parameter, this could potentially be for cloning.\u003c/p\u003e\n"]]],[],null,["# Network Services v1 API - Class CreateGatewayRequest (1.3.0)\n\nVersion latestkeyboard_arrow_down\n\n- [1.3.0 (latest)](/dotnet/docs/reference/Google.Cloud.NetworkServices.V1/latest/Google.Cloud.NetworkServices.V1.CreateGatewayRequest)\n- [1.2.0](/dotnet/docs/reference/Google.Cloud.NetworkServices.V1/1.2.0/Google.Cloud.NetworkServices.V1.CreateGatewayRequest)\n- [1.1.0](/dotnet/docs/reference/Google.Cloud.NetworkServices.V1/1.1.0/Google.Cloud.NetworkServices.V1.CreateGatewayRequest)\n- [1.0.0](/dotnet/docs/reference/Google.Cloud.NetworkServices.V1/1.0.0/Google.Cloud.NetworkServices.V1.CreateGatewayRequest) \n\n public sealed class CreateGatewayRequest : IMessage\u003cCreateGatewayRequest\u003e, IEquatable\u003cCreateGatewayRequest\u003e, IDeepCloneable\u003cCreateGatewayRequest\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Network Services v1 API class CreateGatewayRequest.\n\nRequest used by the CreateGateway method. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e CreateGatewayRequest \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[CreateGatewayRequest](/dotnet/docs/reference/Google.Cloud.NetworkServices.V1/latest/Google.Cloud.NetworkServices.V1.CreateGatewayRequest), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[CreateGatewayRequest](/dotnet/docs/reference/Google.Cloud.NetworkServices.V1/latest/Google.Cloud.NetworkServices.V1.CreateGatewayRequest), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[CreateGatewayRequest](/dotnet/docs/reference/Google.Cloud.NetworkServices.V1/latest/Google.Cloud.NetworkServices.V1.CreateGatewayRequest), [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.NetworkServices.V1](/dotnet/docs/reference/Google.Cloud.NetworkServices.V1/latest/Google.Cloud.NetworkServices.V1)\n\nAssembly\n--------\n\nGoogle.Cloud.NetworkServices.V1.dll\n\nConstructors\n------------\n\n### CreateGatewayRequest()\n\n public CreateGatewayRequest()\n\n### CreateGatewayRequest(CreateGatewayRequest)\n\n public CreateGatewayRequest(CreateGatewayRequest other)\n\nProperties\n----------\n\n### Gateway\n\n public Gateway Gateway { get; set; }\n\nRequired. Gateway resource to be created.\n\n### GatewayId\n\n public string GatewayId { get; set; }\n\nRequired. Short name of the Gateway resource to be created.\n\n### Parent\n\n public string Parent { get; set; }\n\nRequired. The parent resource of the Gateway. Must be in the\nformat `projects/*/locations/*`.\n\n### ParentAsLocationName\n\n public LocationName ParentAsLocationName { get; set; }\n\n[LocationName](https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.ResourceNames.LocationName.html)-typed view over the [Parent](/dotnet/docs/reference/Google.Cloud.NetworkServices.V1/latest/Google.Cloud.NetworkServices.V1.CreateGatewayRequest#Google_Cloud_NetworkServices_V1_CreateGatewayRequest_Parent) resource name property."]]