Class ExternalVpnGatewayInterface


  • public final class ExternalVpnGatewayInterface
    extends java.lang.Object
    • Method Detail

      • id

        public java.util.Optional<java.lang.Integer> id()
        Returns:
        The numeric ID for this interface. Allowed values are based on the redundancy type of this external VPN gateway * `0 - SINGLE_IP_INTERNALLY_REDUNDANT` * `0, 1 - TWO_IPS_REDUNDANCY` * `0, 1, 2, 3 - FOUR_IPS_REDUNDANCY`
      • ipAddress

        public java.util.Optional<java.lang.String> ipAddress()
        Returns:
        IP address of the interface in the external VPN gateway. Only IPv4 is supported. This IP address can be either from your on-premise gateway or another Cloud provider's VPN gateway, it cannot be an IP address from Google Compute Engine.