Network Management V1 API - Class Google::Cloud::NetworkManagement::V1::NatInfo (v0.12.0)

Reference documentation and code samples for the Network Management V1 API class Google::Cloud::NetworkManagement::V1::NatInfo.

For display only. Metadata associated with NAT.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#nat_gateway_name

def nat_gateway_name() -> ::String
Returns
  • (::String) — The name of Cloud NAT Gateway. Only valid when type is CLOUD_NAT.

#nat_gateway_name=

def nat_gateway_name=(value) -> ::String
Parameter
  • value (::String) — The name of Cloud NAT Gateway. Only valid when type is CLOUD_NAT.
Returns
  • (::String) — The name of Cloud NAT Gateway. Only valid when type is CLOUD_NAT.

#network_uri

def network_uri() -> ::String
Returns
  • (::String) — URI of the network where NAT translation takes place.

#network_uri=

def network_uri=(value) -> ::String
Parameter
  • value (::String) — URI of the network where NAT translation takes place.
Returns
  • (::String) — URI of the network where NAT translation takes place.

#new_destination_ip

def new_destination_ip() -> ::String
Returns
  • (::String) — Destination IP address after NAT translation.

#new_destination_ip=

def new_destination_ip=(value) -> ::String
Parameter
  • value (::String) — Destination IP address after NAT translation.
Returns
  • (::String) — Destination IP address after NAT translation.

#new_destination_port

def new_destination_port() -> ::Integer
Returns
  • (::Integer) — Destination port after NAT translation. Only valid when protocol is TCP or UDP.

#new_destination_port=

def new_destination_port=(value) -> ::Integer
Parameter
  • value (::Integer) — Destination port after NAT translation. Only valid when protocol is TCP or UDP.
Returns
  • (::Integer) — Destination port after NAT translation. Only valid when protocol is TCP or UDP.

#new_source_ip

def new_source_ip() -> ::String
Returns
  • (::String) — Source IP address after NAT translation.

#new_source_ip=

def new_source_ip=(value) -> ::String
Parameter
  • value (::String) — Source IP address after NAT translation.
Returns
  • (::String) — Source IP address after NAT translation.

#new_source_port

def new_source_port() -> ::Integer
Returns
  • (::Integer) — Source port after NAT translation. Only valid when protocol is TCP or UDP.

#new_source_port=

def new_source_port=(value) -> ::Integer
Parameter
  • value (::Integer) — Source port after NAT translation. Only valid when protocol is TCP or UDP.
Returns
  • (::Integer) — Source port after NAT translation. Only valid when protocol is TCP or UDP.

#old_destination_ip

def old_destination_ip() -> ::String
Returns
  • (::String) — Destination IP address before NAT translation.

#old_destination_ip=

def old_destination_ip=(value) -> ::String
Parameter
  • value (::String) — Destination IP address before NAT translation.
Returns
  • (::String) — Destination IP address before NAT translation.

#old_destination_port

def old_destination_port() -> ::Integer
Returns
  • (::Integer) — Destination port before NAT translation. Only valid when protocol is TCP or UDP.

#old_destination_port=

def old_destination_port=(value) -> ::Integer
Parameter
  • value (::Integer) — Destination port before NAT translation. Only valid when protocol is TCP or UDP.
Returns
  • (::Integer) — Destination port before NAT translation. Only valid when protocol is TCP or UDP.

#old_source_ip

def old_source_ip() -> ::String
Returns
  • (::String) — Source IP address before NAT translation.

#old_source_ip=

def old_source_ip=(value) -> ::String
Parameter
  • value (::String) — Source IP address before NAT translation.
Returns
  • (::String) — Source IP address before NAT translation.

#old_source_port

def old_source_port() -> ::Integer
Returns
  • (::Integer) — Source port before NAT translation. Only valid when protocol is TCP or UDP.

#old_source_port=

def old_source_port=(value) -> ::Integer
Parameter
  • value (::Integer) — Source port before NAT translation. Only valid when protocol is TCP or UDP.
Returns
  • (::Integer) — Source port before NAT translation. Only valid when protocol is TCP or UDP.

#protocol

def protocol() -> ::String
Returns
  • (::String) — IP protocol in string format, for example: "TCP", "UDP", "ICMP".

#protocol=

def protocol=(value) -> ::String
Parameter
  • value (::String) — IP protocol in string format, for example: "TCP", "UDP", "ICMP".
Returns
  • (::String) — IP protocol in string format, for example: "TCP", "UDP", "ICMP".

#router_uri

def router_uri() -> ::String
Returns
  • (::String) — Uri of the Cloud Router. Only valid when type is CLOUD_NAT.

#router_uri=

def router_uri=(value) -> ::String
Parameter
  • value (::String) — Uri of the Cloud Router. Only valid when type is CLOUD_NAT.
Returns
  • (::String) — Uri of the Cloud Router. Only valid when type is CLOUD_NAT.

#type

def type() -> ::Google::Cloud::NetworkManagement::V1::NatInfo::Type

#type=

def type=(value) -> ::Google::Cloud::NetworkManagement::V1::NatInfo::Type
Parameter