Class PolicyViolationDetails (2.7.1)
Stay organized with collections
Save and categorize content based on your preferences.
PolicyViolationDetails(mapping=None, *, ignore_unknown_fields=False, **kwargs)
Policy violation details.
Attributes |
Name |
Description |
policy |
str
Name of the policy that was violated. Policy resource will
be in the format of
projects/{project}/locations/{location}/policies/{policy} .
|
rule_id |
str
Id of the rule that triggered the policy
violation.
|
failure_message |
str
User readable message about why the request
violated a policy. This is not intended for
machine parsing.
|
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-09-04 UTC.
[[["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 2025-09-04 UTC."],[],[],null,["# Class PolicyViolationDetails (2.7.1)\n\nVersion latestkeyboard_arrow_down\n\n- [2.7.1 (latest)](/python/docs/reference/clouddeploy/latest/google.cloud.deploy_v1.types.PolicyViolationDetails)\n- [2.7.0](/python/docs/reference/clouddeploy/2.7.0/google.cloud.deploy_v1.types.PolicyViolationDetails)\n- [2.6.3](/python/docs/reference/clouddeploy/2.6.3/google.cloud.deploy_v1.types.PolicyViolationDetails)\n- [2.5.0](/python/docs/reference/clouddeploy/2.5.0/google.cloud.deploy_v1.types.PolicyViolationDetails)\n- [2.4.1](/python/docs/reference/clouddeploy/2.4.1/google.cloud.deploy_v1.types.PolicyViolationDetails)\n- [2.3.0](/python/docs/reference/clouddeploy/2.3.0/google.cloud.deploy_v1.types.PolicyViolationDetails)\n- [2.2.0](/python/docs/reference/clouddeploy/2.2.0/google.cloud.deploy_v1.types.PolicyViolationDetails)\n- [2.1.0](/python/docs/reference/clouddeploy/2.1.0/google.cloud.deploy_v1.types.PolicyViolationDetails)\n- [2.0.0](/python/docs/reference/clouddeploy/2.0.0/google.cloud.deploy_v1.types.PolicyViolationDetails)\n- [1.19.1](/python/docs/reference/clouddeploy/1.19.1/google.cloud.deploy_v1.types.PolicyViolationDetails)\n- [1.18.1](/python/docs/reference/clouddeploy/1.18.1/google.cloud.deploy_v1.types.PolicyViolationDetails)\n- [1.17.3](/python/docs/reference/clouddeploy/1.17.3/google.cloud.deploy_v1.types.PolicyViolationDetails)\n- [1.16.0](/python/docs/reference/clouddeploy/1.16.0/google.cloud.deploy_v1.types.PolicyViolationDetails)\n- [1.15.0](/python/docs/reference/clouddeploy/1.15.0/google.cloud.deploy_v1.types.PolicyViolationDetails)\n- [1.14.0](/python/docs/reference/clouddeploy/1.14.0/google.cloud.deploy_v1.types.PolicyViolationDetails)\n- [1.13.0](/python/docs/reference/clouddeploy/1.13.0/google.cloud.deploy_v1.types.PolicyViolationDetails)\n- [1.12.0](/python/docs/reference/clouddeploy/1.12.0/google.cloud.deploy_v1.types.PolicyViolationDetails)\n- [1.11.1](/python/docs/reference/clouddeploy/1.11.1/google.cloud.deploy_v1.types.PolicyViolationDetails)\n- [1.10.1](/python/docs/reference/clouddeploy/1.10.1/google.cloud.deploy_v1.types.PolicyViolationDetails)\n- [1.9.0](/python/docs/reference/clouddeploy/1.9.0/google.cloud.deploy_v1.types.PolicyViolationDetails)\n- [1.8.0](/python/docs/reference/clouddeploy/1.8.0/google.cloud.deploy_v1.types.PolicyViolationDetails)\n- [1.7.0](/python/docs/reference/clouddeploy/1.7.0/google.cloud.deploy_v1.types.PolicyViolationDetails)\n- [1.6.1](/python/docs/reference/clouddeploy/1.6.1/google.cloud.deploy_v1.types.PolicyViolationDetails)\n- [1.5.0](/python/docs/reference/clouddeploy/1.5.0/google.cloud.deploy_v1.types.PolicyViolationDetails)\n- [1.4.1](/python/docs/reference/clouddeploy/1.4.1/google.cloud.deploy_v1.types.PolicyViolationDetails)\n- [1.3.1](/python/docs/reference/clouddeploy/1.3.1/google.cloud.deploy_v1.types.PolicyViolationDetails)\n- [1.2.1](/python/docs/reference/clouddeploy/1.2.1/google.cloud.deploy_v1.types.PolicyViolationDetails)\n- [1.1.1](/python/docs/reference/clouddeploy/1.1.1/google.cloud.deploy_v1.types.PolicyViolationDetails)\n- [1.0.0](/python/docs/reference/clouddeploy/1.0.0/google.cloud.deploy_v1.types.PolicyViolationDetails)\n- [0.3.2](/python/docs/reference/clouddeploy/0.3.2/google.cloud.deploy_v1.types.PolicyViolationDetails)\n- [0.2.0](/python/docs/reference/clouddeploy/0.2.0/google.cloud.deploy_v1.types.PolicyViolationDetails)\n- [0.1.1](/python/docs/reference/clouddeploy/0.1.1/google.cloud.deploy_v1.types.PolicyViolationDetails) \n\n PolicyViolationDetails(mapping=None, *, ignore_unknown_fields=False, **kwargs)\n\nPolicy violation details."]]