Virtual Private Cloud API, gRPC: GatewayService.Get
Returns the specified Gateway resource.
To get the list of all available Gateway resources, make a List request.
gRPC request
rpc Get (GetGatewayRequest) returns (Gateway)
GetGatewayRequest
{
"gatewayId": "string"
}
Field |
Description |
gatewayId |
string Required field. ID of the Gateway resource to return. To get Gateway resource ID make a GatewayService.List request. |
Gateway
{
"id": "string",
"folderId": "string",
"createdAt": "google.protobuf.Timestamp",
"name": "string",
"description": "string",
"labels": "string",
// Includes only one of the fields `sharedEgressGateway`
"sharedEgressGateway": "SharedEgressGateway"
// end of the list of possible fields
}
A Gateway resource. For more information, see Gateway.
Field |
Description |
id |
string ID of the gateway. Generated at creation time. |
folderId |
string ID of the folder that the gateway belongs to. |
createdAt |
Creation timestamp. |
name |
string Name of the gateway. |
description |
string Description of the gateway. 0-256 characters long. |
labels |
string Gateway labels as |
sharedEgressGateway |
Includes only one of the fields Gateway specification |
SharedEgressGateway
Shared Egress Gateway configuration
Field |
Description |
Empty |