public sealed class CreateTcpRouteRequest : IMessage<CreateTcpRouteRequest>, IEquatable<CreateTcpRouteRequest>, IDeepCloneable<CreateTcpRouteRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Network Services v1 API class CreateTcpRouteRequest.
[[["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\u003eThe \u003ccode\u003eCreateTcpRouteRequest\u003c/code\u003e class is part of the Network Services v1 API, used to define requests for creating a TcpRoute resource.\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, offering functionality for message handling, equality checks, cloning, and buffer manipulation.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eCreateTcpRouteRequest\u003c/code\u003e instances are constructed either as a new object, or by copying the values from another \u003ccode\u003eCreateTcpRouteRequest\u003c/code\u003e object.\u003c/p\u003e\n"],["\u003cp\u003eKey properties of the \u003ccode\u003eCreateTcpRouteRequest\u003c/code\u003e include \u003ccode\u003eParent\u003c/code\u003e (the location for the new TcpRoute), \u003ccode\u003eParentAsLocationName\u003c/code\u003e (a type-safe view over the location name), \u003ccode\u003eTcpRoute\u003c/code\u003e (the resource to create), and \u003ccode\u003eTcpRouteId\u003c/code\u003e (a short name for the new resource).\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eCreateTcpRouteRequest\u003c/code\u003e class is located in the \u003ccode\u003eGoogle.Cloud.NetworkServices.V1\u003c/code\u003e namespace, within the \u003ccode\u003eGoogle.Cloud.NetworkServices.V1.dll\u003c/code\u003e assembly.\u003c/p\u003e\n"]]],[],null,["# Network Services v1 API - Class CreateTcpRouteRequest (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.CreateTcpRouteRequest)\n- [1.2.0](/dotnet/docs/reference/Google.Cloud.NetworkServices.V1/1.2.0/Google.Cloud.NetworkServices.V1.CreateTcpRouteRequest)\n- [1.1.0](/dotnet/docs/reference/Google.Cloud.NetworkServices.V1/1.1.0/Google.Cloud.NetworkServices.V1.CreateTcpRouteRequest)\n- [1.0.0](/dotnet/docs/reference/Google.Cloud.NetworkServices.V1/1.0.0/Google.Cloud.NetworkServices.V1.CreateTcpRouteRequest) \n\n public sealed class CreateTcpRouteRequest : IMessage\u003cCreateTcpRouteRequest\u003e, IEquatable\u003cCreateTcpRouteRequest\u003e, IDeepCloneable\u003cCreateTcpRouteRequest\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Network Services v1 API class CreateTcpRouteRequest.\n\nRequest used by the TcpRoute method. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e CreateTcpRouteRequest \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[CreateTcpRouteRequest](/dotnet/docs/reference/Google.Cloud.NetworkServices.V1/latest/Google.Cloud.NetworkServices.V1.CreateTcpRouteRequest), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[CreateTcpRouteRequest](/dotnet/docs/reference/Google.Cloud.NetworkServices.V1/latest/Google.Cloud.NetworkServices.V1.CreateTcpRouteRequest), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[CreateTcpRouteRequest](/dotnet/docs/reference/Google.Cloud.NetworkServices.V1/latest/Google.Cloud.NetworkServices.V1.CreateTcpRouteRequest), [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### CreateTcpRouteRequest()\n\n public CreateTcpRouteRequest()\n\n### CreateTcpRouteRequest(CreateTcpRouteRequest)\n\n public CreateTcpRouteRequest(CreateTcpRouteRequest other)\n\nProperties\n----------\n\n### Parent\n\n public string Parent { get; set; }\n\nRequired. The parent resource of the TcpRoute. Must be in the\nformat `projects/*/locations/global`.\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.CreateTcpRouteRequest#Google_Cloud_NetworkServices_V1_CreateTcpRouteRequest_Parent) resource name property.\n\n### TcpRoute\n\n public TcpRoute TcpRoute { get; set; }\n\nRequired. TcpRoute resource to be created.\n\n### TcpRouteId\n\n public string TcpRouteId { get; set; }\n\nRequired. Short name of the TcpRoute resource to be created."]]