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

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

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






RouterNatRule (Compute Engine API alpha-rev20200526-1.30.9)












com.google.api.services.compute.model

Class RouterNatRule

    • Constructor Detail

      • RouterNatRule

        public RouterNatRule()
    • Method Detail

      • getAction

        public RouterNatRuleAction getAction()
        The action to be enforced for traffic that matches this rule.
        Returns:
        value or null for none
      • setAction

        public RouterNatRule setAction(RouterNatRuleAction action)
        The action to be enforced for traffic that matches this rule.
        Parameters:
        action - action or null for none
      • getDescription

        public String getDescription()
        An optional description of this rule.
        Returns:
        value or null for none
      • setDescription

        public RouterNatRule setDescription(String description)
        An optional description of this rule.
        Parameters:
        description - description or null for none
      • getMatch

        public String getMatch()
        CEL expression that specifies the match condition that egress traffic from a VM is evaluated against. If it evaluates to true, the corresponding ?action? is enforced. The following examples are valid match expressions: "inIpRange(destination.ip, '1.1.0.0/16') || inIpRange(destination.ip, '2.2.0.0/16')" "destination.ip == '1.1.0.1' || destination.ip == '8.8.8.8'"
        Returns:
        value or null for none
      • setMatch

        public RouterNatRule setMatch(String match)
        CEL expression that specifies the match condition that egress traffic from a VM is evaluated against. If it evaluates to true, the corresponding ?action? is enforced. The following examples are valid match expressions: "inIpRange(destination.ip, '1.1.0.0/16') || inIpRange(destination.ip, '2.2.0.0/16')" "destination.ip == '1.1.0.1' || destination.ip == '8.8.8.8'"
        Parameters:
        match - match or null for none
      • getPriority

        public Long getPriority()
        An integer indicating the priority of a rule in the list. The priority must be a positive value between 0 and 65000. The priority must be unique among rules within a NAT.
        Returns:
        value or null for none
      • setPriority

        public RouterNatRule setPriority(Long priority)
        An integer indicating the priority of a rule in the list. The priority must be a positive value between 0 and 65000. The priority must be unique among rules within a NAT.
        Parameters:
        priority - priority or null for none

Copyright © 2011–2020 Google. All rights reserved.





© 2015 - 2025 Weber Informatics LLC | Privacy Policy