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
-
(::Google::Cloud::EdgeContainer::V1::VpnConnection::BgpRoutingMode) — Dynamic routing mode of the VPC network,
regional
orglobal
.
#bgp_routing_mode=
def bgp_routing_mode=(value) -> ::Google::Cloud::EdgeContainer::V1::VpnConnection::BgpRoutingMode
Parameter
-
value (::Google::Cloud::EdgeContainer::V1::VpnConnection::BgpRoutingMode) — Dynamic routing mode of the VPC network,
regional
orglobal
.
Returns
-
(::Google::Cloud::EdgeContainer::V1::VpnConnection::BgpRoutingMode) — Dynamic routing mode of the VPC network,
regional
orglobal
.
#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
- (::Google::Protobuf::Timestamp) — Output only. The time when the VPN connection was created.
#details
def details() -> ::Google::Cloud::EdgeContainer::V1::VpnConnection::Details
Returns
- (::Google::Cloud::EdgeContainer::V1::VpnConnection::Details) — Output only. The created connection details.
#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
- (::Google::Protobuf::Timestamp) — Output only. The time when the VPN connection was last updated.
#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
- (::Google::Cloud::EdgeContainer::V1::VpnConnection::VpcProject) — Optional. Project detail of the VPC network. Required if VPC is in a different project than the cluster project.
#vpc_project=
def vpc_project=(value) -> ::Google::Cloud::EdgeContainer::V1::VpnConnection::VpcProject
Parameter
- value (::Google::Cloud::EdgeContainer::V1::VpnConnection::VpcProject) — Optional. Project detail of the VPC network. Required if VPC is in a different project than the cluster project.
Returns
- (::Google::Cloud::EdgeContainer::V1::VpnConnection::VpcProject) — Optional. Project detail of the VPC network. Required if VPC is in a different project than the cluster project.