Cloud Interconnect API, gRPC: PrivateConnectionService.Get
Returns the specified PrivateConnection resource.
To get the list of available PrivateConnection resources, make a List request.
gRPC request
rpc Get (GetPrivateConnectionRequest) returns (PrivateConnection)
GetPrivateConnectionRequest
{
"privateConnectionId": "string"
}
Field |
Description |
privateConnectionId |
string Required field. ID of the PrivateConnection resource to return. |
PrivateConnection
{
"id": "string",
"name": "string",
"description": "string",
"folderId": "string",
"regionId": "string",
"trunkConnectionId": "string",
"vlanId": "google.protobuf.Int64Value",
"ipv4Peering": {
"peeringSubnet": "string",
"peerIp": "string",
"cloudIp": "string",
"peerBgpAsn": "int64",
"cloudBgpAsn": "int64",
"peerBgpMd5Key": "string"
},
"ipv4StaticRoutes": [
{
"prefix": "string",
"nextHop": [
"string"
]
}
],
"labels": "string"
}
A PrivateConnection resource.
Field |
Description |
id |
string ID of the privateConnection. |
name |
string Name of the privateConnection. |
description |
string Optional description of the privateConnection. 0-256 characters long. |
folderId |
string ID of the folder that the privateConnection belongs to. |
regionId |
string ID of the region that the privateConnection belongs to. |
trunkConnectionId |
string ID of the trunk_connection that the privateConnection belongs to. |
vlanId |
VLAN_ID that the privateConnection uses in multiplexing. |
ipv4Peering |
IPv4 peering config of connection |
ipv4StaticRoutes[] |
IPv4 StaticRoute config of connection |
labels |
string Resource labels, |
Peering
Field |
Description |
peeringSubnet |
string PeeringSubnet. |
peerIp |
string PeerIp. |
cloudIp |
string CloudIp. |
peerBgpAsn |
int64 PeerBgpAsn. |
cloudBgpAsn |
int64 CloudBgpAsn. |
peerBgpMd5Key |
string PeerBgpMd5Key. |
StaticRoute
Field |
Description |
prefix |
string Prefix. |
nextHop[] |
string PeerIp. |