Managed Service for PostgreSQL API, gRPC: VersionsService.List
Returns list of available PostgreSQL versions.
gRPC request
rpc List (ListVersionsRequest) returns (ListVersionsResponse)
ListVersionsRequest
{
"page_size": "int64",
"page_token": "string"
}
|
Field |
Description |
|
page_size |
int64 The maximum number of results per page that should be returned. If the number of available Acceptable values are 0 to 1000, inclusive. |
|
page_token |
string Page token. Set The maximum string length in characters is 100. |
ListVersionsResponse
{
"version": [
{
"id": "string",
"name": "string",
"status": "Status",
"updatable_to": [
"string"
],
"deprecated_at": "google.protobuf.Timestamp",
"eol_at": "google.protobuf.Timestamp"
}
],
"next_page_token": "string"
}
|
Field |
Description |
|
version[] |
Requested list of available versions. |
|
next_page_token |
string This token allows you to get the next page of results for ListVersions requests, |
Version
Common message for describing a Managed Database version.
|
Field |
Description |
|
id |
string Version ID |
|
name |
string Version name |
|
status |
enum Status Version status
|
|
updatable_to[] |
string List of version IDs that the current version can be updated to |
|
deprecated_at |
Optional. Date when the version enters an appropriate status (day precision) |
|
eol_at |
Optional. Date when the version reaches an appropriate status (day precision) |