Managed Service for SPQR API, gRPC: DatabaseService.Get
Returns the specified SPQR Database resource.
To get the list of available SPQR 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 SPQR cluster that the database belongs to. The maximum string length in characters is 50. |
|
database_name |
string Required field. Name of the SPQR database to return. The maximum string length in characters is 63. Value must match the regular expression |
Database
{
"name": "string",
"cluster_id": "string",
"deletion_protection": "google.protobuf.BoolValue"
}
A SPQR Database resource. For more information, see the
Developer's Guide.
|
Field |
Description |
|
name |
string Name of the database. |
|
cluster_id |
string ID of the SPQR cluster that the database belongs to. |
|
deletion_protection |
Deletion Protection inhibits deletion of the database |