Lists Revisions from a given Service, or from a given location. Results are sorted by creation time, descending.
HTTP request
GET https://run.googleapis.com/v2/{parent}/revisions
Path parameters
Parameters | |
---|---|
parent |
Required. The Service from which the Revisions should be listed. To list all Revisions across Services, use "-" instead of Service name. Format: projects/{project}/locations/{location}/services/{service} It takes the form Authorization requires the following IAM permission on the specified resource
|
Query parameters
Parameters | |
---|---|
pageSize |
Maximum number of revisions to return in this call. |
pageToken |
A page token received from a previous call to revisions.list. All other parameters must match. |
showDeleted |
If true, returns deleted (but unexpired) resources along with active ones. |
Request body
The request body must be empty.
Response body
Response message containing a list of Revisions.
If successful, the response body contains data with the following structure:
JSON representation |
---|
{
"revisions": [
{
object ( |
Fields | |
---|---|
revisions[] |
The resulting list of Revisions. |
nextPageToken |
A token indicating there are more items than pageSize. Use it in the next revisions.list request to continue. |
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/cloud-platform
For more information, see the Authentication Overview.