Certificate Manager API, gRPC: CertificateService.ListVersions
gRPC request
rpc ListVersions (ListVersionsRequest) returns (ListVersionsResponse)
ListVersionsRequest
{
"certificateId": "string",
"pageSize": "int64",
"pageToken": "string"
}
Field |
Description |
certificateId |
string Required field. ID of the certificate to list versions for. |
pageSize |
int64 Page token. To get the next page of results, set |
pageToken |
string Page token. To get the next page of results, set |
ListVersionsResponse
{
"versions": [
{
"id": "string",
"certificateId": "string",
"createdAt": "google.protobuf.Timestamp"
}
],
"nextPageToken": "string"
}
Field |
Description |
versions[] |
List of versions for the specified certificate. |
nextPageToken |
string This token allows you to get the next page of results for list requests. If the number |
Version
A certificate version
Field |
Description |
id |
string ID of the version. |
certificateId |
string ID of the certificate that the version belongs to. |
createdAt |
Time when the version was created. |