BareMetal API, gRPC: RentalPeriodService.ListRentalPeriods
Retrieves the list of RentalPeriod resources.
https://google.aip.dev/130 --)
gRPC request
rpc ListRentalPeriods (ListRentalPeriodsRequest) returns (ListRentalPeriodsResponse)
ListRentalPeriodsRequest
{
"page_size": "int64",
"page_token": "string"
}
|
Field |
Description |
|
page_size |
int64 The maximum number of results per page to return. If the number of available The maximum value is 1000. |
|
page_token |
string Page token. To get the next page of results, set |
ListRentalPeriodsResponse
{
"rental_periods": [
{
"rental_period_id": "string"
}
],
"next_page_token": "string"
}
|
Field |
Description |
|
rental_periods[] |
List of RentalPeriod resources. |
|
next_page_token |
string Token for getting the next page of the list. If the number of results is greater than Each subsequent page will have its own |
RentalPeriod
A period of time for which a Bare Metal Server can be rented. e.g., 1 month, 3 months, 6 months,
a year.
|
Field |
Description |
|
rental_period_id |
string Rental period identifier. |