Class: Google::Cloud::NetworkManagement::V1::NatInfo
- Inherits:
-
Object
- Object
- Google::Cloud::NetworkManagement::V1::NatInfo
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/networkmanagement/v1/trace.rb
Overview
For display only. Metadata associated with NAT.
Defined Under Namespace
Modules: Type
Instance Attribute Summary collapse
-
#nat_gateway_name ⇒ ::String
The name of Cloud NAT Gateway.
-
#network_uri ⇒ ::String
URI of the network where NAT translation takes place.
-
#new_destination_ip ⇒ ::String
Destination IP address after NAT translation.
-
#new_destination_port ⇒ ::Integer
Destination port after NAT translation.
-
#new_source_ip ⇒ ::String
Source IP address after NAT translation.
-
#new_source_port ⇒ ::Integer
Source port after NAT translation.
-
#old_destination_ip ⇒ ::String
Destination IP address before NAT translation.
-
#old_destination_port ⇒ ::Integer
Destination port before NAT translation.
-
#old_source_ip ⇒ ::String
Source IP address before NAT translation.
-
#old_source_port ⇒ ::Integer
Source port before NAT translation.
-
#protocol ⇒ ::String
IP protocol in string format, for example: "TCP", "UDP", "ICMP".
-
#router_uri ⇒ ::String
Uri of the Cloud Router.
-
#type ⇒ ::Google::Cloud::NetworkManagement::V1::NatInfo::Type
Type of NAT.
Instance Attribute Details
#nat_gateway_name ⇒ ::String
Returns The name of Cloud NAT Gateway. Only valid when type is CLOUD_NAT.
1509 1510 1511 1512 1513 1514 1515 1516 1517 1518 1519 1520 1521 1522 1523 1524 1525 1526 1527 1528 1529 1530 |
# File 'proto_docs/google/cloud/networkmanagement/v1/trace.rb', line 1509 class NatInfo include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Types of NAT. module Type # Type is unspecified. TYPE_UNSPECIFIED = 0 # From Compute Engine instance's internal address to external address. INTERNAL_TO_EXTERNAL = 1 # From Compute Engine instance's external address to internal address. EXTERNAL_TO_INTERNAL = 2 # Cloud NAT Gateway. CLOUD_NAT = 3 # Private service connect NAT. PRIVATE_SERVICE_CONNECT = 4 end end |
#network_uri ⇒ ::String
Returns URI of the network where NAT translation takes place.
1509 1510 1511 1512 1513 1514 1515 1516 1517 1518 1519 1520 1521 1522 1523 1524 1525 1526 1527 1528 1529 1530 |
# File 'proto_docs/google/cloud/networkmanagement/v1/trace.rb', line 1509 class NatInfo include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Types of NAT. module Type # Type is unspecified. TYPE_UNSPECIFIED = 0 # From Compute Engine instance's internal address to external address. INTERNAL_TO_EXTERNAL = 1 # From Compute Engine instance's external address to internal address. EXTERNAL_TO_INTERNAL = 2 # Cloud NAT Gateway. CLOUD_NAT = 3 # Private service connect NAT. PRIVATE_SERVICE_CONNECT = 4 end end |
#new_destination_ip ⇒ ::String
Returns Destination IP address after NAT translation.
1509 1510 1511 1512 1513 1514 1515 1516 1517 1518 1519 1520 1521 1522 1523 1524 1525 1526 1527 1528 1529 1530 |
# File 'proto_docs/google/cloud/networkmanagement/v1/trace.rb', line 1509 class NatInfo include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Types of NAT. module Type # Type is unspecified. TYPE_UNSPECIFIED = 0 # From Compute Engine instance's internal address to external address. INTERNAL_TO_EXTERNAL = 1 # From Compute Engine instance's external address to internal address. EXTERNAL_TO_INTERNAL = 2 # Cloud NAT Gateway. CLOUD_NAT = 3 # Private service connect NAT. PRIVATE_SERVICE_CONNECT = 4 end end |
#new_destination_port ⇒ ::Integer
Returns Destination port after NAT translation. Only valid when protocol is TCP or UDP.
1509 1510 1511 1512 1513 1514 1515 1516 1517 1518 1519 1520 1521 1522 1523 1524 1525 1526 1527 1528 1529 1530 |
# File 'proto_docs/google/cloud/networkmanagement/v1/trace.rb', line 1509 class NatInfo include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Types of NAT. module Type # Type is unspecified. TYPE_UNSPECIFIED = 0 # From Compute Engine instance's internal address to external address. INTERNAL_TO_EXTERNAL = 1 # From Compute Engine instance's external address to internal address. EXTERNAL_TO_INTERNAL = 2 # Cloud NAT Gateway. CLOUD_NAT = 3 # Private service connect NAT. PRIVATE_SERVICE_CONNECT = 4 end end |
#new_source_ip ⇒ ::String
Returns Source IP address after NAT translation.
1509 1510 1511 1512 1513 1514 1515 1516 1517 1518 1519 1520 1521 1522 1523 1524 1525 1526 1527 1528 1529 1530 |
# File 'proto_docs/google/cloud/networkmanagement/v1/trace.rb', line 1509 class NatInfo include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Types of NAT. module Type # Type is unspecified. TYPE_UNSPECIFIED = 0 # From Compute Engine instance's internal address to external address. INTERNAL_TO_EXTERNAL = 1 # From Compute Engine instance's external address to internal address. EXTERNAL_TO_INTERNAL = 2 # Cloud NAT Gateway. CLOUD_NAT = 3 # Private service connect NAT. PRIVATE_SERVICE_CONNECT = 4 end end |
#new_source_port ⇒ ::Integer
Returns Source port after NAT translation. Only valid when protocol is TCP or UDP.
1509 1510 1511 1512 1513 1514 1515 1516 1517 1518 1519 1520 1521 1522 1523 1524 1525 1526 1527 1528 1529 1530 |
# File 'proto_docs/google/cloud/networkmanagement/v1/trace.rb', line 1509 class NatInfo include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Types of NAT. module Type # Type is unspecified. TYPE_UNSPECIFIED = 0 # From Compute Engine instance's internal address to external address. INTERNAL_TO_EXTERNAL = 1 # From Compute Engine instance's external address to internal address. EXTERNAL_TO_INTERNAL = 2 # Cloud NAT Gateway. CLOUD_NAT = 3 # Private service connect NAT. PRIVATE_SERVICE_CONNECT = 4 end end |
#old_destination_ip ⇒ ::String
Returns Destination IP address before NAT translation.
1509 1510 1511 1512 1513 1514 1515 1516 1517 1518 1519 1520 1521 1522 1523 1524 1525 1526 1527 1528 1529 1530 |
# File 'proto_docs/google/cloud/networkmanagement/v1/trace.rb', line 1509 class NatInfo include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Types of NAT. module Type # Type is unspecified. TYPE_UNSPECIFIED = 0 # From Compute Engine instance's internal address to external address. INTERNAL_TO_EXTERNAL = 1 # From Compute Engine instance's external address to internal address. EXTERNAL_TO_INTERNAL = 2 # Cloud NAT Gateway. CLOUD_NAT = 3 # Private service connect NAT. PRIVATE_SERVICE_CONNECT = 4 end end |
#old_destination_port ⇒ ::Integer
Returns Destination port before NAT translation. Only valid when protocol is TCP or UDP.
1509 1510 1511 1512 1513 1514 1515 1516 1517 1518 1519 1520 1521 1522 1523 1524 1525 1526 1527 1528 1529 1530 |
# File 'proto_docs/google/cloud/networkmanagement/v1/trace.rb', line 1509 class NatInfo include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Types of NAT. module Type # Type is unspecified. TYPE_UNSPECIFIED = 0 # From Compute Engine instance's internal address to external address. INTERNAL_TO_EXTERNAL = 1 # From Compute Engine instance's external address to internal address. EXTERNAL_TO_INTERNAL = 2 # Cloud NAT Gateway. CLOUD_NAT = 3 # Private service connect NAT. PRIVATE_SERVICE_CONNECT = 4 end end |
#old_source_ip ⇒ ::String
Returns Source IP address before NAT translation.
1509 1510 1511 1512 1513 1514 1515 1516 1517 1518 1519 1520 1521 1522 1523 1524 1525 1526 1527 1528 1529 1530 |
# File 'proto_docs/google/cloud/networkmanagement/v1/trace.rb', line 1509 class NatInfo include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Types of NAT. module Type # Type is unspecified. TYPE_UNSPECIFIED = 0 # From Compute Engine instance's internal address to external address. INTERNAL_TO_EXTERNAL = 1 # From Compute Engine instance's external address to internal address. EXTERNAL_TO_INTERNAL = 2 # Cloud NAT Gateway. CLOUD_NAT = 3 # Private service connect NAT. PRIVATE_SERVICE_CONNECT = 4 end end |
#old_source_port ⇒ ::Integer
Returns Source port before NAT translation. Only valid when protocol is TCP or UDP.
1509 1510 1511 1512 1513 1514 1515 1516 1517 1518 1519 1520 1521 1522 1523 1524 1525 1526 1527 1528 1529 1530 |
# File 'proto_docs/google/cloud/networkmanagement/v1/trace.rb', line 1509 class NatInfo include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Types of NAT. module Type # Type is unspecified. TYPE_UNSPECIFIED = 0 # From Compute Engine instance's internal address to external address. INTERNAL_TO_EXTERNAL = 1 # From Compute Engine instance's external address to internal address. EXTERNAL_TO_INTERNAL = 2 # Cloud NAT Gateway. CLOUD_NAT = 3 # Private service connect NAT. PRIVATE_SERVICE_CONNECT = 4 end end |
#protocol ⇒ ::String
Returns IP protocol in string format, for example: "TCP", "UDP", "ICMP".
1509 1510 1511 1512 1513 1514 1515 1516 1517 1518 1519 1520 1521 1522 1523 1524 1525 1526 1527 1528 1529 1530 |
# File 'proto_docs/google/cloud/networkmanagement/v1/trace.rb', line 1509 class NatInfo include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Types of NAT. module Type # Type is unspecified. TYPE_UNSPECIFIED = 0 # From Compute Engine instance's internal address to external address. INTERNAL_TO_EXTERNAL = 1 # From Compute Engine instance's external address to internal address. EXTERNAL_TO_INTERNAL = 2 # Cloud NAT Gateway. CLOUD_NAT = 3 # Private service connect NAT. PRIVATE_SERVICE_CONNECT = 4 end end |
#router_uri ⇒ ::String
Returns Uri of the Cloud Router. Only valid when type is CLOUD_NAT.
1509 1510 1511 1512 1513 1514 1515 1516 1517 1518 1519 1520 1521 1522 1523 1524 1525 1526 1527 1528 1529 1530 |
# File 'proto_docs/google/cloud/networkmanagement/v1/trace.rb', line 1509 class NatInfo include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Types of NAT. module Type # Type is unspecified. TYPE_UNSPECIFIED = 0 # From Compute Engine instance's internal address to external address. INTERNAL_TO_EXTERNAL = 1 # From Compute Engine instance's external address to internal address. EXTERNAL_TO_INTERNAL = 2 # Cloud NAT Gateway. CLOUD_NAT = 3 # Private service connect NAT. PRIVATE_SERVICE_CONNECT = 4 end end |
#type ⇒ ::Google::Cloud::NetworkManagement::V1::NatInfo::Type
Returns Type of NAT.
1509 1510 1511 1512 1513 1514 1515 1516 1517 1518 1519 1520 1521 1522 1523 1524 1525 1526 1527 1528 1529 1530 |
# File 'proto_docs/google/cloud/networkmanagement/v1/trace.rb', line 1509 class NatInfo include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Types of NAT. module Type # Type is unspecified. TYPE_UNSPECIFIED = 0 # From Compute Engine instance's internal address to external address. INTERNAL_TO_EXTERNAL = 1 # From Compute Engine instance's external address to internal address. EXTERNAL_TO_INTERNAL = 2 # Cloud NAT Gateway. CLOUD_NAT = 3 # Private service connect NAT. PRIVATE_SERVICE_CONNECT = 4 end end |