public sealed class CreateGrpcRouteRequest : IMessage<CreateGrpcRouteRequest>, IEquatable<CreateGrpcRouteRequest>, IDeepCloneable<CreateGrpcRouteRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Network Services v1 API class CreateGrpcRouteRequest.
[[["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\u003eCreateGrpcRouteRequest\u003c/code\u003e class is part of the Network Services v1 API and is used to request the creation of a new \u003ccode\u003eGrpcRoute\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThis class 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, providing functionalities for message handling, comparison, deep cloning, and buffer management.\u003c/p\u003e\n"],["\u003cp\u003eThe class includes properties for \u003ccode\u003eGrpcRoute\u003c/code\u003e, \u003ccode\u003eGrpcRouteId\u003c/code\u003e, and \u003ccode\u003eParent\u003c/code\u003e which are all required to successfully create a new GrpcRoute, with \u003ccode\u003eParent\u003c/code\u003e being a string representing a resource path in the format \u003ccode\u003eprojects/*/locations/global\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eIt also has a property \u003ccode\u003eParentAsLocationName\u003c/code\u003e that is used as a strongly-typed view over the \u003ccode\u003eParent\u003c/code\u003e resource name property using the type \u003ccode\u003eLocationName\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe class has two constructors, a default one, and another one that takes an existing \u003ccode\u003eCreateGrpcRouteRequest\u003c/code\u003e object to duplicate it.\u003c/p\u003e\n"]]],[],null,["# Network Services v1 API - Class CreateGrpcRouteRequest (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.CreateGrpcRouteRequest)\n- [1.2.0](/dotnet/docs/reference/Google.Cloud.NetworkServices.V1/1.2.0/Google.Cloud.NetworkServices.V1.CreateGrpcRouteRequest)\n- [1.1.0](/dotnet/docs/reference/Google.Cloud.NetworkServices.V1/1.1.0/Google.Cloud.NetworkServices.V1.CreateGrpcRouteRequest)\n- [1.0.0](/dotnet/docs/reference/Google.Cloud.NetworkServices.V1/1.0.0/Google.Cloud.NetworkServices.V1.CreateGrpcRouteRequest) \n\n public sealed class CreateGrpcRouteRequest : IMessage\u003cCreateGrpcRouteRequest\u003e, IEquatable\u003cCreateGrpcRouteRequest\u003e, IDeepCloneable\u003cCreateGrpcRouteRequest\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Network Services v1 API class CreateGrpcRouteRequest.\n\nRequest used by the CreateGrpcRoute method. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e CreateGrpcRouteRequest \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[CreateGrpcRouteRequest](/dotnet/docs/reference/Google.Cloud.NetworkServices.V1/latest/Google.Cloud.NetworkServices.V1.CreateGrpcRouteRequest), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[CreateGrpcRouteRequest](/dotnet/docs/reference/Google.Cloud.NetworkServices.V1/latest/Google.Cloud.NetworkServices.V1.CreateGrpcRouteRequest), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[CreateGrpcRouteRequest](/dotnet/docs/reference/Google.Cloud.NetworkServices.V1/latest/Google.Cloud.NetworkServices.V1.CreateGrpcRouteRequest), [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### CreateGrpcRouteRequest()\n\n public CreateGrpcRouteRequest()\n\n### CreateGrpcRouteRequest(CreateGrpcRouteRequest)\n\n public CreateGrpcRouteRequest(CreateGrpcRouteRequest other)\n\nProperties\n----------\n\n### GrpcRoute\n\n public GrpcRoute GrpcRoute { get; set; }\n\nRequired. GrpcRoute resource to be created.\n\n### GrpcRouteId\n\n public string GrpcRouteId { get; set; }\n\nRequired. Short name of the GrpcRoute resource to be created.\n\n### Parent\n\n public string Parent { get; set; }\n\nRequired. The parent resource of the GrpcRoute. 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.CreateGrpcRouteRequest#Google_Cloud_NetworkServices_V1_CreateGrpcRouteRequest_Parent) resource name property."]]