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
{
"networkId": "string"
}
Field |
Description |
networkId |
string Required field. ID of the Network resource to return. |
Network
{
"id": "string",
"folderId": "string",
"createdAt": "google.protobuf.Timestamp",
"name": "string",
"description": "string",
"labels": "string",
"defaultSecurityGroupId": "string"
}
A Network resource. For more information, see Networks.
Field |
Description |
id |
string ID of the network. |
folderId |
string ID of the folder that the network belongs to. |
createdAt |
Creation timestamp in RFC3339 |
name |
string Name of the network. |
description |
string Optional description of the network. 0-256 characters long. |
labels |
string Resource labels as |
defaultSecurityGroupId |
string ID of default security group for network. |