Reference documentation and code samples for the Network Management V1 API class Google::Cloud::NetworkManagement::V1::VpnGatewayInfo.
For display only. Metadata associated with a Compute Engine VPN gateway.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#display_name
def display_name() -> ::String
Returns
- (::String) — Name of a VPN gateway.
#display_name=
def display_name=(value) -> ::String
Parameter
- value (::String) — Name of a VPN gateway.
Returns
- (::String) — Name of a VPN gateway.
#ip_address
def ip_address() -> ::String
Returns
- (::String) — IP address of the VPN gateway.
#ip_address=
def ip_address=(value) -> ::String
Parameter
- value (::String) — IP address of the VPN gateway.
Returns
- (::String) — IP address of the VPN gateway.
#network_uri
def network_uri() -> ::String
Returns
-
(::String) — URI of the VPC network where the VPN gateway is configured.
Format:
projects/{project_id}/global/networks/{network_id}
#network_uri=
def network_uri=(value) -> ::String
Parameter
-
value (::String) — URI of the VPC network where the VPN gateway is configured.
Format:
projects/{project_id}/global/networks/{network_id}
Returns
-
(::String) — URI of the VPC network where the VPN gateway is configured.
Format:
projects/{project_id}/global/networks/{network_id}
#region
def region() -> ::String
Returns
- (::String) — Name of a Google Cloud region where this VPN gateway is configured.
#region=
def region=(value) -> ::String
Parameter
- value (::String) — Name of a Google Cloud region where this VPN gateway is configured.
Returns
- (::String) — Name of a Google Cloud region where this VPN gateway is configured.
#uri
def uri() -> ::String
Returns
-
(::String) —
URI of the VPN gateway. 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)
#uri=
def uri=(value) -> ::String
Parameter
-
value (::String) —
URI of the VPN gateway. 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)
Returns
-
(::String) —
URI of the VPN gateway. 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)
#vpn_tunnel_uri
def vpn_tunnel_uri() -> ::String
Returns
-
(::String) — URI of the VPN tunnel associated with the VPN gateway.
There may be multiple VPN tunnels configured on a VPN gateway, and only
the one relevant to the test is displayed.
Format:
projects/{project_id}/regions/{region}/vpnTunnels/{vpn_tunnel_id}
#vpn_tunnel_uri=
def vpn_tunnel_uri=(value) -> ::String
Parameter
-
value (::String) — URI of the VPN tunnel associated with the VPN gateway.
There may be multiple VPN tunnels configured on a VPN gateway, and only
the one relevant to the test is displayed.
Format:
projects/{project_id}/regions/{region}/vpnTunnels/{vpn_tunnel_id}
Returns
-
(::String) — URI of the VPN tunnel associated with the VPN gateway.
There may be multiple VPN tunnels configured on a VPN gateway, and only
the one relevant to the test is displayed.
Format:
projects/{project_id}/regions/{region}/vpnTunnels/{vpn_tunnel_id}