NetworkPeeringResponse 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

NetworkPeeringResponse({required Input<bool> advertisePeerSubnetsViaRouters, required Input<bool> autoCreateRoutes, required Input<bool> exchangeSubnetRoutes, required Input<bool> exportCustomRoutes, required Input<bool> exportSubnetRoutesWithPublicIp, required Input<bool> importCustomRoutes, required Input<bool> importSubnetRoutesWithPublicIp, required Input<String> name, required Input<String> network, required Input<int> peerMtu, required Input<String> stackType, required Input<String> state, required Input<String> stateDetails})
Creates a new NetworkPeeringResponse. advertisePeerSubnetsViaRouters Whether Cloud Routers in this network can automatically advertise subnets from the peer network. autoCreateRoutes This field will be deprecated soon. Use the exchange_subnet_routes field instead. Indicates whether full mesh connectivity is created and managed automatically between peered networks. Currently this field should always be true since Google Compute Engine will automatically create and manage subnetwork routes between two networks when peering state is ACTIVE. exchangeSubnetRoutes Indicates whether full mesh connectivity is created and managed automatically between peered networks. Currently this field should always be true since Google Compute Engine will automatically create and manage subnetwork routes between two networks when peering state is ACTIVE. exportCustomRoutes Whether to export the custom routes to peer network. The default value is false. exportSubnetRoutesWithPublicIp Whether subnet routes with public IP range are exported. The default value is true, all subnet routes are exported. IPv4 special-use ranges are always exported to peers and are not controlled by this field. importCustomRoutes Whether to import the custom routes from peer network. The default value is false. importSubnetRoutesWithPublicIp Whether subnet routes with public IP range are imported. The default value is false. IPv4 special-use ranges are always imported from peers and are not controlled by this field. name Name of this peering. Provided by the client when the peering is created. The name must comply with RFC1035. Specifically, the name must be 1-63 characters long and match regular expression [a-z]([-a-z0-9]*[a-z0-9])?. The first character must be a lowercase letter, and all the following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. network The URL of the peer network. It can be either full URL or partial URL. The peer network may belong to a different project. If the partial URL does not contain project, it is assumed that the peer network is in the same project as the current network. peerMtu Maximum Transmission Unit in bytes. stackType Which IP version(s) of traffic and routes are allowed to be imported or exported between peer networks. The default value is IPV4_ONLY. state State for the peering, either ACTIVE or INACTIVE. The peering is ACTIVE when there's a matching configuration in the peer network. stateDetails Details about the current state of the peering.
const
NetworkPeeringResponse.fromMap(Map<String, dynamic> map)
factory

Properties

advertisePeerSubnetsViaRouters → Input<bool>
Whether Cloud Routers in this network can automatically advertise subnets from the peer network.
final
autoCreateRoutes → Input<bool>
This field will be deprecated soon. Use the exchange_subnet_routes field instead. Indicates whether full mesh connectivity is created and managed automatically between peered networks. Currently this field should always be true since Google Compute Engine will automatically create and manage subnetwork routes between two networks when peering state is ACTIVE.
final
exchangeSubnetRoutes → Input<bool>
Indicates whether full mesh connectivity is created and managed automatically between peered networks. Currently this field should always be true since Google Compute Engine will automatically create and manage subnetwork routes between two networks when peering state is ACTIVE.
final
exportCustomRoutes → Input<bool>
Whether to export the custom routes to peer network. The default value is false.
final
exportSubnetRoutesWithPublicIp → Input<bool>
Whether subnet routes with public IP range are exported. The default value is true, all subnet routes are exported. IPv4 special-use ranges are always exported to peers and are not controlled by this field.
final
hashCode → int
The hash code for this object.
no setterinherited
importCustomRoutes → Input<bool>
Whether to import the custom routes from peer network. The default value is false.
final
importSubnetRoutesWithPublicIp → Input<bool>
Whether subnet routes with public IP range are imported. The default value is false. IPv4 special-use ranges are always imported from peers and are not controlled by this field.
final
name → Input<String>
Name of this peering. Provided by the client when the peering is created. The name must comply with RFC1035. Specifically, the name must be 1-63 characters long and match regular expression [a-z]([-a-z0-9]*[a-z0-9])?. The first character must be a lowercase letter, and all the following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
final
network → Input<String>
The URL of the peer network. It can be either full URL or partial URL. The peer network may belong to a different project. If the partial URL does not contain project, it is assumed that the peer network is in the same project as the current network.
final
peerMtu → Input<int>
Maximum Transmission Unit in bytes.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
stackType → Input<String>
Which IP version(s) of traffic and routes are allowed to be imported or exported between peer networks. The default value is IPV4_ONLY.
final
state → Input<String>
State for the peering, either ACTIVE or INACTIVE. The peering is ACTIVE when there's a matching configuration in the peer network.
final
stateDetails → Input<String>
Details about the current state of the peering.
final

Methods

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

Operators

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