SDK reference / Models / Network

VirtualHub

Kind: class

Namespace: Egulu.Sdk.Models.Network

A virtual hub (founder, 22 Nov 2026; proposed ADR-0686): the centre of a project's wide network in one location. Networks (connections), branch sitesand hubs of other locations (links) attach to it; its route tables decide where a packet goes. Its address space is its own: no connection, site orother hub of the project may overlap it. A project holds at most 4 hubs in a location. Metered per capacity unit and hour and per GiB processed.

Properties

NameTypeJSON nameDescription
AddressSpacestring?addressSpaceThe hub's private IPv4 range, /24 to /16 inside RFC 1918, for example `10.200.0.0/24`. It cannot be changed.
AnnotationsModels.Network.VirtualHub_annotations?annotationsAt most 256 KiB in all; never policy input.
CapacityUnitsint?capacityUnitsCapacity units, 1 to 50 (default 1). Each unit adds 500 Mbit/s (est.) to the hub's throughput quota.
ConnectionCountint?connectionCountHow many connections the hub has.
CreateTimeDateTimeOffset?createTimeThe createTime property
DeleteTimeDateTimeOffset?deleteTimeThe deleteTime property
DisplayNamestring?displayNameUp to 63 characters.
Etagstring?etag"{generation}"; send it back in If-Match.
GatewayEndpointstring?gatewayEndpointWhere branch sites send their packets: the hub's gateway address and port, once known.
GatewayPublicKeystring?gatewayPublicKeyThe WireGuard public key of the hub's gateway, once it runs.
LabelsModels.Network.VirtualHub_labels?labelsAt most 64.
LinkCountint?linkCountHow many links the hub has.
Namestring?nameThe resource name, for example projects/p/locations/l/instances/i.
ProcessedByteslong?processedBytesThe bytes the hub has processed since it was created.
PurgeTimeDateTimeOffset?purgeTimeThe purgeTime property
Reconcilingbool?reconcilingTrue while the platform works toward the spec.
RouteTablesList<Models.Network.HubRouteTable>?routeTablesStatic routes and custom route tables. `default` always exists. A list is replaced, not merged.
RoutingModels.Network.HubRouting?routingWhether the substrate holds the hub's routes.
SiteCountint?siteCountHow many VPN sites the hub has.
StateModels.Network.NetworkState?stateCurrent lifecycle state.
StateDetailsstring?stateDetailsWhy the hub carries no traffic, or what the substrate said, when it does not.
ThroughputMbpsint?throughputMbpsThe hub's throughput quota in Mbit/s: capacity units times 500 (est.).
Uidstring?uidUUIDv7, never reused.
UpdateTimeDateTimeOffset?updateTimeThe updateTime property