Class: Google::Cloud::NetworkManagement::V1::VpnTunnelInfo

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/networkmanagement/v1/trace.rb

Overview

For display only. Metadata associated with a Compute Engine VPN tunnel.

Defined Under Namespace

Modules: RoutingType

Instance Attribute Summary collapse

Instance Attribute Details

#display_name::String

Returns Name of a VPN tunnel.

Returns:

  • (::String)

    Name of a VPN tunnel.



847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
# File 'proto_docs/google/cloud/networkmanagement/v1/trace.rb', line 847

class VpnTunnelInfo
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Types of VPN routing policy. For details, refer to [Networks and Tunnel
  # routing](https://cloud.google.com/network-connectivity/docs/vpn/concepts/choosing-networks-routing/).
  module RoutingType
    # Unspecified type. Default value.
    ROUTING_TYPE_UNSPECIFIED = 0

    # Route based VPN.
    ROUTE_BASED = 1

    # Policy based routing.
    POLICY_BASED = 2

    # Dynamic (BGP) routing.
    DYNAMIC = 3
  end
end

#network_uri::String

Returns URI of a Compute Engine network where the VPN tunnel is configured.

Returns:

  • (::String)

    URI of a Compute Engine network where the VPN tunnel is configured.



847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
# File 'proto_docs/google/cloud/networkmanagement/v1/trace.rb', line 847

class VpnTunnelInfo
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Types of VPN routing policy. For details, refer to [Networks and Tunnel
  # routing](https://cloud.google.com/network-connectivity/docs/vpn/concepts/choosing-networks-routing/).
  module RoutingType
    # Unspecified type. Default value.
    ROUTING_TYPE_UNSPECIFIED = 0

    # Route based VPN.
    ROUTE_BASED = 1

    # Policy based routing.
    POLICY_BASED = 2

    # Dynamic (BGP) routing.
    DYNAMIC = 3
  end
end

#region::String

Returns Name of a Google Cloud region where this VPN tunnel is configured.

Returns:

  • (::String)

    Name of a Google Cloud region where this VPN tunnel is configured.



847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
# File 'proto_docs/google/cloud/networkmanagement/v1/trace.rb', line 847

class VpnTunnelInfo
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Types of VPN routing policy. For details, refer to [Networks and Tunnel
  # routing](https://cloud.google.com/network-connectivity/docs/vpn/concepts/choosing-networks-routing/).
  module RoutingType
    # Unspecified type. Default value.
    ROUTING_TYPE_UNSPECIFIED = 0

    # Route based VPN.
    ROUTE_BASED = 1

    # Policy based routing.
    POLICY_BASED = 2

    # Dynamic (BGP) routing.
    DYNAMIC = 3
  end
end

#remote_gateway::String

Returns URI of a VPN gateway at remote end of the tunnel.

Returns:

  • (::String)

    URI of a VPN gateway at remote end of the tunnel.



847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
# File 'proto_docs/google/cloud/networkmanagement/v1/trace.rb', line 847

class VpnTunnelInfo
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Types of VPN routing policy. For details, refer to [Networks and Tunnel
  # routing](https://cloud.google.com/network-connectivity/docs/vpn/concepts/choosing-networks-routing/).
  module RoutingType
    # Unspecified type. Default value.
    ROUTING_TYPE_UNSPECIFIED = 0

    # Route based VPN.
    ROUTE_BASED = 1

    # Policy based routing.
    POLICY_BASED = 2

    # Dynamic (BGP) routing.
    DYNAMIC = 3
  end
end

#remote_gateway_ip::String

Returns Remote VPN gateway's IP address.

Returns:

  • (::String)

    Remote VPN gateway's IP address.



847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
# File 'proto_docs/google/cloud/networkmanagement/v1/trace.rb', line 847

class VpnTunnelInfo
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Types of VPN routing policy. For details, refer to [Networks and Tunnel
  # routing](https://cloud.google.com/network-connectivity/docs/vpn/concepts/choosing-networks-routing/).
  module RoutingType
    # Unspecified type. Default value.
    ROUTING_TYPE_UNSPECIFIED = 0

    # Route based VPN.
    ROUTE_BASED = 1

    # Policy based routing.
    POLICY_BASED = 2

    # Dynamic (BGP) routing.
    DYNAMIC = 3
  end
end

#routing_type::Google::Cloud::NetworkManagement::V1::VpnTunnelInfo::RoutingType

Returns Type of the routing policy.

Returns:



847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
# File 'proto_docs/google/cloud/networkmanagement/v1/trace.rb', line 847

class VpnTunnelInfo
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Types of VPN routing policy. For details, refer to [Networks and Tunnel
  # routing](https://cloud.google.com/network-connectivity/docs/vpn/concepts/choosing-networks-routing/).
  module RoutingType
    # Unspecified type. Default value.
    ROUTING_TYPE_UNSPECIFIED = 0

    # Route based VPN.
    ROUTE_BASED = 1

    # Policy based routing.
    POLICY_BASED = 2

    # Dynamic (BGP) routing.
    DYNAMIC = 3
  end
end

#source_gateway::String

Returns URI of the VPN gateway at local end of the tunnel.

Returns:

  • (::String)

    URI of the VPN gateway at local end of the tunnel.



847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
# File 'proto_docs/google/cloud/networkmanagement/v1/trace.rb', line 847

class VpnTunnelInfo
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Types of VPN routing policy. For details, refer to [Networks and Tunnel
  # routing](https://cloud.google.com/network-connectivity/docs/vpn/concepts/choosing-networks-routing/).
  module RoutingType
    # Unspecified type. Default value.
    ROUTING_TYPE_UNSPECIFIED = 0

    # Route based VPN.
    ROUTE_BASED = 1

    # Policy based routing.
    POLICY_BASED = 2

    # Dynamic (BGP) routing.
    DYNAMIC = 3
  end
end

#source_gateway_ip::String

Returns Local VPN gateway's IP address.

Returns:

  • (::String)

    Local VPN gateway's IP address.



847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
# File 'proto_docs/google/cloud/networkmanagement/v1/trace.rb', line 847

class VpnTunnelInfo
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Types of VPN routing policy. For details, refer to [Networks and Tunnel
  # routing](https://cloud.google.com/network-connectivity/docs/vpn/concepts/choosing-networks-routing/).
  module RoutingType
    # Unspecified type. Default value.
    ROUTING_TYPE_UNSPECIFIED = 0

    # Route based VPN.
    ROUTE_BASED = 1

    # Policy based routing.
    POLICY_BASED = 2

    # Dynamic (BGP) routing.
    DYNAMIC = 3
  end
end

#uri::String

Returns URI of a VPN tunnel.

Returns:

  • (::String)

    URI of a VPN tunnel.



847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
# File 'proto_docs/google/cloud/networkmanagement/v1/trace.rb', line 847

class VpnTunnelInfo
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Types of VPN routing policy. For details, refer to [Networks and Tunnel
  # routing](https://cloud.google.com/network-connectivity/docs/vpn/concepts/choosing-networks-routing/).
  module RoutingType
    # Unspecified type. Default value.
    ROUTING_TYPE_UNSPECIFIED = 0

    # Route based VPN.
    ROUTE_BASED = 1

    # Policy based routing.
    POLICY_BASED = 2

    # Dynamic (BGP) routing.
    DYNAMIC = 3
  end
end