Virtual Private Cloud API, gRPC: NetworkService.Get
Returns the specified Network resource.
Get the list of available Network resources by making a List request.
gRPC request
rpc Get (GetNetworkRequest) returns (Network)
GetNetworkRequest
{
"network_id": "string"
}
Field |
Description |
network_id |
string Required field. ID of the Network resource to return. |
Network
{
"id": "string",
"folder_id": "string",
"created_at": "google.protobuf.Timestamp",
"name": "string",
"description": "string",
"labels": "map<string, string>",
"default_security_group_id": "string"
}
A Network resource. For more information, see Networks.
Field |
Description |
id |
string ID of the network. |
folder_id |
string ID of the folder that the network belongs to. |
created_at |
Creation timestamp in RFC3339 |
name |
string Name of the network. |
description |
string Optional description of the network. 0-256 characters long. |
labels |
object (map<string, string>) Resource labels as |
default_security_group_id |
string ID of default security group for network. |