[[["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-08-28 UTC."],[],[],null,["# Network Services V1 API - Class Google::Cloud::NetworkServices::V1::CreateGrpcRouteRequest (v2.4.0)\n\nVersion latestkeyboard_arrow_down\n\n- [2.4.0 (latest)](/ruby/docs/reference/google-cloud-network_services-v1/latest/Google-Cloud-NetworkServices-V1-CreateGrpcRouteRequest)\n- [2.3.0](/ruby/docs/reference/google-cloud-network_services-v1/2.3.0/Google-Cloud-NetworkServices-V1-CreateGrpcRouteRequest)\n- [2.2.0](/ruby/docs/reference/google-cloud-network_services-v1/2.2.0/Google-Cloud-NetworkServices-V1-CreateGrpcRouteRequest)\n- [2.1.0](/ruby/docs/reference/google-cloud-network_services-v1/2.1.0/Google-Cloud-NetworkServices-V1-CreateGrpcRouteRequest)\n- [2.0.1](/ruby/docs/reference/google-cloud-network_services-v1/2.0.1/Google-Cloud-NetworkServices-V1-CreateGrpcRouteRequest)\n- [1.2.0](/ruby/docs/reference/google-cloud-network_services-v1/1.2.0/Google-Cloud-NetworkServices-V1-CreateGrpcRouteRequest)\n- [1.1.0](/ruby/docs/reference/google-cloud-network_services-v1/1.1.0/Google-Cloud-NetworkServices-V1-CreateGrpcRouteRequest)\n- [1.0.1](/ruby/docs/reference/google-cloud-network_services-v1/1.0.1/Google-Cloud-NetworkServices-V1-CreateGrpcRouteRequest)\n- [0.2.0](/ruby/docs/reference/google-cloud-network_services-v1/0.2.0/Google-Cloud-NetworkServices-V1-CreateGrpcRouteRequest)\n- [0.1.0](/ruby/docs/reference/google-cloud-network_services-v1/0.1.0/Google-Cloud-NetworkServices-V1-CreateGrpcRouteRequest) \nReference documentation and code samples for the Network Services V1 API class Google::Cloud::NetworkServices::V1::CreateGrpcRouteRequest.\n\nRequest used by the CreateGrpcRoute method. \n\nInherits\n--------\n\n- Object \n\nExtended By\n-----------\n\n- Google::Protobuf::MessageExts::ClassMethods \n\nIncludes\n--------\n\n- Google::Protobuf::MessageExts\n\nMethods\n-------\n\n### #grpc_route\n\n def grpc_route() -\u003e ::Google::Cloud::NetworkServices::V1::GrpcRoute\n\n**Returns**\n\n- ([::Google::Cloud::NetworkServices::V1::GrpcRoute](./Google-Cloud-NetworkServices-V1-GrpcRoute)) --- Required. GrpcRoute resource to be created.\n\n### #grpc_route=\n\n def grpc_route=(value) -\u003e ::Google::Cloud::NetworkServices::V1::GrpcRoute\n\n**Parameter**\n\n- **value** ([::Google::Cloud::NetworkServices::V1::GrpcRoute](./Google-Cloud-NetworkServices-V1-GrpcRoute)) --- Required. GrpcRoute resource to be created. \n**Returns**\n\n- ([::Google::Cloud::NetworkServices::V1::GrpcRoute](./Google-Cloud-NetworkServices-V1-GrpcRoute)) --- Required. GrpcRoute resource to be created.\n\n### #grpc_route_id\n\n def grpc_route_id() -\u003e ::String\n\n**Returns**\n\n- (::String) --- Required. Short name of the GrpcRoute resource to be created.\n\n### #grpc_route_id=\n\n def grpc_route_id=(value) -\u003e ::String\n\n**Parameter**\n\n- **value** (::String) --- Required. Short name of the GrpcRoute resource to be created. \n**Returns**\n\n- (::String) --- Required. Short name of the GrpcRoute resource to be created.\n\n### #parent\n\n def parent() -\u003e ::String\n\n**Returns**\n\n- (::String) --- Required. The parent resource of the GrpcRoute. Must be in the format `projects/*/locations/global`.\n\n### #parent=\n\n def parent=(value) -\u003e ::String\n\n**Parameter**\n\n- **value** (::String) --- Required. The parent resource of the GrpcRoute. Must be in the format `projects/*/locations/global`. \n**Returns**\n\n- (::String) --- Required. The parent resource of the GrpcRoute. Must be in the format `projects/*/locations/global`."]]