Distributed Cloud Edge Container V1 API - Class Google::Cloud::EdgeContainer::V1::VpnConnection (v0.1.1)

Reference documentation and code samples for the Distributed Cloud Edge Container V1 API class Google::Cloud::EdgeContainer::V1::VpnConnection.

A VPN connection .

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#bgp_routing_mode

def bgp_routing_mode() -> ::Google::Cloud::EdgeContainer::V1::VpnConnection::BgpRoutingMode
Returns

#bgp_routing_mode=

def bgp_routing_mode=(value) -> ::Google::Cloud::EdgeContainer::V1::VpnConnection::BgpRoutingMode
Parameter
Returns

#cluster

def cluster() -> ::String
Returns
  • (::String) — The canonical Cluster name to connect to. It is in the form of projects/{project}/locations/{location}/clusters/{cluster}.

#cluster=

def cluster=(value) -> ::String
Parameter
  • value (::String) — The canonical Cluster name to connect to. It is in the form of projects/{project}/locations/{location}/clusters/{cluster}.
Returns
  • (::String) — The canonical Cluster name to connect to. It is in the form of projects/{project}/locations/{location}/clusters/{cluster}.

#create_time

def create_time() -> ::Google::Protobuf::Timestamp
Returns

#details

def details() -> ::Google::Cloud::EdgeContainer::V1::VpnConnection::Details
Returns

#enable_high_availability

def enable_high_availability() -> ::Boolean
Returns
  • (::Boolean) — Whether this VPN connection has HA enabled on cluster side. If enabled, when creating VPN connection we will attempt to use 2 ANG floating IPs.

#enable_high_availability=

def enable_high_availability=(value) -> ::Boolean
Parameter
  • value (::Boolean) — Whether this VPN connection has HA enabled on cluster side. If enabled, when creating VPN connection we will attempt to use 2 ANG floating IPs.
Returns
  • (::Boolean) — Whether this VPN connection has HA enabled on cluster side. If enabled, when creating VPN connection we will attempt to use 2 ANG floating IPs.

#labels

def labels() -> ::Google::Protobuf::Map{::String => ::String}
Returns
  • (::Google::Protobuf::Map{::String => ::String}) — Labels associated with this resource.

#labels=

def labels=(value) -> ::Google::Protobuf::Map{::String => ::String}
Parameter
  • value (::Google::Protobuf::Map{::String => ::String}) — Labels associated with this resource.
Returns
  • (::Google::Protobuf::Map{::String => ::String}) — Labels associated with this resource.

#name

def name() -> ::String
Returns
  • (::String) — Required. The resource name of VPN connection

#name=

def name=(value) -> ::String
Parameter
  • value (::String) — Required. The resource name of VPN connection
Returns
  • (::String) — Required. The resource name of VPN connection

#nat_gateway_ip

def nat_gateway_ip() -> ::String
Returns
  • (::String) — NAT gateway IP, or WAN IP address. If a customer has multiple NAT IPs, the customer needs to configure NAT such that only one external IP maps to the GMEC Anthos cluster. This is empty if NAT is not used.

#nat_gateway_ip=

def nat_gateway_ip=(value) -> ::String
Parameter
  • value (::String) — NAT gateway IP, or WAN IP address. If a customer has multiple NAT IPs, the customer needs to configure NAT such that only one external IP maps to the GMEC Anthos cluster. This is empty if NAT is not used.
Returns
  • (::String) — NAT gateway IP, or WAN IP address. If a customer has multiple NAT IPs, the customer needs to configure NAT such that only one external IP maps to the GMEC Anthos cluster. This is empty if NAT is not used.

#router

def router() -> ::String
Returns
  • (::String) — Optional. The VPN connection Cloud Router name.

#router=

def router=(value) -> ::String
Parameter
  • value (::String) — Optional. The VPN connection Cloud Router name.
Returns
  • (::String) — Optional. The VPN connection Cloud Router name.

#update_time

def update_time() -> ::Google::Protobuf::Timestamp
Returns

#vpc

def vpc() -> ::String
Returns
  • (::String) — The network ID of VPC to connect to.

#vpc=

def vpc=(value) -> ::String
Parameter
  • value (::String) — The network ID of VPC to connect to.
Returns
  • (::String) — The network ID of VPC to connect to.

#vpc_project

def vpc_project() -> ::Google::Cloud::EdgeContainer::V1::VpnConnection::VpcProject
Returns

#vpc_project=

def vpc_project=(value) -> ::Google::Cloud::EdgeContainer::V1::VpnConnection::VpcProject
Parameter
Returns