public sealed class UpdateSpokeRequest : IMessage<UpdateSpokeRequest>, IEquatable<UpdateSpokeRequest>, IDeepCloneable<UpdateSpokeRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Network Connectivity v1 API class UpdateSpokeRequest.
Request for
[HubService.UpdateSpoke][google.cloud.networkconnectivity.v1.HubService.UpdateSpoke]
method.
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).
Optional. In the case of an update to an existing spoke, field mask is used
to specify the fields to be overwritten. The fields specified in the
update_mask are relative to the resource, not the full request. A field is
overwritten if it is in the mask. If the user does not provide a mask, then
all fields are overwritten.
[[["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 documentation for the \u003ccode\u003eUpdateSpokeRequest\u003c/code\u003e class within the Google Cloud Network Connectivity v1 API, specifically for .NET.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eUpdateSpokeRequest\u003c/code\u003e class is used to request updates to a spoke resource via the \u003ccode\u003eHubService.UpdateSpoke\u003c/code\u003e method.\u003c/p\u003e\n"],["\u003cp\u003eIt 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 functionality for message handling, comparison, deep cloning, and buffer message operations.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eUpdateSpokeRequest\u003c/code\u003e class includes properties like \u003ccode\u003eRequestId\u003c/code\u003e, \u003ccode\u003eSpoke\u003c/code\u003e, and \u003ccode\u003eUpdateMask\u003c/code\u003e, which are used to specify request identification, the desired state of the spoke, and which fields to update, respectively.\u003c/p\u003e\n"],["\u003cp\u003eThe document lists all versions of this class, from 1.0.0 to the latest version 2.9.0, with links to the specific documentation of each.\u003c/p\u003e\n"]]],[],null,["# Network Connectivity v1 API - Class UpdateSpokeRequest (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.UpdateSpokeRequest)\n- [2.10.0](/dotnet/docs/reference/Google.Cloud.NetworkConnectivity.V1/2.10.0/Google.Cloud.NetworkConnectivity.V1.UpdateSpokeRequest)\n- [2.9.0](/dotnet/docs/reference/Google.Cloud.NetworkConnectivity.V1/2.9.0/Google.Cloud.NetworkConnectivity.V1.UpdateSpokeRequest)\n- [2.8.0](/dotnet/docs/reference/Google.Cloud.NetworkConnectivity.V1/2.8.0/Google.Cloud.NetworkConnectivity.V1.UpdateSpokeRequest)\n- [2.7.0](/dotnet/docs/reference/Google.Cloud.NetworkConnectivity.V1/2.7.0/Google.Cloud.NetworkConnectivity.V1.UpdateSpokeRequest)\n- [2.6.0](/dotnet/docs/reference/Google.Cloud.NetworkConnectivity.V1/2.6.0/Google.Cloud.NetworkConnectivity.V1.UpdateSpokeRequest)\n- [2.5.0](/dotnet/docs/reference/Google.Cloud.NetworkConnectivity.V1/2.5.0/Google.Cloud.NetworkConnectivity.V1.UpdateSpokeRequest)\n- [2.4.0](/dotnet/docs/reference/Google.Cloud.NetworkConnectivity.V1/2.4.0/Google.Cloud.NetworkConnectivity.V1.UpdateSpokeRequest)\n- [2.3.0](/dotnet/docs/reference/Google.Cloud.NetworkConnectivity.V1/2.3.0/Google.Cloud.NetworkConnectivity.V1.UpdateSpokeRequest)\n- [2.2.0](/dotnet/docs/reference/Google.Cloud.NetworkConnectivity.V1/2.2.0/Google.Cloud.NetworkConnectivity.V1.UpdateSpokeRequest)\n- [2.1.0](/dotnet/docs/reference/Google.Cloud.NetworkConnectivity.V1/2.1.0/Google.Cloud.NetworkConnectivity.V1.UpdateSpokeRequest)\n- [2.0.0](/dotnet/docs/reference/Google.Cloud.NetworkConnectivity.V1/2.0.0/Google.Cloud.NetworkConnectivity.V1.UpdateSpokeRequest)\n- [1.2.0](/dotnet/docs/reference/Google.Cloud.NetworkConnectivity.V1/1.2.0/Google.Cloud.NetworkConnectivity.V1.UpdateSpokeRequest)\n- [1.1.0](/dotnet/docs/reference/Google.Cloud.NetworkConnectivity.V1/1.1.0/Google.Cloud.NetworkConnectivity.V1.UpdateSpokeRequest)\n- [1.0.0](/dotnet/docs/reference/Google.Cloud.NetworkConnectivity.V1/1.0.0/Google.Cloud.NetworkConnectivity.V1.UpdateSpokeRequest) \n\n public sealed class UpdateSpokeRequest : IMessage\u003cUpdateSpokeRequest\u003e, IEquatable\u003cUpdateSpokeRequest\u003e, IDeepCloneable\u003cUpdateSpokeRequest\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Network Connectivity v1 API class UpdateSpokeRequest.\n\nRequest for\n\\[HubService.UpdateSpoke\\]\\[google.cloud.networkconnectivity.v1.HubService.UpdateSpoke\\]\nmethod. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e UpdateSpokeRequest \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[UpdateSpokeRequest](/dotnet/docs/reference/Google.Cloud.NetworkConnectivity.V1/latest/Google.Cloud.NetworkConnectivity.V1.UpdateSpokeRequest), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[UpdateSpokeRequest](/dotnet/docs/reference/Google.Cloud.NetworkConnectivity.V1/latest/Google.Cloud.NetworkConnectivity.V1.UpdateSpokeRequest), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[UpdateSpokeRequest](/dotnet/docs/reference/Google.Cloud.NetworkConnectivity.V1/latest/Google.Cloud.NetworkConnectivity.V1.UpdateSpokeRequest), [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### UpdateSpokeRequest()\n\n public UpdateSpokeRequest()\n\n### UpdateSpokeRequest(UpdateSpokeRequest)\n\n public UpdateSpokeRequest(UpdateSpokeRequest other)\n\nProperties\n----------\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### Spoke\n\n public Spoke Spoke { get; set; }\n\nRequired. The state that the spoke should be in after the update.\n\n### UpdateMask\n\n public FieldMask UpdateMask { get; set; }\n\nOptional. In the case of an update to an existing spoke, field mask is used\nto specify the fields to be overwritten. The fields specified in the\nupdate_mask are relative to the resource, not the full request. A field is\noverwritten if it is in the mask. If the user does not provide a mask, then\nall fields are overwritten."]]