public sealed class AnalyzeOrgPoliciesResponse.Types.OrgPolicyResult : IMessage<AnalyzeOrgPoliciesResponse.Types.OrgPolicyResult>, IEquatable<AnalyzeOrgPoliciesResponse.Types.OrgPolicyResult>, IDeepCloneable<AnalyzeOrgPoliciesResponse.Types.OrgPolicyResult>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud Asset Inventory v1 API class AnalyzeOrgPoliciesResponse.Types.OrgPolicyResult.
public AnalyzerOrgPolicy ConsolidatedPolicy { get; set; }
The consolidated organization policy for the analyzed resource. The
consolidated organization policy is computed by merging and evaluating
[policy_bundle][google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult.policy_bundle].
The evaluation will respect the organization policy hierarchy
rules.
The folder(s) that this consolidated policy belongs to, in the format of
folders/{FOLDER_NUMBER}. This field is available when the consolidated
policy belongs (directly or cascadingly) to one or more folders.
The organization that this consolidated policy belongs to, in the format
of organizations/{ORGANIZATION_NUMBER}. This field is available when the
consolidated policy belongs (directly or cascadingly) to an organization.
public RepeatedField<AnalyzerOrgPolicy> PolicyBundle { get; }
The ordered list of all organization policies from the
[consolidated_policy.attached_resource][google.cloud.asset.v1.AnalyzerOrgPolicy.attached_resource].
to the scope specified in the request.
If the constraint is defined with default policy, it will also appear in
the list.
The project that this consolidated policy belongs to, in the format of
projects/{PROJECT_NUMBER}. This field is available when the consolidated
policy belongs to a project.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThis webpage provides reference documentation for the \u003ccode\u003eAnalyzeOrgPoliciesResponse.Types.OrgPolicyResult\u003c/code\u003e class within the Google Cloud Asset Inventory v1 API.\u003c/p\u003e\n"],["\u003cp\u003eThe class \u003ccode\u003eOrgPolicyResult\u003c/code\u003e represents the result of an organization policy query, showing the consolidated policy and its relevant information.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of the \u003ccode\u003eAnalyzeOrgPoliciesResponse.Types.OrgPolicyResult\u003c/code\u003e documentation is version 3.12.0, and older versions ranging from 3.11.0 to 2.7.0 are also accessible.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eOrgPolicyResult\u003c/code\u003e provides details such as the consolidated policy, the folders and organization it belongs to, and a list of all relevant policies.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eOrgPolicyResult\u003c/code\u003e Implements multiple interfaces such as \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, showing its function and interaction within the API.\u003c/p\u003e\n"]]],[],null,["# Google Cloud Asset Inventory v1 API - Class AnalyzeOrgPoliciesResponse.Types.OrgPolicyResult (3.13.0)\n\nVersion latestkeyboard_arrow_down\n\n- [3.13.0 (latest)](/dotnet/docs/reference/Google.Cloud.Asset.V1/latest/Google.Cloud.Asset.V1.AnalyzeOrgPoliciesResponse.Types.OrgPolicyResult)\n- [3.12.0](/dotnet/docs/reference/Google.Cloud.Asset.V1/3.12.0/Google.Cloud.Asset.V1.AnalyzeOrgPoliciesResponse.Types.OrgPolicyResult)\n- [3.11.0](/dotnet/docs/reference/Google.Cloud.Asset.V1/3.11.0/Google.Cloud.Asset.V1.AnalyzeOrgPoliciesResponse.Types.OrgPolicyResult)\n- [3.10.0](/dotnet/docs/reference/Google.Cloud.Asset.V1/3.10.0/Google.Cloud.Asset.V1.AnalyzeOrgPoliciesResponse.Types.OrgPolicyResult)\n- [3.9.0](/dotnet/docs/reference/Google.Cloud.Asset.V1/3.9.0/Google.Cloud.Asset.V1.AnalyzeOrgPoliciesResponse.Types.OrgPolicyResult)\n- [3.8.0](/dotnet/docs/reference/Google.Cloud.Asset.V1/3.8.0/Google.Cloud.Asset.V1.AnalyzeOrgPoliciesResponse.Types.OrgPolicyResult)\n- [3.7.0](/dotnet/docs/reference/Google.Cloud.Asset.V1/3.7.0/Google.Cloud.Asset.V1.AnalyzeOrgPoliciesResponse.Types.OrgPolicyResult)\n- [3.6.0](/dotnet/docs/reference/Google.Cloud.Asset.V1/3.6.0/Google.Cloud.Asset.V1.AnalyzeOrgPoliciesResponse.Types.OrgPolicyResult)\n- [3.5.0](/dotnet/docs/reference/Google.Cloud.Asset.V1/3.5.0/Google.Cloud.Asset.V1.AnalyzeOrgPoliciesResponse.Types.OrgPolicyResult)\n- [3.4.0](/dotnet/docs/reference/Google.Cloud.Asset.V1/3.4.0/Google.Cloud.Asset.V1.AnalyzeOrgPoliciesResponse.Types.OrgPolicyResult)\n- [3.3.0](/dotnet/docs/reference/Google.Cloud.Asset.V1/3.3.0/Google.Cloud.Asset.V1.AnalyzeOrgPoliciesResponse.Types.OrgPolicyResult)\n- [3.2.0](/dotnet/docs/reference/Google.Cloud.Asset.V1/3.2.0/Google.Cloud.Asset.V1.AnalyzeOrgPoliciesResponse.Types.OrgPolicyResult)\n- [3.1.0](/dotnet/docs/reference/Google.Cloud.Asset.V1/3.1.0/Google.Cloud.Asset.V1.AnalyzeOrgPoliciesResponse.Types.OrgPolicyResult)\n- [3.0.0](/dotnet/docs/reference/Google.Cloud.Asset.V1/3.0.0/Google.Cloud.Asset.V1.AnalyzeOrgPoliciesResponse.Types.OrgPolicyResult)\n- [2.11.0](/dotnet/docs/reference/Google.Cloud.Asset.V1/2.11.0/Google.Cloud.Asset.V1.AnalyzeOrgPoliciesResponse.Types.OrgPolicyResult)\n- [2.10.0](/dotnet/docs/reference/Google.Cloud.Asset.V1/2.10.0/Google.Cloud.Asset.V1.AnalyzeOrgPoliciesResponse.Types.OrgPolicyResult)\n- [2.9.0](/dotnet/docs/reference/Google.Cloud.Asset.V1/2.9.0/Google.Cloud.Asset.V1.AnalyzeOrgPoliciesResponse.Types.OrgPolicyResult)\n- [2.8.0](/dotnet/docs/reference/Google.Cloud.Asset.V1/2.8.0/Google.Cloud.Asset.V1.AnalyzeOrgPoliciesResponse.Types.OrgPolicyResult)\n- [2.7.0](/dotnet/docs/reference/Google.Cloud.Asset.V1/2.7.0/Google.Cloud.Asset.V1.AnalyzeOrgPoliciesResponse.Types.OrgPolicyResult) \n\n public sealed class AnalyzeOrgPoliciesResponse.Types.OrgPolicyResult : IMessage\u003cAnalyzeOrgPoliciesResponse.Types.OrgPolicyResult\u003e, IEquatable\u003cAnalyzeOrgPoliciesResponse.Types.OrgPolicyResult\u003e, IDeepCloneable\u003cAnalyzeOrgPoliciesResponse.Types.OrgPolicyResult\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Google Cloud Asset Inventory v1 API class AnalyzeOrgPoliciesResponse.Types.OrgPolicyResult.\n\nThe organization policy result to the query. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e AnalyzeOrgPoliciesResponse.Types.OrgPolicyResult \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[AnalyzeOrgPoliciesResponse](/dotnet/docs/reference/Google.Cloud.Asset.V1/latest/Google.Cloud.Asset.V1.AnalyzeOrgPoliciesResponse)[Types](/dotnet/docs/reference/Google.Cloud.Asset.V1/latest/Google.Cloud.Asset.V1.AnalyzeOrgPoliciesResponse.Types)[OrgPolicyResult](/dotnet/docs/reference/Google.Cloud.Asset.V1/latest/Google.Cloud.Asset.V1.AnalyzeOrgPoliciesResponse.Types.OrgPolicyResult), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[AnalyzeOrgPoliciesResponse](/dotnet/docs/reference/Google.Cloud.Asset.V1/latest/Google.Cloud.Asset.V1.AnalyzeOrgPoliciesResponse)[Types](/dotnet/docs/reference/Google.Cloud.Asset.V1/latest/Google.Cloud.Asset.V1.AnalyzeOrgPoliciesResponse.Types)[OrgPolicyResult](/dotnet/docs/reference/Google.Cloud.Asset.V1/latest/Google.Cloud.Asset.V1.AnalyzeOrgPoliciesResponse.Types.OrgPolicyResult), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[AnalyzeOrgPoliciesResponse](/dotnet/docs/reference/Google.Cloud.Asset.V1/latest/Google.Cloud.Asset.V1.AnalyzeOrgPoliciesResponse)[Types](/dotnet/docs/reference/Google.Cloud.Asset.V1/latest/Google.Cloud.Asset.V1.AnalyzeOrgPoliciesResponse.Types)[OrgPolicyResult](/dotnet/docs/reference/Google.Cloud.Asset.V1/latest/Google.Cloud.Asset.V1.AnalyzeOrgPoliciesResponse.Types.OrgPolicyResult), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html) \n\nInherited Members\n-----------------\n\n[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) \n[object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) \n[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)\n\nNamespace\n---------\n\n[Google.Cloud.Asset.V1](/dotnet/docs/reference/Google.Cloud.Asset.V1/latest/Google.Cloud.Asset.V1)\n\nAssembly\n--------\n\nGoogle.Cloud.Asset.V1.dll\n\nConstructors\n------------\n\n### OrgPolicyResult()\n\n public OrgPolicyResult()\n\n### OrgPolicyResult(OrgPolicyResult)\n\n public OrgPolicyResult(AnalyzeOrgPoliciesResponse.Types.OrgPolicyResult other)\n\nProperties\n----------\n\n### ConsolidatedPolicy\n\n public AnalyzerOrgPolicy ConsolidatedPolicy { get; set; }\n\nThe consolidated organization policy for the analyzed resource. The\nconsolidated organization policy is computed by merging and evaluating\n\\[policy_bundle\\]\\[google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult.policy_bundle\\].\nThe evaluation will respect the organization policy [hierarchy\nrules](https://cloud.google.com/resource-manager/docs/organization-policy/understanding-hierarchy).\n\n### Folders\n\n public RepeatedField\u003cstring\u003e Folders { get; }\n\nThe folder(s) that this consolidated policy belongs to, in the format of\nfolders/{FOLDER_NUMBER}. This field is available when the consolidated\npolicy belongs (directly or cascadingly) to one or more folders.\n\n### Organization\n\n public string Organization { get; set; }\n\nThe organization that this consolidated policy belongs to, in the format\nof organizations/{ORGANIZATION_NUMBER}. This field is available when the\nconsolidated policy belongs (directly or cascadingly) to an organization.\n\n### PolicyBundle\n\n public RepeatedField\u003cAnalyzerOrgPolicy\u003e PolicyBundle { get; }\n\nThe ordered list of all organization policies from the\n\\[consolidated_policy.attached_resource\\]\\[google.cloud.asset.v1.AnalyzerOrgPolicy.attached_resource\\].\nto the scope specified in the request.\n\nIf the constraint is defined with default policy, it will also appear in\nthe list.\n\n### Project\n\n public string Project { get; set; }\n\nThe project that this consolidated policy belongs to, in the format of\nprojects/{PROJECT_NUMBER}. This field is available when the consolidated\npolicy belongs to a project."]]