Managed Service for MySQL API, gRPC: DatabaseService.Get
Статья создана
Обновлена 26 ноября 2024 г.
Retrieves information about the specified database.
gRPC request
rpc Get (GetDatabaseRequest) returns (Database)
GetDatabaseRequest
{
"cluster_id": "string",
"database_name": "string"
}
Field |
Description |
cluster_id |
string Required field. ID of the cluster that the database belongs to. To get this ID, make a ClusterService.List request. |
database_name |
string Required field. Name of the database to return information about. To get this name, make a DatabaseService.List request. |
Database
{
"name": "string",
"cluster_id": "string"
}
An object that represents MySQL database.
See the documentation for details.
Field |
Description |
name |
string Name of the database. |
cluster_id |
string ID of the cluster that the database belongs to. |