- HTTP request
 - Path parameters
 - Query parameters
 - Request body
 - Response body
 - Authorization scopes
 - IAM Permissions
 - Try it!
 
List OS policy assignment reports for all Compute Engine VM instances in the specified zone.
HTTP request
GET https://osconfig.googleapis.com/v1alpha/{parent=projects/*/locations/*/instances/*/osPolicyAssignments/*}/reports
The URL uses gRPC Transcoding syntax.
Path parameters
| Parameters | |
|---|---|
parent | 
                
                   
 Required. The parent resource name. Format:  For  For example:   | 
              
Query parameters
| Parameters | |
|---|---|
pageSize | 
                
                   
 The maximum number of results to return.  | 
              
filter | 
                
                   
 If provided, this field specifies the criteria that must be met by the   | 
              
pageToken | 
                
                   
 A pagination token returned from a previous call to the   | 
              
Request body
The request body must be empty.
Response body
A response message for listing OS Policy assignment reports including the page of results and page token.
If successful, the response body contains data with the following structure:
| JSON representation | 
|---|
{
  "osPolicyAssignmentReports": [
    {
      object ( | 
                  
| Fields | |
|---|---|
osPolicyAssignmentReports[] | 
                    
                       
 List of OS policy assignment reports.  | 
                  
nextPageToken | 
                    
                       
 The pagination token to retrieve the next page of OS policy assignment report objects.  | 
                  
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/cloud-platform
For more information, see the Authentication Overview.
IAM Permissions
Requires the following IAM permission on the parent resource:
osconfig.osPolicyAssignmentReports.list
For more information, see the IAM documentation.