Interface RouterNatRuleActionOrBuilder (1.55.0)

public interface RouterNatRuleActionOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getSourceNatActiveIps(int index)

public abstract String getSourceNatActiveIps(int index)

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.

repeated string source_nat_active_ips = 210378229;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The sourceNatActiveIps at the given index.

getSourceNatActiveIpsBytes(int index)

public abstract ByteString getSourceNatActiveIpsBytes(int index)

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.

repeated string source_nat_active_ips = 210378229;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the sourceNatActiveIps at the given index.

getSourceNatActiveIpsCount()

public abstract int getSourceNatActiveIpsCount()

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.

repeated string source_nat_active_ips = 210378229;

Returns
Type Description
int

The count of sourceNatActiveIps.

getSourceNatActiveIpsList()

public abstract List<String> getSourceNatActiveIpsList()

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.

repeated string source_nat_active_ips = 210378229;

Returns
Type Description
List<String>

A list containing the sourceNatActiveIps.

getSourceNatActiveRanges(int index)

public abstract String getSourceNatActiveRanges(int index)

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.

repeated string source_nat_active_ranges = 190556269;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The sourceNatActiveRanges at the given index.

getSourceNatActiveRangesBytes(int index)

public abstract ByteString getSourceNatActiveRangesBytes(int index)

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.

repeated string source_nat_active_ranges = 190556269;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the sourceNatActiveRanges at the given index.

getSourceNatActiveRangesCount()

public abstract int getSourceNatActiveRangesCount()

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.

repeated string source_nat_active_ranges = 190556269;

Returns
Type Description
int

The count of sourceNatActiveRanges.

getSourceNatActiveRangesList()

public abstract List<String> getSourceNatActiveRangesList()

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.

repeated string source_nat_active_ranges = 190556269;

Returns
Type Description
List<String>

A list containing the sourceNatActiveRanges.

getSourceNatDrainIps(int index)

public abstract String getSourceNatDrainIps(int index)

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.

repeated string source_nat_drain_ips = 340812451;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The sourceNatDrainIps at the given index.

getSourceNatDrainIpsBytes(int index)

public abstract ByteString getSourceNatDrainIpsBytes(int index)

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.

repeated string source_nat_drain_ips = 340812451;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the sourceNatDrainIps at the given index.

getSourceNatDrainIpsCount()

public abstract int getSourceNatDrainIpsCount()

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.

repeated string source_nat_drain_ips = 340812451;

Returns
Type Description
int

The count of sourceNatDrainIps.

getSourceNatDrainIpsList()

public abstract List<String> getSourceNatDrainIpsList()

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.

repeated string source_nat_drain_ips = 340812451;

Returns
Type Description
List<String>

A list containing the sourceNatDrainIps.

getSourceNatDrainRanges(int index)

public abstract String getSourceNatDrainRanges(int index)

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.

repeated string source_nat_drain_ranges = 84802815;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The sourceNatDrainRanges at the given index.

getSourceNatDrainRangesBytes(int index)

public abstract ByteString getSourceNatDrainRangesBytes(int index)

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.

repeated string source_nat_drain_ranges = 84802815;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the sourceNatDrainRanges at the given index.

getSourceNatDrainRangesCount()

public abstract int getSourceNatDrainRangesCount()

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.

repeated string source_nat_drain_ranges = 84802815;

Returns
Type Description
int

The count of sourceNatDrainRanges.

getSourceNatDrainRangesList()

public abstract List<String> getSourceNatDrainRangesList()

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.

repeated string source_nat_drain_ranges = 84802815;

Returns
Type Description
List<String>

A list containing the sourceNatDrainRanges.