All Downloads are FREE. Search and download functionalities are using the official Maven repository.

target.apidocs.com.google.api.services.compute.model.RouterNatRuleAction.html Maven / Gradle / Ivy

There is a newer version: v1-rev20250320-2.0.0
Show newest version






RouterNatRuleAction (Compute Engine API v1-rev20250107-2.0.0)












com.google.api.services.compute.model

Class RouterNatRuleAction

    • Constructor Detail

      • RouterNatRuleAction

        public RouterNatRuleAction()
    • Method Detail

      • getSourceNatActiveIps

        public List<String> getSourceNatActiveIps()
        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:
        value or null for none
      • setSourceNatActiveIps

        public RouterNatRuleAction setSourceNatActiveIps(List<String> sourceNatActiveIps)
        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.
        Parameters:
        sourceNatActiveIps - sourceNatActiveIps or null for none
      • getSourceNatActiveRanges

        public List<String> getSourceNatActiveRanges()
        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:
        value or null for none
      • setSourceNatActiveRanges

        public RouterNatRuleAction setSourceNatActiveRanges(List<String> sourceNatActiveRanges)
        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.
        Parameters:
        sourceNatActiveRanges - sourceNatActiveRanges or null for none
      • getSourceNatDrainIps

        public List<String> getSourceNatDrainIps()
        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:
        value or null for none
      • setSourceNatDrainIps

        public RouterNatRuleAction setSourceNatDrainIps(List<String> sourceNatDrainIps)
        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.
        Parameters:
        sourceNatDrainIps - sourceNatDrainIps or null for none
      • getSourceNatDrainRanges

        public List<String> getSourceNatDrainRanges()
        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:
        value or null for none
      • setSourceNatDrainRanges

        public RouterNatRuleAction setSourceNatDrainRanges(List<String> sourceNatDrainRanges)
        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.
        Parameters:
        sourceNatDrainRanges - sourceNatDrainRanges or null for none
      • clone

        public RouterNatRuleAction clone()
        Overrides:
        clone in class com.google.api.client.json.GenericJson

Copyright © 2011–2025 Google. All rights reserved.





© 2015 - 2025 Weber Informatics LLC | Privacy Policy