public sealed class UpdateHubRequest : IMessage<UpdateHubRequest>, IEquatable<UpdateHubRequest>, IDeepCloneable<UpdateHubRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Network Connectivity v1 API class UpdateHubRequest.
Request for
[HubService.UpdateHub][google.cloud.networkconnectivity.v1.HubService.UpdateHub]
method.
Optional. A unique request ID (optional). If you specify this ID, you can
use it in cases when you need to retry your request. When you need to
retry, this ID lets the server know that it can ignore the request if it
has already been completed. The server guarantees that for at least 60
minutes after the first request.
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 hub, 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"]],[["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\u003eThis document provides reference documentation for the \u003ccode\u003eUpdateHubRequest\u003c/code\u003e class within the Google Cloud Network Connectivity v1 API, specifically version 2.3.0, and shows that it is part of the Google.Cloud.NetworkConnectivity.V1 namespace.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eUpdateHubRequest\u003c/code\u003e class is used to request updates to a network hub via the \u003ccode\u003eHubService.UpdateHub\u003c/code\u003e method and it implements interfaces such as \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\u003eKey properties of \u003ccode\u003eUpdateHubRequest\u003c/code\u003e include \u003ccode\u003eHub\u003c/code\u003e, which defines the desired state of the hub after an update, \u003ccode\u003eRequestId\u003c/code\u003e for handling request retries, and \u003ccode\u003eUpdateMask\u003c/code\u003e for specifying which fields to update.\u003c/p\u003e\n"],["\u003cp\u003eThe documentation outlines the class's constructors, inherited members from the \u003ccode\u003eobject\u003c/code\u003e class, and the assemblies it belongs to, such as Google.Cloud.NetworkConnectivity.V1.dll.\u003c/p\u003e\n"],["\u003cp\u003eThe provided content shows the versions of the Google.Cloud.NetworkConnectivity.V1 that are available in the documentation, starting from version 1.0.0 and going all the way up to the latest version 2.9.0.\u003c/p\u003e\n"]]],[],null,[]]