Method: projects.approvalRequests.list

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/v1beta1/{parent=projects/*}/approvalRequests

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
parent

string

The parent resource. This may be "projects/{project_id}", "folders/{folder_id}", or "organizations/{organization_id}".

Authorization requires the following Google IAM permission on the specified resource parent:

  • accessapproval.requests.list

Query parameters

Parameters
filter

string

A filter on the type of approval requests to retrieve. Must be one of the following values:

  1. [not set]: Requests that are pending or have active approvals.
  2. ALL: All requests.
  3. PENDING: Only pending requests.
  4. ACTIVE: Only active (i.e. currently approved) requests.
  5. DISMISSED: Only dismissed (including expired) requests.

pageSize

number

Requested page size.

pageToken

string

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.

Hai trovato utile questa pagina? Facci sapere cosa ne pensi:

Invia feedback per...

Access Approval