Class: Google::Cloud::NetworkManagement::V1::VpnTunnelInfo
- Inherits:
-
Object
- Object
- Google::Cloud::NetworkManagement::V1::VpnTunnelInfo
- 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
-
#display_name ⇒ ::String
Name of a VPN tunnel.
-
#network_uri ⇒ ::String
URI of a Compute Engine network where the VPN tunnel is configured.
-
#region ⇒ ::String
Name of a Google Cloud region where this VPN tunnel is configured.
-
#remote_gateway ⇒ ::String
URI of a VPN gateway at remote end of the tunnel.
-
#remote_gateway_ip ⇒ ::String
Remote VPN gateway's IP address.
-
#routing_type ⇒ ::Google::Cloud::NetworkManagement::V1::VpnTunnelInfo::RoutingType
Type of the routing policy.
-
#source_gateway ⇒ ::String
URI of the VPN gateway at local end of the tunnel.
-
#source_gateway_ip ⇒ ::String
Local VPN gateway's IP address.
-
#uri ⇒ ::String
URI of a VPN tunnel.
Instance Attribute Details
#display_name ⇒ ::String
Returns 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.
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.
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.
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.
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.
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.
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.
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.
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 |