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