EventRouter Service, gRPC: BusService.List
Retrieves the list of buses in the specified folder.
gRPC request
rpc List (ListBusesRequest) returns (ListBusesResponse)
ListBusesRequest
{
"folder_id": "string",
"page_size": "int64",
"page_token": "string",
"filter": "string"
}
Field |
Description |
folder_id |
string Required field. ID of the folder to list buses in. |
page_size |
int64 Maximum number of buses to return. |
page_token |
string Page token. To get the next page of results, set |
filter |
string Supported fields for filter: |
ListBusesResponse
{
"buses": [
{
"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"
}
],
"next_page_token": "string"
}
Field |
Description |
buses[] |
List of buses. |
next_page_token |
string Token for getting the next page of the list of buses. |
Bus
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.
|