Cloud Interconnect API, gRPC: PublicConnectionService.List
Retrieves the list of PublicConnection resources in the specified folder.
gRPC request
rpc List (ListPublicConnectionsRequest) returns (ListPublicConnectionsResponse)
ListPublicConnectionsRequest
{
"folder_id": "string",
"page_size": "int64",
"page_token": "string",
"filter": "string"
}
Field |
Description |
folder_id |
string Required field. ID of the folder to list publicConnections in. |
page_size |
int64 The maximum number of results per page to return. If the number of available |
page_token |
string Page token. To get the next page of results, set |
filter |
string A filter expression that filters resources listed in the response.
|
ListPublicConnectionsResponse
{
"public_connections": [
{
"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>"
}
],
"next_page_token": "string"
}
Field |
Description |
public_connections[] |
List of PublicConnection resources. |
next_page_token |
string This token allows you to get the next page of results for list requests. If the number of results |
PublicConnection
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. |