Class VpnConnection (0.3.0)

VpnConnection(mapping=None, *, ignore_unknown_fields=False, **kwargs)

A VPN connection .

Attributes

NameDescription
name str
Required. The resource name of VPN connection
create_time google.protobuf.timestamp_pb2.Timestamp
Output only. The time when the VPN connection was created.
update_time google.protobuf.timestamp_pb2.Timestamp
Output only. The time when the VPN connection was last updated.
labels MutableMapping[str, str]
Labels associated with this resource.
nat_gateway_ip str
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.
bgp_routing_mode google.cloud.edgecontainer_v1.types.VpnConnection.BgpRoutingMode
Dynamic routing mode of the VPC network, regional or global.
cluster str
The canonical Cluster name to connect to. It is in the form of projects/{project}/locations/{location}/clusters/{cluster}.
vpc str
The network ID of VPC to connect to.
vpc_project google.cloud.edgecontainer_v1.types.VpnConnection.VpcProject
Optional. Project detail of the VPC network. Required if VPC is in a different project than the cluster project.
enable_high_availability bool
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.
details google.cloud.edgecontainer_v1.types.VpnConnection.Details
Output only. The created connection details.

Classes

BgpRoutingMode

BgpRoutingMode(value)

Routing mode.

Details

Details(mapping=None, *, ignore_unknown_fields=False, **kwargs)

The created connection details.

LabelsEntry

LabelsEntry(mapping=None, *, ignore_unknown_fields=False, **kwargs)

The abstract base class for a message.

Parameters
NameDescription
kwargs dict

Keys and values corresponding to the fields of the message.

mapping Union[dict, .Message]

A dictionary or message to be used to determine the values for this message.

ignore_unknown_fields Optional(bool)

If True, do not raise errors for unknown fields. Only applied if mapping is a mapping type or there are keyword parameters.

VpcProject

VpcProject(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Project detail of the VPC network.