Lists approval requests associated with a project, folder, or organization. Approval requests can be filtered by state (pending, active, dismissed). The order is reverse chronological.
HTTP request
GET https://accessapproval.googleapis.com/v1/{parent=projects/*}/approvalRequests
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
parent |
The parent resource. This may be "projects/{project}", "folders/{folder}", or "organizations/{organization}". Authorization requires the following IAM permission on the specified resource
|
Query parameters
Parameters | |
---|---|
filter |
A filter on the type of approval requests to retrieve. Must be one of the following values:
|
pageSize |
Requested page size. |
pageToken |
A token identifying the page of results to return. |
Request body
The request body must be empty.
Response body
If successful, the response body contains an instance of ListApprovalRequestsResponse
.
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/cloud-platform
For more information, see the Authentication Overview.