class Google::Apis::ComputeV1::RouterStatusNatStatusNatRuleStatus
Status of a NAT Rule
contained in this NAT.
Attributes
A list of active IPs for NAT. Example: [“1.1.1.1”, “179.12.26.133”]. Corresponds to the JSON property `activeNatIps` @return [Array<String>]
A list of IPs for NAT that are in drain mode. Example: [“1.1.1.1”, “179.12.26. 133”]. Corresponds to the JSON property `drainNatIps` @return [Array<String>]
The number of extra IPs to allocate. This will be greater than 0 only if the existing IPs in this NAT Rule
are NOT enough to allow all configured VMs to use NAT. Corresponds to the JSON property `minExtraIpsNeeded` @return [Fixnum]
Number of VM endpoints (i.e., NICs) that have NAT Mappings from this NAT Rule
. Corresponds to the JSON property `numVmEndpointsWithNatMappings` @return [Fixnum]
Rule
number of the rule. Corresponds to the JSON property `ruleNumber` @return [Fixnum]
Public Class Methods
# File lib/google/apis/compute_v1/classes.rb, line 31247 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/compute_v1/classes.rb, line 31252 def update!(**args) @active_nat_ips = args[:active_nat_ips] if args.key?(:active_nat_ips) @drain_nat_ips = args[:drain_nat_ips] if args.key?(:drain_nat_ips) @min_extra_ips_needed = args[:min_extra_ips_needed] if args.key?(:min_extra_ips_needed) @num_vm_endpoints_with_nat_mappings = args[:num_vm_endpoints_with_nat_mappings] if args.key?(:num_vm_endpoints_with_nat_mappings) @rule_number = args[:rule_number] if args.key?(:rule_number) end