public sealed class Hub : IMessage<Hub>, IEquatable<Hub>, IDeepCloneable<Hub>, IBufferMessage, IMessage
A hub is essentially a collection of spokes. A single hub can contain spokes
from multiple regions. However, all of a hub's spokes must be associated with
resources that reside in the same VPC network.
public RepeatedField<RoutingVPC> RoutingVpcs { get; }
The VPC network associated with this hub's spokes. All of the VPN tunnels,
VLAN attachments, and router appliance instances referenced by this hub's
spokes must belong to this VPC network.
This field is read-only. Network Connectivity Center automatically
populates it based on the set of spokes attached to the hub.
Output only. The Google-generated UUID for the hub. This value is unique across all hub
resources. If a hub is deleted and another with the same name is created,
the new hub is assigned a different unique_id.
[[["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 outlines the \u003ccode\u003eHub\u003c/code\u003e class within the \u003ccode\u003eGoogle.Cloud.NetworkConnectivity.V1\u003c/code\u003e namespace, detailing its properties, methods, and relationships.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eHub\u003c/code\u003e class represents a collection of spokes from multiple regions within the same VPC network, where a single hub's spokes must be associated with resources residing in that same VPC network.\u003c/p\u003e\n"],["\u003cp\u003eKey properties of the \u003ccode\u003eHub\u003c/code\u003e class include \u003ccode\u003eCreateTime\u003c/code\u003e, \u003ccode\u003eDescription\u003c/code\u003e, \u003ccode\u003eHubName\u003c/code\u003e, \u003ccode\u003eLabels\u003c/code\u003e, \u003ccode\u003eName\u003c/code\u003e, \u003ccode\u003eRoutingVpcs\u003c/code\u003e, \u003ccode\u003eState\u003c/code\u003e, \u003ccode\u003eUniqueId\u003c/code\u003e, and \u003ccode\u003eUpdateTime\u003c/code\u003e, which provide information about the hub's creation, description, associated name, labels, routing VPCs, current state, unique identifier, and last updated time.\u003c/p\u003e\n"],["\u003cp\u003eThe document specifies that the \u003ccode\u003eHub\u003c/code\u003e class 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, and its inherited members are \u003ccode\u003eGetHashCode\u003c/code\u003e, \u003ccode\u003eGetType\u003c/code\u003e, \u003ccode\u003eMemberwiseClone\u003c/code\u003e, and \u003ccode\u003eToString\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThis documentation lists the history of previous versions, going back to the earliest version, 1.0.0, with the most recent version being 2.9.0.\u003c/p\u003e\n"]]],[],null,[]]