Optional. Resource payload that is currently in scope and is subjected to orgpolicy conditions. This payload may be the subset of the actual Resource that may come in the request. This payload should not contain any core content.
↳ resource_type
string
Optional. Resource type that the orgpolicy is checked against. Example: compute.googleapis.com/Instance, store.googleapis.com/bucket
Optional. Tags referenced on the resource at the time of evaluation. These also include the federated tags, if they are supplied in the CheckOrgPolicy or CheckCustomConstraints Requests. Optional field as of now. These tags are the Cloud tags that are available on the resource during the policy evaluation and will be available as part of the OrgPolicy check response for logging purposes.
Optional. Resource payload that is currently in scope and is subjected to orgpolicy
conditions. This payload may be the subset of the actual Resource that may
come in the request. This payload should not contain any core content.
Optional. Resource payload that is currently in scope and is subjected to orgpolicy
conditions. This payload may be the subset of the actual Resource that may
come in the request. This payload should not contain any core content.
Optional. Tags referenced on the resource at the time of evaluation. These also
include the federated tags, if they are supplied in the CheckOrgPolicy
or CheckCustomConstraints Requests.
Optional field as of now. These tags are the Cloud tags that are
available on the resource during the policy evaluation and will
be available as part of the OrgPolicy check response for logging purposes.
Optional. Tags referenced on the resource at the time of evaluation. These also
include the federated tags, if they are supplied in the CheckOrgPolicy
or CheckCustomConstraints Requests.
Optional field as of now. These tags are the Cloud tags that are
available on the resource during the policy evaluation and will
be available as part of the OrgPolicy check response for logging purposes.
[[["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,["# Common Protos for Google Cloud APIs Client - Class OrgPolicyViolationInfo (0.8.2)\n\nVersion latestkeyboard_arrow_down\n\n- [0.8.2 (latest)](/php/docs/reference/cloud-common-protos/latest/Audit.OrgPolicyViolationInfo)\n- [0.8.1](/php/docs/reference/cloud-common-protos/0.8.1/Audit.OrgPolicyViolationInfo)\n- [0.7.0](/php/docs/reference/cloud-common-protos/0.7.0/Audit.OrgPolicyViolationInfo)\n- [0.6.0](/php/docs/reference/cloud-common-protos/0.6.0/Audit.OrgPolicyViolationInfo)\n- [0.5.2](/php/docs/reference/cloud-common-protos/0.5.2/Audit.OrgPolicyViolationInfo)\n- [0.4.2](/php/docs/reference/cloud-common-protos/0.4.2/Audit.OrgPolicyViolationInfo)\n- [0.3.8](/php/docs/reference/cloud-common-protos/0.3.8/Audit.OrgPolicyViolationInfo) \nReference documentation and code samples for the Common Protos for Google Cloud APIs Client class OrgPolicyViolationInfo.\n\nRepresents OrgPolicy Violation information.\n\nGenerated from protobuf message `google.cloud.audit.OrgPolicyViolationInfo`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ Audit\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getPayload\n\nOptional. Resource payload that is currently in scope and is subjected to orgpolicy\nconditions. This payload may be the subset of the actual Resource that may\ncome in the request. This payload should not contain any core content.\n\n### hasPayload\n\n### clearPayload\n\n### setPayload\n\nOptional. Resource payload that is currently in scope and is subjected to orgpolicy\nconditions. This payload may be the subset of the actual Resource that may\ncome in the request. This payload should not contain any core content.\n\n### getResourceType\n\nOptional. Resource type that the orgpolicy is checked against.\n\nExample: compute.googleapis.com/Instance, store.googleapis.com/bucket\n\n### setResourceType\n\nOptional. Resource type that the orgpolicy is checked against.\n\nExample: compute.googleapis.com/Instance, store.googleapis.com/bucket\n\n### getResourceTags\n\nOptional. Tags referenced on the resource at the time of evaluation. These also\ninclude the federated tags, if they are supplied in the CheckOrgPolicy\nor CheckCustomConstraints Requests.\n\nOptional field as of now. These tags are the Cloud tags that are\navailable on the resource during the policy evaluation and will\nbe available as part of the OrgPolicy check response for logging purposes.\n\n### setResourceTags\n\nOptional. Tags referenced on the resource at the time of evaluation. These also\ninclude the federated tags, if they are supplied in the CheckOrgPolicy\nor CheckCustomConstraints Requests.\n\nOptional field as of now. These tags are the Cloud tags that are\navailable on the resource during the policy evaluation and will\nbe available as part of the OrgPolicy check response for logging purposes.\n\n### getViolationInfo\n\nOptional. Policy violations\n\n### setViolationInfo\n\nOptional. Policy violations"]]