class Google::Apis::ComputeV1::RouterNatRuleAction
Attributes
source_nat_active_ips[RW]
A list of URLs of the IP resources used for this NAT rule. These IP addresses must be valid static external IP addresses assigned to the project. This field is used for public NAT. Corresponds to the JSON property `sourceNatActiveIps` @return [Array<String>]
source_nat_drain_ips[RW]
A list of URLs of the IP resources to be drained. These IPs must be valid static external IPs that have been assigned to the NAT. These IPs should be used for updating/patching a NAT rule only. This field is used for public NAT. Corresponds to the JSON property `sourceNatDrainIps` @return [Array<String>]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/compute_v1/classes.rb, line 30932 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/compute_v1/classes.rb, line 30937 def update!(**args) @source_nat_active_ips = args[:source_nat_active_ips] if args.key?(:source_nat_active_ips) @source_nat_drain_ips = args[:source_nat_drain_ips] if args.key?(:source_nat_drain_ips) end