Method: projects.locations.instances.osPolicyAssignments.reports.list

List OS policy asssignment 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

string

Required. The parent resource name.

Format: projects/{project}/locations/{location}/instances/{instance}/osPolicyAssignments/{assignment}/reports

For {project}, either project-number or project-id can be provided. For {instance}, either instance-name, instance-id, or - can be provided. If '-' is provided, the response will include OSPolicyAssignmentReports for all instances in the project/location. For {assignment}, either assignment-id or - can be provided. If '-' is provided, the response will include OSPolicyAssignmentReports for all OSPolicyAssignments in the project/location. Either {instance} or {assignment} must be -.

For example: projects/{project}/locations/{location}/instances/{instance}/osPolicyAssignments/-/reports returns all reports for the instance projects/{project}/locations/{location}/instances/-/osPolicyAssignments/{assignment-id}/reports returns all the reports for the given assignment across all instances. projects/{project}/locations/{location}/instances/-/osPolicyAssignments/-/reports returns all the reports for all assignments across all instances.

Query parameters

Parameters
pageSize

integer

The maximum number of results to return.

filter

string

If provided, this field specifies the criteria that must be met by the OSPolicyAssignmentReport API resource t