Lists all access policies in an organization.
HTTP request
GET https://accesscontextmanager.googleapis.com/v1/accessPolicies
The URL uses gRPC Transcoding syntax.
Query parameters
| Parameters | |
|---|---|
parent | 
                
                   
 Required. Resource name for the container to list AccessPolicy instances from. Format:   | 
              
pageSize | 
                
                   
 Number of AccessPolicy instances to include in the list. Default 100.  | 
              
pageToken | 
                
                   
 Next page token for the next batch of AccessPolicy instances. Defaults to the first page of results.  | 
              
Request body
The request body must be empty.
Response body
A response to ListAccessPoliciesRequest.
If successful, the response body contains data with the following structure:
| JSON representation | 
|---|
{
  "accessPolicies": [
    {
      object ( | 
                  
| Fields | |
|---|---|
accessPolicies[] | 
                    
                       
 List of the AccessPolicy instances.  | 
                  
nextPageToken | 
                    
                       
 The pagination token to retrieve the next page of results. If the value is empty, no further results remain.  | 
                  
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/cloud-platform
For more information, see the Authentication Overview.