Method: projects.locations.instanceOSPoliciesCompliances.list

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

string

Required. The parent resource name.

Format: projects/{project}/locations/{location}

For {project}, either Compute Engine project-number or project-id can be provided.

Query parameters

Parameters
pageSize

integer

The maximum number of results to return.

pageToken

string

A pagination token returned from a previous call to instanceOSPoliciesCompliances.list that indicates where this listing should continue from.

filter

string

If provided, this field specifies the criteria that must be met by a InstanceOSPoliciesCompliance API resource to be included in the response.

Request body

The request body must be empty.

Response body

If successful, the response body contains data with the following structure:

A response message for listing OS policies compliance data for all Compute Engine VMs in the given location.