public sealed class RejectHubSpokeRequest : IMessage<RejectHubSpokeRequest>, IEquatable<RejectHubSpokeRequest>, IDeepCloneable<RejectHubSpokeRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Network Connectivity v1 API class RejectHubSpokeRequest.
The request for
[HubService.RejectHubSpoke][google.cloud.networkconnectivity.v1.HubService.RejectHubSpoke].
Optional. A request ID to identify requests. Specify a unique request ID so
that if you must retry your request, the server knows to ignore the request
if it has already been completed. The server guarantees that a request
doesn't result in creation of duplicate commitments for at least 60
minutes.
For example, consider a situation where you make an initial request and
the request times out. If you make the request again with the same request
ID, the server can check to see whether the original operation
was received. If it was, the server ignores the second request. This
behavior prevents clients from mistakenly creating duplicate commitments.
The request ID must be a valid UUID, with the exception that zero UUID is
not supported (00000000-0000-0000-0000-000000000000).
[[["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-07 UTC."],[[["\u003cp\u003eThis document provides reference details for the \u003ccode\u003eRejectHubSpokeRequest\u003c/code\u003e class within the Google Cloud Network Connectivity v1 API, including its constructors, properties, inheritance, and implementations.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eRejectHubSpokeRequest\u003c/code\u003e class is used to define the request structure for rejecting a spoke from a hub, as part of the \u003ccode\u003eHubService.RejectHubSpoke\u003c/code\u003e functionality.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of the \u003ccode\u003eRejectHubSpokeRequest\u003c/code\u003e documentation is version 2.9.0, and versions from 1.0.0 up to 2.8.0 are also available as references.\u003c/p\u003e\n"],["\u003cp\u003eThe class includes properties such as \u003ccode\u003eName\u003c/code\u003e, \u003ccode\u003eSpokeUri\u003c/code\u003e, and \u003ccode\u003eDetails\u003c/code\u003e for defining the target hub and spoke, as well as for adding additional information, and also allows for the specification of a \u003ccode\u003eRequestId\u003c/code\u003e for request tracking and retries.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eRejectHubSpokeRequest\u003c/code\u003e implements multiple interfaces including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, and \u003ccode\u003eIDeepCloneable\u003c/code\u003e and inherits from object, in addition to including a view for \u003ccode\u003eHubName\u003c/code\u003e and \u003ccode\u003eSpokeName\u003c/code\u003e types, which provide name properties for the hub and spoke.\u003c/p\u003e\n"]]],[],null,["# Network Connectivity v1 API - Class RejectHubSpokeRequest (2.11.0)\n\nVersion latestkeyboard_arrow_down\n\n- [2.11.0 (latest)](/dotnet/docs/reference/Google.Cloud.NetworkConnectivity.V1/latest/Google.Cloud.NetworkConnectivity.V1.RejectHubSpokeRequest)\n- [2.10.0](/dotnet/docs/reference/Google.Cloud.NetworkConnectivity.V1/2.10.0/Google.Cloud.NetworkConnectivity.V1.RejectHubSpokeRequest)\n- [2.9.0](/dotnet/docs/reference/Google.Cloud.NetworkConnectivity.V1/2.9.0/Google.Cloud.NetworkConnectivity.V1.RejectHubSpokeRequest)\n- [2.8.0](/dotnet/docs/reference/Google.Cloud.NetworkConnectivity.V1/2.8.0/Google.Cloud.NetworkConnectivity.V1.RejectHubSpokeRequest)\n- [2.7.0](/dotnet/docs/reference/Google.Cloud.NetworkConnectivity.V1/2.7.0/Google.Cloud.NetworkConnectivity.V1.RejectHubSpokeRequest)\n- [2.6.0](/dotnet/docs/reference/Google.Cloud.NetworkConnectivity.V1/2.6.0/Google.Cloud.NetworkConnectivity.V1.RejectHubSpokeRequest)\n- [2.5.0](/dotnet/docs/reference/Google.Cloud.NetworkConnectivity.V1/2.5.0/Google.Cloud.NetworkConnectivity.V1.RejectHubSpokeRequest)\n- [2.4.0](/dotnet/docs/reference/Google.Cloud.NetworkConnectivity.V1/2.4.0/Google.Cloud.NetworkConnectivity.V1.RejectHubSpokeRequest)\n- [2.3.0](/dotnet/docs/reference/Google.Cloud.NetworkConnectivity.V1/2.3.0/Google.Cloud.NetworkConnectivity.V1.RejectHubSpokeRequest)\n- [2.2.0](/dotnet/docs/reference/Google.Cloud.NetworkConnectivity.V1/2.2.0/Google.Cloud.NetworkConnectivity.V1.RejectHubSpokeRequest)\n- [2.1.0](/dotnet/docs/reference/Google.Cloud.NetworkConnectivity.V1/2.1.0/Google.Cloud.NetworkConnectivity.V1.RejectHubSpokeRequest)\n- [2.0.0](/dotnet/docs/reference/Google.Cloud.NetworkConnectivity.V1/2.0.0/Google.Cloud.NetworkConnectivity.V1.RejectHubSpokeRequest)\n- [1.2.0](/dotnet/docs/reference/Google.Cloud.NetworkConnectivity.V1/1.2.0/Google.Cloud.NetworkConnectivity.V1.RejectHubSpokeRequest)\n- [1.1.0](/dotnet/docs/reference/Google.Cloud.NetworkConnectivity.V1/1.1.0/Google.Cloud.NetworkConnectivity.V1.RejectHubSpokeRequest)\n- [1.0.0](/dotnet/docs/reference/Google.Cloud.NetworkConnectivity.V1/1.0.0/Google.Cloud.NetworkConnectivity.V1.RejectHubSpokeRequest) \n\n public sealed class RejectHubSpokeRequest : IMessage\u003cRejectHubSpokeRequest\u003e, IEquatable\u003cRejectHubSpokeRequest\u003e, IDeepCloneable\u003cRejectHubSpokeRequest\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Network Connectivity v1 API class RejectHubSpokeRequest.\n\nThe request for\n\\[HubService.RejectHubSpoke\\]\\[google.cloud.networkconnectivity.v1.HubService.RejectHubSpoke\\]. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e RejectHubSpokeRequest \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[RejectHubSpokeRequest](/dotnet/docs/reference/Google.Cloud.NetworkConnectivity.V1/latest/Google.Cloud.NetworkConnectivity.V1.RejectHubSpokeRequest), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[RejectHubSpokeRequest](/dotnet/docs/reference/Google.Cloud.NetworkConnectivity.V1/latest/Google.Cloud.NetworkConnectivity.V1.RejectHubSpokeRequest), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[RejectHubSpokeRequest](/dotnet/docs/reference/Google.Cloud.NetworkConnectivity.V1/latest/Google.Cloud.NetworkConnectivity.V1.RejectHubSpokeRequest), [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.V1](/dotnet/docs/reference/Google.Cloud.NetworkConnectivity.V1/latest/Google.Cloud.NetworkConnectivity.V1)\n\nAssembly\n--------\n\nGoogle.Cloud.NetworkConnectivity.V1.dll\n\nConstructors\n------------\n\n### RejectHubSpokeRequest()\n\n public RejectHubSpokeRequest()\n\n### RejectHubSpokeRequest(RejectHubSpokeRequest)\n\n public RejectHubSpokeRequest(RejectHubSpokeRequest other)\n\nProperties\n----------\n\n### Details\n\n public string Details { get; set; }\n\nOptional. Additional information provided by the hub administrator.\n\n### HubName\n\n public HubName HubName { get; set; }\n\n[HubName](/dotnet/docs/reference/Google.Cloud.NetworkConnectivity.V1/latest/Google.Cloud.NetworkConnectivity.V1.HubName)-typed view over the [Name](/dotnet/docs/reference/Google.Cloud.NetworkConnectivity.V1/latest/Google.Cloud.NetworkConnectivity.V1.RejectHubSpokeRequest#Google_Cloud_NetworkConnectivity_V1_RejectHubSpokeRequest_Name) resource name property.\n\n### Name\n\n public string Name { get; set; }\n\nRequired. The name of the hub from which to reject the spoke.\n\n### RequestId\n\n public string RequestId { get; set; }\n\nOptional. A request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server knows to ignore the request\nif it has already been completed. The server guarantees that a request\ndoesn't result in creation of duplicate commitments for at least 60\nminutes.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same request\nID, the server can check to see whether the original operation\nwas received. If it was, the server ignores the second request. This\nbehavior prevents clients from mistakenly creating duplicate commitments.\n\nThe request ID must be a valid UUID, with the exception that zero UUID is\nnot supported (00000000-0000-0000-0000-000000000000).\n\n### SpokeUri\n\n public string SpokeUri { get; set; }\n\nRequired. The URI of the spoke to reject from the hub.\n\n### SpokeUriAsSpokeName\n\n public SpokeName SpokeUriAsSpokeName { get; set; }\n\n[SpokeName](/dotnet/docs/reference/Google.Cloud.NetworkConnectivity.V1/latest/Google.Cloud.NetworkConnectivity.V1.SpokeName)-typed view over the [SpokeUri](/dotnet/docs/reference/Google.Cloud.NetworkConnectivity.V1/latest/Google.Cloud.NetworkConnectivity.V1.RejectHubSpokeRequest#Google_Cloud_NetworkConnectivity_V1_RejectHubSpokeRequest_SpokeUri) resource name property."]]