View Source GoogleApi.Compute.V1.Model.VpnGatewayStatusVpnConnection (google_api_compute v0.56.2)

A VPN connection contains all VPN tunnels connected from this VpnGateway to the same peer gateway. The peer gateway could either be an external VPN gateway or a Google Cloud VPN gateway.

Attributes

  • peerExternalGateway (type: String.t, default: nil) - URL reference to the peer external VPN gateways to which the VPN tunnels in this VPN connection are connected. This field is mutually exclusive with peer_gcp_gateway.
  • peerGcpGateway (type: String.t, default: nil) - URL reference to the peer side VPN gateways to which the VPN tunnels in this VPN connection are connected. This field is mutually exclusive with peer_gcp_gateway.
  • state (type: GoogleApi.Compute.V1.Model.VpnGatewayStatusHighAvailabilityRequirementState.t, default: nil) - HighAvailabilityRequirementState for the VPN connection.
  • tunnels (type: list(GoogleApi.Compute.V1.Model.VpnGatewayStatusTunnel.t), default: nil) - List of VPN tunnels that are in this VPN connection.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.Compute.V1.Model.VpnGatewayStatusVpnConnection{
  peerExternalGateway: String.t() | nil,
  peerGcpGateway: String.t() | nil,
  state:
    GoogleApi.Compute.V1.Model.VpnGatewayStatusHighAvailabilityRequirementState.t()
    | nil,
  tunnels: [GoogleApi.Compute.V1.Model.VpnGatewayStatusTunnel.t()] | nil
}

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.