@@ -41598,6 +41598,11 @@ class VmEndpointNatMappingsInterfaceNatMappings
4159841598 # @return [Fixnum]
4159941599 attr_accessor :num_total_nat_ports
4160041600
41601+ # Information about mappings provided by rules in this NAT.
41602+ # Corresponds to the JSON property `ruleMappings`
41603+ # @return [Array<Google::Apis::ComputeBeta::VmEndpointNatMappingsInterfaceNatMappingsNatRuleMappings>]
41604+ attr_accessor :rule_mappings
41605+
4160141606 # Alias IP range for this interface endpoint. It will be a private (RFC 1918) IP
4160241607 # range. Examples: "10.33.4.55/32", or "192.168.5.0/24".
4160341608 # Corresponds to the JSON property `sourceAliasIpRange`
@@ -41619,11 +41624,62 @@ def update!(**args)
4161941624 @nat_ip_port_ranges = args[:nat_ip_port_ranges] if args.key?(:nat_ip_port_ranges)
4162041625 @num_total_drain_nat_ports = args[:num_total_drain_nat_ports] if args.key?(:num_total_drain_nat_ports)
4162141626 @num_total_nat_ports = args[:num_total_nat_ports] if args.key?(:num_total_nat_ports)
41627+ @rule_mappings = args[:rule_mappings] if args.key?(:rule_mappings)
4162241628 @source_alias_ip_range = args[:source_alias_ip_range] if args.key?(:source_alias_ip_range)
4162341629 @source_virtual_ip = args[:source_virtual_ip] if args.key?(:source_virtual_ip)
4162441630 end
4162541631 end
4162641632
41633+ # Contains information of NAT Mappings provided by a NAT Rule.
41634+ class VmEndpointNatMappingsInterfaceNatMappingsNatRuleMappings
41635+ include Google::Apis::Core::Hashable
41636+
41637+ # List of all drain IP:port-range mappings assigned to this interface by this
41638+ # rule. These ranges are inclusive, that is, both the first and the last ports
41639+ # can be used for NAT. Example: ["2.2.2.2:12345-12355", "1.1.1.1:2234-2234"].
41640+ # Corresponds to the JSON property `drainNatIpPortRanges`
41641+ # @return [Array<String>]
41642+ attr_accessor :drain_nat_ip_port_ranges
41643+
41644+ # A list of all IP:port-range mappings assigned to this interface by this rule.
41645+ # These ranges are inclusive, that is, both the first and the last ports can be
41646+ # used for NAT. Example: ["2.2.2.2:12345-12355", "1.1.1.1:2234-2234"].
41647+ # Corresponds to the JSON property `natIpPortRanges`
41648+ # @return [Array<String>]
41649+ attr_accessor :nat_ip_port_ranges
41650+
41651+ # Total number of drain ports across all NAT IPs allocated to this interface by
41652+ # this rule. It equals the aggregated port number in the field
41653+ # drain_nat_ip_port_ranges.
41654+ # Corresponds to the JSON property `numTotalDrainNatPorts`
41655+ # @return [Fixnum]
41656+ attr_accessor :num_total_drain_nat_ports
41657+
41658+ # Total number of ports across all NAT IPs allocated to this interface by this
41659+ # rule. It equals the aggregated port number in the field nat_ip_port_ranges.
41660+ # Corresponds to the JSON property `numTotalNatPorts`
41661+ # @return [Fixnum]
41662+ attr_accessor :num_total_nat_ports
41663+
41664+ # Rule number of the NAT Rule.
41665+ # Corresponds to the JSON property `ruleNumber`
41666+ # @return [Fixnum]
41667+ attr_accessor :rule_number
41668+
41669+ def initialize(**args)
41670+ update!(**args)
41671+ end
41672+
41673+ # Update properties of this object
41674+ def update!(**args)
41675+ @drain_nat_ip_port_ranges = args[:drain_nat_ip_port_ranges] if args.key?(:drain_nat_ip_port_ranges)
41676+ @nat_ip_port_ranges = args[:nat_ip_port_ranges] if args.key?(:nat_ip_port_ranges)
41677+ @num_total_drain_nat_ports = args[:num_total_drain_nat_ports] if args.key?(:num_total_drain_nat_ports)
41678+ @num_total_nat_ports = args[:num_total_nat_ports] if args.key?(:num_total_nat_ports)
41679+ @rule_number = args[:rule_number] if args.key?(:rule_number)
41680+ end
41681+ end
41682+
4162741683 # Contains a list of VmEndpointNatMappings.
4162841684 class VmEndpointNatMappingsList
4162941685 include Google::Apis::Core::Hashable
0 commit comments