EventRouter Service, gRPC: BusService.Get
Returns the specified bus.
To get the list of all available buses, make a List request.
gRPC request
rpc Get (GetBusRequest) returns (Bus)
GetBusRequest
{
"bus_id": "string"
}
Field |
Description |
bus_id |
string Required field. ID of the bus to get. |
Bus
{
"id": "string",
"folder_id": "string",
"cloud_id": "string",
"created_at": "google.protobuf.Timestamp",
"name": "string",
"description": "string",
"labels": "map<string, string>",
"deletion_protection": "bool",
"status": "Status",
"logging_enabled": "bool",
"log_options": {
// Includes only one of the fields `log_group_id`, `folder_id`
"log_group_id": "string",
"folder_id": "string",
// end of the list of possible fields
"min_level": "Level",
"service_account_id": "string"
}
}
Field |
Description |
id |
string ID of the bus. |
folder_id |
string ID of the folder that the bus belongs to. |
cloud_id |
string ID of the cloud that the bus resides in. |
created_at |
Creation timestamp. |
name |
string Name of the bus. |
description |
string Description of the bus. |
labels |
object (map<string, string>) Resource labels as |
deletion_protection |
bool Deletion protection. |
status |
enum Status Status of the bus.
|
logging_enabled |
bool Is logging from the bus enabled. |
log_options |
Options for logging from the bus. |
LogOptions
Field |
Description |
log_group_id |
string Entry will be written to log group resolved by ID. Includes only one of the fields Log entries destination. |
folder_id |
string Entry will be written to default log group for specified folder. Includes only one of the fields Log entries destination. |
min_level |
enum Level Minimum log entry level. See LogLevel.Level for details.
|
service_account_id |
string Required field. Service account, which has permission to write to destination |