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.



780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
# File 'proto_docs/google/cloud/networkmanagement/v1/trace.rb', line 780

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.



780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
# File 'proto_docs/google/cloud/networkmanagement/v1/trace.rb', line 780

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.



780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
# File 'proto_docs/google/cloud/networkmanagement/v1/trace.rb', line 780

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.



780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
# File 'proto_docs/google/cloud/networkmanagement/v1/trace.rb', line 780

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.



780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
# File 'proto_docs/google/cloud/networkmanagement/v1/trace.rb', line 780

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:



780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
# File 'proto_docs/google/cloud/networkmanagement/v1/trace.rb', line 780

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.



780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
# File 'proto_docs/google/cloud/networkmanagement/v1/trace.rb', line 780

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.



780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
# File 'proto_docs/google/cloud/networkmanagement/v1/trace.rb', line 780

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.



780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
# File 'proto_docs/google/cloud/networkmanagement/v1/trace.rb', line 780

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