[[["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\u003eThe \u003ccode\u003eOrgPolicy\u003c/code\u003e class in the Security Command Center v2 API provides information about organizational policies associated with findings.\u003c/p\u003e\n"],["\u003cp\u003eThis class inherits from \u003ccode\u003eobject\u003c/code\u003e and implements interfaces such as \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eOrgPolicy\u003c/code\u003e class is located within the \u003ccode\u003eGoogle.Cloud.SecurityCenter.V2\u003c/code\u003e namespace and is part of the \u003ccode\u003eGoogle.Cloud.SecurityCenter.V2.dll\u003c/code\u003e assembly.\u003c/p\u003e\n"],["\u003cp\u003eIt includes properties like \u003ccode\u003eName\u003c/code\u003e, which represents the resource name of the organizational policy, and \u003ccode\u003ePolicyName\u003c/code\u003e, which provides a typed view over the \u003ccode\u003eName\u003c/code\u003e property.\u003c/p\u003e\n"],["\u003cp\u003eThere are two constructors for creating instances of the class; an empty constructor, and a copy constructor that creates a copy of an \u003ccode\u003eOrgPolicy\u003c/code\u003e object.\u003c/p\u003e\n"]]],[],null,["# Security Command Center v2 API - Class OrgPolicy (1.2.0)\n\nVersion latestkeyboard_arrow_down\n\n- [1.2.0 (latest)](/dotnet/docs/reference/Google.Cloud.SecurityCenter.V2/latest/Google.Cloud.SecurityCenter.V2.OrgPolicy)\n- [1.1.0](/dotnet/docs/reference/Google.Cloud.SecurityCenter.V2/1.1.0/Google.Cloud.SecurityCenter.V2.OrgPolicy)\n- [1.0.0](/dotnet/docs/reference/Google.Cloud.SecurityCenter.V2/1.0.0/Google.Cloud.SecurityCenter.V2.OrgPolicy) \n\n public sealed class OrgPolicy : IMessage\u003cOrgPolicy\u003e, IEquatable\u003cOrgPolicy\u003e, IDeepCloneable\u003cOrgPolicy\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Security Command Center v2 API class OrgPolicy.\n\nContains information about the org policies associated with the finding. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e OrgPolicy \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[OrgPolicy](/dotnet/docs/reference/Google.Cloud.SecurityCenter.V2/latest/Google.Cloud.SecurityCenter.V2.OrgPolicy), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[OrgPolicy](/dotnet/docs/reference/Google.Cloud.SecurityCenter.V2/latest/Google.Cloud.SecurityCenter.V2.OrgPolicy), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[OrgPolicy](/dotnet/docs/reference/Google.Cloud.SecurityCenter.V2/latest/Google.Cloud.SecurityCenter.V2.OrgPolicy), [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.SecurityCenter.V2](/dotnet/docs/reference/Google.Cloud.SecurityCenter.V2/latest/Google.Cloud.SecurityCenter.V2)\n\nAssembly\n--------\n\nGoogle.Cloud.SecurityCenter.V2.dll\n\nConstructors\n------------\n\n### OrgPolicy()\n\n public OrgPolicy()\n\n### OrgPolicy(OrgPolicy)\n\n public OrgPolicy(OrgPolicy other)\n\nProperties\n----------\n\n### Name\n\n public string Name { get; set; }\n\nIdentifier. The resource name of the org policy.\nExample:\n\"organizations/{organization_id}/policies/{constraint_name}\"\n\n### PolicyName\n\n public PolicyName PolicyName { get; set; }\n\n[PolicyName](/dotnet/docs/reference/Google.Cloud.SecurityCenter.V2/latest/Google.Cloud.SecurityCenter.V2.PolicyName)-typed view over the [Name](/dotnet/docs/reference/Google.Cloud.SecurityCenter.V2/latest/Google.Cloud.SecurityCenter.V2.OrgPolicy#Google_Cloud_SecurityCenter_V2_OrgPolicy_Name) resource name property."]]