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
{
"gateway_id": "string"
}
Field |
Description |
gateway_id |
string Required field. ID of the Gateway resource to return. To get Gateway resource ID make a GatewayService.List request. |
Gateway
{
"id": "string",
"folder_id": "string",
"created_at": "google.protobuf.Timestamp",
"name": "string",
"description": "string",
"labels": "string",
// Includes only one of the fields `shared_egress_gateway`
"shared_egress_gateway": "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. |
folder_id |
string ID of the folder that the gateway belongs to. |
created_at |
Creation timestamp. |
name |
string Name of the gateway. |
description |
string Description of the gateway. 0-256 characters long. |
labels |
string Gateway labels as |
shared_egress_gateway |
Includes only one of the fields Gateway specification |
SharedEgressGateway
Shared Egress Gateway configuration
Field |
Description |
Empty |