public sealed class CreateHubRequest : IMessage<CreateHubRequest>, IEquatable<CreateHubRequest>, IDeepCloneable<CreateHubRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Network Connectivity v1 API class CreateHubRequest.
Request for
[HubService.CreateHub][google.cloud.networkconnectivity.v1.HubService.CreateHub]
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).
[[["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 information for the \u003ccode\u003eCreateHubRequest\u003c/code\u003e class within the Google Cloud Network Connectivity v1 API, specifically version 2.7.0, which is part of the .NET library.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eCreateHubRequest\u003c/code\u003e class is used to construct requests for the \u003ccode\u003eHubService.CreateHub\u003c/code\u003e method to make new hubs, as shown by the documentation, with links to other versions from 1.0.0 up to 2.9.0.\u003c/p\u003e\n"],["\u003cp\u003eThe class inherits from \u003ccode\u003eobject\u003c/code\u003e and 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, thus providing methods for handling messages, deep cloning, and buffer operations.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eCreateHubRequest\u003c/code\u003e class includes properties like \u003ccode\u003eHub\u003c/code\u003e, \u003ccode\u003eHubId\u003c/code\u003e, \u003ccode\u003eParent\u003c/code\u003e, \u003ccode\u003eParentAsLocationName\u003c/code\u003e, and \u003ccode\u003eRequestId\u003c/code\u003e, which are essential for defining the attributes of the hub being created, such as name, ID, and location, among other things.\u003c/p\u003e\n"],["\u003cp\u003eThe class offers two constructors: a default constructor and one that accepts another \u003ccode\u003eCreateHubRequest\u003c/code\u003e object as a parameter, enabling creating a new request from an existing one, such as deep copying.\u003c/p\u003e\n"]]],[],null,[]]