Certificate Manager API, gRPC: CertificateService.ListVersions
gRPC request
rpc ListVersions (ListVersionsRequest) returns (ListVersionsResponse)
ListVersionsRequest
{
"certificate_id": "string",
"page_size": "int64",
"page_token": "string"
}
Field |
Description |
certificate_id |
string Required field. ID of the certificate to list versions for. |
page_size |
int64 Page token. To get the next page of results, set |
page_token |
string Page token. To get the next page of results, set |
ListVersionsResponse
{
"versions": [
{
"id": "string",
"certificate_id": "string",
"created_at": "google.protobuf.Timestamp"
}
],
"next_page_token": "string"
}
Field |
Description |
versions[] |
List of versions for the specified certificate. |
next_page_token |
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. |
certificate_id |
string ID of the certificate that the version belongs to. |
created_at |
Time when the version was created. |