Hub class
A Network Connectivity Center hub is a global management resource to which you attach spokes.
A single hub can contain spokes from multiple regions. However, if any of a hub's spokes use the site-to-site data transfer feature, the resources associated with those spokes must all be in the same VPC network. Spokes that do not use site-to-site data transfer can be associated with any VPC network in your project.
Constructors
-
Hub({String? createTime, String? description, bool? exportPsc, Map<
String, String> ? labels, String? name, String? policyMode, String? presetTopology, List<String> ? routeTables, List<RoutingVPC> ? routingVpcs, SpokeSummary? spokeSummary, String? state, String? uniqueId, String? updateTime}) - Hub.fromJson(Map json_)
Properties
- createTime ↔ String?
-
The time the hub was created.
getter/setter pair
- description ↔ String?
-
An optional description of the hub.
getter/setter pair
- exportPsc ↔ bool?
-
Whether Private Service Connect transitivity is enabled for the hub.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
-
labels
↔ Map<
String, String> ? -
Optional labels in key-value pair format.
getter/setter pair
- name ↔ String?
-
The name of the hub.
getter/setter pair
- policyMode ↔ String?
-
The policy mode of this hub.
getter/setter pair
- presetTopology ↔ String?
-
The topology implemented in this hub.
getter/setter pair
-
routeTables
↔ List<
String> ? -
The route tables that belong to this hub.
getter/setter pair
-
routingVpcs
↔ List<
RoutingVPC> ? -
The VPC networks associated with this hub's spokes.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- spokeSummary ↔ SpokeSummary?
-
A summary of the spokes associated with a hub.
getter/setter pair
- state ↔ String?
-
The current lifecycle state of this hub.
getter/setter pair
- uniqueId ↔ String?
-
The Google-generated UUID for the hub.
getter/setter pair
- updateTime ↔ String?
-
The time the hub was last updated.
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited