Managed Service for ClickHouse API, gRPC: VersionsService
Статья создана
A set of methods for managing ClickHouse versions.
Call | Description |
---|---|
List | Returns list of available ClickHouse versions. |
Calls VersionsService
List
Returns list of available ClickHouse versions.
rpc List (ListVersionsRequest) returns (ListVersionsResponse)
ListVersionsRequest
Field | Description |
---|---|
page_size | int64 The maximum number of results per page that should be returned. If the number of available results is larger than page_size , the service returns a ListVersionsResponse.next_page_token that can be used to get the next page of results in subsequent ListVersions requests. Default value: 100. Acceptable values are 0 to 1000, inclusive. |
page_token | string Page token. Set page_token to the ListVersionsResponse.next_page_token returned by a previous ListVersions request to get the next page of results. The maximum string length in characters is 100. |
ListVersionsResponse
Field | Description |
---|---|
version[] | Version Requested list of available versions. |
next_page_token | string This token allows you to get the next page of results for ListVersions requests, if the number of results is larger than ListVersionsRequest.page_size specified in the request. To get the next page, specify the value of next_page_token as a value for the ListVersionsRequest.page_token parameter in the next ListVerions request. Subsequent ListVersions requests will have their own next_page_token to continue paging through the results. |
Version
Field | Description |
---|---|
id | string ID of the version. |
name | string Name of the version. |
deprecated | bool Whether version is deprecated. |
updatable_to[] | string List of versions that can be updated from current. |