Cloud Interconnect API, gRPC: PublicConnectionService.Get
Returns the specified PublicConnection resource.
To get the list of available PublicConnection resources, make a List request.
gRPC request
rpc Get (GetPublicConnectionRequest) returns (PublicConnection)
GetPublicConnectionRequest
{
"public_connection_id": "string"
}
Field |
Description |
public_connection_id |
string Required field. ID of the PublicConnection resource to return. |
PublicConnection
{
"id": "string",
"name": "string",
"description": "string",
"folder_id": "string",
"region_id": "string",
"trunk_connection_id": "string",
"vlan_id": "google.protobuf.Int64Value",
"ipv4_peering": {
"peering_subnet": "string",
"peer_ip": "string",
"cloud_ip": "string",
"peer_bgp_asn": "int64",
"cloud_bgp_asn": "int64",
"peer_bgp_md5_key": "string"
},
"ipv4_allowed_service_types": [
"CloudServiceType"
],
"ipv4_peer_announced_prefixes": [
"string"
],
"labels": "map<string, string>"
}
A PublicConnection resource.
Field |
Description |
id |
string ID of the publicConnection. |
name |
string Name of the publicConnection. |
description |
string Optional description of the publicConnection. 0-256 characters long. |
folder_id |
string ID of the folder that the publicConnection belongs to. |
region_id |
string ID of the region that the publicConnection belongs to. |
trunk_connection_id |
string ID of the trunk_connection that the publicConnection belongs to. |
vlan_id |
VLAN_ID that the privateConnection uses in multiplexing. |
ipv4_peering |
IPv4 peering config of connection |
ipv4_allowed_service_types[] |
enum CloudServiceType Cloud services that the publicConnection connects to.
|
ipv4_peer_announced_prefixes[] |
string IPv4 Peer Announced Prefixes |
labels |
object (map<string, string>) Resource labels, |
Peering
Field |
Description |
peering_subnet |
string PeeringSubnet. |
peer_ip |
string PeerIp. |
cloud_ip |
string CloudIp. |
peer_bgp_asn |
int64 PeerBgpAsn. |
cloud_bgp_asn |
int64 CloudBgpAsn. |
peer_bgp_md5_key |
string PeerBgpMd5Key. |