For {project}, either Compute Engine project-number or project-id can be provided. For {instance}, either Compute Engine VM instance-id or instance-name can be provided.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-11-11 UTC."],[[["This page details how to retrieve OS policies compliance data for a specific Compute Engine VM instance using the `GetInstanceOSPoliciesCompliance` method, which is now deprecated in favor of `GetOSPolicyAssignmentReport`."],["The HTTP request uses a `GET` method targeting a specific resource using the provided URL which follows gRPC Transcoding syntax."],["The `name` path parameter is mandatory, which is a string formatted as `projects/{project}/locations/{location}/instanceOSPoliciesCompliances/{instance}` where project and instance identifiers can be number or id/name respectively."],["The request body for this operation must be empty, with the response body returning an instance of `InstanceOSPoliciesCompliance` if the operation is successful."],["To use this method the `https://www.googleapis.com/auth/cloud-platform` OAuth scope is required for authorization."]]],[]]