Hub class Null safety

A Network Connectivity Center hub is a collection of spokes.

A single hub can contain spokes from multiple regions. However, if any of a hub's spokes use the data transfer feature, the resources associated with those spokes must all reside in the same VPC network. Spokes that do not use data transfer can be associated with any VPC network in your project.


Hub({String? createTime, String? description, Map<String, String>? labels, String? name, List<RoutingVPC>? routingVpcs, String? state, String? uniqueId, String? updateTime})
Hub.fromJson(Map json_)


createTime String?
The time the hub was created.
read / write
description String?
An optional description of the hub.
read / write
hashCode int
The hash code for this object.
labels Map<String, String>?
Optional labels in key:value format.
read / write
name String?
The name of the hub.
read / write
routingVpcs List<RoutingVPC>?
The VPC networks associated with this hub's spokes.
read / write
runtimeType Type
A representation of the runtime type of the object.
state String?
The current lifecycle state of this hub.
read / write
uniqueId String?
The Google-generated UUID for the hub.
read / write
updateTime String?
The time the hub was last updated.
read / write


noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
toJson() Map<String, dynamic>
toString() String
A string representation of this object.


operator ==(Object other) bool
The equality operator.