Class: Google::Cloud::Compute::V1::RouterNatSubnetworkToNat
- Inherits:
-
Object
- Object
- Google::Cloud::Compute::V1::RouterNatSubnetworkToNat
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/compute/v1/compute.rb
Overview
Defines the IP ranges that want to use NAT for a subnetwork.
Defined Under Namespace
Modules: SourceIpRangesToNat
Instance Attribute Summary collapse
-
#name ⇒ ::String
URL for the subnetwork resource that will use NAT.
-
#secondary_ip_range_names ⇒ ::Array<::String>
A list of the secondary ranges of the Subnetwork that are allowed to use NAT.
-
#source_ip_ranges_to_nat ⇒ ::Array<::String>
Specify the options for NAT ranges in the Subnetwork.
Instance Attribute Details
#name ⇒ ::String
Returns URL for the subnetwork resource that will use NAT.
27726 27727 27728 27729 27730 27731 27732 27733 27734 27735 27736 27737 27738 27739 27740 27741 27742 27743 27744 |
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 27726 class RouterNatSubnetworkToNat include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods module SourceIpRangesToNat # A value indicating that the enum field is not set. UNDEFINED_SOURCE_IP_RANGES_TO_NAT = 0 # The primary and all the secondary ranges are allowed to Nat. ALL_IP_RANGES = 35_608_496 # A list of secondary ranges are allowed to Nat. LIST_OF_SECONDARY_IP_RANGES = 192_289_308 # The primary range is allowed to Nat. PRIMARY_IP_RANGE = 297_109_954 end end |
#secondary_ip_range_names ⇒ ::Array<::String>
Returns A list of the secondary ranges of the Subnetwork that are allowed to use NAT. This can be populated only if "LIST_OF_SECONDARY_IP_RANGES" is one of the values in source_ip_ranges_to_nat.
27726 27727 27728 27729 27730 27731 27732 27733 27734 27735 27736 27737 27738 27739 27740 27741 27742 27743 27744 |
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 27726 class RouterNatSubnetworkToNat include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods module SourceIpRangesToNat # A value indicating that the enum field is not set. UNDEFINED_SOURCE_IP_RANGES_TO_NAT = 0 # The primary and all the secondary ranges are allowed to Nat. ALL_IP_RANGES = 35_608_496 # A list of secondary ranges are allowed to Nat. LIST_OF_SECONDARY_IP_RANGES = 192_289_308 # The primary range is allowed to Nat. PRIMARY_IP_RANGE = 297_109_954 end end |
#source_ip_ranges_to_nat ⇒ ::Array<::String>
Returns Specify the options for NAT ranges in the Subnetwork. All options of a single value are valid except NAT_IP_RANGE_OPTION_UNSPECIFIED. The only valid option with multiple values is: ["PRIMARY_IP_RANGE", "LIST_OF_SECONDARY_IP_RANGES"] Default: [ALL_IP_RANGES] Check the SourceIpRangesToNat enum for the list of possible values.
27726 27727 27728 27729 27730 27731 27732 27733 27734 27735 27736 27737 27738 27739 27740 27741 27742 27743 27744 |
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 27726 class RouterNatSubnetworkToNat include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods module SourceIpRangesToNat # A value indicating that the enum field is not set. UNDEFINED_SOURCE_IP_RANGES_TO_NAT = 0 # The primary and all the secondary ranges are allowed to Nat. ALL_IP_RANGES = 35_608_496 # A list of secondary ranges are allowed to Nat. LIST_OF_SECONDARY_IP_RANGES = 192_289_308 # The primary range is allowed to Nat. PRIMARY_IP_RANGE = 297_109_954 end end |