Managed Service for ClickHouse API, gRPC: DatabaseService.Get
Written by
Updated at November 26, 2024
Returns the specified ClickHouse Database resource.
To get the list of available ClickHouse Database resources, make a List request.
gRPC request
rpc Get (GetDatabaseRequest) returns (Database)
GetDatabaseRequest
{
"cluster_id": "string",
"database_name": "string"
}
Field |
Description |
cluster_id |
string Required field. ID of the ClickHouse cluster that the database belongs to. |
database_name |
string Required field. Name of the ClickHouse Database resource to return. |
Database
{
"name": "string",
"cluster_id": "string"
}
A ClickHouse Database resource. For more information, see the
Developer's Guide.
Field |
Description |
name |
string Name of the database. |
cluster_id |
string ID of the ClickHouse cluster that the database belongs to. |