public sealed class CreateHttpRouteRequest : IMessage<CreateHttpRouteRequest>, IEquatable<CreateHttpRouteRequest>, IDeepCloneable<CreateHttpRouteRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Network Services v1 API class CreateHttpRouteRequest.
[[["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\u003e\u003ccode\u003eCreateHttpRouteRequest\u003c/code\u003e is a class in the Network Services v1 API used to create HTTP route requests, as described in the provided documentation.\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, indicating its role in message handling and data manipulation.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eCreateHttpRouteRequest\u003c/code\u003e class includes properties such as \u003ccode\u003eHttpRoute\u003c/code\u003e, \u003ccode\u003eHttpRouteId\u003c/code\u003e, \u003ccode\u003eParent\u003c/code\u003e, and \u003ccode\u003eParentAsLocationName\u003c/code\u003e, which are required to define and identify the HTTP route resource to be created.\u003c/p\u003e\n"],["\u003cp\u003eThere are two constructors available for the \u003ccode\u003eCreateHttpRouteRequest\u003c/code\u003e class, one default constructor and one that takes another \u003ccode\u003eCreateHttpRouteRequest\u003c/code\u003e object as a parameter for copying.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eCreateHttpRouteRequest\u003c/code\u003e class is located within the \u003ccode\u003eGoogle.Cloud.NetworkServices.V1\u003c/code\u003e namespace and is part of the \u003ccode\u003eGoogle.Cloud.NetworkServices.V1.dll\u003c/code\u003e assembly.\u003c/p\u003e\n"]]],[],null,["# Network Services v1 API - Class CreateHttpRouteRequest (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.CreateHttpRouteRequest)\n- [1.2.0](/dotnet/docs/reference/Google.Cloud.NetworkServices.V1/1.2.0/Google.Cloud.NetworkServices.V1.CreateHttpRouteRequest)\n- [1.1.0](/dotnet/docs/reference/Google.Cloud.NetworkServices.V1/1.1.0/Google.Cloud.NetworkServices.V1.CreateHttpRouteRequest)\n- [1.0.0](/dotnet/docs/reference/Google.Cloud.NetworkServices.V1/1.0.0/Google.Cloud.NetworkServices.V1.CreateHttpRouteRequest) \n\n public sealed class CreateHttpRouteRequest : IMessage\u003cCreateHttpRouteRequest\u003e, IEquatable\u003cCreateHttpRouteRequest\u003e, IDeepCloneable\u003cCreateHttpRouteRequest\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Network Services v1 API class CreateHttpRouteRequest.\n\nRequest used by the HttpRoute method. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e CreateHttpRouteRequest \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[CreateHttpRouteRequest](/dotnet/docs/reference/Google.Cloud.NetworkServices.V1/latest/Google.Cloud.NetworkServices.V1.CreateHttpRouteRequest), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[CreateHttpRouteRequest](/dotnet/docs/reference/Google.Cloud.NetworkServices.V1/latest/Google.Cloud.NetworkServices.V1.CreateHttpRouteRequest), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[CreateHttpRouteRequest](/dotnet/docs/reference/Google.Cloud.NetworkServices.V1/latest/Google.Cloud.NetworkServices.V1.CreateHttpRouteRequest), [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### CreateHttpRouteRequest()\n\n public CreateHttpRouteRequest()\n\n### CreateHttpRouteRequest(CreateHttpRouteRequest)\n\n public CreateHttpRouteRequest(CreateHttpRouteRequest other)\n\nProperties\n----------\n\n### HttpRoute\n\n public HttpRoute HttpRoute { get; set; }\n\nRequired. HttpRoute resource to be created.\n\n### HttpRouteId\n\n public string HttpRouteId { get; set; }\n\nRequired. Short name of the HttpRoute resource to be created.\n\n### Parent\n\n public string Parent { get; set; }\n\nRequired. The parent resource of the HttpRoute. 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.CreateHttpRouteRequest#Google_Cloud_NetworkServices_V1_CreateHttpRouteRequest_Parent) resource name property."]]