public sealed class GetSpokeRequest : IMessage<GetSpokeRequest>, IEquatable<GetSpokeRequest>, IDeepCloneable<GetSpokeRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Network Connectivity v1alpha1 API class GetSpokeRequest.
The request for [HubService.GetSpoke][google.cloud.networkconnectivity.v1alpha1.HubService.GetSpoke].
[[["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 latest version of the \u003ccode\u003eGetSpokeRequest\u003c/code\u003e class is \u003ccode\u003e2.0.0-alpha04\u003c/code\u003e, which is part of the Network Connectivity v1alpha1 API.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eGetSpokeRequest\u003c/code\u003e is a sealed class used to request a specific spoke via the \u003ccode\u003eHubService.GetSpoke\u003c/code\u003e method, implementing interfaces like \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThis class includes properties such as \u003ccode\u003eName\u003c/code\u003e (a string representing the Spoke resource name) and \u003ccode\u003eSpokeName\u003c/code\u003e (a \u003ccode\u003eSpokeName\u003c/code\u003e-typed view over the resource name).\u003c/p\u003e\n"],["\u003cp\u003eThe class inherits members from the \u003ccode\u003eobject\u003c/code\u003e class, such as \u003ccode\u003eGetHashCode()\u003c/code\u003e, \u003ccode\u003eGetType()\u003c/code\u003e, and \u003ccode\u003eToString()\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eConstructors are available for creating a new \u003ccode\u003eGetSpokeRequest\u003c/code\u003e instance or cloning an existing one.\u003c/p\u003e\n"]]],[],null,["# Network Connectivity v1alpha1 API - Class GetSpokeRequest (2.0.0-alpha04)\n\nVersion latestkeyboard_arrow_down\n\n- [2.0.0-alpha04 (latest)](/dotnet/docs/reference/Google.Cloud.NetworkConnectivity.V1Alpha1/latest/Google.Cloud.NetworkConnectivity.V1Alpha1.GetSpokeRequest)\n- [2.0.0-alpha03](/dotnet/docs/reference/Google.Cloud.NetworkConnectivity.V1Alpha1/2.0.0-alpha03/Google.Cloud.NetworkConnectivity.V1Alpha1.GetSpokeRequest)\n- [1.0.0-alpha03](/dotnet/docs/reference/Google.Cloud.NetworkConnectivity.V1Alpha1/1.0.0-alpha03/Google.Cloud.NetworkConnectivity.V1Alpha1.GetSpokeRequest) \n\n public sealed class GetSpokeRequest : IMessage\u003cGetSpokeRequest\u003e, IEquatable\u003cGetSpokeRequest\u003e, IDeepCloneable\u003cGetSpokeRequest\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Network Connectivity v1alpha1 API class GetSpokeRequest.\n\nThe request for \\[HubService.GetSpoke\\]\\[google.cloud.networkconnectivity.v1alpha1.HubService.GetSpoke\\]. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e GetSpokeRequest \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[GetSpokeRequest](/dotnet/docs/reference/Google.Cloud.NetworkConnectivity.V1Alpha1/latest/Google.Cloud.NetworkConnectivity.V1Alpha1.GetSpokeRequest), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[GetSpokeRequest](/dotnet/docs/reference/Google.Cloud.NetworkConnectivity.V1Alpha1/latest/Google.Cloud.NetworkConnectivity.V1Alpha1.GetSpokeRequest), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[GetSpokeRequest](/dotnet/docs/reference/Google.Cloud.NetworkConnectivity.V1Alpha1/latest/Google.Cloud.NetworkConnectivity.V1Alpha1.GetSpokeRequest), [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.NetworkConnectivity.V1Alpha1](/dotnet/docs/reference/Google.Cloud.NetworkConnectivity.V1Alpha1/latest/Google.Cloud.NetworkConnectivity.V1Alpha1)\n\nAssembly\n--------\n\nGoogle.Cloud.NetworkConnectivity.V1Alpha1.dll\n\nConstructors\n------------\n\n### GetSpokeRequest()\n\n public GetSpokeRequest()\n\n### GetSpokeRequest(GetSpokeRequest)\n\n public GetSpokeRequest(GetSpokeRequest other)\n\nProperties\n----------\n\n### Name\n\n public string Name { get; set; }\n\nRequired. The name of Spoke resource.\n\n### SpokeName\n\n public SpokeName SpokeName { get; set; }\n\n[SpokeName](/dotnet/docs/reference/Google.Cloud.NetworkConnectivity.V1Alpha1/latest/Google.Cloud.NetworkConnectivity.V1Alpha1.SpokeName)-typed view over the [Name](/dotnet/docs/reference/Google.Cloud.NetworkConnectivity.V1Alpha1/latest/Google.Cloud.NetworkConnectivity.V1Alpha1.GetSpokeRequest#Google_Cloud_NetworkConnectivity_V1Alpha1_GetSpokeRequest_Name) resource name property."]]