NetworkPeering class

A network peering attached to a network resource.

The message includes the peering name, peer network, peering state, and a flag indicating whether Google Compute Engine should automatically create routes for the peering.

Constructors

NetworkPeering({bool? autoCreateRoutes, bool? exchangeSubnetRoutes, bool? exportCustomRoutes, bool? exportSubnetRoutesWithPublicIp, bool? importCustomRoutes, bool? importSubnetRoutesWithPublicIp, String? name, String? network, int? peerMtu, String? stackType, String? state, String? stateDetails})
NetworkPeering.fromJson(Map json_)

Properties

autoCreateRoutes bool?
This field will be deprecated soon.
getter/setter pair
exchangeSubnetRoutes bool?
Indicates whether full mesh connectivity is created and managed automatically between peered networks.
getter/setter pair
exportCustomRoutes bool?
Whether to export the custom routes to peer network.
getter/setter pair
exportSubnetRoutesWithPublicIp bool?
Whether subnet routes with public IP range are exported.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
importCustomRoutes bool?
Whether to import the custom routes from peer network.
getter/setter pair
importSubnetRoutesWithPublicIp bool?
Whether subnet routes with public IP range are imported.
getter/setter pair
name String?
Name of this peering.
getter/setter pair
network String?
The URL of the peer network.
getter/setter pair
peerMtu int?
Maximum Transmission Unit in bytes.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
stackType String?
Which IP version(s) of traffic and routes are allowed to be imported or exported between peer networks.
getter/setter pair
state String?
State for the peering, either ACTIVE or INACTIVE.
getter/setter pair
stateDetails String?
Details about the current state of the peering.
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