Class: Google::Cloud::Compute::V1::VmEndpointNatMappingsInterfaceNatMappingsNatRuleMappings
- Inherits:
-
Object
- Object
- Google::Cloud::Compute::V1::VmEndpointNatMappingsInterfaceNatMappingsNatRuleMappings
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/compute/v1/compute.rb
Overview
Contains information of NAT Mappings provided by a NAT Rule.
Instance Attribute Summary collapse
-
#drain_nat_ip_port_ranges ⇒ ::Array<::String>
List of all drain IP:port-range mappings assigned to this interface by this rule.
-
#nat_ip_port_ranges ⇒ ::Array<::String>
A list of all IP:port-range mappings assigned to this interface by this rule.
-
#num_total_drain_nat_ports ⇒ ::Integer
Total number of drain ports across all NAT IPs allocated to this interface by this rule.
-
#num_total_nat_ports ⇒ ::Integer
Total number of ports across all NAT IPs allocated to this interface by this rule.
-
#rule_number ⇒ ::Integer
Rule number of the NAT Rule.
Instance Attribute Details
#drain_nat_ip_port_ranges ⇒ ::Array<::String>
Returns List of all drain IP:port-range mappings assigned to this interface by this rule. These ranges are inclusive, that is, both the first and the last ports can be used for NAT. Example: ["2.2.2.2:12345-12355", "1.1.1.1:2234-2234"].
35822 35823 35824 35825 |
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 35822 class VmEndpointNatMappingsInterfaceNatMappingsNatRuleMappings include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#nat_ip_port_ranges ⇒ ::Array<::String>
Returns A list of all IP:port-range mappings assigned to this interface by this rule. These ranges are inclusive, that is, both the first and the last ports can be used for NAT. Example: ["2.2.2.2:12345-12355", "1.1.1.1:2234-2234"].
35822 35823 35824 35825 |
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 35822 class VmEndpointNatMappingsInterfaceNatMappingsNatRuleMappings include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#num_total_drain_nat_ports ⇒ ::Integer
Returns Total number of drain ports across all NAT IPs allocated to this interface by this rule. It equals the aggregated port number in the field drain_nat_ip_port_ranges.
35822 35823 35824 35825 |
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 35822 class VmEndpointNatMappingsInterfaceNatMappingsNatRuleMappings include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#num_total_nat_ports ⇒ ::Integer
Returns Total number of ports across all NAT IPs allocated to this interface by this rule. It equals the aggregated port number in the field nat_ip_port_ranges.
35822 35823 35824 35825 |
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 35822 class VmEndpointNatMappingsInterfaceNatMappingsNatRuleMappings include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#rule_number ⇒ ::Integer
Returns Rule number of the NAT Rule.
35822 35823 35824 35825 |
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 35822 class VmEndpointNatMappingsInterfaceNatMappingsNatRuleMappings include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |