Network Management v1 API - Class NatInfo (2.8.0)

public sealed class NatInfo : IMessage<NatInfo>, IEquatable<NatInfo>, IDeepCloneable<NatInfo>, IBufferMessage, IMessage

Reference documentation and code samples for the Network Management v1 API class NatInfo.

For display only. Metadata associated with NAT.

Inheritance

object > NatInfo

Namespace

Google.Cloud.NetworkManagement.V1

Assembly

Google.Cloud.NetworkManagement.V1.dll

Constructors

NatInfo()

public NatInfo()

NatInfo(NatInfo)

public NatInfo(NatInfo other)
Parameter
NameDescription
otherNatInfo

Properties

NatGatewayName

public string NatGatewayName { get; set; }

The name of Cloud NAT Gateway. Only valid when type is CLOUD_NAT.

Property Value
TypeDescription
string

NetworkUri

public string NetworkUri { get; set; }

URI of the network where NAT translation takes place.

Property Value
TypeDescription
string

NewDestinationIp

public string NewDestinationIp { get; set; }

Destination IP address after NAT translation.

Property Value
TypeDescription
string

NewDestinationPort

public int NewDestinationPort { get; set; }

Destination port after NAT translation. Only valid when protocol is TCP or UDP.

Property Value
TypeDescription
int

NewSourceIp

public string NewSourceIp { get; set; }

Source IP address after NAT translation.

Property Value
TypeDescription
string

NewSourcePort

public int NewSourcePort { get; set; }

Source port after NAT translation. Only valid when protocol is TCP or UDP.

Property Value
TypeDescription
int

OldDestinationIp

public string OldDestinationIp { get; set; }

Destination IP address before NAT translation.

Property Value
TypeDescription
string

OldDestinationPort

public int OldDestinationPort { get; set; }

Destination port before NAT translation. Only valid when protocol is TCP or UDP.

Property Value
TypeDescription
int

OldSourceIp

public string OldSourceIp { get; set; }

Source IP address before NAT translation.

Property Value
TypeDescription
string

OldSourcePort

public int OldSourcePort { get; set; }

Source port before NAT translation. Only valid when protocol is TCP or UDP.

Property Value
TypeDescription
int

Protocol

public string Protocol { get; set; }

IP protocol in string format, for example: "TCP", "UDP", "ICMP".

Property Value
TypeDescription
string

RouterUri

public string RouterUri { get; set; }

Uri of the Cloud Router. Only valid when type is CLOUD_NAT.

Property Value
TypeDescription
string

Type

public NatInfo.Types.Type Type { get; set; }

Type of NAT.

Property Value
TypeDescription
NatInfoTypesType