Google Cloud Compute V1 API - Class Google::Cloud::Compute::V1::RouterNatRuleAction (v2.8.0)

Reference documentation and code samples for the Google Cloud Compute V1 API class Google::Cloud::Compute::V1::RouterNatRuleAction.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#source_nat_active_ips

def source_nat_active_ips() -> ::Array<::String>
Returns
  • (::Array<::String>) — 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.

#source_nat_active_ips=

def source_nat_active_ips=(value) -> ::Array<::String>
Parameter
  • value (::Array<::String>) — 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.
Returns
  • (::Array<::String>) — 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.

#source_nat_active_ranges

def source_nat_active_ranges() -> ::Array<::String>
Returns
  • (::Array<::String>) — A list of URLs of the subnetworks used as source ranges for this NAT Rule. These subnetworks must have purpose set to PRIVATE_NAT. This field is used for private NAT.

#source_nat_active_ranges=

def source_nat_active_ranges=(value) -> ::Array<::String>
Parameter
  • value (::Array<::String>) — A list of URLs of the subnetworks used as source ranges for this NAT Rule. These subnetworks must have purpose set to PRIVATE_NAT. This field is used for private NAT.
Returns
  • (::Array<::String>) — A list of URLs of the subnetworks used as source ranges for this NAT Rule. These subnetworks must have purpose set to PRIVATE_NAT. This field is used for private NAT.

#source_nat_drain_ips

def source_nat_drain_ips() -> ::Array<::String>
Returns
  • (::Array<::String>) — 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.

#source_nat_drain_ips=

def source_nat_drain_ips=(value) -> ::Array<::String>
Parameter
  • value (::Array<::String>) — 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.
Returns
  • (::Array<::String>) — 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.

#source_nat_drain_ranges

def source_nat_drain_ranges() -> ::Array<::String>
Returns
  • (::Array<::String>) — A list of URLs of subnetworks representing source ranges to be drained. This is only supported on patch/update, and these subnetworks must have previously been used as active ranges in this NAT Rule. This field is used for private NAT.

#source_nat_drain_ranges=

def source_nat_drain_ranges=(value) -> ::Array<::String>
Parameter
  • value (::Array<::String>) — A list of URLs of subnetworks representing source ranges to be drained. This is only supported on patch/update, and these subnetworks must have previously been used as active ranges in this NAT Rule. This field is used for private NAT.
Returns
  • (::Array<::String>) — A list of URLs of subnetworks representing source ranges to be drained. This is only supported on patch/update, and these subnetworks must have previously been used as active ranges in this NAT Rule. This field is used for private NAT.