Reference documentation and code samples for the Network Management V1 API class Google::Cloud::NetworkManagement::V1::VpnTunnelInfo.
For display only. Metadata associated with a Compute Engine VPN tunnel.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#display_name
def display_name() -> ::String- (::String) — Name of a VPN tunnel.
#display_name=
def display_name=(value) -> ::String- value (::String) — Name of a VPN tunnel.
- (::String) — Name of a VPN tunnel.
#network_uri
def network_uri() -> ::String-
(::String) — URI of the VPC network where the VPN tunnel is configured.
Format:
projects/{project_id}/global/networks/{network_id}
#network_uri=
def network_uri=(value) -> ::String-
value (::String) — URI of the VPC network where the VPN tunnel is configured.
Format:
projects/{project_id}/global/networks/{network_id}
-
(::String) — URI of the VPC network where the VPN tunnel is configured.
Format:
projects/{project_id}/global/networks/{network_id}
#region
def region() -> ::String- (::String) — Name of a Google Cloud region where this VPN tunnel is configured.
#region=
def region=(value) -> ::String- value (::String) — Name of a Google Cloud region where this VPN tunnel is configured.
- (::String) — Name of a Google Cloud region where this VPN tunnel is configured.
#remote_gateway
def remote_gateway() -> ::String-
(::String) —
URI of a VPN gateway at remote end of the tunnel. Format:
projects/{project_id}/regions/{region}/vpnGateways/{vpn_gateway_id}(GCP HA VPN gateway)projects/{project_id}/global/peerVpnGateways/{peer_vpn_gateway_id}(GCP peer VPN gateway)
#remote_gateway=
def remote_gateway=(value) -> ::String-
value (::String) —
URI of a VPN gateway at remote end of the tunnel. Format:
projects/{project_id}/regions/{region}/vpnGateways/{vpn_gateway_id}(GCP HA VPN gateway)projects/{project_id}/global/peerVpnGateways/{peer_vpn_gateway_id}(GCP peer VPN gateway)
-
(::String) —
URI of a VPN gateway at remote end of the tunnel. Format:
projects/{project_id}/regions/{region}/vpnGateways/{vpn_gateway_id}(GCP HA VPN gateway)projects/{project_id}/global/peerVpnGateways/{peer_vpn_gateway_id}(GCP peer VPN gateway)
#remote_gateway_ip
def remote_gateway_ip() -> ::String- (::String) — Remote VPN gateway's IP address.
#remote_gateway_ip=
def remote_gateway_ip=(value) -> ::String- value (::String) — Remote VPN gateway's IP address.
- (::String) — Remote VPN gateway's IP address.
#routing_type
def routing_type() -> ::Google::Cloud::NetworkManagement::V1::VpnTunnelInfo::RoutingType- (::Google::Cloud::NetworkManagement::V1::VpnTunnelInfo::RoutingType) — Type of the routing policy.
#routing_type=
def routing_type=(value) -> ::Google::Cloud::NetworkManagement::V1::VpnTunnelInfo::RoutingType- value (::Google::Cloud::NetworkManagement::V1::VpnTunnelInfo::RoutingType) — Type of the routing policy.
- (::Google::Cloud::NetworkManagement::V1::VpnTunnelInfo::RoutingType) — Type of the routing policy.
#source_gateway
def source_gateway() -> ::String-
(::String) —
URI of the VPN gateway at local end of the tunnel. Format:
projects/{project_id}/regions/{region}/vpnGateways/{vpn_gateway_id}(HA VPN gateway)projects/{project_id}/regions/{region}/targetVpnGateways/{target_vpn_gateway_id}(Classic VPN gateway)
#source_gateway=
def source_gateway=(value) -> ::String-
value (::String) —
URI of the VPN gateway at local end of the tunnel. Format:
projects/{project_id}/regions/{region}/vpnGateways/{vpn_gateway_id}(HA VPN gateway)projects/{project_id}/regions/{region}/targetVpnGateways/{target_vpn_gateway_id}(Classic VPN gateway)
-
(::String) —
URI of the VPN gateway at local end of the tunnel. Format:
projects/{project_id}/regions/{region}/vpnGateways/{vpn_gateway_id}(HA VPN gateway)projects/{project_id}/regions/{region}/targetVpnGateways/{target_vpn_gateway_id}(Classic VPN gateway)
#source_gateway_ip
def source_gateway_ip() -> ::String- (::String) — Local VPN gateway's IP address.
#source_gateway_ip=
def source_gateway_ip=(value) -> ::String- value (::String) — Local VPN gateway's IP address.
- (::String) — Local VPN gateway's IP address.
#uri
def uri() -> ::String-
(::String) — URI of the VPN tunnel.
Format:
projects/{project_id}/regions/{region}/vpnTunnels/{vpn_tunnel_id}
#uri=
def uri=(value) -> ::String-
value (::String) — URI of the VPN tunnel.
Format:
projects/{project_id}/regions/{region}/vpnTunnels/{vpn_tunnel_id}
-
(::String) — URI of the VPN tunnel.
Format:
projects/{project_id}/regions/{region}/vpnTunnels/{vpn_tunnel_id}